Mercurial > hg > xemacs-beta
comparison configure @ 1385:cb7e08ff87e8
[xemacs-hg @ 2003-03-26 05:28:43 by youngs]
Regenerated
author | youngs |
---|---|
date | Wed, 26 Mar 2003 05:28:43 +0000 |
parents | 2e6e691f6649 |
children | 5d62849e7275 |
comparison
equal
deleted
inserted
replaced
1384:72bc4b7c2480 | 1385:cb7e08ff87e8 |
---|---|
863 echo " Use \`$progname --help' to show usage.") >&2 && exit 1 | 863 echo " Use \`$progname --help' to show usage.") >&2 && exit 1 |
864 fi | 864 fi |
865 fi | 865 fi |
866 | 866 |
867 echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6 | 867 echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6 |
868 echo "configure:870: checking whether ln -s works" >&5 | 868 echo "configure:869: checking whether ln -s works" >&5 |
869 | 869 |
870 rm -f conftestdata | 870 rm -f conftestdata |
871 if ln -s X conftestdata 2>/dev/null | 871 if ln -s X conftestdata 2>/dev/null |
872 then | 872 then |
873 rm -f conftestdata | 873 rm -f conftestdata |
1149 } | 1149 } |
1150 | 1150 |
1151 | 1151 |
1152 | 1152 |
1153 echo $ac_n "checking "host system type"""... $ac_c" 1>&6 | 1153 echo $ac_n "checking "host system type"""... $ac_c" 1>&6 |
1154 echo "configure:1156: checking "host system type"" >&5 | 1154 echo "configure:1155: checking "host system type"" >&5 |
1155 internal_configuration=`echo $configuration | sed 's/-\(workshop\)//'` | 1155 internal_configuration=`echo $configuration | sed 's/-\(workshop\)//'` |
1156 canonical=`${CONFIG_SHELL-/bin/sh} $srcdir/config.sub "$internal_configuration"` | 1156 canonical=`${CONFIG_SHELL-/bin/sh} $srcdir/config.sub "$internal_configuration"` |
1157 configuration=`echo "$configuration" | sed 's/^\([^-][^-]*-[^-][^-]*-[^-][^-]*\)-.*$/\1/'` | 1157 configuration=`echo "$configuration" | sed 's/^\([^-][^-]*-[^-][^-]*-[^-][^-]*\)-.*$/\1/'` |
1158 canonical=`echo "$canonical" | sed 's/^\([^-][^-]*-[^-][^-]*-[^-][^-]*\)-.*$/\1/'` | 1158 canonical=`echo "$canonical" | sed 's/^\([^-][^-]*-[^-][^-]*-[^-][^-]*\)-.*$/\1/'` |
1159 echo "$ac_t""$configuration" 1>&6 | 1159 echo "$ac_t""$configuration" 1>&6 |
1681 xe_save_CFLAGS="$CFLAGS" | 1681 xe_save_CFLAGS="$CFLAGS" |
1682 | 1682 |
1683 # Extract the first word of "gcc", so it can be a program name with args. | 1683 # Extract the first word of "gcc", so it can be a program name with args. |
1684 set dummy gcc; ac_word=$2 | 1684 set dummy gcc; ac_word=$2 |
1685 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 1685 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
1686 echo "configure:1688: checking for $ac_word" >&5 | 1686 echo "configure:1687: checking for $ac_word" >&5 |
1687 | 1687 |
1688 if test -n "$CC"; then | 1688 if test -n "$CC"; then |
1689 ac_cv_prog_CC="$CC" # Let the user override the test. | 1689 ac_cv_prog_CC="$CC" # Let the user override the test. |
1690 else | 1690 else |
1691 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | 1691 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
1708 | 1708 |
1709 if test -z "$CC"; then | 1709 if test -z "$CC"; then |
1710 # Extract the first word of "cc", so it can be a program name with args. | 1710 # Extract the first word of "cc", so it can be a program name with args. |
1711 set dummy cc; ac_word=$2 | 1711 set dummy cc; ac_word=$2 |
1712 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 1712 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
1713 echo "configure:1715: checking for $ac_word" >&5 | 1713 echo "configure:1714: checking for $ac_word" >&5 |
1714 | 1714 |
1715 if test -n "$CC"; then | 1715 if test -n "$CC"; then |
1716 ac_cv_prog_CC="$CC" # Let the user override the test. | 1716 ac_cv_prog_CC="$CC" # Let the user override the test. |
1717 else | 1717 else |
1718 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | 1718 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
1756 case "`uname -s`" in | 1756 case "`uname -s`" in |
1757 *win32* | *WIN32*) | 1757 *win32* | *WIN32*) |
1758 # Extract the first word of "cl", so it can be a program name with args. | 1758 # Extract the first word of "cl", so it can be a program name with args. |
1759 set dummy cl; ac_word=$2 | 1759 set dummy cl; ac_word=$2 |
1760 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 1760 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
1761 echo "configure:1763: checking for $ac_word" >&5 | 1761 echo "configure:1762: checking for $ac_word" >&5 |
1762 | 1762 |
1763 if test -n "$CC"; then | 1763 if test -n "$CC"; then |
1764 ac_cv_prog_CC="$CC" # Let the user override the test. | 1764 ac_cv_prog_CC="$CC" # Let the user override the test. |
1765 else | 1765 else |
1766 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | 1766 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
1785 fi | 1785 fi |
1786 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } | 1786 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } |
1787 fi | 1787 fi |
1788 | 1788 |
1789 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 | 1789 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 |
1790 echo "configure:1792: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 | 1790 echo "configure:1791: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 |
1791 | 1791 |
1792 ac_ext=c | 1792 ac_ext=c |
1793 xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS' | 1793 xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS' |
1794 xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_switch_x_site $ld_switch_run' | 1794 xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_switch_x_site $ld_switch_run' |
1795 xe_libs='$ld_call_shared $xe_check_libs $X_EXTRA_LIBS $libs_x $libs_gtk $X_PRE_LIBS $LIBS $libs_machine $libs_system $libs_standard' | 1795 xe_libs='$ld_call_shared $xe_check_libs $X_EXTRA_LIBS $libs_x $libs_gtk $X_PRE_LIBS $LIBS $libs_machine $libs_system $libs_standard' |
1798 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' | 1798 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' |
1799 cross_compiling=no | 1799 cross_compiling=no |
1800 | 1800 |
1801 cat > conftest.$ac_ext << EOF | 1801 cat > conftest.$ac_ext << EOF |
1802 | 1802 |
1803 #line 1805 "configure" | 1803 #line 1804 "configure" |
1804 #include "confdefs.h" | 1804 #include "confdefs.h" |
1805 | 1805 |
1806 main(){return(0);} | 1806 main(){return(0);} |
1807 EOF | 1807 EOF |
1808 if { (eval echo configure:1810: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 1808 if { (eval echo configure:1809: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
1809 ac_cv_prog_cc_works=yes | 1809 ac_cv_prog_cc_works=yes |
1810 # If we can't run a trivial program, we are probably using a cross compiler. | 1810 # If we can't run a trivial program, we are probably using a cross compiler. |
1811 if (./conftest; exit) 2>/dev/null; then | 1811 if (./conftest; exit) 2>/dev/null; then |
1812 ac_cv_prog_cc_cross=no | 1812 ac_cv_prog_cc_cross=no |
1813 else | 1813 else |
1831 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 | 1831 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 |
1832 if test $ac_cv_prog_cc_works = no; then | 1832 if test $ac_cv_prog_cc_works = no; then |
1833 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } | 1833 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } |
1834 fi | 1834 fi |
1835 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 | 1835 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 |
1836 echo "configure:1838: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 | 1836 echo "configure:1837: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 |
1837 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 | 1837 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 |
1838 cross_compiling=$ac_cv_prog_cc_cross | 1838 cross_compiling=$ac_cv_prog_cc_cross |
1839 | 1839 |
1840 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 | 1840 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 |
1841 echo "configure:1843: checking whether we are using GNU C" >&5 | 1841 echo "configure:1842: checking whether we are using GNU C" >&5 |
1842 | 1842 |
1843 cat > conftest.c <<EOF | 1843 cat > conftest.c <<EOF |
1844 #ifdef __GNUC__ | 1844 #ifdef __GNUC__ |
1845 yes; | 1845 yes; |
1846 #endif | 1846 #endif |
1847 EOF | 1847 EOF |
1848 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1850: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then | 1848 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1849: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then |
1849 ac_cv_prog_gcc=yes | 1849 ac_cv_prog_gcc=yes |
1850 else | 1850 else |
1851 ac_cv_prog_gcc=no | 1851 ac_cv_prog_gcc=no |
1852 fi | 1852 fi |
1853 | 1853 |
1861 | 1861 |
1862 ac_test_CFLAGS="${CFLAGS+set}" | 1862 ac_test_CFLAGS="${CFLAGS+set}" |
1863 ac_save_CFLAGS="$CFLAGS" | 1863 ac_save_CFLAGS="$CFLAGS" |
1864 CFLAGS= | 1864 CFLAGS= |
1865 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 | 1865 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 |
1866 echo "configure:1868: checking whether ${CC-cc} accepts -g" >&5 | 1866 echo "configure:1867: checking whether ${CC-cc} accepts -g" >&5 |
1867 | 1867 |
1868 echo 'void f(){}' > conftest.c | 1868 echo 'void f(){}' > conftest.c |
1869 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then | 1869 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then |
1870 ac_cv_prog_cc_g=yes | 1870 ac_cv_prog_cc_g=yes |
1871 else | 1871 else |
1894 if test "$with_gcc" = "no" -a "$GCC" = "yes"; then | 1894 if test "$with_gcc" = "no" -a "$GCC" = "yes"; then |
1895 CC=${NON_GNU_CC-cc} | 1895 CC=${NON_GNU_CC-cc} |
1896 # Extract the first word of "gcc", so it can be a program name with args. | 1896 # Extract the first word of "gcc", so it can be a program name with args. |
1897 set dummy gcc; ac_word=$2 | 1897 set dummy gcc; ac_word=$2 |
1898 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 1898 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
1899 echo "configure:1901: checking for $ac_word" >&5 | 1899 echo "configure:1900: checking for $ac_word" >&5 |
1900 | 1900 |
1901 if test -n "$CC"; then | 1901 if test -n "$CC"; then |
1902 ac_cv_prog_CC="$CC" # Let the user override the test. | 1902 ac_cv_prog_CC="$CC" # Let the user override the test. |
1903 else | 1903 else |
1904 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | 1904 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
1921 | 1921 |
1922 if test -z "$CC"; then | 1922 if test -z "$CC"; then |
1923 # Extract the first word of "cc", so it can be a program name with args. | 1923 # Extract the first word of "cc", so it can be a program name with args. |
1924 set dummy cc; ac_word=$2 | 1924 set dummy cc; ac_word=$2 |
1925 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 1925 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
1926 echo "configure:1928: checking for $ac_word" >&5 | 1926 echo "configure:1927: checking for $ac_word" >&5 |
1927 | 1927 |
1928 if test -n "$CC"; then | 1928 if test -n "$CC"; then |
1929 ac_cv_prog_CC="$CC" # Let the user override the test. | 1929 ac_cv_prog_CC="$CC" # Let the user override the test. |
1930 else | 1930 else |
1931 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | 1931 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
1969 case "`uname -s`" in | 1969 case "`uname -s`" in |
1970 *win32* | *WIN32*) | 1970 *win32* | *WIN32*) |
1971 # Extract the first word of "cl", so it can be a program name with args. | 1971 # Extract the first word of "cl", so it can be a program name with args. |
1972 set dummy cl; ac_word=$2 | 1972 set dummy cl; ac_word=$2 |
1973 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 1973 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
1974 echo "configure:1976: checking for $ac_word" >&5 | 1974 echo "configure:1975: checking for $ac_word" >&5 |
1975 | 1975 |
1976 if test -n "$CC"; then | 1976 if test -n "$CC"; then |
1977 ac_cv_prog_CC="$CC" # Let the user override the test. | 1977 ac_cv_prog_CC="$CC" # Let the user override the test. |
1978 else | 1978 else |
1979 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | 1979 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
1998 fi | 1998 fi |
1999 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } | 1999 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } |
2000 fi | 2000 fi |
2001 | 2001 |
2002 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 | 2002 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 |
2003 echo "configure:2005: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 | 2003 echo "configure:2004: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 |
2004 | 2004 |
2005 ac_ext=c | 2005 ac_ext=c |
2006 xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS' | 2006 xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS' |
2007 xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_switch_x_site $ld_switch_run' | 2007 xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_switch_x_site $ld_switch_run' |
2008 xe_libs='$ld_call_shared $xe_check_libs $X_EXTRA_LIBS $libs_x $libs_gtk $X_PRE_LIBS $LIBS $libs_machine $libs_system $libs_standard' | 2008 xe_libs='$ld_call_shared $xe_check_libs $X_EXTRA_LIBS $libs_x $libs_gtk $X_PRE_LIBS $LIBS $libs_machine $libs_system $libs_standard' |
2011 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' | 2011 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' |
2012 cross_compiling=no | 2012 cross_compiling=no |
2013 | 2013 |
2014 cat > conftest.$ac_ext << EOF | 2014 cat > conftest.$ac_ext << EOF |
2015 | 2015 |
2016 #line 2018 "configure" | 2016 #line 2017 "configure" |
2017 #include "confdefs.h" | 2017 #include "confdefs.h" |
2018 | 2018 |
2019 main(){return(0);} | 2019 main(){return(0);} |
2020 EOF | 2020 EOF |
2021 if { (eval echo configure:2023: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 2021 if { (eval echo configure:2022: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
2022 ac_cv_prog_cc_works=yes | 2022 ac_cv_prog_cc_works=yes |
2023 # If we can't run a trivial program, we are probably using a cross compiler. | 2023 # If we can't run a trivial program, we are probably using a cross compiler. |
2024 if (./conftest; exit) 2>/dev/null; then | 2024 if (./conftest; exit) 2>/dev/null; then |
2025 ac_cv_prog_cc_cross=no | 2025 ac_cv_prog_cc_cross=no |
2026 else | 2026 else |
2044 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 | 2044 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 |
2045 if test $ac_cv_prog_cc_works = no; then | 2045 if test $ac_cv_prog_cc_works = no; then |
2046 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } | 2046 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } |
2047 fi | 2047 fi |
2048 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 | 2048 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 |
2049 echo "configure:2051: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 | 2049 echo "configure:2050: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 |
2050 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 | 2050 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 |
2051 cross_compiling=$ac_cv_prog_cc_cross | 2051 cross_compiling=$ac_cv_prog_cc_cross |
2052 | 2052 |
2053 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 | 2053 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 |
2054 echo "configure:2056: checking whether we are using GNU C" >&5 | 2054 echo "configure:2055: checking whether we are using GNU C" >&5 |
2055 | 2055 |
2056 cat > conftest.c <<EOF | 2056 cat > conftest.c <<EOF |
2057 #ifdef __GNUC__ | 2057 #ifdef __GNUC__ |
2058 yes; | 2058 yes; |
2059 #endif | 2059 #endif |
2060 EOF | 2060 EOF |
2061 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:2063: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then | 2061 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:2062: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then |
2062 ac_cv_prog_gcc=yes | 2062 ac_cv_prog_gcc=yes |
2063 else | 2063 else |
2064 ac_cv_prog_gcc=no | 2064 ac_cv_prog_gcc=no |
2065 fi | 2065 fi |
2066 | 2066 |
2074 | 2074 |
2075 ac_test_CFLAGS="${CFLAGS+set}" | 2075 ac_test_CFLAGS="${CFLAGS+set}" |
2076 ac_save_CFLAGS="$CFLAGS" | 2076 ac_save_CFLAGS="$CFLAGS" |
2077 CFLAGS= | 2077 CFLAGS= |
2078 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 | 2078 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 |
2079 echo "configure:2081: checking whether ${CC-cc} accepts -g" >&5 | 2079 echo "configure:2080: checking whether ${CC-cc} accepts -g" >&5 |
2080 | 2080 |
2081 echo 'void f(){}' > conftest.c | 2081 echo 'void f(){}' > conftest.c |
2082 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then | 2082 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then |
2083 ac_cv_prog_cc_g=yes | 2083 ac_cv_prog_cc_g=yes |
2084 else | 2084 else |
2107 elif test "$with_gcc" = "yes" -a "$GCC" != "yes" ; then | 2107 elif test "$with_gcc" = "yes" -a "$GCC" != "yes" ; then |
2108 CC=gcc | 2108 CC=gcc |
2109 # Extract the first word of "gcc", so it can be a program name with args. | 2109 # Extract the first word of "gcc", so it can be a program name with args. |
2110 set dummy gcc; ac_word=$2 | 2110 set dummy gcc; ac_word=$2 |
2111 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 2111 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
2112 echo "configure:2114: checking for $ac_word" >&5 | 2112 echo "configure:2113: checking for $ac_word" >&5 |
2113 | 2113 |
2114 if test -n "$CC"; then | 2114 if test -n "$CC"; then |
2115 ac_cv_prog_CC="$CC" # Let the user override the test. | 2115 ac_cv_prog_CC="$CC" # Let the user override the test. |
2116 else | 2116 else |
2117 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | 2117 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
2134 | 2134 |
2135 if test -z "$CC"; then | 2135 if test -z "$CC"; then |
2136 # Extract the first word of "cc", so it can be a program name with args. | 2136 # Extract the first word of "cc", so it can be a program name with args. |
2137 set dummy cc; ac_word=$2 | 2137 set dummy cc; ac_word=$2 |
2138 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 2138 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
2139 echo "configure:2141: checking for $ac_word" >&5 | 2139 echo "configure:2140: checking for $ac_word" >&5 |
2140 | 2140 |
2141 if test -n "$CC"; then | 2141 if test -n "$CC"; then |
2142 ac_cv_prog_CC="$CC" # Let the user override the test. | 2142 ac_cv_prog_CC="$CC" # Let the user override the test. |
2143 else | 2143 else |
2144 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | 2144 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
2182 case "`uname -s`" in | 2182 case "`uname -s`" in |
2183 *win32* | *WIN32*) | 2183 *win32* | *WIN32*) |
2184 # Extract the first word of "cl", so it can be a program name with args. | 2184 # Extract the first word of "cl", so it can be a program name with args. |
2185 set dummy cl; ac_word=$2 | 2185 set dummy cl; ac_word=$2 |
2186 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 2186 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
2187 echo "configure:2189: checking for $ac_word" >&5 | 2187 echo "configure:2188: checking for $ac_word" >&5 |
2188 | 2188 |
2189 if test -n "$CC"; then | 2189 if test -n "$CC"; then |
2190 ac_cv_prog_CC="$CC" # Let the user override the test. | 2190 ac_cv_prog_CC="$CC" # Let the user override the test. |
2191 else | 2191 else |
2192 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | 2192 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
2211 fi | 2211 fi |
2212 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } | 2212 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } |
2213 fi | 2213 fi |
2214 | 2214 |
2215 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 | 2215 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 |
2216 echo "configure:2218: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 | 2216 echo "configure:2217: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 |
2217 | 2217 |
2218 ac_ext=c | 2218 ac_ext=c |
2219 xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS' | 2219 xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS' |
2220 xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_switch_x_site $ld_switch_run' | 2220 xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_switch_x_site $ld_switch_run' |
2221 xe_libs='$ld_call_shared $xe_check_libs $X_EXTRA_LIBS $libs_x $libs_gtk $X_PRE_LIBS $LIBS $libs_machine $libs_system $libs_standard' | 2221 xe_libs='$ld_call_shared $xe_check_libs $X_EXTRA_LIBS $libs_x $libs_gtk $X_PRE_LIBS $LIBS $libs_machine $libs_system $libs_standard' |
2224 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' | 2224 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' |
2225 cross_compiling=no | 2225 cross_compiling=no |
2226 | 2226 |
2227 cat > conftest.$ac_ext << EOF | 2227 cat > conftest.$ac_ext << EOF |
2228 | 2228 |
2229 #line 2231 "configure" | 2229 #line 2230 "configure" |
2230 #include "confdefs.h" | 2230 #include "confdefs.h" |
2231 | 2231 |
2232 main(){return(0);} | 2232 main(){return(0);} |
2233 EOF | 2233 EOF |
2234 if { (eval echo configure:2236: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 2234 if { (eval echo configure:2235: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
2235 ac_cv_prog_cc_works=yes | 2235 ac_cv_prog_cc_works=yes |
2236 # If we can't run a trivial program, we are probably using a cross compiler. | 2236 # If we can't run a trivial program, we are probably using a cross compiler. |
2237 if (./conftest; exit) 2>/dev/null; then | 2237 if (./conftest; exit) 2>/dev/null; then |
2238 ac_cv_prog_cc_cross=no | 2238 ac_cv_prog_cc_cross=no |
2239 else | 2239 else |
2257 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 | 2257 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 |
2258 if test $ac_cv_prog_cc_works = no; then | 2258 if test $ac_cv_prog_cc_works = no; then |
2259 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } | 2259 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } |
2260 fi | 2260 fi |
2261 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 | 2261 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 |
2262 echo "configure:2264: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 | 2262 echo "configure:2263: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 |
2263 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 | 2263 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 |
2264 cross_compiling=$ac_cv_prog_cc_cross | 2264 cross_compiling=$ac_cv_prog_cc_cross |
2265 | 2265 |
2266 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 | 2266 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 |
2267 echo "configure:2269: checking whether we are using GNU C" >&5 | 2267 echo "configure:2268: checking whether we are using GNU C" >&5 |
2268 | 2268 |
2269 cat > conftest.c <<EOF | 2269 cat > conftest.c <<EOF |
2270 #ifdef __GNUC__ | 2270 #ifdef __GNUC__ |
2271 yes; | 2271 yes; |
2272 #endif | 2272 #endif |
2273 EOF | 2273 EOF |
2274 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:2276: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then | 2274 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:2275: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then |
2275 ac_cv_prog_gcc=yes | 2275 ac_cv_prog_gcc=yes |
2276 else | 2276 else |
2277 ac_cv_prog_gcc=no | 2277 ac_cv_prog_gcc=no |
2278 fi | 2278 fi |
2279 | 2279 |
2287 | 2287 |
2288 ac_test_CFLAGS="${CFLAGS+set}" | 2288 ac_test_CFLAGS="${CFLAGS+set}" |
2289 ac_save_CFLAGS="$CFLAGS" | 2289 ac_save_CFLAGS="$CFLAGS" |
2290 CFLAGS= | 2290 CFLAGS= |
2291 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 | 2291 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 |
2292 echo "configure:2294: checking whether ${CC-cc} accepts -g" >&5 | 2292 echo "configure:2293: checking whether ${CC-cc} accepts -g" >&5 |
2293 | 2293 |
2294 echo 'void f(){}' > conftest.c | 2294 echo 'void f(){}' > conftest.c |
2295 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then | 2295 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then |
2296 ac_cv_prog_cc_g=yes | 2296 ac_cv_prog_cc_g=yes |
2297 else | 2297 else |
2320 fi | 2320 fi |
2321 CFLAGS="$xe_save_CFLAGS" | 2321 CFLAGS="$xe_save_CFLAGS" |
2322 | 2322 |
2323 if test "$GCC" = "yes"; then | 2323 if test "$GCC" = "yes"; then |
2324 cat > conftest.$ac_ext <<EOF | 2324 cat > conftest.$ac_ext <<EOF |
2325 #line 2327 "configure" | 2325 #line 2326 "configure" |
2326 #include "confdefs.h" | 2326 #include "confdefs.h" |
2327 int main () { | 2327 int main () { |
2328 #if __GNUC__ >= 3 | 2328 #if __GNUC__ >= 3 |
2329 return 11; | 2329 return 11; |
2330 #else | 2330 #else |
2331 return 0; | 2331 return 0; |
2332 #endif | 2332 #endif |
2333 } | 2333 } |
2334 EOF | 2334 EOF |
2335 if { (eval echo configure:2337: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 2335 if { (eval echo configure:2336: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
2336 then | 2336 then |
2337 : | 2337 : |
2338 else | 2338 else |
2339 conftest_rc="$?" | 2339 conftest_rc="$?" |
2340 echo "configure: failed program was:" >&5 | 2340 echo "configure: failed program was:" >&5 |
2351 test -n "$CPP" -a -d "$CPP" && CPP= | 2351 test -n "$CPP" -a -d "$CPP" && CPP= |
2352 | 2352 |
2353 test -n "$NON_GNU_CPP" -a "$GCC" != "yes" -a -z "$CPP" && CPP="$NON_GNU_CPP" | 2353 test -n "$NON_GNU_CPP" -a "$GCC" != "yes" -a -z "$CPP" && CPP="$NON_GNU_CPP" |
2354 | 2354 |
2355 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6 | 2355 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6 |
2356 echo "configure:2358: checking how to run the C preprocessor" >&5 | 2356 echo "configure:2357: checking how to run the C preprocessor" >&5 |
2357 # On Suns, sometimes $CPP names a directory. | 2357 # On Suns, sometimes $CPP names a directory. |
2358 if test -n "$CPP" && test -d "$CPP"; then | 2358 if test -n "$CPP" && test -d "$CPP"; then |
2359 CPP= | 2359 CPP= |
2360 fi | 2360 fi |
2361 if test -z "$CPP"; then | 2361 if test -z "$CPP"; then |
2364 # substituted into the Makefile and "${CC-cc}" will confuse make. | 2364 # substituted into the Makefile and "${CC-cc}" will confuse make. |
2365 CPP="${CC-cc} -E" | 2365 CPP="${CC-cc} -E" |
2366 # On the NeXT, cc -E runs the code through the compiler's parser, | 2366 # On the NeXT, cc -E runs the code through the compiler's parser, |
2367 # not just through cpp. | 2367 # not just through cpp. |
2368 cat > conftest.$ac_ext <<EOF | 2368 cat > conftest.$ac_ext <<EOF |
2369 #line 2371 "configure" | 2369 #line 2370 "configure" |
2370 #include "confdefs.h" | 2370 #include "confdefs.h" |
2371 #include <assert.h> | 2371 #include <assert.h> |
2372 Syntax Error | 2372 Syntax Error |
2373 EOF | 2373 EOF |
2374 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 2374 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
2375 { (eval echo configure:2377: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 2375 { (eval echo configure:2376: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
2376 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 2376 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
2377 if test -z "$ac_err"; then | 2377 if test -z "$ac_err"; then |
2378 : | 2378 : |
2379 else | 2379 else |
2380 echo "$ac_err" >&5 | 2380 echo "$ac_err" >&5 |
2381 echo "configure: failed program was:" >&5 | 2381 echo "configure: failed program was:" >&5 |
2382 cat conftest.$ac_ext >&5 | 2382 cat conftest.$ac_ext >&5 |
2383 rm -rf conftest* | 2383 rm -rf conftest* |
2384 CPP="${CC-cc} -E -traditional-cpp" | 2384 CPP="${CC-cc} -E -traditional-cpp" |
2385 cat > conftest.$ac_ext <<EOF | 2385 cat > conftest.$ac_ext <<EOF |
2386 #line 2388 "configure" | 2386 #line 2387 "configure" |
2387 #include "confdefs.h" | 2387 #include "confdefs.h" |
2388 #include <assert.h> | 2388 #include <assert.h> |
2389 Syntax Error | 2389 Syntax Error |
2390 EOF | 2390 EOF |
2391 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 2391 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
2392 { (eval echo configure:2394: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 2392 { (eval echo configure:2393: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
2393 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 2393 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
2394 if test -z "$ac_err"; then | 2394 if test -z "$ac_err"; then |
2395 : | 2395 : |
2396 else | 2396 else |
2397 echo "$ac_err" >&5 | 2397 echo "$ac_err" >&5 |
2398 echo "configure: failed program was:" >&5 | 2398 echo "configure: failed program was:" >&5 |
2399 cat conftest.$ac_ext >&5 | 2399 cat conftest.$ac_ext >&5 |
2400 rm -rf conftest* | 2400 rm -rf conftest* |
2401 CPP="${CC-cc} -nologo -E" | 2401 CPP="${CC-cc} -nologo -E" |
2402 cat > conftest.$ac_ext <<EOF | 2402 cat > conftest.$ac_ext <<EOF |
2403 #line 2405 "configure" | 2403 #line 2404 "configure" |
2404 #include "confdefs.h" | 2404 #include "confdefs.h" |
2405 #include <assert.h> | 2405 #include <assert.h> |
2406 Syntax Error | 2406 Syntax Error |
2407 EOF | 2407 EOF |
2408 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 2408 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
2409 { (eval echo configure:2411: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 2409 { (eval echo configure:2410: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
2410 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 2410 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
2411 if test -z "$ac_err"; then | 2411 if test -z "$ac_err"; then |
2412 : | 2412 : |
2413 else | 2413 else |
2414 echo "$ac_err" >&5 | 2414 echo "$ac_err" >&5 |
2430 echo "$ac_t""$CPP" 1>&6 | 2430 echo "$ac_t""$CPP" 1>&6 |
2431 | 2431 |
2432 | 2432 |
2433 | 2433 |
2434 echo $ac_n "checking for AIX""... $ac_c" 1>&6 | 2434 echo $ac_n "checking for AIX""... $ac_c" 1>&6 |
2435 echo "configure:2437: checking for AIX" >&5 | 2435 echo "configure:2436: checking for AIX" >&5 |
2436 cat > conftest.$ac_ext <<EOF | 2436 cat > conftest.$ac_ext <<EOF |
2437 #line 2439 "configure" | 2437 #line 2438 "configure" |
2438 #include "confdefs.h" | 2438 #include "confdefs.h" |
2439 #ifdef _AIX | 2439 #ifdef _AIX |
2440 yes | 2440 yes |
2441 #endif | 2441 #endif |
2442 | 2442 |
2459 rm -f conftest* | 2459 rm -f conftest* |
2460 | 2460 |
2461 | 2461 |
2462 | 2462 |
2463 echo $ac_n "checking for GNU libc""... $ac_c" 1>&6 | 2463 echo $ac_n "checking for GNU libc""... $ac_c" 1>&6 |
2464 echo "configure:2466: checking for GNU libc" >&5 | 2464 echo "configure:2465: checking for GNU libc" >&5 |
2465 cat > conftest.$ac_ext <<EOF | 2465 cat > conftest.$ac_ext <<EOF |
2466 #line 2468 "configure" | 2466 #line 2467 "configure" |
2467 #include "confdefs.h" | 2467 #include "confdefs.h" |
2468 #include <features.h> | 2468 #include <features.h> |
2469 int main() { | 2469 int main() { |
2470 | 2470 |
2471 #if ! (defined __GLIBC__ || defined __GNU_LIBRARY__) | 2471 #if ! (defined __GLIBC__ || defined __GNU_LIBRARY__) |
2473 ******* ======= ******** &&&&&&&& | 2473 ******* ======= ******** &&&&&&&& |
2474 #endif | 2474 #endif |
2475 | 2475 |
2476 ; return 0; } | 2476 ; return 0; } |
2477 EOF | 2477 EOF |
2478 if { (eval echo configure:2480: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 2478 if { (eval echo configure:2479: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
2479 rm -rf conftest* | 2479 rm -rf conftest* |
2480 have_glibc=yes | 2480 have_glibc=yes |
2481 else | 2481 else |
2482 echo "configure: failed program was:" >&5 | 2482 echo "configure: failed program was:" >&5 |
2483 cat conftest.$ac_ext >&5 | 2483 cat conftest.$ac_ext >&5 |
2550 | 2550 |
2551 ;; | 2551 ;; |
2552 esac | 2552 esac |
2553 | 2553 |
2554 cat > conftest.$ac_ext <<EOF | 2554 cat > conftest.$ac_ext <<EOF |
2555 #line 2557 "configure" | 2555 #line 2556 "configure" |
2556 #include "confdefs.h" | 2556 #include "confdefs.h" |
2557 int main () { | 2557 int main () { |
2558 #if defined __SUNPRO_C | 2558 #if defined __SUNPRO_C |
2559 return 11; | 2559 return 11; |
2560 #elif defined __DECC | 2560 #elif defined __DECC |
2564 #else | 2564 #else |
2565 return 0; | 2565 return 0; |
2566 #endif | 2566 #endif |
2567 } | 2567 } |
2568 EOF | 2568 EOF |
2569 if { (eval echo configure:2571: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 2569 if { (eval echo configure:2570: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
2570 then | 2570 then |
2571 : | 2571 : |
2572 else | 2572 else |
2573 conftest_rc="$?" | 2573 conftest_rc="$?" |
2574 echo "configure: failed program was:" >&5 | 2574 echo "configure: failed program was:" >&5 |
2816 | 2816 |
2817 test "$__DECC" = "yes" && c_switch_site="$c_switch_site -std1" && if test "$extra_verbose" = "yes"; then echo " Appending \"-std1\" to \$c_switch_site"; fi | 2817 test "$__DECC" = "yes" && c_switch_site="$c_switch_site -std1" && if test "$extra_verbose" = "yes"; then echo " Appending \"-std1\" to \$c_switch_site"; fi |
2818 | 2818 |
2819 if test "$__USLC__" = yes; then | 2819 if test "$__USLC__" = yes; then |
2820 echo $ac_n "checking for whether the -Kalloca compiler flag is needed""... $ac_c" 1>&6 | 2820 echo $ac_n "checking for whether the -Kalloca compiler flag is needed""... $ac_c" 1>&6 |
2821 echo "configure:2823: checking for whether the -Kalloca compiler flag is needed" >&5 | 2821 echo "configure:2822: checking for whether the -Kalloca compiler flag is needed" >&5 |
2822 need_kalloca=no | 2822 need_kalloca=no |
2823 cat > conftest.$ac_ext <<EOF | 2823 cat > conftest.$ac_ext <<EOF |
2824 #line 2826 "configure" | 2824 #line 2825 "configure" |
2825 #include "confdefs.h" | 2825 #include "confdefs.h" |
2826 | 2826 |
2827 int main() { | 2827 int main() { |
2828 void *x = alloca(4); | 2828 void *x = alloca(4); |
2829 ; return 0; } | 2829 ; return 0; } |
2830 EOF | 2830 EOF |
2831 if { (eval echo configure:2833: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 2831 if { (eval echo configure:2832: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
2832 rm -rf conftest* | 2832 rm -rf conftest* |
2833 : | 2833 : |
2834 else | 2834 else |
2835 echo "configure: failed program was:" >&5 | 2835 echo "configure: failed program was:" >&5 |
2836 cat conftest.$ac_ext >&5 | 2836 cat conftest.$ac_ext >&5 |
2837 rm -rf conftest* | 2837 rm -rf conftest* |
2838 | 2838 |
2839 xe_save_c_switch_system="$c_switch_system" | 2839 xe_save_c_switch_system="$c_switch_system" |
2840 c_switch_system="$c_switch_system -Kalloca" | 2840 c_switch_system="$c_switch_system -Kalloca" |
2841 cat > conftest.$ac_ext <<EOF | 2841 cat > conftest.$ac_ext <<EOF |
2842 #line 2844 "configure" | 2842 #line 2843 "configure" |
2843 #include "confdefs.h" | 2843 #include "confdefs.h" |
2844 | 2844 |
2845 int main() { | 2845 int main() { |
2846 void *x = alloca(4); | 2846 void *x = alloca(4); |
2847 ; return 0; } | 2847 ; return 0; } |
2848 EOF | 2848 EOF |
2849 if { (eval echo configure:2851: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 2849 if { (eval echo configure:2850: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
2850 rm -rf conftest* | 2850 rm -rf conftest* |
2851 need_kalloca=yes | 2851 need_kalloca=yes |
2852 else | 2852 else |
2853 echo "configure: failed program was:" >&5 | 2853 echo "configure: failed program was:" >&5 |
2854 cat conftest.$ac_ext >&5 | 2854 cat conftest.$ac_ext >&5 |
2904 | 2904 |
2905 CFLAGS="$cflags_warning $CFLAGS" | 2905 CFLAGS="$cflags_warning $CFLAGS" |
2906 | 2906 |
2907 if test "$GCC" = "yes"; then | 2907 if test "$GCC" = "yes"; then |
2908 echo $ac_n "checking for buggy gcc versions""... $ac_c" 1>&6 | 2908 echo $ac_n "checking for buggy gcc versions""... $ac_c" 1>&6 |
2909 echo "configure:2911: checking for buggy gcc versions" >&5 | 2909 echo "configure:2910: checking for buggy gcc versions" >&5 |
2910 GCC_VERSION=`$CC --version` | 2910 GCC_VERSION=`$CC --version` |
2911 case `uname -s`:`uname -m`:$GCC_VERSION in | 2911 case `uname -s`:`uname -m`:$GCC_VERSION in |
2912 *:sun4*:2.8.1|*:sun4*:egcs-2.90.*) | 2912 *:sun4*:2.8.1|*:sun4*:egcs-2.90.*) |
2913 case "$CFLAGS" in | 2913 case "$CFLAGS" in |
2914 *-O2*|*-O3*) | 2914 *-O2*|*-O3*) |
2962 echo "$ac_t""no" 1>&6 | 2962 echo "$ac_t""no" 1>&6 |
2963 fi | 2963 fi |
2964 | 2964 |
2965 if test "$pdump" != "yes"; then | 2965 if test "$pdump" != "yes"; then |
2966 echo $ac_n "checking for \"-z nocombreloc\" linker flag""... $ac_c" 1>&6 | 2966 echo $ac_n "checking for \"-z nocombreloc\" linker flag""... $ac_c" 1>&6 |
2967 echo "configure:2969: checking for \"-z nocombreloc\" linker flag" >&5 | 2967 echo "configure:2968: checking for \"-z nocombreloc\" linker flag" >&5 |
2968 case "`ld --help 2>&1`" in | 2968 case "`ld --help 2>&1`" in |
2969 *-z\ nocombreloc* ) echo "$ac_t""yes" 1>&6 | 2969 *-z\ nocombreloc* ) echo "$ac_t""yes" 1>&6 |
2970 ld_switch_site="-z nocombreloc $ld_switch_site" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-z nocombreloc\" to \$ld_switch_site"; fi ;; | 2970 ld_switch_site="-z nocombreloc $ld_switch_site" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-z nocombreloc\" to \$ld_switch_site"; fi ;; |
2971 *) echo "$ac_t""no" 1>&6 ;; | 2971 *) echo "$ac_t""no" 1>&6 ;; |
2972 esac | 2972 esac |
3051 test "$pdump" = "yes" && extra_objs="$extra_objs dumper.o" && if test "$extra_verbose" = "yes"; then | 3051 test "$pdump" = "yes" && extra_objs="$extra_objs dumper.o" && if test "$extra_verbose" = "yes"; then |
3052 echo " xemacs will be linked with \"dumper.o\"" | 3052 echo " xemacs will be linked with \"dumper.o\"" |
3053 fi | 3053 fi |
3054 | 3054 |
3055 echo $ac_n "checking for dynodump""... $ac_c" 1>&6 | 3055 echo $ac_n "checking for dynodump""... $ac_c" 1>&6 |
3056 echo "configure:3058: checking for dynodump" >&5 | 3056 echo "configure:3057: checking for dynodump" >&5 |
3057 if test "$unexec" != "unexsol2.o"; then | 3057 if test "$unexec" != "unexsol2.o"; then |
3058 echo "$ac_t""no" 1>&6 | 3058 echo "$ac_t""no" 1>&6 |
3059 else | 3059 else |
3060 echo "$ac_t""yes" 1>&6 | 3060 echo "$ac_t""yes" 1>&6 |
3061 { test "$extra_verbose" = "yes" && cat << \EOF | 3061 { test "$extra_verbose" = "yes" && cat << \EOF |
3089 for f in "/usr/lpp/X11/bin/smt.exp" "/usr/bin/X11/smt.exp"; do | 3089 for f in "/usr/lpp/X11/bin/smt.exp" "/usr/bin/X11/smt.exp"; do |
3090 if test -r "$f"; then start_flags="${start_flags},-bI:${f}"; break; fi | 3090 if test -r "$f"; then start_flags="${start_flags},-bI:${f}"; break; fi |
3091 done | 3091 done |
3092 | 3092 |
3093 echo $ac_n "checking for terminateAndUnload in -lC""... $ac_c" 1>&6 | 3093 echo $ac_n "checking for terminateAndUnload in -lC""... $ac_c" 1>&6 |
3094 echo "configure:3096: checking for terminateAndUnload in -lC" >&5 | 3094 echo "configure:3095: checking for terminateAndUnload in -lC" >&5 |
3095 ac_lib_var=`echo C'_'terminateAndUnload | sed 'y%./+-%__p_%'` | 3095 ac_lib_var=`echo C'_'terminateAndUnload | sed 'y%./+-%__p_%'` |
3096 | 3096 |
3097 xe_check_libs=" -lC " | 3097 xe_check_libs=" -lC " |
3098 cat > conftest.$ac_ext <<EOF | 3098 cat > conftest.$ac_ext <<EOF |
3099 #line 3101 "configure" | 3099 #line 3100 "configure" |
3100 #include "confdefs.h" | 3100 #include "confdefs.h" |
3101 /* Override any gcc2 internal prototype to avoid an error. */ | 3101 /* Override any gcc2 internal prototype to avoid an error. */ |
3102 /* We use char because int might match the return type of a gcc2 | 3102 /* We use char because int might match the return type of a gcc2 |
3103 builtin and then its argument prototype would still apply. */ | 3103 builtin and then its argument prototype would still apply. */ |
3104 char terminateAndUnload(); | 3104 char terminateAndUnload(); |
3105 | 3105 |
3106 int main() { | 3106 int main() { |
3107 terminateAndUnload() | 3107 terminateAndUnload() |
3108 ; return 0; } | 3108 ; return 0; } |
3109 EOF | 3109 EOF |
3110 if { (eval echo configure:3112: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 3110 if { (eval echo configure:3111: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
3111 rm -rf conftest* | 3111 rm -rf conftest* |
3112 eval "ac_cv_lib_$ac_lib_var=yes" | 3112 eval "ac_cv_lib_$ac_lib_var=yes" |
3113 else | 3113 else |
3114 echo "configure: failed program was:" >&5 | 3114 echo "configure: failed program was:" >&5 |
3115 cat conftest.$ac_ext >&5 | 3115 cat conftest.$ac_ext >&5 |
3213 esac | 3213 esac |
3214 fi | 3214 fi |
3215 | 3215 |
3216 if test "$add_runtime_path" = "yes"; then | 3216 if test "$add_runtime_path" = "yes"; then |
3217 echo $ac_n "checking "for runtime libraries flag"""... $ac_c" 1>&6 | 3217 echo $ac_n "checking "for runtime libraries flag"""... $ac_c" 1>&6 |
3218 echo "configure:3220: checking "for runtime libraries flag"" >&5 | 3218 echo "configure:3219: checking "for runtime libraries flag"" >&5 |
3219 case "$opsys" in | 3219 case "$opsys" in |
3220 sol2 ) dash_r="-R" ;; | 3220 sol2 ) dash_r="-R" ;; |
3221 decosf* | linux* | irix*) dash_r="-rpath " ;; | 3221 decosf* | linux* | irix*) dash_r="-rpath " ;; |
3222 *) | 3222 *) |
3223 dash_r="" | 3223 dash_r="" |
3235 esac | 3235 esac |
3236 shift | 3236 shift |
3237 done | 3237 done |
3238 fi | 3238 fi |
3239 cat > conftest.$ac_ext <<EOF | 3239 cat > conftest.$ac_ext <<EOF |
3240 #line 3242 "configure" | 3240 #line 3241 "configure" |
3241 #include "confdefs.h" | 3241 #include "confdefs.h" |
3242 | 3242 |
3243 int main() { | 3243 int main() { |
3244 | 3244 |
3245 ; return 0; } | 3245 ; return 0; } |
3246 EOF | 3246 EOF |
3247 if { (eval echo configure:3249: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 3247 if { (eval echo configure:3248: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
3248 rm -rf conftest* | 3248 rm -rf conftest* |
3249 dash_r="$try_dash_r" | 3249 dash_r="$try_dash_r" |
3250 else | 3250 else |
3251 echo "configure: failed program was:" >&5 | 3251 echo "configure: failed program was:" >&5 |
3252 cat conftest.$ac_ext >&5 | 3252 cat conftest.$ac_ext >&5 |
3343 else | 3343 else |
3344 doug_lea_malloc=no | 3344 doug_lea_malloc=no |
3345 fi | 3345 fi |
3346 after_morecore_hook_exists=yes | 3346 after_morecore_hook_exists=yes |
3347 echo $ac_n "checking for malloc_set_state""... $ac_c" 1>&6 | 3347 echo $ac_n "checking for malloc_set_state""... $ac_c" 1>&6 |
3348 echo "configure:3350: checking for malloc_set_state" >&5 | 3348 echo "configure:3349: checking for malloc_set_state" >&5 |
3349 | 3349 |
3350 cat > conftest.$ac_ext <<EOF | 3350 cat > conftest.$ac_ext <<EOF |
3351 #line 3353 "configure" | 3351 #line 3352 "configure" |
3352 #include "confdefs.h" | 3352 #include "confdefs.h" |
3353 /* System header to define __stub macros and hopefully few prototypes, | 3353 /* System header to define __stub macros and hopefully few prototypes, |
3354 which can conflict with char malloc_set_state(); below. */ | 3354 which can conflict with char malloc_set_state(); below. */ |
3355 #include <assert.h> | 3355 #include <assert.h> |
3356 /* Override any gcc2 internal prototype to avoid an error. */ | 3356 /* Override any gcc2 internal prototype to avoid an error. */ |
3369 malloc_set_state(); | 3369 malloc_set_state(); |
3370 #endif | 3370 #endif |
3371 | 3371 |
3372 ; return 0; } | 3372 ; return 0; } |
3373 EOF | 3373 EOF |
3374 if { (eval echo configure:3376: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 3374 if { (eval echo configure:3375: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
3375 rm -rf conftest* | 3375 rm -rf conftest* |
3376 eval "ac_cv_func_malloc_set_state=yes" | 3376 eval "ac_cv_func_malloc_set_state=yes" |
3377 else | 3377 else |
3378 echo "configure: failed program was:" >&5 | 3378 echo "configure: failed program was:" >&5 |
3379 cat conftest.$ac_ext >&5 | 3379 cat conftest.$ac_ext >&5 |
3389 echo "$ac_t""no" 1>&6 | 3389 echo "$ac_t""no" 1>&6 |
3390 doug_lea_malloc=no | 3390 doug_lea_malloc=no |
3391 fi | 3391 fi |
3392 | 3392 |
3393 echo $ac_n "checking whether __after_morecore_hook exists""... $ac_c" 1>&6 | 3393 echo $ac_n "checking whether __after_morecore_hook exists""... $ac_c" 1>&6 |
3394 echo "configure:3396: checking whether __after_morecore_hook exists" >&5 | 3394 echo "configure:3395: checking whether __after_morecore_hook exists" >&5 |
3395 cat > conftest.$ac_ext <<EOF | 3395 cat > conftest.$ac_ext <<EOF |
3396 #line 3398 "configure" | 3396 #line 3397 "configure" |
3397 #include "confdefs.h" | 3397 #include "confdefs.h" |
3398 extern void (* __after_morecore_hook)(); | 3398 extern void (* __after_morecore_hook)(); |
3399 int main() { | 3399 int main() { |
3400 __after_morecore_hook = 0 | 3400 __after_morecore_hook = 0 |
3401 ; return 0; } | 3401 ; return 0; } |
3402 EOF | 3402 EOF |
3403 if { (eval echo configure:3405: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 3403 if { (eval echo configure:3404: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
3404 rm -rf conftest* | 3404 rm -rf conftest* |
3405 echo "$ac_t""yes" 1>&6 | 3405 echo "$ac_t""yes" 1>&6 |
3406 else | 3406 else |
3407 echo "configure: failed program was:" >&5 | 3407 echo "configure: failed program was:" >&5 |
3408 cat conftest.$ac_ext >&5 | 3408 cat conftest.$ac_ext >&5 |
3454 | 3454 |
3455 | 3455 |
3456 # Extract the first word of "ranlib", so it can be a program name with args. | 3456 # Extract the first word of "ranlib", so it can be a program name with args. |
3457 set dummy ranlib; ac_word=$2 | 3457 set dummy ranlib; ac_word=$2 |
3458 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 3458 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
3459 echo "configure:3461: checking for $ac_word" >&5 | 3459 echo "configure:3460: checking for $ac_word" >&5 |
3460 | 3460 |
3461 if test -n "$RANLIB"; then | 3461 if test -n "$RANLIB"; then |
3462 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. | 3462 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. |
3463 else | 3463 else |
3464 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | 3464 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
3509 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag | 3509 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag |
3510 # AFS /usr/afsws/bin/install, which mishandles nonexistent args | 3510 # AFS /usr/afsws/bin/install, which mishandles nonexistent args |
3511 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" | 3511 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" |
3512 # ./install, which can be erroneously created by make from ./install.sh. | 3512 # ./install, which can be erroneously created by make from ./install.sh. |
3513 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 | 3513 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 |
3514 echo "configure:3516: checking for a BSD compatible install" >&5 | 3514 echo "configure:3515: checking for a BSD compatible install" >&5 |
3515 if test -z "$INSTALL"; then | 3515 if test -z "$INSTALL"; then |
3516 | 3516 |
3517 IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS=":" | 3517 IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS=":" |
3518 for ac_dir in $PATH; do | 3518 for ac_dir in $PATH; do |
3519 # Account for people who put trailing slashes in PATH elements. | 3519 # Account for people who put trailing slashes in PATH elements. |
3563 for ac_prog in 'bison -y' byacc | 3563 for ac_prog in 'bison -y' byacc |
3564 do | 3564 do |
3565 # Extract the first word of "$ac_prog", so it can be a program name with args. | 3565 # Extract the first word of "$ac_prog", so it can be a program name with args. |
3566 set dummy $ac_prog; ac_word=$2 | 3566 set dummy $ac_prog; ac_word=$2 |
3567 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 3567 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
3568 echo "configure:3570: checking for $ac_word" >&5 | 3568 echo "configure:3569: checking for $ac_word" >&5 |
3569 | 3569 |
3570 if test -n "$YACC"; then | 3570 if test -n "$YACC"; then |
3571 ac_cv_prog_YACC="$YACC" # Let the user override the test. | 3571 ac_cv_prog_YACC="$YACC" # Let the user override the test. |
3572 else | 3572 else |
3573 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | 3573 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
3595 | 3595 |
3596 for ac_hdr in a.out.h elf.h cygwin/version.h fcntl.h inttypes.h libgen.h locale.h wchar.h mach/mach.h sys/param.h sys/pstat.h sys/time.h sys/timeb.h sys/times.h sys/un.h ulimit.h unistd.h | 3596 for ac_hdr in a.out.h elf.h cygwin/version.h fcntl.h inttypes.h libgen.h locale.h wchar.h mach/mach.h sys/param.h sys/pstat.h sys/time.h sys/timeb.h sys/times.h sys/un.h ulimit.h unistd.h |
3597 do | 3597 do |
3598 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 3598 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
3599 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 3599 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
3600 echo "configure:3602: checking for $ac_hdr" >&5 | 3600 echo "configure:3601: checking for $ac_hdr" >&5 |
3601 | 3601 |
3602 cat > conftest.$ac_ext <<EOF | 3602 cat > conftest.$ac_ext <<EOF |
3603 #line 3605 "configure" | 3603 #line 3604 "configure" |
3604 #include "confdefs.h" | 3604 #include "confdefs.h" |
3605 #include <$ac_hdr> | 3605 #include <$ac_hdr> |
3606 EOF | 3606 EOF |
3607 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 3607 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
3608 { (eval echo configure:3610: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 3608 { (eval echo configure:3609: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
3609 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 3609 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
3610 if test -z "$ac_err"; then | 3610 if test -z "$ac_err"; then |
3611 rm -rf conftest* | 3611 rm -rf conftest* |
3612 eval "ac_cv_header_$ac_safe=yes" | 3612 eval "ac_cv_header_$ac_safe=yes" |
3613 else | 3613 else |
3633 echo "$ac_t""no" 1>&6 | 3633 echo "$ac_t""no" 1>&6 |
3634 fi | 3634 fi |
3635 done | 3635 done |
3636 | 3636 |
3637 echo $ac_n "checking for sys/wait.h that is POSIX.1 compatible""... $ac_c" 1>&6 | 3637 echo $ac_n "checking for sys/wait.h that is POSIX.1 compatible""... $ac_c" 1>&6 |
3638 echo "configure:3640: checking for sys/wait.h that is POSIX.1 compatible" >&5 | 3638 echo "configure:3639: checking for sys/wait.h that is POSIX.1 compatible" >&5 |
3639 | 3639 |
3640 cat > conftest.$ac_ext <<EOF | 3640 cat > conftest.$ac_ext <<EOF |
3641 #line 3643 "configure" | 3641 #line 3642 "configure" |
3642 #include "confdefs.h" | 3642 #include "confdefs.h" |
3643 #include <sys/types.h> | 3643 #include <sys/types.h> |
3644 #include <sys/wait.h> | 3644 #include <sys/wait.h> |
3645 #ifndef WEXITSTATUS | 3645 #ifndef WEXITSTATUS |
3646 #define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8) | 3646 #define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8) |
3652 int s; | 3652 int s; |
3653 wait (&s); | 3653 wait (&s); |
3654 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1; | 3654 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1; |
3655 ; return 0; } | 3655 ; return 0; } |
3656 EOF | 3656 EOF |
3657 if { (eval echo configure:3659: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3657 if { (eval echo configure:3658: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
3658 rm -rf conftest* | 3658 rm -rf conftest* |
3659 ac_cv_header_sys_wait_h=yes | 3659 ac_cv_header_sys_wait_h=yes |
3660 else | 3660 else |
3661 echo "configure: failed program was:" >&5 | 3661 echo "configure: failed program was:" >&5 |
3662 cat conftest.$ac_ext >&5 | 3662 cat conftest.$ac_ext >&5 |
3676 } | 3676 } |
3677 | 3677 |
3678 fi | 3678 fi |
3679 | 3679 |
3680 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6 | 3680 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6 |
3681 echo "configure:3683: checking for ANSI C header files" >&5 | 3681 echo "configure:3682: checking for ANSI C header files" >&5 |
3682 | 3682 |
3683 cat > conftest.$ac_ext <<EOF | 3683 cat > conftest.$ac_ext <<EOF |
3684 #line 3686 "configure" | 3684 #line 3685 "configure" |
3685 #include "confdefs.h" | 3685 #include "confdefs.h" |
3686 #include <stdlib.h> | 3686 #include <stdlib.h> |
3687 #include <stdarg.h> | 3687 #include <stdarg.h> |
3688 #include <string.h> | 3688 #include <string.h> |
3689 #include <float.h> | 3689 #include <float.h> |
3690 EOF | 3690 EOF |
3691 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 3691 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
3692 { (eval echo configure:3694: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 3692 { (eval echo configure:3693: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
3693 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 3693 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
3694 if test -z "$ac_err"; then | 3694 if test -z "$ac_err"; then |
3695 rm -rf conftest* | 3695 rm -rf conftest* |
3696 ac_cv_header_stdc=yes | 3696 ac_cv_header_stdc=yes |
3697 else | 3697 else |
3704 rm -f conftest* | 3704 rm -f conftest* |
3705 | 3705 |
3706 if test $ac_cv_header_stdc = yes; then | 3706 if test $ac_cv_header_stdc = yes; then |
3707 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. | 3707 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. |
3708 cat > conftest.$ac_ext <<EOF | 3708 cat > conftest.$ac_ext <<EOF |
3709 #line 3711 "configure" | 3709 #line 3710 "configure" |
3710 #include "confdefs.h" | 3710 #include "confdefs.h" |
3711 #include <string.h> | 3711 #include <string.h> |
3712 EOF | 3712 EOF |
3713 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 3713 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
3714 egrep "memchr" >/dev/null 2>&1; then | 3714 egrep "memchr" >/dev/null 2>&1; then |
3722 fi | 3722 fi |
3723 | 3723 |
3724 if test $ac_cv_header_stdc = yes; then | 3724 if test $ac_cv_header_stdc = yes; then |
3725 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. | 3725 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. |
3726 cat > conftest.$ac_ext <<EOF | 3726 cat > conftest.$ac_ext <<EOF |
3727 #line 3729 "configure" | 3727 #line 3728 "configure" |
3728 #include "confdefs.h" | 3728 #include "confdefs.h" |
3729 #include <stdlib.h> | 3729 #include <stdlib.h> |
3730 EOF | 3730 EOF |
3731 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 3731 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
3732 egrep "free" >/dev/null 2>&1; then | 3732 egrep "free" >/dev/null 2>&1; then |
3740 fi | 3740 fi |
3741 | 3741 |
3742 if test $ac_cv_header_stdc = yes; then | 3742 if test $ac_cv_header_stdc = yes; then |
3743 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. | 3743 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. |
3744 cat > conftest.$ac_ext <<EOF | 3744 cat > conftest.$ac_ext <<EOF |
3745 #line 3747 "configure" | 3745 #line 3746 "configure" |
3746 #include "confdefs.h" | 3746 #include "confdefs.h" |
3747 #include <ctype.h> | 3747 #include <ctype.h> |
3748 #define ISLOWER(c) ('a' <= (c) && (c) <= 'z') | 3748 #define ISLOWER(c) ('a' <= (c) && (c) <= 'z') |
3749 #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) | 3749 #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) |
3750 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) | 3750 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) |
3751 int main () { int i; for (i = 0; i < 256; i++) | 3751 int main () { int i; for (i = 0; i < 256; i++) |
3752 if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2); | 3752 if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2); |
3753 exit (0); } | 3753 exit (0); } |
3754 | 3754 |
3755 EOF | 3755 EOF |
3756 if { (eval echo configure:3758: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 3756 if { (eval echo configure:3757: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
3757 then | 3757 then |
3758 : | 3758 : |
3759 else | 3759 else |
3760 conftest_rc="$?" | 3760 conftest_rc="$?" |
3761 echo "configure: failed program was:" >&5 | 3761 echo "configure: failed program was:" >&5 |
3777 } | 3777 } |
3778 | 3778 |
3779 fi | 3779 fi |
3780 | 3780 |
3781 echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6 | 3781 echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6 |
3782 echo "configure:3784: checking whether time.h and sys/time.h may both be included" >&5 | 3782 echo "configure:3783: checking whether time.h and sys/time.h may both be included" >&5 |
3783 | 3783 |
3784 cat > conftest.$ac_ext <<EOF | 3784 cat > conftest.$ac_ext <<EOF |
3785 #line 3787 "configure" | 3785 #line 3786 "configure" |
3786 #include "confdefs.h" | 3786 #include "confdefs.h" |
3787 #include <sys/types.h> | 3787 #include <sys/types.h> |
3788 #include <sys/time.h> | 3788 #include <sys/time.h> |
3789 #include <time.h> | 3789 #include <time.h> |
3790 int main() { | 3790 int main() { |
3791 struct tm *tp; | 3791 struct tm *tp; |
3792 ; return 0; } | 3792 ; return 0; } |
3793 EOF | 3793 EOF |
3794 if { (eval echo configure:3796: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3794 if { (eval echo configure:3795: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
3795 rm -rf conftest* | 3795 rm -rf conftest* |
3796 ac_cv_header_time=yes | 3796 ac_cv_header_time=yes |
3797 else | 3797 else |
3798 echo "configure: failed program was:" >&5 | 3798 echo "configure: failed program was:" >&5 |
3799 cat conftest.$ac_ext >&5 | 3799 cat conftest.$ac_ext >&5 |
3813 } | 3813 } |
3814 | 3814 |
3815 fi | 3815 fi |
3816 | 3816 |
3817 echo $ac_n "checking for sys_siglist declaration in signal.h or unistd.h""... $ac_c" 1>&6 | 3817 echo $ac_n "checking for sys_siglist declaration in signal.h or unistd.h""... $ac_c" 1>&6 |
3818 echo "configure:3820: checking for sys_siglist declaration in signal.h or unistd.h" >&5 | 3818 echo "configure:3819: checking for sys_siglist declaration in signal.h or unistd.h" >&5 |
3819 | 3819 |
3820 cat > conftest.$ac_ext <<EOF | 3820 cat > conftest.$ac_ext <<EOF |
3821 #line 3823 "configure" | 3821 #line 3822 "configure" |
3822 #include "confdefs.h" | 3822 #include "confdefs.h" |
3823 #include <sys/types.h> | 3823 #include <sys/types.h> |
3824 #include <signal.h> | 3824 #include <signal.h> |
3825 /* NetBSD declares sys_siglist in unistd.h. */ | 3825 /* NetBSD declares sys_siglist in unistd.h. */ |
3826 #ifdef HAVE_UNISTD_H | 3826 #ifdef HAVE_UNISTD_H |
3828 #endif | 3828 #endif |
3829 int main() { | 3829 int main() { |
3830 char *msg = *(sys_siglist + 1); | 3830 char *msg = *(sys_siglist + 1); |
3831 ; return 0; } | 3831 ; return 0; } |
3832 EOF | 3832 EOF |
3833 if { (eval echo configure:3835: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3833 if { (eval echo configure:3834: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
3834 rm -rf conftest* | 3834 rm -rf conftest* |
3835 ac_cv_decl_sys_siglist=yes | 3835 ac_cv_decl_sys_siglist=yes |
3836 else | 3836 else |
3837 echo "configure: failed program was:" >&5 | 3837 echo "configure: failed program was:" >&5 |
3838 cat conftest.$ac_ext >&5 | 3838 cat conftest.$ac_ext >&5 |
3854 fi | 3854 fi |
3855 | 3855 |
3856 | 3856 |
3857 | 3857 |
3858 echo $ac_n "checking for utime""... $ac_c" 1>&6 | 3858 echo $ac_n "checking for utime""... $ac_c" 1>&6 |
3859 echo "configure:3861: checking for utime" >&5 | 3859 echo "configure:3860: checking for utime" >&5 |
3860 cat > conftest.$ac_ext <<EOF | 3860 cat > conftest.$ac_ext <<EOF |
3861 #line 3863 "configure" | 3861 #line 3862 "configure" |
3862 #include "confdefs.h" | 3862 #include "confdefs.h" |
3863 #include <sys/types.h> | 3863 #include <sys/types.h> |
3864 #include <utime.h> | 3864 #include <utime.h> |
3865 int main() { | 3865 int main() { |
3866 struct utimbuf x; x.actime = x.modtime = 0; utime ("/", &x); | 3866 struct utimbuf x; x.actime = x.modtime = 0; utime ("/", &x); |
3867 ; return 0; } | 3867 ; return 0; } |
3868 EOF | 3868 EOF |
3869 if { (eval echo configure:3871: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3869 if { (eval echo configure:3870: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
3870 rm -rf conftest* | 3870 rm -rf conftest* |
3871 echo "$ac_t""yes" 1>&6 | 3871 echo "$ac_t""yes" 1>&6 |
3872 { test "$extra_verbose" = "yes" && cat << \EOF | 3872 { test "$extra_verbose" = "yes" && cat << \EOF |
3873 Defining HAVE_UTIME | 3873 Defining HAVE_UTIME |
3874 EOF | 3874 EOF |
3883 rm -rf conftest* | 3883 rm -rf conftest* |
3884 echo "$ac_t""no" 1>&6 | 3884 echo "$ac_t""no" 1>&6 |
3885 for ac_func in utimes | 3885 for ac_func in utimes |
3886 do | 3886 do |
3887 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 3887 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
3888 echo "configure:3890: checking for $ac_func" >&5 | 3888 echo "configure:3889: checking for $ac_func" >&5 |
3889 | 3889 |
3890 cat > conftest.$ac_ext <<EOF | 3890 cat > conftest.$ac_ext <<EOF |
3891 #line 3893 "configure" | 3891 #line 3892 "configure" |
3892 #include "confdefs.h" | 3892 #include "confdefs.h" |
3893 /* System header to define __stub macros and hopefully few prototypes, | 3893 /* System header to define __stub macros and hopefully few prototypes, |
3894 which can conflict with char $ac_func(); below. */ | 3894 which can conflict with char $ac_func(); below. */ |
3895 #include <assert.h> | 3895 #include <assert.h> |
3896 /* Override any gcc2 internal prototype to avoid an error. */ | 3896 /* Override any gcc2 internal prototype to avoid an error. */ |
3909 $ac_func(); | 3909 $ac_func(); |
3910 #endif | 3910 #endif |
3911 | 3911 |
3912 ; return 0; } | 3912 ; return 0; } |
3913 EOF | 3913 EOF |
3914 if { (eval echo configure:3916: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 3914 if { (eval echo configure:3915: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
3915 rm -rf conftest* | 3915 rm -rf conftest* |
3916 eval "ac_cv_func_$ac_func=yes" | 3916 eval "ac_cv_func_$ac_func=yes" |
3917 else | 3917 else |
3918 echo "configure: failed program was:" >&5 | 3918 echo "configure: failed program was:" >&5 |
3919 cat conftest.$ac_ext >&5 | 3919 cat conftest.$ac_ext >&5 |
3941 fi | 3941 fi |
3942 rm -f conftest* | 3942 rm -f conftest* |
3943 | 3943 |
3944 | 3944 |
3945 echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6 | 3945 echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6 |
3946 echo "configure:3948: checking return type of signal handlers" >&5 | 3946 echo "configure:3947: checking return type of signal handlers" >&5 |
3947 | 3947 |
3948 cat > conftest.$ac_ext <<EOF | 3948 cat > conftest.$ac_ext <<EOF |
3949 #line 3951 "configure" | 3949 #line 3950 "configure" |
3950 #include "confdefs.h" | 3950 #include "confdefs.h" |
3951 #include <sys/types.h> | 3951 #include <sys/types.h> |
3952 #include <signal.h> | 3952 #include <signal.h> |
3953 #ifdef signal | 3953 #ifdef signal |
3954 #undef signal | 3954 #undef signal |
3961 | 3961 |
3962 int main() { | 3962 int main() { |
3963 int i; | 3963 int i; |
3964 ; return 0; } | 3964 ; return 0; } |
3965 EOF | 3965 EOF |
3966 if { (eval echo configure:3968: \"$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 |
3967 rm -rf conftest* | 3967 rm -rf conftest* |
3968 ac_cv_type_signal=void | 3968 ac_cv_type_signal=void |
3969 else | 3969 else |
3970 echo "configure: failed program was:" >&5 | 3970 echo "configure: failed program was:" >&5 |
3971 cat conftest.$ac_ext >&5 | 3971 cat conftest.$ac_ext >&5 |
3983 EOF | 3983 EOF |
3984 } | 3984 } |
3985 | 3985 |
3986 | 3986 |
3987 echo $ac_n "checking for size_t""... $ac_c" 1>&6 | 3987 echo $ac_n "checking for size_t""... $ac_c" 1>&6 |
3988 echo "configure:3990: checking for size_t" >&5 | 3988 echo "configure:3989: checking for size_t" >&5 |
3989 | 3989 |
3990 cat > conftest.$ac_ext <<EOF | 3990 cat > conftest.$ac_ext <<EOF |
3991 #line 3993 "configure" | 3991 #line 3992 "configure" |
3992 #include "confdefs.h" | 3992 #include "confdefs.h" |
3993 #include <sys/types.h> | 3993 #include <sys/types.h> |
3994 #if STDC_HEADERS | 3994 #if STDC_HEADERS |
3995 #include <stdlib.h> | 3995 #include <stdlib.h> |
3996 #include <stddef.h> | 3996 #include <stddef.h> |
4017 } | 4017 } |
4018 | 4018 |
4019 fi | 4019 fi |
4020 | 4020 |
4021 echo $ac_n "checking for pid_t""... $ac_c" 1>&6 | 4021 echo $ac_n "checking for pid_t""... $ac_c" 1>&6 |
4022 echo "configure:4024: checking for pid_t" >&5 | 4022 echo "configure:4023: checking for pid_t" >&5 |
4023 | 4023 |
4024 cat > conftest.$ac_ext <<EOF | 4024 cat > conftest.$ac_ext <<EOF |
4025 #line 4027 "configure" | 4025 #line 4026 "configure" |
4026 #include "confdefs.h" | 4026 #include "confdefs.h" |
4027 #include <sys/types.h> | 4027 #include <sys/types.h> |
4028 #if STDC_HEADERS | 4028 #if STDC_HEADERS |
4029 #include <stdlib.h> | 4029 #include <stdlib.h> |
4030 #include <stddef.h> | 4030 #include <stddef.h> |
4051 } | 4051 } |
4052 | 4052 |
4053 fi | 4053 fi |
4054 | 4054 |
4055 echo $ac_n "checking for uid_t in sys/types.h""... $ac_c" 1>&6 | 4055 echo $ac_n "checking for uid_t in sys/types.h""... $ac_c" 1>&6 |
4056 echo "configure:4058: checking for uid_t in sys/types.h" >&5 | 4056 echo "configure:4057: checking for uid_t in sys/types.h" >&5 |
4057 | 4057 |
4058 cat > conftest.$ac_ext <<EOF | 4058 cat > conftest.$ac_ext <<EOF |
4059 #line 4061 "configure" | 4059 #line 4060 "configure" |
4060 #include "confdefs.h" | 4060 #include "confdefs.h" |
4061 #include <sys/types.h> | 4061 #include <sys/types.h> |
4062 EOF | 4062 EOF |
4063 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 4063 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
4064 egrep "uid_t" >/dev/null 2>&1; then | 4064 egrep "uid_t" >/dev/null 2>&1; then |
4090 } | 4090 } |
4091 | 4091 |
4092 fi | 4092 fi |
4093 | 4093 |
4094 echo $ac_n "checking for mode_t""... $ac_c" 1>&6 | 4094 echo $ac_n "checking for mode_t""... $ac_c" 1>&6 |
4095 echo "configure:4097: checking for mode_t" >&5 | 4095 echo "configure:4096: checking for mode_t" >&5 |
4096 | 4096 |
4097 cat > conftest.$ac_ext <<EOF | 4097 cat > conftest.$ac_ext <<EOF |
4098 #line 4100 "configure" | 4098 #line 4099 "configure" |
4099 #include "confdefs.h" | 4099 #include "confdefs.h" |
4100 #include <sys/types.h> | 4100 #include <sys/types.h> |
4101 #if STDC_HEADERS | 4101 #if STDC_HEADERS |
4102 #include <stdlib.h> | 4102 #include <stdlib.h> |
4103 #include <stddef.h> | 4103 #include <stddef.h> |
4124 } | 4124 } |
4125 | 4125 |
4126 fi | 4126 fi |
4127 | 4127 |
4128 echo $ac_n "checking for off_t""... $ac_c" 1>&6 | 4128 echo $ac_n "checking for off_t""... $ac_c" 1>&6 |
4129 echo "configure:4131: checking for off_t" >&5 | 4129 echo "configure:4130: checking for off_t" >&5 |
4130 | 4130 |
4131 cat > conftest.$ac_ext <<EOF | 4131 cat > conftest.$ac_ext <<EOF |
4132 #line 4134 "configure" | 4132 #line 4133 "configure" |
4133 #include "confdefs.h" | 4133 #include "confdefs.h" |
4134 #include <sys/types.h> | 4134 #include <sys/types.h> |
4135 #if STDC_HEADERS | 4135 #if STDC_HEADERS |
4136 #include <stdlib.h> | 4136 #include <stdlib.h> |
4137 #include <stddef.h> | 4137 #include <stddef.h> |
4158 } | 4158 } |
4159 | 4159 |
4160 fi | 4160 fi |
4161 | 4161 |
4162 echo $ac_n "checking for ssize_t""... $ac_c" 1>&6 | 4162 echo $ac_n "checking for ssize_t""... $ac_c" 1>&6 |
4163 echo "configure:4165: checking for ssize_t" >&5 | 4163 echo "configure:4164: checking for ssize_t" >&5 |
4164 | 4164 |
4165 cat > conftest.$ac_ext <<EOF | 4165 cat > conftest.$ac_ext <<EOF |
4166 #line 4168 "configure" | 4166 #line 4167 "configure" |
4167 #include "confdefs.h" | 4167 #include "confdefs.h" |
4168 #include <sys/types.h> | 4168 #include <sys/types.h> |
4169 #if STDC_HEADERS | 4169 #if STDC_HEADERS |
4170 #include <stdlib.h> | 4170 #include <stdlib.h> |
4171 #include <stddef.h> | 4171 #include <stddef.h> |
4193 | 4193 |
4194 fi | 4194 fi |
4195 | 4195 |
4196 | 4196 |
4197 echo $ac_n "checking for socklen_t""... $ac_c" 1>&6 | 4197 echo $ac_n "checking for socklen_t""... $ac_c" 1>&6 |
4198 echo "configure:4200: checking for socklen_t" >&5 | 4198 echo "configure:4199: checking for socklen_t" >&5 |
4199 cat > conftest.$ac_ext <<EOF | 4199 cat > conftest.$ac_ext <<EOF |
4200 #line 4202 "configure" | 4200 #line 4201 "configure" |
4201 #include "confdefs.h" | 4201 #include "confdefs.h" |
4202 #include <sys/socket.h> | 4202 #include <sys/socket.h> |
4203 socklen_t x; | 4203 socklen_t x; |
4204 | 4204 |
4205 int main() { | 4205 int main() { |
4206 | 4206 |
4207 ; return 0; } | 4207 ; return 0; } |
4208 EOF | 4208 EOF |
4209 if { (eval echo configure:4211: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 4209 if { (eval echo configure:4210: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
4210 rm -rf conftest* | 4210 rm -rf conftest* |
4211 echo "$ac_t""yes" 1>&6 | 4211 echo "$ac_t""yes" 1>&6 |
4212 else | 4212 else |
4213 echo "configure: failed program was:" >&5 | 4213 echo "configure: failed program was:" >&5 |
4214 cat conftest.$ac_ext >&5 | 4214 cat conftest.$ac_ext >&5 |
4215 rm -rf conftest* | 4215 rm -rf conftest* |
4216 | 4216 |
4217 cat > conftest.$ac_ext <<EOF | 4217 cat > conftest.$ac_ext <<EOF |
4218 #line 4220 "configure" | 4218 #line 4219 "configure" |
4219 #include "confdefs.h" | 4219 #include "confdefs.h" |
4220 #include <sys/socket.h> | 4220 #include <sys/socket.h> |
4221 int accept (int, struct sockaddr *, size_t *); | 4221 int accept (int, struct sockaddr *, size_t *); |
4222 | 4222 |
4223 int main() { | 4223 int main() { |
4224 | 4224 |
4225 ; return 0; } | 4225 ; return 0; } |
4226 EOF | 4226 EOF |
4227 if { (eval echo configure:4229: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 4227 if { (eval echo configure:4228: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
4228 rm -rf conftest* | 4228 rm -rf conftest* |
4229 | 4229 |
4230 echo "$ac_t""size_t" 1>&6 | 4230 echo "$ac_t""size_t" 1>&6 |
4231 { test "$extra_verbose" = "yes" && cat << \EOF | 4231 { test "$extra_verbose" = "yes" && cat << \EOF |
4232 Defining socklen_t = size_t | 4232 Defining socklen_t = size_t |
4254 rm -f conftest* | 4254 rm -f conftest* |
4255 fi | 4255 fi |
4256 rm -f conftest* | 4256 rm -f conftest* |
4257 | 4257 |
4258 echo $ac_n "checking for struct timeval""... $ac_c" 1>&6 | 4258 echo $ac_n "checking for struct timeval""... $ac_c" 1>&6 |
4259 echo "configure:4261: checking for struct timeval" >&5 | 4259 echo "configure:4260: checking for struct timeval" >&5 |
4260 cat > conftest.$ac_ext <<EOF | 4260 cat > conftest.$ac_ext <<EOF |
4261 #line 4263 "configure" | 4261 #line 4262 "configure" |
4262 #include "confdefs.h" | 4262 #include "confdefs.h" |
4263 #ifdef TIME_WITH_SYS_TIME | 4263 #ifdef TIME_WITH_SYS_TIME |
4264 #include <sys/time.h> | 4264 #include <sys/time.h> |
4265 #include <time.h> | 4265 #include <time.h> |
4266 #else | 4266 #else |
4272 #endif | 4272 #endif |
4273 int main() { | 4273 int main() { |
4274 static struct timeval x; x.tv_sec = x.tv_usec; | 4274 static struct timeval x; x.tv_sec = x.tv_usec; |
4275 ; return 0; } | 4275 ; return 0; } |
4276 EOF | 4276 EOF |
4277 if { (eval echo configure:4279: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 4277 if { (eval echo configure:4278: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
4278 rm -rf conftest* | 4278 rm -rf conftest* |
4279 echo "$ac_t""yes" 1>&6 | 4279 echo "$ac_t""yes" 1>&6 |
4280 HAVE_TIMEVAL=yes | 4280 HAVE_TIMEVAL=yes |
4281 { test "$extra_verbose" = "yes" && cat << \EOF | 4281 { test "$extra_verbose" = "yes" && cat << \EOF |
4282 Defining HAVE_TIMEVAL | 4282 Defining HAVE_TIMEVAL |
4294 HAVE_TIMEVAL=no | 4294 HAVE_TIMEVAL=no |
4295 fi | 4295 fi |
4296 rm -f conftest* | 4296 rm -f conftest* |
4297 | 4297 |
4298 echo $ac_n "checking whether struct tm is in sys/time.h or time.h""... $ac_c" 1>&6 | 4298 echo $ac_n "checking whether struct tm is in sys/time.h or time.h""... $ac_c" 1>&6 |
4299 echo "configure:4301: checking whether struct tm is in sys/time.h or time.h" >&5 | 4299 echo "configure:4300: checking whether struct tm is in sys/time.h or time.h" >&5 |
4300 | 4300 |
4301 cat > conftest.$ac_ext <<EOF | 4301 cat > conftest.$ac_ext <<EOF |
4302 #line 4304 "configure" | 4302 #line 4303 "configure" |
4303 #include "confdefs.h" | 4303 #include "confdefs.h" |
4304 #include <sys/types.h> | 4304 #include <sys/types.h> |
4305 #include <time.h> | 4305 #include <time.h> |
4306 int main() { | 4306 int main() { |
4307 struct tm *tp; tp->tm_sec; | 4307 struct tm *tp; tp->tm_sec; |
4308 ; return 0; } | 4308 ; return 0; } |
4309 EOF | 4309 EOF |
4310 if { (eval echo configure:4312: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 4310 if { (eval echo configure:4311: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
4311 rm -rf conftest* | 4311 rm -rf conftest* |
4312 ac_cv_struct_tm=time.h | 4312 ac_cv_struct_tm=time.h |
4313 else | 4313 else |
4314 echo "configure: failed program was:" >&5 | 4314 echo "configure: failed program was:" >&5 |
4315 cat conftest.$ac_ext >&5 | 4315 cat conftest.$ac_ext >&5 |
4329 } | 4329 } |
4330 | 4330 |
4331 fi | 4331 fi |
4332 | 4332 |
4333 echo $ac_n "checking for tm_zone in struct tm""... $ac_c" 1>&6 | 4333 echo $ac_n "checking for tm_zone in struct tm""... $ac_c" 1>&6 |
4334 echo "configure:4336: checking for tm_zone in struct tm" >&5 | 4334 echo "configure:4335: checking for tm_zone in struct tm" >&5 |
4335 | 4335 |
4336 cat > conftest.$ac_ext <<EOF | 4336 cat > conftest.$ac_ext <<EOF |
4337 #line 4339 "configure" | 4337 #line 4338 "configure" |
4338 #include "confdefs.h" | 4338 #include "confdefs.h" |
4339 #include <sys/types.h> | 4339 #include <sys/types.h> |
4340 #include <$ac_cv_struct_tm> | 4340 #include <$ac_cv_struct_tm> |
4341 int main() { | 4341 int main() { |
4342 struct tm tm; tm.tm_zone; | 4342 struct tm tm; tm.tm_zone; |
4343 ; return 0; } | 4343 ; return 0; } |
4344 EOF | 4344 EOF |
4345 if { (eval echo configure:4347: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 4345 if { (eval echo configure:4346: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
4346 rm -rf conftest* | 4346 rm -rf conftest* |
4347 ac_cv_struct_tm_zone=yes | 4347 ac_cv_struct_tm_zone=yes |
4348 else | 4348 else |
4349 echo "configure: failed program was:" >&5 | 4349 echo "configure: failed program was:" >&5 |
4350 cat conftest.$ac_ext >&5 | 4350 cat conftest.$ac_ext >&5 |
4363 EOF | 4363 EOF |
4364 } | 4364 } |
4365 | 4365 |
4366 else | 4366 else |
4367 echo $ac_n "checking for tzname""... $ac_c" 1>&6 | 4367 echo $ac_n "checking for tzname""... $ac_c" 1>&6 |
4368 echo "configure:4370: checking for tzname" >&5 | 4368 echo "configure:4369: checking for tzname" >&5 |
4369 | 4369 |
4370 cat > conftest.$ac_ext <<EOF | 4370 cat > conftest.$ac_ext <<EOF |
4371 #line 4373 "configure" | 4371 #line 4372 "configure" |
4372 #include "confdefs.h" | 4372 #include "confdefs.h" |
4373 #include <time.h> | 4373 #include <time.h> |
4374 #ifndef tzname /* For SGI. */ | 4374 #ifndef tzname /* For SGI. */ |
4375 extern char *tzname[]; /* RS6000 and others reject char **tzname. */ | 4375 extern char *tzname[]; /* RS6000 and others reject char **tzname. */ |
4376 #endif | 4376 #endif |
4377 int main() { | 4377 int main() { |
4378 atoi(*tzname); | 4378 atoi(*tzname); |
4379 ; return 0; } | 4379 ; return 0; } |
4380 EOF | 4380 EOF |
4381 if { (eval echo configure:4383: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4381 if { (eval echo configure:4382: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4382 rm -rf conftest* | 4382 rm -rf conftest* |
4383 ac_cv_var_tzname=yes | 4383 ac_cv_var_tzname=yes |
4384 else | 4384 else |
4385 echo "configure: failed program was:" >&5 | 4385 echo "configure: failed program was:" >&5 |
4386 cat conftest.$ac_ext >&5 | 4386 cat conftest.$ac_ext >&5 |
4402 fi | 4402 fi |
4403 fi | 4403 fi |
4404 | 4404 |
4405 | 4405 |
4406 echo $ac_n "checking for working const""... $ac_c" 1>&6 | 4406 echo $ac_n "checking for working const""... $ac_c" 1>&6 |
4407 echo "configure:4409: checking for working const" >&5 | 4407 echo "configure:4408: checking for working const" >&5 |
4408 | 4408 |
4409 cat > conftest.$ac_ext <<EOF | 4409 cat > conftest.$ac_ext <<EOF |
4410 #line 4412 "configure" | 4410 #line 4411 "configure" |
4411 #include "confdefs.h" | 4411 #include "confdefs.h" |
4412 | 4412 |
4413 int main() { | 4413 int main() { |
4414 | 4414 |
4415 /* Ultrix mips cc rejects this. */ | 4415 /* Ultrix mips cc rejects this. */ |
4454 const int foo = 10; | 4454 const int foo = 10; |
4455 } | 4455 } |
4456 | 4456 |
4457 ; return 0; } | 4457 ; return 0; } |
4458 EOF | 4458 EOF |
4459 if { (eval echo configure:4461: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 4459 if { (eval echo configure:4460: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
4460 rm -rf conftest* | 4460 rm -rf conftest* |
4461 ac_cv_c_const=yes | 4461 ac_cv_c_const=yes |
4462 else | 4462 else |
4463 echo "configure: failed program was:" >&5 | 4463 echo "configure: failed program was:" >&5 |
4464 cat conftest.$ac_ext >&5 | 4464 cat conftest.$ac_ext >&5 |
4479 | 4479 |
4480 fi | 4480 fi |
4481 | 4481 |
4482 | 4482 |
4483 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6 | 4483 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6 |
4484 echo "configure:4486: checking whether ${MAKE-make} sets \${MAKE}" >&5 | 4484 echo "configure:4485: checking whether ${MAKE-make} sets \${MAKE}" >&5 |
4485 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'` | 4485 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'` |
4486 | 4486 |
4487 cat > conftestmake <<\EOF | 4487 cat > conftestmake <<\EOF |
4488 all: | 4488 all: |
4489 @echo 'ac_maketemp="${MAKE}"' | 4489 @echo 'ac_maketemp="${MAKE}"' |
4504 SET_MAKE="MAKE=${MAKE-make}" | 4504 SET_MAKE="MAKE=${MAKE-make}" |
4505 fi | 4505 fi |
4506 | 4506 |
4507 | 4507 |
4508 echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6 | 4508 echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6 |
4509 echo "configure:4511: checking whether byte ordering is bigendian" >&5 | 4509 echo "configure:4510: checking whether byte ordering is bigendian" >&5 |
4510 | 4510 |
4511 ac_cv_c_bigendian=unknown | 4511 ac_cv_c_bigendian=unknown |
4512 # See if sys/param.h defines the BYTE_ORDER macro. | 4512 # See if sys/param.h defines the BYTE_ORDER macro. |
4513 cat > conftest.$ac_ext <<EOF | 4513 cat > conftest.$ac_ext <<EOF |
4514 #line 4516 "configure" | 4514 #line 4515 "configure" |
4515 #include "confdefs.h" | 4515 #include "confdefs.h" |
4516 #include <sys/types.h> | 4516 #include <sys/types.h> |
4517 #include <sys/param.h> | 4517 #include <sys/param.h> |
4518 int main() { | 4518 int main() { |
4519 | 4519 |
4520 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN | 4520 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN |
4521 bogus endian macros | 4521 bogus endian macros |
4522 #endif | 4522 #endif |
4523 ; return 0; } | 4523 ; return 0; } |
4524 EOF | 4524 EOF |
4525 if { (eval echo configure:4527: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 4525 if { (eval echo configure:4526: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
4526 rm -rf conftest* | 4526 rm -rf conftest* |
4527 # It does; now see whether it defined to BIG_ENDIAN or not. | 4527 # It does; now see whether it defined to BIG_ENDIAN or not. |
4528 cat > conftest.$ac_ext <<EOF | 4528 cat > conftest.$ac_ext <<EOF |
4529 #line 4531 "configure" | 4529 #line 4530 "configure" |
4530 #include "confdefs.h" | 4530 #include "confdefs.h" |
4531 #include <sys/types.h> | 4531 #include <sys/types.h> |
4532 #include <sys/param.h> | 4532 #include <sys/param.h> |
4533 int main() { | 4533 int main() { |
4534 | 4534 |
4535 #if BYTE_ORDER != BIG_ENDIAN | 4535 #if BYTE_ORDER != BIG_ENDIAN |
4536 not big endian | 4536 not big endian |
4537 #endif | 4537 #endif |
4538 ; return 0; } | 4538 ; return 0; } |
4539 EOF | 4539 EOF |
4540 if { (eval echo configure:4542: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 4540 if { (eval echo configure:4541: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
4541 rm -rf conftest* | 4541 rm -rf conftest* |
4542 ac_cv_c_bigendian=yes | 4542 ac_cv_c_bigendian=yes |
4543 else | 4543 else |
4544 echo "configure: failed program was:" >&5 | 4544 echo "configure: failed program was:" >&5 |
4545 cat conftest.$ac_ext >&5 | 4545 cat conftest.$ac_ext >&5 |
4552 cat conftest.$ac_ext >&5 | 4552 cat conftest.$ac_ext >&5 |
4553 fi | 4553 fi |
4554 rm -f conftest* | 4554 rm -f conftest* |
4555 if test $ac_cv_c_bigendian = unknown; then | 4555 if test $ac_cv_c_bigendian = unknown; then |
4556 cat > conftest.$ac_ext <<EOF | 4556 cat > conftest.$ac_ext <<EOF |
4557 #line 4559 "configure" | 4557 #line 4558 "configure" |
4558 #include "confdefs.h" | 4558 #include "confdefs.h" |
4559 main () { | 4559 main () { |
4560 /* Are we little or big endian? From Harbison&Steele. */ | 4560 /* Are we little or big endian? From Harbison&Steele. */ |
4561 union | 4561 union |
4562 { | 4562 { |
4565 } u; | 4565 } u; |
4566 u.l = 1; | 4566 u.l = 1; |
4567 exit (u.c[sizeof (long) - 1] == 1); | 4567 exit (u.c[sizeof (long) - 1] == 1); |
4568 } | 4568 } |
4569 EOF | 4569 EOF |
4570 if { (eval echo configure:4572: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 4570 if { (eval echo configure:4571: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
4571 then | 4571 then |
4572 ac_cv_c_bigendian=no | 4572 ac_cv_c_bigendian=no |
4573 else | 4573 else |
4574 conftest_rc="$?" | 4574 conftest_rc="$?" |
4575 echo "configure: failed program was:" >&5 | 4575 echo "configure: failed program was:" >&5 |
4592 | 4592 |
4593 fi | 4593 fi |
4594 | 4594 |
4595 | 4595 |
4596 echo $ac_n "checking size of short""... $ac_c" 1>&6 | 4596 echo $ac_n "checking size of short""... $ac_c" 1>&6 |
4597 echo "configure:4599: checking size of short" >&5 | 4597 echo "configure:4598: checking size of short" >&5 |
4598 | 4598 |
4599 cat > conftest.$ac_ext <<EOF | 4599 cat > conftest.$ac_ext <<EOF |
4600 #line 4602 "configure" | 4600 #line 4601 "configure" |
4601 #include "confdefs.h" | 4601 #include "confdefs.h" |
4602 #include <stdio.h> | 4602 #include <stdio.h> |
4603 main() | 4603 main() |
4604 { | 4604 { |
4605 FILE *f=fopen("conftestval", "w"); | 4605 FILE *f=fopen("conftestval", "w"); |
4606 if (!f) exit(1); | 4606 if (!f) exit(1); |
4607 fprintf(f, "%d\n", sizeof(short)); | 4607 fprintf(f, "%d\n", sizeof(short)); |
4608 exit(0); | 4608 exit(0); |
4609 } | 4609 } |
4610 EOF | 4610 EOF |
4611 if { (eval echo configure:4613: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 4611 if { (eval echo configure:4612: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
4612 then | 4612 then |
4613 ac_cv_sizeof_short=`cat conftestval` | 4613 ac_cv_sizeof_short=`cat conftestval` |
4614 else | 4614 else |
4615 conftest_rc="$?" | 4615 conftest_rc="$?" |
4616 echo "configure: failed program was:" >&5 | 4616 echo "configure: failed program was:" >&5 |
4634 echo "*** PANIC *** Configure tests are not working - compiler is broken." | 4634 echo "*** PANIC *** Configure tests are not working - compiler is broken." |
4635 echo "*** PANIC *** Please examine config.log for compilation errors." | 4635 echo "*** PANIC *** Please examine config.log for compilation errors." |
4636 exit 1 | 4636 exit 1 |
4637 fi | 4637 fi |
4638 echo $ac_n "checking size of int""... $ac_c" 1>&6 | 4638 echo $ac_n "checking size of int""... $ac_c" 1>&6 |
4639 echo "configure:4641: checking size of int" >&5 | 4639 echo "configure:4640: checking size of int" >&5 |
4640 | 4640 |
4641 cat > conftest.$ac_ext <<EOF | 4641 cat > conftest.$ac_ext <<EOF |
4642 #line 4644 "configure" | 4642 #line 4643 "configure" |
4643 #include "confdefs.h" | 4643 #include "confdefs.h" |
4644 #include <stdio.h> | 4644 #include <stdio.h> |
4645 main() | 4645 main() |
4646 { | 4646 { |
4647 FILE *f=fopen("conftestval", "w"); | 4647 FILE *f=fopen("conftestval", "w"); |
4648 if (!f) exit(1); | 4648 if (!f) exit(1); |
4649 fprintf(f, "%d\n", sizeof(int)); | 4649 fprintf(f, "%d\n", sizeof(int)); |
4650 exit(0); | 4650 exit(0); |
4651 } | 4651 } |
4652 EOF | 4652 EOF |
4653 if { (eval echo configure:4655: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 4653 if { (eval echo configure:4654: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
4654 then | 4654 then |
4655 ac_cv_sizeof_int=`cat conftestval` | 4655 ac_cv_sizeof_int=`cat conftestval` |
4656 else | 4656 else |
4657 conftest_rc="$?" | 4657 conftest_rc="$?" |
4658 echo "configure: failed program was:" >&5 | 4658 echo "configure: failed program was:" >&5 |
4670 EOF | 4670 EOF |
4671 } | 4671 } |
4672 | 4672 |
4673 | 4673 |
4674 echo $ac_n "checking size of long""... $ac_c" 1>&6 | 4674 echo $ac_n "checking size of long""... $ac_c" 1>&6 |
4675 echo "configure:4677: checking size of long" >&5 | 4675 echo "configure:4676: checking size of long" >&5 |
4676 | 4676 |
4677 cat > conftest.$ac_ext <<EOF | 4677 cat > conftest.$ac_ext <<EOF |
4678 #line 4680 "configure" | 4678 #line 4679 "configure" |
4679 #include "confdefs.h" | 4679 #include "confdefs.h" |
4680 #include <stdio.h> | 4680 #include <stdio.h> |
4681 main() | 4681 main() |
4682 { | 4682 { |
4683 FILE *f=fopen("conftestval", "w"); | 4683 FILE *f=fopen("conftestval", "w"); |
4684 if (!f) exit(1); | 4684 if (!f) exit(1); |
4685 fprintf(f, "%d\n", sizeof(long)); | 4685 fprintf(f, "%d\n", sizeof(long)); |
4686 exit(0); | 4686 exit(0); |
4687 } | 4687 } |
4688 EOF | 4688 EOF |
4689 if { (eval echo configure:4691: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 4689 if { (eval echo configure:4690: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
4690 then | 4690 then |
4691 ac_cv_sizeof_long=`cat conftestval` | 4691 ac_cv_sizeof_long=`cat conftestval` |
4692 else | 4692 else |
4693 conftest_rc="$?" | 4693 conftest_rc="$?" |
4694 echo "configure: failed program was:" >&5 | 4694 echo "configure: failed program was:" >&5 |
4706 EOF | 4706 EOF |
4707 } | 4707 } |
4708 | 4708 |
4709 | 4709 |
4710 echo $ac_n "checking size of long long""... $ac_c" 1>&6 | 4710 echo $ac_n "checking size of long long""... $ac_c" 1>&6 |
4711 echo "configure:4713: checking size of long long" >&5 | 4711 echo "configure:4712: checking size of long long" >&5 |
4712 | 4712 |
4713 cat > conftest.$ac_ext <<EOF | 4713 cat > conftest.$ac_ext <<EOF |
4714 #line 4716 "configure" | 4714 #line 4715 "configure" |
4715 #include "confdefs.h" | 4715 #include "confdefs.h" |
4716 #include <stdio.h> | 4716 #include <stdio.h> |
4717 main() | 4717 main() |
4718 { | 4718 { |
4719 FILE *f=fopen("conftestval", "w"); | 4719 FILE *f=fopen("conftestval", "w"); |
4720 if (!f) exit(1); | 4720 if (!f) exit(1); |
4721 fprintf(f, "%d\n", sizeof(long long)); | 4721 fprintf(f, "%d\n", sizeof(long long)); |
4722 exit(0); | 4722 exit(0); |
4723 } | 4723 } |
4724 EOF | 4724 EOF |
4725 if { (eval echo configure:4727: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 4725 if { (eval echo configure:4726: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
4726 then | 4726 then |
4727 ac_cv_sizeof_long_long=`cat conftestval` | 4727 ac_cv_sizeof_long_long=`cat conftestval` |
4728 else | 4728 else |
4729 conftest_rc="$?" | 4729 conftest_rc="$?" |
4730 echo "configure: failed program was:" >&5 | 4730 echo "configure: failed program was:" >&5 |
4742 EOF | 4742 EOF |
4743 } | 4743 } |
4744 | 4744 |
4745 | 4745 |
4746 echo $ac_n "checking size of void *""... $ac_c" 1>&6 | 4746 echo $ac_n "checking size of void *""... $ac_c" 1>&6 |
4747 echo "configure:4749: checking size of void *" >&5 | 4747 echo "configure:4748: checking size of void *" >&5 |
4748 | 4748 |
4749 cat > conftest.$ac_ext <<EOF | 4749 cat > conftest.$ac_ext <<EOF |
4750 #line 4752 "configure" | 4750 #line 4751 "configure" |
4751 #include "confdefs.h" | 4751 #include "confdefs.h" |
4752 #include <stdio.h> | 4752 #include <stdio.h> |
4753 main() | 4753 main() |
4754 { | 4754 { |
4755 FILE *f=fopen("conftestval", "w"); | 4755 FILE *f=fopen("conftestval", "w"); |
4756 if (!f) exit(1); | 4756 if (!f) exit(1); |
4757 fprintf(f, "%d\n", sizeof(void *)); | 4757 fprintf(f, "%d\n", sizeof(void *)); |
4758 exit(0); | 4758 exit(0); |
4759 } | 4759 } |
4760 EOF | 4760 EOF |
4761 if { (eval echo configure:4763: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 4761 if { (eval echo configure:4762: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
4762 then | 4762 then |
4763 ac_cv_sizeof_void_p=`cat conftestval` | 4763 ac_cv_sizeof_void_p=`cat conftestval` |
4764 else | 4764 else |
4765 conftest_rc="$?" | 4765 conftest_rc="$?" |
4766 echo "configure: failed program was:" >&5 | 4766 echo "configure: failed program was:" >&5 |
4779 } | 4779 } |
4780 | 4780 |
4781 | 4781 |
4782 | 4782 |
4783 echo $ac_n "checking for long file names""... $ac_c" 1>&6 | 4783 echo $ac_n "checking for long file names""... $ac_c" 1>&6 |
4784 echo "configure:4786: checking for long file names" >&5 | 4784 echo "configure:4785: checking for long file names" >&5 |
4785 | 4785 |
4786 ac_cv_sys_long_file_names=yes | 4786 ac_cv_sys_long_file_names=yes |
4787 # Test for long file names in all the places we know might matter: | 4787 # Test for long file names in all the places we know might matter: |
4788 # . the current directory, where building will happen | 4788 # . the current directory, where building will happen |
4789 # $prefix/lib where we will be installing things | 4789 # $prefix/lib where we will be installing things |
4825 | 4825 |
4826 fi | 4826 fi |
4827 | 4827 |
4828 | 4828 |
4829 echo $ac_n "checking for sin""... $ac_c" 1>&6 | 4829 echo $ac_n "checking for sin""... $ac_c" 1>&6 |
4830 echo "configure:4832: checking for sin" >&5 | 4830 echo "configure:4831: checking for sin" >&5 |
4831 | 4831 |
4832 cat > conftest.$ac_ext <<EOF | 4832 cat > conftest.$ac_ext <<EOF |
4833 #line 4835 "configure" | 4833 #line 4834 "configure" |
4834 #include "confdefs.h" | 4834 #include "confdefs.h" |
4835 /* System header to define __stub macros and hopefully few prototypes, | 4835 /* System header to define __stub macros and hopefully few prototypes, |
4836 which can conflict with char sin(); below. */ | 4836 which can conflict with char sin(); below. */ |
4837 #include <assert.h> | 4837 #include <assert.h> |
4838 /* Override any gcc2 internal prototype to avoid an error. */ | 4838 /* Override any gcc2 internal prototype to avoid an error. */ |
4851 sin(); | 4851 sin(); |
4852 #endif | 4852 #endif |
4853 | 4853 |
4854 ; return 0; } | 4854 ; return 0; } |
4855 EOF | 4855 EOF |
4856 if { (eval echo configure:4858: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4856 if { (eval echo configure:4857: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4857 rm -rf conftest* | 4857 rm -rf conftest* |
4858 eval "ac_cv_func_sin=yes" | 4858 eval "ac_cv_func_sin=yes" |
4859 else | 4859 else |
4860 echo "configure: failed program was:" >&5 | 4860 echo "configure: failed program was:" >&5 |
4861 cat conftest.$ac_ext >&5 | 4861 cat conftest.$ac_ext >&5 |
4869 : | 4869 : |
4870 else | 4870 else |
4871 echo "$ac_t""no" 1>&6 | 4871 echo "$ac_t""no" 1>&6 |
4872 | 4872 |
4873 echo $ac_n "checking for sin in -lm""... $ac_c" 1>&6 | 4873 echo $ac_n "checking for sin in -lm""... $ac_c" 1>&6 |
4874 echo "configure:4876: checking for sin in -lm" >&5 | 4874 echo "configure:4875: checking for sin in -lm" >&5 |
4875 ac_lib_var=`echo m'_'sin | sed 'y%./+-%__p_%'` | 4875 ac_lib_var=`echo m'_'sin | sed 'y%./+-%__p_%'` |
4876 | 4876 |
4877 xe_check_libs=" -lm " | 4877 xe_check_libs=" -lm " |
4878 cat > conftest.$ac_ext <<EOF | 4878 cat > conftest.$ac_ext <<EOF |
4879 #line 4881 "configure" | 4879 #line 4880 "configure" |
4880 #include "confdefs.h" | 4880 #include "confdefs.h" |
4881 /* Override any gcc2 internal prototype to avoid an error. */ | 4881 /* Override any gcc2 internal prototype to avoid an error. */ |
4882 /* We use char because int might match the return type of a gcc2 | 4882 /* We use char because int might match the return type of a gcc2 |
4883 builtin and then its argument prototype would still apply. */ | 4883 builtin and then its argument prototype would still apply. */ |
4884 char sin(); | 4884 char sin(); |
4885 | 4885 |
4886 int main() { | 4886 int main() { |
4887 sin() | 4887 sin() |
4888 ; return 0; } | 4888 ; return 0; } |
4889 EOF | 4889 EOF |
4890 if { (eval echo configure:4892: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4890 if { (eval echo configure:4891: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4891 rm -rf conftest* | 4891 rm -rf conftest* |
4892 eval "ac_cv_lib_$ac_lib_var=yes" | 4892 eval "ac_cv_lib_$ac_lib_var=yes" |
4893 else | 4893 else |
4894 echo "configure: failed program was:" >&5 | 4894 echo "configure: failed program was:" >&5 |
4895 cat conftest.$ac_ext >&5 | 4895 cat conftest.$ac_ext >&5 |
4920 | 4920 |
4921 fi | 4921 fi |
4922 | 4922 |
4923 | 4923 |
4924 cat > conftest.$ac_ext <<EOF | 4924 cat > conftest.$ac_ext <<EOF |
4925 #line 4927 "configure" | 4925 #line 4926 "configure" |
4926 #include "confdefs.h" | 4926 #include "confdefs.h" |
4927 #include <math.h> | 4927 #include <math.h> |
4928 int main() { | 4928 int main() { |
4929 return atanh(1.0) + asinh(1.0) + acosh(1.0); | 4929 return atanh(1.0) + asinh(1.0) + acosh(1.0); |
4930 ; return 0; } | 4930 ; return 0; } |
4931 EOF | 4931 EOF |
4932 if { (eval echo configure:4934: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4932 if { (eval echo configure:4933: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4933 rm -rf conftest* | 4933 rm -rf conftest* |
4934 { test "$extra_verbose" = "yes" && cat << \EOF | 4934 { test "$extra_verbose" = "yes" && cat << \EOF |
4935 Defining HAVE_INVERSE_HYPERBOLIC | 4935 Defining HAVE_INVERSE_HYPERBOLIC |
4936 EOF | 4936 EOF |
4937 cat >> confdefs.h <<\EOF | 4937 cat >> confdefs.h <<\EOF |
4946 rm -f conftest* | 4946 rm -f conftest* |
4947 | 4947 |
4948 for ac_func in mkstemp | 4948 for ac_func in mkstemp |
4949 do | 4949 do |
4950 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 4950 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
4951 echo "configure:4953: checking for $ac_func" >&5 | 4951 echo "configure:4952: checking for $ac_func" >&5 |
4952 | 4952 |
4953 cat > conftest.$ac_ext <<EOF | 4953 cat > conftest.$ac_ext <<EOF |
4954 #line 4956 "configure" | 4954 #line 4955 "configure" |
4955 #include "confdefs.h" | 4955 #include "confdefs.h" |
4956 /* System header to define __stub macros and hopefully few prototypes, | 4956 /* System header to define __stub macros and hopefully few prototypes, |
4957 which can conflict with char $ac_func(); below. */ | 4957 which can conflict with char $ac_func(); below. */ |
4958 #include <assert.h> | 4958 #include <assert.h> |
4959 /* Override any gcc2 internal prototype to avoid an error. */ | 4959 /* Override any gcc2 internal prototype to avoid an error. */ |
4972 $ac_func(); | 4972 $ac_func(); |
4973 #endif | 4973 #endif |
4974 | 4974 |
4975 ; return 0; } | 4975 ; return 0; } |
4976 EOF | 4976 EOF |
4977 if { (eval echo configure:4979: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4977 if { (eval echo configure:4978: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4978 rm -rf conftest* | 4978 rm -rf conftest* |
4979 eval "ac_cv_func_$ac_func=yes" | 4979 eval "ac_cv_func_$ac_func=yes" |
4980 else | 4980 else |
4981 echo "configure: failed program was:" >&5 | 4981 echo "configure: failed program was:" >&5 |
4982 cat conftest.$ac_ext >&5 | 4982 cat conftest.$ac_ext >&5 |
5001 fi | 5001 fi |
5002 done | 5002 done |
5003 | 5003 |
5004 | 5004 |
5005 echo "checking type of mail spool file locking" 1>&6 | 5005 echo "checking type of mail spool file locking" 1>&6 |
5006 echo "configure:5008: checking type of mail spool file locking" >&5 | 5006 echo "configure:5007: checking type of mail spool file locking" >&5 |
5007 for ac_func in lockf flock | 5007 for ac_func in lockf flock |
5008 do | 5008 do |
5009 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 5009 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
5010 echo "configure:5012: checking for $ac_func" >&5 | 5010 echo "configure:5011: checking for $ac_func" >&5 |
5011 | 5011 |
5012 cat > conftest.$ac_ext <<EOF | 5012 cat > conftest.$ac_ext <<EOF |
5013 #line 5015 "configure" | 5013 #line 5014 "configure" |
5014 #include "confdefs.h" | 5014 #include "confdefs.h" |
5015 /* System header to define __stub macros and hopefully few prototypes, | 5015 /* System header to define __stub macros and hopefully few prototypes, |
5016 which can conflict with char $ac_func(); below. */ | 5016 which can conflict with char $ac_func(); below. */ |
5017 #include <assert.h> | 5017 #include <assert.h> |
5018 /* Override any gcc2 internal prototype to avoid an error. */ | 5018 /* Override any gcc2 internal prototype to avoid an error. */ |
5031 $ac_func(); | 5031 $ac_func(); |
5032 #endif | 5032 #endif |
5033 | 5033 |
5034 ; return 0; } | 5034 ; return 0; } |
5035 EOF | 5035 EOF |
5036 if { (eval echo configure:5038: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5036 if { (eval echo configure:5037: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5037 rm -rf conftest* | 5037 rm -rf conftest* |
5038 eval "ac_cv_func_$ac_func=yes" | 5038 eval "ac_cv_func_$ac_func=yes" |
5039 else | 5039 else |
5040 echo "configure: failed program was:" >&5 | 5040 echo "configure: failed program was:" >&5 |
5041 cat conftest.$ac_ext >&5 | 5041 cat conftest.$ac_ext >&5 |
5113 { echo "Error:" "locking mail locking requested but not available." >&2; exit 1; } | 5113 { echo "Error:" "locking mail locking requested but not available." >&2; exit 1; } |
5114 | 5114 |
5115 case "$opsys" in decosf*) | 5115 case "$opsys" in decosf*) |
5116 | 5116 |
5117 echo $ac_n "checking for cma_open in -lpthreads""... $ac_c" 1>&6 | 5117 echo $ac_n "checking for cma_open in -lpthreads""... $ac_c" 1>&6 |
5118 echo "configure:5120: checking for cma_open in -lpthreads" >&5 | 5118 echo "configure:5119: checking for cma_open in -lpthreads" >&5 |
5119 ac_lib_var=`echo pthreads'_'cma_open | sed 'y%./+-%__p_%'` | 5119 ac_lib_var=`echo pthreads'_'cma_open | sed 'y%./+-%__p_%'` |
5120 | 5120 |
5121 xe_check_libs=" -lpthreads " | 5121 xe_check_libs=" -lpthreads " |
5122 cat > conftest.$ac_ext <<EOF | 5122 cat > conftest.$ac_ext <<EOF |
5123 #line 5125 "configure" | 5123 #line 5124 "configure" |
5124 #include "confdefs.h" | 5124 #include "confdefs.h" |
5125 /* Override any gcc2 internal prototype to avoid an error. */ | 5125 /* Override any gcc2 internal prototype to avoid an error. */ |
5126 /* We use char because int might match the return type of a gcc2 | 5126 /* We use char because int might match the return type of a gcc2 |
5127 builtin and then its argument prototype would still apply. */ | 5127 builtin and then its argument prototype would still apply. */ |
5128 char cma_open(); | 5128 char cma_open(); |
5129 | 5129 |
5130 int main() { | 5130 int main() { |
5131 cma_open() | 5131 cma_open() |
5132 ; return 0; } | 5132 ; return 0; } |
5133 EOF | 5133 EOF |
5134 if { (eval echo configure:5136: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5134 if { (eval echo configure:5135: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5135 rm -rf conftest* | 5135 rm -rf conftest* |
5136 eval "ac_cv_lib_$ac_lib_var=yes" | 5136 eval "ac_cv_lib_$ac_lib_var=yes" |
5137 else | 5137 else |
5138 echo "configure: failed program was:" >&5 | 5138 echo "configure: failed program was:" >&5 |
5139 cat conftest.$ac_ext >&5 | 5139 cat conftest.$ac_ext >&5 |
5166 c_switch_site="$c_switch_site -threads" ;; | 5166 c_switch_site="$c_switch_site -threads" ;; |
5167 esac | 5167 esac |
5168 | 5168 |
5169 | 5169 |
5170 echo $ac_n "checking whether the -xildoff compiler flag is required""... $ac_c" 1>&6 | 5170 echo $ac_n "checking whether the -xildoff compiler flag is required""... $ac_c" 1>&6 |
5171 echo "configure:5173: checking whether the -xildoff compiler flag is required" >&5 | 5171 echo "configure:5172: checking whether the -xildoff compiler flag is required" >&5 |
5172 if ${CC-cc} '-###' -xildon no_such_file.c 2>&1 | grep '^[^ ]*/ild ' > /dev/null ; then | 5172 if ${CC-cc} '-###' -xildon no_such_file.c 2>&1 | grep '^[^ ]*/ild ' > /dev/null ; then |
5173 if ${CC-cc} '-###' -xildoff no_such_file.c 2>&1 | grep '^[^ ]*/ild ' > /dev/null ; | 5173 if ${CC-cc} '-###' -xildoff no_such_file.c 2>&1 | grep '^[^ ]*/ild ' > /dev/null ; |
5174 then echo "$ac_t""no" 1>&6; | 5174 then echo "$ac_t""no" 1>&6; |
5175 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 | 5175 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 |
5176 fi | 5176 fi |
5178 fi | 5178 fi |
5179 | 5179 |
5180 if test "$opsys" = "sol2"; then | 5180 if test "$opsys" = "sol2"; then |
5181 if test "$os_release" -ge 56; then | 5181 if test "$os_release" -ge 56; then |
5182 echo $ac_n "checking for \"-z ignore\" linker flag""... $ac_c" 1>&6 | 5182 echo $ac_n "checking for \"-z ignore\" linker flag""... $ac_c" 1>&6 |
5183 echo "configure:5185: checking for \"-z ignore\" linker flag" >&5 | 5183 echo "configure:5184: checking for \"-z ignore\" linker flag" >&5 |
5184 case "`ld -h 2>&1`" in | 5184 case "`ld -h 2>&1`" in |
5185 *-z\ ignore\|record* ) echo "$ac_t""yes" 1>&6 | 5185 *-z\ ignore\|record* ) echo "$ac_t""yes" 1>&6 |
5186 ld_switch_site="-z ignore $ld_switch_site" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-z ignore\" to \$ld_switch_site"; fi ;; | 5186 ld_switch_site="-z ignore $ld_switch_site" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-z ignore\" to \$ld_switch_site"; fi ;; |
5187 *) echo "$ac_t""no" 1>&6 ;; | 5187 *) echo "$ac_t""no" 1>&6 ;; |
5188 esac | 5188 esac |
5189 fi | 5189 fi |
5190 fi | 5190 fi |
5191 | 5191 |
5192 | 5192 |
5193 echo "checking "for specified window system"" 1>&6 | 5193 echo "checking "for specified window system"" 1>&6 |
5194 echo "configure:5196: checking "for specified window system"" >&5 | 5194 echo "configure:5195: checking "for specified window system"" >&5 |
5195 | 5195 |
5196 | 5196 |
5197 GNOME_CONFIG=no | 5197 GNOME_CONFIG=no |
5198 GTK_CONFIG=no | 5198 GTK_CONFIG=no |
5199 | 5199 |
5200 if test "$with_gnome" != "no"; then | 5200 if test "$with_gnome" != "no"; then |
5201 echo $ac_n "checking for GNOME configuration script""... $ac_c" 1>&6 | 5201 echo $ac_n "checking for GNOME configuration script""... $ac_c" 1>&6 |
5202 echo "configure:5204: checking for GNOME configuration script" >&5 | 5202 echo "configure:5203: checking for GNOME configuration script" >&5 |
5203 for possible in gnome-config | 5203 for possible in gnome-config |
5204 do | 5204 do |
5205 possible_version=`${possible} --version 2> /dev/null` | 5205 possible_version=`${possible} --version 2> /dev/null` |
5206 if test "x${possible_version}" != "x"; then | 5206 if test "x${possible_version}" != "x"; then |
5207 GNOME_CONFIG="${possible}" | 5207 GNOME_CONFIG="${possible}" |
5228 c_switch_gtk="$c_switch_gtk ${GNOME_CFLAGS}" && if test "$extra_verbose" = "yes"; then echo " Appending \"${GNOME_CFLAGS}\" to \$c_switch_gtk"; fi | 5228 c_switch_gtk="$c_switch_gtk ${GNOME_CFLAGS}" && if test "$extra_verbose" = "yes"; then echo " Appending \"${GNOME_CFLAGS}\" to \$c_switch_gtk"; fi |
5229 fi | 5229 fi |
5230 | 5230 |
5231 if test "$with_gtk" != "no";then | 5231 if test "$with_gtk" != "no";then |
5232 echo $ac_n "checking for GTK configuration script""... $ac_c" 1>&6 | 5232 echo $ac_n "checking for GTK configuration script""... $ac_c" 1>&6 |
5233 echo "configure:5235: checking for GTK configuration script" >&5 | 5233 echo "configure:5234: checking for GTK configuration script" >&5 |
5234 for possible in gtk12-config gtk14-config gtk-config | 5234 for possible in gtk12-config gtk14-config gtk-config |
5235 do | 5235 do |
5236 possible_version=`${possible} --version 2> /dev/null` | 5236 possible_version=`${possible} --version 2> /dev/null` |
5237 if test "x${possible_version}" != "x"; then | 5237 if test "x${possible_version}" != "x"; then |
5238 GTK_CONFIG="${possible}" | 5238 GTK_CONFIG="${possible}" |
5250 echo "$ac_t""${GTK_CONFIG}" 1>&6 | 5250 echo "$ac_t""${GTK_CONFIG}" 1>&6 |
5251 fi | 5251 fi |
5252 | 5252 |
5253 if test "${GTK_CONFIG}" != "no"; then | 5253 if test "${GTK_CONFIG}" != "no"; then |
5254 echo $ac_n "checking gtk version""... $ac_c" 1>&6 | 5254 echo $ac_n "checking gtk version""... $ac_c" 1>&6 |
5255 echo "configure:5257: checking gtk version" >&5 | 5255 echo "configure:5256: checking gtk version" >&5 |
5256 GTK_VERSION=`${GTK_CONFIG} --version` | 5256 GTK_VERSION=`${GTK_CONFIG} --version` |
5257 echo "$ac_t""${GTK_VERSION}" 1>&6 | 5257 echo "$ac_t""${GTK_VERSION}" 1>&6 |
5258 | 5258 |
5259 echo $ac_n "checking gtk libs""... $ac_c" 1>&6 | 5259 echo $ac_n "checking gtk libs""... $ac_c" 1>&6 |
5260 echo "configure:5262: checking gtk libs" >&5 | 5260 echo "configure:5261: checking gtk libs" >&5 |
5261 GTK_LIBS=`${GTK_CONFIG} --libs` | 5261 GTK_LIBS=`${GTK_CONFIG} --libs` |
5262 libs_gtk="$libs_gtk ${GTK_LIBS}" && if test "$extra_verbose" = "yes"; then echo " Appending \"${GTK_LIBS}\" to \$libs_gtk"; fi | 5262 libs_gtk="$libs_gtk ${GTK_LIBS}" && if test "$extra_verbose" = "yes"; then echo " Appending \"${GTK_LIBS}\" to \$libs_gtk"; fi |
5263 echo "$ac_t""${GTK_LIBS}" 1>&6 | 5263 echo "$ac_t""${GTK_LIBS}" 1>&6 |
5264 | 5264 |
5265 echo $ac_n "checking gtk cflags""... $ac_c" 1>&6 | 5265 echo $ac_n "checking gtk cflags""... $ac_c" 1>&6 |
5266 echo "configure:5268: checking gtk cflags" >&5 | 5266 echo "configure:5267: checking gtk cflags" >&5 |
5267 GTK_CFLAGS=`${GTK_CONFIG} --cflags` | 5267 GTK_CFLAGS=`${GTK_CONFIG} --cflags` |
5268 if test "$GCC" = "yes"; then | 5268 if test "$GCC" = "yes"; then |
5269 GTK_CFLAGS="${GTK_CFLAGS} -Wno-shadow" | 5269 GTK_CFLAGS="${GTK_CFLAGS} -Wno-shadow" |
5270 fi | 5270 fi |
5271 c_switch_gtk="$c_switch_gtk ${GTK_CFLAGS}" && if test "$extra_verbose" = "yes"; then echo " Appending \"${GTK_CFLAGS}\" to \$c_switch_gtk"; fi | 5271 c_switch_gtk="$c_switch_gtk ${GTK_CFLAGS}" && if test "$extra_verbose" = "yes"; then echo " Appending \"${GTK_CFLAGS}\" to \$c_switch_gtk"; fi |
5272 echo "$ac_t""${GTK_CFLAGS}" 1>&6 | 5272 echo "$ac_t""${GTK_CFLAGS}" 1>&6 |
5273 | 5273 |
5274 | 5274 |
5275 echo $ac_n "checking for main in -lgdk_imlib""... $ac_c" 1>&6 | 5275 echo $ac_n "checking for main in -lgdk_imlib""... $ac_c" 1>&6 |
5276 echo "configure:5278: checking for main in -lgdk_imlib" >&5 | 5276 echo "configure:5277: checking for main in -lgdk_imlib" >&5 |
5277 ac_lib_var=`echo gdk_imlib'_'main | sed 'y%./+-%__p_%'` | 5277 ac_lib_var=`echo gdk_imlib'_'main | sed 'y%./+-%__p_%'` |
5278 | 5278 |
5279 xe_check_libs=" -lgdk_imlib " | 5279 xe_check_libs=" -lgdk_imlib " |
5280 cat > conftest.$ac_ext <<EOF | 5280 cat > conftest.$ac_ext <<EOF |
5281 #line 5283 "configure" | 5281 #line 5282 "configure" |
5282 #include "confdefs.h" | 5282 #include "confdefs.h" |
5283 | 5283 |
5284 int main() { | 5284 int main() { |
5285 main() | 5285 main() |
5286 ; return 0; } | 5286 ; return 0; } |
5287 EOF | 5287 EOF |
5288 if { (eval echo configure:5290: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5288 if { (eval echo configure:5289: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5289 rm -rf conftest* | 5289 rm -rf conftest* |
5290 eval "ac_cv_lib_$ac_lib_var=yes" | 5290 eval "ac_cv_lib_$ac_lib_var=yes" |
5291 else | 5291 else |
5292 echo "configure: failed program was:" >&5 | 5292 echo "configure: failed program was:" >&5 |
5293 cat conftest.$ac_ext >&5 | 5293 cat conftest.$ac_ext >&5 |
5305 fi | 5305 fi |
5306 | 5306 |
5307 | 5307 |
5308 | 5308 |
5309 echo $ac_n "checking for Imlib_init in -lImlib""... $ac_c" 1>&6 | 5309 echo $ac_n "checking for Imlib_init in -lImlib""... $ac_c" 1>&6 |
5310 echo "configure:5312: checking for Imlib_init in -lImlib" >&5 | 5310 echo "configure:5311: checking for Imlib_init in -lImlib" >&5 |
5311 ac_lib_var=`echo Imlib'_'Imlib_init | sed 'y%./+-%__p_%'` | 5311 ac_lib_var=`echo Imlib'_'Imlib_init | sed 'y%./+-%__p_%'` |
5312 | 5312 |
5313 xe_check_libs=" -lImlib " | 5313 xe_check_libs=" -lImlib " |
5314 cat > conftest.$ac_ext <<EOF | 5314 cat > conftest.$ac_ext <<EOF |
5315 #line 5317 "configure" | 5315 #line 5316 "configure" |
5316 #include "confdefs.h" | 5316 #include "confdefs.h" |
5317 /* Override any gcc2 internal prototype to avoid an error. */ | 5317 /* Override any gcc2 internal prototype to avoid an error. */ |
5318 /* We use char because int might match the return type of a gcc2 | 5318 /* We use char because int might match the return type of a gcc2 |
5319 builtin and then its argument prototype would still apply. */ | 5319 builtin and then its argument prototype would still apply. */ |
5320 char Imlib_init(); | 5320 char Imlib_init(); |
5321 | 5321 |
5322 int main() { | 5322 int main() { |
5323 Imlib_init() | 5323 Imlib_init() |
5324 ; return 0; } | 5324 ; return 0; } |
5325 EOF | 5325 EOF |
5326 if { (eval echo configure:5328: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5326 if { (eval echo configure:5327: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5327 rm -rf conftest* | 5327 rm -rf conftest* |
5328 eval "ac_cv_lib_$ac_lib_var=yes" | 5328 eval "ac_cv_lib_$ac_lib_var=yes" |
5329 else | 5329 else |
5330 echo "configure: failed program was:" >&5 | 5330 echo "configure: failed program was:" >&5 |
5331 cat conftest.$ac_ext >&5 | 5331 cat conftest.$ac_ext >&5 |
5344 | 5344 |
5345 | 5345 |
5346 for ac_func in gdk_imlib_init | 5346 for ac_func in gdk_imlib_init |
5347 do | 5347 do |
5348 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 5348 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
5349 echo "configure:5351: checking for $ac_func" >&5 | 5349 echo "configure:5350: checking for $ac_func" >&5 |
5350 | 5350 |
5351 cat > conftest.$ac_ext <<EOF | 5351 cat > conftest.$ac_ext <<EOF |
5352 #line 5354 "configure" | 5352 #line 5353 "configure" |
5353 #include "confdefs.h" | 5353 #include "confdefs.h" |
5354 /* System header to define __stub macros and hopefully few prototypes, | 5354 /* System header to define __stub macros and hopefully few prototypes, |
5355 which can conflict with char $ac_func(); below. */ | 5355 which can conflict with char $ac_func(); below. */ |
5356 #include <assert.h> | 5356 #include <assert.h> |
5357 /* Override any gcc2 internal prototype to avoid an error. */ | 5357 /* Override any gcc2 internal prototype to avoid an error. */ |
5370 $ac_func(); | 5370 $ac_func(); |
5371 #endif | 5371 #endif |
5372 | 5372 |
5373 ; return 0; } | 5373 ; return 0; } |
5374 EOF | 5374 EOF |
5375 if { (eval echo configure:5377: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5375 if { (eval echo configure:5376: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5376 rm -rf conftest* | 5376 rm -rf conftest* |
5377 eval "ac_cv_func_$ac_func=yes" | 5377 eval "ac_cv_func_$ac_func=yes" |
5378 else | 5378 else |
5379 echo "configure: failed program was:" >&5 | 5379 echo "configure: failed program was:" >&5 |
5380 cat conftest.$ac_ext >&5 | 5380 cat conftest.$ac_ext >&5 |
5436 LDFLAGS="${LDFLAGS} ${GTK_LIBS}" | 5436 LDFLAGS="${LDFLAGS} ${GTK_LIBS}" |
5437 for ac_hdr in glade/glade.h glade.h | 5437 for ac_hdr in glade/glade.h glade.h |
5438 do | 5438 do |
5439 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 5439 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
5440 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 5440 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
5441 echo "configure:5443: checking for $ac_hdr" >&5 | 5441 echo "configure:5442: checking for $ac_hdr" >&5 |
5442 | 5442 |
5443 cat > conftest.$ac_ext <<EOF | 5443 cat > conftest.$ac_ext <<EOF |
5444 #line 5446 "configure" | 5444 #line 5445 "configure" |
5445 #include "confdefs.h" | 5445 #include "confdefs.h" |
5446 #include <$ac_hdr> | 5446 #include <$ac_hdr> |
5447 EOF | 5447 EOF |
5448 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 5448 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
5449 { (eval echo configure:5451: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 5449 { (eval echo configure:5450: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
5450 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 5450 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
5451 if test -z "$ac_err"; then | 5451 if test -z "$ac_err"; then |
5452 rm -rf conftest* | 5452 rm -rf conftest* |
5453 eval "ac_cv_header_$ac_safe=yes" | 5453 eval "ac_cv_header_$ac_safe=yes" |
5454 else | 5454 else |
5475 fi | 5475 fi |
5476 done | 5476 done |
5477 | 5477 |
5478 | 5478 |
5479 echo $ac_n "checking for main in -lxml""... $ac_c" 1>&6 | 5479 echo $ac_n "checking for main in -lxml""... $ac_c" 1>&6 |
5480 echo "configure:5482: checking for main in -lxml" >&5 | 5480 echo "configure:5481: checking for main in -lxml" >&5 |
5481 ac_lib_var=`echo xml'_'main | sed 'y%./+-%__p_%'` | 5481 ac_lib_var=`echo xml'_'main | sed 'y%./+-%__p_%'` |
5482 | 5482 |
5483 xe_check_libs=" -lxml " | 5483 xe_check_libs=" -lxml " |
5484 cat > conftest.$ac_ext <<EOF | 5484 cat > conftest.$ac_ext <<EOF |
5485 #line 5487 "configure" | 5485 #line 5486 "configure" |
5486 #include "confdefs.h" | 5486 #include "confdefs.h" |
5487 | 5487 |
5488 int main() { | 5488 int main() { |
5489 main() | 5489 main() |
5490 ; return 0; } | 5490 ; return 0; } |
5491 EOF | 5491 EOF |
5492 if { (eval echo configure:5494: \"$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 |
5493 rm -rf conftest* | 5493 rm -rf conftest* |
5494 eval "ac_cv_lib_$ac_lib_var=yes" | 5494 eval "ac_cv_lib_$ac_lib_var=yes" |
5495 else | 5495 else |
5496 echo "configure: failed program was:" >&5 | 5496 echo "configure: failed program was:" >&5 |
5497 cat conftest.$ac_ext >&5 | 5497 cat conftest.$ac_ext >&5 |
5509 fi | 5509 fi |
5510 | 5510 |
5511 | 5511 |
5512 | 5512 |
5513 echo $ac_n "checking for main in -lglade""... $ac_c" 1>&6 | 5513 echo $ac_n "checking for main in -lglade""... $ac_c" 1>&6 |
5514 echo "configure:5516: checking for main in -lglade" >&5 | 5514 echo "configure:5515: checking for main in -lglade" >&5 |
5515 ac_lib_var=`echo glade'_'main | sed 'y%./+-%__p_%'` | 5515 ac_lib_var=`echo glade'_'main | sed 'y%./+-%__p_%'` |
5516 | 5516 |
5517 xe_check_libs=" -lglade " | 5517 xe_check_libs=" -lglade " |
5518 cat > conftest.$ac_ext <<EOF | 5518 cat > conftest.$ac_ext <<EOF |
5519 #line 5521 "configure" | 5519 #line 5520 "configure" |
5520 #include "confdefs.h" | 5520 #include "confdefs.h" |
5521 | 5521 |
5522 int main() { | 5522 int main() { |
5523 main() | 5523 main() |
5524 ; return 0; } | 5524 ; return 0; } |
5525 EOF | 5525 EOF |
5526 if { (eval echo configure:5528: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5526 if { (eval echo configure:5527: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5527 rm -rf conftest* | 5527 rm -rf conftest* |
5528 eval "ac_cv_lib_$ac_lib_var=yes" | 5528 eval "ac_cv_lib_$ac_lib_var=yes" |
5529 else | 5529 else |
5530 echo "configure: failed program was:" >&5 | 5530 echo "configure: failed program was:" >&5 |
5531 cat conftest.$ac_ext >&5 | 5531 cat conftest.$ac_ext >&5 |
5543 fi | 5543 fi |
5544 | 5544 |
5545 | 5545 |
5546 | 5546 |
5547 echo $ac_n "checking for main in -lglade-gnome""... $ac_c" 1>&6 | 5547 echo $ac_n "checking for main in -lglade-gnome""... $ac_c" 1>&6 |
5548 echo "configure:5550: checking for main in -lglade-gnome" >&5 | 5548 echo "configure:5549: checking for main in -lglade-gnome" >&5 |
5549 ac_lib_var=`echo glade-gnome'_'main | sed 'y%./+-%__p_%'` | 5549 ac_lib_var=`echo glade-gnome'_'main | sed 'y%./+-%__p_%'` |
5550 | 5550 |
5551 xe_check_libs=" -lglade-gnome " | 5551 xe_check_libs=" -lglade-gnome " |
5552 cat > conftest.$ac_ext <<EOF | 5552 cat > conftest.$ac_ext <<EOF |
5553 #line 5555 "configure" | 5553 #line 5554 "configure" |
5554 #include "confdefs.h" | 5554 #include "confdefs.h" |
5555 | 5555 |
5556 int main() { | 5556 int main() { |
5557 main() | 5557 main() |
5558 ; return 0; } | 5558 ; return 0; } |
5559 EOF | 5559 EOF |
5560 if { (eval echo configure:5562: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5560 if { (eval echo configure:5561: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5561 rm -rf conftest* | 5561 rm -rf conftest* |
5562 eval "ac_cv_lib_$ac_lib_var=yes" | 5562 eval "ac_cv_lib_$ac_lib_var=yes" |
5563 else | 5563 else |
5564 echo "configure: failed program was:" >&5 | 5564 echo "configure: failed program was:" >&5 |
5565 cat conftest.$ac_ext >&5 | 5565 cat conftest.$ac_ext >&5 |
5576 echo "$ac_t""no" 1>&6 | 5576 echo "$ac_t""no" 1>&6 |
5577 fi | 5577 fi |
5578 | 5578 |
5579 | 5579 |
5580 cat > conftest.$ac_ext <<EOF | 5580 cat > conftest.$ac_ext <<EOF |
5581 #line 5583 "configure" | 5581 #line 5582 "configure" |
5582 #include "confdefs.h" | 5582 #include "confdefs.h" |
5583 #include <glade/glade-xml.h> | 5583 #include <glade/glade-xml.h> |
5584 EOF | 5584 EOF |
5585 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 5585 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
5586 egrep "char \*txtdomain;" >/dev/null 2>&1; then | 5586 egrep "char \*txtdomain;" >/dev/null 2>&1; then |
5635 # If we find X, set shell vars x_includes and x_libraries to the | 5635 # If we find X, set shell vars x_includes and x_libraries to the |
5636 # paths, otherwise set no_x=yes. | 5636 # paths, otherwise set no_x=yes. |
5637 # Uses ac_ vars as temps to allow command line to override cache and checks. | 5637 # Uses ac_ vars as temps to allow command line to override cache and checks. |
5638 # --without-x overrides everything else, but does not touch the cache. | 5638 # --without-x overrides everything else, but does not touch the cache. |
5639 echo $ac_n "checking for X""... $ac_c" 1>&6 | 5639 echo $ac_n "checking for X""... $ac_c" 1>&6 |
5640 echo "configure:5642: checking for X" >&5 | 5640 echo "configure:5641: checking for X" >&5 |
5641 | 5641 |
5642 # Check whether --with-x or --without-x was given. | 5642 # Check whether --with-x or --without-x was given. |
5643 if test "${with_x+set}" = set; then | 5643 if test "${with_x+set}" = set; then |
5644 withval="$with_x" | 5644 withval="$with_x" |
5645 : | 5645 : |
5695 # Guess where to find include files, by looking for this one X11 .h file. | 5695 # Guess where to find include files, by looking for this one X11 .h file. |
5696 test -z "$x_direct_test_include" && x_direct_test_include=X11/Intrinsic.h | 5696 test -z "$x_direct_test_include" && x_direct_test_include=X11/Intrinsic.h |
5697 | 5697 |
5698 # First, try using that file with no special directory specified. | 5698 # First, try using that file with no special directory specified. |
5699 cat > conftest.$ac_ext <<EOF | 5699 cat > conftest.$ac_ext <<EOF |
5700 #line 5702 "configure" | 5700 #line 5701 "configure" |
5701 #include "confdefs.h" | 5701 #include "confdefs.h" |
5702 #include <$x_direct_test_include> | 5702 #include <$x_direct_test_include> |
5703 EOF | 5703 EOF |
5704 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 5704 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
5705 { (eval echo configure:5707: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 5705 { (eval echo configure:5706: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
5706 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 5706 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
5707 if test -z "$ac_err"; then | 5707 if test -z "$ac_err"; then |
5708 rm -rf conftest* | 5708 rm -rf conftest* |
5709 # We can compile using X headers with no special include directory. | 5709 # We can compile using X headers with no special include directory. |
5710 ac_x_includes= | 5710 ac_x_includes= |
5769 # See if we find them without any special options. | 5769 # See if we find them without any special options. |
5770 # Don't add to $LIBS permanently. | 5770 # Don't add to $LIBS permanently. |
5771 ac_save_LIBS="$LIBS" | 5771 ac_save_LIBS="$LIBS" |
5772 LIBS="-l$x_direct_test_library $LIBS" | 5772 LIBS="-l$x_direct_test_library $LIBS" |
5773 cat > conftest.$ac_ext <<EOF | 5773 cat > conftest.$ac_ext <<EOF |
5774 #line 5776 "configure" | 5774 #line 5775 "configure" |
5775 #include "confdefs.h" | 5775 #include "confdefs.h" |
5776 | 5776 |
5777 int main() { | 5777 int main() { |
5778 ${x_direct_test_function}() | 5778 ${x_direct_test_function}() |
5779 ; return 0; } | 5779 ; return 0; } |
5780 EOF | 5780 EOF |
5781 if { (eval echo configure:5783: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5781 if { (eval echo configure:5782: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5782 rm -rf conftest* | 5782 rm -rf conftest* |
5783 LIBS="$ac_save_LIBS" | 5783 LIBS="$ac_save_LIBS" |
5784 # We can link X programs with no special library path. | 5784 # We can link X programs with no special library path. |
5785 ac_x_libraries= | 5785 ac_x_libraries= |
5786 else | 5786 else |
5885 # For Solaris; some versions of Sun CC require a space after -R and | 5885 # For Solaris; some versions of Sun CC require a space after -R and |
5886 # others require no space. Words are not sufficient . . . . | 5886 # others require no space. Words are not sufficient . . . . |
5887 case "`(uname -sr) 2>/dev/null`" in | 5887 case "`(uname -sr) 2>/dev/null`" in |
5888 "SunOS 5"*) | 5888 "SunOS 5"*) |
5889 echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6 | 5889 echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6 |
5890 echo "configure:5892: checking whether -R must be followed by a space" >&5 | 5890 echo "configure:5891: checking whether -R must be followed by a space" >&5 |
5891 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS -R$x_libraries" | 5891 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS -R$x_libraries" |
5892 cat > conftest.$ac_ext <<EOF | 5892 cat > conftest.$ac_ext <<EOF |
5893 #line 5895 "configure" | 5893 #line 5894 "configure" |
5894 #include "confdefs.h" | 5894 #include "confdefs.h" |
5895 | 5895 |
5896 int main() { | 5896 int main() { |
5897 | 5897 |
5898 ; return 0; } | 5898 ; return 0; } |
5899 EOF | 5899 EOF |
5900 if { (eval echo configure:5902: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5900 if { (eval echo configure:5901: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5901 rm -rf conftest* | 5901 rm -rf conftest* |
5902 ac_R_nospace=yes | 5902 ac_R_nospace=yes |
5903 else | 5903 else |
5904 echo "configure: failed program was:" >&5 | 5904 echo "configure: failed program was:" >&5 |
5905 cat conftest.$ac_ext >&5 | 5905 cat conftest.$ac_ext >&5 |
5911 echo "$ac_t""no" 1>&6 | 5911 echo "$ac_t""no" 1>&6 |
5912 X_LIBS="$X_LIBS -R$x_libraries" | 5912 X_LIBS="$X_LIBS -R$x_libraries" |
5913 else | 5913 else |
5914 LIBS="$ac_xsave_LIBS -R $x_libraries" | 5914 LIBS="$ac_xsave_LIBS -R $x_libraries" |
5915 cat > conftest.$ac_ext <<EOF | 5915 cat > conftest.$ac_ext <<EOF |
5916 #line 5918 "configure" | 5916 #line 5917 "configure" |
5917 #include "confdefs.h" | 5917 #include "confdefs.h" |
5918 | 5918 |
5919 int main() { | 5919 int main() { |
5920 | 5920 |
5921 ; return 0; } | 5921 ; return 0; } |
5922 EOF | 5922 EOF |
5923 if { (eval echo configure:5925: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5923 if { (eval echo configure:5924: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5924 rm -rf conftest* | 5924 rm -rf conftest* |
5925 ac_R_space=yes | 5925 ac_R_space=yes |
5926 else | 5926 else |
5927 echo "configure: failed program was:" >&5 | 5927 echo "configure: failed program was:" >&5 |
5928 cat conftest.$ac_ext >&5 | 5928 cat conftest.$ac_ext >&5 |
5954 if test "$with_dnet" = "no" ; then | 5954 if test "$with_dnet" = "no" ; then |
5955 ac_cv_lib_dnet_dnet_ntoa=no | 5955 ac_cv_lib_dnet_dnet_ntoa=no |
5956 else | 5956 else |
5957 | 5957 |
5958 echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6 | 5958 echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6 |
5959 echo "configure:5961: checking for dnet_ntoa in -ldnet" >&5 | 5959 echo "configure:5960: checking for dnet_ntoa in -ldnet" >&5 |
5960 ac_lib_var=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'` | 5960 ac_lib_var=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'` |
5961 | 5961 |
5962 xe_check_libs=" -ldnet " | 5962 xe_check_libs=" -ldnet " |
5963 cat > conftest.$ac_ext <<EOF | 5963 cat > conftest.$ac_ext <<EOF |
5964 #line 5966 "configure" | 5964 #line 5965 "configure" |
5965 #include "confdefs.h" | 5965 #include "confdefs.h" |
5966 /* Override any gcc2 internal prototype to avoid an error. */ | 5966 /* Override any gcc2 internal prototype to avoid an error. */ |
5967 /* We use char because int might match the return type of a gcc2 | 5967 /* We use char because int might match the return type of a gcc2 |
5968 builtin and then its argument prototype would still apply. */ | 5968 builtin and then its argument prototype would still apply. */ |
5969 char dnet_ntoa(); | 5969 char dnet_ntoa(); |
5970 | 5970 |
5971 int main() { | 5971 int main() { |
5972 dnet_ntoa() | 5972 dnet_ntoa() |
5973 ; return 0; } | 5973 ; return 0; } |
5974 EOF | 5974 EOF |
5975 if { (eval echo configure:5977: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5975 if { (eval echo configure:5976: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5976 rm -rf conftest* | 5976 rm -rf conftest* |
5977 eval "ac_cv_lib_$ac_lib_var=yes" | 5977 eval "ac_cv_lib_$ac_lib_var=yes" |
5978 else | 5978 else |
5979 echo "configure: failed program was:" >&5 | 5979 echo "configure: failed program was:" >&5 |
5980 cat conftest.$ac_ext >&5 | 5980 cat conftest.$ac_ext >&5 |
5994 fi | 5994 fi |
5995 | 5995 |
5996 if test $ac_cv_lib_dnet_dnet_ntoa = no; then | 5996 if test $ac_cv_lib_dnet_dnet_ntoa = no; then |
5997 | 5997 |
5998 echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6 | 5998 echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6 |
5999 echo "configure:6001: checking for dnet_ntoa in -ldnet_stub" >&5 | 5999 echo "configure:6000: checking for dnet_ntoa in -ldnet_stub" >&5 |
6000 ac_lib_var=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'` | 6000 ac_lib_var=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'` |
6001 | 6001 |
6002 xe_check_libs=" -ldnet_stub " | 6002 xe_check_libs=" -ldnet_stub " |
6003 cat > conftest.$ac_ext <<EOF | 6003 cat > conftest.$ac_ext <<EOF |
6004 #line 6006 "configure" | 6004 #line 6005 "configure" |
6005 #include "confdefs.h" | 6005 #include "confdefs.h" |
6006 /* Override any gcc2 internal prototype to avoid an error. */ | 6006 /* Override any gcc2 internal prototype to avoid an error. */ |
6007 /* We use char because int might match the return type of a gcc2 | 6007 /* We use char because int might match the return type of a gcc2 |
6008 builtin and then its argument prototype would still apply. */ | 6008 builtin and then its argument prototype would still apply. */ |
6009 char dnet_ntoa(); | 6009 char dnet_ntoa(); |
6010 | 6010 |
6011 int main() { | 6011 int main() { |
6012 dnet_ntoa() | 6012 dnet_ntoa() |
6013 ; return 0; } | 6013 ; return 0; } |
6014 EOF | 6014 EOF |
6015 if { (eval echo configure:6017: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6015 if { (eval echo configure:6016: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6016 rm -rf conftest* | 6016 rm -rf conftest* |
6017 eval "ac_cv_lib_$ac_lib_var=yes" | 6017 eval "ac_cv_lib_$ac_lib_var=yes" |
6018 else | 6018 else |
6019 echo "configure: failed program was:" >&5 | 6019 echo "configure: failed program was:" >&5 |
6020 cat conftest.$ac_ext >&5 | 6020 cat conftest.$ac_ext >&5 |
6039 # chad@anasazi.com says the Pyramis MIS-ES running DC/OSx (SVR4) | 6039 # chad@anasazi.com says the Pyramis MIS-ES running DC/OSx (SVR4) |
6040 # needs -lnsl. | 6040 # needs -lnsl. |
6041 # The nsl library prevents programs from opening the X display | 6041 # The nsl library prevents programs from opening the X display |
6042 # on Irix 5.2, according to dickey@clark.net. | 6042 # on Irix 5.2, according to dickey@clark.net. |
6043 echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6 | 6043 echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6 |
6044 echo "configure:6046: checking for gethostbyname" >&5 | 6044 echo "configure:6045: checking for gethostbyname" >&5 |
6045 | 6045 |
6046 cat > conftest.$ac_ext <<EOF | 6046 cat > conftest.$ac_ext <<EOF |
6047 #line 6049 "configure" | 6047 #line 6048 "configure" |
6048 #include "confdefs.h" | 6048 #include "confdefs.h" |
6049 /* System header to define __stub macros and hopefully few prototypes, | 6049 /* System header to define __stub macros and hopefully few prototypes, |
6050 which can conflict with char gethostbyname(); below. */ | 6050 which can conflict with char gethostbyname(); below. */ |
6051 #include <assert.h> | 6051 #include <assert.h> |
6052 /* Override any gcc2 internal prototype to avoid an error. */ | 6052 /* Override any gcc2 internal prototype to avoid an error. */ |
6065 gethostbyname(); | 6065 gethostbyname(); |
6066 #endif | 6066 #endif |
6067 | 6067 |
6068 ; return 0; } | 6068 ; return 0; } |
6069 EOF | 6069 EOF |
6070 if { (eval echo configure:6072: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6070 if { (eval echo configure:6071: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6071 rm -rf conftest* | 6071 rm -rf conftest* |
6072 eval "ac_cv_func_gethostbyname=yes" | 6072 eval "ac_cv_func_gethostbyname=yes" |
6073 else | 6073 else |
6074 echo "configure: failed program was:" >&5 | 6074 echo "configure: failed program was:" >&5 |
6075 cat conftest.$ac_ext >&5 | 6075 cat conftest.$ac_ext >&5 |
6086 fi | 6086 fi |
6087 | 6087 |
6088 if test $ac_cv_func_gethostbyname = no; then | 6088 if test $ac_cv_func_gethostbyname = no; then |
6089 | 6089 |
6090 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6 | 6090 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6 |
6091 echo "configure:6093: checking for gethostbyname in -lnsl" >&5 | 6091 echo "configure:6092: checking for gethostbyname in -lnsl" >&5 |
6092 ac_lib_var=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'` | 6092 ac_lib_var=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'` |
6093 | 6093 |
6094 xe_check_libs=" -lnsl " | 6094 xe_check_libs=" -lnsl " |
6095 cat > conftest.$ac_ext <<EOF | 6095 cat > conftest.$ac_ext <<EOF |
6096 #line 6098 "configure" | 6096 #line 6097 "configure" |
6097 #include "confdefs.h" | 6097 #include "confdefs.h" |
6098 /* Override any gcc2 internal prototype to avoid an error. */ | 6098 /* Override any gcc2 internal prototype to avoid an error. */ |
6099 /* We use char because int might match the return type of a gcc2 | 6099 /* We use char because int might match the return type of a gcc2 |
6100 builtin and then its argument prototype would still apply. */ | 6100 builtin and then its argument prototype would still apply. */ |
6101 char gethostbyname(); | 6101 char gethostbyname(); |
6102 | 6102 |
6103 int main() { | 6103 int main() { |
6104 gethostbyname() | 6104 gethostbyname() |
6105 ; return 0; } | 6105 ; return 0; } |
6106 EOF | 6106 EOF |
6107 if { (eval echo configure:6109: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6107 if { (eval echo configure:6108: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6108 rm -rf conftest* | 6108 rm -rf conftest* |
6109 eval "ac_cv_lib_$ac_lib_var=yes" | 6109 eval "ac_cv_lib_$ac_lib_var=yes" |
6110 else | 6110 else |
6111 echo "configure: failed program was:" >&5 | 6111 echo "configure: failed program was:" >&5 |
6112 cat conftest.$ac_ext >&5 | 6112 cat conftest.$ac_ext >&5 |
6132 # on later versions), says simon@lia.di.epfl.ch: it contains | 6132 # on later versions), says simon@lia.di.epfl.ch: it contains |
6133 # gethostby* variants that don't use the nameserver (or something). | 6133 # gethostby* variants that don't use the nameserver (or something). |
6134 # -lsocket must be given before -lnsl if both are needed. | 6134 # -lsocket must be given before -lnsl if both are needed. |
6135 # We assume that if connect needs -lnsl, so does gethostbyname. | 6135 # We assume that if connect needs -lnsl, so does gethostbyname. |
6136 echo $ac_n "checking for connect""... $ac_c" 1>&6 | 6136 echo $ac_n "checking for connect""... $ac_c" 1>&6 |
6137 echo "configure:6139: checking for connect" >&5 | 6137 echo "configure:6138: checking for connect" >&5 |
6138 | 6138 |
6139 cat > conftest.$ac_ext <<EOF | 6139 cat > conftest.$ac_ext <<EOF |
6140 #line 6142 "configure" | 6140 #line 6141 "configure" |
6141 #include "confdefs.h" | 6141 #include "confdefs.h" |
6142 /* System header to define __stub macros and hopefully few prototypes, | 6142 /* System header to define __stub macros and hopefully few prototypes, |
6143 which can conflict with char connect(); below. */ | 6143 which can conflict with char connect(); below. */ |
6144 #include <assert.h> | 6144 #include <assert.h> |
6145 /* Override any gcc2 internal prototype to avoid an error. */ | 6145 /* Override any gcc2 internal prototype to avoid an error. */ |
6158 connect(); | 6158 connect(); |
6159 #endif | 6159 #endif |
6160 | 6160 |
6161 ; return 0; } | 6161 ; return 0; } |
6162 EOF | 6162 EOF |
6163 if { (eval echo configure:6165: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6163 if { (eval echo configure:6164: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6164 rm -rf conftest* | 6164 rm -rf conftest* |
6165 eval "ac_cv_func_connect=yes" | 6165 eval "ac_cv_func_connect=yes" |
6166 else | 6166 else |
6167 echo "configure: failed program was:" >&5 | 6167 echo "configure: failed program was:" >&5 |
6168 cat conftest.$ac_ext >&5 | 6168 cat conftest.$ac_ext >&5 |
6181 if test $ac_cv_func_connect = no; then | 6181 if test $ac_cv_func_connect = no; then |
6182 | 6182 |
6183 xe_msg_checking="for connect in -lsocket" | 6183 xe_msg_checking="for connect in -lsocket" |
6184 test -n "$X_EXTRA_LIBS" && xe_msg_checking="$xe_msg_checking using extra libs $X_EXTRA_LIBS" | 6184 test -n "$X_EXTRA_LIBS" && xe_msg_checking="$xe_msg_checking using extra libs $X_EXTRA_LIBS" |
6185 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 6185 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
6186 echo "configure:6188: checking "$xe_msg_checking"" >&5 | 6186 echo "configure:6187: checking "$xe_msg_checking"" >&5 |
6187 ac_lib_var=`echo socket'_'connect | sed 'y%./+-%__p_%'` | 6187 ac_lib_var=`echo socket'_'connect | sed 'y%./+-%__p_%'` |
6188 | 6188 |
6189 xe_check_libs=" -lsocket $X_EXTRA_LIBS" | 6189 xe_check_libs=" -lsocket $X_EXTRA_LIBS" |
6190 cat > conftest.$ac_ext <<EOF | 6190 cat > conftest.$ac_ext <<EOF |
6191 #line 6193 "configure" | 6191 #line 6192 "configure" |
6192 #include "confdefs.h" | 6192 #include "confdefs.h" |
6193 /* Override any gcc2 internal prototype to avoid an error. */ | 6193 /* Override any gcc2 internal prototype to avoid an error. */ |
6194 /* We use char because int might match the return type of a gcc2 | 6194 /* We use char because int might match the return type of a gcc2 |
6195 builtin and then its argument prototype would still apply. */ | 6195 builtin and then its argument prototype would still apply. */ |
6196 char connect(); | 6196 char connect(); |
6197 | 6197 |
6198 int main() { | 6198 int main() { |
6199 connect() | 6199 connect() |
6200 ; return 0; } | 6200 ; return 0; } |
6201 EOF | 6201 EOF |
6202 if { (eval echo configure:6204: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6202 if { (eval echo configure:6203: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6203 rm -rf conftest* | 6203 rm -rf conftest* |
6204 eval "ac_cv_lib_$ac_lib_var=yes" | 6204 eval "ac_cv_lib_$ac_lib_var=yes" |
6205 else | 6205 else |
6206 echo "configure: failed program was:" >&5 | 6206 echo "configure: failed program was:" >&5 |
6207 cat conftest.$ac_ext >&5 | 6207 cat conftest.$ac_ext >&5 |
6221 | 6221 |
6222 fi | 6222 fi |
6223 | 6223 |
6224 # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX. | 6224 # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX. |
6225 echo $ac_n "checking for remove""... $ac_c" 1>&6 | 6225 echo $ac_n "checking for remove""... $ac_c" 1>&6 |
6226 echo "configure:6228: checking for remove" >&5 | 6226 echo "configure:6227: checking for remove" >&5 |
6227 | 6227 |
6228 cat > conftest.$ac_ext <<EOF | 6228 cat > conftest.$ac_ext <<EOF |
6229 #line 6231 "configure" | 6229 #line 6230 "configure" |
6230 #include "confdefs.h" | 6230 #include "confdefs.h" |
6231 /* System header to define __stub macros and hopefully few prototypes, | 6231 /* System header to define __stub macros and hopefully few prototypes, |
6232 which can conflict with char remove(); below. */ | 6232 which can conflict with char remove(); below. */ |
6233 #include <assert.h> | 6233 #include <assert.h> |
6234 /* Override any gcc2 internal prototype to avoid an error. */ | 6234 /* Override any gcc2 internal prototype to avoid an error. */ |
6247 remove(); | 6247 remove(); |
6248 #endif | 6248 #endif |
6249 | 6249 |
6250 ; return 0; } | 6250 ; return 0; } |
6251 EOF | 6251 EOF |
6252 if { (eval echo configure:6254: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6252 if { (eval echo configure:6253: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6253 rm -rf conftest* | 6253 rm -rf conftest* |
6254 eval "ac_cv_func_remove=yes" | 6254 eval "ac_cv_func_remove=yes" |
6255 else | 6255 else |
6256 echo "configure: failed program was:" >&5 | 6256 echo "configure: failed program was:" >&5 |
6257 cat conftest.$ac_ext >&5 | 6257 cat conftest.$ac_ext >&5 |
6268 fi | 6268 fi |
6269 | 6269 |
6270 if test $ac_cv_func_remove = no; then | 6270 if test $ac_cv_func_remove = no; then |
6271 | 6271 |
6272 echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6 | 6272 echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6 |
6273 echo "configure:6275: checking for remove in -lposix" >&5 | 6273 echo "configure:6274: checking for remove in -lposix" >&5 |
6274 ac_lib_var=`echo posix'_'remove | sed 'y%./+-%__p_%'` | 6274 ac_lib_var=`echo posix'_'remove | sed 'y%./+-%__p_%'` |
6275 | 6275 |
6276 xe_check_libs=" -lposix " | 6276 xe_check_libs=" -lposix " |
6277 cat > conftest.$ac_ext <<EOF | 6277 cat > conftest.$ac_ext <<EOF |
6278 #line 6280 "configure" | 6278 #line 6279 "configure" |
6279 #include "confdefs.h" | 6279 #include "confdefs.h" |
6280 /* Override any gcc2 internal prototype to avoid an error. */ | 6280 /* Override any gcc2 internal prototype to avoid an error. */ |
6281 /* We use char because int might match the return type of a gcc2 | 6281 /* We use char because int might match the return type of a gcc2 |
6282 builtin and then its argument prototype would still apply. */ | 6282 builtin and then its argument prototype would still apply. */ |
6283 char remove(); | 6283 char remove(); |
6284 | 6284 |
6285 int main() { | 6285 int main() { |
6286 remove() | 6286 remove() |
6287 ; return 0; } | 6287 ; return 0; } |
6288 EOF | 6288 EOF |
6289 if { (eval echo configure:6291: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6289 if { (eval echo configure:6290: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6290 rm -rf conftest* | 6290 rm -rf conftest* |
6291 eval "ac_cv_lib_$ac_lib_var=yes" | 6291 eval "ac_cv_lib_$ac_lib_var=yes" |
6292 else | 6292 else |
6293 echo "configure: failed program was:" >&5 | 6293 echo "configure: failed program was:" >&5 |
6294 cat conftest.$ac_ext >&5 | 6294 cat conftest.$ac_ext >&5 |
6308 | 6308 |
6309 fi | 6309 fi |
6310 | 6310 |
6311 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay. | 6311 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay. |
6312 echo $ac_n "checking for shmat""... $ac_c" 1>&6 | 6312 echo $ac_n "checking for shmat""... $ac_c" 1>&6 |
6313 echo "configure:6315: checking for shmat" >&5 | 6313 echo "configure:6314: checking for shmat" >&5 |
6314 | 6314 |
6315 cat > conftest.$ac_ext <<EOF | 6315 cat > conftest.$ac_ext <<EOF |
6316 #line 6318 "configure" | 6316 #line 6317 "configure" |
6317 #include "confdefs.h" | 6317 #include "confdefs.h" |
6318 /* System header to define __stub macros and hopefully few prototypes, | 6318 /* System header to define __stub macros and hopefully few prototypes, |
6319 which can conflict with char shmat(); below. */ | 6319 which can conflict with char shmat(); below. */ |
6320 #include <assert.h> | 6320 #include <assert.h> |
6321 /* Override any gcc2 internal prototype to avoid an error. */ | 6321 /* Override any gcc2 internal prototype to avoid an error. */ |
6334 shmat(); | 6334 shmat(); |
6335 #endif | 6335 #endif |
6336 | 6336 |
6337 ; return 0; } | 6337 ; return 0; } |
6338 EOF | 6338 EOF |
6339 if { (eval echo configure:6341: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6339 if { (eval echo configure:6340: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6340 rm -rf conftest* | 6340 rm -rf conftest* |
6341 eval "ac_cv_func_shmat=yes" | 6341 eval "ac_cv_func_shmat=yes" |
6342 else | 6342 else |
6343 echo "configure: failed program was:" >&5 | 6343 echo "configure: failed program was:" >&5 |
6344 cat conftest.$ac_ext >&5 | 6344 cat conftest.$ac_ext >&5 |
6355 fi | 6355 fi |
6356 | 6356 |
6357 if test $ac_cv_func_shmat = no; then | 6357 if test $ac_cv_func_shmat = no; then |
6358 | 6358 |
6359 echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6 | 6359 echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6 |
6360 echo "configure:6362: checking for shmat in -lipc" >&5 | 6360 echo "configure:6361: checking for shmat in -lipc" >&5 |
6361 ac_lib_var=`echo ipc'_'shmat | sed 'y%./+-%__p_%'` | 6361 ac_lib_var=`echo ipc'_'shmat | sed 'y%./+-%__p_%'` |
6362 | 6362 |
6363 xe_check_libs=" -lipc " | 6363 xe_check_libs=" -lipc " |
6364 cat > conftest.$ac_ext <<EOF | 6364 cat > conftest.$ac_ext <<EOF |
6365 #line 6367 "configure" | 6365 #line 6366 "configure" |
6366 #include "confdefs.h" | 6366 #include "confdefs.h" |
6367 /* Override any gcc2 internal prototype to avoid an error. */ | 6367 /* Override any gcc2 internal prototype to avoid an error. */ |
6368 /* We use char because int might match the return type of a gcc2 | 6368 /* We use char because int might match the return type of a gcc2 |
6369 builtin and then its argument prototype would still apply. */ | 6369 builtin and then its argument prototype would still apply. */ |
6370 char shmat(); | 6370 char shmat(); |
6371 | 6371 |
6372 int main() { | 6372 int main() { |
6373 shmat() | 6373 shmat() |
6374 ; return 0; } | 6374 ; return 0; } |
6375 EOF | 6375 EOF |
6376 if { (eval echo configure:6378: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6376 if { (eval echo configure:6377: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6377 rm -rf conftest* | 6377 rm -rf conftest* |
6378 eval "ac_cv_lib_$ac_lib_var=yes" | 6378 eval "ac_cv_lib_$ac_lib_var=yes" |
6379 else | 6379 else |
6380 echo "configure: failed program was:" >&5 | 6380 echo "configure: failed program was:" >&5 |
6381 cat conftest.$ac_ext >&5 | 6381 cat conftest.$ac_ext >&5 |
6407 # --interran@uluru.Stanford.EDU, kb@cs.umb.edu. | 6407 # --interran@uluru.Stanford.EDU, kb@cs.umb.edu. |
6408 | 6408 |
6409 xe_msg_checking="for IceConnectionNumber in -lICE" | 6409 xe_msg_checking="for IceConnectionNumber in -lICE" |
6410 test -n "$X_EXTRA_LIBS" && xe_msg_checking="$xe_msg_checking using extra libs $X_EXTRA_LIBS" | 6410 test -n "$X_EXTRA_LIBS" && xe_msg_checking="$xe_msg_checking using extra libs $X_EXTRA_LIBS" |
6411 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 6411 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
6412 echo "configure:6414: checking "$xe_msg_checking"" >&5 | 6412 echo "configure:6413: checking "$xe_msg_checking"" >&5 |
6413 ac_lib_var=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'` | 6413 ac_lib_var=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'` |
6414 | 6414 |
6415 xe_check_libs=" -lICE $X_EXTRA_LIBS" | 6415 xe_check_libs=" -lICE $X_EXTRA_LIBS" |
6416 cat > conftest.$ac_ext <<EOF | 6416 cat > conftest.$ac_ext <<EOF |
6417 #line 6419 "configure" | 6417 #line 6418 "configure" |
6418 #include "confdefs.h" | 6418 #include "confdefs.h" |
6419 /* Override any gcc2 internal prototype to avoid an error. */ | 6419 /* Override any gcc2 internal prototype to avoid an error. */ |
6420 /* We use char because int might match the return type of a gcc2 | 6420 /* We use char because int might match the return type of a gcc2 |
6421 builtin and then its argument prototype would still apply. */ | 6421 builtin and then its argument prototype would still apply. */ |
6422 char IceConnectionNumber(); | 6422 char IceConnectionNumber(); |
6423 | 6423 |
6424 int main() { | 6424 int main() { |
6425 IceConnectionNumber() | 6425 IceConnectionNumber() |
6426 ; return 0; } | 6426 ; return 0; } |
6427 EOF | 6427 EOF |
6428 if { (eval echo configure:6430: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6428 if { (eval echo configure:6429: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6429 rm -rf conftest* | 6429 rm -rf conftest* |
6430 eval "ac_cv_lib_$ac_lib_var=yes" | 6430 eval "ac_cv_lib_$ac_lib_var=yes" |
6431 else | 6431 else |
6432 echo "configure: failed program was:" >&5 | 6432 echo "configure: failed program was:" >&5 |
6433 cat conftest.$ac_ext >&5 | 6433 cat conftest.$ac_ext >&5 |
6590 EOF | 6590 EOF |
6591 } | 6591 } |
6592 | 6592 |
6593 | 6593 |
6594 echo "checking for X defines extracted by xmkmf" 1>&6 | 6594 echo "checking for X defines extracted by xmkmf" 1>&6 |
6595 echo "configure:6597: checking for X defines extracted by xmkmf" >&5 | 6595 echo "configure:6596: checking for X defines extracted by xmkmf" >&5 |
6596 rm -fr conftestdir | 6596 rm -fr conftestdir |
6597 if mkdir conftestdir; then | 6597 if mkdir conftestdir; then |
6598 cd conftestdir | 6598 cd conftestdir |
6599 cat > Imakefile <<'EOF' | 6599 cat > Imakefile <<'EOF' |
6600 xetest: | 6600 xetest: |
6639 done | 6639 done |
6640 fi | 6640 fi |
6641 | 6641 |
6642 ac_safe=`echo "X11/Intrinsic.h" | sed 'y%./+-%__p_%'` | 6642 ac_safe=`echo "X11/Intrinsic.h" | sed 'y%./+-%__p_%'` |
6643 echo $ac_n "checking for X11/Intrinsic.h""... $ac_c" 1>&6 | 6643 echo $ac_n "checking for X11/Intrinsic.h""... $ac_c" 1>&6 |
6644 echo "configure:6646: checking for X11/Intrinsic.h" >&5 | 6644 echo "configure:6645: checking for X11/Intrinsic.h" >&5 |
6645 | 6645 |
6646 cat > conftest.$ac_ext <<EOF | 6646 cat > conftest.$ac_ext <<EOF |
6647 #line 6649 "configure" | 6647 #line 6648 "configure" |
6648 #include "confdefs.h" | 6648 #include "confdefs.h" |
6649 #include <X11/Intrinsic.h> | 6649 #include <X11/Intrinsic.h> |
6650 EOF | 6650 EOF |
6651 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6651 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
6652 { (eval echo configure:6654: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6652 { (eval echo configure:6653: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
6653 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 6653 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
6654 if test -z "$ac_err"; then | 6654 if test -z "$ac_err"; then |
6655 rm -rf conftest* | 6655 rm -rf conftest* |
6656 eval "ac_cv_header_$ac_safe=yes" | 6656 eval "ac_cv_header_$ac_safe=yes" |
6657 else | 6657 else |
6671 fi | 6671 fi |
6672 | 6672 |
6673 | 6673 |
6674 | 6674 |
6675 echo $ac_n "checking for XOpenDisplay in -lX11""... $ac_c" 1>&6 | 6675 echo $ac_n "checking for XOpenDisplay in -lX11""... $ac_c" 1>&6 |
6676 echo "configure:6678: checking for XOpenDisplay in -lX11" >&5 | 6676 echo "configure:6677: checking for XOpenDisplay in -lX11" >&5 |
6677 ac_lib_var=`echo X11'_'XOpenDisplay | sed 'y%./+-%__p_%'` | 6677 ac_lib_var=`echo X11'_'XOpenDisplay | sed 'y%./+-%__p_%'` |
6678 | 6678 |
6679 xe_check_libs=" -lX11 " | 6679 xe_check_libs=" -lX11 " |
6680 cat > conftest.$ac_ext <<EOF | 6680 cat > conftest.$ac_ext <<EOF |
6681 #line 6683 "configure" | 6681 #line 6682 "configure" |
6682 #include "confdefs.h" | 6682 #include "confdefs.h" |
6683 /* Override any gcc2 internal prototype to avoid an error. */ | 6683 /* Override any gcc2 internal prototype to avoid an error. */ |
6684 /* We use char because int might match the return type of a gcc2 | 6684 /* We use char because int might match the return type of a gcc2 |
6685 builtin and then its argument prototype would still apply. */ | 6685 builtin and then its argument prototype would still apply. */ |
6686 char XOpenDisplay(); | 6686 char XOpenDisplay(); |
6687 | 6687 |
6688 int main() { | 6688 int main() { |
6689 XOpenDisplay() | 6689 XOpenDisplay() |
6690 ; return 0; } | 6690 ; return 0; } |
6691 EOF | 6691 EOF |
6692 if { (eval echo configure:6694: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6692 if { (eval echo configure:6693: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6693 rm -rf conftest* | 6693 rm -rf conftest* |
6694 eval "ac_cv_lib_$ac_lib_var=yes" | 6694 eval "ac_cv_lib_$ac_lib_var=yes" |
6695 else | 6695 else |
6696 echo "configure: failed program was:" >&5 | 6696 echo "configure: failed program was:" >&5 |
6697 cat conftest.$ac_ext >&5 | 6697 cat conftest.$ac_ext >&5 |
6712 if test "$have_lib_x11" != "yes"; then | 6712 if test "$have_lib_x11" != "yes"; then |
6713 | 6713 |
6714 xe_msg_checking="for XGetFontProperty in -lX11" | 6714 xe_msg_checking="for XGetFontProperty in -lX11" |
6715 test -n "-b i486-linuxaout" && xe_msg_checking="$xe_msg_checking using extra libs -b i486-linuxaout" | 6715 test -n "-b i486-linuxaout" && xe_msg_checking="$xe_msg_checking using extra libs -b i486-linuxaout" |
6716 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 6716 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
6717 echo "configure:6719: checking "$xe_msg_checking"" >&5 | 6717 echo "configure:6718: checking "$xe_msg_checking"" >&5 |
6718 ac_lib_var=`echo X11'_'XGetFontProperty | sed 'y%./+-%__p_%'` | 6718 ac_lib_var=`echo X11'_'XGetFontProperty | sed 'y%./+-%__p_%'` |
6719 | 6719 |
6720 xe_check_libs=" -lX11 -b i486-linuxaout" | 6720 xe_check_libs=" -lX11 -b i486-linuxaout" |
6721 cat > conftest.$ac_ext <<EOF | 6721 cat > conftest.$ac_ext <<EOF |
6722 #line 6724 "configure" | 6722 #line 6723 "configure" |
6723 #include "confdefs.h" | 6723 #include "confdefs.h" |
6724 /* Override any gcc2 internal prototype to avoid an error. */ | 6724 /* Override any gcc2 internal prototype to avoid an error. */ |
6725 /* We use char because int might match the return type of a gcc2 | 6725 /* We use char because int might match the return type of a gcc2 |
6726 builtin and then its argument prototype would still apply. */ | 6726 builtin and then its argument prototype would still apply. */ |
6727 char XGetFontProperty(); | 6727 char XGetFontProperty(); |
6728 | 6728 |
6729 int main() { | 6729 int main() { |
6730 XGetFontProperty() | 6730 XGetFontProperty() |
6731 ; return 0; } | 6731 ; return 0; } |
6732 EOF | 6732 EOF |
6733 if { (eval echo configure:6735: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6733 if { (eval echo configure:6734: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6734 rm -rf conftest* | 6734 rm -rf conftest* |
6735 eval "ac_cv_lib_$ac_lib_var=yes" | 6735 eval "ac_cv_lib_$ac_lib_var=yes" |
6736 else | 6736 else |
6737 echo "configure: failed program was:" >&5 | 6737 echo "configure: failed program was:" >&5 |
6738 cat conftest.$ac_ext >&5 | 6738 cat conftest.$ac_ext >&5 |
6755 libs_x="-lX11" | 6755 libs_x="-lX11" |
6756 test "$extra_verbose" = "yes" && echo " Setting libs_x to \"-lX11\"" | 6756 test "$extra_verbose" = "yes" && echo " Setting libs_x to \"-lX11\"" |
6757 | 6757 |
6758 | 6758 |
6759 echo $ac_n "checking for XShapeSelectInput in -lXext""... $ac_c" 1>&6 | 6759 echo $ac_n "checking for XShapeSelectInput in -lXext""... $ac_c" 1>&6 |
6760 echo "configure:6762: checking for XShapeSelectInput in -lXext" >&5 | 6760 echo "configure:6761: checking for XShapeSelectInput in -lXext" >&5 |
6761 ac_lib_var=`echo Xext'_'XShapeSelectInput | sed 'y%./+-%__p_%'` | 6761 ac_lib_var=`echo Xext'_'XShapeSelectInput | sed 'y%./+-%__p_%'` |
6762 | 6762 |
6763 xe_check_libs=" -lXext " | 6763 xe_check_libs=" -lXext " |
6764 cat > conftest.$ac_ext <<EOF | 6764 cat > conftest.$ac_ext <<EOF |
6765 #line 6767 "configure" | 6765 #line 6766 "configure" |
6766 #include "confdefs.h" | 6766 #include "confdefs.h" |
6767 /* Override any gcc2 internal prototype to avoid an error. */ | 6767 /* Override any gcc2 internal prototype to avoid an error. */ |
6768 /* We use char because int might match the return type of a gcc2 | 6768 /* We use char because int might match the return type of a gcc2 |
6769 builtin and then its argument prototype would still apply. */ | 6769 builtin and then its argument prototype would still apply. */ |
6770 char XShapeSelectInput(); | 6770 char XShapeSelectInput(); |
6771 | 6771 |
6772 int main() { | 6772 int main() { |
6773 XShapeSelectInput() | 6773 XShapeSelectInput() |
6774 ; return 0; } | 6774 ; return 0; } |
6775 EOF | 6775 EOF |
6776 if { (eval echo configure:6778: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6776 if { (eval echo configure:6777: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6777 rm -rf conftest* | 6777 rm -rf conftest* |
6778 eval "ac_cv_lib_$ac_lib_var=yes" | 6778 eval "ac_cv_lib_$ac_lib_var=yes" |
6779 else | 6779 else |
6780 echo "configure: failed program was:" >&5 | 6780 echo "configure: failed program was:" >&5 |
6781 cat conftest.$ac_ext >&5 | 6781 cat conftest.$ac_ext >&5 |
6794 | 6794 |
6795 | 6795 |
6796 | 6796 |
6797 | 6797 |
6798 echo $ac_n "checking for XtOpenDisplay in -lXt""... $ac_c" 1>&6 | 6798 echo $ac_n "checking for XtOpenDisplay in -lXt""... $ac_c" 1>&6 |
6799 echo "configure:6801: checking for XtOpenDisplay in -lXt" >&5 | 6799 echo "configure:6800: checking for XtOpenDisplay in -lXt" >&5 |
6800 ac_lib_var=`echo Xt'_'XtOpenDisplay | sed 'y%./+-%__p_%'` | 6800 ac_lib_var=`echo Xt'_'XtOpenDisplay | sed 'y%./+-%__p_%'` |
6801 | 6801 |
6802 xe_check_libs=" -lXt " | 6802 xe_check_libs=" -lXt " |
6803 cat > conftest.$ac_ext <<EOF | 6803 cat > conftest.$ac_ext <<EOF |
6804 #line 6806 "configure" | 6804 #line 6805 "configure" |
6805 #include "confdefs.h" | 6805 #include "confdefs.h" |
6806 /* Override any gcc2 internal prototype to avoid an error. */ | 6806 /* Override any gcc2 internal prototype to avoid an error. */ |
6807 /* We use char because int might match the return type of a gcc2 | 6807 /* We use char because int might match the return type of a gcc2 |
6808 builtin and then its argument prototype would still apply. */ | 6808 builtin and then its argument prototype would still apply. */ |
6809 char XtOpenDisplay(); | 6809 char XtOpenDisplay(); |
6810 | 6810 |
6811 int main() { | 6811 int main() { |
6812 XtOpenDisplay() | 6812 XtOpenDisplay() |
6813 ; return 0; } | 6813 ; return 0; } |
6814 EOF | 6814 EOF |
6815 if { (eval echo configure:6817: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6815 if { (eval echo configure:6816: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6816 rm -rf conftest* | 6816 rm -rf conftest* |
6817 eval "ac_cv_lib_$ac_lib_var=yes" | 6817 eval "ac_cv_lib_$ac_lib_var=yes" |
6818 else | 6818 else |
6819 echo "configure: failed program was:" >&5 | 6819 echo "configure: failed program was:" >&5 |
6820 cat conftest.$ac_ext >&5 | 6820 cat conftest.$ac_ext >&5 |
6833 fi | 6833 fi |
6834 | 6834 |
6835 | 6835 |
6836 | 6836 |
6837 echo $ac_n "checking the version of X11 being used""... $ac_c" 1>&6 | 6837 echo $ac_n "checking the version of X11 being used""... $ac_c" 1>&6 |
6838 echo "configure:6840: checking the version of X11 being used" >&5 | 6838 echo "configure:6839: checking the version of X11 being used" >&5 |
6839 cat > conftest.$ac_ext <<EOF | 6839 cat > conftest.$ac_ext <<EOF |
6840 #line 6842 "configure" | 6840 #line 6841 "configure" |
6841 #include "confdefs.h" | 6841 #include "confdefs.h" |
6842 #include <X11/Intrinsic.h> | 6842 #include <X11/Intrinsic.h> |
6843 int main(int c, char *v[]) { return c>1 ? XlibSpecificationRelease : 0; } | 6843 int main(int c, char *v[]) { return c>1 ? XlibSpecificationRelease : 0; } |
6844 EOF | 6844 EOF |
6845 if { (eval echo configure:6847: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 6845 if { (eval echo configure:6846: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
6846 then | 6846 then |
6847 ./conftest foobar; x11_release=$? | 6847 ./conftest foobar; x11_release=$? |
6848 else | 6848 else |
6849 conftest_rc="$?" | 6849 conftest_rc="$?" |
6850 echo "configure: failed program was:" >&5 | 6850 echo "configure: failed program was:" >&5 |
6871 fi | 6871 fi |
6872 | 6872 |
6873 for ac_func in XConvertCase | 6873 for ac_func in XConvertCase |
6874 do | 6874 do |
6875 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 6875 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
6876 echo "configure:6878: checking for $ac_func" >&5 | 6876 echo "configure:6877: checking for $ac_func" >&5 |
6877 | 6877 |
6878 cat > conftest.$ac_ext <<EOF | 6878 cat > conftest.$ac_ext <<EOF |
6879 #line 6881 "configure" | 6879 #line 6880 "configure" |
6880 #include "confdefs.h" | 6880 #include "confdefs.h" |
6881 /* System header to define __stub macros and hopefully few prototypes, | 6881 /* System header to define __stub macros and hopefully few prototypes, |
6882 which can conflict with char $ac_func(); below. */ | 6882 which can conflict with char $ac_func(); below. */ |
6883 #include <assert.h> | 6883 #include <assert.h> |
6884 /* Override any gcc2 internal prototype to avoid an error. */ | 6884 /* Override any gcc2 internal prototype to avoid an error. */ |
6897 $ac_func(); | 6897 $ac_func(); |
6898 #endif | 6898 #endif |
6899 | 6899 |
6900 ; return 0; } | 6900 ; return 0; } |
6901 EOF | 6901 EOF |
6902 if { (eval echo configure:6904: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6902 if { (eval echo configure:6903: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6903 rm -rf conftest* | 6903 rm -rf conftest* |
6904 eval "ac_cv_func_$ac_func=yes" | 6904 eval "ac_cv_func_$ac_func=yes" |
6905 else | 6905 else |
6906 echo "configure: failed program was:" >&5 | 6906 echo "configure: failed program was:" >&5 |
6907 cat conftest.$ac_ext >&5 | 6907 cat conftest.$ac_ext >&5 |
6929 | 6929 |
6930 for ac_hdr in X11/Xlocale.h | 6930 for ac_hdr in X11/Xlocale.h |
6931 do | 6931 do |
6932 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 6932 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
6933 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 6933 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
6934 echo "configure:6936: checking for $ac_hdr" >&5 | 6934 echo "configure:6935: checking for $ac_hdr" >&5 |
6935 | 6935 |
6936 cat > conftest.$ac_ext <<EOF | 6936 cat > conftest.$ac_ext <<EOF |
6937 #line 6939 "configure" | 6937 #line 6938 "configure" |
6938 #include "confdefs.h" | 6938 #include "confdefs.h" |
6939 #include <$ac_hdr> | 6939 #include <$ac_hdr> |
6940 EOF | 6940 EOF |
6941 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6941 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
6942 { (eval echo configure:6944: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6942 { (eval echo configure:6943: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
6943 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 6943 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
6944 if test -z "$ac_err"; then | 6944 if test -z "$ac_err"; then |
6945 rm -rf conftest* | 6945 rm -rf conftest* |
6946 eval "ac_cv_header_$ac_safe=yes" | 6946 eval "ac_cv_header_$ac_safe=yes" |
6947 else | 6947 else |
6970 | 6970 |
6971 | 6971 |
6972 for ac_func in XRegisterIMInstantiateCallback | 6972 for ac_func in XRegisterIMInstantiateCallback |
6973 do | 6973 do |
6974 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 6974 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
6975 echo "configure:6977: checking for $ac_func" >&5 | 6975 echo "configure:6976: checking for $ac_func" >&5 |
6976 | 6976 |
6977 cat > conftest.$ac_ext <<EOF | 6977 cat > conftest.$ac_ext <<EOF |
6978 #line 6980 "configure" | 6978 #line 6979 "configure" |
6979 #include "confdefs.h" | 6979 #include "confdefs.h" |
6980 /* System header to define __stub macros and hopefully few prototypes, | 6980 /* System header to define __stub macros and hopefully few prototypes, |
6981 which can conflict with char $ac_func(); below. */ | 6981 which can conflict with char $ac_func(); below. */ |
6982 #include <assert.h> | 6982 #include <assert.h> |
6983 /* Override any gcc2 internal prototype to avoid an error. */ | 6983 /* Override any gcc2 internal prototype to avoid an error. */ |
6996 $ac_func(); | 6996 $ac_func(); |
6997 #endif | 6997 #endif |
6998 | 6998 |
6999 ; return 0; } | 6999 ; return 0; } |
7000 EOF | 7000 EOF |
7001 if { (eval echo configure:7003: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7001 if { (eval echo configure:7002: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7002 rm -rf conftest* | 7002 rm -rf conftest* |
7003 eval "ac_cv_func_$ac_func=yes" | 7003 eval "ac_cv_func_$ac_func=yes" |
7004 else | 7004 else |
7005 echo "configure: failed program was:" >&5 | 7005 echo "configure: failed program was:" >&5 |
7006 cat conftest.$ac_ext >&5 | 7006 cat conftest.$ac_ext >&5 |
7024 echo "$ac_t""no" 1>&6 | 7024 echo "$ac_t""no" 1>&6 |
7025 fi | 7025 fi |
7026 done | 7026 done |
7027 | 7027 |
7028 echo $ac_n "checking for standard XRegisterIMInstantiateCallback prototype""... $ac_c" 1>&6 | 7028 echo $ac_n "checking for standard XRegisterIMInstantiateCallback prototype""... $ac_c" 1>&6 |
7029 echo "configure:7031: checking for standard XRegisterIMInstantiateCallback prototype" >&5 | 7029 echo "configure:7030: checking for standard XRegisterIMInstantiateCallback prototype" >&5 |
7030 cat > conftest.$ac_ext <<EOF | 7030 cat > conftest.$ac_ext <<EOF |
7031 #line 7033 "configure" | 7031 #line 7032 "configure" |
7032 #include "confdefs.h" | 7032 #include "confdefs.h" |
7033 | 7033 |
7034 #define NeedFunctionPrototypes 1 | 7034 #define NeedFunctionPrototypes 1 |
7035 #include <X11/Xlib.h> | 7035 #include <X11/Xlib.h> |
7036 extern Bool XRegisterIMInstantiateCallback( | 7036 extern Bool XRegisterIMInstantiateCallback( |
7038 | 7038 |
7039 int main() { | 7039 int main() { |
7040 | 7040 |
7041 ; return 0; } | 7041 ; return 0; } |
7042 EOF | 7042 EOF |
7043 if { (eval echo configure:7045: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 7043 if { (eval echo configure:7044: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
7044 rm -rf conftest* | 7044 rm -rf conftest* |
7045 echo "$ac_t""yes" 1>&6 | 7045 echo "$ac_t""yes" 1>&6 |
7046 else | 7046 else |
7047 echo "configure: failed program was:" >&5 | 7047 echo "configure: failed program was:" >&5 |
7048 cat conftest.$ac_ext >&5 | 7048 cat conftest.$ac_ext >&5 |
7059 fi | 7059 fi |
7060 rm -f conftest* | 7060 rm -f conftest* |
7061 | 7061 |
7062 test -z "$with_xmu" && { | 7062 test -z "$with_xmu" && { |
7063 echo $ac_n "checking for XmuReadBitmapDataFromFile in -lXmu""... $ac_c" 1>&6 | 7063 echo $ac_n "checking for XmuReadBitmapDataFromFile in -lXmu""... $ac_c" 1>&6 |
7064 echo "configure:7066: checking for XmuReadBitmapDataFromFile in -lXmu" >&5 | 7064 echo "configure:7065: checking for XmuReadBitmapDataFromFile in -lXmu" >&5 |
7065 ac_lib_var=`echo Xmu'_'XmuReadBitmapDataFromFile | sed 'y%./+-%__p_%'` | 7065 ac_lib_var=`echo Xmu'_'XmuReadBitmapDataFromFile | sed 'y%./+-%__p_%'` |
7066 | 7066 |
7067 xe_check_libs=" -lXmu " | 7067 xe_check_libs=" -lXmu " |
7068 cat > conftest.$ac_ext <<EOF | 7068 cat > conftest.$ac_ext <<EOF |
7069 #line 7071 "configure" | 7069 #line 7070 "configure" |
7070 #include "confdefs.h" | 7070 #include "confdefs.h" |
7071 /* Override any gcc2 internal prototype to avoid an error. */ | 7071 /* Override any gcc2 internal prototype to avoid an error. */ |
7072 /* We use char because int might match the return type of a gcc2 | 7072 /* We use char because int might match the return type of a gcc2 |
7073 builtin and then its argument prototype would still apply. */ | 7073 builtin and then its argument prototype would still apply. */ |
7074 char XmuReadBitmapDataFromFile(); | 7074 char XmuReadBitmapDataFromFile(); |
7075 | 7075 |
7076 int main() { | 7076 int main() { |
7077 XmuReadBitmapDataFromFile() | 7077 XmuReadBitmapDataFromFile() |
7078 ; return 0; } | 7078 ; return 0; } |
7079 EOF | 7079 EOF |
7080 if { (eval echo configure:7082: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7080 if { (eval echo configure:7081: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7081 rm -rf conftest* | 7081 rm -rf conftest* |
7082 eval "ac_cv_lib_$ac_lib_var=yes" | 7082 eval "ac_cv_lib_$ac_lib_var=yes" |
7083 else | 7083 else |
7084 echo "configure: failed program was:" >&5 | 7084 echo "configure: failed program was:" >&5 |
7085 cat conftest.$ac_ext >&5 | 7085 cat conftest.$ac_ext >&5 |
7114 | 7114 |
7115 fi | 7115 fi |
7116 | 7116 |
7117 | 7117 |
7118 echo $ac_n "checking for main in -lXbsd""... $ac_c" 1>&6 | 7118 echo $ac_n "checking for main in -lXbsd""... $ac_c" 1>&6 |
7119 echo "configure:7121: checking for main in -lXbsd" >&5 | 7119 echo "configure:7120: checking for main in -lXbsd" >&5 |
7120 ac_lib_var=`echo Xbsd'_'main | sed 'y%./+-%__p_%'` | 7120 ac_lib_var=`echo Xbsd'_'main | sed 'y%./+-%__p_%'` |
7121 | 7121 |
7122 xe_check_libs=" -lXbsd " | 7122 xe_check_libs=" -lXbsd " |
7123 cat > conftest.$ac_ext <<EOF | 7123 cat > conftest.$ac_ext <<EOF |
7124 #line 7126 "configure" | 7124 #line 7125 "configure" |
7125 #include "confdefs.h" | 7125 #include "confdefs.h" |
7126 | 7126 |
7127 int main() { | 7127 int main() { |
7128 main() | 7128 main() |
7129 ; return 0; } | 7129 ; return 0; } |
7130 EOF | 7130 EOF |
7131 if { (eval echo configure:7133: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7131 if { (eval echo configure:7132: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7132 rm -rf conftest* | 7132 rm -rf conftest* |
7133 eval "ac_cv_lib_$ac_lib_var=yes" | 7133 eval "ac_cv_lib_$ac_lib_var=yes" |
7134 else | 7134 else |
7135 echo "configure: failed program was:" >&5 | 7135 echo "configure: failed program was:" >&5 |
7136 cat conftest.$ac_ext >&5 | 7136 cat conftest.$ac_ext >&5 |
7163 fi | 7163 fi |
7164 | 7164 |
7165 fi | 7165 fi |
7166 if test "$with_msw" != "no"; then | 7166 if test "$with_msw" != "no"; then |
7167 echo "checking for MS-Windows" 1>&6 | 7167 echo "checking for MS-Windows" 1>&6 |
7168 echo "configure:7170: checking for MS-Windows" >&5 | 7168 echo "configure:7169: checking for MS-Windows" >&5 |
7169 | 7169 |
7170 echo $ac_n "checking for main in -lgdi32""... $ac_c" 1>&6 | 7170 echo $ac_n "checking for main in -lgdi32""... $ac_c" 1>&6 |
7171 echo "configure:7173: checking for main in -lgdi32" >&5 | 7171 echo "configure:7172: checking for main in -lgdi32" >&5 |
7172 ac_lib_var=`echo gdi32'_'main | sed 'y%./+-%__p_%'` | 7172 ac_lib_var=`echo gdi32'_'main | sed 'y%./+-%__p_%'` |
7173 | 7173 |
7174 xe_check_libs=" -lgdi32 " | 7174 xe_check_libs=" -lgdi32 " |
7175 cat > conftest.$ac_ext <<EOF | 7175 cat > conftest.$ac_ext <<EOF |
7176 #line 7178 "configure" | 7176 #line 7177 "configure" |
7177 #include "confdefs.h" | 7177 #include "confdefs.h" |
7178 | 7178 |
7179 int main() { | 7179 int main() { |
7180 main() | 7180 main() |
7181 ; return 0; } | 7181 ; return 0; } |
7182 EOF | 7182 EOF |
7183 if { (eval echo configure:7185: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7183 if { (eval echo configure:7184: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7184 rm -rf conftest* | 7184 rm -rf conftest* |
7185 eval "ac_cv_lib_$ac_lib_var=yes" | 7185 eval "ac_cv_lib_$ac_lib_var=yes" |
7186 else | 7186 else |
7187 echo "configure: failed program was:" >&5 | 7187 echo "configure: failed program was:" >&5 |
7188 cat conftest.$ac_ext >&5 | 7188 cat conftest.$ac_ext >&5 |
7229 test "$with_toolbars" != "no" && with_toolbars=msw | 7229 test "$with_toolbars" != "no" && with_toolbars=msw |
7230 test "$with_dialogs" != "no" && with_dialogs=msw | 7230 test "$with_dialogs" != "no" && with_dialogs=msw |
7231 test "$with_widgets" != "no" && with_widgets=msw | 7231 test "$with_widgets" != "no" && with_widgets=msw |
7232 fi | 7232 fi |
7233 cat > conftest.$ac_ext <<EOF | 7233 cat > conftest.$ac_ext <<EOF |
7234 #line 7236 "configure" | 7234 #line 7235 "configure" |
7235 #include "confdefs.h" | 7235 #include "confdefs.h" |
7236 #include <fcntl.h> | 7236 #include <fcntl.h> |
7237 int main() { return (open("/dev/windows", O_RDONLY, 0) > 0)? 0 : 1; } | 7237 int main() { return (open("/dev/windows", O_RDONLY, 0) > 0)? 0 : 1; } |
7238 EOF | 7238 EOF |
7239 if { (eval echo configure:7241: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 7239 if { (eval echo configure:7240: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
7240 then | 7240 then |
7241 { test "$extra_verbose" = "yes" && cat << \EOF | 7241 { test "$extra_verbose" = "yes" && cat << \EOF |
7242 Defining HAVE_MSG_SELECT | 7242 Defining HAVE_MSG_SELECT |
7243 EOF | 7243 EOF |
7244 cat >> confdefs.h <<\EOF | 7244 cat >> confdefs.h <<\EOF |
7295 fi | 7295 fi |
7296 | 7296 |
7297 if test "$with_x11" = "yes"; then | 7297 if test "$with_x11" = "yes"; then |
7298 ac_safe=`echo "X11/extensions/shape.h" | sed 'y%./+-%__p_%'` | 7298 ac_safe=`echo "X11/extensions/shape.h" | sed 'y%./+-%__p_%'` |
7299 echo $ac_n "checking for X11/extensions/shape.h""... $ac_c" 1>&6 | 7299 echo $ac_n "checking for X11/extensions/shape.h""... $ac_c" 1>&6 |
7300 echo "configure:7302: checking for X11/extensions/shape.h" >&5 | 7300 echo "configure:7301: checking for X11/extensions/shape.h" >&5 |
7301 | 7301 |
7302 cat > conftest.$ac_ext <<EOF | 7302 cat > conftest.$ac_ext <<EOF |
7303 #line 7305 "configure" | 7303 #line 7304 "configure" |
7304 #include "confdefs.h" | 7304 #include "confdefs.h" |
7305 #include <X11/extensions/shape.h> | 7305 #include <X11/extensions/shape.h> |
7306 EOF | 7306 EOF |
7307 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7307 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
7308 { (eval echo configure:7310: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7308 { (eval echo configure:7309: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
7309 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 7309 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
7310 if test -z "$ac_err"; then | 7310 if test -z "$ac_err"; then |
7311 rm -rf conftest* | 7311 rm -rf conftest* |
7312 eval "ac_cv_header_$ac_safe=yes" | 7312 eval "ac_cv_header_$ac_safe=yes" |
7313 else | 7313 else |
7353 test "$opsys" = "hpux9" && opsysfile="s/hpux9-x11r4.h" | 7353 test "$opsys" = "hpux9" && opsysfile="s/hpux9-x11r4.h" |
7354 test "$opsys" = "hpux9-shr" && opsysfile="s/hpux9shxr4.h" | 7354 test "$opsys" = "hpux9-shr" && opsysfile="s/hpux9shxr4.h" |
7355 esac | 7355 esac |
7356 | 7356 |
7357 echo "checking for WM_COMMAND option" 1>&6 | 7357 echo "checking for WM_COMMAND option" 1>&6 |
7358 echo "configure:7360: checking for WM_COMMAND option" >&5; | 7358 echo "configure:7359: checking for WM_COMMAND option" >&5; |
7359 if test "$with_wmcommand" != "no"; then | 7359 if test "$with_wmcommand" != "no"; then |
7360 { test "$extra_verbose" = "yes" && cat << \EOF | 7360 { test "$extra_verbose" = "yes" && cat << \EOF |
7361 Defining HAVE_WMCOMMAND | 7361 Defining HAVE_WMCOMMAND |
7362 EOF | 7362 EOF |
7363 cat >> confdefs.h <<\EOF | 7363 cat >> confdefs.h <<\EOF |
7368 fi | 7368 fi |
7369 | 7369 |
7370 test -z "$with_xauth" && test "$window_system" = "none" && with_xauth=no | 7370 test -z "$with_xauth" && test "$window_system" = "none" && with_xauth=no |
7371 test -z "$with_xauth" && { ac_safe=`echo "X11/Xauth.h" | sed 'y%./+-%__p_%'` | 7371 test -z "$with_xauth" && { ac_safe=`echo "X11/Xauth.h" | sed 'y%./+-%__p_%'` |
7372 echo $ac_n "checking for X11/Xauth.h""... $ac_c" 1>&6 | 7372 echo $ac_n "checking for X11/Xauth.h""... $ac_c" 1>&6 |
7373 echo "configure:7375: checking for X11/Xauth.h" >&5 | 7373 echo "configure:7374: checking for X11/Xauth.h" >&5 |
7374 | 7374 |
7375 cat > conftest.$ac_ext <<EOF | 7375 cat > conftest.$ac_ext <<EOF |
7376 #line 7378 "configure" | 7376 #line 7377 "configure" |
7377 #include "confdefs.h" | 7377 #include "confdefs.h" |
7378 #include <X11/Xauth.h> | 7378 #include <X11/Xauth.h> |
7379 EOF | 7379 EOF |
7380 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7380 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
7381 { (eval echo configure:7383: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7381 { (eval echo configure:7382: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
7382 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 7382 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
7383 if test -z "$ac_err"; then | 7383 if test -z "$ac_err"; then |
7384 rm -rf conftest* | 7384 rm -rf conftest* |
7385 eval "ac_cv_header_$ac_safe=yes" | 7385 eval "ac_cv_header_$ac_safe=yes" |
7386 else | 7386 else |
7399 with_xauth=no | 7399 with_xauth=no |
7400 fi | 7400 fi |
7401 } | 7401 } |
7402 test -z "$with_xauth" && { | 7402 test -z "$with_xauth" && { |
7403 echo $ac_n "checking for XauGetAuthByAddr in -lXau""... $ac_c" 1>&6 | 7403 echo $ac_n "checking for XauGetAuthByAddr in -lXau""... $ac_c" 1>&6 |
7404 echo "configure:7406: checking for XauGetAuthByAddr in -lXau" >&5 | 7404 echo "configure:7405: checking for XauGetAuthByAddr in -lXau" >&5 |
7405 ac_lib_var=`echo Xau'_'XauGetAuthByAddr | sed 'y%./+-%__p_%'` | 7405 ac_lib_var=`echo Xau'_'XauGetAuthByAddr | sed 'y%./+-%__p_%'` |
7406 | 7406 |
7407 xe_check_libs=" -lXau " | 7407 xe_check_libs=" -lXau " |
7408 cat > conftest.$ac_ext <<EOF | 7408 cat > conftest.$ac_ext <<EOF |
7409 #line 7411 "configure" | 7409 #line 7410 "configure" |
7410 #include "confdefs.h" | 7410 #include "confdefs.h" |
7411 /* Override any gcc2 internal prototype to avoid an error. */ | 7411 /* Override any gcc2 internal prototype to avoid an error. */ |
7412 /* We use char because int might match the return type of a gcc2 | 7412 /* We use char because int might match the return type of a gcc2 |
7413 builtin and then its argument prototype would still apply. */ | 7413 builtin and then its argument prototype would still apply. */ |
7414 char XauGetAuthByAddr(); | 7414 char XauGetAuthByAddr(); |
7415 | 7415 |
7416 int main() { | 7416 int main() { |
7417 XauGetAuthByAddr() | 7417 XauGetAuthByAddr() |
7418 ; return 0; } | 7418 ; return 0; } |
7419 EOF | 7419 EOF |
7420 if { (eval echo configure:7422: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7420 if { (eval echo configure:7421: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7421 rm -rf conftest* | 7421 rm -rf conftest* |
7422 eval "ac_cv_lib_$ac_lib_var=yes" | 7422 eval "ac_cv_lib_$ac_lib_var=yes" |
7423 else | 7423 else |
7424 echo "configure: failed program was:" >&5 | 7424 echo "configure: failed program was:" >&5 |
7425 cat conftest.$ac_ext >&5 | 7425 cat conftest.$ac_ext >&5 |
7462 test -n "$xemacs_compiler" && XEMACS_CC="$xemacs_compiler" | 7462 test -n "$xemacs_compiler" && XEMACS_CC="$xemacs_compiler" |
7463 : ${XEMACS_CC:="$CC"} | 7463 : ${XEMACS_CC:="$CC"} |
7464 | 7464 |
7465 if test "$with_modules" != "no"; then | 7465 if test "$with_modules" != "no"; then |
7466 echo "checking for module support" 1>&6 | 7466 echo "checking for module support" 1>&6 |
7467 echo "configure:7469: checking for module support" >&5 | 7467 echo "configure:7468: checking for module support" >&5 |
7468 | 7468 |
7469 if test "$with_msw" = "yes"; then | 7469 if test "$with_msw" = "yes"; then |
7470 have_dl=yes; | 7470 have_dl=yes; |
7471 else | 7471 else |
7472 ac_safe=`echo "dlfcn.h" | sed 'y%./+-%__p_%'` | 7472 case "$opsys" in |
7473 darwin ) have_dl=yes; { test "$extra_verbose" = "yes" && cat << \EOF | |
7474 Defining HAVE_DYLD | |
7475 EOF | |
7476 cat >> confdefs.h <<\EOF | |
7477 #define HAVE_DYLD 1 | |
7478 EOF | |
7479 } | |
7480 ;; | |
7481 * ) | |
7482 ac_safe=`echo "dlfcn.h" | sed 'y%./+-%__p_%'` | |
7473 echo $ac_n "checking for dlfcn.h""... $ac_c" 1>&6 | 7483 echo $ac_n "checking for dlfcn.h""... $ac_c" 1>&6 |
7474 echo "configure:7476: checking for dlfcn.h" >&5 | 7484 echo "configure:7485: checking for dlfcn.h" >&5 |
7475 | 7485 |
7476 cat > conftest.$ac_ext <<EOF | 7486 cat > conftest.$ac_ext <<EOF |
7477 #line 7479 "configure" | 7487 #line 7488 "configure" |
7478 #include "confdefs.h" | 7488 #include "confdefs.h" |
7479 #include <dlfcn.h> | 7489 #include <dlfcn.h> |
7480 EOF | 7490 EOF |
7481 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7491 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
7482 { (eval echo configure:7484: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7492 { (eval echo configure:7493: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
7483 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 7493 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
7484 if test -z "$ac_err"; then | 7494 if test -z "$ac_err"; then |
7485 rm -rf conftest* | 7495 rm -rf conftest* |
7486 eval "ac_cv_header_$ac_safe=yes" | 7496 eval "ac_cv_header_$ac_safe=yes" |
7487 else | 7497 else |
7493 fi | 7503 fi |
7494 rm -f conftest* | 7504 rm -f conftest* |
7495 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 7505 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
7496 echo "$ac_t""yes" 1>&6 | 7506 echo "$ac_t""yes" 1>&6 |
7497 | 7507 |
7498 echo $ac_n "checking for dlopen in -lc""... $ac_c" 1>&6 | 7508 echo $ac_n "checking for dlopen in -lc""... $ac_c" 1>&6 |
7499 echo "configure:7501: checking for dlopen in -lc" >&5 | 7509 echo "configure:7510: checking for dlopen in -lc" >&5 |
7500 cat > conftest.$ac_ext <<EOF | 7510 cat > conftest.$ac_ext <<EOF |
7501 #line 7503 "configure" | 7511 #line 7512 "configure" |
7502 #include "confdefs.h" | 7512 #include "confdefs.h" |
7503 #include <dlfcn.h> | 7513 #include <dlfcn.h> |
7504 int main() { | 7514 int main() { |
7505 dlopen ("", 0); | 7515 dlopen ("", 0); |
7506 ; return 0; } | 7516 ; return 0; } |
7507 EOF | 7517 EOF |
7508 if { (eval echo configure:7510: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7518 if { (eval echo configure:7519: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7509 rm -rf conftest* | 7519 rm -rf conftest* |
7510 have_dl=yes | 7520 have_dl=yes |
7511 else | 7521 else |
7512 echo "configure: failed program was:" >&5 | 7522 echo "configure: failed program was:" >&5 |
7513 cat conftest.$ac_ext >&5 | 7523 cat conftest.$ac_ext >&5 |
7514 rm -rf conftest* | 7524 rm -rf conftest* |
7515 | 7525 |
7516 echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6 | 7526 echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6 |
7517 echo "configure:7519: checking for dlopen in -ldl" >&5 | 7527 echo "configure:7528: checking for dlopen in -ldl" >&5 |
7518 ac_save_LIBS="$LIBS" | 7528 ac_save_LIBS="$LIBS" |
7519 LIBS="-ldl $LIBS" | 7529 LIBS="-ldl $LIBS" |
7520 cat > conftest.$ac_ext <<EOF | 7530 cat > conftest.$ac_ext <<EOF |
7521 #line 7523 "configure" | 7531 #line 7532 "configure" |
7522 #include "confdefs.h" | 7532 #include "confdefs.h" |
7523 #include <dlfcn.h> | 7533 #include <dlfcn.h> |
7524 int main() { | 7534 int main() { |
7525 dlopen ("", 0); | 7535 dlopen ("", 0); |
7526 ; return 0; } | 7536 ; return 0; } |
7527 EOF | 7537 EOF |
7528 if { (eval echo configure:7530: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7538 if { (eval echo configure:7539: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7529 rm -rf conftest* | 7539 rm -rf conftest* |
7530 have_dl=yes | 7540 have_dl=yes |
7531 else | 7541 else |
7532 echo "configure: failed program was:" >&5 | 7542 echo "configure: failed program was:" >&5 |
7533 cat conftest.$ac_ext >&5 | 7543 cat conftest.$ac_ext >&5 |
7534 rm -rf conftest* | 7544 rm -rf conftest* |
7535 LIBS="$ac_save_LIBS" | 7545 LIBS="$ac_save_LIBS" |
7536 fi | 7546 fi |
7537 rm -f conftest* | 7547 rm -f conftest* |
7538 ac_save_LIBS= | 7548 ac_save_LIBS= |
7539 fi | 7549 fi |
7540 rm -f conftest* | 7550 rm -f conftest* |
7541 else | 7551 else |
7542 echo "$ac_t""no" 1>&6 | 7552 echo "$ac_t""no" 1>&6 |
7543 fi | 7553 fi |
7544 | 7554 |
7545 if test -n "$have_dl"; then | 7555 if test -n "$have_dl"; then |
7546 { test "$extra_verbose" = "yes" && cat << \EOF | 7556 { test "$extra_verbose" = "yes" && cat << \EOF |
7547 Defining HAVE_DLOPEN | 7557 Defining HAVE_DLOPEN |
7548 EOF | 7558 EOF |
7549 cat >> confdefs.h <<\EOF | 7559 cat >> confdefs.h <<\EOF |
7550 #define HAVE_DLOPEN 1 | 7560 #define HAVE_DLOPEN 1 |
7551 EOF | 7561 EOF |
7552 } | 7562 } |
7553 | 7563 |
7554 else | 7564 else |
7555 | 7565 |
7556 echo $ac_n "checking for shl_load in -ldld""... $ac_c" 1>&6 | 7566 echo $ac_n "checking for shl_load in -ldld""... $ac_c" 1>&6 |
7557 echo "configure:7559: checking for shl_load in -ldld" >&5 | 7567 echo "configure:7568: checking for shl_load in -ldld" >&5 |
7558 ac_lib_var=`echo dld'_'shl_load | sed 'y%./+-%__p_%'` | 7568 ac_lib_var=`echo dld'_'shl_load | sed 'y%./+-%__p_%'` |
7559 | 7569 |
7560 xe_check_libs=" -ldld " | 7570 xe_check_libs=" -ldld " |
7561 cat > conftest.$ac_ext <<EOF | 7571 cat > conftest.$ac_ext <<EOF |
7562 #line 7564 "configure" | 7572 #line 7573 "configure" |
7563 #include "confdefs.h" | 7573 #include "confdefs.h" |
7564 /* Override any gcc2 internal prototype to avoid an error. */ | 7574 /* Override any gcc2 internal prototype to avoid an error. */ |
7565 /* We use char because int might match the return type of a gcc2 | 7575 /* We use char because int might match the return type of a gcc2 |
7566 builtin and then its argument prototype would still apply. */ | 7576 builtin and then its argument prototype would still apply. */ |
7567 char shl_load(); | 7577 char shl_load(); |
7568 | 7578 |
7569 int main() { | 7579 int main() { |
7570 shl_load() | 7580 shl_load() |
7571 ; return 0; } | 7581 ; return 0; } |
7572 EOF | 7582 EOF |
7573 if { (eval echo configure:7575: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7583 if { (eval echo configure:7584: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7574 rm -rf conftest* | 7584 rm -rf conftest* |
7575 eval "ac_cv_lib_$ac_lib_var=yes" | 7585 eval "ac_cv_lib_$ac_lib_var=yes" |
7576 else | 7586 else |
7577 echo "configure: failed program was:" >&5 | 7587 echo "configure: failed program was:" >&5 |
7578 cat conftest.$ac_ext >&5 | 7588 cat conftest.$ac_ext >&5 |
7583 xe_check_libs="" | 7593 xe_check_libs="" |
7584 | 7594 |
7585 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes" ; then | 7595 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes" ; then |
7586 echo "$ac_t""yes" 1>&6 | 7596 echo "$ac_t""yes" 1>&6 |
7587 libdl=dld have_dl=yes; | 7597 libdl=dld have_dl=yes; |
7588 { test "$extra_verbose" = "yes" && cat << \EOF | 7598 { test "$extra_verbose" = "yes" && cat << \EOF |
7589 Defining HAVE_SHL_LOAD | 7599 Defining HAVE_SHL_LOAD |
7590 EOF | 7600 EOF |
7591 cat >> confdefs.h <<\EOF | 7601 cat >> confdefs.h <<\EOF |
7592 #define HAVE_SHL_LOAD 1 | 7602 #define HAVE_SHL_LOAD 1 |
7593 EOF | 7603 EOF |
7595 | 7605 |
7596 else | 7606 else |
7597 echo "$ac_t""no" 1>&6 | 7607 echo "$ac_t""no" 1>&6 |
7598 | 7608 |
7599 echo $ac_n "checking for dld_init in -ldld""... $ac_c" 1>&6 | 7609 echo $ac_n "checking for dld_init in -ldld""... $ac_c" 1>&6 |
7600 echo "configure:7602: checking for dld_init in -ldld" >&5 | 7610 echo "configure:7611: checking for dld_init in -ldld" >&5 |
7601 ac_lib_var=`echo dld'_'dld_init | sed 'y%./+-%__p_%'` | 7611 ac_lib_var=`echo dld'_'dld_init | sed 'y%./+-%__p_%'` |
7602 | 7612 |
7603 xe_check_libs=" -ldld " | 7613 xe_check_libs=" -ldld " |
7604 cat > conftest.$ac_ext <<EOF | 7614 cat > conftest.$ac_ext <<EOF |
7605 #line 7607 "configure" | 7615 #line 7616 "configure" |
7606 #include "confdefs.h" | 7616 #include "confdefs.h" |
7607 /* Override any gcc2 internal prototype to avoid an error. */ | 7617 /* Override any gcc2 internal prototype to avoid an error. */ |
7608 /* We use char because int might match the return type of a gcc2 | 7618 /* We use char because int might match the return type of a gcc2 |
7609 builtin and then its argument prototype would still apply. */ | 7619 builtin and then its argument prototype would still apply. */ |
7610 char dld_init(); | 7620 char dld_init(); |
7611 | 7621 |
7612 int main() { | 7622 int main() { |
7613 dld_init() | 7623 dld_init() |
7614 ; return 0; } | 7624 ; return 0; } |
7615 EOF | 7625 EOF |
7616 if { (eval echo configure:7618: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7626 if { (eval echo configure:7627: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7617 rm -rf conftest* | 7627 rm -rf conftest* |
7618 eval "ac_cv_lib_$ac_lib_var=yes" | 7628 eval "ac_cv_lib_$ac_lib_var=yes" |
7619 else | 7629 else |
7620 echo "configure: failed program was:" >&5 | 7630 echo "configure: failed program was:" >&5 |
7621 cat conftest.$ac_ext >&5 | 7631 cat conftest.$ac_ext >&5 |
7626 xe_check_libs="" | 7636 xe_check_libs="" |
7627 | 7637 |
7628 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes" ; then | 7638 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes" ; then |
7629 echo "$ac_t""yes" 1>&6 | 7639 echo "$ac_t""yes" 1>&6 |
7630 libdl=dld have_dl=yes; | 7640 libdl=dld have_dl=yes; |
7631 { test "$extra_verbose" = "yes" && cat << \EOF | 7641 { test "$extra_verbose" = "yes" && cat << \EOF |
7632 Defining HAVE_DLD_INIT | 7642 Defining HAVE_DLD_INIT |
7633 EOF | 7643 EOF |
7634 cat >> confdefs.h <<\EOF | 7644 cat >> confdefs.h <<\EOF |
7635 #define HAVE_DLD_INIT 1 | 7645 #define HAVE_DLD_INIT 1 |
7636 EOF | 7646 EOF |
7642 | 7652 |
7643 | 7653 |
7644 fi | 7654 fi |
7645 | 7655 |
7646 | 7656 |
7647 fi | 7657 fi |
7648 fi | 7658 esac fi |
7649 if test -n "$have_dl"; then | 7659 if test -n "$have_dl"; then |
7650 | 7660 |
7651 dll_ld= | 7661 dll_ld= |
7652 dll_ldflags= | 7662 dll_ldflags= |
7653 dll_cflags= | 7663 dll_cflags= |
7656 ld_dynamic_link_flags= | 7666 ld_dynamic_link_flags= |
7657 xehost=$canonical | 7667 xehost=$canonical |
7658 xealias=$internal_configuration | 7668 xealias=$internal_configuration |
7659 | 7669 |
7660 echo "checking how to build dynamic libraries for ${xehost}" 1>&6 | 7670 echo "checking how to build dynamic libraries for ${xehost}" 1>&6 |
7661 echo "configure:7663: checking how to build dynamic libraries for ${xehost}" >&5 | 7671 echo "configure:7672: checking how to build dynamic libraries for ${xehost}" >&5 |
7662 # Transform *-*-linux* to *-*-linux-gnu*, to support old configure scripts. | 7672 # Transform *-*-linux* to *-*-linux-gnu*, to support old configure scripts. |
7663 case "$xehost" in | 7673 case "$xehost" in |
7664 *-*-linux-gnu*) ;; | 7674 *-*-linux-gnu*) ;; |
7665 *-*-linux*) xehost=`echo $xehost | sed 's/^\(.*-.*-linux\)\(.*\)$/\1-gnu\2/'` | 7675 *-*-linux*) xehost=`echo $xehost | sed 's/^\(.*-.*-linux\)\(.*\)$/\1-gnu\2/'` |
7666 esac | 7676 esac |
7684 # Now see if the compiler is really GCC. | 7694 # Now see if the compiler is really GCC. |
7685 if test "$GCC" = "yes"; then | 7695 if test "$GCC" = "yes"; then |
7686 XEGCC=yes | 7696 XEGCC=yes |
7687 else | 7697 else |
7688 echo $ac_n "checking checking whether we are using GNU C""... $ac_c" 1>&6 | 7698 echo $ac_n "checking checking whether we are using GNU C""... $ac_c" 1>&6 |
7689 echo "configure:7691: checking checking whether we are using GNU C" >&5 | 7699 echo "configure:7700: checking checking whether we are using GNU C" >&5 |
7690 cat > conftest.$ac_ext <<EOF | 7700 cat > conftest.$ac_ext <<EOF |
7691 #line 7693 "configure" | 7701 #line 7702 "configure" |
7692 #include "confdefs.h" | 7702 #include "confdefs.h" |
7693 | 7703 |
7694 #ifdef __GNUC__ | 7704 #ifdef __GNUC__ |
7695 yes; | 7705 yes; |
7696 #endif | 7706 #endif |
7708 | 7718 |
7709 echo "$ac_t""${XEGCC}" 1>&6 | 7719 echo "$ac_t""${XEGCC}" 1>&6 |
7710 fi | 7720 fi |
7711 | 7721 |
7712 echo $ac_n "checking how to produce PIC code""... $ac_c" 1>&6 | 7722 echo $ac_n "checking how to produce PIC code""... $ac_c" 1>&6 |
7713 echo "configure:7715: checking how to produce PIC code" >&5 | 7723 echo "configure:7724: checking how to produce PIC code" >&5 |
7714 wl= | 7724 wl= |
7715 | 7725 |
7716 can_build_shared=yes | 7726 can_build_shared=yes |
7717 cygwin_warn= | 7727 cygwin_warn= |
7718 if test "$XEGCC" = yes; then | 7728 if test "$XEGCC" = yes; then |
7814 if test -n "$dll_cflags"; then | 7824 if test -n "$dll_cflags"; then |
7815 echo "$ac_t""${dll_cflags}" 1>&6 | 7825 echo "$ac_t""${dll_cflags}" 1>&6 |
7816 | 7826 |
7817 # Check to make sure the dll_cflags actually works. | 7827 # Check to make sure the dll_cflags actually works. |
7818 echo $ac_n "checking if PIC flag ${dll_cflags} really works""... $ac_c" 1>&6 | 7828 echo $ac_n "checking if PIC flag ${dll_cflags} really works""... $ac_c" 1>&6 |
7819 echo "configure:7821: checking if PIC flag ${dll_cflags} really works" >&5 | 7829 echo "configure:7830: checking if PIC flag ${dll_cflags} really works" >&5 |
7820 save_CFLAGS="$CFLAGS" | 7830 save_CFLAGS="$CFLAGS" |
7821 CFLAGS="$CFLAGS $dll_cflags -DPIC" | 7831 CFLAGS="$CFLAGS $dll_cflags -DPIC" |
7822 cat > conftest.$ac_ext <<EOF | 7832 cat > conftest.$ac_ext <<EOF |
7823 #line 7825 "configure" | 7833 #line 7834 "configure" |
7824 #include "confdefs.h" | 7834 #include "confdefs.h" |
7825 | 7835 |
7826 int main() { | 7836 int main() { |
7827 int x=0; | 7837 int x=0; |
7828 ; return 0; } | 7838 ; return 0; } |
7829 EOF | 7839 EOF |
7830 if { (eval echo configure:7832: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 7840 if { (eval echo configure:7841: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
7831 rm -rf conftest* | 7841 rm -rf conftest* |
7832 | 7842 |
7833 # On HP-UX, the stripped-down bundled CC doesn't accept +Z, but also | 7843 # On HP-UX, the stripped-down bundled CC doesn't accept +Z, but also |
7834 # reports no error. So, we need to grep stderr for (Bundled). | 7844 # reports no error. So, we need to grep stderr for (Bundled). |
7835 if grep '(Bundled)' config.log >/dev/null; then | 7845 if grep '(Bundled)' config.log >/dev/null; then |
7860 if test "$can_build_shared" = "yes"; then | 7870 if test "$can_build_shared" = "yes"; then |
7861 cc_produces_so=no | 7871 cc_produces_so=no |
7862 xldf= | 7872 xldf= |
7863 xcldf= | 7873 xcldf= |
7864 echo $ac_n "checking if C compiler can produce shared libraries""... $ac_c" 1>&6 | 7874 echo $ac_n "checking if C compiler can produce shared libraries""... $ac_c" 1>&6 |
7865 echo "configure:7867: checking if C compiler can produce shared libraries" >&5 | 7875 echo "configure:7876: checking if C compiler can produce shared libraries" >&5 |
7866 if test "$XEGCC" = yes; then | 7876 if test "$XEGCC" = yes; then |
7867 xcldf="-shared" | 7877 xcldf="-shared" |
7868 xldf="-shared" | 7878 xldf="-shared" |
7869 else # Not using GCC | 7879 else # Not using GCC |
7870 case "$xehost_os" in | 7880 case "$xehost_os" in |
7911 LDFLAGS="$xcldf $LDFLAGS" | 7921 LDFLAGS="$xcldf $LDFLAGS" |
7912 LIBS= | 7922 LIBS= |
7913 xe_libs= | 7923 xe_libs= |
7914 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' | 7924 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' |
7915 cat > conftest.$ac_ext <<EOF | 7925 cat > conftest.$ac_ext <<EOF |
7916 #line 7918 "configure" | 7926 #line 7927 "configure" |
7917 #include "confdefs.h" | 7927 #include "confdefs.h" |
7918 | 7928 |
7919 int main() { | 7929 int main() { |
7920 int x=0; | 7930 int x=0; |
7921 ; return 0; } | 7931 ; return 0; } |
7922 EOF | 7932 EOF |
7923 if { (eval echo configure:7925: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7933 if { (eval echo configure:7934: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7924 rm -rf conftest* | 7934 rm -rf conftest* |
7925 cc_produces_so=yes | 7935 cc_produces_so=yes |
7926 else | 7936 else |
7927 echo "configure: failed program was:" >&5 | 7937 echo "configure: failed program was:" >&5 |
7928 cat conftest.$ac_ext >&5 | 7938 cat conftest.$ac_ext >&5 |
7943 if test -z "$LTLD"; then | 7953 if test -z "$LTLD"; then |
7944 ac_prog=ld | 7954 ac_prog=ld |
7945 if test "$XEGCC" = yes; then | 7955 if test "$XEGCC" = yes; then |
7946 # Check if gcc -print-prog-name=ld gives a path. | 7956 # Check if gcc -print-prog-name=ld gives a path. |
7947 echo $ac_n "checking for ld used by GCC""... $ac_c" 1>&6 | 7957 echo $ac_n "checking for ld used by GCC""... $ac_c" 1>&6 |
7948 echo "configure:7950: checking for ld used by GCC" >&5 | 7958 echo "configure:7959: checking for ld used by GCC" >&5 |
7949 ac_prog=`($CC -print-prog-name=ld) 2>&5` | 7959 ac_prog=`($CC -print-prog-name=ld) 2>&5` |
7950 case "$ac_prog" in | 7960 case "$ac_prog" in |
7951 # Accept absolute paths. | 7961 # Accept absolute paths. |
7952 /*) | 7962 /*) |
7953 if test -z "$LTLD"; then | 7963 if test -z "$LTLD"; then |
7969 with_gnu_ld=unknown | 7979 with_gnu_ld=unknown |
7970 ;; | 7980 ;; |
7971 esac | 7981 esac |
7972 else | 7982 else |
7973 echo $ac_n "checking for GNU ld""... $ac_c" 1>&6 | 7983 echo $ac_n "checking for GNU ld""... $ac_c" 1>&6 |
7974 echo "configure:7976: checking for GNU ld" >&5 | 7984 echo "configure:7985: checking for GNU ld" >&5 |
7975 fi | 7985 fi |
7976 | 7986 |
7977 if test -z "$LTLD"; then | 7987 if test -z "$LTLD"; then |
7978 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" | 7988 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" |
7979 for ac_dir in $PATH; do | 7989 for ac_dir in $PATH; do |
8007 | 8017 |
8008 ld_dynamic_link_flags= | 8018 ld_dynamic_link_flags= |
8009 | 8019 |
8010 # Check to see if it really is or isn't GNU ld. | 8020 # Check to see if it really is or isn't GNU ld. |
8011 echo $ac_n "checking if the linker is GNU ld""... $ac_c" 1>&6 | 8021 echo $ac_n "checking if the linker is GNU ld""... $ac_c" 1>&6 |
8012 echo "configure:8014: checking if the linker is GNU ld" >&5 | 8022 echo "configure:8023: checking if the linker is GNU ld" >&5 |
8013 # I'd rather use --version here, but apparently some GNU ld's only accept -v. | 8023 # I'd rather use --version here, but apparently some GNU ld's only accept -v. |
8014 if $LTLD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then | 8024 if $LTLD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then |
8015 xe_gnu_ld=yes | 8025 xe_gnu_ld=yes |
8016 else | 8026 else |
8017 xe_gnu_ld=no | 8027 xe_gnu_ld=no |
8035 ld_shlibs=yes | 8045 ld_shlibs=yes |
8036 else | 8046 else |
8037 # OK - only NOW do we futz about with ld. | 8047 # OK - only NOW do we futz about with ld. |
8038 # See if the linker supports building shared libraries. | 8048 # See if the linker supports building shared libraries. |
8039 echo $ac_n "checking whether the linker supports shared libraries""... $ac_c" 1>&6 | 8049 echo $ac_n "checking whether the linker supports shared libraries""... $ac_c" 1>&6 |
8040 echo "configure:8042: checking whether the linker supports shared libraries" >&5 | 8050 echo "configure:8051: checking whether the linker supports shared libraries" >&5 |
8041 dll_ld=$CC | 8051 dll_ld=$CC |
8042 dll_ldflags=$LDFLAGS | 8052 dll_ldflags=$LDFLAGS |
8043 ld_shlibs=yes | 8053 ld_shlibs=yes |
8044 can_build_shared=yes | 8054 can_build_shared=yes |
8045 if test "$xe_gnu_ld" = yes && test "$gnu_ld_acts_native" != yes; then | 8055 if test "$xe_gnu_ld" = yes && test "$gnu_ld_acts_native" != yes; then |
8243 INSTALL_ARCH_DEP_SUBDIR="$INSTALL_ARCH_DEP_SUBDIR src" && if test "$extra_verbose" = "yes"; then echo " Appending \"src\" to \$INSTALL_ARCH_DEP_SUBDIR"; fi | 8253 INSTALL_ARCH_DEP_SUBDIR="$INSTALL_ARCH_DEP_SUBDIR src" && if test "$extra_verbose" = "yes"; then echo " Appending \"src\" to \$INSTALL_ARCH_DEP_SUBDIR"; fi |
8244 test -n "$libdl" && LIBS="-l${libdl} $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-l${libdl}\" to \$LIBS"; fi | 8254 test -n "$libdl" && LIBS="-l${libdl} $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-l${libdl}\" to \$LIBS"; fi |
8245 for ac_func in dlerror _dlerror | 8255 for ac_func in dlerror _dlerror |
8246 do | 8256 do |
8247 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 8257 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
8248 echo "configure:8250: checking for $ac_func" >&5 | 8258 echo "configure:8259: checking for $ac_func" >&5 |
8249 | 8259 |
8250 cat > conftest.$ac_ext <<EOF | 8260 cat > conftest.$ac_ext <<EOF |
8251 #line 8253 "configure" | 8261 #line 8262 "configure" |
8252 #include "confdefs.h" | 8262 #include "confdefs.h" |
8253 /* System header to define __stub macros and hopefully few prototypes, | 8263 /* System header to define __stub macros and hopefully few prototypes, |
8254 which can conflict with char $ac_func(); below. */ | 8264 which can conflict with char $ac_func(); below. */ |
8255 #include <assert.h> | 8265 #include <assert.h> |
8256 /* Override any gcc2 internal prototype to avoid an error. */ | 8266 /* Override any gcc2 internal prototype to avoid an error. */ |
8269 $ac_func(); | 8279 $ac_func(); |
8270 #endif | 8280 #endif |
8271 | 8281 |
8272 ; return 0; } | 8282 ; return 0; } |
8273 EOF | 8283 EOF |
8274 if { (eval echo configure:8276: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8284 if { (eval echo configure:8285: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8275 rm -rf conftest* | 8285 rm -rf conftest* |
8276 eval "ac_cv_func_$ac_func=yes" | 8286 eval "ac_cv_func_$ac_func=yes" |
8277 else | 8287 else |
8278 echo "configure: failed program was:" >&5 | 8288 echo "configure: failed program was:" >&5 |
8279 cat conftest.$ac_ext >&5 | 8289 cat conftest.$ac_ext >&5 |
8331 | 8341 |
8332 if test "$with_tooltalk" != "no" ; then | 8342 if test "$with_tooltalk" != "no" ; then |
8333 for dir in "" "Tt/" "desktop/" ; do | 8343 for dir in "" "Tt/" "desktop/" ; do |
8334 ac_safe=`echo "${dir}tt_c.h" | sed 'y%./+-%__p_%'` | 8344 ac_safe=`echo "${dir}tt_c.h" | sed 'y%./+-%__p_%'` |
8335 echo $ac_n "checking for ${dir}tt_c.h""... $ac_c" 1>&6 | 8345 echo $ac_n "checking for ${dir}tt_c.h""... $ac_c" 1>&6 |
8336 echo "configure:8338: checking for ${dir}tt_c.h" >&5 | 8346 echo "configure:8347: checking for ${dir}tt_c.h" >&5 |
8337 | 8347 |
8338 cat > conftest.$ac_ext <<EOF | 8348 cat > conftest.$ac_ext <<EOF |
8339 #line 8341 "configure" | 8349 #line 8350 "configure" |
8340 #include "confdefs.h" | 8350 #include "confdefs.h" |
8341 #include <${dir}tt_c.h> | 8351 #include <${dir}tt_c.h> |
8342 EOF | 8352 EOF |
8343 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8353 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8344 { (eval echo configure:8346: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8354 { (eval echo configure:8355: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8345 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 8355 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
8346 if test -z "$ac_err"; then | 8356 if test -z "$ac_err"; then |
8347 rm -rf conftest* | 8357 rm -rf conftest* |
8348 eval "ac_cv_header_$ac_safe=yes" | 8358 eval "ac_cv_header_$ac_safe=yes" |
8349 else | 8359 else |
8375 for extra_libs in "" "-lI18N -lce" "-lcxx"; do | 8385 for extra_libs in "" "-lI18N -lce" "-lcxx"; do |
8376 | 8386 |
8377 xe_msg_checking="for tt_message_create in -ltt" | 8387 xe_msg_checking="for tt_message_create in -ltt" |
8378 test -n "$extra_libs" && xe_msg_checking="$xe_msg_checking using extra libs $extra_libs" | 8388 test -n "$extra_libs" && xe_msg_checking="$xe_msg_checking using extra libs $extra_libs" |
8379 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 8389 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
8380 echo "configure:8382: checking "$xe_msg_checking"" >&5 | 8390 echo "configure:8391: checking "$xe_msg_checking"" >&5 |
8381 ac_lib_var=`echo tt'_'tt_message_create | sed 'y%./+-%__p_%'` | 8391 ac_lib_var=`echo tt'_'tt_message_create | sed 'y%./+-%__p_%'` |
8382 | 8392 |
8383 xe_check_libs=" -ltt $extra_libs" | 8393 xe_check_libs=" -ltt $extra_libs" |
8384 cat > conftest.$ac_ext <<EOF | 8394 cat > conftest.$ac_ext <<EOF |
8385 #line 8387 "configure" | 8395 #line 8396 "configure" |
8386 #include "confdefs.h" | 8396 #include "confdefs.h" |
8387 /* Override any gcc2 internal prototype to avoid an error. */ | 8397 /* Override any gcc2 internal prototype to avoid an error. */ |
8388 /* We use char because int might match the return type of a gcc2 | 8398 /* We use char because int might match the return type of a gcc2 |
8389 builtin and then its argument prototype would still apply. */ | 8399 builtin and then its argument prototype would still apply. */ |
8390 char tt_message_create(); | 8400 char tt_message_create(); |
8391 | 8401 |
8392 int main() { | 8402 int main() { |
8393 tt_message_create() | 8403 tt_message_create() |
8394 ; return 0; } | 8404 ; return 0; } |
8395 EOF | 8405 EOF |
8396 if { (eval echo configure:8398: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8406 if { (eval echo configure:8407: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8397 rm -rf conftest* | 8407 rm -rf conftest* |
8398 eval "ac_cv_lib_$ac_lib_var=yes" | 8408 eval "ac_cv_lib_$ac_lib_var=yes" |
8399 else | 8409 else |
8400 echo "configure: failed program was:" >&5 | 8410 echo "configure: failed program was:" >&5 |
8401 cat conftest.$ac_ext >&5 | 8411 cat conftest.$ac_ext >&5 |
8445 libs_x="$tt_libs $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$tt_libs\" to \$libs_x"; fi | 8455 libs_x="$tt_libs $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$tt_libs\" to \$libs_x"; fi |
8446 fi | 8456 fi |
8447 | 8457 |
8448 test -z "$with_cde" && { ac_safe=`echo "Dt/Dt.h" | sed 'y%./+-%__p_%'` | 8458 test -z "$with_cde" && { ac_safe=`echo "Dt/Dt.h" | sed 'y%./+-%__p_%'` |
8449 echo $ac_n "checking for Dt/Dt.h""... $ac_c" 1>&6 | 8459 echo $ac_n "checking for Dt/Dt.h""... $ac_c" 1>&6 |
8450 echo "configure:8452: checking for Dt/Dt.h" >&5 | 8460 echo "configure:8461: checking for Dt/Dt.h" >&5 |
8451 | 8461 |
8452 cat > conftest.$ac_ext <<EOF | 8462 cat > conftest.$ac_ext <<EOF |
8453 #line 8455 "configure" | 8463 #line 8464 "configure" |
8454 #include "confdefs.h" | 8464 #include "confdefs.h" |
8455 #include <Dt/Dt.h> | 8465 #include <Dt/Dt.h> |
8456 EOF | 8466 EOF |
8457 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8467 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8458 { (eval echo configure:8460: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8468 { (eval echo configure:8469: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8459 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 8469 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
8460 if test -z "$ac_err"; then | 8470 if test -z "$ac_err"; then |
8461 rm -rf conftest* | 8471 rm -rf conftest* |
8462 eval "ac_cv_header_$ac_safe=yes" | 8472 eval "ac_cv_header_$ac_safe=yes" |
8463 else | 8473 else |
8476 with_cde=no | 8486 with_cde=no |
8477 fi | 8487 fi |
8478 } | 8488 } |
8479 test -z "$with_cde" && { | 8489 test -z "$with_cde" && { |
8480 echo $ac_n "checking for DtDndDragStart in -lDtSvc""... $ac_c" 1>&6 | 8490 echo $ac_n "checking for DtDndDragStart in -lDtSvc""... $ac_c" 1>&6 |
8481 echo "configure:8483: checking for DtDndDragStart in -lDtSvc" >&5 | 8491 echo "configure:8492: checking for DtDndDragStart in -lDtSvc" >&5 |
8482 ac_lib_var=`echo DtSvc'_'DtDndDragStart | sed 'y%./+-%__p_%'` | 8492 ac_lib_var=`echo DtSvc'_'DtDndDragStart | sed 'y%./+-%__p_%'` |
8483 | 8493 |
8484 xe_check_libs=" -lDtSvc " | 8494 xe_check_libs=" -lDtSvc " |
8485 cat > conftest.$ac_ext <<EOF | 8495 cat > conftest.$ac_ext <<EOF |
8486 #line 8488 "configure" | 8496 #line 8497 "configure" |
8487 #include "confdefs.h" | 8497 #include "confdefs.h" |
8488 /* Override any gcc2 internal prototype to avoid an error. */ | 8498 /* Override any gcc2 internal prototype to avoid an error. */ |
8489 /* We use char because int might match the return type of a gcc2 | 8499 /* We use char because int might match the return type of a gcc2 |
8490 builtin and then its argument prototype would still apply. */ | 8500 builtin and then its argument prototype would still apply. */ |
8491 char DtDndDragStart(); | 8501 char DtDndDragStart(); |
8492 | 8502 |
8493 int main() { | 8503 int main() { |
8494 DtDndDragStart() | 8504 DtDndDragStart() |
8495 ; return 0; } | 8505 ; return 0; } |
8496 EOF | 8506 EOF |
8497 if { (eval echo configure:8499: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8507 if { (eval echo configure:8508: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8498 rm -rf conftest* | 8508 rm -rf conftest* |
8499 eval "ac_cv_lib_$ac_lib_var=yes" | 8509 eval "ac_cv_lib_$ac_lib_var=yes" |
8500 else | 8510 else |
8501 echo "configure: failed program was:" >&5 | 8511 echo "configure: failed program was:" >&5 |
8502 cat conftest.$ac_ext >&5 | 8512 cat conftest.$ac_ext >&5 |
8573 dragndrop_proto="$dragndrop_proto GTK" && if test "$extra_verbose" = "yes"; then echo " Appending \"GTK\" to \$dragndrop_proto"; fi | 8583 dragndrop_proto="$dragndrop_proto GTK" && if test "$extra_verbose" = "yes"; then echo " Appending \"GTK\" to \$dragndrop_proto"; fi |
8574 fi | 8584 fi |
8575 | 8585 |
8576 if test "$with_dragndrop" != "no" ; then | 8586 if test "$with_dragndrop" != "no" ; then |
8577 echo $ac_n "checking if drag and drop API is needed""... $ac_c" 1>&6 | 8587 echo $ac_n "checking if drag and drop API is needed""... $ac_c" 1>&6 |
8578 echo "configure:8580: checking if drag and drop API is needed" >&5 | 8588 echo "configure:8589: checking if drag and drop API is needed" >&5 |
8579 if test -n "$dragndrop_proto" ; then | 8589 if test -n "$dragndrop_proto" ; then |
8580 with_dragndrop=yes | 8590 with_dragndrop=yes |
8581 echo "$ac_t""yes (${dragndrop_proto} )" 1>&6 | 8591 echo "$ac_t""yes (${dragndrop_proto} )" 1>&6 |
8582 { test "$extra_verbose" = "yes" && cat << \EOF | 8592 { test "$extra_verbose" = "yes" && cat << \EOF |
8583 Defining HAVE_DRAGNDROP | 8593 Defining HAVE_DRAGNDROP |
8593 echo "$ac_t""no" 1>&6 | 8603 echo "$ac_t""no" 1>&6 |
8594 fi | 8604 fi |
8595 fi | 8605 fi |
8596 | 8606 |
8597 echo "checking for LDAP" 1>&6 | 8607 echo "checking for LDAP" 1>&6 |
8598 echo "configure:8600: checking for LDAP" >&5 | 8608 echo "configure:8609: checking for LDAP" >&5 |
8599 ldap_libs= | 8609 ldap_libs= |
8600 test -z "$with_ldap" && { ac_safe=`echo "ldap.h" | sed 'y%./+-%__p_%'` | 8610 test -z "$with_ldap" && { ac_safe=`echo "ldap.h" | sed 'y%./+-%__p_%'` |
8601 echo $ac_n "checking for ldap.h""... $ac_c" 1>&6 | 8611 echo $ac_n "checking for ldap.h""... $ac_c" 1>&6 |
8602 echo "configure:8604: checking for ldap.h" >&5 | 8612 echo "configure:8613: checking for ldap.h" >&5 |
8603 | 8613 |
8604 cat > conftest.$ac_ext <<EOF | 8614 cat > conftest.$ac_ext <<EOF |
8605 #line 8607 "configure" | 8615 #line 8616 "configure" |
8606 #include "confdefs.h" | 8616 #include "confdefs.h" |
8607 #include <ldap.h> | 8617 #include <ldap.h> |
8608 EOF | 8618 EOF |
8609 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8619 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8610 { (eval echo configure:8612: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8620 { (eval echo configure:8621: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8611 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 8621 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
8612 if test -z "$ac_err"; then | 8622 if test -z "$ac_err"; then |
8613 rm -rf conftest* | 8623 rm -rf conftest* |
8614 eval "ac_cv_header_$ac_safe=yes" | 8624 eval "ac_cv_header_$ac_safe=yes" |
8615 else | 8625 else |
8628 with_ldap=no | 8638 with_ldap=no |
8629 fi | 8639 fi |
8630 } | 8640 } |
8631 test -z "$with_ldap" && { ac_safe=`echo "lber.h" | sed 'y%./+-%__p_%'` | 8641 test -z "$with_ldap" && { ac_safe=`echo "lber.h" | sed 'y%./+-%__p_%'` |
8632 echo $ac_n "checking for lber.h""... $ac_c" 1>&6 | 8642 echo $ac_n "checking for lber.h""... $ac_c" 1>&6 |
8633 echo "configure:8635: checking for lber.h" >&5 | 8643 echo "configure:8644: checking for lber.h" >&5 |
8634 | 8644 |
8635 cat > conftest.$ac_ext <<EOF | 8645 cat > conftest.$ac_ext <<EOF |
8636 #line 8638 "configure" | 8646 #line 8647 "configure" |
8637 #include "confdefs.h" | 8647 #include "confdefs.h" |
8638 #include <lber.h> | 8648 #include <lber.h> |
8639 EOF | 8649 EOF |
8640 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8650 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8641 { (eval echo configure:8643: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8651 { (eval echo configure:8652: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8642 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 8652 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
8643 if test -z "$ac_err"; then | 8653 if test -z "$ac_err"; then |
8644 rm -rf conftest* | 8654 rm -rf conftest* |
8645 eval "ac_cv_header_$ac_safe=yes" | 8655 eval "ac_cv_header_$ac_safe=yes" |
8646 else | 8656 else |
8660 fi | 8670 fi |
8661 } | 8671 } |
8662 if test "$with_ldap" != "no"; then | 8672 if test "$with_ldap" != "no"; then |
8663 | 8673 |
8664 echo $ac_n "checking for ldap_search in -lldap""... $ac_c" 1>&6 | 8674 echo $ac_n "checking for ldap_search in -lldap""... $ac_c" 1>&6 |
8665 echo "configure:8667: checking for ldap_search in -lldap" >&5 | 8675 echo "configure:8676: checking for ldap_search in -lldap" >&5 |
8666 ac_lib_var=`echo ldap'_'ldap_search | sed 'y%./+-%__p_%'` | 8676 ac_lib_var=`echo ldap'_'ldap_search | sed 'y%./+-%__p_%'` |
8667 | 8677 |
8668 xe_check_libs=" -lldap " | 8678 xe_check_libs=" -lldap " |
8669 cat > conftest.$ac_ext <<EOF | 8679 cat > conftest.$ac_ext <<EOF |
8670 #line 8672 "configure" | 8680 #line 8681 "configure" |
8671 #include "confdefs.h" | 8681 #include "confdefs.h" |
8672 /* Override any gcc2 internal prototype to avoid an error. */ | 8682 /* Override any gcc2 internal prototype to avoid an error. */ |
8673 /* We use char because int might match the return type of a gcc2 | 8683 /* We use char because int might match the return type of a gcc2 |
8674 builtin and then its argument prototype would still apply. */ | 8684 builtin and then its argument prototype would still apply. */ |
8675 char ldap_search(); | 8685 char ldap_search(); |
8676 | 8686 |
8677 int main() { | 8687 int main() { |
8678 ldap_search() | 8688 ldap_search() |
8679 ; return 0; } | 8689 ; return 0; } |
8680 EOF | 8690 EOF |
8681 if { (eval echo configure:8683: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8691 if { (eval echo configure:8692: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8682 rm -rf conftest* | 8692 rm -rf conftest* |
8683 eval "ac_cv_lib_$ac_lib_var=yes" | 8693 eval "ac_cv_lib_$ac_lib_var=yes" |
8684 else | 8694 else |
8685 echo "configure: failed program was:" >&5 | 8695 echo "configure: failed program was:" >&5 |
8686 cat conftest.$ac_ext >&5 | 8696 cat conftest.$ac_ext >&5 |
8701 | 8711 |
8702 test "$with_ldap_nolber" = "no" && { | 8712 test "$with_ldap_nolber" = "no" && { |
8703 xe_msg_checking="for ldap_open in -lldap" | 8713 xe_msg_checking="for ldap_open in -lldap" |
8704 test -n "-llber" && xe_msg_checking="$xe_msg_checking using extra libs -llber" | 8714 test -n "-llber" && xe_msg_checking="$xe_msg_checking using extra libs -llber" |
8705 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 8715 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
8706 echo "configure:8708: checking "$xe_msg_checking"" >&5 | 8716 echo "configure:8717: checking "$xe_msg_checking"" >&5 |
8707 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` | 8717 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` |
8708 | 8718 |
8709 xe_check_libs=" -lldap -llber" | 8719 xe_check_libs=" -lldap -llber" |
8710 cat > conftest.$ac_ext <<EOF | 8720 cat > conftest.$ac_ext <<EOF |
8711 #line 8713 "configure" | 8721 #line 8722 "configure" |
8712 #include "confdefs.h" | 8722 #include "confdefs.h" |
8713 /* Override any gcc2 internal prototype to avoid an error. */ | 8723 /* Override any gcc2 internal prototype to avoid an error. */ |
8714 /* We use char because int might match the return type of a gcc2 | 8724 /* We use char because int might match the return type of a gcc2 |
8715 builtin and then its argument prototype would still apply. */ | 8725 builtin and then its argument prototype would still apply. */ |
8716 char ldap_open(); | 8726 char ldap_open(); |
8717 | 8727 |
8718 int main() { | 8728 int main() { |
8719 ldap_open() | 8729 ldap_open() |
8720 ; return 0; } | 8730 ; return 0; } |
8721 EOF | 8731 EOF |
8722 if { (eval echo configure:8724: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8732 if { (eval echo configure:8733: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8723 rm -rf conftest* | 8733 rm -rf conftest* |
8724 eval "ac_cv_lib_$ac_lib_var=yes" | 8734 eval "ac_cv_lib_$ac_lib_var=yes" |
8725 else | 8735 else |
8726 echo "configure: failed program was:" >&5 | 8736 echo "configure: failed program was:" >&5 |
8727 cat conftest.$ac_ext >&5 | 8737 cat conftest.$ac_ext >&5 |
8742 } | 8752 } |
8743 test "$with_ldap_nolber" = "no" -a "$with_ldap_lber" = "no" && { | 8753 test "$with_ldap_nolber" = "no" -a "$with_ldap_lber" = "no" && { |
8744 xe_msg_checking="for ldap_open in -lldap" | 8754 xe_msg_checking="for ldap_open in -lldap" |
8745 test -n "-llber -lkrb" && xe_msg_checking="$xe_msg_checking using extra libs -llber -lkrb" | 8755 test -n "-llber -lkrb" && xe_msg_checking="$xe_msg_checking using extra libs -llber -lkrb" |
8746 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 8756 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
8747 echo "configure:8749: checking "$xe_msg_checking"" >&5 | 8757 echo "configure:8758: checking "$xe_msg_checking"" >&5 |
8748 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` | 8758 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` |
8749 | 8759 |
8750 xe_check_libs=" -lldap -llber -lkrb" | 8760 xe_check_libs=" -lldap -llber -lkrb" |
8751 cat > conftest.$ac_ext <<EOF | 8761 cat > conftest.$ac_ext <<EOF |
8752 #line 8754 "configure" | 8762 #line 8763 "configure" |
8753 #include "confdefs.h" | 8763 #include "confdefs.h" |
8754 /* Override any gcc2 internal prototype to avoid an error. */ | 8764 /* Override any gcc2 internal prototype to avoid an error. */ |
8755 /* We use char because int might match the return type of a gcc2 | 8765 /* We use char because int might match the return type of a gcc2 |
8756 builtin and then its argument prototype would still apply. */ | 8766 builtin and then its argument prototype would still apply. */ |
8757 char ldap_open(); | 8767 char ldap_open(); |
8758 | 8768 |
8759 int main() { | 8769 int main() { |
8760 ldap_open() | 8770 ldap_open() |
8761 ; return 0; } | 8771 ; return 0; } |
8762 EOF | 8772 EOF |
8763 if { (eval echo configure:8765: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8773 if { (eval echo configure:8774: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8764 rm -rf conftest* | 8774 rm -rf conftest* |
8765 eval "ac_cv_lib_$ac_lib_var=yes" | 8775 eval "ac_cv_lib_$ac_lib_var=yes" |
8766 else | 8776 else |
8767 echo "configure: failed program was:" >&5 | 8777 echo "configure: failed program was:" >&5 |
8768 cat conftest.$ac_ext >&5 | 8778 cat conftest.$ac_ext >&5 |
8783 } | 8793 } |
8784 test "$with_ldap_nolber" = "no" -a "$with_ldap_lber" = "no" -a "$with_ldap_krb" = "no" && { | 8794 test "$with_ldap_nolber" = "no" -a "$with_ldap_lber" = "no" -a "$with_ldap_krb" = "no" && { |
8785 xe_msg_checking="for ldap_open in -lldap" | 8795 xe_msg_checking="for ldap_open in -lldap" |
8786 test -n "-llber -lkrb -ldes" && xe_msg_checking="$xe_msg_checking using extra libs -llber -lkrb -ldes" | 8796 test -n "-llber -lkrb -ldes" && xe_msg_checking="$xe_msg_checking using extra libs -llber -lkrb -ldes" |
8787 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 8797 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
8788 echo "configure:8790: checking "$xe_msg_checking"" >&5 | 8798 echo "configure:8799: checking "$xe_msg_checking"" >&5 |
8789 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` | 8799 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` |
8790 | 8800 |
8791 xe_check_libs=" -lldap -llber -lkrb -ldes" | 8801 xe_check_libs=" -lldap -llber -lkrb -ldes" |
8792 cat > conftest.$ac_ext <<EOF | 8802 cat > conftest.$ac_ext <<EOF |
8793 #line 8795 "configure" | 8803 #line 8804 "configure" |
8794 #include "confdefs.h" | 8804 #include "confdefs.h" |
8795 /* Override any gcc2 internal prototype to avoid an error. */ | 8805 /* Override any gcc2 internal prototype to avoid an error. */ |
8796 /* We use char because int might match the return type of a gcc2 | 8806 /* We use char because int might match the return type of a gcc2 |
8797 builtin and then its argument prototype would still apply. */ | 8807 builtin and then its argument prototype would still apply. */ |
8798 char ldap_open(); | 8808 char ldap_open(); |
8799 | 8809 |
8800 int main() { | 8810 int main() { |
8801 ldap_open() | 8811 ldap_open() |
8802 ; return 0; } | 8812 ; return 0; } |
8803 EOF | 8813 EOF |
8804 if { (eval echo configure:8806: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8814 if { (eval echo configure:8815: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8805 rm -rf conftest* | 8815 rm -rf conftest* |
8806 eval "ac_cv_lib_$ac_lib_var=yes" | 8816 eval "ac_cv_lib_$ac_lib_var=yes" |
8807 else | 8817 else |
8808 echo "configure: failed program was:" >&5 | 8818 echo "configure: failed program was:" >&5 |
8809 cat conftest.$ac_ext >&5 | 8819 cat conftest.$ac_ext >&5 |
8848 fi | 8858 fi |
8849 save_LIBS="$LIBS" LIBS="$LIBS $ldap_libs" | 8859 save_LIBS="$LIBS" LIBS="$LIBS $ldap_libs" |
8850 for ac_func in ldap_set_option ldap_get_lderrno ldap_result2error ldap_parse_result | 8860 for ac_func in ldap_set_option ldap_get_lderrno ldap_result2error ldap_parse_result |
8851 do | 8861 do |
8852 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 8862 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
8853 echo "configure:8855: checking for $ac_func" >&5 | 8863 echo "configure:8864: checking for $ac_func" >&5 |
8854 | 8864 |
8855 cat > conftest.$ac_ext <<EOF | 8865 cat > conftest.$ac_ext <<EOF |
8856 #line 8858 "configure" | 8866 #line 8867 "configure" |
8857 #include "confdefs.h" | 8867 #include "confdefs.h" |
8858 /* System header to define __stub macros and hopefully few prototypes, | 8868 /* System header to define __stub macros and hopefully few prototypes, |
8859 which can conflict with char $ac_func(); below. */ | 8869 which can conflict with char $ac_func(); below. */ |
8860 #include <assert.h> | 8870 #include <assert.h> |
8861 /* Override any gcc2 internal prototype to avoid an error. */ | 8871 /* Override any gcc2 internal prototype to avoid an error. */ |
8874 $ac_func(); | 8884 $ac_func(); |
8875 #endif | 8885 #endif |
8876 | 8886 |
8877 ; return 0; } | 8887 ; return 0; } |
8878 EOF | 8888 EOF |
8879 if { (eval echo configure:8881: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8889 if { (eval echo configure:8890: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8880 rm -rf conftest* | 8890 rm -rf conftest* |
8881 eval "ac_cv_func_$ac_func=yes" | 8891 eval "ac_cv_func_$ac_func=yes" |
8882 else | 8892 else |
8883 echo "configure: failed program was:" >&5 | 8893 echo "configure: failed program was:" >&5 |
8884 cat conftest.$ac_ext >&5 | 8894 cat conftest.$ac_ext >&5 |
8913 | 8923 |
8914 | 8924 |
8915 postgresql_libs= | 8925 postgresql_libs= |
8916 if test "$with_postgresql" != "no"; then | 8926 if test "$with_postgresql" != "no"; then |
8917 echo "checking for PostgreSQL" 1>&6 | 8927 echo "checking for PostgreSQL" 1>&6 |
8918 echo "configure:8920: checking for PostgreSQL" >&5 | 8928 echo "configure:8929: checking for PostgreSQL" >&5 |
8919 | 8929 |
8920 for header_dir in "" "pgsql/" "postgresql/"; do | 8930 for header_dir in "" "pgsql/" "postgresql/"; do |
8921 ac_safe=`echo "${header_dir}libpq-fe.h" | sed 'y%./+-%__p_%'` | 8931 ac_safe=`echo "${header_dir}libpq-fe.h" | sed 'y%./+-%__p_%'` |
8922 echo $ac_n "checking for ${header_dir}libpq-fe.h""... $ac_c" 1>&6 | 8932 echo $ac_n "checking for ${header_dir}libpq-fe.h""... $ac_c" 1>&6 |
8923 echo "configure:8925: checking for ${header_dir}libpq-fe.h" >&5 | 8933 echo "configure:8934: checking for ${header_dir}libpq-fe.h" >&5 |
8924 | 8934 |
8925 cat > conftest.$ac_ext <<EOF | 8935 cat > conftest.$ac_ext <<EOF |
8926 #line 8928 "configure" | 8936 #line 8937 "configure" |
8927 #include "confdefs.h" | 8937 #include "confdefs.h" |
8928 #include <${header_dir}libpq-fe.h> | 8938 #include <${header_dir}libpq-fe.h> |
8929 EOF | 8939 EOF |
8930 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8940 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8931 { (eval echo configure:8933: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8941 { (eval echo configure:8942: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8932 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 8942 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
8933 if test -z "$ac_err"; then | 8943 if test -z "$ac_err"; then |
8934 rm -rf conftest* | 8944 rm -rf conftest* |
8935 eval "ac_cv_header_$ac_safe=yes" | 8945 eval "ac_cv_header_$ac_safe=yes" |
8936 else | 8946 else |
8950 | 8960 |
8951 done | 8961 done |
8952 | 8962 |
8953 test -n "$libpq_fe_h_file" && { | 8963 test -n "$libpq_fe_h_file" && { |
8954 echo $ac_n "checking for PQconnectdb in -lpq""... $ac_c" 1>&6 | 8964 echo $ac_n "checking for PQconnectdb in -lpq""... $ac_c" 1>&6 |
8955 echo "configure:8957: checking for PQconnectdb in -lpq" >&5 | 8965 echo "configure:8966: checking for PQconnectdb in -lpq" >&5 |
8956 ac_lib_var=`echo pq'_'PQconnectdb | sed 'y%./+-%__p_%'` | 8966 ac_lib_var=`echo pq'_'PQconnectdb | sed 'y%./+-%__p_%'` |
8957 | 8967 |
8958 xe_check_libs=" -lpq " | 8968 xe_check_libs=" -lpq " |
8959 cat > conftest.$ac_ext <<EOF | 8969 cat > conftest.$ac_ext <<EOF |
8960 #line 8962 "configure" | 8970 #line 8971 "configure" |
8961 #include "confdefs.h" | 8971 #include "confdefs.h" |
8962 /* Override any gcc2 internal prototype to avoid an error. */ | 8972 /* Override any gcc2 internal prototype to avoid an error. */ |
8963 /* We use char because int might match the return type of a gcc2 | 8973 /* We use char because int might match the return type of a gcc2 |
8964 builtin and then its argument prototype would still apply. */ | 8974 builtin and then its argument prototype would still apply. */ |
8965 char PQconnectdb(); | 8975 char PQconnectdb(); |
8966 | 8976 |
8967 int main() { | 8977 int main() { |
8968 PQconnectdb() | 8978 PQconnectdb() |
8969 ; return 0; } | 8979 ; return 0; } |
8970 EOF | 8980 EOF |
8971 if { (eval echo configure:8973: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8981 if { (eval echo configure:8982: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8972 rm -rf conftest* | 8982 rm -rf conftest* |
8973 eval "ac_cv_lib_$ac_lib_var=yes" | 8983 eval "ac_cv_lib_$ac_lib_var=yes" |
8974 else | 8984 else |
8975 echo "configure: failed program was:" >&5 | 8985 echo "configure: failed program was:" >&5 |
8976 cat conftest.$ac_ext >&5 | 8986 cat conftest.$ac_ext >&5 |
8999 EOF | 9009 EOF |
9000 } | 9010 } |
9001 | 9011 |
9002 | 9012 |
9003 echo $ac_n "checking for PQconnectStart in -lpq""... $ac_c" 1>&6 | 9013 echo $ac_n "checking for PQconnectStart in -lpq""... $ac_c" 1>&6 |
9004 echo "configure:9006: checking for PQconnectStart in -lpq" >&5 | 9014 echo "configure:9015: checking for PQconnectStart in -lpq" >&5 |
9005 ac_lib_var=`echo pq'_'PQconnectStart | sed 'y%./+-%__p_%'` | 9015 ac_lib_var=`echo pq'_'PQconnectStart | sed 'y%./+-%__p_%'` |
9006 | 9016 |
9007 xe_check_libs=" -lpq " | 9017 xe_check_libs=" -lpq " |
9008 cat > conftest.$ac_ext <<EOF | 9018 cat > conftest.$ac_ext <<EOF |
9009 #line 9011 "configure" | 9019 #line 9020 "configure" |
9010 #include "confdefs.h" | 9020 #include "confdefs.h" |
9011 /* Override any gcc2 internal prototype to avoid an error. */ | 9021 /* Override any gcc2 internal prototype to avoid an error. */ |
9012 /* We use char because int might match the return type of a gcc2 | 9022 /* We use char because int might match the return type of a gcc2 |
9013 builtin and then its argument prototype would still apply. */ | 9023 builtin and then its argument prototype would still apply. */ |
9014 char PQconnectStart(); | 9024 char PQconnectStart(); |
9015 | 9025 |
9016 int main() { | 9026 int main() { |
9017 PQconnectStart() | 9027 PQconnectStart() |
9018 ; return 0; } | 9028 ; return 0; } |
9019 EOF | 9029 EOF |
9020 if { (eval echo configure:9022: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9030 if { (eval echo configure:9031: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9021 rm -rf conftest* | 9031 rm -rf conftest* |
9022 eval "ac_cv_lib_$ac_lib_var=yes" | 9032 eval "ac_cv_lib_$ac_lib_var=yes" |
9023 else | 9033 else |
9024 echo "configure: failed program was:" >&5 | 9034 echo "configure: failed program was:" >&5 |
9025 cat conftest.$ac_ext >&5 | 9035 cat conftest.$ac_ext >&5 |
9066 | 9076 |
9067 | 9077 |
9068 | 9078 |
9069 if test "$window_system" != "none"; then | 9079 if test "$window_system" != "none"; then |
9070 echo "checking for graphics libraries" 1>&6 | 9080 echo "checking for graphics libraries" 1>&6 |
9071 echo "configure:9073: checking for graphics libraries" >&5 | 9081 echo "configure:9082: checking for graphics libraries" >&5 |
9072 | 9082 |
9073 libpath_xpm= | 9083 libpath_xpm= |
9074 incpath_xpm= | 9084 incpath_xpm= |
9075 case "$opsys" in | 9085 case "$opsys" in |
9076 cygwin*) | 9086 cygwin*) |
9092 xpm_problem="" | 9102 xpm_problem="" |
9093 if test -z "$with_xpm"; then | 9103 if test -z "$with_xpm"; then |
9094 CFLAGS=""$incpath_xpm" $CFLAGS" && if test "$extra_verbose" = "yes"; then echo " Prepending \""$incpath_xpm"\" to \$CFLAGS"; fi | 9104 CFLAGS=""$incpath_xpm" $CFLAGS" && if test "$extra_verbose" = "yes"; then echo " Prepending \""$incpath_xpm"\" to \$CFLAGS"; fi |
9095 LDFLAGS=""$libpath_xpm" $LDFLAGS" && if test "$extra_verbose" = "yes"; then echo " Prepending \""$libpath_xpm"\" to \$LDFLAGS"; fi | 9105 LDFLAGS=""$libpath_xpm" $LDFLAGS" && if test "$extra_verbose" = "yes"; then echo " Prepending \""$libpath_xpm"\" to \$LDFLAGS"; fi |
9096 echo $ac_n "checking for Xpm - no older than 3.4f""... $ac_c" 1>&6 | 9106 echo $ac_n "checking for Xpm - no older than 3.4f""... $ac_c" 1>&6 |
9097 echo "configure:9099: checking for Xpm - no older than 3.4f" >&5 | 9107 echo "configure:9108: checking for Xpm - no older than 3.4f" >&5 |
9098 xe_check_libs=-lXpm | 9108 xe_check_libs=-lXpm |
9099 cat > conftest.$ac_ext <<EOF | 9109 cat > conftest.$ac_ext <<EOF |
9100 #line 9102 "configure" | 9110 #line 9111 "configure" |
9101 #include "confdefs.h" | 9111 #include "confdefs.h" |
9102 #define XPM_NUMBERS | 9112 #define XPM_NUMBERS |
9103 #include <X11/xpm.h> | 9113 #include <X11/xpm.h> |
9104 int main(int c, char **v) { | 9114 int main(int c, char **v) { |
9105 return c == 1 ? 0 : | 9115 return c == 1 ? 0 : |
9106 XpmIncludeVersion != XpmLibraryVersion() ? 1 : | 9116 XpmIncludeVersion != XpmLibraryVersion() ? 1 : |
9107 XpmIncludeVersion < 30406 ? 2 : 0 ;} | 9117 XpmIncludeVersion < 30406 ? 2 : 0 ;} |
9108 EOF | 9118 EOF |
9109 if { (eval echo configure:9111: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 9119 if { (eval echo configure:9120: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
9110 then | 9120 then |
9111 ./conftest dummy_arg; xpm_status=$?; | 9121 ./conftest dummy_arg; xpm_status=$?; |
9112 if test "$xpm_status" = "0"; then | 9122 if test "$xpm_status" = "0"; then |
9113 with_xpm=yes; | 9123 with_xpm=yes; |
9114 else | 9124 else |
9148 | 9158 |
9149 LDFLAGS=""$libpath_xpm" $LDFLAGS" && if test "$extra_verbose" = "yes"; then echo " Prepending \""$libpath_xpm"\" to \$LDFLAGS"; fi | 9159 LDFLAGS=""$libpath_xpm" $LDFLAGS" && if test "$extra_verbose" = "yes"; then echo " Prepending \""$libpath_xpm"\" to \$LDFLAGS"; fi |
9150 libs_x="-lXpm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXpm\" to \$libs_x"; fi | 9160 libs_x="-lXpm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXpm\" to \$libs_x"; fi |
9151 CFLAGS=""$incpath_xpm" $CFLAGS" && if test "$extra_verbose" = "yes"; then echo " Prepending \""$incpath_xpm"\" to \$CFLAGS"; fi | 9161 CFLAGS=""$incpath_xpm" $CFLAGS" && if test "$extra_verbose" = "yes"; then echo " Prepending \""$incpath_xpm"\" to \$CFLAGS"; fi |
9152 echo $ac_n "checking for \"FOR_MSW\" xpm""... $ac_c" 1>&6 | 9162 echo $ac_n "checking for \"FOR_MSW\" xpm""... $ac_c" 1>&6 |
9153 echo "configure:9155: checking for \"FOR_MSW\" xpm" >&5 | 9163 echo "configure:9164: checking for \"FOR_MSW\" xpm" >&5 |
9154 xe_check_libs=-lXpm | 9164 xe_check_libs=-lXpm |
9155 cat > conftest.$ac_ext <<EOF | 9165 cat > conftest.$ac_ext <<EOF |
9156 #line 9158 "configure" | 9166 #line 9167 "configure" |
9157 #include "confdefs.h" | 9167 #include "confdefs.h" |
9158 | 9168 |
9159 int main() { | 9169 int main() { |
9160 XpmCreatePixmapFromData() | 9170 XpmCreatePixmapFromData() |
9161 ; return 0; } | 9171 ; return 0; } |
9162 EOF | 9172 EOF |
9163 if { (eval echo configure:9165: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9173 if { (eval echo configure:9174: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9164 rm -rf conftest* | 9174 rm -rf conftest* |
9165 xpm_for_msw=no | 9175 xpm_for_msw=no |
9166 else | 9176 else |
9167 echo "configure: failed program was:" >&5 | 9177 echo "configure: failed program was:" >&5 |
9168 cat conftest.$ac_ext >&5 | 9178 cat conftest.$ac_ext >&5 |
9184 fi | 9194 fi |
9185 fi | 9195 fi |
9186 | 9196 |
9187 test -z "$with_xface" && { ac_safe=`echo "compface.h" | sed 'y%./+-%__p_%'` | 9197 test -z "$with_xface" && { ac_safe=`echo "compface.h" | sed 'y%./+-%__p_%'` |
9188 echo $ac_n "checking for compface.h""... $ac_c" 1>&6 | 9198 echo $ac_n "checking for compface.h""... $ac_c" 1>&6 |
9189 echo "configure:9191: checking for compface.h" >&5 | 9199 echo "configure:9200: checking for compface.h" >&5 |
9190 | 9200 |
9191 cat > conftest.$ac_ext <<EOF | 9201 cat > conftest.$ac_ext <<EOF |
9192 #line 9194 "configure" | 9202 #line 9203 "configure" |
9193 #include "confdefs.h" | 9203 #include "confdefs.h" |
9194 #include <compface.h> | 9204 #include <compface.h> |
9195 EOF | 9205 EOF |
9196 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9206 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9197 { (eval echo configure:9199: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9207 { (eval echo configure:9208: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9198 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9208 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
9199 if test -z "$ac_err"; then | 9209 if test -z "$ac_err"; then |
9200 rm -rf conftest* | 9210 rm -rf conftest* |
9201 eval "ac_cv_header_$ac_safe=yes" | 9211 eval "ac_cv_header_$ac_safe=yes" |
9202 else | 9212 else |
9215 with_xface=no | 9225 with_xface=no |
9216 fi | 9226 fi |
9217 } | 9227 } |
9218 test -z "$with_xface" && { | 9228 test -z "$with_xface" && { |
9219 echo $ac_n "checking for UnGenFace in -lcompface""... $ac_c" 1>&6 | 9229 echo $ac_n "checking for UnGenFace in -lcompface""... $ac_c" 1>&6 |
9220 echo "configure:9222: checking for UnGenFace in -lcompface" >&5 | 9230 echo "configure:9231: checking for UnGenFace in -lcompface" >&5 |
9221 ac_lib_var=`echo compface'_'UnGenFace | sed 'y%./+-%__p_%'` | 9231 ac_lib_var=`echo compface'_'UnGenFace | sed 'y%./+-%__p_%'` |
9222 | 9232 |
9223 xe_check_libs=" -lcompface " | 9233 xe_check_libs=" -lcompface " |
9224 cat > conftest.$ac_ext <<EOF | 9234 cat > conftest.$ac_ext <<EOF |
9225 #line 9227 "configure" | 9235 #line 9236 "configure" |
9226 #include "confdefs.h" | 9236 #include "confdefs.h" |
9227 /* Override any gcc2 internal prototype to avoid an error. */ | 9237 /* Override any gcc2 internal prototype to avoid an error. */ |
9228 /* We use char because int might match the return type of a gcc2 | 9238 /* We use char because int might match the return type of a gcc2 |
9229 builtin and then its argument prototype would still apply. */ | 9239 builtin and then its argument prototype would still apply. */ |
9230 char UnGenFace(); | 9240 char UnGenFace(); |
9231 | 9241 |
9232 int main() { | 9242 int main() { |
9233 UnGenFace() | 9243 UnGenFace() |
9234 ; return 0; } | 9244 ; return 0; } |
9235 EOF | 9245 EOF |
9236 if { (eval echo configure:9238: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9246 if { (eval echo configure:9247: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9237 rm -rf conftest* | 9247 rm -rf conftest* |
9238 eval "ac_cv_lib_$ac_lib_var=yes" | 9248 eval "ac_cv_lib_$ac_lib_var=yes" |
9239 else | 9249 else |
9240 echo "configure: failed program was:" >&5 | 9250 echo "configure: failed program was:" >&5 |
9241 cat conftest.$ac_ext >&5 | 9251 cat conftest.$ac_ext >&5 |
9280 fi | 9290 fi |
9281 | 9291 |
9282 if test "$with_png $with_tiff" != "no no"; then | 9292 if test "$with_png $with_tiff" != "no no"; then |
9283 | 9293 |
9284 echo $ac_n "checking for inflate in -lc""... $ac_c" 1>&6 | 9294 echo $ac_n "checking for inflate in -lc""... $ac_c" 1>&6 |
9285 echo "configure:9287: checking for inflate in -lc" >&5 | 9295 echo "configure:9296: checking for inflate in -lc" >&5 |
9286 ac_lib_var=`echo c'_'inflate | sed 'y%./+-%__p_%'` | 9296 ac_lib_var=`echo c'_'inflate | sed 'y%./+-%__p_%'` |
9287 | 9297 |
9288 xe_check_libs=" -lc " | 9298 xe_check_libs=" -lc " |
9289 cat > conftest.$ac_ext <<EOF | 9299 cat > conftest.$ac_ext <<EOF |
9290 #line 9292 "configure" | 9300 #line 9301 "configure" |
9291 #include "confdefs.h" | 9301 #include "confdefs.h" |
9292 /* Override any gcc2 internal prototype to avoid an error. */ | 9302 /* Override any gcc2 internal prototype to avoid an error. */ |
9293 /* We use char because int might match the return type of a gcc2 | 9303 /* We use char because int might match the return type of a gcc2 |
9294 builtin and then its argument prototype would still apply. */ | 9304 builtin and then its argument prototype would still apply. */ |
9295 char inflate(); | 9305 char inflate(); |
9296 | 9306 |
9297 int main() { | 9307 int main() { |
9298 inflate() | 9308 inflate() |
9299 ; return 0; } | 9309 ; return 0; } |
9300 EOF | 9310 EOF |
9301 if { (eval echo configure:9303: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9311 if { (eval echo configure:9312: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9302 rm -rf conftest* | 9312 rm -rf conftest* |
9303 eval "ac_cv_lib_$ac_lib_var=yes" | 9313 eval "ac_cv_lib_$ac_lib_var=yes" |
9304 else | 9314 else |
9305 echo "configure: failed program was:" >&5 | 9315 echo "configure: failed program was:" >&5 |
9306 cat conftest.$ac_ext >&5 | 9316 cat conftest.$ac_ext >&5 |
9315 : | 9325 : |
9316 else | 9326 else |
9317 echo "$ac_t""no" 1>&6 | 9327 echo "$ac_t""no" 1>&6 |
9318 | 9328 |
9319 echo $ac_n "checking for inflate in -lz""... $ac_c" 1>&6 | 9329 echo $ac_n "checking for inflate in -lz""... $ac_c" 1>&6 |
9320 echo "configure:9322: checking for inflate in -lz" >&5 | 9330 echo "configure:9331: checking for inflate in -lz" >&5 |
9321 ac_lib_var=`echo z'_'inflate | sed 'y%./+-%__p_%'` | 9331 ac_lib_var=`echo z'_'inflate | sed 'y%./+-%__p_%'` |
9322 | 9332 |
9323 xe_check_libs=" -lz " | 9333 xe_check_libs=" -lz " |
9324 cat > conftest.$ac_ext <<EOF | 9334 cat > conftest.$ac_ext <<EOF |
9325 #line 9327 "configure" | 9335 #line 9336 "configure" |
9326 #include "confdefs.h" | 9336 #include "confdefs.h" |
9327 /* Override any gcc2 internal prototype to avoid an error. */ | 9337 /* Override any gcc2 internal prototype to avoid an error. */ |
9328 /* We use char because int might match the return type of a gcc2 | 9338 /* We use char because int might match the return type of a gcc2 |
9329 builtin and then its argument prototype would still apply. */ | 9339 builtin and then its argument prototype would still apply. */ |
9330 char inflate(); | 9340 char inflate(); |
9331 | 9341 |
9332 int main() { | 9342 int main() { |
9333 inflate() | 9343 inflate() |
9334 ; return 0; } | 9344 ; return 0; } |
9335 EOF | 9345 EOF |
9336 if { (eval echo configure:9338: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9346 if { (eval echo configure:9347: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9337 rm -rf conftest* | 9347 rm -rf conftest* |
9338 eval "ac_cv_lib_$ac_lib_var=yes" | 9348 eval "ac_cv_lib_$ac_lib_var=yes" |
9339 else | 9349 else |
9340 echo "configure: failed program was:" >&5 | 9350 echo "configure: failed program was:" >&5 |
9341 cat conftest.$ac_ext >&5 | 9351 cat conftest.$ac_ext >&5 |
9350 libs_x="-lz $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lz\" to \$libs_x"; fi | 9360 libs_x="-lz $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lz\" to \$libs_x"; fi |
9351 else | 9361 else |
9352 echo "$ac_t""no" 1>&6 | 9362 echo "$ac_t""no" 1>&6 |
9353 | 9363 |
9354 echo $ac_n "checking for inflate in -lgz""... $ac_c" 1>&6 | 9364 echo $ac_n "checking for inflate in -lgz""... $ac_c" 1>&6 |
9355 echo "configure:9357: checking for inflate in -lgz" >&5 | 9365 echo "configure:9366: checking for inflate in -lgz" >&5 |
9356 ac_lib_var=`echo gz'_'inflate | sed 'y%./+-%__p_%'` | 9366 ac_lib_var=`echo gz'_'inflate | sed 'y%./+-%__p_%'` |
9357 | 9367 |
9358 xe_check_libs=" -lgz " | 9368 xe_check_libs=" -lgz " |
9359 cat > conftest.$ac_ext <<EOF | 9369 cat > conftest.$ac_ext <<EOF |
9360 #line 9362 "configure" | 9370 #line 9371 "configure" |
9361 #include "confdefs.h" | 9371 #include "confdefs.h" |
9362 /* Override any gcc2 internal prototype to avoid an error. */ | 9372 /* Override any gcc2 internal prototype to avoid an error. */ |
9363 /* We use char because int might match the return type of a gcc2 | 9373 /* We use char because int might match the return type of a gcc2 |
9364 builtin and then its argument prototype would still apply. */ | 9374 builtin and then its argument prototype would still apply. */ |
9365 char inflate(); | 9375 char inflate(); |
9366 | 9376 |
9367 int main() { | 9377 int main() { |
9368 inflate() | 9378 inflate() |
9369 ; return 0; } | 9379 ; return 0; } |
9370 EOF | 9380 EOF |
9371 if { (eval echo configure:9373: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9381 if { (eval echo configure:9382: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9372 rm -rf conftest* | 9382 rm -rf conftest* |
9373 eval "ac_cv_lib_$ac_lib_var=yes" | 9383 eval "ac_cv_lib_$ac_lib_var=yes" |
9374 else | 9384 else |
9375 echo "configure: failed program was:" >&5 | 9385 echo "configure: failed program was:" >&5 |
9376 cat conftest.$ac_ext >&5 | 9386 cat conftest.$ac_ext >&5 |
9396 | 9406 |
9397 fi | 9407 fi |
9398 | 9408 |
9399 test -z "$with_jpeg" && { ac_safe=`echo "jpeglib.h" | sed 'y%./+-%__p_%'` | 9409 test -z "$with_jpeg" && { ac_safe=`echo "jpeglib.h" | sed 'y%./+-%__p_%'` |
9400 echo $ac_n "checking for jpeglib.h""... $ac_c" 1>&6 | 9410 echo $ac_n "checking for jpeglib.h""... $ac_c" 1>&6 |
9401 echo "configure:9403: checking for jpeglib.h" >&5 | 9411 echo "configure:9412: checking for jpeglib.h" >&5 |
9402 | 9412 |
9403 cat > conftest.$ac_ext <<EOF | 9413 cat > conftest.$ac_ext <<EOF |
9404 #line 9406 "configure" | 9414 #line 9415 "configure" |
9405 #include "confdefs.h" | 9415 #include "confdefs.h" |
9406 #include <jpeglib.h> | 9416 #include <jpeglib.h> |
9407 EOF | 9417 EOF |
9408 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9418 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9409 { (eval echo configure:9411: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9419 { (eval echo configure:9420: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9410 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9420 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
9411 if test -z "$ac_err"; then | 9421 if test -z "$ac_err"; then |
9412 rm -rf conftest* | 9422 rm -rf conftest* |
9413 eval "ac_cv_header_$ac_safe=yes" | 9423 eval "ac_cv_header_$ac_safe=yes" |
9414 else | 9424 else |
9427 with_jpeg=no | 9437 with_jpeg=no |
9428 fi | 9438 fi |
9429 } | 9439 } |
9430 test -z "$with_jpeg" && { | 9440 test -z "$with_jpeg" && { |
9431 echo $ac_n "checking for jpeg_destroy_decompress in -ljpeg""... $ac_c" 1>&6 | 9441 echo $ac_n "checking for jpeg_destroy_decompress in -ljpeg""... $ac_c" 1>&6 |
9432 echo "configure:9434: checking for jpeg_destroy_decompress in -ljpeg" >&5 | 9442 echo "configure:9443: checking for jpeg_destroy_decompress in -ljpeg" >&5 |
9433 ac_lib_var=`echo jpeg'_'jpeg_destroy_decompress | sed 'y%./+-%__p_%'` | 9443 ac_lib_var=`echo jpeg'_'jpeg_destroy_decompress | sed 'y%./+-%__p_%'` |
9434 | 9444 |
9435 xe_check_libs=" -ljpeg " | 9445 xe_check_libs=" -ljpeg " |
9436 cat > conftest.$ac_ext <<EOF | 9446 cat > conftest.$ac_ext <<EOF |
9437 #line 9439 "configure" | 9447 #line 9448 "configure" |
9438 #include "confdefs.h" | 9448 #include "confdefs.h" |
9439 /* Override any gcc2 internal prototype to avoid an error. */ | 9449 /* Override any gcc2 internal prototype to avoid an error. */ |
9440 /* We use char because int might match the return type of a gcc2 | 9450 /* We use char because int might match the return type of a gcc2 |
9441 builtin and then its argument prototype would still apply. */ | 9451 builtin and then its argument prototype would still apply. */ |
9442 char jpeg_destroy_decompress(); | 9452 char jpeg_destroy_decompress(); |
9443 | 9453 |
9444 int main() { | 9454 int main() { |
9445 jpeg_destroy_decompress() | 9455 jpeg_destroy_decompress() |
9446 ; return 0; } | 9456 ; return 0; } |
9447 EOF | 9457 EOF |
9448 if { (eval echo configure:9450: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9458 if { (eval echo configure:9459: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9449 rm -rf conftest* | 9459 rm -rf conftest* |
9450 eval "ac_cv_lib_$ac_lib_var=yes" | 9460 eval "ac_cv_lib_$ac_lib_var=yes" |
9451 else | 9461 else |
9452 echo "configure: failed program was:" >&5 | 9462 echo "configure: failed program was:" >&5 |
9453 cat conftest.$ac_ext >&5 | 9463 cat conftest.$ac_ext >&5 |
9479 libs_x="-ljpeg $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-ljpeg\" to \$libs_x"; fi | 9489 libs_x="-ljpeg $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-ljpeg\" to \$libs_x"; fi |
9480 fi | 9490 fi |
9481 | 9491 |
9482 png_problem="" | 9492 png_problem="" |
9483 test -z "$with_png" && { echo $ac_n "checking for pow""... $ac_c" 1>&6 | 9493 test -z "$with_png" && { echo $ac_n "checking for pow""... $ac_c" 1>&6 |
9484 echo "configure:9486: checking for pow" >&5 | 9494 echo "configure:9495: checking for pow" >&5 |
9485 | 9495 |
9486 cat > conftest.$ac_ext <<EOF | 9496 cat > conftest.$ac_ext <<EOF |
9487 #line 9489 "configure" | 9497 #line 9498 "configure" |
9488 #include "confdefs.h" | 9498 #include "confdefs.h" |
9489 /* System header to define __stub macros and hopefully few prototypes, | 9499 /* System header to define __stub macros and hopefully few prototypes, |
9490 which can conflict with char pow(); below. */ | 9500 which can conflict with char pow(); below. */ |
9491 #include <assert.h> | 9501 #include <assert.h> |
9492 /* Override any gcc2 internal prototype to avoid an error. */ | 9502 /* Override any gcc2 internal prototype to avoid an error. */ |
9505 pow(); | 9515 pow(); |
9506 #endif | 9516 #endif |
9507 | 9517 |
9508 ; return 0; } | 9518 ; return 0; } |
9509 EOF | 9519 EOF |
9510 if { (eval echo configure:9512: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9520 if { (eval echo configure:9521: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9511 rm -rf conftest* | 9521 rm -rf conftest* |
9512 eval "ac_cv_func_pow=yes" | 9522 eval "ac_cv_func_pow=yes" |
9513 else | 9523 else |
9514 echo "configure: failed program was:" >&5 | 9524 echo "configure: failed program was:" >&5 |
9515 cat conftest.$ac_ext >&5 | 9525 cat conftest.$ac_ext >&5 |
9526 with_png=no | 9536 with_png=no |
9527 fi | 9537 fi |
9528 } | 9538 } |
9529 test -z "$with_png" && { ac_safe=`echo "png.h" | sed 'y%./+-%__p_%'` | 9539 test -z "$with_png" && { ac_safe=`echo "png.h" | sed 'y%./+-%__p_%'` |
9530 echo $ac_n "checking for png.h""... $ac_c" 1>&6 | 9540 echo $ac_n "checking for png.h""... $ac_c" 1>&6 |
9531 echo "configure:9533: checking for png.h" >&5 | 9541 echo "configure:9542: checking for png.h" >&5 |
9532 | 9542 |
9533 cat > conftest.$ac_ext <<EOF | 9543 cat > conftest.$ac_ext <<EOF |
9534 #line 9536 "configure" | 9544 #line 9545 "configure" |
9535 #include "confdefs.h" | 9545 #include "confdefs.h" |
9536 #include <png.h> | 9546 #include <png.h> |
9537 EOF | 9547 EOF |
9538 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9548 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9539 { (eval echo configure:9541: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9549 { (eval echo configure:9550: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9540 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9550 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
9541 if test -z "$ac_err"; then | 9551 if test -z "$ac_err"; then |
9542 rm -rf conftest* | 9552 rm -rf conftest* |
9543 eval "ac_cv_header_$ac_safe=yes" | 9553 eval "ac_cv_header_$ac_safe=yes" |
9544 else | 9554 else |
9557 with_png=no | 9567 with_png=no |
9558 fi | 9568 fi |
9559 } | 9569 } |
9560 test -z "$with_png" && { | 9570 test -z "$with_png" && { |
9561 echo $ac_n "checking for png_read_image in -lpng""... $ac_c" 1>&6 | 9571 echo $ac_n "checking for png_read_image in -lpng""... $ac_c" 1>&6 |
9562 echo "configure:9564: checking for png_read_image in -lpng" >&5 | 9572 echo "configure:9573: checking for png_read_image in -lpng" >&5 |
9563 ac_lib_var=`echo png'_'png_read_image | sed 'y%./+-%__p_%'` | 9573 ac_lib_var=`echo png'_'png_read_image | sed 'y%./+-%__p_%'` |
9564 | 9574 |
9565 xe_check_libs=" -lpng " | 9575 xe_check_libs=" -lpng " |
9566 cat > conftest.$ac_ext <<EOF | 9576 cat > conftest.$ac_ext <<EOF |
9567 #line 9569 "configure" | 9577 #line 9578 "configure" |
9568 #include "confdefs.h" | 9578 #include "confdefs.h" |
9569 /* Override any gcc2 internal prototype to avoid an error. */ | 9579 /* Override any gcc2 internal prototype to avoid an error. */ |
9570 /* We use char because int might match the return type of a gcc2 | 9580 /* We use char because int might match the return type of a gcc2 |
9571 builtin and then its argument prototype would still apply. */ | 9581 builtin and then its argument prototype would still apply. */ |
9572 char png_read_image(); | 9582 char png_read_image(); |
9573 | 9583 |
9574 int main() { | 9584 int main() { |
9575 png_read_image() | 9585 png_read_image() |
9576 ; return 0; } | 9586 ; return 0; } |
9577 EOF | 9587 EOF |
9578 if { (eval echo configure:9580: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9588 if { (eval echo configure:9589: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9579 rm -rf conftest* | 9589 rm -rf conftest* |
9580 eval "ac_cv_lib_$ac_lib_var=yes" | 9590 eval "ac_cv_lib_$ac_lib_var=yes" |
9581 else | 9591 else |
9582 echo "configure: failed program was:" >&5 | 9592 echo "configure: failed program was:" >&5 |
9583 cat conftest.$ac_ext >&5 | 9593 cat conftest.$ac_ext >&5 |
9596 fi | 9606 fi |
9597 | 9607 |
9598 } | 9608 } |
9599 if test -z "$with_png"; then | 9609 if test -z "$with_png"; then |
9600 echo $ac_n "checking for workable png version information""... $ac_c" 1>&6 | 9610 echo $ac_n "checking for workable png version information""... $ac_c" 1>&6 |
9601 echo "configure:9603: checking for workable png version information" >&5 | 9611 echo "configure:9612: checking for workable png version information" >&5 |
9602 xe_check_libs="-lpng -lz" | 9612 xe_check_libs="-lpng -lz" |
9603 cat > conftest.$ac_ext <<EOF | 9613 cat > conftest.$ac_ext <<EOF |
9604 #line 9606 "configure" | 9614 #line 9615 "configure" |
9605 #include "confdefs.h" | 9615 #include "confdefs.h" |
9606 #include <png.h> | 9616 #include <png.h> |
9607 int main(int c, char **v) { | 9617 int main(int c, char **v) { |
9608 if (c == 1) return 0; | 9618 if (c == 1) return 0; |
9609 if (strcmp(png_libpng_ver, PNG_LIBPNG_VER_STRING) != 0) return 1; | 9619 if (strcmp(png_libpng_ver, PNG_LIBPNG_VER_STRING) != 0) return 1; |
9610 return (PNG_LIBPNG_VER < 10002) ? 2 : 0 ;} | 9620 return (PNG_LIBPNG_VER < 10002) ? 2 : 0 ;} |
9611 EOF | 9621 EOF |
9612 if { (eval echo configure:9614: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 9622 if { (eval echo configure:9623: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
9613 then | 9623 then |
9614 ./conftest dummy_arg; png_status=$?; | 9624 ./conftest dummy_arg; png_status=$?; |
9615 if test "$png_status" = "0"; then | 9625 if test "$png_status" = "0"; then |
9616 with_png=yes; | 9626 with_png=yes; |
9617 else | 9627 else |
9650 libs_x="-lpng $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lpng\" to \$libs_x"; fi | 9660 libs_x="-lpng $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lpng\" to \$libs_x"; fi |
9651 fi | 9661 fi |
9652 | 9662 |
9653 test -z "$with_tiff" && { ac_safe=`echo "tiffio.h" | sed 'y%./+-%__p_%'` | 9663 test -z "$with_tiff" && { ac_safe=`echo "tiffio.h" | sed 'y%./+-%__p_%'` |
9654 echo $ac_n "checking for tiffio.h""... $ac_c" 1>&6 | 9664 echo $ac_n "checking for tiffio.h""... $ac_c" 1>&6 |
9655 echo "configure:9657: checking for tiffio.h" >&5 | 9665 echo "configure:9666: checking for tiffio.h" >&5 |
9656 | 9666 |
9657 cat > conftest.$ac_ext <<EOF | 9667 cat > conftest.$ac_ext <<EOF |
9658 #line 9660 "configure" | 9668 #line 9669 "configure" |
9659 #include "confdefs.h" | 9669 #include "confdefs.h" |
9660 #include <tiffio.h> | 9670 #include <tiffio.h> |
9661 EOF | 9671 EOF |
9662 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9672 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9663 { (eval echo configure:9665: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9673 { (eval echo configure:9674: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9664 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9674 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
9665 if test -z "$ac_err"; then | 9675 if test -z "$ac_err"; then |
9666 rm -rf conftest* | 9676 rm -rf conftest* |
9667 eval "ac_cv_header_$ac_safe=yes" | 9677 eval "ac_cv_header_$ac_safe=yes" |
9668 else | 9678 else |
9681 with_tiff=no | 9691 with_tiff=no |
9682 fi | 9692 fi |
9683 } | 9693 } |
9684 test -z "$with_tiff" && { | 9694 test -z "$with_tiff" && { |
9685 echo $ac_n "checking for TIFFClientOpen in -ltiff""... $ac_c" 1>&6 | 9695 echo $ac_n "checking for TIFFClientOpen in -ltiff""... $ac_c" 1>&6 |
9686 echo "configure:9688: checking for TIFFClientOpen in -ltiff" >&5 | 9696 echo "configure:9697: checking for TIFFClientOpen in -ltiff" >&5 |
9687 ac_lib_var=`echo tiff'_'TIFFClientOpen | sed 'y%./+-%__p_%'` | 9697 ac_lib_var=`echo tiff'_'TIFFClientOpen | sed 'y%./+-%__p_%'` |
9688 | 9698 |
9689 xe_check_libs=" -ltiff " | 9699 xe_check_libs=" -ltiff " |
9690 cat > conftest.$ac_ext <<EOF | 9700 cat > conftest.$ac_ext <<EOF |
9691 #line 9693 "configure" | 9701 #line 9702 "configure" |
9692 #include "confdefs.h" | 9702 #include "confdefs.h" |
9693 /* Override any gcc2 internal prototype to avoid an error. */ | 9703 /* Override any gcc2 internal prototype to avoid an error. */ |
9694 /* We use char because int might match the return type of a gcc2 | 9704 /* We use char because int might match the return type of a gcc2 |
9695 builtin and then its argument prototype would still apply. */ | 9705 builtin and then its argument prototype would still apply. */ |
9696 char TIFFClientOpen(); | 9706 char TIFFClientOpen(); |
9697 | 9707 |
9698 int main() { | 9708 int main() { |
9699 TIFFClientOpen() | 9709 TIFFClientOpen() |
9700 ; return 0; } | 9710 ; return 0; } |
9701 EOF | 9711 EOF |
9702 if { (eval echo configure:9704: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9712 if { (eval echo configure:9713: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9703 rm -rf conftest* | 9713 rm -rf conftest* |
9704 eval "ac_cv_lib_$ac_lib_var=yes" | 9714 eval "ac_cv_lib_$ac_lib_var=yes" |
9705 else | 9715 else |
9706 echo "configure: failed program was:" >&5 | 9716 echo "configure: failed program was:" >&5 |
9707 cat conftest.$ac_ext >&5 | 9717 cat conftest.$ac_ext >&5 |
9736 | 9746 |
9737 | 9747 |
9738 if test "$with_gtk" = "yes"; then | 9748 if test "$with_gtk" = "yes"; then |
9739 test -z "$with_xface" && { ac_safe=`echo "compface.h" | sed 'y%./+-%__p_%'` | 9749 test -z "$with_xface" && { ac_safe=`echo "compface.h" | sed 'y%./+-%__p_%'` |
9740 echo $ac_n "checking for compface.h""... $ac_c" 1>&6 | 9750 echo $ac_n "checking for compface.h""... $ac_c" 1>&6 |
9741 echo "configure:9743: checking for compface.h" >&5 | 9751 echo "configure:9752: checking for compface.h" >&5 |
9742 | 9752 |
9743 cat > conftest.$ac_ext <<EOF | 9753 cat > conftest.$ac_ext <<EOF |
9744 #line 9746 "configure" | 9754 #line 9755 "configure" |
9745 #include "confdefs.h" | 9755 #include "confdefs.h" |
9746 #include <compface.h> | 9756 #include <compface.h> |
9747 EOF | 9757 EOF |
9748 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9758 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9749 { (eval echo configure:9751: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9759 { (eval echo configure:9760: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9750 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9760 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
9751 if test -z "$ac_err"; then | 9761 if test -z "$ac_err"; then |
9752 rm -rf conftest* | 9762 rm -rf conftest* |
9753 eval "ac_cv_header_$ac_safe=yes" | 9763 eval "ac_cv_header_$ac_safe=yes" |
9754 else | 9764 else |
9767 with_xface=no | 9777 with_xface=no |
9768 fi | 9778 fi |
9769 } | 9779 } |
9770 test -z "$with_xface" && { | 9780 test -z "$with_xface" && { |
9771 echo $ac_n "checking for UnGenFace in -lcompface""... $ac_c" 1>&6 | 9781 echo $ac_n "checking for UnGenFace in -lcompface""... $ac_c" 1>&6 |
9772 echo "configure:9774: checking for UnGenFace in -lcompface" >&5 | 9782 echo "configure:9783: checking for UnGenFace in -lcompface" >&5 |
9773 ac_lib_var=`echo compface'_'UnGenFace | sed 'y%./+-%__p_%'` | 9783 ac_lib_var=`echo compface'_'UnGenFace | sed 'y%./+-%__p_%'` |
9774 | 9784 |
9775 xe_check_libs=" -lcompface " | 9785 xe_check_libs=" -lcompface " |
9776 cat > conftest.$ac_ext <<EOF | 9786 cat > conftest.$ac_ext <<EOF |
9777 #line 9779 "configure" | 9787 #line 9788 "configure" |
9778 #include "confdefs.h" | 9788 #include "confdefs.h" |
9779 /* Override any gcc2 internal prototype to avoid an error. */ | 9789 /* Override any gcc2 internal prototype to avoid an error. */ |
9780 /* We use char because int might match the return type of a gcc2 | 9790 /* We use char because int might match the return type of a gcc2 |
9781 builtin and then its argument prototype would still apply. */ | 9791 builtin and then its argument prototype would still apply. */ |
9782 char UnGenFace(); | 9792 char UnGenFace(); |
9783 | 9793 |
9784 int main() { | 9794 int main() { |
9785 UnGenFace() | 9795 UnGenFace() |
9786 ; return 0; } | 9796 ; return 0; } |
9787 EOF | 9797 EOF |
9788 if { (eval echo configure:9790: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9798 if { (eval echo configure:9799: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9789 rm -rf conftest* | 9799 rm -rf conftest* |
9790 eval "ac_cv_lib_$ac_lib_var=yes" | 9800 eval "ac_cv_lib_$ac_lib_var=yes" |
9791 else | 9801 else |
9792 echo "configure: failed program was:" >&5 | 9802 echo "configure: failed program was:" >&5 |
9793 cat conftest.$ac_ext >&5 | 9803 cat conftest.$ac_ext >&5 |
9822 | 9832 |
9823 | 9833 |
9824 | 9834 |
9825 if test "$with_x11" = "yes"; then | 9835 if test "$with_x11" = "yes"; then |
9826 echo "checking for X11 graphics libraries" 1>&6 | 9836 echo "checking for X11 graphics libraries" 1>&6 |
9827 echo "configure:9829: checking for X11 graphics libraries" >&5 | 9837 echo "configure:9838: checking for X11 graphics libraries" >&5 |
9828 fi | 9838 fi |
9829 | 9839 |
9830 case "$with_widgets" in | 9840 case "$with_widgets" in |
9831 "yes" | "athena") detect_athena=yes ;; | 9841 "yes" | "athena") detect_athena=yes ;; |
9832 *) detect_athena=no ;; | 9842 *) detect_athena=no ;; |
9833 esac | 9843 esac |
9834 | 9844 |
9835 if test "$with_x11" = "yes" -a "$detect_athena" = "yes" ; then | 9845 if test "$with_x11" = "yes" -a "$detect_athena" = "yes" ; then |
9836 echo "checking for the Athena widgets" 1>&6 | 9846 echo "checking for the Athena widgets" 1>&6 |
9837 echo "configure:9839: checking for the Athena widgets" >&5 | 9847 echo "configure:9848: checking for the Athena widgets" >&5 |
9838 | 9848 |
9839 case "$with_athena" in | 9849 case "$with_athena" in |
9840 "xaw" | "") athena_variant=Xaw athena_3d=no ;; | 9850 "xaw" | "") athena_variant=Xaw athena_3d=no ;; |
9841 "3d") athena_variant=Xaw3d athena_3d=yes ;; | 9851 "3d") athena_variant=Xaw3d athena_3d=yes ;; |
9842 "next") athena_variant=neXtaw athena_3d=yes ;; | 9852 "next") athena_variant=neXtaw athena_3d=yes ;; |
9846 esac | 9856 esac |
9847 | 9857 |
9848 if test "$athena_3d" = "no"; then | 9858 if test "$athena_3d" = "no"; then |
9849 | 9859 |
9850 echo $ac_n "checking for XawScrollbarSetThumb in -l$athena_variant""... $ac_c" 1>&6 | 9860 echo $ac_n "checking for XawScrollbarSetThumb in -l$athena_variant""... $ac_c" 1>&6 |
9851 echo "configure:9853: checking for XawScrollbarSetThumb in -l$athena_variant" >&5 | 9861 echo "configure:9862: checking for XawScrollbarSetThumb in -l$athena_variant" >&5 |
9852 ac_lib_var=`echo $athena_variant'_'XawScrollbarSetThumb | sed 'y%./+-%__p_%'` | 9862 ac_lib_var=`echo $athena_variant'_'XawScrollbarSetThumb | sed 'y%./+-%__p_%'` |
9853 | 9863 |
9854 xe_check_libs=" -l$athena_variant " | 9864 xe_check_libs=" -l$athena_variant " |
9855 cat > conftest.$ac_ext <<EOF | 9865 cat > conftest.$ac_ext <<EOF |
9856 #line 9858 "configure" | 9866 #line 9867 "configure" |
9857 #include "confdefs.h" | 9867 #include "confdefs.h" |
9858 /* Override any gcc2 internal prototype to avoid an error. */ | 9868 /* Override any gcc2 internal prototype to avoid an error. */ |
9859 /* We use char because int might match the return type of a gcc2 | 9869 /* We use char because int might match the return type of a gcc2 |
9860 builtin and then its argument prototype would still apply. */ | 9870 builtin and then its argument prototype would still apply. */ |
9861 char XawScrollbarSetThumb(); | 9871 char XawScrollbarSetThumb(); |
9862 | 9872 |
9863 int main() { | 9873 int main() { |
9864 XawScrollbarSetThumb() | 9874 XawScrollbarSetThumb() |
9865 ; return 0; } | 9875 ; return 0; } |
9866 EOF | 9876 EOF |
9867 if { (eval echo configure:9869: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9877 if { (eval echo configure:9878: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9868 rm -rf conftest* | 9878 rm -rf conftest* |
9869 eval "ac_cv_lib_$ac_lib_var=yes" | 9879 eval "ac_cv_lib_$ac_lib_var=yes" |
9870 else | 9880 else |
9871 echo "configure: failed program was:" >&5 | 9881 echo "configure: failed program was:" >&5 |
9872 cat conftest.$ac_ext >&5 | 9882 cat conftest.$ac_ext >&5 |
9878 | 9888 |
9879 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes" ; then | 9889 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes" ; then |
9880 echo "$ac_t""yes" 1>&6 | 9890 echo "$ac_t""yes" 1>&6 |
9881 | 9891 |
9882 echo $ac_n "checking for threeDClassRec in -l$athena_variant""... $ac_c" 1>&6 | 9892 echo $ac_n "checking for threeDClassRec in -l$athena_variant""... $ac_c" 1>&6 |
9883 echo "configure:9885: checking for threeDClassRec in -l$athena_variant" >&5 | 9893 echo "configure:9894: checking for threeDClassRec in -l$athena_variant" >&5 |
9884 ac_lib_var=`echo $athena_variant'_'threeDClassRec | sed 'y%./+-%__p_%'` | 9894 ac_lib_var=`echo $athena_variant'_'threeDClassRec | sed 'y%./+-%__p_%'` |
9885 | 9895 |
9886 xe_check_libs=" -l$athena_variant " | 9896 xe_check_libs=" -l$athena_variant " |
9887 cat > conftest.$ac_ext <<EOF | 9897 cat > conftest.$ac_ext <<EOF |
9888 #line 9890 "configure" | 9898 #line 9899 "configure" |
9889 #include "confdefs.h" | 9899 #include "confdefs.h" |
9890 /* Override any gcc2 internal prototype to avoid an error. */ | 9900 /* Override any gcc2 internal prototype to avoid an error. */ |
9891 /* We use char because int might match the return type of a gcc2 | 9901 /* We use char because int might match the return type of a gcc2 |
9892 builtin and then its argument prototype would still apply. */ | 9902 builtin and then its argument prototype would still apply. */ |
9893 char threeDClassRec(); | 9903 char threeDClassRec(); |
9894 | 9904 |
9895 int main() { | 9905 int main() { |
9896 threeDClassRec() | 9906 threeDClassRec() |
9897 ; return 0; } | 9907 ; return 0; } |
9898 EOF | 9908 EOF |
9899 if { (eval echo configure:9901: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9909 if { (eval echo configure:9910: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9900 rm -rf conftest* | 9910 rm -rf conftest* |
9901 eval "ac_cv_lib_$ac_lib_var=yes" | 9911 eval "ac_cv_lib_$ac_lib_var=yes" |
9902 else | 9912 else |
9903 echo "configure: failed program was:" >&5 | 9913 echo "configure: failed program was:" >&5 |
9904 cat conftest.$ac_ext >&5 | 9914 cat conftest.$ac_ext >&5 |
9925 | 9935 |
9926 | 9936 |
9927 else | 9937 else |
9928 | 9938 |
9929 echo $ac_n "checking for threeDClassRec in -l$athena_variant""... $ac_c" 1>&6 | 9939 echo $ac_n "checking for threeDClassRec in -l$athena_variant""... $ac_c" 1>&6 |
9930 echo "configure:9932: checking for threeDClassRec in -l$athena_variant" >&5 | 9940 echo "configure:9941: checking for threeDClassRec in -l$athena_variant" >&5 |
9931 ac_lib_var=`echo $athena_variant'_'threeDClassRec | sed 'y%./+-%__p_%'` | 9941 ac_lib_var=`echo $athena_variant'_'threeDClassRec | sed 'y%./+-%__p_%'` |
9932 | 9942 |
9933 xe_check_libs=" -l$athena_variant " | 9943 xe_check_libs=" -l$athena_variant " |
9934 cat > conftest.$ac_ext <<EOF | 9944 cat > conftest.$ac_ext <<EOF |
9935 #line 9937 "configure" | 9945 #line 9946 "configure" |
9936 #include "confdefs.h" | 9946 #include "confdefs.h" |
9937 /* Override any gcc2 internal prototype to avoid an error. */ | 9947 /* Override any gcc2 internal prototype to avoid an error. */ |
9938 /* We use char because int might match the return type of a gcc2 | 9948 /* We use char because int might match the return type of a gcc2 |
9939 builtin and then its argument prototype would still apply. */ | 9949 builtin and then its argument prototype would still apply. */ |
9940 char threeDClassRec(); | 9950 char threeDClassRec(); |
9941 | 9951 |
9942 int main() { | 9952 int main() { |
9943 threeDClassRec() | 9953 threeDClassRec() |
9944 ; return 0; } | 9954 ; return 0; } |
9945 EOF | 9955 EOF |
9946 if { (eval echo configure:9948: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9956 if { (eval echo configure:9957: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9947 rm -rf conftest* | 9957 rm -rf conftest* |
9948 eval "ac_cv_lib_$ac_lib_var=yes" | 9958 eval "ac_cv_lib_$ac_lib_var=yes" |
9949 else | 9959 else |
9950 echo "configure: failed program was:" >&5 | 9960 echo "configure: failed program was:" >&5 |
9951 cat conftest.$ac_ext >&5 | 9961 cat conftest.$ac_ext >&5 |
9959 echo "$ac_t""yes" 1>&6 | 9969 echo "$ac_t""yes" 1>&6 |
9960 athena_lib=$athena_variant | 9970 athena_lib=$athena_variant |
9961 else | 9971 else |
9962 echo "$ac_t""no" 1>&6 | 9972 echo "$ac_t""no" 1>&6 |
9963 echo $ac_n "checking for threeDClassRec in -lXaw""... $ac_c" 1>&6 | 9973 echo $ac_n "checking for threeDClassRec in -lXaw""... $ac_c" 1>&6 |
9964 echo "configure:9966: checking for threeDClassRec in -lXaw" >&5 | 9974 echo "configure:9975: checking for threeDClassRec in -lXaw" >&5 |
9965 ac_lib_var=`echo Xaw'_'threeDClassRec | sed 'y%./+-%__p_%'` | 9975 ac_lib_var=`echo Xaw'_'threeDClassRec | sed 'y%./+-%__p_%'` |
9966 | 9976 |
9967 xe_check_libs=" -lXaw " | 9977 xe_check_libs=" -lXaw " |
9968 cat > conftest.$ac_ext <<EOF | 9978 cat > conftest.$ac_ext <<EOF |
9969 #line 9971 "configure" | 9979 #line 9980 "configure" |
9970 #include "confdefs.h" | 9980 #include "confdefs.h" |
9971 /* Override any gcc2 internal prototype to avoid an error. */ | 9981 /* Override any gcc2 internal prototype to avoid an error. */ |
9972 /* We use char because int might match the return type of a gcc2 | 9982 /* We use char because int might match the return type of a gcc2 |
9973 builtin and then its argument prototype would still apply. */ | 9983 builtin and then its argument prototype would still apply. */ |
9974 char threeDClassRec(); | 9984 char threeDClassRec(); |
9975 | 9985 |
9976 int main() { | 9986 int main() { |
9977 threeDClassRec() | 9987 threeDClassRec() |
9978 ; return 0; } | 9988 ; return 0; } |
9979 EOF | 9989 EOF |
9980 if { (eval echo configure:9982: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9990 if { (eval echo configure:9991: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9981 rm -rf conftest* | 9991 rm -rf conftest* |
9982 eval "ac_cv_lib_$ac_lib_var=yes" | 9992 eval "ac_cv_lib_$ac_lib_var=yes" |
9983 else | 9993 else |
9984 echo "configure: failed program was:" >&5 | 9994 echo "configure: failed program was:" >&5 |
9985 cat conftest.$ac_ext >&5 | 9995 cat conftest.$ac_ext >&5 |
10006 fi | 10016 fi |
10007 | 10017 |
10008 if test "$athena_3d" = "no"; then | 10018 if test "$athena_3d" = "no"; then |
10009 ac_safe=`echo "X11/Xaw/ThreeD.h" | sed 'y%./+-%__p_%'` | 10019 ac_safe=`echo "X11/Xaw/ThreeD.h" | sed 'y%./+-%__p_%'` |
10010 echo $ac_n "checking for X11/Xaw/ThreeD.h""... $ac_c" 1>&6 | 10020 echo $ac_n "checking for X11/Xaw/ThreeD.h""... $ac_c" 1>&6 |
10011 echo "configure:10013: checking for X11/Xaw/ThreeD.h" >&5 | 10021 echo "configure:10022: checking for X11/Xaw/ThreeD.h" >&5 |
10012 | 10022 |
10013 cat > conftest.$ac_ext <<EOF | 10023 cat > conftest.$ac_ext <<EOF |
10014 #line 10016 "configure" | 10024 #line 10025 "configure" |
10015 #include "confdefs.h" | 10025 #include "confdefs.h" |
10016 #include <X11/Xaw/ThreeD.h> | 10026 #include <X11/Xaw/ThreeD.h> |
10017 EOF | 10027 EOF |
10018 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10028 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10019 { (eval echo configure:10021: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10029 { (eval echo configure:10030: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10020 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10030 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10021 if test -z "$ac_err"; then | 10031 if test -z "$ac_err"; then |
10022 rm -rf conftest* | 10032 rm -rf conftest* |
10023 eval "ac_cv_header_$ac_safe=yes" | 10033 eval "ac_cv_header_$ac_safe=yes" |
10024 else | 10034 else |
10034 echo "configure: warning: Could not find a non-3d Athena header set." 1>&2 | 10044 echo "configure: warning: Could not find a non-3d Athena header set." 1>&2 |
10035 else | 10045 else |
10036 echo "$ac_t""no" 1>&6 | 10046 echo "$ac_t""no" 1>&6 |
10037 ac_safe=`echo "X11/Xaw/XawInit.h" | sed 'y%./+-%__p_%'` | 10047 ac_safe=`echo "X11/Xaw/XawInit.h" | sed 'y%./+-%__p_%'` |
10038 echo $ac_n "checking for X11/Xaw/XawInit.h""... $ac_c" 1>&6 | 10048 echo $ac_n "checking for X11/Xaw/XawInit.h""... $ac_c" 1>&6 |
10039 echo "configure:10041: checking for X11/Xaw/XawInit.h" >&5 | 10049 echo "configure:10050: checking for X11/Xaw/XawInit.h" >&5 |
10040 | 10050 |
10041 cat > conftest.$ac_ext <<EOF | 10051 cat > conftest.$ac_ext <<EOF |
10042 #line 10044 "configure" | 10052 #line 10053 "configure" |
10043 #include "confdefs.h" | 10053 #include "confdefs.h" |
10044 #include <X11/Xaw/XawInit.h> | 10054 #include <X11/Xaw/XawInit.h> |
10045 EOF | 10055 EOF |
10046 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10056 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10047 { (eval echo configure:10049: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10057 { (eval echo configure:10058: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10048 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10058 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10049 if test -z "$ac_err"; then | 10059 if test -z "$ac_err"; then |
10050 rm -rf conftest* | 10060 rm -rf conftest* |
10051 eval "ac_cv_header_$ac_safe=yes" | 10061 eval "ac_cv_header_$ac_safe=yes" |
10052 else | 10062 else |
10068 fi | 10078 fi |
10069 | 10079 |
10070 else | 10080 else |
10071 ac_safe=`echo "X11/$athena_variant/XawInit.h" | sed 'y%./+-%__p_%'` | 10081 ac_safe=`echo "X11/$athena_variant/XawInit.h" | sed 'y%./+-%__p_%'` |
10072 echo $ac_n "checking for X11/$athena_variant/XawInit.h""... $ac_c" 1>&6 | 10082 echo $ac_n "checking for X11/$athena_variant/XawInit.h""... $ac_c" 1>&6 |
10073 echo "configure:10075: checking for X11/$athena_variant/XawInit.h" >&5 | 10083 echo "configure:10084: checking for X11/$athena_variant/XawInit.h" >&5 |
10074 | 10084 |
10075 cat > conftest.$ac_ext <<EOF | 10085 cat > conftest.$ac_ext <<EOF |
10076 #line 10078 "configure" | 10086 #line 10087 "configure" |
10077 #include "confdefs.h" | 10087 #include "confdefs.h" |
10078 #include <X11/$athena_variant/XawInit.h> | 10088 #include <X11/$athena_variant/XawInit.h> |
10079 EOF | 10089 EOF |
10080 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10090 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10081 { (eval echo configure:10083: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10091 { (eval echo configure:10092: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10082 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10092 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10083 if test -z "$ac_err"; then | 10093 if test -z "$ac_err"; then |
10084 rm -rf conftest* | 10094 rm -rf conftest* |
10085 eval "ac_cv_header_$ac_safe=yes" | 10095 eval "ac_cv_header_$ac_safe=yes" |
10086 else | 10096 else |
10093 rm -f conftest* | 10103 rm -f conftest* |
10094 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 10104 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
10095 echo "$ac_t""yes" 1>&6 | 10105 echo "$ac_t""yes" 1>&6 |
10096 ac_safe=`echo "X11/$athena_variant/ThreeD.h" | sed 'y%./+-%__p_%'` | 10106 ac_safe=`echo "X11/$athena_variant/ThreeD.h" | sed 'y%./+-%__p_%'` |
10097 echo $ac_n "checking for X11/$athena_variant/ThreeD.h""... $ac_c" 1>&6 | 10107 echo $ac_n "checking for X11/$athena_variant/ThreeD.h""... $ac_c" 1>&6 |
10098 echo "configure:10100: checking for X11/$athena_variant/ThreeD.h" >&5 | 10108 echo "configure:10109: checking for X11/$athena_variant/ThreeD.h" >&5 |
10099 | 10109 |
10100 cat > conftest.$ac_ext <<EOF | 10110 cat > conftest.$ac_ext <<EOF |
10101 #line 10103 "configure" | 10111 #line 10112 "configure" |
10102 #include "confdefs.h" | 10112 #include "confdefs.h" |
10103 #include <X11/$athena_variant/ThreeD.h> | 10113 #include <X11/$athena_variant/ThreeD.h> |
10104 EOF | 10114 EOF |
10105 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10115 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10106 { (eval echo configure:10108: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10116 { (eval echo configure:10117: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10107 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10117 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10108 if test -z "$ac_err"; then | 10118 if test -z "$ac_err"; then |
10109 rm -rf conftest* | 10119 rm -rf conftest* |
10110 eval "ac_cv_header_$ac_safe=yes" | 10120 eval "ac_cv_header_$ac_safe=yes" |
10111 else | 10121 else |
10129 | 10139 |
10130 | 10140 |
10131 if test -z "$athena_h_path"; then | 10141 if test -z "$athena_h_path"; then |
10132 ac_safe=`echo "$athena_variant/XawInit.h" | sed 'y%./+-%__p_%'` | 10142 ac_safe=`echo "$athena_variant/XawInit.h" | sed 'y%./+-%__p_%'` |
10133 echo $ac_n "checking for $athena_variant/XawInit.h""... $ac_c" 1>&6 | 10143 echo $ac_n "checking for $athena_variant/XawInit.h""... $ac_c" 1>&6 |
10134 echo "configure:10136: checking for $athena_variant/XawInit.h" >&5 | 10144 echo "configure:10145: checking for $athena_variant/XawInit.h" >&5 |
10135 | 10145 |
10136 cat > conftest.$ac_ext <<EOF | 10146 cat > conftest.$ac_ext <<EOF |
10137 #line 10139 "configure" | 10147 #line 10148 "configure" |
10138 #include "confdefs.h" | 10148 #include "confdefs.h" |
10139 #include <$athena_variant/XawInit.h> | 10149 #include <$athena_variant/XawInit.h> |
10140 EOF | 10150 EOF |
10141 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10151 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10142 { (eval echo configure:10144: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10152 { (eval echo configure:10153: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10143 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10153 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10144 if test -z "$ac_err"; then | 10154 if test -z "$ac_err"; then |
10145 rm -rf conftest* | 10155 rm -rf conftest* |
10146 eval "ac_cv_header_$ac_safe=yes" | 10156 eval "ac_cv_header_$ac_safe=yes" |
10147 else | 10157 else |
10154 rm -f conftest* | 10164 rm -f conftest* |
10155 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 10165 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
10156 echo "$ac_t""yes" 1>&6 | 10166 echo "$ac_t""yes" 1>&6 |
10157 ac_safe=`echo "$athena_variant/ThreeD.h" | sed 'y%./+-%__p_%'` | 10167 ac_safe=`echo "$athena_variant/ThreeD.h" | sed 'y%./+-%__p_%'` |
10158 echo $ac_n "checking for $athena_variant/ThreeD.h""... $ac_c" 1>&6 | 10168 echo $ac_n "checking for $athena_variant/ThreeD.h""... $ac_c" 1>&6 |
10159 echo "configure:10161: checking for $athena_variant/ThreeD.h" >&5 | 10169 echo "configure:10170: checking for $athena_variant/ThreeD.h" >&5 |
10160 | 10170 |
10161 cat > conftest.$ac_ext <<EOF | 10171 cat > conftest.$ac_ext <<EOF |
10162 #line 10164 "configure" | 10172 #line 10173 "configure" |
10163 #include "confdefs.h" | 10173 #include "confdefs.h" |
10164 #include <$athena_variant/ThreeD.h> | 10174 #include <$athena_variant/ThreeD.h> |
10165 EOF | 10175 EOF |
10166 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10176 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10167 { (eval echo configure:10169: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10177 { (eval echo configure:10178: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10168 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10178 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10169 if test -z "$ac_err"; then | 10179 if test -z "$ac_err"; then |
10170 rm -rf conftest* | 10180 rm -rf conftest* |
10171 eval "ac_cv_header_$ac_safe=yes" | 10181 eval "ac_cv_header_$ac_safe=yes" |
10172 else | 10182 else |
10191 fi | 10201 fi |
10192 | 10202 |
10193 if test -z "$athena_h_path" -a "$athena_variant" != "Xaw3d"; then | 10203 if test -z "$athena_h_path" -a "$athena_variant" != "Xaw3d"; then |
10194 ac_safe=`echo "X11/Xaw3d/XawInit.h" | sed 'y%./+-%__p_%'` | 10204 ac_safe=`echo "X11/Xaw3d/XawInit.h" | sed 'y%./+-%__p_%'` |
10195 echo $ac_n "checking for X11/Xaw3d/XawInit.h""... $ac_c" 1>&6 | 10205 echo $ac_n "checking for X11/Xaw3d/XawInit.h""... $ac_c" 1>&6 |
10196 echo "configure:10198: checking for X11/Xaw3d/XawInit.h" >&5 | 10206 echo "configure:10207: checking for X11/Xaw3d/XawInit.h" >&5 |
10197 | 10207 |
10198 cat > conftest.$ac_ext <<EOF | 10208 cat > conftest.$ac_ext <<EOF |
10199 #line 10201 "configure" | 10209 #line 10210 "configure" |
10200 #include "confdefs.h" | 10210 #include "confdefs.h" |
10201 #include <X11/Xaw3d/XawInit.h> | 10211 #include <X11/Xaw3d/XawInit.h> |
10202 EOF | 10212 EOF |
10203 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10213 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10204 { (eval echo configure:10206: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10214 { (eval echo configure:10215: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10205 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10215 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10206 if test -z "$ac_err"; then | 10216 if test -z "$ac_err"; then |
10207 rm -rf conftest* | 10217 rm -rf conftest* |
10208 eval "ac_cv_header_$ac_safe=yes" | 10218 eval "ac_cv_header_$ac_safe=yes" |
10209 else | 10219 else |
10216 rm -f conftest* | 10226 rm -f conftest* |
10217 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 10227 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
10218 echo "$ac_t""yes" 1>&6 | 10228 echo "$ac_t""yes" 1>&6 |
10219 ac_safe=`echo "X11/Xaw3d/ThreeD.h" | sed 'y%./+-%__p_%'` | 10229 ac_safe=`echo "X11/Xaw3d/ThreeD.h" | sed 'y%./+-%__p_%'` |
10220 echo $ac_n "checking for X11/Xaw3d/ThreeD.h""... $ac_c" 1>&6 | 10230 echo $ac_n "checking for X11/Xaw3d/ThreeD.h""... $ac_c" 1>&6 |
10221 echo "configure:10223: checking for X11/Xaw3d/ThreeD.h" >&5 | 10231 echo "configure:10232: checking for X11/Xaw3d/ThreeD.h" >&5 |
10222 | 10232 |
10223 cat > conftest.$ac_ext <<EOF | 10233 cat > conftest.$ac_ext <<EOF |
10224 #line 10226 "configure" | 10234 #line 10235 "configure" |
10225 #include "confdefs.h" | 10235 #include "confdefs.h" |
10226 #include <X11/Xaw3d/ThreeD.h> | 10236 #include <X11/Xaw3d/ThreeD.h> |
10227 EOF | 10237 EOF |
10228 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10238 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10229 { (eval echo configure:10231: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10239 { (eval echo configure:10240: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10230 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10240 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10231 if test -z "$ac_err"; then | 10241 if test -z "$ac_err"; then |
10232 rm -rf conftest* | 10242 rm -rf conftest* |
10233 eval "ac_cv_header_$ac_safe=yes" | 10243 eval "ac_cv_header_$ac_safe=yes" |
10234 else | 10244 else |
10256 fi | 10266 fi |
10257 | 10267 |
10258 if test -z "$athena_h_path" -a "$athena_variant" != "Xaw3d"; then | 10268 if test -z "$athena_h_path" -a "$athena_variant" != "Xaw3d"; then |
10259 ac_safe=`echo "Xaw3d/XawInit.h" | sed 'y%./+-%__p_%'` | 10269 ac_safe=`echo "Xaw3d/XawInit.h" | sed 'y%./+-%__p_%'` |
10260 echo $ac_n "checking for Xaw3d/XawInit.h""... $ac_c" 1>&6 | 10270 echo $ac_n "checking for Xaw3d/XawInit.h""... $ac_c" 1>&6 |
10261 echo "configure:10263: checking for Xaw3d/XawInit.h" >&5 | 10271 echo "configure:10272: checking for Xaw3d/XawInit.h" >&5 |
10262 | 10272 |
10263 cat > conftest.$ac_ext <<EOF | 10273 cat > conftest.$ac_ext <<EOF |
10264 #line 10266 "configure" | 10274 #line 10275 "configure" |
10265 #include "confdefs.h" | 10275 #include "confdefs.h" |
10266 #include <Xaw3d/XawInit.h> | 10276 #include <Xaw3d/XawInit.h> |
10267 EOF | 10277 EOF |
10268 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10278 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10269 { (eval echo configure:10271: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10279 { (eval echo configure:10280: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10270 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10280 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10271 if test -z "$ac_err"; then | 10281 if test -z "$ac_err"; then |
10272 rm -rf conftest* | 10282 rm -rf conftest* |
10273 eval "ac_cv_header_$ac_safe=yes" | 10283 eval "ac_cv_header_$ac_safe=yes" |
10274 else | 10284 else |
10281 rm -f conftest* | 10291 rm -f conftest* |
10282 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 10292 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
10283 echo "$ac_t""yes" 1>&6 | 10293 echo "$ac_t""yes" 1>&6 |
10284 ac_safe=`echo "Xaw3d/ThreeD.h" | sed 'y%./+-%__p_%'` | 10294 ac_safe=`echo "Xaw3d/ThreeD.h" | sed 'y%./+-%__p_%'` |
10285 echo $ac_n "checking for Xaw3d/ThreeD.h""... $ac_c" 1>&6 | 10295 echo $ac_n "checking for Xaw3d/ThreeD.h""... $ac_c" 1>&6 |
10286 echo "configure:10288: checking for Xaw3d/ThreeD.h" >&5 | 10296 echo "configure:10297: checking for Xaw3d/ThreeD.h" >&5 |
10287 | 10297 |
10288 cat > conftest.$ac_ext <<EOF | 10298 cat > conftest.$ac_ext <<EOF |
10289 #line 10291 "configure" | 10299 #line 10300 "configure" |
10290 #include "confdefs.h" | 10300 #include "confdefs.h" |
10291 #include <Xaw3d/ThreeD.h> | 10301 #include <Xaw3d/ThreeD.h> |
10292 EOF | 10302 EOF |
10293 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10303 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10294 { (eval echo configure:10296: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10304 { (eval echo configure:10305: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10295 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10305 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10296 if test -z "$ac_err"; then | 10306 if test -z "$ac_err"; then |
10297 rm -rf conftest* | 10307 rm -rf conftest* |
10298 eval "ac_cv_header_$ac_safe=yes" | 10308 eval "ac_cv_header_$ac_safe=yes" |
10299 else | 10309 else |
10321 fi | 10331 fi |
10322 | 10332 |
10323 if test -z "$athena_h_path"; then | 10333 if test -z "$athena_h_path"; then |
10324 ac_safe=`echo "X11/Xaw/ThreeD.h" | sed 'y%./+-%__p_%'` | 10334 ac_safe=`echo "X11/Xaw/ThreeD.h" | sed 'y%./+-%__p_%'` |
10325 echo $ac_n "checking for X11/Xaw/ThreeD.h""... $ac_c" 1>&6 | 10335 echo $ac_n "checking for X11/Xaw/ThreeD.h""... $ac_c" 1>&6 |
10326 echo "configure:10328: checking for X11/Xaw/ThreeD.h" >&5 | 10336 echo "configure:10337: checking for X11/Xaw/ThreeD.h" >&5 |
10327 | 10337 |
10328 cat > conftest.$ac_ext <<EOF | 10338 cat > conftest.$ac_ext <<EOF |
10329 #line 10331 "configure" | 10339 #line 10340 "configure" |
10330 #include "confdefs.h" | 10340 #include "confdefs.h" |
10331 #include <X11/Xaw/ThreeD.h> | 10341 #include <X11/Xaw/ThreeD.h> |
10332 EOF | 10342 EOF |
10333 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10343 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10334 { (eval echo configure:10336: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10344 { (eval echo configure:10345: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10335 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10345 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10336 if test -z "$ac_err"; then | 10346 if test -z "$ac_err"; then |
10337 rm -rf conftest* | 10347 rm -rf conftest* |
10338 eval "ac_cv_header_$ac_safe=yes" | 10348 eval "ac_cv_header_$ac_safe=yes" |
10339 else | 10349 else |
10368 have_xaw=no | 10378 have_xaw=no |
10369 fi | 10379 fi |
10370 if test "$with_x11" = "yes"; then | 10380 if test "$with_x11" = "yes"; then |
10371 ac_safe=`echo "Xm/Xm.h" | sed 'y%./+-%__p_%'` | 10381 ac_safe=`echo "Xm/Xm.h" | sed 'y%./+-%__p_%'` |
10372 echo $ac_n "checking for Xm/Xm.h""... $ac_c" 1>&6 | 10382 echo $ac_n "checking for Xm/Xm.h""... $ac_c" 1>&6 |
10373 echo "configure:10375: checking for Xm/Xm.h" >&5 | 10383 echo "configure:10384: checking for Xm/Xm.h" >&5 |
10374 | 10384 |
10375 cat > conftest.$ac_ext <<EOF | 10385 cat > conftest.$ac_ext <<EOF |
10376 #line 10378 "configure" | 10386 #line 10387 "configure" |
10377 #include "confdefs.h" | 10387 #include "confdefs.h" |
10378 #include <Xm/Xm.h> | 10388 #include <Xm/Xm.h> |
10379 EOF | 10389 EOF |
10380 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10390 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10381 { (eval echo configure:10383: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10391 { (eval echo configure:10392: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10382 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10392 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10383 if test -z "$ac_err"; then | 10393 if test -z "$ac_err"; then |
10384 rm -rf conftest* | 10394 rm -rf conftest* |
10385 eval "ac_cv_header_$ac_safe=yes" | 10395 eval "ac_cv_header_$ac_safe=yes" |
10386 else | 10396 else |
10393 rm -f conftest* | 10403 rm -f conftest* |
10394 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 10404 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
10395 echo "$ac_t""yes" 1>&6 | 10405 echo "$ac_t""yes" 1>&6 |
10396 | 10406 |
10397 echo $ac_n "checking for XmStringFree in -lXm""... $ac_c" 1>&6 | 10407 echo $ac_n "checking for XmStringFree in -lXm""... $ac_c" 1>&6 |
10398 echo "configure:10400: checking for XmStringFree in -lXm" >&5 | 10408 echo "configure:10409: checking for XmStringFree in -lXm" >&5 |
10399 ac_lib_var=`echo Xm'_'XmStringFree | sed 'y%./+-%__p_%'` | 10409 ac_lib_var=`echo Xm'_'XmStringFree | sed 'y%./+-%__p_%'` |
10400 | 10410 |
10401 xe_check_libs=" -lXm " | 10411 xe_check_libs=" -lXm " |
10402 cat > conftest.$ac_ext <<EOF | 10412 cat > conftest.$ac_ext <<EOF |
10403 #line 10405 "configure" | 10413 #line 10414 "configure" |
10404 #include "confdefs.h" | 10414 #include "confdefs.h" |
10405 /* Override any gcc2 internal prototype to avoid an error. */ | 10415 /* Override any gcc2 internal prototype to avoid an error. */ |
10406 /* We use char because int might match the return type of a gcc2 | 10416 /* We use char because int might match the return type of a gcc2 |
10407 builtin and then its argument prototype would still apply. */ | 10417 builtin and then its argument prototype would still apply. */ |
10408 char XmStringFree(); | 10418 char XmStringFree(); |
10409 | 10419 |
10410 int main() { | 10420 int main() { |
10411 XmStringFree() | 10421 XmStringFree() |
10412 ; return 0; } | 10422 ; return 0; } |
10413 EOF | 10423 EOF |
10414 if { (eval echo configure:10416: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10424 if { (eval echo configure:10425: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10415 rm -rf conftest* | 10425 rm -rf conftest* |
10416 eval "ac_cv_lib_$ac_lib_var=yes" | 10426 eval "ac_cv_lib_$ac_lib_var=yes" |
10417 else | 10427 else |
10418 echo "configure: failed program was:" >&5 | 10428 echo "configure: failed program was:" >&5 |
10419 cat conftest.$ac_ext >&5 | 10429 cat conftest.$ac_ext >&5 |
10438 fi | 10448 fi |
10439 | 10449 |
10440 | 10450 |
10441 if test "$have_motif" = "yes"; then | 10451 if test "$have_motif" = "yes"; then |
10442 echo $ac_n "checking for Lesstif""... $ac_c" 1>&6 | 10452 echo $ac_n "checking for Lesstif""... $ac_c" 1>&6 |
10443 echo "configure:10445: checking for Lesstif" >&5 | 10453 echo "configure:10454: checking for Lesstif" >&5 |
10444 cat > conftest.$ac_ext <<EOF | 10454 cat > conftest.$ac_ext <<EOF |
10445 #line 10447 "configure" | 10455 #line 10456 "configure" |
10446 #include "confdefs.h" | 10456 #include "confdefs.h" |
10447 #include <Xm/Xm.h> | 10457 #include <Xm/Xm.h> |
10448 #ifdef LESSTIF_VERSION | 10458 #ifdef LESSTIF_VERSION |
10449 yes | 10459 yes |
10450 #endif | 10460 #endif |
10813 | 10823 |
10814 fi | 10824 fi |
10815 | 10825 |
10816 if test "$with_mule" = "yes" ; then | 10826 if test "$with_mule" = "yes" ; then |
10817 echo "checking for Mule-related features" 1>&6 | 10827 echo "checking for Mule-related features" 1>&6 |
10818 echo "configure:10820: checking for Mule-related features" >&5 | 10828 echo "configure:10829: checking for Mule-related features" >&5 |
10819 { test "$extra_verbose" = "yes" && cat << \EOF | 10829 { test "$extra_verbose" = "yes" && cat << \EOF |
10820 Defining MULE | 10830 Defining MULE |
10821 EOF | 10831 EOF |
10822 cat >> confdefs.h <<\EOF | 10832 cat >> confdefs.h <<\EOF |
10823 #define MULE 1 | 10833 #define MULE 1 |
10827 | 10837 |
10828 for ac_hdr in libintl.h | 10838 for ac_hdr in libintl.h |
10829 do | 10839 do |
10830 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 10840 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
10831 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 10841 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
10832 echo "configure:10834: checking for $ac_hdr" >&5 | 10842 echo "configure:10843: checking for $ac_hdr" >&5 |
10833 | 10843 |
10834 cat > conftest.$ac_ext <<EOF | 10844 cat > conftest.$ac_ext <<EOF |
10835 #line 10837 "configure" | 10845 #line 10846 "configure" |
10836 #include "confdefs.h" | 10846 #include "confdefs.h" |
10837 #include <$ac_hdr> | 10847 #include <$ac_hdr> |
10838 EOF | 10848 EOF |
10839 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10849 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10840 { (eval echo configure:10842: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10850 { (eval echo configure:10851: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10841 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10851 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10842 if test -z "$ac_err"; then | 10852 if test -z "$ac_err"; then |
10843 rm -rf conftest* | 10853 rm -rf conftest* |
10844 eval "ac_cv_header_$ac_safe=yes" | 10854 eval "ac_cv_header_$ac_safe=yes" |
10845 else | 10855 else |
10866 fi | 10876 fi |
10867 done | 10877 done |
10868 | 10878 |
10869 | 10879 |
10870 echo $ac_n "checking for strerror in -lintl""... $ac_c" 1>&6 | 10880 echo $ac_n "checking for strerror in -lintl""... $ac_c" 1>&6 |
10871 echo "configure:10873: checking for strerror in -lintl" >&5 | 10881 echo "configure:10882: checking for strerror in -lintl" >&5 |
10872 ac_lib_var=`echo intl'_'strerror | sed 'y%./+-%__p_%'` | 10882 ac_lib_var=`echo intl'_'strerror | sed 'y%./+-%__p_%'` |
10873 | 10883 |
10874 xe_check_libs=" -lintl " | 10884 xe_check_libs=" -lintl " |
10875 cat > conftest.$ac_ext <<EOF | 10885 cat > conftest.$ac_ext <<EOF |
10876 #line 10878 "configure" | 10886 #line 10887 "configure" |
10877 #include "confdefs.h" | 10887 #include "confdefs.h" |
10878 /* Override any gcc2 internal prototype to avoid an error. */ | 10888 /* Override any gcc2 internal prototype to avoid an error. */ |
10879 /* We use char because int might match the return type of a gcc2 | 10889 /* We use char because int might match the return type of a gcc2 |
10880 builtin and then its argument prototype would still apply. */ | 10890 builtin and then its argument prototype would still apply. */ |
10881 char strerror(); | 10891 char strerror(); |
10882 | 10892 |
10883 int main() { | 10893 int main() { |
10884 strerror() | 10894 strerror() |
10885 ; return 0; } | 10895 ; return 0; } |
10886 EOF | 10896 EOF |
10887 if { (eval echo configure:10889: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10897 if { (eval echo configure:10898: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10888 rm -rf conftest* | 10898 rm -rf conftest* |
10889 eval "ac_cv_lib_$ac_lib_var=yes" | 10899 eval "ac_cv_lib_$ac_lib_var=yes" |
10890 else | 10900 else |
10891 echo "configure: failed program was:" >&5 | 10901 echo "configure: failed program was:" >&5 |
10892 cat conftest.$ac_ext >&5 | 10902 cat conftest.$ac_ext >&5 |
10915 fi | 10925 fi |
10916 | 10926 |
10917 | 10927 |
10918 | 10928 |
10919 echo "checking for Mule input methods" 1>&6 | 10929 echo "checking for Mule input methods" 1>&6 |
10920 echo "configure:10922: checking for Mule input methods" >&5 | 10930 echo "configure:10931: checking for Mule input methods" >&5 |
10921 case "$with_xim" in "" | "yes" ) | 10931 case "$with_xim" in "" | "yes" ) |
10922 echo "checking for XIM" 1>&6 | 10932 echo "checking for XIM" 1>&6 |
10923 echo "configure:10925: checking for XIM" >&5 | 10933 echo "configure:10934: checking for XIM" >&5 |
10924 | 10934 |
10925 echo $ac_n "checking for XOpenIM in -lX11""... $ac_c" 1>&6 | 10935 echo $ac_n "checking for XOpenIM in -lX11""... $ac_c" 1>&6 |
10926 echo "configure:10928: checking for XOpenIM in -lX11" >&5 | 10936 echo "configure:10937: checking for XOpenIM in -lX11" >&5 |
10927 ac_lib_var=`echo X11'_'XOpenIM | sed 'y%./+-%__p_%'` | 10937 ac_lib_var=`echo X11'_'XOpenIM | sed 'y%./+-%__p_%'` |
10928 | 10938 |
10929 xe_check_libs=" -lX11 " | 10939 xe_check_libs=" -lX11 " |
10930 cat > conftest.$ac_ext <<EOF | 10940 cat > conftest.$ac_ext <<EOF |
10931 #line 10933 "configure" | 10941 #line 10942 "configure" |
10932 #include "confdefs.h" | 10942 #include "confdefs.h" |
10933 /* Override any gcc2 internal prototype to avoid an error. */ | 10943 /* Override any gcc2 internal prototype to avoid an error. */ |
10934 /* We use char because int might match the return type of a gcc2 | 10944 /* We use char because int might match the return type of a gcc2 |
10935 builtin and then its argument prototype would still apply. */ | 10945 builtin and then its argument prototype would still apply. */ |
10936 char XOpenIM(); | 10946 char XOpenIM(); |
10937 | 10947 |
10938 int main() { | 10948 int main() { |
10939 XOpenIM() | 10949 XOpenIM() |
10940 ; return 0; } | 10950 ; return 0; } |
10941 EOF | 10951 EOF |
10942 if { (eval echo configure:10944: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10952 if { (eval echo configure:10953: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10943 rm -rf conftest* | 10953 rm -rf conftest* |
10944 eval "ac_cv_lib_$ac_lib_var=yes" | 10954 eval "ac_cv_lib_$ac_lib_var=yes" |
10945 else | 10955 else |
10946 echo "configure: failed program was:" >&5 | 10956 echo "configure: failed program was:" >&5 |
10947 cat conftest.$ac_ext >&5 | 10957 cat conftest.$ac_ext >&5 |
10961 | 10971 |
10962 | 10972 |
10963 if test "$have_motif $have_lesstif" = "yes no"; then | 10973 if test "$have_motif $have_lesstif" = "yes no"; then |
10964 | 10974 |
10965 echo $ac_n "checking for XmImMbLookupString in -lXm""... $ac_c" 1>&6 | 10975 echo $ac_n "checking for XmImMbLookupString in -lXm""... $ac_c" 1>&6 |
10966 echo "configure:10968: checking for XmImMbLookupString in -lXm" >&5 | 10976 echo "configure:10977: checking for XmImMbLookupString in -lXm" >&5 |
10967 ac_lib_var=`echo Xm'_'XmImMbLookupString | sed 'y%./+-%__p_%'` | 10977 ac_lib_var=`echo Xm'_'XmImMbLookupString | sed 'y%./+-%__p_%'` |
10968 | 10978 |
10969 xe_check_libs=" -lXm " | 10979 xe_check_libs=" -lXm " |
10970 cat > conftest.$ac_ext <<EOF | 10980 cat > conftest.$ac_ext <<EOF |
10971 #line 10973 "configure" | 10981 #line 10982 "configure" |
10972 #include "confdefs.h" | 10982 #include "confdefs.h" |
10973 /* Override any gcc2 internal prototype to avoid an error. */ | 10983 /* Override any gcc2 internal prototype to avoid an error. */ |
10974 /* We use char because int might match the return type of a gcc2 | 10984 /* We use char because int might match the return type of a gcc2 |
10975 builtin and then its argument prototype would still apply. */ | 10985 builtin and then its argument prototype would still apply. */ |
10976 char XmImMbLookupString(); | 10986 char XmImMbLookupString(); |
10977 | 10987 |
10978 int main() { | 10988 int main() { |
10979 XmImMbLookupString() | 10989 XmImMbLookupString() |
10980 ; return 0; } | 10990 ; return 0; } |
10981 EOF | 10991 EOF |
10982 if { (eval echo configure:10984: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10992 if { (eval echo configure:10993: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10983 rm -rf conftest* | 10993 rm -rf conftest* |
10984 eval "ac_cv_lib_$ac_lib_var=yes" | 10994 eval "ac_cv_lib_$ac_lib_var=yes" |
10985 else | 10995 else |
10986 echo "configure: failed program was:" >&5 | 10996 echo "configure: failed program was:" >&5 |
10987 cat conftest.$ac_ext >&5 | 10997 cat conftest.$ac_ext >&5 |
11042 fi | 11052 fi |
11043 fi | 11053 fi |
11044 | 11054 |
11045 if test "$with_xfs" = "yes" ; then | 11055 if test "$with_xfs" = "yes" ; then |
11046 echo "checking for XFontSet" 1>&6 | 11056 echo "checking for XFontSet" 1>&6 |
11047 echo "configure:11049: checking for XFontSet" >&5 | 11057 echo "configure:11058: checking for XFontSet" >&5 |
11048 | 11058 |
11049 echo $ac_n "checking for XmbDrawString in -lX11""... $ac_c" 1>&6 | 11059 echo $ac_n "checking for XmbDrawString in -lX11""... $ac_c" 1>&6 |
11050 echo "configure:11052: checking for XmbDrawString in -lX11" >&5 | 11060 echo "configure:11061: checking for XmbDrawString in -lX11" >&5 |
11051 ac_lib_var=`echo X11'_'XmbDrawString | sed 'y%./+-%__p_%'` | 11061 ac_lib_var=`echo X11'_'XmbDrawString | sed 'y%./+-%__p_%'` |
11052 | 11062 |
11053 xe_check_libs=" -lX11 " | 11063 xe_check_libs=" -lX11 " |
11054 cat > conftest.$ac_ext <<EOF | 11064 cat > conftest.$ac_ext <<EOF |
11055 #line 11057 "configure" | 11065 #line 11066 "configure" |
11056 #include "confdefs.h" | 11066 #include "confdefs.h" |
11057 /* Override any gcc2 internal prototype to avoid an error. */ | 11067 /* Override any gcc2 internal prototype to avoid an error. */ |
11058 /* We use char because int might match the return type of a gcc2 | 11068 /* We use char because int might match the return type of a gcc2 |
11059 builtin and then its argument prototype would still apply. */ | 11069 builtin and then its argument prototype would still apply. */ |
11060 char XmbDrawString(); | 11070 char XmbDrawString(); |
11061 | 11071 |
11062 int main() { | 11072 int main() { |
11063 XmbDrawString() | 11073 XmbDrawString() |
11064 ; return 0; } | 11074 ; return 0; } |
11065 EOF | 11075 EOF |
11066 if { (eval echo configure:11068: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11076 if { (eval echo configure:11077: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11067 rm -rf conftest* | 11077 rm -rf conftest* |
11068 eval "ac_cv_lib_$ac_lib_var=yes" | 11078 eval "ac_cv_lib_$ac_lib_var=yes" |
11069 else | 11079 else |
11070 echo "configure: failed program was:" >&5 | 11080 echo "configure: failed program was:" >&5 |
11071 cat conftest.$ac_ext >&5 | 11081 cat conftest.$ac_ext >&5 |
11101 fi | 11111 fi |
11102 fi | 11112 fi |
11103 test "$with_wnn6" = "yes" && with_wnn=yes # wnn6 implies wnn support | 11113 test "$with_wnn6" = "yes" && with_wnn=yes # wnn6 implies wnn support |
11104 test -z "$with_wnn" && { ac_safe=`echo "wnn/jllib.h" | sed 'y%./+-%__p_%'` | 11114 test -z "$with_wnn" && { ac_safe=`echo "wnn/jllib.h" | sed 'y%./+-%__p_%'` |
11105 echo $ac_n "checking for wnn/jllib.h""... $ac_c" 1>&6 | 11115 echo $ac_n "checking for wnn/jllib.h""... $ac_c" 1>&6 |
11106 echo "configure:11108: checking for wnn/jllib.h" >&5 | 11116 echo "configure:11117: checking for wnn/jllib.h" >&5 |
11107 | 11117 |
11108 cat > conftest.$ac_ext <<EOF | 11118 cat > conftest.$ac_ext <<EOF |
11109 #line 11111 "configure" | 11119 #line 11120 "configure" |
11110 #include "confdefs.h" | 11120 #include "confdefs.h" |
11111 #include <wnn/jllib.h> | 11121 #include <wnn/jllib.h> |
11112 EOF | 11122 EOF |
11113 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 11123 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
11114 { (eval echo configure:11116: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 11124 { (eval echo configure:11125: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
11115 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 11125 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
11116 if test -z "$ac_err"; then | 11126 if test -z "$ac_err"; then |
11117 rm -rf conftest* | 11127 rm -rf conftest* |
11118 eval "ac_cv_header_$ac_safe=yes" | 11128 eval "ac_cv_header_$ac_safe=yes" |
11119 else | 11129 else |
11132 with_wnn=no | 11142 with_wnn=no |
11133 fi | 11143 fi |
11134 } | 11144 } |
11135 test -z "$with_wnn" && { ac_safe=`echo "wnn/commonhd.h" | sed 'y%./+-%__p_%'` | 11145 test -z "$with_wnn" && { ac_safe=`echo "wnn/commonhd.h" | sed 'y%./+-%__p_%'` |
11136 echo $ac_n "checking for wnn/commonhd.h""... $ac_c" 1>&6 | 11146 echo $ac_n "checking for wnn/commonhd.h""... $ac_c" 1>&6 |
11137 echo "configure:11139: checking for wnn/commonhd.h" >&5 | 11147 echo "configure:11148: checking for wnn/commonhd.h" >&5 |
11138 | 11148 |
11139 cat > conftest.$ac_ext <<EOF | 11149 cat > conftest.$ac_ext <<EOF |
11140 #line 11142 "configure" | 11150 #line 11151 "configure" |
11141 #include "confdefs.h" | 11151 #include "confdefs.h" |
11142 #include <wnn/commonhd.h> | 11152 #include <wnn/commonhd.h> |
11143 EOF | 11153 EOF |
11144 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 11154 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
11145 { (eval echo configure:11147: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 11155 { (eval echo configure:11156: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
11146 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 11156 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
11147 if test -z "$ac_err"; then | 11157 if test -z "$ac_err"; then |
11148 rm -rf conftest* | 11158 rm -rf conftest* |
11149 eval "ac_cv_header_$ac_safe=yes" | 11159 eval "ac_cv_header_$ac_safe=yes" |
11150 else | 11160 else |
11165 } | 11175 } |
11166 if test "$with_wnn" != "no"; then | 11176 if test "$with_wnn" != "no"; then |
11167 for ac_func in crypt | 11177 for ac_func in crypt |
11168 do | 11178 do |
11169 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 11179 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
11170 echo "configure:11172: checking for $ac_func" >&5 | 11180 echo "configure:11181: checking for $ac_func" >&5 |
11171 | 11181 |
11172 cat > conftest.$ac_ext <<EOF | 11182 cat > conftest.$ac_ext <<EOF |
11173 #line 11175 "configure" | 11183 #line 11184 "configure" |
11174 #include "confdefs.h" | 11184 #include "confdefs.h" |
11175 /* System header to define __stub macros and hopefully few prototypes, | 11185 /* System header to define __stub macros and hopefully few prototypes, |
11176 which can conflict with char $ac_func(); below. */ | 11186 which can conflict with char $ac_func(); below. */ |
11177 #include <assert.h> | 11187 #include <assert.h> |
11178 /* Override any gcc2 internal prototype to avoid an error. */ | 11188 /* Override any gcc2 internal prototype to avoid an error. */ |
11191 $ac_func(); | 11201 $ac_func(); |
11192 #endif | 11202 #endif |
11193 | 11203 |
11194 ; return 0; } | 11204 ; return 0; } |
11195 EOF | 11205 EOF |
11196 if { (eval echo configure:11198: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11206 if { (eval echo configure:11207: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11197 rm -rf conftest* | 11207 rm -rf conftest* |
11198 eval "ac_cv_func_$ac_func=yes" | 11208 eval "ac_cv_func_$ac_func=yes" |
11199 else | 11209 else |
11200 echo "configure: failed program was:" >&5 | 11210 echo "configure: failed program was:" >&5 |
11201 cat conftest.$ac_ext >&5 | 11211 cat conftest.$ac_ext >&5 |
11220 fi | 11230 fi |
11221 done | 11231 done |
11222 | 11232 |
11223 test "$ac_cv_func_crypt" != "yes" && { | 11233 test "$ac_cv_func_crypt" != "yes" && { |
11224 echo $ac_n "checking for crypt in -lcrypt""... $ac_c" 1>&6 | 11234 echo $ac_n "checking for crypt in -lcrypt""... $ac_c" 1>&6 |
11225 echo "configure:11227: checking for crypt in -lcrypt" >&5 | 11235 echo "configure:11236: checking for crypt in -lcrypt" >&5 |
11226 ac_lib_var=`echo crypt'_'crypt | sed 'y%./+-%__p_%'` | 11236 ac_lib_var=`echo crypt'_'crypt | sed 'y%./+-%__p_%'` |
11227 | 11237 |
11228 xe_check_libs=" -lcrypt " | 11238 xe_check_libs=" -lcrypt " |
11229 cat > conftest.$ac_ext <<EOF | 11239 cat > conftest.$ac_ext <<EOF |
11230 #line 11232 "configure" | 11240 #line 11241 "configure" |
11231 #include "confdefs.h" | 11241 #include "confdefs.h" |
11232 /* Override any gcc2 internal prototype to avoid an error. */ | 11242 /* Override any gcc2 internal prototype to avoid an error. */ |
11233 /* We use char because int might match the return type of a gcc2 | 11243 /* We use char because int might match the return type of a gcc2 |
11234 builtin and then its argument prototype would still apply. */ | 11244 builtin and then its argument prototype would still apply. */ |
11235 char crypt(); | 11245 char crypt(); |
11236 | 11246 |
11237 int main() { | 11247 int main() { |
11238 crypt() | 11248 crypt() |
11239 ; return 0; } | 11249 ; return 0; } |
11240 EOF | 11250 EOF |
11241 if { (eval echo configure:11243: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11251 if { (eval echo configure:11252: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11242 rm -rf conftest* | 11252 rm -rf conftest* |
11243 eval "ac_cv_lib_$ac_lib_var=yes" | 11253 eval "ac_cv_lib_$ac_lib_var=yes" |
11244 else | 11254 else |
11245 echo "configure: failed program was:" >&5 | 11255 echo "configure: failed program was:" >&5 |
11246 cat conftest.$ac_ext >&5 | 11256 cat conftest.$ac_ext >&5 |
11271 } | 11281 } |
11272 fi | 11282 fi |
11273 if test -z "$with_wnn" -o "$with_wnn" = "yes"; then | 11283 if test -z "$with_wnn" -o "$with_wnn" = "yes"; then |
11274 | 11284 |
11275 echo $ac_n "checking for jl_dic_list_e in -lwnn""... $ac_c" 1>&6 | 11285 echo $ac_n "checking for jl_dic_list_e in -lwnn""... $ac_c" 1>&6 |
11276 echo "configure:11278: checking for jl_dic_list_e in -lwnn" >&5 | 11286 echo "configure:11287: checking for jl_dic_list_e in -lwnn" >&5 |
11277 ac_lib_var=`echo wnn'_'jl_dic_list_e | sed 'y%./+-%__p_%'` | 11287 ac_lib_var=`echo wnn'_'jl_dic_list_e | sed 'y%./+-%__p_%'` |
11278 | 11288 |
11279 xe_check_libs=" -lwnn " | 11289 xe_check_libs=" -lwnn " |
11280 cat > conftest.$ac_ext <<EOF | 11290 cat > conftest.$ac_ext <<EOF |
11281 #line 11283 "configure" | 11291 #line 11292 "configure" |
11282 #include "confdefs.h" | 11292 #include "confdefs.h" |
11283 /* Override any gcc2 internal prototype to avoid an error. */ | 11293 /* Override any gcc2 internal prototype to avoid an error. */ |
11284 /* We use char because int might match the return type of a gcc2 | 11294 /* We use char because int might match the return type of a gcc2 |
11285 builtin and then its argument prototype would still apply. */ | 11295 builtin and then its argument prototype would still apply. */ |
11286 char jl_dic_list_e(); | 11296 char jl_dic_list_e(); |
11287 | 11297 |
11288 int main() { | 11298 int main() { |
11289 jl_dic_list_e() | 11299 jl_dic_list_e() |
11290 ; return 0; } | 11300 ; return 0; } |
11291 EOF | 11301 EOF |
11292 if { (eval echo configure:11294: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11302 if { (eval echo configure:11303: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11293 rm -rf conftest* | 11303 rm -rf conftest* |
11294 eval "ac_cv_lib_$ac_lib_var=yes" | 11304 eval "ac_cv_lib_$ac_lib_var=yes" |
11295 else | 11305 else |
11296 echo "configure: failed program was:" >&5 | 11306 echo "configure: failed program was:" >&5 |
11297 cat conftest.$ac_ext >&5 | 11307 cat conftest.$ac_ext >&5 |
11305 echo "$ac_t""yes" 1>&6 | 11315 echo "$ac_t""yes" 1>&6 |
11306 libwnn=wnn | 11316 libwnn=wnn |
11307 else | 11317 else |
11308 echo "$ac_t""no" 1>&6 | 11318 echo "$ac_t""no" 1>&6 |
11309 echo $ac_n "checking for jl_dic_list_e in -lwnn4""... $ac_c" 1>&6 | 11319 echo $ac_n "checking for jl_dic_list_e in -lwnn4""... $ac_c" 1>&6 |
11310 echo "configure:11312: checking for jl_dic_list_e in -lwnn4" >&5 | 11320 echo "configure:11321: checking for jl_dic_list_e in -lwnn4" >&5 |
11311 ac_lib_var=`echo wnn4'_'jl_dic_list_e | sed 'y%./+-%__p_%'` | 11321 ac_lib_var=`echo wnn4'_'jl_dic_list_e | sed 'y%./+-%__p_%'` |
11312 | 11322 |
11313 xe_check_libs=" -lwnn4 " | 11323 xe_check_libs=" -lwnn4 " |
11314 cat > conftest.$ac_ext <<EOF | 11324 cat > conftest.$ac_ext <<EOF |
11315 #line 11317 "configure" | 11325 #line 11326 "configure" |
11316 #include "confdefs.h" | 11326 #include "confdefs.h" |
11317 /* Override any gcc2 internal prototype to avoid an error. */ | 11327 /* Override any gcc2 internal prototype to avoid an error. */ |
11318 /* We use char because int might match the return type of a gcc2 | 11328 /* We use char because int might match the return type of a gcc2 |
11319 builtin and then its argument prototype would still apply. */ | 11329 builtin and then its argument prototype would still apply. */ |
11320 char jl_dic_list_e(); | 11330 char jl_dic_list_e(); |
11321 | 11331 |
11322 int main() { | 11332 int main() { |
11323 jl_dic_list_e() | 11333 jl_dic_list_e() |
11324 ; return 0; } | 11334 ; return 0; } |
11325 EOF | 11335 EOF |
11326 if { (eval echo configure:11328: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11336 if { (eval echo configure:11337: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11327 rm -rf conftest* | 11337 rm -rf conftest* |
11328 eval "ac_cv_lib_$ac_lib_var=yes" | 11338 eval "ac_cv_lib_$ac_lib_var=yes" |
11329 else | 11339 else |
11330 echo "configure: failed program was:" >&5 | 11340 echo "configure: failed program was:" >&5 |
11331 cat conftest.$ac_ext >&5 | 11341 cat conftest.$ac_ext >&5 |
11339 echo "$ac_t""yes" 1>&6 | 11349 echo "$ac_t""yes" 1>&6 |
11340 libwnn=wnn4 | 11350 libwnn=wnn4 |
11341 else | 11351 else |
11342 echo "$ac_t""no" 1>&6 | 11352 echo "$ac_t""no" 1>&6 |
11343 echo $ac_n "checking for jl_dic_list_e in -lwnn6""... $ac_c" 1>&6 | 11353 echo $ac_n "checking for jl_dic_list_e in -lwnn6""... $ac_c" 1>&6 |
11344 echo "configure:11346: checking for jl_dic_list_e in -lwnn6" >&5 | 11354 echo "configure:11355: checking for jl_dic_list_e in -lwnn6" >&5 |
11345 ac_lib_var=`echo wnn6'_'jl_dic_list_e | sed 'y%./+-%__p_%'` | 11355 ac_lib_var=`echo wnn6'_'jl_dic_list_e | sed 'y%./+-%__p_%'` |
11346 | 11356 |
11347 xe_check_libs=" -lwnn6 " | 11357 xe_check_libs=" -lwnn6 " |
11348 cat > conftest.$ac_ext <<EOF | 11358 cat > conftest.$ac_ext <<EOF |
11349 #line 11351 "configure" | 11359 #line 11360 "configure" |
11350 #include "confdefs.h" | 11360 #include "confdefs.h" |
11351 /* Override any gcc2 internal prototype to avoid an error. */ | 11361 /* Override any gcc2 internal prototype to avoid an error. */ |
11352 /* We use char because int might match the return type of a gcc2 | 11362 /* We use char because int might match the return type of a gcc2 |
11353 builtin and then its argument prototype would still apply. */ | 11363 builtin and then its argument prototype would still apply. */ |
11354 char jl_dic_list_e(); | 11364 char jl_dic_list_e(); |
11355 | 11365 |
11356 int main() { | 11366 int main() { |
11357 jl_dic_list_e() | 11367 jl_dic_list_e() |
11358 ; return 0; } | 11368 ; return 0; } |
11359 EOF | 11369 EOF |
11360 if { (eval echo configure:11362: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11370 if { (eval echo configure:11371: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11361 rm -rf conftest* | 11371 rm -rf conftest* |
11362 eval "ac_cv_lib_$ac_lib_var=yes" | 11372 eval "ac_cv_lib_$ac_lib_var=yes" |
11363 else | 11373 else |
11364 echo "configure: failed program was:" >&5 | 11374 echo "configure: failed program was:" >&5 |
11365 cat conftest.$ac_ext >&5 | 11375 cat conftest.$ac_ext >&5 |
11373 echo "$ac_t""yes" 1>&6 | 11383 echo "$ac_t""yes" 1>&6 |
11374 libwnn=wnn6 | 11384 libwnn=wnn6 |
11375 else | 11385 else |
11376 echo "$ac_t""no" 1>&6 | 11386 echo "$ac_t""no" 1>&6 |
11377 echo $ac_n "checking for dic_list_e in -lwnn6_fromsrc""... $ac_c" 1>&6 | 11387 echo $ac_n "checking for dic_list_e in -lwnn6_fromsrc""... $ac_c" 1>&6 |
11378 echo "configure:11380: checking for dic_list_e in -lwnn6_fromsrc" >&5 | 11388 echo "configure:11389: checking for dic_list_e in -lwnn6_fromsrc" >&5 |
11379 ac_lib_var=`echo wnn6_fromsrc'_'dic_list_e | sed 'y%./+-%__p_%'` | 11389 ac_lib_var=`echo wnn6_fromsrc'_'dic_list_e | sed 'y%./+-%__p_%'` |
11380 | 11390 |
11381 xe_check_libs=" -lwnn6_fromsrc " | 11391 xe_check_libs=" -lwnn6_fromsrc " |
11382 cat > conftest.$ac_ext <<EOF | 11392 cat > conftest.$ac_ext <<EOF |
11383 #line 11385 "configure" | 11393 #line 11394 "configure" |
11384 #include "confdefs.h" | 11394 #include "confdefs.h" |
11385 /* Override any gcc2 internal prototype to avoid an error. */ | 11395 /* Override any gcc2 internal prototype to avoid an error. */ |
11386 /* We use char because int might match the return type of a gcc2 | 11396 /* We use char because int might match the return type of a gcc2 |
11387 builtin and then its argument prototype would still apply. */ | 11397 builtin and then its argument prototype would still apply. */ |
11388 char dic_list_e(); | 11398 char dic_list_e(); |
11389 | 11399 |
11390 int main() { | 11400 int main() { |
11391 dic_list_e() | 11401 dic_list_e() |
11392 ; return 0; } | 11402 ; return 0; } |
11393 EOF | 11403 EOF |
11394 if { (eval echo configure:11396: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11404 if { (eval echo configure:11405: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11395 rm -rf conftest* | 11405 rm -rf conftest* |
11396 eval "ac_cv_lib_$ac_lib_var=yes" | 11406 eval "ac_cv_lib_$ac_lib_var=yes" |
11397 else | 11407 else |
11398 echo "configure: failed program was:" >&5 | 11408 echo "configure: failed program was:" >&5 |
11399 cat conftest.$ac_ext >&5 | 11409 cat conftest.$ac_ext >&5 |
11434 | 11444 |
11435 libs_x="-l$libwnn $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-l$libwnn\" to \$libs_x"; fi | 11445 libs_x="-l$libwnn $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-l$libwnn\" to \$libs_x"; fi |
11436 if test "$with_wnn6" != "no"; then | 11446 if test "$with_wnn6" != "no"; then |
11437 | 11447 |
11438 echo $ac_n "checking for jl_fi_dic_list in -l$libwnn""... $ac_c" 1>&6 | 11448 echo $ac_n "checking for jl_fi_dic_list in -l$libwnn""... $ac_c" 1>&6 |
11439 echo "configure:11441: checking for jl_fi_dic_list in -l$libwnn" >&5 | 11449 echo "configure:11450: checking for jl_fi_dic_list in -l$libwnn" >&5 |
11440 ac_lib_var=`echo $libwnn'_'jl_fi_dic_list | sed 'y%./+-%__p_%'` | 11450 ac_lib_var=`echo $libwnn'_'jl_fi_dic_list | sed 'y%./+-%__p_%'` |
11441 | 11451 |
11442 xe_check_libs=" -l$libwnn " | 11452 xe_check_libs=" -l$libwnn " |
11443 cat > conftest.$ac_ext <<EOF | 11453 cat > conftest.$ac_ext <<EOF |
11444 #line 11446 "configure" | 11454 #line 11455 "configure" |
11445 #include "confdefs.h" | 11455 #include "confdefs.h" |
11446 /* Override any gcc2 internal prototype to avoid an error. */ | 11456 /* Override any gcc2 internal prototype to avoid an error. */ |
11447 /* We use char because int might match the return type of a gcc2 | 11457 /* We use char because int might match the return type of a gcc2 |
11448 builtin and then its argument prototype would still apply. */ | 11458 builtin and then its argument prototype would still apply. */ |
11449 char jl_fi_dic_list(); | 11459 char jl_fi_dic_list(); |
11450 | 11460 |
11451 int main() { | 11461 int main() { |
11452 jl_fi_dic_list() | 11462 jl_fi_dic_list() |
11453 ; return 0; } | 11463 ; return 0; } |
11454 EOF | 11464 EOF |
11455 if { (eval echo configure:11457: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11465 if { (eval echo configure:11466: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11456 rm -rf conftest* | 11466 rm -rf conftest* |
11457 eval "ac_cv_lib_$ac_lib_var=yes" | 11467 eval "ac_cv_lib_$ac_lib_var=yes" |
11458 else | 11468 else |
11459 echo "configure: failed program was:" >&5 | 11469 echo "configure: failed program was:" >&5 |
11460 cat conftest.$ac_ext >&5 | 11470 cat conftest.$ac_ext >&5 |
11485 | 11495 |
11486 canna_includes_found=no | 11496 canna_includes_found=no |
11487 if test "$with_canna" != "no"; then | 11497 if test "$with_canna" != "no"; then |
11488 ac_safe=`echo "canna/jrkanji.h" | sed 'y%./+-%__p_%'` | 11498 ac_safe=`echo "canna/jrkanji.h" | sed 'y%./+-%__p_%'` |
11489 echo $ac_n "checking for canna/jrkanji.h""... $ac_c" 1>&6 | 11499 echo $ac_n "checking for canna/jrkanji.h""... $ac_c" 1>&6 |
11490 echo "configure:11492: checking for canna/jrkanji.h" >&5 | 11500 echo "configure:11501: checking for canna/jrkanji.h" >&5 |
11491 | 11501 |
11492 cat > conftest.$ac_ext <<EOF | 11502 cat > conftest.$ac_ext <<EOF |
11493 #line 11495 "configure" | 11503 #line 11504 "configure" |
11494 #include "confdefs.h" | 11504 #include "confdefs.h" |
11495 #include <canna/jrkanji.h> | 11505 #include <canna/jrkanji.h> |
11496 EOF | 11506 EOF |
11497 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 11507 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
11498 { (eval echo configure:11500: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 11508 { (eval echo configure:11509: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
11499 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 11509 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
11500 if test -z "$ac_err"; then | 11510 if test -z "$ac_err"; then |
11501 rm -rf conftest* | 11511 rm -rf conftest* |
11502 eval "ac_cv_header_$ac_safe=yes" | 11512 eval "ac_cv_header_$ac_safe=yes" |
11503 else | 11513 else |
11520 -d "/usr/local/canna/include"; then | 11530 -d "/usr/local/canna/include"; then |
11521 save_c_switch_site="$c_switch_site" | 11531 save_c_switch_site="$c_switch_site" |
11522 c_switch_site="$c_switch_site -I/usr/local/canna/include" | 11532 c_switch_site="$c_switch_site -I/usr/local/canna/include" |
11523 ac_safe=`echo "canna/jrkanji.h" | sed 'y%./+-%__p_%'` | 11533 ac_safe=`echo "canna/jrkanji.h" | sed 'y%./+-%__p_%'` |
11524 echo $ac_n "checking for canna/jrkanji.h""... $ac_c" 1>&6 | 11534 echo $ac_n "checking for canna/jrkanji.h""... $ac_c" 1>&6 |
11525 echo "configure:11527: checking for canna/jrkanji.h" >&5 | 11535 echo "configure:11536: checking for canna/jrkanji.h" >&5 |
11526 | 11536 |
11527 cat > conftest.$ac_ext <<EOF | 11537 cat > conftest.$ac_ext <<EOF |
11528 #line 11530 "configure" | 11538 #line 11539 "configure" |
11529 #include "confdefs.h" | 11539 #include "confdefs.h" |
11530 #include <canna/jrkanji.h> | 11540 #include <canna/jrkanji.h> |
11531 EOF | 11541 EOF |
11532 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 11542 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
11533 { (eval echo configure:11535: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 11543 { (eval echo configure:11544: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
11534 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 11544 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
11535 if test -z "$ac_err"; then | 11545 if test -z "$ac_err"; then |
11536 rm -rf conftest* | 11546 rm -rf conftest* |
11537 eval "ac_cv_header_$ac_safe=yes" | 11547 eval "ac_cv_header_$ac_safe=yes" |
11538 else | 11548 else |
11556 fi | 11566 fi |
11557 fi | 11567 fi |
11558 | 11568 |
11559 test -z "$with_canna" && { ac_safe=`echo "canna/RK.h" | sed 'y%./+-%__p_%'` | 11569 test -z "$with_canna" && { ac_safe=`echo "canna/RK.h" | sed 'y%./+-%__p_%'` |
11560 echo $ac_n "checking for canna/RK.h""... $ac_c" 1>&6 | 11570 echo $ac_n "checking for canna/RK.h""... $ac_c" 1>&6 |
11561 echo "configure:11563: checking for canna/RK.h" >&5 | 11571 echo "configure:11572: checking for canna/RK.h" >&5 |
11562 | 11572 |
11563 cat > conftest.$ac_ext <<EOF | 11573 cat > conftest.$ac_ext <<EOF |
11564 #line 11566 "configure" | 11574 #line 11575 "configure" |
11565 #include "confdefs.h" | 11575 #include "confdefs.h" |
11566 #include <canna/RK.h> | 11576 #include <canna/RK.h> |
11567 EOF | 11577 EOF |
11568 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 11578 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
11569 { (eval echo configure:11571: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 11579 { (eval echo configure:11580: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
11570 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 11580 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
11571 if test -z "$ac_err"; then | 11581 if test -z "$ac_err"; then |
11572 rm -rf conftest* | 11582 rm -rf conftest* |
11573 eval "ac_cv_header_$ac_safe=yes" | 11583 eval "ac_cv_header_$ac_safe=yes" |
11574 else | 11584 else |
11587 with_canna=no | 11597 with_canna=no |
11588 fi | 11598 fi |
11589 } | 11599 } |
11590 test -z "$with_canna" && { | 11600 test -z "$with_canna" && { |
11591 echo $ac_n "checking for RkBgnBun in -lRKC""... $ac_c" 1>&6 | 11601 echo $ac_n "checking for RkBgnBun in -lRKC""... $ac_c" 1>&6 |
11592 echo "configure:11594: checking for RkBgnBun in -lRKC" >&5 | 11602 echo "configure:11603: checking for RkBgnBun in -lRKC" >&5 |
11593 ac_lib_var=`echo RKC'_'RkBgnBun | sed 'y%./+-%__p_%'` | 11603 ac_lib_var=`echo RKC'_'RkBgnBun | sed 'y%./+-%__p_%'` |
11594 | 11604 |
11595 xe_check_libs=" -lRKC " | 11605 xe_check_libs=" -lRKC " |
11596 cat > conftest.$ac_ext <<EOF | 11606 cat > conftest.$ac_ext <<EOF |
11597 #line 11599 "configure" | 11607 #line 11608 "configure" |
11598 #include "confdefs.h" | 11608 #include "confdefs.h" |
11599 /* Override any gcc2 internal prototype to avoid an error. */ | 11609 /* Override any gcc2 internal prototype to avoid an error. */ |
11600 /* We use char because int might match the return type of a gcc2 | 11610 /* We use char because int might match the return type of a gcc2 |
11601 builtin and then its argument prototype would still apply. */ | 11611 builtin and then its argument prototype would still apply. */ |
11602 char RkBgnBun(); | 11612 char RkBgnBun(); |
11603 | 11613 |
11604 int main() { | 11614 int main() { |
11605 RkBgnBun() | 11615 RkBgnBun() |
11606 ; return 0; } | 11616 ; return 0; } |
11607 EOF | 11617 EOF |
11608 if { (eval echo configure:11610: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11618 if { (eval echo configure:11619: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11609 rm -rf conftest* | 11619 rm -rf conftest* |
11610 eval "ac_cv_lib_$ac_lib_var=yes" | 11620 eval "ac_cv_lib_$ac_lib_var=yes" |
11611 else | 11621 else |
11612 echo "configure: failed program was:" >&5 | 11622 echo "configure: failed program was:" >&5 |
11613 cat conftest.$ac_ext >&5 | 11623 cat conftest.$ac_ext >&5 |
11626 fi | 11636 fi |
11627 | 11637 |
11628 } | 11638 } |
11629 test -z "$with_canna" && { | 11639 test -z "$with_canna" && { |
11630 echo $ac_n "checking for jrKanjiControl in -lcanna""... $ac_c" 1>&6 | 11640 echo $ac_n "checking for jrKanjiControl in -lcanna""... $ac_c" 1>&6 |
11631 echo "configure:11633: checking for jrKanjiControl in -lcanna" >&5 | 11641 echo "configure:11642: checking for jrKanjiControl in -lcanna" >&5 |
11632 ac_lib_var=`echo canna'_'jrKanjiControl | sed 'y%./+-%__p_%'` | 11642 ac_lib_var=`echo canna'_'jrKanjiControl | sed 'y%./+-%__p_%'` |
11633 | 11643 |
11634 xe_check_libs=" -lcanna " | 11644 xe_check_libs=" -lcanna " |
11635 cat > conftest.$ac_ext <<EOF | 11645 cat > conftest.$ac_ext <<EOF |
11636 #line 11638 "configure" | 11646 #line 11647 "configure" |
11637 #include "confdefs.h" | 11647 #include "confdefs.h" |
11638 /* Override any gcc2 internal prototype to avoid an error. */ | 11648 /* Override any gcc2 internal prototype to avoid an error. */ |
11639 /* We use char because int might match the return type of a gcc2 | 11649 /* We use char because int might match the return type of a gcc2 |
11640 builtin and then its argument prototype would still apply. */ | 11650 builtin and then its argument prototype would still apply. */ |
11641 char jrKanjiControl(); | 11651 char jrKanjiControl(); |
11642 | 11652 |
11643 int main() { | 11653 int main() { |
11644 jrKanjiControl() | 11654 jrKanjiControl() |
11645 ; return 0; } | 11655 ; return 0; } |
11646 EOF | 11656 EOF |
11647 if { (eval echo configure:11649: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11657 if { (eval echo configure:11658: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11648 rm -rf conftest* | 11658 rm -rf conftest* |
11649 eval "ac_cv_lib_$ac_lib_var=yes" | 11659 eval "ac_cv_lib_$ac_lib_var=yes" |
11650 else | 11660 else |
11651 echo "configure: failed program was:" >&5 | 11661 echo "configure: failed program was:" >&5 |
11652 cat conftest.$ac_ext >&5 | 11662 cat conftest.$ac_ext >&5 |
11688 | 11698 |
11689 if test "$need_motif" = "yes" ; then | 11699 if test "$need_motif" = "yes" ; then |
11690 libs_x="-lXm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXm\" to \$libs_x"; fi | 11700 libs_x="-lXm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXm\" to \$libs_x"; fi |
11691 | 11701 |
11692 echo $ac_n "checking for layout_object_getvalue in -li18n""... $ac_c" 1>&6 | 11702 echo $ac_n "checking for layout_object_getvalue in -li18n""... $ac_c" 1>&6 |
11693 echo "configure:11695: checking for layout_object_getvalue in -li18n" >&5 | 11703 echo "configure:11704: checking for layout_object_getvalue in -li18n" >&5 |
11694 ac_lib_var=`echo i18n'_'layout_object_getvalue | sed 'y%./+-%__p_%'` | 11704 ac_lib_var=`echo i18n'_'layout_object_getvalue | sed 'y%./+-%__p_%'` |
11695 | 11705 |
11696 xe_check_libs=" -li18n " | 11706 xe_check_libs=" -li18n " |
11697 cat > conftest.$ac_ext <<EOF | 11707 cat > conftest.$ac_ext <<EOF |
11698 #line 11700 "configure" | 11708 #line 11709 "configure" |
11699 #include "confdefs.h" | 11709 #include "confdefs.h" |
11700 /* Override any gcc2 internal prototype to avoid an error. */ | 11710 /* Override any gcc2 internal prototype to avoid an error. */ |
11701 /* We use char because int might match the return type of a gcc2 | 11711 /* We use char because int might match the return type of a gcc2 |
11702 builtin and then its argument prototype would still apply. */ | 11712 builtin and then its argument prototype would still apply. */ |
11703 char layout_object_getvalue(); | 11713 char layout_object_getvalue(); |
11704 | 11714 |
11705 int main() { | 11715 int main() { |
11706 layout_object_getvalue() | 11716 layout_object_getvalue() |
11707 ; return 0; } | 11717 ; return 0; } |
11708 EOF | 11718 EOF |
11709 if { (eval echo configure:11711: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11719 if { (eval echo configure:11720: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11710 rm -rf conftest* | 11720 rm -rf conftest* |
11711 eval "ac_cv_lib_$ac_lib_var=yes" | 11721 eval "ac_cv_lib_$ac_lib_var=yes" |
11712 else | 11722 else |
11713 echo "configure: failed program was:" >&5 | 11723 echo "configure: failed program was:" >&5 |
11714 cat conftest.$ac_ext >&5 | 11724 cat conftest.$ac_ext >&5 |
11791 | 11801 |
11792 | 11802 |
11793 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 | 11803 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 |
11794 do | 11804 do |
11795 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 11805 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
11796 echo "configure:11798: checking for $ac_func" >&5 | 11806 echo "configure:11807: checking for $ac_func" >&5 |
11797 | 11807 |
11798 cat > conftest.$ac_ext <<EOF | 11808 cat > conftest.$ac_ext <<EOF |
11799 #line 11801 "configure" | 11809 #line 11810 "configure" |
11800 #include "confdefs.h" | 11810 #include "confdefs.h" |
11801 /* System header to define __stub macros and hopefully few prototypes, | 11811 /* System header to define __stub macros and hopefully few prototypes, |
11802 which can conflict with char $ac_func(); below. */ | 11812 which can conflict with char $ac_func(); below. */ |
11803 #include <assert.h> | 11813 #include <assert.h> |
11804 /* Override any gcc2 internal prototype to avoid an error. */ | 11814 /* Override any gcc2 internal prototype to avoid an error. */ |
11817 $ac_func(); | 11827 $ac_func(); |
11818 #endif | 11828 #endif |
11819 | 11829 |
11820 ; return 0; } | 11830 ; return 0; } |
11821 EOF | 11831 EOF |
11822 if { (eval echo configure:11824: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11832 if { (eval echo configure:11833: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11823 rm -rf conftest* | 11833 rm -rf conftest* |
11824 eval "ac_cv_func_$ac_func=yes" | 11834 eval "ac_cv_func_$ac_func=yes" |
11825 else | 11835 else |
11826 echo "configure: failed program was:" >&5 | 11836 echo "configure: failed program was:" >&5 |
11827 cat conftest.$ac_ext >&5 | 11837 cat conftest.$ac_ext >&5 |
11858 | 11868 |
11859 | 11869 |
11860 for ac_func in getpt _getpty grantpt unlockpt ptsname killpg tcgetpgrp | 11870 for ac_func in getpt _getpty grantpt unlockpt ptsname killpg tcgetpgrp |
11861 do | 11871 do |
11862 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 11872 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
11863 echo "configure:11865: checking for $ac_func" >&5 | 11873 echo "configure:11874: checking for $ac_func" >&5 |
11864 | 11874 |
11865 cat > conftest.$ac_ext <<EOF | 11875 cat > conftest.$ac_ext <<EOF |
11866 #line 11868 "configure" | 11876 #line 11877 "configure" |
11867 #include "confdefs.h" | 11877 #include "confdefs.h" |
11868 /* System header to define __stub macros and hopefully few prototypes, | 11878 /* System header to define __stub macros and hopefully few prototypes, |
11869 which can conflict with char $ac_func(); below. */ | 11879 which can conflict with char $ac_func(); below. */ |
11870 #include <assert.h> | 11880 #include <assert.h> |
11871 /* Override any gcc2 internal prototype to avoid an error. */ | 11881 /* Override any gcc2 internal prototype to avoid an error. */ |
11884 $ac_func(); | 11894 $ac_func(); |
11885 #endif | 11895 #endif |
11886 | 11896 |
11887 ; return 0; } | 11897 ; return 0; } |
11888 EOF | 11898 EOF |
11889 if { (eval echo configure:11891: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11899 if { (eval echo configure:11900: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11890 rm -rf conftest* | 11900 rm -rf conftest* |
11891 eval "ac_cv_func_$ac_func=yes" | 11901 eval "ac_cv_func_$ac_func=yes" |
11892 else | 11902 else |
11893 echo "configure: failed program was:" >&5 | 11903 echo "configure: failed program was:" >&5 |
11894 cat conftest.$ac_ext >&5 | 11904 cat conftest.$ac_ext >&5 |
11913 fi | 11923 fi |
11914 done | 11924 done |
11915 | 11925 |
11916 | 11926 |
11917 echo $ac_n "checking for openpty""... $ac_c" 1>&6 | 11927 echo $ac_n "checking for openpty""... $ac_c" 1>&6 |
11918 echo "configure:11920: checking for openpty" >&5 | 11928 echo "configure:11929: checking for openpty" >&5 |
11919 | 11929 |
11920 cat > conftest.$ac_ext <<EOF | 11930 cat > conftest.$ac_ext <<EOF |
11921 #line 11923 "configure" | 11931 #line 11932 "configure" |
11922 #include "confdefs.h" | 11932 #include "confdefs.h" |
11923 /* System header to define __stub macros and hopefully few prototypes, | 11933 /* System header to define __stub macros and hopefully few prototypes, |
11924 which can conflict with char openpty(); below. */ | 11934 which can conflict with char openpty(); below. */ |
11925 #include <assert.h> | 11935 #include <assert.h> |
11926 /* Override any gcc2 internal prototype to avoid an error. */ | 11936 /* Override any gcc2 internal prototype to avoid an error. */ |
11939 openpty(); | 11949 openpty(); |
11940 #endif | 11950 #endif |
11941 | 11951 |
11942 ; return 0; } | 11952 ; return 0; } |
11943 EOF | 11953 EOF |
11944 if { (eval echo configure:11946: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11954 if { (eval echo configure:11955: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11945 rm -rf conftest* | 11955 rm -rf conftest* |
11946 eval "ac_cv_func_openpty=yes" | 11956 eval "ac_cv_func_openpty=yes" |
11947 else | 11957 else |
11948 echo "configure: failed program was:" >&5 | 11958 echo "configure: failed program was:" >&5 |
11949 cat conftest.$ac_ext >&5 | 11959 cat conftest.$ac_ext >&5 |
11958 else | 11968 else |
11959 echo "$ac_t""no" 1>&6 | 11969 echo "$ac_t""no" 1>&6 |
11960 | 11970 |
11961 | 11971 |
11962 echo $ac_n "checking for openpty in -lutil""... $ac_c" 1>&6 | 11972 echo $ac_n "checking for openpty in -lutil""... $ac_c" 1>&6 |
11963 echo "configure:11965: checking for openpty in -lutil" >&5 | 11973 echo "configure:11974: checking for openpty in -lutil" >&5 |
11964 ac_lib_var=`echo util'_'openpty | sed 'y%./+-%__p_%'` | 11974 ac_lib_var=`echo util'_'openpty | sed 'y%./+-%__p_%'` |
11965 | 11975 |
11966 xe_check_libs=" -lutil " | 11976 xe_check_libs=" -lutil " |
11967 cat > conftest.$ac_ext <<EOF | 11977 cat > conftest.$ac_ext <<EOF |
11968 #line 11970 "configure" | 11978 #line 11979 "configure" |
11969 #include "confdefs.h" | 11979 #include "confdefs.h" |
11970 /* Override any gcc2 internal prototype to avoid an error. */ | 11980 /* Override any gcc2 internal prototype to avoid an error. */ |
11971 /* We use char because int might match the return type of a gcc2 | 11981 /* We use char because int might match the return type of a gcc2 |
11972 builtin and then its argument prototype would still apply. */ | 11982 builtin and then its argument prototype would still apply. */ |
11973 char openpty(); | 11983 char openpty(); |
11974 | 11984 |
11975 int main() { | 11985 int main() { |
11976 openpty() | 11986 openpty() |
11977 ; return 0; } | 11987 ; return 0; } |
11978 EOF | 11988 EOF |
11979 if { (eval echo configure:11981: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11989 if { (eval echo configure:11990: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11980 rm -rf conftest* | 11990 rm -rf conftest* |
11981 eval "ac_cv_lib_$ac_lib_var=yes" | 11991 eval "ac_cv_lib_$ac_lib_var=yes" |
11982 else | 11992 else |
11983 echo "configure: failed program was:" >&5 | 11993 echo "configure: failed program was:" >&5 |
11984 cat conftest.$ac_ext >&5 | 11994 cat conftest.$ac_ext >&5 |
12009 | 12019 |
12010 for ac_hdr in libutil.h util.h | 12020 for ac_hdr in libutil.h util.h |
12011 do | 12021 do |
12012 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 12022 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
12013 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 12023 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
12014 echo "configure:12016: checking for $ac_hdr" >&5 | 12024 echo "configure:12025: checking for $ac_hdr" >&5 |
12015 | 12025 |
12016 cat > conftest.$ac_ext <<EOF | 12026 cat > conftest.$ac_ext <<EOF |
12017 #line 12019 "configure" | 12027 #line 12028 "configure" |
12018 #include "confdefs.h" | 12028 #include "confdefs.h" |
12019 #include <$ac_hdr> | 12029 #include <$ac_hdr> |
12020 EOF | 12030 EOF |
12021 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12031 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
12022 { (eval echo configure:12024: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12032 { (eval echo configure:12033: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
12023 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12033 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
12024 if test -z "$ac_err"; then | 12034 if test -z "$ac_err"; then |
12025 rm -rf conftest* | 12035 rm -rf conftest* |
12026 eval "ac_cv_header_$ac_safe=yes" | 12036 eval "ac_cv_header_$ac_safe=yes" |
12027 else | 12037 else |
12054 case "$opsys" in | 12064 case "$opsys" in |
12055 hpux*) for ac_hdr in sys/ptyio.h | 12065 hpux*) for ac_hdr in sys/ptyio.h |
12056 do | 12066 do |
12057 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 12067 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
12058 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 12068 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
12059 echo "configure:12061: checking for $ac_hdr" >&5 | 12069 echo "configure:12070: checking for $ac_hdr" >&5 |
12060 | 12070 |
12061 cat > conftest.$ac_ext <<EOF | 12071 cat > conftest.$ac_ext <<EOF |
12062 #line 12064 "configure" | 12072 #line 12073 "configure" |
12063 #include "confdefs.h" | 12073 #include "confdefs.h" |
12064 #include <$ac_hdr> | 12074 #include <$ac_hdr> |
12065 EOF | 12075 EOF |
12066 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12076 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
12067 { (eval echo configure:12069: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12077 { (eval echo configure:12078: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
12068 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12078 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
12069 if test -z "$ac_err"; then | 12079 if test -z "$ac_err"; then |
12070 rm -rf conftest* | 12080 rm -rf conftest* |
12071 eval "ac_cv_header_$ac_safe=yes" | 12081 eval "ac_cv_header_$ac_safe=yes" |
12072 else | 12082 else |
12095 ;; | 12105 ;; |
12096 *) for ac_hdr in pty.h | 12106 *) for ac_hdr in pty.h |
12097 do | 12107 do |
12098 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 12108 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
12099 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 12109 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
12100 echo "configure:12102: checking for $ac_hdr" >&5 | 12110 echo "configure:12111: checking for $ac_hdr" >&5 |
12101 | 12111 |
12102 cat > conftest.$ac_ext <<EOF | 12112 cat > conftest.$ac_ext <<EOF |
12103 #line 12105 "configure" | 12113 #line 12114 "configure" |
12104 #include "confdefs.h" | 12114 #include "confdefs.h" |
12105 #include <$ac_hdr> | 12115 #include <$ac_hdr> |
12106 EOF | 12116 EOF |
12107 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12117 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
12108 { (eval echo configure:12110: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12118 { (eval echo configure:12119: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
12109 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12119 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
12110 if test -z "$ac_err"; then | 12120 if test -z "$ac_err"; then |
12111 rm -rf conftest* | 12121 rm -rf conftest* |
12112 eval "ac_cv_header_$ac_safe=yes" | 12122 eval "ac_cv_header_$ac_safe=yes" |
12113 else | 12123 else |
12136 | 12146 |
12137 test "$ac_cv_header_pty_h" = "no" && for ac_hdr in sys/pty.h | 12147 test "$ac_cv_header_pty_h" = "no" && for ac_hdr in sys/pty.h |
12138 do | 12148 do |
12139 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 12149 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
12140 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 12150 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
12141 echo "configure:12143: checking for $ac_hdr" >&5 | 12151 echo "configure:12152: checking for $ac_hdr" >&5 |
12142 | 12152 |
12143 cat > conftest.$ac_ext <<EOF | 12153 cat > conftest.$ac_ext <<EOF |
12144 #line 12146 "configure" | 12154 #line 12155 "configure" |
12145 #include "confdefs.h" | 12155 #include "confdefs.h" |
12146 #include <$ac_hdr> | 12156 #include <$ac_hdr> |
12147 EOF | 12157 EOF |
12148 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12158 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
12149 { (eval echo configure:12151: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12159 { (eval echo configure:12160: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
12150 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12160 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
12151 if test -z "$ac_err"; then | 12161 if test -z "$ac_err"; then |
12152 rm -rf conftest* | 12162 rm -rf conftest* |
12153 eval "ac_cv_header_$ac_safe=yes" | 12163 eval "ac_cv_header_$ac_safe=yes" |
12154 else | 12164 else |
12180 | 12190 |
12181 for ac_hdr in stropts.h | 12191 for ac_hdr in stropts.h |
12182 do | 12192 do |
12183 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 12193 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
12184 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 12194 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
12185 echo "configure:12187: checking for $ac_hdr" >&5 | 12195 echo "configure:12196: checking for $ac_hdr" >&5 |
12186 | 12196 |
12187 cat > conftest.$ac_ext <<EOF | 12197 cat > conftest.$ac_ext <<EOF |
12188 #line 12190 "configure" | 12198 #line 12199 "configure" |
12189 #include "confdefs.h" | 12199 #include "confdefs.h" |
12190 #include <$ac_hdr> | 12200 #include <$ac_hdr> |
12191 EOF | 12201 EOF |
12192 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12202 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
12193 { (eval echo configure:12195: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12203 { (eval echo configure:12204: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
12194 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12204 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
12195 if test -z "$ac_err"; then | 12205 if test -z "$ac_err"; then |
12196 rm -rf conftest* | 12206 rm -rf conftest* |
12197 eval "ac_cv_header_$ac_safe=yes" | 12207 eval "ac_cv_header_$ac_safe=yes" |
12198 else | 12208 else |
12221 | 12231 |
12222 if test "$ac_cv_header_stropts_h" = "yes"; then | 12232 if test "$ac_cv_header_stropts_h" = "yes"; then |
12223 for ac_func in isastream | 12233 for ac_func in isastream |
12224 do | 12234 do |
12225 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 12235 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
12226 echo "configure:12228: checking for $ac_func" >&5 | 12236 echo "configure:12237: checking for $ac_func" >&5 |
12227 | 12237 |
12228 cat > conftest.$ac_ext <<EOF | 12238 cat > conftest.$ac_ext <<EOF |
12229 #line 12231 "configure" | 12239 #line 12240 "configure" |
12230 #include "confdefs.h" | 12240 #include "confdefs.h" |
12231 /* System header to define __stub macros and hopefully few prototypes, | 12241 /* System header to define __stub macros and hopefully few prototypes, |
12232 which can conflict with char $ac_func(); below. */ | 12242 which can conflict with char $ac_func(); below. */ |
12233 #include <assert.h> | 12243 #include <assert.h> |
12234 /* Override any gcc2 internal prototype to avoid an error. */ | 12244 /* Override any gcc2 internal prototype to avoid an error. */ |
12247 $ac_func(); | 12257 $ac_func(); |
12248 #endif | 12258 #endif |
12249 | 12259 |
12250 ; return 0; } | 12260 ; return 0; } |
12251 EOF | 12261 EOF |
12252 if { (eval echo configure:12254: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12262 if { (eval echo configure:12263: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12253 rm -rf conftest* | 12263 rm -rf conftest* |
12254 eval "ac_cv_func_$ac_func=yes" | 12264 eval "ac_cv_func_$ac_func=yes" |
12255 else | 12265 else |
12256 echo "configure: failed program was:" >&5 | 12266 echo "configure: failed program was:" >&5 |
12257 cat conftest.$ac_ext >&5 | 12267 cat conftest.$ac_ext >&5 |
12278 | 12288 |
12279 for ac_hdr in strtio.h | 12289 for ac_hdr in strtio.h |
12280 do | 12290 do |
12281 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 12291 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
12282 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 12292 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
12283 echo "configure:12285: checking for $ac_hdr" >&5 | 12293 echo "configure:12294: checking for $ac_hdr" >&5 |
12284 | 12294 |
12285 cat > conftest.$ac_ext <<EOF | 12295 cat > conftest.$ac_ext <<EOF |
12286 #line 12288 "configure" | 12296 #line 12297 "configure" |
12287 #include "confdefs.h" | 12297 #include "confdefs.h" |
12288 #include <$ac_hdr> | 12298 #include <$ac_hdr> |
12289 EOF | 12299 EOF |
12290 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12300 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
12291 { (eval echo configure:12293: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12301 { (eval echo configure:12302: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
12292 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12302 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
12293 if test -z "$ac_err"; then | 12303 if test -z "$ac_err"; then |
12294 rm -rf conftest* | 12304 rm -rf conftest* |
12295 eval "ac_cv_header_$ac_safe=yes" | 12305 eval "ac_cv_header_$ac_safe=yes" |
12296 else | 12306 else |
12319 fi | 12329 fi |
12320 | 12330 |
12321 for ac_func in getloadavg | 12331 for ac_func in getloadavg |
12322 do | 12332 do |
12323 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 12333 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
12324 echo "configure:12326: checking for $ac_func" >&5 | 12334 echo "configure:12335: checking for $ac_func" >&5 |
12325 | 12335 |
12326 cat > conftest.$ac_ext <<EOF | 12336 cat > conftest.$ac_ext <<EOF |
12327 #line 12329 "configure" | 12337 #line 12338 "configure" |
12328 #include "confdefs.h" | 12338 #include "confdefs.h" |
12329 /* System header to define __stub macros and hopefully few prototypes, | 12339 /* System header to define __stub macros and hopefully few prototypes, |
12330 which can conflict with char $ac_func(); below. */ | 12340 which can conflict with char $ac_func(); below. */ |
12331 #include <assert.h> | 12341 #include <assert.h> |
12332 /* Override any gcc2 internal prototype to avoid an error. */ | 12342 /* Override any gcc2 internal prototype to avoid an error. */ |
12345 $ac_func(); | 12355 $ac_func(); |
12346 #endif | 12356 #endif |
12347 | 12357 |
12348 ; return 0; } | 12358 ; return 0; } |
12349 EOF | 12359 EOF |
12350 if { (eval echo configure:12352: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12360 if { (eval echo configure:12361: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12351 rm -rf conftest* | 12361 rm -rf conftest* |
12352 eval "ac_cv_func_$ac_func=yes" | 12362 eval "ac_cv_func_$ac_func=yes" |
12353 else | 12363 else |
12354 echo "configure: failed program was:" >&5 | 12364 echo "configure: failed program was:" >&5 |
12355 cat conftest.$ac_ext >&5 | 12365 cat conftest.$ac_ext >&5 |
12378 if test "$ac_cv_func_getloadavg" = "yes"; then | 12388 if test "$ac_cv_func_getloadavg" = "yes"; then |
12379 for ac_hdr in sys/loadavg.h | 12389 for ac_hdr in sys/loadavg.h |
12380 do | 12390 do |
12381 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 12391 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
12382 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 12392 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
12383 echo "configure:12385: checking for $ac_hdr" >&5 | 12393 echo "configure:12394: checking for $ac_hdr" >&5 |
12384 | 12394 |
12385 cat > conftest.$ac_ext <<EOF | 12395 cat > conftest.$ac_ext <<EOF |
12386 #line 12388 "configure" | 12396 #line 12397 "configure" |
12387 #include "confdefs.h" | 12397 #include "confdefs.h" |
12388 #include <$ac_hdr> | 12398 #include <$ac_hdr> |
12389 EOF | 12399 EOF |
12390 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12400 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
12391 { (eval echo configure:12393: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12401 { (eval echo configure:12402: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
12392 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12402 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
12393 if test -z "$ac_err"; then | 12403 if test -z "$ac_err"; then |
12394 rm -rf conftest* | 12404 rm -rf conftest* |
12395 eval "ac_cv_header_$ac_safe=yes" | 12405 eval "ac_cv_header_$ac_safe=yes" |
12396 else | 12406 else |
12422 echo " xemacs will be linked with \"getloadavg.o\"" | 12432 echo " xemacs will be linked with \"getloadavg.o\"" |
12423 fi | 12433 fi |
12424 | 12434 |
12425 | 12435 |
12426 echo $ac_n "checking for kstat_open in -lkstat""... $ac_c" 1>&6 | 12436 echo $ac_n "checking for kstat_open in -lkstat""... $ac_c" 1>&6 |
12427 echo "configure:12429: checking for kstat_open in -lkstat" >&5 | 12437 echo "configure:12438: checking for kstat_open in -lkstat" >&5 |
12428 ac_lib_var=`echo kstat'_'kstat_open | sed 'y%./+-%__p_%'` | 12438 ac_lib_var=`echo kstat'_'kstat_open | sed 'y%./+-%__p_%'` |
12429 | 12439 |
12430 xe_check_libs=" -lkstat " | 12440 xe_check_libs=" -lkstat " |
12431 cat > conftest.$ac_ext <<EOF | 12441 cat > conftest.$ac_ext <<EOF |
12432 #line 12434 "configure" | 12442 #line 12443 "configure" |
12433 #include "confdefs.h" | 12443 #include "confdefs.h" |
12434 /* Override any gcc2 internal prototype to avoid an error. */ | 12444 /* Override any gcc2 internal prototype to avoid an error. */ |
12435 /* We use char because int might match the return type of a gcc2 | 12445 /* We use char because int might match the return type of a gcc2 |
12436 builtin and then its argument prototype would still apply. */ | 12446 builtin and then its argument prototype would still apply. */ |
12437 char kstat_open(); | 12447 char kstat_open(); |
12438 | 12448 |
12439 int main() { | 12449 int main() { |
12440 kstat_open() | 12450 kstat_open() |
12441 ; return 0; } | 12451 ; return 0; } |
12442 EOF | 12452 EOF |
12443 if { (eval echo configure:12445: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12453 if { (eval echo configure:12454: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12444 rm -rf conftest* | 12454 rm -rf conftest* |
12445 eval "ac_cv_lib_$ac_lib_var=yes" | 12455 eval "ac_cv_lib_$ac_lib_var=yes" |
12446 else | 12456 else |
12447 echo "configure: failed program was:" >&5 | 12457 echo "configure: failed program was:" >&5 |
12448 cat conftest.$ac_ext >&5 | 12458 cat conftest.$ac_ext >&5 |
12473 | 12483 |
12474 for ac_hdr in kstat.h | 12484 for ac_hdr in kstat.h |
12475 do | 12485 do |
12476 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 12486 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
12477 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 12487 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
12478 echo "configure:12480: checking for $ac_hdr" >&5 | 12488 echo "configure:12489: checking for $ac_hdr" >&5 |
12479 | 12489 |
12480 cat > conftest.$ac_ext <<EOF | 12490 cat > conftest.$ac_ext <<EOF |
12481 #line 12483 "configure" | 12491 #line 12492 "configure" |
12482 #include "confdefs.h" | 12492 #include "confdefs.h" |
12483 #include <$ac_hdr> | 12493 #include <$ac_hdr> |
12484 EOF | 12494 EOF |
12485 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12495 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
12486 { (eval echo configure:12488: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12496 { (eval echo configure:12497: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
12487 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12497 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
12488 if test -z "$ac_err"; then | 12498 if test -z "$ac_err"; then |
12489 rm -rf conftest* | 12499 rm -rf conftest* |
12490 eval "ac_cv_header_$ac_safe=yes" | 12500 eval "ac_cv_header_$ac_safe=yes" |
12491 else | 12501 else |
12513 done | 12523 done |
12514 | 12524 |
12515 | 12525 |
12516 | 12526 |
12517 echo $ac_n "checking for kvm_read in -lkvm""... $ac_c" 1>&6 | 12527 echo $ac_n "checking for kvm_read in -lkvm""... $ac_c" 1>&6 |
12518 echo "configure:12520: checking for kvm_read in -lkvm" >&5 | 12528 echo "configure:12529: checking for kvm_read in -lkvm" >&5 |
12519 ac_lib_var=`echo kvm'_'kvm_read | sed 'y%./+-%__p_%'` | 12529 ac_lib_var=`echo kvm'_'kvm_read | sed 'y%./+-%__p_%'` |
12520 | 12530 |
12521 xe_check_libs=" -lkvm " | 12531 xe_check_libs=" -lkvm " |
12522 cat > conftest.$ac_ext <<EOF | 12532 cat > conftest.$ac_ext <<EOF |
12523 #line 12525 "configure" | 12533 #line 12534 "configure" |
12524 #include "confdefs.h" | 12534 #include "confdefs.h" |
12525 /* Override any gcc2 internal prototype to avoid an error. */ | 12535 /* Override any gcc2 internal prototype to avoid an error. */ |
12526 /* We use char because int might match the return type of a gcc2 | 12536 /* We use char because int might match the return type of a gcc2 |
12527 builtin and then its argument prototype would still apply. */ | 12537 builtin and then its argument prototype would still apply. */ |
12528 char kvm_read(); | 12538 char kvm_read(); |
12529 | 12539 |
12530 int main() { | 12540 int main() { |
12531 kvm_read() | 12541 kvm_read() |
12532 ; return 0; } | 12542 ; return 0; } |
12533 EOF | 12543 EOF |
12534 if { (eval echo configure:12536: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12544 if { (eval echo configure:12545: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12535 rm -rf conftest* | 12545 rm -rf conftest* |
12536 eval "ac_cv_lib_$ac_lib_var=yes" | 12546 eval "ac_cv_lib_$ac_lib_var=yes" |
12537 else | 12547 else |
12538 echo "configure: failed program was:" >&5 | 12548 echo "configure: failed program was:" >&5 |
12539 cat conftest.$ac_ext >&5 | 12549 cat conftest.$ac_ext >&5 |
12563 | 12573 |
12564 | 12574 |
12565 fi | 12575 fi |
12566 | 12576 |
12567 echo $ac_n "checking whether netdb declares h_errno""... $ac_c" 1>&6 | 12577 echo $ac_n "checking whether netdb declares h_errno""... $ac_c" 1>&6 |
12568 echo "configure:12570: checking whether netdb declares h_errno" >&5 | 12578 echo "configure:12579: checking whether netdb declares h_errno" >&5 |
12569 cat > conftest.$ac_ext <<EOF | 12579 cat > conftest.$ac_ext <<EOF |
12570 #line 12572 "configure" | 12580 #line 12581 "configure" |
12571 #include "confdefs.h" | 12581 #include "confdefs.h" |
12572 #include <netdb.h> | 12582 #include <netdb.h> |
12573 int main() { | 12583 int main() { |
12574 return h_errno; | 12584 return h_errno; |
12575 ; return 0; } | 12585 ; return 0; } |
12576 EOF | 12586 EOF |
12577 if { (eval echo configure:12579: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12587 if { (eval echo configure:12588: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12578 rm -rf conftest* | 12588 rm -rf conftest* |
12579 echo "$ac_t""yes" 1>&6 | 12589 echo "$ac_t""yes" 1>&6 |
12580 { test "$extra_verbose" = "yes" && cat << \EOF | 12590 { test "$extra_verbose" = "yes" && cat << \EOF |
12581 Defining HAVE_H_ERRNO | 12591 Defining HAVE_H_ERRNO |
12582 EOF | 12592 EOF |
12592 echo "$ac_t""no" 1>&6 | 12602 echo "$ac_t""no" 1>&6 |
12593 fi | 12603 fi |
12594 rm -f conftest* | 12604 rm -f conftest* |
12595 | 12605 |
12596 echo $ac_n "checking for sigsetjmp""... $ac_c" 1>&6 | 12606 echo $ac_n "checking for sigsetjmp""... $ac_c" 1>&6 |
12597 echo "configure:12599: checking for sigsetjmp" >&5 | 12607 echo "configure:12608: checking for sigsetjmp" >&5 |
12598 cat > conftest.$ac_ext <<EOF | 12608 cat > conftest.$ac_ext <<EOF |
12599 #line 12601 "configure" | 12609 #line 12610 "configure" |
12600 #include "confdefs.h" | 12610 #include "confdefs.h" |
12601 #include <setjmp.h> | 12611 #include <setjmp.h> |
12602 int main() { | 12612 int main() { |
12603 sigjmp_buf bar; sigsetjmp (bar, 0); | 12613 sigjmp_buf bar; sigsetjmp (bar, 0); |
12604 ; return 0; } | 12614 ; return 0; } |
12605 EOF | 12615 EOF |
12606 if { (eval echo configure:12608: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 12616 if { (eval echo configure:12617: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
12607 rm -rf conftest* | 12617 rm -rf conftest* |
12608 echo "$ac_t""yes" 1>&6 | 12618 echo "$ac_t""yes" 1>&6 |
12609 { test "$extra_verbose" = "yes" && cat << \EOF | 12619 { test "$extra_verbose" = "yes" && cat << \EOF |
12610 Defining HAVE_SIGSETJMP | 12620 Defining HAVE_SIGSETJMP |
12611 EOF | 12621 EOF |
12621 echo "$ac_t""no" 1>&6 | 12631 echo "$ac_t""no" 1>&6 |
12622 fi | 12632 fi |
12623 rm -f conftest* | 12633 rm -f conftest* |
12624 | 12634 |
12625 echo $ac_n "checking whether localtime caches TZ""... $ac_c" 1>&6 | 12635 echo $ac_n "checking whether localtime caches TZ""... $ac_c" 1>&6 |
12626 echo "configure:12628: checking whether localtime caches TZ" >&5 | 12636 echo "configure:12637: checking whether localtime caches TZ" >&5 |
12627 | 12637 |
12628 if test "$ac_cv_func_tzset" = "yes"; then | 12638 if test "$ac_cv_func_tzset" = "yes"; then |
12629 cat > conftest.$ac_ext <<EOF | 12639 cat > conftest.$ac_ext <<EOF |
12630 #line 12632 "configure" | 12640 #line 12641 "configure" |
12631 #include "confdefs.h" | 12641 #include "confdefs.h" |
12632 #include <time.h> | 12642 #include <time.h> |
12633 #if STDC_HEADERS | 12643 #if STDC_HEADERS |
12634 # include <stdlib.h> | 12644 # include <stdlib.h> |
12635 #endif | 12645 #endif |
12660 if (localtime (&now)->tm_hour != hour_unset) | 12670 if (localtime (&now)->tm_hour != hour_unset) |
12661 exit (1); | 12671 exit (1); |
12662 exit (0); | 12672 exit (0); |
12663 } | 12673 } |
12664 EOF | 12674 EOF |
12665 if { (eval echo configure:12667: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 12675 if { (eval echo configure:12676: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
12666 then | 12676 then |
12667 emacs_cv_localtime_cache=no | 12677 emacs_cv_localtime_cache=no |
12668 else | 12678 else |
12669 conftest_rc="$?" | 12679 conftest_rc="$?" |
12670 echo "configure: failed program was:" >&5 | 12680 echo "configure: failed program was:" >&5 |
12690 | 12700 |
12691 fi | 12701 fi |
12692 | 12702 |
12693 if test "$HAVE_TIMEVAL" = "yes"; then | 12703 if test "$HAVE_TIMEVAL" = "yes"; then |
12694 echo $ac_n "checking whether gettimeofday accepts one or two arguments""... $ac_c" 1>&6 | 12704 echo $ac_n "checking whether gettimeofday accepts one or two arguments""... $ac_c" 1>&6 |
12695 echo "configure:12697: checking whether gettimeofday accepts one or two arguments" >&5 | 12705 echo "configure:12706: checking whether gettimeofday accepts one or two arguments" >&5 |
12696 cat > conftest.$ac_ext <<EOF | 12706 cat > conftest.$ac_ext <<EOF |
12697 #line 12699 "configure" | 12707 #line 12708 "configure" |
12698 #include "confdefs.h" | 12708 #include "confdefs.h" |
12699 | 12709 |
12700 #ifdef TIME_WITH_SYS_TIME | 12710 #ifdef TIME_WITH_SYS_TIME |
12701 #include <sys/time.h> | 12711 #include <sys/time.h> |
12702 #include <time.h> | 12712 #include <time.h> |
12713 struct timeval time; | 12723 struct timeval time; |
12714 gettimeofday (&time, 0); | 12724 gettimeofday (&time, 0); |
12715 | 12725 |
12716 ; return 0; } | 12726 ; return 0; } |
12717 EOF | 12727 EOF |
12718 if { (eval echo configure:12720: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12728 if { (eval echo configure:12729: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12719 rm -rf conftest* | 12729 rm -rf conftest* |
12720 echo "$ac_t""two" 1>&6 | 12730 echo "$ac_t""two" 1>&6 |
12721 else | 12731 else |
12722 echo "configure: failed program was:" >&5 | 12732 echo "configure: failed program was:" >&5 |
12723 cat conftest.$ac_ext >&5 | 12733 cat conftest.$ac_ext >&5 |
12735 rm -f conftest* | 12745 rm -f conftest* |
12736 fi | 12746 fi |
12737 | 12747 |
12738 | 12748 |
12739 echo $ac_n "checking for inline""... $ac_c" 1>&6 | 12749 echo $ac_n "checking for inline""... $ac_c" 1>&6 |
12740 echo "configure:12742: checking for inline" >&5 | 12750 echo "configure:12751: checking for inline" >&5 |
12741 | 12751 |
12742 ac_cv_c_inline=no | 12752 ac_cv_c_inline=no |
12743 for ac_kw in inline __inline__ __inline; do | 12753 for ac_kw in inline __inline__ __inline; do |
12744 cat > conftest.$ac_ext <<EOF | 12754 cat > conftest.$ac_ext <<EOF |
12745 #line 12747 "configure" | 12755 #line 12756 "configure" |
12746 #include "confdefs.h" | 12756 #include "confdefs.h" |
12747 | 12757 |
12748 int main() { | 12758 int main() { |
12749 } $ac_kw foo() { | 12759 } $ac_kw foo() { |
12750 ; return 0; } | 12760 ; return 0; } |
12751 EOF | 12761 EOF |
12752 if { (eval echo configure:12754: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 12762 if { (eval echo configure:12763: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
12753 rm -rf conftest* | 12763 rm -rf conftest* |
12754 ac_cv_c_inline=$ac_kw; break | 12764 ac_cv_c_inline=$ac_kw; break |
12755 else | 12765 else |
12756 echo "configure: failed program was:" >&5 | 12766 echo "configure: failed program was:" >&5 |
12757 cat conftest.$ac_ext >&5 | 12767 cat conftest.$ac_ext >&5 |
12788 | 12798 |
12789 if test "$__DECC" != "yes"; then | 12799 if test "$__DECC" != "yes"; then |
12790 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works | 12800 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works |
12791 # for constant arguments. Useless! | 12801 # for constant arguments. Useless! |
12792 echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6 | 12802 echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6 |
12793 echo "configure:12795: checking for working alloca.h" >&5 | 12803 echo "configure:12804: checking for working alloca.h" >&5 |
12794 | 12804 |
12795 cat > conftest.$ac_ext <<EOF | 12805 cat > conftest.$ac_ext <<EOF |
12796 #line 12798 "configure" | 12806 #line 12807 "configure" |
12797 #include "confdefs.h" | 12807 #include "confdefs.h" |
12798 #include <alloca.h> | 12808 #include <alloca.h> |
12799 int main() { | 12809 int main() { |
12800 char *p = alloca(2 * sizeof(int)); | 12810 char *p = alloca(2 * sizeof(int)); |
12801 ; return 0; } | 12811 ; return 0; } |
12802 EOF | 12812 EOF |
12803 if { (eval echo configure:12805: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12813 if { (eval echo configure:12814: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12804 rm -rf conftest* | 12814 rm -rf conftest* |
12805 ac_cv_header_alloca_h=yes | 12815 ac_cv_header_alloca_h=yes |
12806 else | 12816 else |
12807 echo "configure: failed program was:" >&5 | 12817 echo "configure: failed program was:" >&5 |
12808 cat conftest.$ac_ext >&5 | 12818 cat conftest.$ac_ext >&5 |
12822 } | 12832 } |
12823 | 12833 |
12824 fi | 12834 fi |
12825 | 12835 |
12826 echo $ac_n "checking for alloca""... $ac_c" 1>&6 | 12836 echo $ac_n "checking for alloca""... $ac_c" 1>&6 |
12827 echo "configure:12829: checking for alloca" >&5 | 12837 echo "configure:12838: checking for alloca" >&5 |
12828 | 12838 |
12829 cat > conftest.$ac_ext <<EOF | 12839 cat > conftest.$ac_ext <<EOF |
12830 #line 12832 "configure" | 12840 #line 12841 "configure" |
12831 #include "confdefs.h" | 12841 #include "confdefs.h" |
12832 | 12842 |
12833 #ifdef __GNUC__ | 12843 #ifdef __GNUC__ |
12834 # define alloca __builtin_alloca | 12844 # define alloca __builtin_alloca |
12835 #else | 12845 #else |
12853 | 12863 |
12854 int main() { | 12864 int main() { |
12855 char *p = (char *) alloca(1); | 12865 char *p = (char *) alloca(1); |
12856 ; return 0; } | 12866 ; return 0; } |
12857 EOF | 12867 EOF |
12858 if { (eval echo configure:12860: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12868 if { (eval echo configure:12869: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12859 rm -rf conftest* | 12869 rm -rf conftest* |
12860 ac_cv_func_alloca_works=yes | 12870 ac_cv_func_alloca_works=yes |
12861 else | 12871 else |
12862 echo "configure: failed program was:" >&5 | 12872 echo "configure: failed program was:" >&5 |
12863 cat conftest.$ac_ext >&5 | 12873 cat conftest.$ac_ext >&5 |
12892 EOF | 12902 EOF |
12893 } | 12903 } |
12894 | 12904 |
12895 | 12905 |
12896 echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6 | 12906 echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6 |
12897 echo "configure:12899: checking whether alloca needs Cray hooks" >&5 | 12907 echo "configure:12908: checking whether alloca needs Cray hooks" >&5 |
12898 | 12908 |
12899 cat > conftest.$ac_ext <<EOF | 12909 cat > conftest.$ac_ext <<EOF |
12900 #line 12902 "configure" | 12910 #line 12911 "configure" |
12901 #include "confdefs.h" | 12911 #include "confdefs.h" |
12902 #if defined(CRAY) && ! defined(CRAY2) | 12912 #if defined(CRAY) && ! defined(CRAY2) |
12903 webecray | 12913 webecray |
12904 #else | 12914 #else |
12905 wenotbecray | 12915 wenotbecray |
12919 | 12929 |
12920 echo "$ac_t""$ac_cv_os_cray" 1>&6 | 12930 echo "$ac_t""$ac_cv_os_cray" 1>&6 |
12921 if test $ac_cv_os_cray = yes; then | 12931 if test $ac_cv_os_cray = yes; then |
12922 for ac_func in _getb67 GETB67 getb67; do | 12932 for ac_func in _getb67 GETB67 getb67; do |
12923 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 12933 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
12924 echo "configure:12926: checking for $ac_func" >&5 | 12934 echo "configure:12935: checking for $ac_func" >&5 |
12925 | 12935 |
12926 cat > conftest.$ac_ext <<EOF | 12936 cat > conftest.$ac_ext <<EOF |
12927 #line 12929 "configure" | 12937 #line 12938 "configure" |
12928 #include "confdefs.h" | 12938 #include "confdefs.h" |
12929 /* System header to define __stub macros and hopefully few prototypes, | 12939 /* System header to define __stub macros and hopefully few prototypes, |
12930 which can conflict with char $ac_func(); below. */ | 12940 which can conflict with char $ac_func(); below. */ |
12931 #include <assert.h> | 12941 #include <assert.h> |
12932 /* Override any gcc2 internal prototype to avoid an error. */ | 12942 /* Override any gcc2 internal prototype to avoid an error. */ |
12945 $ac_func(); | 12955 $ac_func(); |
12946 #endif | 12956 #endif |
12947 | 12957 |
12948 ; return 0; } | 12958 ; return 0; } |
12949 EOF | 12959 EOF |
12950 if { (eval echo configure:12952: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12960 if { (eval echo configure:12961: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12951 rm -rf conftest* | 12961 rm -rf conftest* |
12952 eval "ac_cv_func_$ac_func=yes" | 12962 eval "ac_cv_func_$ac_func=yes" |
12953 else | 12963 else |
12954 echo "configure: failed program was:" >&5 | 12964 echo "configure: failed program was:" >&5 |
12955 cat conftest.$ac_ext >&5 | 12965 cat conftest.$ac_ext >&5 |
12975 | 12985 |
12976 done | 12986 done |
12977 fi | 12987 fi |
12978 | 12988 |
12979 echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6 | 12989 echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6 |
12980 echo "configure:12982: checking stack direction for C alloca" >&5 | 12990 echo "configure:12991: checking stack direction for C alloca" >&5 |
12981 | 12991 |
12982 cat > conftest.$ac_ext <<EOF | 12992 cat > conftest.$ac_ext <<EOF |
12983 #line 12985 "configure" | 12993 #line 12994 "configure" |
12984 #include "confdefs.h" | 12994 #include "confdefs.h" |
12985 find_stack_direction () | 12995 find_stack_direction () |
12986 { | 12996 { |
12987 static char *addr = 0; | 12997 static char *addr = 0; |
12988 auto char dummy; | 12998 auto char dummy; |
12997 main () | 13007 main () |
12998 { | 13008 { |
12999 exit (find_stack_direction() < 0); | 13009 exit (find_stack_direction() < 0); |
13000 } | 13010 } |
13001 EOF | 13011 EOF |
13002 if { (eval echo configure:13004: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 13012 if { (eval echo configure:13013: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
13003 then | 13013 then |
13004 ac_cv_c_stack_direction=1 | 13014 ac_cv_c_stack_direction=1 |
13005 else | 13015 else |
13006 conftest_rc="$?" | 13016 conftest_rc="$?" |
13007 echo "configure: failed program was:" >&5 | 13017 echo "configure: failed program was:" >&5 |
13026 echo " xemacs will be linked with \"$ALLOCA\"" | 13036 echo " xemacs will be linked with \"$ALLOCA\"" |
13027 fi | 13037 fi |
13028 fi | 13038 fi |
13029 | 13039 |
13030 echo $ac_n "checking for working alloca in function calls""... $ac_c" 1>&6 | 13040 echo $ac_n "checking for working alloca in function calls""... $ac_c" 1>&6 |
13031 echo "configure:13033: checking for working alloca in function calls" >&5 | 13041 echo "configure:13042: checking for working alloca in function calls" >&5 |
13032 cat > conftest.$ac_ext <<EOF | 13042 cat > conftest.$ac_ext <<EOF |
13033 #line 13035 "configure" | 13043 #line 13044 "configure" |
13034 #include "confdefs.h" | 13044 #include "confdefs.h" |
13035 | 13045 |
13036 #if defined (__CYGWIN__) | 13046 #if defined (__CYGWIN__) |
13037 #include <alloca.h> | 13047 #include <alloca.h> |
13038 #elif defined (__GNUC__) | 13048 #elif defined (__GNUC__) |
13081 return 1; | 13091 return 1; |
13082 return 0; | 13092 return 0; |
13083 } | 13093 } |
13084 | 13094 |
13085 EOF | 13095 EOF |
13086 if { (eval echo configure:13088: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 13096 if { (eval echo configure:13097: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
13087 then | 13097 then |
13088 working_alloca_in_function_calls=yes | 13098 working_alloca_in_function_calls=yes |
13089 else | 13099 else |
13090 conftest_rc="$?" | 13100 conftest_rc="$?" |
13091 echo "configure: failed program was:" >&5 | 13101 echo "configure: failed program was:" >&5 |
13104 EOF | 13114 EOF |
13105 } | 13115 } |
13106 | 13116 |
13107 | 13117 |
13108 echo $ac_n "checking for working strcoll""... $ac_c" 1>&6 | 13118 echo $ac_n "checking for working strcoll""... $ac_c" 1>&6 |
13109 echo "configure:13111: checking for working strcoll" >&5 | 13119 echo "configure:13120: checking for working strcoll" >&5 |
13110 | 13120 |
13111 cat > conftest.$ac_ext <<EOF | 13121 cat > conftest.$ac_ext <<EOF |
13112 #line 13114 "configure" | 13122 #line 13123 "configure" |
13113 #include "confdefs.h" | 13123 #include "confdefs.h" |
13114 #include <string.h> | 13124 #include <string.h> |
13115 main () | 13125 main () |
13116 { | 13126 { |
13117 exit (strcoll ("abc", "def") >= 0 || | 13127 exit (strcoll ("abc", "def") >= 0 || |
13118 strcoll ("ABC", "DEF") >= 0 || | 13128 strcoll ("ABC", "DEF") >= 0 || |
13119 strcoll ("123", "456") >= 0); | 13129 strcoll ("123", "456") >= 0); |
13120 } | 13130 } |
13121 EOF | 13131 EOF |
13122 if { (eval echo configure:13124: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 13132 if { (eval echo configure:13133: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
13123 then | 13133 then |
13124 ac_cv_func_strcoll_works=yes | 13134 ac_cv_func_strcoll_works=yes |
13125 else | 13135 else |
13126 conftest_rc="$?" | 13136 conftest_rc="$?" |
13127 echo "configure: failed program was:" >&5 | 13137 echo "configure: failed program was:" >&5 |
13145 | 13155 |
13146 | 13156 |
13147 for ac_func in getpgrp | 13157 for ac_func in getpgrp |
13148 do | 13158 do |
13149 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 13159 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
13150 echo "configure:13152: checking for $ac_func" >&5 | 13160 echo "configure:13161: checking for $ac_func" >&5 |
13151 | 13161 |
13152 cat > conftest.$ac_ext <<EOF | 13162 cat > conftest.$ac_ext <<EOF |
13153 #line 13155 "configure" | 13163 #line 13164 "configure" |
13154 #include "confdefs.h" | 13164 #include "confdefs.h" |
13155 /* System header to define __stub macros and hopefully few prototypes, | 13165 /* System header to define __stub macros and hopefully few prototypes, |
13156 which can conflict with char $ac_func(); below. */ | 13166 which can conflict with char $ac_func(); below. */ |
13157 #include <assert.h> | 13167 #include <assert.h> |
13158 /* Override any gcc2 internal prototype to avoid an error. */ | 13168 /* Override any gcc2 internal prototype to avoid an error. */ |
13171 $ac_func(); | 13181 $ac_func(); |
13172 #endif | 13182 #endif |
13173 | 13183 |
13174 ; return 0; } | 13184 ; return 0; } |
13175 EOF | 13185 EOF |
13176 if { (eval echo configure:13178: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13186 if { (eval echo configure:13187: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
13177 rm -rf conftest* | 13187 rm -rf conftest* |
13178 eval "ac_cv_func_$ac_func=yes" | 13188 eval "ac_cv_func_$ac_func=yes" |
13179 else | 13189 else |
13180 echo "configure: failed program was:" >&5 | 13190 echo "configure: failed program was:" >&5 |
13181 cat conftest.$ac_ext >&5 | 13191 cat conftest.$ac_ext >&5 |
13199 echo "$ac_t""no" 1>&6 | 13209 echo "$ac_t""no" 1>&6 |
13200 fi | 13210 fi |
13201 done | 13211 done |
13202 | 13212 |
13203 echo $ac_n "checking whether getpgrp takes no argument""... $ac_c" 1>&6 | 13213 echo $ac_n "checking whether getpgrp takes no argument""... $ac_c" 1>&6 |
13204 echo "configure:13206: checking whether getpgrp takes no argument" >&5 | 13214 echo "configure:13215: checking whether getpgrp takes no argument" >&5 |
13205 | 13215 |
13206 cat > conftest.$ac_ext <<EOF | 13216 cat > conftest.$ac_ext <<EOF |
13207 #line 13209 "configure" | 13217 #line 13218 "configure" |
13208 #include "confdefs.h" | 13218 #include "confdefs.h" |
13209 | 13219 |
13210 /* | 13220 /* |
13211 * If this system has a BSD-style getpgrp(), | 13221 * If this system has a BSD-style getpgrp(), |
13212 * which takes a pid argument, exit unsuccessfully. | 13222 * which takes a pid argument, exit unsuccessfully. |
13257 exit(s>>8); | 13267 exit(s>>8); |
13258 } | 13268 } |
13259 } | 13269 } |
13260 | 13270 |
13261 EOF | 13271 EOF |
13262 if { (eval echo configure:13264: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 13272 if { (eval echo configure:13273: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
13263 then | 13273 then |
13264 ac_cv_func_getpgrp_void=yes | 13274 ac_cv_func_getpgrp_void=yes |
13265 else | 13275 else |
13266 conftest_rc="$?" | 13276 conftest_rc="$?" |
13267 echo "configure: failed program was:" >&5 | 13277 echo "configure: failed program was:" >&5 |
13284 | 13294 |
13285 fi | 13295 fi |
13286 | 13296 |
13287 | 13297 |
13288 echo $ac_n "checking for working mmap""... $ac_c" 1>&6 | 13298 echo $ac_n "checking for working mmap""... $ac_c" 1>&6 |
13289 echo "configure:13291: checking for working mmap" >&5 | 13299 echo "configure:13300: checking for working mmap" >&5 |
13290 case "$opsys" in ultrix* ) have_mmap=no ;; *) | 13300 case "$opsys" in ultrix* ) have_mmap=no ;; *) |
13291 cat > conftest.$ac_ext <<EOF | 13301 cat > conftest.$ac_ext <<EOF |
13292 #line 13294 "configure" | 13302 #line 13303 "configure" |
13293 #include "confdefs.h" | 13303 #include "confdefs.h" |
13294 #include <stdio.h> | 13304 #include <stdio.h> |
13295 #include <unistd.h> | 13305 #include <unistd.h> |
13296 #include <fcntl.h> | 13306 #include <fcntl.h> |
13297 #include <sys/mman.h> | 13307 #include <sys/mman.h> |
13320 return 0; | 13330 return 0; |
13321 perror ("conftest: mmap failed"); | 13331 perror ("conftest: mmap failed"); |
13322 return 1; | 13332 return 1; |
13323 } | 13333 } |
13324 EOF | 13334 EOF |
13325 if { (eval echo configure:13327: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 13335 if { (eval echo configure:13336: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
13326 then | 13336 then |
13327 have_mmap=yes | 13337 have_mmap=yes |
13328 else | 13338 else |
13329 conftest_rc="$?" | 13339 conftest_rc="$?" |
13330 echo "configure: failed program was:" >&5 | 13340 echo "configure: failed program was:" >&5 |
13349 esac | 13359 esac |
13350 test "$GNU_MALLOC" != "yes" -a "$have_mmap" != "yes" && rel_alloc=no | 13360 test "$GNU_MALLOC" != "yes" -a "$have_mmap" != "yes" && rel_alloc=no |
13351 if test "$rel_alloc $have_mmap" = "default yes"; then | 13361 if test "$rel_alloc $have_mmap" = "default yes"; then |
13352 if test "$doug_lea_malloc" = "yes"; then | 13362 if test "$doug_lea_malloc" = "yes"; then |
13353 echo $ac_n "checking for M_MMAP_THRESHOLD""... $ac_c" 1>&6 | 13363 echo $ac_n "checking for M_MMAP_THRESHOLD""... $ac_c" 1>&6 |
13354 echo "configure:13356: checking for M_MMAP_THRESHOLD" >&5 | 13364 echo "configure:13365: checking for M_MMAP_THRESHOLD" >&5 |
13355 cat > conftest.$ac_ext <<EOF | 13365 cat > conftest.$ac_ext <<EOF |
13356 #line 13358 "configure" | 13366 #line 13367 "configure" |
13357 #include "confdefs.h" | 13367 #include "confdefs.h" |
13358 #include <malloc.h> | 13368 #include <malloc.h> |
13359 int main() { | 13369 int main() { |
13360 | 13370 |
13361 #ifndef M_MMAP_THRESHOLD | 13371 #ifndef M_MMAP_THRESHOLD |
13363 !@+$%^&*_)(_ - unlikely to compile... | 13373 !@+$%^&*_)(_ - unlikely to compile... |
13364 #endif | 13374 #endif |
13365 | 13375 |
13366 ; return 0; } | 13376 ; return 0; } |
13367 EOF | 13377 EOF |
13368 if { (eval echo configure:13370: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 13378 if { (eval echo configure:13379: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
13369 rm -rf conftest* | 13379 rm -rf conftest* |
13370 rel_alloc=no; echo "$ac_t""yes" 1>&6; | 13380 rel_alloc=no; echo "$ac_t""yes" 1>&6; |
13371 else | 13381 else |
13372 echo "configure: failed program was:" >&5 | 13382 echo "configure: failed program was:" >&5 |
13373 cat conftest.$ac_ext >&5 | 13383 cat conftest.$ac_ext >&5 |
13388 } | 13398 } |
13389 | 13399 |
13390 | 13400 |
13391 ac_safe=`echo "termios.h" | sed 'y%./+-%__p_%'` | 13401 ac_safe=`echo "termios.h" | sed 'y%./+-%__p_%'` |
13392 echo $ac_n "checking for termios.h""... $ac_c" 1>&6 | 13402 echo $ac_n "checking for termios.h""... $ac_c" 1>&6 |
13393 echo "configure:13395: checking for termios.h" >&5 | 13403 echo "configure:13404: checking for termios.h" >&5 |
13394 | 13404 |
13395 cat > conftest.$ac_ext <<EOF | 13405 cat > conftest.$ac_ext <<EOF |
13396 #line 13398 "configure" | 13406 #line 13407 "configure" |
13397 #include "confdefs.h" | 13407 #include "confdefs.h" |
13398 #include <termios.h> | 13408 #include <termios.h> |
13399 EOF | 13409 EOF |
13400 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 13410 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
13401 { (eval echo configure:13403: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 13411 { (eval echo configure:13412: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
13402 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 13412 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
13403 if test -z "$ac_err"; then | 13413 if test -z "$ac_err"; then |
13404 rm -rf conftest* | 13414 rm -rf conftest* |
13405 eval "ac_cv_header_$ac_safe=yes" | 13415 eval "ac_cv_header_$ac_safe=yes" |
13406 else | 13416 else |
13439 | 13449 |
13440 else | 13450 else |
13441 echo "$ac_t""no" 1>&6 | 13451 echo "$ac_t""no" 1>&6 |
13442 ac_safe=`echo "termio.h" | sed 'y%./+-%__p_%'` | 13452 ac_safe=`echo "termio.h" | sed 'y%./+-%__p_%'` |
13443 echo $ac_n "checking for termio.h""... $ac_c" 1>&6 | 13453 echo $ac_n "checking for termio.h""... $ac_c" 1>&6 |
13444 echo "configure:13446: checking for termio.h" >&5 | 13454 echo "configure:13455: checking for termio.h" >&5 |
13445 | 13455 |
13446 cat > conftest.$ac_ext <<EOF | 13456 cat > conftest.$ac_ext <<EOF |
13447 #line 13449 "configure" | 13457 #line 13458 "configure" |
13448 #include "confdefs.h" | 13458 #include "confdefs.h" |
13449 #include <termio.h> | 13459 #include <termio.h> |
13450 EOF | 13460 EOF |
13451 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 13461 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
13452 { (eval echo configure:13454: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 13462 { (eval echo configure:13463: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
13453 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 13463 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
13454 if test -z "$ac_err"; then | 13464 if test -z "$ac_err"; then |
13455 rm -rf conftest* | 13465 rm -rf conftest* |
13456 eval "ac_cv_header_$ac_safe=yes" | 13466 eval "ac_cv_header_$ac_safe=yes" |
13457 else | 13467 else |
13479 fi | 13489 fi |
13480 | 13490 |
13481 | 13491 |
13482 | 13492 |
13483 echo $ac_n "checking for socket""... $ac_c" 1>&6 | 13493 echo $ac_n "checking for socket""... $ac_c" 1>&6 |
13484 echo "configure:13486: checking for socket" >&5 | 13494 echo "configure:13495: checking for socket" >&5 |
13485 | 13495 |
13486 cat > conftest.$ac_ext <<EOF | 13496 cat > conftest.$ac_ext <<EOF |
13487 #line 13489 "configure" | 13497 #line 13498 "configure" |
13488 #include "confdefs.h" | 13498 #include "confdefs.h" |
13489 /* System header to define __stub macros and hopefully few prototypes, | 13499 /* System header to define __stub macros and hopefully few prototypes, |
13490 which can conflict with char socket(); below. */ | 13500 which can conflict with char socket(); below. */ |
13491 #include <assert.h> | 13501 #include <assert.h> |
13492 /* Override any gcc2 internal prototype to avoid an error. */ | 13502 /* Override any gcc2 internal prototype to avoid an error. */ |
13505 socket(); | 13515 socket(); |
13506 #endif | 13516 #endif |
13507 | 13517 |
13508 ; return 0; } | 13518 ; return 0; } |
13509 EOF | 13519 EOF |
13510 if { (eval echo configure:13512: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13520 if { (eval echo configure:13521: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
13511 rm -rf conftest* | 13521 rm -rf conftest* |
13512 eval "ac_cv_func_socket=yes" | 13522 eval "ac_cv_func_socket=yes" |
13513 else | 13523 else |
13514 echo "configure: failed program was:" >&5 | 13524 echo "configure: failed program was:" >&5 |
13515 cat conftest.$ac_ext >&5 | 13525 cat conftest.$ac_ext >&5 |
13520 | 13530 |
13521 if eval "test \"`echo '$ac_cv_func_'socket`\" = yes"; then | 13531 if eval "test \"`echo '$ac_cv_func_'socket`\" = yes"; then |
13522 echo "$ac_t""yes" 1>&6 | 13532 echo "$ac_t""yes" 1>&6 |
13523 ac_safe=`echo "netinet/in.h" | sed 'y%./+-%__p_%'` | 13533 ac_safe=`echo "netinet/in.h" | sed 'y%./+-%__p_%'` |
13524 echo $ac_n "checking for netinet/in.h""... $ac_c" 1>&6 | 13534 echo $ac_n "checking for netinet/in.h""... $ac_c" 1>&6 |
13525 echo "configure:13527: checking for netinet/in.h" >&5 | 13535 echo "configure:13536: checking for netinet/in.h" >&5 |
13526 | 13536 |
13527 cat > conftest.$ac_ext <<EOF | 13537 cat > conftest.$ac_ext <<EOF |
13528 #line 13530 "configure" | 13538 #line 13539 "configure" |
13529 #include "confdefs.h" | 13539 #include "confdefs.h" |
13530 #include <netinet/in.h> | 13540 #include <netinet/in.h> |
13531 EOF | 13541 EOF |
13532 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 13542 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
13533 { (eval echo configure:13535: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 13543 { (eval echo configure:13544: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
13534 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 13544 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
13535 if test -z "$ac_err"; then | 13545 if test -z "$ac_err"; then |
13536 rm -rf conftest* | 13546 rm -rf conftest* |
13537 eval "ac_cv_header_$ac_safe=yes" | 13547 eval "ac_cv_header_$ac_safe=yes" |
13538 else | 13548 else |
13545 rm -f conftest* | 13555 rm -f conftest* |
13546 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 13556 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
13547 echo "$ac_t""yes" 1>&6 | 13557 echo "$ac_t""yes" 1>&6 |
13548 ac_safe=`echo "arpa/inet.h" | sed 'y%./+-%__p_%'` | 13558 ac_safe=`echo "arpa/inet.h" | sed 'y%./+-%__p_%'` |
13549 echo $ac_n "checking for arpa/inet.h""... $ac_c" 1>&6 | 13559 echo $ac_n "checking for arpa/inet.h""... $ac_c" 1>&6 |
13550 echo "configure:13552: checking for arpa/inet.h" >&5 | 13560 echo "configure:13561: checking for arpa/inet.h" >&5 |
13551 | 13561 |
13552 cat > conftest.$ac_ext <<EOF | 13562 cat > conftest.$ac_ext <<EOF |
13553 #line 13555 "configure" | 13563 #line 13564 "configure" |
13554 #include "confdefs.h" | 13564 #include "confdefs.h" |
13555 #include <arpa/inet.h> | 13565 #include <arpa/inet.h> |
13556 EOF | 13566 EOF |
13557 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 13567 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
13558 { (eval echo configure:13560: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 13568 { (eval echo configure:13569: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
13559 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 13569 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
13560 if test -z "$ac_err"; then | 13570 if test -z "$ac_err"; then |
13561 rm -rf conftest* | 13571 rm -rf conftest* |
13562 eval "ac_cv_header_$ac_safe=yes" | 13572 eval "ac_cv_header_$ac_safe=yes" |
13563 else | 13573 else |
13578 #define HAVE_SOCKETS 1 | 13588 #define HAVE_SOCKETS 1 |
13579 EOF | 13589 EOF |
13580 } | 13590 } |
13581 | 13591 |
13582 echo $ac_n "checking "for sun_len member in struct sockaddr_un"""... $ac_c" 1>&6 | 13592 echo $ac_n "checking "for sun_len member in struct sockaddr_un"""... $ac_c" 1>&6 |
13583 echo "configure:13585: checking "for sun_len member in struct sockaddr_un"" >&5 | 13593 echo "configure:13594: checking "for sun_len member in struct sockaddr_un"" >&5 |
13584 cat > conftest.$ac_ext <<EOF | 13594 cat > conftest.$ac_ext <<EOF |
13585 #line 13587 "configure" | 13595 #line 13596 "configure" |
13586 #include "confdefs.h" | 13596 #include "confdefs.h" |
13587 | 13597 |
13588 #include <sys/types.h> | 13598 #include <sys/types.h> |
13589 #include <sys/socket.h> | 13599 #include <sys/socket.h> |
13590 #include <sys/un.h> | 13600 #include <sys/un.h> |
13591 | 13601 |
13592 int main() { | 13602 int main() { |
13593 static struct sockaddr_un x; x.sun_len = 1; | 13603 static struct sockaddr_un x; x.sun_len = 1; |
13594 ; return 0; } | 13604 ; return 0; } |
13595 EOF | 13605 EOF |
13596 if { (eval echo configure:13598: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13606 if { (eval echo configure:13607: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
13597 rm -rf conftest* | 13607 rm -rf conftest* |
13598 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF | 13608 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF |
13599 Defining HAVE_SOCKADDR_SUN_LEN | 13609 Defining HAVE_SOCKADDR_SUN_LEN |
13600 EOF | 13610 EOF |
13601 cat >> confdefs.h <<\EOF | 13611 cat >> confdefs.h <<\EOF |
13609 rm -rf conftest* | 13619 rm -rf conftest* |
13610 echo "$ac_t""no" 1>&6 | 13620 echo "$ac_t""no" 1>&6 |
13611 fi | 13621 fi |
13612 rm -f conftest* | 13622 rm -f conftest* |
13613 echo $ac_n "checking "for ip_mreq struct in netinet/in.h"""... $ac_c" 1>&6 | 13623 echo $ac_n "checking "for ip_mreq struct in netinet/in.h"""... $ac_c" 1>&6 |
13614 echo "configure:13616: checking "for ip_mreq struct in netinet/in.h"" >&5 | 13624 echo "configure:13625: checking "for ip_mreq struct in netinet/in.h"" >&5 |
13615 cat > conftest.$ac_ext <<EOF | 13625 cat > conftest.$ac_ext <<EOF |
13616 #line 13618 "configure" | 13626 #line 13627 "configure" |
13617 #include "confdefs.h" | 13627 #include "confdefs.h" |
13618 | 13628 |
13619 #include <sys/types.h> | 13629 #include <sys/types.h> |
13620 #include <netinet/in.h> | 13630 #include <netinet/in.h> |
13621 | 13631 |
13622 int main() { | 13632 int main() { |
13623 static struct ip_mreq x; | 13633 static struct ip_mreq x; |
13624 ; return 0; } | 13634 ; return 0; } |
13625 EOF | 13635 EOF |
13626 if { (eval echo configure:13628: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13636 if { (eval echo configure:13637: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
13627 rm -rf conftest* | 13637 rm -rf conftest* |
13628 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF | 13638 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF |
13629 Defining HAVE_MULTICAST | 13639 Defining HAVE_MULTICAST |
13630 EOF | 13640 EOF |
13631 cat >> confdefs.h <<\EOF | 13641 cat >> confdefs.h <<\EOF |
13652 echo "$ac_t""no" 1>&6 | 13662 echo "$ac_t""no" 1>&6 |
13653 fi | 13663 fi |
13654 | 13664 |
13655 | 13665 |
13656 echo $ac_n "checking for msgget""... $ac_c" 1>&6 | 13666 echo $ac_n "checking for msgget""... $ac_c" 1>&6 |
13657 echo "configure:13659: checking for msgget" >&5 | 13667 echo "configure:13668: checking for msgget" >&5 |
13658 | 13668 |
13659 cat > conftest.$ac_ext <<EOF | 13669 cat > conftest.$ac_ext <<EOF |
13660 #line 13662 "configure" | 13670 #line 13671 "configure" |
13661 #include "confdefs.h" | 13671 #include "confdefs.h" |
13662 /* System header to define __stub macros and hopefully few prototypes, | 13672 /* System header to define __stub macros and hopefully few prototypes, |
13663 which can conflict with char msgget(); below. */ | 13673 which can conflict with char msgget(); below. */ |
13664 #include <assert.h> | 13674 #include <assert.h> |
13665 /* Override any gcc2 internal prototype to avoid an error. */ | 13675 /* Override any gcc2 internal prototype to avoid an error. */ |
13678 msgget(); | 13688 msgget(); |
13679 #endif | 13689 #endif |
13680 | 13690 |
13681 ; return 0; } | 13691 ; return 0; } |
13682 EOF | 13692 EOF |
13683 if { (eval echo configure:13685: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13693 if { (eval echo configure:13694: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
13684 rm -rf conftest* | 13694 rm -rf conftest* |
13685 eval "ac_cv_func_msgget=yes" | 13695 eval "ac_cv_func_msgget=yes" |
13686 else | 13696 else |
13687 echo "configure: failed program was:" >&5 | 13697 echo "configure: failed program was:" >&5 |
13688 cat conftest.$ac_ext >&5 | 13698 cat conftest.$ac_ext >&5 |
13693 | 13703 |
13694 if eval "test \"`echo '$ac_cv_func_'msgget`\" = yes"; then | 13704 if eval "test \"`echo '$ac_cv_func_'msgget`\" = yes"; then |
13695 echo "$ac_t""yes" 1>&6 | 13705 echo "$ac_t""yes" 1>&6 |
13696 ac_safe=`echo "sys/ipc.h" | sed 'y%./+-%__p_%'` | 13706 ac_safe=`echo "sys/ipc.h" | sed 'y%./+-%__p_%'` |
13697 echo $ac_n "checking for sys/ipc.h""... $ac_c" 1>&6 | 13707 echo $ac_n "checking for sys/ipc.h""... $ac_c" 1>&6 |
13698 echo "configure:13700: checking for sys/ipc.h" >&5 | 13708 echo "configure:13709: checking for sys/ipc.h" >&5 |
13699 | 13709 |
13700 cat > conftest.$ac_ext <<EOF | 13710 cat > conftest.$ac_ext <<EOF |
13701 #line 13703 "configure" | 13711 #line 13712 "configure" |
13702 #include "confdefs.h" | 13712 #include "confdefs.h" |
13703 #include <sys/ipc.h> | 13713 #include <sys/ipc.h> |
13704 EOF | 13714 EOF |
13705 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 13715 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
13706 { (eval echo configure:13708: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 13716 { (eval echo configure:13717: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
13707 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 13717 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
13708 if test -z "$ac_err"; then | 13718 if test -z "$ac_err"; then |
13709 rm -rf conftest* | 13719 rm -rf conftest* |
13710 eval "ac_cv_header_$ac_safe=yes" | 13720 eval "ac_cv_header_$ac_safe=yes" |
13711 else | 13721 else |
13718 rm -f conftest* | 13728 rm -f conftest* |
13719 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 13729 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
13720 echo "$ac_t""yes" 1>&6 | 13730 echo "$ac_t""yes" 1>&6 |
13721 ac_safe=`echo "sys/msg.h" | sed 'y%./+-%__p_%'` | 13731 ac_safe=`echo "sys/msg.h" | sed 'y%./+-%__p_%'` |
13722 echo $ac_n "checking for sys/msg.h""... $ac_c" 1>&6 | 13732 echo $ac_n "checking for sys/msg.h""... $ac_c" 1>&6 |
13723 echo "configure:13725: checking for sys/msg.h" >&5 | 13733 echo "configure:13734: checking for sys/msg.h" >&5 |
13724 | 13734 |
13725 cat > conftest.$ac_ext <<EOF | 13735 cat > conftest.$ac_ext <<EOF |
13726 #line 13728 "configure" | 13736 #line 13737 "configure" |
13727 #include "confdefs.h" | 13737 #include "confdefs.h" |
13728 #include <sys/msg.h> | 13738 #include <sys/msg.h> |
13729 EOF | 13739 EOF |
13730 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 13740 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
13731 { (eval echo configure:13733: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 13741 { (eval echo configure:13742: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
13732 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 13742 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
13733 if test -z "$ac_err"; then | 13743 if test -z "$ac_err"; then |
13734 rm -rf conftest* | 13744 rm -rf conftest* |
13735 eval "ac_cv_header_$ac_safe=yes" | 13745 eval "ac_cv_header_$ac_safe=yes" |
13736 else | 13746 else |
13764 fi | 13774 fi |
13765 | 13775 |
13766 | 13776 |
13767 ac_safe=`echo "dirent.h" | sed 'y%./+-%__p_%'` | 13777 ac_safe=`echo "dirent.h" | sed 'y%./+-%__p_%'` |
13768 echo $ac_n "checking for dirent.h""... $ac_c" 1>&6 | 13778 echo $ac_n "checking for dirent.h""... $ac_c" 1>&6 |
13769 echo "configure:13771: checking for dirent.h" >&5 | 13779 echo "configure:13780: checking for dirent.h" >&5 |
13770 | 13780 |
13771 cat > conftest.$ac_ext <<EOF | 13781 cat > conftest.$ac_ext <<EOF |
13772 #line 13774 "configure" | 13782 #line 13783 "configure" |
13773 #include "confdefs.h" | 13783 #include "confdefs.h" |
13774 #include <dirent.h> | 13784 #include <dirent.h> |
13775 EOF | 13785 EOF |
13776 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 13786 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
13777 { (eval echo configure:13779: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 13787 { (eval echo configure:13788: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
13778 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 13788 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
13779 if test -z "$ac_err"; then | 13789 if test -z "$ac_err"; then |
13780 rm -rf conftest* | 13790 rm -rf conftest* |
13781 eval "ac_cv_header_$ac_safe=yes" | 13791 eval "ac_cv_header_$ac_safe=yes" |
13782 else | 13792 else |
13799 | 13809 |
13800 else | 13810 else |
13801 echo "$ac_t""no" 1>&6 | 13811 echo "$ac_t""no" 1>&6 |
13802 ac_safe=`echo "sys/dir.h" | sed 'y%./+-%__p_%'` | 13812 ac_safe=`echo "sys/dir.h" | sed 'y%./+-%__p_%'` |
13803 echo $ac_n "checking for sys/dir.h""... $ac_c" 1>&6 | 13813 echo $ac_n "checking for sys/dir.h""... $ac_c" 1>&6 |
13804 echo "configure:13806: checking for sys/dir.h" >&5 | 13814 echo "configure:13815: checking for sys/dir.h" >&5 |
13805 | 13815 |
13806 cat > conftest.$ac_ext <<EOF | 13816 cat > conftest.$ac_ext <<EOF |
13807 #line 13809 "configure" | 13817 #line 13818 "configure" |
13808 #include "confdefs.h" | 13818 #include "confdefs.h" |
13809 #include <sys/dir.h> | 13819 #include <sys/dir.h> |
13810 EOF | 13820 EOF |
13811 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 13821 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
13812 { (eval echo configure:13814: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 13822 { (eval echo configure:13823: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
13813 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 13823 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
13814 if test -z "$ac_err"; then | 13824 if test -z "$ac_err"; then |
13815 rm -rf conftest* | 13825 rm -rf conftest* |
13816 eval "ac_cv_header_$ac_safe=yes" | 13826 eval "ac_cv_header_$ac_safe=yes" |
13817 else | 13827 else |
13840 fi | 13850 fi |
13841 | 13851 |
13842 | 13852 |
13843 ac_safe=`echo "nlist.h" | sed 'y%./+-%__p_%'` | 13853 ac_safe=`echo "nlist.h" | sed 'y%./+-%__p_%'` |
13844 echo $ac_n "checking for nlist.h""... $ac_c" 1>&6 | 13854 echo $ac_n "checking for nlist.h""... $ac_c" 1>&6 |
13845 echo "configure:13847: checking for nlist.h" >&5 | 13855 echo "configure:13856: checking for nlist.h" >&5 |
13846 | 13856 |
13847 cat > conftest.$ac_ext <<EOF | 13857 cat > conftest.$ac_ext <<EOF |
13848 #line 13850 "configure" | 13858 #line 13859 "configure" |
13849 #include "confdefs.h" | 13859 #include "confdefs.h" |
13850 #include <nlist.h> | 13860 #include <nlist.h> |
13851 EOF | 13861 EOF |
13852 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 13862 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
13853 { (eval echo configure:13855: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 13863 { (eval echo configure:13864: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
13854 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 13864 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
13855 if test -z "$ac_err"; then | 13865 if test -z "$ac_err"; then |
13856 rm -rf conftest* | 13866 rm -rf conftest* |
13857 eval "ac_cv_header_$ac_safe=yes" | 13867 eval "ac_cv_header_$ac_safe=yes" |
13858 else | 13868 else |
13878 fi | 13888 fi |
13879 | 13889 |
13880 | 13890 |
13881 | 13891 |
13882 echo "checking "for sound support"" 1>&6 | 13892 echo "checking "for sound support"" 1>&6 |
13883 echo "configure:13885: checking "for sound support"" >&5 | 13893 echo "configure:13894: checking "for sound support"" >&5 |
13884 test -z "$with_native_sound" -a -n "$native_sound_lib" && with_native_sound=yes | 13894 test -z "$with_native_sound" -a -n "$native_sound_lib" && with_native_sound=yes |
13885 | 13895 |
13886 if test "$with_native_sound" != "no"; then | 13896 if test "$with_native_sound" != "no"; then |
13887 if test -n "$native_sound_lib"; then | 13897 if test -n "$native_sound_lib"; then |
13888 ac_safe=`echo "multimedia/audio_device.h" | sed 'y%./+-%__p_%'` | 13898 ac_safe=`echo "multimedia/audio_device.h" | sed 'y%./+-%__p_%'` |
13889 echo $ac_n "checking for multimedia/audio_device.h""... $ac_c" 1>&6 | 13899 echo $ac_n "checking for multimedia/audio_device.h""... $ac_c" 1>&6 |
13890 echo "configure:13892: checking for multimedia/audio_device.h" >&5 | 13900 echo "configure:13901: checking for multimedia/audio_device.h" >&5 |
13891 | 13901 |
13892 cat > conftest.$ac_ext <<EOF | 13902 cat > conftest.$ac_ext <<EOF |
13893 #line 13895 "configure" | 13903 #line 13904 "configure" |
13894 #include "confdefs.h" | 13904 #include "confdefs.h" |
13895 #include <multimedia/audio_device.h> | 13905 #include <multimedia/audio_device.h> |
13896 EOF | 13906 EOF |
13897 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 13907 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
13898 { (eval echo configure:13900: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 13908 { (eval echo configure:13909: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
13899 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 13909 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
13900 if test -z "$ac_err"; then | 13910 if test -z "$ac_err"; then |
13901 rm -rf conftest* | 13911 rm -rf conftest* |
13902 eval "ac_cv_header_$ac_safe=yes" | 13912 eval "ac_cv_header_$ac_safe=yes" |
13903 else | 13913 else |
13941 case "$canonical" in | 13951 case "$canonical" in |
13942 *-sgi-* ) | 13952 *-sgi-* ) |
13943 if test -z "$native_sound_lib"; then | 13953 if test -z "$native_sound_lib"; then |
13944 | 13954 |
13945 echo $ac_n "checking for ALopenport in -laudio""... $ac_c" 1>&6 | 13955 echo $ac_n "checking for ALopenport in -laudio""... $ac_c" 1>&6 |
13946 echo "configure:13948: checking for ALopenport in -laudio" >&5 | 13956 echo "configure:13957: checking for ALopenport in -laudio" >&5 |
13947 ac_lib_var=`echo audio'_'ALopenport | sed 'y%./+-%__p_%'` | 13957 ac_lib_var=`echo audio'_'ALopenport | sed 'y%./+-%__p_%'` |
13948 | 13958 |
13949 xe_check_libs=" -laudio " | 13959 xe_check_libs=" -laudio " |
13950 cat > conftest.$ac_ext <<EOF | 13960 cat > conftest.$ac_ext <<EOF |
13951 #line 13953 "configure" | 13961 #line 13962 "configure" |
13952 #include "confdefs.h" | 13962 #include "confdefs.h" |
13953 /* Override any gcc2 internal prototype to avoid an error. */ | 13963 /* Override any gcc2 internal prototype to avoid an error. */ |
13954 /* We use char because int might match the return type of a gcc2 | 13964 /* We use char because int might match the return type of a gcc2 |
13955 builtin and then its argument prototype would still apply. */ | 13965 builtin and then its argument prototype would still apply. */ |
13956 char ALopenport(); | 13966 char ALopenport(); |
13957 | 13967 |
13958 int main() { | 13968 int main() { |
13959 ALopenport() | 13969 ALopenport() |
13960 ; return 0; } | 13970 ; return 0; } |
13961 EOF | 13971 EOF |
13962 if { (eval echo configure:13964: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13972 if { (eval echo configure:13973: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
13963 rm -rf conftest* | 13973 rm -rf conftest* |
13964 eval "ac_cv_lib_$ac_lib_var=yes" | 13974 eval "ac_cv_lib_$ac_lib_var=yes" |
13965 else | 13975 else |
13966 echo "configure: failed program was:" >&5 | 13976 echo "configure: failed program was:" >&5 |
13967 cat conftest.$ac_ext >&5 | 13977 cat conftest.$ac_ext >&5 |
13988 fi ;; | 13998 fi ;; |
13989 hppa*-hp-hpux* ) | 13999 hppa*-hp-hpux* ) |
13990 if test -z "$native_sound_lib"; then | 14000 if test -z "$native_sound_lib"; then |
13991 | 14001 |
13992 echo $ac_n "checking for AOpenAudio in -lAlib""... $ac_c" 1>&6 | 14002 echo $ac_n "checking for AOpenAudio in -lAlib""... $ac_c" 1>&6 |
13993 echo "configure:13995: checking for AOpenAudio in -lAlib" >&5 | 14003 echo "configure:14004: checking for AOpenAudio in -lAlib" >&5 |
13994 ac_lib_var=`echo Alib'_'AOpenAudio | sed 'y%./+-%__p_%'` | 14004 ac_lib_var=`echo Alib'_'AOpenAudio | sed 'y%./+-%__p_%'` |
13995 | 14005 |
13996 xe_check_libs=" -lAlib " | 14006 xe_check_libs=" -lAlib " |
13997 cat > conftest.$ac_ext <<EOF | 14007 cat > conftest.$ac_ext <<EOF |
13998 #line 14000 "configure" | 14008 #line 14009 "configure" |
13999 #include "confdefs.h" | 14009 #include "confdefs.h" |
14000 /* Override any gcc2 internal prototype to avoid an error. */ | 14010 /* Override any gcc2 internal prototype to avoid an error. */ |
14001 /* We use char because int might match the return type of a gcc2 | 14011 /* We use char because int might match the return type of a gcc2 |
14002 builtin and then its argument prototype would still apply. */ | 14012 builtin and then its argument prototype would still apply. */ |
14003 char AOpenAudio(); | 14013 char AOpenAudio(); |
14004 | 14014 |
14005 int main() { | 14015 int main() { |
14006 AOpenAudio() | 14016 AOpenAudio() |
14007 ; return 0; } | 14017 ; return 0; } |
14008 EOF | 14018 EOF |
14009 if { (eval echo configure:14011: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14019 if { (eval echo configure:14020: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
14010 rm -rf conftest* | 14020 rm -rf conftest* |
14011 eval "ac_cv_lib_$ac_lib_var=yes" | 14021 eval "ac_cv_lib_$ac_lib_var=yes" |
14012 else | 14022 else |
14013 echo "configure: failed program was:" >&5 | 14023 echo "configure: failed program was:" >&5 |
14014 cat conftest.$ac_ext >&5 | 14024 cat conftest.$ac_ext >&5 |
14052 | 14062 |
14053 if test -z "$sound_found"; then | 14063 if test -z "$sound_found"; then |
14054 for dir in "machine" "sys" "linux"; do | 14064 for dir in "machine" "sys" "linux"; do |
14055 ac_safe=`echo "${dir}/soundcard.h" | sed 'y%./+-%__p_%'` | 14065 ac_safe=`echo "${dir}/soundcard.h" | sed 'y%./+-%__p_%'` |
14056 echo $ac_n "checking for ${dir}/soundcard.h""... $ac_c" 1>&6 | 14066 echo $ac_n "checking for ${dir}/soundcard.h""... $ac_c" 1>&6 |
14057 echo "configure:14059: checking for ${dir}/soundcard.h" >&5 | 14067 echo "configure:14068: checking for ${dir}/soundcard.h" >&5 |
14058 | 14068 |
14059 cat > conftest.$ac_ext <<EOF | 14069 cat > conftest.$ac_ext <<EOF |
14060 #line 14062 "configure" | 14070 #line 14071 "configure" |
14061 #include "confdefs.h" | 14071 #include "confdefs.h" |
14062 #include <${dir}/soundcard.h> | 14072 #include <${dir}/soundcard.h> |
14063 EOF | 14073 EOF |
14064 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 14074 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
14065 { (eval echo configure:14067: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 14075 { (eval echo configure:14076: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
14066 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 14076 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
14067 if test -z "$ac_err"; then | 14077 if test -z "$ac_err"; then |
14068 rm -rf conftest* | 14078 rm -rf conftest* |
14069 eval "ac_cv_header_$ac_safe=yes" | 14079 eval "ac_cv_header_$ac_safe=yes" |
14070 else | 14080 else |
14114 fi | 14124 fi |
14115 | 14125 |
14116 if test "$with_nas_sound" != "no"; then | 14126 if test "$with_nas_sound" != "no"; then |
14117 ac_safe=`echo "audio/audiolib.h" | sed 'y%./+-%__p_%'` | 14127 ac_safe=`echo "audio/audiolib.h" | sed 'y%./+-%__p_%'` |
14118 echo $ac_n "checking for audio/audiolib.h""... $ac_c" 1>&6 | 14128 echo $ac_n "checking for audio/audiolib.h""... $ac_c" 1>&6 |
14119 echo "configure:14121: checking for audio/audiolib.h" >&5 | 14129 echo "configure:14130: checking for audio/audiolib.h" >&5 |
14120 | 14130 |
14121 cat > conftest.$ac_ext <<EOF | 14131 cat > conftest.$ac_ext <<EOF |
14122 #line 14124 "configure" | 14132 #line 14133 "configure" |
14123 #include "confdefs.h" | 14133 #include "confdefs.h" |
14124 #include <audio/audiolib.h> | 14134 #include <audio/audiolib.h> |
14125 EOF | 14135 EOF |
14126 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 14136 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
14127 { (eval echo configure:14129: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 14137 { (eval echo configure:14138: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
14128 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 14138 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
14129 if test -z "$ac_err"; then | 14139 if test -z "$ac_err"; then |
14130 rm -rf conftest* | 14140 rm -rf conftest* |
14131 eval "ac_cv_header_$ac_safe=yes" | 14141 eval "ac_cv_header_$ac_safe=yes" |
14132 else | 14142 else |
14140 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 14150 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
14141 echo "$ac_t""yes" 1>&6 | 14151 echo "$ac_t""yes" 1>&6 |
14142 | 14152 |
14143 | 14153 |
14144 echo $ac_n "checking for AuOpenServer in -laudio""... $ac_c" 1>&6 | 14154 echo $ac_n "checking for AuOpenServer in -laudio""... $ac_c" 1>&6 |
14145 echo "configure:14147: checking for AuOpenServer in -laudio" >&5 | 14155 echo "configure:14156: checking for AuOpenServer in -laudio" >&5 |
14146 ac_lib_var=`echo audio'_'AuOpenServer | sed 'y%./+-%__p_%'` | 14156 ac_lib_var=`echo audio'_'AuOpenServer | sed 'y%./+-%__p_%'` |
14147 | 14157 |
14148 xe_check_libs=" -laudio " | 14158 xe_check_libs=" -laudio " |
14149 cat > conftest.$ac_ext <<EOF | 14159 cat > conftest.$ac_ext <<EOF |
14150 #line 14152 "configure" | 14160 #line 14161 "configure" |
14151 #include "confdefs.h" | 14161 #include "confdefs.h" |
14152 /* Override any gcc2 internal prototype to avoid an error. */ | 14162 /* Override any gcc2 internal prototype to avoid an error. */ |
14153 /* We use char because int might match the return type of a gcc2 | 14163 /* We use char because int might match the return type of a gcc2 |
14154 builtin and then its argument prototype would still apply. */ | 14164 builtin and then its argument prototype would still apply. */ |
14155 char AuOpenServer(); | 14165 char AuOpenServer(); |
14156 | 14166 |
14157 int main() { | 14167 int main() { |
14158 AuOpenServer() | 14168 AuOpenServer() |
14159 ; return 0; } | 14169 ; return 0; } |
14160 EOF | 14170 EOF |
14161 if { (eval echo configure:14163: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14171 if { (eval echo configure:14172: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
14162 rm -rf conftest* | 14172 rm -rf conftest* |
14163 eval "ac_cv_lib_$ac_lib_var=yes" | 14173 eval "ac_cv_lib_$ac_lib_var=yes" |
14164 else | 14174 else |
14165 echo "configure: failed program was:" >&5 | 14175 echo "configure: failed program was:" >&5 |
14166 cat conftest.$ac_ext >&5 | 14176 cat conftest.$ac_ext >&5 |
14195 extra_objs="$extra_objs nas.o" && if test "$extra_verbose" = "yes"; then | 14205 extra_objs="$extra_objs nas.o" && if test "$extra_verbose" = "yes"; then |
14196 echo " xemacs will be linked with \"nas.o\"" | 14206 echo " xemacs will be linked with \"nas.o\"" |
14197 fi | 14207 fi |
14198 libs_x="-laudio $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-laudio\" to \$libs_x"; fi | 14208 libs_x="-laudio $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-laudio\" to \$libs_x"; fi |
14199 cat > conftest.$ac_ext <<EOF | 14209 cat > conftest.$ac_ext <<EOF |
14200 #line 14202 "configure" | 14210 #line 14211 "configure" |
14201 #include "confdefs.h" | 14211 #include "confdefs.h" |
14202 #include <audio/Xtutil.h> | 14212 #include <audio/Xtutil.h> |
14203 EOF | 14213 EOF |
14204 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 14214 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
14205 egrep "AuXtErrorJump" >/dev/null 2>&1; then | 14215 egrep "AuXtErrorJump" >/dev/null 2>&1; then |
14226 | 14236 |
14227 if test "$with_esd_sound" != "no"; then | 14237 if test "$with_esd_sound" != "no"; then |
14228 # Extract the first word of "esd-config", so it can be a program name with args. | 14238 # Extract the first word of "esd-config", so it can be a program name with args. |
14229 set dummy esd-config; ac_word=$2 | 14239 set dummy esd-config; ac_word=$2 |
14230 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 14240 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
14231 echo "configure:14233: checking for $ac_word" >&5 | 14241 echo "configure:14242: checking for $ac_word" >&5 |
14232 | 14242 |
14233 if test -n "$have_esd_config"; then | 14243 if test -n "$have_esd_config"; then |
14234 ac_cv_prog_have_esd_config="$have_esd_config" # Let the user override the test. | 14244 ac_cv_prog_have_esd_config="$have_esd_config" # Let the user override the test. |
14235 else | 14245 else |
14236 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | 14246 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
14255 if test "$have_esd_config" = "yes"; then | 14265 if test "$have_esd_config" = "yes"; then |
14256 save_c_switch_site="$c_switch_site" save_LIBS="$LIBS" | 14266 save_c_switch_site="$c_switch_site" save_LIBS="$LIBS" |
14257 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 | 14267 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 |
14258 LIBS="`esd-config --libs` $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"`esd-config --libs`\" to \$LIBS"; fi | 14268 LIBS="`esd-config --libs` $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"`esd-config --libs`\" to \$LIBS"; fi |
14259 echo $ac_n "checking for esd_play_stream""... $ac_c" 1>&6 | 14269 echo $ac_n "checking for esd_play_stream""... $ac_c" 1>&6 |
14260 echo "configure:14262: checking for esd_play_stream" >&5 | 14270 echo "configure:14271: checking for esd_play_stream" >&5 |
14261 | 14271 |
14262 cat > conftest.$ac_ext <<EOF | 14272 cat > conftest.$ac_ext <<EOF |
14263 #line 14265 "configure" | 14273 #line 14274 "configure" |
14264 #include "confdefs.h" | 14274 #include "confdefs.h" |
14265 /* System header to define __stub macros and hopefully few prototypes, | 14275 /* System header to define __stub macros and hopefully few prototypes, |
14266 which can conflict with char esd_play_stream(); below. */ | 14276 which can conflict with char esd_play_stream(); below. */ |
14267 #include <assert.h> | 14277 #include <assert.h> |
14268 /* Override any gcc2 internal prototype to avoid an error. */ | 14278 /* Override any gcc2 internal prototype to avoid an error. */ |
14281 esd_play_stream(); | 14291 esd_play_stream(); |
14282 #endif | 14292 #endif |
14283 | 14293 |
14284 ; return 0; } | 14294 ; return 0; } |
14285 EOF | 14295 EOF |
14286 if { (eval echo configure:14288: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14296 if { (eval echo configure:14297: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
14287 rm -rf conftest* | 14297 rm -rf conftest* |
14288 eval "ac_cv_func_esd_play_stream=yes" | 14298 eval "ac_cv_func_esd_play_stream=yes" |
14289 else | 14299 else |
14290 echo "configure: failed program was:" >&5 | 14300 echo "configure: failed program was:" >&5 |
14291 cat conftest.$ac_ext >&5 | 14301 cat conftest.$ac_ext >&5 |
14332 | 14342 |
14333 test -z "$with_tty" && with_tty=yes | 14343 test -z "$with_tty" && with_tty=yes |
14334 | 14344 |
14335 if test "$with_tty" = "yes" ; then | 14345 if test "$with_tty" = "yes" ; then |
14336 echo "checking for TTY-related features" 1>&6 | 14346 echo "checking for TTY-related features" 1>&6 |
14337 echo "configure:14339: checking for TTY-related features" >&5 | 14347 echo "configure:14348: checking for TTY-related features" >&5 |
14338 { test "$extra_verbose" = "yes" && cat << \EOF | 14348 { test "$extra_verbose" = "yes" && cat << \EOF |
14339 Defining HAVE_TTY | 14349 Defining HAVE_TTY |
14340 EOF | 14350 EOF |
14341 cat >> confdefs.h <<\EOF | 14351 cat >> confdefs.h <<\EOF |
14342 #define HAVE_TTY 1 | 14352 #define HAVE_TTY 1 |
14345 | 14355 |
14346 | 14356 |
14347 if test -z "$with_ncurses"; then | 14357 if test -z "$with_ncurses"; then |
14348 | 14358 |
14349 echo $ac_n "checking for tgetent in -lncurses""... $ac_c" 1>&6 | 14359 echo $ac_n "checking for tgetent in -lncurses""... $ac_c" 1>&6 |
14350 echo "configure:14352: checking for tgetent in -lncurses" >&5 | 14360 echo "configure:14361: checking for tgetent in -lncurses" >&5 |
14351 ac_lib_var=`echo ncurses'_'tgetent | sed 'y%./+-%__p_%'` | 14361 ac_lib_var=`echo ncurses'_'tgetent | sed 'y%./+-%__p_%'` |
14352 | 14362 |
14353 xe_check_libs=" -lncurses " | 14363 xe_check_libs=" -lncurses " |
14354 cat > conftest.$ac_ext <<EOF | 14364 cat > conftest.$ac_ext <<EOF |
14355 #line 14357 "configure" | 14365 #line 14366 "configure" |
14356 #include "confdefs.h" | 14366 #include "confdefs.h" |
14357 /* Override any gcc2 internal prototype to avoid an error. */ | 14367 /* Override any gcc2 internal prototype to avoid an error. */ |
14358 /* We use char because int might match the return type of a gcc2 | 14368 /* We use char because int might match the return type of a gcc2 |
14359 builtin and then its argument prototype would still apply. */ | 14369 builtin and then its argument prototype would still apply. */ |
14360 char tgetent(); | 14370 char tgetent(); |
14361 | 14371 |
14362 int main() { | 14372 int main() { |
14363 tgetent() | 14373 tgetent() |
14364 ; return 0; } | 14374 ; return 0; } |
14365 EOF | 14375 EOF |
14366 if { (eval echo configure:14368: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14376 if { (eval echo configure:14377: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
14367 rm -rf conftest* | 14377 rm -rf conftest* |
14368 eval "ac_cv_lib_$ac_lib_var=yes" | 14378 eval "ac_cv_lib_$ac_lib_var=yes" |
14369 else | 14379 else |
14370 echo "configure: failed program was:" >&5 | 14380 echo "configure: failed program was:" >&5 |
14371 cat conftest.$ac_ext >&5 | 14381 cat conftest.$ac_ext >&5 |
14394 EOF | 14404 EOF |
14395 } | 14405 } |
14396 | 14406 |
14397 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` | 14407 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` |
14398 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 | 14408 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 |
14399 echo "configure:14401: checking for ncurses/curses.h" >&5 | 14409 echo "configure:14410: checking for ncurses/curses.h" >&5 |
14400 | 14410 |
14401 cat > conftest.$ac_ext <<EOF | 14411 cat > conftest.$ac_ext <<EOF |
14402 #line 14404 "configure" | 14412 #line 14413 "configure" |
14403 #include "confdefs.h" | 14413 #include "confdefs.h" |
14404 #include <ncurses/curses.h> | 14414 #include <ncurses/curses.h> |
14405 EOF | 14415 EOF |
14406 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 14416 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
14407 { (eval echo configure:14409: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 14417 { (eval echo configure:14418: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
14408 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 14418 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
14409 if test -z "$ac_err"; then | 14419 if test -z "$ac_err"; then |
14410 rm -rf conftest* | 14420 rm -rf conftest* |
14411 eval "ac_cv_header_$ac_safe=yes" | 14421 eval "ac_cv_header_$ac_safe=yes" |
14412 else | 14422 else |
14424 echo "$ac_t""no" 1>&6 | 14434 echo "$ac_t""no" 1>&6 |
14425 fi | 14435 fi |
14426 | 14436 |
14427 ac_safe=`echo "ncurses/term.h" | sed 'y%./+-%__p_%'` | 14437 ac_safe=`echo "ncurses/term.h" | sed 'y%./+-%__p_%'` |
14428 echo $ac_n "checking for ncurses/term.h""... $ac_c" 1>&6 | 14438 echo $ac_n "checking for ncurses/term.h""... $ac_c" 1>&6 |
14429 echo "configure:14431: checking for ncurses/term.h" >&5 | 14439 echo "configure:14440: checking for ncurses/term.h" >&5 |
14430 | 14440 |
14431 cat > conftest.$ac_ext <<EOF | 14441 cat > conftest.$ac_ext <<EOF |
14432 #line 14434 "configure" | 14442 #line 14443 "configure" |
14433 #include "confdefs.h" | 14443 #include "confdefs.h" |
14434 #include <ncurses/term.h> | 14444 #include <ncurses/term.h> |
14435 EOF | 14445 EOF |
14436 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 14446 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
14437 { (eval echo configure:14439: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 14447 { (eval echo configure:14448: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
14438 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 14448 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
14439 if test -z "$ac_err"; then | 14449 if test -z "$ac_err"; then |
14440 rm -rf conftest* | 14450 rm -rf conftest* |
14441 eval "ac_cv_header_$ac_safe=yes" | 14451 eval "ac_cv_header_$ac_safe=yes" |
14442 else | 14452 else |
14462 if test "$ac_cv_header_ncurses_curses_h" != "yes" ; then | 14472 if test "$ac_cv_header_ncurses_curses_h" != "yes" ; then |
14463 save_c_switch_site="$c_switch_site" | 14473 save_c_switch_site="$c_switch_site" |
14464 c_switch_site="$c_switch_site -I/usr/include/ncurses" | 14474 c_switch_site="$c_switch_site -I/usr/include/ncurses" |
14465 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` | 14475 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` |
14466 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 | 14476 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 |
14467 echo "configure:14469: checking for ncurses/curses.h" >&5 | 14477 echo "configure:14478: checking for ncurses/curses.h" >&5 |
14468 | 14478 |
14469 cat > conftest.$ac_ext <<EOF | 14479 cat > conftest.$ac_ext <<EOF |
14470 #line 14472 "configure" | 14480 #line 14481 "configure" |
14471 #include "confdefs.h" | 14481 #include "confdefs.h" |
14472 #include <ncurses/curses.h> | 14482 #include <ncurses/curses.h> |
14473 EOF | 14483 EOF |
14474 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 14484 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
14475 { (eval echo configure:14477: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 14485 { (eval echo configure:14486: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
14476 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 14486 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
14477 if test -z "$ac_err"; then | 14487 if test -z "$ac_err"; then |
14478 rm -rf conftest* | 14488 rm -rf conftest* |
14479 eval "ac_cv_header_$ac_safe=yes" | 14489 eval "ac_cv_header_$ac_safe=yes" |
14480 else | 14490 else |
14505 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi | 14515 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi |
14506 else | 14516 else |
14507 for lib in curses termlib termcap; do | 14517 for lib in curses termlib termcap; do |
14508 | 14518 |
14509 echo $ac_n "checking for tgetent in -l$lib""... $ac_c" 1>&6 | 14519 echo $ac_n "checking for tgetent in -l$lib""... $ac_c" 1>&6 |
14510 echo "configure:14512: checking for tgetent in -l$lib" >&5 | 14520 echo "configure:14521: checking for tgetent in -l$lib" >&5 |
14511 ac_lib_var=`echo $lib'_'tgetent | sed 'y%./+-%__p_%'` | 14521 ac_lib_var=`echo $lib'_'tgetent | sed 'y%./+-%__p_%'` |
14512 | 14522 |
14513 xe_check_libs=" -l$lib " | 14523 xe_check_libs=" -l$lib " |
14514 cat > conftest.$ac_ext <<EOF | 14524 cat > conftest.$ac_ext <<EOF |
14515 #line 14517 "configure" | 14525 #line 14526 "configure" |
14516 #include "confdefs.h" | 14526 #include "confdefs.h" |
14517 /* Override any gcc2 internal prototype to avoid an error. */ | 14527 /* Override any gcc2 internal prototype to avoid an error. */ |
14518 /* We use char because int might match the return type of a gcc2 | 14528 /* We use char because int might match the return type of a gcc2 |
14519 builtin and then its argument prototype would still apply. */ | 14529 builtin and then its argument prototype would still apply. */ |
14520 char tgetent(); | 14530 char tgetent(); |
14521 | 14531 |
14522 int main() { | 14532 int main() { |
14523 tgetent() | 14533 tgetent() |
14524 ; return 0; } | 14534 ; return 0; } |
14525 EOF | 14535 EOF |
14526 if { (eval echo configure:14528: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14536 if { (eval echo configure:14537: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
14527 rm -rf conftest* | 14537 rm -rf conftest* |
14528 eval "ac_cv_lib_$ac_lib_var=yes" | 14538 eval "ac_cv_lib_$ac_lib_var=yes" |
14529 else | 14539 else |
14530 echo "configure: failed program was:" >&5 | 14540 echo "configure: failed program was:" >&5 |
14531 cat conftest.$ac_ext >&5 | 14541 cat conftest.$ac_ext >&5 |
14552 if test -n "$libs_termcap"; then | 14562 if test -n "$libs_termcap"; then |
14553 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi | 14563 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi |
14554 else | 14564 else |
14555 | 14565 |
14556 echo $ac_n "checking for tgetent in -lcurses""... $ac_c" 1>&6 | 14566 echo $ac_n "checking for tgetent in -lcurses""... $ac_c" 1>&6 |
14557 echo "configure:14559: checking for tgetent in -lcurses" >&5 | 14567 echo "configure:14568: checking for tgetent in -lcurses" >&5 |
14558 ac_lib_var=`echo curses'_'tgetent | sed 'y%./+-%__p_%'` | 14568 ac_lib_var=`echo curses'_'tgetent | sed 'y%./+-%__p_%'` |
14559 | 14569 |
14560 xe_check_libs=" -lcurses " | 14570 xe_check_libs=" -lcurses " |
14561 cat > conftest.$ac_ext <<EOF | 14571 cat > conftest.$ac_ext <<EOF |
14562 #line 14564 "configure" | 14572 #line 14573 "configure" |
14563 #include "confdefs.h" | 14573 #include "confdefs.h" |
14564 /* Override any gcc2 internal prototype to avoid an error. */ | 14574 /* Override any gcc2 internal prototype to avoid an error. */ |
14565 /* We use char because int might match the return type of a gcc2 | 14575 /* We use char because int might match the return type of a gcc2 |
14566 builtin and then its argument prototype would still apply. */ | 14576 builtin and then its argument prototype would still apply. */ |
14567 char tgetent(); | 14577 char tgetent(); |
14568 | 14578 |
14569 int main() { | 14579 int main() { |
14570 tgetent() | 14580 tgetent() |
14571 ; return 0; } | 14581 ; return 0; } |
14572 EOF | 14582 EOF |
14573 if { (eval echo configure:14575: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14583 if { (eval echo configure:14584: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
14574 rm -rf conftest* | 14584 rm -rf conftest* |
14575 eval "ac_cv_lib_$ac_lib_var=yes" | 14585 eval "ac_cv_lib_$ac_lib_var=yes" |
14576 else | 14586 else |
14577 echo "configure: failed program was:" >&5 | 14587 echo "configure: failed program was:" >&5 |
14578 cat conftest.$ac_ext >&5 | 14588 cat conftest.$ac_ext >&5 |
14586 echo "$ac_t""yes" 1>&6 | 14596 echo "$ac_t""yes" 1>&6 |
14587 LIBS="-lcurses $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lcurses\" to \$LIBS"; fi | 14597 LIBS="-lcurses $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lcurses\" to \$LIBS"; fi |
14588 else | 14598 else |
14589 echo "$ac_t""no" 1>&6 | 14599 echo "$ac_t""no" 1>&6 |
14590 echo $ac_n "checking for tgetent in -ltermcap""... $ac_c" 1>&6 | 14600 echo $ac_n "checking for tgetent in -ltermcap""... $ac_c" 1>&6 |
14591 echo "configure:14593: checking for tgetent in -ltermcap" >&5 | 14601 echo "configure:14602: checking for tgetent in -ltermcap" >&5 |
14592 ac_lib_var=`echo termcap'_'tgetent | sed 'y%./+-%__p_%'` | 14602 ac_lib_var=`echo termcap'_'tgetent | sed 'y%./+-%__p_%'` |
14593 | 14603 |
14594 xe_check_libs=" -ltermcap " | 14604 xe_check_libs=" -ltermcap " |
14595 cat > conftest.$ac_ext <<EOF | 14605 cat > conftest.$ac_ext <<EOF |
14596 #line 14598 "configure" | 14606 #line 14607 "configure" |
14597 #include "confdefs.h" | 14607 #include "confdefs.h" |
14598 /* Override any gcc2 internal prototype to avoid an error. */ | 14608 /* Override any gcc2 internal prototype to avoid an error. */ |
14599 /* We use char because int might match the return type of a gcc2 | 14609 /* We use char because int might match the return type of a gcc2 |
14600 builtin and then its argument prototype would still apply. */ | 14610 builtin and then its argument prototype would still apply. */ |
14601 char tgetent(); | 14611 char tgetent(); |
14602 | 14612 |
14603 int main() { | 14613 int main() { |
14604 tgetent() | 14614 tgetent() |
14605 ; return 0; } | 14615 ; return 0; } |
14606 EOF | 14616 EOF |
14607 if { (eval echo configure:14609: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14617 if { (eval echo configure:14618: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
14608 rm -rf conftest* | 14618 rm -rf conftest* |
14609 eval "ac_cv_lib_$ac_lib_var=yes" | 14619 eval "ac_cv_lib_$ac_lib_var=yes" |
14610 else | 14620 else |
14611 echo "configure: failed program was:" >&5 | 14621 echo "configure: failed program was:" >&5 |
14612 cat conftest.$ac_ext >&5 | 14622 cat conftest.$ac_ext >&5 |
14650 } | 14660 } |
14651 | 14661 |
14652 | 14662 |
14653 test -z "$with_gpm" && { ac_safe=`echo "gpm.h" | sed 'y%./+-%__p_%'` | 14663 test -z "$with_gpm" && { ac_safe=`echo "gpm.h" | sed 'y%./+-%__p_%'` |
14654 echo $ac_n "checking for gpm.h""... $ac_c" 1>&6 | 14664 echo $ac_n "checking for gpm.h""... $ac_c" 1>&6 |
14655 echo "configure:14657: checking for gpm.h" >&5 | 14665 echo "configure:14666: checking for gpm.h" >&5 |
14656 | 14666 |
14657 cat > conftest.$ac_ext <<EOF | 14667 cat > conftest.$ac_ext <<EOF |
14658 #line 14660 "configure" | 14668 #line 14669 "configure" |
14659 #include "confdefs.h" | 14669 #include "confdefs.h" |
14660 #include <gpm.h> | 14670 #include <gpm.h> |
14661 EOF | 14671 EOF |
14662 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 14672 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
14663 { (eval echo configure:14665: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 14673 { (eval echo configure:14674: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
14664 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 14674 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
14665 if test -z "$ac_err"; then | 14675 if test -z "$ac_err"; then |
14666 rm -rf conftest* | 14676 rm -rf conftest* |
14667 eval "ac_cv_header_$ac_safe=yes" | 14677 eval "ac_cv_header_$ac_safe=yes" |
14668 else | 14678 else |
14681 with_gpm=no | 14691 with_gpm=no |
14682 fi | 14692 fi |
14683 } | 14693 } |
14684 test -z "$with_gpm" && { | 14694 test -z "$with_gpm" && { |
14685 echo $ac_n "checking for Gpm_Open in -lgpm""... $ac_c" 1>&6 | 14695 echo $ac_n "checking for Gpm_Open in -lgpm""... $ac_c" 1>&6 |
14686 echo "configure:14688: checking for Gpm_Open in -lgpm" >&5 | 14696 echo "configure:14697: checking for Gpm_Open in -lgpm" >&5 |
14687 ac_lib_var=`echo gpm'_'Gpm_Open | sed 'y%./+-%__p_%'` | 14697 ac_lib_var=`echo gpm'_'Gpm_Open | sed 'y%./+-%__p_%'` |
14688 | 14698 |
14689 xe_check_libs=" -lgpm " | 14699 xe_check_libs=" -lgpm " |
14690 cat > conftest.$ac_ext <<EOF | 14700 cat > conftest.$ac_ext <<EOF |
14691 #line 14693 "configure" | 14701 #line 14702 "configure" |
14692 #include "confdefs.h" | 14702 #include "confdefs.h" |
14693 /* Override any gcc2 internal prototype to avoid an error. */ | 14703 /* Override any gcc2 internal prototype to avoid an error. */ |
14694 /* We use char because int might match the return type of a gcc2 | 14704 /* We use char because int might match the return type of a gcc2 |
14695 builtin and then its argument prototype would still apply. */ | 14705 builtin and then its argument prototype would still apply. */ |
14696 char Gpm_Open(); | 14706 char Gpm_Open(); |
14697 | 14707 |
14698 int main() { | 14708 int main() { |
14699 Gpm_Open() | 14709 Gpm_Open() |
14700 ; return 0; } | 14710 ; return 0; } |
14701 EOF | 14711 EOF |
14702 if { (eval echo configure:14704: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14712 if { (eval echo configure:14713: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
14703 rm -rf conftest* | 14713 rm -rf conftest* |
14704 eval "ac_cv_lib_$ac_lib_var=yes" | 14714 eval "ac_cv_lib_$ac_lib_var=yes" |
14705 else | 14715 else |
14706 echo "configure: failed program was:" >&5 | 14716 echo "configure: failed program was:" >&5 |
14707 cat conftest.$ac_ext >&5 | 14717 cat conftest.$ac_ext >&5 |
14740 done | 14750 done |
14741 fi | 14751 fi |
14742 | 14752 |
14743 test "$with_database_gdbm $with_database_dbm $with_database_berkdb" \ | 14753 test "$with_database_gdbm $with_database_dbm $with_database_berkdb" \ |
14744 != "no no no" && echo "checking for database support" 1>&6 | 14754 != "no no no" && echo "checking for database support" 1>&6 |
14745 echo "configure:14747: checking for database support" >&5 | 14755 echo "configure:14756: checking for database support" >&5 |
14746 | 14756 |
14747 if test "$with_database_gdbm $with_database_dbm" != "no no"; then | 14757 if test "$with_database_gdbm $with_database_dbm" != "no no"; then |
14748 ac_safe=`echo "ndbm.h" | sed 'y%./+-%__p_%'` | 14758 ac_safe=`echo "ndbm.h" | sed 'y%./+-%__p_%'` |
14749 echo $ac_n "checking for ndbm.h""... $ac_c" 1>&6 | 14759 echo $ac_n "checking for ndbm.h""... $ac_c" 1>&6 |
14750 echo "configure:14752: checking for ndbm.h" >&5 | 14760 echo "configure:14761: checking for ndbm.h" >&5 |
14751 | 14761 |
14752 cat > conftest.$ac_ext <<EOF | 14762 cat > conftest.$ac_ext <<EOF |
14753 #line 14755 "configure" | 14763 #line 14764 "configure" |
14754 #include "confdefs.h" | 14764 #include "confdefs.h" |
14755 #include <ndbm.h> | 14765 #include <ndbm.h> |
14756 EOF | 14766 EOF |
14757 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 14767 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
14758 { (eval echo configure:14760: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 14768 { (eval echo configure:14769: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
14759 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 14769 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
14760 if test -z "$ac_err"; then | 14770 if test -z "$ac_err"; then |
14761 rm -rf conftest* | 14771 rm -rf conftest* |
14762 eval "ac_cv_header_$ac_safe=yes" | 14772 eval "ac_cv_header_$ac_safe=yes" |
14763 else | 14773 else |
14783 fi | 14793 fi |
14784 | 14794 |
14785 if test "$with_database_gdbm" != "no"; then | 14795 if test "$with_database_gdbm" != "no"; then |
14786 | 14796 |
14787 echo $ac_n "checking for dbm_open in -lgdbm""... $ac_c" 1>&6 | 14797 echo $ac_n "checking for dbm_open in -lgdbm""... $ac_c" 1>&6 |
14788 echo "configure:14790: checking for dbm_open in -lgdbm" >&5 | 14798 echo "configure:14799: checking for dbm_open in -lgdbm" >&5 |
14789 ac_lib_var=`echo gdbm'_'dbm_open | sed 'y%./+-%__p_%'` | 14799 ac_lib_var=`echo gdbm'_'dbm_open | sed 'y%./+-%__p_%'` |
14790 | 14800 |
14791 xe_check_libs=" -lgdbm " | 14801 xe_check_libs=" -lgdbm " |
14792 cat > conftest.$ac_ext <<EOF | 14802 cat > conftest.$ac_ext <<EOF |
14793 #line 14795 "configure" | 14803 #line 14804 "configure" |
14794 #include "confdefs.h" | 14804 #include "confdefs.h" |
14795 /* Override any gcc2 internal prototype to avoid an error. */ | 14805 /* Override any gcc2 internal prototype to avoid an error. */ |
14796 /* We use char because int might match the return type of a gcc2 | 14806 /* We use char because int might match the return type of a gcc2 |
14797 builtin and then its argument prototype would still apply. */ | 14807 builtin and then its argument prototype would still apply. */ |
14798 char dbm_open(); | 14808 char dbm_open(); |
14799 | 14809 |
14800 int main() { | 14810 int main() { |
14801 dbm_open() | 14811 dbm_open() |
14802 ; return 0; } | 14812 ; return 0; } |
14803 EOF | 14813 EOF |
14804 if { (eval echo configure:14806: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14814 if { (eval echo configure:14815: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
14805 rm -rf conftest* | 14815 rm -rf conftest* |
14806 eval "ac_cv_lib_$ac_lib_var=yes" | 14816 eval "ac_cv_lib_$ac_lib_var=yes" |
14807 else | 14817 else |
14808 echo "configure: failed program was:" >&5 | 14818 echo "configure: failed program was:" >&5 |
14809 cat conftest.$ac_ext >&5 | 14819 cat conftest.$ac_ext >&5 |
14827 | 14837 |
14828 fi | 14838 fi |
14829 | 14839 |
14830 if test "$with_database_dbm" != "no"; then | 14840 if test "$with_database_dbm" != "no"; then |
14831 echo $ac_n "checking for dbm_open""... $ac_c" 1>&6 | 14841 echo $ac_n "checking for dbm_open""... $ac_c" 1>&6 |
14832 echo "configure:14834: checking for dbm_open" >&5 | 14842 echo "configure:14843: checking for dbm_open" >&5 |
14833 | 14843 |
14834 cat > conftest.$ac_ext <<EOF | 14844 cat > conftest.$ac_ext <<EOF |
14835 #line 14837 "configure" | 14845 #line 14846 "configure" |
14836 #include "confdefs.h" | 14846 #include "confdefs.h" |
14837 /* System header to define __stub macros and hopefully few prototypes, | 14847 /* System header to define __stub macros and hopefully few prototypes, |
14838 which can conflict with char dbm_open(); below. */ | 14848 which can conflict with char dbm_open(); below. */ |
14839 #include <assert.h> | 14849 #include <assert.h> |
14840 /* Override any gcc2 internal prototype to avoid an error. */ | 14850 /* Override any gcc2 internal prototype to avoid an error. */ |
14853 dbm_open(); | 14863 dbm_open(); |
14854 #endif | 14864 #endif |
14855 | 14865 |
14856 ; return 0; } | 14866 ; return 0; } |
14857 EOF | 14867 EOF |
14858 if { (eval echo configure:14860: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14868 if { (eval echo configure:14869: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
14859 rm -rf conftest* | 14869 rm -rf conftest* |
14860 eval "ac_cv_func_dbm_open=yes" | 14870 eval "ac_cv_func_dbm_open=yes" |
14861 else | 14871 else |
14862 echo "configure: failed program was:" >&5 | 14872 echo "configure: failed program was:" >&5 |
14863 cat conftest.$ac_ext >&5 | 14873 cat conftest.$ac_ext >&5 |
14872 else | 14882 else |
14873 echo "$ac_t""no" 1>&6 | 14883 echo "$ac_t""no" 1>&6 |
14874 | 14884 |
14875 | 14885 |
14876 echo $ac_n "checking for dbm_open in -ldbm""... $ac_c" 1>&6 | 14886 echo $ac_n "checking for dbm_open in -ldbm""... $ac_c" 1>&6 |
14877 echo "configure:14879: checking for dbm_open in -ldbm" >&5 | 14887 echo "configure:14888: checking for dbm_open in -ldbm" >&5 |
14878 ac_lib_var=`echo dbm'_'dbm_open | sed 'y%./+-%__p_%'` | 14888 ac_lib_var=`echo dbm'_'dbm_open | sed 'y%./+-%__p_%'` |
14879 | 14889 |
14880 xe_check_libs=" -ldbm " | 14890 xe_check_libs=" -ldbm " |
14881 cat > conftest.$ac_ext <<EOF | 14891 cat > conftest.$ac_ext <<EOF |
14882 #line 14884 "configure" | 14892 #line 14893 "configure" |
14883 #include "confdefs.h" | 14893 #include "confdefs.h" |
14884 /* Override any gcc2 internal prototype to avoid an error. */ | 14894 /* Override any gcc2 internal prototype to avoid an error. */ |
14885 /* We use char because int might match the return type of a gcc2 | 14895 /* We use char because int might match the return type of a gcc2 |
14886 builtin and then its argument prototype would still apply. */ | 14896 builtin and then its argument prototype would still apply. */ |
14887 char dbm_open(); | 14897 char dbm_open(); |
14888 | 14898 |
14889 int main() { | 14899 int main() { |
14890 dbm_open() | 14900 dbm_open() |
14891 ; return 0; } | 14901 ; return 0; } |
14892 EOF | 14902 EOF |
14893 if { (eval echo configure:14895: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14903 if { (eval echo configure:14904: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
14894 rm -rf conftest* | 14904 rm -rf conftest* |
14895 eval "ac_cv_lib_$ac_lib_var=yes" | 14905 eval "ac_cv_lib_$ac_lib_var=yes" |
14896 else | 14906 else |
14897 echo "configure: failed program was:" >&5 | 14907 echo "configure: failed program was:" >&5 |
14898 cat conftest.$ac_ext >&5 | 14908 cat conftest.$ac_ext >&5 |
14929 } | 14939 } |
14930 | 14940 |
14931 | 14941 |
14932 if test "$with_database_berkdb" != "no"; then | 14942 if test "$with_database_berkdb" != "no"; then |
14933 echo $ac_n "checking for Berkeley db.h""... $ac_c" 1>&6 | 14943 echo $ac_n "checking for Berkeley db.h""... $ac_c" 1>&6 |
14934 echo "configure:14936: checking for Berkeley db.h" >&5 | 14944 echo "configure:14945: checking for Berkeley db.h" >&5 |
14935 for header in "db/db.h" "db.h"; do | 14945 for header in "db/db.h" "db.h"; do |
14936 cat > conftest.$ac_ext <<EOF | 14946 cat > conftest.$ac_ext <<EOF |
14937 #line 14939 "configure" | 14947 #line 14948 "configure" |
14938 #include "confdefs.h" | 14948 #include "confdefs.h" |
14939 | 14949 |
14940 #include <stdlib.h> | 14950 #include <stdlib.h> |
14941 #if !(defined __GLIBC__ && __GLIBC_MINOR__ >= 1) | 14951 #if !(defined __GLIBC__ && __GLIBC_MINOR__ >= 1) |
14942 #ifdef HAVE_INTTYPES_H | 14952 #ifdef HAVE_INTTYPES_H |
14954 | 14964 |
14955 int main() { | 14965 int main() { |
14956 | 14966 |
14957 ; return 0; } | 14967 ; return 0; } |
14958 EOF | 14968 EOF |
14959 if { (eval echo configure:14961: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 14969 if { (eval echo configure:14970: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
14960 rm -rf conftest* | 14970 rm -rf conftest* |
14961 db_h_file="$header"; break | 14971 db_h_file="$header"; break |
14962 else | 14972 else |
14963 echo "configure: failed program was:" >&5 | 14973 echo "configure: failed program was:" >&5 |
14964 cat conftest.$ac_ext >&5 | 14974 cat conftest.$ac_ext >&5 |
14970 else echo "$ac_t""$db_h_file" 1>&6 | 14980 else echo "$ac_t""$db_h_file" 1>&6 |
14971 fi | 14981 fi |
14972 | 14982 |
14973 if test "$with_database_berkdb" != "no"; then | 14983 if test "$with_database_berkdb" != "no"; then |
14974 echo $ac_n "checking for Berkeley DB version""... $ac_c" 1>&6 | 14984 echo $ac_n "checking for Berkeley DB version""... $ac_c" 1>&6 |
14975 echo "configure:14977: checking for Berkeley DB version" >&5 | 14985 echo "configure:14986: checking for Berkeley DB version" >&5 |
14976 cat > conftest.$ac_ext <<EOF | 14986 cat > conftest.$ac_ext <<EOF |
14977 #line 14979 "configure" | 14987 #line 14988 "configure" |
14978 #include "confdefs.h" | 14988 #include "confdefs.h" |
14979 #include <$db_h_file> | 14989 #include <$db_h_file> |
14980 #if DB_VERSION_MAJOR > 1 | 14990 #if DB_VERSION_MAJOR > 1 |
14981 yes | 14991 yes |
14982 #endif | 14992 #endif |
14984 EOF | 14994 EOF |
14985 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 14995 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
14986 egrep "yes" >/dev/null 2>&1; then | 14996 egrep "yes" >/dev/null 2>&1; then |
14987 rm -rf conftest* | 14997 rm -rf conftest* |
14988 cat > conftest.$ac_ext <<EOF | 14998 cat > conftest.$ac_ext <<EOF |
14989 #line 14991 "configure" | 14999 #line 15000 "configure" |
14990 #include "confdefs.h" | 15000 #include "confdefs.h" |
14991 #include <$db_h_file> | 15001 #include <$db_h_file> |
14992 #if DB_VERSION_MAJOR > 2 | 15002 #if DB_VERSION_MAJOR > 2 |
14993 yes | 15003 yes |
14994 #endif | 15004 #endif |
15011 echo "$ac_t""1" 1>&6; dbfunc=dbopen | 15021 echo "$ac_t""1" 1>&6; dbfunc=dbopen |
15012 fi | 15022 fi |
15013 rm -f conftest* | 15023 rm -f conftest* |
15014 | 15024 |
15015 echo $ac_n "checking for $dbfunc""... $ac_c" 1>&6 | 15025 echo $ac_n "checking for $dbfunc""... $ac_c" 1>&6 |
15016 echo "configure:15018: checking for $dbfunc" >&5 | 15026 echo "configure:15027: checking for $dbfunc" >&5 |
15017 | 15027 |
15018 cat > conftest.$ac_ext <<EOF | 15028 cat > conftest.$ac_ext <<EOF |
15019 #line 15021 "configure" | 15029 #line 15030 "configure" |
15020 #include "confdefs.h" | 15030 #include "confdefs.h" |
15021 /* System header to define __stub macros and hopefully few prototypes, | 15031 /* System header to define __stub macros and hopefully few prototypes, |
15022 which can conflict with char $dbfunc(); below. */ | 15032 which can conflict with char $dbfunc(); below. */ |
15023 #include <assert.h> | 15033 #include <assert.h> |
15024 /* Override any gcc2 internal prototype to avoid an error. */ | 15034 /* Override any gcc2 internal prototype to avoid an error. */ |
15037 $dbfunc(); | 15047 $dbfunc(); |
15038 #endif | 15048 #endif |
15039 | 15049 |
15040 ; return 0; } | 15050 ; return 0; } |
15041 EOF | 15051 EOF |
15042 if { (eval echo configure:15044: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 15052 if { (eval echo configure:15053: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
15043 rm -rf conftest* | 15053 rm -rf conftest* |
15044 eval "ac_cv_func_$dbfunc=yes" | 15054 eval "ac_cv_func_$dbfunc=yes" |
15045 else | 15055 else |
15046 echo "configure: failed program was:" >&5 | 15056 echo "configure: failed program was:" >&5 |
15047 cat conftest.$ac_ext >&5 | 15057 cat conftest.$ac_ext >&5 |
15056 else | 15066 else |
15057 echo "$ac_t""no" 1>&6 | 15067 echo "$ac_t""no" 1>&6 |
15058 | 15068 |
15059 | 15069 |
15060 echo $ac_n "checking for $dbfunc in -ldb""... $ac_c" 1>&6 | 15070 echo $ac_n "checking for $dbfunc in -ldb""... $ac_c" 1>&6 |
15061 echo "configure:15063: checking for $dbfunc in -ldb" >&5 | 15071 echo "configure:15072: checking for $dbfunc in -ldb" >&5 |
15062 ac_lib_var=`echo db'_'$dbfunc | sed 'y%./+-%__p_%'` | 15072 ac_lib_var=`echo db'_'$dbfunc | sed 'y%./+-%__p_%'` |
15063 | 15073 |
15064 xe_check_libs=" -ldb " | 15074 xe_check_libs=" -ldb " |
15065 cat > conftest.$ac_ext <<EOF | 15075 cat > conftest.$ac_ext <<EOF |
15066 #line 15068 "configure" | 15076 #line 15077 "configure" |
15067 #include "confdefs.h" | 15077 #include "confdefs.h" |
15068 /* Override any gcc2 internal prototype to avoid an error. */ | 15078 /* Override any gcc2 internal prototype to avoid an error. */ |
15069 /* We use char because int might match the return type of a gcc2 | 15079 /* We use char because int might match the return type of a gcc2 |
15070 builtin and then its argument prototype would still apply. */ | 15080 builtin and then its argument prototype would still apply. */ |
15071 char $dbfunc(); | 15081 char $dbfunc(); |
15072 | 15082 |
15073 int main() { | 15083 int main() { |
15074 $dbfunc() | 15084 $dbfunc() |
15075 ; return 0; } | 15085 ; return 0; } |
15076 EOF | 15086 EOF |
15077 if { (eval echo configure:15079: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 15087 if { (eval echo configure:15088: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
15078 rm -rf conftest* | 15088 rm -rf conftest* |
15079 eval "ac_cv_lib_$ac_lib_var=yes" | 15089 eval "ac_cv_lib_$ac_lib_var=yes" |
15080 else | 15090 else |
15081 echo "configure: failed program was:" >&5 | 15091 echo "configure: failed program was:" >&5 |
15082 cat conftest.$ac_ext >&5 | 15092 cat conftest.$ac_ext >&5 |
15133 fi | 15143 fi |
15134 | 15144 |
15135 if test "$with_socks" = "yes"; then | 15145 if test "$with_socks" = "yes"; then |
15136 | 15146 |
15137 echo $ac_n "checking for SOCKSinit in -lsocks""... $ac_c" 1>&6 | 15147 echo $ac_n "checking for SOCKSinit in -lsocks""... $ac_c" 1>&6 |
15138 echo "configure:15140: checking for SOCKSinit in -lsocks" >&5 | 15148 echo "configure:15149: checking for SOCKSinit in -lsocks" >&5 |
15139 ac_lib_var=`echo socks'_'SOCKSinit | sed 'y%./+-%__p_%'` | 15149 ac_lib_var=`echo socks'_'SOCKSinit | sed 'y%./+-%__p_%'` |
15140 | 15150 |
15141 xe_check_libs=" -lsocks " | 15151 xe_check_libs=" -lsocks " |
15142 cat > conftest.$ac_ext <<EOF | 15152 cat > conftest.$ac_ext <<EOF |
15143 #line 15145 "configure" | 15153 #line 15154 "configure" |
15144 #include "confdefs.h" | 15154 #include "confdefs.h" |
15145 /* Override any gcc2 internal prototype to avoid an error. */ | 15155 /* Override any gcc2 internal prototype to avoid an error. */ |
15146 /* We use char because int might match the return type of a gcc2 | 15156 /* We use char because int might match the return type of a gcc2 |
15147 builtin and then its argument prototype would still apply. */ | 15157 builtin and then its argument prototype would still apply. */ |
15148 char SOCKSinit(); | 15158 char SOCKSinit(); |
15149 | 15159 |
15150 int main() { | 15160 int main() { |
15151 SOCKSinit() | 15161 SOCKSinit() |
15152 ; return 0; } | 15162 ; return 0; } |
15153 EOF | 15163 EOF |
15154 if { (eval echo configure:15156: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 15164 if { (eval echo configure:15165: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
15155 rm -rf conftest* | 15165 rm -rf conftest* |
15156 eval "ac_cv_lib_$ac_lib_var=yes" | 15166 eval "ac_cv_lib_$ac_lib_var=yes" |
15157 else | 15167 else |
15158 echo "configure: failed program was:" >&5 | 15168 echo "configure: failed program was:" >&5 |
15159 cat conftest.$ac_ext >&5 | 15169 cat conftest.$ac_ext >&5 |
15203 | 15213 |
15204 LIBS="-Bstatic -lut -Bdynamic $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-Bstatic -lut -Bdynamic\" to \$LIBS"; fi | 15214 LIBS="-Bstatic -lut -Bdynamic $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-Bstatic -lut -Bdynamic\" to \$LIBS"; fi |
15205 fi | 15215 fi |
15206 | 15216 |
15207 cat > conftest.$ac_ext <<EOF | 15217 cat > conftest.$ac_ext <<EOF |
15208 #line 15210 "configure" | 15218 #line 15219 "configure" |
15209 #include "confdefs.h" | 15219 #include "confdefs.h" |
15210 int main(int c,char *v[]){return 0;} | 15220 int main(int c,char *v[]){return 0;} |
15211 EOF | 15221 EOF |
15212 if { (eval echo configure:15214: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 15222 if { (eval echo configure:15223: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
15213 then | 15223 then |
15214 : | 15224 : |
15215 else | 15225 else |
15216 conftest_rc="$?" | 15226 conftest_rc="$?" |
15217 echo "configure: failed program was:" >&5 | 15227 echo "configure: failed program was:" >&5 |
15386 for dir in $MAKE_SUBDIR; do echo "import $dir"; done | 15396 for dir in $MAKE_SUBDIR; do echo "import $dir"; done |
15387 ) > .sbinit | 15397 ) > .sbinit |
15388 fi | 15398 fi |
15389 | 15399 |
15390 rm -f core | 15400 rm -f core |
15391 | |
15392 | 15401 |
15393 | 15402 |
15394 | 15403 |
15395 | 15404 |
15396 | 15405 |