Mercurial > hg > xemacs-beta
comparison configure @ 1988:3432736e50ad
[xemacs-hg @ 2004-04-06 18:08:14 by james]
Change test -e to test -r for portability (affects Solaris 5.8, at least).
author | james |
---|---|
date | Tue, 06 Apr 2004 18:08:15 +0000 |
parents | 36760cdcb631 |
children | f02e47602886 |
comparison
equal
deleted
inserted
replaced
1987:eacbf51ca0d2 | 1988:3432736e50ad |
---|---|
542 | 542 |
543 "use_number_lib" ) | 543 "use_number_lib" ) |
544 case "$val" in | 544 case "$val" in |
545 gmp ) val=gmp ;; | 545 gmp ) val=gmp ;; |
546 mp ) val=mp ;; | 546 mp ) val=mp ;; |
547 no|non|none ) val=no ;; | |
547 * ) (echo "$progname: Usage error:" | 548 * ) (echo "$progname: Usage error:" |
548 echo " " "The \`--$optname' option must have one of these values: | 549 echo " " "The \`--$optname' option must have one of these values: |
549 \`gmp' or \`mp'." | 550 \`gmp', \`mp', or \`no'." |
550 echo " Use \`$progname --help' to show usage.") >&2 && exit 1 ;; | 551 echo " Use \`$progname --help' to show usage.") >&2 && exit 1 ;; |
551 esac | 552 esac |
552 eval "$opt=\"$val\"" | 553 eval "$opt=\"$val\"" |
553 ;; | 554 ;; |
554 | 555 |
846 echo " Use \`$progname --help' to show usage.") >&2 && exit 1 | 847 echo " Use \`$progname --help' to show usage.") >&2 && exit 1 |
847 fi | 848 fi |
848 fi | 849 fi |
849 | 850 |
850 echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6 | 851 echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6 |
851 echo "configure:852: checking whether ln -s works" >&5 | 852 echo "configure:853: checking whether ln -s works" >&5 |
852 | 853 |
853 rm -f conftestdata | 854 rm -f conftestdata |
854 if ln -s X conftestdata 2>/dev/null | 855 if ln -s X conftestdata 2>/dev/null |
855 then | 856 then |
856 rm -f conftestdata | 857 rm -f conftestdata |
1132 } | 1133 } |
1133 | 1134 |
1134 | 1135 |
1135 | 1136 |
1136 echo $ac_n "checking "host system type"""... $ac_c" 1>&6 | 1137 echo $ac_n "checking "host system type"""... $ac_c" 1>&6 |
1137 echo "configure:1138: checking "host system type"" >&5 | 1138 echo "configure:1139: checking "host system type"" >&5 |
1138 internal_configuration=`echo $configuration | sed 's/-\(workshop\)//'` | 1139 internal_configuration=`echo $configuration | sed 's/-\(workshop\)//'` |
1139 canonical=`${CONFIG_SHELL-/bin/sh} $srcdir/config.sub "$internal_configuration"` | 1140 canonical=`${CONFIG_SHELL-/bin/sh} $srcdir/config.sub "$internal_configuration"` |
1140 configuration=`echo "$configuration" | sed 's/^\([^-][^-]*-[^-][^-]*-[^-][^-]*\)-.*$/\1/'` | 1141 configuration=`echo "$configuration" | sed 's/^\([^-][^-]*-[^-][^-]*-[^-][^-]*\)-.*$/\1/'` |
1141 canonical=`echo "$canonical" | sed 's/^\([^-][^-]*-[^-][^-]*-[^-][^-]*\)-.*$/\1/'` | 1142 canonical=`echo "$canonical" | sed 's/^\([^-][^-]*-[^-][^-]*-[^-][^-]*\)-.*$/\1/'` |
1142 echo "$ac_t""$configuration" 1>&6 | 1143 echo "$ac_t""$configuration" 1>&6 |
1670 xe_save_CFLAGS="$CFLAGS" | 1671 xe_save_CFLAGS="$CFLAGS" |
1671 | 1672 |
1672 # Extract the first word of "gcc", so it can be a program name with args. | 1673 # Extract the first word of "gcc", so it can be a program name with args. |
1673 set dummy gcc; ac_word=$2 | 1674 set dummy gcc; ac_word=$2 |
1674 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 1675 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
1675 echo "configure:1676: checking for $ac_word" >&5 | 1676 echo "configure:1677: checking for $ac_word" >&5 |
1676 | 1677 |
1677 if test -n "$CC"; then | 1678 if test -n "$CC"; then |
1678 ac_cv_prog_CC="$CC" # Let the user override the test. | 1679 ac_cv_prog_CC="$CC" # Let the user override the test. |
1679 else | 1680 else |
1680 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | 1681 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
1697 | 1698 |
1698 if test -z "$CC"; then | 1699 if test -z "$CC"; then |
1699 # Extract the first word of "cc", so it can be a program name with args. | 1700 # Extract the first word of "cc", so it can be a program name with args. |
1700 set dummy cc; ac_word=$2 | 1701 set dummy cc; ac_word=$2 |
1701 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 1702 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
1702 echo "configure:1703: checking for $ac_word" >&5 | 1703 echo "configure:1704: checking for $ac_word" >&5 |
1703 | 1704 |
1704 if test -n "$CC"; then | 1705 if test -n "$CC"; then |
1705 ac_cv_prog_CC="$CC" # Let the user override the test. | 1706 ac_cv_prog_CC="$CC" # Let the user override the test. |
1706 else | 1707 else |
1707 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | 1708 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
1745 case "`uname -s`" in | 1746 case "`uname -s`" in |
1746 *win32* | *WIN32*) | 1747 *win32* | *WIN32*) |
1747 # Extract the first word of "cl", so it can be a program name with args. | 1748 # Extract the first word of "cl", so it can be a program name with args. |
1748 set dummy cl; ac_word=$2 | 1749 set dummy cl; ac_word=$2 |
1749 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 1750 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
1750 echo "configure:1751: checking for $ac_word" >&5 | 1751 echo "configure:1752: checking for $ac_word" >&5 |
1751 | 1752 |
1752 if test -n "$CC"; then | 1753 if test -n "$CC"; then |
1753 ac_cv_prog_CC="$CC" # Let the user override the test. | 1754 ac_cv_prog_CC="$CC" # Let the user override the test. |
1754 else | 1755 else |
1755 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | 1756 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
1774 fi | 1775 fi |
1775 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } | 1776 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } |
1776 fi | 1777 fi |
1777 | 1778 |
1778 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 | 1779 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 |
1779 echo "configure:1780: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 | 1780 echo "configure:1781: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 |
1780 | 1781 |
1781 ac_ext=c | 1782 ac_ext=c |
1782 xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS' | 1783 xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS' |
1783 xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_switch_x_site $ld_switch_run' | 1784 xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_switch_x_site $ld_switch_run' |
1784 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' | 1785 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' |
1787 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' | 1788 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' |
1788 cross_compiling=no | 1789 cross_compiling=no |
1789 | 1790 |
1790 cat > conftest.$ac_ext << EOF | 1791 cat > conftest.$ac_ext << EOF |
1791 | 1792 |
1792 #line 1793 "configure" | 1793 #line 1794 "configure" |
1793 #include "confdefs.h" | 1794 #include "confdefs.h" |
1794 | 1795 |
1795 main(){return(0);} | 1796 main(){return(0);} |
1796 EOF | 1797 EOF |
1797 if { (eval echo configure:1798: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 1798 if { (eval echo configure:1799: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
1798 ac_cv_prog_cc_works=yes | 1799 ac_cv_prog_cc_works=yes |
1799 # If we can't run a trivial program, we are probably using a cross compiler. | 1800 # If we can't run a trivial program, we are probably using a cross compiler. |
1800 if (./conftest; exit) 2>/dev/null; then | 1801 if (./conftest; exit) 2>/dev/null; then |
1801 ac_cv_prog_cc_cross=no | 1802 ac_cv_prog_cc_cross=no |
1802 else | 1803 else |
1820 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 | 1821 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 |
1821 if test $ac_cv_prog_cc_works = no; then | 1822 if test $ac_cv_prog_cc_works = no; then |
1822 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } | 1823 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } |
1823 fi | 1824 fi |
1824 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 | 1825 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 |
1825 echo "configure:1826: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 | 1826 echo "configure:1827: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 |
1826 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 | 1827 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 |
1827 cross_compiling=$ac_cv_prog_cc_cross | 1828 cross_compiling=$ac_cv_prog_cc_cross |
1828 | 1829 |
1829 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 | 1830 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 |
1830 echo "configure:1831: checking whether we are using GNU C" >&5 | 1831 echo "configure:1832: checking whether we are using GNU C" >&5 |
1831 | 1832 |
1832 cat > conftest.c <<EOF | 1833 cat > conftest.c <<EOF |
1833 #ifdef __GNUC__ | 1834 #ifdef __GNUC__ |
1834 yes; | 1835 yes; |
1835 #endif | 1836 #endif |
1836 EOF | 1837 EOF |
1837 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1838: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then | 1838 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1839: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then |
1838 ac_cv_prog_gcc=yes | 1839 ac_cv_prog_gcc=yes |
1839 else | 1840 else |
1840 ac_cv_prog_gcc=no | 1841 ac_cv_prog_gcc=no |
1841 fi | 1842 fi |
1842 | 1843 |
1850 | 1851 |
1851 ac_test_CFLAGS="${CFLAGS+set}" | 1852 ac_test_CFLAGS="${CFLAGS+set}" |
1852 ac_save_CFLAGS="$CFLAGS" | 1853 ac_save_CFLAGS="$CFLAGS" |
1853 CFLAGS= | 1854 CFLAGS= |
1854 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 | 1855 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 |
1855 echo "configure:1856: checking whether ${CC-cc} accepts -g" >&5 | 1856 echo "configure:1857: checking whether ${CC-cc} accepts -g" >&5 |
1856 | 1857 |
1857 echo 'void f(){}' > conftest.c | 1858 echo 'void f(){}' > conftest.c |
1858 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then | 1859 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then |
1859 ac_cv_prog_cc_g=yes | 1860 ac_cv_prog_cc_g=yes |
1860 else | 1861 else |
1883 if test "$with_gcc" = "no" -a "$GCC" = "yes"; then | 1884 if test "$with_gcc" = "no" -a "$GCC" = "yes"; then |
1884 CC=${NON_GNU_CC-cc} | 1885 CC=${NON_GNU_CC-cc} |
1885 # Extract the first word of "gcc", so it can be a program name with args. | 1886 # Extract the first word of "gcc", so it can be a program name with args. |
1886 set dummy gcc; ac_word=$2 | 1887 set dummy gcc; ac_word=$2 |
1887 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 1888 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
1888 echo "configure:1889: checking for $ac_word" >&5 | 1889 echo "configure:1890: checking for $ac_word" >&5 |
1889 | 1890 |
1890 if test -n "$CC"; then | 1891 if test -n "$CC"; then |
1891 ac_cv_prog_CC="$CC" # Let the user override the test. | 1892 ac_cv_prog_CC="$CC" # Let the user override the test. |
1892 else | 1893 else |
1893 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | 1894 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
1910 | 1911 |
1911 if test -z "$CC"; then | 1912 if test -z "$CC"; then |
1912 # Extract the first word of "cc", so it can be a program name with args. | 1913 # Extract the first word of "cc", so it can be a program name with args. |
1913 set dummy cc; ac_word=$2 | 1914 set dummy cc; ac_word=$2 |
1914 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 1915 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
1915 echo "configure:1916: checking for $ac_word" >&5 | 1916 echo "configure:1917: checking for $ac_word" >&5 |
1916 | 1917 |
1917 if test -n "$CC"; then | 1918 if test -n "$CC"; then |
1918 ac_cv_prog_CC="$CC" # Let the user override the test. | 1919 ac_cv_prog_CC="$CC" # Let the user override the test. |
1919 else | 1920 else |
1920 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | 1921 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
1958 case "`uname -s`" in | 1959 case "`uname -s`" in |
1959 *win32* | *WIN32*) | 1960 *win32* | *WIN32*) |
1960 # Extract the first word of "cl", so it can be a program name with args. | 1961 # Extract the first word of "cl", so it can be a program name with args. |
1961 set dummy cl; ac_word=$2 | 1962 set dummy cl; ac_word=$2 |
1962 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 1963 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
1963 echo "configure:1964: checking for $ac_word" >&5 | 1964 echo "configure:1965: checking for $ac_word" >&5 |
1964 | 1965 |
1965 if test -n "$CC"; then | 1966 if test -n "$CC"; then |
1966 ac_cv_prog_CC="$CC" # Let the user override the test. | 1967 ac_cv_prog_CC="$CC" # Let the user override the test. |
1967 else | 1968 else |
1968 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | 1969 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
1987 fi | 1988 fi |
1988 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } | 1989 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } |
1989 fi | 1990 fi |
1990 | 1991 |
1991 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 | 1992 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 |
1992 echo "configure:1993: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 | 1993 echo "configure:1994: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 |
1993 | 1994 |
1994 ac_ext=c | 1995 ac_ext=c |
1995 xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS' | 1996 xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS' |
1996 xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_switch_x_site $ld_switch_run' | 1997 xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_switch_x_site $ld_switch_run' |
1997 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' | 1998 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' |
2000 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' | 2001 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' |
2001 cross_compiling=no | 2002 cross_compiling=no |
2002 | 2003 |
2003 cat > conftest.$ac_ext << EOF | 2004 cat > conftest.$ac_ext << EOF |
2004 | 2005 |
2005 #line 2006 "configure" | 2006 #line 2007 "configure" |
2006 #include "confdefs.h" | 2007 #include "confdefs.h" |
2007 | 2008 |
2008 main(){return(0);} | 2009 main(){return(0);} |
2009 EOF | 2010 EOF |
2010 if { (eval echo configure:2011: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 2011 if { (eval echo configure:2012: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
2011 ac_cv_prog_cc_works=yes | 2012 ac_cv_prog_cc_works=yes |
2012 # If we can't run a trivial program, we are probably using a cross compiler. | 2013 # If we can't run a trivial program, we are probably using a cross compiler. |
2013 if (./conftest; exit) 2>/dev/null; then | 2014 if (./conftest; exit) 2>/dev/null; then |
2014 ac_cv_prog_cc_cross=no | 2015 ac_cv_prog_cc_cross=no |
2015 else | 2016 else |
2033 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 | 2034 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 |
2034 if test $ac_cv_prog_cc_works = no; then | 2035 if test $ac_cv_prog_cc_works = no; then |
2035 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } | 2036 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } |
2036 fi | 2037 fi |
2037 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 | 2038 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 |
2038 echo "configure:2039: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 | 2039 echo "configure:2040: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 |
2039 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 | 2040 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 |
2040 cross_compiling=$ac_cv_prog_cc_cross | 2041 cross_compiling=$ac_cv_prog_cc_cross |
2041 | 2042 |
2042 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 | 2043 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 |
2043 echo "configure:2044: checking whether we are using GNU C" >&5 | 2044 echo "configure:2045: checking whether we are using GNU C" >&5 |
2044 | 2045 |
2045 cat > conftest.c <<EOF | 2046 cat > conftest.c <<EOF |
2046 #ifdef __GNUC__ | 2047 #ifdef __GNUC__ |
2047 yes; | 2048 yes; |
2048 #endif | 2049 #endif |
2049 EOF | 2050 EOF |
2050 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:2051: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then | 2051 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:2052: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then |
2051 ac_cv_prog_gcc=yes | 2052 ac_cv_prog_gcc=yes |
2052 else | 2053 else |
2053 ac_cv_prog_gcc=no | 2054 ac_cv_prog_gcc=no |
2054 fi | 2055 fi |
2055 | 2056 |
2063 | 2064 |
2064 ac_test_CFLAGS="${CFLAGS+set}" | 2065 ac_test_CFLAGS="${CFLAGS+set}" |
2065 ac_save_CFLAGS="$CFLAGS" | 2066 ac_save_CFLAGS="$CFLAGS" |
2066 CFLAGS= | 2067 CFLAGS= |
2067 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 | 2068 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 |
2068 echo "configure:2069: checking whether ${CC-cc} accepts -g" >&5 | 2069 echo "configure:2070: checking whether ${CC-cc} accepts -g" >&5 |
2069 | 2070 |
2070 echo 'void f(){}' > conftest.c | 2071 echo 'void f(){}' > conftest.c |
2071 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then | 2072 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then |
2072 ac_cv_prog_cc_g=yes | 2073 ac_cv_prog_cc_g=yes |
2073 else | 2074 else |
2096 elif test "$with_gcc" = "yes" -a "$GCC" != "yes" ; then | 2097 elif test "$with_gcc" = "yes" -a "$GCC" != "yes" ; then |
2097 CC=gcc | 2098 CC=gcc |
2098 # Extract the first word of "gcc", so it can be a program name with args. | 2099 # Extract the first word of "gcc", so it can be a program name with args. |
2099 set dummy gcc; ac_word=$2 | 2100 set dummy gcc; ac_word=$2 |
2100 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 2101 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
2101 echo "configure:2102: checking for $ac_word" >&5 | 2102 echo "configure:2103: checking for $ac_word" >&5 |
2102 | 2103 |
2103 if test -n "$CC"; then | 2104 if test -n "$CC"; then |
2104 ac_cv_prog_CC="$CC" # Let the user override the test. | 2105 ac_cv_prog_CC="$CC" # Let the user override the test. |
2105 else | 2106 else |
2106 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | 2107 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
2123 | 2124 |
2124 if test -z "$CC"; then | 2125 if test -z "$CC"; then |
2125 # Extract the first word of "cc", so it can be a program name with args. | 2126 # Extract the first word of "cc", so it can be a program name with args. |
2126 set dummy cc; ac_word=$2 | 2127 set dummy cc; ac_word=$2 |
2127 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 2128 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
2128 echo "configure:2129: checking for $ac_word" >&5 | 2129 echo "configure:2130: checking for $ac_word" >&5 |
2129 | 2130 |
2130 if test -n "$CC"; then | 2131 if test -n "$CC"; then |
2131 ac_cv_prog_CC="$CC" # Let the user override the test. | 2132 ac_cv_prog_CC="$CC" # Let the user override the test. |
2132 else | 2133 else |
2133 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | 2134 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
2171 case "`uname -s`" in | 2172 case "`uname -s`" in |
2172 *win32* | *WIN32*) | 2173 *win32* | *WIN32*) |
2173 # Extract the first word of "cl", so it can be a program name with args. | 2174 # Extract the first word of "cl", so it can be a program name with args. |
2174 set dummy cl; ac_word=$2 | 2175 set dummy cl; ac_word=$2 |
2175 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 2176 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
2176 echo "configure:2177: checking for $ac_word" >&5 | 2177 echo "configure:2178: checking for $ac_word" >&5 |
2177 | 2178 |
2178 if test -n "$CC"; then | 2179 if test -n "$CC"; then |
2179 ac_cv_prog_CC="$CC" # Let the user override the test. | 2180 ac_cv_prog_CC="$CC" # Let the user override the test. |
2180 else | 2181 else |
2181 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | 2182 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
2200 fi | 2201 fi |
2201 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } | 2202 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } |
2202 fi | 2203 fi |
2203 | 2204 |
2204 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 | 2205 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 |
2205 echo "configure:2206: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 | 2206 echo "configure:2207: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 |
2206 | 2207 |
2207 ac_ext=c | 2208 ac_ext=c |
2208 xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS' | 2209 xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS' |
2209 xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_switch_x_site $ld_switch_run' | 2210 xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_switch_x_site $ld_switch_run' |
2210 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' | 2211 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' |
2213 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' | 2214 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' |
2214 cross_compiling=no | 2215 cross_compiling=no |
2215 | 2216 |
2216 cat > conftest.$ac_ext << EOF | 2217 cat > conftest.$ac_ext << EOF |
2217 | 2218 |
2218 #line 2219 "configure" | 2219 #line 2220 "configure" |
2219 #include "confdefs.h" | 2220 #include "confdefs.h" |
2220 | 2221 |
2221 main(){return(0);} | 2222 main(){return(0);} |
2222 EOF | 2223 EOF |
2223 if { (eval echo configure:2224: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 2224 if { (eval echo configure:2225: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
2224 ac_cv_prog_cc_works=yes | 2225 ac_cv_prog_cc_works=yes |
2225 # If we can't run a trivial program, we are probably using a cross compiler. | 2226 # If we can't run a trivial program, we are probably using a cross compiler. |
2226 if (./conftest; exit) 2>/dev/null; then | 2227 if (./conftest; exit) 2>/dev/null; then |
2227 ac_cv_prog_cc_cross=no | 2228 ac_cv_prog_cc_cross=no |
2228 else | 2229 else |
2246 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 | 2247 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 |
2247 if test $ac_cv_prog_cc_works = no; then | 2248 if test $ac_cv_prog_cc_works = no; then |
2248 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } | 2249 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } |
2249 fi | 2250 fi |
2250 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 | 2251 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 |
2251 echo "configure:2252: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 | 2252 echo "configure:2253: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 |
2252 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 | 2253 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 |
2253 cross_compiling=$ac_cv_prog_cc_cross | 2254 cross_compiling=$ac_cv_prog_cc_cross |
2254 | 2255 |
2255 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 | 2256 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 |
2256 echo "configure:2257: checking whether we are using GNU C" >&5 | 2257 echo "configure:2258: checking whether we are using GNU C" >&5 |
2257 | 2258 |
2258 cat > conftest.c <<EOF | 2259 cat > conftest.c <<EOF |
2259 #ifdef __GNUC__ | 2260 #ifdef __GNUC__ |
2260 yes; | 2261 yes; |
2261 #endif | 2262 #endif |
2262 EOF | 2263 EOF |
2263 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:2264: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then | 2264 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:2265: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then |
2264 ac_cv_prog_gcc=yes | 2265 ac_cv_prog_gcc=yes |
2265 else | 2266 else |
2266 ac_cv_prog_gcc=no | 2267 ac_cv_prog_gcc=no |
2267 fi | 2268 fi |
2268 | 2269 |
2276 | 2277 |
2277 ac_test_CFLAGS="${CFLAGS+set}" | 2278 ac_test_CFLAGS="${CFLAGS+set}" |
2278 ac_save_CFLAGS="$CFLAGS" | 2279 ac_save_CFLAGS="$CFLAGS" |
2279 CFLAGS= | 2280 CFLAGS= |
2280 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 | 2281 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 |
2281 echo "configure:2282: checking whether ${CC-cc} accepts -g" >&5 | 2282 echo "configure:2283: checking whether ${CC-cc} accepts -g" >&5 |
2282 | 2283 |
2283 echo 'void f(){}' > conftest.c | 2284 echo 'void f(){}' > conftest.c |
2284 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then | 2285 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then |
2285 ac_cv_prog_cc_g=yes | 2286 ac_cv_prog_cc_g=yes |
2286 else | 2287 else |
2309 fi | 2310 fi |
2310 CFLAGS="$xe_save_CFLAGS" | 2311 CFLAGS="$xe_save_CFLAGS" |
2311 | 2312 |
2312 if test "$GCC" = "yes"; then | 2313 if test "$GCC" = "yes"; then |
2313 cat > conftest.$ac_ext <<EOF | 2314 cat > conftest.$ac_ext <<EOF |
2314 #line 2315 "configure" | 2315 #line 2316 "configure" |
2315 #include "confdefs.h" | 2316 #include "confdefs.h" |
2316 int main () { | 2317 int main () { |
2317 #if __GNUC__ >= 3 | 2318 #if __GNUC__ >= 3 |
2318 return 11; | 2319 return 11; |
2319 #else | 2320 #else |
2320 return 0; | 2321 return 0; |
2321 #endif | 2322 #endif |
2322 } | 2323 } |
2323 EOF | 2324 EOF |
2324 if { (eval echo configure:2325: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 2325 if { (eval echo configure:2326: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
2325 then | 2326 then |
2326 : | 2327 : |
2327 else | 2328 else |
2328 conftest_rc="$?" | 2329 conftest_rc="$?" |
2329 echo "configure: failed program was:" >&5 | 2330 echo "configure: failed program was:" >&5 |
2345 test -n "$CPP" -a -d "$CPP" && CPP= | 2346 test -n "$CPP" -a -d "$CPP" && CPP= |
2346 | 2347 |
2347 test -n "$NON_GNU_CPP" -a "$GCC" != "yes" -a -z "$CPP" && CPP="$NON_GNU_CPP" | 2348 test -n "$NON_GNU_CPP" -a "$GCC" != "yes" -a -z "$CPP" && CPP="$NON_GNU_CPP" |
2348 | 2349 |
2349 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6 | 2350 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6 |
2350 echo "configure:2351: checking how to run the C preprocessor" >&5 | 2351 echo "configure:2352: checking how to run the C preprocessor" >&5 |
2351 # On Suns, sometimes $CPP names a directory. | 2352 # On Suns, sometimes $CPP names a directory. |
2352 if test -n "$CPP" && test -d "$CPP"; then | 2353 if test -n "$CPP" && test -d "$CPP"; then |
2353 CPP= | 2354 CPP= |
2354 fi | 2355 fi |
2355 if test -z "$CPP"; then | 2356 if test -z "$CPP"; then |
2358 # substituted into the Makefile and "${CC-cc}" will confuse make. | 2359 # substituted into the Makefile and "${CC-cc}" will confuse make. |
2359 CPP="${CC-cc} -E" | 2360 CPP="${CC-cc} -E" |
2360 # On the NeXT, cc -E runs the code through the compiler's parser, | 2361 # On the NeXT, cc -E runs the code through the compiler's parser, |
2361 # not just through cpp. | 2362 # not just through cpp. |
2362 cat > conftest.$ac_ext <<EOF | 2363 cat > conftest.$ac_ext <<EOF |
2363 #line 2364 "configure" | 2364 #line 2365 "configure" |
2364 #include "confdefs.h" | 2365 #include "confdefs.h" |
2365 #include <assert.h> | 2366 #include <assert.h> |
2366 Syntax Error | 2367 Syntax Error |
2367 EOF | 2368 EOF |
2368 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 2369 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
2369 { (eval echo configure:2370: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 2370 { (eval echo configure:2371: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
2370 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 2371 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
2371 if test -z "$ac_err"; then | 2372 if test -z "$ac_err"; then |
2372 : | 2373 : |
2373 else | 2374 else |
2374 echo "$ac_err" >&5 | 2375 echo "$ac_err" >&5 |
2375 echo "configure: failed program was:" >&5 | 2376 echo "configure: failed program was:" >&5 |
2376 cat conftest.$ac_ext >&5 | 2377 cat conftest.$ac_ext >&5 |
2377 rm -rf conftest* | 2378 rm -rf conftest* |
2378 CPP="${CC-cc} -E -traditional-cpp" | 2379 CPP="${CC-cc} -E -traditional-cpp" |
2379 cat > conftest.$ac_ext <<EOF | 2380 cat > conftest.$ac_ext <<EOF |
2380 #line 2381 "configure" | 2381 #line 2382 "configure" |
2381 #include "confdefs.h" | 2382 #include "confdefs.h" |
2382 #include <assert.h> | 2383 #include <assert.h> |
2383 Syntax Error | 2384 Syntax Error |
2384 EOF | 2385 EOF |
2385 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 2386 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
2386 { (eval echo configure:2387: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 2387 { (eval echo configure:2388: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
2387 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 2388 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
2388 if test -z "$ac_err"; then | 2389 if test -z "$ac_err"; then |
2389 : | 2390 : |
2390 else | 2391 else |
2391 echo "$ac_err" >&5 | 2392 echo "$ac_err" >&5 |
2392 echo "configure: failed program was:" >&5 | 2393 echo "configure: failed program was:" >&5 |
2393 cat conftest.$ac_ext >&5 | 2394 cat conftest.$ac_ext >&5 |
2394 rm -rf conftest* | 2395 rm -rf conftest* |
2395 CPP="${CC-cc} -nologo -E" | 2396 CPP="${CC-cc} -nologo -E" |
2396 cat > conftest.$ac_ext <<EOF | 2397 cat > conftest.$ac_ext <<EOF |
2397 #line 2398 "configure" | 2398 #line 2399 "configure" |
2398 #include "confdefs.h" | 2399 #include "confdefs.h" |
2399 #include <assert.h> | 2400 #include <assert.h> |
2400 Syntax Error | 2401 Syntax Error |
2401 EOF | 2402 EOF |
2402 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 2403 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
2403 { (eval echo configure:2404: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 2404 { (eval echo configure:2405: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
2404 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 2405 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
2405 if test -z "$ac_err"; then | 2406 if test -z "$ac_err"; then |
2406 : | 2407 : |
2407 else | 2408 else |
2408 echo "$ac_err" >&5 | 2409 echo "$ac_err" >&5 |
2424 echo "$ac_t""$CPP" 1>&6 | 2425 echo "$ac_t""$CPP" 1>&6 |
2425 | 2426 |
2426 | 2427 |
2427 | 2428 |
2428 echo $ac_n "checking for AIX""... $ac_c" 1>&6 | 2429 echo $ac_n "checking for AIX""... $ac_c" 1>&6 |
2429 echo "configure:2430: checking for AIX" >&5 | 2430 echo "configure:2431: checking for AIX" >&5 |
2430 cat > conftest.$ac_ext <<EOF | 2431 cat > conftest.$ac_ext <<EOF |
2431 #line 2432 "configure" | 2432 #line 2433 "configure" |
2432 #include "confdefs.h" | 2433 #include "confdefs.h" |
2433 #ifdef _AIX | 2434 #ifdef _AIX |
2434 yes | 2435 yes |
2435 #endif | 2436 #endif |
2436 | 2437 |
2453 rm -f conftest* | 2454 rm -f conftest* |
2454 | 2455 |
2455 | 2456 |
2456 | 2457 |
2457 echo $ac_n "checking for GNU libc""... $ac_c" 1>&6 | 2458 echo $ac_n "checking for GNU libc""... $ac_c" 1>&6 |
2458 echo "configure:2459: checking for GNU libc" >&5 | 2459 echo "configure:2460: checking for GNU libc" >&5 |
2459 cat > conftest.$ac_ext <<EOF | 2460 cat > conftest.$ac_ext <<EOF |
2460 #line 2461 "configure" | 2461 #line 2462 "configure" |
2461 #include "confdefs.h" | 2462 #include "confdefs.h" |
2462 #include <features.h> | 2463 #include <features.h> |
2463 int main() { | 2464 int main() { |
2464 | 2465 |
2465 #if ! (defined __GLIBC__ || defined __GNU_LIBRARY__) | 2466 #if ! (defined __GLIBC__ || defined __GNU_LIBRARY__) |
2467 ******* ======= ******** &&&&&&&& | 2468 ******* ======= ******** &&&&&&&& |
2468 #endif | 2469 #endif |
2469 | 2470 |
2470 ; return 0; } | 2471 ; return 0; } |
2471 EOF | 2472 EOF |
2472 if { (eval echo configure:2473: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 2473 if { (eval echo configure:2474: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
2473 rm -rf conftest* | 2474 rm -rf conftest* |
2474 have_glibc=yes | 2475 have_glibc=yes |
2475 else | 2476 else |
2476 echo "configure: failed program was:" >&5 | 2477 echo "configure: failed program was:" >&5 |
2477 cat conftest.$ac_ext >&5 | 2478 cat conftest.$ac_ext >&5 |
2562 | 2563 |
2563 ;; | 2564 ;; |
2564 esac | 2565 esac |
2565 | 2566 |
2566 cat > conftest.$ac_ext <<EOF | 2567 cat > conftest.$ac_ext <<EOF |
2567 #line 2568 "configure" | 2568 #line 2569 "configure" |
2568 #include "confdefs.h" | 2569 #include "confdefs.h" |
2569 int main () { | 2570 int main () { |
2570 #if defined __SUNPRO_C | 2571 #if defined __SUNPRO_C |
2571 return 11; | 2572 return 11; |
2572 #elif defined __DECC | 2573 #elif defined __DECC |
2578 #else | 2579 #else |
2579 return 0; | 2580 return 0; |
2580 #endif | 2581 #endif |
2581 } | 2582 } |
2582 EOF | 2583 EOF |
2583 if { (eval echo configure:2584: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 2584 if { (eval echo configure:2585: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
2584 then | 2585 then |
2585 : | 2586 : |
2586 else | 2587 else |
2587 conftest_rc="$?" | 2588 conftest_rc="$?" |
2588 echo "configure: failed program was:" >&5 | 2589 echo "configure: failed program was:" >&5 |
2832 | 2833 |
2833 test "$__DECC" = "yes" && c_switch_site="$c_switch_site -std1" && if test "$extra_verbose" = "yes"; then echo " Appending \"-std1\" to \$c_switch_site"; fi | 2834 test "$__DECC" = "yes" && c_switch_site="$c_switch_site -std1" && if test "$extra_verbose" = "yes"; then echo " Appending \"-std1\" to \$c_switch_site"; fi |
2834 | 2835 |
2835 if test "$__USLC__" = yes; then | 2836 if test "$__USLC__" = yes; then |
2836 echo $ac_n "checking for whether the -Kalloca compiler flag is needed""... $ac_c" 1>&6 | 2837 echo $ac_n "checking for whether the -Kalloca compiler flag is needed""... $ac_c" 1>&6 |
2837 echo "configure:2838: checking for whether the -Kalloca compiler flag is needed" >&5 | 2838 echo "configure:2839: checking for whether the -Kalloca compiler flag is needed" >&5 |
2838 need_kalloca=no | 2839 need_kalloca=no |
2839 cat > conftest.$ac_ext <<EOF | 2840 cat > conftest.$ac_ext <<EOF |
2840 #line 2841 "configure" | 2841 #line 2842 "configure" |
2841 #include "confdefs.h" | 2842 #include "confdefs.h" |
2842 | 2843 |
2843 int main() { | 2844 int main() { |
2844 void *x = alloca(4); | 2845 void *x = alloca(4); |
2845 ; return 0; } | 2846 ; return 0; } |
2846 EOF | 2847 EOF |
2847 if { (eval echo configure:2848: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 2848 if { (eval echo configure:2849: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
2848 rm -rf conftest* | 2849 rm -rf conftest* |
2849 : | 2850 : |
2850 else | 2851 else |
2851 echo "configure: failed program was:" >&5 | 2852 echo "configure: failed program was:" >&5 |
2852 cat conftest.$ac_ext >&5 | 2853 cat conftest.$ac_ext >&5 |
2853 rm -rf conftest* | 2854 rm -rf conftest* |
2854 | 2855 |
2855 xe_save_c_switch_system="$c_switch_system" | 2856 xe_save_c_switch_system="$c_switch_system" |
2856 c_switch_system="$c_switch_system -Kalloca" | 2857 c_switch_system="$c_switch_system -Kalloca" |
2857 cat > conftest.$ac_ext <<EOF | 2858 cat > conftest.$ac_ext <<EOF |
2858 #line 2859 "configure" | 2859 #line 2860 "configure" |
2859 #include "confdefs.h" | 2860 #include "confdefs.h" |
2860 | 2861 |
2861 int main() { | 2862 int main() { |
2862 void *x = alloca(4); | 2863 void *x = alloca(4); |
2863 ; return 0; } | 2864 ; return 0; } |
2864 EOF | 2865 EOF |
2865 if { (eval echo configure:2866: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 2866 if { (eval echo configure:2867: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
2866 rm -rf conftest* | 2867 rm -rf conftest* |
2867 need_kalloca=yes | 2868 need_kalloca=yes |
2868 else | 2869 else |
2869 echo "configure: failed program was:" >&5 | 2870 echo "configure: failed program was:" >&5 |
2870 cat conftest.$ac_ext >&5 | 2871 cat conftest.$ac_ext >&5 |
2939 XE_CFLAGS="$xe_cflags_warning $CFLAGS" | 2940 XE_CFLAGS="$xe_cflags_warning $CFLAGS" |
2940 CFLAGS="$cflags_warning $CFLAGS" | 2941 CFLAGS="$cflags_warning $CFLAGS" |
2941 | 2942 |
2942 if test "$GCC" = "yes"; then | 2943 if test "$GCC" = "yes"; then |
2943 echo $ac_n "checking for buggy gcc versions""... $ac_c" 1>&6 | 2944 echo $ac_n "checking for buggy gcc versions""... $ac_c" 1>&6 |
2944 echo "configure:2945: checking for buggy gcc versions" >&5 | 2945 echo "configure:2946: checking for buggy gcc versions" >&5 |
2945 GCC_VERSION=`$CC --version` | 2946 GCC_VERSION=`$CC --version` |
2946 case `uname -s`:`uname -m`:$GCC_VERSION in | 2947 case `uname -s`:`uname -m`:$GCC_VERSION in |
2947 *:sun4*:2.8.1|*:sun4*:egcs-2.90.*) | 2948 *:sun4*:2.8.1|*:sun4*:egcs-2.90.*) |
2948 case "$CFLAGS" in | 2949 case "$CFLAGS" in |
2949 *-O2*|*-O3*) | 2950 *-O2*|*-O3*) |
2997 echo "$ac_t""no" 1>&6 | 2998 echo "$ac_t""no" 1>&6 |
2998 fi | 2999 fi |
2999 | 3000 |
3000 if test "$pdump" != "yes"; then | 3001 if test "$pdump" != "yes"; then |
3001 echo $ac_n "checking for \"-z nocombreloc\" linker flag""... $ac_c" 1>&6 | 3002 echo $ac_n "checking for \"-z nocombreloc\" linker flag""... $ac_c" 1>&6 |
3002 echo "configure:3003: checking for \"-z nocombreloc\" linker flag" >&5 | 3003 echo "configure:3004: checking for \"-z nocombreloc\" linker flag" >&5 |
3003 case "`ld --help 2>&1`" in | 3004 case "`ld --help 2>&1`" in |
3004 *-z\ nocombreloc* ) echo "$ac_t""yes" 1>&6 | 3005 *-z\ nocombreloc* ) echo "$ac_t""yes" 1>&6 |
3005 ld_switch_site="-z nocombreloc $ld_switch_site" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-z nocombreloc\" to \$ld_switch_site"; fi ;; | 3006 ld_switch_site="-z nocombreloc $ld_switch_site" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-z nocombreloc\" to \$ld_switch_site"; fi ;; |
3006 *) echo "$ac_t""no" 1>&6 ;; | 3007 *) echo "$ac_t""no" 1>&6 ;; |
3007 esac | 3008 esac |
3086 test "$pdump" = "yes" && extra_objs="$extra_objs dumper.o" && if test "$extra_verbose" = "yes"; then | 3087 test "$pdump" = "yes" && extra_objs="$extra_objs dumper.o" && if test "$extra_verbose" = "yes"; then |
3087 echo " xemacs will be linked with \"dumper.o\"" | 3088 echo " xemacs will be linked with \"dumper.o\"" |
3088 fi | 3089 fi |
3089 | 3090 |
3090 echo $ac_n "checking for dynodump""... $ac_c" 1>&6 | 3091 echo $ac_n "checking for dynodump""... $ac_c" 1>&6 |
3091 echo "configure:3092: checking for dynodump" >&5 | 3092 echo "configure:3093: checking for dynodump" >&5 |
3092 if test "$unexec" != "unexsol2.o"; then | 3093 if test "$unexec" != "unexsol2.o"; then |
3093 echo "$ac_t""no" 1>&6 | 3094 echo "$ac_t""no" 1>&6 |
3094 else | 3095 else |
3095 echo "$ac_t""yes" 1>&6 | 3096 echo "$ac_t""yes" 1>&6 |
3096 { test "$extra_verbose" = "yes" && cat << \EOF | 3097 { test "$extra_verbose" = "yes" && cat << \EOF |
3124 for f in "/usr/lpp/X11/bin/smt.exp" "/usr/bin/X11/smt.exp"; do | 3125 for f in "/usr/lpp/X11/bin/smt.exp" "/usr/bin/X11/smt.exp"; do |
3125 if test -r "$f"; then start_flags="${start_flags},-bI:${f}"; break; fi | 3126 if test -r "$f"; then start_flags="${start_flags},-bI:${f}"; break; fi |
3126 done | 3127 done |
3127 | 3128 |
3128 echo $ac_n "checking for terminateAndUnload in -lC""... $ac_c" 1>&6 | 3129 echo $ac_n "checking for terminateAndUnload in -lC""... $ac_c" 1>&6 |
3129 echo "configure:3130: checking for terminateAndUnload in -lC" >&5 | 3130 echo "configure:3131: checking for terminateAndUnload in -lC" >&5 |
3130 ac_lib_var=`echo C'_'terminateAndUnload | sed 'y%./+-%__p_%'` | 3131 ac_lib_var=`echo C'_'terminateAndUnload | sed 'y%./+-%__p_%'` |
3131 | 3132 |
3132 xe_check_libs=" -lC " | 3133 xe_check_libs=" -lC " |
3133 cat > conftest.$ac_ext <<EOF | 3134 cat > conftest.$ac_ext <<EOF |
3134 #line 3135 "configure" | 3135 #line 3136 "configure" |
3135 #include "confdefs.h" | 3136 #include "confdefs.h" |
3136 /* Override any gcc2 internal prototype to avoid an error. */ | 3137 /* Override any gcc2 internal prototype to avoid an error. */ |
3137 /* We use char because int might match the return type of a gcc2 | 3138 /* We use char because int might match the return type of a gcc2 |
3138 builtin and then its argument prototype would still apply. */ | 3139 builtin and then its argument prototype would still apply. */ |
3139 char terminateAndUnload(); | 3140 char terminateAndUnload(); |
3140 | 3141 |
3141 int main() { | 3142 int main() { |
3142 terminateAndUnload() | 3143 terminateAndUnload() |
3143 ; return 0; } | 3144 ; return 0; } |
3144 EOF | 3145 EOF |
3145 if { (eval echo configure:3146: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 3146 if { (eval echo configure:3147: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
3146 rm -rf conftest* | 3147 rm -rf conftest* |
3147 eval "ac_cv_lib_$ac_lib_var=yes" | 3148 eval "ac_cv_lib_$ac_lib_var=yes" |
3148 else | 3149 else |
3149 echo "configure: failed program was:" >&5 | 3150 echo "configure: failed program was:" >&5 |
3150 cat conftest.$ac_ext >&5 | 3151 cat conftest.$ac_ext >&5 |
3182 compiler_version="" | 3183 compiler_version="" |
3183 gcc_compiler_specs="" | 3184 gcc_compiler_specs="" |
3184 libc_version="" | 3185 libc_version="" |
3185 | 3186 |
3186 echo $ac_n "checking for compiler version information""... $ac_c" 1>&6 | 3187 echo $ac_n "checking for compiler version information""... $ac_c" 1>&6 |
3187 echo "configure:3188: checking for compiler version information" >&5 | 3188 echo "configure:3189: checking for compiler version information" >&5 |
3188 | 3189 |
3189 if test "$GCC" = "yes"; then | 3190 if test "$GCC" = "yes"; then |
3190 compiler_version=`$XEMACS_CC --version | head -1` | 3191 compiler_version=`$XEMACS_CC --version | head -1` |
3191 gcc_compiler_specs=`$XEMACS_CC -v 2>&1 | sed 's/.* \([^ ]\)/\1/' | head -1` | 3192 gcc_compiler_specs=`$XEMACS_CC -v 2>&1 | sed 's/.* \([^ ]\)/\1/' | head -1` |
3192 else case "$XEMACS_CC" in | 3193 else case "$XEMACS_CC" in |
3233 if test -z "$compiler_version"; then | 3234 if test -z "$compiler_version"; then |
3234 compiler_version="detection failed (please report this)" | 3235 compiler_version="detection failed (please report this)" |
3235 fi | 3236 fi |
3236 | 3237 |
3237 echo $ac_n "checking for standard C library version information""... $ac_c" 1>&6 | 3238 echo $ac_n "checking for standard C library version information""... $ac_c" 1>&6 |
3238 echo "configure:3239: checking for standard C library version information" >&5 | 3239 echo "configure:3240: checking for standard C library version information" >&5 |
3239 | 3240 |
3240 case "$canonical" in | 3241 case "$canonical" in |
3241 *-*-linux*) | 3242 *-*-linux*) |
3242 if test -f /etc/redhat-release ; then | 3243 if test -f /etc/redhat-release ; then |
3243 libc_version=`rpm -q glibc` | 3244 libc_version=`rpm -q glibc` |
3345 esac | 3346 esac |
3346 fi | 3347 fi |
3347 | 3348 |
3348 if test "$add_runtime_path" = "yes"; then | 3349 if test "$add_runtime_path" = "yes"; then |
3349 echo $ac_n "checking "for runtime libraries flag"""... $ac_c" 1>&6 | 3350 echo $ac_n "checking "for runtime libraries flag"""... $ac_c" 1>&6 |
3350 echo "configure:3351: checking "for runtime libraries flag"" >&5 | 3351 echo "configure:3352: checking "for runtime libraries flag"" >&5 |
3351 case "$opsys" in | 3352 case "$opsys" in |
3352 sol2 ) dash_r="-R" ;; | 3353 sol2 ) dash_r="-R" ;; |
3353 decosf* | linux* | irix*) dash_r="-rpath " ;; | 3354 decosf* | linux* | irix*) dash_r="-rpath " ;; |
3354 *) | 3355 *) |
3355 dash_r="" | 3356 dash_r="" |
3367 esac | 3368 esac |
3368 shift | 3369 shift |
3369 done | 3370 done |
3370 fi | 3371 fi |
3371 cat > conftest.$ac_ext <<EOF | 3372 cat > conftest.$ac_ext <<EOF |
3372 #line 3373 "configure" | 3373 #line 3374 "configure" |
3373 #include "confdefs.h" | 3374 #include "confdefs.h" |
3374 | 3375 |
3375 int main() { | 3376 int main() { |
3376 | 3377 |
3377 ; return 0; } | 3378 ; return 0; } |
3378 EOF | 3379 EOF |
3379 if { (eval echo configure:3380: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 3380 if { (eval echo configure:3381: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
3380 rm -rf conftest* | 3381 rm -rf conftest* |
3381 dash_r="$try_dash_r" | 3382 dash_r="$try_dash_r" |
3382 else | 3383 else |
3383 echo "configure: failed program was:" >&5 | 3384 echo "configure: failed program was:" >&5 |
3384 cat conftest.$ac_ext >&5 | 3385 cat conftest.$ac_ext >&5 |
3475 else | 3476 else |
3476 doug_lea_malloc=no | 3477 doug_lea_malloc=no |
3477 fi | 3478 fi |
3478 after_morecore_hook_exists=yes | 3479 after_morecore_hook_exists=yes |
3479 echo $ac_n "checking for malloc_set_state""... $ac_c" 1>&6 | 3480 echo $ac_n "checking for malloc_set_state""... $ac_c" 1>&6 |
3480 echo "configure:3481: checking for malloc_set_state" >&5 | 3481 echo "configure:3482: checking for malloc_set_state" >&5 |
3481 | 3482 |
3482 cat > conftest.$ac_ext <<EOF | 3483 cat > conftest.$ac_ext <<EOF |
3483 #line 3484 "configure" | 3484 #line 3485 "configure" |
3484 #include "confdefs.h" | 3485 #include "confdefs.h" |
3485 /* System header to define __stub macros and hopefully few prototypes, | 3486 /* System header to define __stub macros and hopefully few prototypes, |
3486 which can conflict with char malloc_set_state(); below. */ | 3487 which can conflict with char malloc_set_state(); below. */ |
3487 #include <assert.h> | 3488 #include <assert.h> |
3488 /* Override any gcc2 internal prototype to avoid an error. */ | 3489 /* Override any gcc2 internal prototype to avoid an error. */ |
3501 malloc_set_state(); | 3502 malloc_set_state(); |
3502 #endif | 3503 #endif |
3503 | 3504 |
3504 ; return 0; } | 3505 ; return 0; } |
3505 EOF | 3506 EOF |
3506 if { (eval echo configure:3507: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 3507 if { (eval echo configure:3508: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
3507 rm -rf conftest* | 3508 rm -rf conftest* |
3508 eval "ac_cv_func_malloc_set_state=yes" | 3509 eval "ac_cv_func_malloc_set_state=yes" |
3509 else | 3510 else |
3510 echo "configure: failed program was:" >&5 | 3511 echo "configure: failed program was:" >&5 |
3511 cat conftest.$ac_ext >&5 | 3512 cat conftest.$ac_ext >&5 |
3521 echo "$ac_t""no" 1>&6 | 3522 echo "$ac_t""no" 1>&6 |
3522 doug_lea_malloc=no | 3523 doug_lea_malloc=no |
3523 fi | 3524 fi |
3524 | 3525 |
3525 echo $ac_n "checking whether __after_morecore_hook exists""... $ac_c" 1>&6 | 3526 echo $ac_n "checking whether __after_morecore_hook exists""... $ac_c" 1>&6 |
3526 echo "configure:3527: checking whether __after_morecore_hook exists" >&5 | 3527 echo "configure:3528: checking whether __after_morecore_hook exists" >&5 |
3527 cat > conftest.$ac_ext <<EOF | 3528 cat > conftest.$ac_ext <<EOF |
3528 #line 3529 "configure" | 3529 #line 3530 "configure" |
3529 #include "confdefs.h" | 3530 #include "confdefs.h" |
3530 extern void (* __after_morecore_hook)(); | 3531 extern void (* __after_morecore_hook)(); |
3531 int main() { | 3532 int main() { |
3532 __after_morecore_hook = 0 | 3533 __after_morecore_hook = 0 |
3533 ; return 0; } | 3534 ; return 0; } |
3534 EOF | 3535 EOF |
3535 if { (eval echo configure:3536: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 3536 if { (eval echo configure:3537: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
3536 rm -rf conftest* | 3537 rm -rf conftest* |
3537 echo "$ac_t""yes" 1>&6 | 3538 echo "$ac_t""yes" 1>&6 |
3538 else | 3539 else |
3539 echo "configure: failed program was:" >&5 | 3540 echo "configure: failed program was:" >&5 |
3540 cat conftest.$ac_ext >&5 | 3541 cat conftest.$ac_ext >&5 |
3586 | 3587 |
3587 | 3588 |
3588 # Extract the first word of "ranlib", so it can be a program name with args. | 3589 # Extract the first word of "ranlib", so it can be a program name with args. |
3589 set dummy ranlib; ac_word=$2 | 3590 set dummy ranlib; ac_word=$2 |
3590 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 3591 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
3591 echo "configure:3592: checking for $ac_word" >&5 | 3592 echo "configure:3593: checking for $ac_word" >&5 |
3592 | 3593 |
3593 if test -n "$RANLIB"; then | 3594 if test -n "$RANLIB"; then |
3594 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. | 3595 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. |
3595 else | 3596 else |
3596 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | 3597 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
3641 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag | 3642 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag |
3642 # AFS /usr/afsws/bin/install, which mishandles nonexistent args | 3643 # AFS /usr/afsws/bin/install, which mishandles nonexistent args |
3643 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" | 3644 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" |
3644 # ./install, which can be erroneously created by make from ./install.sh. | 3645 # ./install, which can be erroneously created by make from ./install.sh. |
3645 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 | 3646 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 |
3646 echo "configure:3647: checking for a BSD compatible install" >&5 | 3647 echo "configure:3648: checking for a BSD compatible install" >&5 |
3647 if test -z "$INSTALL"; then | 3648 if test -z "$INSTALL"; then |
3648 | 3649 |
3649 IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS=":" | 3650 IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS=":" |
3650 for ac_dir in $PATH; do | 3651 for ac_dir in $PATH; do |
3651 # Account for people who put trailing slashes in PATH elements. | 3652 # Account for people who put trailing slashes in PATH elements. |
3695 for ac_prog in 'bison -y' byacc | 3696 for ac_prog in 'bison -y' byacc |
3696 do | 3697 do |
3697 # Extract the first word of "$ac_prog", so it can be a program name with args. | 3698 # Extract the first word of "$ac_prog", so it can be a program name with args. |
3698 set dummy $ac_prog; ac_word=$2 | 3699 set dummy $ac_prog; ac_word=$2 |
3699 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 3700 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
3700 echo "configure:3701: checking for $ac_word" >&5 | 3701 echo "configure:3702: checking for $ac_word" >&5 |
3701 | 3702 |
3702 if test -n "$YACC"; then | 3703 if test -n "$YACC"; then |
3703 ac_cv_prog_YACC="$YACC" # Let the user override the test. | 3704 ac_cv_prog_YACC="$YACC" # Let the user override the test. |
3704 else | 3705 else |
3705 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | 3706 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
3727 | 3728 |
3728 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 | 3729 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 |
3729 do | 3730 do |
3730 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 3731 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
3731 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 3732 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
3732 echo "configure:3733: checking for $ac_hdr" >&5 | 3733 echo "configure:3734: checking for $ac_hdr" >&5 |
3733 | 3734 |
3734 cat > conftest.$ac_ext <<EOF | 3735 cat > conftest.$ac_ext <<EOF |
3735 #line 3736 "configure" | 3736 #line 3737 "configure" |
3736 #include "confdefs.h" | 3737 #include "confdefs.h" |
3737 #include <$ac_hdr> | 3738 #include <$ac_hdr> |
3738 EOF | 3739 EOF |
3739 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 3740 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
3740 { (eval echo configure:3741: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 3741 { (eval echo configure:3742: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
3741 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 3742 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
3742 if test -z "$ac_err"; then | 3743 if test -z "$ac_err"; then |
3743 rm -rf conftest* | 3744 rm -rf conftest* |
3744 eval "ac_cv_header_$ac_safe=yes" | 3745 eval "ac_cv_header_$ac_safe=yes" |
3745 else | 3746 else |
3765 echo "$ac_t""no" 1>&6 | 3766 echo "$ac_t""no" 1>&6 |
3766 fi | 3767 fi |
3767 done | 3768 done |
3768 | 3769 |
3769 echo $ac_n "checking for sys/wait.h that is POSIX.1 compatible""... $ac_c" 1>&6 | 3770 echo $ac_n "checking for sys/wait.h that is POSIX.1 compatible""... $ac_c" 1>&6 |
3770 echo "configure:3771: checking for sys/wait.h that is POSIX.1 compatible" >&5 | 3771 echo "configure:3772: checking for sys/wait.h that is POSIX.1 compatible" >&5 |
3771 | 3772 |
3772 cat > conftest.$ac_ext <<EOF | 3773 cat > conftest.$ac_ext <<EOF |
3773 #line 3774 "configure" | 3774 #line 3775 "configure" |
3774 #include "confdefs.h" | 3775 #include "confdefs.h" |
3775 #include <sys/types.h> | 3776 #include <sys/types.h> |
3776 #include <sys/wait.h> | 3777 #include <sys/wait.h> |
3777 #ifndef WEXITSTATUS | 3778 #ifndef WEXITSTATUS |
3778 #define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8) | 3779 #define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8) |
3784 int s; | 3785 int s; |
3785 wait (&s); | 3786 wait (&s); |
3786 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1; | 3787 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1; |
3787 ; return 0; } | 3788 ; return 0; } |
3788 EOF | 3789 EOF |
3789 if { (eval echo configure:3790: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3790 if { (eval echo configure:3791: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
3790 rm -rf conftest* | 3791 rm -rf conftest* |
3791 ac_cv_header_sys_wait_h=yes | 3792 ac_cv_header_sys_wait_h=yes |
3792 else | 3793 else |
3793 echo "configure: failed program was:" >&5 | 3794 echo "configure: failed program was:" >&5 |
3794 cat conftest.$ac_ext >&5 | 3795 cat conftest.$ac_ext >&5 |
3808 } | 3809 } |
3809 | 3810 |
3810 fi | 3811 fi |
3811 | 3812 |
3812 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6 | 3813 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6 |
3813 echo "configure:3814: checking for ANSI C header files" >&5 | 3814 echo "configure:3815: checking for ANSI C header files" >&5 |
3814 | 3815 |
3815 cat > conftest.$ac_ext <<EOF | 3816 cat > conftest.$ac_ext <<EOF |
3816 #line 3817 "configure" | 3817 #line 3818 "configure" |
3817 #include "confdefs.h" | 3818 #include "confdefs.h" |
3818 #include <stdlib.h> | 3819 #include <stdlib.h> |
3819 #include <stdarg.h> | 3820 #include <stdarg.h> |
3820 #include <string.h> | 3821 #include <string.h> |
3821 #include <float.h> | 3822 #include <float.h> |
3822 EOF | 3823 EOF |
3823 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 3824 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
3824 { (eval echo configure:3825: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 3825 { (eval echo configure:3826: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
3825 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 3826 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
3826 if test -z "$ac_err"; then | 3827 if test -z "$ac_err"; then |
3827 rm -rf conftest* | 3828 rm -rf conftest* |
3828 ac_cv_header_stdc=yes | 3829 ac_cv_header_stdc=yes |
3829 else | 3830 else |
3836 rm -f conftest* | 3837 rm -f conftest* |
3837 | 3838 |
3838 if test $ac_cv_header_stdc = yes; then | 3839 if test $ac_cv_header_stdc = yes; then |
3839 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. | 3840 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. |
3840 cat > conftest.$ac_ext <<EOF | 3841 cat > conftest.$ac_ext <<EOF |
3841 #line 3842 "configure" | 3842 #line 3843 "configure" |
3842 #include "confdefs.h" | 3843 #include "confdefs.h" |
3843 #include <string.h> | 3844 #include <string.h> |
3844 EOF | 3845 EOF |
3845 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 3846 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
3846 egrep "memchr" >/dev/null 2>&1; then | 3847 egrep "memchr" >/dev/null 2>&1; then |
3854 fi | 3855 fi |
3855 | 3856 |
3856 if test $ac_cv_header_stdc = yes; then | 3857 if test $ac_cv_header_stdc = yes; then |
3857 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. | 3858 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. |
3858 cat > conftest.$ac_ext <<EOF | 3859 cat > conftest.$ac_ext <<EOF |
3859 #line 3860 "configure" | 3860 #line 3861 "configure" |
3860 #include "confdefs.h" | 3861 #include "confdefs.h" |
3861 #include <stdlib.h> | 3862 #include <stdlib.h> |
3862 EOF | 3863 EOF |
3863 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 3864 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
3864 egrep "free" >/dev/null 2>&1; then | 3865 egrep "free" >/dev/null 2>&1; then |
3872 fi | 3873 fi |
3873 | 3874 |
3874 if test $ac_cv_header_stdc = yes; then | 3875 if test $ac_cv_header_stdc = yes; then |
3875 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. | 3876 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. |
3876 cat > conftest.$ac_ext <<EOF | 3877 cat > conftest.$ac_ext <<EOF |
3877 #line 3878 "configure" | 3878 #line 3879 "configure" |
3878 #include "confdefs.h" | 3879 #include "confdefs.h" |
3879 #include <ctype.h> | 3880 #include <ctype.h> |
3880 #define ISLOWER(c) ('a' <= (c) && (c) <= 'z') | 3881 #define ISLOWER(c) ('a' <= (c) && (c) <= 'z') |
3881 #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) | 3882 #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) |
3882 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) | 3883 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) |
3883 int main () { int i; for (i = 0; i < 256; i++) | 3884 int main () { int i; for (i = 0; i < 256; i++) |
3884 if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2); | 3885 if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2); |
3885 exit (0); } | 3886 exit (0); } |
3886 | 3887 |
3887 EOF | 3888 EOF |
3888 if { (eval echo configure:3889: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 3889 if { (eval echo configure:3890: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
3889 then | 3890 then |
3890 : | 3891 : |
3891 else | 3892 else |
3892 conftest_rc="$?" | 3893 conftest_rc="$?" |
3893 echo "configure: failed program was:" >&5 | 3894 echo "configure: failed program was:" >&5 |
3909 } | 3910 } |
3910 | 3911 |
3911 fi | 3912 fi |
3912 | 3913 |
3913 echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6 | 3914 echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6 |
3914 echo "configure:3915: checking whether time.h and sys/time.h may both be included" >&5 | 3915 echo "configure:3916: checking whether time.h and sys/time.h may both be included" >&5 |
3915 | 3916 |
3916 cat > conftest.$ac_ext <<EOF | 3917 cat > conftest.$ac_ext <<EOF |
3917 #line 3918 "configure" | 3918 #line 3919 "configure" |
3918 #include "confdefs.h" | 3919 #include "confdefs.h" |
3919 #include <sys/types.h> | 3920 #include <sys/types.h> |
3920 #include <sys/time.h> | 3921 #include <sys/time.h> |
3921 #include <time.h> | 3922 #include <time.h> |
3922 int main() { | 3923 int main() { |
3923 struct tm *tp; | 3924 struct tm *tp; |
3924 ; return 0; } | 3925 ; return 0; } |
3925 EOF | 3926 EOF |
3926 if { (eval echo configure:3927: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3927 if { (eval echo configure:3928: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
3927 rm -rf conftest* | 3928 rm -rf conftest* |
3928 ac_cv_header_time=yes | 3929 ac_cv_header_time=yes |
3929 else | 3930 else |
3930 echo "configure: failed program was:" >&5 | 3931 echo "configure: failed program was:" >&5 |
3931 cat conftest.$ac_ext >&5 | 3932 cat conftest.$ac_ext >&5 |
3945 } | 3946 } |
3946 | 3947 |
3947 fi | 3948 fi |
3948 | 3949 |
3949 echo $ac_n "checking for sys_siglist declaration in signal.h or unistd.h""... $ac_c" 1>&6 | 3950 echo $ac_n "checking for sys_siglist declaration in signal.h or unistd.h""... $ac_c" 1>&6 |
3950 echo "configure:3951: checking for sys_siglist declaration in signal.h or unistd.h" >&5 | 3951 echo "configure:3952: checking for sys_siglist declaration in signal.h or unistd.h" >&5 |
3951 | 3952 |
3952 cat > conftest.$ac_ext <<EOF | 3953 cat > conftest.$ac_ext <<EOF |
3953 #line 3954 "configure" | 3954 #line 3955 "configure" |
3954 #include "confdefs.h" | 3955 #include "confdefs.h" |
3955 #include <sys/types.h> | 3956 #include <sys/types.h> |
3956 #include <signal.h> | 3957 #include <signal.h> |
3957 /* NetBSD declares sys_siglist in unistd.h. */ | 3958 /* NetBSD declares sys_siglist in unistd.h. */ |
3958 #ifdef HAVE_UNISTD_H | 3959 #ifdef HAVE_UNISTD_H |
3960 #endif | 3961 #endif |
3961 int main() { | 3962 int main() { |
3962 char *msg = *(sys_siglist + 1); | 3963 char *msg = *(sys_siglist + 1); |
3963 ; return 0; } | 3964 ; return 0; } |
3964 EOF | 3965 EOF |
3965 if { (eval echo configure:3966: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3966 if { (eval echo configure:3967: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
3966 rm -rf conftest* | 3967 rm -rf conftest* |
3967 ac_cv_decl_sys_siglist=yes | 3968 ac_cv_decl_sys_siglist=yes |
3968 else | 3969 else |
3969 echo "configure: failed program was:" >&5 | 3970 echo "configure: failed program was:" >&5 |
3970 cat conftest.$ac_ext >&5 | 3971 cat conftest.$ac_ext >&5 |
3986 fi | 3987 fi |
3987 | 3988 |
3988 | 3989 |
3989 | 3990 |
3990 echo $ac_n "checking for utime""... $ac_c" 1>&6 | 3991 echo $ac_n "checking for utime""... $ac_c" 1>&6 |
3991 echo "configure:3992: checking for utime" >&5 | 3992 echo "configure:3993: checking for utime" >&5 |
3992 cat > conftest.$ac_ext <<EOF | 3993 cat > conftest.$ac_ext <<EOF |
3993 #line 3994 "configure" | 3994 #line 3995 "configure" |
3994 #include "confdefs.h" | 3995 #include "confdefs.h" |
3995 #include <sys/types.h> | 3996 #include <sys/types.h> |
3996 #include <utime.h> | 3997 #include <utime.h> |
3997 int main() { | 3998 int main() { |
3998 struct utimbuf x; x.actime = x.modtime = 0; utime ("/", &x); | 3999 struct utimbuf x; x.actime = x.modtime = 0; utime ("/", &x); |
3999 ; return 0; } | 4000 ; return 0; } |
4000 EOF | 4001 EOF |
4001 if { (eval echo configure:4002: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 4002 if { (eval echo configure:4003: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
4002 rm -rf conftest* | 4003 rm -rf conftest* |
4003 echo "$ac_t""yes" 1>&6 | 4004 echo "$ac_t""yes" 1>&6 |
4004 { test "$extra_verbose" = "yes" && cat << \EOF | 4005 { test "$extra_verbose" = "yes" && cat << \EOF |
4005 Defining HAVE_UTIME | 4006 Defining HAVE_UTIME |
4006 EOF | 4007 EOF |
4015 rm -rf conftest* | 4016 rm -rf conftest* |
4016 echo "$ac_t""no" 1>&6 | 4017 echo "$ac_t""no" 1>&6 |
4017 for ac_func in utimes | 4018 for ac_func in utimes |
4018 do | 4019 do |
4019 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 4020 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
4020 echo "configure:4021: checking for $ac_func" >&5 | 4021 echo "configure:4022: checking for $ac_func" >&5 |
4021 | 4022 |
4022 cat > conftest.$ac_ext <<EOF | 4023 cat > conftest.$ac_ext <<EOF |
4023 #line 4024 "configure" | 4024 #line 4025 "configure" |
4024 #include "confdefs.h" | 4025 #include "confdefs.h" |
4025 /* System header to define __stub macros and hopefully few prototypes, | 4026 /* System header to define __stub macros and hopefully few prototypes, |
4026 which can conflict with char $ac_func(); below. */ | 4027 which can conflict with char $ac_func(); below. */ |
4027 #include <assert.h> | 4028 #include <assert.h> |
4028 /* Override any gcc2 internal prototype to avoid an error. */ | 4029 /* Override any gcc2 internal prototype to avoid an error. */ |
4041 $ac_func(); | 4042 $ac_func(); |
4042 #endif | 4043 #endif |
4043 | 4044 |
4044 ; return 0; } | 4045 ; return 0; } |
4045 EOF | 4046 EOF |
4046 if { (eval echo configure:4047: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4047 if { (eval echo configure:4048: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4047 rm -rf conftest* | 4048 rm -rf conftest* |
4048 eval "ac_cv_func_$ac_func=yes" | 4049 eval "ac_cv_func_$ac_func=yes" |
4049 else | 4050 else |
4050 echo "configure: failed program was:" >&5 | 4051 echo "configure: failed program was:" >&5 |
4051 cat conftest.$ac_ext >&5 | 4052 cat conftest.$ac_ext >&5 |
4073 fi | 4074 fi |
4074 rm -f conftest* | 4075 rm -f conftest* |
4075 | 4076 |
4076 | 4077 |
4077 echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6 | 4078 echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6 |
4078 echo "configure:4079: checking return type of signal handlers" >&5 | 4079 echo "configure:4080: checking return type of signal handlers" >&5 |
4079 | 4080 |
4080 cat > conftest.$ac_ext <<EOF | 4081 cat > conftest.$ac_ext <<EOF |
4081 #line 4082 "configure" | 4082 #line 4083 "configure" |
4082 #include "confdefs.h" | 4083 #include "confdefs.h" |
4083 #include <sys/types.h> | 4084 #include <sys/types.h> |
4084 #include <signal.h> | 4085 #include <signal.h> |
4085 #ifdef signal | 4086 #ifdef signal |
4086 #undef signal | 4087 #undef signal |
4093 | 4094 |
4094 int main() { | 4095 int main() { |
4095 int i; | 4096 int i; |
4096 ; return 0; } | 4097 ; return 0; } |
4097 EOF | 4098 EOF |
4098 if { (eval echo configure:4099: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 4099 if { (eval echo configure:4100: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
4099 rm -rf conftest* | 4100 rm -rf conftest* |
4100 ac_cv_type_signal=void | 4101 ac_cv_type_signal=void |
4101 else | 4102 else |
4102 echo "configure: failed program was:" >&5 | 4103 echo "configure: failed program was:" >&5 |
4103 cat conftest.$ac_ext >&5 | 4104 cat conftest.$ac_ext >&5 |
4115 EOF | 4116 EOF |
4116 } | 4117 } |
4117 | 4118 |
4118 | 4119 |
4119 echo $ac_n "checking for size_t""... $ac_c" 1>&6 | 4120 echo $ac_n "checking for size_t""... $ac_c" 1>&6 |
4120 echo "configure:4121: checking for size_t" >&5 | 4121 echo "configure:4122: checking for size_t" >&5 |
4121 | 4122 |
4122 cat > conftest.$ac_ext <<EOF | 4123 cat > conftest.$ac_ext <<EOF |
4123 #line 4124 "configure" | 4124 #line 4125 "configure" |
4124 #include "confdefs.h" | 4125 #include "confdefs.h" |
4125 #include <sys/types.h> | 4126 #include <sys/types.h> |
4126 #if STDC_HEADERS | 4127 #if STDC_HEADERS |
4127 #include <stdlib.h> | 4128 #include <stdlib.h> |
4128 #include <stddef.h> | 4129 #include <stddef.h> |
4149 } | 4150 } |
4150 | 4151 |
4151 fi | 4152 fi |
4152 | 4153 |
4153 echo $ac_n "checking for pid_t""... $ac_c" 1>&6 | 4154 echo $ac_n "checking for pid_t""... $ac_c" 1>&6 |
4154 echo "configure:4155: checking for pid_t" >&5 | 4155 echo "configure:4156: checking for pid_t" >&5 |
4155 | 4156 |
4156 cat > conftest.$ac_ext <<EOF | 4157 cat > conftest.$ac_ext <<EOF |
4157 #line 4158 "configure" | 4158 #line 4159 "configure" |
4158 #include "confdefs.h" | 4159 #include "confdefs.h" |
4159 #include <sys/types.h> | 4160 #include <sys/types.h> |
4160 #if STDC_HEADERS | 4161 #if STDC_HEADERS |
4161 #include <stdlib.h> | 4162 #include <stdlib.h> |
4162 #include <stddef.h> | 4163 #include <stddef.h> |
4183 } | 4184 } |
4184 | 4185 |
4185 fi | 4186 fi |
4186 | 4187 |
4187 echo $ac_n "checking for uid_t in sys/types.h""... $ac_c" 1>&6 | 4188 echo $ac_n "checking for uid_t in sys/types.h""... $ac_c" 1>&6 |
4188 echo "configure:4189: checking for uid_t in sys/types.h" >&5 | 4189 echo "configure:4190: checking for uid_t in sys/types.h" >&5 |
4189 | 4190 |
4190 cat > conftest.$ac_ext <<EOF | 4191 cat > conftest.$ac_ext <<EOF |
4191 #line 4192 "configure" | 4192 #line 4193 "configure" |
4192 #include "confdefs.h" | 4193 #include "confdefs.h" |
4193 #include <sys/types.h> | 4194 #include <sys/types.h> |
4194 EOF | 4195 EOF |
4195 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 4196 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
4196 egrep "uid_t" >/dev/null 2>&1; then | 4197 egrep "uid_t" >/dev/null 2>&1; then |
4222 } | 4223 } |
4223 | 4224 |
4224 fi | 4225 fi |
4225 | 4226 |
4226 echo $ac_n "checking for mode_t""... $ac_c" 1>&6 | 4227 echo $ac_n "checking for mode_t""... $ac_c" 1>&6 |
4227 echo "configure:4228: checking for mode_t" >&5 | 4228 echo "configure:4229: checking for mode_t" >&5 |
4228 | 4229 |
4229 cat > conftest.$ac_ext <<EOF | 4230 cat > conftest.$ac_ext <<EOF |
4230 #line 4231 "configure" | 4231 #line 4232 "configure" |
4231 #include "confdefs.h" | 4232 #include "confdefs.h" |
4232 #include <sys/types.h> | 4233 #include <sys/types.h> |
4233 #if STDC_HEADERS | 4234 #if STDC_HEADERS |
4234 #include <stdlib.h> | 4235 #include <stdlib.h> |
4235 #include <stddef.h> | 4236 #include <stddef.h> |
4256 } | 4257 } |
4257 | 4258 |
4258 fi | 4259 fi |
4259 | 4260 |
4260 echo $ac_n "checking for off_t""... $ac_c" 1>&6 | 4261 echo $ac_n "checking for off_t""... $ac_c" 1>&6 |
4261 echo "configure:4262: checking for off_t" >&5 | 4262 echo "configure:4263: checking for off_t" >&5 |
4262 | 4263 |
4263 cat > conftest.$ac_ext <<EOF | 4264 cat > conftest.$ac_ext <<EOF |
4264 #line 4265 "configure" | 4265 #line 4266 "configure" |
4265 #include "confdefs.h" | 4266 #include "confdefs.h" |
4266 #include <sys/types.h> | 4267 #include <sys/types.h> |
4267 #if STDC_HEADERS | 4268 #if STDC_HEADERS |
4268 #include <stdlib.h> | 4269 #include <stdlib.h> |
4269 #include <stddef.h> | 4270 #include <stddef.h> |
4290 } | 4291 } |
4291 | 4292 |
4292 fi | 4293 fi |
4293 | 4294 |
4294 echo $ac_n "checking for ssize_t""... $ac_c" 1>&6 | 4295 echo $ac_n "checking for ssize_t""... $ac_c" 1>&6 |
4295 echo "configure:4296: checking for ssize_t" >&5 | 4296 echo "configure:4297: checking for ssize_t" >&5 |
4296 | 4297 |
4297 cat > conftest.$ac_ext <<EOF | 4298 cat > conftest.$ac_ext <<EOF |
4298 #line 4299 "configure" | 4299 #line 4300 "configure" |
4299 #include "confdefs.h" | 4300 #include "confdefs.h" |
4300 #include <sys/types.h> | 4301 #include <sys/types.h> |
4301 #if STDC_HEADERS | 4302 #if STDC_HEADERS |
4302 #include <stdlib.h> | 4303 #include <stdlib.h> |
4303 #include <stddef.h> | 4304 #include <stddef.h> |
4326 fi | 4327 fi |
4327 | 4328 |
4328 | 4329 |
4329 if test "$ac_cv_header_inttypes_h" != "yes"; then | 4330 if test "$ac_cv_header_inttypes_h" != "yes"; then |
4330 echo $ac_n "checking for intptr_t in sys/types.h""... $ac_c" 1>&6 | 4331 echo $ac_n "checking for intptr_t in sys/types.h""... $ac_c" 1>&6 |
4331 echo "configure:4332: checking for intptr_t in sys/types.h" >&5 | 4332 echo "configure:4333: checking for intptr_t in sys/types.h" >&5 |
4332 cat > conftest.$ac_ext <<EOF | 4333 cat > conftest.$ac_ext <<EOF |
4333 #line 4334 "configure" | 4334 #line 4335 "configure" |
4334 #include "confdefs.h" | 4335 #include "confdefs.h" |
4335 #include <sys/types.h> | 4336 #include <sys/types.h> |
4336 intptr_t x; | 4337 intptr_t x; |
4337 | 4338 |
4338 int main() { | 4339 int main() { |
4339 | 4340 |
4340 ; return 0; } | 4341 ; return 0; } |
4341 EOF | 4342 EOF |
4342 if { (eval echo configure:4343: \"$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 |
4343 rm -rf conftest* | 4344 rm -rf conftest* |
4344 echo "$ac_t""yes" 1>&6 | 4345 echo "$ac_t""yes" 1>&6 |
4345 { test "$extra_verbose" = "yes" && cat << \EOF | 4346 { test "$extra_verbose" = "yes" && cat << \EOF |
4346 Defining HAVE_INTPTR_T_IN_SYS_TYPES_H = 1 | 4347 Defining HAVE_INTPTR_T_IN_SYS_TYPES_H = 1 |
4347 EOF | 4348 EOF |
4358 fi | 4359 fi |
4359 rm -f conftest* | 4360 rm -f conftest* |
4360 fi | 4361 fi |
4361 | 4362 |
4362 echo $ac_n "checking for socklen_t""... $ac_c" 1>&6 | 4363 echo $ac_n "checking for socklen_t""... $ac_c" 1>&6 |
4363 echo "configure:4364: checking for socklen_t" >&5 | 4364 echo "configure:4365: checking for socklen_t" >&5 |
4364 cat > conftest.$ac_ext <<EOF | 4365 cat > conftest.$ac_ext <<EOF |
4365 #line 4366 "configure" | 4366 #line 4367 "configure" |
4366 #include "confdefs.h" | 4367 #include "confdefs.h" |
4367 #include <sys/types.h> | 4368 #include <sys/types.h> |
4368 #include <sys/socket.h> | 4369 #include <sys/socket.h> |
4369 socklen_t x; | 4370 socklen_t x; |
4370 | 4371 |
4371 int main() { | 4372 int main() { |
4372 | 4373 |
4373 ; return 0; } | 4374 ; return 0; } |
4374 EOF | 4375 EOF |
4375 if { (eval echo configure:4376: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 4376 if { (eval echo configure:4377: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
4376 rm -rf conftest* | 4377 rm -rf conftest* |
4377 echo "$ac_t""yes" 1>&6 | 4378 echo "$ac_t""yes" 1>&6 |
4378 else | 4379 else |
4379 echo "configure: failed program was:" >&5 | 4380 echo "configure: failed program was:" >&5 |
4380 cat conftest.$ac_ext >&5 | 4381 cat conftest.$ac_ext >&5 |
4381 rm -rf conftest* | 4382 rm -rf conftest* |
4382 | 4383 |
4383 cat > conftest.$ac_ext <<EOF | 4384 cat > conftest.$ac_ext <<EOF |
4384 #line 4385 "configure" | 4385 #line 4386 "configure" |
4385 #include "confdefs.h" | 4386 #include "confdefs.h" |
4386 #include <sys/types.h> | 4387 #include <sys/types.h> |
4387 #include <sys/socket.h> | 4388 #include <sys/socket.h> |
4388 int accept (int, struct sockaddr *, size_t *); | 4389 int accept (int, struct sockaddr *, size_t *); |
4389 | 4390 |
4390 int main() { | 4391 int main() { |
4391 | 4392 |
4392 ; return 0; } | 4393 ; return 0; } |
4393 EOF | 4394 EOF |
4394 if { (eval echo configure:4395: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 4395 if { (eval echo configure:4396: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
4395 rm -rf conftest* | 4396 rm -rf conftest* |
4396 | 4397 |
4397 echo "$ac_t""size_t" 1>&6 | 4398 echo "$ac_t""size_t" 1>&6 |
4398 { test "$extra_verbose" = "yes" && cat << \EOF | 4399 { test "$extra_verbose" = "yes" && cat << \EOF |
4399 Defining socklen_t = size_t | 4400 Defining socklen_t = size_t |
4421 rm -f conftest* | 4422 rm -f conftest* |
4422 fi | 4423 fi |
4423 rm -f conftest* | 4424 rm -f conftest* |
4424 | 4425 |
4425 echo $ac_n "checking for struct timeval""... $ac_c" 1>&6 | 4426 echo $ac_n "checking for struct timeval""... $ac_c" 1>&6 |
4426 echo "configure:4427: checking for struct timeval" >&5 | 4427 echo "configure:4428: checking for struct timeval" >&5 |
4427 cat > conftest.$ac_ext <<EOF | 4428 cat > conftest.$ac_ext <<EOF |
4428 #line 4429 "configure" | 4429 #line 4430 "configure" |
4429 #include "confdefs.h" | 4430 #include "confdefs.h" |
4430 #ifdef TIME_WITH_SYS_TIME | 4431 #ifdef TIME_WITH_SYS_TIME |
4431 #include <sys/time.h> | 4432 #include <sys/time.h> |
4432 #include <time.h> | 4433 #include <time.h> |
4433 #else | 4434 #else |
4439 #endif | 4440 #endif |
4440 int main() { | 4441 int main() { |
4441 static struct timeval x; x.tv_sec = x.tv_usec; | 4442 static struct timeval x; x.tv_sec = x.tv_usec; |
4442 ; return 0; } | 4443 ; return 0; } |
4443 EOF | 4444 EOF |
4444 if { (eval echo configure:4445: \"$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 |
4445 rm -rf conftest* | 4446 rm -rf conftest* |
4446 echo "$ac_t""yes" 1>&6 | 4447 echo "$ac_t""yes" 1>&6 |
4447 HAVE_TIMEVAL=yes | 4448 HAVE_TIMEVAL=yes |
4448 { test "$extra_verbose" = "yes" && cat << \EOF | 4449 { test "$extra_verbose" = "yes" && cat << \EOF |
4449 Defining HAVE_TIMEVAL | 4450 Defining HAVE_TIMEVAL |
4461 HAVE_TIMEVAL=no | 4462 HAVE_TIMEVAL=no |
4462 fi | 4463 fi |
4463 rm -f conftest* | 4464 rm -f conftest* |
4464 | 4465 |
4465 echo $ac_n "checking whether struct tm is in sys/time.h or time.h""... $ac_c" 1>&6 | 4466 echo $ac_n "checking whether struct tm is in sys/time.h or time.h""... $ac_c" 1>&6 |
4466 echo "configure:4467: checking whether struct tm is in sys/time.h or time.h" >&5 | 4467 echo "configure:4468: checking whether struct tm is in sys/time.h or time.h" >&5 |
4467 | 4468 |
4468 cat > conftest.$ac_ext <<EOF | 4469 cat > conftest.$ac_ext <<EOF |
4469 #line 4470 "configure" | 4470 #line 4471 "configure" |
4470 #include "confdefs.h" | 4471 #include "confdefs.h" |
4471 #include <sys/types.h> | 4472 #include <sys/types.h> |
4472 #include <time.h> | 4473 #include <time.h> |
4473 int main() { | 4474 int main() { |
4474 struct tm *tp; tp->tm_sec; | 4475 struct tm *tp; tp->tm_sec; |
4475 ; return 0; } | 4476 ; return 0; } |
4476 EOF | 4477 EOF |
4477 if { (eval echo configure:4478: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 4478 if { (eval echo configure:4479: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
4478 rm -rf conftest* | 4479 rm -rf conftest* |
4479 ac_cv_struct_tm=time.h | 4480 ac_cv_struct_tm=time.h |
4480 else | 4481 else |
4481 echo "configure: failed program was:" >&5 | 4482 echo "configure: failed program was:" >&5 |
4482 cat conftest.$ac_ext >&5 | 4483 cat conftest.$ac_ext >&5 |
4496 } | 4497 } |
4497 | 4498 |
4498 fi | 4499 fi |
4499 | 4500 |
4500 echo $ac_n "checking for tm_zone in struct tm""... $ac_c" 1>&6 | 4501 echo $ac_n "checking for tm_zone in struct tm""... $ac_c" 1>&6 |
4501 echo "configure:4502: checking for tm_zone in struct tm" >&5 | 4502 echo "configure:4503: checking for tm_zone in struct tm" >&5 |
4502 | 4503 |
4503 cat > conftest.$ac_ext <<EOF | 4504 cat > conftest.$ac_ext <<EOF |
4504 #line 4505 "configure" | 4505 #line 4506 "configure" |
4505 #include "confdefs.h" | 4506 #include "confdefs.h" |
4506 #include <sys/types.h> | 4507 #include <sys/types.h> |
4507 #include <$ac_cv_struct_tm> | 4508 #include <$ac_cv_struct_tm> |
4508 int main() { | 4509 int main() { |
4509 struct tm tm; tm.tm_zone; | 4510 struct tm tm; tm.tm_zone; |
4510 ; return 0; } | 4511 ; return 0; } |
4511 EOF | 4512 EOF |
4512 if { (eval echo configure:4513: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 4513 if { (eval echo configure:4514: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
4513 rm -rf conftest* | 4514 rm -rf conftest* |
4514 ac_cv_struct_tm_zone=yes | 4515 ac_cv_struct_tm_zone=yes |
4515 else | 4516 else |
4516 echo "configure: failed program was:" >&5 | 4517 echo "configure: failed program was:" >&5 |
4517 cat conftest.$ac_ext >&5 | 4518 cat conftest.$ac_ext >&5 |
4530 EOF | 4531 EOF |
4531 } | 4532 } |
4532 | 4533 |
4533 else | 4534 else |
4534 echo $ac_n "checking for tzname""... $ac_c" 1>&6 | 4535 echo $ac_n "checking for tzname""... $ac_c" 1>&6 |
4535 echo "configure:4536: checking for tzname" >&5 | 4536 echo "configure:4537: checking for tzname" >&5 |
4536 | 4537 |
4537 cat > conftest.$ac_ext <<EOF | 4538 cat > conftest.$ac_ext <<EOF |
4538 #line 4539 "configure" | 4539 #line 4540 "configure" |
4539 #include "confdefs.h" | 4540 #include "confdefs.h" |
4540 #include <time.h> | 4541 #include <time.h> |
4541 #ifndef tzname /* For SGI. */ | 4542 #ifndef tzname /* For SGI. */ |
4542 extern char *tzname[]; /* RS6000 and others reject char **tzname. */ | 4543 extern char *tzname[]; /* RS6000 and others reject char **tzname. */ |
4543 #endif | 4544 #endif |
4544 int main() { | 4545 int main() { |
4545 atoi(*tzname); | 4546 atoi(*tzname); |
4546 ; return 0; } | 4547 ; return 0; } |
4547 EOF | 4548 EOF |
4548 if { (eval echo configure:4549: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4549 if { (eval echo configure:4550: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4549 rm -rf conftest* | 4550 rm -rf conftest* |
4550 ac_cv_var_tzname=yes | 4551 ac_cv_var_tzname=yes |
4551 else | 4552 else |
4552 echo "configure: failed program was:" >&5 | 4553 echo "configure: failed program was:" >&5 |
4553 cat conftest.$ac_ext >&5 | 4554 cat conftest.$ac_ext >&5 |
4569 fi | 4570 fi |
4570 fi | 4571 fi |
4571 | 4572 |
4572 | 4573 |
4573 echo $ac_n "checking for working const""... $ac_c" 1>&6 | 4574 echo $ac_n "checking for working const""... $ac_c" 1>&6 |
4574 echo "configure:4575: checking for working const" >&5 | 4575 echo "configure:4576: checking for working const" >&5 |
4575 | 4576 |
4576 cat > conftest.$ac_ext <<EOF | 4577 cat > conftest.$ac_ext <<EOF |
4577 #line 4578 "configure" | 4578 #line 4579 "configure" |
4578 #include "confdefs.h" | 4579 #include "confdefs.h" |
4579 | 4580 |
4580 int main() { | 4581 int main() { |
4581 | 4582 |
4582 /* Ultrix mips cc rejects this. */ | 4583 /* Ultrix mips cc rejects this. */ |
4621 const int foo = 10; | 4622 const int foo = 10; |
4622 } | 4623 } |
4623 | 4624 |
4624 ; return 0; } | 4625 ; return 0; } |
4625 EOF | 4626 EOF |
4626 if { (eval echo configure:4627: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 4627 if { (eval echo configure:4628: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
4627 rm -rf conftest* | 4628 rm -rf conftest* |
4628 ac_cv_c_const=yes | 4629 ac_cv_c_const=yes |
4629 else | 4630 else |
4630 echo "configure: failed program was:" >&5 | 4631 echo "configure: failed program was:" >&5 |
4631 cat conftest.$ac_ext >&5 | 4632 cat conftest.$ac_ext >&5 |
4646 | 4647 |
4647 fi | 4648 fi |
4648 | 4649 |
4649 | 4650 |
4650 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6 | 4651 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6 |
4651 echo "configure:4652: checking whether ${MAKE-make} sets \${MAKE}" >&5 | 4652 echo "configure:4653: checking whether ${MAKE-make} sets \${MAKE}" >&5 |
4652 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'` | 4653 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'` |
4653 | 4654 |
4654 cat > conftestmake <<\EOF | 4655 cat > conftestmake <<\EOF |
4655 all: | 4656 all: |
4656 @echo 'ac_maketemp="${MAKE}"' | 4657 @echo 'ac_maketemp="${MAKE}"' |
4671 SET_MAKE="MAKE=${MAKE-make}" | 4672 SET_MAKE="MAKE=${MAKE-make}" |
4672 fi | 4673 fi |
4673 | 4674 |
4674 | 4675 |
4675 echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6 | 4676 echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6 |
4676 echo "configure:4677: checking whether byte ordering is bigendian" >&5 | 4677 echo "configure:4678: checking whether byte ordering is bigendian" >&5 |
4677 | 4678 |
4678 ac_cv_c_bigendian=unknown | 4679 ac_cv_c_bigendian=unknown |
4679 # See if sys/param.h defines the BYTE_ORDER macro. | 4680 # See if sys/param.h defines the BYTE_ORDER macro. |
4680 cat > conftest.$ac_ext <<EOF | 4681 cat > conftest.$ac_ext <<EOF |
4681 #line 4682 "configure" | 4682 #line 4683 "configure" |
4682 #include "confdefs.h" | 4683 #include "confdefs.h" |
4683 #include <sys/types.h> | 4684 #include <sys/types.h> |
4684 #include <sys/param.h> | 4685 #include <sys/param.h> |
4685 int main() { | 4686 int main() { |
4686 | 4687 |
4687 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN | 4688 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN |
4688 bogus endian macros | 4689 bogus endian macros |
4689 #endif | 4690 #endif |
4690 ; return 0; } | 4691 ; return 0; } |
4691 EOF | 4692 EOF |
4692 if { (eval echo configure:4693: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 4693 if { (eval echo configure:4694: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
4693 rm -rf conftest* | 4694 rm -rf conftest* |
4694 # It does; now see whether it defined to BIG_ENDIAN or not. | 4695 # It does; now see whether it defined to BIG_ENDIAN or not. |
4695 cat > conftest.$ac_ext <<EOF | 4696 cat > conftest.$ac_ext <<EOF |
4696 #line 4697 "configure" | 4697 #line 4698 "configure" |
4697 #include "confdefs.h" | 4698 #include "confdefs.h" |
4698 #include <sys/types.h> | 4699 #include <sys/types.h> |
4699 #include <sys/param.h> | 4700 #include <sys/param.h> |
4700 int main() { | 4701 int main() { |
4701 | 4702 |
4702 #if BYTE_ORDER != BIG_ENDIAN | 4703 #if BYTE_ORDER != BIG_ENDIAN |
4703 not big endian | 4704 not big endian |
4704 #endif | 4705 #endif |
4705 ; return 0; } | 4706 ; return 0; } |
4706 EOF | 4707 EOF |
4707 if { (eval echo configure:4708: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 4708 if { (eval echo configure:4709: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
4708 rm -rf conftest* | 4709 rm -rf conftest* |
4709 ac_cv_c_bigendian=yes | 4710 ac_cv_c_bigendian=yes |
4710 else | 4711 else |
4711 echo "configure: failed program was:" >&5 | 4712 echo "configure: failed program was:" >&5 |
4712 cat conftest.$ac_ext >&5 | 4713 cat conftest.$ac_ext >&5 |
4719 cat conftest.$ac_ext >&5 | 4720 cat conftest.$ac_ext >&5 |
4720 fi | 4721 fi |
4721 rm -f conftest* | 4722 rm -f conftest* |
4722 if test $ac_cv_c_bigendian = unknown; then | 4723 if test $ac_cv_c_bigendian = unknown; then |
4723 cat > conftest.$ac_ext <<EOF | 4724 cat > conftest.$ac_ext <<EOF |
4724 #line 4725 "configure" | 4725 #line 4726 "configure" |
4725 #include "confdefs.h" | 4726 #include "confdefs.h" |
4726 main () { | 4727 main () { |
4727 /* Are we little or big endian? From Harbison&Steele. */ | 4728 /* Are we little or big endian? From Harbison&Steele. */ |
4728 union | 4729 union |
4729 { | 4730 { |
4732 } u; | 4733 } u; |
4733 u.l = 1; | 4734 u.l = 1; |
4734 exit (u.c[sizeof (long) - 1] == 1); | 4735 exit (u.c[sizeof (long) - 1] == 1); |
4735 } | 4736 } |
4736 EOF | 4737 EOF |
4737 if { (eval echo configure:4738: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 4738 if { (eval echo configure:4739: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
4738 then | 4739 then |
4739 ac_cv_c_bigendian=no | 4740 ac_cv_c_bigendian=no |
4740 else | 4741 else |
4741 conftest_rc="$?" | 4742 conftest_rc="$?" |
4742 echo "configure: failed program was:" >&5 | 4743 echo "configure: failed program was:" >&5 |
4759 | 4760 |
4760 fi | 4761 fi |
4761 | 4762 |
4762 | 4763 |
4763 echo $ac_n "checking size of short""... $ac_c" 1>&6 | 4764 echo $ac_n "checking size of short""... $ac_c" 1>&6 |
4764 echo "configure:4765: checking size of short" >&5 | 4765 echo "configure:4766: checking size of short" >&5 |
4765 | 4766 |
4766 cat > conftest.$ac_ext <<EOF | 4767 cat > conftest.$ac_ext <<EOF |
4767 #line 4768 "configure" | 4768 #line 4769 "configure" |
4768 #include "confdefs.h" | 4769 #include "confdefs.h" |
4769 #include <stdio.h> | 4770 #include <stdio.h> |
4770 int main() | 4771 int main() |
4771 { | 4772 { |
4772 FILE *f=fopen("conftestval", "w"); | 4773 FILE *f=fopen("conftestval", "w"); |
4773 if (!f) return(1); | 4774 if (!f) return(1); |
4774 fprintf(f, "%d\n", sizeof(short)); | 4775 fprintf(f, "%d\n", sizeof(short)); |
4775 return(0); | 4776 return(0); |
4776 } | 4777 } |
4777 EOF | 4778 EOF |
4778 if { (eval echo configure:4779: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 4779 if { (eval echo configure:4780: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
4779 then | 4780 then |
4780 ac_cv_sizeof_short=`cat conftestval` | 4781 ac_cv_sizeof_short=`cat conftestval` |
4781 else | 4782 else |
4782 conftest_rc="$?" | 4783 conftest_rc="$?" |
4783 echo "configure: failed program was:" >&5 | 4784 echo "configure: failed program was:" >&5 |
4801 echo "*** PANIC *** Configure tests are not working - compiler is broken." | 4802 echo "*** PANIC *** Configure tests are not working - compiler is broken." |
4802 echo "*** PANIC *** Please examine config.log for compilation errors." | 4803 echo "*** PANIC *** Please examine config.log for compilation errors." |
4803 exit 1 | 4804 exit 1 |
4804 fi | 4805 fi |
4805 echo $ac_n "checking size of int""... $ac_c" 1>&6 | 4806 echo $ac_n "checking size of int""... $ac_c" 1>&6 |
4806 echo "configure:4807: checking size of int" >&5 | 4807 echo "configure:4808: checking size of int" >&5 |
4807 | 4808 |
4808 cat > conftest.$ac_ext <<EOF | 4809 cat > conftest.$ac_ext <<EOF |
4809 #line 4810 "configure" | 4810 #line 4811 "configure" |
4810 #include "confdefs.h" | 4811 #include "confdefs.h" |
4811 #include <stdio.h> | 4812 #include <stdio.h> |
4812 int main() | 4813 int main() |
4813 { | 4814 { |
4814 FILE *f=fopen("conftestval", "w"); | 4815 FILE *f=fopen("conftestval", "w"); |
4815 if (!f) return(1); | 4816 if (!f) return(1); |
4816 fprintf(f, "%d\n", sizeof(int)); | 4817 fprintf(f, "%d\n", sizeof(int)); |
4817 return(0); | 4818 return(0); |
4818 } | 4819 } |
4819 EOF | 4820 EOF |
4820 if { (eval echo configure:4821: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 4821 if { (eval echo configure:4822: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
4821 then | 4822 then |
4822 ac_cv_sizeof_int=`cat conftestval` | 4823 ac_cv_sizeof_int=`cat conftestval` |
4823 else | 4824 else |
4824 conftest_rc="$?" | 4825 conftest_rc="$?" |
4825 echo "configure: failed program was:" >&5 | 4826 echo "configure: failed program was:" >&5 |
4837 EOF | 4838 EOF |
4838 } | 4839 } |
4839 | 4840 |
4840 | 4841 |
4841 echo $ac_n "checking size of long""... $ac_c" 1>&6 | 4842 echo $ac_n "checking size of long""... $ac_c" 1>&6 |
4842 echo "configure:4843: checking size of long" >&5 | 4843 echo "configure:4844: checking size of long" >&5 |
4843 | 4844 |
4844 cat > conftest.$ac_ext <<EOF | 4845 cat > conftest.$ac_ext <<EOF |
4845 #line 4846 "configure" | 4846 #line 4847 "configure" |
4846 #include "confdefs.h" | 4847 #include "confdefs.h" |
4847 #include <stdio.h> | 4848 #include <stdio.h> |
4848 int main() | 4849 int main() |
4849 { | 4850 { |
4850 FILE *f=fopen("conftestval", "w"); | 4851 FILE *f=fopen("conftestval", "w"); |
4851 if (!f) return(1); | 4852 if (!f) return(1); |
4852 fprintf(f, "%d\n", sizeof(long)); | 4853 fprintf(f, "%d\n", sizeof(long)); |
4853 return(0); | 4854 return(0); |
4854 } | 4855 } |
4855 EOF | 4856 EOF |
4856 if { (eval echo configure:4857: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 4857 if { (eval echo configure:4858: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
4857 then | 4858 then |
4858 ac_cv_sizeof_long=`cat conftestval` | 4859 ac_cv_sizeof_long=`cat conftestval` |
4859 else | 4860 else |
4860 conftest_rc="$?" | 4861 conftest_rc="$?" |
4861 echo "configure: failed program was:" >&5 | 4862 echo "configure: failed program was:" >&5 |
4873 EOF | 4874 EOF |
4874 } | 4875 } |
4875 | 4876 |
4876 | 4877 |
4877 echo $ac_n "checking size of long long""... $ac_c" 1>&6 | 4878 echo $ac_n "checking size of long long""... $ac_c" 1>&6 |
4878 echo "configure:4879: checking size of long long" >&5 | 4879 echo "configure:4880: checking size of long long" >&5 |
4879 | 4880 |
4880 cat > conftest.$ac_ext <<EOF | 4881 cat > conftest.$ac_ext <<EOF |
4881 #line 4882 "configure" | 4882 #line 4883 "configure" |
4882 #include "confdefs.h" | 4883 #include "confdefs.h" |
4883 #include <stdio.h> | 4884 #include <stdio.h> |
4884 int main() | 4885 int main() |
4885 { | 4886 { |
4886 FILE *f=fopen("conftestval", "w"); | 4887 FILE *f=fopen("conftestval", "w"); |
4887 if (!f) return(1); | 4888 if (!f) return(1); |
4888 fprintf(f, "%d\n", sizeof(long long)); | 4889 fprintf(f, "%d\n", sizeof(long long)); |
4889 return(0); | 4890 return(0); |
4890 } | 4891 } |
4891 EOF | 4892 EOF |
4892 if { (eval echo configure:4893: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 4893 if { (eval echo configure:4894: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
4893 then | 4894 then |
4894 ac_cv_sizeof_long_long=`cat conftestval` | 4895 ac_cv_sizeof_long_long=`cat conftestval` |
4895 else | 4896 else |
4896 conftest_rc="$?" | 4897 conftest_rc="$?" |
4897 echo "configure: failed program was:" >&5 | 4898 echo "configure: failed program was:" >&5 |
4909 EOF | 4910 EOF |
4910 } | 4911 } |
4911 | 4912 |
4912 | 4913 |
4913 echo $ac_n "checking size of void *""... $ac_c" 1>&6 | 4914 echo $ac_n "checking size of void *""... $ac_c" 1>&6 |
4914 echo "configure:4915: checking size of void *" >&5 | 4915 echo "configure:4916: checking size of void *" >&5 |
4915 | 4916 |
4916 cat > conftest.$ac_ext <<EOF | 4917 cat > conftest.$ac_ext <<EOF |
4917 #line 4918 "configure" | 4918 #line 4919 "configure" |
4918 #include "confdefs.h" | 4919 #include "confdefs.h" |
4919 #include <stdio.h> | 4920 #include <stdio.h> |
4920 int main() | 4921 int main() |
4921 { | 4922 { |
4922 FILE *f=fopen("conftestval", "w"); | 4923 FILE *f=fopen("conftestval", "w"); |
4923 if (!f) return(1); | 4924 if (!f) return(1); |
4924 fprintf(f, "%d\n", sizeof(void *)); | 4925 fprintf(f, "%d\n", sizeof(void *)); |
4925 return(0); | 4926 return(0); |
4926 } | 4927 } |
4927 EOF | 4928 EOF |
4928 if { (eval echo configure:4929: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 4929 if { (eval echo configure:4930: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
4929 then | 4930 then |
4930 ac_cv_sizeof_void_p=`cat conftestval` | 4931 ac_cv_sizeof_void_p=`cat conftestval` |
4931 else | 4932 else |
4932 conftest_rc="$?" | 4933 conftest_rc="$?" |
4933 echo "configure: failed program was:" >&5 | 4934 echo "configure: failed program was:" >&5 |
4945 EOF | 4946 EOF |
4946 } | 4947 } |
4947 | 4948 |
4948 | 4949 |
4949 echo $ac_n "checking size of double""... $ac_c" 1>&6 | 4950 echo $ac_n "checking size of double""... $ac_c" 1>&6 |
4950 echo "configure:4951: checking size of double" >&5 | 4951 echo "configure:4952: checking size of double" >&5 |
4951 | 4952 |
4952 cat > conftest.$ac_ext <<EOF | 4953 cat > conftest.$ac_ext <<EOF |
4953 #line 4954 "configure" | 4954 #line 4955 "configure" |
4954 #include "confdefs.h" | 4955 #include "confdefs.h" |
4955 #include <stdio.h> | 4956 #include <stdio.h> |
4956 int main() | 4957 int main() |
4957 { | 4958 { |
4958 FILE *f=fopen("conftestval", "w"); | 4959 FILE *f=fopen("conftestval", "w"); |
4959 if (!f) return(1); | 4960 if (!f) return(1); |
4960 fprintf(f, "%d\n", sizeof(double)); | 4961 fprintf(f, "%d\n", sizeof(double)); |
4961 return(0); | 4962 return(0); |
4962 } | 4963 } |
4963 EOF | 4964 EOF |
4964 if { (eval echo configure:4965: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 4965 if { (eval echo configure:4966: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
4965 then | 4966 then |
4966 ac_cv_sizeof_double=`cat conftestval` | 4967 ac_cv_sizeof_double=`cat conftestval` |
4967 else | 4968 else |
4968 conftest_rc="$?" | 4969 conftest_rc="$?" |
4969 echo "configure: failed program was:" >&5 | 4970 echo "configure: failed program was:" >&5 |
4982 } | 4983 } |
4983 | 4984 |
4984 | 4985 |
4985 | 4986 |
4986 echo $ac_n "checking for long file names""... $ac_c" 1>&6 | 4987 echo $ac_n "checking for long file names""... $ac_c" 1>&6 |
4987 echo "configure:4988: checking for long file names" >&5 | 4988 echo "configure:4989: checking for long file names" >&5 |
4988 | 4989 |
4989 ac_cv_sys_long_file_names=yes | 4990 ac_cv_sys_long_file_names=yes |
4990 # Test for long file names in all the places we know might matter: | 4991 # Test for long file names in all the places we know might matter: |
4991 # . the current directory, where building will happen | 4992 # . the current directory, where building will happen |
4992 # $prefix/lib where we will be installing things | 4993 # $prefix/lib where we will be installing things |
5028 | 5029 |
5029 fi | 5030 fi |
5030 | 5031 |
5031 | 5032 |
5032 echo $ac_n "checking for sin""... $ac_c" 1>&6 | 5033 echo $ac_n "checking for sin""... $ac_c" 1>&6 |
5033 echo "configure:5034: checking for sin" >&5 | 5034 echo "configure:5035: checking for sin" >&5 |
5034 | 5035 |
5035 cat > conftest.$ac_ext <<EOF | 5036 cat > conftest.$ac_ext <<EOF |
5036 #line 5037 "configure" | 5037 #line 5038 "configure" |
5037 #include "confdefs.h" | 5038 #include "confdefs.h" |
5038 /* System header to define __stub macros and hopefully few prototypes, | 5039 /* System header to define __stub macros and hopefully few prototypes, |
5039 which can conflict with char sin(); below. */ | 5040 which can conflict with char sin(); below. */ |
5040 #include <assert.h> | 5041 #include <assert.h> |
5041 /* Override any gcc2 internal prototype to avoid an error. */ | 5042 /* Override any gcc2 internal prototype to avoid an error. */ |
5054 sin(); | 5055 sin(); |
5055 #endif | 5056 #endif |
5056 | 5057 |
5057 ; return 0; } | 5058 ; return 0; } |
5058 EOF | 5059 EOF |
5059 if { (eval echo configure:5060: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5060 if { (eval echo configure:5061: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5060 rm -rf conftest* | 5061 rm -rf conftest* |
5061 eval "ac_cv_func_sin=yes" | 5062 eval "ac_cv_func_sin=yes" |
5062 else | 5063 else |
5063 echo "configure: failed program was:" >&5 | 5064 echo "configure: failed program was:" >&5 |
5064 cat conftest.$ac_ext >&5 | 5065 cat conftest.$ac_ext >&5 |
5072 : | 5073 : |
5073 else | 5074 else |
5074 echo "$ac_t""no" 1>&6 | 5075 echo "$ac_t""no" 1>&6 |
5075 | 5076 |
5076 echo $ac_n "checking for sin in -lm""... $ac_c" 1>&6 | 5077 echo $ac_n "checking for sin in -lm""... $ac_c" 1>&6 |
5077 echo "configure:5078: checking for sin in -lm" >&5 | 5078 echo "configure:5079: checking for sin in -lm" >&5 |
5078 ac_lib_var=`echo m'_'sin | sed 'y%./+-%__p_%'` | 5079 ac_lib_var=`echo m'_'sin | sed 'y%./+-%__p_%'` |
5079 | 5080 |
5080 xe_check_libs=" -lm " | 5081 xe_check_libs=" -lm " |
5081 cat > conftest.$ac_ext <<EOF | 5082 cat > conftest.$ac_ext <<EOF |
5082 #line 5083 "configure" | 5083 #line 5084 "configure" |
5083 #include "confdefs.h" | 5084 #include "confdefs.h" |
5084 /* Override any gcc2 internal prototype to avoid an error. */ | 5085 /* Override any gcc2 internal prototype to avoid an error. */ |
5085 /* We use char because int might match the return type of a gcc2 | 5086 /* We use char because int might match the return type of a gcc2 |
5086 builtin and then its argument prototype would still apply. */ | 5087 builtin and then its argument prototype would still apply. */ |
5087 char sin(); | 5088 char sin(); |
5088 | 5089 |
5089 int main() { | 5090 int main() { |
5090 sin() | 5091 sin() |
5091 ; return 0; } | 5092 ; return 0; } |
5092 EOF | 5093 EOF |
5093 if { (eval echo configure:5094: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5094 if { (eval echo configure:5095: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5094 rm -rf conftest* | 5095 rm -rf conftest* |
5095 eval "ac_cv_lib_$ac_lib_var=yes" | 5096 eval "ac_cv_lib_$ac_lib_var=yes" |
5096 else | 5097 else |
5097 echo "configure: failed program was:" >&5 | 5098 echo "configure: failed program was:" >&5 |
5098 cat conftest.$ac_ext >&5 | 5099 cat conftest.$ac_ext >&5 |
5123 | 5124 |
5124 fi | 5125 fi |
5125 | 5126 |
5126 | 5127 |
5127 cat > conftest.$ac_ext <<EOF | 5128 cat > conftest.$ac_ext <<EOF |
5128 #line 5129 "configure" | 5129 #line 5130 "configure" |
5129 #include "confdefs.h" | 5130 #include "confdefs.h" |
5130 #include <math.h> | 5131 #include <math.h> |
5131 int main() { | 5132 int main() { |
5132 return atanh(1.0) + asinh(1.0) + acosh(1.0); | 5133 return atanh(1.0) + asinh(1.0) + acosh(1.0); |
5133 ; return 0; } | 5134 ; return 0; } |
5134 EOF | 5135 EOF |
5135 if { (eval echo configure:5136: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5136 if { (eval echo configure:5137: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5136 rm -rf conftest* | 5137 rm -rf conftest* |
5137 { test "$extra_verbose" = "yes" && cat << \EOF | 5138 { test "$extra_verbose" = "yes" && cat << \EOF |
5138 Defining HAVE_INVERSE_HYPERBOLIC | 5139 Defining HAVE_INVERSE_HYPERBOLIC |
5139 EOF | 5140 EOF |
5140 cat >> confdefs.h <<\EOF | 5141 cat >> confdefs.h <<\EOF |
5149 rm -f conftest* | 5150 rm -f conftest* |
5150 | 5151 |
5151 for ac_func in mkstemp | 5152 for ac_func in mkstemp |
5152 do | 5153 do |
5153 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 5154 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
5154 echo "configure:5155: checking for $ac_func" >&5 | 5155 echo "configure:5156: checking for $ac_func" >&5 |
5155 | 5156 |
5156 cat > conftest.$ac_ext <<EOF | 5157 cat > conftest.$ac_ext <<EOF |
5157 #line 5158 "configure" | 5158 #line 5159 "configure" |
5158 #include "confdefs.h" | 5159 #include "confdefs.h" |
5159 /* System header to define __stub macros and hopefully few prototypes, | 5160 /* System header to define __stub macros and hopefully few prototypes, |
5160 which can conflict with char $ac_func(); below. */ | 5161 which can conflict with char $ac_func(); below. */ |
5161 #include <assert.h> | 5162 #include <assert.h> |
5162 /* Override any gcc2 internal prototype to avoid an error. */ | 5163 /* Override any gcc2 internal prototype to avoid an error. */ |
5175 $ac_func(); | 5176 $ac_func(); |
5176 #endif | 5177 #endif |
5177 | 5178 |
5178 ; return 0; } | 5179 ; return 0; } |
5179 EOF | 5180 EOF |
5180 if { (eval echo configure:5181: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5181 if { (eval echo configure:5182: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5181 rm -rf conftest* | 5182 rm -rf conftest* |
5182 eval "ac_cv_func_$ac_func=yes" | 5183 eval "ac_cv_func_$ac_func=yes" |
5183 else | 5184 else |
5184 echo "configure: failed program was:" >&5 | 5185 echo "configure: failed program was:" >&5 |
5185 cat conftest.$ac_ext >&5 | 5186 cat conftest.$ac_ext >&5 |
5204 fi | 5205 fi |
5205 done | 5206 done |
5206 | 5207 |
5207 | 5208 |
5208 echo "checking type of mail spool file locking" 1>&6 | 5209 echo "checking type of mail spool file locking" 1>&6 |
5209 echo "configure:5210: checking type of mail spool file locking" >&5 | 5210 echo "configure:5211: checking type of mail spool file locking" >&5 |
5210 for ac_func in lockf flock | 5211 for ac_func in lockf flock |
5211 do | 5212 do |
5212 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 5213 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
5213 echo "configure:5214: checking for $ac_func" >&5 | 5214 echo "configure:5215: checking for $ac_func" >&5 |
5214 | 5215 |
5215 cat > conftest.$ac_ext <<EOF | 5216 cat > conftest.$ac_ext <<EOF |
5216 #line 5217 "configure" | 5217 #line 5218 "configure" |
5217 #include "confdefs.h" | 5218 #include "confdefs.h" |
5218 /* System header to define __stub macros and hopefully few prototypes, | 5219 /* System header to define __stub macros and hopefully few prototypes, |
5219 which can conflict with char $ac_func(); below. */ | 5220 which can conflict with char $ac_func(); below. */ |
5220 #include <assert.h> | 5221 #include <assert.h> |
5221 /* Override any gcc2 internal prototype to avoid an error. */ | 5222 /* Override any gcc2 internal prototype to avoid an error. */ |
5234 $ac_func(); | 5235 $ac_func(); |
5235 #endif | 5236 #endif |
5236 | 5237 |
5237 ; return 0; } | 5238 ; return 0; } |
5238 EOF | 5239 EOF |
5239 if { (eval echo configure:5240: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5240 if { (eval echo configure:5241: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5240 rm -rf conftest* | 5241 rm -rf conftest* |
5241 eval "ac_cv_func_$ac_func=yes" | 5242 eval "ac_cv_func_$ac_func=yes" |
5242 else | 5243 else |
5243 echo "configure: failed program was:" >&5 | 5244 echo "configure: failed program was:" >&5 |
5244 cat conftest.$ac_ext >&5 | 5245 cat conftest.$ac_ext >&5 |
5316 { echo "Error:" "locking mail locking requested but not available." >&2; exit 1; } | 5317 { echo "Error:" "locking mail locking requested but not available." >&2; exit 1; } |
5317 | 5318 |
5318 case "$opsys" in decosf*) | 5319 case "$opsys" in decosf*) |
5319 | 5320 |
5320 echo $ac_n "checking for cma_open in -lpthreads""... $ac_c" 1>&6 | 5321 echo $ac_n "checking for cma_open in -lpthreads""... $ac_c" 1>&6 |
5321 echo "configure:5322: checking for cma_open in -lpthreads" >&5 | 5322 echo "configure:5323: checking for cma_open in -lpthreads" >&5 |
5322 ac_lib_var=`echo pthreads'_'cma_open | sed 'y%./+-%__p_%'` | 5323 ac_lib_var=`echo pthreads'_'cma_open | sed 'y%./+-%__p_%'` |
5323 | 5324 |
5324 xe_check_libs=" -lpthreads " | 5325 xe_check_libs=" -lpthreads " |
5325 cat > conftest.$ac_ext <<EOF | 5326 cat > conftest.$ac_ext <<EOF |
5326 #line 5327 "configure" | 5327 #line 5328 "configure" |
5327 #include "confdefs.h" | 5328 #include "confdefs.h" |
5328 /* Override any gcc2 internal prototype to avoid an error. */ | 5329 /* Override any gcc2 internal prototype to avoid an error. */ |
5329 /* We use char because int might match the return type of a gcc2 | 5330 /* We use char because int might match the return type of a gcc2 |
5330 builtin and then its argument prototype would still apply. */ | 5331 builtin and then its argument prototype would still apply. */ |
5331 char cma_open(); | 5332 char cma_open(); |
5332 | 5333 |
5333 int main() { | 5334 int main() { |
5334 cma_open() | 5335 cma_open() |
5335 ; return 0; } | 5336 ; return 0; } |
5336 EOF | 5337 EOF |
5337 if { (eval echo configure:5338: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5338 if { (eval echo configure:5339: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5338 rm -rf conftest* | 5339 rm -rf conftest* |
5339 eval "ac_cv_lib_$ac_lib_var=yes" | 5340 eval "ac_cv_lib_$ac_lib_var=yes" |
5340 else | 5341 else |
5341 echo "configure: failed program was:" >&5 | 5342 echo "configure: failed program was:" >&5 |
5342 cat conftest.$ac_ext >&5 | 5343 cat conftest.$ac_ext >&5 |
5369 c_switch_site="$c_switch_site -threads" ;; | 5370 c_switch_site="$c_switch_site -threads" ;; |
5370 esac | 5371 esac |
5371 | 5372 |
5372 | 5373 |
5373 echo $ac_n "checking whether the -xildoff compiler flag is required""... $ac_c" 1>&6 | 5374 echo $ac_n "checking whether the -xildoff compiler flag is required""... $ac_c" 1>&6 |
5374 echo "configure:5375: checking whether the -xildoff compiler flag is required" >&5 | 5375 echo "configure:5376: checking whether the -xildoff compiler flag is required" >&5 |
5375 if ${CC-cc} '-###' -xildon no_such_file.c 2>&1 | grep '^[^ ]*/ild ' > /dev/null ; then | 5376 if ${CC-cc} '-###' -xildon no_such_file.c 2>&1 | grep '^[^ ]*/ild ' > /dev/null ; then |
5376 if ${CC-cc} '-###' -xildoff no_such_file.c 2>&1 | grep '^[^ ]*/ild ' > /dev/null ; | 5377 if ${CC-cc} '-###' -xildoff no_such_file.c 2>&1 | grep '^[^ ]*/ild ' > /dev/null ; |
5377 then echo "$ac_t""no" 1>&6; | 5378 then echo "$ac_t""no" 1>&6; |
5378 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 | 5379 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 |
5379 fi | 5380 fi |
5381 fi | 5382 fi |
5382 | 5383 |
5383 if test "$opsys" = "sol2"; then | 5384 if test "$opsys" = "sol2"; then |
5384 if test "$os_release" -ge 506; then | 5385 if test "$os_release" -ge 506; then |
5385 echo $ac_n "checking for \"-z ignore\" linker flag""... $ac_c" 1>&6 | 5386 echo $ac_n "checking for \"-z ignore\" linker flag""... $ac_c" 1>&6 |
5386 echo "configure:5387: checking for \"-z ignore\" linker flag" >&5 | 5387 echo "configure:5388: checking for \"-z ignore\" linker flag" >&5 |
5387 case "`ld -h 2>&1`" in | 5388 case "`ld -h 2>&1`" in |
5388 *-z\ ignore\|record* ) echo "$ac_t""yes" 1>&6 | 5389 *-z\ ignore\|record* ) echo "$ac_t""yes" 1>&6 |
5389 ld_switch_site="-z ignore $ld_switch_site" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-z ignore\" to \$ld_switch_site"; fi ;; | 5390 ld_switch_site="-z ignore $ld_switch_site" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-z ignore\" to \$ld_switch_site"; fi ;; |
5390 *) echo "$ac_t""no" 1>&6 ;; | 5391 *) echo "$ac_t""no" 1>&6 ;; |
5391 esac | 5392 esac |
5392 fi | 5393 fi |
5393 fi | 5394 fi |
5394 | 5395 |
5395 | 5396 |
5396 echo "checking "for specified window system"" 1>&6 | 5397 echo "checking "for specified window system"" 1>&6 |
5397 echo "configure:5398: checking "for specified window system"" >&5 | 5398 echo "configure:5399: checking "for specified window system"" >&5 |
5398 | 5399 |
5399 | 5400 |
5400 GNOME_CONFIG=no | 5401 GNOME_CONFIG=no |
5401 GTK_CONFIG=no | 5402 GTK_CONFIG=no |
5402 | 5403 |
5403 if test "$with_gnome" != "no"; then | 5404 if test "$with_gnome" != "no"; then |
5404 echo $ac_n "checking for GNOME configuration script""... $ac_c" 1>&6 | 5405 echo $ac_n "checking for GNOME configuration script""... $ac_c" 1>&6 |
5405 echo "configure:5406: checking for GNOME configuration script" >&5 | 5406 echo "configure:5407: checking for GNOME configuration script" >&5 |
5406 for possible in gnome-config | 5407 for possible in gnome-config |
5407 do | 5408 do |
5408 possible_version=`${possible} --version 2> /dev/null` | 5409 possible_version=`${possible} --version 2> /dev/null` |
5409 if test "x${possible_version}" != "x"; then | 5410 if test "x${possible_version}" != "x"; then |
5410 GNOME_CONFIG="${possible}" | 5411 GNOME_CONFIG="${possible}" |
5431 c_switch_gtk="$c_switch_gtk ${GNOME_CFLAGS}" && if test "$extra_verbose" = "yes"; then echo " Appending \"${GNOME_CFLAGS}\" to \$c_switch_gtk"; fi | 5432 c_switch_gtk="$c_switch_gtk ${GNOME_CFLAGS}" && if test "$extra_verbose" = "yes"; then echo " Appending \"${GNOME_CFLAGS}\" to \$c_switch_gtk"; fi |
5432 fi | 5433 fi |
5433 | 5434 |
5434 if test "$with_gtk" != "no";then | 5435 if test "$with_gtk" != "no";then |
5435 echo $ac_n "checking for GTK configuration script""... $ac_c" 1>&6 | 5436 echo $ac_n "checking for GTK configuration script""... $ac_c" 1>&6 |
5436 echo "configure:5437: checking for GTK configuration script" >&5 | 5437 echo "configure:5438: checking for GTK configuration script" >&5 |
5437 for possible in gtk12-config gtk14-config gtk-config | 5438 for possible in gtk12-config gtk14-config gtk-config |
5438 do | 5439 do |
5439 possible_version=`${possible} --version 2> /dev/null` | 5440 possible_version=`${possible} --version 2> /dev/null` |
5440 if test "x${possible_version}" != "x"; then | 5441 if test "x${possible_version}" != "x"; then |
5441 GTK_CONFIG="${possible}" | 5442 GTK_CONFIG="${possible}" |
5453 echo "$ac_t""${GTK_CONFIG}" 1>&6 | 5454 echo "$ac_t""${GTK_CONFIG}" 1>&6 |
5454 fi | 5455 fi |
5455 | 5456 |
5456 if test "${GTK_CONFIG}" != "no"; then | 5457 if test "${GTK_CONFIG}" != "no"; then |
5457 echo $ac_n "checking gtk version""... $ac_c" 1>&6 | 5458 echo $ac_n "checking gtk version""... $ac_c" 1>&6 |
5458 echo "configure:5459: checking gtk version" >&5 | 5459 echo "configure:5460: checking gtk version" >&5 |
5459 GTK_VERSION=`${GTK_CONFIG} --version` | 5460 GTK_VERSION=`${GTK_CONFIG} --version` |
5460 echo "$ac_t""${GTK_VERSION}" 1>&6 | 5461 echo "$ac_t""${GTK_VERSION}" 1>&6 |
5461 | 5462 |
5462 echo $ac_n "checking gtk libs""... $ac_c" 1>&6 | 5463 echo $ac_n "checking gtk libs""... $ac_c" 1>&6 |
5463 echo "configure:5464: checking gtk libs" >&5 | 5464 echo "configure:5465: checking gtk libs" >&5 |
5464 GTK_LIBS=`${GTK_CONFIG} --libs` | 5465 GTK_LIBS=`${GTK_CONFIG} --libs` |
5465 libs_gtk="$libs_gtk ${GTK_LIBS}" && if test "$extra_verbose" = "yes"; then echo " Appending \"${GTK_LIBS}\" to \$libs_gtk"; fi | 5466 libs_gtk="$libs_gtk ${GTK_LIBS}" && if test "$extra_verbose" = "yes"; then echo " Appending \"${GTK_LIBS}\" to \$libs_gtk"; fi |
5466 echo "$ac_t""${GTK_LIBS}" 1>&6 | 5467 echo "$ac_t""${GTK_LIBS}" 1>&6 |
5467 | 5468 |
5468 echo $ac_n "checking gtk cflags""... $ac_c" 1>&6 | 5469 echo $ac_n "checking gtk cflags""... $ac_c" 1>&6 |
5469 echo "configure:5470: checking gtk cflags" >&5 | 5470 echo "configure:5471: checking gtk cflags" >&5 |
5470 GTK_CFLAGS=`${GTK_CONFIG} --cflags` | 5471 GTK_CFLAGS=`${GTK_CONFIG} --cflags` |
5471 if test "$GCC" = "yes"; then | 5472 if test "$GCC" = "yes"; then |
5472 GTK_CFLAGS="${GTK_CFLAGS} -Wno-shadow" | 5473 GTK_CFLAGS="${GTK_CFLAGS} -Wno-shadow" |
5473 fi | 5474 fi |
5474 c_switch_gtk="$c_switch_gtk ${GTK_CFLAGS}" && if test "$extra_verbose" = "yes"; then echo " Appending \"${GTK_CFLAGS}\" to \$c_switch_gtk"; fi | 5475 c_switch_gtk="$c_switch_gtk ${GTK_CFLAGS}" && if test "$extra_verbose" = "yes"; then echo " Appending \"${GTK_CFLAGS}\" to \$c_switch_gtk"; fi |
5475 echo "$ac_t""${GTK_CFLAGS}" 1>&6 | 5476 echo "$ac_t""${GTK_CFLAGS}" 1>&6 |
5476 | 5477 |
5477 | 5478 |
5478 echo $ac_n "checking for main in -lgdk_imlib""... $ac_c" 1>&6 | 5479 echo $ac_n "checking for main in -lgdk_imlib""... $ac_c" 1>&6 |
5479 echo "configure:5480: checking for main in -lgdk_imlib" >&5 | 5480 echo "configure:5481: checking for main in -lgdk_imlib" >&5 |
5480 ac_lib_var=`echo gdk_imlib'_'main | sed 'y%./+-%__p_%'` | 5481 ac_lib_var=`echo gdk_imlib'_'main | sed 'y%./+-%__p_%'` |
5481 | 5482 |
5482 xe_check_libs=" -lgdk_imlib " | 5483 xe_check_libs=" -lgdk_imlib " |
5483 cat > conftest.$ac_ext <<EOF | 5484 cat > conftest.$ac_ext <<EOF |
5484 #line 5485 "configure" | 5485 #line 5486 "configure" |
5485 #include "confdefs.h" | 5486 #include "confdefs.h" |
5486 | 5487 |
5487 int main() { | 5488 int main() { |
5488 main() | 5489 main() |
5489 ; return 0; } | 5490 ; return 0; } |
5490 EOF | 5491 EOF |
5491 if { (eval echo configure:5492: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5492 if { (eval echo configure:5493: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5492 rm -rf conftest* | 5493 rm -rf conftest* |
5493 eval "ac_cv_lib_$ac_lib_var=yes" | 5494 eval "ac_cv_lib_$ac_lib_var=yes" |
5494 else | 5495 else |
5495 echo "configure: failed program was:" >&5 | 5496 echo "configure: failed program was:" >&5 |
5496 cat conftest.$ac_ext >&5 | 5497 cat conftest.$ac_ext >&5 |
5508 fi | 5509 fi |
5509 | 5510 |
5510 | 5511 |
5511 | 5512 |
5512 echo $ac_n "checking for Imlib_init in -lImlib""... $ac_c" 1>&6 | 5513 echo $ac_n "checking for Imlib_init in -lImlib""... $ac_c" 1>&6 |
5513 echo "configure:5514: checking for Imlib_init in -lImlib" >&5 | 5514 echo "configure:5515: checking for Imlib_init in -lImlib" >&5 |
5514 ac_lib_var=`echo Imlib'_'Imlib_init | sed 'y%./+-%__p_%'` | 5515 ac_lib_var=`echo Imlib'_'Imlib_init | sed 'y%./+-%__p_%'` |
5515 | 5516 |
5516 xe_check_libs=" -lImlib " | 5517 xe_check_libs=" -lImlib " |
5517 cat > conftest.$ac_ext <<EOF | 5518 cat > conftest.$ac_ext <<EOF |
5518 #line 5519 "configure" | 5519 #line 5520 "configure" |
5519 #include "confdefs.h" | 5520 #include "confdefs.h" |
5520 /* Override any gcc2 internal prototype to avoid an error. */ | 5521 /* Override any gcc2 internal prototype to avoid an error. */ |
5521 /* We use char because int might match the return type of a gcc2 | 5522 /* We use char because int might match the return type of a gcc2 |
5522 builtin and then its argument prototype would still apply. */ | 5523 builtin and then its argument prototype would still apply. */ |
5523 char Imlib_init(); | 5524 char Imlib_init(); |
5524 | 5525 |
5525 int main() { | 5526 int main() { |
5526 Imlib_init() | 5527 Imlib_init() |
5527 ; return 0; } | 5528 ; return 0; } |
5528 EOF | 5529 EOF |
5529 if { (eval echo configure:5530: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5530 if { (eval echo configure:5531: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5530 rm -rf conftest* | 5531 rm -rf conftest* |
5531 eval "ac_cv_lib_$ac_lib_var=yes" | 5532 eval "ac_cv_lib_$ac_lib_var=yes" |
5532 else | 5533 else |
5533 echo "configure: failed program was:" >&5 | 5534 echo "configure: failed program was:" >&5 |
5534 cat conftest.$ac_ext >&5 | 5535 cat conftest.$ac_ext >&5 |
5547 | 5548 |
5548 | 5549 |
5549 for ac_func in gdk_imlib_init | 5550 for ac_func in gdk_imlib_init |
5550 do | 5551 do |
5551 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 5552 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
5552 echo "configure:5553: checking for $ac_func" >&5 | 5553 echo "configure:5554: checking for $ac_func" >&5 |
5553 | 5554 |
5554 cat > conftest.$ac_ext <<EOF | 5555 cat > conftest.$ac_ext <<EOF |
5555 #line 5556 "configure" | 5556 #line 5557 "configure" |
5556 #include "confdefs.h" | 5557 #include "confdefs.h" |
5557 /* System header to define __stub macros and hopefully few prototypes, | 5558 /* System header to define __stub macros and hopefully few prototypes, |
5558 which can conflict with char $ac_func(); below. */ | 5559 which can conflict with char $ac_func(); below. */ |
5559 #include <assert.h> | 5560 #include <assert.h> |
5560 /* Override any gcc2 internal prototype to avoid an error. */ | 5561 /* Override any gcc2 internal prototype to avoid an error. */ |
5573 $ac_func(); | 5574 $ac_func(); |
5574 #endif | 5575 #endif |
5575 | 5576 |
5576 ; return 0; } | 5577 ; return 0; } |
5577 EOF | 5578 EOF |
5578 if { (eval echo configure:5579: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5579 if { (eval echo configure:5580: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5579 rm -rf conftest* | 5580 rm -rf conftest* |
5580 eval "ac_cv_func_$ac_func=yes" | 5581 eval "ac_cv_func_$ac_func=yes" |
5581 else | 5582 else |
5582 echo "configure: failed program was:" >&5 | 5583 echo "configure: failed program was:" >&5 |
5583 cat conftest.$ac_ext >&5 | 5584 cat conftest.$ac_ext >&5 |
5639 LDFLAGS="${LDFLAGS} ${GTK_LIBS}" | 5640 LDFLAGS="${LDFLAGS} ${GTK_LIBS}" |
5640 for ac_hdr in glade/glade.h glade.h | 5641 for ac_hdr in glade/glade.h glade.h |
5641 do | 5642 do |
5642 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 5643 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
5643 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 5644 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
5644 echo "configure:5645: checking for $ac_hdr" >&5 | 5645 echo "configure:5646: checking for $ac_hdr" >&5 |
5645 | 5646 |
5646 cat > conftest.$ac_ext <<EOF | 5647 cat > conftest.$ac_ext <<EOF |
5647 #line 5648 "configure" | 5648 #line 5649 "configure" |
5648 #include "confdefs.h" | 5649 #include "confdefs.h" |
5649 #include <$ac_hdr> | 5650 #include <$ac_hdr> |
5650 EOF | 5651 EOF |
5651 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 5652 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
5652 { (eval echo configure:5653: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 5653 { (eval echo configure:5654: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
5653 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 5654 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
5654 if test -z "$ac_err"; then | 5655 if test -z "$ac_err"; then |
5655 rm -rf conftest* | 5656 rm -rf conftest* |
5656 eval "ac_cv_header_$ac_safe=yes" | 5657 eval "ac_cv_header_$ac_safe=yes" |
5657 else | 5658 else |
5678 fi | 5679 fi |
5679 done | 5680 done |
5680 | 5681 |
5681 | 5682 |
5682 echo $ac_n "checking for main in -lxml""... $ac_c" 1>&6 | 5683 echo $ac_n "checking for main in -lxml""... $ac_c" 1>&6 |
5683 echo "configure:5684: checking for main in -lxml" >&5 | 5684 echo "configure:5685: checking for main in -lxml" >&5 |
5684 ac_lib_var=`echo xml'_'main | sed 'y%./+-%__p_%'` | 5685 ac_lib_var=`echo xml'_'main | sed 'y%./+-%__p_%'` |
5685 | 5686 |
5686 xe_check_libs=" -lxml " | 5687 xe_check_libs=" -lxml " |
5687 cat > conftest.$ac_ext <<EOF | 5688 cat > conftest.$ac_ext <<EOF |
5688 #line 5689 "configure" | 5689 #line 5690 "configure" |
5689 #include "confdefs.h" | 5690 #include "confdefs.h" |
5690 | 5691 |
5691 int main() { | 5692 int main() { |
5692 main() | 5693 main() |
5693 ; return 0; } | 5694 ; return 0; } |
5694 EOF | 5695 EOF |
5695 if { (eval echo configure:5696: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5696 if { (eval echo configure:5697: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5696 rm -rf conftest* | 5697 rm -rf conftest* |
5697 eval "ac_cv_lib_$ac_lib_var=yes" | 5698 eval "ac_cv_lib_$ac_lib_var=yes" |
5698 else | 5699 else |
5699 echo "configure: failed program was:" >&5 | 5700 echo "configure: failed program was:" >&5 |
5700 cat conftest.$ac_ext >&5 | 5701 cat conftest.$ac_ext >&5 |
5712 fi | 5713 fi |
5713 | 5714 |
5714 | 5715 |
5715 | 5716 |
5716 echo $ac_n "checking for main in -lglade""... $ac_c" 1>&6 | 5717 echo $ac_n "checking for main in -lglade""... $ac_c" 1>&6 |
5717 echo "configure:5718: checking for main in -lglade" >&5 | 5718 echo "configure:5719: checking for main in -lglade" >&5 |
5718 ac_lib_var=`echo glade'_'main | sed 'y%./+-%__p_%'` | 5719 ac_lib_var=`echo glade'_'main | sed 'y%./+-%__p_%'` |
5719 | 5720 |
5720 xe_check_libs=" -lglade " | 5721 xe_check_libs=" -lglade " |
5721 cat > conftest.$ac_ext <<EOF | 5722 cat > conftest.$ac_ext <<EOF |
5722 #line 5723 "configure" | 5723 #line 5724 "configure" |
5723 #include "confdefs.h" | 5724 #include "confdefs.h" |
5724 | 5725 |
5725 int main() { | 5726 int main() { |
5726 main() | 5727 main() |
5727 ; return 0; } | 5728 ; return 0; } |
5728 EOF | 5729 EOF |
5729 if { (eval echo configure:5730: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5730 if { (eval echo configure:5731: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5730 rm -rf conftest* | 5731 rm -rf conftest* |
5731 eval "ac_cv_lib_$ac_lib_var=yes" | 5732 eval "ac_cv_lib_$ac_lib_var=yes" |
5732 else | 5733 else |
5733 echo "configure: failed program was:" >&5 | 5734 echo "configure: failed program was:" >&5 |
5734 cat conftest.$ac_ext >&5 | 5735 cat conftest.$ac_ext >&5 |
5746 fi | 5747 fi |
5747 | 5748 |
5748 | 5749 |
5749 | 5750 |
5750 echo $ac_n "checking for main in -lglade-gnome""... $ac_c" 1>&6 | 5751 echo $ac_n "checking for main in -lglade-gnome""... $ac_c" 1>&6 |
5751 echo "configure:5752: checking for main in -lglade-gnome" >&5 | 5752 echo "configure:5753: checking for main in -lglade-gnome" >&5 |
5752 ac_lib_var=`echo glade-gnome'_'main | sed 'y%./+-%__p_%'` | 5753 ac_lib_var=`echo glade-gnome'_'main | sed 'y%./+-%__p_%'` |
5753 | 5754 |
5754 xe_check_libs=" -lglade-gnome " | 5755 xe_check_libs=" -lglade-gnome " |
5755 cat > conftest.$ac_ext <<EOF | 5756 cat > conftest.$ac_ext <<EOF |
5756 #line 5757 "configure" | 5757 #line 5758 "configure" |
5757 #include "confdefs.h" | 5758 #include "confdefs.h" |
5758 | 5759 |
5759 int main() { | 5760 int main() { |
5760 main() | 5761 main() |
5761 ; return 0; } | 5762 ; return 0; } |
5762 EOF | 5763 EOF |
5763 if { (eval echo configure:5764: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5764 if { (eval echo configure:5765: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5764 rm -rf conftest* | 5765 rm -rf conftest* |
5765 eval "ac_cv_lib_$ac_lib_var=yes" | 5766 eval "ac_cv_lib_$ac_lib_var=yes" |
5766 else | 5767 else |
5767 echo "configure: failed program was:" >&5 | 5768 echo "configure: failed program was:" >&5 |
5768 cat conftest.$ac_ext >&5 | 5769 cat conftest.$ac_ext >&5 |
5779 echo "$ac_t""no" 1>&6 | 5780 echo "$ac_t""no" 1>&6 |
5780 fi | 5781 fi |
5781 | 5782 |
5782 | 5783 |
5783 cat > conftest.$ac_ext <<EOF | 5784 cat > conftest.$ac_ext <<EOF |
5784 #line 5785 "configure" | 5785 #line 5786 "configure" |
5785 #include "confdefs.h" | 5786 #include "confdefs.h" |
5786 #include <glade/glade-xml.h> | 5787 #include <glade/glade-xml.h> |
5787 EOF | 5788 EOF |
5788 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 5789 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
5789 egrep "char \*txtdomain;" >/dev/null 2>&1; then | 5790 egrep "char \*txtdomain;" >/dev/null 2>&1; then |
5838 # If we find X, set shell vars x_includes and x_libraries to the | 5839 # If we find X, set shell vars x_includes and x_libraries to the |
5839 # paths, otherwise set no_x=yes. | 5840 # paths, otherwise set no_x=yes. |
5840 # Uses ac_ vars as temps to allow command line to override cache and checks. | 5841 # Uses ac_ vars as temps to allow command line to override cache and checks. |
5841 # --without-x overrides everything else, but does not touch the cache. | 5842 # --without-x overrides everything else, but does not touch the cache. |
5842 echo $ac_n "checking for X""... $ac_c" 1>&6 | 5843 echo $ac_n "checking for X""... $ac_c" 1>&6 |
5843 echo "configure:5844: checking for X" >&5 | 5844 echo "configure:5845: checking for X" >&5 |
5844 | 5845 |
5845 # Check whether --with-x or --without-x was given. | 5846 # Check whether --with-x or --without-x was given. |
5846 if test "${with_x+set}" = set; then | 5847 if test "${with_x+set}" = set; then |
5847 withval="$with_x" | 5848 withval="$with_x" |
5848 : | 5849 : |
5898 # Guess where to find include files, by looking for this one X11 .h file. | 5899 # Guess where to find include files, by looking for this one X11 .h file. |
5899 test -z "$x_direct_test_include" && x_direct_test_include=X11/Intrinsic.h | 5900 test -z "$x_direct_test_include" && x_direct_test_include=X11/Intrinsic.h |
5900 | 5901 |
5901 # First, try using that file with no special directory specified. | 5902 # First, try using that file with no special directory specified. |
5902 cat > conftest.$ac_ext <<EOF | 5903 cat > conftest.$ac_ext <<EOF |
5903 #line 5904 "configure" | 5904 #line 5905 "configure" |
5904 #include "confdefs.h" | 5905 #include "confdefs.h" |
5905 #include <$x_direct_test_include> | 5906 #include <$x_direct_test_include> |
5906 EOF | 5907 EOF |
5907 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 5908 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
5908 { (eval echo configure:5909: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 5909 { (eval echo configure:5910: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
5909 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 5910 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
5910 if test -z "$ac_err"; then | 5911 if test -z "$ac_err"; then |
5911 rm -rf conftest* | 5912 rm -rf conftest* |
5912 # We can compile using X headers with no special include directory. | 5913 # We can compile using X headers with no special include directory. |
5913 ac_x_includes= | 5914 ac_x_includes= |
5972 # See if we find them without any special options. | 5973 # See if we find them without any special options. |
5973 # Don't add to $LIBS permanently. | 5974 # Don't add to $LIBS permanently. |
5974 ac_save_LIBS="$LIBS" | 5975 ac_save_LIBS="$LIBS" |
5975 LIBS="-l$x_direct_test_library $LIBS" | 5976 LIBS="-l$x_direct_test_library $LIBS" |
5976 cat > conftest.$ac_ext <<EOF | 5977 cat > conftest.$ac_ext <<EOF |
5977 #line 5978 "configure" | 5978 #line 5979 "configure" |
5978 #include "confdefs.h" | 5979 #include "confdefs.h" |
5979 | 5980 |
5980 int main() { | 5981 int main() { |
5981 ${x_direct_test_function}() | 5982 ${x_direct_test_function}() |
5982 ; return 0; } | 5983 ; return 0; } |
5983 EOF | 5984 EOF |
5984 if { (eval echo configure:5985: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5985 if { (eval echo configure:5986: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5985 rm -rf conftest* | 5986 rm -rf conftest* |
5986 LIBS="$ac_save_LIBS" | 5987 LIBS="$ac_save_LIBS" |
5987 # We can link X programs with no special library path. | 5988 # We can link X programs with no special library path. |
5988 ac_x_libraries= | 5989 ac_x_libraries= |
5989 else | 5990 else |
6088 # For Solaris; some versions of Sun CC require a space after -R and | 6089 # For Solaris; some versions of Sun CC require a space after -R and |
6089 # others require no space. Words are not sufficient . . . . | 6090 # others require no space. Words are not sufficient . . . . |
6090 case "`(uname -sr) 2>/dev/null`" in | 6091 case "`(uname -sr) 2>/dev/null`" in |
6091 "SunOS 5"*) | 6092 "SunOS 5"*) |
6092 echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6 | 6093 echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6 |
6093 echo "configure:6094: checking whether -R must be followed by a space" >&5 | 6094 echo "configure:6095: checking whether -R must be followed by a space" >&5 |
6094 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS -R$x_libraries" | 6095 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS -R$x_libraries" |
6095 cat > conftest.$ac_ext <<EOF | 6096 cat > conftest.$ac_ext <<EOF |
6096 #line 6097 "configure" | 6097 #line 6098 "configure" |
6097 #include "confdefs.h" | 6098 #include "confdefs.h" |
6098 | 6099 |
6099 int main() { | 6100 int main() { |
6100 | 6101 |
6101 ; return 0; } | 6102 ; return 0; } |
6102 EOF | 6103 EOF |
6103 if { (eval echo configure:6104: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6104 if { (eval echo configure:6105: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6104 rm -rf conftest* | 6105 rm -rf conftest* |
6105 ac_R_nospace=yes | 6106 ac_R_nospace=yes |
6106 else | 6107 else |
6107 echo "configure: failed program was:" >&5 | 6108 echo "configure: failed program was:" >&5 |
6108 cat conftest.$ac_ext >&5 | 6109 cat conftest.$ac_ext >&5 |
6114 echo "$ac_t""no" 1>&6 | 6115 echo "$ac_t""no" 1>&6 |
6115 X_LIBS="$X_LIBS -R$x_libraries" | 6116 X_LIBS="$X_LIBS -R$x_libraries" |
6116 else | 6117 else |
6117 LIBS="$ac_xsave_LIBS -R $x_libraries" | 6118 LIBS="$ac_xsave_LIBS -R $x_libraries" |
6118 cat > conftest.$ac_ext <<EOF | 6119 cat > conftest.$ac_ext <<EOF |
6119 #line 6120 "configure" | 6120 #line 6121 "configure" |
6120 #include "confdefs.h" | 6121 #include "confdefs.h" |
6121 | 6122 |
6122 int main() { | 6123 int main() { |
6123 | 6124 |
6124 ; return 0; } | 6125 ; return 0; } |
6125 EOF | 6126 EOF |
6126 if { (eval echo configure:6127: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6127 if { (eval echo configure:6128: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6127 rm -rf conftest* | 6128 rm -rf conftest* |
6128 ac_R_space=yes | 6129 ac_R_space=yes |
6129 else | 6130 else |
6130 echo "configure: failed program was:" >&5 | 6131 echo "configure: failed program was:" >&5 |
6131 cat conftest.$ac_ext >&5 | 6132 cat conftest.$ac_ext >&5 |
6157 if test "$with_dnet" = "no" ; then | 6158 if test "$with_dnet" = "no" ; then |
6158 ac_cv_lib_dnet_dnet_ntoa=no | 6159 ac_cv_lib_dnet_dnet_ntoa=no |
6159 else | 6160 else |
6160 | 6161 |
6161 echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6 | 6162 echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6 |
6162 echo "configure:6163: checking for dnet_ntoa in -ldnet" >&5 | 6163 echo "configure:6164: checking for dnet_ntoa in -ldnet" >&5 |
6163 ac_lib_var=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'` | 6164 ac_lib_var=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'` |
6164 | 6165 |
6165 xe_check_libs=" -ldnet " | 6166 xe_check_libs=" -ldnet " |
6166 cat > conftest.$ac_ext <<EOF | 6167 cat > conftest.$ac_ext <<EOF |
6167 #line 6168 "configure" | 6168 #line 6169 "configure" |
6168 #include "confdefs.h" | 6169 #include "confdefs.h" |
6169 /* Override any gcc2 internal prototype to avoid an error. */ | 6170 /* Override any gcc2 internal prototype to avoid an error. */ |
6170 /* We use char because int might match the return type of a gcc2 | 6171 /* We use char because int might match the return type of a gcc2 |
6171 builtin and then its argument prototype would still apply. */ | 6172 builtin and then its argument prototype would still apply. */ |
6172 char dnet_ntoa(); | 6173 char dnet_ntoa(); |
6173 | 6174 |
6174 int main() { | 6175 int main() { |
6175 dnet_ntoa() | 6176 dnet_ntoa() |
6176 ; return 0; } | 6177 ; return 0; } |
6177 EOF | 6178 EOF |
6178 if { (eval echo configure:6179: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6179 if { (eval echo configure:6180: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6179 rm -rf conftest* | 6180 rm -rf conftest* |
6180 eval "ac_cv_lib_$ac_lib_var=yes" | 6181 eval "ac_cv_lib_$ac_lib_var=yes" |
6181 else | 6182 else |
6182 echo "configure: failed program was:" >&5 | 6183 echo "configure: failed program was:" >&5 |
6183 cat conftest.$ac_ext >&5 | 6184 cat conftest.$ac_ext >&5 |
6197 fi | 6198 fi |
6198 | 6199 |
6199 if test $ac_cv_lib_dnet_dnet_ntoa = no; then | 6200 if test $ac_cv_lib_dnet_dnet_ntoa = no; then |
6200 | 6201 |
6201 echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6 | 6202 echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6 |
6202 echo "configure:6203: checking for dnet_ntoa in -ldnet_stub" >&5 | 6203 echo "configure:6204: checking for dnet_ntoa in -ldnet_stub" >&5 |
6203 ac_lib_var=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'` | 6204 ac_lib_var=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'` |
6204 | 6205 |
6205 xe_check_libs=" -ldnet_stub " | 6206 xe_check_libs=" -ldnet_stub " |
6206 cat > conftest.$ac_ext <<EOF | 6207 cat > conftest.$ac_ext <<EOF |
6207 #line 6208 "configure" | 6208 #line 6209 "configure" |
6208 #include "confdefs.h" | 6209 #include "confdefs.h" |
6209 /* Override any gcc2 internal prototype to avoid an error. */ | 6210 /* Override any gcc2 internal prototype to avoid an error. */ |
6210 /* We use char because int might match the return type of a gcc2 | 6211 /* We use char because int might match the return type of a gcc2 |
6211 builtin and then its argument prototype would still apply. */ | 6212 builtin and then its argument prototype would still apply. */ |
6212 char dnet_ntoa(); | 6213 char dnet_ntoa(); |
6213 | 6214 |
6214 int main() { | 6215 int main() { |
6215 dnet_ntoa() | 6216 dnet_ntoa() |
6216 ; return 0; } | 6217 ; return 0; } |
6217 EOF | 6218 EOF |
6218 if { (eval echo configure:6219: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6219 if { (eval echo configure:6220: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6219 rm -rf conftest* | 6220 rm -rf conftest* |
6220 eval "ac_cv_lib_$ac_lib_var=yes" | 6221 eval "ac_cv_lib_$ac_lib_var=yes" |
6221 else | 6222 else |
6222 echo "configure: failed program was:" >&5 | 6223 echo "configure: failed program was:" >&5 |
6223 cat conftest.$ac_ext >&5 | 6224 cat conftest.$ac_ext >&5 |
6242 # chad@anasazi.com says the Pyramis MIS-ES running DC/OSx (SVR4) | 6243 # chad@anasazi.com says the Pyramis MIS-ES running DC/OSx (SVR4) |
6243 # needs -lnsl. | 6244 # needs -lnsl. |
6244 # The nsl library prevents programs from opening the X display | 6245 # The nsl library prevents programs from opening the X display |
6245 # on Irix 5.2, according to dickey@clark.net. | 6246 # on Irix 5.2, according to dickey@clark.net. |
6246 echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6 | 6247 echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6 |
6247 echo "configure:6248: checking for gethostbyname" >&5 | 6248 echo "configure:6249: checking for gethostbyname" >&5 |
6248 | 6249 |
6249 cat > conftest.$ac_ext <<EOF | 6250 cat > conftest.$ac_ext <<EOF |
6250 #line 6251 "configure" | 6251 #line 6252 "configure" |
6251 #include "confdefs.h" | 6252 #include "confdefs.h" |
6252 /* System header to define __stub macros and hopefully few prototypes, | 6253 /* System header to define __stub macros and hopefully few prototypes, |
6253 which can conflict with char gethostbyname(); below. */ | 6254 which can conflict with char gethostbyname(); below. */ |
6254 #include <assert.h> | 6255 #include <assert.h> |
6255 /* Override any gcc2 internal prototype to avoid an error. */ | 6256 /* Override any gcc2 internal prototype to avoid an error. */ |
6268 gethostbyname(); | 6269 gethostbyname(); |
6269 #endif | 6270 #endif |
6270 | 6271 |
6271 ; return 0; } | 6272 ; return 0; } |
6272 EOF | 6273 EOF |
6273 if { (eval echo configure:6274: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6274 if { (eval echo configure:6275: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6274 rm -rf conftest* | 6275 rm -rf conftest* |
6275 eval "ac_cv_func_gethostbyname=yes" | 6276 eval "ac_cv_func_gethostbyname=yes" |
6276 else | 6277 else |
6277 echo "configure: failed program was:" >&5 | 6278 echo "configure: failed program was:" >&5 |
6278 cat conftest.$ac_ext >&5 | 6279 cat conftest.$ac_ext >&5 |
6289 fi | 6290 fi |
6290 | 6291 |
6291 if test $ac_cv_func_gethostbyname = no; then | 6292 if test $ac_cv_func_gethostbyname = no; then |
6292 | 6293 |
6293 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6 | 6294 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6 |
6294 echo "configure:6295: checking for gethostbyname in -lnsl" >&5 | 6295 echo "configure:6296: checking for gethostbyname in -lnsl" >&5 |
6295 ac_lib_var=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'` | 6296 ac_lib_var=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'` |
6296 | 6297 |
6297 xe_check_libs=" -lnsl " | 6298 xe_check_libs=" -lnsl " |
6298 cat > conftest.$ac_ext <<EOF | 6299 cat > conftest.$ac_ext <<EOF |
6299 #line 6300 "configure" | 6300 #line 6301 "configure" |
6300 #include "confdefs.h" | 6301 #include "confdefs.h" |
6301 /* Override any gcc2 internal prototype to avoid an error. */ | 6302 /* Override any gcc2 internal prototype to avoid an error. */ |
6302 /* We use char because int might match the return type of a gcc2 | 6303 /* We use char because int might match the return type of a gcc2 |
6303 builtin and then its argument prototype would still apply. */ | 6304 builtin and then its argument prototype would still apply. */ |
6304 char gethostbyname(); | 6305 char gethostbyname(); |
6305 | 6306 |
6306 int main() { | 6307 int main() { |
6307 gethostbyname() | 6308 gethostbyname() |
6308 ; return 0; } | 6309 ; return 0; } |
6309 EOF | 6310 EOF |
6310 if { (eval echo configure:6311: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6311 if { (eval echo configure:6312: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6311 rm -rf conftest* | 6312 rm -rf conftest* |
6312 eval "ac_cv_lib_$ac_lib_var=yes" | 6313 eval "ac_cv_lib_$ac_lib_var=yes" |
6313 else | 6314 else |
6314 echo "configure: failed program was:" >&5 | 6315 echo "configure: failed program was:" >&5 |
6315 cat conftest.$ac_ext >&5 | 6316 cat conftest.$ac_ext >&5 |
6335 # on later versions), says simon@lia.di.epfl.ch: it contains | 6336 # on later versions), says simon@lia.di.epfl.ch: it contains |
6336 # gethostby* variants that don't use the nameserver (or something). | 6337 # gethostby* variants that don't use the nameserver (or something). |
6337 # -lsocket must be given before -lnsl if both are needed. | 6338 # -lsocket must be given before -lnsl if both are needed. |
6338 # We assume that if connect needs -lnsl, so does gethostbyname. | 6339 # We assume that if connect needs -lnsl, so does gethostbyname. |
6339 echo $ac_n "checking for connect""... $ac_c" 1>&6 | 6340 echo $ac_n "checking for connect""... $ac_c" 1>&6 |
6340 echo "configure:6341: checking for connect" >&5 | 6341 echo "configure:6342: checking for connect" >&5 |
6341 | 6342 |
6342 cat > conftest.$ac_ext <<EOF | 6343 cat > conftest.$ac_ext <<EOF |
6343 #line 6344 "configure" | 6344 #line 6345 "configure" |
6344 #include "confdefs.h" | 6345 #include "confdefs.h" |
6345 /* System header to define __stub macros and hopefully few prototypes, | 6346 /* System header to define __stub macros and hopefully few prototypes, |
6346 which can conflict with char connect(); below. */ | 6347 which can conflict with char connect(); below. */ |
6347 #include <assert.h> | 6348 #include <assert.h> |
6348 /* Override any gcc2 internal prototype to avoid an error. */ | 6349 /* Override any gcc2 internal prototype to avoid an error. */ |
6361 connect(); | 6362 connect(); |
6362 #endif | 6363 #endif |
6363 | 6364 |
6364 ; return 0; } | 6365 ; return 0; } |
6365 EOF | 6366 EOF |
6366 if { (eval echo configure:6367: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6367 if { (eval echo configure:6368: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6367 rm -rf conftest* | 6368 rm -rf conftest* |
6368 eval "ac_cv_func_connect=yes" | 6369 eval "ac_cv_func_connect=yes" |
6369 else | 6370 else |
6370 echo "configure: failed program was:" >&5 | 6371 echo "configure: failed program was:" >&5 |
6371 cat conftest.$ac_ext >&5 | 6372 cat conftest.$ac_ext >&5 |
6384 if test $ac_cv_func_connect = no; then | 6385 if test $ac_cv_func_connect = no; then |
6385 | 6386 |
6386 xe_msg_checking="for connect in -lsocket" | 6387 xe_msg_checking="for connect in -lsocket" |
6387 test -n "$X_EXTRA_LIBS" && xe_msg_checking="$xe_msg_checking using extra libs $X_EXTRA_LIBS" | 6388 test -n "$X_EXTRA_LIBS" && xe_msg_checking="$xe_msg_checking using extra libs $X_EXTRA_LIBS" |
6388 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 6389 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
6389 echo "configure:6390: checking "$xe_msg_checking"" >&5 | 6390 echo "configure:6391: checking "$xe_msg_checking"" >&5 |
6390 ac_lib_var=`echo socket'_'connect | sed 'y%./+-%__p_%'` | 6391 ac_lib_var=`echo socket'_'connect | sed 'y%./+-%__p_%'` |
6391 | 6392 |
6392 xe_check_libs=" -lsocket $X_EXTRA_LIBS" | 6393 xe_check_libs=" -lsocket $X_EXTRA_LIBS" |
6393 cat > conftest.$ac_ext <<EOF | 6394 cat > conftest.$ac_ext <<EOF |
6394 #line 6395 "configure" | 6395 #line 6396 "configure" |
6395 #include "confdefs.h" | 6396 #include "confdefs.h" |
6396 /* Override any gcc2 internal prototype to avoid an error. */ | 6397 /* Override any gcc2 internal prototype to avoid an error. */ |
6397 /* We use char because int might match the return type of a gcc2 | 6398 /* We use char because int might match the return type of a gcc2 |
6398 builtin and then its argument prototype would still apply. */ | 6399 builtin and then its argument prototype would still apply. */ |
6399 char connect(); | 6400 char connect(); |
6400 | 6401 |
6401 int main() { | 6402 int main() { |
6402 connect() | 6403 connect() |
6403 ; return 0; } | 6404 ; return 0; } |
6404 EOF | 6405 EOF |
6405 if { (eval echo configure:6406: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6406 if { (eval echo configure:6407: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6406 rm -rf conftest* | 6407 rm -rf conftest* |
6407 eval "ac_cv_lib_$ac_lib_var=yes" | 6408 eval "ac_cv_lib_$ac_lib_var=yes" |
6408 else | 6409 else |
6409 echo "configure: failed program was:" >&5 | 6410 echo "configure: failed program was:" >&5 |
6410 cat conftest.$ac_ext >&5 | 6411 cat conftest.$ac_ext >&5 |
6424 | 6425 |
6425 fi | 6426 fi |
6426 | 6427 |
6427 # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX. | 6428 # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX. |
6428 echo $ac_n "checking for remove""... $ac_c" 1>&6 | 6429 echo $ac_n "checking for remove""... $ac_c" 1>&6 |
6429 echo "configure:6430: checking for remove" >&5 | 6430 echo "configure:6431: checking for remove" >&5 |
6430 | 6431 |
6431 cat > conftest.$ac_ext <<EOF | 6432 cat > conftest.$ac_ext <<EOF |
6432 #line 6433 "configure" | 6433 #line 6434 "configure" |
6433 #include "confdefs.h" | 6434 #include "confdefs.h" |
6434 /* System header to define __stub macros and hopefully few prototypes, | 6435 /* System header to define __stub macros and hopefully few prototypes, |
6435 which can conflict with char remove(); below. */ | 6436 which can conflict with char remove(); below. */ |
6436 #include <assert.h> | 6437 #include <assert.h> |
6437 /* Override any gcc2 internal prototype to avoid an error. */ | 6438 /* Override any gcc2 internal prototype to avoid an error. */ |
6450 remove(); | 6451 remove(); |
6451 #endif | 6452 #endif |
6452 | 6453 |
6453 ; return 0; } | 6454 ; return 0; } |
6454 EOF | 6455 EOF |
6455 if { (eval echo configure:6456: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6456 if { (eval echo configure:6457: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6456 rm -rf conftest* | 6457 rm -rf conftest* |
6457 eval "ac_cv_func_remove=yes" | 6458 eval "ac_cv_func_remove=yes" |
6458 else | 6459 else |
6459 echo "configure: failed program was:" >&5 | 6460 echo "configure: failed program was:" >&5 |
6460 cat conftest.$ac_ext >&5 | 6461 cat conftest.$ac_ext >&5 |
6471 fi | 6472 fi |
6472 | 6473 |
6473 if test $ac_cv_func_remove = no; then | 6474 if test $ac_cv_func_remove = no; then |
6474 | 6475 |
6475 echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6 | 6476 echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6 |
6476 echo "configure:6477: checking for remove in -lposix" >&5 | 6477 echo "configure:6478: checking for remove in -lposix" >&5 |
6477 ac_lib_var=`echo posix'_'remove | sed 'y%./+-%__p_%'` | 6478 ac_lib_var=`echo posix'_'remove | sed 'y%./+-%__p_%'` |
6478 | 6479 |
6479 xe_check_libs=" -lposix " | 6480 xe_check_libs=" -lposix " |
6480 cat > conftest.$ac_ext <<EOF | 6481 cat > conftest.$ac_ext <<EOF |
6481 #line 6482 "configure" | 6482 #line 6483 "configure" |
6482 #include "confdefs.h" | 6483 #include "confdefs.h" |
6483 /* Override any gcc2 internal prototype to avoid an error. */ | 6484 /* Override any gcc2 internal prototype to avoid an error. */ |
6484 /* We use char because int might match the return type of a gcc2 | 6485 /* We use char because int might match the return type of a gcc2 |
6485 builtin and then its argument prototype would still apply. */ | 6486 builtin and then its argument prototype would still apply. */ |
6486 char remove(); | 6487 char remove(); |
6487 | 6488 |
6488 int main() { | 6489 int main() { |
6489 remove() | 6490 remove() |
6490 ; return 0; } | 6491 ; return 0; } |
6491 EOF | 6492 EOF |
6492 if { (eval echo configure:6493: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6493 if { (eval echo configure:6494: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6493 rm -rf conftest* | 6494 rm -rf conftest* |
6494 eval "ac_cv_lib_$ac_lib_var=yes" | 6495 eval "ac_cv_lib_$ac_lib_var=yes" |
6495 else | 6496 else |
6496 echo "configure: failed program was:" >&5 | 6497 echo "configure: failed program was:" >&5 |
6497 cat conftest.$ac_ext >&5 | 6498 cat conftest.$ac_ext >&5 |
6511 | 6512 |
6512 fi | 6513 fi |
6513 | 6514 |
6514 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay. | 6515 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay. |
6515 echo $ac_n "checking for shmat""... $ac_c" 1>&6 | 6516 echo $ac_n "checking for shmat""... $ac_c" 1>&6 |
6516 echo "configure:6517: checking for shmat" >&5 | 6517 echo "configure:6518: checking for shmat" >&5 |
6517 | 6518 |
6518 cat > conftest.$ac_ext <<EOF | 6519 cat > conftest.$ac_ext <<EOF |
6519 #line 6520 "configure" | 6520 #line 6521 "configure" |
6520 #include "confdefs.h" | 6521 #include "confdefs.h" |
6521 /* System header to define __stub macros and hopefully few prototypes, | 6522 /* System header to define __stub macros and hopefully few prototypes, |
6522 which can conflict with char shmat(); below. */ | 6523 which can conflict with char shmat(); below. */ |
6523 #include <assert.h> | 6524 #include <assert.h> |
6524 /* Override any gcc2 internal prototype to avoid an error. */ | 6525 /* Override any gcc2 internal prototype to avoid an error. */ |
6537 shmat(); | 6538 shmat(); |
6538 #endif | 6539 #endif |
6539 | 6540 |
6540 ; return 0; } | 6541 ; return 0; } |
6541 EOF | 6542 EOF |
6542 if { (eval echo configure:6543: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6543 if { (eval echo configure:6544: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6543 rm -rf conftest* | 6544 rm -rf conftest* |
6544 eval "ac_cv_func_shmat=yes" | 6545 eval "ac_cv_func_shmat=yes" |
6545 else | 6546 else |
6546 echo "configure: failed program was:" >&5 | 6547 echo "configure: failed program was:" >&5 |
6547 cat conftest.$ac_ext >&5 | 6548 cat conftest.$ac_ext >&5 |
6558 fi | 6559 fi |
6559 | 6560 |
6560 if test $ac_cv_func_shmat = no; then | 6561 if test $ac_cv_func_shmat = no; then |
6561 | 6562 |
6562 echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6 | 6563 echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6 |
6563 echo "configure:6564: checking for shmat in -lipc" >&5 | 6564 echo "configure:6565: checking for shmat in -lipc" >&5 |
6564 ac_lib_var=`echo ipc'_'shmat | sed 'y%./+-%__p_%'` | 6565 ac_lib_var=`echo ipc'_'shmat | sed 'y%./+-%__p_%'` |
6565 | 6566 |
6566 xe_check_libs=" -lipc " | 6567 xe_check_libs=" -lipc " |
6567 cat > conftest.$ac_ext <<EOF | 6568 cat > conftest.$ac_ext <<EOF |
6568 #line 6569 "configure" | 6569 #line 6570 "configure" |
6569 #include "confdefs.h" | 6570 #include "confdefs.h" |
6570 /* Override any gcc2 internal prototype to avoid an error. */ | 6571 /* Override any gcc2 internal prototype to avoid an error. */ |
6571 /* We use char because int might match the return type of a gcc2 | 6572 /* We use char because int might match the return type of a gcc2 |
6572 builtin and then its argument prototype would still apply. */ | 6573 builtin and then its argument prototype would still apply. */ |
6573 char shmat(); | 6574 char shmat(); |
6574 | 6575 |
6575 int main() { | 6576 int main() { |
6576 shmat() | 6577 shmat() |
6577 ; return 0; } | 6578 ; return 0; } |
6578 EOF | 6579 EOF |
6579 if { (eval echo configure:6580: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6580 if { (eval echo configure:6581: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6580 rm -rf conftest* | 6581 rm -rf conftest* |
6581 eval "ac_cv_lib_$ac_lib_var=yes" | 6582 eval "ac_cv_lib_$ac_lib_var=yes" |
6582 else | 6583 else |
6583 echo "configure: failed program was:" >&5 | 6584 echo "configure: failed program was:" >&5 |
6584 cat conftest.$ac_ext >&5 | 6585 cat conftest.$ac_ext >&5 |
6610 # --interran@uluru.Stanford.EDU, kb@cs.umb.edu. | 6611 # --interran@uluru.Stanford.EDU, kb@cs.umb.edu. |
6611 | 6612 |
6612 xe_msg_checking="for IceConnectionNumber in -lICE" | 6613 xe_msg_checking="for IceConnectionNumber in -lICE" |
6613 test -n "$X_EXTRA_LIBS" && xe_msg_checking="$xe_msg_checking using extra libs $X_EXTRA_LIBS" | 6614 test -n "$X_EXTRA_LIBS" && xe_msg_checking="$xe_msg_checking using extra libs $X_EXTRA_LIBS" |
6614 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 6615 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
6615 echo "configure:6616: checking "$xe_msg_checking"" >&5 | 6616 echo "configure:6617: checking "$xe_msg_checking"" >&5 |
6616 ac_lib_var=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'` | 6617 ac_lib_var=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'` |
6617 | 6618 |
6618 xe_check_libs=" -lICE $X_EXTRA_LIBS" | 6619 xe_check_libs=" -lICE $X_EXTRA_LIBS" |
6619 cat > conftest.$ac_ext <<EOF | 6620 cat > conftest.$ac_ext <<EOF |
6620 #line 6621 "configure" | 6621 #line 6622 "configure" |
6621 #include "confdefs.h" | 6622 #include "confdefs.h" |
6622 /* Override any gcc2 internal prototype to avoid an error. */ | 6623 /* Override any gcc2 internal prototype to avoid an error. */ |
6623 /* We use char because int might match the return type of a gcc2 | 6624 /* We use char because int might match the return type of a gcc2 |
6624 builtin and then its argument prototype would still apply. */ | 6625 builtin and then its argument prototype would still apply. */ |
6625 char IceConnectionNumber(); | 6626 char IceConnectionNumber(); |
6626 | 6627 |
6627 int main() { | 6628 int main() { |
6628 IceConnectionNumber() | 6629 IceConnectionNumber() |
6629 ; return 0; } | 6630 ; return 0; } |
6630 EOF | 6631 EOF |
6631 if { (eval echo configure:6632: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6632 if { (eval echo configure:6633: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6632 rm -rf conftest* | 6633 rm -rf conftest* |
6633 eval "ac_cv_lib_$ac_lib_var=yes" | 6634 eval "ac_cv_lib_$ac_lib_var=yes" |
6634 else | 6635 else |
6635 echo "configure: failed program was:" >&5 | 6636 echo "configure: failed program was:" >&5 |
6636 cat conftest.$ac_ext >&5 | 6637 cat conftest.$ac_ext >&5 |
6672 SRC_SUBDIR_DEPS="$SRC_SUBDIR_DEPS lwlib" && if test "$extra_verbose" = "yes"; then echo " Appending \"lwlib\" to \$SRC_SUBDIR_DEPS"; fi | 6673 SRC_SUBDIR_DEPS="$SRC_SUBDIR_DEPS lwlib" && if test "$extra_verbose" = "yes"; then echo " Appending \"lwlib\" to \$SRC_SUBDIR_DEPS"; fi |
6673 | 6674 |
6674 | 6675 |
6675 ac_safe=`echo "Xm/Xm.h" | sed 'y%./+-%__p_%'` | 6676 ac_safe=`echo "Xm/Xm.h" | sed 'y%./+-%__p_%'` |
6676 echo $ac_n "checking for Xm/Xm.h""... $ac_c" 1>&6 | 6677 echo $ac_n "checking for Xm/Xm.h""... $ac_c" 1>&6 |
6677 echo "configure:6678: checking for Xm/Xm.h" >&5 | 6678 echo "configure:6679: checking for Xm/Xm.h" >&5 |
6678 | 6679 |
6679 cat > conftest.$ac_ext <<EOF | 6680 cat > conftest.$ac_ext <<EOF |
6680 #line 6681 "configure" | 6681 #line 6682 "configure" |
6681 #include "confdefs.h" | 6682 #include "confdefs.h" |
6682 #include <Xm/Xm.h> | 6683 #include <Xm/Xm.h> |
6683 EOF | 6684 EOF |
6684 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6685 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
6685 { (eval echo configure:6686: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6686 { (eval echo configure:6687: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
6686 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 6687 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
6687 if test -z "$ac_err"; then | 6688 if test -z "$ac_err"; then |
6688 rm -rf conftest* | 6689 rm -rf conftest* |
6689 eval "ac_cv_header_$ac_safe=yes" | 6690 eval "ac_cv_header_$ac_safe=yes" |
6690 else | 6691 else |
6697 rm -f conftest* | 6698 rm -f conftest* |
6698 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 6699 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
6699 echo "$ac_t""yes" 1>&6 | 6700 echo "$ac_t""yes" 1>&6 |
6700 | 6701 |
6701 echo $ac_n "checking for XmStringFree in -lXm""... $ac_c" 1>&6 | 6702 echo $ac_n "checking for XmStringFree in -lXm""... $ac_c" 1>&6 |
6702 echo "configure:6703: checking for XmStringFree in -lXm" >&5 | 6703 echo "configure:6704: checking for XmStringFree in -lXm" >&5 |
6703 ac_lib_var=`echo Xm'_'XmStringFree | sed 'y%./+-%__p_%'` | 6704 ac_lib_var=`echo Xm'_'XmStringFree | sed 'y%./+-%__p_%'` |
6704 | 6705 |
6705 xe_check_libs=" -lXm " | 6706 xe_check_libs=" -lXm " |
6706 cat > conftest.$ac_ext <<EOF | 6707 cat > conftest.$ac_ext <<EOF |
6707 #line 6708 "configure" | 6708 #line 6709 "configure" |
6708 #include "confdefs.h" | 6709 #include "confdefs.h" |
6709 /* Override any gcc2 internal prototype to avoid an error. */ | 6710 /* Override any gcc2 internal prototype to avoid an error. */ |
6710 /* We use char because int might match the return type of a gcc2 | 6711 /* We use char because int might match the return type of a gcc2 |
6711 builtin and then its argument prototype would still apply. */ | 6712 builtin and then its argument prototype would still apply. */ |
6712 char XmStringFree(); | 6713 char XmStringFree(); |
6713 | 6714 |
6714 int main() { | 6715 int main() { |
6715 XmStringFree() | 6716 XmStringFree() |
6716 ; return 0; } | 6717 ; return 0; } |
6717 EOF | 6718 EOF |
6718 if { (eval echo configure:6719: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6719 if { (eval echo configure:6720: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6719 rm -rf conftest* | 6720 rm -rf conftest* |
6720 eval "ac_cv_lib_$ac_lib_var=yes" | 6721 eval "ac_cv_lib_$ac_lib_var=yes" |
6721 else | 6722 else |
6722 echo "configure: failed program was:" >&5 | 6723 echo "configure: failed program was:" >&5 |
6723 cat conftest.$ac_ext >&5 | 6724 cat conftest.$ac_ext >&5 |
6865 EOF | 6866 EOF |
6866 } | 6867 } |
6867 | 6868 |
6868 | 6869 |
6869 echo "checking for X defines extracted by xmkmf" 1>&6 | 6870 echo "checking for X defines extracted by xmkmf" 1>&6 |
6870 echo "configure:6871: checking for X defines extracted by xmkmf" >&5 | 6871 echo "configure:6872: checking for X defines extracted by xmkmf" >&5 |
6871 rm -fr conftestdir | 6872 rm -fr conftestdir |
6872 if mkdir conftestdir; then | 6873 if mkdir conftestdir; then |
6873 cd conftestdir | 6874 cd conftestdir |
6874 cat > Imakefile <<'EOF' | 6875 cat > Imakefile <<'EOF' |
6875 xetest: | 6876 xetest: |
6914 done | 6915 done |
6915 fi | 6916 fi |
6916 | 6917 |
6917 ac_safe=`echo "X11/Intrinsic.h" | sed 'y%./+-%__p_%'` | 6918 ac_safe=`echo "X11/Intrinsic.h" | sed 'y%./+-%__p_%'` |
6918 echo $ac_n "checking for X11/Intrinsic.h""... $ac_c" 1>&6 | 6919 echo $ac_n "checking for X11/Intrinsic.h""... $ac_c" 1>&6 |
6919 echo "configure:6920: checking for X11/Intrinsic.h" >&5 | 6920 echo "configure:6921: checking for X11/Intrinsic.h" >&5 |
6920 | 6921 |
6921 cat > conftest.$ac_ext <<EOF | 6922 cat > conftest.$ac_ext <<EOF |
6922 #line 6923 "configure" | 6923 #line 6924 "configure" |
6923 #include "confdefs.h" | 6924 #include "confdefs.h" |
6924 #include <X11/Intrinsic.h> | 6925 #include <X11/Intrinsic.h> |
6925 EOF | 6926 EOF |
6926 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6927 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
6927 { (eval echo configure:6928: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6928 { (eval echo configure:6929: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
6928 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 6929 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
6929 if test -z "$ac_err"; then | 6930 if test -z "$ac_err"; then |
6930 rm -rf conftest* | 6931 rm -rf conftest* |
6931 eval "ac_cv_header_$ac_safe=yes" | 6932 eval "ac_cv_header_$ac_safe=yes" |
6932 else | 6933 else |
6946 fi | 6947 fi |
6947 | 6948 |
6948 | 6949 |
6949 | 6950 |
6950 echo $ac_n "checking for XOpenDisplay in -lX11""... $ac_c" 1>&6 | 6951 echo $ac_n "checking for XOpenDisplay in -lX11""... $ac_c" 1>&6 |
6951 echo "configure:6952: checking for XOpenDisplay in -lX11" >&5 | 6952 echo "configure:6953: checking for XOpenDisplay in -lX11" >&5 |
6952 ac_lib_var=`echo X11'_'XOpenDisplay | sed 'y%./+-%__p_%'` | 6953 ac_lib_var=`echo X11'_'XOpenDisplay | sed 'y%./+-%__p_%'` |
6953 | 6954 |
6954 xe_check_libs=" -lX11 " | 6955 xe_check_libs=" -lX11 " |
6955 cat > conftest.$ac_ext <<EOF | 6956 cat > conftest.$ac_ext <<EOF |
6956 #line 6957 "configure" | 6957 #line 6958 "configure" |
6957 #include "confdefs.h" | 6958 #include "confdefs.h" |
6958 /* Override any gcc2 internal prototype to avoid an error. */ | 6959 /* Override any gcc2 internal prototype to avoid an error. */ |
6959 /* We use char because int might match the return type of a gcc2 | 6960 /* We use char because int might match the return type of a gcc2 |
6960 builtin and then its argument prototype would still apply. */ | 6961 builtin and then its argument prototype would still apply. */ |
6961 char XOpenDisplay(); | 6962 char XOpenDisplay(); |
6962 | 6963 |
6963 int main() { | 6964 int main() { |
6964 XOpenDisplay() | 6965 XOpenDisplay() |
6965 ; return 0; } | 6966 ; return 0; } |
6966 EOF | 6967 EOF |
6967 if { (eval echo configure:6968: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6968 if { (eval echo configure:6969: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6968 rm -rf conftest* | 6969 rm -rf conftest* |
6969 eval "ac_cv_lib_$ac_lib_var=yes" | 6970 eval "ac_cv_lib_$ac_lib_var=yes" |
6970 else | 6971 else |
6971 echo "configure: failed program was:" >&5 | 6972 echo "configure: failed program was:" >&5 |
6972 cat conftest.$ac_ext >&5 | 6973 cat conftest.$ac_ext >&5 |
6987 if test "$have_lib_x11" != "yes"; then | 6988 if test "$have_lib_x11" != "yes"; then |
6988 | 6989 |
6989 xe_msg_checking="for XGetFontProperty in -lX11" | 6990 xe_msg_checking="for XGetFontProperty in -lX11" |
6990 test -n "-b i486-linuxaout" && xe_msg_checking="$xe_msg_checking using extra libs -b i486-linuxaout" | 6991 test -n "-b i486-linuxaout" && xe_msg_checking="$xe_msg_checking using extra libs -b i486-linuxaout" |
6991 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 6992 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
6992 echo "configure:6993: checking "$xe_msg_checking"" >&5 | 6993 echo "configure:6994: checking "$xe_msg_checking"" >&5 |
6993 ac_lib_var=`echo X11'_'XGetFontProperty | sed 'y%./+-%__p_%'` | 6994 ac_lib_var=`echo X11'_'XGetFontProperty | sed 'y%./+-%__p_%'` |
6994 | 6995 |
6995 xe_check_libs=" -lX11 -b i486-linuxaout" | 6996 xe_check_libs=" -lX11 -b i486-linuxaout" |
6996 cat > conftest.$ac_ext <<EOF | 6997 cat > conftest.$ac_ext <<EOF |
6997 #line 6998 "configure" | 6998 #line 6999 "configure" |
6998 #include "confdefs.h" | 6999 #include "confdefs.h" |
6999 /* Override any gcc2 internal prototype to avoid an error. */ | 7000 /* Override any gcc2 internal prototype to avoid an error. */ |
7000 /* We use char because int might match the return type of a gcc2 | 7001 /* We use char because int might match the return type of a gcc2 |
7001 builtin and then its argument prototype would still apply. */ | 7002 builtin and then its argument prototype would still apply. */ |
7002 char XGetFontProperty(); | 7003 char XGetFontProperty(); |
7003 | 7004 |
7004 int main() { | 7005 int main() { |
7005 XGetFontProperty() | 7006 XGetFontProperty() |
7006 ; return 0; } | 7007 ; return 0; } |
7007 EOF | 7008 EOF |
7008 if { (eval echo configure:7009: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7009 if { (eval echo configure:7010: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7009 rm -rf conftest* | 7010 rm -rf conftest* |
7010 eval "ac_cv_lib_$ac_lib_var=yes" | 7011 eval "ac_cv_lib_$ac_lib_var=yes" |
7011 else | 7012 else |
7012 echo "configure: failed program was:" >&5 | 7013 echo "configure: failed program was:" >&5 |
7013 cat conftest.$ac_ext >&5 | 7014 cat conftest.$ac_ext >&5 |
7030 libs_x="-lX11" | 7031 libs_x="-lX11" |
7031 test "$extra_verbose" = "yes" && echo " Setting libs_x to \"-lX11\"" | 7032 test "$extra_verbose" = "yes" && echo " Setting libs_x to \"-lX11\"" |
7032 | 7033 |
7033 | 7034 |
7034 echo $ac_n "checking for XShapeSelectInput in -lXext""... $ac_c" 1>&6 | 7035 echo $ac_n "checking for XShapeSelectInput in -lXext""... $ac_c" 1>&6 |
7035 echo "configure:7036: checking for XShapeSelectInput in -lXext" >&5 | 7036 echo "configure:7037: checking for XShapeSelectInput in -lXext" >&5 |
7036 ac_lib_var=`echo Xext'_'XShapeSelectInput | sed 'y%./+-%__p_%'` | 7037 ac_lib_var=`echo Xext'_'XShapeSelectInput | sed 'y%./+-%__p_%'` |
7037 | 7038 |
7038 xe_check_libs=" -lXext " | 7039 xe_check_libs=" -lXext " |
7039 cat > conftest.$ac_ext <<EOF | 7040 cat > conftest.$ac_ext <<EOF |
7040 #line 7041 "configure" | 7041 #line 7042 "configure" |
7041 #include "confdefs.h" | 7042 #include "confdefs.h" |
7042 /* Override any gcc2 internal prototype to avoid an error. */ | 7043 /* Override any gcc2 internal prototype to avoid an error. */ |
7043 /* We use char because int might match the return type of a gcc2 | 7044 /* We use char because int might match the return type of a gcc2 |
7044 builtin and then its argument prototype would still apply. */ | 7045 builtin and then its argument prototype would still apply. */ |
7045 char XShapeSelectInput(); | 7046 char XShapeSelectInput(); |
7046 | 7047 |
7047 int main() { | 7048 int main() { |
7048 XShapeSelectInput() | 7049 XShapeSelectInput() |
7049 ; return 0; } | 7050 ; return 0; } |
7050 EOF | 7051 EOF |
7051 if { (eval echo configure:7052: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7052 if { (eval echo configure:7053: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7052 rm -rf conftest* | 7053 rm -rf conftest* |
7053 eval "ac_cv_lib_$ac_lib_var=yes" | 7054 eval "ac_cv_lib_$ac_lib_var=yes" |
7054 else | 7055 else |
7055 echo "configure: failed program was:" >&5 | 7056 echo "configure: failed program was:" >&5 |
7056 cat conftest.$ac_ext >&5 | 7057 cat conftest.$ac_ext >&5 |
7069 | 7070 |
7070 | 7071 |
7071 | 7072 |
7072 | 7073 |
7073 echo $ac_n "checking for XtOpenDisplay in -lXt""... $ac_c" 1>&6 | 7074 echo $ac_n "checking for XtOpenDisplay in -lXt""... $ac_c" 1>&6 |
7074 echo "configure:7075: checking for XtOpenDisplay in -lXt" >&5 | 7075 echo "configure:7076: checking for XtOpenDisplay in -lXt" >&5 |
7075 ac_lib_var=`echo Xt'_'XtOpenDisplay | sed 'y%./+-%__p_%'` | 7076 ac_lib_var=`echo Xt'_'XtOpenDisplay | sed 'y%./+-%__p_%'` |
7076 | 7077 |
7077 xe_check_libs=" -lXt " | 7078 xe_check_libs=" -lXt " |
7078 cat > conftest.$ac_ext <<EOF | 7079 cat > conftest.$ac_ext <<EOF |
7079 #line 7080 "configure" | 7080 #line 7081 "configure" |
7080 #include "confdefs.h" | 7081 #include "confdefs.h" |
7081 /* Override any gcc2 internal prototype to avoid an error. */ | 7082 /* Override any gcc2 internal prototype to avoid an error. */ |
7082 /* We use char because int might match the return type of a gcc2 | 7083 /* We use char because int might match the return type of a gcc2 |
7083 builtin and then its argument prototype would still apply. */ | 7084 builtin and then its argument prototype would still apply. */ |
7084 char XtOpenDisplay(); | 7085 char XtOpenDisplay(); |
7085 | 7086 |
7086 int main() { | 7087 int main() { |
7087 XtOpenDisplay() | 7088 XtOpenDisplay() |
7088 ; return 0; } | 7089 ; return 0; } |
7089 EOF | 7090 EOF |
7090 if { (eval echo configure:7091: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7091 if { (eval echo configure:7092: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7091 rm -rf conftest* | 7092 rm -rf conftest* |
7092 eval "ac_cv_lib_$ac_lib_var=yes" | 7093 eval "ac_cv_lib_$ac_lib_var=yes" |
7093 else | 7094 else |
7094 echo "configure: failed program was:" >&5 | 7095 echo "configure: failed program was:" >&5 |
7095 cat conftest.$ac_ext >&5 | 7096 cat conftest.$ac_ext >&5 |
7108 fi | 7109 fi |
7109 | 7110 |
7110 | 7111 |
7111 | 7112 |
7112 echo $ac_n "checking the version of X11 being used""... $ac_c" 1>&6 | 7113 echo $ac_n "checking the version of X11 being used""... $ac_c" 1>&6 |
7113 echo "configure:7114: checking the version of X11 being used" >&5 | 7114 echo "configure:7115: checking the version of X11 being used" >&5 |
7114 cat > conftest.$ac_ext <<EOF | 7115 cat > conftest.$ac_ext <<EOF |
7115 #line 7116 "configure" | 7116 #line 7117 "configure" |
7116 #include "confdefs.h" | 7117 #include "confdefs.h" |
7117 #include <X11/Intrinsic.h> | 7118 #include <X11/Intrinsic.h> |
7118 int main(int c, char *v[]) { return c>1 ? XlibSpecificationRelease : 0; } | 7119 int main(int c, char *v[]) { return c>1 ? XlibSpecificationRelease : 0; } |
7119 EOF | 7120 EOF |
7120 if { (eval echo configure:7121: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 7121 if { (eval echo configure:7122: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
7121 then | 7122 then |
7122 ./conftest foobar; x11_release=$? | 7123 ./conftest foobar; x11_release=$? |
7123 else | 7124 else |
7124 conftest_rc="$?" | 7125 conftest_rc="$?" |
7125 echo "configure: failed program was:" >&5 | 7126 echo "configure: failed program was:" >&5 |
7146 fi | 7147 fi |
7147 | 7148 |
7148 for ac_func in XConvertCase | 7149 for ac_func in XConvertCase |
7149 do | 7150 do |
7150 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 7151 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
7151 echo "configure:7152: checking for $ac_func" >&5 | 7152 echo "configure:7153: checking for $ac_func" >&5 |
7152 | 7153 |
7153 cat > conftest.$ac_ext <<EOF | 7154 cat > conftest.$ac_ext <<EOF |
7154 #line 7155 "configure" | 7155 #line 7156 "configure" |
7155 #include "confdefs.h" | 7156 #include "confdefs.h" |
7156 /* System header to define __stub macros and hopefully few prototypes, | 7157 /* System header to define __stub macros and hopefully few prototypes, |
7157 which can conflict with char $ac_func(); below. */ | 7158 which can conflict with char $ac_func(); below. */ |
7158 #include <assert.h> | 7159 #include <assert.h> |
7159 /* Override any gcc2 internal prototype to avoid an error. */ | 7160 /* Override any gcc2 internal prototype to avoid an error. */ |
7172 $ac_func(); | 7173 $ac_func(); |
7173 #endif | 7174 #endif |
7174 | 7175 |
7175 ; return 0; } | 7176 ; return 0; } |
7176 EOF | 7177 EOF |
7177 if { (eval echo configure:7178: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7178 if { (eval echo configure:7179: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7178 rm -rf conftest* | 7179 rm -rf conftest* |
7179 eval "ac_cv_func_$ac_func=yes" | 7180 eval "ac_cv_func_$ac_func=yes" |
7180 else | 7181 else |
7181 echo "configure: failed program was:" >&5 | 7182 echo "configure: failed program was:" >&5 |
7182 cat conftest.$ac_ext >&5 | 7183 cat conftest.$ac_ext >&5 |
7204 | 7205 |
7205 for ac_hdr in X11/Xlocale.h | 7206 for ac_hdr in X11/Xlocale.h |
7206 do | 7207 do |
7207 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 7208 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
7208 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 7209 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
7209 echo "configure:7210: checking for $ac_hdr" >&5 | 7210 echo "configure:7211: checking for $ac_hdr" >&5 |
7210 | 7211 |
7211 cat > conftest.$ac_ext <<EOF | 7212 cat > conftest.$ac_ext <<EOF |
7212 #line 7213 "configure" | 7213 #line 7214 "configure" |
7213 #include "confdefs.h" | 7214 #include "confdefs.h" |
7214 #include <$ac_hdr> | 7215 #include <$ac_hdr> |
7215 EOF | 7216 EOF |
7216 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7217 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
7217 { (eval echo configure:7218: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7218 { (eval echo configure:7219: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
7218 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 7219 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
7219 if test -z "$ac_err"; then | 7220 if test -z "$ac_err"; then |
7220 rm -rf conftest* | 7221 rm -rf conftest* |
7221 eval "ac_cv_header_$ac_safe=yes" | 7222 eval "ac_cv_header_$ac_safe=yes" |
7222 else | 7223 else |
7245 | 7246 |
7246 | 7247 |
7247 for ac_func in XRegisterIMInstantiateCallback | 7248 for ac_func in XRegisterIMInstantiateCallback |
7248 do | 7249 do |
7249 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 7250 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
7250 echo "configure:7251: checking for $ac_func" >&5 | 7251 echo "configure:7252: checking for $ac_func" >&5 |
7251 | 7252 |
7252 cat > conftest.$ac_ext <<EOF | 7253 cat > conftest.$ac_ext <<EOF |
7253 #line 7254 "configure" | 7254 #line 7255 "configure" |
7254 #include "confdefs.h" | 7255 #include "confdefs.h" |
7255 /* System header to define __stub macros and hopefully few prototypes, | 7256 /* System header to define __stub macros and hopefully few prototypes, |
7256 which can conflict with char $ac_func(); below. */ | 7257 which can conflict with char $ac_func(); below. */ |
7257 #include <assert.h> | 7258 #include <assert.h> |
7258 /* Override any gcc2 internal prototype to avoid an error. */ | 7259 /* Override any gcc2 internal prototype to avoid an error. */ |
7271 $ac_func(); | 7272 $ac_func(); |
7272 #endif | 7273 #endif |
7273 | 7274 |
7274 ; return 0; } | 7275 ; return 0; } |
7275 EOF | 7276 EOF |
7276 if { (eval echo configure:7277: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7277 if { (eval echo configure:7278: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7277 rm -rf conftest* | 7278 rm -rf conftest* |
7278 eval "ac_cv_func_$ac_func=yes" | 7279 eval "ac_cv_func_$ac_func=yes" |
7279 else | 7280 else |
7280 echo "configure: failed program was:" >&5 | 7281 echo "configure: failed program was:" >&5 |
7281 cat conftest.$ac_ext >&5 | 7282 cat conftest.$ac_ext >&5 |
7299 echo "$ac_t""no" 1>&6 | 7300 echo "$ac_t""no" 1>&6 |
7300 fi | 7301 fi |
7301 done | 7302 done |
7302 | 7303 |
7303 echo $ac_n "checking for standard XRegisterIMInstantiateCallback prototype""... $ac_c" 1>&6 | 7304 echo $ac_n "checking for standard XRegisterIMInstantiateCallback prototype""... $ac_c" 1>&6 |
7304 echo "configure:7305: checking for standard XRegisterIMInstantiateCallback prototype" >&5 | 7305 echo "configure:7306: checking for standard XRegisterIMInstantiateCallback prototype" >&5 |
7305 cat > conftest.$ac_ext <<EOF | 7306 cat > conftest.$ac_ext <<EOF |
7306 #line 7307 "configure" | 7307 #line 7308 "configure" |
7307 #include "confdefs.h" | 7308 #include "confdefs.h" |
7308 | 7309 |
7309 #define NeedFunctionPrototypes 1 | 7310 #define NeedFunctionPrototypes 1 |
7310 #include <X11/Xlib.h> | 7311 #include <X11/Xlib.h> |
7311 extern Bool XRegisterIMInstantiateCallback( | 7312 extern Bool XRegisterIMInstantiateCallback( |
7313 | 7314 |
7314 int main() { | 7315 int main() { |
7315 | 7316 |
7316 ; return 0; } | 7317 ; return 0; } |
7317 EOF | 7318 EOF |
7318 if { (eval echo configure:7319: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 7319 if { (eval echo configure:7320: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
7319 rm -rf conftest* | 7320 rm -rf conftest* |
7320 echo "$ac_t""yes" 1>&6 | 7321 echo "$ac_t""yes" 1>&6 |
7321 else | 7322 else |
7322 echo "configure: failed program was:" >&5 | 7323 echo "configure: failed program was:" >&5 |
7323 cat conftest.$ac_ext >&5 | 7324 cat conftest.$ac_ext >&5 |
7334 fi | 7335 fi |
7335 rm -f conftest* | 7336 rm -f conftest* |
7336 | 7337 |
7337 test -z "$with_xmu" && { | 7338 test -z "$with_xmu" && { |
7338 echo $ac_n "checking for XmuReadBitmapDataFromFile in -lXmu""... $ac_c" 1>&6 | 7339 echo $ac_n "checking for XmuReadBitmapDataFromFile in -lXmu""... $ac_c" 1>&6 |
7339 echo "configure:7340: checking for XmuReadBitmapDataFromFile in -lXmu" >&5 | 7340 echo "configure:7341: checking for XmuReadBitmapDataFromFile in -lXmu" >&5 |
7340 ac_lib_var=`echo Xmu'_'XmuReadBitmapDataFromFile | sed 'y%./+-%__p_%'` | 7341 ac_lib_var=`echo Xmu'_'XmuReadBitmapDataFromFile | sed 'y%./+-%__p_%'` |
7341 | 7342 |
7342 xe_check_libs=" -lXmu " | 7343 xe_check_libs=" -lXmu " |
7343 cat > conftest.$ac_ext <<EOF | 7344 cat > conftest.$ac_ext <<EOF |
7344 #line 7345 "configure" | 7345 #line 7346 "configure" |
7345 #include "confdefs.h" | 7346 #include "confdefs.h" |
7346 /* Override any gcc2 internal prototype to avoid an error. */ | 7347 /* Override any gcc2 internal prototype to avoid an error. */ |
7347 /* We use char because int might match the return type of a gcc2 | 7348 /* We use char because int might match the return type of a gcc2 |
7348 builtin and then its argument prototype would still apply. */ | 7349 builtin and then its argument prototype would still apply. */ |
7349 char XmuReadBitmapDataFromFile(); | 7350 char XmuReadBitmapDataFromFile(); |
7350 | 7351 |
7351 int main() { | 7352 int main() { |
7352 XmuReadBitmapDataFromFile() | 7353 XmuReadBitmapDataFromFile() |
7353 ; return 0; } | 7354 ; return 0; } |
7354 EOF | 7355 EOF |
7355 if { (eval echo configure:7356: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7356 if { (eval echo configure:7357: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7356 rm -rf conftest* | 7357 rm -rf conftest* |
7357 eval "ac_cv_lib_$ac_lib_var=yes" | 7358 eval "ac_cv_lib_$ac_lib_var=yes" |
7358 else | 7359 else |
7359 echo "configure: failed program was:" >&5 | 7360 echo "configure: failed program was:" >&5 |
7360 cat conftest.$ac_ext >&5 | 7361 cat conftest.$ac_ext >&5 |
7389 | 7390 |
7390 fi | 7391 fi |
7391 | 7392 |
7392 | 7393 |
7393 echo $ac_n "checking for main in -lXbsd""... $ac_c" 1>&6 | 7394 echo $ac_n "checking for main in -lXbsd""... $ac_c" 1>&6 |
7394 echo "configure:7395: checking for main in -lXbsd" >&5 | 7395 echo "configure:7396: checking for main in -lXbsd" >&5 |
7395 ac_lib_var=`echo Xbsd'_'main | sed 'y%./+-%__p_%'` | 7396 ac_lib_var=`echo Xbsd'_'main | sed 'y%./+-%__p_%'` |
7396 | 7397 |
7397 xe_check_libs=" -lXbsd " | 7398 xe_check_libs=" -lXbsd " |
7398 cat > conftest.$ac_ext <<EOF | 7399 cat > conftest.$ac_ext <<EOF |
7399 #line 7400 "configure" | 7400 #line 7401 "configure" |
7400 #include "confdefs.h" | 7401 #include "confdefs.h" |
7401 | 7402 |
7402 int main() { | 7403 int main() { |
7403 main() | 7404 main() |
7404 ; return 0; } | 7405 ; return 0; } |
7405 EOF | 7406 EOF |
7406 if { (eval echo configure:7407: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7407 if { (eval echo configure:7408: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7407 rm -rf conftest* | 7408 rm -rf conftest* |
7408 eval "ac_cv_lib_$ac_lib_var=yes" | 7409 eval "ac_cv_lib_$ac_lib_var=yes" |
7409 else | 7410 else |
7410 echo "configure: failed program was:" >&5 | 7411 echo "configure: failed program was:" >&5 |
7411 cat conftest.$ac_ext >&5 | 7412 cat conftest.$ac_ext >&5 |
7438 fi | 7439 fi |
7439 | 7440 |
7440 fi | 7441 fi |
7441 if test "$with_msw" != "no"; then | 7442 if test "$with_msw" != "no"; then |
7442 echo "checking for MS-Windows" 1>&6 | 7443 echo "checking for MS-Windows" 1>&6 |
7443 echo "configure:7444: checking for MS-Windows" >&5 | 7444 echo "configure:7445: checking for MS-Windows" >&5 |
7444 | 7445 |
7445 echo $ac_n "checking for main in -lgdi32""... $ac_c" 1>&6 | 7446 echo $ac_n "checking for main in -lgdi32""... $ac_c" 1>&6 |
7446 echo "configure:7447: checking for main in -lgdi32" >&5 | 7447 echo "configure:7448: checking for main in -lgdi32" >&5 |
7447 ac_lib_var=`echo gdi32'_'main | sed 'y%./+-%__p_%'` | 7448 ac_lib_var=`echo gdi32'_'main | sed 'y%./+-%__p_%'` |
7448 | 7449 |
7449 xe_check_libs=" -lgdi32 " | 7450 xe_check_libs=" -lgdi32 " |
7450 cat > conftest.$ac_ext <<EOF | 7451 cat > conftest.$ac_ext <<EOF |
7451 #line 7452 "configure" | 7452 #line 7453 "configure" |
7452 #include "confdefs.h" | 7453 #include "confdefs.h" |
7453 | 7454 |
7454 int main() { | 7455 int main() { |
7455 main() | 7456 main() |
7456 ; return 0; } | 7457 ; return 0; } |
7457 EOF | 7458 EOF |
7458 if { (eval echo configure:7459: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7459 if { (eval echo configure:7460: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7459 rm -rf conftest* | 7460 rm -rf conftest* |
7460 eval "ac_cv_lib_$ac_lib_var=yes" | 7461 eval "ac_cv_lib_$ac_lib_var=yes" |
7461 else | 7462 else |
7462 echo "configure: failed program was:" >&5 | 7463 echo "configure: failed program was:" >&5 |
7463 cat conftest.$ac_ext >&5 | 7464 cat conftest.$ac_ext >&5 |
7504 test "$with_toolbars" != "no" && with_toolbars=msw | 7505 test "$with_toolbars" != "no" && with_toolbars=msw |
7505 test "$with_dialogs" != "no" && with_dialogs=msw | 7506 test "$with_dialogs" != "no" && with_dialogs=msw |
7506 test "$with_widgets" != "no" && with_widgets=msw | 7507 test "$with_widgets" != "no" && with_widgets=msw |
7507 fi | 7508 fi |
7508 cat > conftest.$ac_ext <<EOF | 7509 cat > conftest.$ac_ext <<EOF |
7509 #line 7510 "configure" | 7510 #line 7511 "configure" |
7510 #include "confdefs.h" | 7511 #include "confdefs.h" |
7511 #include <fcntl.h> | 7512 #include <fcntl.h> |
7512 int main() { return (open("/dev/windows", O_RDONLY, 0) > 0)? 0 : 1; } | 7513 int main() { return (open("/dev/windows", O_RDONLY, 0) > 0)? 0 : 1; } |
7513 EOF | 7514 EOF |
7514 if { (eval echo configure:7515: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 7515 if { (eval echo configure:7516: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
7515 then | 7516 then |
7516 { test "$extra_verbose" = "yes" && cat << \EOF | 7517 { test "$extra_verbose" = "yes" && cat << \EOF |
7517 Defining HAVE_MSG_SELECT | 7518 Defining HAVE_MSG_SELECT |
7518 EOF | 7519 EOF |
7519 cat >> confdefs.h <<\EOF | 7520 cat >> confdefs.h <<\EOF |
7570 fi | 7571 fi |
7571 | 7572 |
7572 if test "$with_x11" = "yes"; then | 7573 if test "$with_x11" = "yes"; then |
7573 ac_safe=`echo "X11/extensions/shape.h" | sed 'y%./+-%__p_%'` | 7574 ac_safe=`echo "X11/extensions/shape.h" | sed 'y%./+-%__p_%'` |
7574 echo $ac_n "checking for X11/extensions/shape.h""... $ac_c" 1>&6 | 7575 echo $ac_n "checking for X11/extensions/shape.h""... $ac_c" 1>&6 |
7575 echo "configure:7576: checking for X11/extensions/shape.h" >&5 | 7576 echo "configure:7577: checking for X11/extensions/shape.h" >&5 |
7576 | 7577 |
7577 cat > conftest.$ac_ext <<EOF | 7578 cat > conftest.$ac_ext <<EOF |
7578 #line 7579 "configure" | 7579 #line 7580 "configure" |
7579 #include "confdefs.h" | 7580 #include "confdefs.h" |
7580 #include <X11/extensions/shape.h> | 7581 #include <X11/extensions/shape.h> |
7581 EOF | 7582 EOF |
7582 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7583 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
7583 { (eval echo configure:7584: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7584 { (eval echo configure:7585: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
7584 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 7585 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
7585 if test -z "$ac_err"; then | 7586 if test -z "$ac_err"; then |
7586 rm -rf conftest* | 7587 rm -rf conftest* |
7587 eval "ac_cv_header_$ac_safe=yes" | 7588 eval "ac_cv_header_$ac_safe=yes" |
7588 else | 7589 else |
7628 test "$opsys" = "hpux9" && opsysfile="s/hpux9-x11r4.h" | 7629 test "$opsys" = "hpux9" && opsysfile="s/hpux9-x11r4.h" |
7629 test "$opsys" = "hpux9-shr" && opsysfile="s/hpux9shxr4.h" | 7630 test "$opsys" = "hpux9-shr" && opsysfile="s/hpux9shxr4.h" |
7630 esac | 7631 esac |
7631 | 7632 |
7632 echo "checking for WM_COMMAND option" 1>&6 | 7633 echo "checking for WM_COMMAND option" 1>&6 |
7633 echo "configure:7634: checking for WM_COMMAND option" >&5; | 7634 echo "configure:7635: checking for WM_COMMAND option" >&5; |
7634 if test "$with_wmcommand" != "no"; then | 7635 if test "$with_wmcommand" != "no"; then |
7635 { test "$extra_verbose" = "yes" && cat << \EOF | 7636 { test "$extra_verbose" = "yes" && cat << \EOF |
7636 Defining HAVE_WMCOMMAND | 7637 Defining HAVE_WMCOMMAND |
7637 EOF | 7638 EOF |
7638 cat >> confdefs.h <<\EOF | 7639 cat >> confdefs.h <<\EOF |
7643 fi | 7644 fi |
7644 | 7645 |
7645 test -z "$with_xauth" && test "$window_system" = "none" && with_xauth=no | 7646 test -z "$with_xauth" && test "$window_system" = "none" && with_xauth=no |
7646 test -z "$with_xauth" && { ac_safe=`echo "X11/Xauth.h" | sed 'y%./+-%__p_%'` | 7647 test -z "$with_xauth" && { ac_safe=`echo "X11/Xauth.h" | sed 'y%./+-%__p_%'` |
7647 echo $ac_n "checking for X11/Xauth.h""... $ac_c" 1>&6 | 7648 echo $ac_n "checking for X11/Xauth.h""... $ac_c" 1>&6 |
7648 echo "configure:7649: checking for X11/Xauth.h" >&5 | 7649 echo "configure:7650: checking for X11/Xauth.h" >&5 |
7649 | 7650 |
7650 cat > conftest.$ac_ext <<EOF | 7651 cat > conftest.$ac_ext <<EOF |
7651 #line 7652 "configure" | 7652 #line 7653 "configure" |
7652 #include "confdefs.h" | 7653 #include "confdefs.h" |
7653 #include <X11/Xauth.h> | 7654 #include <X11/Xauth.h> |
7654 EOF | 7655 EOF |
7655 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7656 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
7656 { (eval echo configure:7657: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7657 { (eval echo configure:7658: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
7657 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 7658 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
7658 if test -z "$ac_err"; then | 7659 if test -z "$ac_err"; then |
7659 rm -rf conftest* | 7660 rm -rf conftest* |
7660 eval "ac_cv_header_$ac_safe=yes" | 7661 eval "ac_cv_header_$ac_safe=yes" |
7661 else | 7662 else |
7674 with_xauth=no | 7675 with_xauth=no |
7675 fi | 7676 fi |
7676 } | 7677 } |
7677 test -z "$with_xauth" && { | 7678 test -z "$with_xauth" && { |
7678 echo $ac_n "checking for XauGetAuthByAddr in -lXau""... $ac_c" 1>&6 | 7679 echo $ac_n "checking for XauGetAuthByAddr in -lXau""... $ac_c" 1>&6 |
7679 echo "configure:7680: checking for XauGetAuthByAddr in -lXau" >&5 | 7680 echo "configure:7681: checking for XauGetAuthByAddr in -lXau" >&5 |
7680 ac_lib_var=`echo Xau'_'XauGetAuthByAddr | sed 'y%./+-%__p_%'` | 7681 ac_lib_var=`echo Xau'_'XauGetAuthByAddr | sed 'y%./+-%__p_%'` |
7681 | 7682 |
7682 xe_check_libs=" -lXau " | 7683 xe_check_libs=" -lXau " |
7683 cat > conftest.$ac_ext <<EOF | 7684 cat > conftest.$ac_ext <<EOF |
7684 #line 7685 "configure" | 7685 #line 7686 "configure" |
7685 #include "confdefs.h" | 7686 #include "confdefs.h" |
7686 /* Override any gcc2 internal prototype to avoid an error. */ | 7687 /* Override any gcc2 internal prototype to avoid an error. */ |
7687 /* We use char because int might match the return type of a gcc2 | 7688 /* We use char because int might match the return type of a gcc2 |
7688 builtin and then its argument prototype would still apply. */ | 7689 builtin and then its argument prototype would still apply. */ |
7689 char XauGetAuthByAddr(); | 7690 char XauGetAuthByAddr(); |
7690 | 7691 |
7691 int main() { | 7692 int main() { |
7692 XauGetAuthByAddr() | 7693 XauGetAuthByAddr() |
7693 ; return 0; } | 7694 ; return 0; } |
7694 EOF | 7695 EOF |
7695 if { (eval echo configure:7696: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7696 if { (eval echo configure:7697: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7696 rm -rf conftest* | 7697 rm -rf conftest* |
7697 eval "ac_cv_lib_$ac_lib_var=yes" | 7698 eval "ac_cv_lib_$ac_lib_var=yes" |
7698 else | 7699 else |
7699 echo "configure: failed program was:" >&5 | 7700 echo "configure: failed program was:" >&5 |
7700 cat conftest.$ac_ext >&5 | 7701 cat conftest.$ac_ext >&5 |
7741 fi | 7742 fi |
7742 | 7743 |
7743 | 7744 |
7744 if test "$with_modules" != "no"; then | 7745 if test "$with_modules" != "no"; then |
7745 echo "checking for module support" 1>&6 | 7746 echo "checking for module support" 1>&6 |
7746 echo "configure:7747: checking for module support" >&5 | 7747 echo "configure:7748: checking for module support" >&5 |
7747 | 7748 |
7748 if test "$with_msw" = "yes"; then | 7749 if test "$with_msw" = "yes"; then |
7749 have_dl=yes; | 7750 have_dl=yes; |
7750 else | 7751 else |
7751 case "$opsys" in | 7752 case "$opsys" in |
7758 } | 7759 } |
7759 ;; | 7760 ;; |
7760 * ) | 7761 * ) |
7761 ac_safe=`echo "dlfcn.h" | sed 'y%./+-%__p_%'` | 7762 ac_safe=`echo "dlfcn.h" | sed 'y%./+-%__p_%'` |
7762 echo $ac_n "checking for dlfcn.h""... $ac_c" 1>&6 | 7763 echo $ac_n "checking for dlfcn.h""... $ac_c" 1>&6 |
7763 echo "configure:7764: checking for dlfcn.h" >&5 | 7764 echo "configure:7765: checking for dlfcn.h" >&5 |
7764 | 7765 |
7765 cat > conftest.$ac_ext <<EOF | 7766 cat > conftest.$ac_ext <<EOF |
7766 #line 7767 "configure" | 7767 #line 7768 "configure" |
7767 #include "confdefs.h" | 7768 #include "confdefs.h" |
7768 #include <dlfcn.h> | 7769 #include <dlfcn.h> |
7769 EOF | 7770 EOF |
7770 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7771 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
7771 { (eval echo configure:7772: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7772 { (eval echo configure:7773: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
7772 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 7773 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
7773 if test -z "$ac_err"; then | 7774 if test -z "$ac_err"; then |
7774 rm -rf conftest* | 7775 rm -rf conftest* |
7775 eval "ac_cv_header_$ac_safe=yes" | 7776 eval "ac_cv_header_$ac_safe=yes" |
7776 else | 7777 else |
7783 rm -f conftest* | 7784 rm -f conftest* |
7784 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 7785 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
7785 echo "$ac_t""yes" 1>&6 | 7786 echo "$ac_t""yes" 1>&6 |
7786 | 7787 |
7787 echo $ac_n "checking for dlopen in -lc""... $ac_c" 1>&6 | 7788 echo $ac_n "checking for dlopen in -lc""... $ac_c" 1>&6 |
7788 echo "configure:7789: checking for dlopen in -lc" >&5 | 7789 echo "configure:7790: checking for dlopen in -lc" >&5 |
7789 cat > conftest.$ac_ext <<EOF | 7790 cat > conftest.$ac_ext <<EOF |
7790 #line 7791 "configure" | 7791 #line 7792 "configure" |
7791 #include "confdefs.h" | 7792 #include "confdefs.h" |
7792 #include <dlfcn.h> | 7793 #include <dlfcn.h> |
7793 int main() { | 7794 int main() { |
7794 dlopen ("", 0); | 7795 dlopen ("", 0); |
7795 ; return 0; } | 7796 ; return 0; } |
7796 EOF | 7797 EOF |
7797 if { (eval echo configure:7798: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7798 if { (eval echo configure:7799: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7798 rm -rf conftest* | 7799 rm -rf conftest* |
7799 have_dl=yes | 7800 have_dl=yes |
7800 else | 7801 else |
7801 echo "configure: failed program was:" >&5 | 7802 echo "configure: failed program was:" >&5 |
7802 cat conftest.$ac_ext >&5 | 7803 cat conftest.$ac_ext >&5 |
7803 rm -rf conftest* | 7804 rm -rf conftest* |
7804 | 7805 |
7805 echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6 | 7806 echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6 |
7806 echo "configure:7807: checking for dlopen in -ldl" >&5 | 7807 echo "configure:7808: checking for dlopen in -ldl" >&5 |
7807 ac_save_LIBS="$LIBS" | 7808 ac_save_LIBS="$LIBS" |
7808 LIBS="-ldl $LIBS" | 7809 LIBS="-ldl $LIBS" |
7809 cat > conftest.$ac_ext <<EOF | 7810 cat > conftest.$ac_ext <<EOF |
7810 #line 7811 "configure" | 7811 #line 7812 "configure" |
7811 #include "confdefs.h" | 7812 #include "confdefs.h" |
7812 #include <dlfcn.h> | 7813 #include <dlfcn.h> |
7813 int main() { | 7814 int main() { |
7814 dlopen ("", 0); | 7815 dlopen ("", 0); |
7815 ; return 0; } | 7816 ; return 0; } |
7816 EOF | 7817 EOF |
7817 if { (eval echo configure:7818: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7818 if { (eval echo configure:7819: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7818 rm -rf conftest* | 7819 rm -rf conftest* |
7819 have_dl=yes | 7820 have_dl=yes |
7820 else | 7821 else |
7821 echo "configure: failed program was:" >&5 | 7822 echo "configure: failed program was:" >&5 |
7822 cat conftest.$ac_ext >&5 | 7823 cat conftest.$ac_ext >&5 |
7852 ld_dynamic_link_flags= | 7853 ld_dynamic_link_flags= |
7853 xehost=$canonical | 7854 xehost=$canonical |
7854 xealias=$internal_configuration | 7855 xealias=$internal_configuration |
7855 | 7856 |
7856 echo "checking how to build dynamic libraries for ${xehost}" 1>&6 | 7857 echo "checking how to build dynamic libraries for ${xehost}" 1>&6 |
7857 echo "configure:7858: checking how to build dynamic libraries for ${xehost}" >&5 | 7858 echo "configure:7859: checking how to build dynamic libraries for ${xehost}" >&5 |
7858 # Transform *-*-linux* to *-*-linux-gnu*, to support old configure scripts. | 7859 # Transform *-*-linux* to *-*-linux-gnu*, to support old configure scripts. |
7859 case "$xehost" in | 7860 case "$xehost" in |
7860 *-*-linux-gnu*) ;; | 7861 *-*-linux-gnu*) ;; |
7861 *-*-linux*) xehost=`echo $xehost | sed 's/^\(.*-.*-linux\)\(.*\)$/\1-gnu\2/'` | 7862 *-*-linux*) xehost=`echo $xehost | sed 's/^\(.*-.*-linux\)\(.*\)$/\1-gnu\2/'` |
7862 esac | 7863 esac |
7880 # Now see if the compiler is really GCC. | 7881 # Now see if the compiler is really GCC. |
7881 if test "$GCC" = "yes"; then | 7882 if test "$GCC" = "yes"; then |
7882 XEGCC=yes | 7883 XEGCC=yes |
7883 else | 7884 else |
7884 echo $ac_n "checking checking whether we are using GNU C""... $ac_c" 1>&6 | 7885 echo $ac_n "checking checking whether we are using GNU C""... $ac_c" 1>&6 |
7885 echo "configure:7886: checking checking whether we are using GNU C" >&5 | 7886 echo "configure:7887: checking checking whether we are using GNU C" >&5 |
7886 cat > conftest.$ac_ext <<EOF | 7887 cat > conftest.$ac_ext <<EOF |
7887 #line 7888 "configure" | 7888 #line 7889 "configure" |
7888 #include "confdefs.h" | 7889 #include "confdefs.h" |
7889 | 7890 |
7890 #ifdef __GNUC__ | 7891 #ifdef __GNUC__ |
7891 yes; | 7892 yes; |
7892 #endif | 7893 #endif |
7904 | 7905 |
7905 echo "$ac_t""${XEGCC}" 1>&6 | 7906 echo "$ac_t""${XEGCC}" 1>&6 |
7906 fi | 7907 fi |
7907 | 7908 |
7908 echo $ac_n "checking how to produce PIC code""... $ac_c" 1>&6 | 7909 echo $ac_n "checking how to produce PIC code""... $ac_c" 1>&6 |
7909 echo "configure:7910: checking how to produce PIC code" >&5 | 7910 echo "configure:7911: checking how to produce PIC code" >&5 |
7910 wl= | 7911 wl= |
7911 | 7912 |
7912 can_build_shared=yes | 7913 can_build_shared=yes |
7913 if test "$XEGCC" = yes -o "$__ICC" = yes; then | 7914 if test "$XEGCC" = yes -o "$__ICC" = yes; then |
7914 wl='-Wl,' | 7915 wl='-Wl,' |
8008 if test -n "$dll_cflags"; then | 8009 if test -n "$dll_cflags"; then |
8009 echo "$ac_t""${dll_cflags}" 1>&6 | 8010 echo "$ac_t""${dll_cflags}" 1>&6 |
8010 | 8011 |
8011 # Check to make sure the dll_cflags actually works. | 8012 # Check to make sure the dll_cflags actually works. |
8012 echo $ac_n "checking if PIC flag ${dll_cflags} really works""... $ac_c" 1>&6 | 8013 echo $ac_n "checking if PIC flag ${dll_cflags} really works""... $ac_c" 1>&6 |
8013 echo "configure:8014: checking if PIC flag ${dll_cflags} really works" >&5 | 8014 echo "configure:8015: checking if PIC flag ${dll_cflags} really works" >&5 |
8014 save_CFLAGS="$CFLAGS" | 8015 save_CFLAGS="$CFLAGS" |
8015 CFLAGS="$CFLAGS $dll_cflags -DPIC" | 8016 CFLAGS="$CFLAGS $dll_cflags -DPIC" |
8016 cat > conftest.$ac_ext <<EOF | 8017 cat > conftest.$ac_ext <<EOF |
8017 #line 8018 "configure" | 8018 #line 8019 "configure" |
8018 #include "confdefs.h" | 8019 #include "confdefs.h" |
8019 | 8020 |
8020 int main() { | 8021 int main() { |
8021 int x=0; | 8022 int x=0; |
8022 ; return 0; } | 8023 ; return 0; } |
8023 EOF | 8024 EOF |
8024 if { (eval echo configure:8025: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 8025 if { (eval echo configure:8026: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
8025 rm -rf conftest* | 8026 rm -rf conftest* |
8026 | 8027 |
8027 # On HP-UX, the stripped-down bundled CC doesn't accept +Z, but also | 8028 # On HP-UX, the stripped-down bundled CC doesn't accept +Z, but also |
8028 # reports no error. So, we need to grep stderr for (Bundled). | 8029 # reports no error. So, we need to grep stderr for (Bundled). |
8029 if grep '(Bundled)' config.log >/dev/null; then | 8030 if grep '(Bundled)' config.log >/dev/null; then |
8050 if test "$can_build_shared" = "yes"; then | 8051 if test "$can_build_shared" = "yes"; then |
8051 cc_produces_so=no | 8052 cc_produces_so=no |
8052 xldf= | 8053 xldf= |
8053 xcldf= | 8054 xcldf= |
8054 echo $ac_n "checking if C compiler can produce shared libraries""... $ac_c" 1>&6 | 8055 echo $ac_n "checking if C compiler can produce shared libraries""... $ac_c" 1>&6 |
8055 echo "configure:8056: checking if C compiler can produce shared libraries" >&5 | 8056 echo "configure:8057: checking if C compiler can produce shared libraries" >&5 |
8056 if test "$XEGCC" = yes -o "$__ICC" = yes; then | 8057 if test "$XEGCC" = yes -o "$__ICC" = yes; then |
8057 case "$xehost_os" in | 8058 case "$xehost_os" in |
8058 *darwin*) | 8059 *darwin*) |
8059 xcldf='-bundle' | 8060 xcldf='-bundle' |
8060 xldf='-bundle -bundle_loader ../../src/xemacs' | 8061 xldf='-bundle -bundle_loader ../../src/xemacs' |
8109 LDFLAGS="$xcldf $LDFLAGS" | 8110 LDFLAGS="$xcldf $LDFLAGS" |
8110 LIBS= | 8111 LIBS= |
8111 xe_libs= | 8112 xe_libs= |
8112 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' | 8113 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' |
8113 cat > conftest.$ac_ext <<EOF | 8114 cat > conftest.$ac_ext <<EOF |
8114 #line 8115 "configure" | 8115 #line 8116 "configure" |
8115 #include "confdefs.h" | 8116 #include "confdefs.h" |
8116 | 8117 |
8117 int main() { | 8118 int main() { |
8118 int x=0; | 8119 int x=0; |
8119 ; return 0; } | 8120 ; return 0; } |
8120 EOF | 8121 EOF |
8121 if { (eval echo configure:8122: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8122 if { (eval echo configure:8123: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8122 rm -rf conftest* | 8123 rm -rf conftest* |
8123 cc_produces_so=yes | 8124 cc_produces_so=yes |
8124 else | 8125 else |
8125 echo "configure: failed program was:" >&5 | 8126 echo "configure: failed program was:" >&5 |
8126 cat conftest.$ac_ext >&5 | 8127 cat conftest.$ac_ext >&5 |
8141 if test -z "$LTLD"; then | 8142 if test -z "$LTLD"; then |
8142 ac_prog=ld | 8143 ac_prog=ld |
8143 if test "$XEGCC" = yes; then | 8144 if test "$XEGCC" = yes; then |
8144 # Check if gcc -print-prog-name=ld gives a path. | 8145 # Check if gcc -print-prog-name=ld gives a path. |
8145 echo $ac_n "checking for ld used by GCC""... $ac_c" 1>&6 | 8146 echo $ac_n "checking for ld used by GCC""... $ac_c" 1>&6 |
8146 echo "configure:8147: checking for ld used by GCC" >&5 | 8147 echo "configure:8148: checking for ld used by GCC" >&5 |
8147 ac_prog=`($CC -print-prog-name=ld) 2>&5` | 8148 ac_prog=`($CC -print-prog-name=ld) 2>&5` |
8148 case "$ac_prog" in | 8149 case "$ac_prog" in |
8149 # Accept absolute paths. | 8150 # Accept absolute paths. |
8150 /*) | 8151 /*) |
8151 if test -z "$LTLD"; then | 8152 if test -z "$LTLD"; then |
8167 with_gnu_ld=unknown | 8168 with_gnu_ld=unknown |
8168 ;; | 8169 ;; |
8169 esac | 8170 esac |
8170 else | 8171 else |
8171 echo $ac_n "checking for GNU ld""... $ac_c" 1>&6 | 8172 echo $ac_n "checking for GNU ld""... $ac_c" 1>&6 |
8172 echo "configure:8173: checking for GNU ld" >&5 | 8173 echo "configure:8174: checking for GNU ld" >&5 |
8173 fi | 8174 fi |
8174 | 8175 |
8175 if test -z "$LTLD"; then | 8176 if test -z "$LTLD"; then |
8176 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" | 8177 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" |
8177 for ac_dir in $PATH; do | 8178 for ac_dir in $PATH; do |
8205 | 8206 |
8206 ld_dynamic_link_flags= | 8207 ld_dynamic_link_flags= |
8207 | 8208 |
8208 # Check to see if it really is or isn't GNU ld. | 8209 # Check to see if it really is or isn't GNU ld. |
8209 echo $ac_n "checking if the linker is GNU ld""... $ac_c" 1>&6 | 8210 echo $ac_n "checking if the linker is GNU ld""... $ac_c" 1>&6 |
8210 echo "configure:8211: checking if the linker is GNU ld" >&5 | 8211 echo "configure:8212: checking if the linker is GNU ld" >&5 |
8211 # I'd rather use --version here, but apparently some GNU ld's only accept -v. | 8212 # I'd rather use --version here, but apparently some GNU ld's only accept -v. |
8212 if $LTLD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then | 8213 if $LTLD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then |
8213 xe_gnu_ld=yes | 8214 xe_gnu_ld=yes |
8214 else | 8215 else |
8215 xe_gnu_ld=no | 8216 xe_gnu_ld=no |
8240 ld_shlibs=yes | 8241 ld_shlibs=yes |
8241 else | 8242 else |
8242 # OK - only NOW do we futz about with ld. | 8243 # OK - only NOW do we futz about with ld. |
8243 # See if the linker supports building shared libraries. | 8244 # See if the linker supports building shared libraries. |
8244 echo $ac_n "checking whether the linker supports shared libraries""... $ac_c" 1>&6 | 8245 echo $ac_n "checking whether the linker supports shared libraries""... $ac_c" 1>&6 |
8245 echo "configure:8246: checking whether the linker supports shared libraries" >&5 | 8246 echo "configure:8247: checking whether the linker supports shared libraries" >&5 |
8246 dll_ld=$CC | 8247 dll_ld=$CC |
8247 dll_ldflags=$LDFLAGS | 8248 dll_ldflags=$LDFLAGS |
8248 ld_shlibs=yes | 8249 ld_shlibs=yes |
8249 can_build_shared=yes | 8250 can_build_shared=yes |
8250 if test "$xe_gnu_ld" = yes && test "$gnu_ld_acts_native" != yes; then | 8251 if test "$xe_gnu_ld" = yes && test "$gnu_ld_acts_native" != yes; then |
8453 INSTALL_ARCH_DEP_SUBDIR="$INSTALL_ARCH_DEP_SUBDIR src" && if test "$extra_verbose" = "yes"; then echo " Appending \"src\" to \$INSTALL_ARCH_DEP_SUBDIR"; fi | 8454 INSTALL_ARCH_DEP_SUBDIR="$INSTALL_ARCH_DEP_SUBDIR src" && if test "$extra_verbose" = "yes"; then echo " Appending \"src\" to \$INSTALL_ARCH_DEP_SUBDIR"; fi |
8454 test -n "$libdl" && LIBS="-l${libdl} $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-l${libdl}\" to \$LIBS"; fi | 8455 test -n "$libdl" && LIBS="-l${libdl} $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-l${libdl}\" to \$LIBS"; fi |
8455 for ac_func in dlerror _dlerror | 8456 for ac_func in dlerror _dlerror |
8456 do | 8457 do |
8457 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 8458 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
8458 echo "configure:8459: checking for $ac_func" >&5 | 8459 echo "configure:8460: checking for $ac_func" >&5 |
8459 | 8460 |
8460 cat > conftest.$ac_ext <<EOF | 8461 cat > conftest.$ac_ext <<EOF |
8461 #line 8462 "configure" | 8462 #line 8463 "configure" |
8462 #include "confdefs.h" | 8463 #include "confdefs.h" |
8463 /* System header to define __stub macros and hopefully few prototypes, | 8464 /* System header to define __stub macros and hopefully few prototypes, |
8464 which can conflict with char $ac_func(); below. */ | 8465 which can conflict with char $ac_func(); below. */ |
8465 #include <assert.h> | 8466 #include <assert.h> |
8466 /* Override any gcc2 internal prototype to avoid an error. */ | 8467 /* Override any gcc2 internal prototype to avoid an error. */ |
8479 $ac_func(); | 8480 $ac_func(); |
8480 #endif | 8481 #endif |
8481 | 8482 |
8482 ; return 0; } | 8483 ; return 0; } |
8483 EOF | 8484 EOF |
8484 if { (eval echo configure:8485: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8485 if { (eval echo configure:8486: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8485 rm -rf conftest* | 8486 rm -rf conftest* |
8486 eval "ac_cv_func_$ac_func=yes" | 8487 eval "ac_cv_func_$ac_func=yes" |
8487 else | 8488 else |
8488 echo "configure: failed program was:" >&5 | 8489 echo "configure: failed program was:" >&5 |
8489 cat conftest.$ac_ext >&5 | 8490 cat conftest.$ac_ext >&5 |
8543 | 8544 |
8544 if test "$with_tooltalk" != "no" ; then | 8545 if test "$with_tooltalk" != "no" ; then |
8545 for dir in "" "Tt/" "desktop/" ; do | 8546 for dir in "" "Tt/" "desktop/" ; do |
8546 ac_safe=`echo "${dir}tt_c.h" | sed 'y%./+-%__p_%'` | 8547 ac_safe=`echo "${dir}tt_c.h" | sed 'y%./+-%__p_%'` |
8547 echo $ac_n "checking for ${dir}tt_c.h""... $ac_c" 1>&6 | 8548 echo $ac_n "checking for ${dir}tt_c.h""... $ac_c" 1>&6 |
8548 echo "configure:8549: checking for ${dir}tt_c.h" >&5 | 8549 echo "configure:8550: checking for ${dir}tt_c.h" >&5 |
8549 | 8550 |
8550 cat > conftest.$ac_ext <<EOF | 8551 cat > conftest.$ac_ext <<EOF |
8551 #line 8552 "configure" | 8552 #line 8553 "configure" |
8552 #include "confdefs.h" | 8553 #include "confdefs.h" |
8553 #include <${dir}tt_c.h> | 8554 #include <${dir}tt_c.h> |
8554 EOF | 8555 EOF |
8555 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8556 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8556 { (eval echo configure:8557: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8557 { (eval echo configure:8558: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8557 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 8558 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
8558 if test -z "$ac_err"; then | 8559 if test -z "$ac_err"; then |
8559 rm -rf conftest* | 8560 rm -rf conftest* |
8560 eval "ac_cv_header_$ac_safe=yes" | 8561 eval "ac_cv_header_$ac_safe=yes" |
8561 else | 8562 else |
8587 for extra_libs in "" "-lI18N -lce" "-lcxx"; do | 8588 for extra_libs in "" "-lI18N -lce" "-lcxx"; do |
8588 | 8589 |
8589 xe_msg_checking="for tt_message_create in -ltt" | 8590 xe_msg_checking="for tt_message_create in -ltt" |
8590 test -n "$extra_libs" && xe_msg_checking="$xe_msg_checking using extra libs $extra_libs" | 8591 test -n "$extra_libs" && xe_msg_checking="$xe_msg_checking using extra libs $extra_libs" |
8591 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 8592 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
8592 echo "configure:8593: checking "$xe_msg_checking"" >&5 | 8593 echo "configure:8594: checking "$xe_msg_checking"" >&5 |
8593 ac_lib_var=`echo tt'_'tt_message_create | sed 'y%./+-%__p_%'` | 8594 ac_lib_var=`echo tt'_'tt_message_create | sed 'y%./+-%__p_%'` |
8594 | 8595 |
8595 xe_check_libs=" -ltt $extra_libs" | 8596 xe_check_libs=" -ltt $extra_libs" |
8596 cat > conftest.$ac_ext <<EOF | 8597 cat > conftest.$ac_ext <<EOF |
8597 #line 8598 "configure" | 8598 #line 8599 "configure" |
8598 #include "confdefs.h" | 8599 #include "confdefs.h" |
8599 /* Override any gcc2 internal prototype to avoid an error. */ | 8600 /* Override any gcc2 internal prototype to avoid an error. */ |
8600 /* We use char because int might match the return type of a gcc2 | 8601 /* We use char because int might match the return type of a gcc2 |
8601 builtin and then its argument prototype would still apply. */ | 8602 builtin and then its argument prototype would still apply. */ |
8602 char tt_message_create(); | 8603 char tt_message_create(); |
8603 | 8604 |
8604 int main() { | 8605 int main() { |
8605 tt_message_create() | 8606 tt_message_create() |
8606 ; return 0; } | 8607 ; return 0; } |
8607 EOF | 8608 EOF |
8608 if { (eval echo configure:8609: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8609 if { (eval echo configure:8610: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8609 rm -rf conftest* | 8610 rm -rf conftest* |
8610 eval "ac_cv_lib_$ac_lib_var=yes" | 8611 eval "ac_cv_lib_$ac_lib_var=yes" |
8611 else | 8612 else |
8612 echo "configure: failed program was:" >&5 | 8613 echo "configure: failed program was:" >&5 |
8613 cat conftest.$ac_ext >&5 | 8614 cat conftest.$ac_ext >&5 |
8657 libs_x="$tt_libs $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$tt_libs\" to \$libs_x"; fi | 8658 libs_x="$tt_libs $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$tt_libs\" to \$libs_x"; fi |
8658 fi | 8659 fi |
8659 | 8660 |
8660 test -z "$with_cde" && { ac_safe=`echo "Dt/Dt.h" | sed 'y%./+-%__p_%'` | 8661 test -z "$with_cde" && { ac_safe=`echo "Dt/Dt.h" | sed 'y%./+-%__p_%'` |
8661 echo $ac_n "checking for Dt/Dt.h""... $ac_c" 1>&6 | 8662 echo $ac_n "checking for Dt/Dt.h""... $ac_c" 1>&6 |
8662 echo "configure:8663: checking for Dt/Dt.h" >&5 | 8663 echo "configure:8664: checking for Dt/Dt.h" >&5 |
8663 | 8664 |
8664 cat > conftest.$ac_ext <<EOF | 8665 cat > conftest.$ac_ext <<EOF |
8665 #line 8666 "configure" | 8666 #line 8667 "configure" |
8666 #include "confdefs.h" | 8667 #include "confdefs.h" |
8667 #include <Dt/Dt.h> | 8668 #include <Dt/Dt.h> |
8668 EOF | 8669 EOF |
8669 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8670 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8670 { (eval echo configure:8671: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8671 { (eval echo configure:8672: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8671 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 8672 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
8672 if test -z "$ac_err"; then | 8673 if test -z "$ac_err"; then |
8673 rm -rf conftest* | 8674 rm -rf conftest* |
8674 eval "ac_cv_header_$ac_safe=yes" | 8675 eval "ac_cv_header_$ac_safe=yes" |
8675 else | 8676 else |
8688 with_cde=no | 8689 with_cde=no |
8689 fi | 8690 fi |
8690 } | 8691 } |
8691 test -z "$with_cde" && { | 8692 test -z "$with_cde" && { |
8692 echo $ac_n "checking for DtDndDragStart in -lDtSvc""... $ac_c" 1>&6 | 8693 echo $ac_n "checking for DtDndDragStart in -lDtSvc""... $ac_c" 1>&6 |
8693 echo "configure:8694: checking for DtDndDragStart in -lDtSvc" >&5 | 8694 echo "configure:8695: checking for DtDndDragStart in -lDtSvc" >&5 |
8694 ac_lib_var=`echo DtSvc'_'DtDndDragStart | sed 'y%./+-%__p_%'` | 8695 ac_lib_var=`echo DtSvc'_'DtDndDragStart | sed 'y%./+-%__p_%'` |
8695 | 8696 |
8696 xe_check_libs=" -lDtSvc " | 8697 xe_check_libs=" -lDtSvc " |
8697 cat > conftest.$ac_ext <<EOF | 8698 cat > conftest.$ac_ext <<EOF |
8698 #line 8699 "configure" | 8699 #line 8700 "configure" |
8699 #include "confdefs.h" | 8700 #include "confdefs.h" |
8700 /* Override any gcc2 internal prototype to avoid an error. */ | 8701 /* Override any gcc2 internal prototype to avoid an error. */ |
8701 /* We use char because int might match the return type of a gcc2 | 8702 /* We use char because int might match the return type of a gcc2 |
8702 builtin and then its argument prototype would still apply. */ | 8703 builtin and then its argument prototype would still apply. */ |
8703 char DtDndDragStart(); | 8704 char DtDndDragStart(); |
8704 | 8705 |
8705 int main() { | 8706 int main() { |
8706 DtDndDragStart() | 8707 DtDndDragStart() |
8707 ; return 0; } | 8708 ; return 0; } |
8708 EOF | 8709 EOF |
8709 if { (eval echo configure:8710: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8710 if { (eval echo configure:8711: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8710 rm -rf conftest* | 8711 rm -rf conftest* |
8711 eval "ac_cv_lib_$ac_lib_var=yes" | 8712 eval "ac_cv_lib_$ac_lib_var=yes" |
8712 else | 8713 else |
8713 echo "configure: failed program was:" >&5 | 8714 echo "configure: failed program was:" >&5 |
8714 cat conftest.$ac_ext >&5 | 8715 cat conftest.$ac_ext >&5 |
8785 dragndrop_proto="$dragndrop_proto GTK" && if test "$extra_verbose" = "yes"; then echo " Appending \"GTK\" to \$dragndrop_proto"; fi | 8786 dragndrop_proto="$dragndrop_proto GTK" && if test "$extra_verbose" = "yes"; then echo " Appending \"GTK\" to \$dragndrop_proto"; fi |
8786 fi | 8787 fi |
8787 | 8788 |
8788 if test "$with_dragndrop" != "no" ; then | 8789 if test "$with_dragndrop" != "no" ; then |
8789 echo $ac_n "checking if drag and drop API is needed""... $ac_c" 1>&6 | 8790 echo $ac_n "checking if drag and drop API is needed""... $ac_c" 1>&6 |
8790 echo "configure:8791: checking if drag and drop API is needed" >&5 | 8791 echo "configure:8792: checking if drag and drop API is needed" >&5 |
8791 if test -n "$dragndrop_proto" ; then | 8792 if test -n "$dragndrop_proto" ; then |
8792 with_dragndrop=yes | 8793 with_dragndrop=yes |
8793 echo "$ac_t""yes (${dragndrop_proto} )" 1>&6 | 8794 echo "$ac_t""yes (${dragndrop_proto} )" 1>&6 |
8794 { test "$extra_verbose" = "yes" && cat << \EOF | 8795 { test "$extra_verbose" = "yes" && cat << \EOF |
8795 Defining HAVE_DRAGNDROP | 8796 Defining HAVE_DRAGNDROP |
8805 echo "$ac_t""no" 1>&6 | 8806 echo "$ac_t""no" 1>&6 |
8806 fi | 8807 fi |
8807 fi | 8808 fi |
8808 | 8809 |
8809 echo "checking for LDAP" 1>&6 | 8810 echo "checking for LDAP" 1>&6 |
8810 echo "configure:8811: checking for LDAP" >&5 | 8811 echo "configure:8812: checking for LDAP" >&5 |
8811 ldap_libs= | 8812 ldap_libs= |
8812 test -z "$with_ldap" && { ac_safe=`echo "ldap.h" | sed 'y%./+-%__p_%'` | 8813 test -z "$with_ldap" && { ac_safe=`echo "ldap.h" | sed 'y%./+-%__p_%'` |
8813 echo $ac_n "checking for ldap.h""... $ac_c" 1>&6 | 8814 echo $ac_n "checking for ldap.h""... $ac_c" 1>&6 |
8814 echo "configure:8815: checking for ldap.h" >&5 | 8815 echo "configure:8816: checking for ldap.h" >&5 |
8815 | 8816 |
8816 cat > conftest.$ac_ext <<EOF | 8817 cat > conftest.$ac_ext <<EOF |
8817 #line 8818 "configure" | 8818 #line 8819 "configure" |
8818 #include "confdefs.h" | 8819 #include "confdefs.h" |
8819 #include <ldap.h> | 8820 #include <ldap.h> |
8820 EOF | 8821 EOF |
8821 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8822 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8822 { (eval echo configure:8823: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8823 { (eval echo configure:8824: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8823 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 8824 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
8824 if test -z "$ac_err"; then | 8825 if test -z "$ac_err"; then |
8825 rm -rf conftest* | 8826 rm -rf conftest* |
8826 eval "ac_cv_header_$ac_safe=yes" | 8827 eval "ac_cv_header_$ac_safe=yes" |
8827 else | 8828 else |
8840 with_ldap=no | 8841 with_ldap=no |
8841 fi | 8842 fi |
8842 } | 8843 } |
8843 test -z "$with_ldap" && { ac_safe=`echo "lber.h" | sed 'y%./+-%__p_%'` | 8844 test -z "$with_ldap" && { ac_safe=`echo "lber.h" | sed 'y%./+-%__p_%'` |
8844 echo $ac_n "checking for lber.h""... $ac_c" 1>&6 | 8845 echo $ac_n "checking for lber.h""... $ac_c" 1>&6 |
8845 echo "configure:8846: checking for lber.h" >&5 | 8846 echo "configure:8847: checking for lber.h" >&5 |
8846 | 8847 |
8847 cat > conftest.$ac_ext <<EOF | 8848 cat > conftest.$ac_ext <<EOF |
8848 #line 8849 "configure" | 8849 #line 8850 "configure" |
8849 #include "confdefs.h" | 8850 #include "confdefs.h" |
8850 #include <lber.h> | 8851 #include <lber.h> |
8851 EOF | 8852 EOF |
8852 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8853 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8853 { (eval echo configure:8854: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8854 { (eval echo configure:8855: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8854 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 8855 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
8855 if test -z "$ac_err"; then | 8856 if test -z "$ac_err"; then |
8856 rm -rf conftest* | 8857 rm -rf conftest* |
8857 eval "ac_cv_header_$ac_safe=yes" | 8858 eval "ac_cv_header_$ac_safe=yes" |
8858 else | 8859 else |
8872 fi | 8873 fi |
8873 } | 8874 } |
8874 if test "$with_ldap" != "no"; then | 8875 if test "$with_ldap" != "no"; then |
8875 | 8876 |
8876 echo $ac_n "checking for ldap_search in -lldap""... $ac_c" 1>&6 | 8877 echo $ac_n "checking for ldap_search in -lldap""... $ac_c" 1>&6 |
8877 echo "configure:8878: checking for ldap_search in -lldap" >&5 | 8878 echo "configure:8879: checking for ldap_search in -lldap" >&5 |
8878 ac_lib_var=`echo ldap'_'ldap_search | sed 'y%./+-%__p_%'` | 8879 ac_lib_var=`echo ldap'_'ldap_search | sed 'y%./+-%__p_%'` |
8879 | 8880 |
8880 xe_check_libs=" -lldap " | 8881 xe_check_libs=" -lldap " |
8881 cat > conftest.$ac_ext <<EOF | 8882 cat > conftest.$ac_ext <<EOF |
8882 #line 8883 "configure" | 8883 #line 8884 "configure" |
8883 #include "confdefs.h" | 8884 #include "confdefs.h" |
8884 /* Override any gcc2 internal prototype to avoid an error. */ | 8885 /* Override any gcc2 internal prototype to avoid an error. */ |
8885 /* We use char because int might match the return type of a gcc2 | 8886 /* We use char because int might match the return type of a gcc2 |
8886 builtin and then its argument prototype would still apply. */ | 8887 builtin and then its argument prototype would still apply. */ |
8887 char ldap_search(); | 8888 char ldap_search(); |
8888 | 8889 |
8889 int main() { | 8890 int main() { |
8890 ldap_search() | 8891 ldap_search() |
8891 ; return 0; } | 8892 ; return 0; } |
8892 EOF | 8893 EOF |
8893 if { (eval echo configure:8894: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8894 if { (eval echo configure:8895: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8894 rm -rf conftest* | 8895 rm -rf conftest* |
8895 eval "ac_cv_lib_$ac_lib_var=yes" | 8896 eval "ac_cv_lib_$ac_lib_var=yes" |
8896 else | 8897 else |
8897 echo "configure: failed program was:" >&5 | 8898 echo "configure: failed program was:" >&5 |
8898 cat conftest.$ac_ext >&5 | 8899 cat conftest.$ac_ext >&5 |
8913 | 8914 |
8914 test "$with_ldap_nolber" = "no" && { | 8915 test "$with_ldap_nolber" = "no" && { |
8915 xe_msg_checking="for ldap_open in -lldap" | 8916 xe_msg_checking="for ldap_open in -lldap" |
8916 test -n "-llber" && xe_msg_checking="$xe_msg_checking using extra libs -llber" | 8917 test -n "-llber" && xe_msg_checking="$xe_msg_checking using extra libs -llber" |
8917 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 8918 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
8918 echo "configure:8919: checking "$xe_msg_checking"" >&5 | 8919 echo "configure:8920: checking "$xe_msg_checking"" >&5 |
8919 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` | 8920 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` |
8920 | 8921 |
8921 xe_check_libs=" -lldap -llber" | 8922 xe_check_libs=" -lldap -llber" |
8922 cat > conftest.$ac_ext <<EOF | 8923 cat > conftest.$ac_ext <<EOF |
8923 #line 8924 "configure" | 8924 #line 8925 "configure" |
8924 #include "confdefs.h" | 8925 #include "confdefs.h" |
8925 /* Override any gcc2 internal prototype to avoid an error. */ | 8926 /* Override any gcc2 internal prototype to avoid an error. */ |
8926 /* We use char because int might match the return type of a gcc2 | 8927 /* We use char because int might match the return type of a gcc2 |
8927 builtin and then its argument prototype would still apply. */ | 8928 builtin and then its argument prototype would still apply. */ |
8928 char ldap_open(); | 8929 char ldap_open(); |
8929 | 8930 |
8930 int main() { | 8931 int main() { |
8931 ldap_open() | 8932 ldap_open() |
8932 ; return 0; } | 8933 ; return 0; } |
8933 EOF | 8934 EOF |
8934 if { (eval echo configure:8935: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8935 if { (eval echo configure:8936: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8935 rm -rf conftest* | 8936 rm -rf conftest* |
8936 eval "ac_cv_lib_$ac_lib_var=yes" | 8937 eval "ac_cv_lib_$ac_lib_var=yes" |
8937 else | 8938 else |
8938 echo "configure: failed program was:" >&5 | 8939 echo "configure: failed program was:" >&5 |
8939 cat conftest.$ac_ext >&5 | 8940 cat conftest.$ac_ext >&5 |
8954 } | 8955 } |
8955 test "$with_ldap_nolber" = "no" -a "$with_ldap_lber" = "no" && { | 8956 test "$with_ldap_nolber" = "no" -a "$with_ldap_lber" = "no" && { |
8956 xe_msg_checking="for ldap_open in -lldap" | 8957 xe_msg_checking="for ldap_open in -lldap" |
8957 test -n "-llber -lkrb" && xe_msg_checking="$xe_msg_checking using extra libs -llber -lkrb" | 8958 test -n "-llber -lkrb" && xe_msg_checking="$xe_msg_checking using extra libs -llber -lkrb" |
8958 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 8959 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
8959 echo "configure:8960: checking "$xe_msg_checking"" >&5 | 8960 echo "configure:8961: checking "$xe_msg_checking"" >&5 |
8960 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` | 8961 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` |
8961 | 8962 |
8962 xe_check_libs=" -lldap -llber -lkrb" | 8963 xe_check_libs=" -lldap -llber -lkrb" |
8963 cat > conftest.$ac_ext <<EOF | 8964 cat > conftest.$ac_ext <<EOF |
8964 #line 8965 "configure" | 8965 #line 8966 "configure" |
8965 #include "confdefs.h" | 8966 #include "confdefs.h" |
8966 /* Override any gcc2 internal prototype to avoid an error. */ | 8967 /* Override any gcc2 internal prototype to avoid an error. */ |
8967 /* We use char because int might match the return type of a gcc2 | 8968 /* We use char because int might match the return type of a gcc2 |
8968 builtin and then its argument prototype would still apply. */ | 8969 builtin and then its argument prototype would still apply. */ |
8969 char ldap_open(); | 8970 char ldap_open(); |
8970 | 8971 |
8971 int main() { | 8972 int main() { |
8972 ldap_open() | 8973 ldap_open() |
8973 ; return 0; } | 8974 ; return 0; } |
8974 EOF | 8975 EOF |
8975 if { (eval echo configure:8976: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8976 if { (eval echo configure:8977: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8976 rm -rf conftest* | 8977 rm -rf conftest* |
8977 eval "ac_cv_lib_$ac_lib_var=yes" | 8978 eval "ac_cv_lib_$ac_lib_var=yes" |
8978 else | 8979 else |
8979 echo "configure: failed program was:" >&5 | 8980 echo "configure: failed program was:" >&5 |
8980 cat conftest.$ac_ext >&5 | 8981 cat conftest.$ac_ext >&5 |
8995 } | 8996 } |
8996 test "$with_ldap_nolber" = "no" -a "$with_ldap_lber" = "no" -a "$with_ldap_krb" = "no" && { | 8997 test "$with_ldap_nolber" = "no" -a "$with_ldap_lber" = "no" -a "$with_ldap_krb" = "no" && { |
8997 xe_msg_checking="for ldap_open in -lldap" | 8998 xe_msg_checking="for ldap_open in -lldap" |
8998 test -n "-llber -lkrb -ldes" && xe_msg_checking="$xe_msg_checking using extra libs -llber -lkrb -ldes" | 8999 test -n "-llber -lkrb -ldes" && xe_msg_checking="$xe_msg_checking using extra libs -llber -lkrb -ldes" |
8999 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 9000 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
9000 echo "configure:9001: checking "$xe_msg_checking"" >&5 | 9001 echo "configure:9002: checking "$xe_msg_checking"" >&5 |
9001 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` | 9002 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` |
9002 | 9003 |
9003 xe_check_libs=" -lldap -llber -lkrb -ldes" | 9004 xe_check_libs=" -lldap -llber -lkrb -ldes" |
9004 cat > conftest.$ac_ext <<EOF | 9005 cat > conftest.$ac_ext <<EOF |
9005 #line 9006 "configure" | 9006 #line 9007 "configure" |
9006 #include "confdefs.h" | 9007 #include "confdefs.h" |
9007 /* Override any gcc2 internal prototype to avoid an error. */ | 9008 /* Override any gcc2 internal prototype to avoid an error. */ |
9008 /* We use char because int might match the return type of a gcc2 | 9009 /* We use char because int might match the return type of a gcc2 |
9009 builtin and then its argument prototype would still apply. */ | 9010 builtin and then its argument prototype would still apply. */ |
9010 char ldap_open(); | 9011 char ldap_open(); |
9011 | 9012 |
9012 int main() { | 9013 int main() { |
9013 ldap_open() | 9014 ldap_open() |
9014 ; return 0; } | 9015 ; return 0; } |
9015 EOF | 9016 EOF |
9016 if { (eval echo configure:9017: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9017 if { (eval echo configure:9018: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9017 rm -rf conftest* | 9018 rm -rf conftest* |
9018 eval "ac_cv_lib_$ac_lib_var=yes" | 9019 eval "ac_cv_lib_$ac_lib_var=yes" |
9019 else | 9020 else |
9020 echo "configure: failed program was:" >&5 | 9021 echo "configure: failed program was:" >&5 |
9021 cat conftest.$ac_ext >&5 | 9022 cat conftest.$ac_ext >&5 |
9060 fi | 9061 fi |
9061 save_LIBS="$LIBS" LIBS="$LIBS $ldap_libs" | 9062 save_LIBS="$LIBS" LIBS="$LIBS $ldap_libs" |
9062 for ac_func in ldap_set_option ldap_get_lderrno ldap_result2error ldap_parse_result | 9063 for ac_func in ldap_set_option ldap_get_lderrno ldap_result2error ldap_parse_result |
9063 do | 9064 do |
9064 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 9065 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
9065 echo "configure:9066: checking for $ac_func" >&5 | 9066 echo "configure:9067: checking for $ac_func" >&5 |
9066 | 9067 |
9067 cat > conftest.$ac_ext <<EOF | 9068 cat > conftest.$ac_ext <<EOF |
9068 #line 9069 "configure" | 9069 #line 9070 "configure" |
9069 #include "confdefs.h" | 9070 #include "confdefs.h" |
9070 /* System header to define __stub macros and hopefully few prototypes, | 9071 /* System header to define __stub macros and hopefully few prototypes, |
9071 which can conflict with char $ac_func(); below. */ | 9072 which can conflict with char $ac_func(); below. */ |
9072 #include <assert.h> | 9073 #include <assert.h> |
9073 /* Override any gcc2 internal prototype to avoid an error. */ | 9074 /* Override any gcc2 internal prototype to avoid an error. */ |
9086 $ac_func(); | 9087 $ac_func(); |
9087 #endif | 9088 #endif |
9088 | 9089 |
9089 ; return 0; } | 9090 ; return 0; } |
9090 EOF | 9091 EOF |
9091 if { (eval echo configure:9092: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9092 if { (eval echo configure:9093: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9092 rm -rf conftest* | 9093 rm -rf conftest* |
9093 eval "ac_cv_func_$ac_func=yes" | 9094 eval "ac_cv_func_$ac_func=yes" |
9094 else | 9095 else |
9095 echo "configure: failed program was:" >&5 | 9096 echo "configure: failed program was:" >&5 |
9096 cat conftest.$ac_ext >&5 | 9097 cat conftest.$ac_ext >&5 |
9125 | 9126 |
9126 | 9127 |
9127 postgresql_libs= | 9128 postgresql_libs= |
9128 if test "$with_postgresql" != "no"; then | 9129 if test "$with_postgresql" != "no"; then |
9129 echo "checking for PostgreSQL" 1>&6 | 9130 echo "checking for PostgreSQL" 1>&6 |
9130 echo "configure:9131: checking for PostgreSQL" >&5 | 9131 echo "configure:9132: checking for PostgreSQL" >&5 |
9131 | 9132 |
9132 for header_dir in "" "pgsql/" "postgresql/"; do | 9133 for header_dir in "" "pgsql/" "postgresql/"; do |
9133 ac_safe=`echo "${header_dir}libpq-fe.h" | sed 'y%./+-%__p_%'` | 9134 ac_safe=`echo "${header_dir}libpq-fe.h" | sed 'y%./+-%__p_%'` |
9134 echo $ac_n "checking for ${header_dir}libpq-fe.h""... $ac_c" 1>&6 | 9135 echo $ac_n "checking for ${header_dir}libpq-fe.h""... $ac_c" 1>&6 |
9135 echo "configure:9136: checking for ${header_dir}libpq-fe.h" >&5 | 9136 echo "configure:9137: checking for ${header_dir}libpq-fe.h" >&5 |
9136 | 9137 |
9137 cat > conftest.$ac_ext <<EOF | 9138 cat > conftest.$ac_ext <<EOF |
9138 #line 9139 "configure" | 9139 #line 9140 "configure" |
9139 #include "confdefs.h" | 9140 #include "confdefs.h" |
9140 #include <${header_dir}libpq-fe.h> | 9141 #include <${header_dir}libpq-fe.h> |
9141 EOF | 9142 EOF |
9142 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9143 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9143 { (eval echo configure:9144: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9144 { (eval echo configure:9145: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9144 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9145 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
9145 if test -z "$ac_err"; then | 9146 if test -z "$ac_err"; then |
9146 rm -rf conftest* | 9147 rm -rf conftest* |
9147 eval "ac_cv_header_$ac_safe=yes" | 9148 eval "ac_cv_header_$ac_safe=yes" |
9148 else | 9149 else |
9162 | 9163 |
9163 done | 9164 done |
9164 | 9165 |
9165 test -n "$libpq_fe_h_file" && { | 9166 test -n "$libpq_fe_h_file" && { |
9166 echo $ac_n "checking for PQconnectdb in -lpq""... $ac_c" 1>&6 | 9167 echo $ac_n "checking for PQconnectdb in -lpq""... $ac_c" 1>&6 |
9167 echo "configure:9168: checking for PQconnectdb in -lpq" >&5 | 9168 echo "configure:9169: checking for PQconnectdb in -lpq" >&5 |
9168 ac_lib_var=`echo pq'_'PQconnectdb | sed 'y%./+-%__p_%'` | 9169 ac_lib_var=`echo pq'_'PQconnectdb | sed 'y%./+-%__p_%'` |
9169 | 9170 |
9170 xe_check_libs=" -lpq " | 9171 xe_check_libs=" -lpq " |
9171 cat > conftest.$ac_ext <<EOF | 9172 cat > conftest.$ac_ext <<EOF |
9172 #line 9173 "configure" | 9173 #line 9174 "configure" |
9173 #include "confdefs.h" | 9174 #include "confdefs.h" |
9174 /* Override any gcc2 internal prototype to avoid an error. */ | 9175 /* Override any gcc2 internal prototype to avoid an error. */ |
9175 /* We use char because int might match the return type of a gcc2 | 9176 /* We use char because int might match the return type of a gcc2 |
9176 builtin and then its argument prototype would still apply. */ | 9177 builtin and then its argument prototype would still apply. */ |
9177 char PQconnectdb(); | 9178 char PQconnectdb(); |
9178 | 9179 |
9179 int main() { | 9180 int main() { |
9180 PQconnectdb() | 9181 PQconnectdb() |
9181 ; return 0; } | 9182 ; return 0; } |
9182 EOF | 9183 EOF |
9183 if { (eval echo configure:9184: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9184 if { (eval echo configure:9185: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9184 rm -rf conftest* | 9185 rm -rf conftest* |
9185 eval "ac_cv_lib_$ac_lib_var=yes" | 9186 eval "ac_cv_lib_$ac_lib_var=yes" |
9186 else | 9187 else |
9187 echo "configure: failed program was:" >&5 | 9188 echo "configure: failed program was:" >&5 |
9188 cat conftest.$ac_ext >&5 | 9189 cat conftest.$ac_ext >&5 |
9211 EOF | 9212 EOF |
9212 } | 9213 } |
9213 | 9214 |
9214 | 9215 |
9215 echo $ac_n "checking for PQconnectStart in -lpq""... $ac_c" 1>&6 | 9216 echo $ac_n "checking for PQconnectStart in -lpq""... $ac_c" 1>&6 |
9216 echo "configure:9217: checking for PQconnectStart in -lpq" >&5 | 9217 echo "configure:9218: checking for PQconnectStart in -lpq" >&5 |
9217 ac_lib_var=`echo pq'_'PQconnectStart | sed 'y%./+-%__p_%'` | 9218 ac_lib_var=`echo pq'_'PQconnectStart | sed 'y%./+-%__p_%'` |
9218 | 9219 |
9219 xe_check_libs=" -lpq " | 9220 xe_check_libs=" -lpq " |
9220 cat > conftest.$ac_ext <<EOF | 9221 cat > conftest.$ac_ext <<EOF |
9221 #line 9222 "configure" | 9222 #line 9223 "configure" |
9222 #include "confdefs.h" | 9223 #include "confdefs.h" |
9223 /* Override any gcc2 internal prototype to avoid an error. */ | 9224 /* Override any gcc2 internal prototype to avoid an error. */ |
9224 /* We use char because int might match the return type of a gcc2 | 9225 /* We use char because int might match the return type of a gcc2 |
9225 builtin and then its argument prototype would still apply. */ | 9226 builtin and then its argument prototype would still apply. */ |
9226 char PQconnectStart(); | 9227 char PQconnectStart(); |
9227 | 9228 |
9228 int main() { | 9229 int main() { |
9229 PQconnectStart() | 9230 PQconnectStart() |
9230 ; return 0; } | 9231 ; return 0; } |
9231 EOF | 9232 EOF |
9232 if { (eval echo configure:9233: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9233 if { (eval echo configure:9234: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9233 rm -rf conftest* | 9234 rm -rf conftest* |
9234 eval "ac_cv_lib_$ac_lib_var=yes" | 9235 eval "ac_cv_lib_$ac_lib_var=yes" |
9235 else | 9236 else |
9236 echo "configure: failed program was:" >&5 | 9237 echo "configure: failed program was:" >&5 |
9237 cat conftest.$ac_ext >&5 | 9238 cat conftest.$ac_ext >&5 |
9278 | 9279 |
9279 | 9280 |
9280 | 9281 |
9281 if test "$window_system" != "none"; then | 9282 if test "$window_system" != "none"; then |
9282 echo "checking for graphics libraries" 1>&6 | 9283 echo "checking for graphics libraries" 1>&6 |
9283 echo "configure:9284: checking for graphics libraries" >&5 | 9284 echo "configure:9285: checking for graphics libraries" >&5 |
9284 | 9285 |
9285 libpath_xpm= | 9286 libpath_xpm= |
9286 incpath_xpm= | 9287 incpath_xpm= |
9287 case "$opsys" in | 9288 case "$opsys" in |
9288 cygwin*) | 9289 cygwin*) |
9304 xpm_problem="" | 9305 xpm_problem="" |
9305 if test -z "$with_xpm"; then | 9306 if test -z "$with_xpm"; then |
9306 CFLAGS=""$incpath_xpm" $CFLAGS" && if test "$extra_verbose" = "yes"; then echo " Prepending \""$incpath_xpm"\" to \$CFLAGS"; fi | 9307 CFLAGS=""$incpath_xpm" $CFLAGS" && if test "$extra_verbose" = "yes"; then echo " Prepending \""$incpath_xpm"\" to \$CFLAGS"; fi |
9307 LDFLAGS=""$libpath_xpm" $LDFLAGS" && if test "$extra_verbose" = "yes"; then echo " Prepending \""$libpath_xpm"\" to \$LDFLAGS"; fi | 9308 LDFLAGS=""$libpath_xpm" $LDFLAGS" && if test "$extra_verbose" = "yes"; then echo " Prepending \""$libpath_xpm"\" to \$LDFLAGS"; fi |
9308 echo $ac_n "checking for Xpm - no older than 3.4f""... $ac_c" 1>&6 | 9309 echo $ac_n "checking for Xpm - no older than 3.4f""... $ac_c" 1>&6 |
9309 echo "configure:9310: checking for Xpm - no older than 3.4f" >&5 | 9310 echo "configure:9311: checking for Xpm - no older than 3.4f" >&5 |
9310 xe_check_libs=-lXpm | 9311 xe_check_libs=-lXpm |
9311 cat > conftest.$ac_ext <<EOF | 9312 cat > conftest.$ac_ext <<EOF |
9312 #line 9313 "configure" | 9313 #line 9314 "configure" |
9313 #include "confdefs.h" | 9314 #include "confdefs.h" |
9314 #define XPM_NUMBERS | 9315 #define XPM_NUMBERS |
9315 #include <X11/xpm.h> | 9316 #include <X11/xpm.h> |
9316 int main(int c, char **v) { | 9317 int main(int c, char **v) { |
9317 return c == 1 ? 0 : | 9318 return c == 1 ? 0 : |
9318 XpmIncludeVersion != XpmLibraryVersion() ? 1 : | 9319 XpmIncludeVersion != XpmLibraryVersion() ? 1 : |
9319 XpmIncludeVersion < 30406 ? 2 : 0 ;} | 9320 XpmIncludeVersion < 30406 ? 2 : 0 ;} |
9320 EOF | 9321 EOF |
9321 if { (eval echo configure:9322: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 9322 if { (eval echo configure:9323: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
9322 then | 9323 then |
9323 ./conftest dummy_arg; xpm_status=$?; | 9324 ./conftest dummy_arg; xpm_status=$?; |
9324 if test "$xpm_status" = "0"; then | 9325 if test "$xpm_status" = "0"; then |
9325 with_xpm=yes; | 9326 with_xpm=yes; |
9326 else | 9327 else |
9360 | 9361 |
9361 LDFLAGS=""$libpath_xpm" $LDFLAGS" && if test "$extra_verbose" = "yes"; then echo " Prepending \""$libpath_xpm"\" to \$LDFLAGS"; fi | 9362 LDFLAGS=""$libpath_xpm" $LDFLAGS" && if test "$extra_verbose" = "yes"; then echo " Prepending \""$libpath_xpm"\" to \$LDFLAGS"; fi |
9362 libs_x="-lXpm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXpm\" to \$libs_x"; fi | 9363 libs_x="-lXpm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXpm\" to \$libs_x"; fi |
9363 CFLAGS=""$incpath_xpm" $CFLAGS" && if test "$extra_verbose" = "yes"; then echo " Prepending \""$incpath_xpm"\" to \$CFLAGS"; fi | 9364 CFLAGS=""$incpath_xpm" $CFLAGS" && if test "$extra_verbose" = "yes"; then echo " Prepending \""$incpath_xpm"\" to \$CFLAGS"; fi |
9364 echo $ac_n "checking for \"FOR_MSW\" xpm""... $ac_c" 1>&6 | 9365 echo $ac_n "checking for \"FOR_MSW\" xpm""... $ac_c" 1>&6 |
9365 echo "configure:9366: checking for \"FOR_MSW\" xpm" >&5 | 9366 echo "configure:9367: checking for \"FOR_MSW\" xpm" >&5 |
9366 xe_check_libs=-lXpm | 9367 xe_check_libs=-lXpm |
9367 cat > conftest.$ac_ext <<EOF | 9368 cat > conftest.$ac_ext <<EOF |
9368 #line 9369 "configure" | 9369 #line 9370 "configure" |
9369 #include "confdefs.h" | 9370 #include "confdefs.h" |
9370 | 9371 |
9371 int main() { | 9372 int main() { |
9372 XpmCreatePixmapFromData() | 9373 XpmCreatePixmapFromData() |
9373 ; return 0; } | 9374 ; return 0; } |
9374 EOF | 9375 EOF |
9375 if { (eval echo configure:9376: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9376 if { (eval echo configure:9377: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9376 rm -rf conftest* | 9377 rm -rf conftest* |
9377 xpm_for_msw=no | 9378 xpm_for_msw=no |
9378 else | 9379 else |
9379 echo "configure: failed program was:" >&5 | 9380 echo "configure: failed program was:" >&5 |
9380 cat conftest.$ac_ext >&5 | 9381 cat conftest.$ac_ext >&5 |
9396 fi | 9397 fi |
9397 fi | 9398 fi |
9398 | 9399 |
9399 test -z "$with_xface" && { ac_safe=`echo "compface.h" | sed 'y%./+-%__p_%'` | 9400 test -z "$with_xface" && { ac_safe=`echo "compface.h" | sed 'y%./+-%__p_%'` |
9400 echo $ac_n "checking for compface.h""... $ac_c" 1>&6 | 9401 echo $ac_n "checking for compface.h""... $ac_c" 1>&6 |
9401 echo "configure:9402: checking for compface.h" >&5 | 9402 echo "configure:9403: checking for compface.h" >&5 |
9402 | 9403 |
9403 cat > conftest.$ac_ext <<EOF | 9404 cat > conftest.$ac_ext <<EOF |
9404 #line 9405 "configure" | 9405 #line 9406 "configure" |
9405 #include "confdefs.h" | 9406 #include "confdefs.h" |
9406 #include <compface.h> | 9407 #include <compface.h> |
9407 EOF | 9408 EOF |
9408 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9409 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9409 { (eval echo configure:9410: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9410 { (eval echo configure:9411: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9410 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9411 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
9411 if test -z "$ac_err"; then | 9412 if test -z "$ac_err"; then |
9412 rm -rf conftest* | 9413 rm -rf conftest* |
9413 eval "ac_cv_header_$ac_safe=yes" | 9414 eval "ac_cv_header_$ac_safe=yes" |
9414 else | 9415 else |
9427 with_xface=no | 9428 with_xface=no |
9428 fi | 9429 fi |
9429 } | 9430 } |
9430 test -z "$with_xface" && { | 9431 test -z "$with_xface" && { |
9431 echo $ac_n "checking for UnGenFace in -lcompface""... $ac_c" 1>&6 | 9432 echo $ac_n "checking for UnGenFace in -lcompface""... $ac_c" 1>&6 |
9432 echo "configure:9433: checking for UnGenFace in -lcompface" >&5 | 9433 echo "configure:9434: checking for UnGenFace in -lcompface" >&5 |
9433 ac_lib_var=`echo compface'_'UnGenFace | sed 'y%./+-%__p_%'` | 9434 ac_lib_var=`echo compface'_'UnGenFace | sed 'y%./+-%__p_%'` |
9434 | 9435 |
9435 xe_check_libs=" -lcompface " | 9436 xe_check_libs=" -lcompface " |
9436 cat > conftest.$ac_ext <<EOF | 9437 cat > conftest.$ac_ext <<EOF |
9437 #line 9438 "configure" | 9438 #line 9439 "configure" |
9438 #include "confdefs.h" | 9439 #include "confdefs.h" |
9439 /* Override any gcc2 internal prototype to avoid an error. */ | 9440 /* Override any gcc2 internal prototype to avoid an error. */ |
9440 /* We use char because int might match the return type of a gcc2 | 9441 /* We use char because int might match the return type of a gcc2 |
9441 builtin and then its argument prototype would still apply. */ | 9442 builtin and then its argument prototype would still apply. */ |
9442 char UnGenFace(); | 9443 char UnGenFace(); |
9443 | 9444 |
9444 int main() { | 9445 int main() { |
9445 UnGenFace() | 9446 UnGenFace() |
9446 ; return 0; } | 9447 ; return 0; } |
9447 EOF | 9448 EOF |
9448 if { (eval echo configure:9449: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9449 if { (eval echo configure:9450: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9449 rm -rf conftest* | 9450 rm -rf conftest* |
9450 eval "ac_cv_lib_$ac_lib_var=yes" | 9451 eval "ac_cv_lib_$ac_lib_var=yes" |
9451 else | 9452 else |
9452 echo "configure: failed program was:" >&5 | 9453 echo "configure: failed program was:" >&5 |
9453 cat conftest.$ac_ext >&5 | 9454 cat conftest.$ac_ext >&5 |
9492 fi | 9493 fi |
9493 | 9494 |
9494 if test "$with_png $with_tiff" != "no no"; then | 9495 if test "$with_png $with_tiff" != "no no"; then |
9495 | 9496 |
9496 echo $ac_n "checking for inflate in -lc""... $ac_c" 1>&6 | 9497 echo $ac_n "checking for inflate in -lc""... $ac_c" 1>&6 |
9497 echo "configure:9498: checking for inflate in -lc" >&5 | 9498 echo "configure:9499: checking for inflate in -lc" >&5 |
9498 ac_lib_var=`echo c'_'inflate | sed 'y%./+-%__p_%'` | 9499 ac_lib_var=`echo c'_'inflate | sed 'y%./+-%__p_%'` |
9499 | 9500 |
9500 xe_check_libs=" -lc " | 9501 xe_check_libs=" -lc " |
9501 cat > conftest.$ac_ext <<EOF | 9502 cat > conftest.$ac_ext <<EOF |
9502 #line 9503 "configure" | 9503 #line 9504 "configure" |
9503 #include "confdefs.h" | 9504 #include "confdefs.h" |
9504 /* Override any gcc2 internal prototype to avoid an error. */ | 9505 /* Override any gcc2 internal prototype to avoid an error. */ |
9505 /* We use char because int might match the return type of a gcc2 | 9506 /* We use char because int might match the return type of a gcc2 |
9506 builtin and then its argument prototype would still apply. */ | 9507 builtin and then its argument prototype would still apply. */ |
9507 char inflate(); | 9508 char inflate(); |
9508 | 9509 |
9509 int main() { | 9510 int main() { |
9510 inflate() | 9511 inflate() |
9511 ; return 0; } | 9512 ; return 0; } |
9512 EOF | 9513 EOF |
9513 if { (eval echo configure:9514: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9514 if { (eval echo configure:9515: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9514 rm -rf conftest* | 9515 rm -rf conftest* |
9515 eval "ac_cv_lib_$ac_lib_var=yes" | 9516 eval "ac_cv_lib_$ac_lib_var=yes" |
9516 else | 9517 else |
9517 echo "configure: failed program was:" >&5 | 9518 echo "configure: failed program was:" >&5 |
9518 cat conftest.$ac_ext >&5 | 9519 cat conftest.$ac_ext >&5 |
9527 : | 9528 : |
9528 else | 9529 else |
9529 echo "$ac_t""no" 1>&6 | 9530 echo "$ac_t""no" 1>&6 |
9530 | 9531 |
9531 echo $ac_n "checking for inflate in -lz""... $ac_c" 1>&6 | 9532 echo $ac_n "checking for inflate in -lz""... $ac_c" 1>&6 |
9532 echo "configure:9533: checking for inflate in -lz" >&5 | 9533 echo "configure:9534: checking for inflate in -lz" >&5 |
9533 ac_lib_var=`echo z'_'inflate | sed 'y%./+-%__p_%'` | 9534 ac_lib_var=`echo z'_'inflate | sed 'y%./+-%__p_%'` |
9534 | 9535 |
9535 xe_check_libs=" -lz " | 9536 xe_check_libs=" -lz " |
9536 cat > conftest.$ac_ext <<EOF | 9537 cat > conftest.$ac_ext <<EOF |
9537 #line 9538 "configure" | 9538 #line 9539 "configure" |
9538 #include "confdefs.h" | 9539 #include "confdefs.h" |
9539 /* Override any gcc2 internal prototype to avoid an error. */ | 9540 /* Override any gcc2 internal prototype to avoid an error. */ |
9540 /* We use char because int might match the return type of a gcc2 | 9541 /* We use char because int might match the return type of a gcc2 |
9541 builtin and then its argument prototype would still apply. */ | 9542 builtin and then its argument prototype would still apply. */ |
9542 char inflate(); | 9543 char inflate(); |
9543 | 9544 |
9544 int main() { | 9545 int main() { |
9545 inflate() | 9546 inflate() |
9546 ; return 0; } | 9547 ; return 0; } |
9547 EOF | 9548 EOF |
9548 if { (eval echo configure:9549: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9549 if { (eval echo configure:9550: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9549 rm -rf conftest* | 9550 rm -rf conftest* |
9550 eval "ac_cv_lib_$ac_lib_var=yes" | 9551 eval "ac_cv_lib_$ac_lib_var=yes" |
9551 else | 9552 else |
9552 echo "configure: failed program was:" >&5 | 9553 echo "configure: failed program was:" >&5 |
9553 cat conftest.$ac_ext >&5 | 9554 cat conftest.$ac_ext >&5 |
9562 libs_x="-lz $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lz\" to \$libs_x"; fi | 9563 libs_x="-lz $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lz\" to \$libs_x"; fi |
9563 else | 9564 else |
9564 echo "$ac_t""no" 1>&6 | 9565 echo "$ac_t""no" 1>&6 |
9565 | 9566 |
9566 echo $ac_n "checking for inflate in -lgz""... $ac_c" 1>&6 | 9567 echo $ac_n "checking for inflate in -lgz""... $ac_c" 1>&6 |
9567 echo "configure:9568: checking for inflate in -lgz" >&5 | 9568 echo "configure:9569: checking for inflate in -lgz" >&5 |
9568 ac_lib_var=`echo gz'_'inflate | sed 'y%./+-%__p_%'` | 9569 ac_lib_var=`echo gz'_'inflate | sed 'y%./+-%__p_%'` |
9569 | 9570 |
9570 xe_check_libs=" -lgz " | 9571 xe_check_libs=" -lgz " |
9571 cat > conftest.$ac_ext <<EOF | 9572 cat > conftest.$ac_ext <<EOF |
9572 #line 9573 "configure" | 9573 #line 9574 "configure" |
9573 #include "confdefs.h" | 9574 #include "confdefs.h" |
9574 /* Override any gcc2 internal prototype to avoid an error. */ | 9575 /* Override any gcc2 internal prototype to avoid an error. */ |
9575 /* We use char because int might match the return type of a gcc2 | 9576 /* We use char because int might match the return type of a gcc2 |
9576 builtin and then its argument prototype would still apply. */ | 9577 builtin and then its argument prototype would still apply. */ |
9577 char inflate(); | 9578 char inflate(); |
9578 | 9579 |
9579 int main() { | 9580 int main() { |
9580 inflate() | 9581 inflate() |
9581 ; return 0; } | 9582 ; return 0; } |
9582 EOF | 9583 EOF |
9583 if { (eval echo configure:9584: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9584 if { (eval echo configure:9585: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9584 rm -rf conftest* | 9585 rm -rf conftest* |
9585 eval "ac_cv_lib_$ac_lib_var=yes" | 9586 eval "ac_cv_lib_$ac_lib_var=yes" |
9586 else | 9587 else |
9587 echo "configure: failed program was:" >&5 | 9588 echo "configure: failed program was:" >&5 |
9588 cat conftest.$ac_ext >&5 | 9589 cat conftest.$ac_ext >&5 |
9608 | 9609 |
9609 fi | 9610 fi |
9610 | 9611 |
9611 test -z "$with_jpeg" && { ac_safe=`echo "jpeglib.h" | sed 'y%./+-%__p_%'` | 9612 test -z "$with_jpeg" && { ac_safe=`echo "jpeglib.h" | sed 'y%./+-%__p_%'` |
9612 echo $ac_n "checking for jpeglib.h""... $ac_c" 1>&6 | 9613 echo $ac_n "checking for jpeglib.h""... $ac_c" 1>&6 |
9613 echo "configure:9614: checking for jpeglib.h" >&5 | 9614 echo "configure:9615: checking for jpeglib.h" >&5 |
9614 | 9615 |
9615 cat > conftest.$ac_ext <<EOF | 9616 cat > conftest.$ac_ext <<EOF |
9616 #line 9617 "configure" | 9617 #line 9618 "configure" |
9617 #include "confdefs.h" | 9618 #include "confdefs.h" |
9618 #include <jpeglib.h> | 9619 #include <jpeglib.h> |
9619 EOF | 9620 EOF |
9620 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9621 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9621 { (eval echo configure:9622: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9622 { (eval echo configure:9623: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9622 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9623 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
9623 if test -z "$ac_err"; then | 9624 if test -z "$ac_err"; then |
9624 rm -rf conftest* | 9625 rm -rf conftest* |
9625 eval "ac_cv_header_$ac_safe=yes" | 9626 eval "ac_cv_header_$ac_safe=yes" |
9626 else | 9627 else |
9639 with_jpeg=no | 9640 with_jpeg=no |
9640 fi | 9641 fi |
9641 } | 9642 } |
9642 test -z "$with_jpeg" && { | 9643 test -z "$with_jpeg" && { |
9643 echo $ac_n "checking for jpeg_destroy_decompress in -ljpeg""... $ac_c" 1>&6 | 9644 echo $ac_n "checking for jpeg_destroy_decompress in -ljpeg""... $ac_c" 1>&6 |
9644 echo "configure:9645: checking for jpeg_destroy_decompress in -ljpeg" >&5 | 9645 echo "configure:9646: checking for jpeg_destroy_decompress in -ljpeg" >&5 |
9645 ac_lib_var=`echo jpeg'_'jpeg_destroy_decompress | sed 'y%./+-%__p_%'` | 9646 ac_lib_var=`echo jpeg'_'jpeg_destroy_decompress | sed 'y%./+-%__p_%'` |
9646 | 9647 |
9647 xe_check_libs=" -ljpeg " | 9648 xe_check_libs=" -ljpeg " |
9648 cat > conftest.$ac_ext <<EOF | 9649 cat > conftest.$ac_ext <<EOF |
9649 #line 9650 "configure" | 9650 #line 9651 "configure" |
9650 #include "confdefs.h" | 9651 #include "confdefs.h" |
9651 /* Override any gcc2 internal prototype to avoid an error. */ | 9652 /* Override any gcc2 internal prototype to avoid an error. */ |
9652 /* We use char because int might match the return type of a gcc2 | 9653 /* We use char because int might match the return type of a gcc2 |
9653 builtin and then its argument prototype would still apply. */ | 9654 builtin and then its argument prototype would still apply. */ |
9654 char jpeg_destroy_decompress(); | 9655 char jpeg_destroy_decompress(); |
9655 | 9656 |
9656 int main() { | 9657 int main() { |
9657 jpeg_destroy_decompress() | 9658 jpeg_destroy_decompress() |
9658 ; return 0; } | 9659 ; return 0; } |
9659 EOF | 9660 EOF |
9660 if { (eval echo configure:9661: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9661 if { (eval echo configure:9662: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9661 rm -rf conftest* | 9662 rm -rf conftest* |
9662 eval "ac_cv_lib_$ac_lib_var=yes" | 9663 eval "ac_cv_lib_$ac_lib_var=yes" |
9663 else | 9664 else |
9664 echo "configure: failed program was:" >&5 | 9665 echo "configure: failed program was:" >&5 |
9665 cat conftest.$ac_ext >&5 | 9666 cat conftest.$ac_ext >&5 |
9691 libs_x="-ljpeg $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-ljpeg\" to \$libs_x"; fi | 9692 libs_x="-ljpeg $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-ljpeg\" to \$libs_x"; fi |
9692 fi | 9693 fi |
9693 | 9694 |
9694 png_problem="" | 9695 png_problem="" |
9695 test -z "$with_png" && { echo $ac_n "checking for pow""... $ac_c" 1>&6 | 9696 test -z "$with_png" && { echo $ac_n "checking for pow""... $ac_c" 1>&6 |
9696 echo "configure:9697: checking for pow" >&5 | 9697 echo "configure:9698: checking for pow" >&5 |
9697 | 9698 |
9698 cat > conftest.$ac_ext <<EOF | 9699 cat > conftest.$ac_ext <<EOF |
9699 #line 9700 "configure" | 9700 #line 9701 "configure" |
9700 #include "confdefs.h" | 9701 #include "confdefs.h" |
9701 /* System header to define __stub macros and hopefully few prototypes, | 9702 /* System header to define __stub macros and hopefully few prototypes, |
9702 which can conflict with char pow(); below. */ | 9703 which can conflict with char pow(); below. */ |
9703 #include <assert.h> | 9704 #include <assert.h> |
9704 /* Override any gcc2 internal prototype to avoid an error. */ | 9705 /* Override any gcc2 internal prototype to avoid an error. */ |
9717 pow(); | 9718 pow(); |
9718 #endif | 9719 #endif |
9719 | 9720 |
9720 ; return 0; } | 9721 ; return 0; } |
9721 EOF | 9722 EOF |
9722 if { (eval echo configure:9723: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9723 if { (eval echo configure:9724: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9723 rm -rf conftest* | 9724 rm -rf conftest* |
9724 eval "ac_cv_func_pow=yes" | 9725 eval "ac_cv_func_pow=yes" |
9725 else | 9726 else |
9726 echo "configure: failed program was:" >&5 | 9727 echo "configure: failed program was:" >&5 |
9727 cat conftest.$ac_ext >&5 | 9728 cat conftest.$ac_ext >&5 |
9738 with_png=no | 9739 with_png=no |
9739 fi | 9740 fi |
9740 } | 9741 } |
9741 test -z "$with_png" && { ac_safe=`echo "png.h" | sed 'y%./+-%__p_%'` | 9742 test -z "$with_png" && { ac_safe=`echo "png.h" | sed 'y%./+-%__p_%'` |
9742 echo $ac_n "checking for png.h""... $ac_c" 1>&6 | 9743 echo $ac_n "checking for png.h""... $ac_c" 1>&6 |
9743 echo "configure:9744: checking for png.h" >&5 | 9744 echo "configure:9745: checking for png.h" >&5 |
9744 | 9745 |
9745 cat > conftest.$ac_ext <<EOF | 9746 cat > conftest.$ac_ext <<EOF |
9746 #line 9747 "configure" | 9747 #line 9748 "configure" |
9747 #include "confdefs.h" | 9748 #include "confdefs.h" |
9748 #include <png.h> | 9749 #include <png.h> |
9749 EOF | 9750 EOF |
9750 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9751 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9751 { (eval echo configure:9752: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9752 { (eval echo configure:9753: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9752 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9753 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
9753 if test -z "$ac_err"; then | 9754 if test -z "$ac_err"; then |
9754 rm -rf conftest* | 9755 rm -rf conftest* |
9755 eval "ac_cv_header_$ac_safe=yes" | 9756 eval "ac_cv_header_$ac_safe=yes" |
9756 else | 9757 else |
9769 with_png=no | 9770 with_png=no |
9770 fi | 9771 fi |
9771 } | 9772 } |
9772 test -z "$with_png" && { | 9773 test -z "$with_png" && { |
9773 echo $ac_n "checking for png_read_image in -lpng""... $ac_c" 1>&6 | 9774 echo $ac_n "checking for png_read_image in -lpng""... $ac_c" 1>&6 |
9774 echo "configure:9775: checking for png_read_image in -lpng" >&5 | 9775 echo "configure:9776: checking for png_read_image in -lpng" >&5 |
9775 ac_lib_var=`echo png'_'png_read_image | sed 'y%./+-%__p_%'` | 9776 ac_lib_var=`echo png'_'png_read_image | sed 'y%./+-%__p_%'` |
9776 | 9777 |
9777 xe_check_libs=" -lpng " | 9778 xe_check_libs=" -lpng " |
9778 cat > conftest.$ac_ext <<EOF | 9779 cat > conftest.$ac_ext <<EOF |
9779 #line 9780 "configure" | 9780 #line 9781 "configure" |
9780 #include "confdefs.h" | 9781 #include "confdefs.h" |
9781 /* Override any gcc2 internal prototype to avoid an error. */ | 9782 /* Override any gcc2 internal prototype to avoid an error. */ |
9782 /* We use char because int might match the return type of a gcc2 | 9783 /* We use char because int might match the return type of a gcc2 |
9783 builtin and then its argument prototype would still apply. */ | 9784 builtin and then its argument prototype would still apply. */ |
9784 char png_read_image(); | 9785 char png_read_image(); |
9785 | 9786 |
9786 int main() { | 9787 int main() { |
9787 png_read_image() | 9788 png_read_image() |
9788 ; return 0; } | 9789 ; return 0; } |
9789 EOF | 9790 EOF |
9790 if { (eval echo configure:9791: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9791 if { (eval echo configure:9792: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9791 rm -rf conftest* | 9792 rm -rf conftest* |
9792 eval "ac_cv_lib_$ac_lib_var=yes" | 9793 eval "ac_cv_lib_$ac_lib_var=yes" |
9793 else | 9794 else |
9794 echo "configure: failed program was:" >&5 | 9795 echo "configure: failed program was:" >&5 |
9795 cat conftest.$ac_ext >&5 | 9796 cat conftest.$ac_ext >&5 |
9808 fi | 9809 fi |
9809 | 9810 |
9810 } | 9811 } |
9811 if test -z "$with_png"; then | 9812 if test -z "$with_png"; then |
9812 echo $ac_n "checking for workable png version information""... $ac_c" 1>&6 | 9813 echo $ac_n "checking for workable png version information""... $ac_c" 1>&6 |
9813 echo "configure:9814: checking for workable png version information" >&5 | 9814 echo "configure:9815: checking for workable png version information" >&5 |
9814 xe_check_libs="-lpng -lz" | 9815 xe_check_libs="-lpng -lz" |
9815 cat > conftest.$ac_ext <<EOF | 9816 cat > conftest.$ac_ext <<EOF |
9816 #line 9817 "configure" | 9817 #line 9818 "configure" |
9817 #include "confdefs.h" | 9818 #include "confdefs.h" |
9818 #include <png.h> | 9819 #include <png.h> |
9819 int main(int c, char **v) { | 9820 int main(int c, char **v) { |
9820 if (c == 1) return 0; | 9821 if (c == 1) return 0; |
9821 if (strcmp(png_libpng_ver, PNG_LIBPNG_VER_STRING) != 0) return 1; | 9822 if (strcmp(png_libpng_ver, PNG_LIBPNG_VER_STRING) != 0) return 1; |
9822 return (PNG_LIBPNG_VER < 10002) ? 2 : 0 ;} | 9823 return (PNG_LIBPNG_VER < 10002) ? 2 : 0 ;} |
9823 EOF | 9824 EOF |
9824 if { (eval echo configure:9825: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 9825 if { (eval echo configure:9826: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
9825 then | 9826 then |
9826 ./conftest dummy_arg; png_status=$?; | 9827 ./conftest dummy_arg; png_status=$?; |
9827 if test "$png_status" = "0"; then | 9828 if test "$png_status" = "0"; then |
9828 with_png=yes; | 9829 with_png=yes; |
9829 else | 9830 else |
9862 libs_x="-lpng $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lpng\" to \$libs_x"; fi | 9863 libs_x="-lpng $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lpng\" to \$libs_x"; fi |
9863 fi | 9864 fi |
9864 | 9865 |
9865 test -z "$with_tiff" && { ac_safe=`echo "tiffio.h" | sed 'y%./+-%__p_%'` | 9866 test -z "$with_tiff" && { ac_safe=`echo "tiffio.h" | sed 'y%./+-%__p_%'` |
9866 echo $ac_n "checking for tiffio.h""... $ac_c" 1>&6 | 9867 echo $ac_n "checking for tiffio.h""... $ac_c" 1>&6 |
9867 echo "configure:9868: checking for tiffio.h" >&5 | 9868 echo "configure:9869: checking for tiffio.h" >&5 |
9868 | 9869 |
9869 cat > conftest.$ac_ext <<EOF | 9870 cat > conftest.$ac_ext <<EOF |
9870 #line 9871 "configure" | 9871 #line 9872 "configure" |
9871 #include "confdefs.h" | 9872 #include "confdefs.h" |
9872 #include <tiffio.h> | 9873 #include <tiffio.h> |
9873 EOF | 9874 EOF |
9874 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9875 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9875 { (eval echo configure:9876: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9876 { (eval echo configure:9877: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9876 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9877 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
9877 if test -z "$ac_err"; then | 9878 if test -z "$ac_err"; then |
9878 rm -rf conftest* | 9879 rm -rf conftest* |
9879 eval "ac_cv_header_$ac_safe=yes" | 9880 eval "ac_cv_header_$ac_safe=yes" |
9880 else | 9881 else |
9893 with_tiff=no | 9894 with_tiff=no |
9894 fi | 9895 fi |
9895 } | 9896 } |
9896 test -z "$with_tiff" && { | 9897 test -z "$with_tiff" && { |
9897 echo $ac_n "checking for TIFFClientOpen in -ltiff""... $ac_c" 1>&6 | 9898 echo $ac_n "checking for TIFFClientOpen in -ltiff""... $ac_c" 1>&6 |
9898 echo "configure:9899: checking for TIFFClientOpen in -ltiff" >&5 | 9899 echo "configure:9900: checking for TIFFClientOpen in -ltiff" >&5 |
9899 ac_lib_var=`echo tiff'_'TIFFClientOpen | sed 'y%./+-%__p_%'` | 9900 ac_lib_var=`echo tiff'_'TIFFClientOpen | sed 'y%./+-%__p_%'` |
9900 | 9901 |
9901 xe_check_libs=" -ltiff " | 9902 xe_check_libs=" -ltiff " |
9902 cat > conftest.$ac_ext <<EOF | 9903 cat > conftest.$ac_ext <<EOF |
9903 #line 9904 "configure" | 9904 #line 9905 "configure" |
9904 #include "confdefs.h" | 9905 #include "confdefs.h" |
9905 /* Override any gcc2 internal prototype to avoid an error. */ | 9906 /* Override any gcc2 internal prototype to avoid an error. */ |
9906 /* We use char because int might match the return type of a gcc2 | 9907 /* We use char because int might match the return type of a gcc2 |
9907 builtin and then its argument prototype would still apply. */ | 9908 builtin and then its argument prototype would still apply. */ |
9908 char TIFFClientOpen(); | 9909 char TIFFClientOpen(); |
9909 | 9910 |
9910 int main() { | 9911 int main() { |
9911 TIFFClientOpen() | 9912 TIFFClientOpen() |
9912 ; return 0; } | 9913 ; return 0; } |
9913 EOF | 9914 EOF |
9914 if { (eval echo configure:9915: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9915 if { (eval echo configure:9916: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9915 rm -rf conftest* | 9916 rm -rf conftest* |
9916 eval "ac_cv_lib_$ac_lib_var=yes" | 9917 eval "ac_cv_lib_$ac_lib_var=yes" |
9917 else | 9918 else |
9918 echo "configure: failed program was:" >&5 | 9919 echo "configure: failed program was:" >&5 |
9919 cat conftest.$ac_ext >&5 | 9920 cat conftest.$ac_ext >&5 |
9948 | 9949 |
9949 | 9950 |
9950 if test "$with_gtk" = "yes"; then | 9951 if test "$with_gtk" = "yes"; then |
9951 test -z "$with_xface" && { ac_safe=`echo "compface.h" | sed 'y%./+-%__p_%'` | 9952 test -z "$with_xface" && { ac_safe=`echo "compface.h" | sed 'y%./+-%__p_%'` |
9952 echo $ac_n "checking for compface.h""... $ac_c" 1>&6 | 9953 echo $ac_n "checking for compface.h""... $ac_c" 1>&6 |
9953 echo "configure:9954: checking for compface.h" >&5 | 9954 echo "configure:9955: checking for compface.h" >&5 |
9954 | 9955 |
9955 cat > conftest.$ac_ext <<EOF | 9956 cat > conftest.$ac_ext <<EOF |
9956 #line 9957 "configure" | 9957 #line 9958 "configure" |
9957 #include "confdefs.h" | 9958 #include "confdefs.h" |
9958 #include <compface.h> | 9959 #include <compface.h> |
9959 EOF | 9960 EOF |
9960 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9961 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9961 { (eval echo configure:9962: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9962 { (eval echo configure:9963: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9962 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9963 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
9963 if test -z "$ac_err"; then | 9964 if test -z "$ac_err"; then |
9964 rm -rf conftest* | 9965 rm -rf conftest* |
9965 eval "ac_cv_header_$ac_safe=yes" | 9966 eval "ac_cv_header_$ac_safe=yes" |
9966 else | 9967 else |
9979 with_xface=no | 9980 with_xface=no |
9980 fi | 9981 fi |
9981 } | 9982 } |
9982 test -z "$with_xface" && { | 9983 test -z "$with_xface" && { |
9983 echo $ac_n "checking for UnGenFace in -lcompface""... $ac_c" 1>&6 | 9984 echo $ac_n "checking for UnGenFace in -lcompface""... $ac_c" 1>&6 |
9984 echo "configure:9985: checking for UnGenFace in -lcompface" >&5 | 9985 echo "configure:9986: checking for UnGenFace in -lcompface" >&5 |
9985 ac_lib_var=`echo compface'_'UnGenFace | sed 'y%./+-%__p_%'` | 9986 ac_lib_var=`echo compface'_'UnGenFace | sed 'y%./+-%__p_%'` |
9986 | 9987 |
9987 xe_check_libs=" -lcompface " | 9988 xe_check_libs=" -lcompface " |
9988 cat > conftest.$ac_ext <<EOF | 9989 cat > conftest.$ac_ext <<EOF |
9989 #line 9990 "configure" | 9990 #line 9991 "configure" |
9990 #include "confdefs.h" | 9991 #include "confdefs.h" |
9991 /* Override any gcc2 internal prototype to avoid an error. */ | 9992 /* Override any gcc2 internal prototype to avoid an error. */ |
9992 /* We use char because int might match the return type of a gcc2 | 9993 /* We use char because int might match the return type of a gcc2 |
9993 builtin and then its argument prototype would still apply. */ | 9994 builtin and then its argument prototype would still apply. */ |
9994 char UnGenFace(); | 9995 char UnGenFace(); |
9995 | 9996 |
9996 int main() { | 9997 int main() { |
9997 UnGenFace() | 9998 UnGenFace() |
9998 ; return 0; } | 9999 ; return 0; } |
9999 EOF | 10000 EOF |
10000 if { (eval echo configure:10001: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10001 if { (eval echo configure:10002: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10001 rm -rf conftest* | 10002 rm -rf conftest* |
10002 eval "ac_cv_lib_$ac_lib_var=yes" | 10003 eval "ac_cv_lib_$ac_lib_var=yes" |
10003 else | 10004 else |
10004 echo "configure: failed program was:" >&5 | 10005 echo "configure: failed program was:" >&5 |
10005 cat conftest.$ac_ext >&5 | 10006 cat conftest.$ac_ext >&5 |
10034 | 10035 |
10035 | 10036 |
10036 | 10037 |
10037 if test "$with_x11" = "yes"; then | 10038 if test "$with_x11" = "yes"; then |
10038 echo "checking for X11 graphics libraries" 1>&6 | 10039 echo "checking for X11 graphics libraries" 1>&6 |
10039 echo "configure:10040: checking for X11 graphics libraries" >&5 | 10040 echo "configure:10041: checking for X11 graphics libraries" >&5 |
10040 fi | 10041 fi |
10041 | 10042 |
10042 case "$with_widgets" in | 10043 case "$with_widgets" in |
10043 "yes" | "athena") detect_athena=yes ;; | 10044 "yes" | "athena") detect_athena=yes ;; |
10044 *) detect_athena=no ;; | 10045 *) detect_athena=no ;; |
10045 esac | 10046 esac |
10046 | 10047 |
10047 if test "$with_x11" = "yes" -a "$detect_athena" = "yes" ; then | 10048 if test "$with_x11" = "yes" -a "$detect_athena" = "yes" ; then |
10048 echo "checking for the Athena widgets" 1>&6 | 10049 echo "checking for the Athena widgets" 1>&6 |
10049 echo "configure:10050: checking for the Athena widgets" >&5 | 10050 echo "configure:10051: checking for the Athena widgets" >&5 |
10050 | 10051 |
10051 case "$with_athena" in | 10052 case "$with_athena" in |
10052 "xaw" | "") athena_variant=Xaw athena_3d=no ;; | 10053 "xaw" | "") athena_variant=Xaw athena_3d=no ;; |
10053 "3d") athena_variant=Xaw3d athena_3d=yes ;; | 10054 "3d") athena_variant=Xaw3d athena_3d=yes ;; |
10054 "next") athena_variant=neXtaw athena_3d=yes ;; | 10055 "next") athena_variant=neXtaw athena_3d=yes ;; |
10058 esac | 10059 esac |
10059 | 10060 |
10060 if test "$athena_3d" = "no"; then | 10061 if test "$athena_3d" = "no"; then |
10061 | 10062 |
10062 echo $ac_n "checking for XawScrollbarSetThumb in -l$athena_variant""... $ac_c" 1>&6 | 10063 echo $ac_n "checking for XawScrollbarSetThumb in -l$athena_variant""... $ac_c" 1>&6 |
10063 echo "configure:10064: checking for XawScrollbarSetThumb in -l$athena_variant" >&5 | 10064 echo "configure:10065: checking for XawScrollbarSetThumb in -l$athena_variant" >&5 |
10064 ac_lib_var=`echo $athena_variant'_'XawScrollbarSetThumb | sed 'y%./+-%__p_%'` | 10065 ac_lib_var=`echo $athena_variant'_'XawScrollbarSetThumb | sed 'y%./+-%__p_%'` |
10065 | 10066 |
10066 xe_check_libs=" -l$athena_variant " | 10067 xe_check_libs=" -l$athena_variant " |
10067 cat > conftest.$ac_ext <<EOF | 10068 cat > conftest.$ac_ext <<EOF |
10068 #line 10069 "configure" | 10069 #line 10070 "configure" |
10069 #include "confdefs.h" | 10070 #include "confdefs.h" |
10070 /* Override any gcc2 internal prototype to avoid an error. */ | 10071 /* Override any gcc2 internal prototype to avoid an error. */ |
10071 /* We use char because int might match the return type of a gcc2 | 10072 /* We use char because int might match the return type of a gcc2 |
10072 builtin and then its argument prototype would still apply. */ | 10073 builtin and then its argument prototype would still apply. */ |
10073 char XawScrollbarSetThumb(); | 10074 char XawScrollbarSetThumb(); |
10074 | 10075 |
10075 int main() { | 10076 int main() { |
10076 XawScrollbarSetThumb() | 10077 XawScrollbarSetThumb() |
10077 ; return 0; } | 10078 ; return 0; } |
10078 EOF | 10079 EOF |
10079 if { (eval echo configure:10080: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10080 if { (eval echo configure:10081: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10080 rm -rf conftest* | 10081 rm -rf conftest* |
10081 eval "ac_cv_lib_$ac_lib_var=yes" | 10082 eval "ac_cv_lib_$ac_lib_var=yes" |
10082 else | 10083 else |
10083 echo "configure: failed program was:" >&5 | 10084 echo "configure: failed program was:" >&5 |
10084 cat conftest.$ac_ext >&5 | 10085 cat conftest.$ac_ext >&5 |
10090 | 10091 |
10091 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes" ; then | 10092 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes" ; then |
10092 echo "$ac_t""yes" 1>&6 | 10093 echo "$ac_t""yes" 1>&6 |
10093 | 10094 |
10094 echo $ac_n "checking for threeDClassRec in -l$athena_variant""... $ac_c" 1>&6 | 10095 echo $ac_n "checking for threeDClassRec in -l$athena_variant""... $ac_c" 1>&6 |
10095 echo "configure:10096: checking for threeDClassRec in -l$athena_variant" >&5 | 10096 echo "configure:10097: checking for threeDClassRec in -l$athena_variant" >&5 |
10096 ac_lib_var=`echo $athena_variant'_'threeDClassRec | sed 'y%./+-%__p_%'` | 10097 ac_lib_var=`echo $athena_variant'_'threeDClassRec | sed 'y%./+-%__p_%'` |
10097 | 10098 |
10098 xe_check_libs=" -l$athena_variant " | 10099 xe_check_libs=" -l$athena_variant " |
10099 cat > conftest.$ac_ext <<EOF | 10100 cat > conftest.$ac_ext <<EOF |
10100 #line 10101 "configure" | 10101 #line 10102 "configure" |
10101 #include "confdefs.h" | 10102 #include "confdefs.h" |
10102 /* Override any gcc2 internal prototype to avoid an error. */ | 10103 /* Override any gcc2 internal prototype to avoid an error. */ |
10103 /* We use char because int might match the return type of a gcc2 | 10104 /* We use char because int might match the return type of a gcc2 |
10104 builtin and then its argument prototype would still apply. */ | 10105 builtin and then its argument prototype would still apply. */ |
10105 char threeDClassRec(); | 10106 char threeDClassRec(); |
10106 | 10107 |
10107 int main() { | 10108 int main() { |
10108 threeDClassRec() | 10109 threeDClassRec() |
10109 ; return 0; } | 10110 ; return 0; } |
10110 EOF | 10111 EOF |
10111 if { (eval echo configure:10112: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10112 if { (eval echo configure:10113: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10112 rm -rf conftest* | 10113 rm -rf conftest* |
10113 eval "ac_cv_lib_$ac_lib_var=yes" | 10114 eval "ac_cv_lib_$ac_lib_var=yes" |
10114 else | 10115 else |
10115 echo "configure: failed program was:" >&5 | 10116 echo "configure: failed program was:" >&5 |
10116 cat conftest.$ac_ext >&5 | 10117 cat conftest.$ac_ext >&5 |
10137 | 10138 |
10138 | 10139 |
10139 else | 10140 else |
10140 | 10141 |
10141 echo $ac_n "checking for threeDClassRec in -l$athena_variant""... $ac_c" 1>&6 | 10142 echo $ac_n "checking for threeDClassRec in -l$athena_variant""... $ac_c" 1>&6 |
10142 echo "configure:10143: checking for threeDClassRec in -l$athena_variant" >&5 | 10143 echo "configure:10144: checking for threeDClassRec in -l$athena_variant" >&5 |
10143 ac_lib_var=`echo $athena_variant'_'threeDClassRec | sed 'y%./+-%__p_%'` | 10144 ac_lib_var=`echo $athena_variant'_'threeDClassRec | sed 'y%./+-%__p_%'` |
10144 | 10145 |
10145 xe_check_libs=" -l$athena_variant " | 10146 xe_check_libs=" -l$athena_variant " |
10146 cat > conftest.$ac_ext <<EOF | 10147 cat > conftest.$ac_ext <<EOF |
10147 #line 10148 "configure" | 10148 #line 10149 "configure" |
10148 #include "confdefs.h" | 10149 #include "confdefs.h" |
10149 /* Override any gcc2 internal prototype to avoid an error. */ | 10150 /* Override any gcc2 internal prototype to avoid an error. */ |
10150 /* We use char because int might match the return type of a gcc2 | 10151 /* We use char because int might match the return type of a gcc2 |
10151 builtin and then its argument prototype would still apply. */ | 10152 builtin and then its argument prototype would still apply. */ |
10152 char threeDClassRec(); | 10153 char threeDClassRec(); |
10153 | 10154 |
10154 int main() { | 10155 int main() { |
10155 threeDClassRec() | 10156 threeDClassRec() |
10156 ; return 0; } | 10157 ; return 0; } |
10157 EOF | 10158 EOF |
10158 if { (eval echo configure:10159: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10159 if { (eval echo configure:10160: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10159 rm -rf conftest* | 10160 rm -rf conftest* |
10160 eval "ac_cv_lib_$ac_lib_var=yes" | 10161 eval "ac_cv_lib_$ac_lib_var=yes" |
10161 else | 10162 else |
10162 echo "configure: failed program was:" >&5 | 10163 echo "configure: failed program was:" >&5 |
10163 cat conftest.$ac_ext >&5 | 10164 cat conftest.$ac_ext >&5 |
10171 echo "$ac_t""yes" 1>&6 | 10172 echo "$ac_t""yes" 1>&6 |
10172 athena_lib=$athena_variant | 10173 athena_lib=$athena_variant |
10173 else | 10174 else |
10174 echo "$ac_t""no" 1>&6 | 10175 echo "$ac_t""no" 1>&6 |
10175 echo $ac_n "checking for threeDClassRec in -lXaw""... $ac_c" 1>&6 | 10176 echo $ac_n "checking for threeDClassRec in -lXaw""... $ac_c" 1>&6 |
10176 echo "configure:10177: checking for threeDClassRec in -lXaw" >&5 | 10177 echo "configure:10178: checking for threeDClassRec in -lXaw" >&5 |
10177 ac_lib_var=`echo Xaw'_'threeDClassRec | sed 'y%./+-%__p_%'` | 10178 ac_lib_var=`echo Xaw'_'threeDClassRec | sed 'y%./+-%__p_%'` |
10178 | 10179 |
10179 xe_check_libs=" -lXaw " | 10180 xe_check_libs=" -lXaw " |
10180 cat > conftest.$ac_ext <<EOF | 10181 cat > conftest.$ac_ext <<EOF |
10181 #line 10182 "configure" | 10182 #line 10183 "configure" |
10182 #include "confdefs.h" | 10183 #include "confdefs.h" |
10183 /* Override any gcc2 internal prototype to avoid an error. */ | 10184 /* Override any gcc2 internal prototype to avoid an error. */ |
10184 /* We use char because int might match the return type of a gcc2 | 10185 /* We use char because int might match the return type of a gcc2 |
10185 builtin and then its argument prototype would still apply. */ | 10186 builtin and then its argument prototype would still apply. */ |
10186 char threeDClassRec(); | 10187 char threeDClassRec(); |
10187 | 10188 |
10188 int main() { | 10189 int main() { |
10189 threeDClassRec() | 10190 threeDClassRec() |
10190 ; return 0; } | 10191 ; return 0; } |
10191 EOF | 10192 EOF |
10192 if { (eval echo configure:10193: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10193 if { (eval echo configure:10194: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10193 rm -rf conftest* | 10194 rm -rf conftest* |
10194 eval "ac_cv_lib_$ac_lib_var=yes" | 10195 eval "ac_cv_lib_$ac_lib_var=yes" |
10195 else | 10196 else |
10196 echo "configure: failed program was:" >&5 | 10197 echo "configure: failed program was:" >&5 |
10197 cat conftest.$ac_ext >&5 | 10198 cat conftest.$ac_ext >&5 |
10218 fi | 10219 fi |
10219 | 10220 |
10220 if test "$athena_3d" = "no"; then | 10221 if test "$athena_3d" = "no"; then |
10221 ac_safe=`echo "X11/Xaw/ThreeD.h" | sed 'y%./+-%__p_%'` | 10222 ac_safe=`echo "X11/Xaw/ThreeD.h" | sed 'y%./+-%__p_%'` |
10222 echo $ac_n "checking for X11/Xaw/ThreeD.h""... $ac_c" 1>&6 | 10223 echo $ac_n "checking for X11/Xaw/ThreeD.h""... $ac_c" 1>&6 |
10223 echo "configure:10224: checking for X11/Xaw/ThreeD.h" >&5 | 10224 echo "configure:10225: checking for X11/Xaw/ThreeD.h" >&5 |
10224 | 10225 |
10225 cat > conftest.$ac_ext <<EOF | 10226 cat > conftest.$ac_ext <<EOF |
10226 #line 10227 "configure" | 10227 #line 10228 "configure" |
10227 #include "confdefs.h" | 10228 #include "confdefs.h" |
10228 #include <X11/Xaw/ThreeD.h> | 10229 #include <X11/Xaw/ThreeD.h> |
10229 EOF | 10230 EOF |
10230 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10231 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; } | 10232 { (eval echo configure:10233: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10232 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10233 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10233 if test -z "$ac_err"; then | 10234 if test -z "$ac_err"; then |
10234 rm -rf conftest* | 10235 rm -rf conftest* |
10235 eval "ac_cv_header_$ac_safe=yes" | 10236 eval "ac_cv_header_$ac_safe=yes" |
10236 else | 10237 else |
10246 echo "configure: warning: Could not find a non-3d Athena header set." 1>&2 | 10247 echo "configure: warning: Could not find a non-3d Athena header set." 1>&2 |
10247 else | 10248 else |
10248 echo "$ac_t""no" 1>&6 | 10249 echo "$ac_t""no" 1>&6 |
10249 ac_safe=`echo "X11/Xaw/XawInit.h" | sed 'y%./+-%__p_%'` | 10250 ac_safe=`echo "X11/Xaw/XawInit.h" | sed 'y%./+-%__p_%'` |
10250 echo $ac_n "checking for X11/Xaw/XawInit.h""... $ac_c" 1>&6 | 10251 echo $ac_n "checking for X11/Xaw/XawInit.h""... $ac_c" 1>&6 |
10251 echo "configure:10252: checking for X11/Xaw/XawInit.h" >&5 | 10252 echo "configure:10253: checking for X11/Xaw/XawInit.h" >&5 |
10252 | 10253 |
10253 cat > conftest.$ac_ext <<EOF | 10254 cat > conftest.$ac_ext <<EOF |
10254 #line 10255 "configure" | 10255 #line 10256 "configure" |
10255 #include "confdefs.h" | 10256 #include "confdefs.h" |
10256 #include <X11/Xaw/XawInit.h> | 10257 #include <X11/Xaw/XawInit.h> |
10257 EOF | 10258 EOF |
10258 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10259 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10259 { (eval echo configure:10260: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10260 { (eval echo configure:10261: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10260 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10261 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10261 if test -z "$ac_err"; then | 10262 if test -z "$ac_err"; then |
10262 rm -rf conftest* | 10263 rm -rf conftest* |
10263 eval "ac_cv_header_$ac_safe=yes" | 10264 eval "ac_cv_header_$ac_safe=yes" |
10264 else | 10265 else |
10280 fi | 10281 fi |
10281 | 10282 |
10282 else | 10283 else |
10283 ac_safe=`echo "X11/$athena_variant/XawInit.h" | sed 'y%./+-%__p_%'` | 10284 ac_safe=`echo "X11/$athena_variant/XawInit.h" | sed 'y%./+-%__p_%'` |
10284 echo $ac_n "checking for X11/$athena_variant/XawInit.h""... $ac_c" 1>&6 | 10285 echo $ac_n "checking for X11/$athena_variant/XawInit.h""... $ac_c" 1>&6 |
10285 echo "configure:10286: checking for X11/$athena_variant/XawInit.h" >&5 | 10286 echo "configure:10287: checking for X11/$athena_variant/XawInit.h" >&5 |
10286 | 10287 |
10287 cat > conftest.$ac_ext <<EOF | 10288 cat > conftest.$ac_ext <<EOF |
10288 #line 10289 "configure" | 10289 #line 10290 "configure" |
10289 #include "confdefs.h" | 10290 #include "confdefs.h" |
10290 #include <X11/$athena_variant/XawInit.h> | 10291 #include <X11/$athena_variant/XawInit.h> |
10291 EOF | 10292 EOF |
10292 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10293 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; } | 10294 { (eval echo configure:10295: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10294 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10295 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10295 if test -z "$ac_err"; then | 10296 if test -z "$ac_err"; then |
10296 rm -rf conftest* | 10297 rm -rf conftest* |
10297 eval "ac_cv_header_$ac_safe=yes" | 10298 eval "ac_cv_header_$ac_safe=yes" |
10298 else | 10299 else |
10305 rm -f conftest* | 10306 rm -f conftest* |
10306 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 10307 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
10307 echo "$ac_t""yes" 1>&6 | 10308 echo "$ac_t""yes" 1>&6 |
10308 ac_safe=`echo "X11/$athena_variant/ThreeD.h" | sed 'y%./+-%__p_%'` | 10309 ac_safe=`echo "X11/$athena_variant/ThreeD.h" | sed 'y%./+-%__p_%'` |
10309 echo $ac_n "checking for X11/$athena_variant/ThreeD.h""... $ac_c" 1>&6 | 10310 echo $ac_n "checking for X11/$athena_variant/ThreeD.h""... $ac_c" 1>&6 |
10310 echo "configure:10311: checking for X11/$athena_variant/ThreeD.h" >&5 | 10311 echo "configure:10312: checking for X11/$athena_variant/ThreeD.h" >&5 |
10311 | 10312 |
10312 cat > conftest.$ac_ext <<EOF | 10313 cat > conftest.$ac_ext <<EOF |
10313 #line 10314 "configure" | 10314 #line 10315 "configure" |
10314 #include "confdefs.h" | 10315 #include "confdefs.h" |
10315 #include <X11/$athena_variant/ThreeD.h> | 10316 #include <X11/$athena_variant/ThreeD.h> |
10316 EOF | 10317 EOF |
10317 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10318 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10318 { (eval echo configure:10319: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10319 { (eval echo configure:10320: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10319 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10320 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10320 if test -z "$ac_err"; then | 10321 if test -z "$ac_err"; then |
10321 rm -rf conftest* | 10322 rm -rf conftest* |
10322 eval "ac_cv_header_$ac_safe=yes" | 10323 eval "ac_cv_header_$ac_safe=yes" |
10323 else | 10324 else |
10341 | 10342 |
10342 | 10343 |
10343 if test -z "$athena_h_path"; then | 10344 if test -z "$athena_h_path"; then |
10344 ac_safe=`echo "$athena_variant/XawInit.h" | sed 'y%./+-%__p_%'` | 10345 ac_safe=`echo "$athena_variant/XawInit.h" | sed 'y%./+-%__p_%'` |
10345 echo $ac_n "checking for $athena_variant/XawInit.h""... $ac_c" 1>&6 | 10346 echo $ac_n "checking for $athena_variant/XawInit.h""... $ac_c" 1>&6 |
10346 echo "configure:10347: checking for $athena_variant/XawInit.h" >&5 | 10347 echo "configure:10348: checking for $athena_variant/XawInit.h" >&5 |
10347 | 10348 |
10348 cat > conftest.$ac_ext <<EOF | 10349 cat > conftest.$ac_ext <<EOF |
10349 #line 10350 "configure" | 10350 #line 10351 "configure" |
10350 #include "confdefs.h" | 10351 #include "confdefs.h" |
10351 #include <$athena_variant/XawInit.h> | 10352 #include <$athena_variant/XawInit.h> |
10352 EOF | 10353 EOF |
10353 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10354 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10354 { (eval echo configure:10355: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10355 { (eval echo configure:10356: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10355 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10356 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10356 if test -z "$ac_err"; then | 10357 if test -z "$ac_err"; then |
10357 rm -rf conftest* | 10358 rm -rf conftest* |
10358 eval "ac_cv_header_$ac_safe=yes" | 10359 eval "ac_cv_header_$ac_safe=yes" |
10359 else | 10360 else |
10366 rm -f conftest* | 10367 rm -f conftest* |
10367 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 10368 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
10368 echo "$ac_t""yes" 1>&6 | 10369 echo "$ac_t""yes" 1>&6 |
10369 ac_safe=`echo "$athena_variant/ThreeD.h" | sed 'y%./+-%__p_%'` | 10370 ac_safe=`echo "$athena_variant/ThreeD.h" | sed 'y%./+-%__p_%'` |
10370 echo $ac_n "checking for $athena_variant/ThreeD.h""... $ac_c" 1>&6 | 10371 echo $ac_n "checking for $athena_variant/ThreeD.h""... $ac_c" 1>&6 |
10371 echo "configure:10372: checking for $athena_variant/ThreeD.h" >&5 | 10372 echo "configure:10373: checking for $athena_variant/ThreeD.h" >&5 |
10372 | 10373 |
10373 cat > conftest.$ac_ext <<EOF | 10374 cat > conftest.$ac_ext <<EOF |
10374 #line 10375 "configure" | 10375 #line 10376 "configure" |
10375 #include "confdefs.h" | 10376 #include "confdefs.h" |
10376 #include <$athena_variant/ThreeD.h> | 10377 #include <$athena_variant/ThreeD.h> |
10377 EOF | 10378 EOF |
10378 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10379 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10379 { (eval echo configure:10380: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10380 { (eval echo configure:10381: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10380 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10381 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10381 if test -z "$ac_err"; then | 10382 if test -z "$ac_err"; then |
10382 rm -rf conftest* | 10383 rm -rf conftest* |
10383 eval "ac_cv_header_$ac_safe=yes" | 10384 eval "ac_cv_header_$ac_safe=yes" |
10384 else | 10385 else |
10403 fi | 10404 fi |
10404 | 10405 |
10405 if test -z "$athena_h_path" -a "$athena_variant" != "Xaw3d"; then | 10406 if test -z "$athena_h_path" -a "$athena_variant" != "Xaw3d"; then |
10406 ac_safe=`echo "X11/Xaw3d/XawInit.h" | sed 'y%./+-%__p_%'` | 10407 ac_safe=`echo "X11/Xaw3d/XawInit.h" | sed 'y%./+-%__p_%'` |
10407 echo $ac_n "checking for X11/Xaw3d/XawInit.h""... $ac_c" 1>&6 | 10408 echo $ac_n "checking for X11/Xaw3d/XawInit.h""... $ac_c" 1>&6 |
10408 echo "configure:10409: checking for X11/Xaw3d/XawInit.h" >&5 | 10409 echo "configure:10410: checking for X11/Xaw3d/XawInit.h" >&5 |
10409 | 10410 |
10410 cat > conftest.$ac_ext <<EOF | 10411 cat > conftest.$ac_ext <<EOF |
10411 #line 10412 "configure" | 10412 #line 10413 "configure" |
10412 #include "confdefs.h" | 10413 #include "confdefs.h" |
10413 #include <X11/Xaw3d/XawInit.h> | 10414 #include <X11/Xaw3d/XawInit.h> |
10414 EOF | 10415 EOF |
10415 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10416 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10416 { (eval echo configure:10417: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10417 { (eval echo configure:10418: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10417 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10418 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10418 if test -z "$ac_err"; then | 10419 if test -z "$ac_err"; then |
10419 rm -rf conftest* | 10420 rm -rf conftest* |
10420 eval "ac_cv_header_$ac_safe=yes" | 10421 eval "ac_cv_header_$ac_safe=yes" |
10421 else | 10422 else |
10428 rm -f conftest* | 10429 rm -f conftest* |
10429 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 10430 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
10430 echo "$ac_t""yes" 1>&6 | 10431 echo "$ac_t""yes" 1>&6 |
10431 ac_safe=`echo "X11/Xaw3d/ThreeD.h" | sed 'y%./+-%__p_%'` | 10432 ac_safe=`echo "X11/Xaw3d/ThreeD.h" | sed 'y%./+-%__p_%'` |
10432 echo $ac_n "checking for X11/Xaw3d/ThreeD.h""... $ac_c" 1>&6 | 10433 echo $ac_n "checking for X11/Xaw3d/ThreeD.h""... $ac_c" 1>&6 |
10433 echo "configure:10434: checking for X11/Xaw3d/ThreeD.h" >&5 | 10434 echo "configure:10435: checking for X11/Xaw3d/ThreeD.h" >&5 |
10434 | 10435 |
10435 cat > conftest.$ac_ext <<EOF | 10436 cat > conftest.$ac_ext <<EOF |
10436 #line 10437 "configure" | 10437 #line 10438 "configure" |
10437 #include "confdefs.h" | 10438 #include "confdefs.h" |
10438 #include <X11/Xaw3d/ThreeD.h> | 10439 #include <X11/Xaw3d/ThreeD.h> |
10439 EOF | 10440 EOF |
10440 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10441 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10441 { (eval echo configure:10442: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10442 { (eval echo configure:10443: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10442 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10443 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10443 if test -z "$ac_err"; then | 10444 if test -z "$ac_err"; then |
10444 rm -rf conftest* | 10445 rm -rf conftest* |
10445 eval "ac_cv_header_$ac_safe=yes" | 10446 eval "ac_cv_header_$ac_safe=yes" |
10446 else | 10447 else |
10468 fi | 10469 fi |
10469 | 10470 |
10470 if test -z "$athena_h_path" -a "$athena_variant" != "Xaw3d"; then | 10471 if test -z "$athena_h_path" -a "$athena_variant" != "Xaw3d"; then |
10471 ac_safe=`echo "Xaw3d/XawInit.h" | sed 'y%./+-%__p_%'` | 10472 ac_safe=`echo "Xaw3d/XawInit.h" | sed 'y%./+-%__p_%'` |
10472 echo $ac_n "checking for Xaw3d/XawInit.h""... $ac_c" 1>&6 | 10473 echo $ac_n "checking for Xaw3d/XawInit.h""... $ac_c" 1>&6 |
10473 echo "configure:10474: checking for Xaw3d/XawInit.h" >&5 | 10474 echo "configure:10475: checking for Xaw3d/XawInit.h" >&5 |
10474 | 10475 |
10475 cat > conftest.$ac_ext <<EOF | 10476 cat > conftest.$ac_ext <<EOF |
10476 #line 10477 "configure" | 10477 #line 10478 "configure" |
10477 #include "confdefs.h" | 10478 #include "confdefs.h" |
10478 #include <Xaw3d/XawInit.h> | 10479 #include <Xaw3d/XawInit.h> |
10479 EOF | 10480 EOF |
10480 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10481 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10481 { (eval echo configure:10482: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10482 { (eval echo configure:10483: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10482 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10483 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10483 if test -z "$ac_err"; then | 10484 if test -z "$ac_err"; then |
10484 rm -rf conftest* | 10485 rm -rf conftest* |
10485 eval "ac_cv_header_$ac_safe=yes" | 10486 eval "ac_cv_header_$ac_safe=yes" |
10486 else | 10487 else |
10493 rm -f conftest* | 10494 rm -f conftest* |
10494 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 10495 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
10495 echo "$ac_t""yes" 1>&6 | 10496 echo "$ac_t""yes" 1>&6 |
10496 ac_safe=`echo "Xaw3d/ThreeD.h" | sed 'y%./+-%__p_%'` | 10497 ac_safe=`echo "Xaw3d/ThreeD.h" | sed 'y%./+-%__p_%'` |
10497 echo $ac_n "checking for Xaw3d/ThreeD.h""... $ac_c" 1>&6 | 10498 echo $ac_n "checking for Xaw3d/ThreeD.h""... $ac_c" 1>&6 |
10498 echo "configure:10499: checking for Xaw3d/ThreeD.h" >&5 | 10499 echo "configure:10500: checking for Xaw3d/ThreeD.h" >&5 |
10499 | 10500 |
10500 cat > conftest.$ac_ext <<EOF | 10501 cat > conftest.$ac_ext <<EOF |
10501 #line 10502 "configure" | 10502 #line 10503 "configure" |
10502 #include "confdefs.h" | 10503 #include "confdefs.h" |
10503 #include <Xaw3d/ThreeD.h> | 10504 #include <Xaw3d/ThreeD.h> |
10504 EOF | 10505 EOF |
10505 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10506 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10506 { (eval echo configure:10507: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10507 { (eval echo configure:10508: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10507 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10508 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10508 if test -z "$ac_err"; then | 10509 if test -z "$ac_err"; then |
10509 rm -rf conftest* | 10510 rm -rf conftest* |
10510 eval "ac_cv_header_$ac_safe=yes" | 10511 eval "ac_cv_header_$ac_safe=yes" |
10511 else | 10512 else |
10533 fi | 10534 fi |
10534 | 10535 |
10535 if test -z "$athena_h_path"; then | 10536 if test -z "$athena_h_path"; then |
10536 ac_safe=`echo "X11/Xaw/ThreeD.h" | sed 'y%./+-%__p_%'` | 10537 ac_safe=`echo "X11/Xaw/ThreeD.h" | sed 'y%./+-%__p_%'` |
10537 echo $ac_n "checking for X11/Xaw/ThreeD.h""... $ac_c" 1>&6 | 10538 echo $ac_n "checking for X11/Xaw/ThreeD.h""... $ac_c" 1>&6 |
10538 echo "configure:10539: checking for X11/Xaw/ThreeD.h" >&5 | 10539 echo "configure:10540: checking for X11/Xaw/ThreeD.h" >&5 |
10539 | 10540 |
10540 cat > conftest.$ac_ext <<EOF | 10541 cat > conftest.$ac_ext <<EOF |
10541 #line 10542 "configure" | 10542 #line 10543 "configure" |
10542 #include "confdefs.h" | 10543 #include "confdefs.h" |
10543 #include <X11/Xaw/ThreeD.h> | 10544 #include <X11/Xaw/ThreeD.h> |
10544 EOF | 10545 EOF |
10545 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10546 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10546 { (eval echo configure:10547: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10547 { (eval echo configure:10548: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10547 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10548 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10548 if test -z "$ac_err"; then | 10549 if test -z "$ac_err"; then |
10549 rm -rf conftest* | 10550 rm -rf conftest* |
10550 eval "ac_cv_header_$ac_safe=yes" | 10551 eval "ac_cv_header_$ac_safe=yes" |
10551 else | 10552 else |
10580 have_xaw=no | 10581 have_xaw=no |
10581 fi | 10582 fi |
10582 if test "$with_x11" = "yes"; then | 10583 if test "$with_x11" = "yes"; then |
10583 ac_safe=`echo "Xm/Xm.h" | sed 'y%./+-%__p_%'` | 10584 ac_safe=`echo "Xm/Xm.h" | sed 'y%./+-%__p_%'` |
10584 echo $ac_n "checking for Xm/Xm.h""... $ac_c" 1>&6 | 10585 echo $ac_n "checking for Xm/Xm.h""... $ac_c" 1>&6 |
10585 echo "configure:10586: checking for Xm/Xm.h" >&5 | 10586 echo "configure:10587: checking for Xm/Xm.h" >&5 |
10586 | 10587 |
10587 cat > conftest.$ac_ext <<EOF | 10588 cat > conftest.$ac_ext <<EOF |
10588 #line 10589 "configure" | 10589 #line 10590 "configure" |
10589 #include "confdefs.h" | 10590 #include "confdefs.h" |
10590 #include <Xm/Xm.h> | 10591 #include <Xm/Xm.h> |
10591 EOF | 10592 EOF |
10592 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10593 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10593 { (eval echo configure:10594: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10594 { (eval echo configure:10595: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10594 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10595 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10595 if test -z "$ac_err"; then | 10596 if test -z "$ac_err"; then |
10596 rm -rf conftest* | 10597 rm -rf conftest* |
10597 eval "ac_cv_header_$ac_safe=yes" | 10598 eval "ac_cv_header_$ac_safe=yes" |
10598 else | 10599 else |
10605 rm -f conftest* | 10606 rm -f conftest* |
10606 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 10607 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
10607 echo "$ac_t""yes" 1>&6 | 10608 echo "$ac_t""yes" 1>&6 |
10608 | 10609 |
10609 echo $ac_n "checking for XmStringFree in -lXm""... $ac_c" 1>&6 | 10610 echo $ac_n "checking for XmStringFree in -lXm""... $ac_c" 1>&6 |
10610 echo "configure:10611: checking for XmStringFree in -lXm" >&5 | 10611 echo "configure:10612: checking for XmStringFree in -lXm" >&5 |
10611 ac_lib_var=`echo Xm'_'XmStringFree | sed 'y%./+-%__p_%'` | 10612 ac_lib_var=`echo Xm'_'XmStringFree | sed 'y%./+-%__p_%'` |
10612 | 10613 |
10613 xe_check_libs=" -lXm " | 10614 xe_check_libs=" -lXm " |
10614 cat > conftest.$ac_ext <<EOF | 10615 cat > conftest.$ac_ext <<EOF |
10615 #line 10616 "configure" | 10616 #line 10617 "configure" |
10616 #include "confdefs.h" | 10617 #include "confdefs.h" |
10617 /* Override any gcc2 internal prototype to avoid an error. */ | 10618 /* Override any gcc2 internal prototype to avoid an error. */ |
10618 /* We use char because int might match the return type of a gcc2 | 10619 /* We use char because int might match the return type of a gcc2 |
10619 builtin and then its argument prototype would still apply. */ | 10620 builtin and then its argument prototype would still apply. */ |
10620 char XmStringFree(); | 10621 char XmStringFree(); |
10621 | 10622 |
10622 int main() { | 10623 int main() { |
10623 XmStringFree() | 10624 XmStringFree() |
10624 ; return 0; } | 10625 ; return 0; } |
10625 EOF | 10626 EOF |
10626 if { (eval echo configure:10627: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10627 if { (eval echo configure:10628: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10627 rm -rf conftest* | 10628 rm -rf conftest* |
10628 eval "ac_cv_lib_$ac_lib_var=yes" | 10629 eval "ac_cv_lib_$ac_lib_var=yes" |
10629 else | 10630 else |
10630 echo "configure: failed program was:" >&5 | 10631 echo "configure: failed program was:" >&5 |
10631 cat conftest.$ac_ext >&5 | 10632 cat conftest.$ac_ext >&5 |
10650 fi | 10651 fi |
10651 | 10652 |
10652 | 10653 |
10653 if test "$have_motif" = "yes"; then | 10654 if test "$have_motif" = "yes"; then |
10654 echo $ac_n "checking for Lesstif""... $ac_c" 1>&6 | 10655 echo $ac_n "checking for Lesstif""... $ac_c" 1>&6 |
10655 echo "configure:10656: checking for Lesstif" >&5 | 10656 echo "configure:10657: checking for Lesstif" >&5 |
10656 cat > conftest.$ac_ext <<EOF | 10657 cat > conftest.$ac_ext <<EOF |
10657 #line 10658 "configure" | 10658 #line 10659 "configure" |
10658 #include "confdefs.h" | 10659 #include "confdefs.h" |
10659 #include <Xm/Xm.h> | 10660 #include <Xm/Xm.h> |
10660 #ifdef LESSTIF_VERSION | 10661 #ifdef LESSTIF_VERSION |
10661 yes | 10662 yes |
10662 #endif | 10663 #endif |
11025 | 11026 |
11026 fi | 11027 fi |
11027 | 11028 |
11028 if test "$with_mule" = "yes" ; then | 11029 if test "$with_mule" = "yes" ; then |
11029 echo "checking for Mule-related features" 1>&6 | 11030 echo "checking for Mule-related features" 1>&6 |
11030 echo "configure:11031: checking for Mule-related features" >&5 | 11031 echo "configure:11032: checking for Mule-related features" >&5 |
11031 { test "$extra_verbose" = "yes" && cat << \EOF | 11032 { test "$extra_verbose" = "yes" && cat << \EOF |
11032 Defining MULE | 11033 Defining MULE |
11033 EOF | 11034 EOF |
11034 cat >> confdefs.h <<\EOF | 11035 cat >> confdefs.h <<\EOF |
11035 #define MULE 1 | 11036 #define MULE 1 |
11039 | 11040 |
11040 for ac_hdr in libintl.h | 11041 for ac_hdr in libintl.h |
11041 do | 11042 do |
11042 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 11043 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
11043 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 11044 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
11044 echo "configure:11045: checking for $ac_hdr" >&5 | 11045 echo "configure:11046: checking for $ac_hdr" >&5 |
11045 | 11046 |
11046 cat > conftest.$ac_ext <<EOF | 11047 cat > conftest.$ac_ext <<EOF |
11047 #line 11048 "configure" | 11048 #line 11049 "configure" |
11048 #include "confdefs.h" | 11049 #include "confdefs.h" |
11049 #include <$ac_hdr> | 11050 #include <$ac_hdr> |
11050 EOF | 11051 EOF |
11051 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 11052 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
11052 { (eval echo configure:11053: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 11053 { (eval echo configure:11054: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
11053 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 11054 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
11054 if test -z "$ac_err"; then | 11055 if test -z "$ac_err"; then |
11055 rm -rf conftest* | 11056 rm -rf conftest* |
11056 eval "ac_cv_header_$ac_safe=yes" | 11057 eval "ac_cv_header_$ac_safe=yes" |
11057 else | 11058 else |
11078 fi | 11079 fi |
11079 done | 11080 done |
11080 | 11081 |
11081 | 11082 |
11082 echo $ac_n "checking for strerror in -lintl""... $ac_c" 1>&6 | 11083 echo $ac_n "checking for strerror in -lintl""... $ac_c" 1>&6 |
11083 echo "configure:11084: checking for strerror in -lintl" >&5 | 11084 echo "configure:11085: checking for strerror in -lintl" >&5 |
11084 ac_lib_var=`echo intl'_'strerror | sed 'y%./+-%__p_%'` | 11085 ac_lib_var=`echo intl'_'strerror | sed 'y%./+-%__p_%'` |
11085 | 11086 |
11086 xe_check_libs=" -lintl " | 11087 xe_check_libs=" -lintl " |
11087 cat > conftest.$ac_ext <<EOF | 11088 cat > conftest.$ac_ext <<EOF |
11088 #line 11089 "configure" | 11089 #line 11090 "configure" |
11089 #include "confdefs.h" | 11090 #include "confdefs.h" |
11090 /* Override any gcc2 internal prototype to avoid an error. */ | 11091 /* Override any gcc2 internal prototype to avoid an error. */ |
11091 /* We use char because int might match the return type of a gcc2 | 11092 /* We use char because int might match the return type of a gcc2 |
11092 builtin and then its argument prototype would still apply. */ | 11093 builtin and then its argument prototype would still apply. */ |
11093 char strerror(); | 11094 char strerror(); |
11094 | 11095 |
11095 int main() { | 11096 int main() { |
11096 strerror() | 11097 strerror() |
11097 ; return 0; } | 11098 ; return 0; } |
11098 EOF | 11099 EOF |
11099 if { (eval echo configure:11100: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11100 if { (eval echo configure:11101: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11100 rm -rf conftest* | 11101 rm -rf conftest* |
11101 eval "ac_cv_lib_$ac_lib_var=yes" | 11102 eval "ac_cv_lib_$ac_lib_var=yes" |
11102 else | 11103 else |
11103 echo "configure: failed program was:" >&5 | 11104 echo "configure: failed program was:" >&5 |
11104 cat conftest.$ac_ext >&5 | 11105 cat conftest.$ac_ext >&5 |
11127 fi | 11128 fi |
11128 | 11129 |
11129 | 11130 |
11130 | 11131 |
11131 echo "checking for Mule input methods" 1>&6 | 11132 echo "checking for Mule input methods" 1>&6 |
11132 echo "configure:11133: checking for Mule input methods" >&5 | 11133 echo "configure:11134: checking for Mule input methods" >&5 |
11133 case "$with_xim" in "" | "yes" ) | 11134 case "$with_xim" in "" | "yes" ) |
11134 echo "checking for XIM" 1>&6 | 11135 echo "checking for XIM" 1>&6 |
11135 echo "configure:11136: checking for XIM" >&5 | 11136 echo "configure:11137: checking for XIM" >&5 |
11136 | 11137 |
11137 echo $ac_n "checking for XOpenIM in -lX11""... $ac_c" 1>&6 | 11138 echo $ac_n "checking for XOpenIM in -lX11""... $ac_c" 1>&6 |
11138 echo "configure:11139: checking for XOpenIM in -lX11" >&5 | 11139 echo "configure:11140: checking for XOpenIM in -lX11" >&5 |
11139 ac_lib_var=`echo X11'_'XOpenIM | sed 'y%./+-%__p_%'` | 11140 ac_lib_var=`echo X11'_'XOpenIM | sed 'y%./+-%__p_%'` |
11140 | 11141 |
11141 xe_check_libs=" -lX11 " | 11142 xe_check_libs=" -lX11 " |
11142 cat > conftest.$ac_ext <<EOF | 11143 cat > conftest.$ac_ext <<EOF |
11143 #line 11144 "configure" | 11144 #line 11145 "configure" |
11144 #include "confdefs.h" | 11145 #include "confdefs.h" |
11145 /* Override any gcc2 internal prototype to avoid an error. */ | 11146 /* Override any gcc2 internal prototype to avoid an error. */ |
11146 /* We use char because int might match the return type of a gcc2 | 11147 /* We use char because int might match the return type of a gcc2 |
11147 builtin and then its argument prototype would still apply. */ | 11148 builtin and then its argument prototype would still apply. */ |
11148 char XOpenIM(); | 11149 char XOpenIM(); |
11149 | 11150 |
11150 int main() { | 11151 int main() { |
11151 XOpenIM() | 11152 XOpenIM() |
11152 ; return 0; } | 11153 ; return 0; } |
11153 EOF | 11154 EOF |
11154 if { (eval echo configure:11155: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11155 if { (eval echo configure:11156: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11155 rm -rf conftest* | 11156 rm -rf conftest* |
11156 eval "ac_cv_lib_$ac_lib_var=yes" | 11157 eval "ac_cv_lib_$ac_lib_var=yes" |
11157 else | 11158 else |
11158 echo "configure: failed program was:" >&5 | 11159 echo "configure: failed program was:" >&5 |
11159 cat conftest.$ac_ext >&5 | 11160 cat conftest.$ac_ext >&5 |
11173 | 11174 |
11174 | 11175 |
11175 if test "$have_motif $have_lesstif" = "yes no"; then | 11176 if test "$have_motif $have_lesstif" = "yes no"; then |
11176 | 11177 |
11177 echo $ac_n "checking for XmImMbLookupString in -lXm""... $ac_c" 1>&6 | 11178 echo $ac_n "checking for XmImMbLookupString in -lXm""... $ac_c" 1>&6 |
11178 echo "configure:11179: checking for XmImMbLookupString in -lXm" >&5 | 11179 echo "configure:11180: checking for XmImMbLookupString in -lXm" >&5 |
11179 ac_lib_var=`echo Xm'_'XmImMbLookupString | sed 'y%./+-%__p_%'` | 11180 ac_lib_var=`echo Xm'_'XmImMbLookupString | sed 'y%./+-%__p_%'` |
11180 | 11181 |
11181 xe_check_libs=" -lXm " | 11182 xe_check_libs=" -lXm " |
11182 cat > conftest.$ac_ext <<EOF | 11183 cat > conftest.$ac_ext <<EOF |
11183 #line 11184 "configure" | 11184 #line 11185 "configure" |
11184 #include "confdefs.h" | 11185 #include "confdefs.h" |
11185 /* Override any gcc2 internal prototype to avoid an error. */ | 11186 /* Override any gcc2 internal prototype to avoid an error. */ |
11186 /* We use char because int might match the return type of a gcc2 | 11187 /* We use char because int might match the return type of a gcc2 |
11187 builtin and then its argument prototype would still apply. */ | 11188 builtin and then its argument prototype would still apply. */ |
11188 char XmImMbLookupString(); | 11189 char XmImMbLookupString(); |
11189 | 11190 |
11190 int main() { | 11191 int main() { |
11191 XmImMbLookupString() | 11192 XmImMbLookupString() |
11192 ; return 0; } | 11193 ; return 0; } |
11193 EOF | 11194 EOF |
11194 if { (eval echo configure:11195: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11195 if { (eval echo configure:11196: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11195 rm -rf conftest* | 11196 rm -rf conftest* |
11196 eval "ac_cv_lib_$ac_lib_var=yes" | 11197 eval "ac_cv_lib_$ac_lib_var=yes" |
11197 else | 11198 else |
11198 echo "configure: failed program was:" >&5 | 11199 echo "configure: failed program was:" >&5 |
11199 cat conftest.$ac_ext >&5 | 11200 cat conftest.$ac_ext >&5 |
11254 fi | 11255 fi |
11255 fi | 11256 fi |
11256 | 11257 |
11257 if test "$with_xfs" = "yes" ; then | 11258 if test "$with_xfs" = "yes" ; then |
11258 echo "checking for XFontSet" 1>&6 | 11259 echo "checking for XFontSet" 1>&6 |
11259 echo "configure:11260: checking for XFontSet" >&5 | 11260 echo "configure:11261: checking for XFontSet" >&5 |
11260 | 11261 |
11261 echo $ac_n "checking for XmbDrawString in -lX11""... $ac_c" 1>&6 | 11262 echo $ac_n "checking for XmbDrawString in -lX11""... $ac_c" 1>&6 |
11262 echo "configure:11263: checking for XmbDrawString in -lX11" >&5 | 11263 echo "configure:11264: checking for XmbDrawString in -lX11" >&5 |
11263 ac_lib_var=`echo X11'_'XmbDrawString | sed 'y%./+-%__p_%'` | 11264 ac_lib_var=`echo X11'_'XmbDrawString | sed 'y%./+-%__p_%'` |
11264 | 11265 |
11265 xe_check_libs=" -lX11 " | 11266 xe_check_libs=" -lX11 " |
11266 cat > conftest.$ac_ext <<EOF | 11267 cat > conftest.$ac_ext <<EOF |
11267 #line 11268 "configure" | 11268 #line 11269 "configure" |
11268 #include "confdefs.h" | 11269 #include "confdefs.h" |
11269 /* Override any gcc2 internal prototype to avoid an error. */ | 11270 /* Override any gcc2 internal prototype to avoid an error. */ |
11270 /* We use char because int might match the return type of a gcc2 | 11271 /* We use char because int might match the return type of a gcc2 |
11271 builtin and then its argument prototype would still apply. */ | 11272 builtin and then its argument prototype would still apply. */ |
11272 char XmbDrawString(); | 11273 char XmbDrawString(); |
11273 | 11274 |
11274 int main() { | 11275 int main() { |
11275 XmbDrawString() | 11276 XmbDrawString() |
11276 ; return 0; } | 11277 ; return 0; } |
11277 EOF | 11278 EOF |
11278 if { (eval echo configure:11279: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11279 if { (eval echo configure:11280: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11279 rm -rf conftest* | 11280 rm -rf conftest* |
11280 eval "ac_cv_lib_$ac_lib_var=yes" | 11281 eval "ac_cv_lib_$ac_lib_var=yes" |
11281 else | 11282 else |
11282 echo "configure: failed program was:" >&5 | 11283 echo "configure: failed program was:" >&5 |
11283 cat conftest.$ac_ext >&5 | 11284 cat conftest.$ac_ext >&5 |
11313 fi | 11314 fi |
11314 fi | 11315 fi |
11315 test "$with_wnn6" = "yes" && with_wnn=yes # wnn6 implies wnn support | 11316 test "$with_wnn6" = "yes" && with_wnn=yes # wnn6 implies wnn support |
11316 test -z "$with_wnn" && { ac_safe=`echo "wnn/jllib.h" | sed 'y%./+-%__p_%'` | 11317 test -z "$with_wnn" && { ac_safe=`echo "wnn/jllib.h" | sed 'y%./+-%__p_%'` |
11317 echo $ac_n "checking for wnn/jllib.h""... $ac_c" 1>&6 | 11318 echo $ac_n "checking for wnn/jllib.h""... $ac_c" 1>&6 |
11318 echo "configure:11319: checking for wnn/jllib.h" >&5 | 11319 echo "configure:11320: checking for wnn/jllib.h" >&5 |
11319 | 11320 |
11320 cat > conftest.$ac_ext <<EOF | 11321 cat > conftest.$ac_ext <<EOF |
11321 #line 11322 "configure" | 11322 #line 11323 "configure" |
11322 #include "confdefs.h" | 11323 #include "confdefs.h" |
11323 #include <wnn/jllib.h> | 11324 #include <wnn/jllib.h> |
11324 EOF | 11325 EOF |
11325 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 11326 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
11326 { (eval echo configure:11327: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 11327 { (eval echo configure:11328: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
11327 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 11328 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
11328 if test -z "$ac_err"; then | 11329 if test -z "$ac_err"; then |
11329 rm -rf conftest* | 11330 rm -rf conftest* |
11330 eval "ac_cv_header_$ac_safe=yes" | 11331 eval "ac_cv_header_$ac_safe=yes" |
11331 else | 11332 else |
11344 with_wnn=no | 11345 with_wnn=no |
11345 fi | 11346 fi |
11346 } | 11347 } |
11347 test -z "$with_wnn" && { ac_safe=`echo "wnn/commonhd.h" | sed 'y%./+-%__p_%'` | 11348 test -z "$with_wnn" && { ac_safe=`echo "wnn/commonhd.h" | sed 'y%./+-%__p_%'` |
11348 echo $ac_n "checking for wnn/commonhd.h""... $ac_c" 1>&6 | 11349 echo $ac_n "checking for wnn/commonhd.h""... $ac_c" 1>&6 |
11349 echo "configure:11350: checking for wnn/commonhd.h" >&5 | 11350 echo "configure:11351: checking for wnn/commonhd.h" >&5 |
11350 | 11351 |
11351 cat > conftest.$ac_ext <<EOF | 11352 cat > conftest.$ac_ext <<EOF |
11352 #line 11353 "configure" | 11353 #line 11354 "configure" |
11353 #include "confdefs.h" | 11354 #include "confdefs.h" |
11354 #include <wnn/commonhd.h> | 11355 #include <wnn/commonhd.h> |
11355 EOF | 11356 EOF |
11356 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 11357 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
11357 { (eval echo configure:11358: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 11358 { (eval echo configure:11359: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
11358 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 11359 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
11359 if test -z "$ac_err"; then | 11360 if test -z "$ac_err"; then |
11360 rm -rf conftest* | 11361 rm -rf conftest* |
11361 eval "ac_cv_header_$ac_safe=yes" | 11362 eval "ac_cv_header_$ac_safe=yes" |
11362 else | 11363 else |
11377 } | 11378 } |
11378 if test "$with_wnn" != "no"; then | 11379 if test "$with_wnn" != "no"; then |
11379 for ac_func in crypt | 11380 for ac_func in crypt |
11380 do | 11381 do |
11381 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 11382 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
11382 echo "configure:11383: checking for $ac_func" >&5 | 11383 echo "configure:11384: checking for $ac_func" >&5 |
11383 | 11384 |
11384 cat > conftest.$ac_ext <<EOF | 11385 cat > conftest.$ac_ext <<EOF |
11385 #line 11386 "configure" | 11386 #line 11387 "configure" |
11386 #include "confdefs.h" | 11387 #include "confdefs.h" |
11387 /* System header to define __stub macros and hopefully few prototypes, | 11388 /* System header to define __stub macros and hopefully few prototypes, |
11388 which can conflict with char $ac_func(); below. */ | 11389 which can conflict with char $ac_func(); below. */ |
11389 #include <assert.h> | 11390 #include <assert.h> |
11390 /* Override any gcc2 internal prototype to avoid an error. */ | 11391 /* Override any gcc2 internal prototype to avoid an error. */ |
11403 $ac_func(); | 11404 $ac_func(); |
11404 #endif | 11405 #endif |
11405 | 11406 |
11406 ; return 0; } | 11407 ; return 0; } |
11407 EOF | 11408 EOF |
11408 if { (eval echo configure:11409: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11409 if { (eval echo configure:11410: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11409 rm -rf conftest* | 11410 rm -rf conftest* |
11410 eval "ac_cv_func_$ac_func=yes" | 11411 eval "ac_cv_func_$ac_func=yes" |
11411 else | 11412 else |
11412 echo "configure: failed program was:" >&5 | 11413 echo "configure: failed program was:" >&5 |
11413 cat conftest.$ac_ext >&5 | 11414 cat conftest.$ac_ext >&5 |
11432 fi | 11433 fi |
11433 done | 11434 done |
11434 | 11435 |
11435 test "$ac_cv_func_crypt" != "yes" && { | 11436 test "$ac_cv_func_crypt" != "yes" && { |
11436 echo $ac_n "checking for crypt in -lcrypt""... $ac_c" 1>&6 | 11437 echo $ac_n "checking for crypt in -lcrypt""... $ac_c" 1>&6 |
11437 echo "configure:11438: checking for crypt in -lcrypt" >&5 | 11438 echo "configure:11439: checking for crypt in -lcrypt" >&5 |
11438 ac_lib_var=`echo crypt'_'crypt | sed 'y%./+-%__p_%'` | 11439 ac_lib_var=`echo crypt'_'crypt | sed 'y%./+-%__p_%'` |
11439 | 11440 |
11440 xe_check_libs=" -lcrypt " | 11441 xe_check_libs=" -lcrypt " |
11441 cat > conftest.$ac_ext <<EOF | 11442 cat > conftest.$ac_ext <<EOF |
11442 #line 11443 "configure" | 11443 #line 11444 "configure" |
11443 #include "confdefs.h" | 11444 #include "confdefs.h" |
11444 /* Override any gcc2 internal prototype to avoid an error. */ | 11445 /* Override any gcc2 internal prototype to avoid an error. */ |
11445 /* We use char because int might match the return type of a gcc2 | 11446 /* We use char because int might match the return type of a gcc2 |
11446 builtin and then its argument prototype would still apply. */ | 11447 builtin and then its argument prototype would still apply. */ |
11447 char crypt(); | 11448 char crypt(); |
11448 | 11449 |
11449 int main() { | 11450 int main() { |
11450 crypt() | 11451 crypt() |
11451 ; return 0; } | 11452 ; return 0; } |
11452 EOF | 11453 EOF |
11453 if { (eval echo configure:11454: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11454 if { (eval echo configure:11455: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11454 rm -rf conftest* | 11455 rm -rf conftest* |
11455 eval "ac_cv_lib_$ac_lib_var=yes" | 11456 eval "ac_cv_lib_$ac_lib_var=yes" |
11456 else | 11457 else |
11457 echo "configure: failed program was:" >&5 | 11458 echo "configure: failed program was:" >&5 |
11458 cat conftest.$ac_ext >&5 | 11459 cat conftest.$ac_ext >&5 |
11483 } | 11484 } |
11484 fi | 11485 fi |
11485 if test -z "$with_wnn" -o "$with_wnn" = "yes"; then | 11486 if test -z "$with_wnn" -o "$with_wnn" = "yes"; then |
11486 | 11487 |
11487 echo $ac_n "checking for jl_dic_list_e in -lwnn""... $ac_c" 1>&6 | 11488 echo $ac_n "checking for jl_dic_list_e in -lwnn""... $ac_c" 1>&6 |
11488 echo "configure:11489: checking for jl_dic_list_e in -lwnn" >&5 | 11489 echo "configure:11490: checking for jl_dic_list_e in -lwnn" >&5 |
11489 ac_lib_var=`echo wnn'_'jl_dic_list_e | sed 'y%./+-%__p_%'` | 11490 ac_lib_var=`echo wnn'_'jl_dic_list_e | sed 'y%./+-%__p_%'` |
11490 | 11491 |
11491 xe_check_libs=" -lwnn " | 11492 xe_check_libs=" -lwnn " |
11492 cat > conftest.$ac_ext <<EOF | 11493 cat > conftest.$ac_ext <<EOF |
11493 #line 11494 "configure" | 11494 #line 11495 "configure" |
11494 #include "confdefs.h" | 11495 #include "confdefs.h" |
11495 /* Override any gcc2 internal prototype to avoid an error. */ | 11496 /* Override any gcc2 internal prototype to avoid an error. */ |
11496 /* We use char because int might match the return type of a gcc2 | 11497 /* We use char because int might match the return type of a gcc2 |
11497 builtin and then its argument prototype would still apply. */ | 11498 builtin and then its argument prototype would still apply. */ |
11498 char jl_dic_list_e(); | 11499 char jl_dic_list_e(); |
11499 | 11500 |
11500 int main() { | 11501 int main() { |
11501 jl_dic_list_e() | 11502 jl_dic_list_e() |
11502 ; return 0; } | 11503 ; return 0; } |
11503 EOF | 11504 EOF |
11504 if { (eval echo configure:11505: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11505 if { (eval echo configure:11506: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11505 rm -rf conftest* | 11506 rm -rf conftest* |
11506 eval "ac_cv_lib_$ac_lib_var=yes" | 11507 eval "ac_cv_lib_$ac_lib_var=yes" |
11507 else | 11508 else |
11508 echo "configure: failed program was:" >&5 | 11509 echo "configure: failed program was:" >&5 |
11509 cat conftest.$ac_ext >&5 | 11510 cat conftest.$ac_ext >&5 |
11517 echo "$ac_t""yes" 1>&6 | 11518 echo "$ac_t""yes" 1>&6 |
11518 libwnn=wnn | 11519 libwnn=wnn |
11519 else | 11520 else |
11520 echo "$ac_t""no" 1>&6 | 11521 echo "$ac_t""no" 1>&6 |
11521 echo $ac_n "checking for jl_dic_list_e in -lwnn4""... $ac_c" 1>&6 | 11522 echo $ac_n "checking for jl_dic_list_e in -lwnn4""... $ac_c" 1>&6 |
11522 echo "configure:11523: checking for jl_dic_list_e in -lwnn4" >&5 | 11523 echo "configure:11524: checking for jl_dic_list_e in -lwnn4" >&5 |
11523 ac_lib_var=`echo wnn4'_'jl_dic_list_e | sed 'y%./+-%__p_%'` | 11524 ac_lib_var=`echo wnn4'_'jl_dic_list_e | sed 'y%./+-%__p_%'` |
11524 | 11525 |
11525 xe_check_libs=" -lwnn4 " | 11526 xe_check_libs=" -lwnn4 " |
11526 cat > conftest.$ac_ext <<EOF | 11527 cat > conftest.$ac_ext <<EOF |
11527 #line 11528 "configure" | 11528 #line 11529 "configure" |
11528 #include "confdefs.h" | 11529 #include "confdefs.h" |
11529 /* Override any gcc2 internal prototype to avoid an error. */ | 11530 /* Override any gcc2 internal prototype to avoid an error. */ |
11530 /* We use char because int might match the return type of a gcc2 | 11531 /* We use char because int might match the return type of a gcc2 |
11531 builtin and then its argument prototype would still apply. */ | 11532 builtin and then its argument prototype would still apply. */ |
11532 char jl_dic_list_e(); | 11533 char jl_dic_list_e(); |
11533 | 11534 |
11534 int main() { | 11535 int main() { |
11535 jl_dic_list_e() | 11536 jl_dic_list_e() |
11536 ; return 0; } | 11537 ; return 0; } |
11537 EOF | 11538 EOF |
11538 if { (eval echo configure:11539: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11539 if { (eval echo configure:11540: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11539 rm -rf conftest* | 11540 rm -rf conftest* |
11540 eval "ac_cv_lib_$ac_lib_var=yes" | 11541 eval "ac_cv_lib_$ac_lib_var=yes" |
11541 else | 11542 else |
11542 echo "configure: failed program was:" >&5 | 11543 echo "configure: failed program was:" >&5 |
11543 cat conftest.$ac_ext >&5 | 11544 cat conftest.$ac_ext >&5 |
11551 echo "$ac_t""yes" 1>&6 | 11552 echo "$ac_t""yes" 1>&6 |
11552 libwnn=wnn4 | 11553 libwnn=wnn4 |
11553 else | 11554 else |
11554 echo "$ac_t""no" 1>&6 | 11555 echo "$ac_t""no" 1>&6 |
11555 echo $ac_n "checking for jl_dic_list_e in -lwnn6""... $ac_c" 1>&6 | 11556 echo $ac_n "checking for jl_dic_list_e in -lwnn6""... $ac_c" 1>&6 |
11556 echo "configure:11557: checking for jl_dic_list_e in -lwnn6" >&5 | 11557 echo "configure:11558: checking for jl_dic_list_e in -lwnn6" >&5 |
11557 ac_lib_var=`echo wnn6'_'jl_dic_list_e | sed 'y%./+-%__p_%'` | 11558 ac_lib_var=`echo wnn6'_'jl_dic_list_e | sed 'y%./+-%__p_%'` |
11558 | 11559 |
11559 xe_check_libs=" -lwnn6 " | 11560 xe_check_libs=" -lwnn6 " |
11560 cat > conftest.$ac_ext <<EOF | 11561 cat > conftest.$ac_ext <<EOF |
11561 #line 11562 "configure" | 11562 #line 11563 "configure" |
11562 #include "confdefs.h" | 11563 #include "confdefs.h" |
11563 /* Override any gcc2 internal prototype to avoid an error. */ | 11564 /* Override any gcc2 internal prototype to avoid an error. */ |
11564 /* We use char because int might match the return type of a gcc2 | 11565 /* We use char because int might match the return type of a gcc2 |
11565 builtin and then its argument prototype would still apply. */ | 11566 builtin and then its argument prototype would still apply. */ |
11566 char jl_dic_list_e(); | 11567 char jl_dic_list_e(); |
11567 | 11568 |
11568 int main() { | 11569 int main() { |
11569 jl_dic_list_e() | 11570 jl_dic_list_e() |
11570 ; return 0; } | 11571 ; return 0; } |
11571 EOF | 11572 EOF |
11572 if { (eval echo configure:11573: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11573 if { (eval echo configure:11574: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11573 rm -rf conftest* | 11574 rm -rf conftest* |
11574 eval "ac_cv_lib_$ac_lib_var=yes" | 11575 eval "ac_cv_lib_$ac_lib_var=yes" |
11575 else | 11576 else |
11576 echo "configure: failed program was:" >&5 | 11577 echo "configure: failed program was:" >&5 |
11577 cat conftest.$ac_ext >&5 | 11578 cat conftest.$ac_ext >&5 |
11585 echo "$ac_t""yes" 1>&6 | 11586 echo "$ac_t""yes" 1>&6 |
11586 libwnn=wnn6 | 11587 libwnn=wnn6 |
11587 else | 11588 else |
11588 echo "$ac_t""no" 1>&6 | 11589 echo "$ac_t""no" 1>&6 |
11589 echo $ac_n "checking for dic_list_e in -lwnn6_fromsrc""... $ac_c" 1>&6 | 11590 echo $ac_n "checking for dic_list_e in -lwnn6_fromsrc""... $ac_c" 1>&6 |
11590 echo "configure:11591: checking for dic_list_e in -lwnn6_fromsrc" >&5 | 11591 echo "configure:11592: checking for dic_list_e in -lwnn6_fromsrc" >&5 |
11591 ac_lib_var=`echo wnn6_fromsrc'_'dic_list_e | sed 'y%./+-%__p_%'` | 11592 ac_lib_var=`echo wnn6_fromsrc'_'dic_list_e | sed 'y%./+-%__p_%'` |
11592 | 11593 |
11593 xe_check_libs=" -lwnn6_fromsrc " | 11594 xe_check_libs=" -lwnn6_fromsrc " |
11594 cat > conftest.$ac_ext <<EOF | 11595 cat > conftest.$ac_ext <<EOF |
11595 #line 11596 "configure" | 11596 #line 11597 "configure" |
11596 #include "confdefs.h" | 11597 #include "confdefs.h" |
11597 /* Override any gcc2 internal prototype to avoid an error. */ | 11598 /* Override any gcc2 internal prototype to avoid an error. */ |
11598 /* We use char because int might match the return type of a gcc2 | 11599 /* We use char because int might match the return type of a gcc2 |
11599 builtin and then its argument prototype would still apply. */ | 11600 builtin and then its argument prototype would still apply. */ |
11600 char dic_list_e(); | 11601 char dic_list_e(); |
11601 | 11602 |
11602 int main() { | 11603 int main() { |
11603 dic_list_e() | 11604 dic_list_e() |
11604 ; return 0; } | 11605 ; return 0; } |
11605 EOF | 11606 EOF |
11606 if { (eval echo configure:11607: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11607 if { (eval echo configure:11608: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11607 rm -rf conftest* | 11608 rm -rf conftest* |
11608 eval "ac_cv_lib_$ac_lib_var=yes" | 11609 eval "ac_cv_lib_$ac_lib_var=yes" |
11609 else | 11610 else |
11610 echo "configure: failed program was:" >&5 | 11611 echo "configure: failed program was:" >&5 |
11611 cat conftest.$ac_ext >&5 | 11612 cat conftest.$ac_ext >&5 |
11646 | 11647 |
11647 libs_x="-l$libwnn $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-l$libwnn\" to \$libs_x"; fi | 11648 libs_x="-l$libwnn $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-l$libwnn\" to \$libs_x"; fi |
11648 if test "$with_wnn6" != "no"; then | 11649 if test "$with_wnn6" != "no"; then |
11649 | 11650 |
11650 echo $ac_n "checking for jl_fi_dic_list in -l$libwnn""... $ac_c" 1>&6 | 11651 echo $ac_n "checking for jl_fi_dic_list in -l$libwnn""... $ac_c" 1>&6 |
11651 echo "configure:11652: checking for jl_fi_dic_list in -l$libwnn" >&5 | 11652 echo "configure:11653: checking for jl_fi_dic_list in -l$libwnn" >&5 |
11652 ac_lib_var=`echo $libwnn'_'jl_fi_dic_list | sed 'y%./+-%__p_%'` | 11653 ac_lib_var=`echo $libwnn'_'jl_fi_dic_list | sed 'y%./+-%__p_%'` |
11653 | 11654 |
11654 xe_check_libs=" -l$libwnn " | 11655 xe_check_libs=" -l$libwnn " |
11655 cat > conftest.$ac_ext <<EOF | 11656 cat > conftest.$ac_ext <<EOF |
11656 #line 11657 "configure" | 11657 #line 11658 "configure" |
11657 #include "confdefs.h" | 11658 #include "confdefs.h" |
11658 /* Override any gcc2 internal prototype to avoid an error. */ | 11659 /* Override any gcc2 internal prototype to avoid an error. */ |
11659 /* We use char because int might match the return type of a gcc2 | 11660 /* We use char because int might match the return type of a gcc2 |
11660 builtin and then its argument prototype would still apply. */ | 11661 builtin and then its argument prototype would still apply. */ |
11661 char jl_fi_dic_list(); | 11662 char jl_fi_dic_list(); |
11662 | 11663 |
11663 int main() { | 11664 int main() { |
11664 jl_fi_dic_list() | 11665 jl_fi_dic_list() |
11665 ; return 0; } | 11666 ; return 0; } |
11666 EOF | 11667 EOF |
11667 if { (eval echo configure:11668: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11668 if { (eval echo configure:11669: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11668 rm -rf conftest* | 11669 rm -rf conftest* |
11669 eval "ac_cv_lib_$ac_lib_var=yes" | 11670 eval "ac_cv_lib_$ac_lib_var=yes" |
11670 else | 11671 else |
11671 echo "configure: failed program was:" >&5 | 11672 echo "configure: failed program was:" >&5 |
11672 cat conftest.$ac_ext >&5 | 11673 cat conftest.$ac_ext >&5 |
11697 | 11698 |
11698 canna_includes_found=no | 11699 canna_includes_found=no |
11699 if test "$with_canna" != "no"; then | 11700 if test "$with_canna" != "no"; then |
11700 ac_safe=`echo "canna/jrkanji.h" | sed 'y%./+-%__p_%'` | 11701 ac_safe=`echo "canna/jrkanji.h" | sed 'y%./+-%__p_%'` |
11701 echo $ac_n "checking for canna/jrkanji.h""... $ac_c" 1>&6 | 11702 echo $ac_n "checking for canna/jrkanji.h""... $ac_c" 1>&6 |
11702 echo "configure:11703: checking for canna/jrkanji.h" >&5 | 11703 echo "configure:11704: checking for canna/jrkanji.h" >&5 |
11703 | 11704 |
11704 cat > conftest.$ac_ext <<EOF | 11705 cat > conftest.$ac_ext <<EOF |
11705 #line 11706 "configure" | 11706 #line 11707 "configure" |
11706 #include "confdefs.h" | 11707 #include "confdefs.h" |
11707 #include <canna/jrkanji.h> | 11708 #include <canna/jrkanji.h> |
11708 EOF | 11709 EOF |
11709 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 11710 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
11710 { (eval echo configure:11711: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 11711 { (eval echo configure:11712: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
11711 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 11712 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
11712 if test -z "$ac_err"; then | 11713 if test -z "$ac_err"; then |
11713 rm -rf conftest* | 11714 rm -rf conftest* |
11714 eval "ac_cv_header_$ac_safe=yes" | 11715 eval "ac_cv_header_$ac_safe=yes" |
11715 else | 11716 else |
11732 -d "/usr/local/canna/include"; then | 11733 -d "/usr/local/canna/include"; then |
11733 save_c_switch_site="$c_switch_site" | 11734 save_c_switch_site="$c_switch_site" |
11734 c_switch_site="$c_switch_site -I/usr/local/canna/include" | 11735 c_switch_site="$c_switch_site -I/usr/local/canna/include" |
11735 ac_safe=`echo "canna/jrkanji.h" | sed 'y%./+-%__p_%'` | 11736 ac_safe=`echo "canna/jrkanji.h" | sed 'y%./+-%__p_%'` |
11736 echo $ac_n "checking for canna/jrkanji.h""... $ac_c" 1>&6 | 11737 echo $ac_n "checking for canna/jrkanji.h""... $ac_c" 1>&6 |
11737 echo "configure:11738: checking for canna/jrkanji.h" >&5 | 11738 echo "configure:11739: checking for canna/jrkanji.h" >&5 |
11738 | 11739 |
11739 cat > conftest.$ac_ext <<EOF | 11740 cat > conftest.$ac_ext <<EOF |
11740 #line 11741 "configure" | 11741 #line 11742 "configure" |
11741 #include "confdefs.h" | 11742 #include "confdefs.h" |
11742 #include <canna/jrkanji.h> | 11743 #include <canna/jrkanji.h> |
11743 EOF | 11744 EOF |
11744 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 11745 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
11745 { (eval echo configure:11746: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 11746 { (eval echo configure:11747: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
11746 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 11747 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
11747 if test -z "$ac_err"; then | 11748 if test -z "$ac_err"; then |
11748 rm -rf conftest* | 11749 rm -rf conftest* |
11749 eval "ac_cv_header_$ac_safe=yes" | 11750 eval "ac_cv_header_$ac_safe=yes" |
11750 else | 11751 else |
11768 fi | 11769 fi |
11769 fi | 11770 fi |
11770 | 11771 |
11771 test -z "$with_canna" && { ac_safe=`echo "canna/RK.h" | sed 'y%./+-%__p_%'` | 11772 test -z "$with_canna" && { ac_safe=`echo "canna/RK.h" | sed 'y%./+-%__p_%'` |
11772 echo $ac_n "checking for canna/RK.h""... $ac_c" 1>&6 | 11773 echo $ac_n "checking for canna/RK.h""... $ac_c" 1>&6 |
11773 echo "configure:11774: checking for canna/RK.h" >&5 | 11774 echo "configure:11775: checking for canna/RK.h" >&5 |
11774 | 11775 |
11775 cat > conftest.$ac_ext <<EOF | 11776 cat > conftest.$ac_ext <<EOF |
11776 #line 11777 "configure" | 11777 #line 11778 "configure" |
11777 #include "confdefs.h" | 11778 #include "confdefs.h" |
11778 #include <canna/RK.h> | 11779 #include <canna/RK.h> |
11779 EOF | 11780 EOF |
11780 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 11781 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
11781 { (eval echo configure:11782: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 11782 { (eval echo configure:11783: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
11782 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 11783 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
11783 if test -z "$ac_err"; then | 11784 if test -z "$ac_err"; then |
11784 rm -rf conftest* | 11785 rm -rf conftest* |
11785 eval "ac_cv_header_$ac_safe=yes" | 11786 eval "ac_cv_header_$ac_safe=yes" |
11786 else | 11787 else |
11799 with_canna=no | 11800 with_canna=no |
11800 fi | 11801 fi |
11801 } | 11802 } |
11802 test -z "$with_canna" && { | 11803 test -z "$with_canna" && { |
11803 echo $ac_n "checking for RkBgnBun in -lRKC""... $ac_c" 1>&6 | 11804 echo $ac_n "checking for RkBgnBun in -lRKC""... $ac_c" 1>&6 |
11804 echo "configure:11805: checking for RkBgnBun in -lRKC" >&5 | 11805 echo "configure:11806: checking for RkBgnBun in -lRKC" >&5 |
11805 ac_lib_var=`echo RKC'_'RkBgnBun | sed 'y%./+-%__p_%'` | 11806 ac_lib_var=`echo RKC'_'RkBgnBun | sed 'y%./+-%__p_%'` |
11806 | 11807 |
11807 xe_check_libs=" -lRKC " | 11808 xe_check_libs=" -lRKC " |
11808 cat > conftest.$ac_ext <<EOF | 11809 cat > conftest.$ac_ext <<EOF |
11809 #line 11810 "configure" | 11810 #line 11811 "configure" |
11810 #include "confdefs.h" | 11811 #include "confdefs.h" |
11811 /* Override any gcc2 internal prototype to avoid an error. */ | 11812 /* Override any gcc2 internal prototype to avoid an error. */ |
11812 /* We use char because int might match the return type of a gcc2 | 11813 /* We use char because int might match the return type of a gcc2 |
11813 builtin and then its argument prototype would still apply. */ | 11814 builtin and then its argument prototype would still apply. */ |
11814 char RkBgnBun(); | 11815 char RkBgnBun(); |
11815 | 11816 |
11816 int main() { | 11817 int main() { |
11817 RkBgnBun() | 11818 RkBgnBun() |
11818 ; return 0; } | 11819 ; return 0; } |
11819 EOF | 11820 EOF |
11820 if { (eval echo configure:11821: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11821 if { (eval echo configure:11822: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11821 rm -rf conftest* | 11822 rm -rf conftest* |
11822 eval "ac_cv_lib_$ac_lib_var=yes" | 11823 eval "ac_cv_lib_$ac_lib_var=yes" |
11823 else | 11824 else |
11824 echo "configure: failed program was:" >&5 | 11825 echo "configure: failed program was:" >&5 |
11825 cat conftest.$ac_ext >&5 | 11826 cat conftest.$ac_ext >&5 |
11838 fi | 11839 fi |
11839 | 11840 |
11840 } | 11841 } |
11841 test -z "$with_canna" && { | 11842 test -z "$with_canna" && { |
11842 echo $ac_n "checking for jrKanjiControl in -lcanna""... $ac_c" 1>&6 | 11843 echo $ac_n "checking for jrKanjiControl in -lcanna""... $ac_c" 1>&6 |
11843 echo "configure:11844: checking for jrKanjiControl in -lcanna" >&5 | 11844 echo "configure:11845: checking for jrKanjiControl in -lcanna" >&5 |
11844 ac_lib_var=`echo canna'_'jrKanjiControl | sed 'y%./+-%__p_%'` | 11845 ac_lib_var=`echo canna'_'jrKanjiControl | sed 'y%./+-%__p_%'` |
11845 | 11846 |
11846 xe_check_libs=" -lcanna " | 11847 xe_check_libs=" -lcanna " |
11847 cat > conftest.$ac_ext <<EOF | 11848 cat > conftest.$ac_ext <<EOF |
11848 #line 11849 "configure" | 11849 #line 11850 "configure" |
11849 #include "confdefs.h" | 11850 #include "confdefs.h" |
11850 /* Override any gcc2 internal prototype to avoid an error. */ | 11851 /* Override any gcc2 internal prototype to avoid an error. */ |
11851 /* We use char because int might match the return type of a gcc2 | 11852 /* We use char because int might match the return type of a gcc2 |
11852 builtin and then its argument prototype would still apply. */ | 11853 builtin and then its argument prototype would still apply. */ |
11853 char jrKanjiControl(); | 11854 char jrKanjiControl(); |
11854 | 11855 |
11855 int main() { | 11856 int main() { |
11856 jrKanjiControl() | 11857 jrKanjiControl() |
11857 ; return 0; } | 11858 ; return 0; } |
11858 EOF | 11859 EOF |
11859 if { (eval echo configure:11860: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11860 if { (eval echo configure:11861: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11860 rm -rf conftest* | 11861 rm -rf conftest* |
11861 eval "ac_cv_lib_$ac_lib_var=yes" | 11862 eval "ac_cv_lib_$ac_lib_var=yes" |
11862 else | 11863 else |
11863 echo "configure: failed program was:" >&5 | 11864 echo "configure: failed program was:" >&5 |
11864 cat conftest.$ac_ext >&5 | 11865 cat conftest.$ac_ext >&5 |
11900 | 11901 |
11901 if test "$need_motif" = "yes" ; then | 11902 if test "$need_motif" = "yes" ; then |
11902 libs_x="-lXm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXm\" to \$libs_x"; fi | 11903 libs_x="-lXm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXm\" to \$libs_x"; fi |
11903 | 11904 |
11904 echo $ac_n "checking for layout_object_getvalue in -li18n""... $ac_c" 1>&6 | 11905 echo $ac_n "checking for layout_object_getvalue in -li18n""... $ac_c" 1>&6 |
11905 echo "configure:11906: checking for layout_object_getvalue in -li18n" >&5 | 11906 echo "configure:11907: checking for layout_object_getvalue in -li18n" >&5 |
11906 ac_lib_var=`echo i18n'_'layout_object_getvalue | sed 'y%./+-%__p_%'` | 11907 ac_lib_var=`echo i18n'_'layout_object_getvalue | sed 'y%./+-%__p_%'` |
11907 | 11908 |
11908 xe_check_libs=" -li18n " | 11909 xe_check_libs=" -li18n " |
11909 cat > conftest.$ac_ext <<EOF | 11910 cat > conftest.$ac_ext <<EOF |
11910 #line 11911 "configure" | 11911 #line 11912 "configure" |
11911 #include "confdefs.h" | 11912 #include "confdefs.h" |
11912 /* Override any gcc2 internal prototype to avoid an error. */ | 11913 /* Override any gcc2 internal prototype to avoid an error. */ |
11913 /* We use char because int might match the return type of a gcc2 | 11914 /* We use char because int might match the return type of a gcc2 |
11914 builtin and then its argument prototype would still apply. */ | 11915 builtin and then its argument prototype would still apply. */ |
11915 char layout_object_getvalue(); | 11916 char layout_object_getvalue(); |
11916 | 11917 |
11917 int main() { | 11918 int main() { |
11918 layout_object_getvalue() | 11919 layout_object_getvalue() |
11919 ; return 0; } | 11920 ; return 0; } |
11920 EOF | 11921 EOF |
11921 if { (eval echo configure:11922: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11922 if { (eval echo configure:11923: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11922 rm -rf conftest* | 11923 rm -rf conftest* |
11923 eval "ac_cv_lib_$ac_lib_var=yes" | 11924 eval "ac_cv_lib_$ac_lib_var=yes" |
11924 else | 11925 else |
11925 echo "configure: failed program was:" >&5 | 11926 echo "configure: failed program was:" >&5 |
11926 cat conftest.$ac_ext >&5 | 11927 cat conftest.$ac_ext >&5 |
12003 | 12004 |
12004 | 12005 |
12005 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 | 12006 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 |
12006 do | 12007 do |
12007 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 12008 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
12008 echo "configure:12009: checking for $ac_func" >&5 | 12009 echo "configure:12010: checking for $ac_func" >&5 |
12009 | 12010 |
12010 cat > conftest.$ac_ext <<EOF | 12011 cat > conftest.$ac_ext <<EOF |
12011 #line 12012 "configure" | 12012 #line 12013 "configure" |
12012 #include "confdefs.h" | 12013 #include "confdefs.h" |
12013 /* System header to define __stub macros and hopefully few prototypes, | 12014 /* System header to define __stub macros and hopefully few prototypes, |
12014 which can conflict with char $ac_func(); below. */ | 12015 which can conflict with char $ac_func(); below. */ |
12015 #include <assert.h> | 12016 #include <assert.h> |
12016 /* Override any gcc2 internal prototype to avoid an error. */ | 12017 /* Override any gcc2 internal prototype to avoid an error. */ |
12029 $ac_func(); | 12030 $ac_func(); |
12030 #endif | 12031 #endif |
12031 | 12032 |
12032 ; return 0; } | 12033 ; return 0; } |
12033 EOF | 12034 EOF |
12034 if { (eval echo configure:12035: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12035 if { (eval echo configure:12036: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12035 rm -rf conftest* | 12036 rm -rf conftest* |
12036 eval "ac_cv_func_$ac_func=yes" | 12037 eval "ac_cv_func_$ac_func=yes" |
12037 else | 12038 else |
12038 echo "configure: failed program was:" >&5 | 12039 echo "configure: failed program was:" >&5 |
12039 cat conftest.$ac_ext >&5 | 12040 cat conftest.$ac_ext >&5 |
12070 | 12071 |
12071 | 12072 |
12072 for ac_func in getpt _getpty grantpt unlockpt ptsname killpg tcgetpgrp | 12073 for ac_func in getpt _getpty grantpt unlockpt ptsname killpg tcgetpgrp |
12073 do | 12074 do |
12074 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 12075 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
12075 echo "configure:12076: checking for $ac_func" >&5 | 12076 echo "configure:12077: checking for $ac_func" >&5 |
12076 | 12077 |
12077 cat > conftest.$ac_ext <<EOF | 12078 cat > conftest.$ac_ext <<EOF |
12078 #line 12079 "configure" | 12079 #line 12080 "configure" |
12079 #include "confdefs.h" | 12080 #include "confdefs.h" |
12080 /* System header to define __stub macros and hopefully few prototypes, | 12081 /* System header to define __stub macros and hopefully few prototypes, |
12081 which can conflict with char $ac_func(); below. */ | 12082 which can conflict with char $ac_func(); below. */ |
12082 #include <assert.h> | 12083 #include <assert.h> |
12083 /* Override any gcc2 internal prototype to avoid an error. */ | 12084 /* Override any gcc2 internal prototype to avoid an error. */ |
12096 $ac_func(); | 12097 $ac_func(); |
12097 #endif | 12098 #endif |
12098 | 12099 |
12099 ; return 0; } | 12100 ; return 0; } |
12100 EOF | 12101 EOF |
12101 if { (eval echo configure:12102: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12102 if { (eval echo configure:12103: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12102 rm -rf conftest* | 12103 rm -rf conftest* |
12103 eval "ac_cv_func_$ac_func=yes" | 12104 eval "ac_cv_func_$ac_func=yes" |
12104 else | 12105 else |
12105 echo "configure: failed program was:" >&5 | 12106 echo "configure: failed program was:" >&5 |
12106 cat conftest.$ac_ext >&5 | 12107 cat conftest.$ac_ext >&5 |
12125 fi | 12126 fi |
12126 done | 12127 done |
12127 | 12128 |
12128 | 12129 |
12129 echo $ac_n "checking for openpty""... $ac_c" 1>&6 | 12130 echo $ac_n "checking for openpty""... $ac_c" 1>&6 |
12130 echo "configure:12131: checking for openpty" >&5 | 12131 echo "configure:12132: checking for openpty" >&5 |
12131 | 12132 |
12132 cat > conftest.$ac_ext <<EOF | 12133 cat > conftest.$ac_ext <<EOF |
12133 #line 12134 "configure" | 12134 #line 12135 "configure" |
12134 #include "confdefs.h" | 12135 #include "confdefs.h" |
12135 /* System header to define __stub macros and hopefully few prototypes, | 12136 /* System header to define __stub macros and hopefully few prototypes, |
12136 which can conflict with char openpty(); below. */ | 12137 which can conflict with char openpty(); below. */ |
12137 #include <assert.h> | 12138 #include <assert.h> |
12138 /* Override any gcc2 internal prototype to avoid an error. */ | 12139 /* Override any gcc2 internal prototype to avoid an error. */ |
12151 openpty(); | 12152 openpty(); |
12152 #endif | 12153 #endif |
12153 | 12154 |
12154 ; return 0; } | 12155 ; return 0; } |
12155 EOF | 12156 EOF |
12156 if { (eval echo configure:12157: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12157 if { (eval echo configure:12158: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12157 rm -rf conftest* | 12158 rm -rf conftest* |
12158 eval "ac_cv_func_openpty=yes" | 12159 eval "ac_cv_func_openpty=yes" |
12159 else | 12160 else |
12160 echo "configure: failed program was:" >&5 | 12161 echo "configure: failed program was:" >&5 |
12161 cat conftest.$ac_ext >&5 | 12162 cat conftest.$ac_ext >&5 |
12170 else | 12171 else |
12171 echo "$ac_t""no" 1>&6 | 12172 echo "$ac_t""no" 1>&6 |
12172 | 12173 |
12173 | 12174 |
12174 echo $ac_n "checking for openpty in -lutil""... $ac_c" 1>&6 | 12175 echo $ac_n "checking for openpty in -lutil""... $ac_c" 1>&6 |
12175 echo "configure:12176: checking for openpty in -lutil" >&5 | 12176 echo "configure:12177: checking for openpty in -lutil" >&5 |
12176 ac_lib_var=`echo util'_'openpty | sed 'y%./+-%__p_%'` | 12177 ac_lib_var=`echo util'_'openpty | sed 'y%./+-%__p_%'` |
12177 | 12178 |
12178 xe_check_libs=" -lutil " | 12179 xe_check_libs=" -lutil " |
12179 cat > conftest.$ac_ext <<EOF | 12180 cat > conftest.$ac_ext <<EOF |
12180 #line 12181 "configure" | 12181 #line 12182 "configure" |
12181 #include "confdefs.h" | 12182 #include "confdefs.h" |
12182 /* Override any gcc2 internal prototype to avoid an error. */ | 12183 /* Override any gcc2 internal prototype to avoid an error. */ |
12183 /* We use char because int might match the return type of a gcc2 | 12184 /* We use char because int might match the return type of a gcc2 |
12184 builtin and then its argument prototype would still apply. */ | 12185 builtin and then its argument prototype would still apply. */ |
12185 char openpty(); | 12186 char openpty(); |
12186 | 12187 |
12187 int main() { | 12188 int main() { |
12188 openpty() | 12189 openpty() |
12189 ; return 0; } | 12190 ; return 0; } |
12190 EOF | 12191 EOF |
12191 if { (eval echo configure:12192: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12192 if { (eval echo configure:12193: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12192 rm -rf conftest* | 12193 rm -rf conftest* |
12193 eval "ac_cv_lib_$ac_lib_var=yes" | 12194 eval "ac_cv_lib_$ac_lib_var=yes" |
12194 else | 12195 else |
12195 echo "configure: failed program was:" >&5 | 12196 echo "configure: failed program was:" >&5 |
12196 cat conftest.$ac_ext >&5 | 12197 cat conftest.$ac_ext >&5 |
12221 | 12222 |
12222 for ac_hdr in libutil.h util.h | 12223 for ac_hdr in libutil.h util.h |
12223 do | 12224 do |
12224 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 12225 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
12225 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 12226 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
12226 echo "configure:12227: checking for $ac_hdr" >&5 | 12227 echo "configure:12228: checking for $ac_hdr" >&5 |
12227 | 12228 |
12228 cat > conftest.$ac_ext <<EOF | 12229 cat > conftest.$ac_ext <<EOF |
12229 #line 12230 "configure" | 12230 #line 12231 "configure" |
12230 #include "confdefs.h" | 12231 #include "confdefs.h" |
12231 #include <$ac_hdr> | 12232 #include <$ac_hdr> |
12232 EOF | 12233 EOF |
12233 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12234 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
12234 { (eval echo configure:12235: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12235 { (eval echo configure:12236: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
12235 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12236 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
12236 if test -z "$ac_err"; then | 12237 if test -z "$ac_err"; then |
12237 rm -rf conftest* | 12238 rm -rf conftest* |
12238 eval "ac_cv_header_$ac_safe=yes" | 12239 eval "ac_cv_header_$ac_safe=yes" |
12239 else | 12240 else |
12266 case "$opsys" in | 12267 case "$opsys" in |
12267 hpux*) for ac_hdr in sys/ptyio.h | 12268 hpux*) for ac_hdr in sys/ptyio.h |
12268 do | 12269 do |
12269 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 12270 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
12270 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 12271 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
12271 echo "configure:12272: checking for $ac_hdr" >&5 | 12272 echo "configure:12273: checking for $ac_hdr" >&5 |
12272 | 12273 |
12273 cat > conftest.$ac_ext <<EOF | 12274 cat > conftest.$ac_ext <<EOF |
12274 #line 12275 "configure" | 12275 #line 12276 "configure" |
12275 #include "confdefs.h" | 12276 #include "confdefs.h" |
12276 #include <$ac_hdr> | 12277 #include <$ac_hdr> |
12277 EOF | 12278 EOF |
12278 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12279 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
12279 { (eval echo configure:12280: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12280 { (eval echo configure:12281: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
12280 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12281 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
12281 if test -z "$ac_err"; then | 12282 if test -z "$ac_err"; then |
12282 rm -rf conftest* | 12283 rm -rf conftest* |
12283 eval "ac_cv_header_$ac_safe=yes" | 12284 eval "ac_cv_header_$ac_safe=yes" |
12284 else | 12285 else |
12307 ;; | 12308 ;; |
12308 *) for ac_hdr in pty.h | 12309 *) for ac_hdr in pty.h |
12309 do | 12310 do |
12310 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 12311 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
12311 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 12312 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
12312 echo "configure:12313: checking for $ac_hdr" >&5 | 12313 echo "configure:12314: checking for $ac_hdr" >&5 |
12313 | 12314 |
12314 cat > conftest.$ac_ext <<EOF | 12315 cat > conftest.$ac_ext <<EOF |
12315 #line 12316 "configure" | 12316 #line 12317 "configure" |
12316 #include "confdefs.h" | 12317 #include "confdefs.h" |
12317 #include <$ac_hdr> | 12318 #include <$ac_hdr> |
12318 EOF | 12319 EOF |
12319 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12320 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
12320 { (eval echo configure:12321: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12321 { (eval echo configure:12322: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
12321 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12322 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
12322 if test -z "$ac_err"; then | 12323 if test -z "$ac_err"; then |
12323 rm -rf conftest* | 12324 rm -rf conftest* |
12324 eval "ac_cv_header_$ac_safe=yes" | 12325 eval "ac_cv_header_$ac_safe=yes" |
12325 else | 12326 else |
12348 | 12349 |
12349 test "$ac_cv_header_pty_h" = "no" && for ac_hdr in sys/pty.h | 12350 test "$ac_cv_header_pty_h" = "no" && for ac_hdr in sys/pty.h |
12350 do | 12351 do |
12351 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 12352 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
12352 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 12353 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
12353 echo "configure:12354: checking for $ac_hdr" >&5 | 12354 echo "configure:12355: checking for $ac_hdr" >&5 |
12354 | 12355 |
12355 cat > conftest.$ac_ext <<EOF | 12356 cat > conftest.$ac_ext <<EOF |
12356 #line 12357 "configure" | 12357 #line 12358 "configure" |
12357 #include "confdefs.h" | 12358 #include "confdefs.h" |
12358 #include <$ac_hdr> | 12359 #include <$ac_hdr> |
12359 EOF | 12360 EOF |
12360 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12361 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
12361 { (eval echo configure:12362: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12362 { (eval echo configure:12363: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
12362 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12363 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
12363 if test -z "$ac_err"; then | 12364 if test -z "$ac_err"; then |
12364 rm -rf conftest* | 12365 rm -rf conftest* |
12365 eval "ac_cv_header_$ac_safe=yes" | 12366 eval "ac_cv_header_$ac_safe=yes" |
12366 else | 12367 else |
12392 | 12393 |
12393 for ac_hdr in stropts.h | 12394 for ac_hdr in stropts.h |
12394 do | 12395 do |
12395 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 12396 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
12396 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 12397 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
12397 echo "configure:12398: checking for $ac_hdr" >&5 | 12398 echo "configure:12399: checking for $ac_hdr" >&5 |
12398 | 12399 |
12399 cat > conftest.$ac_ext <<EOF | 12400 cat > conftest.$ac_ext <<EOF |
12400 #line 12401 "configure" | 12401 #line 12402 "configure" |
12401 #include "confdefs.h" | 12402 #include "confdefs.h" |
12402 #include <$ac_hdr> | 12403 #include <$ac_hdr> |
12403 EOF | 12404 EOF |
12404 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12405 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
12405 { (eval echo configure:12406: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12406 { (eval echo configure:12407: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
12406 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12407 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
12407 if test -z "$ac_err"; then | 12408 if test -z "$ac_err"; then |
12408 rm -rf conftest* | 12409 rm -rf conftest* |
12409 eval "ac_cv_header_$ac_safe=yes" | 12410 eval "ac_cv_header_$ac_safe=yes" |
12410 else | 12411 else |
12433 | 12434 |
12434 if test "$ac_cv_header_stropts_h" = "yes"; then | 12435 if test "$ac_cv_header_stropts_h" = "yes"; then |
12435 for ac_func in isastream | 12436 for ac_func in isastream |
12436 do | 12437 do |
12437 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 12438 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
12438 echo "configure:12439: checking for $ac_func" >&5 | 12439 echo "configure:12440: checking for $ac_func" >&5 |
12439 | 12440 |
12440 cat > conftest.$ac_ext <<EOF | 12441 cat > conftest.$ac_ext <<EOF |
12441 #line 12442 "configure" | 12442 #line 12443 "configure" |
12442 #include "confdefs.h" | 12443 #include "confdefs.h" |
12443 /* System header to define __stub macros and hopefully few prototypes, | 12444 /* System header to define __stub macros and hopefully few prototypes, |
12444 which can conflict with char $ac_func(); below. */ | 12445 which can conflict with char $ac_func(); below. */ |
12445 #include <assert.h> | 12446 #include <assert.h> |
12446 /* Override any gcc2 internal prototype to avoid an error. */ | 12447 /* Override any gcc2 internal prototype to avoid an error. */ |
12459 $ac_func(); | 12460 $ac_func(); |
12460 #endif | 12461 #endif |
12461 | 12462 |
12462 ; return 0; } | 12463 ; return 0; } |
12463 EOF | 12464 EOF |
12464 if { (eval echo configure:12465: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12465 if { (eval echo configure:12466: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12465 rm -rf conftest* | 12466 rm -rf conftest* |
12466 eval "ac_cv_func_$ac_func=yes" | 12467 eval "ac_cv_func_$ac_func=yes" |
12467 else | 12468 else |
12468 echo "configure: failed program was:" >&5 | 12469 echo "configure: failed program was:" >&5 |
12469 cat conftest.$ac_ext >&5 | 12470 cat conftest.$ac_ext >&5 |
12490 | 12491 |
12491 for ac_hdr in strtio.h | 12492 for ac_hdr in strtio.h |
12492 do | 12493 do |
12493 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 12494 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
12494 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 12495 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
12495 echo "configure:12496: checking for $ac_hdr" >&5 | 12496 echo "configure:12497: checking for $ac_hdr" >&5 |
12496 | 12497 |
12497 cat > conftest.$ac_ext <<EOF | 12498 cat > conftest.$ac_ext <<EOF |
12498 #line 12499 "configure" | 12499 #line 12500 "configure" |
12499 #include "confdefs.h" | 12500 #include "confdefs.h" |
12500 #include <$ac_hdr> | 12501 #include <$ac_hdr> |
12501 EOF | 12502 EOF |
12502 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12503 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
12503 { (eval echo configure:12504: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12504 { (eval echo configure:12505: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
12504 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12505 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
12505 if test -z "$ac_err"; then | 12506 if test -z "$ac_err"; then |
12506 rm -rf conftest* | 12507 rm -rf conftest* |
12507 eval "ac_cv_header_$ac_safe=yes" | 12508 eval "ac_cv_header_$ac_safe=yes" |
12508 else | 12509 else |
12531 fi | 12532 fi |
12532 | 12533 |
12533 for ac_func in getloadavg | 12534 for ac_func in getloadavg |
12534 do | 12535 do |
12535 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 12536 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
12536 echo "configure:12537: checking for $ac_func" >&5 | 12537 echo "configure:12538: checking for $ac_func" >&5 |
12537 | 12538 |
12538 cat > conftest.$ac_ext <<EOF | 12539 cat > conftest.$ac_ext <<EOF |
12539 #line 12540 "configure" | 12540 #line 12541 "configure" |
12540 #include "confdefs.h" | 12541 #include "confdefs.h" |
12541 /* System header to define __stub macros and hopefully few prototypes, | 12542 /* System header to define __stub macros and hopefully few prototypes, |
12542 which can conflict with char $ac_func(); below. */ | 12543 which can conflict with char $ac_func(); below. */ |
12543 #include <assert.h> | 12544 #include <assert.h> |
12544 /* Override any gcc2 internal prototype to avoid an error. */ | 12545 /* Override any gcc2 internal prototype to avoid an error. */ |
12557 $ac_func(); | 12558 $ac_func(); |
12558 #endif | 12559 #endif |
12559 | 12560 |
12560 ; return 0; } | 12561 ; return 0; } |
12561 EOF | 12562 EOF |
12562 if { (eval echo configure:12563: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12563 if { (eval echo configure:12564: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12563 rm -rf conftest* | 12564 rm -rf conftest* |
12564 eval "ac_cv_func_$ac_func=yes" | 12565 eval "ac_cv_func_$ac_func=yes" |
12565 else | 12566 else |
12566 echo "configure: failed program was:" >&5 | 12567 echo "configure: failed program was:" >&5 |
12567 cat conftest.$ac_ext >&5 | 12568 cat conftest.$ac_ext >&5 |
12590 if test "$ac_cv_func_getloadavg" = "yes"; then | 12591 if test "$ac_cv_func_getloadavg" = "yes"; then |
12591 for ac_hdr in sys/loadavg.h | 12592 for ac_hdr in sys/loadavg.h |
12592 do | 12593 do |
12593 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 12594 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
12594 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 12595 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
12595 echo "configure:12596: checking for $ac_hdr" >&5 | 12596 echo "configure:12597: checking for $ac_hdr" >&5 |
12596 | 12597 |
12597 cat > conftest.$ac_ext <<EOF | 12598 cat > conftest.$ac_ext <<EOF |
12598 #line 12599 "configure" | 12599 #line 12600 "configure" |
12599 #include "confdefs.h" | 12600 #include "confdefs.h" |
12600 #include <$ac_hdr> | 12601 #include <$ac_hdr> |
12601 EOF | 12602 EOF |
12602 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12603 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
12603 { (eval echo configure:12604: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12604 { (eval echo configure:12605: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
12604 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12605 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
12605 if test -z "$ac_err"; then | 12606 if test -z "$ac_err"; then |
12606 rm -rf conftest* | 12607 rm -rf conftest* |
12607 eval "ac_cv_header_$ac_safe=yes" | 12608 eval "ac_cv_header_$ac_safe=yes" |
12608 else | 12609 else |
12634 echo " xemacs will be linked with \"getloadavg.o\"" | 12635 echo " xemacs will be linked with \"getloadavg.o\"" |
12635 fi | 12636 fi |
12636 | 12637 |
12637 | 12638 |
12638 echo $ac_n "checking for kstat_open in -lkstat""... $ac_c" 1>&6 | 12639 echo $ac_n "checking for kstat_open in -lkstat""... $ac_c" 1>&6 |
12639 echo "configure:12640: checking for kstat_open in -lkstat" >&5 | 12640 echo "configure:12641: checking for kstat_open in -lkstat" >&5 |
12640 ac_lib_var=`echo kstat'_'kstat_open | sed 'y%./+-%__p_%'` | 12641 ac_lib_var=`echo kstat'_'kstat_open | sed 'y%./+-%__p_%'` |
12641 | 12642 |
12642 xe_check_libs=" -lkstat " | 12643 xe_check_libs=" -lkstat " |
12643 cat > conftest.$ac_ext <<EOF | 12644 cat > conftest.$ac_ext <<EOF |
12644 #line 12645 "configure" | 12645 #line 12646 "configure" |
12645 #include "confdefs.h" | 12646 #include "confdefs.h" |
12646 /* Override any gcc2 internal prototype to avoid an error. */ | 12647 /* Override any gcc2 internal prototype to avoid an error. */ |
12647 /* We use char because int might match the return type of a gcc2 | 12648 /* We use char because int might match the return type of a gcc2 |
12648 builtin and then its argument prototype would still apply. */ | 12649 builtin and then its argument prototype would still apply. */ |
12649 char kstat_open(); | 12650 char kstat_open(); |
12650 | 12651 |
12651 int main() { | 12652 int main() { |
12652 kstat_open() | 12653 kstat_open() |
12653 ; return 0; } | 12654 ; return 0; } |
12654 EOF | 12655 EOF |
12655 if { (eval echo configure:12656: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12656 if { (eval echo configure:12657: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12656 rm -rf conftest* | 12657 rm -rf conftest* |
12657 eval "ac_cv_lib_$ac_lib_var=yes" | 12658 eval "ac_cv_lib_$ac_lib_var=yes" |
12658 else | 12659 else |
12659 echo "configure: failed program was:" >&5 | 12660 echo "configure: failed program was:" >&5 |
12660 cat conftest.$ac_ext >&5 | 12661 cat conftest.$ac_ext >&5 |
12685 | 12686 |
12686 for ac_hdr in kstat.h | 12687 for ac_hdr in kstat.h |
12687 do | 12688 do |
12688 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 12689 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
12689 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 12690 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
12690 echo "configure:12691: checking for $ac_hdr" >&5 | 12691 echo "configure:12692: checking for $ac_hdr" >&5 |
12691 | 12692 |
12692 cat > conftest.$ac_ext <<EOF | 12693 cat > conftest.$ac_ext <<EOF |
12693 #line 12694 "configure" | 12694 #line 12695 "configure" |
12694 #include "confdefs.h" | 12695 #include "confdefs.h" |
12695 #include <$ac_hdr> | 12696 #include <$ac_hdr> |
12696 EOF | 12697 EOF |
12697 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12698 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
12698 { (eval echo configure:12699: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12699 { (eval echo configure:12700: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
12699 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12700 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
12700 if test -z "$ac_err"; then | 12701 if test -z "$ac_err"; then |
12701 rm -rf conftest* | 12702 rm -rf conftest* |
12702 eval "ac_cv_header_$ac_safe=yes" | 12703 eval "ac_cv_header_$ac_safe=yes" |
12703 else | 12704 else |
12725 done | 12726 done |
12726 | 12727 |
12727 | 12728 |
12728 | 12729 |
12729 echo $ac_n "checking for kvm_read in -lkvm""... $ac_c" 1>&6 | 12730 echo $ac_n "checking for kvm_read in -lkvm""... $ac_c" 1>&6 |
12730 echo "configure:12731: checking for kvm_read in -lkvm" >&5 | 12731 echo "configure:12732: checking for kvm_read in -lkvm" >&5 |
12731 ac_lib_var=`echo kvm'_'kvm_read | sed 'y%./+-%__p_%'` | 12732 ac_lib_var=`echo kvm'_'kvm_read | sed 'y%./+-%__p_%'` |
12732 | 12733 |
12733 xe_check_libs=" -lkvm " | 12734 xe_check_libs=" -lkvm " |
12734 cat > conftest.$ac_ext <<EOF | 12735 cat > conftest.$ac_ext <<EOF |
12735 #line 12736 "configure" | 12736 #line 12737 "configure" |
12736 #include "confdefs.h" | 12737 #include "confdefs.h" |
12737 /* Override any gcc2 internal prototype to avoid an error. */ | 12738 /* Override any gcc2 internal prototype to avoid an error. */ |
12738 /* We use char because int might match the return type of a gcc2 | 12739 /* We use char because int might match the return type of a gcc2 |
12739 builtin and then its argument prototype would still apply. */ | 12740 builtin and then its argument prototype would still apply. */ |
12740 char kvm_read(); | 12741 char kvm_read(); |
12741 | 12742 |
12742 int main() { | 12743 int main() { |
12743 kvm_read() | 12744 kvm_read() |
12744 ; return 0; } | 12745 ; return 0; } |
12745 EOF | 12746 EOF |
12746 if { (eval echo configure:12747: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12747 if { (eval echo configure:12748: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12747 rm -rf conftest* | 12748 rm -rf conftest* |
12748 eval "ac_cv_lib_$ac_lib_var=yes" | 12749 eval "ac_cv_lib_$ac_lib_var=yes" |
12749 else | 12750 else |
12750 echo "configure: failed program was:" >&5 | 12751 echo "configure: failed program was:" >&5 |
12751 cat conftest.$ac_ext >&5 | 12752 cat conftest.$ac_ext >&5 |
12775 | 12776 |
12776 | 12777 |
12777 fi | 12778 fi |
12778 | 12779 |
12779 echo $ac_n "checking whether netdb declares h_errno""... $ac_c" 1>&6 | 12780 echo $ac_n "checking whether netdb declares h_errno""... $ac_c" 1>&6 |
12780 echo "configure:12781: checking whether netdb declares h_errno" >&5 | 12781 echo "configure:12782: checking whether netdb declares h_errno" >&5 |
12781 cat > conftest.$ac_ext <<EOF | 12782 cat > conftest.$ac_ext <<EOF |
12782 #line 12783 "configure" | 12783 #line 12784 "configure" |
12783 #include "confdefs.h" | 12784 #include "confdefs.h" |
12784 #include <netdb.h> | 12785 #include <netdb.h> |
12785 int main() { | 12786 int main() { |
12786 return h_errno; | 12787 return h_errno; |
12787 ; return 0; } | 12788 ; return 0; } |
12788 EOF | 12789 EOF |
12789 if { (eval echo configure:12790: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12790 if { (eval echo configure:12791: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12790 rm -rf conftest* | 12791 rm -rf conftest* |
12791 echo "$ac_t""yes" 1>&6 | 12792 echo "$ac_t""yes" 1>&6 |
12792 { test "$extra_verbose" = "yes" && cat << \EOF | 12793 { test "$extra_verbose" = "yes" && cat << \EOF |
12793 Defining HAVE_H_ERRNO | 12794 Defining HAVE_H_ERRNO |
12794 EOF | 12795 EOF |
12804 echo "$ac_t""no" 1>&6 | 12805 echo "$ac_t""no" 1>&6 |
12805 fi | 12806 fi |
12806 rm -f conftest* | 12807 rm -f conftest* |
12807 | 12808 |
12808 echo $ac_n "checking for sigsetjmp""... $ac_c" 1>&6 | 12809 echo $ac_n "checking for sigsetjmp""... $ac_c" 1>&6 |
12809 echo "configure:12810: checking for sigsetjmp" >&5 | 12810 echo "configure:12811: checking for sigsetjmp" >&5 |
12810 cat > conftest.$ac_ext <<EOF | 12811 cat > conftest.$ac_ext <<EOF |
12811 #line 12812 "configure" | 12812 #line 12813 "configure" |
12812 #include "confdefs.h" | 12813 #include "confdefs.h" |
12813 #include <setjmp.h> | 12814 #include <setjmp.h> |
12814 int main() { | 12815 int main() { |
12815 sigjmp_buf bar; sigsetjmp (bar, 0); | 12816 sigjmp_buf bar; sigsetjmp (bar, 0); |
12816 ; return 0; } | 12817 ; return 0; } |
12817 EOF | 12818 EOF |
12818 if { (eval echo configure:12819: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 12819 if { (eval echo configure:12820: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
12819 rm -rf conftest* | 12820 rm -rf conftest* |
12820 echo "$ac_t""yes" 1>&6 | 12821 echo "$ac_t""yes" 1>&6 |
12821 { test "$extra_verbose" = "yes" && cat << \EOF | 12822 { test "$extra_verbose" = "yes" && cat << \EOF |
12822 Defining HAVE_SIGSETJMP | 12823 Defining HAVE_SIGSETJMP |
12823 EOF | 12824 EOF |
12833 echo "$ac_t""no" 1>&6 | 12834 echo "$ac_t""no" 1>&6 |
12834 fi | 12835 fi |
12835 rm -f conftest* | 12836 rm -f conftest* |
12836 | 12837 |
12837 echo $ac_n "checking whether localtime caches TZ""... $ac_c" 1>&6 | 12838 echo $ac_n "checking whether localtime caches TZ""... $ac_c" 1>&6 |
12838 echo "configure:12839: checking whether localtime caches TZ" >&5 | 12839 echo "configure:12840: checking whether localtime caches TZ" >&5 |
12839 | 12840 |
12840 if test "$ac_cv_func_tzset" = "yes"; then | 12841 if test "$ac_cv_func_tzset" = "yes"; then |
12841 cat > conftest.$ac_ext <<EOF | 12842 cat > conftest.$ac_ext <<EOF |
12842 #line 12843 "configure" | 12843 #line 12844 "configure" |
12843 #include "confdefs.h" | 12844 #include "confdefs.h" |
12844 #include <time.h> | 12845 #include <time.h> |
12845 #if STDC_HEADERS | 12846 #if STDC_HEADERS |
12846 # include <stdlib.h> | 12847 # include <stdlib.h> |
12847 #endif | 12848 #endif |
12872 if (localtime (&now)->tm_hour != hour_unset) | 12873 if (localtime (&now)->tm_hour != hour_unset) |
12873 exit (1); | 12874 exit (1); |
12874 exit (0); | 12875 exit (0); |
12875 } | 12876 } |
12876 EOF | 12877 EOF |
12877 if { (eval echo configure:12878: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 12878 if { (eval echo configure:12879: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
12878 then | 12879 then |
12879 emacs_cv_localtime_cache=no | 12880 emacs_cv_localtime_cache=no |
12880 else | 12881 else |
12881 conftest_rc="$?" | 12882 conftest_rc="$?" |
12882 echo "configure: failed program was:" >&5 | 12883 echo "configure: failed program was:" >&5 |
12902 | 12903 |
12903 fi | 12904 fi |
12904 | 12905 |
12905 if test "$HAVE_TIMEVAL" = "yes"; then | 12906 if test "$HAVE_TIMEVAL" = "yes"; then |
12906 echo $ac_n "checking whether gettimeofday accepts one or two arguments""... $ac_c" 1>&6 | 12907 echo $ac_n "checking whether gettimeofday accepts one or two arguments""... $ac_c" 1>&6 |
12907 echo "configure:12908: checking whether gettimeofday accepts one or two arguments" >&5 | 12908 echo "configure:12909: checking whether gettimeofday accepts one or two arguments" >&5 |
12908 cat > conftest.$ac_ext <<EOF | 12909 cat > conftest.$ac_ext <<EOF |
12909 #line 12910 "configure" | 12910 #line 12911 "configure" |
12910 #include "confdefs.h" | 12911 #include "confdefs.h" |
12911 | 12912 |
12912 #ifdef TIME_WITH_SYS_TIME | 12913 #ifdef TIME_WITH_SYS_TIME |
12913 #include <sys/time.h> | 12914 #include <sys/time.h> |
12914 #include <time.h> | 12915 #include <time.h> |
12925 struct timeval time; | 12926 struct timeval time; |
12926 gettimeofday (&time, 0); | 12927 gettimeofday (&time, 0); |
12927 | 12928 |
12928 ; return 0; } | 12929 ; return 0; } |
12929 EOF | 12930 EOF |
12930 if { (eval echo configure:12931: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12931 if { (eval echo configure:12932: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12931 rm -rf conftest* | 12932 rm -rf conftest* |
12932 echo "$ac_t""two" 1>&6 | 12933 echo "$ac_t""two" 1>&6 |
12933 else | 12934 else |
12934 echo "configure: failed program was:" >&5 | 12935 echo "configure: failed program was:" >&5 |
12935 cat conftest.$ac_ext >&5 | 12936 cat conftest.$ac_ext >&5 |
12947 rm -f conftest* | 12948 rm -f conftest* |
12948 fi | 12949 fi |
12949 | 12950 |
12950 | 12951 |
12951 echo $ac_n "checking for inline""... $ac_c" 1>&6 | 12952 echo $ac_n "checking for inline""... $ac_c" 1>&6 |
12952 echo "configure:12953: checking for inline" >&5 | 12953 echo "configure:12954: checking for inline" >&5 |
12953 | 12954 |
12954 ac_cv_c_inline=no | 12955 ac_cv_c_inline=no |
12955 for ac_kw in inline __inline__ __inline; do | 12956 for ac_kw in inline __inline__ __inline; do |
12956 cat > conftest.$ac_ext <<EOF | 12957 cat > conftest.$ac_ext <<EOF |
12957 #line 12958 "configure" | 12958 #line 12959 "configure" |
12958 #include "confdefs.h" | 12959 #include "confdefs.h" |
12959 | 12960 |
12960 int main() { | 12961 int main() { |
12961 } $ac_kw foo() { | 12962 } $ac_kw foo() { |
12962 ; return 0; } | 12963 ; return 0; } |
12963 EOF | 12964 EOF |
12964 if { (eval echo configure:12965: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 12965 if { (eval echo configure:12966: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
12965 rm -rf conftest* | 12966 rm -rf conftest* |
12966 ac_cv_c_inline=$ac_kw; break | 12967 ac_cv_c_inline=$ac_kw; break |
12967 else | 12968 else |
12968 echo "configure: failed program was:" >&5 | 12969 echo "configure: failed program was:" >&5 |
12969 cat conftest.$ac_ext >&5 | 12970 cat conftest.$ac_ext >&5 |
12996 test "$ac_cv_c_inline" != "no" -a "$GCC" = "yes" && extra_objs="$extra_objs inline.o" && if test "$extra_verbose" = "yes"; then | 12997 test "$ac_cv_c_inline" != "no" -a "$GCC" = "yes" && extra_objs="$extra_objs inline.o" && if test "$extra_verbose" = "yes"; then |
12997 echo " xemacs will be linked with \"inline.o\"" | 12998 echo " xemacs will be linked with \"inline.o\"" |
12998 fi | 12999 fi |
12999 | 13000 |
13000 echo $ac_n "checking for typeof""... $ac_c" 1>&6 | 13001 echo $ac_n "checking for typeof""... $ac_c" 1>&6 |
13001 echo "configure:13002: checking for typeof" >&5 | 13002 echo "configure:13003: checking for typeof" >&5 |
13002 cat > conftest.$ac_ext <<EOF | 13003 cat > conftest.$ac_ext <<EOF |
13003 #line 13004 "configure" | 13004 #line 13005 "configure" |
13004 #include "confdefs.h" | 13005 #include "confdefs.h" |
13005 | 13006 |
13006 int main() { | 13007 int main() { |
13007 int i; __typeof__(i) j; | 13008 int i; __typeof__(i) j; |
13008 ; return 0; } | 13009 ; return 0; } |
13009 EOF | 13010 EOF |
13010 if { (eval echo configure:13011: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 13011 if { (eval echo configure:13012: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
13011 rm -rf conftest* | 13012 rm -rf conftest* |
13012 typeofname="__typeof__" | 13013 typeofname="__typeof__" |
13013 else | 13014 else |
13014 echo "configure: failed program was:" >&5 | 13015 echo "configure: failed program was:" >&5 |
13015 cat conftest.$ac_ext >&5 | 13016 cat conftest.$ac_ext >&5 |
13016 rm -rf conftest* | 13017 rm -rf conftest* |
13017 cat > conftest.$ac_ext <<EOF | 13018 cat > conftest.$ac_ext <<EOF |
13018 #line 13019 "configure" | 13019 #line 13020 "configure" |
13019 #include "confdefs.h" | 13020 #include "confdefs.h" |
13020 | 13021 |
13021 int main() { | 13022 int main() { |
13022 int i; typeof(i) j; | 13023 int i; typeof(i) j; |
13023 ; return 0; } | 13024 ; return 0; } |
13024 EOF | 13025 EOF |
13025 if { (eval echo configure:13026: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 13026 if { (eval echo configure:13027: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
13026 rm -rf conftest* | 13027 rm -rf conftest* |
13027 typeofname="typeof" | 13028 typeofname="typeof" |
13028 else | 13029 else |
13029 echo "configure: failed program was:" >&5 | 13030 echo "configure: failed program was:" >&5 |
13030 cat conftest.$ac_ext >&5 | 13031 cat conftest.$ac_ext >&5 |
13049 | 13050 |
13050 if test "$__DECC" != "yes"; then | 13051 if test "$__DECC" != "yes"; then |
13051 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works | 13052 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works |
13052 # for constant arguments. Useless! | 13053 # for constant arguments. Useless! |
13053 echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6 | 13054 echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6 |
13054 echo "configure:13055: checking for working alloca.h" >&5 | 13055 echo "configure:13056: checking for working alloca.h" >&5 |
13055 | 13056 |
13056 cat > conftest.$ac_ext <<EOF | 13057 cat > conftest.$ac_ext <<EOF |
13057 #line 13058 "configure" | 13058 #line 13059 "configure" |
13058 #include "confdefs.h" | 13059 #include "confdefs.h" |
13059 #include <alloca.h> | 13060 #include <alloca.h> |
13060 int main() { | 13061 int main() { |
13061 char *p = alloca(2 * sizeof(int)); | 13062 char *p = alloca(2 * sizeof(int)); |
13062 ; return 0; } | 13063 ; return 0; } |
13063 EOF | 13064 EOF |
13064 if { (eval echo configure:13065: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13065 if { (eval echo configure:13066: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
13065 rm -rf conftest* | 13066 rm -rf conftest* |
13066 ac_cv_header_alloca_h=yes | 13067 ac_cv_header_alloca_h=yes |
13067 else | 13068 else |
13068 echo "configure: failed program was:" >&5 | 13069 echo "configure: failed program was:" >&5 |
13069 cat conftest.$ac_ext >&5 | 13070 cat conftest.$ac_ext >&5 |
13083 } | 13084 } |
13084 | 13085 |
13085 fi | 13086 fi |
13086 | 13087 |
13087 echo $ac_n "checking for alloca""... $ac_c" 1>&6 | 13088 echo $ac_n "checking for alloca""... $ac_c" 1>&6 |
13088 echo "configure:13089: checking for alloca" >&5 | 13089 echo "configure:13090: checking for alloca" >&5 |
13089 | 13090 |
13090 cat > conftest.$ac_ext <<EOF | 13091 cat > conftest.$ac_ext <<EOF |
13091 #line 13092 "configure" | 13092 #line 13093 "configure" |
13092 #include "confdefs.h" | 13093 #include "confdefs.h" |
13093 | 13094 |
13094 #ifdef __GNUC__ | 13095 #ifdef __GNUC__ |
13095 # define alloca __builtin_alloca | 13096 # define alloca __builtin_alloca |
13096 #else | 13097 #else |
13114 | 13115 |
13115 int main() { | 13116 int main() { |
13116 char *p = (char *) alloca(1); | 13117 char *p = (char *) alloca(1); |
13117 ; return 0; } | 13118 ; return 0; } |
13118 EOF | 13119 EOF |
13119 if { (eval echo configure:13120: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13120 if { (eval echo configure:13121: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
13120 rm -rf conftest* | 13121 rm -rf conftest* |
13121 ac_cv_func_alloca_works=yes | 13122 ac_cv_func_alloca_works=yes |
13122 else | 13123 else |
13123 echo "configure: failed program was:" >&5 | 13124 echo "configure: failed program was:" >&5 |
13124 cat conftest.$ac_ext >&5 | 13125 cat conftest.$ac_ext >&5 |
13153 EOF | 13154 EOF |
13154 } | 13155 } |
13155 | 13156 |
13156 | 13157 |
13157 echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6 | 13158 echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6 |
13158 echo "configure:13159: checking whether alloca needs Cray hooks" >&5 | 13159 echo "configure:13160: checking whether alloca needs Cray hooks" >&5 |
13159 | 13160 |
13160 cat > conftest.$ac_ext <<EOF | 13161 cat > conftest.$ac_ext <<EOF |
13161 #line 13162 "configure" | 13162 #line 13163 "configure" |
13162 #include "confdefs.h" | 13163 #include "confdefs.h" |
13163 #if defined(CRAY) && ! defined(CRAY2) | 13164 #if defined(CRAY) && ! defined(CRAY2) |
13164 webecray | 13165 webecray |
13165 #else | 13166 #else |
13166 wenotbecray | 13167 wenotbecray |
13180 | 13181 |
13181 echo "$ac_t""$ac_cv_os_cray" 1>&6 | 13182 echo "$ac_t""$ac_cv_os_cray" 1>&6 |
13182 if test $ac_cv_os_cray = yes; then | 13183 if test $ac_cv_os_cray = yes; then |
13183 for ac_func in _getb67 GETB67 getb67; do | 13184 for ac_func in _getb67 GETB67 getb67; do |
13184 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 13185 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
13185 echo "configure:13186: checking for $ac_func" >&5 | 13186 echo "configure:13187: checking for $ac_func" >&5 |
13186 | 13187 |
13187 cat > conftest.$ac_ext <<EOF | 13188 cat > conftest.$ac_ext <<EOF |
13188 #line 13189 "configure" | 13189 #line 13190 "configure" |
13189 #include "confdefs.h" | 13190 #include "confdefs.h" |
13190 /* System header to define __stub macros and hopefully few prototypes, | 13191 /* System header to define __stub macros and hopefully few prototypes, |
13191 which can conflict with char $ac_func(); below. */ | 13192 which can conflict with char $ac_func(); below. */ |
13192 #include <assert.h> | 13193 #include <assert.h> |
13193 /* Override any gcc2 internal prototype to avoid an error. */ | 13194 /* Override any gcc2 internal prototype to avoid an error. */ |
13206 $ac_func(); | 13207 $ac_func(); |
13207 #endif | 13208 #endif |
13208 | 13209 |
13209 ; return 0; } | 13210 ; return 0; } |
13210 EOF | 13211 EOF |
13211 if { (eval echo configure:13212: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13212 if { (eval echo configure:13213: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
13212 rm -rf conftest* | 13213 rm -rf conftest* |
13213 eval "ac_cv_func_$ac_func=yes" | 13214 eval "ac_cv_func_$ac_func=yes" |
13214 else | 13215 else |
13215 echo "configure: failed program was:" >&5 | 13216 echo "configure: failed program was:" >&5 |
13216 cat conftest.$ac_ext >&5 | 13217 cat conftest.$ac_ext >&5 |
13236 | 13237 |
13237 done | 13238 done |
13238 fi | 13239 fi |
13239 | 13240 |
13240 echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6 | 13241 echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6 |
13241 echo "configure:13242: checking stack direction for C alloca" >&5 | 13242 echo "configure:13243: checking stack direction for C alloca" >&5 |
13242 | 13243 |
13243 cat > conftest.$ac_ext <<EOF | 13244 cat > conftest.$ac_ext <<EOF |
13244 #line 13245 "configure" | 13245 #line 13246 "configure" |
13245 #include "confdefs.h" | 13246 #include "confdefs.h" |
13246 find_stack_direction () | 13247 find_stack_direction () |
13247 { | 13248 { |
13248 static char *addr = 0; | 13249 static char *addr = 0; |
13249 auto char dummy; | 13250 auto char dummy; |
13258 main () | 13259 main () |
13259 { | 13260 { |
13260 exit (find_stack_direction() < 0); | 13261 exit (find_stack_direction() < 0); |
13261 } | 13262 } |
13262 EOF | 13263 EOF |
13263 if { (eval echo configure:13264: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 13264 if { (eval echo configure:13265: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
13264 then | 13265 then |
13265 ac_cv_c_stack_direction=1 | 13266 ac_cv_c_stack_direction=1 |
13266 else | 13267 else |
13267 conftest_rc="$?" | 13268 conftest_rc="$?" |
13268 echo "configure: failed program was:" >&5 | 13269 echo "configure: failed program was:" >&5 |
13287 echo " xemacs will be linked with \"$ALLOCA\"" | 13288 echo " xemacs will be linked with \"$ALLOCA\"" |
13288 fi | 13289 fi |
13289 fi | 13290 fi |
13290 | 13291 |
13291 echo $ac_n "checking for working alloca in function calls""... $ac_c" 1>&6 | 13292 echo $ac_n "checking for working alloca in function calls""... $ac_c" 1>&6 |
13292 echo "configure:13293: checking for working alloca in function calls" >&5 | 13293 echo "configure:13294: checking for working alloca in function calls" >&5 |
13293 cat > conftest.$ac_ext <<EOF | 13294 cat > conftest.$ac_ext <<EOF |
13294 #line 13295 "configure" | 13295 #line 13296 "configure" |
13295 #include "confdefs.h" | 13296 #include "confdefs.h" |
13296 | 13297 |
13297 #if defined (__CYGWIN__) | 13298 #if defined (__CYGWIN__) |
13298 #include <alloca.h> | 13299 #include <alloca.h> |
13299 #elif defined (__GNUC__) | 13300 #elif defined (__GNUC__) |
13342 return 1; | 13343 return 1; |
13343 return 0; | 13344 return 0; |
13344 } | 13345 } |
13345 | 13346 |
13346 EOF | 13347 EOF |
13347 if { (eval echo configure:13348: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 13348 if { (eval echo configure:13349: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
13348 then | 13349 then |
13349 working_alloca_in_function_calls=yes | 13350 working_alloca_in_function_calls=yes |
13350 else | 13351 else |
13351 conftest_rc="$?" | 13352 conftest_rc="$?" |
13352 echo "configure: failed program was:" >&5 | 13353 echo "configure: failed program was:" >&5 |
13365 EOF | 13366 EOF |
13366 } | 13367 } |
13367 | 13368 |
13368 | 13369 |
13369 echo $ac_n "checking for working strcoll""... $ac_c" 1>&6 | 13370 echo $ac_n "checking for working strcoll""... $ac_c" 1>&6 |
13370 echo "configure:13371: checking for working strcoll" >&5 | 13371 echo "configure:13372: checking for working strcoll" >&5 |
13371 | 13372 |
13372 cat > conftest.$ac_ext <<EOF | 13373 cat > conftest.$ac_ext <<EOF |
13373 #line 13374 "configure" | 13374 #line 13375 "configure" |
13374 #include "confdefs.h" | 13375 #include "confdefs.h" |
13375 #include <string.h> | 13376 #include <string.h> |
13376 main () | 13377 main () |
13377 { | 13378 { |
13378 exit (strcoll ("abc", "def") >= 0 || | 13379 exit (strcoll ("abc", "def") >= 0 || |
13379 strcoll ("ABC", "DEF") >= 0 || | 13380 strcoll ("ABC", "DEF") >= 0 || |
13380 strcoll ("123", "456") >= 0); | 13381 strcoll ("123", "456") >= 0); |
13381 } | 13382 } |
13382 EOF | 13383 EOF |
13383 if { (eval echo configure:13384: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 13384 if { (eval echo configure:13385: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
13384 then | 13385 then |
13385 ac_cv_func_strcoll_works=yes | 13386 ac_cv_func_strcoll_works=yes |
13386 else | 13387 else |
13387 conftest_rc="$?" | 13388 conftest_rc="$?" |
13388 echo "configure: failed program was:" >&5 | 13389 echo "configure: failed program was:" >&5 |
13406 | 13407 |
13407 | 13408 |
13408 for ac_func in getpgrp | 13409 for ac_func in getpgrp |
13409 do | 13410 do |
13410 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 13411 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
13411 echo "configure:13412: checking for $ac_func" >&5 | 13412 echo "configure:13413: checking for $ac_func" >&5 |
13412 | 13413 |
13413 cat > conftest.$ac_ext <<EOF | 13414 cat > conftest.$ac_ext <<EOF |
13414 #line 13415 "configure" | 13415 #line 13416 "configure" |
13415 #include "confdefs.h" | 13416 #include "confdefs.h" |
13416 /* System header to define __stub macros and hopefully few prototypes, | 13417 /* System header to define __stub macros and hopefully few prototypes, |
13417 which can conflict with char $ac_func(); below. */ | 13418 which can conflict with char $ac_func(); below. */ |
13418 #include <assert.h> | 13419 #include <assert.h> |
13419 /* Override any gcc2 internal prototype to avoid an error. */ | 13420 /* Override any gcc2 internal prototype to avoid an error. */ |
13432 $ac_func(); | 13433 $ac_func(); |
13433 #endif | 13434 #endif |
13434 | 13435 |
13435 ; return 0; } | 13436 ; return 0; } |
13436 EOF | 13437 EOF |
13437 if { (eval echo configure:13438: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13438 if { (eval echo configure:13439: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
13438 rm -rf conftest* | 13439 rm -rf conftest* |
13439 eval "ac_cv_func_$ac_func=yes" | 13440 eval "ac_cv_func_$ac_func=yes" |
13440 else | 13441 else |
13441 echo "configure: failed program was:" >&5 | 13442 echo "configure: failed program was:" >&5 |
13442 cat conftest.$ac_ext >&5 | 13443 cat conftest.$ac_ext >&5 |
13460 echo "$ac_t""no" 1>&6 | 13461 echo "$ac_t""no" 1>&6 |
13461 fi | 13462 fi |
13462 done | 13463 done |
13463 | 13464 |
13464 echo $ac_n "checking whether getpgrp takes no argument""... $ac_c" 1>&6 | 13465 echo $ac_n "checking whether getpgrp takes no argument""... $ac_c" 1>&6 |
13465 echo "configure:13466: checking whether getpgrp takes no argument" >&5 | 13466 echo "configure:13467: checking whether getpgrp takes no argument" >&5 |
13466 | 13467 |
13467 cat > conftest.$ac_ext <<EOF | 13468 cat > conftest.$ac_ext <<EOF |
13468 #line 13469 "configure" | 13469 #line 13470 "configure" |
13469 #include "confdefs.h" | 13470 #include "confdefs.h" |
13470 | 13471 |
13471 /* | 13472 /* |
13472 * If this system has a BSD-style getpgrp(), | 13473 * If this system has a BSD-style getpgrp(), |
13473 * which takes a pid argument, exit unsuccessfully. | 13474 * which takes a pid argument, exit unsuccessfully. |
13518 exit(s>>8); | 13519 exit(s>>8); |
13519 } | 13520 } |
13520 } | 13521 } |
13521 | 13522 |
13522 EOF | 13523 EOF |
13523 if { (eval echo configure:13524: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 13524 if { (eval echo configure:13525: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
13524 then | 13525 then |
13525 ac_cv_func_getpgrp_void=yes | 13526 ac_cv_func_getpgrp_void=yes |
13526 else | 13527 else |
13527 conftest_rc="$?" | 13528 conftest_rc="$?" |
13528 echo "configure: failed program was:" >&5 | 13529 echo "configure: failed program was:" >&5 |
13545 | 13546 |
13546 fi | 13547 fi |
13547 | 13548 |
13548 | 13549 |
13549 echo $ac_n "checking for working mmap""... $ac_c" 1>&6 | 13550 echo $ac_n "checking for working mmap""... $ac_c" 1>&6 |
13550 echo "configure:13551: checking for working mmap" >&5 | 13551 echo "configure:13552: checking for working mmap" >&5 |
13551 case "$opsys" in ultrix* ) have_mmap=no ;; *) | 13552 case "$opsys" in ultrix* ) have_mmap=no ;; *) |
13552 cat > conftest.$ac_ext <<EOF | 13553 cat > conftest.$ac_ext <<EOF |
13553 #line 13554 "configure" | 13554 #line 13555 "configure" |
13554 #include "confdefs.h" | 13555 #include "confdefs.h" |
13555 #include <stdio.h> | 13556 #include <stdio.h> |
13556 #include <unistd.h> | 13557 #include <unistd.h> |
13557 #include <fcntl.h> | 13558 #include <fcntl.h> |
13558 #include <sys/mman.h> | 13559 #include <sys/mman.h> |
13581 return 0; | 13582 return 0; |
13582 perror ("conftest: mmap failed"); | 13583 perror ("conftest: mmap failed"); |
13583 return 1; | 13584 return 1; |
13584 } | 13585 } |
13585 EOF | 13586 EOF |
13586 if { (eval echo configure:13587: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 13587 if { (eval echo configure:13588: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
13587 then | 13588 then |
13588 have_mmap=yes | 13589 have_mmap=yes |
13589 else | 13590 else |
13590 conftest_rc="$?" | 13591 conftest_rc="$?" |
13591 echo "configure: failed program was:" >&5 | 13592 echo "configure: failed program was:" >&5 |
13610 esac | 13611 esac |
13611 test "$GNU_MALLOC" != "yes" -a "$have_mmap" != "yes" && rel_alloc=no | 13612 test "$GNU_MALLOC" != "yes" -a "$have_mmap" != "yes" && rel_alloc=no |
13612 if test "$rel_alloc $have_mmap" = "default yes"; then | 13613 if test "$rel_alloc $have_mmap" = "default yes"; then |
13613 if test "$doug_lea_malloc" = "yes"; then | 13614 if test "$doug_lea_malloc" = "yes"; then |
13614 echo $ac_n "checking for M_MMAP_THRESHOLD""... $ac_c" 1>&6 | 13615 echo $ac_n "checking for M_MMAP_THRESHOLD""... $ac_c" 1>&6 |
13615 echo "configure:13616: checking for M_MMAP_THRESHOLD" >&5 | 13616 echo "configure:13617: checking for M_MMAP_THRESHOLD" >&5 |
13616 cat > conftest.$ac_ext <<EOF | 13617 cat > conftest.$ac_ext <<EOF |
13617 #line 13618 "configure" | 13618 #line 13619 "configure" |
13618 #include "confdefs.h" | 13619 #include "confdefs.h" |
13619 #include <malloc.h> | 13620 #include <malloc.h> |
13620 int main() { | 13621 int main() { |
13621 | 13622 |
13622 #ifndef M_MMAP_THRESHOLD | 13623 #ifndef M_MMAP_THRESHOLD |
13624 !@+$%^&*_)(_ - unlikely to compile... | 13625 !@+$%^&*_)(_ - unlikely to compile... |
13625 #endif | 13626 #endif |
13626 | 13627 |
13627 ; return 0; } | 13628 ; return 0; } |
13628 EOF | 13629 EOF |
13629 if { (eval echo configure:13630: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 13630 if { (eval echo configure:13631: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
13630 rm -rf conftest* | 13631 rm -rf conftest* |
13631 rel_alloc=no; echo "$ac_t""yes" 1>&6; | 13632 rel_alloc=no; echo "$ac_t""yes" 1>&6; |
13632 else | 13633 else |
13633 echo "configure: failed program was:" >&5 | 13634 echo "configure: failed program was:" >&5 |
13634 cat conftest.$ac_ext >&5 | 13635 cat conftest.$ac_ext >&5 |
13649 } | 13650 } |
13650 | 13651 |
13651 | 13652 |
13652 ac_safe=`echo "termios.h" | sed 'y%./+-%__p_%'` | 13653 ac_safe=`echo "termios.h" | sed 'y%./+-%__p_%'` |
13653 echo $ac_n "checking for termios.h""... $ac_c" 1>&6 | 13654 echo $ac_n "checking for termios.h""... $ac_c" 1>&6 |
13654 echo "configure:13655: checking for termios.h" >&5 | 13655 echo "configure:13656: checking for termios.h" >&5 |
13655 | 13656 |
13656 cat > conftest.$ac_ext <<EOF | 13657 cat > conftest.$ac_ext <<EOF |
13657 #line 13658 "configure" | 13658 #line 13659 "configure" |
13658 #include "confdefs.h" | 13659 #include "confdefs.h" |
13659 #include <termios.h> | 13660 #include <termios.h> |
13660 EOF | 13661 EOF |
13661 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 13662 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
13662 { (eval echo configure:13663: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 13663 { (eval echo configure:13664: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
13663 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 13664 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
13664 if test -z "$ac_err"; then | 13665 if test -z "$ac_err"; then |
13665 rm -rf conftest* | 13666 rm -rf conftest* |
13666 eval "ac_cv_header_$ac_safe=yes" | 13667 eval "ac_cv_header_$ac_safe=yes" |
13667 else | 13668 else |
13700 | 13701 |
13701 else | 13702 else |
13702 echo "$ac_t""no" 1>&6 | 13703 echo "$ac_t""no" 1>&6 |
13703 ac_safe=`echo "termio.h" | sed 'y%./+-%__p_%'` | 13704 ac_safe=`echo "termio.h" | sed 'y%./+-%__p_%'` |
13704 echo $ac_n "checking for termio.h""... $ac_c" 1>&6 | 13705 echo $ac_n "checking for termio.h""... $ac_c" 1>&6 |
13705 echo "configure:13706: checking for termio.h" >&5 | 13706 echo "configure:13707: checking for termio.h" >&5 |
13706 | 13707 |
13707 cat > conftest.$ac_ext <<EOF | 13708 cat > conftest.$ac_ext <<EOF |
13708 #line 13709 "configure" | 13709 #line 13710 "configure" |
13709 #include "confdefs.h" | 13710 #include "confdefs.h" |
13710 #include <termio.h> | 13711 #include <termio.h> |
13711 EOF | 13712 EOF |
13712 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 13713 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
13713 { (eval echo configure:13714: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 13714 { (eval echo configure:13715: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
13714 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 13715 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
13715 if test -z "$ac_err"; then | 13716 if test -z "$ac_err"; then |
13716 rm -rf conftest* | 13717 rm -rf conftest* |
13717 eval "ac_cv_header_$ac_safe=yes" | 13718 eval "ac_cv_header_$ac_safe=yes" |
13718 else | 13719 else |
13740 fi | 13741 fi |
13741 | 13742 |
13742 | 13743 |
13743 | 13744 |
13744 echo $ac_n "checking for socket""... $ac_c" 1>&6 | 13745 echo $ac_n "checking for socket""... $ac_c" 1>&6 |
13745 echo "configure:13746: checking for socket" >&5 | 13746 echo "configure:13747: checking for socket" >&5 |
13746 | 13747 |
13747 cat > conftest.$ac_ext <<EOF | 13748 cat > conftest.$ac_ext <<EOF |
13748 #line 13749 "configure" | 13749 #line 13750 "configure" |
13749 #include "confdefs.h" | 13750 #include "confdefs.h" |
13750 /* System header to define __stub macros and hopefully few prototypes, | 13751 /* System header to define __stub macros and hopefully few prototypes, |
13751 which can conflict with char socket(); below. */ | 13752 which can conflict with char socket(); below. */ |
13752 #include <assert.h> | 13753 #include <assert.h> |
13753 /* Override any gcc2 internal prototype to avoid an error. */ | 13754 /* Override any gcc2 internal prototype to avoid an error. */ |
13766 socket(); | 13767 socket(); |
13767 #endif | 13768 #endif |
13768 | 13769 |
13769 ; return 0; } | 13770 ; return 0; } |
13770 EOF | 13771 EOF |
13771 if { (eval echo configure:13772: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13772 if { (eval echo configure:13773: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
13772 rm -rf conftest* | 13773 rm -rf conftest* |
13773 eval "ac_cv_func_socket=yes" | 13774 eval "ac_cv_func_socket=yes" |
13774 else | 13775 else |
13775 echo "configure: failed program was:" >&5 | 13776 echo "configure: failed program was:" >&5 |
13776 cat conftest.$ac_ext >&5 | 13777 cat conftest.$ac_ext >&5 |
13781 | 13782 |
13782 if eval "test \"`echo '$ac_cv_func_'socket`\" = yes"; then | 13783 if eval "test \"`echo '$ac_cv_func_'socket`\" = yes"; then |
13783 echo "$ac_t""yes" 1>&6 | 13784 echo "$ac_t""yes" 1>&6 |
13784 ac_safe=`echo "netinet/in.h" | sed 'y%./+-%__p_%'` | 13785 ac_safe=`echo "netinet/in.h" | sed 'y%./+-%__p_%'` |
13785 echo $ac_n "checking for netinet/in.h""... $ac_c" 1>&6 | 13786 echo $ac_n "checking for netinet/in.h""... $ac_c" 1>&6 |
13786 echo "configure:13787: checking for netinet/in.h" >&5 | 13787 echo "configure:13788: checking for netinet/in.h" >&5 |
13787 | 13788 |
13788 cat > conftest.$ac_ext <<EOF | 13789 cat > conftest.$ac_ext <<EOF |
13789 #line 13790 "configure" | 13790 #line 13791 "configure" |
13790 #include "confdefs.h" | 13791 #include "confdefs.h" |
13791 #include <netinet/in.h> | 13792 #include <netinet/in.h> |
13792 EOF | 13793 EOF |
13793 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 13794 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
13794 { (eval echo configure:13795: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 13795 { (eval echo configure:13796: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
13795 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 13796 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
13796 if test -z "$ac_err"; then | 13797 if test -z "$ac_err"; then |
13797 rm -rf conftest* | 13798 rm -rf conftest* |
13798 eval "ac_cv_header_$ac_safe=yes" | 13799 eval "ac_cv_header_$ac_safe=yes" |
13799 else | 13800 else |
13806 rm -f conftest* | 13807 rm -f conftest* |
13807 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 13808 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
13808 echo "$ac_t""yes" 1>&6 | 13809 echo "$ac_t""yes" 1>&6 |
13809 ac_safe=`echo "arpa/inet.h" | sed 'y%./+-%__p_%'` | 13810 ac_safe=`echo "arpa/inet.h" | sed 'y%./+-%__p_%'` |
13810 echo $ac_n "checking for arpa/inet.h""... $ac_c" 1>&6 | 13811 echo $ac_n "checking for arpa/inet.h""... $ac_c" 1>&6 |
13811 echo "configure:13812: checking for arpa/inet.h" >&5 | 13812 echo "configure:13813: checking for arpa/inet.h" >&5 |
13812 | 13813 |
13813 cat > conftest.$ac_ext <<EOF | 13814 cat > conftest.$ac_ext <<EOF |
13814 #line 13815 "configure" | 13815 #line 13816 "configure" |
13815 #include "confdefs.h" | 13816 #include "confdefs.h" |
13816 #include <arpa/inet.h> | 13817 #include <arpa/inet.h> |
13817 EOF | 13818 EOF |
13818 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 13819 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; } | 13820 { (eval echo configure:13821: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
13820 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 13821 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
13821 if test -z "$ac_err"; then | 13822 if test -z "$ac_err"; then |
13822 rm -rf conftest* | 13823 rm -rf conftest* |
13823 eval "ac_cv_header_$ac_safe=yes" | 13824 eval "ac_cv_header_$ac_safe=yes" |
13824 else | 13825 else |
13839 #define HAVE_SOCKETS 1 | 13840 #define HAVE_SOCKETS 1 |
13840 EOF | 13841 EOF |
13841 } | 13842 } |
13842 | 13843 |
13843 echo $ac_n "checking "for sun_len member in struct sockaddr_un"""... $ac_c" 1>&6 | 13844 echo $ac_n "checking "for sun_len member in struct sockaddr_un"""... $ac_c" 1>&6 |
13844 echo "configure:13845: checking "for sun_len member in struct sockaddr_un"" >&5 | 13845 echo "configure:13846: checking "for sun_len member in struct sockaddr_un"" >&5 |
13845 cat > conftest.$ac_ext <<EOF | 13846 cat > conftest.$ac_ext <<EOF |
13846 #line 13847 "configure" | 13847 #line 13848 "configure" |
13847 #include "confdefs.h" | 13848 #include "confdefs.h" |
13848 | 13849 |
13849 #include <sys/types.h> | 13850 #include <sys/types.h> |
13850 #include <sys/socket.h> | 13851 #include <sys/socket.h> |
13851 #include <sys/un.h> | 13852 #include <sys/un.h> |
13852 | 13853 |
13853 int main() { | 13854 int main() { |
13854 static struct sockaddr_un x; x.sun_len = 1; | 13855 static struct sockaddr_un x; x.sun_len = 1; |
13855 ; return 0; } | 13856 ; return 0; } |
13856 EOF | 13857 EOF |
13857 if { (eval echo configure:13858: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13858 if { (eval echo configure:13859: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
13858 rm -rf conftest* | 13859 rm -rf conftest* |
13859 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF | 13860 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF |
13860 Defining HAVE_SOCKADDR_SUN_LEN | 13861 Defining HAVE_SOCKADDR_SUN_LEN |
13861 EOF | 13862 EOF |
13862 cat >> confdefs.h <<\EOF | 13863 cat >> confdefs.h <<\EOF |
13870 rm -rf conftest* | 13871 rm -rf conftest* |
13871 echo "$ac_t""no" 1>&6 | 13872 echo "$ac_t""no" 1>&6 |
13872 fi | 13873 fi |
13873 rm -f conftest* | 13874 rm -f conftest* |
13874 echo $ac_n "checking "for ip_mreq struct in netinet/in.h"""... $ac_c" 1>&6 | 13875 echo $ac_n "checking "for ip_mreq struct in netinet/in.h"""... $ac_c" 1>&6 |
13875 echo "configure:13876: checking "for ip_mreq struct in netinet/in.h"" >&5 | 13876 echo "configure:13877: checking "for ip_mreq struct in netinet/in.h"" >&5 |
13876 cat > conftest.$ac_ext <<EOF | 13877 cat > conftest.$ac_ext <<EOF |
13877 #line 13878 "configure" | 13878 #line 13879 "configure" |
13878 #include "confdefs.h" | 13879 #include "confdefs.h" |
13879 | 13880 |
13880 #include <sys/types.h> | 13881 #include <sys/types.h> |
13881 #include <netinet/in.h> | 13882 #include <netinet/in.h> |
13882 | 13883 |
13883 int main() { | 13884 int main() { |
13884 static struct ip_mreq x; | 13885 static struct ip_mreq x; |
13885 ; return 0; } | 13886 ; return 0; } |
13886 EOF | 13887 EOF |
13887 if { (eval echo configure:13888: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13888 if { (eval echo configure:13889: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
13888 rm -rf conftest* | 13889 rm -rf conftest* |
13889 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF | 13890 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF |
13890 Defining HAVE_MULTICAST | 13891 Defining HAVE_MULTICAST |
13891 EOF | 13892 EOF |
13892 cat >> confdefs.h <<\EOF | 13893 cat >> confdefs.h <<\EOF |
13913 echo "$ac_t""no" 1>&6 | 13914 echo "$ac_t""no" 1>&6 |
13914 fi | 13915 fi |
13915 | 13916 |
13916 | 13917 |
13917 echo $ac_n "checking for msgget""... $ac_c" 1>&6 | 13918 echo $ac_n "checking for msgget""... $ac_c" 1>&6 |
13918 echo "configure:13919: checking for msgget" >&5 | 13919 echo "configure:13920: checking for msgget" >&5 |
13919 | 13920 |
13920 cat > conftest.$ac_ext <<EOF | 13921 cat > conftest.$ac_ext <<EOF |
13921 #line 13922 "configure" | 13922 #line 13923 "configure" |
13922 #include "confdefs.h" | 13923 #include "confdefs.h" |
13923 /* System header to define __stub macros and hopefully few prototypes, | 13924 /* System header to define __stub macros and hopefully few prototypes, |
13924 which can conflict with char msgget(); below. */ | 13925 which can conflict with char msgget(); below. */ |
13925 #include <assert.h> | 13926 #include <assert.h> |
13926 /* Override any gcc2 internal prototype to avoid an error. */ | 13927 /* Override any gcc2 internal prototype to avoid an error. */ |
13939 msgget(); | 13940 msgget(); |
13940 #endif | 13941 #endif |
13941 | 13942 |
13942 ; return 0; } | 13943 ; return 0; } |
13943 EOF | 13944 EOF |
13944 if { (eval echo configure:13945: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13945 if { (eval echo configure:13946: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
13945 rm -rf conftest* | 13946 rm -rf conftest* |
13946 eval "ac_cv_func_msgget=yes" | 13947 eval "ac_cv_func_msgget=yes" |
13947 else | 13948 else |
13948 echo "configure: failed program was:" >&5 | 13949 echo "configure: failed program was:" >&5 |
13949 cat conftest.$ac_ext >&5 | 13950 cat conftest.$ac_ext >&5 |
13954 | 13955 |
13955 if eval "test \"`echo '$ac_cv_func_'msgget`\" = yes"; then | 13956 if eval "test \"`echo '$ac_cv_func_'msgget`\" = yes"; then |
13956 echo "$ac_t""yes" 1>&6 | 13957 echo "$ac_t""yes" 1>&6 |
13957 ac_safe=`echo "sys/ipc.h" | sed 'y%./+-%__p_%'` | 13958 ac_safe=`echo "sys/ipc.h" | sed 'y%./+-%__p_%'` |
13958 echo $ac_n "checking for sys/ipc.h""... $ac_c" 1>&6 | 13959 echo $ac_n "checking for sys/ipc.h""... $ac_c" 1>&6 |
13959 echo "configure:13960: checking for sys/ipc.h" >&5 | 13960 echo "configure:13961: checking for sys/ipc.h" >&5 |
13960 | 13961 |
13961 cat > conftest.$ac_ext <<EOF | 13962 cat > conftest.$ac_ext <<EOF |
13962 #line 13963 "configure" | 13963 #line 13964 "configure" |
13963 #include "confdefs.h" | 13964 #include "confdefs.h" |
13964 #include <sys/ipc.h> | 13965 #include <sys/ipc.h> |
13965 EOF | 13966 EOF |
13966 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 13967 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
13967 { (eval echo configure:13968: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 13968 { (eval echo configure:13969: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
13968 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 13969 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
13969 if test -z "$ac_err"; then | 13970 if test -z "$ac_err"; then |
13970 rm -rf conftest* | 13971 rm -rf conftest* |
13971 eval "ac_cv_header_$ac_safe=yes" | 13972 eval "ac_cv_header_$ac_safe=yes" |
13972 else | 13973 else |
13979 rm -f conftest* | 13980 rm -f conftest* |
13980 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 13981 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
13981 echo "$ac_t""yes" 1>&6 | 13982 echo "$ac_t""yes" 1>&6 |
13982 ac_safe=`echo "sys/msg.h" | sed 'y%./+-%__p_%'` | 13983 ac_safe=`echo "sys/msg.h" | sed 'y%./+-%__p_%'` |
13983 echo $ac_n "checking for sys/msg.h""... $ac_c" 1>&6 | 13984 echo $ac_n "checking for sys/msg.h""... $ac_c" 1>&6 |
13984 echo "configure:13985: checking for sys/msg.h" >&5 | 13985 echo "configure:13986: checking for sys/msg.h" >&5 |
13985 | 13986 |
13986 cat > conftest.$ac_ext <<EOF | 13987 cat > conftest.$ac_ext <<EOF |
13987 #line 13988 "configure" | 13988 #line 13989 "configure" |
13988 #include "confdefs.h" | 13989 #include "confdefs.h" |
13989 #include <sys/msg.h> | 13990 #include <sys/msg.h> |
13990 EOF | 13991 EOF |
13991 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 13992 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
13992 { (eval echo configure:13993: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 13993 { (eval echo configure:13994: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
13993 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 13994 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
13994 if test -z "$ac_err"; then | 13995 if test -z "$ac_err"; then |
13995 rm -rf conftest* | 13996 rm -rf conftest* |
13996 eval "ac_cv_header_$ac_safe=yes" | 13997 eval "ac_cv_header_$ac_safe=yes" |
13997 else | 13998 else |
14025 fi | 14026 fi |
14026 | 14027 |
14027 | 14028 |
14028 ac_safe=`echo "dirent.h" | sed 'y%./+-%__p_%'` | 14029 ac_safe=`echo "dirent.h" | sed 'y%./+-%__p_%'` |
14029 echo $ac_n "checking for dirent.h""... $ac_c" 1>&6 | 14030 echo $ac_n "checking for dirent.h""... $ac_c" 1>&6 |
14030 echo "configure:14031: checking for dirent.h" >&5 | 14031 echo "configure:14032: checking for dirent.h" >&5 |
14031 | 14032 |
14032 cat > conftest.$ac_ext <<EOF | 14033 cat > conftest.$ac_ext <<EOF |
14033 #line 14034 "configure" | 14034 #line 14035 "configure" |
14034 #include "confdefs.h" | 14035 #include "confdefs.h" |
14035 #include <dirent.h> | 14036 #include <dirent.h> |
14036 EOF | 14037 EOF |
14037 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 14038 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
14038 { (eval echo configure:14039: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 14039 { (eval echo configure:14040: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
14039 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 14040 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
14040 if test -z "$ac_err"; then | 14041 if test -z "$ac_err"; then |
14041 rm -rf conftest* | 14042 rm -rf conftest* |
14042 eval "ac_cv_header_$ac_safe=yes" | 14043 eval "ac_cv_header_$ac_safe=yes" |
14043 else | 14044 else |
14060 | 14061 |
14061 else | 14062 else |
14062 echo "$ac_t""no" 1>&6 | 14063 echo "$ac_t""no" 1>&6 |
14063 ac_safe=`echo "sys/dir.h" | sed 'y%./+-%__p_%'` | 14064 ac_safe=`echo "sys/dir.h" | sed 'y%./+-%__p_%'` |
14064 echo $ac_n "checking for sys/dir.h""... $ac_c" 1>&6 | 14065 echo $ac_n "checking for sys/dir.h""... $ac_c" 1>&6 |
14065 echo "configure:14066: checking for sys/dir.h" >&5 | 14066 echo "configure:14067: checking for sys/dir.h" >&5 |
14066 | 14067 |
14067 cat > conftest.$ac_ext <<EOF | 14068 cat > conftest.$ac_ext <<EOF |
14068 #line 14069 "configure" | 14069 #line 14070 "configure" |
14069 #include "confdefs.h" | 14070 #include "confdefs.h" |
14070 #include <sys/dir.h> | 14071 #include <sys/dir.h> |
14071 EOF | 14072 EOF |
14072 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 14073 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
14073 { (eval echo configure:14074: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 14074 { (eval echo configure:14075: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
14074 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 14075 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
14075 if test -z "$ac_err"; then | 14076 if test -z "$ac_err"; then |
14076 rm -rf conftest* | 14077 rm -rf conftest* |
14077 eval "ac_cv_header_$ac_safe=yes" | 14078 eval "ac_cv_header_$ac_safe=yes" |
14078 else | 14079 else |
14101 fi | 14102 fi |
14102 | 14103 |
14103 | 14104 |
14104 ac_safe=`echo "nlist.h" | sed 'y%./+-%__p_%'` | 14105 ac_safe=`echo "nlist.h" | sed 'y%./+-%__p_%'` |
14105 echo $ac_n "checking for nlist.h""... $ac_c" 1>&6 | 14106 echo $ac_n "checking for nlist.h""... $ac_c" 1>&6 |
14106 echo "configure:14107: checking for nlist.h" >&5 | 14107 echo "configure:14108: checking for nlist.h" >&5 |
14107 | 14108 |
14108 cat > conftest.$ac_ext <<EOF | 14109 cat > conftest.$ac_ext <<EOF |
14109 #line 14110 "configure" | 14110 #line 14111 "configure" |
14110 #include "confdefs.h" | 14111 #include "confdefs.h" |
14111 #include <nlist.h> | 14112 #include <nlist.h> |
14112 EOF | 14113 EOF |
14113 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 14114 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
14114 { (eval echo configure:14115: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 14115 { (eval echo configure:14116: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
14115 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 14116 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
14116 if test -z "$ac_err"; then | 14117 if test -z "$ac_err"; then |
14117 rm -rf conftest* | 14118 rm -rf conftest* |
14118 eval "ac_cv_header_$ac_safe=yes" | 14119 eval "ac_cv_header_$ac_safe=yes" |
14119 else | 14120 else |
14139 fi | 14140 fi |
14140 | 14141 |
14141 | 14142 |
14142 | 14143 |
14143 echo "checking "for sound support"" 1>&6 | 14144 echo "checking "for sound support"" 1>&6 |
14144 echo "configure:14145: checking "for sound support"" >&5 | 14145 echo "configure:14146: checking "for sound support"" >&5 |
14145 test -z "$with_native_sound" -a -n "$native_sound_lib" && with_native_sound=yes | 14146 test -z "$with_native_sound" -a -n "$native_sound_lib" && with_native_sound=yes |
14146 | 14147 |
14147 if test "$with_native_sound" != "no"; then | 14148 if test "$with_native_sound" != "no"; then |
14148 if test -n "$native_sound_lib"; then | 14149 if test -n "$native_sound_lib"; then |
14149 ac_safe=`echo "multimedia/audio_device.h" | sed 'y%./+-%__p_%'` | 14150 ac_safe=`echo "multimedia/audio_device.h" | sed 'y%./+-%__p_%'` |
14150 echo $ac_n "checking for multimedia/audio_device.h""... $ac_c" 1>&6 | 14151 echo $ac_n "checking for multimedia/audio_device.h""... $ac_c" 1>&6 |
14151 echo "configure:14152: checking for multimedia/audio_device.h" >&5 | 14152 echo "configure:14153: checking for multimedia/audio_device.h" >&5 |
14152 | 14153 |
14153 cat > conftest.$ac_ext <<EOF | 14154 cat > conftest.$ac_ext <<EOF |
14154 #line 14155 "configure" | 14155 #line 14156 "configure" |
14155 #include "confdefs.h" | 14156 #include "confdefs.h" |
14156 #include <multimedia/audio_device.h> | 14157 #include <multimedia/audio_device.h> |
14157 EOF | 14158 EOF |
14158 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 14159 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
14159 { (eval echo configure:14160: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 14160 { (eval echo configure:14161: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
14160 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 14161 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
14161 if test -z "$ac_err"; then | 14162 if test -z "$ac_err"; then |
14162 rm -rf conftest* | 14163 rm -rf conftest* |
14163 eval "ac_cv_header_$ac_safe=yes" | 14164 eval "ac_cv_header_$ac_safe=yes" |
14164 else | 14165 else |
14210 case "$canonical" in | 14211 case "$canonical" in |
14211 *-sgi-* ) | 14212 *-sgi-* ) |
14212 if test -z "$native_sound_lib"; then | 14213 if test -z "$native_sound_lib"; then |
14213 | 14214 |
14214 echo $ac_n "checking for ALopenport in -laudio""... $ac_c" 1>&6 | 14215 echo $ac_n "checking for ALopenport in -laudio""... $ac_c" 1>&6 |
14215 echo "configure:14216: checking for ALopenport in -laudio" >&5 | 14216 echo "configure:14217: checking for ALopenport in -laudio" >&5 |
14216 ac_lib_var=`echo audio'_'ALopenport | sed 'y%./+-%__p_%'` | 14217 ac_lib_var=`echo audio'_'ALopenport | sed 'y%./+-%__p_%'` |
14217 | 14218 |
14218 xe_check_libs=" -laudio " | 14219 xe_check_libs=" -laudio " |
14219 cat > conftest.$ac_ext <<EOF | 14220 cat > conftest.$ac_ext <<EOF |
14220 #line 14221 "configure" | 14221 #line 14222 "configure" |
14221 #include "confdefs.h" | 14222 #include "confdefs.h" |
14222 /* Override any gcc2 internal prototype to avoid an error. */ | 14223 /* Override any gcc2 internal prototype to avoid an error. */ |
14223 /* We use char because int might match the return type of a gcc2 | 14224 /* We use char because int might match the return type of a gcc2 |
14224 builtin and then its argument prototype would still apply. */ | 14225 builtin and then its argument prototype would still apply. */ |
14225 char ALopenport(); | 14226 char ALopenport(); |
14226 | 14227 |
14227 int main() { | 14228 int main() { |
14228 ALopenport() | 14229 ALopenport() |
14229 ; return 0; } | 14230 ; return 0; } |
14230 EOF | 14231 EOF |
14231 if { (eval echo configure:14232: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14232 if { (eval echo configure:14233: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
14232 rm -rf conftest* | 14233 rm -rf conftest* |
14233 eval "ac_cv_lib_$ac_lib_var=yes" | 14234 eval "ac_cv_lib_$ac_lib_var=yes" |
14234 else | 14235 else |
14235 echo "configure: failed program was:" >&5 | 14236 echo "configure: failed program was:" >&5 |
14236 cat conftest.$ac_ext >&5 | 14237 cat conftest.$ac_ext >&5 |
14257 fi ;; | 14258 fi ;; |
14258 hppa*-hp-hpux* ) | 14259 hppa*-hp-hpux* ) |
14259 if test -z "$native_sound_lib"; then | 14260 if test -z "$native_sound_lib"; then |
14260 | 14261 |
14261 echo $ac_n "checking for AOpenAudio in -lAlib""... $ac_c" 1>&6 | 14262 echo $ac_n "checking for AOpenAudio in -lAlib""... $ac_c" 1>&6 |
14262 echo "configure:14263: checking for AOpenAudio in -lAlib" >&5 | 14263 echo "configure:14264: checking for AOpenAudio in -lAlib" >&5 |
14263 ac_lib_var=`echo Alib'_'AOpenAudio | sed 'y%./+-%__p_%'` | 14264 ac_lib_var=`echo Alib'_'AOpenAudio | sed 'y%./+-%__p_%'` |
14264 | 14265 |
14265 xe_check_libs=" -lAlib " | 14266 xe_check_libs=" -lAlib " |
14266 cat > conftest.$ac_ext <<EOF | 14267 cat > conftest.$ac_ext <<EOF |
14267 #line 14268 "configure" | 14268 #line 14269 "configure" |
14268 #include "confdefs.h" | 14269 #include "confdefs.h" |
14269 /* Override any gcc2 internal prototype to avoid an error. */ | 14270 /* Override any gcc2 internal prototype to avoid an error. */ |
14270 /* We use char because int might match the return type of a gcc2 | 14271 /* We use char because int might match the return type of a gcc2 |
14271 builtin and then its argument prototype would still apply. */ | 14272 builtin and then its argument prototype would still apply. */ |
14272 char AOpenAudio(); | 14273 char AOpenAudio(); |
14273 | 14274 |
14274 int main() { | 14275 int main() { |
14275 AOpenAudio() | 14276 AOpenAudio() |
14276 ; return 0; } | 14277 ; return 0; } |
14277 EOF | 14278 EOF |
14278 if { (eval echo configure:14279: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14279 if { (eval echo configure:14280: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
14279 rm -rf conftest* | 14280 rm -rf conftest* |
14280 eval "ac_cv_lib_$ac_lib_var=yes" | 14281 eval "ac_cv_lib_$ac_lib_var=yes" |
14281 else | 14282 else |
14282 echo "configure: failed program was:" >&5 | 14283 echo "configure: failed program was:" >&5 |
14283 cat conftest.$ac_ext >&5 | 14284 cat conftest.$ac_ext >&5 |
14321 | 14322 |
14322 if test -z "$sound_found"; then | 14323 if test -z "$sound_found"; then |
14323 for dir in "machine" "sys" "linux"; do | 14324 for dir in "machine" "sys" "linux"; do |
14324 ac_safe=`echo "${dir}/soundcard.h" | sed 'y%./+-%__p_%'` | 14325 ac_safe=`echo "${dir}/soundcard.h" | sed 'y%./+-%__p_%'` |
14325 echo $ac_n "checking for ${dir}/soundcard.h""... $ac_c" 1>&6 | 14326 echo $ac_n "checking for ${dir}/soundcard.h""... $ac_c" 1>&6 |
14326 echo "configure:14327: checking for ${dir}/soundcard.h" >&5 | 14327 echo "configure:14328: checking for ${dir}/soundcard.h" >&5 |
14327 | 14328 |
14328 cat > conftest.$ac_ext <<EOF | 14329 cat > conftest.$ac_ext <<EOF |
14329 #line 14330 "configure" | 14330 #line 14331 "configure" |
14330 #include "confdefs.h" | 14331 #include "confdefs.h" |
14331 #include <${dir}/soundcard.h> | 14332 #include <${dir}/soundcard.h> |
14332 EOF | 14333 EOF |
14333 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 14334 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
14334 { (eval echo configure:14335: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 14335 { (eval echo configure:14336: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
14335 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 14336 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
14336 if test -z "$ac_err"; then | 14337 if test -z "$ac_err"; then |
14337 rm -rf conftest* | 14338 rm -rf conftest* |
14338 eval "ac_cv_header_$ac_safe=yes" | 14339 eval "ac_cv_header_$ac_safe=yes" |
14339 else | 14340 else |
14383 fi | 14384 fi |
14384 | 14385 |
14385 if test "$with_nas_sound" != "no"; then | 14386 if test "$with_nas_sound" != "no"; then |
14386 ac_safe=`echo "audio/audiolib.h" | sed 'y%./+-%__p_%'` | 14387 ac_safe=`echo "audio/audiolib.h" | sed 'y%./+-%__p_%'` |
14387 echo $ac_n "checking for audio/audiolib.h""... $ac_c" 1>&6 | 14388 echo $ac_n "checking for audio/audiolib.h""... $ac_c" 1>&6 |
14388 echo "configure:14389: checking for audio/audiolib.h" >&5 | 14389 echo "configure:14390: checking for audio/audiolib.h" >&5 |
14389 | 14390 |
14390 cat > conftest.$ac_ext <<EOF | 14391 cat > conftest.$ac_ext <<EOF |
14391 #line 14392 "configure" | 14392 #line 14393 "configure" |
14392 #include "confdefs.h" | 14393 #include "confdefs.h" |
14393 #include <audio/audiolib.h> | 14394 #include <audio/audiolib.h> |
14394 EOF | 14395 EOF |
14395 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 14396 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
14396 { (eval echo configure:14397: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 14397 { (eval echo configure:14398: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
14397 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 14398 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
14398 if test -z "$ac_err"; then | 14399 if test -z "$ac_err"; then |
14399 rm -rf conftest* | 14400 rm -rf conftest* |
14400 eval "ac_cv_header_$ac_safe=yes" | 14401 eval "ac_cv_header_$ac_safe=yes" |
14401 else | 14402 else |
14409 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 14410 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
14410 echo "$ac_t""yes" 1>&6 | 14411 echo "$ac_t""yes" 1>&6 |
14411 | 14412 |
14412 | 14413 |
14413 echo $ac_n "checking for AuOpenServer in -laudio""... $ac_c" 1>&6 | 14414 echo $ac_n "checking for AuOpenServer in -laudio""... $ac_c" 1>&6 |
14414 echo "configure:14415: checking for AuOpenServer in -laudio" >&5 | 14415 echo "configure:14416: checking for AuOpenServer in -laudio" >&5 |
14415 ac_lib_var=`echo audio'_'AuOpenServer | sed 'y%./+-%__p_%'` | 14416 ac_lib_var=`echo audio'_'AuOpenServer | sed 'y%./+-%__p_%'` |
14416 | 14417 |
14417 xe_check_libs=" -laudio " | 14418 xe_check_libs=" -laudio " |
14418 cat > conftest.$ac_ext <<EOF | 14419 cat > conftest.$ac_ext <<EOF |
14419 #line 14420 "configure" | 14420 #line 14421 "configure" |
14420 #include "confdefs.h" | 14421 #include "confdefs.h" |
14421 /* Override any gcc2 internal prototype to avoid an error. */ | 14422 /* Override any gcc2 internal prototype to avoid an error. */ |
14422 /* We use char because int might match the return type of a gcc2 | 14423 /* We use char because int might match the return type of a gcc2 |
14423 builtin and then its argument prototype would still apply. */ | 14424 builtin and then its argument prototype would still apply. */ |
14424 char AuOpenServer(); | 14425 char AuOpenServer(); |
14425 | 14426 |
14426 int main() { | 14427 int main() { |
14427 AuOpenServer() | 14428 AuOpenServer() |
14428 ; return 0; } | 14429 ; return 0; } |
14429 EOF | 14430 EOF |
14430 if { (eval echo configure:14431: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14431 if { (eval echo configure:14432: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
14431 rm -rf conftest* | 14432 rm -rf conftest* |
14432 eval "ac_cv_lib_$ac_lib_var=yes" | 14433 eval "ac_cv_lib_$ac_lib_var=yes" |
14433 else | 14434 else |
14434 echo "configure: failed program was:" >&5 | 14435 echo "configure: failed program was:" >&5 |
14435 cat conftest.$ac_ext >&5 | 14436 cat conftest.$ac_ext >&5 |
14464 extra_objs="$extra_objs nas.o" && if test "$extra_verbose" = "yes"; then | 14465 extra_objs="$extra_objs nas.o" && if test "$extra_verbose" = "yes"; then |
14465 echo " xemacs will be linked with \"nas.o\"" | 14466 echo " xemacs will be linked with \"nas.o\"" |
14466 fi | 14467 fi |
14467 libs_x="-laudio $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-laudio\" to \$libs_x"; fi | 14468 libs_x="-laudio $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-laudio\" to \$libs_x"; fi |
14468 cat > conftest.$ac_ext <<EOF | 14469 cat > conftest.$ac_ext <<EOF |
14469 #line 14470 "configure" | 14470 #line 14471 "configure" |
14470 #include "confdefs.h" | 14471 #include "confdefs.h" |
14471 #include <audio/Xtutil.h> | 14472 #include <audio/Xtutil.h> |
14472 EOF | 14473 EOF |
14473 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 14474 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
14474 egrep "AuXtErrorJump" >/dev/null 2>&1; then | 14475 egrep "AuXtErrorJump" >/dev/null 2>&1; then |
14495 | 14496 |
14496 if test "$with_esd_sound" != "no"; then | 14497 if test "$with_esd_sound" != "no"; then |
14497 # Extract the first word of "esd-config", so it can be a program name with args. | 14498 # Extract the first word of "esd-config", so it can be a program name with args. |
14498 set dummy esd-config; ac_word=$2 | 14499 set dummy esd-config; ac_word=$2 |
14499 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 14500 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
14500 echo "configure:14501: checking for $ac_word" >&5 | 14501 echo "configure:14502: checking for $ac_word" >&5 |
14501 | 14502 |
14502 if test -n "$have_esd_config"; then | 14503 if test -n "$have_esd_config"; then |
14503 ac_cv_prog_have_esd_config="$have_esd_config" # Let the user override the test. | 14504 ac_cv_prog_have_esd_config="$have_esd_config" # Let the user override the test. |
14504 else | 14505 else |
14505 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | 14506 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
14524 if test "$have_esd_config" = "yes"; then | 14525 if test "$have_esd_config" = "yes"; then |
14525 save_c_switch_site="$c_switch_site" save_LIBS="$LIBS" | 14526 save_c_switch_site="$c_switch_site" save_LIBS="$LIBS" |
14526 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 | 14527 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 |
14527 LIBS="`esd-config --libs` $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"`esd-config --libs`\" to \$LIBS"; fi | 14528 LIBS="`esd-config --libs` $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"`esd-config --libs`\" to \$LIBS"; fi |
14528 echo $ac_n "checking for esd_play_stream""... $ac_c" 1>&6 | 14529 echo $ac_n "checking for esd_play_stream""... $ac_c" 1>&6 |
14529 echo "configure:14530: checking for esd_play_stream" >&5 | 14530 echo "configure:14531: checking for esd_play_stream" >&5 |
14530 | 14531 |
14531 cat > conftest.$ac_ext <<EOF | 14532 cat > conftest.$ac_ext <<EOF |
14532 #line 14533 "configure" | 14533 #line 14534 "configure" |
14533 #include "confdefs.h" | 14534 #include "confdefs.h" |
14534 /* System header to define __stub macros and hopefully few prototypes, | 14535 /* System header to define __stub macros and hopefully few prototypes, |
14535 which can conflict with char esd_play_stream(); below. */ | 14536 which can conflict with char esd_play_stream(); below. */ |
14536 #include <assert.h> | 14537 #include <assert.h> |
14537 /* Override any gcc2 internal prototype to avoid an error. */ | 14538 /* Override any gcc2 internal prototype to avoid an error. */ |
14550 esd_play_stream(); | 14551 esd_play_stream(); |
14551 #endif | 14552 #endif |
14552 | 14553 |
14553 ; return 0; } | 14554 ; return 0; } |
14554 EOF | 14555 EOF |
14555 if { (eval echo configure:14556: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14556 if { (eval echo configure:14557: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
14556 rm -rf conftest* | 14557 rm -rf conftest* |
14557 eval "ac_cv_func_esd_play_stream=yes" | 14558 eval "ac_cv_func_esd_play_stream=yes" |
14558 else | 14559 else |
14559 echo "configure: failed program was:" >&5 | 14560 echo "configure: failed program was:" >&5 |
14560 cat conftest.$ac_ext >&5 | 14561 cat conftest.$ac_ext >&5 |
14601 | 14602 |
14602 test -z "$with_tty" && with_tty=yes | 14603 test -z "$with_tty" && with_tty=yes |
14603 | 14604 |
14604 if test "$with_tty" = "yes" ; then | 14605 if test "$with_tty" = "yes" ; then |
14605 echo "checking for TTY-related features" 1>&6 | 14606 echo "checking for TTY-related features" 1>&6 |
14606 echo "configure:14607: checking for TTY-related features" >&5 | 14607 echo "configure:14608: checking for TTY-related features" >&5 |
14607 { test "$extra_verbose" = "yes" && cat << \EOF | 14608 { test "$extra_verbose" = "yes" && cat << \EOF |
14608 Defining HAVE_TTY | 14609 Defining HAVE_TTY |
14609 EOF | 14610 EOF |
14610 cat >> confdefs.h <<\EOF | 14611 cat >> confdefs.h <<\EOF |
14611 #define HAVE_TTY 1 | 14612 #define HAVE_TTY 1 |
14614 | 14615 |
14615 | 14616 |
14616 if test -z "$with_ncurses"; then | 14617 if test -z "$with_ncurses"; then |
14617 | 14618 |
14618 echo $ac_n "checking for tgetent in -lncurses""... $ac_c" 1>&6 | 14619 echo $ac_n "checking for tgetent in -lncurses""... $ac_c" 1>&6 |
14619 echo "configure:14620: checking for tgetent in -lncurses" >&5 | 14620 echo "configure:14621: checking for tgetent in -lncurses" >&5 |
14620 ac_lib_var=`echo ncurses'_'tgetent | sed 'y%./+-%__p_%'` | 14621 ac_lib_var=`echo ncurses'_'tgetent | sed 'y%./+-%__p_%'` |
14621 | 14622 |
14622 xe_check_libs=" -lncurses " | 14623 xe_check_libs=" -lncurses " |
14623 cat > conftest.$ac_ext <<EOF | 14624 cat > conftest.$ac_ext <<EOF |
14624 #line 14625 "configure" | 14625 #line 14626 "configure" |
14625 #include "confdefs.h" | 14626 #include "confdefs.h" |
14626 /* Override any gcc2 internal prototype to avoid an error. */ | 14627 /* Override any gcc2 internal prototype to avoid an error. */ |
14627 /* We use char because int might match the return type of a gcc2 | 14628 /* We use char because int might match the return type of a gcc2 |
14628 builtin and then its argument prototype would still apply. */ | 14629 builtin and then its argument prototype would still apply. */ |
14629 char tgetent(); | 14630 char tgetent(); |
14630 | 14631 |
14631 int main() { | 14632 int main() { |
14632 tgetent() | 14633 tgetent() |
14633 ; return 0; } | 14634 ; return 0; } |
14634 EOF | 14635 EOF |
14635 if { (eval echo configure:14636: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14636 if { (eval echo configure:14637: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
14636 rm -rf conftest* | 14637 rm -rf conftest* |
14637 eval "ac_cv_lib_$ac_lib_var=yes" | 14638 eval "ac_cv_lib_$ac_lib_var=yes" |
14638 else | 14639 else |
14639 echo "configure: failed program was:" >&5 | 14640 echo "configure: failed program was:" >&5 |
14640 cat conftest.$ac_ext >&5 | 14641 cat conftest.$ac_ext >&5 |
14663 EOF | 14664 EOF |
14664 } | 14665 } |
14665 | 14666 |
14666 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` | 14667 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` |
14667 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 | 14668 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 |
14668 echo "configure:14669: checking for ncurses/curses.h" >&5 | 14669 echo "configure:14670: checking for ncurses/curses.h" >&5 |
14669 | 14670 |
14670 cat > conftest.$ac_ext <<EOF | 14671 cat > conftest.$ac_ext <<EOF |
14671 #line 14672 "configure" | 14672 #line 14673 "configure" |
14672 #include "confdefs.h" | 14673 #include "confdefs.h" |
14673 #include <ncurses/curses.h> | 14674 #include <ncurses/curses.h> |
14674 EOF | 14675 EOF |
14675 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 14676 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
14676 { (eval echo configure:14677: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 14677 { (eval echo configure:14678: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
14677 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 14678 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
14678 if test -z "$ac_err"; then | 14679 if test -z "$ac_err"; then |
14679 rm -rf conftest* | 14680 rm -rf conftest* |
14680 eval "ac_cv_header_$ac_safe=yes" | 14681 eval "ac_cv_header_$ac_safe=yes" |
14681 else | 14682 else |
14693 echo "$ac_t""no" 1>&6 | 14694 echo "$ac_t""no" 1>&6 |
14694 fi | 14695 fi |
14695 | 14696 |
14696 ac_safe=`echo "ncurses/term.h" | sed 'y%./+-%__p_%'` | 14697 ac_safe=`echo "ncurses/term.h" | sed 'y%./+-%__p_%'` |
14697 echo $ac_n "checking for ncurses/term.h""... $ac_c" 1>&6 | 14698 echo $ac_n "checking for ncurses/term.h""... $ac_c" 1>&6 |
14698 echo "configure:14699: checking for ncurses/term.h" >&5 | 14699 echo "configure:14700: checking for ncurses/term.h" >&5 |
14699 | 14700 |
14700 cat > conftest.$ac_ext <<EOF | 14701 cat > conftest.$ac_ext <<EOF |
14701 #line 14702 "configure" | 14702 #line 14703 "configure" |
14702 #include "confdefs.h" | 14703 #include "confdefs.h" |
14703 #include <ncurses/term.h> | 14704 #include <ncurses/term.h> |
14704 EOF | 14705 EOF |
14705 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 14706 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
14706 { (eval echo configure:14707: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 14707 { (eval echo configure:14708: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
14707 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 14708 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
14708 if test -z "$ac_err"; then | 14709 if test -z "$ac_err"; then |
14709 rm -rf conftest* | 14710 rm -rf conftest* |
14710 eval "ac_cv_header_$ac_safe=yes" | 14711 eval "ac_cv_header_$ac_safe=yes" |
14711 else | 14712 else |
14731 if test "$ac_cv_header_ncurses_curses_h" != "yes" ; then | 14732 if test "$ac_cv_header_ncurses_curses_h" != "yes" ; then |
14732 save_c_switch_site="$c_switch_site" | 14733 save_c_switch_site="$c_switch_site" |
14733 c_switch_site="$c_switch_site -I/usr/include/ncurses" | 14734 c_switch_site="$c_switch_site -I/usr/include/ncurses" |
14734 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` | 14735 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` |
14735 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 | 14736 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 |
14736 echo "configure:14737: checking for ncurses/curses.h" >&5 | 14737 echo "configure:14738: checking for ncurses/curses.h" >&5 |
14737 | 14738 |
14738 cat > conftest.$ac_ext <<EOF | 14739 cat > conftest.$ac_ext <<EOF |
14739 #line 14740 "configure" | 14740 #line 14741 "configure" |
14740 #include "confdefs.h" | 14741 #include "confdefs.h" |
14741 #include <ncurses/curses.h> | 14742 #include <ncurses/curses.h> |
14742 EOF | 14743 EOF |
14743 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 14744 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
14744 { (eval echo configure:14745: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 14745 { (eval echo configure:14746: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
14745 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 14746 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
14746 if test -z "$ac_err"; then | 14747 if test -z "$ac_err"; then |
14747 rm -rf conftest* | 14748 rm -rf conftest* |
14748 eval "ac_cv_header_$ac_safe=yes" | 14749 eval "ac_cv_header_$ac_safe=yes" |
14749 else | 14750 else |
14774 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi | 14775 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi |
14775 else | 14776 else |
14776 for lib in curses termlib termcap; do | 14777 for lib in curses termlib termcap; do |
14777 | 14778 |
14778 echo $ac_n "checking for tgetent in -l$lib""... $ac_c" 1>&6 | 14779 echo $ac_n "checking for tgetent in -l$lib""... $ac_c" 1>&6 |
14779 echo "configure:14780: checking for tgetent in -l$lib" >&5 | 14780 echo "configure:14781: checking for tgetent in -l$lib" >&5 |
14780 ac_lib_var=`echo $lib'_'tgetent | sed 'y%./+-%__p_%'` | 14781 ac_lib_var=`echo $lib'_'tgetent | sed 'y%./+-%__p_%'` |
14781 | 14782 |
14782 xe_check_libs=" -l$lib " | 14783 xe_check_libs=" -l$lib " |
14783 cat > conftest.$ac_ext <<EOF | 14784 cat > conftest.$ac_ext <<EOF |
14784 #line 14785 "configure" | 14785 #line 14786 "configure" |
14785 #include "confdefs.h" | 14786 #include "confdefs.h" |
14786 /* Override any gcc2 internal prototype to avoid an error. */ | 14787 /* Override any gcc2 internal prototype to avoid an error. */ |
14787 /* We use char because int might match the return type of a gcc2 | 14788 /* We use char because int might match the return type of a gcc2 |
14788 builtin and then its argument prototype would still apply. */ | 14789 builtin and then its argument prototype would still apply. */ |
14789 char tgetent(); | 14790 char tgetent(); |
14790 | 14791 |
14791 int main() { | 14792 int main() { |
14792 tgetent() | 14793 tgetent() |
14793 ; return 0; } | 14794 ; return 0; } |
14794 EOF | 14795 EOF |
14795 if { (eval echo configure:14796: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14796 if { (eval echo configure:14797: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
14796 rm -rf conftest* | 14797 rm -rf conftest* |
14797 eval "ac_cv_lib_$ac_lib_var=yes" | 14798 eval "ac_cv_lib_$ac_lib_var=yes" |
14798 else | 14799 else |
14799 echo "configure: failed program was:" >&5 | 14800 echo "configure: failed program was:" >&5 |
14800 cat conftest.$ac_ext >&5 | 14801 cat conftest.$ac_ext >&5 |
14821 if test -n "$libs_termcap"; then | 14822 if test -n "$libs_termcap"; then |
14822 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi | 14823 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi |
14823 else | 14824 else |
14824 | 14825 |
14825 echo $ac_n "checking for tgetent in -lcurses""... $ac_c" 1>&6 | 14826 echo $ac_n "checking for tgetent in -lcurses""... $ac_c" 1>&6 |
14826 echo "configure:14827: checking for tgetent in -lcurses" >&5 | 14827 echo "configure:14828: checking for tgetent in -lcurses" >&5 |
14827 ac_lib_var=`echo curses'_'tgetent | sed 'y%./+-%__p_%'` | 14828 ac_lib_var=`echo curses'_'tgetent | sed 'y%./+-%__p_%'` |
14828 | 14829 |
14829 xe_check_libs=" -lcurses " | 14830 xe_check_libs=" -lcurses " |
14830 cat > conftest.$ac_ext <<EOF | 14831 cat > conftest.$ac_ext <<EOF |
14831 #line 14832 "configure" | 14832 #line 14833 "configure" |
14832 #include "confdefs.h" | 14833 #include "confdefs.h" |
14833 /* Override any gcc2 internal prototype to avoid an error. */ | 14834 /* Override any gcc2 internal prototype to avoid an error. */ |
14834 /* We use char because int might match the return type of a gcc2 | 14835 /* We use char because int might match the return type of a gcc2 |
14835 builtin and then its argument prototype would still apply. */ | 14836 builtin and then its argument prototype would still apply. */ |
14836 char tgetent(); | 14837 char tgetent(); |
14837 | 14838 |
14838 int main() { | 14839 int main() { |
14839 tgetent() | 14840 tgetent() |
14840 ; return 0; } | 14841 ; return 0; } |
14841 EOF | 14842 EOF |
14842 if { (eval echo configure:14843: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14843 if { (eval echo configure:14844: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
14843 rm -rf conftest* | 14844 rm -rf conftest* |
14844 eval "ac_cv_lib_$ac_lib_var=yes" | 14845 eval "ac_cv_lib_$ac_lib_var=yes" |
14845 else | 14846 else |
14846 echo "configure: failed program was:" >&5 | 14847 echo "configure: failed program was:" >&5 |
14847 cat conftest.$ac_ext >&5 | 14848 cat conftest.$ac_ext >&5 |
14855 echo "$ac_t""yes" 1>&6 | 14856 echo "$ac_t""yes" 1>&6 |
14856 LIBS="-lcurses $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lcurses\" to \$LIBS"; fi | 14857 LIBS="-lcurses $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lcurses\" to \$LIBS"; fi |
14857 else | 14858 else |
14858 echo "$ac_t""no" 1>&6 | 14859 echo "$ac_t""no" 1>&6 |
14859 echo $ac_n "checking for tgetent in -ltermcap""... $ac_c" 1>&6 | 14860 echo $ac_n "checking for tgetent in -ltermcap""... $ac_c" 1>&6 |
14860 echo "configure:14861: checking for tgetent in -ltermcap" >&5 | 14861 echo "configure:14862: checking for tgetent in -ltermcap" >&5 |
14861 ac_lib_var=`echo termcap'_'tgetent | sed 'y%./+-%__p_%'` | 14862 ac_lib_var=`echo termcap'_'tgetent | sed 'y%./+-%__p_%'` |
14862 | 14863 |
14863 xe_check_libs=" -ltermcap " | 14864 xe_check_libs=" -ltermcap " |
14864 cat > conftest.$ac_ext <<EOF | 14865 cat > conftest.$ac_ext <<EOF |
14865 #line 14866 "configure" | 14866 #line 14867 "configure" |
14866 #include "confdefs.h" | 14867 #include "confdefs.h" |
14867 /* Override any gcc2 internal prototype to avoid an error. */ | 14868 /* Override any gcc2 internal prototype to avoid an error. */ |
14868 /* We use char because int might match the return type of a gcc2 | 14869 /* We use char because int might match the return type of a gcc2 |
14869 builtin and then its argument prototype would still apply. */ | 14870 builtin and then its argument prototype would still apply. */ |
14870 char tgetent(); | 14871 char tgetent(); |
14871 | 14872 |
14872 int main() { | 14873 int main() { |
14873 tgetent() | 14874 tgetent() |
14874 ; return 0; } | 14875 ; return 0; } |
14875 EOF | 14876 EOF |
14876 if { (eval echo configure:14877: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14877 if { (eval echo configure:14878: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
14877 rm -rf conftest* | 14878 rm -rf conftest* |
14878 eval "ac_cv_lib_$ac_lib_var=yes" | 14879 eval "ac_cv_lib_$ac_lib_var=yes" |
14879 else | 14880 else |
14880 echo "configure: failed program was:" >&5 | 14881 echo "configure: failed program was:" >&5 |
14881 cat conftest.$ac_ext >&5 | 14882 cat conftest.$ac_ext >&5 |
14919 } | 14920 } |
14920 | 14921 |
14921 | 14922 |
14922 test -z "$with_gpm" && { ac_safe=`echo "gpm.h" | sed 'y%./+-%__p_%'` | 14923 test -z "$with_gpm" && { ac_safe=`echo "gpm.h" | sed 'y%./+-%__p_%'` |
14923 echo $ac_n "checking for gpm.h""... $ac_c" 1>&6 | 14924 echo $ac_n "checking for gpm.h""... $ac_c" 1>&6 |
14924 echo "configure:14925: checking for gpm.h" >&5 | 14925 echo "configure:14926: checking for gpm.h" >&5 |
14925 | 14926 |
14926 cat > conftest.$ac_ext <<EOF | 14927 cat > conftest.$ac_ext <<EOF |
14927 #line 14928 "configure" | 14928 #line 14929 "configure" |
14928 #include "confdefs.h" | 14929 #include "confdefs.h" |
14929 #include <gpm.h> | 14930 #include <gpm.h> |
14930 EOF | 14931 EOF |
14931 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 14932 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
14932 { (eval echo configure:14933: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 14933 { (eval echo configure:14934: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
14933 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 14934 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
14934 if test -z "$ac_err"; then | 14935 if test -z "$ac_err"; then |
14935 rm -rf conftest* | 14936 rm -rf conftest* |
14936 eval "ac_cv_header_$ac_safe=yes" | 14937 eval "ac_cv_header_$ac_safe=yes" |
14937 else | 14938 else |
14950 with_gpm=no | 14951 with_gpm=no |
14951 fi | 14952 fi |
14952 } | 14953 } |
14953 test -z "$with_gpm" && { | 14954 test -z "$with_gpm" && { |
14954 echo $ac_n "checking for Gpm_Open in -lgpm""... $ac_c" 1>&6 | 14955 echo $ac_n "checking for Gpm_Open in -lgpm""... $ac_c" 1>&6 |
14955 echo "configure:14956: checking for Gpm_Open in -lgpm" >&5 | 14956 echo "configure:14957: checking for Gpm_Open in -lgpm" >&5 |
14956 ac_lib_var=`echo gpm'_'Gpm_Open | sed 'y%./+-%__p_%'` | 14957 ac_lib_var=`echo gpm'_'Gpm_Open | sed 'y%./+-%__p_%'` |
14957 | 14958 |
14958 xe_check_libs=" -lgpm " | 14959 xe_check_libs=" -lgpm " |
14959 cat > conftest.$ac_ext <<EOF | 14960 cat > conftest.$ac_ext <<EOF |
14960 #line 14961 "configure" | 14961 #line 14962 "configure" |
14961 #include "confdefs.h" | 14962 #include "confdefs.h" |
14962 /* Override any gcc2 internal prototype to avoid an error. */ | 14963 /* Override any gcc2 internal prototype to avoid an error. */ |
14963 /* We use char because int might match the return type of a gcc2 | 14964 /* We use char because int might match the return type of a gcc2 |
14964 builtin and then its argument prototype would still apply. */ | 14965 builtin and then its argument prototype would still apply. */ |
14965 char Gpm_Open(); | 14966 char Gpm_Open(); |
14966 | 14967 |
14967 int main() { | 14968 int main() { |
14968 Gpm_Open() | 14969 Gpm_Open() |
14969 ; return 0; } | 14970 ; return 0; } |
14970 EOF | 14971 EOF |
14971 if { (eval echo configure:14972: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14972 if { (eval echo configure:14973: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
14972 rm -rf conftest* | 14973 rm -rf conftest* |
14973 eval "ac_cv_lib_$ac_lib_var=yes" | 14974 eval "ac_cv_lib_$ac_lib_var=yes" |
14974 else | 14975 else |
14975 echo "configure: failed program was:" >&5 | 14976 echo "configure: failed program was:" >&5 |
14976 cat conftest.$ac_ext >&5 | 14977 cat conftest.$ac_ext >&5 |
15009 done | 15010 done |
15010 fi | 15011 fi |
15011 | 15012 |
15012 test "$with_database_gdbm $with_database_dbm $with_database_berkdb" \ | 15013 test "$with_database_gdbm $with_database_dbm $with_database_berkdb" \ |
15013 != "no no no" && echo "checking for database support" 1>&6 | 15014 != "no no no" && echo "checking for database support" 1>&6 |
15014 echo "configure:15015: checking for database support" >&5 | 15015 echo "configure:15016: checking for database support" >&5 |
15015 | 15016 |
15016 if test "$with_database_gdbm $with_database_dbm" != "no no"; then | 15017 if test "$with_database_gdbm $with_database_dbm" != "no no"; then |
15017 ac_safe=`echo "ndbm.h" | sed 'y%./+-%__p_%'` | 15018 ac_safe=`echo "ndbm.h" | sed 'y%./+-%__p_%'` |
15018 echo $ac_n "checking for ndbm.h""... $ac_c" 1>&6 | 15019 echo $ac_n "checking for ndbm.h""... $ac_c" 1>&6 |
15019 echo "configure:15020: checking for ndbm.h" >&5 | 15020 echo "configure:15021: checking for ndbm.h" >&5 |
15020 | 15021 |
15021 cat > conftest.$ac_ext <<EOF | 15022 cat > conftest.$ac_ext <<EOF |
15022 #line 15023 "configure" | 15023 #line 15024 "configure" |
15023 #include "confdefs.h" | 15024 #include "confdefs.h" |
15024 #include <ndbm.h> | 15025 #include <ndbm.h> |
15025 EOF | 15026 EOF |
15026 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 15027 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
15027 { (eval echo configure:15028: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 15028 { (eval echo configure:15029: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
15028 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 15029 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
15029 if test -z "$ac_err"; then | 15030 if test -z "$ac_err"; then |
15030 rm -rf conftest* | 15031 rm -rf conftest* |
15031 eval "ac_cv_header_$ac_safe=yes" | 15032 eval "ac_cv_header_$ac_safe=yes" |
15032 else | 15033 else |
15052 fi | 15053 fi |
15053 | 15054 |
15054 if test "$with_database_gdbm" != "no"; then | 15055 if test "$with_database_gdbm" != "no"; then |
15055 | 15056 |
15056 echo $ac_n "checking for dbm_open in -lgdbm""... $ac_c" 1>&6 | 15057 echo $ac_n "checking for dbm_open in -lgdbm""... $ac_c" 1>&6 |
15057 echo "configure:15058: checking for dbm_open in -lgdbm" >&5 | 15058 echo "configure:15059: checking for dbm_open in -lgdbm" >&5 |
15058 ac_lib_var=`echo gdbm'_'dbm_open | sed 'y%./+-%__p_%'` | 15059 ac_lib_var=`echo gdbm'_'dbm_open | sed 'y%./+-%__p_%'` |
15059 | 15060 |
15060 xe_check_libs=" -lgdbm " | 15061 xe_check_libs=" -lgdbm " |
15061 cat > conftest.$ac_ext <<EOF | 15062 cat > conftest.$ac_ext <<EOF |
15062 #line 15063 "configure" | 15063 #line 15064 "configure" |
15063 #include "confdefs.h" | 15064 #include "confdefs.h" |
15064 /* Override any gcc2 internal prototype to avoid an error. */ | 15065 /* Override any gcc2 internal prototype to avoid an error. */ |
15065 /* We use char because int might match the return type of a gcc2 | 15066 /* We use char because int might match the return type of a gcc2 |
15066 builtin and then its argument prototype would still apply. */ | 15067 builtin and then its argument prototype would still apply. */ |
15067 char dbm_open(); | 15068 char dbm_open(); |
15068 | 15069 |
15069 int main() { | 15070 int main() { |
15070 dbm_open() | 15071 dbm_open() |
15071 ; return 0; } | 15072 ; return 0; } |
15072 EOF | 15073 EOF |
15073 if { (eval echo configure:15074: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 15074 if { (eval echo configure:15075: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
15074 rm -rf conftest* | 15075 rm -rf conftest* |
15075 eval "ac_cv_lib_$ac_lib_var=yes" | 15076 eval "ac_cv_lib_$ac_lib_var=yes" |
15076 else | 15077 else |
15077 echo "configure: failed program was:" >&5 | 15078 echo "configure: failed program was:" >&5 |
15078 cat conftest.$ac_ext >&5 | 15079 cat conftest.$ac_ext >&5 |
15096 | 15097 |
15097 fi | 15098 fi |
15098 | 15099 |
15099 if test "$with_database_dbm" != "no"; then | 15100 if test "$with_database_dbm" != "no"; then |
15100 echo $ac_n "checking for dbm_open""... $ac_c" 1>&6 | 15101 echo $ac_n "checking for dbm_open""... $ac_c" 1>&6 |
15101 echo "configure:15102: checking for dbm_open" >&5 | 15102 echo "configure:15103: checking for dbm_open" >&5 |
15102 | 15103 |
15103 cat > conftest.$ac_ext <<EOF | 15104 cat > conftest.$ac_ext <<EOF |
15104 #line 15105 "configure" | 15105 #line 15106 "configure" |
15105 #include "confdefs.h" | 15106 #include "confdefs.h" |
15106 /* System header to define __stub macros and hopefully few prototypes, | 15107 /* System header to define __stub macros and hopefully few prototypes, |
15107 which can conflict with char dbm_open(); below. */ | 15108 which can conflict with char dbm_open(); below. */ |
15108 #include <assert.h> | 15109 #include <assert.h> |
15109 /* Override any gcc2 internal prototype to avoid an error. */ | 15110 /* Override any gcc2 internal prototype to avoid an error. */ |
15122 dbm_open(); | 15123 dbm_open(); |
15123 #endif | 15124 #endif |
15124 | 15125 |
15125 ; return 0; } | 15126 ; return 0; } |
15126 EOF | 15127 EOF |
15127 if { (eval echo configure:15128: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 15128 if { (eval echo configure:15129: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
15128 rm -rf conftest* | 15129 rm -rf conftest* |
15129 eval "ac_cv_func_dbm_open=yes" | 15130 eval "ac_cv_func_dbm_open=yes" |
15130 else | 15131 else |
15131 echo "configure: failed program was:" >&5 | 15132 echo "configure: failed program was:" >&5 |
15132 cat conftest.$ac_ext >&5 | 15133 cat conftest.$ac_ext >&5 |
15141 else | 15142 else |
15142 echo "$ac_t""no" 1>&6 | 15143 echo "$ac_t""no" 1>&6 |
15143 | 15144 |
15144 | 15145 |
15145 echo $ac_n "checking for dbm_open in -ldbm""... $ac_c" 1>&6 | 15146 echo $ac_n "checking for dbm_open in -ldbm""... $ac_c" 1>&6 |
15146 echo "configure:15147: checking for dbm_open in -ldbm" >&5 | 15147 echo "configure:15148: checking for dbm_open in -ldbm" >&5 |
15147 ac_lib_var=`echo dbm'_'dbm_open | sed 'y%./+-%__p_%'` | 15148 ac_lib_var=`echo dbm'_'dbm_open | sed 'y%./+-%__p_%'` |
15148 | 15149 |
15149 xe_check_libs=" -ldbm " | 15150 xe_check_libs=" -ldbm " |
15150 cat > conftest.$ac_ext <<EOF | 15151 cat > conftest.$ac_ext <<EOF |
15151 #line 15152 "configure" | 15152 #line 15153 "configure" |
15152 #include "confdefs.h" | 15153 #include "confdefs.h" |
15153 /* Override any gcc2 internal prototype to avoid an error. */ | 15154 /* Override any gcc2 internal prototype to avoid an error. */ |
15154 /* We use char because int might match the return type of a gcc2 | 15155 /* We use char because int might match the return type of a gcc2 |
15155 builtin and then its argument prototype would still apply. */ | 15156 builtin and then its argument prototype would still apply. */ |
15156 char dbm_open(); | 15157 char dbm_open(); |
15157 | 15158 |
15158 int main() { | 15159 int main() { |
15159 dbm_open() | 15160 dbm_open() |
15160 ; return 0; } | 15161 ; return 0; } |
15161 EOF | 15162 EOF |
15162 if { (eval echo configure:15163: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 15163 if { (eval echo configure:15164: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
15163 rm -rf conftest* | 15164 rm -rf conftest* |
15164 eval "ac_cv_lib_$ac_lib_var=yes" | 15165 eval "ac_cv_lib_$ac_lib_var=yes" |
15165 else | 15166 else |
15166 echo "configure: failed program was:" >&5 | 15167 echo "configure: failed program was:" >&5 |
15167 cat conftest.$ac_ext >&5 | 15168 cat conftest.$ac_ext >&5 |
15198 } | 15199 } |
15199 | 15200 |
15200 | 15201 |
15201 if test "$with_database_berkdb" != "no"; then | 15202 if test "$with_database_berkdb" != "no"; then |
15202 echo $ac_n "checking for Berkeley db.h""... $ac_c" 1>&6 | 15203 echo $ac_n "checking for Berkeley db.h""... $ac_c" 1>&6 |
15203 echo "configure:15204: checking for Berkeley db.h" >&5 | 15204 echo "configure:15205: checking for Berkeley db.h" >&5 |
15204 for header in "db/db.h" "db.h"; do | 15205 for header in "db/db.h" "db.h"; do |
15205 cat > conftest.$ac_ext <<EOF | 15206 cat > conftest.$ac_ext <<EOF |
15206 #line 15207 "configure" | 15207 #line 15208 "configure" |
15207 #include "confdefs.h" | 15208 #include "confdefs.h" |
15208 | 15209 |
15209 #include <stdlib.h> | 15210 #include <stdlib.h> |
15210 #if !(defined __GLIBC__ && __GLIBC_MINOR__ >= 1) | 15211 #if !(defined __GLIBC__ && __GLIBC_MINOR__ >= 1) |
15211 #ifdef HAVE_INTTYPES_H | 15212 #ifdef HAVE_INTTYPES_H |
15223 | 15224 |
15224 int main() { | 15225 int main() { |
15225 | 15226 |
15226 ; return 0; } | 15227 ; return 0; } |
15227 EOF | 15228 EOF |
15228 if { (eval echo configure:15229: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 15229 if { (eval echo configure:15230: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
15229 rm -rf conftest* | 15230 rm -rf conftest* |
15230 db_h_file="$header"; break | 15231 db_h_file="$header"; break |
15231 else | 15232 else |
15232 echo "configure: failed program was:" >&5 | 15233 echo "configure: failed program was:" >&5 |
15233 cat conftest.$ac_ext >&5 | 15234 cat conftest.$ac_ext >&5 |
15239 else echo "$ac_t""$db_h_file" 1>&6 | 15240 else echo "$ac_t""$db_h_file" 1>&6 |
15240 fi | 15241 fi |
15241 | 15242 |
15242 if test "$with_database_berkdb" != "no"; then | 15243 if test "$with_database_berkdb" != "no"; then |
15243 echo $ac_n "checking for Berkeley DB version""... $ac_c" 1>&6 | 15244 echo $ac_n "checking for Berkeley DB version""... $ac_c" 1>&6 |
15244 echo "configure:15245: checking for Berkeley DB version" >&5 | 15245 echo "configure:15246: checking for Berkeley DB version" >&5 |
15245 cat > conftest.$ac_ext <<EOF | 15246 cat > conftest.$ac_ext <<EOF |
15246 #line 15247 "configure" | 15247 #line 15248 "configure" |
15247 #include "confdefs.h" | 15248 #include "confdefs.h" |
15248 #include <$db_h_file> | 15249 #include <$db_h_file> |
15249 #if DB_VERSION_MAJOR > 1 | 15250 #if DB_VERSION_MAJOR > 1 |
15250 yes | 15251 yes |
15251 #endif | 15252 #endif |
15253 EOF | 15254 EOF |
15254 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 15255 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
15255 egrep "yes" >/dev/null 2>&1; then | 15256 egrep "yes" >/dev/null 2>&1; then |
15256 rm -rf conftest* | 15257 rm -rf conftest* |
15257 cat > conftest.$ac_ext <<EOF | 15258 cat > conftest.$ac_ext <<EOF |
15258 #line 15259 "configure" | 15259 #line 15260 "configure" |
15259 #include "confdefs.h" | 15260 #include "confdefs.h" |
15260 #include <$db_h_file> | 15261 #include <$db_h_file> |
15261 #if DB_VERSION_MAJOR > 2 | 15262 #if DB_VERSION_MAJOR > 2 |
15262 yes | 15263 yes |
15263 #endif | 15264 #endif |
15265 EOF | 15266 EOF |
15266 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 15267 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
15267 egrep "yes" >/dev/null 2>&1; then | 15268 egrep "yes" >/dev/null 2>&1; then |
15268 rm -rf conftest* | 15269 rm -rf conftest* |
15269 cat > conftest.$ac_ext <<EOF | 15270 cat > conftest.$ac_ext <<EOF |
15270 #line 15271 "configure" | 15271 #line 15272 "configure" |
15271 #include "confdefs.h" | 15272 #include "confdefs.h" |
15272 #include <$db_h_file> | 15273 #include <$db_h_file> |
15273 #if DB_VERSION_MAJOR > 3 | 15274 #if DB_VERSION_MAJOR > 3 |
15274 yes | 15275 yes |
15275 #endif | 15276 #endif |
15299 echo "$ac_t""1" 1>&6; dbfunc=dbopen; dbver=1 | 15300 echo "$ac_t""1" 1>&6; dbfunc=dbopen; dbver=1 |
15300 fi | 15301 fi |
15301 rm -f conftest* | 15302 rm -f conftest* |
15302 | 15303 |
15303 echo $ac_n "checking for $dbfunc""... $ac_c" 1>&6 | 15304 echo $ac_n "checking for $dbfunc""... $ac_c" 1>&6 |
15304 echo "configure:15305: checking for $dbfunc" >&5 | 15305 echo "configure:15306: checking for $dbfunc" >&5 |
15305 | 15306 |
15306 cat > conftest.$ac_ext <<EOF | 15307 cat > conftest.$ac_ext <<EOF |
15307 #line 15308 "configure" | 15308 #line 15309 "configure" |
15308 #include "confdefs.h" | 15309 #include "confdefs.h" |
15309 /* System header to define __stub macros and hopefully few prototypes, | 15310 /* System header to define __stub macros and hopefully few prototypes, |
15310 which can conflict with char $dbfunc(); below. */ | 15311 which can conflict with char $dbfunc(); below. */ |
15311 #include <assert.h> | 15312 #include <assert.h> |
15312 /* Override any gcc2 internal prototype to avoid an error. */ | 15313 /* Override any gcc2 internal prototype to avoid an error. */ |
15325 $dbfunc(); | 15326 $dbfunc(); |
15326 #endif | 15327 #endif |
15327 | 15328 |
15328 ; return 0; } | 15329 ; return 0; } |
15329 EOF | 15330 EOF |
15330 if { (eval echo configure:15331: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 15331 if { (eval echo configure:15332: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
15331 rm -rf conftest* | 15332 rm -rf conftest* |
15332 eval "ac_cv_func_$dbfunc=yes" | 15333 eval "ac_cv_func_$dbfunc=yes" |
15333 else | 15334 else |
15334 echo "configure: failed program was:" >&5 | 15335 echo "configure: failed program was:" >&5 |
15335 cat conftest.$ac_ext >&5 | 15336 cat conftest.$ac_ext >&5 |
15344 else | 15345 else |
15345 echo "$ac_t""no" 1>&6 | 15346 echo "$ac_t""no" 1>&6 |
15346 | 15347 |
15347 | 15348 |
15348 echo $ac_n "checking for $dbfunc in -ldb""... $ac_c" 1>&6 | 15349 echo $ac_n "checking for $dbfunc in -ldb""... $ac_c" 1>&6 |
15349 echo "configure:15350: checking for $dbfunc in -ldb" >&5 | 15350 echo "configure:15351: checking for $dbfunc in -ldb" >&5 |
15350 ac_lib_var=`echo db'_'$dbfunc | sed 'y%./+-%__p_%'` | 15351 ac_lib_var=`echo db'_'$dbfunc | sed 'y%./+-%__p_%'` |
15351 | 15352 |
15352 xe_check_libs=" -ldb " | 15353 xe_check_libs=" -ldb " |
15353 cat > conftest.$ac_ext <<EOF | 15354 cat > conftest.$ac_ext <<EOF |
15354 #line 15355 "configure" | 15355 #line 15356 "configure" |
15355 #include "confdefs.h" | 15356 #include "confdefs.h" |
15356 /* Override any gcc2 internal prototype to avoid an error. */ | 15357 /* Override any gcc2 internal prototype to avoid an error. */ |
15357 /* We use char because int might match the return type of a gcc2 | 15358 /* We use char because int might match the return type of a gcc2 |
15358 builtin and then its argument prototype would still apply. */ | 15359 builtin and then its argument prototype would still apply. */ |
15359 char $dbfunc(); | 15360 char $dbfunc(); |
15360 | 15361 |
15361 int main() { | 15362 int main() { |
15362 $dbfunc() | 15363 $dbfunc() |
15363 ; return 0; } | 15364 ; return 0; } |
15364 EOF | 15365 EOF |
15365 if { (eval echo configure:15366: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 15366 if { (eval echo configure:15367: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
15366 rm -rf conftest* | 15367 rm -rf conftest* |
15367 eval "ac_cv_lib_$ac_lib_var=yes" | 15368 eval "ac_cv_lib_$ac_lib_var=yes" |
15368 else | 15369 else |
15369 echo "configure: failed program was:" >&5 | 15370 echo "configure: failed program was:" >&5 |
15370 cat conftest.$ac_ext >&5 | 15371 cat conftest.$ac_ext >&5 |
15394 | sed -n -e "s/[ ]*=[ \"]*/='/" -e "s/[ \"]*\$/'/" -e "s/^configure___//p"` | 15395 | sed -n -e "s/[ ]*=[ \"]*/='/" -e "s/[ \"]*\$/'/" -e "s/^configure___//p"` |
15395 rm -f $tempcname | 15396 rm -f $tempcname |
15396 echo "configure: warning: "db_create is really $dbfunc"" 1>&2 | 15397 echo "configure: warning: "db_create is really $dbfunc"" 1>&2 |
15397 | 15398 |
15398 echo $ac_n "checking for $dbfunc in -ldb""... $ac_c" 1>&6 | 15399 echo $ac_n "checking for $dbfunc in -ldb""... $ac_c" 1>&6 |
15399 echo "configure:15400: checking for $dbfunc in -ldb" >&5 | 15400 echo "configure:15401: checking for $dbfunc in -ldb" >&5 |
15400 ac_lib_var=`echo db'_'$dbfunc | sed 'y%./+-%__p_%'` | 15401 ac_lib_var=`echo db'_'$dbfunc | sed 'y%./+-%__p_%'` |
15401 | 15402 |
15402 xe_check_libs=" -ldb " | 15403 xe_check_libs=" -ldb " |
15403 cat > conftest.$ac_ext <<EOF | 15404 cat > conftest.$ac_ext <<EOF |
15404 #line 15405 "configure" | 15405 #line 15406 "configure" |
15405 #include "confdefs.h" | 15406 #include "confdefs.h" |
15406 /* Override any gcc2 internal prototype to avoid an error. */ | 15407 /* Override any gcc2 internal prototype to avoid an error. */ |
15407 /* We use char because int might match the return type of a gcc2 | 15408 /* We use char because int might match the return type of a gcc2 |
15408 builtin and then its argument prototype would still apply. */ | 15409 builtin and then its argument prototype would still apply. */ |
15409 char $dbfunc(); | 15410 char $dbfunc(); |
15410 | 15411 |
15411 int main() { | 15412 int main() { |
15412 $dbfunc() | 15413 $dbfunc() |
15413 ; return 0; } | 15414 ; return 0; } |
15414 EOF | 15415 EOF |
15415 if { (eval echo configure:15416: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 15416 if { (eval echo configure:15417: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
15416 rm -rf conftest* | 15417 rm -rf conftest* |
15417 eval "ac_cv_lib_$ac_lib_var=yes" | 15418 eval "ac_cv_lib_$ac_lib_var=yes" |
15418 else | 15419 else |
15419 echo "configure: failed program was:" >&5 | 15420 echo "configure: failed program was:" >&5 |
15420 cat conftest.$ac_ext >&5 | 15421 cat conftest.$ac_ext >&5 |
15469 fi | 15470 fi |
15470 | 15471 |
15471 if test "$with_socks" = "yes"; then | 15472 if test "$with_socks" = "yes"; then |
15472 | 15473 |
15473 echo $ac_n "checking for SOCKSinit in -lsocks""... $ac_c" 1>&6 | 15474 echo $ac_n "checking for SOCKSinit in -lsocks""... $ac_c" 1>&6 |
15474 echo "configure:15475: checking for SOCKSinit in -lsocks" >&5 | 15475 echo "configure:15476: checking for SOCKSinit in -lsocks" >&5 |
15475 ac_lib_var=`echo socks'_'SOCKSinit | sed 'y%./+-%__p_%'` | 15476 ac_lib_var=`echo socks'_'SOCKSinit | sed 'y%./+-%__p_%'` |
15476 | 15477 |
15477 xe_check_libs=" -lsocks " | 15478 xe_check_libs=" -lsocks " |
15478 cat > conftest.$ac_ext <<EOF | 15479 cat > conftest.$ac_ext <<EOF |
15479 #line 15480 "configure" | 15480 #line 15481 "configure" |
15480 #include "confdefs.h" | 15481 #include "confdefs.h" |
15481 /* Override any gcc2 internal prototype to avoid an error. */ | 15482 /* Override any gcc2 internal prototype to avoid an error. */ |
15482 /* We use char because int might match the return type of a gcc2 | 15483 /* We use char because int might match the return type of a gcc2 |
15483 builtin and then its argument prototype would still apply. */ | 15484 builtin and then its argument prototype would still apply. */ |
15484 char SOCKSinit(); | 15485 char SOCKSinit(); |
15485 | 15486 |
15486 int main() { | 15487 int main() { |
15487 SOCKSinit() | 15488 SOCKSinit() |
15488 ; return 0; } | 15489 ; return 0; } |
15489 EOF | 15490 EOF |
15490 if { (eval echo configure:15491: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 15491 if { (eval echo configure:15492: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
15491 rm -rf conftest* | 15492 rm -rf conftest* |
15492 eval "ac_cv_lib_$ac_lib_var=yes" | 15493 eval "ac_cv_lib_$ac_lib_var=yes" |
15493 else | 15494 else |
15494 echo "configure: failed program was:" >&5 | 15495 echo "configure: failed program was:" >&5 |
15495 cat conftest.$ac_ext >&5 | 15496 cat conftest.$ac_ext >&5 |
15541 fi | 15542 fi |
15542 | 15543 |
15543 if test "$use_number_lib" = "gmp"; then | 15544 if test "$use_number_lib" = "gmp"; then |
15544 ac_safe=`echo "gmp.h" | sed 'y%./+-%__p_%'` | 15545 ac_safe=`echo "gmp.h" | sed 'y%./+-%__p_%'` |
15545 echo $ac_n "checking for gmp.h""... $ac_c" 1>&6 | 15546 echo $ac_n "checking for gmp.h""... $ac_c" 1>&6 |
15546 echo "configure:15547: checking for gmp.h" >&5 | 15547 echo "configure:15548: checking for gmp.h" >&5 |
15547 | 15548 |
15548 cat > conftest.$ac_ext <<EOF | 15549 cat > conftest.$ac_ext <<EOF |
15549 #line 15550 "configure" | 15550 #line 15551 "configure" |
15550 #include "confdefs.h" | 15551 #include "confdefs.h" |
15551 #include <gmp.h> | 15552 #include <gmp.h> |
15552 EOF | 15553 EOF |
15553 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 15554 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
15554 { (eval echo configure:15555: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 15555 { (eval echo configure:15556: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
15555 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 15556 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
15556 if test -z "$ac_err"; then | 15557 if test -z "$ac_err"; then |
15557 rm -rf conftest* | 15558 rm -rf conftest* |
15558 eval "ac_cv_header_$ac_safe=yes" | 15559 eval "ac_cv_header_$ac_safe=yes" |
15559 else | 15560 else |
15567 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 15568 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
15568 echo "$ac_t""yes" 1>&6 | 15569 echo "$ac_t""yes" 1>&6 |
15569 | 15570 |
15570 | 15571 |
15571 echo $ac_n "checking for __gmpz_init in -lgmp""... $ac_c" 1>&6 | 15572 echo $ac_n "checking for __gmpz_init in -lgmp""... $ac_c" 1>&6 |
15572 echo "configure:15573: checking for __gmpz_init in -lgmp" >&5 | 15573 echo "configure:15574: checking for __gmpz_init in -lgmp" >&5 |
15573 ac_lib_var=`echo gmp'_'__gmpz_init | sed 'y%./+-%__p_%'` | 15574 ac_lib_var=`echo gmp'_'__gmpz_init | sed 'y%./+-%__p_%'` |
15574 | 15575 |
15575 xe_check_libs=" -lgmp " | 15576 xe_check_libs=" -lgmp " |
15576 cat > conftest.$ac_ext <<EOF | 15577 cat > conftest.$ac_ext <<EOF |
15577 #line 15578 "configure" | 15578 #line 15579 "configure" |
15578 #include "confdefs.h" | 15579 #include "confdefs.h" |
15579 /* Override any gcc2 internal prototype to avoid an error. */ | 15580 /* Override any gcc2 internal prototype to avoid an error. */ |
15580 /* We use char because int might match the return type of a gcc2 | 15581 /* We use char because int might match the return type of a gcc2 |
15581 builtin and then its argument prototype would still apply. */ | 15582 builtin and then its argument prototype would still apply. */ |
15582 char __gmpz_init(); | 15583 char __gmpz_init(); |
15583 | 15584 |
15584 int main() { | 15585 int main() { |
15585 __gmpz_init() | 15586 __gmpz_init() |
15586 ; return 0; } | 15587 ; return 0; } |
15587 EOF | 15588 EOF |
15588 if { (eval echo configure:15589: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 15589 if { (eval echo configure:15590: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
15589 rm -rf conftest* | 15590 rm -rf conftest* |
15590 eval "ac_cv_lib_$ac_lib_var=yes" | 15591 eval "ac_cv_lib_$ac_lib_var=yes" |
15591 else | 15592 else |
15592 echo "configure: failed program was:" >&5 | 15593 echo "configure: failed program was:" >&5 |
15593 cat conftest.$ac_ext >&5 | 15594 cat conftest.$ac_ext >&5 |
15631 { echo "Error:" "Required GMP numeric support cannot be provided." >&2; exit 1; } | 15632 { echo "Error:" "Required GMP numeric support cannot be provided." >&2; exit 1; } |
15632 fi | 15633 fi |
15633 elif test "$use_number_lib" = "mp"; then | 15634 elif test "$use_number_lib" = "mp"; then |
15634 ac_safe=`echo "mp.h" | sed 'y%./+-%__p_%'` | 15635 ac_safe=`echo "mp.h" | sed 'y%./+-%__p_%'` |
15635 echo $ac_n "checking for mp.h""... $ac_c" 1>&6 | 15636 echo $ac_n "checking for mp.h""... $ac_c" 1>&6 |
15636 echo "configure:15637: checking for mp.h" >&5 | 15637 echo "configure:15638: checking for mp.h" >&5 |
15637 | 15638 |
15638 cat > conftest.$ac_ext <<EOF | 15639 cat > conftest.$ac_ext <<EOF |
15639 #line 15640 "configure" | 15640 #line 15641 "configure" |
15640 #include "confdefs.h" | 15641 #include "confdefs.h" |
15641 #include <mp.h> | 15642 #include <mp.h> |
15642 EOF | 15643 EOF |
15643 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 15644 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
15644 { (eval echo configure:15645: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 15645 { (eval echo configure:15646: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
15645 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 15646 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
15646 if test -z "$ac_err"; then | 15647 if test -z "$ac_err"; then |
15647 rm -rf conftest* | 15648 rm -rf conftest* |
15648 eval "ac_cv_header_$ac_safe=yes" | 15649 eval "ac_cv_header_$ac_safe=yes" |
15649 else | 15650 else |
15657 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 15658 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
15658 echo "$ac_t""yes" 1>&6 | 15659 echo "$ac_t""yes" 1>&6 |
15659 | 15660 |
15660 | 15661 |
15661 echo $ac_n "checking for mp_mfree in -lmp""... $ac_c" 1>&6 | 15662 echo $ac_n "checking for mp_mfree in -lmp""... $ac_c" 1>&6 |
15662 echo "configure:15663: checking for mp_mfree in -lmp" >&5 | 15663 echo "configure:15664: checking for mp_mfree in -lmp" >&5 |
15663 ac_lib_var=`echo mp'_'mp_mfree | sed 'y%./+-%__p_%'` | 15664 ac_lib_var=`echo mp'_'mp_mfree | sed 'y%./+-%__p_%'` |
15664 | 15665 |
15665 xe_check_libs=" -lmp " | 15666 xe_check_libs=" -lmp " |
15666 cat > conftest.$ac_ext <<EOF | 15667 cat > conftest.$ac_ext <<EOF |
15667 #line 15668 "configure" | 15668 #line 15669 "configure" |
15668 #include "confdefs.h" | 15669 #include "confdefs.h" |
15669 /* Override any gcc2 internal prototype to avoid an error. */ | 15670 /* Override any gcc2 internal prototype to avoid an error. */ |
15670 /* We use char because int might match the return type of a gcc2 | 15671 /* We use char because int might match the return type of a gcc2 |
15671 builtin and then its argument prototype would still apply. */ | 15672 builtin and then its argument prototype would still apply. */ |
15672 char mp_mfree(); | 15673 char mp_mfree(); |
15673 | 15674 |
15674 int main() { | 15675 int main() { |
15675 mp_mfree() | 15676 mp_mfree() |
15676 ; return 0; } | 15677 ; return 0; } |
15677 EOF | 15678 EOF |
15678 if { (eval echo configure:15679: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 15679 if { (eval echo configure:15680: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
15679 rm -rf conftest* | 15680 rm -rf conftest* |
15680 eval "ac_cv_lib_$ac_lib_var=yes" | 15681 eval "ac_cv_lib_$ac_lib_var=yes" |
15681 else | 15682 else |
15682 echo "configure: failed program was:" >&5 | 15683 echo "configure: failed program was:" >&5 |
15683 cat conftest.$ac_ext >&5 | 15684 cat conftest.$ac_ext >&5 |
15692 have_mp_mfree=yes | 15693 have_mp_mfree=yes |
15693 else | 15694 else |
15694 echo "$ac_t""no" 1>&6 | 15695 echo "$ac_t""no" 1>&6 |
15695 | 15696 |
15696 echo $ac_n "checking for mfree in -lmp""... $ac_c" 1>&6 | 15697 echo $ac_n "checking for mfree in -lmp""... $ac_c" 1>&6 |
15697 echo "configure:15698: checking for mfree in -lmp" >&5 | 15698 echo "configure:15699: checking for mfree in -lmp" >&5 |
15698 ac_lib_var=`echo mp'_'mfree | sed 'y%./+-%__p_%'` | 15699 ac_lib_var=`echo mp'_'mfree | sed 'y%./+-%__p_%'` |
15699 | 15700 |
15700 xe_check_libs=" -lmp " | 15701 xe_check_libs=" -lmp " |
15701 cat > conftest.$ac_ext <<EOF | 15702 cat > conftest.$ac_ext <<EOF |
15702 #line 15703 "configure" | 15703 #line 15704 "configure" |
15703 #include "confdefs.h" | 15704 #include "confdefs.h" |
15704 /* Override any gcc2 internal prototype to avoid an error. */ | 15705 /* Override any gcc2 internal prototype to avoid an error. */ |
15705 /* We use char because int might match the return type of a gcc2 | 15706 /* We use char because int might match the return type of a gcc2 |
15706 builtin and then its argument prototype would still apply. */ | 15707 builtin and then its argument prototype would still apply. */ |
15707 char mfree(); | 15708 char mfree(); |
15708 | 15709 |
15709 int main() { | 15710 int main() { |
15710 mfree() | 15711 mfree() |
15711 ; return 0; } | 15712 ; return 0; } |
15712 EOF | 15713 EOF |
15713 if { (eval echo configure:15714: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 15714 if { (eval echo configure:15715: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
15714 rm -rf conftest* | 15715 rm -rf conftest* |
15715 eval "ac_cv_lib_$ac_lib_var=yes" | 15716 eval "ac_cv_lib_$ac_lib_var=yes" |
15716 else | 15717 else |
15717 echo "configure: failed program was:" >&5 | 15718 echo "configure: failed program was:" >&5 |
15718 cat conftest.$ac_ext >&5 | 15719 cat conftest.$ac_ext >&5 |
15746 EOF | 15747 EOF |
15747 } | 15748 } |
15748 | 15749 |
15749 LIBS="-lmp $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lmp\" to \$LIBS"; fi | 15750 LIBS="-lmp $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lmp\" to \$LIBS"; fi |
15750 echo $ac_n "checking for mp_move""... $ac_c" 1>&6 | 15751 echo $ac_n "checking for mp_move""... $ac_c" 1>&6 |
15751 echo "configure:15752: checking for mp_move" >&5 | 15752 echo "configure:15753: checking for mp_move" >&5 |
15752 | 15753 |
15753 cat > conftest.$ac_ext <<EOF | 15754 cat > conftest.$ac_ext <<EOF |
15754 #line 15755 "configure" | 15755 #line 15756 "configure" |
15755 #include "confdefs.h" | 15756 #include "confdefs.h" |
15756 /* System header to define __stub macros and hopefully few prototypes, | 15757 /* System header to define __stub macros and hopefully few prototypes, |
15757 which can conflict with char mp_move(); below. */ | 15758 which can conflict with char mp_move(); below. */ |
15758 #include <assert.h> | 15759 #include <assert.h> |
15759 /* Override any gcc2 internal prototype to avoid an error. */ | 15760 /* Override any gcc2 internal prototype to avoid an error. */ |
15772 mp_move(); | 15773 mp_move(); |
15773 #endif | 15774 #endif |
15774 | 15775 |
15775 ; return 0; } | 15776 ; return 0; } |
15776 EOF | 15777 EOF |
15777 if { (eval echo configure:15778: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 15778 if { (eval echo configure:15779: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
15778 rm -rf conftest* | 15779 rm -rf conftest* |
15779 eval "ac_cv_func_mp_move=yes" | 15780 eval "ac_cv_func_mp_move=yes" |
15780 else | 15781 else |
15781 echo "configure: failed program was:" >&5 | 15782 echo "configure: failed program was:" >&5 |
15782 cat conftest.$ac_ext >&5 | 15783 cat conftest.$ac_ext >&5 |
15800 fi | 15801 fi |
15801 | 15802 |
15802 elif test "$have_mfree" = "yes"; then | 15803 elif test "$have_mfree" = "yes"; then |
15803 LIBS="-lmp $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lmp\" to \$LIBS"; fi | 15804 LIBS="-lmp $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lmp\" to \$LIBS"; fi |
15804 echo $ac_n "checking for move""... $ac_c" 1>&6 | 15805 echo $ac_n "checking for move""... $ac_c" 1>&6 |
15805 echo "configure:15806: checking for move" >&5 | 15806 echo "configure:15807: checking for move" >&5 |
15806 | 15807 |
15807 cat > conftest.$ac_ext <<EOF | 15808 cat > conftest.$ac_ext <<EOF |
15808 #line 15809 "configure" | 15809 #line 15810 "configure" |
15809 #include "confdefs.h" | 15810 #include "confdefs.h" |
15810 /* System header to define __stub macros and hopefully few prototypes, | 15811 /* System header to define __stub macros and hopefully few prototypes, |
15811 which can conflict with char move(); below. */ | 15812 which can conflict with char move(); below. */ |
15812 #include <assert.h> | 15813 #include <assert.h> |
15813 /* Override any gcc2 internal prototype to avoid an error. */ | 15814 /* Override any gcc2 internal prototype to avoid an error. */ |
15826 move(); | 15827 move(); |
15827 #endif | 15828 #endif |
15828 | 15829 |
15829 ; return 0; } | 15830 ; return 0; } |
15830 EOF | 15831 EOF |
15831 if { (eval echo configure:15832: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 15832 if { (eval echo configure:15833: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
15832 rm -rf conftest* | 15833 rm -rf conftest* |
15833 eval "ac_cv_func_move=yes" | 15834 eval "ac_cv_func_move=yes" |
15834 else | 15835 else |
15835 echo "configure: failed program was:" >&5 | 15836 echo "configure: failed program was:" >&5 |
15836 cat conftest.$ac_ext >&5 | 15837 cat conftest.$ac_ext >&5 |
15873 } | 15874 } |
15874 | 15875 |
15875 fi | 15876 fi |
15876 | 15877 |
15877 cat > conftest.$ac_ext <<EOF | 15878 cat > conftest.$ac_ext <<EOF |
15878 #line 15879 "configure" | 15879 #line 15880 "configure" |
15879 #include "confdefs.h" | 15880 #include "confdefs.h" |
15880 int main(int c,char *v[]){return 0;} | 15881 int main(int c,char *v[]){return 0;} |
15881 EOF | 15882 EOF |
15882 if { (eval echo configure:15883: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 15883 if { (eval echo configure:15884: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
15883 then | 15884 then |
15884 : | 15885 : |
15885 else | 15886 else |
15886 conftest_rc="$?" | 15887 conftest_rc="$?" |
15887 echo "configure: failed program was:" >&5 | 15888 echo "configure: failed program was:" >&5 |
17191 s/\"[ ]*$// | 17192 s/\"[ ]*$// |
17192 }' > Makefile.new | 17193 }' > Makefile.new |
17193 chmod 444 Makefile.new | 17194 chmod 444 Makefile.new |
17194 mv -f Makefile.new GNUmakefile | 17195 mv -f Makefile.new GNUmakefile |
17195 | 17196 |
17196 if test -e "xemacs.def.in"; then | 17197 if test -r "xemacs.def.in"; then |
17197 cp -f xemacs.def.in junk.c | 17198 cp -f xemacs.def.in junk.c |
17198 echo creating $dir/xemacs.def | 17199 echo creating $dir/xemacs.def |
17199 $CPP -I. -I${top_srcdir}/src junk.c \ | 17200 $CPP -I. -I${top_srcdir}/src junk.c \ |
17200 | sed -e 's/^\#.*//' \ | 17201 | sed -e 's/^\#.*//' \ |
17201 -e 's/^[ ][ ]*$//'\ | 17202 -e 's/^[ ][ ]*$//'\ |