Mercurial > hg > xemacs-beta
comparison configure @ 505:6495d35ba9df
[xemacs-hg @ 2001-05-05 08:26:03 by martinb]
Fix default value for opsys
author | martinb |
---|---|
date | Sat, 05 May 2001 08:26:04 +0000 |
parents | 77c75d85635e |
children | 7b35ad872326 |
comparison
equal
deleted
inserted
replaced
504:bcda0b3445a6 | 505:6495d35ba9df |
---|---|
1501 m68k-*-linux* ) machine=m68k opsys=linux ;; | 1501 m68k-*-linux* ) machine=m68k opsys=linux ;; |
1502 | 1502 |
1503 esac | 1503 esac |
1504 | 1504 |
1505 test -z "$machine" && machine=`echo $canonical | sed 's/-.*$//'` | 1505 test -z "$machine" && machine=`echo $canonical | sed 's/-.*$//'` |
1506 test -z "$opsys" && opsys=`echo $canonical | sed 's/^^-*-^-*-//'` | 1506 |
1507 test -z "$opsys" && opsys=`uname -s | tr ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz` | |
1507 | 1508 |
1508 if test -r "${srcdir}/src/m/${machine}.h"; then | 1509 if test -r "${srcdir}/src/m/${machine}.h"; then |
1509 machfile="m/${machine}.h" | 1510 machfile="m/${machine}.h" |
1510 { test "$extra_verbose" = "yes" && cat << EOF | 1511 { test "$extra_verbose" = "yes" && cat << EOF |
1511 Defining config_machfile = "$machfile" | 1512 Defining config_machfile = "$machfile" |
1620 xe_save_CFLAGS="$CFLAGS" | 1621 xe_save_CFLAGS="$CFLAGS" |
1621 | 1622 |
1622 # Extract the first word of "gcc", so it can be a program name with args. | 1623 # Extract the first word of "gcc", so it can be a program name with args. |
1623 set dummy gcc; ac_word=$2 | 1624 set dummy gcc; ac_word=$2 |
1624 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 1625 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
1625 echo "configure:1626: checking for $ac_word" >&5 | 1626 echo "configure:1627: checking for $ac_word" >&5 |
1626 | 1627 |
1627 if test -n "$CC"; then | 1628 if test -n "$CC"; then |
1628 ac_cv_prog_CC="$CC" # Let the user override the test. | 1629 ac_cv_prog_CC="$CC" # Let the user override the test. |
1629 else | 1630 else |
1630 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | 1631 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
1647 | 1648 |
1648 if test -z "$CC"; then | 1649 if test -z "$CC"; then |
1649 # Extract the first word of "cc", so it can be a program name with args. | 1650 # Extract the first word of "cc", so it can be a program name with args. |
1650 set dummy cc; ac_word=$2 | 1651 set dummy cc; ac_word=$2 |
1651 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 1652 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
1652 echo "configure:1653: checking for $ac_word" >&5 | 1653 echo "configure:1654: checking for $ac_word" >&5 |
1653 | 1654 |
1654 if test -n "$CC"; then | 1655 if test -n "$CC"; then |
1655 ac_cv_prog_CC="$CC" # Let the user override the test. | 1656 ac_cv_prog_CC="$CC" # Let the user override the test. |
1656 else | 1657 else |
1657 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | 1658 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
1695 case "`uname -s`" in | 1696 case "`uname -s`" in |
1696 *win32* | *WIN32*) | 1697 *win32* | *WIN32*) |
1697 # Extract the first word of "cl", so it can be a program name with args. | 1698 # Extract the first word of "cl", so it can be a program name with args. |
1698 set dummy cl; ac_word=$2 | 1699 set dummy cl; ac_word=$2 |
1699 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 1700 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
1700 echo "configure:1701: checking for $ac_word" >&5 | 1701 echo "configure:1702: checking for $ac_word" >&5 |
1701 | 1702 |
1702 if test -n "$CC"; then | 1703 if test -n "$CC"; then |
1703 ac_cv_prog_CC="$CC" # Let the user override the test. | 1704 ac_cv_prog_CC="$CC" # Let the user override the test. |
1704 else | 1705 else |
1705 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | 1706 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
1724 fi | 1725 fi |
1725 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } | 1726 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } |
1726 fi | 1727 fi |
1727 | 1728 |
1728 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 | 1729 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 |
1729 echo "configure:1730: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 | 1730 echo "configure:1731: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 |
1730 | 1731 |
1731 ac_ext=c | 1732 ac_ext=c |
1732 xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS' | 1733 xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS' |
1733 xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_switch_x_site $ld_switch_run' | 1734 xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_switch_x_site $ld_switch_run' |
1734 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' | 1735 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' |
1737 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' | 1738 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' |
1738 cross_compiling=no | 1739 cross_compiling=no |
1739 | 1740 |
1740 cat > conftest.$ac_ext << EOF | 1741 cat > conftest.$ac_ext << EOF |
1741 | 1742 |
1742 #line 1743 "configure" | 1743 #line 1744 "configure" |
1743 #include "confdefs.h" | 1744 #include "confdefs.h" |
1744 | 1745 |
1745 main(){return(0);} | 1746 main(){return(0);} |
1746 EOF | 1747 EOF |
1747 if { (eval echo configure:1748: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 1748 if { (eval echo configure:1749: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
1748 ac_cv_prog_cc_works=yes | 1749 ac_cv_prog_cc_works=yes |
1749 # If we can't run a trivial program, we are probably using a cross compiler. | 1750 # If we can't run a trivial program, we are probably using a cross compiler. |
1750 if (./conftest; exit) 2>/dev/null; then | 1751 if (./conftest; exit) 2>/dev/null; then |
1751 ac_cv_prog_cc_cross=no | 1752 ac_cv_prog_cc_cross=no |
1752 else | 1753 else |
1770 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 | 1771 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 |
1771 if test $ac_cv_prog_cc_works = no; then | 1772 if test $ac_cv_prog_cc_works = no; then |
1772 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } | 1773 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } |
1773 fi | 1774 fi |
1774 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 | 1775 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 |
1775 echo "configure:1776: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 | 1776 echo "configure:1777: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 |
1776 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 | 1777 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 |
1777 cross_compiling=$ac_cv_prog_cc_cross | 1778 cross_compiling=$ac_cv_prog_cc_cross |
1778 | 1779 |
1779 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 | 1780 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 |
1780 echo "configure:1781: checking whether we are using GNU C" >&5 | 1781 echo "configure:1782: checking whether we are using GNU C" >&5 |
1781 | 1782 |
1782 cat > conftest.c <<EOF | 1783 cat > conftest.c <<EOF |
1783 #ifdef __GNUC__ | 1784 #ifdef __GNUC__ |
1784 yes; | 1785 yes; |
1785 #endif | 1786 #endif |
1786 EOF | 1787 EOF |
1787 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1788: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then | 1788 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1789: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then |
1788 ac_cv_prog_gcc=yes | 1789 ac_cv_prog_gcc=yes |
1789 else | 1790 else |
1790 ac_cv_prog_gcc=no | 1791 ac_cv_prog_gcc=no |
1791 fi | 1792 fi |
1792 | 1793 |
1800 | 1801 |
1801 ac_test_CFLAGS="${CFLAGS+set}" | 1802 ac_test_CFLAGS="${CFLAGS+set}" |
1802 ac_save_CFLAGS="$CFLAGS" | 1803 ac_save_CFLAGS="$CFLAGS" |
1803 CFLAGS= | 1804 CFLAGS= |
1804 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 | 1805 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 |
1805 echo "configure:1806: checking whether ${CC-cc} accepts -g" >&5 | 1806 echo "configure:1807: checking whether ${CC-cc} accepts -g" >&5 |
1806 | 1807 |
1807 echo 'void f(){}' > conftest.c | 1808 echo 'void f(){}' > conftest.c |
1808 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then | 1809 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then |
1809 ac_cv_prog_cc_g=yes | 1810 ac_cv_prog_cc_g=yes |
1810 else | 1811 else |
1833 if test "$with_gcc" = "no" -a "$GCC" = "yes"; then | 1834 if test "$with_gcc" = "no" -a "$GCC" = "yes"; then |
1834 CC=${NON_GNU_CC-cc} | 1835 CC=${NON_GNU_CC-cc} |
1835 # Extract the first word of "gcc", so it can be a program name with args. | 1836 # Extract the first word of "gcc", so it can be a program name with args. |
1836 set dummy gcc; ac_word=$2 | 1837 set dummy gcc; ac_word=$2 |
1837 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 1838 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
1838 echo "configure:1839: checking for $ac_word" >&5 | 1839 echo "configure:1840: checking for $ac_word" >&5 |
1839 | 1840 |
1840 if test -n "$CC"; then | 1841 if test -n "$CC"; then |
1841 ac_cv_prog_CC="$CC" # Let the user override the test. | 1842 ac_cv_prog_CC="$CC" # Let the user override the test. |
1842 else | 1843 else |
1843 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | 1844 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
1860 | 1861 |
1861 if test -z "$CC"; then | 1862 if test -z "$CC"; then |
1862 # Extract the first word of "cc", so it can be a program name with args. | 1863 # Extract the first word of "cc", so it can be a program name with args. |
1863 set dummy cc; ac_word=$2 | 1864 set dummy cc; ac_word=$2 |
1864 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 1865 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
1865 echo "configure:1866: checking for $ac_word" >&5 | 1866 echo "configure:1867: checking for $ac_word" >&5 |
1866 | 1867 |
1867 if test -n "$CC"; then | 1868 if test -n "$CC"; then |
1868 ac_cv_prog_CC="$CC" # Let the user override the test. | 1869 ac_cv_prog_CC="$CC" # Let the user override the test. |
1869 else | 1870 else |
1870 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | 1871 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
1908 case "`uname -s`" in | 1909 case "`uname -s`" in |
1909 *win32* | *WIN32*) | 1910 *win32* | *WIN32*) |
1910 # Extract the first word of "cl", so it can be a program name with args. | 1911 # Extract the first word of "cl", so it can be a program name with args. |
1911 set dummy cl; ac_word=$2 | 1912 set dummy cl; ac_word=$2 |
1912 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 1913 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
1913 echo "configure:1914: checking for $ac_word" >&5 | 1914 echo "configure:1915: checking for $ac_word" >&5 |
1914 | 1915 |
1915 if test -n "$CC"; then | 1916 if test -n "$CC"; then |
1916 ac_cv_prog_CC="$CC" # Let the user override the test. | 1917 ac_cv_prog_CC="$CC" # Let the user override the test. |
1917 else | 1918 else |
1918 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | 1919 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
1937 fi | 1938 fi |
1938 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } | 1939 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } |
1939 fi | 1940 fi |
1940 | 1941 |
1941 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 | 1942 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 |
1942 echo "configure:1943: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 | 1943 echo "configure:1944: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 |
1943 | 1944 |
1944 ac_ext=c | 1945 ac_ext=c |
1945 xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS' | 1946 xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS' |
1946 xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_switch_x_site $ld_switch_run' | 1947 xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_switch_x_site $ld_switch_run' |
1947 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' | 1948 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' |
1950 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' | 1951 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' |
1951 cross_compiling=no | 1952 cross_compiling=no |
1952 | 1953 |
1953 cat > conftest.$ac_ext << EOF | 1954 cat > conftest.$ac_ext << EOF |
1954 | 1955 |
1955 #line 1956 "configure" | 1956 #line 1957 "configure" |
1956 #include "confdefs.h" | 1957 #include "confdefs.h" |
1957 | 1958 |
1958 main(){return(0);} | 1959 main(){return(0);} |
1959 EOF | 1960 EOF |
1960 if { (eval echo configure:1961: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 1961 if { (eval echo configure:1962: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
1961 ac_cv_prog_cc_works=yes | 1962 ac_cv_prog_cc_works=yes |
1962 # If we can't run a trivial program, we are probably using a cross compiler. | 1963 # If we can't run a trivial program, we are probably using a cross compiler. |
1963 if (./conftest; exit) 2>/dev/null; then | 1964 if (./conftest; exit) 2>/dev/null; then |
1964 ac_cv_prog_cc_cross=no | 1965 ac_cv_prog_cc_cross=no |
1965 else | 1966 else |
1983 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 | 1984 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 |
1984 if test $ac_cv_prog_cc_works = no; then | 1985 if test $ac_cv_prog_cc_works = no; then |
1985 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } | 1986 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } |
1986 fi | 1987 fi |
1987 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 | 1988 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 |
1988 echo "configure:1989: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 | 1989 echo "configure:1990: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 |
1989 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 | 1990 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 |
1990 cross_compiling=$ac_cv_prog_cc_cross | 1991 cross_compiling=$ac_cv_prog_cc_cross |
1991 | 1992 |
1992 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 | 1993 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 |
1993 echo "configure:1994: checking whether we are using GNU C" >&5 | 1994 echo "configure:1995: checking whether we are using GNU C" >&5 |
1994 | 1995 |
1995 cat > conftest.c <<EOF | 1996 cat > conftest.c <<EOF |
1996 #ifdef __GNUC__ | 1997 #ifdef __GNUC__ |
1997 yes; | 1998 yes; |
1998 #endif | 1999 #endif |
1999 EOF | 2000 EOF |
2000 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:2001: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then | 2001 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:2002: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then |
2001 ac_cv_prog_gcc=yes | 2002 ac_cv_prog_gcc=yes |
2002 else | 2003 else |
2003 ac_cv_prog_gcc=no | 2004 ac_cv_prog_gcc=no |
2004 fi | 2005 fi |
2005 | 2006 |
2013 | 2014 |
2014 ac_test_CFLAGS="${CFLAGS+set}" | 2015 ac_test_CFLAGS="${CFLAGS+set}" |
2015 ac_save_CFLAGS="$CFLAGS" | 2016 ac_save_CFLAGS="$CFLAGS" |
2016 CFLAGS= | 2017 CFLAGS= |
2017 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 | 2018 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 |
2018 echo "configure:2019: checking whether ${CC-cc} accepts -g" >&5 | 2019 echo "configure:2020: checking whether ${CC-cc} accepts -g" >&5 |
2019 | 2020 |
2020 echo 'void f(){}' > conftest.c | 2021 echo 'void f(){}' > conftest.c |
2021 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then | 2022 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then |
2022 ac_cv_prog_cc_g=yes | 2023 ac_cv_prog_cc_g=yes |
2023 else | 2024 else |
2046 elif test "$with_gcc" = "yes" -a "$GCC" != "yes" ; then | 2047 elif test "$with_gcc" = "yes" -a "$GCC" != "yes" ; then |
2047 CC=gcc | 2048 CC=gcc |
2048 # Extract the first word of "gcc", so it can be a program name with args. | 2049 # Extract the first word of "gcc", so it can be a program name with args. |
2049 set dummy gcc; ac_word=$2 | 2050 set dummy gcc; ac_word=$2 |
2050 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 2051 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
2051 echo "configure:2052: checking for $ac_word" >&5 | 2052 echo "configure:2053: checking for $ac_word" >&5 |
2052 | 2053 |
2053 if test -n "$CC"; then | 2054 if test -n "$CC"; then |
2054 ac_cv_prog_CC="$CC" # Let the user override the test. | 2055 ac_cv_prog_CC="$CC" # Let the user override the test. |
2055 else | 2056 else |
2056 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | 2057 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
2073 | 2074 |
2074 if test -z "$CC"; then | 2075 if test -z "$CC"; then |
2075 # Extract the first word of "cc", so it can be a program name with args. | 2076 # Extract the first word of "cc", so it can be a program name with args. |
2076 set dummy cc; ac_word=$2 | 2077 set dummy cc; ac_word=$2 |
2077 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 2078 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
2078 echo "configure:2079: checking for $ac_word" >&5 | 2079 echo "configure:2080: checking for $ac_word" >&5 |
2079 | 2080 |
2080 if test -n "$CC"; then | 2081 if test -n "$CC"; then |
2081 ac_cv_prog_CC="$CC" # Let the user override the test. | 2082 ac_cv_prog_CC="$CC" # Let the user override the test. |
2082 else | 2083 else |
2083 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | 2084 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
2121 case "`uname -s`" in | 2122 case "`uname -s`" in |
2122 *win32* | *WIN32*) | 2123 *win32* | *WIN32*) |
2123 # Extract the first word of "cl", so it can be a program name with args. | 2124 # Extract the first word of "cl", so it can be a program name with args. |
2124 set dummy cl; ac_word=$2 | 2125 set dummy cl; ac_word=$2 |
2125 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 2126 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
2126 echo "configure:2127: checking for $ac_word" >&5 | 2127 echo "configure:2128: checking for $ac_word" >&5 |
2127 | 2128 |
2128 if test -n "$CC"; then | 2129 if test -n "$CC"; then |
2129 ac_cv_prog_CC="$CC" # Let the user override the test. | 2130 ac_cv_prog_CC="$CC" # Let the user override the test. |
2130 else | 2131 else |
2131 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | 2132 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
2150 fi | 2151 fi |
2151 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } | 2152 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } |
2152 fi | 2153 fi |
2153 | 2154 |
2154 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 | 2155 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 |
2155 echo "configure:2156: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 | 2156 echo "configure:2157: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 |
2156 | 2157 |
2157 ac_ext=c | 2158 ac_ext=c |
2158 xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS' | 2159 xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS' |
2159 xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_switch_x_site $ld_switch_run' | 2160 xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_switch_x_site $ld_switch_run' |
2160 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' | 2161 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' |
2163 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' | 2164 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' |
2164 cross_compiling=no | 2165 cross_compiling=no |
2165 | 2166 |
2166 cat > conftest.$ac_ext << EOF | 2167 cat > conftest.$ac_ext << EOF |
2167 | 2168 |
2168 #line 2169 "configure" | 2169 #line 2170 "configure" |
2169 #include "confdefs.h" | 2170 #include "confdefs.h" |
2170 | 2171 |
2171 main(){return(0);} | 2172 main(){return(0);} |
2172 EOF | 2173 EOF |
2173 if { (eval echo configure:2174: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 2174 if { (eval echo configure:2175: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
2174 ac_cv_prog_cc_works=yes | 2175 ac_cv_prog_cc_works=yes |
2175 # If we can't run a trivial program, we are probably using a cross compiler. | 2176 # If we can't run a trivial program, we are probably using a cross compiler. |
2176 if (./conftest; exit) 2>/dev/null; then | 2177 if (./conftest; exit) 2>/dev/null; then |
2177 ac_cv_prog_cc_cross=no | 2178 ac_cv_prog_cc_cross=no |
2178 else | 2179 else |
2196 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 | 2197 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 |
2197 if test $ac_cv_prog_cc_works = no; then | 2198 if test $ac_cv_prog_cc_works = no; then |
2198 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } | 2199 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } |
2199 fi | 2200 fi |
2200 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 | 2201 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 |
2201 echo "configure:2202: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 | 2202 echo "configure:2203: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 |
2202 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 | 2203 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 |
2203 cross_compiling=$ac_cv_prog_cc_cross | 2204 cross_compiling=$ac_cv_prog_cc_cross |
2204 | 2205 |
2205 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 | 2206 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 |
2206 echo "configure:2207: checking whether we are using GNU C" >&5 | 2207 echo "configure:2208: checking whether we are using GNU C" >&5 |
2207 | 2208 |
2208 cat > conftest.c <<EOF | 2209 cat > conftest.c <<EOF |
2209 #ifdef __GNUC__ | 2210 #ifdef __GNUC__ |
2210 yes; | 2211 yes; |
2211 #endif | 2212 #endif |
2212 EOF | 2213 EOF |
2213 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:2214: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then | 2214 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:2215: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then |
2214 ac_cv_prog_gcc=yes | 2215 ac_cv_prog_gcc=yes |
2215 else | 2216 else |
2216 ac_cv_prog_gcc=no | 2217 ac_cv_prog_gcc=no |
2217 fi | 2218 fi |
2218 | 2219 |
2226 | 2227 |
2227 ac_test_CFLAGS="${CFLAGS+set}" | 2228 ac_test_CFLAGS="${CFLAGS+set}" |
2228 ac_save_CFLAGS="$CFLAGS" | 2229 ac_save_CFLAGS="$CFLAGS" |
2229 CFLAGS= | 2230 CFLAGS= |
2230 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 | 2231 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 |
2231 echo "configure:2232: checking whether ${CC-cc} accepts -g" >&5 | 2232 echo "configure:2233: checking whether ${CC-cc} accepts -g" >&5 |
2232 | 2233 |
2233 echo 'void f(){}' > conftest.c | 2234 echo 'void f(){}' > conftest.c |
2234 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then | 2235 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then |
2235 ac_cv_prog_cc_g=yes | 2236 ac_cv_prog_cc_g=yes |
2236 else | 2237 else |
2263 test -n "$CPP" -a -d "$CPP" && CPP= | 2264 test -n "$CPP" -a -d "$CPP" && CPP= |
2264 | 2265 |
2265 test -n "$NON_GNU_CPP" -a "$GCC" != "yes" -a -z "$CPP" && CPP="$NON_GNU_CPP" | 2266 test -n "$NON_GNU_CPP" -a "$GCC" != "yes" -a -z "$CPP" && CPP="$NON_GNU_CPP" |
2266 | 2267 |
2267 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6 | 2268 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6 |
2268 echo "configure:2269: checking how to run the C preprocessor" >&5 | 2269 echo "configure:2270: checking how to run the C preprocessor" >&5 |
2269 # On Suns, sometimes $CPP names a directory. | 2270 # On Suns, sometimes $CPP names a directory. |
2270 if test -n "$CPP" && test -d "$CPP"; then | 2271 if test -n "$CPP" && test -d "$CPP"; then |
2271 CPP= | 2272 CPP= |
2272 fi | 2273 fi |
2273 if test -z "$CPP"; then | 2274 if test -z "$CPP"; then |
2276 # substituted into the Makefile and "${CC-cc}" will confuse make. | 2277 # substituted into the Makefile and "${CC-cc}" will confuse make. |
2277 CPP="${CC-cc} -E" | 2278 CPP="${CC-cc} -E" |
2278 # On the NeXT, cc -E runs the code through the compiler's parser, | 2279 # On the NeXT, cc -E runs the code through the compiler's parser, |
2279 # not just through cpp. | 2280 # not just through cpp. |
2280 cat > conftest.$ac_ext <<EOF | 2281 cat > conftest.$ac_ext <<EOF |
2281 #line 2282 "configure" | 2282 #line 2283 "configure" |
2282 #include "confdefs.h" | 2283 #include "confdefs.h" |
2283 #include <assert.h> | 2284 #include <assert.h> |
2284 Syntax Error | 2285 Syntax Error |
2285 EOF | 2286 EOF |
2286 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 2287 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
2287 { (eval echo configure:2288: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 2288 { (eval echo configure:2289: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
2288 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 2289 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
2289 if test -z "$ac_err"; then | 2290 if test -z "$ac_err"; then |
2290 : | 2291 : |
2291 else | 2292 else |
2292 echo "$ac_err" >&5 | 2293 echo "$ac_err" >&5 |
2293 echo "configure: failed program was:" >&5 | 2294 echo "configure: failed program was:" >&5 |
2294 cat conftest.$ac_ext >&5 | 2295 cat conftest.$ac_ext >&5 |
2295 rm -rf conftest* | 2296 rm -rf conftest* |
2296 CPP="${CC-cc} -E -traditional-cpp" | 2297 CPP="${CC-cc} -E -traditional-cpp" |
2297 cat > conftest.$ac_ext <<EOF | 2298 cat > conftest.$ac_ext <<EOF |
2298 #line 2299 "configure" | 2299 #line 2300 "configure" |
2299 #include "confdefs.h" | 2300 #include "confdefs.h" |
2300 #include <assert.h> | 2301 #include <assert.h> |
2301 Syntax Error | 2302 Syntax Error |
2302 EOF | 2303 EOF |
2303 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 2304 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
2304 { (eval echo configure:2305: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 2305 { (eval echo configure:2306: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
2305 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 2306 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
2306 if test -z "$ac_err"; then | 2307 if test -z "$ac_err"; then |
2307 : | 2308 : |
2308 else | 2309 else |
2309 echo "$ac_err" >&5 | 2310 echo "$ac_err" >&5 |
2310 echo "configure: failed program was:" >&5 | 2311 echo "configure: failed program was:" >&5 |
2311 cat conftest.$ac_ext >&5 | 2312 cat conftest.$ac_ext >&5 |
2312 rm -rf conftest* | 2313 rm -rf conftest* |
2313 CPP="${CC-cc} -nologo -E" | 2314 CPP="${CC-cc} -nologo -E" |
2314 cat > conftest.$ac_ext <<EOF | 2315 cat > conftest.$ac_ext <<EOF |
2315 #line 2316 "configure" | 2316 #line 2317 "configure" |
2316 #include "confdefs.h" | 2317 #include "confdefs.h" |
2317 #include <assert.h> | 2318 #include <assert.h> |
2318 Syntax Error | 2319 Syntax Error |
2319 EOF | 2320 EOF |
2320 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 2321 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
2321 { (eval echo configure:2322: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 2322 { (eval echo configure:2323: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
2322 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 2323 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
2323 if test -z "$ac_err"; then | 2324 if test -z "$ac_err"; then |
2324 : | 2325 : |
2325 else | 2326 else |
2326 echo "$ac_err" >&5 | 2327 echo "$ac_err" >&5 |
2342 echo "$ac_t""$CPP" 1>&6 | 2343 echo "$ac_t""$CPP" 1>&6 |
2343 | 2344 |
2344 | 2345 |
2345 | 2346 |
2346 echo $ac_n "checking for AIX""... $ac_c" 1>&6 | 2347 echo $ac_n "checking for AIX""... $ac_c" 1>&6 |
2347 echo "configure:2348: checking for AIX" >&5 | 2348 echo "configure:2349: checking for AIX" >&5 |
2348 cat > conftest.$ac_ext <<EOF | 2349 cat > conftest.$ac_ext <<EOF |
2349 #line 2350 "configure" | 2350 #line 2351 "configure" |
2350 #include "confdefs.h" | 2351 #include "confdefs.h" |
2351 #ifdef _AIX | 2352 #ifdef _AIX |
2352 yes | 2353 yes |
2353 #endif | 2354 #endif |
2354 | 2355 |
2371 rm -f conftest* | 2372 rm -f conftest* |
2372 | 2373 |
2373 | 2374 |
2374 | 2375 |
2375 echo $ac_n "checking for GNU libc""... $ac_c" 1>&6 | 2376 echo $ac_n "checking for GNU libc""... $ac_c" 1>&6 |
2376 echo "configure:2377: checking for GNU libc" >&5 | 2377 echo "configure:2378: checking for GNU libc" >&5 |
2377 cat > conftest.$ac_ext <<EOF | 2378 cat > conftest.$ac_ext <<EOF |
2378 #line 2379 "configure" | 2379 #line 2380 "configure" |
2379 #include "confdefs.h" | 2380 #include "confdefs.h" |
2380 #include <features.h> | 2381 #include <features.h> |
2381 int main() { | 2382 int main() { |
2382 | 2383 |
2383 #if ! (defined __GLIBC__ || defined __GNU_LIBRARY__) | 2384 #if ! (defined __GLIBC__ || defined __GNU_LIBRARY__) |
2385 ******* ======= ******** &&&&&&&& | 2386 ******* ======= ******** &&&&&&&& |
2386 #endif | 2387 #endif |
2387 | 2388 |
2388 ; return 0; } | 2389 ; return 0; } |
2389 EOF | 2390 EOF |
2390 if { (eval echo configure:2391: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 2391 if { (eval echo configure:2392: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
2391 rm -rf conftest* | 2392 rm -rf conftest* |
2392 have_glibc=yes | 2393 have_glibc=yes |
2393 else | 2394 else |
2394 echo "configure: failed program was:" >&5 | 2395 echo "configure: failed program was:" >&5 |
2395 cat conftest.$ac_ext >&5 | 2396 cat conftest.$ac_ext >&5 |
2462 | 2463 |
2463 ;; | 2464 ;; |
2464 esac | 2465 esac |
2465 | 2466 |
2466 cat > conftest.$ac_ext <<EOF | 2467 cat > conftest.$ac_ext <<EOF |
2467 #line 2468 "configure" | 2468 #line 2469 "configure" |
2468 #include "confdefs.h" | 2469 #include "confdefs.h" |
2469 int main () { | 2470 int main () { |
2470 #if defined __SUNPRO_C | 2471 #if defined __SUNPRO_C |
2471 return 11; | 2472 return 11; |
2472 #elif defined __DECC | 2473 #elif defined __DECC |
2476 #else | 2477 #else |
2477 return 0; | 2478 return 0; |
2478 #endif | 2479 #endif |
2479 } | 2480 } |
2480 EOF | 2481 EOF |
2481 if { (eval echo configure:2482: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 2482 if { (eval echo configure:2483: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
2482 then | 2483 then |
2483 : | 2484 : |
2484 else | 2485 else |
2485 conftest_rc="$?" | 2486 conftest_rc="$?" |
2486 echo "configure: failed program was:" >&5 | 2487 echo "configure: failed program was:" >&5 |
2710 | 2711 |
2711 test "$__DECC" = "yes" && c_switch_site="$c_switch_site -std1" && if test "$extra_verbose" = "yes"; then echo " Appending \"-std1\" to \$c_switch_site"; fi | 2712 test "$__DECC" = "yes" && c_switch_site="$c_switch_site -std1" && if test "$extra_verbose" = "yes"; then echo " Appending \"-std1\" to \$c_switch_site"; fi |
2712 | 2713 |
2713 if test "$__USLC__" = yes; then | 2714 if test "$__USLC__" = yes; then |
2714 echo $ac_n "checking for whether the -Kalloca compiler flag is needed""... $ac_c" 1>&6 | 2715 echo $ac_n "checking for whether the -Kalloca compiler flag is needed""... $ac_c" 1>&6 |
2715 echo "configure:2716: checking for whether the -Kalloca compiler flag is needed" >&5 | 2716 echo "configure:2717: checking for whether the -Kalloca compiler flag is needed" >&5 |
2716 need_kalloca=no | 2717 need_kalloca=no |
2717 cat > conftest.$ac_ext <<EOF | 2718 cat > conftest.$ac_ext <<EOF |
2718 #line 2719 "configure" | 2719 #line 2720 "configure" |
2719 #include "confdefs.h" | 2720 #include "confdefs.h" |
2720 | 2721 |
2721 int main() { | 2722 int main() { |
2722 void *x = alloca(4); | 2723 void *x = alloca(4); |
2723 ; return 0; } | 2724 ; return 0; } |
2724 EOF | 2725 EOF |
2725 if { (eval echo configure:2726: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 2726 if { (eval echo configure:2727: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
2726 rm -rf conftest* | 2727 rm -rf conftest* |
2727 : | 2728 : |
2728 else | 2729 else |
2729 echo "configure: failed program was:" >&5 | 2730 echo "configure: failed program was:" >&5 |
2730 cat conftest.$ac_ext >&5 | 2731 cat conftest.$ac_ext >&5 |
2731 rm -rf conftest* | 2732 rm -rf conftest* |
2732 | 2733 |
2733 xe_save_c_switch_system="$c_switch_system" | 2734 xe_save_c_switch_system="$c_switch_system" |
2734 c_switch_system="$c_switch_system -Kalloca" | 2735 c_switch_system="$c_switch_system -Kalloca" |
2735 cat > conftest.$ac_ext <<EOF | 2736 cat > conftest.$ac_ext <<EOF |
2736 #line 2737 "configure" | 2737 #line 2738 "configure" |
2737 #include "confdefs.h" | 2738 #include "confdefs.h" |
2738 | 2739 |
2739 int main() { | 2740 int main() { |
2740 void *x = alloca(4); | 2741 void *x = alloca(4); |
2741 ; return 0; } | 2742 ; return 0; } |
2742 EOF | 2743 EOF |
2743 if { (eval echo configure:2744: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 2744 if { (eval echo configure:2745: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
2744 rm -rf conftest* | 2745 rm -rf conftest* |
2745 need_kalloca=yes | 2746 need_kalloca=yes |
2746 else | 2747 else |
2747 echo "configure: failed program was:" >&5 | 2748 echo "configure: failed program was:" >&5 |
2748 cat conftest.$ac_ext >&5 | 2749 cat conftest.$ac_ext >&5 |
2773 CFLAGS="-O" ; fi | 2774 CFLAGS="-O" ; fi |
2774 fi | 2775 fi |
2775 | 2776 |
2776 if test "$GCC" = "yes"; then | 2777 if test "$GCC" = "yes"; then |
2777 echo $ac_n "checking for buggy gcc versions""... $ac_c" 1>&6 | 2778 echo $ac_n "checking for buggy gcc versions""... $ac_c" 1>&6 |
2778 echo "configure:2779: checking for buggy gcc versions" >&5 | 2779 echo "configure:2780: checking for buggy gcc versions" >&5 |
2779 GCC_VERSION=`$CC --version` | 2780 GCC_VERSION=`$CC --version` |
2780 case `uname -s`:`uname -m`:$GCC_VERSION in | 2781 case `uname -s`:`uname -m`:$GCC_VERSION in |
2781 *:sun4*:2.8.1|*:sun4*:egcs-2.90.*) | 2782 *:sun4*:2.8.1|*:sun4*:egcs-2.90.*) |
2782 case "$CFLAGS" in | 2783 case "$CFLAGS" in |
2783 *-O2*|*-O3*) | 2784 *-O2*|*-O3*) |
2896 test "$pdump" = "yes" && extra_objs="$extra_objs dumper.o" && if test "$extra_verbose" = "yes"; then | 2897 test "$pdump" = "yes" && extra_objs="$extra_objs dumper.o" && if test "$extra_verbose" = "yes"; then |
2897 echo " xemacs will be linked with \"dumper.o\"" | 2898 echo " xemacs will be linked with \"dumper.o\"" |
2898 fi | 2899 fi |
2899 | 2900 |
2900 echo $ac_n "checking for dynodump""... $ac_c" 1>&6 | 2901 echo $ac_n "checking for dynodump""... $ac_c" 1>&6 |
2901 echo "configure:2902: checking for dynodump" >&5 | 2902 echo "configure:2903: checking for dynodump" >&5 |
2902 if test "$unexec" != "unexsol2.o"; then | 2903 if test "$unexec" != "unexsol2.o"; then |
2903 echo "$ac_t""no" 1>&6 | 2904 echo "$ac_t""no" 1>&6 |
2904 else | 2905 else |
2905 echo "$ac_t""yes" 1>&6 | 2906 echo "$ac_t""yes" 1>&6 |
2906 { test "$extra_verbose" = "yes" && cat << \EOF | 2907 { test "$extra_verbose" = "yes" && cat << \EOF |
2934 for f in "/usr/lpp/X11/bin/smt.exp" "/usr/bin/X11/smt.exp"; do | 2935 for f in "/usr/lpp/X11/bin/smt.exp" "/usr/bin/X11/smt.exp"; do |
2935 if test -r "$f"; then start_flags="${start_flags},-bI:${f}"; break; fi | 2936 if test -r "$f"; then start_flags="${start_flags},-bI:${f}"; break; fi |
2936 done | 2937 done |
2937 | 2938 |
2938 echo $ac_n "checking for terminateAndUnload in -lC""... $ac_c" 1>&6 | 2939 echo $ac_n "checking for terminateAndUnload in -lC""... $ac_c" 1>&6 |
2939 echo "configure:2940: checking for terminateAndUnload in -lC" >&5 | 2940 echo "configure:2941: checking for terminateAndUnload in -lC" >&5 |
2940 ac_lib_var=`echo C'_'terminateAndUnload | sed 'y%./+-%__p_%'` | 2941 ac_lib_var=`echo C'_'terminateAndUnload | sed 'y%./+-%__p_%'` |
2941 | 2942 |
2942 xe_check_libs=" -lC " | 2943 xe_check_libs=" -lC " |
2943 cat > conftest.$ac_ext <<EOF | 2944 cat > conftest.$ac_ext <<EOF |
2944 #line 2945 "configure" | 2945 #line 2946 "configure" |
2945 #include "confdefs.h" | 2946 #include "confdefs.h" |
2946 /* Override any gcc2 internal prototype to avoid an error. */ | 2947 /* Override any gcc2 internal prototype to avoid an error. */ |
2947 /* We use char because int might match the return type of a gcc2 | 2948 /* We use char because int might match the return type of a gcc2 |
2948 builtin and then its argument prototype would still apply. */ | 2949 builtin and then its argument prototype would still apply. */ |
2949 char terminateAndUnload(); | 2950 char terminateAndUnload(); |
2950 | 2951 |
2951 int main() { | 2952 int main() { |
2952 terminateAndUnload() | 2953 terminateAndUnload() |
2953 ; return 0; } | 2954 ; return 0; } |
2954 EOF | 2955 EOF |
2955 if { (eval echo configure:2956: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 2956 if { (eval echo configure:2957: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
2956 rm -rf conftest* | 2957 rm -rf conftest* |
2957 eval "ac_cv_lib_$ac_lib_var=yes" | 2958 eval "ac_cv_lib_$ac_lib_var=yes" |
2958 else | 2959 else |
2959 echo "configure: failed program was:" >&5 | 2960 echo "configure: failed program was:" >&5 |
2960 cat conftest.$ac_ext >&5 | 2961 cat conftest.$ac_ext >&5 |
3058 esac | 3059 esac |
3059 fi | 3060 fi |
3060 | 3061 |
3061 if test "$add_runtime_path" = "yes"; then | 3062 if test "$add_runtime_path" = "yes"; then |
3062 echo $ac_n "checking "for runtime libraries flag"""... $ac_c" 1>&6 | 3063 echo $ac_n "checking "for runtime libraries flag"""... $ac_c" 1>&6 |
3063 echo "configure:3064: checking "for runtime libraries flag"" >&5 | 3064 echo "configure:3065: checking "for runtime libraries flag"" >&5 |
3064 case "$opsys" in | 3065 case "$opsys" in |
3065 sol2 ) dash_r="-R" ;; | 3066 sol2 ) dash_r="-R" ;; |
3066 decosf* | linux* | irix*) dash_r="-rpath " ;; | 3067 decosf* | linux* | irix*) dash_r="-rpath " ;; |
3067 *) | 3068 *) |
3068 dash_r="" | 3069 dash_r="" |
3080 esac | 3081 esac |
3081 shift | 3082 shift |
3082 done | 3083 done |
3083 fi | 3084 fi |
3084 cat > conftest.$ac_ext <<EOF | 3085 cat > conftest.$ac_ext <<EOF |
3085 #line 3086 "configure" | 3086 #line 3087 "configure" |
3086 #include "confdefs.h" | 3087 #include "confdefs.h" |
3087 | 3088 |
3088 int main() { | 3089 int main() { |
3089 | 3090 |
3090 ; return 0; } | 3091 ; return 0; } |
3091 EOF | 3092 EOF |
3092 if { (eval echo configure:3093: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 3093 if { (eval echo configure:3094: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
3093 rm -rf conftest* | 3094 rm -rf conftest* |
3094 dash_r="$try_dash_r" | 3095 dash_r="$try_dash_r" |
3095 else | 3096 else |
3096 echo "configure: failed program was:" >&5 | 3097 echo "configure: failed program was:" >&5 |
3097 cat conftest.$ac_ext >&5 | 3098 cat conftest.$ac_ext >&5 |
3188 else | 3189 else |
3189 doug_lea_malloc=no | 3190 doug_lea_malloc=no |
3190 fi | 3191 fi |
3191 after_morecore_hook_exists=yes | 3192 after_morecore_hook_exists=yes |
3192 echo $ac_n "checking for malloc_set_state""... $ac_c" 1>&6 | 3193 echo $ac_n "checking for malloc_set_state""... $ac_c" 1>&6 |
3193 echo "configure:3194: checking for malloc_set_state" >&5 | 3194 echo "configure:3195: checking for malloc_set_state" >&5 |
3194 | 3195 |
3195 cat > conftest.$ac_ext <<EOF | 3196 cat > conftest.$ac_ext <<EOF |
3196 #line 3197 "configure" | 3197 #line 3198 "configure" |
3197 #include "confdefs.h" | 3198 #include "confdefs.h" |
3198 /* System header to define __stub macros and hopefully few prototypes, | 3199 /* System header to define __stub macros and hopefully few prototypes, |
3199 which can conflict with char malloc_set_state(); below. */ | 3200 which can conflict with char malloc_set_state(); below. */ |
3200 #include <assert.h> | 3201 #include <assert.h> |
3201 /* Override any gcc2 internal prototype to avoid an error. */ | 3202 /* Override any gcc2 internal prototype to avoid an error. */ |
3214 malloc_set_state(); | 3215 malloc_set_state(); |
3215 #endif | 3216 #endif |
3216 | 3217 |
3217 ; return 0; } | 3218 ; return 0; } |
3218 EOF | 3219 EOF |
3219 if { (eval echo configure:3220: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 3220 if { (eval echo configure:3221: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
3220 rm -rf conftest* | 3221 rm -rf conftest* |
3221 eval "ac_cv_func_malloc_set_state=yes" | 3222 eval "ac_cv_func_malloc_set_state=yes" |
3222 else | 3223 else |
3223 echo "configure: failed program was:" >&5 | 3224 echo "configure: failed program was:" >&5 |
3224 cat conftest.$ac_ext >&5 | 3225 cat conftest.$ac_ext >&5 |
3234 echo "$ac_t""no" 1>&6 | 3235 echo "$ac_t""no" 1>&6 |
3235 doug_lea_malloc=no | 3236 doug_lea_malloc=no |
3236 fi | 3237 fi |
3237 | 3238 |
3238 echo $ac_n "checking whether __after_morecore_hook exists""... $ac_c" 1>&6 | 3239 echo $ac_n "checking whether __after_morecore_hook exists""... $ac_c" 1>&6 |
3239 echo "configure:3240: checking whether __after_morecore_hook exists" >&5 | 3240 echo "configure:3241: checking whether __after_morecore_hook exists" >&5 |
3240 cat > conftest.$ac_ext <<EOF | 3241 cat > conftest.$ac_ext <<EOF |
3241 #line 3242 "configure" | 3242 #line 3243 "configure" |
3242 #include "confdefs.h" | 3243 #include "confdefs.h" |
3243 extern void (* __after_morecore_hook)(); | 3244 extern void (* __after_morecore_hook)(); |
3244 int main() { | 3245 int main() { |
3245 __after_morecore_hook = 0 | 3246 __after_morecore_hook = 0 |
3246 ; return 0; } | 3247 ; return 0; } |
3247 EOF | 3248 EOF |
3248 if { (eval echo configure:3249: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 3249 if { (eval echo configure:3250: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
3249 rm -rf conftest* | 3250 rm -rf conftest* |
3250 echo "$ac_t""yes" 1>&6 | 3251 echo "$ac_t""yes" 1>&6 |
3251 else | 3252 else |
3252 echo "configure: failed program was:" >&5 | 3253 echo "configure: failed program was:" >&5 |
3253 cat conftest.$ac_ext >&5 | 3254 cat conftest.$ac_ext >&5 |
3299 | 3300 |
3300 | 3301 |
3301 # Extract the first word of "ranlib", so it can be a program name with args. | 3302 # Extract the first word of "ranlib", so it can be a program name with args. |
3302 set dummy ranlib; ac_word=$2 | 3303 set dummy ranlib; ac_word=$2 |
3303 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 3304 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
3304 echo "configure:3305: checking for $ac_word" >&5 | 3305 echo "configure:3306: checking for $ac_word" >&5 |
3305 | 3306 |
3306 if test -n "$RANLIB"; then | 3307 if test -n "$RANLIB"; then |
3307 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. | 3308 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. |
3308 else | 3309 else |
3309 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | 3310 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
3354 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag | 3355 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag |
3355 # AFS /usr/afsws/bin/install, which mishandles nonexistent args | 3356 # AFS /usr/afsws/bin/install, which mishandles nonexistent args |
3356 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" | 3357 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" |
3357 # ./install, which can be erroneously created by make from ./install.sh. | 3358 # ./install, which can be erroneously created by make from ./install.sh. |
3358 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 | 3359 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 |
3359 echo "configure:3360: checking for a BSD compatible install" >&5 | 3360 echo "configure:3361: checking for a BSD compatible install" >&5 |
3360 if test -z "$INSTALL"; then | 3361 if test -z "$INSTALL"; then |
3361 | 3362 |
3362 IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS=":" | 3363 IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS=":" |
3363 for ac_dir in $PATH; do | 3364 for ac_dir in $PATH; do |
3364 # Account for people who put trailing slashes in PATH elements. | 3365 # Account for people who put trailing slashes in PATH elements. |
3408 for ac_prog in 'bison -y' byacc | 3409 for ac_prog in 'bison -y' byacc |
3409 do | 3410 do |
3410 # Extract the first word of "$ac_prog", so it can be a program name with args. | 3411 # Extract the first word of "$ac_prog", so it can be a program name with args. |
3411 set dummy $ac_prog; ac_word=$2 | 3412 set dummy $ac_prog; ac_word=$2 |
3412 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 3413 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
3413 echo "configure:3414: checking for $ac_word" >&5 | 3414 echo "configure:3415: checking for $ac_word" >&5 |
3414 | 3415 |
3415 if test -n "$YACC"; then | 3416 if test -n "$YACC"; then |
3416 ac_cv_prog_YACC="$YACC" # Let the user override the test. | 3417 ac_cv_prog_YACC="$YACC" # Let the user override the test. |
3417 else | 3418 else |
3418 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | 3419 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
3440 | 3441 |
3441 for ac_hdr in a.out.h elf.h cygwin/version.h fcntl.h inttypes.h libgen.h locale.h mach/mach.h sys/param.h sys/pstat.h sys/time.h sys/timeb.h sys/un.h ulimit.h unistd.h | 3442 for ac_hdr in a.out.h elf.h cygwin/version.h fcntl.h inttypes.h libgen.h locale.h mach/mach.h sys/param.h sys/pstat.h sys/time.h sys/timeb.h sys/un.h ulimit.h unistd.h |
3442 do | 3443 do |
3443 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 3444 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
3444 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 3445 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
3445 echo "configure:3446: checking for $ac_hdr" >&5 | 3446 echo "configure:3447: checking for $ac_hdr" >&5 |
3446 | 3447 |
3447 cat > conftest.$ac_ext <<EOF | 3448 cat > conftest.$ac_ext <<EOF |
3448 #line 3449 "configure" | 3449 #line 3450 "configure" |
3449 #include "confdefs.h" | 3450 #include "confdefs.h" |
3450 #include <$ac_hdr> | 3451 #include <$ac_hdr> |
3451 EOF | 3452 EOF |
3452 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 3453 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
3453 { (eval echo configure:3454: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 3454 { (eval echo configure:3455: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
3454 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 3455 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
3455 if test -z "$ac_err"; then | 3456 if test -z "$ac_err"; then |
3456 rm -rf conftest* | 3457 rm -rf conftest* |
3457 eval "ac_cv_header_$ac_safe=yes" | 3458 eval "ac_cv_header_$ac_safe=yes" |
3458 else | 3459 else |
3478 echo "$ac_t""no" 1>&6 | 3479 echo "$ac_t""no" 1>&6 |
3479 fi | 3480 fi |
3480 done | 3481 done |
3481 | 3482 |
3482 echo $ac_n "checking for sys/wait.h that is POSIX.1 compatible""... $ac_c" 1>&6 | 3483 echo $ac_n "checking for sys/wait.h that is POSIX.1 compatible""... $ac_c" 1>&6 |
3483 echo "configure:3484: checking for sys/wait.h that is POSIX.1 compatible" >&5 | 3484 echo "configure:3485: checking for sys/wait.h that is POSIX.1 compatible" >&5 |
3484 | 3485 |
3485 cat > conftest.$ac_ext <<EOF | 3486 cat > conftest.$ac_ext <<EOF |
3486 #line 3487 "configure" | 3487 #line 3488 "configure" |
3487 #include "confdefs.h" | 3488 #include "confdefs.h" |
3488 #include <sys/types.h> | 3489 #include <sys/types.h> |
3489 #include <sys/wait.h> | 3490 #include <sys/wait.h> |
3490 #ifndef WEXITSTATUS | 3491 #ifndef WEXITSTATUS |
3491 #define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8) | 3492 #define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8) |
3497 int s; | 3498 int s; |
3498 wait (&s); | 3499 wait (&s); |
3499 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1; | 3500 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1; |
3500 ; return 0; } | 3501 ; return 0; } |
3501 EOF | 3502 EOF |
3502 if { (eval echo configure:3503: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3503 if { (eval echo configure:3504: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
3503 rm -rf conftest* | 3504 rm -rf conftest* |
3504 ac_cv_header_sys_wait_h=yes | 3505 ac_cv_header_sys_wait_h=yes |
3505 else | 3506 else |
3506 echo "configure: failed program was:" >&5 | 3507 echo "configure: failed program was:" >&5 |
3507 cat conftest.$ac_ext >&5 | 3508 cat conftest.$ac_ext >&5 |
3521 } | 3522 } |
3522 | 3523 |
3523 fi | 3524 fi |
3524 | 3525 |
3525 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6 | 3526 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6 |
3526 echo "configure:3527: checking for ANSI C header files" >&5 | 3527 echo "configure:3528: checking for ANSI C header files" >&5 |
3527 | 3528 |
3528 cat > conftest.$ac_ext <<EOF | 3529 cat > conftest.$ac_ext <<EOF |
3529 #line 3530 "configure" | 3530 #line 3531 "configure" |
3530 #include "confdefs.h" | 3531 #include "confdefs.h" |
3531 #include <stdlib.h> | 3532 #include <stdlib.h> |
3532 #include <stdarg.h> | 3533 #include <stdarg.h> |
3533 #include <string.h> | 3534 #include <string.h> |
3534 #include <float.h> | 3535 #include <float.h> |
3535 EOF | 3536 EOF |
3536 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 3537 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
3537 { (eval echo configure:3538: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 3538 { (eval echo configure:3539: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
3538 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 3539 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
3539 if test -z "$ac_err"; then | 3540 if test -z "$ac_err"; then |
3540 rm -rf conftest* | 3541 rm -rf conftest* |
3541 ac_cv_header_stdc=yes | 3542 ac_cv_header_stdc=yes |
3542 else | 3543 else |
3549 rm -f conftest* | 3550 rm -f conftest* |
3550 | 3551 |
3551 if test $ac_cv_header_stdc = yes; then | 3552 if test $ac_cv_header_stdc = yes; then |
3552 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. | 3553 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. |
3553 cat > conftest.$ac_ext <<EOF | 3554 cat > conftest.$ac_ext <<EOF |
3554 #line 3555 "configure" | 3555 #line 3556 "configure" |
3555 #include "confdefs.h" | 3556 #include "confdefs.h" |
3556 #include <string.h> | 3557 #include <string.h> |
3557 EOF | 3558 EOF |
3558 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 3559 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
3559 egrep "memchr" >/dev/null 2>&1; then | 3560 egrep "memchr" >/dev/null 2>&1; then |
3567 fi | 3568 fi |
3568 | 3569 |
3569 if test $ac_cv_header_stdc = yes; then | 3570 if test $ac_cv_header_stdc = yes; then |
3570 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. | 3571 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. |
3571 cat > conftest.$ac_ext <<EOF | 3572 cat > conftest.$ac_ext <<EOF |
3572 #line 3573 "configure" | 3573 #line 3574 "configure" |
3573 #include "confdefs.h" | 3574 #include "confdefs.h" |
3574 #include <stdlib.h> | 3575 #include <stdlib.h> |
3575 EOF | 3576 EOF |
3576 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 3577 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
3577 egrep "free" >/dev/null 2>&1; then | 3578 egrep "free" >/dev/null 2>&1; then |
3585 fi | 3586 fi |
3586 | 3587 |
3587 if test $ac_cv_header_stdc = yes; then | 3588 if test $ac_cv_header_stdc = yes; then |
3588 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. | 3589 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. |
3589 cat > conftest.$ac_ext <<EOF | 3590 cat > conftest.$ac_ext <<EOF |
3590 #line 3591 "configure" | 3591 #line 3592 "configure" |
3591 #include "confdefs.h" | 3592 #include "confdefs.h" |
3592 #include <ctype.h> | 3593 #include <ctype.h> |
3593 #define ISLOWER(c) ('a' <= (c) && (c) <= 'z') | 3594 #define ISLOWER(c) ('a' <= (c) && (c) <= 'z') |
3594 #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) | 3595 #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) |
3595 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) | 3596 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) |
3596 int main () { int i; for (i = 0; i < 256; i++) | 3597 int main () { int i; for (i = 0; i < 256; i++) |
3597 if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2); | 3598 if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2); |
3598 exit (0); } | 3599 exit (0); } |
3599 | 3600 |
3600 EOF | 3601 EOF |
3601 if { (eval echo configure:3602: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 3602 if { (eval echo configure:3603: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
3602 then | 3603 then |
3603 : | 3604 : |
3604 else | 3605 else |
3605 conftest_rc="$?" | 3606 conftest_rc="$?" |
3606 echo "configure: failed program was:" >&5 | 3607 echo "configure: failed program was:" >&5 |
3622 } | 3623 } |
3623 | 3624 |
3624 fi | 3625 fi |
3625 | 3626 |
3626 echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6 | 3627 echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6 |
3627 echo "configure:3628: checking whether time.h and sys/time.h may both be included" >&5 | 3628 echo "configure:3629: checking whether time.h and sys/time.h may both be included" >&5 |
3628 | 3629 |
3629 cat > conftest.$ac_ext <<EOF | 3630 cat > conftest.$ac_ext <<EOF |
3630 #line 3631 "configure" | 3631 #line 3632 "configure" |
3631 #include "confdefs.h" | 3632 #include "confdefs.h" |
3632 #include <sys/types.h> | 3633 #include <sys/types.h> |
3633 #include <sys/time.h> | 3634 #include <sys/time.h> |
3634 #include <time.h> | 3635 #include <time.h> |
3635 int main() { | 3636 int main() { |
3636 struct tm *tp; | 3637 struct tm *tp; |
3637 ; return 0; } | 3638 ; return 0; } |
3638 EOF | 3639 EOF |
3639 if { (eval echo configure:3640: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3640 if { (eval echo configure:3641: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
3640 rm -rf conftest* | 3641 rm -rf conftest* |
3641 ac_cv_header_time=yes | 3642 ac_cv_header_time=yes |
3642 else | 3643 else |
3643 echo "configure: failed program was:" >&5 | 3644 echo "configure: failed program was:" >&5 |
3644 cat conftest.$ac_ext >&5 | 3645 cat conftest.$ac_ext >&5 |
3658 } | 3659 } |
3659 | 3660 |
3660 fi | 3661 fi |
3661 | 3662 |
3662 echo $ac_n "checking for sys_siglist declaration in signal.h or unistd.h""... $ac_c" 1>&6 | 3663 echo $ac_n "checking for sys_siglist declaration in signal.h or unistd.h""... $ac_c" 1>&6 |
3663 echo "configure:3664: checking for sys_siglist declaration in signal.h or unistd.h" >&5 | 3664 echo "configure:3665: checking for sys_siglist declaration in signal.h or unistd.h" >&5 |
3664 | 3665 |
3665 cat > conftest.$ac_ext <<EOF | 3666 cat > conftest.$ac_ext <<EOF |
3666 #line 3667 "configure" | 3667 #line 3668 "configure" |
3667 #include "confdefs.h" | 3668 #include "confdefs.h" |
3668 #include <sys/types.h> | 3669 #include <sys/types.h> |
3669 #include <signal.h> | 3670 #include <signal.h> |
3670 /* NetBSD declares sys_siglist in unistd.h. */ | 3671 /* NetBSD declares sys_siglist in unistd.h. */ |
3671 #ifdef HAVE_UNISTD_H | 3672 #ifdef HAVE_UNISTD_H |
3673 #endif | 3674 #endif |
3674 int main() { | 3675 int main() { |
3675 char *msg = *(sys_siglist + 1); | 3676 char *msg = *(sys_siglist + 1); |
3676 ; return 0; } | 3677 ; return 0; } |
3677 EOF | 3678 EOF |
3678 if { (eval echo configure:3679: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3679 if { (eval echo configure:3680: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
3679 rm -rf conftest* | 3680 rm -rf conftest* |
3680 ac_cv_decl_sys_siglist=yes | 3681 ac_cv_decl_sys_siglist=yes |
3681 else | 3682 else |
3682 echo "configure: failed program was:" >&5 | 3683 echo "configure: failed program was:" >&5 |
3683 cat conftest.$ac_ext >&5 | 3684 cat conftest.$ac_ext >&5 |
3699 fi | 3700 fi |
3700 | 3701 |
3701 | 3702 |
3702 | 3703 |
3703 echo $ac_n "checking for utime""... $ac_c" 1>&6 | 3704 echo $ac_n "checking for utime""... $ac_c" 1>&6 |
3704 echo "configure:3705: checking for utime" >&5 | 3705 echo "configure:3706: checking for utime" >&5 |
3705 cat > conftest.$ac_ext <<EOF | 3706 cat > conftest.$ac_ext <<EOF |
3706 #line 3707 "configure" | 3707 #line 3708 "configure" |
3707 #include "confdefs.h" | 3708 #include "confdefs.h" |
3708 #include <sys/types.h> | 3709 #include <sys/types.h> |
3709 #include <utime.h> | 3710 #include <utime.h> |
3710 int main() { | 3711 int main() { |
3711 struct utimbuf x; x.actime = x.modtime = 0; utime ("/", &x); | 3712 struct utimbuf x; x.actime = x.modtime = 0; utime ("/", &x); |
3712 ; return 0; } | 3713 ; return 0; } |
3713 EOF | 3714 EOF |
3714 if { (eval echo configure:3715: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3715 if { (eval echo configure:3716: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
3715 rm -rf conftest* | 3716 rm -rf conftest* |
3716 echo "$ac_t""yes" 1>&6 | 3717 echo "$ac_t""yes" 1>&6 |
3717 { test "$extra_verbose" = "yes" && cat << \EOF | 3718 { test "$extra_verbose" = "yes" && cat << \EOF |
3718 Defining HAVE_UTIME | 3719 Defining HAVE_UTIME |
3719 EOF | 3720 EOF |
3728 rm -rf conftest* | 3729 rm -rf conftest* |
3729 echo "$ac_t""no" 1>&6 | 3730 echo "$ac_t""no" 1>&6 |
3730 for ac_func in utimes | 3731 for ac_func in utimes |
3731 do | 3732 do |
3732 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 3733 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
3733 echo "configure:3734: checking for $ac_func" >&5 | 3734 echo "configure:3735: checking for $ac_func" >&5 |
3734 | 3735 |
3735 cat > conftest.$ac_ext <<EOF | 3736 cat > conftest.$ac_ext <<EOF |
3736 #line 3737 "configure" | 3737 #line 3738 "configure" |
3737 #include "confdefs.h" | 3738 #include "confdefs.h" |
3738 /* System header to define __stub macros and hopefully few prototypes, | 3739 /* System header to define __stub macros and hopefully few prototypes, |
3739 which can conflict with char $ac_func(); below. */ | 3740 which can conflict with char $ac_func(); below. */ |
3740 #include <assert.h> | 3741 #include <assert.h> |
3741 /* Override any gcc2 internal prototype to avoid an error. */ | 3742 /* Override any gcc2 internal prototype to avoid an error. */ |
3754 $ac_func(); | 3755 $ac_func(); |
3755 #endif | 3756 #endif |
3756 | 3757 |
3757 ; return 0; } | 3758 ; return 0; } |
3758 EOF | 3759 EOF |
3759 if { (eval echo configure:3760: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 3760 if { (eval echo configure:3761: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
3760 rm -rf conftest* | 3761 rm -rf conftest* |
3761 eval "ac_cv_func_$ac_func=yes" | 3762 eval "ac_cv_func_$ac_func=yes" |
3762 else | 3763 else |
3763 echo "configure: failed program was:" >&5 | 3764 echo "configure: failed program was:" >&5 |
3764 cat conftest.$ac_ext >&5 | 3765 cat conftest.$ac_ext >&5 |
3786 fi | 3787 fi |
3787 rm -f conftest* | 3788 rm -f conftest* |
3788 | 3789 |
3789 | 3790 |
3790 echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6 | 3791 echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6 |
3791 echo "configure:3792: checking return type of signal handlers" >&5 | 3792 echo "configure:3793: checking return type of signal handlers" >&5 |
3792 | 3793 |
3793 cat > conftest.$ac_ext <<EOF | 3794 cat > conftest.$ac_ext <<EOF |
3794 #line 3795 "configure" | 3795 #line 3796 "configure" |
3795 #include "confdefs.h" | 3796 #include "confdefs.h" |
3796 #include <sys/types.h> | 3797 #include <sys/types.h> |
3797 #include <signal.h> | 3798 #include <signal.h> |
3798 #ifdef signal | 3799 #ifdef signal |
3799 #undef signal | 3800 #undef signal |
3806 | 3807 |
3807 int main() { | 3808 int main() { |
3808 int i; | 3809 int i; |
3809 ; return 0; } | 3810 ; return 0; } |
3810 EOF | 3811 EOF |
3811 if { (eval echo configure:3812: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3812 if { (eval echo configure:3813: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
3812 rm -rf conftest* | 3813 rm -rf conftest* |
3813 ac_cv_type_signal=void | 3814 ac_cv_type_signal=void |
3814 else | 3815 else |
3815 echo "configure: failed program was:" >&5 | 3816 echo "configure: failed program was:" >&5 |
3816 cat conftest.$ac_ext >&5 | 3817 cat conftest.$ac_ext >&5 |
3828 EOF | 3829 EOF |
3829 } | 3830 } |
3830 | 3831 |
3831 | 3832 |
3832 echo $ac_n "checking for size_t""... $ac_c" 1>&6 | 3833 echo $ac_n "checking for size_t""... $ac_c" 1>&6 |
3833 echo "configure:3834: checking for size_t" >&5 | 3834 echo "configure:3835: checking for size_t" >&5 |
3834 | 3835 |
3835 cat > conftest.$ac_ext <<EOF | 3836 cat > conftest.$ac_ext <<EOF |
3836 #line 3837 "configure" | 3837 #line 3838 "configure" |
3837 #include "confdefs.h" | 3838 #include "confdefs.h" |
3838 #include <sys/types.h> | 3839 #include <sys/types.h> |
3839 #if STDC_HEADERS | 3840 #if STDC_HEADERS |
3840 #include <stdlib.h> | 3841 #include <stdlib.h> |
3841 #include <stddef.h> | 3842 #include <stddef.h> |
3862 } | 3863 } |
3863 | 3864 |
3864 fi | 3865 fi |
3865 | 3866 |
3866 echo $ac_n "checking for pid_t""... $ac_c" 1>&6 | 3867 echo $ac_n "checking for pid_t""... $ac_c" 1>&6 |
3867 echo "configure:3868: checking for pid_t" >&5 | 3868 echo "configure:3869: checking for pid_t" >&5 |
3868 | 3869 |
3869 cat > conftest.$ac_ext <<EOF | 3870 cat > conftest.$ac_ext <<EOF |
3870 #line 3871 "configure" | 3871 #line 3872 "configure" |
3871 #include "confdefs.h" | 3872 #include "confdefs.h" |
3872 #include <sys/types.h> | 3873 #include <sys/types.h> |
3873 #if STDC_HEADERS | 3874 #if STDC_HEADERS |
3874 #include <stdlib.h> | 3875 #include <stdlib.h> |
3875 #include <stddef.h> | 3876 #include <stddef.h> |
3896 } | 3897 } |
3897 | 3898 |
3898 fi | 3899 fi |
3899 | 3900 |
3900 echo $ac_n "checking for uid_t in sys/types.h""... $ac_c" 1>&6 | 3901 echo $ac_n "checking for uid_t in sys/types.h""... $ac_c" 1>&6 |
3901 echo "configure:3902: checking for uid_t in sys/types.h" >&5 | 3902 echo "configure:3903: checking for uid_t in sys/types.h" >&5 |
3902 | 3903 |
3903 cat > conftest.$ac_ext <<EOF | 3904 cat > conftest.$ac_ext <<EOF |
3904 #line 3905 "configure" | 3905 #line 3906 "configure" |
3905 #include "confdefs.h" | 3906 #include "confdefs.h" |
3906 #include <sys/types.h> | 3907 #include <sys/types.h> |
3907 EOF | 3908 EOF |
3908 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 3909 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
3909 egrep "uid_t" >/dev/null 2>&1; then | 3910 egrep "uid_t" >/dev/null 2>&1; then |
3935 } | 3936 } |
3936 | 3937 |
3937 fi | 3938 fi |
3938 | 3939 |
3939 echo $ac_n "checking for mode_t""... $ac_c" 1>&6 | 3940 echo $ac_n "checking for mode_t""... $ac_c" 1>&6 |
3940 echo "configure:3941: checking for mode_t" >&5 | 3941 echo "configure:3942: checking for mode_t" >&5 |
3941 | 3942 |
3942 cat > conftest.$ac_ext <<EOF | 3943 cat > conftest.$ac_ext <<EOF |
3943 #line 3944 "configure" | 3944 #line 3945 "configure" |
3944 #include "confdefs.h" | 3945 #include "confdefs.h" |
3945 #include <sys/types.h> | 3946 #include <sys/types.h> |
3946 #if STDC_HEADERS | 3947 #if STDC_HEADERS |
3947 #include <stdlib.h> | 3948 #include <stdlib.h> |
3948 #include <stddef.h> | 3949 #include <stddef.h> |
3969 } | 3970 } |
3970 | 3971 |
3971 fi | 3972 fi |
3972 | 3973 |
3973 echo $ac_n "checking for off_t""... $ac_c" 1>&6 | 3974 echo $ac_n "checking for off_t""... $ac_c" 1>&6 |
3974 echo "configure:3975: checking for off_t" >&5 | 3975 echo "configure:3976: checking for off_t" >&5 |
3975 | 3976 |
3976 cat > conftest.$ac_ext <<EOF | 3977 cat > conftest.$ac_ext <<EOF |
3977 #line 3978 "configure" | 3978 #line 3979 "configure" |
3978 #include "confdefs.h" | 3979 #include "confdefs.h" |
3979 #include <sys/types.h> | 3980 #include <sys/types.h> |
3980 #if STDC_HEADERS | 3981 #if STDC_HEADERS |
3981 #include <stdlib.h> | 3982 #include <stdlib.h> |
3982 #include <stddef.h> | 3983 #include <stddef.h> |
4003 } | 4004 } |
4004 | 4005 |
4005 fi | 4006 fi |
4006 | 4007 |
4007 echo $ac_n "checking for ssize_t""... $ac_c" 1>&6 | 4008 echo $ac_n "checking for ssize_t""... $ac_c" 1>&6 |
4008 echo "configure:4009: checking for ssize_t" >&5 | 4009 echo "configure:4010: checking for ssize_t" >&5 |
4009 | 4010 |
4010 cat > conftest.$ac_ext <<EOF | 4011 cat > conftest.$ac_ext <<EOF |
4011 #line 4012 "configure" | 4012 #line 4013 "configure" |
4012 #include "confdefs.h" | 4013 #include "confdefs.h" |
4013 #include <sys/types.h> | 4014 #include <sys/types.h> |
4014 #if STDC_HEADERS | 4015 #if STDC_HEADERS |
4015 #include <stdlib.h> | 4016 #include <stdlib.h> |
4016 #include <stddef.h> | 4017 #include <stddef.h> |
4038 | 4039 |
4039 fi | 4040 fi |
4040 | 4041 |
4041 | 4042 |
4042 echo $ac_n "checking for socklen_t""... $ac_c" 1>&6 | 4043 echo $ac_n "checking for socklen_t""... $ac_c" 1>&6 |
4043 echo "configure:4044: checking for socklen_t" >&5 | 4044 echo "configure:4045: checking for socklen_t" >&5 |
4044 cat > conftest.$ac_ext <<EOF | 4045 cat > conftest.$ac_ext <<EOF |
4045 #line 4046 "configure" | 4046 #line 4047 "configure" |
4046 #include "confdefs.h" | 4047 #include "confdefs.h" |
4047 #include <sys/socket.h> | 4048 #include <sys/socket.h> |
4048 socklen_t x; | 4049 socklen_t x; |
4049 | 4050 |
4050 int main() { | 4051 int main() { |
4051 | 4052 |
4052 ; return 0; } | 4053 ; return 0; } |
4053 EOF | 4054 EOF |
4054 if { (eval echo configure:4055: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 4055 if { (eval echo configure:4056: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
4055 rm -rf conftest* | 4056 rm -rf conftest* |
4056 echo "$ac_t""yes" 1>&6 | 4057 echo "$ac_t""yes" 1>&6 |
4057 else | 4058 else |
4058 echo "configure: failed program was:" >&5 | 4059 echo "configure: failed program was:" >&5 |
4059 cat conftest.$ac_ext >&5 | 4060 cat conftest.$ac_ext >&5 |
4060 rm -rf conftest* | 4061 rm -rf conftest* |
4061 | 4062 |
4062 cat > conftest.$ac_ext <<EOF | 4063 cat > conftest.$ac_ext <<EOF |
4063 #line 4064 "configure" | 4064 #line 4065 "configure" |
4064 #include "confdefs.h" | 4065 #include "confdefs.h" |
4065 #include <sys/socket.h> | 4066 #include <sys/socket.h> |
4066 int accept (int, struct sockaddr *, size_t *); | 4067 int accept (int, struct sockaddr *, size_t *); |
4067 | 4068 |
4068 int main() { | 4069 int main() { |
4069 | 4070 |
4070 ; return 0; } | 4071 ; return 0; } |
4071 EOF | 4072 EOF |
4072 if { (eval echo configure:4073: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 4073 if { (eval echo configure:4074: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
4073 rm -rf conftest* | 4074 rm -rf conftest* |
4074 | 4075 |
4075 echo "$ac_t""size_t" 1>&6 | 4076 echo "$ac_t""size_t" 1>&6 |
4076 { test "$extra_verbose" = "yes" && cat << \EOF | 4077 { test "$extra_verbose" = "yes" && cat << \EOF |
4077 Defining socklen_t = size_t | 4078 Defining socklen_t = size_t |
4099 rm -f conftest* | 4100 rm -f conftest* |
4100 fi | 4101 fi |
4101 rm -f conftest* | 4102 rm -f conftest* |
4102 | 4103 |
4103 echo $ac_n "checking for struct timeval""... $ac_c" 1>&6 | 4104 echo $ac_n "checking for struct timeval""... $ac_c" 1>&6 |
4104 echo "configure:4105: checking for struct timeval" >&5 | 4105 echo "configure:4106: checking for struct timeval" >&5 |
4105 cat > conftest.$ac_ext <<EOF | 4106 cat > conftest.$ac_ext <<EOF |
4106 #line 4107 "configure" | 4107 #line 4108 "configure" |
4107 #include "confdefs.h" | 4108 #include "confdefs.h" |
4108 #ifdef TIME_WITH_SYS_TIME | 4109 #ifdef TIME_WITH_SYS_TIME |
4109 #include <sys/time.h> | 4110 #include <sys/time.h> |
4110 #include <time.h> | 4111 #include <time.h> |
4111 #else | 4112 #else |
4117 #endif | 4118 #endif |
4118 int main() { | 4119 int main() { |
4119 static struct timeval x; x.tv_sec = x.tv_usec; | 4120 static struct timeval x; x.tv_sec = x.tv_usec; |
4120 ; return 0; } | 4121 ; return 0; } |
4121 EOF | 4122 EOF |
4122 if { (eval echo configure:4123: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 4123 if { (eval echo configure:4124: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
4123 rm -rf conftest* | 4124 rm -rf conftest* |
4124 echo "$ac_t""yes" 1>&6 | 4125 echo "$ac_t""yes" 1>&6 |
4125 HAVE_TIMEVAL=yes | 4126 HAVE_TIMEVAL=yes |
4126 { test "$extra_verbose" = "yes" && cat << \EOF | 4127 { test "$extra_verbose" = "yes" && cat << \EOF |
4127 Defining HAVE_TIMEVAL | 4128 Defining HAVE_TIMEVAL |
4139 HAVE_TIMEVAL=no | 4140 HAVE_TIMEVAL=no |
4140 fi | 4141 fi |
4141 rm -f conftest* | 4142 rm -f conftest* |
4142 | 4143 |
4143 echo $ac_n "checking whether struct tm is in sys/time.h or time.h""... $ac_c" 1>&6 | 4144 echo $ac_n "checking whether struct tm is in sys/time.h or time.h""... $ac_c" 1>&6 |
4144 echo "configure:4145: checking whether struct tm is in sys/time.h or time.h" >&5 | 4145 echo "configure:4146: checking whether struct tm is in sys/time.h or time.h" >&5 |
4145 | 4146 |
4146 cat > conftest.$ac_ext <<EOF | 4147 cat > conftest.$ac_ext <<EOF |
4147 #line 4148 "configure" | 4148 #line 4149 "configure" |
4148 #include "confdefs.h" | 4149 #include "confdefs.h" |
4149 #include <sys/types.h> | 4150 #include <sys/types.h> |
4150 #include <time.h> | 4151 #include <time.h> |
4151 int main() { | 4152 int main() { |
4152 struct tm *tp; tp->tm_sec; | 4153 struct tm *tp; tp->tm_sec; |
4153 ; return 0; } | 4154 ; return 0; } |
4154 EOF | 4155 EOF |
4155 if { (eval echo configure:4156: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 4156 if { (eval echo configure:4157: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
4156 rm -rf conftest* | 4157 rm -rf conftest* |
4157 ac_cv_struct_tm=time.h | 4158 ac_cv_struct_tm=time.h |
4158 else | 4159 else |
4159 echo "configure: failed program was:" >&5 | 4160 echo "configure: failed program was:" >&5 |
4160 cat conftest.$ac_ext >&5 | 4161 cat conftest.$ac_ext >&5 |
4174 } | 4175 } |
4175 | 4176 |
4176 fi | 4177 fi |
4177 | 4178 |
4178 echo $ac_n "checking for tm_zone in struct tm""... $ac_c" 1>&6 | 4179 echo $ac_n "checking for tm_zone in struct tm""... $ac_c" 1>&6 |
4179 echo "configure:4180: checking for tm_zone in struct tm" >&5 | 4180 echo "configure:4181: checking for tm_zone in struct tm" >&5 |
4180 | 4181 |
4181 cat > conftest.$ac_ext <<EOF | 4182 cat > conftest.$ac_ext <<EOF |
4182 #line 4183 "configure" | 4183 #line 4184 "configure" |
4183 #include "confdefs.h" | 4184 #include "confdefs.h" |
4184 #include <sys/types.h> | 4185 #include <sys/types.h> |
4185 #include <$ac_cv_struct_tm> | 4186 #include <$ac_cv_struct_tm> |
4186 int main() { | 4187 int main() { |
4187 struct tm tm; tm.tm_zone; | 4188 struct tm tm; tm.tm_zone; |
4188 ; return 0; } | 4189 ; return 0; } |
4189 EOF | 4190 EOF |
4190 if { (eval echo configure:4191: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 4191 if { (eval echo configure:4192: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
4191 rm -rf conftest* | 4192 rm -rf conftest* |
4192 ac_cv_struct_tm_zone=yes | 4193 ac_cv_struct_tm_zone=yes |
4193 else | 4194 else |
4194 echo "configure: failed program was:" >&5 | 4195 echo "configure: failed program was:" >&5 |
4195 cat conftest.$ac_ext >&5 | 4196 cat conftest.$ac_ext >&5 |
4208 EOF | 4209 EOF |
4209 } | 4210 } |
4210 | 4211 |
4211 else | 4212 else |
4212 echo $ac_n "checking for tzname""... $ac_c" 1>&6 | 4213 echo $ac_n "checking for tzname""... $ac_c" 1>&6 |
4213 echo "configure:4214: checking for tzname" >&5 | 4214 echo "configure:4215: checking for tzname" >&5 |
4214 | 4215 |
4215 cat > conftest.$ac_ext <<EOF | 4216 cat > conftest.$ac_ext <<EOF |
4216 #line 4217 "configure" | 4217 #line 4218 "configure" |
4217 #include "confdefs.h" | 4218 #include "confdefs.h" |
4218 #include <time.h> | 4219 #include <time.h> |
4219 #ifndef tzname /* For SGI. */ | 4220 #ifndef tzname /* For SGI. */ |
4220 extern char *tzname[]; /* RS6000 and others reject char **tzname. */ | 4221 extern char *tzname[]; /* RS6000 and others reject char **tzname. */ |
4221 #endif | 4222 #endif |
4222 int main() { | 4223 int main() { |
4223 atoi(*tzname); | 4224 atoi(*tzname); |
4224 ; return 0; } | 4225 ; return 0; } |
4225 EOF | 4226 EOF |
4226 if { (eval echo configure:4227: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4227 if { (eval echo configure:4228: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4227 rm -rf conftest* | 4228 rm -rf conftest* |
4228 ac_cv_var_tzname=yes | 4229 ac_cv_var_tzname=yes |
4229 else | 4230 else |
4230 echo "configure: failed program was:" >&5 | 4231 echo "configure: failed program was:" >&5 |
4231 cat conftest.$ac_ext >&5 | 4232 cat conftest.$ac_ext >&5 |
4247 fi | 4248 fi |
4248 fi | 4249 fi |
4249 | 4250 |
4250 | 4251 |
4251 echo $ac_n "checking for working const""... $ac_c" 1>&6 | 4252 echo $ac_n "checking for working const""... $ac_c" 1>&6 |
4252 echo "configure:4253: checking for working const" >&5 | 4253 echo "configure:4254: checking for working const" >&5 |
4253 | 4254 |
4254 cat > conftest.$ac_ext <<EOF | 4255 cat > conftest.$ac_ext <<EOF |
4255 #line 4256 "configure" | 4256 #line 4257 "configure" |
4256 #include "confdefs.h" | 4257 #include "confdefs.h" |
4257 | 4258 |
4258 int main() { | 4259 int main() { |
4259 | 4260 |
4260 /* Ultrix mips cc rejects this. */ | 4261 /* Ultrix mips cc rejects this. */ |
4299 const int foo = 10; | 4300 const int foo = 10; |
4300 } | 4301 } |
4301 | 4302 |
4302 ; return 0; } | 4303 ; return 0; } |
4303 EOF | 4304 EOF |
4304 if { (eval echo configure:4305: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 4305 if { (eval echo configure:4306: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
4305 rm -rf conftest* | 4306 rm -rf conftest* |
4306 ac_cv_c_const=yes | 4307 ac_cv_c_const=yes |
4307 else | 4308 else |
4308 echo "configure: failed program was:" >&5 | 4309 echo "configure: failed program was:" >&5 |
4309 cat conftest.$ac_ext >&5 | 4310 cat conftest.$ac_ext >&5 |
4324 | 4325 |
4325 fi | 4326 fi |
4326 | 4327 |
4327 | 4328 |
4328 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6 | 4329 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6 |
4329 echo "configure:4330: checking whether ${MAKE-make} sets \${MAKE}" >&5 | 4330 echo "configure:4331: checking whether ${MAKE-make} sets \${MAKE}" >&5 |
4330 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'` | 4331 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'` |
4331 | 4332 |
4332 cat > conftestmake <<\EOF | 4333 cat > conftestmake <<\EOF |
4333 all: | 4334 all: |
4334 @echo 'ac_maketemp="${MAKE}"' | 4335 @echo 'ac_maketemp="${MAKE}"' |
4349 SET_MAKE="MAKE=${MAKE-make}" | 4350 SET_MAKE="MAKE=${MAKE-make}" |
4350 fi | 4351 fi |
4351 | 4352 |
4352 | 4353 |
4353 echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6 | 4354 echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6 |
4354 echo "configure:4355: checking whether byte ordering is bigendian" >&5 | 4355 echo "configure:4356: checking whether byte ordering is bigendian" >&5 |
4355 | 4356 |
4356 ac_cv_c_bigendian=unknown | 4357 ac_cv_c_bigendian=unknown |
4357 # See if sys/param.h defines the BYTE_ORDER macro. | 4358 # See if sys/param.h defines the BYTE_ORDER macro. |
4358 cat > conftest.$ac_ext <<EOF | 4359 cat > conftest.$ac_ext <<EOF |
4359 #line 4360 "configure" | 4360 #line 4361 "configure" |
4360 #include "confdefs.h" | 4361 #include "confdefs.h" |
4361 #include <sys/types.h> | 4362 #include <sys/types.h> |
4362 #include <sys/param.h> | 4363 #include <sys/param.h> |
4363 int main() { | 4364 int main() { |
4364 | 4365 |
4365 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN | 4366 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN |
4366 bogus endian macros | 4367 bogus endian macros |
4367 #endif | 4368 #endif |
4368 ; return 0; } | 4369 ; return 0; } |
4369 EOF | 4370 EOF |
4370 if { (eval echo configure:4371: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 4371 if { (eval echo configure:4372: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
4371 rm -rf conftest* | 4372 rm -rf conftest* |
4372 # It does; now see whether it defined to BIG_ENDIAN or not. | 4373 # It does; now see whether it defined to BIG_ENDIAN or not. |
4373 cat > conftest.$ac_ext <<EOF | 4374 cat > conftest.$ac_ext <<EOF |
4374 #line 4375 "configure" | 4375 #line 4376 "configure" |
4375 #include "confdefs.h" | 4376 #include "confdefs.h" |
4376 #include <sys/types.h> | 4377 #include <sys/types.h> |
4377 #include <sys/param.h> | 4378 #include <sys/param.h> |
4378 int main() { | 4379 int main() { |
4379 | 4380 |
4380 #if BYTE_ORDER != BIG_ENDIAN | 4381 #if BYTE_ORDER != BIG_ENDIAN |
4381 not big endian | 4382 not big endian |
4382 #endif | 4383 #endif |
4383 ; return 0; } | 4384 ; return 0; } |
4384 EOF | 4385 EOF |
4385 if { (eval echo configure:4386: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 4386 if { (eval echo configure:4387: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
4386 rm -rf conftest* | 4387 rm -rf conftest* |
4387 ac_cv_c_bigendian=yes | 4388 ac_cv_c_bigendian=yes |
4388 else | 4389 else |
4389 echo "configure: failed program was:" >&5 | 4390 echo "configure: failed program was:" >&5 |
4390 cat conftest.$ac_ext >&5 | 4391 cat conftest.$ac_ext >&5 |
4397 cat conftest.$ac_ext >&5 | 4398 cat conftest.$ac_ext >&5 |
4398 fi | 4399 fi |
4399 rm -f conftest* | 4400 rm -f conftest* |
4400 if test $ac_cv_c_bigendian = unknown; then | 4401 if test $ac_cv_c_bigendian = unknown; then |
4401 cat > conftest.$ac_ext <<EOF | 4402 cat > conftest.$ac_ext <<EOF |
4402 #line 4403 "configure" | 4403 #line 4404 "configure" |
4403 #include "confdefs.h" | 4404 #include "confdefs.h" |
4404 main () { | 4405 main () { |
4405 /* Are we little or big endian? From Harbison&Steele. */ | 4406 /* Are we little or big endian? From Harbison&Steele. */ |
4406 union | 4407 union |
4407 { | 4408 { |
4410 } u; | 4411 } u; |
4411 u.l = 1; | 4412 u.l = 1; |
4412 exit (u.c[sizeof (long) - 1] == 1); | 4413 exit (u.c[sizeof (long) - 1] == 1); |
4413 } | 4414 } |
4414 EOF | 4415 EOF |
4415 if { (eval echo configure:4416: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 4416 if { (eval echo configure:4417: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
4416 then | 4417 then |
4417 ac_cv_c_bigendian=no | 4418 ac_cv_c_bigendian=no |
4418 else | 4419 else |
4419 conftest_rc="$?" | 4420 conftest_rc="$?" |
4420 echo "configure: failed program was:" >&5 | 4421 echo "configure: failed program was:" >&5 |
4437 | 4438 |
4438 fi | 4439 fi |
4439 | 4440 |
4440 | 4441 |
4441 echo $ac_n "checking size of short""... $ac_c" 1>&6 | 4442 echo $ac_n "checking size of short""... $ac_c" 1>&6 |
4442 echo "configure:4443: checking size of short" >&5 | 4443 echo "configure:4444: checking size of short" >&5 |
4443 | 4444 |
4444 cat > conftest.$ac_ext <<EOF | 4445 cat > conftest.$ac_ext <<EOF |
4445 #line 4446 "configure" | 4446 #line 4447 "configure" |
4446 #include "confdefs.h" | 4447 #include "confdefs.h" |
4447 #include <stdio.h> | 4448 #include <stdio.h> |
4448 main() | 4449 main() |
4449 { | 4450 { |
4450 FILE *f=fopen("conftestval", "w"); | 4451 FILE *f=fopen("conftestval", "w"); |
4451 if (!f) exit(1); | 4452 if (!f) exit(1); |
4452 fprintf(f, "%d\n", sizeof(short)); | 4453 fprintf(f, "%d\n", sizeof(short)); |
4453 exit(0); | 4454 exit(0); |
4454 } | 4455 } |
4455 EOF | 4456 EOF |
4456 if { (eval echo configure:4457: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 4457 if { (eval echo configure:4458: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
4457 then | 4458 then |
4458 ac_cv_sizeof_short=`cat conftestval` | 4459 ac_cv_sizeof_short=`cat conftestval` |
4459 else | 4460 else |
4460 conftest_rc="$?" | 4461 conftest_rc="$?" |
4461 echo "configure: failed program was:" >&5 | 4462 echo "configure: failed program was:" >&5 |
4479 echo "*** PANIC *** Configure tests are not working - compiler is broken." | 4480 echo "*** PANIC *** Configure tests are not working - compiler is broken." |
4480 echo "*** PANIC *** Please examine config.log for compilation errors." | 4481 echo "*** PANIC *** Please examine config.log for compilation errors." |
4481 exit 1 | 4482 exit 1 |
4482 fi | 4483 fi |
4483 echo $ac_n "checking size of int""... $ac_c" 1>&6 | 4484 echo $ac_n "checking size of int""... $ac_c" 1>&6 |
4484 echo "configure:4485: checking size of int" >&5 | 4485 echo "configure:4486: checking size of int" >&5 |
4485 | 4486 |
4486 cat > conftest.$ac_ext <<EOF | 4487 cat > conftest.$ac_ext <<EOF |
4487 #line 4488 "configure" | 4488 #line 4489 "configure" |
4488 #include "confdefs.h" | 4489 #include "confdefs.h" |
4489 #include <stdio.h> | 4490 #include <stdio.h> |
4490 main() | 4491 main() |
4491 { | 4492 { |
4492 FILE *f=fopen("conftestval", "w"); | 4493 FILE *f=fopen("conftestval", "w"); |
4493 if (!f) exit(1); | 4494 if (!f) exit(1); |
4494 fprintf(f, "%d\n", sizeof(int)); | 4495 fprintf(f, "%d\n", sizeof(int)); |
4495 exit(0); | 4496 exit(0); |
4496 } | 4497 } |
4497 EOF | 4498 EOF |
4498 if { (eval echo configure:4499: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 4499 if { (eval echo configure:4500: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
4499 then | 4500 then |
4500 ac_cv_sizeof_int=`cat conftestval` | 4501 ac_cv_sizeof_int=`cat conftestval` |
4501 else | 4502 else |
4502 conftest_rc="$?" | 4503 conftest_rc="$?" |
4503 echo "configure: failed program was:" >&5 | 4504 echo "configure: failed program was:" >&5 |
4515 EOF | 4516 EOF |
4516 } | 4517 } |
4517 | 4518 |
4518 | 4519 |
4519 echo $ac_n "checking size of long""... $ac_c" 1>&6 | 4520 echo $ac_n "checking size of long""... $ac_c" 1>&6 |
4520 echo "configure:4521: checking size of long" >&5 | 4521 echo "configure:4522: checking size of long" >&5 |
4521 | 4522 |
4522 cat > conftest.$ac_ext <<EOF | 4523 cat > conftest.$ac_ext <<EOF |
4523 #line 4524 "configure" | 4524 #line 4525 "configure" |
4524 #include "confdefs.h" | 4525 #include "confdefs.h" |
4525 #include <stdio.h> | 4526 #include <stdio.h> |
4526 main() | 4527 main() |
4527 { | 4528 { |
4528 FILE *f=fopen("conftestval", "w"); | 4529 FILE *f=fopen("conftestval", "w"); |
4529 if (!f) exit(1); | 4530 if (!f) exit(1); |
4530 fprintf(f, "%d\n", sizeof(long)); | 4531 fprintf(f, "%d\n", sizeof(long)); |
4531 exit(0); | 4532 exit(0); |
4532 } | 4533 } |
4533 EOF | 4534 EOF |
4534 if { (eval echo configure:4535: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 4535 if { (eval echo configure:4536: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
4535 then | 4536 then |
4536 ac_cv_sizeof_long=`cat conftestval` | 4537 ac_cv_sizeof_long=`cat conftestval` |
4537 else | 4538 else |
4538 conftest_rc="$?" | 4539 conftest_rc="$?" |
4539 echo "configure: failed program was:" >&5 | 4540 echo "configure: failed program was:" >&5 |
4551 EOF | 4552 EOF |
4552 } | 4553 } |
4553 | 4554 |
4554 | 4555 |
4555 echo $ac_n "checking size of long long""... $ac_c" 1>&6 | 4556 echo $ac_n "checking size of long long""... $ac_c" 1>&6 |
4556 echo "configure:4557: checking size of long long" >&5 | 4557 echo "configure:4558: checking size of long long" >&5 |
4557 | 4558 |
4558 cat > conftest.$ac_ext <<EOF | 4559 cat > conftest.$ac_ext <<EOF |
4559 #line 4560 "configure" | 4560 #line 4561 "configure" |
4560 #include "confdefs.h" | 4561 #include "confdefs.h" |
4561 #include <stdio.h> | 4562 #include <stdio.h> |
4562 main() | 4563 main() |
4563 { | 4564 { |
4564 FILE *f=fopen("conftestval", "w"); | 4565 FILE *f=fopen("conftestval", "w"); |
4565 if (!f) exit(1); | 4566 if (!f) exit(1); |
4566 fprintf(f, "%d\n", sizeof(long long)); | 4567 fprintf(f, "%d\n", sizeof(long long)); |
4567 exit(0); | 4568 exit(0); |
4568 } | 4569 } |
4569 EOF | 4570 EOF |
4570 if { (eval echo configure:4571: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 4571 if { (eval echo configure:4572: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
4571 then | 4572 then |
4572 ac_cv_sizeof_long_long=`cat conftestval` | 4573 ac_cv_sizeof_long_long=`cat conftestval` |
4573 else | 4574 else |
4574 conftest_rc="$?" | 4575 conftest_rc="$?" |
4575 echo "configure: failed program was:" >&5 | 4576 echo "configure: failed program was:" >&5 |
4587 EOF | 4588 EOF |
4588 } | 4589 } |
4589 | 4590 |
4590 | 4591 |
4591 echo $ac_n "checking size of void *""... $ac_c" 1>&6 | 4592 echo $ac_n "checking size of void *""... $ac_c" 1>&6 |
4592 echo "configure:4593: checking size of void *" >&5 | 4593 echo "configure:4594: checking size of void *" >&5 |
4593 | 4594 |
4594 cat > conftest.$ac_ext <<EOF | 4595 cat > conftest.$ac_ext <<EOF |
4595 #line 4596 "configure" | 4596 #line 4597 "configure" |
4596 #include "confdefs.h" | 4597 #include "confdefs.h" |
4597 #include <stdio.h> | 4598 #include <stdio.h> |
4598 main() | 4599 main() |
4599 { | 4600 { |
4600 FILE *f=fopen("conftestval", "w"); | 4601 FILE *f=fopen("conftestval", "w"); |
4601 if (!f) exit(1); | 4602 if (!f) exit(1); |
4602 fprintf(f, "%d\n", sizeof(void *)); | 4603 fprintf(f, "%d\n", sizeof(void *)); |
4603 exit(0); | 4604 exit(0); |
4604 } | 4605 } |
4605 EOF | 4606 EOF |
4606 if { (eval echo configure:4607: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 4607 if { (eval echo configure:4608: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
4607 then | 4608 then |
4608 ac_cv_sizeof_void_p=`cat conftestval` | 4609 ac_cv_sizeof_void_p=`cat conftestval` |
4609 else | 4610 else |
4610 conftest_rc="$?" | 4611 conftest_rc="$?" |
4611 echo "configure: failed program was:" >&5 | 4612 echo "configure: failed program was:" >&5 |
4624 } | 4625 } |
4625 | 4626 |
4626 | 4627 |
4627 | 4628 |
4628 echo $ac_n "checking for long file names""... $ac_c" 1>&6 | 4629 echo $ac_n "checking for long file names""... $ac_c" 1>&6 |
4629 echo "configure:4630: checking for long file names" >&5 | 4630 echo "configure:4631: checking for long file names" >&5 |
4630 | 4631 |
4631 ac_cv_sys_long_file_names=yes | 4632 ac_cv_sys_long_file_names=yes |
4632 # Test for long file names in all the places we know might matter: | 4633 # Test for long file names in all the places we know might matter: |
4633 # . the current directory, where building will happen | 4634 # . the current directory, where building will happen |
4634 # $prefix/lib where we will be installing things | 4635 # $prefix/lib where we will be installing things |
4670 | 4671 |
4671 fi | 4672 fi |
4672 | 4673 |
4673 | 4674 |
4674 echo $ac_n "checking for sin""... $ac_c" 1>&6 | 4675 echo $ac_n "checking for sin""... $ac_c" 1>&6 |
4675 echo "configure:4676: checking for sin" >&5 | 4676 echo "configure:4677: checking for sin" >&5 |
4676 | 4677 |
4677 cat > conftest.$ac_ext <<EOF | 4678 cat > conftest.$ac_ext <<EOF |
4678 #line 4679 "configure" | 4679 #line 4680 "configure" |
4679 #include "confdefs.h" | 4680 #include "confdefs.h" |
4680 /* System header to define __stub macros and hopefully few prototypes, | 4681 /* System header to define __stub macros and hopefully few prototypes, |
4681 which can conflict with char sin(); below. */ | 4682 which can conflict with char sin(); below. */ |
4682 #include <assert.h> | 4683 #include <assert.h> |
4683 /* Override any gcc2 internal prototype to avoid an error. */ | 4684 /* Override any gcc2 internal prototype to avoid an error. */ |
4696 sin(); | 4697 sin(); |
4697 #endif | 4698 #endif |
4698 | 4699 |
4699 ; return 0; } | 4700 ; return 0; } |
4700 EOF | 4701 EOF |
4701 if { (eval echo configure:4702: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4702 if { (eval echo configure:4703: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4702 rm -rf conftest* | 4703 rm -rf conftest* |
4703 eval "ac_cv_func_sin=yes" | 4704 eval "ac_cv_func_sin=yes" |
4704 else | 4705 else |
4705 echo "configure: failed program was:" >&5 | 4706 echo "configure: failed program was:" >&5 |
4706 cat conftest.$ac_ext >&5 | 4707 cat conftest.$ac_ext >&5 |
4714 : | 4715 : |
4715 else | 4716 else |
4716 echo "$ac_t""no" 1>&6 | 4717 echo "$ac_t""no" 1>&6 |
4717 | 4718 |
4718 echo $ac_n "checking for sin in -lm""... $ac_c" 1>&6 | 4719 echo $ac_n "checking for sin in -lm""... $ac_c" 1>&6 |
4719 echo "configure:4720: checking for sin in -lm" >&5 | 4720 echo "configure:4721: checking for sin in -lm" >&5 |
4720 ac_lib_var=`echo m'_'sin | sed 'y%./+-%__p_%'` | 4721 ac_lib_var=`echo m'_'sin | sed 'y%./+-%__p_%'` |
4721 | 4722 |
4722 xe_check_libs=" -lm " | 4723 xe_check_libs=" -lm " |
4723 cat > conftest.$ac_ext <<EOF | 4724 cat > conftest.$ac_ext <<EOF |
4724 #line 4725 "configure" | 4725 #line 4726 "configure" |
4725 #include "confdefs.h" | 4726 #include "confdefs.h" |
4726 /* Override any gcc2 internal prototype to avoid an error. */ | 4727 /* Override any gcc2 internal prototype to avoid an error. */ |
4727 /* We use char because int might match the return type of a gcc2 | 4728 /* We use char because int might match the return type of a gcc2 |
4728 builtin and then its argument prototype would still apply. */ | 4729 builtin and then its argument prototype would still apply. */ |
4729 char sin(); | 4730 char sin(); |
4730 | 4731 |
4731 int main() { | 4732 int main() { |
4732 sin() | 4733 sin() |
4733 ; return 0; } | 4734 ; return 0; } |
4734 EOF | 4735 EOF |
4735 if { (eval echo configure:4736: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4736 if { (eval echo configure:4737: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4736 rm -rf conftest* | 4737 rm -rf conftest* |
4737 eval "ac_cv_lib_$ac_lib_var=yes" | 4738 eval "ac_cv_lib_$ac_lib_var=yes" |
4738 else | 4739 else |
4739 echo "configure: failed program was:" >&5 | 4740 echo "configure: failed program was:" >&5 |
4740 cat conftest.$ac_ext >&5 | 4741 cat conftest.$ac_ext >&5 |
4774 EOF | 4775 EOF |
4775 } | 4776 } |
4776 | 4777 |
4777 | 4778 |
4778 cat > conftest.$ac_ext <<EOF | 4779 cat > conftest.$ac_ext <<EOF |
4779 #line 4780 "configure" | 4780 #line 4781 "configure" |
4780 #include "confdefs.h" | 4781 #include "confdefs.h" |
4781 #include <math.h> | 4782 #include <math.h> |
4782 int main() { | 4783 int main() { |
4783 return atanh(1.0) + asinh(1.0) + acosh(1.0); | 4784 return atanh(1.0) + asinh(1.0) + acosh(1.0); |
4784 ; return 0; } | 4785 ; return 0; } |
4785 EOF | 4786 EOF |
4786 if { (eval echo configure:4787: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4787 if { (eval echo configure:4788: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4787 rm -rf conftest* | 4788 rm -rf conftest* |
4788 { test "$extra_verbose" = "yes" && cat << \EOF | 4789 { test "$extra_verbose" = "yes" && cat << \EOF |
4789 Defining HAVE_INVERSE_HYPERBOLIC | 4790 Defining HAVE_INVERSE_HYPERBOLIC |
4790 EOF | 4791 EOF |
4791 cat >> confdefs.h <<\EOF | 4792 cat >> confdefs.h <<\EOF |
4798 cat conftest.$ac_ext >&5 | 4799 cat conftest.$ac_ext >&5 |
4799 fi | 4800 fi |
4800 rm -f conftest* | 4801 rm -f conftest* |
4801 | 4802 |
4802 echo "checking type of mail spool file locking" 1>&6 | 4803 echo "checking type of mail spool file locking" 1>&6 |
4803 echo "configure:4804: checking type of mail spool file locking" >&5 | 4804 echo "configure:4805: checking type of mail spool file locking" >&5 |
4804 for ac_func in lockf flock | 4805 for ac_func in lockf flock |
4805 do | 4806 do |
4806 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 4807 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
4807 echo "configure:4808: checking for $ac_func" >&5 | 4808 echo "configure:4809: checking for $ac_func" >&5 |
4808 | 4809 |
4809 cat > conftest.$ac_ext <<EOF | 4810 cat > conftest.$ac_ext <<EOF |
4810 #line 4811 "configure" | 4811 #line 4812 "configure" |
4811 #include "confdefs.h" | 4812 #include "confdefs.h" |
4812 /* System header to define __stub macros and hopefully few prototypes, | 4813 /* System header to define __stub macros and hopefully few prototypes, |
4813 which can conflict with char $ac_func(); below. */ | 4814 which can conflict with char $ac_func(); below. */ |
4814 #include <assert.h> | 4815 #include <assert.h> |
4815 /* Override any gcc2 internal prototype to avoid an error. */ | 4816 /* Override any gcc2 internal prototype to avoid an error. */ |
4828 $ac_func(); | 4829 $ac_func(); |
4829 #endif | 4830 #endif |
4830 | 4831 |
4831 ; return 0; } | 4832 ; return 0; } |
4832 EOF | 4833 EOF |
4833 if { (eval echo configure:4834: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4834 if { (eval echo configure:4835: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4834 rm -rf conftest* | 4835 rm -rf conftest* |
4835 eval "ac_cv_func_$ac_func=yes" | 4836 eval "ac_cv_func_$ac_func=yes" |
4836 else | 4837 else |
4837 echo "configure: failed program was:" >&5 | 4838 echo "configure: failed program was:" >&5 |
4838 cat conftest.$ac_ext >&5 | 4839 cat conftest.$ac_ext >&5 |
4910 { echo "Error:" "locking mail locking requested but not available." >&2; exit 1; } | 4911 { echo "Error:" "locking mail locking requested but not available." >&2; exit 1; } |
4911 | 4912 |
4912 case "$opsys" in decosf*) | 4913 case "$opsys" in decosf*) |
4913 | 4914 |
4914 echo $ac_n "checking for cma_open in -lpthreads""... $ac_c" 1>&6 | 4915 echo $ac_n "checking for cma_open in -lpthreads""... $ac_c" 1>&6 |
4915 echo "configure:4916: checking for cma_open in -lpthreads" >&5 | 4916 echo "configure:4917: checking for cma_open in -lpthreads" >&5 |
4916 ac_lib_var=`echo pthreads'_'cma_open | sed 'y%./+-%__p_%'` | 4917 ac_lib_var=`echo pthreads'_'cma_open | sed 'y%./+-%__p_%'` |
4917 | 4918 |
4918 xe_check_libs=" -lpthreads " | 4919 xe_check_libs=" -lpthreads " |
4919 cat > conftest.$ac_ext <<EOF | 4920 cat > conftest.$ac_ext <<EOF |
4920 #line 4921 "configure" | 4921 #line 4922 "configure" |
4921 #include "confdefs.h" | 4922 #include "confdefs.h" |
4922 /* Override any gcc2 internal prototype to avoid an error. */ | 4923 /* Override any gcc2 internal prototype to avoid an error. */ |
4923 /* We use char because int might match the return type of a gcc2 | 4924 /* We use char because int might match the return type of a gcc2 |
4924 builtin and then its argument prototype would still apply. */ | 4925 builtin and then its argument prototype would still apply. */ |
4925 char cma_open(); | 4926 char cma_open(); |
4926 | 4927 |
4927 int main() { | 4928 int main() { |
4928 cma_open() | 4929 cma_open() |
4929 ; return 0; } | 4930 ; return 0; } |
4930 EOF | 4931 EOF |
4931 if { (eval echo configure:4932: \"$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 |
4932 rm -rf conftest* | 4933 rm -rf conftest* |
4933 eval "ac_cv_lib_$ac_lib_var=yes" | 4934 eval "ac_cv_lib_$ac_lib_var=yes" |
4934 else | 4935 else |
4935 echo "configure: failed program was:" >&5 | 4936 echo "configure: failed program was:" >&5 |
4936 cat conftest.$ac_ext >&5 | 4937 cat conftest.$ac_ext >&5 |
4962 test "$ac_cv_lib_pthreads_cma_open" = "yes" && \ | 4963 test "$ac_cv_lib_pthreads_cma_open" = "yes" && \ |
4963 c_switch_site="$c_switch_site -threads" ;; | 4964 c_switch_site="$c_switch_site -threads" ;; |
4964 esac | 4965 esac |
4965 | 4966 |
4966 echo $ac_n "checking whether the -xildoff compiler flag is required""... $ac_c" 1>&6 | 4967 echo $ac_n "checking whether the -xildoff compiler flag is required""... $ac_c" 1>&6 |
4967 echo "configure:4968: checking whether the -xildoff compiler flag is required" >&5 | 4968 echo "configure:4969: checking whether the -xildoff compiler flag is required" >&5 |
4968 if ${CC-cc} '-###' -xildon no_such_file.c 2>&1 | grep '^[^ ]*/ild ' > /dev/null ; then | 4969 if ${CC-cc} '-###' -xildon no_such_file.c 2>&1 | grep '^[^ ]*/ild ' > /dev/null ; then |
4969 if ${CC-cc} '-###' -xildoff no_such_file.c 2>&1 | grep '^[^ ]*/ild ' > /dev/null ; | 4970 if ${CC-cc} '-###' -xildoff no_such_file.c 2>&1 | grep '^[^ ]*/ild ' > /dev/null ; |
4970 then echo "$ac_t""no" 1>&6; | 4971 then echo "$ac_t""no" 1>&6; |
4971 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 | 4972 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 |
4972 fi | 4973 fi |
4974 fi | 4975 fi |
4975 | 4976 |
4976 if test "$opsys" = "sol2"; then | 4977 if test "$opsys" = "sol2"; then |
4977 if test "$os_release" -ge 56; then | 4978 if test "$os_release" -ge 56; then |
4978 echo $ac_n "checking for \"-z ignore\" linker flag""... $ac_c" 1>&6 | 4979 echo $ac_n "checking for \"-z ignore\" linker flag""... $ac_c" 1>&6 |
4979 echo "configure:4980: checking for \"-z ignore\" linker flag" >&5 | 4980 echo "configure:4981: checking for \"-z ignore\" linker flag" >&5 |
4980 case "`ld -h 2>&1`" in | 4981 case "`ld -h 2>&1`" in |
4981 *-z\ ignore\|record* ) echo "$ac_t""yes" 1>&6 | 4982 *-z\ ignore\|record* ) echo "$ac_t""yes" 1>&6 |
4982 ld_switch_site="-z ignore $ld_switch_site" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-z ignore\" to \$ld_switch_site"; fi ;; | 4983 ld_switch_site="-z ignore $ld_switch_site" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-z ignore\" to \$ld_switch_site"; fi ;; |
4983 *) echo "$ac_t""no" 1>&6 ;; | 4984 *) echo "$ac_t""no" 1>&6 ;; |
4984 esac | 4985 esac |
4985 fi | 4986 fi |
4986 fi | 4987 fi |
4987 | 4988 |
4988 | 4989 |
4989 echo "checking "for specified window system"" 1>&6 | 4990 echo "checking "for specified window system"" 1>&6 |
4990 echo "configure:4991: checking "for specified window system"" >&5 | 4991 echo "configure:4992: checking "for specified window system"" >&5 |
4991 | 4992 |
4992 | 4993 |
4993 GNOME_CONFIG=no | 4994 GNOME_CONFIG=no |
4994 GTK_CONFIG=no | 4995 GTK_CONFIG=no |
4995 | 4996 |
4996 if test "$with_gnome" != "no"; then | 4997 if test "$with_gnome" != "no"; then |
4997 echo $ac_n "checking for GNOME configuration script""... $ac_c" 1>&6 | 4998 echo $ac_n "checking for GNOME configuration script""... $ac_c" 1>&6 |
4998 echo "configure:4999: checking for GNOME configuration script" >&5 | 4999 echo "configure:5000: checking for GNOME configuration script" >&5 |
4999 for possible in gnome-config | 5000 for possible in gnome-config |
5000 do | 5001 do |
5001 possible_version=`${possible} --version 2> /dev/null` | 5002 possible_version=`${possible} --version 2> /dev/null` |
5002 if test "x${possible_version}" != "x"; then | 5003 if test "x${possible_version}" != "x"; then |
5003 GNOME_CONFIG="${possible}" | 5004 GNOME_CONFIG="${possible}" |
5024 c_switch_gtk="$c_switch_gtk ${GNOME_CFLAGS}" && if test "$extra_verbose" = "yes"; then echo " Appending \"${GNOME_CFLAGS}\" to \$c_switch_gtk"; fi | 5025 c_switch_gtk="$c_switch_gtk ${GNOME_CFLAGS}" && if test "$extra_verbose" = "yes"; then echo " Appending \"${GNOME_CFLAGS}\" to \$c_switch_gtk"; fi |
5025 fi | 5026 fi |
5026 | 5027 |
5027 if test "$with_gtk" != "no";then | 5028 if test "$with_gtk" != "no";then |
5028 echo $ac_n "checking for GTK configuration script""... $ac_c" 1>&6 | 5029 echo $ac_n "checking for GTK configuration script""... $ac_c" 1>&6 |
5029 echo "configure:5030: checking for GTK configuration script" >&5 | 5030 echo "configure:5031: checking for GTK configuration script" >&5 |
5030 for possible in gtk12-config gtk14-config gtk-config | 5031 for possible in gtk12-config gtk14-config gtk-config |
5031 do | 5032 do |
5032 possible_version=`${possible} --version 2> /dev/null` | 5033 possible_version=`${possible} --version 2> /dev/null` |
5033 if test "x${possible_version}" != "x"; then | 5034 if test "x${possible_version}" != "x"; then |
5034 GTK_CONFIG="${possible}" | 5035 GTK_CONFIG="${possible}" |
5046 echo "$ac_t""${GTK_CONFIG}" 1>&6 | 5047 echo "$ac_t""${GTK_CONFIG}" 1>&6 |
5047 fi | 5048 fi |
5048 | 5049 |
5049 if test "${GTK_CONFIG}" != "no"; then | 5050 if test "${GTK_CONFIG}" != "no"; then |
5050 echo $ac_n "checking gtk version""... $ac_c" 1>&6 | 5051 echo $ac_n "checking gtk version""... $ac_c" 1>&6 |
5051 echo "configure:5052: checking gtk version" >&5 | 5052 echo "configure:5053: checking gtk version" >&5 |
5052 GTK_VERSION=`${GTK_CONFIG} --version` | 5053 GTK_VERSION=`${GTK_CONFIG} --version` |
5053 echo "$ac_t""${GTK_VERSION}" 1>&6 | 5054 echo "$ac_t""${GTK_VERSION}" 1>&6 |
5054 | 5055 |
5055 echo $ac_n "checking gtk libs""... $ac_c" 1>&6 | 5056 echo $ac_n "checking gtk libs""... $ac_c" 1>&6 |
5056 echo "configure:5057: checking gtk libs" >&5 | 5057 echo "configure:5058: checking gtk libs" >&5 |
5057 GTK_LIBS=`${GTK_CONFIG} --libs` | 5058 GTK_LIBS=`${GTK_CONFIG} --libs` |
5058 libs_gtk="$libs_gtk ${GTK_LIBS}" && if test "$extra_verbose" = "yes"; then echo " Appending \"${GTK_LIBS}\" to \$libs_gtk"; fi | 5059 libs_gtk="$libs_gtk ${GTK_LIBS}" && if test "$extra_verbose" = "yes"; then echo " Appending \"${GTK_LIBS}\" to \$libs_gtk"; fi |
5059 echo "$ac_t""${GTK_LIBS}" 1>&6 | 5060 echo "$ac_t""${GTK_LIBS}" 1>&6 |
5060 | 5061 |
5061 echo $ac_n "checking gtk cflags""... $ac_c" 1>&6 | 5062 echo $ac_n "checking gtk cflags""... $ac_c" 1>&6 |
5062 echo "configure:5063: checking gtk cflags" >&5 | 5063 echo "configure:5064: checking gtk cflags" >&5 |
5063 GTK_CFLAGS=`${GTK_CONFIG} --cflags` | 5064 GTK_CFLAGS=`${GTK_CONFIG} --cflags` |
5064 c_switch_gtk="$c_switch_gtk ${GTK_CFLAGS}" && if test "$extra_verbose" = "yes"; then echo " Appending \"${GTK_CFLAGS}\" to \$c_switch_gtk"; fi | 5065 c_switch_gtk="$c_switch_gtk ${GTK_CFLAGS}" && if test "$extra_verbose" = "yes"; then echo " Appending \"${GTK_CFLAGS}\" to \$c_switch_gtk"; fi |
5065 echo "$ac_t""${GTK_CFLAGS}" 1>&6 | 5066 echo "$ac_t""${GTK_CFLAGS}" 1>&6 |
5066 | 5067 |
5067 | 5068 |
5068 echo $ac_n "checking for main in -lgdk_imlib""... $ac_c" 1>&6 | 5069 echo $ac_n "checking for main in -lgdk_imlib""... $ac_c" 1>&6 |
5069 echo "configure:5070: checking for main in -lgdk_imlib" >&5 | 5070 echo "configure:5071: checking for main in -lgdk_imlib" >&5 |
5070 ac_lib_var=`echo gdk_imlib'_'main | sed 'y%./+-%__p_%'` | 5071 ac_lib_var=`echo gdk_imlib'_'main | sed 'y%./+-%__p_%'` |
5071 | 5072 |
5072 xe_check_libs=" -lgdk_imlib " | 5073 xe_check_libs=" -lgdk_imlib " |
5073 cat > conftest.$ac_ext <<EOF | 5074 cat > conftest.$ac_ext <<EOF |
5074 #line 5075 "configure" | 5075 #line 5076 "configure" |
5075 #include "confdefs.h" | 5076 #include "confdefs.h" |
5076 | 5077 |
5077 int main() { | 5078 int main() { |
5078 main() | 5079 main() |
5079 ; return 0; } | 5080 ; return 0; } |
5080 EOF | 5081 EOF |
5081 if { (eval echo configure:5082: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5082 if { (eval echo configure:5083: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5082 rm -rf conftest* | 5083 rm -rf conftest* |
5083 eval "ac_cv_lib_$ac_lib_var=yes" | 5084 eval "ac_cv_lib_$ac_lib_var=yes" |
5084 else | 5085 else |
5085 echo "configure: failed program was:" >&5 | 5086 echo "configure: failed program was:" >&5 |
5086 cat conftest.$ac_ext >&5 | 5087 cat conftest.$ac_ext >&5 |
5098 fi | 5099 fi |
5099 | 5100 |
5100 | 5101 |
5101 | 5102 |
5102 echo $ac_n "checking for Imlib_init in -lImlib""... $ac_c" 1>&6 | 5103 echo $ac_n "checking for Imlib_init in -lImlib""... $ac_c" 1>&6 |
5103 echo "configure:5104: checking for Imlib_init in -lImlib" >&5 | 5104 echo "configure:5105: checking for Imlib_init in -lImlib" >&5 |
5104 ac_lib_var=`echo Imlib'_'Imlib_init | sed 'y%./+-%__p_%'` | 5105 ac_lib_var=`echo Imlib'_'Imlib_init | sed 'y%./+-%__p_%'` |
5105 | 5106 |
5106 xe_check_libs=" -lImlib " | 5107 xe_check_libs=" -lImlib " |
5107 cat > conftest.$ac_ext <<EOF | 5108 cat > conftest.$ac_ext <<EOF |
5108 #line 5109 "configure" | 5109 #line 5110 "configure" |
5109 #include "confdefs.h" | 5110 #include "confdefs.h" |
5110 /* Override any gcc2 internal prototype to avoid an error. */ | 5111 /* Override any gcc2 internal prototype to avoid an error. */ |
5111 /* We use char because int might match the return type of a gcc2 | 5112 /* We use char because int might match the return type of a gcc2 |
5112 builtin and then its argument prototype would still apply. */ | 5113 builtin and then its argument prototype would still apply. */ |
5113 char Imlib_init(); | 5114 char Imlib_init(); |
5114 | 5115 |
5115 int main() { | 5116 int main() { |
5116 Imlib_init() | 5117 Imlib_init() |
5117 ; return 0; } | 5118 ; return 0; } |
5118 EOF | 5119 EOF |
5119 if { (eval echo configure:5120: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5120 if { (eval echo configure:5121: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5120 rm -rf conftest* | 5121 rm -rf conftest* |
5121 eval "ac_cv_lib_$ac_lib_var=yes" | 5122 eval "ac_cv_lib_$ac_lib_var=yes" |
5122 else | 5123 else |
5123 echo "configure: failed program was:" >&5 | 5124 echo "configure: failed program was:" >&5 |
5124 cat conftest.$ac_ext >&5 | 5125 cat conftest.$ac_ext >&5 |
5137 | 5138 |
5138 | 5139 |
5139 for ac_func in gdk_imlib_init | 5140 for ac_func in gdk_imlib_init |
5140 do | 5141 do |
5141 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 5142 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
5142 echo "configure:5143: checking for $ac_func" >&5 | 5143 echo "configure:5144: checking for $ac_func" >&5 |
5143 | 5144 |
5144 cat > conftest.$ac_ext <<EOF | 5145 cat > conftest.$ac_ext <<EOF |
5145 #line 5146 "configure" | 5146 #line 5147 "configure" |
5146 #include "confdefs.h" | 5147 #include "confdefs.h" |
5147 /* System header to define __stub macros and hopefully few prototypes, | 5148 /* System header to define __stub macros and hopefully few prototypes, |
5148 which can conflict with char $ac_func(); below. */ | 5149 which can conflict with char $ac_func(); below. */ |
5149 #include <assert.h> | 5150 #include <assert.h> |
5150 /* Override any gcc2 internal prototype to avoid an error. */ | 5151 /* Override any gcc2 internal prototype to avoid an error. */ |
5163 $ac_func(); | 5164 $ac_func(); |
5164 #endif | 5165 #endif |
5165 | 5166 |
5166 ; return 0; } | 5167 ; return 0; } |
5167 EOF | 5168 EOF |
5168 if { (eval echo configure:5169: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5169 if { (eval echo configure:5170: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5169 rm -rf conftest* | 5170 rm -rf conftest* |
5170 eval "ac_cv_func_$ac_func=yes" | 5171 eval "ac_cv_func_$ac_func=yes" |
5171 else | 5172 else |
5172 echo "configure: failed program was:" >&5 | 5173 echo "configure: failed program was:" >&5 |
5173 cat conftest.$ac_ext >&5 | 5174 cat conftest.$ac_ext >&5 |
5240 LDFLAGS="${LDFLAGS} ${GTK_LIBS}" | 5241 LDFLAGS="${LDFLAGS} ${GTK_LIBS}" |
5241 for ac_hdr in glade/glade.h glade.h | 5242 for ac_hdr in glade/glade.h glade.h |
5242 do | 5243 do |
5243 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 5244 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
5244 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 5245 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
5245 echo "configure:5246: checking for $ac_hdr" >&5 | 5246 echo "configure:5247: checking for $ac_hdr" >&5 |
5246 | 5247 |
5247 cat > conftest.$ac_ext <<EOF | 5248 cat > conftest.$ac_ext <<EOF |
5248 #line 5249 "configure" | 5249 #line 5250 "configure" |
5249 #include "confdefs.h" | 5250 #include "confdefs.h" |
5250 #include <$ac_hdr> | 5251 #include <$ac_hdr> |
5251 EOF | 5252 EOF |
5252 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 5253 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
5253 { (eval echo configure:5254: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 5254 { (eval echo configure:5255: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
5254 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 5255 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
5255 if test -z "$ac_err"; then | 5256 if test -z "$ac_err"; then |
5256 rm -rf conftest* | 5257 rm -rf conftest* |
5257 eval "ac_cv_header_$ac_safe=yes" | 5258 eval "ac_cv_header_$ac_safe=yes" |
5258 else | 5259 else |
5279 fi | 5280 fi |
5280 done | 5281 done |
5281 | 5282 |
5282 | 5283 |
5283 echo $ac_n "checking for main in -lxml""... $ac_c" 1>&6 | 5284 echo $ac_n "checking for main in -lxml""... $ac_c" 1>&6 |
5284 echo "configure:5285: checking for main in -lxml" >&5 | 5285 echo "configure:5286: checking for main in -lxml" >&5 |
5285 ac_lib_var=`echo xml'_'main | sed 'y%./+-%__p_%'` | 5286 ac_lib_var=`echo xml'_'main | sed 'y%./+-%__p_%'` |
5286 | 5287 |
5287 xe_check_libs=" -lxml " | 5288 xe_check_libs=" -lxml " |
5288 cat > conftest.$ac_ext <<EOF | 5289 cat > conftest.$ac_ext <<EOF |
5289 #line 5290 "configure" | 5290 #line 5291 "configure" |
5290 #include "confdefs.h" | 5291 #include "confdefs.h" |
5291 | 5292 |
5292 int main() { | 5293 int main() { |
5293 main() | 5294 main() |
5294 ; return 0; } | 5295 ; return 0; } |
5295 EOF | 5296 EOF |
5296 if { (eval echo configure:5297: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5297 if { (eval echo configure:5298: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5297 rm -rf conftest* | 5298 rm -rf conftest* |
5298 eval "ac_cv_lib_$ac_lib_var=yes" | 5299 eval "ac_cv_lib_$ac_lib_var=yes" |
5299 else | 5300 else |
5300 echo "configure: failed program was:" >&5 | 5301 echo "configure: failed program was:" >&5 |
5301 cat conftest.$ac_ext >&5 | 5302 cat conftest.$ac_ext >&5 |
5313 fi | 5314 fi |
5314 | 5315 |
5315 | 5316 |
5316 | 5317 |
5317 echo $ac_n "checking for main in -lglade""... $ac_c" 1>&6 | 5318 echo $ac_n "checking for main in -lglade""... $ac_c" 1>&6 |
5318 echo "configure:5319: checking for main in -lglade" >&5 | 5319 echo "configure:5320: checking for main in -lglade" >&5 |
5319 ac_lib_var=`echo glade'_'main | sed 'y%./+-%__p_%'` | 5320 ac_lib_var=`echo glade'_'main | sed 'y%./+-%__p_%'` |
5320 | 5321 |
5321 xe_check_libs=" -lglade " | 5322 xe_check_libs=" -lglade " |
5322 cat > conftest.$ac_ext <<EOF | 5323 cat > conftest.$ac_ext <<EOF |
5323 #line 5324 "configure" | 5324 #line 5325 "configure" |
5324 #include "confdefs.h" | 5325 #include "confdefs.h" |
5325 | 5326 |
5326 int main() { | 5327 int main() { |
5327 main() | 5328 main() |
5328 ; return 0; } | 5329 ; return 0; } |
5329 EOF | 5330 EOF |
5330 if { (eval echo configure:5331: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5331 if { (eval echo configure:5332: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5331 rm -rf conftest* | 5332 rm -rf conftest* |
5332 eval "ac_cv_lib_$ac_lib_var=yes" | 5333 eval "ac_cv_lib_$ac_lib_var=yes" |
5333 else | 5334 else |
5334 echo "configure: failed program was:" >&5 | 5335 echo "configure: failed program was:" >&5 |
5335 cat conftest.$ac_ext >&5 | 5336 cat conftest.$ac_ext >&5 |
5347 fi | 5348 fi |
5348 | 5349 |
5349 | 5350 |
5350 | 5351 |
5351 echo $ac_n "checking for main in -lglade-gnome""... $ac_c" 1>&6 | 5352 echo $ac_n "checking for main in -lglade-gnome""... $ac_c" 1>&6 |
5352 echo "configure:5353: checking for main in -lglade-gnome" >&5 | 5353 echo "configure:5354: checking for main in -lglade-gnome" >&5 |
5353 ac_lib_var=`echo glade-gnome'_'main | sed 'y%./+-%__p_%'` | 5354 ac_lib_var=`echo glade-gnome'_'main | sed 'y%./+-%__p_%'` |
5354 | 5355 |
5355 xe_check_libs=" -lglade-gnome " | 5356 xe_check_libs=" -lglade-gnome " |
5356 cat > conftest.$ac_ext <<EOF | 5357 cat > conftest.$ac_ext <<EOF |
5357 #line 5358 "configure" | 5358 #line 5359 "configure" |
5358 #include "confdefs.h" | 5359 #include "confdefs.h" |
5359 | 5360 |
5360 int main() { | 5361 int main() { |
5361 main() | 5362 main() |
5362 ; return 0; } | 5363 ; return 0; } |
5363 EOF | 5364 EOF |
5364 if { (eval echo configure:5365: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5365 if { (eval echo configure:5366: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5365 rm -rf conftest* | 5366 rm -rf conftest* |
5366 eval "ac_cv_lib_$ac_lib_var=yes" | 5367 eval "ac_cv_lib_$ac_lib_var=yes" |
5367 else | 5368 else |
5368 echo "configure: failed program was:" >&5 | 5369 echo "configure: failed program was:" >&5 |
5369 cat conftest.$ac_ext >&5 | 5370 cat conftest.$ac_ext >&5 |
5380 echo "$ac_t""no" 1>&6 | 5381 echo "$ac_t""no" 1>&6 |
5381 fi | 5382 fi |
5382 | 5383 |
5383 | 5384 |
5384 cat > conftest.$ac_ext <<EOF | 5385 cat > conftest.$ac_ext <<EOF |
5385 #line 5386 "configure" | 5386 #line 5387 "configure" |
5386 #include "confdefs.h" | 5387 #include "confdefs.h" |
5387 #include <glade/glade-xml.h> | 5388 #include <glade/glade-xml.h> |
5388 EOF | 5389 EOF |
5389 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 5390 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
5390 egrep "char \*txtdomain;" >/dev/null 2>&1; then | 5391 egrep "char \*txtdomain;" >/dev/null 2>&1; then |
5438 # If we find X, set shell vars x_includes and x_libraries to the | 5439 # If we find X, set shell vars x_includes and x_libraries to the |
5439 # paths, otherwise set no_x=yes. | 5440 # paths, otherwise set no_x=yes. |
5440 # Uses ac_ vars as temps to allow command line to override cache and checks. | 5441 # Uses ac_ vars as temps to allow command line to override cache and checks. |
5441 # --without-x overrides everything else, but does not touch the cache. | 5442 # --without-x overrides everything else, but does not touch the cache. |
5442 echo $ac_n "checking for X""... $ac_c" 1>&6 | 5443 echo $ac_n "checking for X""... $ac_c" 1>&6 |
5443 echo "configure:5444: checking for X" >&5 | 5444 echo "configure:5445: checking for X" >&5 |
5444 | 5445 |
5445 # Check whether --with-x or --without-x was given. | 5446 # Check whether --with-x or --without-x was given. |
5446 if test "${with_x+set}" = set; then | 5447 if test "${with_x+set}" = set; then |
5447 withval="$with_x" | 5448 withval="$with_x" |
5448 : | 5449 : |
5498 # Guess where to find include files, by looking for this one X11 .h file. | 5499 # Guess where to find include files, by looking for this one X11 .h file. |
5499 test -z "$x_direct_test_include" && x_direct_test_include=X11/Intrinsic.h | 5500 test -z "$x_direct_test_include" && x_direct_test_include=X11/Intrinsic.h |
5500 | 5501 |
5501 # First, try using that file with no special directory specified. | 5502 # First, try using that file with no special directory specified. |
5502 cat > conftest.$ac_ext <<EOF | 5503 cat > conftest.$ac_ext <<EOF |
5503 #line 5504 "configure" | 5504 #line 5505 "configure" |
5504 #include "confdefs.h" | 5505 #include "confdefs.h" |
5505 #include <$x_direct_test_include> | 5506 #include <$x_direct_test_include> |
5506 EOF | 5507 EOF |
5507 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 5508 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
5508 { (eval echo configure:5509: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 5509 { (eval echo configure:5510: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
5509 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 5510 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
5510 if test -z "$ac_err"; then | 5511 if test -z "$ac_err"; then |
5511 rm -rf conftest* | 5512 rm -rf conftest* |
5512 # We can compile using X headers with no special include directory. | 5513 # We can compile using X headers with no special include directory. |
5513 ac_x_includes= | 5514 ac_x_includes= |
5572 # See if we find them without any special options. | 5573 # See if we find them without any special options. |
5573 # Don't add to $LIBS permanently. | 5574 # Don't add to $LIBS permanently. |
5574 ac_save_LIBS="$LIBS" | 5575 ac_save_LIBS="$LIBS" |
5575 LIBS="-l$x_direct_test_library $LIBS" | 5576 LIBS="-l$x_direct_test_library $LIBS" |
5576 cat > conftest.$ac_ext <<EOF | 5577 cat > conftest.$ac_ext <<EOF |
5577 #line 5578 "configure" | 5578 #line 5579 "configure" |
5578 #include "confdefs.h" | 5579 #include "confdefs.h" |
5579 | 5580 |
5580 int main() { | 5581 int main() { |
5581 ${x_direct_test_function}() | 5582 ${x_direct_test_function}() |
5582 ; return 0; } | 5583 ; return 0; } |
5583 EOF | 5584 EOF |
5584 if { (eval echo configure:5585: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5585 if { (eval echo configure:5586: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5585 rm -rf conftest* | 5586 rm -rf conftest* |
5586 LIBS="$ac_save_LIBS" | 5587 LIBS="$ac_save_LIBS" |
5587 # We can link X programs with no special library path. | 5588 # We can link X programs with no special library path. |
5588 ac_x_libraries= | 5589 ac_x_libraries= |
5589 else | 5590 else |
5688 # For Solaris; some versions of Sun CC require a space after -R and | 5689 # For Solaris; some versions of Sun CC require a space after -R and |
5689 # others require no space. Words are not sufficient . . . . | 5690 # others require no space. Words are not sufficient . . . . |
5690 case "`(uname -sr) 2>/dev/null`" in | 5691 case "`(uname -sr) 2>/dev/null`" in |
5691 "SunOS 5"*) | 5692 "SunOS 5"*) |
5692 echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6 | 5693 echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6 |
5693 echo "configure:5694: checking whether -R must be followed by a space" >&5 | 5694 echo "configure:5695: checking whether -R must be followed by a space" >&5 |
5694 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS -R$x_libraries" | 5695 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS -R$x_libraries" |
5695 cat > conftest.$ac_ext <<EOF | 5696 cat > conftest.$ac_ext <<EOF |
5696 #line 5697 "configure" | 5697 #line 5698 "configure" |
5697 #include "confdefs.h" | 5698 #include "confdefs.h" |
5698 | 5699 |
5699 int main() { | 5700 int main() { |
5700 | 5701 |
5701 ; return 0; } | 5702 ; return 0; } |
5702 EOF | 5703 EOF |
5703 if { (eval echo configure:5704: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5704 if { (eval echo configure:5705: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5704 rm -rf conftest* | 5705 rm -rf conftest* |
5705 ac_R_nospace=yes | 5706 ac_R_nospace=yes |
5706 else | 5707 else |
5707 echo "configure: failed program was:" >&5 | 5708 echo "configure: failed program was:" >&5 |
5708 cat conftest.$ac_ext >&5 | 5709 cat conftest.$ac_ext >&5 |
5714 echo "$ac_t""no" 1>&6 | 5715 echo "$ac_t""no" 1>&6 |
5715 X_LIBS="$X_LIBS -R$x_libraries" | 5716 X_LIBS="$X_LIBS -R$x_libraries" |
5716 else | 5717 else |
5717 LIBS="$ac_xsave_LIBS -R $x_libraries" | 5718 LIBS="$ac_xsave_LIBS -R $x_libraries" |
5718 cat > conftest.$ac_ext <<EOF | 5719 cat > conftest.$ac_ext <<EOF |
5719 #line 5720 "configure" | 5720 #line 5721 "configure" |
5720 #include "confdefs.h" | 5721 #include "confdefs.h" |
5721 | 5722 |
5722 int main() { | 5723 int main() { |
5723 | 5724 |
5724 ; return 0; } | 5725 ; return 0; } |
5725 EOF | 5726 EOF |
5726 if { (eval echo configure:5727: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5727 if { (eval echo configure:5728: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5727 rm -rf conftest* | 5728 rm -rf conftest* |
5728 ac_R_space=yes | 5729 ac_R_space=yes |
5729 else | 5730 else |
5730 echo "configure: failed program was:" >&5 | 5731 echo "configure: failed program was:" >&5 |
5731 cat conftest.$ac_ext >&5 | 5732 cat conftest.$ac_ext >&5 |
5757 if test "$with_dnet" = "no" ; then | 5758 if test "$with_dnet" = "no" ; then |
5758 ac_cv_lib_dnet_dnet_ntoa=no | 5759 ac_cv_lib_dnet_dnet_ntoa=no |
5759 else | 5760 else |
5760 | 5761 |
5761 echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6 | 5762 echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6 |
5762 echo "configure:5763: checking for dnet_ntoa in -ldnet" >&5 | 5763 echo "configure:5764: checking for dnet_ntoa in -ldnet" >&5 |
5763 ac_lib_var=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'` | 5764 ac_lib_var=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'` |
5764 | 5765 |
5765 xe_check_libs=" -ldnet " | 5766 xe_check_libs=" -ldnet " |
5766 cat > conftest.$ac_ext <<EOF | 5767 cat > conftest.$ac_ext <<EOF |
5767 #line 5768 "configure" | 5768 #line 5769 "configure" |
5768 #include "confdefs.h" | 5769 #include "confdefs.h" |
5769 /* Override any gcc2 internal prototype to avoid an error. */ | 5770 /* Override any gcc2 internal prototype to avoid an error. */ |
5770 /* We use char because int might match the return type of a gcc2 | 5771 /* We use char because int might match the return type of a gcc2 |
5771 builtin and then its argument prototype would still apply. */ | 5772 builtin and then its argument prototype would still apply. */ |
5772 char dnet_ntoa(); | 5773 char dnet_ntoa(); |
5773 | 5774 |
5774 int main() { | 5775 int main() { |
5775 dnet_ntoa() | 5776 dnet_ntoa() |
5776 ; return 0; } | 5777 ; return 0; } |
5777 EOF | 5778 EOF |
5778 if { (eval echo configure:5779: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5779 if { (eval echo configure:5780: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5779 rm -rf conftest* | 5780 rm -rf conftest* |
5780 eval "ac_cv_lib_$ac_lib_var=yes" | 5781 eval "ac_cv_lib_$ac_lib_var=yes" |
5781 else | 5782 else |
5782 echo "configure: failed program was:" >&5 | 5783 echo "configure: failed program was:" >&5 |
5783 cat conftest.$ac_ext >&5 | 5784 cat conftest.$ac_ext >&5 |
5797 fi | 5798 fi |
5798 | 5799 |
5799 if test $ac_cv_lib_dnet_dnet_ntoa = no; then | 5800 if test $ac_cv_lib_dnet_dnet_ntoa = no; then |
5800 | 5801 |
5801 echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6 | 5802 echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6 |
5802 echo "configure:5803: checking for dnet_ntoa in -ldnet_stub" >&5 | 5803 echo "configure:5804: checking for dnet_ntoa in -ldnet_stub" >&5 |
5803 ac_lib_var=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'` | 5804 ac_lib_var=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'` |
5804 | 5805 |
5805 xe_check_libs=" -ldnet_stub " | 5806 xe_check_libs=" -ldnet_stub " |
5806 cat > conftest.$ac_ext <<EOF | 5807 cat > conftest.$ac_ext <<EOF |
5807 #line 5808 "configure" | 5808 #line 5809 "configure" |
5808 #include "confdefs.h" | 5809 #include "confdefs.h" |
5809 /* Override any gcc2 internal prototype to avoid an error. */ | 5810 /* Override any gcc2 internal prototype to avoid an error. */ |
5810 /* We use char because int might match the return type of a gcc2 | 5811 /* We use char because int might match the return type of a gcc2 |
5811 builtin and then its argument prototype would still apply. */ | 5812 builtin and then its argument prototype would still apply. */ |
5812 char dnet_ntoa(); | 5813 char dnet_ntoa(); |
5813 | 5814 |
5814 int main() { | 5815 int main() { |
5815 dnet_ntoa() | 5816 dnet_ntoa() |
5816 ; return 0; } | 5817 ; return 0; } |
5817 EOF | 5818 EOF |
5818 if { (eval echo configure:5819: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5819 if { (eval echo configure:5820: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5819 rm -rf conftest* | 5820 rm -rf conftest* |
5820 eval "ac_cv_lib_$ac_lib_var=yes" | 5821 eval "ac_cv_lib_$ac_lib_var=yes" |
5821 else | 5822 else |
5822 echo "configure: failed program was:" >&5 | 5823 echo "configure: failed program was:" >&5 |
5823 cat conftest.$ac_ext >&5 | 5824 cat conftest.$ac_ext >&5 |
5842 # chad@anasazi.com says the Pyramis MIS-ES running DC/OSx (SVR4) | 5843 # chad@anasazi.com says the Pyramis MIS-ES running DC/OSx (SVR4) |
5843 # needs -lnsl. | 5844 # needs -lnsl. |
5844 # The nsl library prevents programs from opening the X display | 5845 # The nsl library prevents programs from opening the X display |
5845 # on Irix 5.2, according to dickey@clark.net. | 5846 # on Irix 5.2, according to dickey@clark.net. |
5846 echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6 | 5847 echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6 |
5847 echo "configure:5848: checking for gethostbyname" >&5 | 5848 echo "configure:5849: checking for gethostbyname" >&5 |
5848 | 5849 |
5849 cat > conftest.$ac_ext <<EOF | 5850 cat > conftest.$ac_ext <<EOF |
5850 #line 5851 "configure" | 5851 #line 5852 "configure" |
5851 #include "confdefs.h" | 5852 #include "confdefs.h" |
5852 /* System header to define __stub macros and hopefully few prototypes, | 5853 /* System header to define __stub macros and hopefully few prototypes, |
5853 which can conflict with char gethostbyname(); below. */ | 5854 which can conflict with char gethostbyname(); below. */ |
5854 #include <assert.h> | 5855 #include <assert.h> |
5855 /* Override any gcc2 internal prototype to avoid an error. */ | 5856 /* Override any gcc2 internal prototype to avoid an error. */ |
5868 gethostbyname(); | 5869 gethostbyname(); |
5869 #endif | 5870 #endif |
5870 | 5871 |
5871 ; return 0; } | 5872 ; return 0; } |
5872 EOF | 5873 EOF |
5873 if { (eval echo configure:5874: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5874 if { (eval echo configure:5875: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5874 rm -rf conftest* | 5875 rm -rf conftest* |
5875 eval "ac_cv_func_gethostbyname=yes" | 5876 eval "ac_cv_func_gethostbyname=yes" |
5876 else | 5877 else |
5877 echo "configure: failed program was:" >&5 | 5878 echo "configure: failed program was:" >&5 |
5878 cat conftest.$ac_ext >&5 | 5879 cat conftest.$ac_ext >&5 |
5889 fi | 5890 fi |
5890 | 5891 |
5891 if test $ac_cv_func_gethostbyname = no; then | 5892 if test $ac_cv_func_gethostbyname = no; then |
5892 | 5893 |
5893 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6 | 5894 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6 |
5894 echo "configure:5895: checking for gethostbyname in -lnsl" >&5 | 5895 echo "configure:5896: checking for gethostbyname in -lnsl" >&5 |
5895 ac_lib_var=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'` | 5896 ac_lib_var=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'` |
5896 | 5897 |
5897 xe_check_libs=" -lnsl " | 5898 xe_check_libs=" -lnsl " |
5898 cat > conftest.$ac_ext <<EOF | 5899 cat > conftest.$ac_ext <<EOF |
5899 #line 5900 "configure" | 5900 #line 5901 "configure" |
5900 #include "confdefs.h" | 5901 #include "confdefs.h" |
5901 /* Override any gcc2 internal prototype to avoid an error. */ | 5902 /* Override any gcc2 internal prototype to avoid an error. */ |
5902 /* We use char because int might match the return type of a gcc2 | 5903 /* We use char because int might match the return type of a gcc2 |
5903 builtin and then its argument prototype would still apply. */ | 5904 builtin and then its argument prototype would still apply. */ |
5904 char gethostbyname(); | 5905 char gethostbyname(); |
5905 | 5906 |
5906 int main() { | 5907 int main() { |
5907 gethostbyname() | 5908 gethostbyname() |
5908 ; return 0; } | 5909 ; return 0; } |
5909 EOF | 5910 EOF |
5910 if { (eval echo configure:5911: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5911 if { (eval echo configure:5912: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5911 rm -rf conftest* | 5912 rm -rf conftest* |
5912 eval "ac_cv_lib_$ac_lib_var=yes" | 5913 eval "ac_cv_lib_$ac_lib_var=yes" |
5913 else | 5914 else |
5914 echo "configure: failed program was:" >&5 | 5915 echo "configure: failed program was:" >&5 |
5915 cat conftest.$ac_ext >&5 | 5916 cat conftest.$ac_ext >&5 |
5935 # on later versions), says simon@lia.di.epfl.ch: it contains | 5936 # on later versions), says simon@lia.di.epfl.ch: it contains |
5936 # gethostby* variants that don't use the nameserver (or something). | 5937 # gethostby* variants that don't use the nameserver (or something). |
5937 # -lsocket must be given before -lnsl if both are needed. | 5938 # -lsocket must be given before -lnsl if both are needed. |
5938 # We assume that if connect needs -lnsl, so does gethostbyname. | 5939 # We assume that if connect needs -lnsl, so does gethostbyname. |
5939 echo $ac_n "checking for connect""... $ac_c" 1>&6 | 5940 echo $ac_n "checking for connect""... $ac_c" 1>&6 |
5940 echo "configure:5941: checking for connect" >&5 | 5941 echo "configure:5942: checking for connect" >&5 |
5941 | 5942 |
5942 cat > conftest.$ac_ext <<EOF | 5943 cat > conftest.$ac_ext <<EOF |
5943 #line 5944 "configure" | 5944 #line 5945 "configure" |
5944 #include "confdefs.h" | 5945 #include "confdefs.h" |
5945 /* System header to define __stub macros and hopefully few prototypes, | 5946 /* System header to define __stub macros and hopefully few prototypes, |
5946 which can conflict with char connect(); below. */ | 5947 which can conflict with char connect(); below. */ |
5947 #include <assert.h> | 5948 #include <assert.h> |
5948 /* Override any gcc2 internal prototype to avoid an error. */ | 5949 /* Override any gcc2 internal prototype to avoid an error. */ |
5961 connect(); | 5962 connect(); |
5962 #endif | 5963 #endif |
5963 | 5964 |
5964 ; return 0; } | 5965 ; return 0; } |
5965 EOF | 5966 EOF |
5966 if { (eval echo configure:5967: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5967 if { (eval echo configure:5968: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5967 rm -rf conftest* | 5968 rm -rf conftest* |
5968 eval "ac_cv_func_connect=yes" | 5969 eval "ac_cv_func_connect=yes" |
5969 else | 5970 else |
5970 echo "configure: failed program was:" >&5 | 5971 echo "configure: failed program was:" >&5 |
5971 cat conftest.$ac_ext >&5 | 5972 cat conftest.$ac_ext >&5 |
5984 if test $ac_cv_func_connect = no; then | 5985 if test $ac_cv_func_connect = no; then |
5985 | 5986 |
5986 xe_msg_checking="for connect in -lsocket" | 5987 xe_msg_checking="for connect in -lsocket" |
5987 test -n "$X_EXTRA_LIBS" && xe_msg_checking="$xe_msg_checking using extra libs $X_EXTRA_LIBS" | 5988 test -n "$X_EXTRA_LIBS" && xe_msg_checking="$xe_msg_checking using extra libs $X_EXTRA_LIBS" |
5988 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 5989 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
5989 echo "configure:5990: checking "$xe_msg_checking"" >&5 | 5990 echo "configure:5991: checking "$xe_msg_checking"" >&5 |
5990 ac_lib_var=`echo socket'_'connect | sed 'y%./+-%__p_%'` | 5991 ac_lib_var=`echo socket'_'connect | sed 'y%./+-%__p_%'` |
5991 | 5992 |
5992 xe_check_libs=" -lsocket $X_EXTRA_LIBS" | 5993 xe_check_libs=" -lsocket $X_EXTRA_LIBS" |
5993 cat > conftest.$ac_ext <<EOF | 5994 cat > conftest.$ac_ext <<EOF |
5994 #line 5995 "configure" | 5995 #line 5996 "configure" |
5995 #include "confdefs.h" | 5996 #include "confdefs.h" |
5996 /* Override any gcc2 internal prototype to avoid an error. */ | 5997 /* Override any gcc2 internal prototype to avoid an error. */ |
5997 /* We use char because int might match the return type of a gcc2 | 5998 /* We use char because int might match the return type of a gcc2 |
5998 builtin and then its argument prototype would still apply. */ | 5999 builtin and then its argument prototype would still apply. */ |
5999 char connect(); | 6000 char connect(); |
6000 | 6001 |
6001 int main() { | 6002 int main() { |
6002 connect() | 6003 connect() |
6003 ; return 0; } | 6004 ; return 0; } |
6004 EOF | 6005 EOF |
6005 if { (eval echo configure:6006: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6006 if { (eval echo configure:6007: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6006 rm -rf conftest* | 6007 rm -rf conftest* |
6007 eval "ac_cv_lib_$ac_lib_var=yes" | 6008 eval "ac_cv_lib_$ac_lib_var=yes" |
6008 else | 6009 else |
6009 echo "configure: failed program was:" >&5 | 6010 echo "configure: failed program was:" >&5 |
6010 cat conftest.$ac_ext >&5 | 6011 cat conftest.$ac_ext >&5 |
6024 | 6025 |
6025 fi | 6026 fi |
6026 | 6027 |
6027 # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX. | 6028 # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX. |
6028 echo $ac_n "checking for remove""... $ac_c" 1>&6 | 6029 echo $ac_n "checking for remove""... $ac_c" 1>&6 |
6029 echo "configure:6030: checking for remove" >&5 | 6030 echo "configure:6031: checking for remove" >&5 |
6030 | 6031 |
6031 cat > conftest.$ac_ext <<EOF | 6032 cat > conftest.$ac_ext <<EOF |
6032 #line 6033 "configure" | 6033 #line 6034 "configure" |
6033 #include "confdefs.h" | 6034 #include "confdefs.h" |
6034 /* System header to define __stub macros and hopefully few prototypes, | 6035 /* System header to define __stub macros and hopefully few prototypes, |
6035 which can conflict with char remove(); below. */ | 6036 which can conflict with char remove(); below. */ |
6036 #include <assert.h> | 6037 #include <assert.h> |
6037 /* Override any gcc2 internal prototype to avoid an error. */ | 6038 /* Override any gcc2 internal prototype to avoid an error. */ |
6050 remove(); | 6051 remove(); |
6051 #endif | 6052 #endif |
6052 | 6053 |
6053 ; return 0; } | 6054 ; return 0; } |
6054 EOF | 6055 EOF |
6055 if { (eval echo configure:6056: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6056 if { (eval echo configure:6057: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6056 rm -rf conftest* | 6057 rm -rf conftest* |
6057 eval "ac_cv_func_remove=yes" | 6058 eval "ac_cv_func_remove=yes" |
6058 else | 6059 else |
6059 echo "configure: failed program was:" >&5 | 6060 echo "configure: failed program was:" >&5 |
6060 cat conftest.$ac_ext >&5 | 6061 cat conftest.$ac_ext >&5 |
6071 fi | 6072 fi |
6072 | 6073 |
6073 if test $ac_cv_func_remove = no; then | 6074 if test $ac_cv_func_remove = no; then |
6074 | 6075 |
6075 echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6 | 6076 echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6 |
6076 echo "configure:6077: checking for remove in -lposix" >&5 | 6077 echo "configure:6078: checking for remove in -lposix" >&5 |
6077 ac_lib_var=`echo posix'_'remove | sed 'y%./+-%__p_%'` | 6078 ac_lib_var=`echo posix'_'remove | sed 'y%./+-%__p_%'` |
6078 | 6079 |
6079 xe_check_libs=" -lposix " | 6080 xe_check_libs=" -lposix " |
6080 cat > conftest.$ac_ext <<EOF | 6081 cat > conftest.$ac_ext <<EOF |
6081 #line 6082 "configure" | 6082 #line 6083 "configure" |
6082 #include "confdefs.h" | 6083 #include "confdefs.h" |
6083 /* Override any gcc2 internal prototype to avoid an error. */ | 6084 /* Override any gcc2 internal prototype to avoid an error. */ |
6084 /* We use char because int might match the return type of a gcc2 | 6085 /* We use char because int might match the return type of a gcc2 |
6085 builtin and then its argument prototype would still apply. */ | 6086 builtin and then its argument prototype would still apply. */ |
6086 char remove(); | 6087 char remove(); |
6087 | 6088 |
6088 int main() { | 6089 int main() { |
6089 remove() | 6090 remove() |
6090 ; return 0; } | 6091 ; return 0; } |
6091 EOF | 6092 EOF |
6092 if { (eval echo configure:6093: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6093 if { (eval echo configure:6094: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6093 rm -rf conftest* | 6094 rm -rf conftest* |
6094 eval "ac_cv_lib_$ac_lib_var=yes" | 6095 eval "ac_cv_lib_$ac_lib_var=yes" |
6095 else | 6096 else |
6096 echo "configure: failed program was:" >&5 | 6097 echo "configure: failed program was:" >&5 |
6097 cat conftest.$ac_ext >&5 | 6098 cat conftest.$ac_ext >&5 |
6111 | 6112 |
6112 fi | 6113 fi |
6113 | 6114 |
6114 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay. | 6115 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay. |
6115 echo $ac_n "checking for shmat""... $ac_c" 1>&6 | 6116 echo $ac_n "checking for shmat""... $ac_c" 1>&6 |
6116 echo "configure:6117: checking for shmat" >&5 | 6117 echo "configure:6118: checking for shmat" >&5 |
6117 | 6118 |
6118 cat > conftest.$ac_ext <<EOF | 6119 cat > conftest.$ac_ext <<EOF |
6119 #line 6120 "configure" | 6120 #line 6121 "configure" |
6120 #include "confdefs.h" | 6121 #include "confdefs.h" |
6121 /* System header to define __stub macros and hopefully few prototypes, | 6122 /* System header to define __stub macros and hopefully few prototypes, |
6122 which can conflict with char shmat(); below. */ | 6123 which can conflict with char shmat(); below. */ |
6123 #include <assert.h> | 6124 #include <assert.h> |
6124 /* Override any gcc2 internal prototype to avoid an error. */ | 6125 /* Override any gcc2 internal prototype to avoid an error. */ |
6137 shmat(); | 6138 shmat(); |
6138 #endif | 6139 #endif |
6139 | 6140 |
6140 ; return 0; } | 6141 ; return 0; } |
6141 EOF | 6142 EOF |
6142 if { (eval echo configure:6143: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6143 if { (eval echo configure:6144: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6143 rm -rf conftest* | 6144 rm -rf conftest* |
6144 eval "ac_cv_func_shmat=yes" | 6145 eval "ac_cv_func_shmat=yes" |
6145 else | 6146 else |
6146 echo "configure: failed program was:" >&5 | 6147 echo "configure: failed program was:" >&5 |
6147 cat conftest.$ac_ext >&5 | 6148 cat conftest.$ac_ext >&5 |
6158 fi | 6159 fi |
6159 | 6160 |
6160 if test $ac_cv_func_shmat = no; then | 6161 if test $ac_cv_func_shmat = no; then |
6161 | 6162 |
6162 echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6 | 6163 echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6 |
6163 echo "configure:6164: checking for shmat in -lipc" >&5 | 6164 echo "configure:6165: checking for shmat in -lipc" >&5 |
6164 ac_lib_var=`echo ipc'_'shmat | sed 'y%./+-%__p_%'` | 6165 ac_lib_var=`echo ipc'_'shmat | sed 'y%./+-%__p_%'` |
6165 | 6166 |
6166 xe_check_libs=" -lipc " | 6167 xe_check_libs=" -lipc " |
6167 cat > conftest.$ac_ext <<EOF | 6168 cat > conftest.$ac_ext <<EOF |
6168 #line 6169 "configure" | 6169 #line 6170 "configure" |
6169 #include "confdefs.h" | 6170 #include "confdefs.h" |
6170 /* Override any gcc2 internal prototype to avoid an error. */ | 6171 /* Override any gcc2 internal prototype to avoid an error. */ |
6171 /* We use char because int might match the return type of a gcc2 | 6172 /* We use char because int might match the return type of a gcc2 |
6172 builtin and then its argument prototype would still apply. */ | 6173 builtin and then its argument prototype would still apply. */ |
6173 char shmat(); | 6174 char shmat(); |
6174 | 6175 |
6175 int main() { | 6176 int main() { |
6176 shmat() | 6177 shmat() |
6177 ; return 0; } | 6178 ; return 0; } |
6178 EOF | 6179 EOF |
6179 if { (eval echo configure:6180: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6180 if { (eval echo configure:6181: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6180 rm -rf conftest* | 6181 rm -rf conftest* |
6181 eval "ac_cv_lib_$ac_lib_var=yes" | 6182 eval "ac_cv_lib_$ac_lib_var=yes" |
6182 else | 6183 else |
6183 echo "configure: failed program was:" >&5 | 6184 echo "configure: failed program was:" >&5 |
6184 cat conftest.$ac_ext >&5 | 6185 cat conftest.$ac_ext >&5 |
6210 # --interran@uluru.Stanford.EDU, kb@cs.umb.edu. | 6211 # --interran@uluru.Stanford.EDU, kb@cs.umb.edu. |
6211 | 6212 |
6212 xe_msg_checking="for IceConnectionNumber in -lICE" | 6213 xe_msg_checking="for IceConnectionNumber in -lICE" |
6213 test -n "$X_EXTRA_LIBS" && xe_msg_checking="$xe_msg_checking using extra libs $X_EXTRA_LIBS" | 6214 test -n "$X_EXTRA_LIBS" && xe_msg_checking="$xe_msg_checking using extra libs $X_EXTRA_LIBS" |
6214 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 6215 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
6215 echo "configure:6216: checking "$xe_msg_checking"" >&5 | 6216 echo "configure:6217: checking "$xe_msg_checking"" >&5 |
6216 ac_lib_var=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'` | 6217 ac_lib_var=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'` |
6217 | 6218 |
6218 xe_check_libs=" -lICE $X_EXTRA_LIBS" | 6219 xe_check_libs=" -lICE $X_EXTRA_LIBS" |
6219 cat > conftest.$ac_ext <<EOF | 6220 cat > conftest.$ac_ext <<EOF |
6220 #line 6221 "configure" | 6221 #line 6222 "configure" |
6221 #include "confdefs.h" | 6222 #include "confdefs.h" |
6222 /* Override any gcc2 internal prototype to avoid an error. */ | 6223 /* Override any gcc2 internal prototype to avoid an error. */ |
6223 /* We use char because int might match the return type of a gcc2 | 6224 /* We use char because int might match the return type of a gcc2 |
6224 builtin and then its argument prototype would still apply. */ | 6225 builtin and then its argument prototype would still apply. */ |
6225 char IceConnectionNumber(); | 6226 char IceConnectionNumber(); |
6226 | 6227 |
6227 int main() { | 6228 int main() { |
6228 IceConnectionNumber() | 6229 IceConnectionNumber() |
6229 ; return 0; } | 6230 ; return 0; } |
6230 EOF | 6231 EOF |
6231 if { (eval echo configure:6232: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6232 if { (eval echo configure:6233: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6232 rm -rf conftest* | 6233 rm -rf conftest* |
6233 eval "ac_cv_lib_$ac_lib_var=yes" | 6234 eval "ac_cv_lib_$ac_lib_var=yes" |
6234 else | 6235 else |
6235 echo "configure: failed program was:" >&5 | 6236 echo "configure: failed program was:" >&5 |
6236 cat conftest.$ac_ext >&5 | 6237 cat conftest.$ac_ext >&5 |
6393 EOF | 6394 EOF |
6394 } | 6395 } |
6395 | 6396 |
6396 | 6397 |
6397 echo "checking for X defines extracted by xmkmf" 1>&6 | 6398 echo "checking for X defines extracted by xmkmf" 1>&6 |
6398 echo "configure:6399: checking for X defines extracted by xmkmf" >&5 | 6399 echo "configure:6400: checking for X defines extracted by xmkmf" >&5 |
6399 rm -fr conftestdir | 6400 rm -fr conftestdir |
6400 if mkdir conftestdir; then | 6401 if mkdir conftestdir; then |
6401 cd conftestdir | 6402 cd conftestdir |
6402 cat > Imakefile <<'EOF' | 6403 cat > Imakefile <<'EOF' |
6403 xetest: | 6404 xetest: |
6442 done | 6443 done |
6443 fi | 6444 fi |
6444 | 6445 |
6445 ac_safe=`echo "X11/Intrinsic.h" | sed 'y%./+-%__p_%'` | 6446 ac_safe=`echo "X11/Intrinsic.h" | sed 'y%./+-%__p_%'` |
6446 echo $ac_n "checking for X11/Intrinsic.h""... $ac_c" 1>&6 | 6447 echo $ac_n "checking for X11/Intrinsic.h""... $ac_c" 1>&6 |
6447 echo "configure:6448: checking for X11/Intrinsic.h" >&5 | 6448 echo "configure:6449: checking for X11/Intrinsic.h" >&5 |
6448 | 6449 |
6449 cat > conftest.$ac_ext <<EOF | 6450 cat > conftest.$ac_ext <<EOF |
6450 #line 6451 "configure" | 6451 #line 6452 "configure" |
6451 #include "confdefs.h" | 6452 #include "confdefs.h" |
6452 #include <X11/Intrinsic.h> | 6453 #include <X11/Intrinsic.h> |
6453 EOF | 6454 EOF |
6454 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6455 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
6455 { (eval echo configure:6456: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6456 { (eval echo configure:6457: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
6456 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 6457 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
6457 if test -z "$ac_err"; then | 6458 if test -z "$ac_err"; then |
6458 rm -rf conftest* | 6459 rm -rf conftest* |
6459 eval "ac_cv_header_$ac_safe=yes" | 6460 eval "ac_cv_header_$ac_safe=yes" |
6460 else | 6461 else |
6474 fi | 6475 fi |
6475 | 6476 |
6476 | 6477 |
6477 | 6478 |
6478 echo $ac_n "checking for XOpenDisplay in -lX11""... $ac_c" 1>&6 | 6479 echo $ac_n "checking for XOpenDisplay in -lX11""... $ac_c" 1>&6 |
6479 echo "configure:6480: checking for XOpenDisplay in -lX11" >&5 | 6480 echo "configure:6481: checking for XOpenDisplay in -lX11" >&5 |
6480 ac_lib_var=`echo X11'_'XOpenDisplay | sed 'y%./+-%__p_%'` | 6481 ac_lib_var=`echo X11'_'XOpenDisplay | sed 'y%./+-%__p_%'` |
6481 | 6482 |
6482 xe_check_libs=" -lX11 " | 6483 xe_check_libs=" -lX11 " |
6483 cat > conftest.$ac_ext <<EOF | 6484 cat > conftest.$ac_ext <<EOF |
6484 #line 6485 "configure" | 6485 #line 6486 "configure" |
6485 #include "confdefs.h" | 6486 #include "confdefs.h" |
6486 /* Override any gcc2 internal prototype to avoid an error. */ | 6487 /* Override any gcc2 internal prototype to avoid an error. */ |
6487 /* We use char because int might match the return type of a gcc2 | 6488 /* We use char because int might match the return type of a gcc2 |
6488 builtin and then its argument prototype would still apply. */ | 6489 builtin and then its argument prototype would still apply. */ |
6489 char XOpenDisplay(); | 6490 char XOpenDisplay(); |
6490 | 6491 |
6491 int main() { | 6492 int main() { |
6492 XOpenDisplay() | 6493 XOpenDisplay() |
6493 ; return 0; } | 6494 ; return 0; } |
6494 EOF | 6495 EOF |
6495 if { (eval echo configure:6496: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6496 if { (eval echo configure:6497: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6496 rm -rf conftest* | 6497 rm -rf conftest* |
6497 eval "ac_cv_lib_$ac_lib_var=yes" | 6498 eval "ac_cv_lib_$ac_lib_var=yes" |
6498 else | 6499 else |
6499 echo "configure: failed program was:" >&5 | 6500 echo "configure: failed program was:" >&5 |
6500 cat conftest.$ac_ext >&5 | 6501 cat conftest.$ac_ext >&5 |
6515 if test "$have_lib_x11" != "yes"; then | 6516 if test "$have_lib_x11" != "yes"; then |
6516 | 6517 |
6517 xe_msg_checking="for XGetFontProperty in -lX11" | 6518 xe_msg_checking="for XGetFontProperty in -lX11" |
6518 test -n "-b i486-linuxaout" && xe_msg_checking="$xe_msg_checking using extra libs -b i486-linuxaout" | 6519 test -n "-b i486-linuxaout" && xe_msg_checking="$xe_msg_checking using extra libs -b i486-linuxaout" |
6519 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 6520 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
6520 echo "configure:6521: checking "$xe_msg_checking"" >&5 | 6521 echo "configure:6522: checking "$xe_msg_checking"" >&5 |
6521 ac_lib_var=`echo X11'_'XGetFontProperty | sed 'y%./+-%__p_%'` | 6522 ac_lib_var=`echo X11'_'XGetFontProperty | sed 'y%./+-%__p_%'` |
6522 | 6523 |
6523 xe_check_libs=" -lX11 -b i486-linuxaout" | 6524 xe_check_libs=" -lX11 -b i486-linuxaout" |
6524 cat > conftest.$ac_ext <<EOF | 6525 cat > conftest.$ac_ext <<EOF |
6525 #line 6526 "configure" | 6526 #line 6527 "configure" |
6526 #include "confdefs.h" | 6527 #include "confdefs.h" |
6527 /* Override any gcc2 internal prototype to avoid an error. */ | 6528 /* Override any gcc2 internal prototype to avoid an error. */ |
6528 /* We use char because int might match the return type of a gcc2 | 6529 /* We use char because int might match the return type of a gcc2 |
6529 builtin and then its argument prototype would still apply. */ | 6530 builtin and then its argument prototype would still apply. */ |
6530 char XGetFontProperty(); | 6531 char XGetFontProperty(); |
6531 | 6532 |
6532 int main() { | 6533 int main() { |
6533 XGetFontProperty() | 6534 XGetFontProperty() |
6534 ; return 0; } | 6535 ; return 0; } |
6535 EOF | 6536 EOF |
6536 if { (eval echo configure:6537: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6537 if { (eval echo configure:6538: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6537 rm -rf conftest* | 6538 rm -rf conftest* |
6538 eval "ac_cv_lib_$ac_lib_var=yes" | 6539 eval "ac_cv_lib_$ac_lib_var=yes" |
6539 else | 6540 else |
6540 echo "configure: failed program was:" >&5 | 6541 echo "configure: failed program was:" >&5 |
6541 cat conftest.$ac_ext >&5 | 6542 cat conftest.$ac_ext >&5 |
6558 libs_x="-lX11" | 6559 libs_x="-lX11" |
6559 test "$extra_verbose" = "yes" && echo " Setting libs_x to \"-lX11\"" | 6560 test "$extra_verbose" = "yes" && echo " Setting libs_x to \"-lX11\"" |
6560 | 6561 |
6561 | 6562 |
6562 echo $ac_n "checking for XShapeSelectInput in -lXext""... $ac_c" 1>&6 | 6563 echo $ac_n "checking for XShapeSelectInput in -lXext""... $ac_c" 1>&6 |
6563 echo "configure:6564: checking for XShapeSelectInput in -lXext" >&5 | 6564 echo "configure:6565: checking for XShapeSelectInput in -lXext" >&5 |
6564 ac_lib_var=`echo Xext'_'XShapeSelectInput | sed 'y%./+-%__p_%'` | 6565 ac_lib_var=`echo Xext'_'XShapeSelectInput | sed 'y%./+-%__p_%'` |
6565 | 6566 |
6566 xe_check_libs=" -lXext " | 6567 xe_check_libs=" -lXext " |
6567 cat > conftest.$ac_ext <<EOF | 6568 cat > conftest.$ac_ext <<EOF |
6568 #line 6569 "configure" | 6569 #line 6570 "configure" |
6569 #include "confdefs.h" | 6570 #include "confdefs.h" |
6570 /* Override any gcc2 internal prototype to avoid an error. */ | 6571 /* Override any gcc2 internal prototype to avoid an error. */ |
6571 /* We use char because int might match the return type of a gcc2 | 6572 /* We use char because int might match the return type of a gcc2 |
6572 builtin and then its argument prototype would still apply. */ | 6573 builtin and then its argument prototype would still apply. */ |
6573 char XShapeSelectInput(); | 6574 char XShapeSelectInput(); |
6574 | 6575 |
6575 int main() { | 6576 int main() { |
6576 XShapeSelectInput() | 6577 XShapeSelectInput() |
6577 ; return 0; } | 6578 ; return 0; } |
6578 EOF | 6579 EOF |
6579 if { (eval echo configure:6580: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6580 if { (eval echo configure:6581: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6580 rm -rf conftest* | 6581 rm -rf conftest* |
6581 eval "ac_cv_lib_$ac_lib_var=yes" | 6582 eval "ac_cv_lib_$ac_lib_var=yes" |
6582 else | 6583 else |
6583 echo "configure: failed program was:" >&5 | 6584 echo "configure: failed program was:" >&5 |
6584 cat conftest.$ac_ext >&5 | 6585 cat conftest.$ac_ext >&5 |
6597 | 6598 |
6598 | 6599 |
6599 | 6600 |
6600 | 6601 |
6601 echo $ac_n "checking for XtOpenDisplay in -lXt""... $ac_c" 1>&6 | 6602 echo $ac_n "checking for XtOpenDisplay in -lXt""... $ac_c" 1>&6 |
6602 echo "configure:6603: checking for XtOpenDisplay in -lXt" >&5 | 6603 echo "configure:6604: checking for XtOpenDisplay in -lXt" >&5 |
6603 ac_lib_var=`echo Xt'_'XtOpenDisplay | sed 'y%./+-%__p_%'` | 6604 ac_lib_var=`echo Xt'_'XtOpenDisplay | sed 'y%./+-%__p_%'` |
6604 | 6605 |
6605 xe_check_libs=" -lXt " | 6606 xe_check_libs=" -lXt " |
6606 cat > conftest.$ac_ext <<EOF | 6607 cat > conftest.$ac_ext <<EOF |
6607 #line 6608 "configure" | 6608 #line 6609 "configure" |
6608 #include "confdefs.h" | 6609 #include "confdefs.h" |
6609 /* Override any gcc2 internal prototype to avoid an error. */ | 6610 /* Override any gcc2 internal prototype to avoid an error. */ |
6610 /* We use char because int might match the return type of a gcc2 | 6611 /* We use char because int might match the return type of a gcc2 |
6611 builtin and then its argument prototype would still apply. */ | 6612 builtin and then its argument prototype would still apply. */ |
6612 char XtOpenDisplay(); | 6613 char XtOpenDisplay(); |
6613 | 6614 |
6614 int main() { | 6615 int main() { |
6615 XtOpenDisplay() | 6616 XtOpenDisplay() |
6616 ; return 0; } | 6617 ; return 0; } |
6617 EOF | 6618 EOF |
6618 if { (eval echo configure:6619: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6619 if { (eval echo configure:6620: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6619 rm -rf conftest* | 6620 rm -rf conftest* |
6620 eval "ac_cv_lib_$ac_lib_var=yes" | 6621 eval "ac_cv_lib_$ac_lib_var=yes" |
6621 else | 6622 else |
6622 echo "configure: failed program was:" >&5 | 6623 echo "configure: failed program was:" >&5 |
6623 cat conftest.$ac_ext >&5 | 6624 cat conftest.$ac_ext >&5 |
6636 fi | 6637 fi |
6637 | 6638 |
6638 | 6639 |
6639 | 6640 |
6640 echo $ac_n "checking the version of X11 being used""... $ac_c" 1>&6 | 6641 echo $ac_n "checking the version of X11 being used""... $ac_c" 1>&6 |
6641 echo "configure:6642: checking the version of X11 being used" >&5 | 6642 echo "configure:6643: checking the version of X11 being used" >&5 |
6642 cat > conftest.$ac_ext <<EOF | 6643 cat > conftest.$ac_ext <<EOF |
6643 #line 6644 "configure" | 6644 #line 6645 "configure" |
6644 #include "confdefs.h" | 6645 #include "confdefs.h" |
6645 #include <X11/Intrinsic.h> | 6646 #include <X11/Intrinsic.h> |
6646 int main(int c, char *v[]) { return c>1 ? XlibSpecificationRelease : 0; } | 6647 int main(int c, char *v[]) { return c>1 ? XlibSpecificationRelease : 0; } |
6647 EOF | 6648 EOF |
6648 if { (eval echo configure:6649: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 6649 if { (eval echo configure:6650: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
6649 then | 6650 then |
6650 ./conftest foobar; x11_release=$? | 6651 ./conftest foobar; x11_release=$? |
6651 else | 6652 else |
6652 conftest_rc="$?" | 6653 conftest_rc="$?" |
6653 echo "configure: failed program was:" >&5 | 6654 echo "configure: failed program was:" >&5 |
6674 fi | 6675 fi |
6675 | 6676 |
6676 for ac_func in XConvertCase | 6677 for ac_func in XConvertCase |
6677 do | 6678 do |
6678 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 6679 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
6679 echo "configure:6680: checking for $ac_func" >&5 | 6680 echo "configure:6681: checking for $ac_func" >&5 |
6680 | 6681 |
6681 cat > conftest.$ac_ext <<EOF | 6682 cat > conftest.$ac_ext <<EOF |
6682 #line 6683 "configure" | 6683 #line 6684 "configure" |
6683 #include "confdefs.h" | 6684 #include "confdefs.h" |
6684 /* System header to define __stub macros and hopefully few prototypes, | 6685 /* System header to define __stub macros and hopefully few prototypes, |
6685 which can conflict with char $ac_func(); below. */ | 6686 which can conflict with char $ac_func(); below. */ |
6686 #include <assert.h> | 6687 #include <assert.h> |
6687 /* Override any gcc2 internal prototype to avoid an error. */ | 6688 /* Override any gcc2 internal prototype to avoid an error. */ |
6700 $ac_func(); | 6701 $ac_func(); |
6701 #endif | 6702 #endif |
6702 | 6703 |
6703 ; return 0; } | 6704 ; return 0; } |
6704 EOF | 6705 EOF |
6705 if { (eval echo configure:6706: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6706 if { (eval echo configure:6707: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6706 rm -rf conftest* | 6707 rm -rf conftest* |
6707 eval "ac_cv_func_$ac_func=yes" | 6708 eval "ac_cv_func_$ac_func=yes" |
6708 else | 6709 else |
6709 echo "configure: failed program was:" >&5 | 6710 echo "configure: failed program was:" >&5 |
6710 cat conftest.$ac_ext >&5 | 6711 cat conftest.$ac_ext >&5 |
6732 | 6733 |
6733 for ac_hdr in X11/Xlocale.h | 6734 for ac_hdr in X11/Xlocale.h |
6734 do | 6735 do |
6735 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 6736 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
6736 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 6737 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
6737 echo "configure:6738: checking for $ac_hdr" >&5 | 6738 echo "configure:6739: checking for $ac_hdr" >&5 |
6738 | 6739 |
6739 cat > conftest.$ac_ext <<EOF | 6740 cat > conftest.$ac_ext <<EOF |
6740 #line 6741 "configure" | 6741 #line 6742 "configure" |
6741 #include "confdefs.h" | 6742 #include "confdefs.h" |
6742 #include <$ac_hdr> | 6743 #include <$ac_hdr> |
6743 EOF | 6744 EOF |
6744 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6745 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
6745 { (eval echo configure:6746: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6746 { (eval echo configure:6747: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
6746 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 6747 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
6747 if test -z "$ac_err"; then | 6748 if test -z "$ac_err"; then |
6748 rm -rf conftest* | 6749 rm -rf conftest* |
6749 eval "ac_cv_header_$ac_safe=yes" | 6750 eval "ac_cv_header_$ac_safe=yes" |
6750 else | 6751 else |
6773 | 6774 |
6774 | 6775 |
6775 for ac_func in XRegisterIMInstantiateCallback | 6776 for ac_func in XRegisterIMInstantiateCallback |
6776 do | 6777 do |
6777 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 6778 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
6778 echo "configure:6779: checking for $ac_func" >&5 | 6779 echo "configure:6780: checking for $ac_func" >&5 |
6779 | 6780 |
6780 cat > conftest.$ac_ext <<EOF | 6781 cat > conftest.$ac_ext <<EOF |
6781 #line 6782 "configure" | 6782 #line 6783 "configure" |
6782 #include "confdefs.h" | 6783 #include "confdefs.h" |
6783 /* System header to define __stub macros and hopefully few prototypes, | 6784 /* System header to define __stub macros and hopefully few prototypes, |
6784 which can conflict with char $ac_func(); below. */ | 6785 which can conflict with char $ac_func(); below. */ |
6785 #include <assert.h> | 6786 #include <assert.h> |
6786 /* Override any gcc2 internal prototype to avoid an error. */ | 6787 /* Override any gcc2 internal prototype to avoid an error. */ |
6799 $ac_func(); | 6800 $ac_func(); |
6800 #endif | 6801 #endif |
6801 | 6802 |
6802 ; return 0; } | 6803 ; return 0; } |
6803 EOF | 6804 EOF |
6804 if { (eval echo configure:6805: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6805 if { (eval echo configure:6806: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6805 rm -rf conftest* | 6806 rm -rf conftest* |
6806 eval "ac_cv_func_$ac_func=yes" | 6807 eval "ac_cv_func_$ac_func=yes" |
6807 else | 6808 else |
6808 echo "configure: failed program was:" >&5 | 6809 echo "configure: failed program was:" >&5 |
6809 cat conftest.$ac_ext >&5 | 6810 cat conftest.$ac_ext >&5 |
6827 echo "$ac_t""no" 1>&6 | 6828 echo "$ac_t""no" 1>&6 |
6828 fi | 6829 fi |
6829 done | 6830 done |
6830 | 6831 |
6831 echo $ac_n "checking for standard XRegisterIMInstantiateCallback prototype""... $ac_c" 1>&6 | 6832 echo $ac_n "checking for standard XRegisterIMInstantiateCallback prototype""... $ac_c" 1>&6 |
6832 echo "configure:6833: checking for standard XRegisterIMInstantiateCallback prototype" >&5 | 6833 echo "configure:6834: checking for standard XRegisterIMInstantiateCallback prototype" >&5 |
6833 cat > conftest.$ac_ext <<EOF | 6834 cat > conftest.$ac_ext <<EOF |
6834 #line 6835 "configure" | 6835 #line 6836 "configure" |
6835 #include "confdefs.h" | 6836 #include "confdefs.h" |
6836 | 6837 |
6837 #define NeedFunctionPrototypes 1 | 6838 #define NeedFunctionPrototypes 1 |
6838 #include <X11/Xlib.h> | 6839 #include <X11/Xlib.h> |
6839 extern Bool XRegisterIMInstantiateCallback( | 6840 extern Bool XRegisterIMInstantiateCallback( |
6841 | 6842 |
6842 int main() { | 6843 int main() { |
6843 | 6844 |
6844 ; return 0; } | 6845 ; return 0; } |
6845 EOF | 6846 EOF |
6846 if { (eval echo configure:6847: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 6847 if { (eval echo configure:6848: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
6847 rm -rf conftest* | 6848 rm -rf conftest* |
6848 echo "$ac_t""yes" 1>&6 | 6849 echo "$ac_t""yes" 1>&6 |
6849 else | 6850 else |
6850 echo "configure: failed program was:" >&5 | 6851 echo "configure: failed program was:" >&5 |
6851 cat conftest.$ac_ext >&5 | 6852 cat conftest.$ac_ext >&5 |
6862 fi | 6863 fi |
6863 rm -f conftest* | 6864 rm -f conftest* |
6864 | 6865 |
6865 test -z "$with_xmu" && { | 6866 test -z "$with_xmu" && { |
6866 echo $ac_n "checking for XmuReadBitmapDataFromFile in -lXmu""... $ac_c" 1>&6 | 6867 echo $ac_n "checking for XmuReadBitmapDataFromFile in -lXmu""... $ac_c" 1>&6 |
6867 echo "configure:6868: checking for XmuReadBitmapDataFromFile in -lXmu" >&5 | 6868 echo "configure:6869: checking for XmuReadBitmapDataFromFile in -lXmu" >&5 |
6868 ac_lib_var=`echo Xmu'_'XmuReadBitmapDataFromFile | sed 'y%./+-%__p_%'` | 6869 ac_lib_var=`echo Xmu'_'XmuReadBitmapDataFromFile | sed 'y%./+-%__p_%'` |
6869 | 6870 |
6870 xe_check_libs=" -lXmu " | 6871 xe_check_libs=" -lXmu " |
6871 cat > conftest.$ac_ext <<EOF | 6872 cat > conftest.$ac_ext <<EOF |
6872 #line 6873 "configure" | 6873 #line 6874 "configure" |
6873 #include "confdefs.h" | 6874 #include "confdefs.h" |
6874 /* Override any gcc2 internal prototype to avoid an error. */ | 6875 /* Override any gcc2 internal prototype to avoid an error. */ |
6875 /* We use char because int might match the return type of a gcc2 | 6876 /* We use char because int might match the return type of a gcc2 |
6876 builtin and then its argument prototype would still apply. */ | 6877 builtin and then its argument prototype would still apply. */ |
6877 char XmuReadBitmapDataFromFile(); | 6878 char XmuReadBitmapDataFromFile(); |
6878 | 6879 |
6879 int main() { | 6880 int main() { |
6880 XmuReadBitmapDataFromFile() | 6881 XmuReadBitmapDataFromFile() |
6881 ; return 0; } | 6882 ; return 0; } |
6882 EOF | 6883 EOF |
6883 if { (eval echo configure:6884: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6884 if { (eval echo configure:6885: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6884 rm -rf conftest* | 6885 rm -rf conftest* |
6885 eval "ac_cv_lib_$ac_lib_var=yes" | 6886 eval "ac_cv_lib_$ac_lib_var=yes" |
6886 else | 6887 else |
6887 echo "configure: failed program was:" >&5 | 6888 echo "configure: failed program was:" >&5 |
6888 cat conftest.$ac_ext >&5 | 6889 cat conftest.$ac_ext >&5 |
6917 | 6918 |
6918 fi | 6919 fi |
6919 | 6920 |
6920 | 6921 |
6921 echo $ac_n "checking for main in -lXbsd""... $ac_c" 1>&6 | 6922 echo $ac_n "checking for main in -lXbsd""... $ac_c" 1>&6 |
6922 echo "configure:6923: checking for main in -lXbsd" >&5 | 6923 echo "configure:6924: checking for main in -lXbsd" >&5 |
6923 ac_lib_var=`echo Xbsd'_'main | sed 'y%./+-%__p_%'` | 6924 ac_lib_var=`echo Xbsd'_'main | sed 'y%./+-%__p_%'` |
6924 | 6925 |
6925 xe_check_libs=" -lXbsd " | 6926 xe_check_libs=" -lXbsd " |
6926 cat > conftest.$ac_ext <<EOF | 6927 cat > conftest.$ac_ext <<EOF |
6927 #line 6928 "configure" | 6928 #line 6929 "configure" |
6928 #include "confdefs.h" | 6929 #include "confdefs.h" |
6929 | 6930 |
6930 int main() { | 6931 int main() { |
6931 main() | 6932 main() |
6932 ; return 0; } | 6933 ; return 0; } |
6933 EOF | 6934 EOF |
6934 if { (eval echo configure:6935: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6935 if { (eval echo configure:6936: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6935 rm -rf conftest* | 6936 rm -rf conftest* |
6936 eval "ac_cv_lib_$ac_lib_var=yes" | 6937 eval "ac_cv_lib_$ac_lib_var=yes" |
6937 else | 6938 else |
6938 echo "configure: failed program was:" >&5 | 6939 echo "configure: failed program was:" >&5 |
6939 cat conftest.$ac_ext >&5 | 6940 cat conftest.$ac_ext >&5 |
6966 fi | 6967 fi |
6967 | 6968 |
6968 fi | 6969 fi |
6969 if test "$with_msw" != "no"; then | 6970 if test "$with_msw" != "no"; then |
6970 echo "checking for MS-Windows" 1>&6 | 6971 echo "checking for MS-Windows" 1>&6 |
6971 echo "configure:6972: checking for MS-Windows" >&5 | 6972 echo "configure:6973: checking for MS-Windows" >&5 |
6972 | 6973 |
6973 echo $ac_n "checking for main in -lgdi32""... $ac_c" 1>&6 | 6974 echo $ac_n "checking for main in -lgdi32""... $ac_c" 1>&6 |
6974 echo "configure:6975: checking for main in -lgdi32" >&5 | 6975 echo "configure:6976: checking for main in -lgdi32" >&5 |
6975 ac_lib_var=`echo gdi32'_'main | sed 'y%./+-%__p_%'` | 6976 ac_lib_var=`echo gdi32'_'main | sed 'y%./+-%__p_%'` |
6976 | 6977 |
6977 xe_check_libs=" -lgdi32 " | 6978 xe_check_libs=" -lgdi32 " |
6978 cat > conftest.$ac_ext <<EOF | 6979 cat > conftest.$ac_ext <<EOF |
6979 #line 6980 "configure" | 6980 #line 6981 "configure" |
6980 #include "confdefs.h" | 6981 #include "confdefs.h" |
6981 | 6982 |
6982 int main() { | 6983 int main() { |
6983 main() | 6984 main() |
6984 ; return 0; } | 6985 ; return 0; } |
6985 EOF | 6986 EOF |
6986 if { (eval echo configure:6987: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6987 if { (eval echo configure:6988: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6987 rm -rf conftest* | 6988 rm -rf conftest* |
6988 eval "ac_cv_lib_$ac_lib_var=yes" | 6989 eval "ac_cv_lib_$ac_lib_var=yes" |
6989 else | 6990 else |
6990 echo "configure: failed program was:" >&5 | 6991 echo "configure: failed program was:" >&5 |
6991 cat conftest.$ac_ext >&5 | 6992 cat conftest.$ac_ext >&5 |
7054 test "$with_dialogs" != "no" && extra_objs="$extra_objs dialog-msw.o" && if test "$extra_verbose" = "yes"; then | 7055 test "$with_dialogs" != "no" && extra_objs="$extra_objs dialog-msw.o" && if test "$extra_verbose" = "yes"; then |
7055 echo " xemacs will be linked with \"dialog-msw.o\"" | 7056 echo " xemacs will be linked with \"dialog-msw.o\"" |
7056 fi | 7057 fi |
7057 fi | 7058 fi |
7058 cat > conftest.$ac_ext <<EOF | 7059 cat > conftest.$ac_ext <<EOF |
7059 #line 7060 "configure" | 7060 #line 7061 "configure" |
7060 #include "confdefs.h" | 7061 #include "confdefs.h" |
7061 #include <fcntl.h> | 7062 #include <fcntl.h> |
7062 int main() { return (open("/dev/windows", O_RDONLY, 0) > 0)? 0 : 1; } | 7063 int main() { return (open("/dev/windows", O_RDONLY, 0) > 0)? 0 : 1; } |
7063 EOF | 7064 EOF |
7064 if { (eval echo configure:7065: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 7065 if { (eval echo configure:7066: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
7065 then | 7066 then |
7066 { test "$extra_verbose" = "yes" && cat << \EOF | 7067 { test "$extra_verbose" = "yes" && cat << \EOF |
7067 Defining HAVE_MSG_SELECT | 7068 Defining HAVE_MSG_SELECT |
7068 EOF | 7069 EOF |
7069 cat >> confdefs.h <<\EOF | 7070 cat >> confdefs.h <<\EOF |
7123 fi | 7124 fi |
7124 | 7125 |
7125 if test "$with_x11" = "yes"; then | 7126 if test "$with_x11" = "yes"; then |
7126 ac_safe=`echo "X11/extensions/shape.h" | sed 'y%./+-%__p_%'` | 7127 ac_safe=`echo "X11/extensions/shape.h" | sed 'y%./+-%__p_%'` |
7127 echo $ac_n "checking for X11/extensions/shape.h""... $ac_c" 1>&6 | 7128 echo $ac_n "checking for X11/extensions/shape.h""... $ac_c" 1>&6 |
7128 echo "configure:7129: checking for X11/extensions/shape.h" >&5 | 7129 echo "configure:7130: checking for X11/extensions/shape.h" >&5 |
7129 | 7130 |
7130 cat > conftest.$ac_ext <<EOF | 7131 cat > conftest.$ac_ext <<EOF |
7131 #line 7132 "configure" | 7132 #line 7133 "configure" |
7132 #include "confdefs.h" | 7133 #include "confdefs.h" |
7133 #include <X11/extensions/shape.h> | 7134 #include <X11/extensions/shape.h> |
7134 EOF | 7135 EOF |
7135 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7136 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
7136 { (eval echo configure:7137: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7137 { (eval echo configure:7138: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
7137 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 7138 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
7138 if test -z "$ac_err"; then | 7139 if test -z "$ac_err"; then |
7139 rm -rf conftest* | 7140 rm -rf conftest* |
7140 eval "ac_cv_header_$ac_safe=yes" | 7141 eval "ac_cv_header_$ac_safe=yes" |
7141 else | 7142 else |
7183 test "$opsys" = "hpux9" && opsysfile="s/hpux9-x11r4.h" | 7184 test "$opsys" = "hpux9" && opsysfile="s/hpux9-x11r4.h" |
7184 test "$opsys" = "hpux9-shr" && opsysfile="s/hpux9shxr4.h" | 7185 test "$opsys" = "hpux9-shr" && opsysfile="s/hpux9shxr4.h" |
7185 esac | 7186 esac |
7186 | 7187 |
7187 echo "checking for WM_COMMAND option" 1>&6 | 7188 echo "checking for WM_COMMAND option" 1>&6 |
7188 echo "configure:7189: checking for WM_COMMAND option" >&5; | 7189 echo "configure:7190: checking for WM_COMMAND option" >&5; |
7189 if test "$with_wmcommand" != "no"; then | 7190 if test "$with_wmcommand" != "no"; then |
7190 { test "$extra_verbose" = "yes" && cat << \EOF | 7191 { test "$extra_verbose" = "yes" && cat << \EOF |
7191 Defining HAVE_WMCOMMAND | 7192 Defining HAVE_WMCOMMAND |
7192 EOF | 7193 EOF |
7193 cat >> confdefs.h <<\EOF | 7194 cat >> confdefs.h <<\EOF |
7198 fi | 7199 fi |
7199 | 7200 |
7200 test -z "$with_xauth" && test "$window_system" = "none" && with_xauth=no | 7201 test -z "$with_xauth" && test "$window_system" = "none" && with_xauth=no |
7201 test -z "$with_xauth" && { ac_safe=`echo "X11/Xauth.h" | sed 'y%./+-%__p_%'` | 7202 test -z "$with_xauth" && { ac_safe=`echo "X11/Xauth.h" | sed 'y%./+-%__p_%'` |
7202 echo $ac_n "checking for X11/Xauth.h""... $ac_c" 1>&6 | 7203 echo $ac_n "checking for X11/Xauth.h""... $ac_c" 1>&6 |
7203 echo "configure:7204: checking for X11/Xauth.h" >&5 | 7204 echo "configure:7205: checking for X11/Xauth.h" >&5 |
7204 | 7205 |
7205 cat > conftest.$ac_ext <<EOF | 7206 cat > conftest.$ac_ext <<EOF |
7206 #line 7207 "configure" | 7207 #line 7208 "configure" |
7207 #include "confdefs.h" | 7208 #include "confdefs.h" |
7208 #include <X11/Xauth.h> | 7209 #include <X11/Xauth.h> |
7209 EOF | 7210 EOF |
7210 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7211 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
7211 { (eval echo configure:7212: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7212 { (eval echo configure:7213: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
7212 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 7213 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
7213 if test -z "$ac_err"; then | 7214 if test -z "$ac_err"; then |
7214 rm -rf conftest* | 7215 rm -rf conftest* |
7215 eval "ac_cv_header_$ac_safe=yes" | 7216 eval "ac_cv_header_$ac_safe=yes" |
7216 else | 7217 else |
7229 with_xauth=no | 7230 with_xauth=no |
7230 fi | 7231 fi |
7231 } | 7232 } |
7232 test -z "$with_xauth" && { | 7233 test -z "$with_xauth" && { |
7233 echo $ac_n "checking for XauGetAuthByAddr in -lXau""... $ac_c" 1>&6 | 7234 echo $ac_n "checking for XauGetAuthByAddr in -lXau""... $ac_c" 1>&6 |
7234 echo "configure:7235: checking for XauGetAuthByAddr in -lXau" >&5 | 7235 echo "configure:7236: checking for XauGetAuthByAddr in -lXau" >&5 |
7235 ac_lib_var=`echo Xau'_'XauGetAuthByAddr | sed 'y%./+-%__p_%'` | 7236 ac_lib_var=`echo Xau'_'XauGetAuthByAddr | sed 'y%./+-%__p_%'` |
7236 | 7237 |
7237 xe_check_libs=" -lXau " | 7238 xe_check_libs=" -lXau " |
7238 cat > conftest.$ac_ext <<EOF | 7239 cat > conftest.$ac_ext <<EOF |
7239 #line 7240 "configure" | 7240 #line 7241 "configure" |
7240 #include "confdefs.h" | 7241 #include "confdefs.h" |
7241 /* Override any gcc2 internal prototype to avoid an error. */ | 7242 /* Override any gcc2 internal prototype to avoid an error. */ |
7242 /* We use char because int might match the return type of a gcc2 | 7243 /* We use char because int might match the return type of a gcc2 |
7243 builtin and then its argument prototype would still apply. */ | 7244 builtin and then its argument prototype would still apply. */ |
7244 char XauGetAuthByAddr(); | 7245 char XauGetAuthByAddr(); |
7245 | 7246 |
7246 int main() { | 7247 int main() { |
7247 XauGetAuthByAddr() | 7248 XauGetAuthByAddr() |
7248 ; return 0; } | 7249 ; return 0; } |
7249 EOF | 7250 EOF |
7250 if { (eval echo configure:7251: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7251 if { (eval echo configure:7252: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7251 rm -rf conftest* | 7252 rm -rf conftest* |
7252 eval "ac_cv_lib_$ac_lib_var=yes" | 7253 eval "ac_cv_lib_$ac_lib_var=yes" |
7253 else | 7254 else |
7254 echo "configure: failed program was:" >&5 | 7255 echo "configure: failed program was:" >&5 |
7255 cat conftest.$ac_ext >&5 | 7256 cat conftest.$ac_ext >&5 |
7290 | 7291 |
7291 if test "$with_tooltalk" != "no" ; then | 7292 if test "$with_tooltalk" != "no" ; then |
7292 for dir in "" "Tt/" "desktop/" ; do | 7293 for dir in "" "Tt/" "desktop/" ; do |
7293 ac_safe=`echo "${dir}tt_c.h" | sed 'y%./+-%__p_%'` | 7294 ac_safe=`echo "${dir}tt_c.h" | sed 'y%./+-%__p_%'` |
7294 echo $ac_n "checking for ${dir}tt_c.h""... $ac_c" 1>&6 | 7295 echo $ac_n "checking for ${dir}tt_c.h""... $ac_c" 1>&6 |
7295 echo "configure:7296: checking for ${dir}tt_c.h" >&5 | 7296 echo "configure:7297: checking for ${dir}tt_c.h" >&5 |
7296 | 7297 |
7297 cat > conftest.$ac_ext <<EOF | 7298 cat > conftest.$ac_ext <<EOF |
7298 #line 7299 "configure" | 7299 #line 7300 "configure" |
7299 #include "confdefs.h" | 7300 #include "confdefs.h" |
7300 #include <${dir}tt_c.h> | 7301 #include <${dir}tt_c.h> |
7301 EOF | 7302 EOF |
7302 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7303 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
7303 { (eval echo configure:7304: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7304 { (eval echo configure:7305: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
7304 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 7305 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
7305 if test -z "$ac_err"; then | 7306 if test -z "$ac_err"; then |
7306 rm -rf conftest* | 7307 rm -rf conftest* |
7307 eval "ac_cv_header_$ac_safe=yes" | 7308 eval "ac_cv_header_$ac_safe=yes" |
7308 else | 7309 else |
7334 for extra_libs in "" "-lI18N -lce" "-lcxx"; do | 7335 for extra_libs in "" "-lI18N -lce" "-lcxx"; do |
7335 | 7336 |
7336 xe_msg_checking="for tt_message_create in -ltt" | 7337 xe_msg_checking="for tt_message_create in -ltt" |
7337 test -n "$extra_libs" && xe_msg_checking="$xe_msg_checking using extra libs $extra_libs" | 7338 test -n "$extra_libs" && xe_msg_checking="$xe_msg_checking using extra libs $extra_libs" |
7338 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 7339 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
7339 echo "configure:7340: checking "$xe_msg_checking"" >&5 | 7340 echo "configure:7341: checking "$xe_msg_checking"" >&5 |
7340 ac_lib_var=`echo tt'_'tt_message_create | sed 'y%./+-%__p_%'` | 7341 ac_lib_var=`echo tt'_'tt_message_create | sed 'y%./+-%__p_%'` |
7341 | 7342 |
7342 xe_check_libs=" -ltt $extra_libs" | 7343 xe_check_libs=" -ltt $extra_libs" |
7343 cat > conftest.$ac_ext <<EOF | 7344 cat > conftest.$ac_ext <<EOF |
7344 #line 7345 "configure" | 7345 #line 7346 "configure" |
7345 #include "confdefs.h" | 7346 #include "confdefs.h" |
7346 /* Override any gcc2 internal prototype to avoid an error. */ | 7347 /* Override any gcc2 internal prototype to avoid an error. */ |
7347 /* We use char because int might match the return type of a gcc2 | 7348 /* We use char because int might match the return type of a gcc2 |
7348 builtin and then its argument prototype would still apply. */ | 7349 builtin and then its argument prototype would still apply. */ |
7349 char tt_message_create(); | 7350 char tt_message_create(); |
7350 | 7351 |
7351 int main() { | 7352 int main() { |
7352 tt_message_create() | 7353 tt_message_create() |
7353 ; return 0; } | 7354 ; return 0; } |
7354 EOF | 7355 EOF |
7355 if { (eval echo configure:7356: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7356 if { (eval echo configure:7357: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7356 rm -rf conftest* | 7357 rm -rf conftest* |
7357 eval "ac_cv_lib_$ac_lib_var=yes" | 7358 eval "ac_cv_lib_$ac_lib_var=yes" |
7358 else | 7359 else |
7359 echo "configure: failed program was:" >&5 | 7360 echo "configure: failed program was:" >&5 |
7360 cat conftest.$ac_ext >&5 | 7361 cat conftest.$ac_ext >&5 |
7407 fi | 7408 fi |
7408 fi | 7409 fi |
7409 | 7410 |
7410 test -z "$with_cde" && { ac_safe=`echo "Dt/Dt.h" | sed 'y%./+-%__p_%'` | 7411 test -z "$with_cde" && { ac_safe=`echo "Dt/Dt.h" | sed 'y%./+-%__p_%'` |
7411 echo $ac_n "checking for Dt/Dt.h""... $ac_c" 1>&6 | 7412 echo $ac_n "checking for Dt/Dt.h""... $ac_c" 1>&6 |
7412 echo "configure:7413: checking for Dt/Dt.h" >&5 | 7413 echo "configure:7414: checking for Dt/Dt.h" >&5 |
7413 | 7414 |
7414 cat > conftest.$ac_ext <<EOF | 7415 cat > conftest.$ac_ext <<EOF |
7415 #line 7416 "configure" | 7416 #line 7417 "configure" |
7416 #include "confdefs.h" | 7417 #include "confdefs.h" |
7417 #include <Dt/Dt.h> | 7418 #include <Dt/Dt.h> |
7418 EOF | 7419 EOF |
7419 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7420 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
7420 { (eval echo configure:7421: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7421 { (eval echo configure:7422: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
7421 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 7422 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
7422 if test -z "$ac_err"; then | 7423 if test -z "$ac_err"; then |
7423 rm -rf conftest* | 7424 rm -rf conftest* |
7424 eval "ac_cv_header_$ac_safe=yes" | 7425 eval "ac_cv_header_$ac_safe=yes" |
7425 else | 7426 else |
7438 with_cde=no | 7439 with_cde=no |
7439 fi | 7440 fi |
7440 } | 7441 } |
7441 test -z "$with_cde" && { | 7442 test -z "$with_cde" && { |
7442 echo $ac_n "checking for DtDndDragStart in -lDtSvc""... $ac_c" 1>&6 | 7443 echo $ac_n "checking for DtDndDragStart in -lDtSvc""... $ac_c" 1>&6 |
7443 echo "configure:7444: checking for DtDndDragStart in -lDtSvc" >&5 | 7444 echo "configure:7445: checking for DtDndDragStart in -lDtSvc" >&5 |
7444 ac_lib_var=`echo DtSvc'_'DtDndDragStart | sed 'y%./+-%__p_%'` | 7445 ac_lib_var=`echo DtSvc'_'DtDndDragStart | sed 'y%./+-%__p_%'` |
7445 | 7446 |
7446 xe_check_libs=" -lDtSvc " | 7447 xe_check_libs=" -lDtSvc " |
7447 cat > conftest.$ac_ext <<EOF | 7448 cat > conftest.$ac_ext <<EOF |
7448 #line 7449 "configure" | 7449 #line 7450 "configure" |
7449 #include "confdefs.h" | 7450 #include "confdefs.h" |
7450 /* Override any gcc2 internal prototype to avoid an error. */ | 7451 /* Override any gcc2 internal prototype to avoid an error. */ |
7451 /* We use char because int might match the return type of a gcc2 | 7452 /* We use char because int might match the return type of a gcc2 |
7452 builtin and then its argument prototype would still apply. */ | 7453 builtin and then its argument prototype would still apply. */ |
7453 char DtDndDragStart(); | 7454 char DtDndDragStart(); |
7454 | 7455 |
7455 int main() { | 7456 int main() { |
7456 DtDndDragStart() | 7457 DtDndDragStart() |
7457 ; return 0; } | 7458 ; return 0; } |
7458 EOF | 7459 EOF |
7459 if { (eval echo configure:7460: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7460 if { (eval echo configure:7461: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7460 rm -rf conftest* | 7461 rm -rf conftest* |
7461 eval "ac_cv_lib_$ac_lib_var=yes" | 7462 eval "ac_cv_lib_$ac_lib_var=yes" |
7462 else | 7463 else |
7463 echo "configure: failed program was:" >&5 | 7464 echo "configure: failed program was:" >&5 |
7464 cat conftest.$ac_ext >&5 | 7465 cat conftest.$ac_ext >&5 |
7527 dragndrop_proto="$dragndrop_proto GTK" && if test "$extra_verbose" = "yes"; then echo " Appending \"GTK\" to \$dragndrop_proto"; fi | 7528 dragndrop_proto="$dragndrop_proto GTK" && if test "$extra_verbose" = "yes"; then echo " Appending \"GTK\" to \$dragndrop_proto"; fi |
7528 fi | 7529 fi |
7529 | 7530 |
7530 if test "$with_dragndrop" != "no" ; then | 7531 if test "$with_dragndrop" != "no" ; then |
7531 echo $ac_n "checking if drag and drop API is needed""... $ac_c" 1>&6 | 7532 echo $ac_n "checking if drag and drop API is needed""... $ac_c" 1>&6 |
7532 echo "configure:7533: checking if drag and drop API is needed" >&5 | 7533 echo "configure:7534: checking if drag and drop API is needed" >&5 |
7533 if test -n "$dragndrop_proto" ; then | 7534 if test -n "$dragndrop_proto" ; then |
7534 with_dragndrop=yes | 7535 with_dragndrop=yes |
7535 echo "$ac_t""yes (${dragndrop_proto} )" 1>&6 | 7536 echo "$ac_t""yes (${dragndrop_proto} )" 1>&6 |
7536 { test "$extra_verbose" = "yes" && cat << \EOF | 7537 { test "$extra_verbose" = "yes" && cat << \EOF |
7537 Defining HAVE_DRAGNDROP | 7538 Defining HAVE_DRAGNDROP |
7547 echo "$ac_t""no" 1>&6 | 7548 echo "$ac_t""no" 1>&6 |
7548 fi | 7549 fi |
7549 fi | 7550 fi |
7550 | 7551 |
7551 echo "checking for LDAP" 1>&6 | 7552 echo "checking for LDAP" 1>&6 |
7552 echo "configure:7553: checking for LDAP" >&5 | 7553 echo "configure:7554: checking for LDAP" >&5 |
7553 test -z "$with_ldap" && { ac_safe=`echo "ldap.h" | sed 'y%./+-%__p_%'` | 7554 test -z "$with_ldap" && { ac_safe=`echo "ldap.h" | sed 'y%./+-%__p_%'` |
7554 echo $ac_n "checking for ldap.h""... $ac_c" 1>&6 | 7555 echo $ac_n "checking for ldap.h""... $ac_c" 1>&6 |
7555 echo "configure:7556: checking for ldap.h" >&5 | 7556 echo "configure:7557: checking for ldap.h" >&5 |
7556 | 7557 |
7557 cat > conftest.$ac_ext <<EOF | 7558 cat > conftest.$ac_ext <<EOF |
7558 #line 7559 "configure" | 7559 #line 7560 "configure" |
7559 #include "confdefs.h" | 7560 #include "confdefs.h" |
7560 #include <ldap.h> | 7561 #include <ldap.h> |
7561 EOF | 7562 EOF |
7562 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7563 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
7563 { (eval echo configure:7564: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7564 { (eval echo configure:7565: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
7564 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 7565 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
7565 if test -z "$ac_err"; then | 7566 if test -z "$ac_err"; then |
7566 rm -rf conftest* | 7567 rm -rf conftest* |
7567 eval "ac_cv_header_$ac_safe=yes" | 7568 eval "ac_cv_header_$ac_safe=yes" |
7568 else | 7569 else |
7581 with_ldap=no | 7582 with_ldap=no |
7582 fi | 7583 fi |
7583 } | 7584 } |
7584 test -z "$with_ldap" && { ac_safe=`echo "lber.h" | sed 'y%./+-%__p_%'` | 7585 test -z "$with_ldap" && { ac_safe=`echo "lber.h" | sed 'y%./+-%__p_%'` |
7585 echo $ac_n "checking for lber.h""... $ac_c" 1>&6 | 7586 echo $ac_n "checking for lber.h""... $ac_c" 1>&6 |
7586 echo "configure:7587: checking for lber.h" >&5 | 7587 echo "configure:7588: checking for lber.h" >&5 |
7587 | 7588 |
7588 cat > conftest.$ac_ext <<EOF | 7589 cat > conftest.$ac_ext <<EOF |
7589 #line 7590 "configure" | 7590 #line 7591 "configure" |
7590 #include "confdefs.h" | 7591 #include "confdefs.h" |
7591 #include <lber.h> | 7592 #include <lber.h> |
7592 EOF | 7593 EOF |
7593 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7594 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
7594 { (eval echo configure:7595: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7595 { (eval echo configure:7596: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
7595 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 7596 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
7596 if test -z "$ac_err"; then | 7597 if test -z "$ac_err"; then |
7597 rm -rf conftest* | 7598 rm -rf conftest* |
7598 eval "ac_cv_header_$ac_safe=yes" | 7599 eval "ac_cv_header_$ac_safe=yes" |
7599 else | 7600 else |
7613 fi | 7614 fi |
7614 } | 7615 } |
7615 if test "$with_ldap" != "no"; then | 7616 if test "$with_ldap" != "no"; then |
7616 | 7617 |
7617 echo $ac_n "checking for ldap_search in -lldap""... $ac_c" 1>&6 | 7618 echo $ac_n "checking for ldap_search in -lldap""... $ac_c" 1>&6 |
7618 echo "configure:7619: checking for ldap_search in -lldap" >&5 | 7619 echo "configure:7620: checking for ldap_search in -lldap" >&5 |
7619 ac_lib_var=`echo ldap'_'ldap_search | sed 'y%./+-%__p_%'` | 7620 ac_lib_var=`echo ldap'_'ldap_search | sed 'y%./+-%__p_%'` |
7620 | 7621 |
7621 xe_check_libs=" -lldap " | 7622 xe_check_libs=" -lldap " |
7622 cat > conftest.$ac_ext <<EOF | 7623 cat > conftest.$ac_ext <<EOF |
7623 #line 7624 "configure" | 7624 #line 7625 "configure" |
7624 #include "confdefs.h" | 7625 #include "confdefs.h" |
7625 /* Override any gcc2 internal prototype to avoid an error. */ | 7626 /* Override any gcc2 internal prototype to avoid an error. */ |
7626 /* We use char because int might match the return type of a gcc2 | 7627 /* We use char because int might match the return type of a gcc2 |
7627 builtin and then its argument prototype would still apply. */ | 7628 builtin and then its argument prototype would still apply. */ |
7628 char ldap_search(); | 7629 char ldap_search(); |
7629 | 7630 |
7630 int main() { | 7631 int main() { |
7631 ldap_search() | 7632 ldap_search() |
7632 ; return 0; } | 7633 ; return 0; } |
7633 EOF | 7634 EOF |
7634 if { (eval echo configure:7635: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7635 if { (eval echo configure:7636: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7635 rm -rf conftest* | 7636 rm -rf conftest* |
7636 eval "ac_cv_lib_$ac_lib_var=yes" | 7637 eval "ac_cv_lib_$ac_lib_var=yes" |
7637 else | 7638 else |
7638 echo "configure: failed program was:" >&5 | 7639 echo "configure: failed program was:" >&5 |
7639 cat conftest.$ac_ext >&5 | 7640 cat conftest.$ac_ext >&5 |
7654 | 7655 |
7655 test "$with_ldap_nolber" = "no" && { | 7656 test "$with_ldap_nolber" = "no" && { |
7656 xe_msg_checking="for ldap_open in -lldap" | 7657 xe_msg_checking="for ldap_open in -lldap" |
7657 test -n "-llber" && xe_msg_checking="$xe_msg_checking using extra libs -llber" | 7658 test -n "-llber" && xe_msg_checking="$xe_msg_checking using extra libs -llber" |
7658 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 7659 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
7659 echo "configure:7660: checking "$xe_msg_checking"" >&5 | 7660 echo "configure:7661: checking "$xe_msg_checking"" >&5 |
7660 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` | 7661 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` |
7661 | 7662 |
7662 xe_check_libs=" -lldap -llber" | 7663 xe_check_libs=" -lldap -llber" |
7663 cat > conftest.$ac_ext <<EOF | 7664 cat > conftest.$ac_ext <<EOF |
7664 #line 7665 "configure" | 7665 #line 7666 "configure" |
7665 #include "confdefs.h" | 7666 #include "confdefs.h" |
7666 /* Override any gcc2 internal prototype to avoid an error. */ | 7667 /* Override any gcc2 internal prototype to avoid an error. */ |
7667 /* We use char because int might match the return type of a gcc2 | 7668 /* We use char because int might match the return type of a gcc2 |
7668 builtin and then its argument prototype would still apply. */ | 7669 builtin and then its argument prototype would still apply. */ |
7669 char ldap_open(); | 7670 char ldap_open(); |
7670 | 7671 |
7671 int main() { | 7672 int main() { |
7672 ldap_open() | 7673 ldap_open() |
7673 ; return 0; } | 7674 ; return 0; } |
7674 EOF | 7675 EOF |
7675 if { (eval echo configure:7676: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7676 if { (eval echo configure:7677: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7676 rm -rf conftest* | 7677 rm -rf conftest* |
7677 eval "ac_cv_lib_$ac_lib_var=yes" | 7678 eval "ac_cv_lib_$ac_lib_var=yes" |
7678 else | 7679 else |
7679 echo "configure: failed program was:" >&5 | 7680 echo "configure: failed program was:" >&5 |
7680 cat conftest.$ac_ext >&5 | 7681 cat conftest.$ac_ext >&5 |
7695 } | 7696 } |
7696 test "$with_ldap_nolber" = "no" -a "$with_ldap_lber" = "no" && { | 7697 test "$with_ldap_nolber" = "no" -a "$with_ldap_lber" = "no" && { |
7697 xe_msg_checking="for ldap_open in -lldap" | 7698 xe_msg_checking="for ldap_open in -lldap" |
7698 test -n "-llber -lkrb" && xe_msg_checking="$xe_msg_checking using extra libs -llber -lkrb" | 7699 test -n "-llber -lkrb" && xe_msg_checking="$xe_msg_checking using extra libs -llber -lkrb" |
7699 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 7700 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
7700 echo "configure:7701: checking "$xe_msg_checking"" >&5 | 7701 echo "configure:7702: checking "$xe_msg_checking"" >&5 |
7701 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` | 7702 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` |
7702 | 7703 |
7703 xe_check_libs=" -lldap -llber -lkrb" | 7704 xe_check_libs=" -lldap -llber -lkrb" |
7704 cat > conftest.$ac_ext <<EOF | 7705 cat > conftest.$ac_ext <<EOF |
7705 #line 7706 "configure" | 7706 #line 7707 "configure" |
7706 #include "confdefs.h" | 7707 #include "confdefs.h" |
7707 /* Override any gcc2 internal prototype to avoid an error. */ | 7708 /* Override any gcc2 internal prototype to avoid an error. */ |
7708 /* We use char because int might match the return type of a gcc2 | 7709 /* We use char because int might match the return type of a gcc2 |
7709 builtin and then its argument prototype would still apply. */ | 7710 builtin and then its argument prototype would still apply. */ |
7710 char ldap_open(); | 7711 char ldap_open(); |
7711 | 7712 |
7712 int main() { | 7713 int main() { |
7713 ldap_open() | 7714 ldap_open() |
7714 ; return 0; } | 7715 ; return 0; } |
7715 EOF | 7716 EOF |
7716 if { (eval echo configure:7717: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7717 if { (eval echo configure:7718: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7717 rm -rf conftest* | 7718 rm -rf conftest* |
7718 eval "ac_cv_lib_$ac_lib_var=yes" | 7719 eval "ac_cv_lib_$ac_lib_var=yes" |
7719 else | 7720 else |
7720 echo "configure: failed program was:" >&5 | 7721 echo "configure: failed program was:" >&5 |
7721 cat conftest.$ac_ext >&5 | 7722 cat conftest.$ac_ext >&5 |
7736 } | 7737 } |
7737 test "$with_ldap_nolber" = "no" -a "$with_ldap_lber" = "no" -a "$with_ldap_krb" = "no" && { | 7738 test "$with_ldap_nolber" = "no" -a "$with_ldap_lber" = "no" -a "$with_ldap_krb" = "no" && { |
7738 xe_msg_checking="for ldap_open in -lldap" | 7739 xe_msg_checking="for ldap_open in -lldap" |
7739 test -n "-llber -lkrb -ldes" && xe_msg_checking="$xe_msg_checking using extra libs -llber -lkrb -ldes" | 7740 test -n "-llber -lkrb -ldes" && xe_msg_checking="$xe_msg_checking using extra libs -llber -lkrb -ldes" |
7740 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 7741 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
7741 echo "configure:7742: checking "$xe_msg_checking"" >&5 | 7742 echo "configure:7743: checking "$xe_msg_checking"" >&5 |
7742 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` | 7743 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` |
7743 | 7744 |
7744 xe_check_libs=" -lldap -llber -lkrb -ldes" | 7745 xe_check_libs=" -lldap -llber -lkrb -ldes" |
7745 cat > conftest.$ac_ext <<EOF | 7746 cat > conftest.$ac_ext <<EOF |
7746 #line 7747 "configure" | 7747 #line 7748 "configure" |
7747 #include "confdefs.h" | 7748 #include "confdefs.h" |
7748 /* Override any gcc2 internal prototype to avoid an error. */ | 7749 /* Override any gcc2 internal prototype to avoid an error. */ |
7749 /* We use char because int might match the return type of a gcc2 | 7750 /* We use char because int might match the return type of a gcc2 |
7750 builtin and then its argument prototype would still apply. */ | 7751 builtin and then its argument prototype would still apply. */ |
7751 char ldap_open(); | 7752 char ldap_open(); |
7752 | 7753 |
7753 int main() { | 7754 int main() { |
7754 ldap_open() | 7755 ldap_open() |
7755 ; return 0; } | 7756 ; return 0; } |
7756 EOF | 7757 EOF |
7757 if { (eval echo configure:7758: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7758 if { (eval echo configure:7759: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7758 rm -rf conftest* | 7759 rm -rf conftest* |
7759 eval "ac_cv_lib_$ac_lib_var=yes" | 7760 eval "ac_cv_lib_$ac_lib_var=yes" |
7760 else | 7761 else |
7761 echo "configure: failed program was:" >&5 | 7762 echo "configure: failed program was:" >&5 |
7762 cat conftest.$ac_ext >&5 | 7763 cat conftest.$ac_ext >&5 |
7803 LIBS="-lldap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lldap\" to \$LIBS"; fi | 7804 LIBS="-lldap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lldap\" to \$LIBS"; fi |
7804 fi | 7805 fi |
7805 for ac_func in ldap_set_option ldap_get_lderrno ldap_result2error ldap_parse_result | 7806 for ac_func in ldap_set_option ldap_get_lderrno ldap_result2error ldap_parse_result |
7806 do | 7807 do |
7807 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 7808 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
7808 echo "configure:7809: checking for $ac_func" >&5 | 7809 echo "configure:7810: checking for $ac_func" >&5 |
7809 | 7810 |
7810 cat > conftest.$ac_ext <<EOF | 7811 cat > conftest.$ac_ext <<EOF |
7811 #line 7812 "configure" | 7812 #line 7813 "configure" |
7812 #include "confdefs.h" | 7813 #include "confdefs.h" |
7813 /* System header to define __stub macros and hopefully few prototypes, | 7814 /* System header to define __stub macros and hopefully few prototypes, |
7814 which can conflict with char $ac_func(); below. */ | 7815 which can conflict with char $ac_func(); below. */ |
7815 #include <assert.h> | 7816 #include <assert.h> |
7816 /* Override any gcc2 internal prototype to avoid an error. */ | 7817 /* Override any gcc2 internal prototype to avoid an error. */ |
7829 $ac_func(); | 7830 $ac_func(); |
7830 #endif | 7831 #endif |
7831 | 7832 |
7832 ; return 0; } | 7833 ; return 0; } |
7833 EOF | 7834 EOF |
7834 if { (eval echo configure:7835: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7835 if { (eval echo configure:7836: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7835 rm -rf conftest* | 7836 rm -rf conftest* |
7836 eval "ac_cv_func_$ac_func=yes" | 7837 eval "ac_cv_func_$ac_func=yes" |
7837 else | 7838 else |
7838 echo "configure: failed program was:" >&5 | 7839 echo "configure: failed program was:" >&5 |
7839 cat conftest.$ac_ext >&5 | 7840 cat conftest.$ac_ext >&5 |
7860 | 7861 |
7861 fi | 7862 fi |
7862 | 7863 |
7863 if test "$with_postgresql" != "no"; then | 7864 if test "$with_postgresql" != "no"; then |
7864 echo "checking for PostgreSQL" 1>&6 | 7865 echo "checking for PostgreSQL" 1>&6 |
7865 echo "configure:7866: checking for PostgreSQL" >&5 | 7866 echo "configure:7867: checking for PostgreSQL" >&5 |
7866 | 7867 |
7867 for header_dir in "" "pgsql/" "postgresql/"; do | 7868 for header_dir in "" "pgsql/" "postgresql/"; do |
7868 ac_safe=`echo "${header_dir}libpq-fe.h" | sed 'y%./+-%__p_%'` | 7869 ac_safe=`echo "${header_dir}libpq-fe.h" | sed 'y%./+-%__p_%'` |
7869 echo $ac_n "checking for ${header_dir}libpq-fe.h""... $ac_c" 1>&6 | 7870 echo $ac_n "checking for ${header_dir}libpq-fe.h""... $ac_c" 1>&6 |
7870 echo "configure:7871: checking for ${header_dir}libpq-fe.h" >&5 | 7871 echo "configure:7872: checking for ${header_dir}libpq-fe.h" >&5 |
7871 | 7872 |
7872 cat > conftest.$ac_ext <<EOF | 7873 cat > conftest.$ac_ext <<EOF |
7873 #line 7874 "configure" | 7874 #line 7875 "configure" |
7874 #include "confdefs.h" | 7875 #include "confdefs.h" |
7875 #include <${header_dir}libpq-fe.h> | 7876 #include <${header_dir}libpq-fe.h> |
7876 EOF | 7877 EOF |
7877 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7878 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
7878 { (eval echo configure:7879: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7879 { (eval echo configure:7880: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
7879 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 7880 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
7880 if test -z "$ac_err"; then | 7881 if test -z "$ac_err"; then |
7881 rm -rf conftest* | 7882 rm -rf conftest* |
7882 eval "ac_cv_header_$ac_safe=yes" | 7883 eval "ac_cv_header_$ac_safe=yes" |
7883 else | 7884 else |
7897 | 7898 |
7898 done | 7899 done |
7899 | 7900 |
7900 test -n "$libpq_fe_h_file" && { | 7901 test -n "$libpq_fe_h_file" && { |
7901 echo $ac_n "checking for PQconnectdb in -lpq""... $ac_c" 1>&6 | 7902 echo $ac_n "checking for PQconnectdb in -lpq""... $ac_c" 1>&6 |
7902 echo "configure:7903: checking for PQconnectdb in -lpq" >&5 | 7903 echo "configure:7904: checking for PQconnectdb in -lpq" >&5 |
7903 ac_lib_var=`echo pq'_'PQconnectdb | sed 'y%./+-%__p_%'` | 7904 ac_lib_var=`echo pq'_'PQconnectdb | sed 'y%./+-%__p_%'` |
7904 | 7905 |
7905 xe_check_libs=" -lpq " | 7906 xe_check_libs=" -lpq " |
7906 cat > conftest.$ac_ext <<EOF | 7907 cat > conftest.$ac_ext <<EOF |
7907 #line 7908 "configure" | 7908 #line 7909 "configure" |
7908 #include "confdefs.h" | 7909 #include "confdefs.h" |
7909 /* Override any gcc2 internal prototype to avoid an error. */ | 7910 /* Override any gcc2 internal prototype to avoid an error. */ |
7910 /* We use char because int might match the return type of a gcc2 | 7911 /* We use char because int might match the return type of a gcc2 |
7911 builtin and then its argument prototype would still apply. */ | 7912 builtin and then its argument prototype would still apply. */ |
7912 char PQconnectdb(); | 7913 char PQconnectdb(); |
7913 | 7914 |
7914 int main() { | 7915 int main() { |
7915 PQconnectdb() | 7916 PQconnectdb() |
7916 ; return 0; } | 7917 ; return 0; } |
7917 EOF | 7918 EOF |
7918 if { (eval echo configure:7919: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7919 if { (eval echo configure:7920: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7919 rm -rf conftest* | 7920 rm -rf conftest* |
7920 eval "ac_cv_lib_$ac_lib_var=yes" | 7921 eval "ac_cv_lib_$ac_lib_var=yes" |
7921 else | 7922 else |
7922 echo "configure: failed program was:" >&5 | 7923 echo "configure: failed program was:" >&5 |
7923 cat conftest.$ac_ext >&5 | 7924 cat conftest.$ac_ext >&5 |
7946 EOF | 7947 EOF |
7947 } | 7948 } |
7948 | 7949 |
7949 | 7950 |
7950 echo $ac_n "checking for PQconnectStart in -lpq""... $ac_c" 1>&6 | 7951 echo $ac_n "checking for PQconnectStart in -lpq""... $ac_c" 1>&6 |
7951 echo "configure:7952: checking for PQconnectStart in -lpq" >&5 | 7952 echo "configure:7953: checking for PQconnectStart in -lpq" >&5 |
7952 ac_lib_var=`echo pq'_'PQconnectStart | sed 'y%./+-%__p_%'` | 7953 ac_lib_var=`echo pq'_'PQconnectStart | sed 'y%./+-%__p_%'` |
7953 | 7954 |
7954 xe_check_libs=" -lpq " | 7955 xe_check_libs=" -lpq " |
7955 cat > conftest.$ac_ext <<EOF | 7956 cat > conftest.$ac_ext <<EOF |
7956 #line 7957 "configure" | 7957 #line 7958 "configure" |
7957 #include "confdefs.h" | 7958 #include "confdefs.h" |
7958 /* Override any gcc2 internal prototype to avoid an error. */ | 7959 /* Override any gcc2 internal prototype to avoid an error. */ |
7959 /* We use char because int might match the return type of a gcc2 | 7960 /* We use char because int might match the return type of a gcc2 |
7960 builtin and then its argument prototype would still apply. */ | 7961 builtin and then its argument prototype would still apply. */ |
7961 char PQconnectStart(); | 7962 char PQconnectStart(); |
7962 | 7963 |
7963 int main() { | 7964 int main() { |
7964 PQconnectStart() | 7965 PQconnectStart() |
7965 ; return 0; } | 7966 ; return 0; } |
7966 EOF | 7967 EOF |
7967 if { (eval echo configure:7968: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7968 if { (eval echo configure:7969: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7968 rm -rf conftest* | 7969 rm -rf conftest* |
7969 eval "ac_cv_lib_$ac_lib_var=yes" | 7970 eval "ac_cv_lib_$ac_lib_var=yes" |
7970 else | 7971 else |
7971 echo "configure: failed program was:" >&5 | 7972 echo "configure: failed program was:" >&5 |
7972 cat conftest.$ac_ext >&5 | 7973 cat conftest.$ac_ext >&5 |
8010 fi | 8011 fi |
8011 | 8012 |
8012 | 8013 |
8013 if test "$window_system" != "none"; then | 8014 if test "$window_system" != "none"; then |
8014 echo "checking for graphics libraries" 1>&6 | 8015 echo "checking for graphics libraries" 1>&6 |
8015 echo "configure:8016: checking for graphics libraries" >&5 | 8016 echo "configure:8017: checking for graphics libraries" >&5 |
8016 | 8017 |
8017 xpm_problem="" | 8018 xpm_problem="" |
8018 if test -z "$with_xpm"; then | 8019 if test -z "$with_xpm"; then |
8019 echo $ac_n "checking for Xpm - no older than 3.4f""... $ac_c" 1>&6 | 8020 echo $ac_n "checking for Xpm - no older than 3.4f""... $ac_c" 1>&6 |
8020 echo "configure:8021: checking for Xpm - no older than 3.4f" >&5 | 8021 echo "configure:8022: checking for Xpm - no older than 3.4f" >&5 |
8021 xe_check_libs=-lXpm | 8022 xe_check_libs=-lXpm |
8022 cat > conftest.$ac_ext <<EOF | 8023 cat > conftest.$ac_ext <<EOF |
8023 #line 8024 "configure" | 8024 #line 8025 "configure" |
8024 #include "confdefs.h" | 8025 #include "confdefs.h" |
8025 #define XPM_NUMBERS | 8026 #define XPM_NUMBERS |
8026 #include <X11/xpm.h> | 8027 #include <X11/xpm.h> |
8027 int main(int c, char **v) { | 8028 int main(int c, char **v) { |
8028 return c == 1 ? 0 : | 8029 return c == 1 ? 0 : |
8029 XpmIncludeVersion != XpmLibraryVersion() ? 1 : | 8030 XpmIncludeVersion != XpmLibraryVersion() ? 1 : |
8030 XpmIncludeVersion < 30406 ? 2 : 0 ;} | 8031 XpmIncludeVersion < 30406 ? 2 : 0 ;} |
8031 EOF | 8032 EOF |
8032 if { (eval echo configure:8033: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 8033 if { (eval echo configure:8034: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
8033 then | 8034 then |
8034 ./conftest dummy_arg; xpm_status=$?; | 8035 ./conftest dummy_arg; xpm_status=$?; |
8035 if test "$xpm_status" = "0"; then | 8036 if test "$xpm_status" = "0"; then |
8036 with_xpm=yes; | 8037 with_xpm=yes; |
8037 else | 8038 else |
8069 EOF | 8070 EOF |
8070 } | 8071 } |
8071 | 8072 |
8072 libs_x="-lXpm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXpm\" to \$libs_x"; fi | 8073 libs_x="-lXpm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXpm\" to \$libs_x"; fi |
8073 echo $ac_n "checking for \"FOR_MSW\" xpm""... $ac_c" 1>&6 | 8074 echo $ac_n "checking for \"FOR_MSW\" xpm""... $ac_c" 1>&6 |
8074 echo "configure:8075: checking for \"FOR_MSW\" xpm" >&5 | 8075 echo "configure:8076: checking for \"FOR_MSW\" xpm" >&5 |
8075 xe_check_libs=-lXpm | 8076 xe_check_libs=-lXpm |
8076 cat > conftest.$ac_ext <<EOF | 8077 cat > conftest.$ac_ext <<EOF |
8077 #line 8078 "configure" | 8078 #line 8079 "configure" |
8078 #include "confdefs.h" | 8079 #include "confdefs.h" |
8079 | 8080 |
8080 int main() { | 8081 int main() { |
8081 XpmCreatePixmapFromData() | 8082 XpmCreatePixmapFromData() |
8082 ; return 0; } | 8083 ; return 0; } |
8083 EOF | 8084 EOF |
8084 if { (eval echo configure:8085: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8085 if { (eval echo configure:8086: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8085 rm -rf conftest* | 8086 rm -rf conftest* |
8086 xpm_for_msw=no | 8087 xpm_for_msw=no |
8087 else | 8088 else |
8088 echo "configure: failed program was:" >&5 | 8089 echo "configure: failed program was:" >&5 |
8089 cat conftest.$ac_ext >&5 | 8090 cat conftest.$ac_ext >&5 |
8105 fi | 8106 fi |
8106 fi | 8107 fi |
8107 | 8108 |
8108 test -z "$with_xface" && { ac_safe=`echo "compface.h" | sed 'y%./+-%__p_%'` | 8109 test -z "$with_xface" && { ac_safe=`echo "compface.h" | sed 'y%./+-%__p_%'` |
8109 echo $ac_n "checking for compface.h""... $ac_c" 1>&6 | 8110 echo $ac_n "checking for compface.h""... $ac_c" 1>&6 |
8110 echo "configure:8111: checking for compface.h" >&5 | 8111 echo "configure:8112: checking for compface.h" >&5 |
8111 | 8112 |
8112 cat > conftest.$ac_ext <<EOF | 8113 cat > conftest.$ac_ext <<EOF |
8113 #line 8114 "configure" | 8114 #line 8115 "configure" |
8114 #include "confdefs.h" | 8115 #include "confdefs.h" |
8115 #include <compface.h> | 8116 #include <compface.h> |
8116 EOF | 8117 EOF |
8117 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8118 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8118 { (eval echo configure:8119: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8119 { (eval echo configure:8120: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8119 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 8120 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
8120 if test -z "$ac_err"; then | 8121 if test -z "$ac_err"; then |
8121 rm -rf conftest* | 8122 rm -rf conftest* |
8122 eval "ac_cv_header_$ac_safe=yes" | 8123 eval "ac_cv_header_$ac_safe=yes" |
8123 else | 8124 else |
8136 with_xface=no | 8137 with_xface=no |
8137 fi | 8138 fi |
8138 } | 8139 } |
8139 test -z "$with_xface" && { | 8140 test -z "$with_xface" && { |
8140 echo $ac_n "checking for UnGenFace in -lcompface""... $ac_c" 1>&6 | 8141 echo $ac_n "checking for UnGenFace in -lcompface""... $ac_c" 1>&6 |
8141 echo "configure:8142: checking for UnGenFace in -lcompface" >&5 | 8142 echo "configure:8143: checking for UnGenFace in -lcompface" >&5 |
8142 ac_lib_var=`echo compface'_'UnGenFace | sed 'y%./+-%__p_%'` | 8143 ac_lib_var=`echo compface'_'UnGenFace | sed 'y%./+-%__p_%'` |
8143 | 8144 |
8144 xe_check_libs=" -lcompface " | 8145 xe_check_libs=" -lcompface " |
8145 cat > conftest.$ac_ext <<EOF | 8146 cat > conftest.$ac_ext <<EOF |
8146 #line 8147 "configure" | 8147 #line 8148 "configure" |
8147 #include "confdefs.h" | 8148 #include "confdefs.h" |
8148 /* Override any gcc2 internal prototype to avoid an error. */ | 8149 /* Override any gcc2 internal prototype to avoid an error. */ |
8149 /* We use char because int might match the return type of a gcc2 | 8150 /* We use char because int might match the return type of a gcc2 |
8150 builtin and then its argument prototype would still apply. */ | 8151 builtin and then its argument prototype would still apply. */ |
8151 char UnGenFace(); | 8152 char UnGenFace(); |
8152 | 8153 |
8153 int main() { | 8154 int main() { |
8154 UnGenFace() | 8155 UnGenFace() |
8155 ; return 0; } | 8156 ; return 0; } |
8156 EOF | 8157 EOF |
8157 if { (eval echo configure:8158: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8158 if { (eval echo configure:8159: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8158 rm -rf conftest* | 8159 rm -rf conftest* |
8159 eval "ac_cv_lib_$ac_lib_var=yes" | 8160 eval "ac_cv_lib_$ac_lib_var=yes" |
8160 else | 8161 else |
8161 echo "configure: failed program was:" >&5 | 8162 echo "configure: failed program was:" >&5 |
8162 cat conftest.$ac_ext >&5 | 8163 cat conftest.$ac_ext >&5 |
8204 fi | 8205 fi |
8205 | 8206 |
8206 if test "$with_png $with_tiff" != "no no"; then | 8207 if test "$with_png $with_tiff" != "no no"; then |
8207 | 8208 |
8208 echo $ac_n "checking for inflate in -lc""... $ac_c" 1>&6 | 8209 echo $ac_n "checking for inflate in -lc""... $ac_c" 1>&6 |
8209 echo "configure:8210: checking for inflate in -lc" >&5 | 8210 echo "configure:8211: checking for inflate in -lc" >&5 |
8210 ac_lib_var=`echo c'_'inflate | sed 'y%./+-%__p_%'` | 8211 ac_lib_var=`echo c'_'inflate | sed 'y%./+-%__p_%'` |
8211 | 8212 |
8212 xe_check_libs=" -lc " | 8213 xe_check_libs=" -lc " |
8213 cat > conftest.$ac_ext <<EOF | 8214 cat > conftest.$ac_ext <<EOF |
8214 #line 8215 "configure" | 8215 #line 8216 "configure" |
8215 #include "confdefs.h" | 8216 #include "confdefs.h" |
8216 /* Override any gcc2 internal prototype to avoid an error. */ | 8217 /* Override any gcc2 internal prototype to avoid an error. */ |
8217 /* We use char because int might match the return type of a gcc2 | 8218 /* We use char because int might match the return type of a gcc2 |
8218 builtin and then its argument prototype would still apply. */ | 8219 builtin and then its argument prototype would still apply. */ |
8219 char inflate(); | 8220 char inflate(); |
8220 | 8221 |
8221 int main() { | 8222 int main() { |
8222 inflate() | 8223 inflate() |
8223 ; return 0; } | 8224 ; return 0; } |
8224 EOF | 8225 EOF |
8225 if { (eval echo configure:8226: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8226 if { (eval echo configure:8227: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8226 rm -rf conftest* | 8227 rm -rf conftest* |
8227 eval "ac_cv_lib_$ac_lib_var=yes" | 8228 eval "ac_cv_lib_$ac_lib_var=yes" |
8228 else | 8229 else |
8229 echo "configure: failed program was:" >&5 | 8230 echo "configure: failed program was:" >&5 |
8230 cat conftest.$ac_ext >&5 | 8231 cat conftest.$ac_ext >&5 |
8239 : | 8240 : |
8240 else | 8241 else |
8241 echo "$ac_t""no" 1>&6 | 8242 echo "$ac_t""no" 1>&6 |
8242 | 8243 |
8243 echo $ac_n "checking for inflate in -lz""... $ac_c" 1>&6 | 8244 echo $ac_n "checking for inflate in -lz""... $ac_c" 1>&6 |
8244 echo "configure:8245: checking for inflate in -lz" >&5 | 8245 echo "configure:8246: checking for inflate in -lz" >&5 |
8245 ac_lib_var=`echo z'_'inflate | sed 'y%./+-%__p_%'` | 8246 ac_lib_var=`echo z'_'inflate | sed 'y%./+-%__p_%'` |
8246 | 8247 |
8247 xe_check_libs=" -lz " | 8248 xe_check_libs=" -lz " |
8248 cat > conftest.$ac_ext <<EOF | 8249 cat > conftest.$ac_ext <<EOF |
8249 #line 8250 "configure" | 8250 #line 8251 "configure" |
8250 #include "confdefs.h" | 8251 #include "confdefs.h" |
8251 /* Override any gcc2 internal prototype to avoid an error. */ | 8252 /* Override any gcc2 internal prototype to avoid an error. */ |
8252 /* We use char because int might match the return type of a gcc2 | 8253 /* We use char because int might match the return type of a gcc2 |
8253 builtin and then its argument prototype would still apply. */ | 8254 builtin and then its argument prototype would still apply. */ |
8254 char inflate(); | 8255 char inflate(); |
8255 | 8256 |
8256 int main() { | 8257 int main() { |
8257 inflate() | 8258 inflate() |
8258 ; return 0; } | 8259 ; return 0; } |
8259 EOF | 8260 EOF |
8260 if { (eval echo configure:8261: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8261 if { (eval echo configure:8262: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8261 rm -rf conftest* | 8262 rm -rf conftest* |
8262 eval "ac_cv_lib_$ac_lib_var=yes" | 8263 eval "ac_cv_lib_$ac_lib_var=yes" |
8263 else | 8264 else |
8264 echo "configure: failed program was:" >&5 | 8265 echo "configure: failed program was:" >&5 |
8265 cat conftest.$ac_ext >&5 | 8266 cat conftest.$ac_ext >&5 |
8274 libs_x="-lz $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lz\" to \$libs_x"; fi | 8275 libs_x="-lz $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lz\" to \$libs_x"; fi |
8275 else | 8276 else |
8276 echo "$ac_t""no" 1>&6 | 8277 echo "$ac_t""no" 1>&6 |
8277 | 8278 |
8278 echo $ac_n "checking for inflate in -lgz""... $ac_c" 1>&6 | 8279 echo $ac_n "checking for inflate in -lgz""... $ac_c" 1>&6 |
8279 echo "configure:8280: checking for inflate in -lgz" >&5 | 8280 echo "configure:8281: checking for inflate in -lgz" >&5 |
8280 ac_lib_var=`echo gz'_'inflate | sed 'y%./+-%__p_%'` | 8281 ac_lib_var=`echo gz'_'inflate | sed 'y%./+-%__p_%'` |
8281 | 8282 |
8282 xe_check_libs=" -lgz " | 8283 xe_check_libs=" -lgz " |
8283 cat > conftest.$ac_ext <<EOF | 8284 cat > conftest.$ac_ext <<EOF |
8284 #line 8285 "configure" | 8285 #line 8286 "configure" |
8285 #include "confdefs.h" | 8286 #include "confdefs.h" |
8286 /* Override any gcc2 internal prototype to avoid an error. */ | 8287 /* Override any gcc2 internal prototype to avoid an error. */ |
8287 /* We use char because int might match the return type of a gcc2 | 8288 /* We use char because int might match the return type of a gcc2 |
8288 builtin and then its argument prototype would still apply. */ | 8289 builtin and then its argument prototype would still apply. */ |
8289 char inflate(); | 8290 char inflate(); |
8290 | 8291 |
8291 int main() { | 8292 int main() { |
8292 inflate() | 8293 inflate() |
8293 ; return 0; } | 8294 ; return 0; } |
8294 EOF | 8295 EOF |
8295 if { (eval echo configure:8296: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8296 if { (eval echo configure:8297: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8296 rm -rf conftest* | 8297 rm -rf conftest* |
8297 eval "ac_cv_lib_$ac_lib_var=yes" | 8298 eval "ac_cv_lib_$ac_lib_var=yes" |
8298 else | 8299 else |
8299 echo "configure: failed program was:" >&5 | 8300 echo "configure: failed program was:" >&5 |
8300 cat conftest.$ac_ext >&5 | 8301 cat conftest.$ac_ext >&5 |
8320 | 8321 |
8321 fi | 8322 fi |
8322 | 8323 |
8323 test -z "$with_jpeg" && { ac_safe=`echo "jpeglib.h" | sed 'y%./+-%__p_%'` | 8324 test -z "$with_jpeg" && { ac_safe=`echo "jpeglib.h" | sed 'y%./+-%__p_%'` |
8324 echo $ac_n "checking for jpeglib.h""... $ac_c" 1>&6 | 8325 echo $ac_n "checking for jpeglib.h""... $ac_c" 1>&6 |
8325 echo "configure:8326: checking for jpeglib.h" >&5 | 8326 echo "configure:8327: checking for jpeglib.h" >&5 |
8326 | 8327 |
8327 cat > conftest.$ac_ext <<EOF | 8328 cat > conftest.$ac_ext <<EOF |
8328 #line 8329 "configure" | 8329 #line 8330 "configure" |
8329 #include "confdefs.h" | 8330 #include "confdefs.h" |
8330 #include <jpeglib.h> | 8331 #include <jpeglib.h> |
8331 EOF | 8332 EOF |
8332 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8333 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8333 { (eval echo configure:8334: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8334 { (eval echo configure:8335: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8334 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 8335 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
8335 if test -z "$ac_err"; then | 8336 if test -z "$ac_err"; then |
8336 rm -rf conftest* | 8337 rm -rf conftest* |
8337 eval "ac_cv_header_$ac_safe=yes" | 8338 eval "ac_cv_header_$ac_safe=yes" |
8338 else | 8339 else |
8351 with_jpeg=no | 8352 with_jpeg=no |
8352 fi | 8353 fi |
8353 } | 8354 } |
8354 test -z "$with_jpeg" && { | 8355 test -z "$with_jpeg" && { |
8355 echo $ac_n "checking for jpeg_destroy_decompress in -ljpeg""... $ac_c" 1>&6 | 8356 echo $ac_n "checking for jpeg_destroy_decompress in -ljpeg""... $ac_c" 1>&6 |
8356 echo "configure:8357: checking for jpeg_destroy_decompress in -ljpeg" >&5 | 8357 echo "configure:8358: checking for jpeg_destroy_decompress in -ljpeg" >&5 |
8357 ac_lib_var=`echo jpeg'_'jpeg_destroy_decompress | sed 'y%./+-%__p_%'` | 8358 ac_lib_var=`echo jpeg'_'jpeg_destroy_decompress | sed 'y%./+-%__p_%'` |
8358 | 8359 |
8359 xe_check_libs=" -ljpeg " | 8360 xe_check_libs=" -ljpeg " |
8360 cat > conftest.$ac_ext <<EOF | 8361 cat > conftest.$ac_ext <<EOF |
8361 #line 8362 "configure" | 8362 #line 8363 "configure" |
8362 #include "confdefs.h" | 8363 #include "confdefs.h" |
8363 /* Override any gcc2 internal prototype to avoid an error. */ | 8364 /* Override any gcc2 internal prototype to avoid an error. */ |
8364 /* We use char because int might match the return type of a gcc2 | 8365 /* We use char because int might match the return type of a gcc2 |
8365 builtin and then its argument prototype would still apply. */ | 8366 builtin and then its argument prototype would still apply. */ |
8366 char jpeg_destroy_decompress(); | 8367 char jpeg_destroy_decompress(); |
8367 | 8368 |
8368 int main() { | 8369 int main() { |
8369 jpeg_destroy_decompress() | 8370 jpeg_destroy_decompress() |
8370 ; return 0; } | 8371 ; return 0; } |
8371 EOF | 8372 EOF |
8372 if { (eval echo configure:8373: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8373 if { (eval echo configure:8374: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8373 rm -rf conftest* | 8374 rm -rf conftest* |
8374 eval "ac_cv_lib_$ac_lib_var=yes" | 8375 eval "ac_cv_lib_$ac_lib_var=yes" |
8375 else | 8376 else |
8376 echo "configure: failed program was:" >&5 | 8377 echo "configure: failed program was:" >&5 |
8377 cat conftest.$ac_ext >&5 | 8378 cat conftest.$ac_ext >&5 |
8403 libs_x="-ljpeg $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-ljpeg\" to \$libs_x"; fi | 8404 libs_x="-ljpeg $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-ljpeg\" to \$libs_x"; fi |
8404 fi | 8405 fi |
8405 | 8406 |
8406 png_problem="" | 8407 png_problem="" |
8407 test -z "$with_png" && { echo $ac_n "checking for pow""... $ac_c" 1>&6 | 8408 test -z "$with_png" && { echo $ac_n "checking for pow""... $ac_c" 1>&6 |
8408 echo "configure:8409: checking for pow" >&5 | 8409 echo "configure:8410: checking for pow" >&5 |
8409 | 8410 |
8410 cat > conftest.$ac_ext <<EOF | 8411 cat > conftest.$ac_ext <<EOF |
8411 #line 8412 "configure" | 8412 #line 8413 "configure" |
8412 #include "confdefs.h" | 8413 #include "confdefs.h" |
8413 /* System header to define __stub macros and hopefully few prototypes, | 8414 /* System header to define __stub macros and hopefully few prototypes, |
8414 which can conflict with char pow(); below. */ | 8415 which can conflict with char pow(); below. */ |
8415 #include <assert.h> | 8416 #include <assert.h> |
8416 /* Override any gcc2 internal prototype to avoid an error. */ | 8417 /* Override any gcc2 internal prototype to avoid an error. */ |
8429 pow(); | 8430 pow(); |
8430 #endif | 8431 #endif |
8431 | 8432 |
8432 ; return 0; } | 8433 ; return 0; } |
8433 EOF | 8434 EOF |
8434 if { (eval echo configure:8435: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8435 if { (eval echo configure:8436: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8435 rm -rf conftest* | 8436 rm -rf conftest* |
8436 eval "ac_cv_func_pow=yes" | 8437 eval "ac_cv_func_pow=yes" |
8437 else | 8438 else |
8438 echo "configure: failed program was:" >&5 | 8439 echo "configure: failed program was:" >&5 |
8439 cat conftest.$ac_ext >&5 | 8440 cat conftest.$ac_ext >&5 |
8450 with_png=no | 8451 with_png=no |
8451 fi | 8452 fi |
8452 } | 8453 } |
8453 test -z "$with_png" && { ac_safe=`echo "png.h" | sed 'y%./+-%__p_%'` | 8454 test -z "$with_png" && { ac_safe=`echo "png.h" | sed 'y%./+-%__p_%'` |
8454 echo $ac_n "checking for png.h""... $ac_c" 1>&6 | 8455 echo $ac_n "checking for png.h""... $ac_c" 1>&6 |
8455 echo "configure:8456: checking for png.h" >&5 | 8456 echo "configure:8457: checking for png.h" >&5 |
8456 | 8457 |
8457 cat > conftest.$ac_ext <<EOF | 8458 cat > conftest.$ac_ext <<EOF |
8458 #line 8459 "configure" | 8459 #line 8460 "configure" |
8459 #include "confdefs.h" | 8460 #include "confdefs.h" |
8460 #include <png.h> | 8461 #include <png.h> |
8461 EOF | 8462 EOF |
8462 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8463 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8463 { (eval echo configure:8464: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8464 { (eval echo configure:8465: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8464 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 8465 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
8465 if test -z "$ac_err"; then | 8466 if test -z "$ac_err"; then |
8466 rm -rf conftest* | 8467 rm -rf conftest* |
8467 eval "ac_cv_header_$ac_safe=yes" | 8468 eval "ac_cv_header_$ac_safe=yes" |
8468 else | 8469 else |
8481 with_png=no | 8482 with_png=no |
8482 fi | 8483 fi |
8483 } | 8484 } |
8484 test -z "$with_png" && { | 8485 test -z "$with_png" && { |
8485 echo $ac_n "checking for png_read_image in -lpng""... $ac_c" 1>&6 | 8486 echo $ac_n "checking for png_read_image in -lpng""... $ac_c" 1>&6 |
8486 echo "configure:8487: checking for png_read_image in -lpng" >&5 | 8487 echo "configure:8488: checking for png_read_image in -lpng" >&5 |
8487 ac_lib_var=`echo png'_'png_read_image | sed 'y%./+-%__p_%'` | 8488 ac_lib_var=`echo png'_'png_read_image | sed 'y%./+-%__p_%'` |
8488 | 8489 |
8489 xe_check_libs=" -lpng " | 8490 xe_check_libs=" -lpng " |
8490 cat > conftest.$ac_ext <<EOF | 8491 cat > conftest.$ac_ext <<EOF |
8491 #line 8492 "configure" | 8492 #line 8493 "configure" |
8492 #include "confdefs.h" | 8493 #include "confdefs.h" |
8493 /* Override any gcc2 internal prototype to avoid an error. */ | 8494 /* Override any gcc2 internal prototype to avoid an error. */ |
8494 /* We use char because int might match the return type of a gcc2 | 8495 /* We use char because int might match the return type of a gcc2 |
8495 builtin and then its argument prototype would still apply. */ | 8496 builtin and then its argument prototype would still apply. */ |
8496 char png_read_image(); | 8497 char png_read_image(); |
8497 | 8498 |
8498 int main() { | 8499 int main() { |
8499 png_read_image() | 8500 png_read_image() |
8500 ; return 0; } | 8501 ; return 0; } |
8501 EOF | 8502 EOF |
8502 if { (eval echo configure:8503: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8503 if { (eval echo configure:8504: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8503 rm -rf conftest* | 8504 rm -rf conftest* |
8504 eval "ac_cv_lib_$ac_lib_var=yes" | 8505 eval "ac_cv_lib_$ac_lib_var=yes" |
8505 else | 8506 else |
8506 echo "configure: failed program was:" >&5 | 8507 echo "configure: failed program was:" >&5 |
8507 cat conftest.$ac_ext >&5 | 8508 cat conftest.$ac_ext >&5 |
8520 fi | 8521 fi |
8521 | 8522 |
8522 } | 8523 } |
8523 if test -z "$with_png"; then | 8524 if test -z "$with_png"; then |
8524 echo $ac_n "checking for workable png version information""... $ac_c" 1>&6 | 8525 echo $ac_n "checking for workable png version information""... $ac_c" 1>&6 |
8525 echo "configure:8526: checking for workable png version information" >&5 | 8526 echo "configure:8527: checking for workable png version information" >&5 |
8526 xe_check_libs="-lpng -lz" | 8527 xe_check_libs="-lpng -lz" |
8527 cat > conftest.$ac_ext <<EOF | 8528 cat > conftest.$ac_ext <<EOF |
8528 #line 8529 "configure" | 8529 #line 8530 "configure" |
8529 #include "confdefs.h" | 8530 #include "confdefs.h" |
8530 #include <png.h> | 8531 #include <png.h> |
8531 int main(int c, char **v) { | 8532 int main(int c, char **v) { |
8532 if (c == 1) return 0; | 8533 if (c == 1) return 0; |
8533 if (strcmp(png_libpng_ver, PNG_LIBPNG_VER_STRING) != 0) return 1; | 8534 if (strcmp(png_libpng_ver, PNG_LIBPNG_VER_STRING) != 0) return 1; |
8534 return (PNG_LIBPNG_VER < 10002) ? 2 : 0 ;} | 8535 return (PNG_LIBPNG_VER < 10002) ? 2 : 0 ;} |
8535 EOF | 8536 EOF |
8536 if { (eval echo configure:8537: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 8537 if { (eval echo configure:8538: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
8537 then | 8538 then |
8538 ./conftest dummy_arg; png_status=$?; | 8539 ./conftest dummy_arg; png_status=$?; |
8539 if test "$png_status" = "0"; then | 8540 if test "$png_status" = "0"; then |
8540 with_png=yes; | 8541 with_png=yes; |
8541 else | 8542 else |
8574 libs_x="-lpng $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lpng\" to \$libs_x"; fi | 8575 libs_x="-lpng $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lpng\" to \$libs_x"; fi |
8575 fi | 8576 fi |
8576 | 8577 |
8577 test -z "$with_tiff" && { ac_safe=`echo "tiffio.h" | sed 'y%./+-%__p_%'` | 8578 test -z "$with_tiff" && { ac_safe=`echo "tiffio.h" | sed 'y%./+-%__p_%'` |
8578 echo $ac_n "checking for tiffio.h""... $ac_c" 1>&6 | 8579 echo $ac_n "checking for tiffio.h""... $ac_c" 1>&6 |
8579 echo "configure:8580: checking for tiffio.h" >&5 | 8580 echo "configure:8581: checking for tiffio.h" >&5 |
8580 | 8581 |
8581 cat > conftest.$ac_ext <<EOF | 8582 cat > conftest.$ac_ext <<EOF |
8582 #line 8583 "configure" | 8583 #line 8584 "configure" |
8583 #include "confdefs.h" | 8584 #include "confdefs.h" |
8584 #include <tiffio.h> | 8585 #include <tiffio.h> |
8585 EOF | 8586 EOF |
8586 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8587 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8587 { (eval echo configure:8588: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8588 { (eval echo configure:8589: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8588 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 8589 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
8589 if test -z "$ac_err"; then | 8590 if test -z "$ac_err"; then |
8590 rm -rf conftest* | 8591 rm -rf conftest* |
8591 eval "ac_cv_header_$ac_safe=yes" | 8592 eval "ac_cv_header_$ac_safe=yes" |
8592 else | 8593 else |
8605 with_tiff=no | 8606 with_tiff=no |
8606 fi | 8607 fi |
8607 } | 8608 } |
8608 test -z "$with_tiff" && { | 8609 test -z "$with_tiff" && { |
8609 echo $ac_n "checking for TIFFClientOpen in -ltiff""... $ac_c" 1>&6 | 8610 echo $ac_n "checking for TIFFClientOpen in -ltiff""... $ac_c" 1>&6 |
8610 echo "configure:8611: checking for TIFFClientOpen in -ltiff" >&5 | 8611 echo "configure:8612: checking for TIFFClientOpen in -ltiff" >&5 |
8611 ac_lib_var=`echo tiff'_'TIFFClientOpen | sed 'y%./+-%__p_%'` | 8612 ac_lib_var=`echo tiff'_'TIFFClientOpen | sed 'y%./+-%__p_%'` |
8612 | 8613 |
8613 xe_check_libs=" -ltiff " | 8614 xe_check_libs=" -ltiff " |
8614 cat > conftest.$ac_ext <<EOF | 8615 cat > conftest.$ac_ext <<EOF |
8615 #line 8616 "configure" | 8616 #line 8617 "configure" |
8616 #include "confdefs.h" | 8617 #include "confdefs.h" |
8617 /* Override any gcc2 internal prototype to avoid an error. */ | 8618 /* Override any gcc2 internal prototype to avoid an error. */ |
8618 /* We use char because int might match the return type of a gcc2 | 8619 /* We use char because int might match the return type of a gcc2 |
8619 builtin and then its argument prototype would still apply. */ | 8620 builtin and then its argument prototype would still apply. */ |
8620 char TIFFClientOpen(); | 8621 char TIFFClientOpen(); |
8621 | 8622 |
8622 int main() { | 8623 int main() { |
8623 TIFFClientOpen() | 8624 TIFFClientOpen() |
8624 ; return 0; } | 8625 ; return 0; } |
8625 EOF | 8626 EOF |
8626 if { (eval echo configure:8627: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8627 if { (eval echo configure:8628: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8627 rm -rf conftest* | 8628 rm -rf conftest* |
8628 eval "ac_cv_lib_$ac_lib_var=yes" | 8629 eval "ac_cv_lib_$ac_lib_var=yes" |
8629 else | 8630 else |
8630 echo "configure: failed program was:" >&5 | 8631 echo "configure: failed program was:" >&5 |
8631 cat conftest.$ac_ext >&5 | 8632 cat conftest.$ac_ext >&5 |
8660 | 8661 |
8661 | 8662 |
8662 if test "$with_gtk" = "yes"; then | 8663 if test "$with_gtk" = "yes"; then |
8663 test -z "$with_xface" && { ac_safe=`echo "compface.h" | sed 'y%./+-%__p_%'` | 8664 test -z "$with_xface" && { ac_safe=`echo "compface.h" | sed 'y%./+-%__p_%'` |
8664 echo $ac_n "checking for compface.h""... $ac_c" 1>&6 | 8665 echo $ac_n "checking for compface.h""... $ac_c" 1>&6 |
8665 echo "configure:8666: checking for compface.h" >&5 | 8666 echo "configure:8667: checking for compface.h" >&5 |
8666 | 8667 |
8667 cat > conftest.$ac_ext <<EOF | 8668 cat > conftest.$ac_ext <<EOF |
8668 #line 8669 "configure" | 8669 #line 8670 "configure" |
8669 #include "confdefs.h" | 8670 #include "confdefs.h" |
8670 #include <compface.h> | 8671 #include <compface.h> |
8671 EOF | 8672 EOF |
8672 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8673 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8673 { (eval echo configure:8674: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8674 { (eval echo configure:8675: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8674 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 8675 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
8675 if test -z "$ac_err"; then | 8676 if test -z "$ac_err"; then |
8676 rm -rf conftest* | 8677 rm -rf conftest* |
8677 eval "ac_cv_header_$ac_safe=yes" | 8678 eval "ac_cv_header_$ac_safe=yes" |
8678 else | 8679 else |
8691 with_xface=no | 8692 with_xface=no |
8692 fi | 8693 fi |
8693 } | 8694 } |
8694 test -z "$with_xface" && { | 8695 test -z "$with_xface" && { |
8695 echo $ac_n "checking for UnGenFace in -lcompface""... $ac_c" 1>&6 | 8696 echo $ac_n "checking for UnGenFace in -lcompface""... $ac_c" 1>&6 |
8696 echo "configure:8697: checking for UnGenFace in -lcompface" >&5 | 8697 echo "configure:8698: checking for UnGenFace in -lcompface" >&5 |
8697 ac_lib_var=`echo compface'_'UnGenFace | sed 'y%./+-%__p_%'` | 8698 ac_lib_var=`echo compface'_'UnGenFace | sed 'y%./+-%__p_%'` |
8698 | 8699 |
8699 xe_check_libs=" -lcompface " | 8700 xe_check_libs=" -lcompface " |
8700 cat > conftest.$ac_ext <<EOF | 8701 cat > conftest.$ac_ext <<EOF |
8701 #line 8702 "configure" | 8702 #line 8703 "configure" |
8702 #include "confdefs.h" | 8703 #include "confdefs.h" |
8703 /* Override any gcc2 internal prototype to avoid an error. */ | 8704 /* Override any gcc2 internal prototype to avoid an error. */ |
8704 /* We use char because int might match the return type of a gcc2 | 8705 /* We use char because int might match the return type of a gcc2 |
8705 builtin and then its argument prototype would still apply. */ | 8706 builtin and then its argument prototype would still apply. */ |
8706 char UnGenFace(); | 8707 char UnGenFace(); |
8707 | 8708 |
8708 int main() { | 8709 int main() { |
8709 UnGenFace() | 8710 UnGenFace() |
8710 ; return 0; } | 8711 ; return 0; } |
8711 EOF | 8712 EOF |
8712 if { (eval echo configure:8713: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8713 if { (eval echo configure:8714: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8713 rm -rf conftest* | 8714 rm -rf conftest* |
8714 eval "ac_cv_lib_$ac_lib_var=yes" | 8715 eval "ac_cv_lib_$ac_lib_var=yes" |
8715 else | 8716 else |
8716 echo "configure: failed program was:" >&5 | 8717 echo "configure: failed program was:" >&5 |
8717 cat conftest.$ac_ext >&5 | 8718 cat conftest.$ac_ext >&5 |
8747 | 8748 |
8748 | 8749 |
8749 if test "$with_x11" = "yes"; then | 8750 if test "$with_x11" = "yes"; then |
8750 | 8751 |
8751 echo "checking for X11 graphics libraries" 1>&6 | 8752 echo "checking for X11 graphics libraries" 1>&6 |
8752 echo "configure:8753: checking for X11 graphics libraries" >&5 | 8753 echo "configure:8754: checking for X11 graphics libraries" >&5 |
8753 | 8754 |
8754 echo "checking for the Athena widgets" 1>&6 | 8755 echo "checking for the Athena widgets" 1>&6 |
8755 echo "configure:8756: checking for the Athena widgets" >&5 | 8756 echo "configure:8757: checking for the Athena widgets" >&5 |
8756 | 8757 |
8757 case "$with_athena" in | 8758 case "$with_athena" in |
8758 "xaw" | "") athena_variant=Xaw athena_3d=no ;; | 8759 "xaw" | "") athena_variant=Xaw athena_3d=no ;; |
8759 "3d") athena_variant=Xaw3d athena_3d=yes ;; | 8760 "3d") athena_variant=Xaw3d athena_3d=yes ;; |
8760 "next") athena_variant=neXtaw athena_3d=yes ;; | 8761 "next") athena_variant=neXtaw athena_3d=yes ;; |
8764 esac | 8765 esac |
8765 | 8766 |
8766 if test "$athena_3d" = "no"; then | 8767 if test "$athena_3d" = "no"; then |
8767 | 8768 |
8768 echo $ac_n "checking for XawScrollbarSetThumb in -l$athena_variant""... $ac_c" 1>&6 | 8769 echo $ac_n "checking for XawScrollbarSetThumb in -l$athena_variant""... $ac_c" 1>&6 |
8769 echo "configure:8770: checking for XawScrollbarSetThumb in -l$athena_variant" >&5 | 8770 echo "configure:8771: checking for XawScrollbarSetThumb in -l$athena_variant" >&5 |
8770 ac_lib_var=`echo $athena_variant'_'XawScrollbarSetThumb | sed 'y%./+-%__p_%'` | 8771 ac_lib_var=`echo $athena_variant'_'XawScrollbarSetThumb | sed 'y%./+-%__p_%'` |
8771 | 8772 |
8772 xe_check_libs=" -l$athena_variant " | 8773 xe_check_libs=" -l$athena_variant " |
8773 cat > conftest.$ac_ext <<EOF | 8774 cat > conftest.$ac_ext <<EOF |
8774 #line 8775 "configure" | 8775 #line 8776 "configure" |
8775 #include "confdefs.h" | 8776 #include "confdefs.h" |
8776 /* Override any gcc2 internal prototype to avoid an error. */ | 8777 /* Override any gcc2 internal prototype to avoid an error. */ |
8777 /* We use char because int might match the return type of a gcc2 | 8778 /* We use char because int might match the return type of a gcc2 |
8778 builtin and then its argument prototype would still apply. */ | 8779 builtin and then its argument prototype would still apply. */ |
8779 char XawScrollbarSetThumb(); | 8780 char XawScrollbarSetThumb(); |
8780 | 8781 |
8781 int main() { | 8782 int main() { |
8782 XawScrollbarSetThumb() | 8783 XawScrollbarSetThumb() |
8783 ; return 0; } | 8784 ; return 0; } |
8784 EOF | 8785 EOF |
8785 if { (eval echo configure:8786: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8786 if { (eval echo configure:8787: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8786 rm -rf conftest* | 8787 rm -rf conftest* |
8787 eval "ac_cv_lib_$ac_lib_var=yes" | 8788 eval "ac_cv_lib_$ac_lib_var=yes" |
8788 else | 8789 else |
8789 echo "configure: failed program was:" >&5 | 8790 echo "configure: failed program was:" >&5 |
8790 cat conftest.$ac_ext >&5 | 8791 cat conftest.$ac_ext >&5 |
8796 | 8797 |
8797 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes" ; then | 8798 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes" ; then |
8798 echo "$ac_t""yes" 1>&6 | 8799 echo "$ac_t""yes" 1>&6 |
8799 | 8800 |
8800 echo $ac_n "checking for threeDClassRec in -l$athena_variant""... $ac_c" 1>&6 | 8801 echo $ac_n "checking for threeDClassRec in -l$athena_variant""... $ac_c" 1>&6 |
8801 echo "configure:8802: checking for threeDClassRec in -l$athena_variant" >&5 | 8802 echo "configure:8803: checking for threeDClassRec in -l$athena_variant" >&5 |
8802 ac_lib_var=`echo $athena_variant'_'threeDClassRec | sed 'y%./+-%__p_%'` | 8803 ac_lib_var=`echo $athena_variant'_'threeDClassRec | sed 'y%./+-%__p_%'` |
8803 | 8804 |
8804 xe_check_libs=" -l$athena_variant " | 8805 xe_check_libs=" -l$athena_variant " |
8805 cat > conftest.$ac_ext <<EOF | 8806 cat > conftest.$ac_ext <<EOF |
8806 #line 8807 "configure" | 8807 #line 8808 "configure" |
8807 #include "confdefs.h" | 8808 #include "confdefs.h" |
8808 /* Override any gcc2 internal prototype to avoid an error. */ | 8809 /* Override any gcc2 internal prototype to avoid an error. */ |
8809 /* We use char because int might match the return type of a gcc2 | 8810 /* We use char because int might match the return type of a gcc2 |
8810 builtin and then its argument prototype would still apply. */ | 8811 builtin and then its argument prototype would still apply. */ |
8811 char threeDClassRec(); | 8812 char threeDClassRec(); |
8812 | 8813 |
8813 int main() { | 8814 int main() { |
8814 threeDClassRec() | 8815 threeDClassRec() |
8815 ; return 0; } | 8816 ; return 0; } |
8816 EOF | 8817 EOF |
8817 if { (eval echo configure:8818: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8818 if { (eval echo configure:8819: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8818 rm -rf conftest* | 8819 rm -rf conftest* |
8819 eval "ac_cv_lib_$ac_lib_var=yes" | 8820 eval "ac_cv_lib_$ac_lib_var=yes" |
8820 else | 8821 else |
8821 echo "configure: failed program was:" >&5 | 8822 echo "configure: failed program was:" >&5 |
8822 cat conftest.$ac_ext >&5 | 8823 cat conftest.$ac_ext >&5 |
8843 | 8844 |
8844 | 8845 |
8845 else | 8846 else |
8846 | 8847 |
8847 echo $ac_n "checking for threeDClassRec in -l$athena_variant""... $ac_c" 1>&6 | 8848 echo $ac_n "checking for threeDClassRec in -l$athena_variant""... $ac_c" 1>&6 |
8848 echo "configure:8849: checking for threeDClassRec in -l$athena_variant" >&5 | 8849 echo "configure:8850: checking for threeDClassRec in -l$athena_variant" >&5 |
8849 ac_lib_var=`echo $athena_variant'_'threeDClassRec | sed 'y%./+-%__p_%'` | 8850 ac_lib_var=`echo $athena_variant'_'threeDClassRec | sed 'y%./+-%__p_%'` |
8850 | 8851 |
8851 xe_check_libs=" -l$athena_variant " | 8852 xe_check_libs=" -l$athena_variant " |
8852 cat > conftest.$ac_ext <<EOF | 8853 cat > conftest.$ac_ext <<EOF |
8853 #line 8854 "configure" | 8854 #line 8855 "configure" |
8854 #include "confdefs.h" | 8855 #include "confdefs.h" |
8855 /* Override any gcc2 internal prototype to avoid an error. */ | 8856 /* Override any gcc2 internal prototype to avoid an error. */ |
8856 /* We use char because int might match the return type of a gcc2 | 8857 /* We use char because int might match the return type of a gcc2 |
8857 builtin and then its argument prototype would still apply. */ | 8858 builtin and then its argument prototype would still apply. */ |
8858 char threeDClassRec(); | 8859 char threeDClassRec(); |
8859 | 8860 |
8860 int main() { | 8861 int main() { |
8861 threeDClassRec() | 8862 threeDClassRec() |
8862 ; return 0; } | 8863 ; return 0; } |
8863 EOF | 8864 EOF |
8864 if { (eval echo configure:8865: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8865 if { (eval echo configure:8866: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8865 rm -rf conftest* | 8866 rm -rf conftest* |
8866 eval "ac_cv_lib_$ac_lib_var=yes" | 8867 eval "ac_cv_lib_$ac_lib_var=yes" |
8867 else | 8868 else |
8868 echo "configure: failed program was:" >&5 | 8869 echo "configure: failed program was:" >&5 |
8869 cat conftest.$ac_ext >&5 | 8870 cat conftest.$ac_ext >&5 |
8877 echo "$ac_t""yes" 1>&6 | 8878 echo "$ac_t""yes" 1>&6 |
8878 athena_lib=$athena_variant | 8879 athena_lib=$athena_variant |
8879 else | 8880 else |
8880 echo "$ac_t""no" 1>&6 | 8881 echo "$ac_t""no" 1>&6 |
8881 echo $ac_n "checking for threeDClassRec in -lXaw""... $ac_c" 1>&6 | 8882 echo $ac_n "checking for threeDClassRec in -lXaw""... $ac_c" 1>&6 |
8882 echo "configure:8883: checking for threeDClassRec in -lXaw" >&5 | 8883 echo "configure:8884: checking for threeDClassRec in -lXaw" >&5 |
8883 ac_lib_var=`echo Xaw'_'threeDClassRec | sed 'y%./+-%__p_%'` | 8884 ac_lib_var=`echo Xaw'_'threeDClassRec | sed 'y%./+-%__p_%'` |
8884 | 8885 |
8885 xe_check_libs=" -lXaw " | 8886 xe_check_libs=" -lXaw " |
8886 cat > conftest.$ac_ext <<EOF | 8887 cat > conftest.$ac_ext <<EOF |
8887 #line 8888 "configure" | 8888 #line 8889 "configure" |
8888 #include "confdefs.h" | 8889 #include "confdefs.h" |
8889 /* Override any gcc2 internal prototype to avoid an error. */ | 8890 /* Override any gcc2 internal prototype to avoid an error. */ |
8890 /* We use char because int might match the return type of a gcc2 | 8891 /* We use char because int might match the return type of a gcc2 |
8891 builtin and then its argument prototype would still apply. */ | 8892 builtin and then its argument prototype would still apply. */ |
8892 char threeDClassRec(); | 8893 char threeDClassRec(); |
8893 | 8894 |
8894 int main() { | 8895 int main() { |
8895 threeDClassRec() | 8896 threeDClassRec() |
8896 ; return 0; } | 8897 ; return 0; } |
8897 EOF | 8898 EOF |
8898 if { (eval echo configure:8899: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8899 if { (eval echo configure:8900: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8899 rm -rf conftest* | 8900 rm -rf conftest* |
8900 eval "ac_cv_lib_$ac_lib_var=yes" | 8901 eval "ac_cv_lib_$ac_lib_var=yes" |
8901 else | 8902 else |
8902 echo "configure: failed program was:" >&5 | 8903 echo "configure: failed program was:" >&5 |
8903 cat conftest.$ac_ext >&5 | 8904 cat conftest.$ac_ext >&5 |
8924 fi | 8925 fi |
8925 | 8926 |
8926 if test "$athena_3d" = "no"; then | 8927 if test "$athena_3d" = "no"; then |
8927 ac_safe=`echo "X11/Xaw/ThreeD.h" | sed 'y%./+-%__p_%'` | 8928 ac_safe=`echo "X11/Xaw/ThreeD.h" | sed 'y%./+-%__p_%'` |
8928 echo $ac_n "checking for X11/Xaw/ThreeD.h""... $ac_c" 1>&6 | 8929 echo $ac_n "checking for X11/Xaw/ThreeD.h""... $ac_c" 1>&6 |
8929 echo "configure:8930: checking for X11/Xaw/ThreeD.h" >&5 | 8930 echo "configure:8931: checking for X11/Xaw/ThreeD.h" >&5 |
8930 | 8931 |
8931 cat > conftest.$ac_ext <<EOF | 8932 cat > conftest.$ac_ext <<EOF |
8932 #line 8933 "configure" | 8933 #line 8934 "configure" |
8933 #include "confdefs.h" | 8934 #include "confdefs.h" |
8934 #include <X11/Xaw/ThreeD.h> | 8935 #include <X11/Xaw/ThreeD.h> |
8935 EOF | 8936 EOF |
8936 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8937 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8937 { (eval echo configure:8938: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8938 { (eval echo configure:8939: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8938 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 8939 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
8939 if test -z "$ac_err"; then | 8940 if test -z "$ac_err"; then |
8940 rm -rf conftest* | 8941 rm -rf conftest* |
8941 eval "ac_cv_header_$ac_safe=yes" | 8942 eval "ac_cv_header_$ac_safe=yes" |
8942 else | 8943 else |
8952 echo "configure: warning: "Could not find a non-3d Athena header set."" 1>&2 | 8953 echo "configure: warning: "Could not find a non-3d Athena header set."" 1>&2 |
8953 else | 8954 else |
8954 echo "$ac_t""no" 1>&6 | 8955 echo "$ac_t""no" 1>&6 |
8955 ac_safe=`echo "X11/Xaw/XawInit.h" | sed 'y%./+-%__p_%'` | 8956 ac_safe=`echo "X11/Xaw/XawInit.h" | sed 'y%./+-%__p_%'` |
8956 echo $ac_n "checking for X11/Xaw/XawInit.h""... $ac_c" 1>&6 | 8957 echo $ac_n "checking for X11/Xaw/XawInit.h""... $ac_c" 1>&6 |
8957 echo "configure:8958: checking for X11/Xaw/XawInit.h" >&5 | 8958 echo "configure:8959: checking for X11/Xaw/XawInit.h" >&5 |
8958 | 8959 |
8959 cat > conftest.$ac_ext <<EOF | 8960 cat > conftest.$ac_ext <<EOF |
8960 #line 8961 "configure" | 8961 #line 8962 "configure" |
8961 #include "confdefs.h" | 8962 #include "confdefs.h" |
8962 #include <X11/Xaw/XawInit.h> | 8963 #include <X11/Xaw/XawInit.h> |
8963 EOF | 8964 EOF |
8964 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8965 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8965 { (eval echo configure:8966: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8966 { (eval echo configure:8967: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8966 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 8967 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
8967 if test -z "$ac_err"; then | 8968 if test -z "$ac_err"; then |
8968 rm -rf conftest* | 8969 rm -rf conftest* |
8969 eval "ac_cv_header_$ac_safe=yes" | 8970 eval "ac_cv_header_$ac_safe=yes" |
8970 else | 8971 else |
8986 fi | 8987 fi |
8987 | 8988 |
8988 else | 8989 else |
8989 ac_safe=`echo "X11/$athena_variant/XawInit.h" | sed 'y%./+-%__p_%'` | 8990 ac_safe=`echo "X11/$athena_variant/XawInit.h" | sed 'y%./+-%__p_%'` |
8990 echo $ac_n "checking for X11/$athena_variant/XawInit.h""... $ac_c" 1>&6 | 8991 echo $ac_n "checking for X11/$athena_variant/XawInit.h""... $ac_c" 1>&6 |
8991 echo "configure:8992: checking for X11/$athena_variant/XawInit.h" >&5 | 8992 echo "configure:8993: checking for X11/$athena_variant/XawInit.h" >&5 |
8992 | 8993 |
8993 cat > conftest.$ac_ext <<EOF | 8994 cat > conftest.$ac_ext <<EOF |
8994 #line 8995 "configure" | 8995 #line 8996 "configure" |
8995 #include "confdefs.h" | 8996 #include "confdefs.h" |
8996 #include <X11/$athena_variant/XawInit.h> | 8997 #include <X11/$athena_variant/XawInit.h> |
8997 EOF | 8998 EOF |
8998 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8999 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8999 { (eval echo configure:9000: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9000 { (eval echo configure:9001: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9000 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9001 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
9001 if test -z "$ac_err"; then | 9002 if test -z "$ac_err"; then |
9002 rm -rf conftest* | 9003 rm -rf conftest* |
9003 eval "ac_cv_header_$ac_safe=yes" | 9004 eval "ac_cv_header_$ac_safe=yes" |
9004 else | 9005 else |
9011 rm -f conftest* | 9012 rm -f conftest* |
9012 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 9013 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
9013 echo "$ac_t""yes" 1>&6 | 9014 echo "$ac_t""yes" 1>&6 |
9014 ac_safe=`echo "X11/$athena_variant/ThreeD.h" | sed 'y%./+-%__p_%'` | 9015 ac_safe=`echo "X11/$athena_variant/ThreeD.h" | sed 'y%./+-%__p_%'` |
9015 echo $ac_n "checking for X11/$athena_variant/ThreeD.h""... $ac_c" 1>&6 | 9016 echo $ac_n "checking for X11/$athena_variant/ThreeD.h""... $ac_c" 1>&6 |
9016 echo "configure:9017: checking for X11/$athena_variant/ThreeD.h" >&5 | 9017 echo "configure:9018: checking for X11/$athena_variant/ThreeD.h" >&5 |
9017 | 9018 |
9018 cat > conftest.$ac_ext <<EOF | 9019 cat > conftest.$ac_ext <<EOF |
9019 #line 9020 "configure" | 9020 #line 9021 "configure" |
9020 #include "confdefs.h" | 9021 #include "confdefs.h" |
9021 #include <X11/$athena_variant/ThreeD.h> | 9022 #include <X11/$athena_variant/ThreeD.h> |
9022 EOF | 9023 EOF |
9023 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9024 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9024 { (eval echo configure:9025: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9025 { (eval echo configure:9026: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9025 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9026 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
9026 if test -z "$ac_err"; then | 9027 if test -z "$ac_err"; then |
9027 rm -rf conftest* | 9028 rm -rf conftest* |
9028 eval "ac_cv_header_$ac_safe=yes" | 9029 eval "ac_cv_header_$ac_safe=yes" |
9029 else | 9030 else |
9047 | 9048 |
9048 | 9049 |
9049 if test -z "$athena_h_path"; then | 9050 if test -z "$athena_h_path"; then |
9050 ac_safe=`echo "$athena_variant/XawInit.h" | sed 'y%./+-%__p_%'` | 9051 ac_safe=`echo "$athena_variant/XawInit.h" | sed 'y%./+-%__p_%'` |
9051 echo $ac_n "checking for $athena_variant/XawInit.h""... $ac_c" 1>&6 | 9052 echo $ac_n "checking for $athena_variant/XawInit.h""... $ac_c" 1>&6 |
9052 echo "configure:9053: checking for $athena_variant/XawInit.h" >&5 | 9053 echo "configure:9054: checking for $athena_variant/XawInit.h" >&5 |
9053 | 9054 |
9054 cat > conftest.$ac_ext <<EOF | 9055 cat > conftest.$ac_ext <<EOF |
9055 #line 9056 "configure" | 9056 #line 9057 "configure" |
9056 #include "confdefs.h" | 9057 #include "confdefs.h" |
9057 #include <$athena_variant/XawInit.h> | 9058 #include <$athena_variant/XawInit.h> |
9058 EOF | 9059 EOF |
9059 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9060 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9060 { (eval echo configure:9061: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9061 { (eval echo configure:9062: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9061 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9062 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
9062 if test -z "$ac_err"; then | 9063 if test -z "$ac_err"; then |
9063 rm -rf conftest* | 9064 rm -rf conftest* |
9064 eval "ac_cv_header_$ac_safe=yes" | 9065 eval "ac_cv_header_$ac_safe=yes" |
9065 else | 9066 else |
9072 rm -f conftest* | 9073 rm -f conftest* |
9073 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 9074 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
9074 echo "$ac_t""yes" 1>&6 | 9075 echo "$ac_t""yes" 1>&6 |
9075 ac_safe=`echo "$athena_variant/ThreeD.h" | sed 'y%./+-%__p_%'` | 9076 ac_safe=`echo "$athena_variant/ThreeD.h" | sed 'y%./+-%__p_%'` |
9076 echo $ac_n "checking for $athena_variant/ThreeD.h""... $ac_c" 1>&6 | 9077 echo $ac_n "checking for $athena_variant/ThreeD.h""... $ac_c" 1>&6 |
9077 echo "configure:9078: checking for $athena_variant/ThreeD.h" >&5 | 9078 echo "configure:9079: checking for $athena_variant/ThreeD.h" >&5 |
9078 | 9079 |
9079 cat > conftest.$ac_ext <<EOF | 9080 cat > conftest.$ac_ext <<EOF |
9080 #line 9081 "configure" | 9081 #line 9082 "configure" |
9081 #include "confdefs.h" | 9082 #include "confdefs.h" |
9082 #include <$athena_variant/ThreeD.h> | 9083 #include <$athena_variant/ThreeD.h> |
9083 EOF | 9084 EOF |
9084 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9085 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9085 { (eval echo configure:9086: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9086 { (eval echo configure:9087: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9086 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9087 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
9087 if test -z "$ac_err"; then | 9088 if test -z "$ac_err"; then |
9088 rm -rf conftest* | 9089 rm -rf conftest* |
9089 eval "ac_cv_header_$ac_safe=yes" | 9090 eval "ac_cv_header_$ac_safe=yes" |
9090 else | 9091 else |
9109 fi | 9110 fi |
9110 | 9111 |
9111 if test -z "$athena_h_path" -a "$athena_variant" != "Xaw3d"; then | 9112 if test -z "$athena_h_path" -a "$athena_variant" != "Xaw3d"; then |
9112 ac_safe=`echo "X11/Xaw3d/XawInit.h" | sed 'y%./+-%__p_%'` | 9113 ac_safe=`echo "X11/Xaw3d/XawInit.h" | sed 'y%./+-%__p_%'` |
9113 echo $ac_n "checking for X11/Xaw3d/XawInit.h""... $ac_c" 1>&6 | 9114 echo $ac_n "checking for X11/Xaw3d/XawInit.h""... $ac_c" 1>&6 |
9114 echo "configure:9115: checking for X11/Xaw3d/XawInit.h" >&5 | 9115 echo "configure:9116: checking for X11/Xaw3d/XawInit.h" >&5 |
9115 | 9116 |
9116 cat > conftest.$ac_ext <<EOF | 9117 cat > conftest.$ac_ext <<EOF |
9117 #line 9118 "configure" | 9118 #line 9119 "configure" |
9118 #include "confdefs.h" | 9119 #include "confdefs.h" |
9119 #include <X11/Xaw3d/XawInit.h> | 9120 #include <X11/Xaw3d/XawInit.h> |
9120 EOF | 9121 EOF |
9121 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9122 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9122 { (eval echo configure:9123: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9123 { (eval echo configure:9124: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9123 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9124 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
9124 if test -z "$ac_err"; then | 9125 if test -z "$ac_err"; then |
9125 rm -rf conftest* | 9126 rm -rf conftest* |
9126 eval "ac_cv_header_$ac_safe=yes" | 9127 eval "ac_cv_header_$ac_safe=yes" |
9127 else | 9128 else |
9134 rm -f conftest* | 9135 rm -f conftest* |
9135 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 9136 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
9136 echo "$ac_t""yes" 1>&6 | 9137 echo "$ac_t""yes" 1>&6 |
9137 ac_safe=`echo "X11/Xaw3d/ThreeD.h" | sed 'y%./+-%__p_%'` | 9138 ac_safe=`echo "X11/Xaw3d/ThreeD.h" | sed 'y%./+-%__p_%'` |
9138 echo $ac_n "checking for X11/Xaw3d/ThreeD.h""... $ac_c" 1>&6 | 9139 echo $ac_n "checking for X11/Xaw3d/ThreeD.h""... $ac_c" 1>&6 |
9139 echo "configure:9140: checking for X11/Xaw3d/ThreeD.h" >&5 | 9140 echo "configure:9141: checking for X11/Xaw3d/ThreeD.h" >&5 |
9140 | 9141 |
9141 cat > conftest.$ac_ext <<EOF | 9142 cat > conftest.$ac_ext <<EOF |
9142 #line 9143 "configure" | 9143 #line 9144 "configure" |
9143 #include "confdefs.h" | 9144 #include "confdefs.h" |
9144 #include <X11/Xaw3d/ThreeD.h> | 9145 #include <X11/Xaw3d/ThreeD.h> |
9145 EOF | 9146 EOF |
9146 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9147 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9147 { (eval echo configure:9148: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9148 { (eval echo configure:9149: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9148 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9149 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
9149 if test -z "$ac_err"; then | 9150 if test -z "$ac_err"; then |
9150 rm -rf conftest* | 9151 rm -rf conftest* |
9151 eval "ac_cv_header_$ac_safe=yes" | 9152 eval "ac_cv_header_$ac_safe=yes" |
9152 else | 9153 else |
9174 fi | 9175 fi |
9175 | 9176 |
9176 if test -z "$athena_h_path" -a "$athena_variant" != "Xaw3d"; then | 9177 if test -z "$athena_h_path" -a "$athena_variant" != "Xaw3d"; then |
9177 ac_safe=`echo "Xaw3d/XawInit.h" | sed 'y%./+-%__p_%'` | 9178 ac_safe=`echo "Xaw3d/XawInit.h" | sed 'y%./+-%__p_%'` |
9178 echo $ac_n "checking for Xaw3d/XawInit.h""... $ac_c" 1>&6 | 9179 echo $ac_n "checking for Xaw3d/XawInit.h""... $ac_c" 1>&6 |
9179 echo "configure:9180: checking for Xaw3d/XawInit.h" >&5 | 9180 echo "configure:9181: checking for Xaw3d/XawInit.h" >&5 |
9180 | 9181 |
9181 cat > conftest.$ac_ext <<EOF | 9182 cat > conftest.$ac_ext <<EOF |
9182 #line 9183 "configure" | 9183 #line 9184 "configure" |
9183 #include "confdefs.h" | 9184 #include "confdefs.h" |
9184 #include <Xaw3d/XawInit.h> | 9185 #include <Xaw3d/XawInit.h> |
9185 EOF | 9186 EOF |
9186 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9187 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9187 { (eval echo configure:9188: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9188 { (eval echo configure:9189: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9188 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9189 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
9189 if test -z "$ac_err"; then | 9190 if test -z "$ac_err"; then |
9190 rm -rf conftest* | 9191 rm -rf conftest* |
9191 eval "ac_cv_header_$ac_safe=yes" | 9192 eval "ac_cv_header_$ac_safe=yes" |
9192 else | 9193 else |
9199 rm -f conftest* | 9200 rm -f conftest* |
9200 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 9201 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
9201 echo "$ac_t""yes" 1>&6 | 9202 echo "$ac_t""yes" 1>&6 |
9202 ac_safe=`echo "Xaw3d/ThreeD.h" | sed 'y%./+-%__p_%'` | 9203 ac_safe=`echo "Xaw3d/ThreeD.h" | sed 'y%./+-%__p_%'` |
9203 echo $ac_n "checking for Xaw3d/ThreeD.h""... $ac_c" 1>&6 | 9204 echo $ac_n "checking for Xaw3d/ThreeD.h""... $ac_c" 1>&6 |
9204 echo "configure:9205: checking for Xaw3d/ThreeD.h" >&5 | 9205 echo "configure:9206: checking for Xaw3d/ThreeD.h" >&5 |
9205 | 9206 |
9206 cat > conftest.$ac_ext <<EOF | 9207 cat > conftest.$ac_ext <<EOF |
9207 #line 9208 "configure" | 9208 #line 9209 "configure" |
9208 #include "confdefs.h" | 9209 #include "confdefs.h" |
9209 #include <Xaw3d/ThreeD.h> | 9210 #include <Xaw3d/ThreeD.h> |
9210 EOF | 9211 EOF |
9211 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9212 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9212 { (eval echo configure:9213: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9213 { (eval echo configure:9214: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9213 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9214 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
9214 if test -z "$ac_err"; then | 9215 if test -z "$ac_err"; then |
9215 rm -rf conftest* | 9216 rm -rf conftest* |
9216 eval "ac_cv_header_$ac_safe=yes" | 9217 eval "ac_cv_header_$ac_safe=yes" |
9217 else | 9218 else |
9239 fi | 9240 fi |
9240 | 9241 |
9241 if test -z "$athena_h_path"; then | 9242 if test -z "$athena_h_path"; then |
9242 ac_safe=`echo "X11/Xaw/ThreeD.h" | sed 'y%./+-%__p_%'` | 9243 ac_safe=`echo "X11/Xaw/ThreeD.h" | sed 'y%./+-%__p_%'` |
9243 echo $ac_n "checking for X11/Xaw/ThreeD.h""... $ac_c" 1>&6 | 9244 echo $ac_n "checking for X11/Xaw/ThreeD.h""... $ac_c" 1>&6 |
9244 echo "configure:9245: checking for X11/Xaw/ThreeD.h" >&5 | 9245 echo "configure:9246: checking for X11/Xaw/ThreeD.h" >&5 |
9245 | 9246 |
9246 cat > conftest.$ac_ext <<EOF | 9247 cat > conftest.$ac_ext <<EOF |
9247 #line 9248 "configure" | 9248 #line 9249 "configure" |
9248 #include "confdefs.h" | 9249 #include "confdefs.h" |
9249 #include <X11/Xaw/ThreeD.h> | 9250 #include <X11/Xaw/ThreeD.h> |
9250 EOF | 9251 EOF |
9251 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9252 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9252 { (eval echo configure:9253: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9253 { (eval echo configure:9254: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9253 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9254 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
9254 if test -z "$ac_err"; then | 9255 if test -z "$ac_err"; then |
9255 rm -rf conftest* | 9256 rm -rf conftest* |
9256 eval "ac_cv_header_$ac_safe=yes" | 9257 eval "ac_cv_header_$ac_safe=yes" |
9257 else | 9258 else |
9282 have_xaw=no | 9283 have_xaw=no |
9283 fi | 9284 fi |
9284 | 9285 |
9285 ac_safe=`echo "Xm/Xm.h" | sed 'y%./+-%__p_%'` | 9286 ac_safe=`echo "Xm/Xm.h" | sed 'y%./+-%__p_%'` |
9286 echo $ac_n "checking for Xm/Xm.h""... $ac_c" 1>&6 | 9287 echo $ac_n "checking for Xm/Xm.h""... $ac_c" 1>&6 |
9287 echo "configure:9288: checking for Xm/Xm.h" >&5 | 9288 echo "configure:9289: checking for Xm/Xm.h" >&5 |
9288 | 9289 |
9289 cat > conftest.$ac_ext <<EOF | 9290 cat > conftest.$ac_ext <<EOF |
9290 #line 9291 "configure" | 9291 #line 9292 "configure" |
9291 #include "confdefs.h" | 9292 #include "confdefs.h" |
9292 #include <Xm/Xm.h> | 9293 #include <Xm/Xm.h> |
9293 EOF | 9294 EOF |
9294 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9295 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9295 { (eval echo configure:9296: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9296 { (eval echo configure:9297: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9296 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9297 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
9297 if test -z "$ac_err"; then | 9298 if test -z "$ac_err"; then |
9298 rm -rf conftest* | 9299 rm -rf conftest* |
9299 eval "ac_cv_header_$ac_safe=yes" | 9300 eval "ac_cv_header_$ac_safe=yes" |
9300 else | 9301 else |
9307 rm -f conftest* | 9308 rm -f conftest* |
9308 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 9309 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
9309 echo "$ac_t""yes" 1>&6 | 9310 echo "$ac_t""yes" 1>&6 |
9310 | 9311 |
9311 echo $ac_n "checking for XmStringFree in -lXm""... $ac_c" 1>&6 | 9312 echo $ac_n "checking for XmStringFree in -lXm""... $ac_c" 1>&6 |
9312 echo "configure:9313: checking for XmStringFree in -lXm" >&5 | 9313 echo "configure:9314: checking for XmStringFree in -lXm" >&5 |
9313 ac_lib_var=`echo Xm'_'XmStringFree | sed 'y%./+-%__p_%'` | 9314 ac_lib_var=`echo Xm'_'XmStringFree | sed 'y%./+-%__p_%'` |
9314 | 9315 |
9315 xe_check_libs=" -lXm " | 9316 xe_check_libs=" -lXm " |
9316 cat > conftest.$ac_ext <<EOF | 9317 cat > conftest.$ac_ext <<EOF |
9317 #line 9318 "configure" | 9318 #line 9319 "configure" |
9318 #include "confdefs.h" | 9319 #include "confdefs.h" |
9319 /* Override any gcc2 internal prototype to avoid an error. */ | 9320 /* Override any gcc2 internal prototype to avoid an error. */ |
9320 /* We use char because int might match the return type of a gcc2 | 9321 /* We use char because int might match the return type of a gcc2 |
9321 builtin and then its argument prototype would still apply. */ | 9322 builtin and then its argument prototype would still apply. */ |
9322 char XmStringFree(); | 9323 char XmStringFree(); |
9323 | 9324 |
9324 int main() { | 9325 int main() { |
9325 XmStringFree() | 9326 XmStringFree() |
9326 ; return 0; } | 9327 ; return 0; } |
9327 EOF | 9328 EOF |
9328 if { (eval echo configure:9329: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9329 if { (eval echo configure:9330: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9329 rm -rf conftest* | 9330 rm -rf conftest* |
9330 eval "ac_cv_lib_$ac_lib_var=yes" | 9331 eval "ac_cv_lib_$ac_lib_var=yes" |
9331 else | 9332 else |
9332 echo "configure: failed program was:" >&5 | 9333 echo "configure: failed program was:" >&5 |
9333 cat conftest.$ac_ext >&5 | 9334 cat conftest.$ac_ext >&5 |
9352 fi | 9353 fi |
9353 | 9354 |
9354 | 9355 |
9355 if test "$have_motif" = "yes"; then | 9356 if test "$have_motif" = "yes"; then |
9356 echo $ac_n "checking for Lesstif""... $ac_c" 1>&6 | 9357 echo $ac_n "checking for Lesstif""... $ac_c" 1>&6 |
9357 echo "configure:9358: checking for Lesstif" >&5 | 9358 echo "configure:9359: checking for Lesstif" >&5 |
9358 cat > conftest.$ac_ext <<EOF | 9359 cat > conftest.$ac_ext <<EOF |
9359 #line 9360 "configure" | 9360 #line 9361 "configure" |
9360 #include "confdefs.h" | 9361 #include "confdefs.h" |
9361 #include <Xm/Xm.h> | 9362 #include <Xm/Xm.h> |
9362 #ifdef LESSTIF_VERSION | 9363 #ifdef LESSTIF_VERSION |
9363 yes | 9364 yes |
9364 #endif | 9365 #endif |
9778 fi | 9779 fi |
9779 fi | 9780 fi |
9780 | 9781 |
9781 if test "$with_mule" = "yes" ; then | 9782 if test "$with_mule" = "yes" ; then |
9782 echo "checking for Mule-related features" 1>&6 | 9783 echo "checking for Mule-related features" 1>&6 |
9783 echo "configure:9784: checking for Mule-related features" >&5 | 9784 echo "configure:9785: checking for Mule-related features" >&5 |
9784 { test "$extra_verbose" = "yes" && cat << \EOF | 9785 { test "$extra_verbose" = "yes" && cat << \EOF |
9785 Defining MULE | 9786 Defining MULE |
9786 EOF | 9787 EOF |
9787 cat >> confdefs.h <<\EOF | 9788 cat >> confdefs.h <<\EOF |
9788 #define MULE 1 | 9789 #define MULE 1 |
9803 | 9804 |
9804 for ac_hdr in libintl.h | 9805 for ac_hdr in libintl.h |
9805 do | 9806 do |
9806 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 9807 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
9807 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 9808 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
9808 echo "configure:9809: checking for $ac_hdr" >&5 | 9809 echo "configure:9810: checking for $ac_hdr" >&5 |
9809 | 9810 |
9810 cat > conftest.$ac_ext <<EOF | 9811 cat > conftest.$ac_ext <<EOF |
9811 #line 9812 "configure" | 9812 #line 9813 "configure" |
9812 #include "confdefs.h" | 9813 #include "confdefs.h" |
9813 #include <$ac_hdr> | 9814 #include <$ac_hdr> |
9814 EOF | 9815 EOF |
9815 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9816 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9816 { (eval echo configure:9817: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9817 { (eval echo configure:9818: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9817 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9818 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
9818 if test -z "$ac_err"; then | 9819 if test -z "$ac_err"; then |
9819 rm -rf conftest* | 9820 rm -rf conftest* |
9820 eval "ac_cv_header_$ac_safe=yes" | 9821 eval "ac_cv_header_$ac_safe=yes" |
9821 else | 9822 else |
9842 fi | 9843 fi |
9843 done | 9844 done |
9844 | 9845 |
9845 | 9846 |
9846 echo $ac_n "checking for strerror in -lintl""... $ac_c" 1>&6 | 9847 echo $ac_n "checking for strerror in -lintl""... $ac_c" 1>&6 |
9847 echo "configure:9848: checking for strerror in -lintl" >&5 | 9848 echo "configure:9849: checking for strerror in -lintl" >&5 |
9848 ac_lib_var=`echo intl'_'strerror | sed 'y%./+-%__p_%'` | 9849 ac_lib_var=`echo intl'_'strerror | sed 'y%./+-%__p_%'` |
9849 | 9850 |
9850 xe_check_libs=" -lintl " | 9851 xe_check_libs=" -lintl " |
9851 cat > conftest.$ac_ext <<EOF | 9852 cat > conftest.$ac_ext <<EOF |
9852 #line 9853 "configure" | 9853 #line 9854 "configure" |
9853 #include "confdefs.h" | 9854 #include "confdefs.h" |
9854 /* Override any gcc2 internal prototype to avoid an error. */ | 9855 /* Override any gcc2 internal prototype to avoid an error. */ |
9855 /* We use char because int might match the return type of a gcc2 | 9856 /* We use char because int might match the return type of a gcc2 |
9856 builtin and then its argument prototype would still apply. */ | 9857 builtin and then its argument prototype would still apply. */ |
9857 char strerror(); | 9858 char strerror(); |
9858 | 9859 |
9859 int main() { | 9860 int main() { |
9860 strerror() | 9861 strerror() |
9861 ; return 0; } | 9862 ; return 0; } |
9862 EOF | 9863 EOF |
9863 if { (eval echo configure:9864: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9864 if { (eval echo configure:9865: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9864 rm -rf conftest* | 9865 rm -rf conftest* |
9865 eval "ac_cv_lib_$ac_lib_var=yes" | 9866 eval "ac_cv_lib_$ac_lib_var=yes" |
9866 else | 9867 else |
9867 echo "configure: failed program was:" >&5 | 9868 echo "configure: failed program was:" >&5 |
9868 cat conftest.$ac_ext >&5 | 9869 cat conftest.$ac_ext >&5 |
9891 fi | 9892 fi |
9892 | 9893 |
9893 | 9894 |
9894 | 9895 |
9895 echo "checking for Mule input methods" 1>&6 | 9896 echo "checking for Mule input methods" 1>&6 |
9896 echo "configure:9897: checking for Mule input methods" >&5 | 9897 echo "configure:9898: checking for Mule input methods" >&5 |
9897 case "$with_xim" in "" | "yes" ) | 9898 case "$with_xim" in "" | "yes" ) |
9898 echo "checking for XIM" 1>&6 | 9899 echo "checking for XIM" 1>&6 |
9899 echo "configure:9900: checking for XIM" >&5 | 9900 echo "configure:9901: checking for XIM" >&5 |
9900 | 9901 |
9901 echo $ac_n "checking for XOpenIM in -lX11""... $ac_c" 1>&6 | 9902 echo $ac_n "checking for XOpenIM in -lX11""... $ac_c" 1>&6 |
9902 echo "configure:9903: checking for XOpenIM in -lX11" >&5 | 9903 echo "configure:9904: checking for XOpenIM in -lX11" >&5 |
9903 ac_lib_var=`echo X11'_'XOpenIM | sed 'y%./+-%__p_%'` | 9904 ac_lib_var=`echo X11'_'XOpenIM | sed 'y%./+-%__p_%'` |
9904 | 9905 |
9905 xe_check_libs=" -lX11 " | 9906 xe_check_libs=" -lX11 " |
9906 cat > conftest.$ac_ext <<EOF | 9907 cat > conftest.$ac_ext <<EOF |
9907 #line 9908 "configure" | 9908 #line 9909 "configure" |
9908 #include "confdefs.h" | 9909 #include "confdefs.h" |
9909 /* Override any gcc2 internal prototype to avoid an error. */ | 9910 /* Override any gcc2 internal prototype to avoid an error. */ |
9910 /* We use char because int might match the return type of a gcc2 | 9911 /* We use char because int might match the return type of a gcc2 |
9911 builtin and then its argument prototype would still apply. */ | 9912 builtin and then its argument prototype would still apply. */ |
9912 char XOpenIM(); | 9913 char XOpenIM(); |
9913 | 9914 |
9914 int main() { | 9915 int main() { |
9915 XOpenIM() | 9916 XOpenIM() |
9916 ; return 0; } | 9917 ; return 0; } |
9917 EOF | 9918 EOF |
9918 if { (eval echo configure:9919: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9919 if { (eval echo configure:9920: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9919 rm -rf conftest* | 9920 rm -rf conftest* |
9920 eval "ac_cv_lib_$ac_lib_var=yes" | 9921 eval "ac_cv_lib_$ac_lib_var=yes" |
9921 else | 9922 else |
9922 echo "configure: failed program was:" >&5 | 9923 echo "configure: failed program was:" >&5 |
9923 cat conftest.$ac_ext >&5 | 9924 cat conftest.$ac_ext >&5 |
9937 | 9938 |
9938 | 9939 |
9939 if test "$have_motif $have_lesstif" = "yes no"; then | 9940 if test "$have_motif $have_lesstif" = "yes no"; then |
9940 | 9941 |
9941 echo $ac_n "checking for XmImMbLookupString in -lXm""... $ac_c" 1>&6 | 9942 echo $ac_n "checking for XmImMbLookupString in -lXm""... $ac_c" 1>&6 |
9942 echo "configure:9943: checking for XmImMbLookupString in -lXm" >&5 | 9943 echo "configure:9944: checking for XmImMbLookupString in -lXm" >&5 |
9943 ac_lib_var=`echo Xm'_'XmImMbLookupString | sed 'y%./+-%__p_%'` | 9944 ac_lib_var=`echo Xm'_'XmImMbLookupString | sed 'y%./+-%__p_%'` |
9944 | 9945 |
9945 xe_check_libs=" -lXm " | 9946 xe_check_libs=" -lXm " |
9946 cat > conftest.$ac_ext <<EOF | 9947 cat > conftest.$ac_ext <<EOF |
9947 #line 9948 "configure" | 9948 #line 9949 "configure" |
9948 #include "confdefs.h" | 9949 #include "confdefs.h" |
9949 /* Override any gcc2 internal prototype to avoid an error. */ | 9950 /* Override any gcc2 internal prototype to avoid an error. */ |
9950 /* We use char because int might match the return type of a gcc2 | 9951 /* We use char because int might match the return type of a gcc2 |
9951 builtin and then its argument prototype would still apply. */ | 9952 builtin and then its argument prototype would still apply. */ |
9952 char XmImMbLookupString(); | 9953 char XmImMbLookupString(); |
9953 | 9954 |
9954 int main() { | 9955 int main() { |
9955 XmImMbLookupString() | 9956 XmImMbLookupString() |
9956 ; return 0; } | 9957 ; return 0; } |
9957 EOF | 9958 EOF |
9958 if { (eval echo configure:9959: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9959 if { (eval echo configure:9960: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9959 rm -rf conftest* | 9960 rm -rf conftest* |
9960 eval "ac_cv_lib_$ac_lib_var=yes" | 9961 eval "ac_cv_lib_$ac_lib_var=yes" |
9961 else | 9962 else |
9962 echo "configure: failed program was:" >&5 | 9963 echo "configure: failed program was:" >&5 |
9963 cat conftest.$ac_ext >&5 | 9964 cat conftest.$ac_ext >&5 |
10018 fi | 10019 fi |
10019 fi | 10020 fi |
10020 | 10021 |
10021 if test "$with_xfs" = "yes" ; then | 10022 if test "$with_xfs" = "yes" ; then |
10022 echo "checking for XFontSet" 1>&6 | 10023 echo "checking for XFontSet" 1>&6 |
10023 echo "configure:10024: checking for XFontSet" >&5 | 10024 echo "configure:10025: checking for XFontSet" >&5 |
10024 | 10025 |
10025 echo $ac_n "checking for XmbDrawString in -lX11""... $ac_c" 1>&6 | 10026 echo $ac_n "checking for XmbDrawString in -lX11""... $ac_c" 1>&6 |
10026 echo "configure:10027: checking for XmbDrawString in -lX11" >&5 | 10027 echo "configure:10028: checking for XmbDrawString in -lX11" >&5 |
10027 ac_lib_var=`echo X11'_'XmbDrawString | sed 'y%./+-%__p_%'` | 10028 ac_lib_var=`echo X11'_'XmbDrawString | sed 'y%./+-%__p_%'` |
10028 | 10029 |
10029 xe_check_libs=" -lX11 " | 10030 xe_check_libs=" -lX11 " |
10030 cat > conftest.$ac_ext <<EOF | 10031 cat > conftest.$ac_ext <<EOF |
10031 #line 10032 "configure" | 10032 #line 10033 "configure" |
10032 #include "confdefs.h" | 10033 #include "confdefs.h" |
10033 /* Override any gcc2 internal prototype to avoid an error. */ | 10034 /* Override any gcc2 internal prototype to avoid an error. */ |
10034 /* We use char because int might match the return type of a gcc2 | 10035 /* We use char because int might match the return type of a gcc2 |
10035 builtin and then its argument prototype would still apply. */ | 10036 builtin and then its argument prototype would still apply. */ |
10036 char XmbDrawString(); | 10037 char XmbDrawString(); |
10037 | 10038 |
10038 int main() { | 10039 int main() { |
10039 XmbDrawString() | 10040 XmbDrawString() |
10040 ; return 0; } | 10041 ; return 0; } |
10041 EOF | 10042 EOF |
10042 if { (eval echo configure:10043: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10043 if { (eval echo configure:10044: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10043 rm -rf conftest* | 10044 rm -rf conftest* |
10044 eval "ac_cv_lib_$ac_lib_var=yes" | 10045 eval "ac_cv_lib_$ac_lib_var=yes" |
10045 else | 10046 else |
10046 echo "configure: failed program was:" >&5 | 10047 echo "configure: failed program was:" >&5 |
10047 cat conftest.$ac_ext >&5 | 10048 cat conftest.$ac_ext >&5 |
10077 fi | 10078 fi |
10078 fi | 10079 fi |
10079 test "$with_wnn6" = "yes" && with_wnn=yes # wnn6 implies wnn support | 10080 test "$with_wnn6" = "yes" && with_wnn=yes # wnn6 implies wnn support |
10080 test -z "$with_wnn" && { ac_safe=`echo "wnn/jllib.h" | sed 'y%./+-%__p_%'` | 10081 test -z "$with_wnn" && { ac_safe=`echo "wnn/jllib.h" | sed 'y%./+-%__p_%'` |
10081 echo $ac_n "checking for wnn/jllib.h""... $ac_c" 1>&6 | 10082 echo $ac_n "checking for wnn/jllib.h""... $ac_c" 1>&6 |
10082 echo "configure:10083: checking for wnn/jllib.h" >&5 | 10083 echo "configure:10084: checking for wnn/jllib.h" >&5 |
10083 | 10084 |
10084 cat > conftest.$ac_ext <<EOF | 10085 cat > conftest.$ac_ext <<EOF |
10085 #line 10086 "configure" | 10086 #line 10087 "configure" |
10086 #include "confdefs.h" | 10087 #include "confdefs.h" |
10087 #include <wnn/jllib.h> | 10088 #include <wnn/jllib.h> |
10088 EOF | 10089 EOF |
10089 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" |
10090 { (eval echo configure:10091: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10091 { (eval echo configure:10092: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10091 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10092 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10092 if test -z "$ac_err"; then | 10093 if test -z "$ac_err"; then |
10093 rm -rf conftest* | 10094 rm -rf conftest* |
10094 eval "ac_cv_header_$ac_safe=yes" | 10095 eval "ac_cv_header_$ac_safe=yes" |
10095 else | 10096 else |
10108 with_wnn=no | 10109 with_wnn=no |
10109 fi | 10110 fi |
10110 } | 10111 } |
10111 test -z "$with_wnn" && { ac_safe=`echo "wnn/commonhd.h" | sed 'y%./+-%__p_%'` | 10112 test -z "$with_wnn" && { ac_safe=`echo "wnn/commonhd.h" | sed 'y%./+-%__p_%'` |
10112 echo $ac_n "checking for wnn/commonhd.h""... $ac_c" 1>&6 | 10113 echo $ac_n "checking for wnn/commonhd.h""... $ac_c" 1>&6 |
10113 echo "configure:10114: checking for wnn/commonhd.h" >&5 | 10114 echo "configure:10115: checking for wnn/commonhd.h" >&5 |
10114 | 10115 |
10115 cat > conftest.$ac_ext <<EOF | 10116 cat > conftest.$ac_ext <<EOF |
10116 #line 10117 "configure" | 10117 #line 10118 "configure" |
10117 #include "confdefs.h" | 10118 #include "confdefs.h" |
10118 #include <wnn/commonhd.h> | 10119 #include <wnn/commonhd.h> |
10119 EOF | 10120 EOF |
10120 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10121 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10121 { (eval echo configure:10122: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10122 { (eval echo configure:10123: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10122 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10123 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10123 if test -z "$ac_err"; then | 10124 if test -z "$ac_err"; then |
10124 rm -rf conftest* | 10125 rm -rf conftest* |
10125 eval "ac_cv_header_$ac_safe=yes" | 10126 eval "ac_cv_header_$ac_safe=yes" |
10126 else | 10127 else |
10141 } | 10142 } |
10142 if test "$with_wnn" != "no"; then | 10143 if test "$with_wnn" != "no"; then |
10143 for ac_func in crypt | 10144 for ac_func in crypt |
10144 do | 10145 do |
10145 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 10146 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
10146 echo "configure:10147: checking for $ac_func" >&5 | 10147 echo "configure:10148: checking for $ac_func" >&5 |
10147 | 10148 |
10148 cat > conftest.$ac_ext <<EOF | 10149 cat > conftest.$ac_ext <<EOF |
10149 #line 10150 "configure" | 10150 #line 10151 "configure" |
10150 #include "confdefs.h" | 10151 #include "confdefs.h" |
10151 /* System header to define __stub macros and hopefully few prototypes, | 10152 /* System header to define __stub macros and hopefully few prototypes, |
10152 which can conflict with char $ac_func(); below. */ | 10153 which can conflict with char $ac_func(); below. */ |
10153 #include <assert.h> | 10154 #include <assert.h> |
10154 /* Override any gcc2 internal prototype to avoid an error. */ | 10155 /* Override any gcc2 internal prototype to avoid an error. */ |
10167 $ac_func(); | 10168 $ac_func(); |
10168 #endif | 10169 #endif |
10169 | 10170 |
10170 ; return 0; } | 10171 ; return 0; } |
10171 EOF | 10172 EOF |
10172 if { (eval echo configure:10173: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10173 if { (eval echo configure:10174: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10173 rm -rf conftest* | 10174 rm -rf conftest* |
10174 eval "ac_cv_func_$ac_func=yes" | 10175 eval "ac_cv_func_$ac_func=yes" |
10175 else | 10176 else |
10176 echo "configure: failed program was:" >&5 | 10177 echo "configure: failed program was:" >&5 |
10177 cat conftest.$ac_ext >&5 | 10178 cat conftest.$ac_ext >&5 |
10196 fi | 10197 fi |
10197 done | 10198 done |
10198 | 10199 |
10199 test "$ac_cv_func_crypt" != "yes" && { | 10200 test "$ac_cv_func_crypt" != "yes" && { |
10200 echo $ac_n "checking for crypt in -lcrypt""... $ac_c" 1>&6 | 10201 echo $ac_n "checking for crypt in -lcrypt""... $ac_c" 1>&6 |
10201 echo "configure:10202: checking for crypt in -lcrypt" >&5 | 10202 echo "configure:10203: checking for crypt in -lcrypt" >&5 |
10202 ac_lib_var=`echo crypt'_'crypt | sed 'y%./+-%__p_%'` | 10203 ac_lib_var=`echo crypt'_'crypt | sed 'y%./+-%__p_%'` |
10203 | 10204 |
10204 xe_check_libs=" -lcrypt " | 10205 xe_check_libs=" -lcrypt " |
10205 cat > conftest.$ac_ext <<EOF | 10206 cat > conftest.$ac_ext <<EOF |
10206 #line 10207 "configure" | 10207 #line 10208 "configure" |
10207 #include "confdefs.h" | 10208 #include "confdefs.h" |
10208 /* Override any gcc2 internal prototype to avoid an error. */ | 10209 /* Override any gcc2 internal prototype to avoid an error. */ |
10209 /* We use char because int might match the return type of a gcc2 | 10210 /* We use char because int might match the return type of a gcc2 |
10210 builtin and then its argument prototype would still apply. */ | 10211 builtin and then its argument prototype would still apply. */ |
10211 char crypt(); | 10212 char crypt(); |
10212 | 10213 |
10213 int main() { | 10214 int main() { |
10214 crypt() | 10215 crypt() |
10215 ; return 0; } | 10216 ; return 0; } |
10216 EOF | 10217 EOF |
10217 if { (eval echo configure:10218: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10218 if { (eval echo configure:10219: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10218 rm -rf conftest* | 10219 rm -rf conftest* |
10219 eval "ac_cv_lib_$ac_lib_var=yes" | 10220 eval "ac_cv_lib_$ac_lib_var=yes" |
10220 else | 10221 else |
10221 echo "configure: failed program was:" >&5 | 10222 echo "configure: failed program was:" >&5 |
10222 cat conftest.$ac_ext >&5 | 10223 cat conftest.$ac_ext >&5 |
10247 } | 10248 } |
10248 fi | 10249 fi |
10249 if test -z "$with_wnn" -o "$with_wnn" = "yes"; then | 10250 if test -z "$with_wnn" -o "$with_wnn" = "yes"; then |
10250 | 10251 |
10251 echo $ac_n "checking for jl_dic_list_e in -lwnn""... $ac_c" 1>&6 | 10252 echo $ac_n "checking for jl_dic_list_e in -lwnn""... $ac_c" 1>&6 |
10252 echo "configure:10253: checking for jl_dic_list_e in -lwnn" >&5 | 10253 echo "configure:10254: checking for jl_dic_list_e in -lwnn" >&5 |
10253 ac_lib_var=`echo wnn'_'jl_dic_list_e | sed 'y%./+-%__p_%'` | 10254 ac_lib_var=`echo wnn'_'jl_dic_list_e | sed 'y%./+-%__p_%'` |
10254 | 10255 |
10255 xe_check_libs=" -lwnn " | 10256 xe_check_libs=" -lwnn " |
10256 cat > conftest.$ac_ext <<EOF | 10257 cat > conftest.$ac_ext <<EOF |
10257 #line 10258 "configure" | 10258 #line 10259 "configure" |
10258 #include "confdefs.h" | 10259 #include "confdefs.h" |
10259 /* Override any gcc2 internal prototype to avoid an error. */ | 10260 /* Override any gcc2 internal prototype to avoid an error. */ |
10260 /* We use char because int might match the return type of a gcc2 | 10261 /* We use char because int might match the return type of a gcc2 |
10261 builtin and then its argument prototype would still apply. */ | 10262 builtin and then its argument prototype would still apply. */ |
10262 char jl_dic_list_e(); | 10263 char jl_dic_list_e(); |
10263 | 10264 |
10264 int main() { | 10265 int main() { |
10265 jl_dic_list_e() | 10266 jl_dic_list_e() |
10266 ; return 0; } | 10267 ; return 0; } |
10267 EOF | 10268 EOF |
10268 if { (eval echo configure:10269: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10269 if { (eval echo configure:10270: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10269 rm -rf conftest* | 10270 rm -rf conftest* |
10270 eval "ac_cv_lib_$ac_lib_var=yes" | 10271 eval "ac_cv_lib_$ac_lib_var=yes" |
10271 else | 10272 else |
10272 echo "configure: failed program was:" >&5 | 10273 echo "configure: failed program was:" >&5 |
10273 cat conftest.$ac_ext >&5 | 10274 cat conftest.$ac_ext >&5 |
10281 echo "$ac_t""yes" 1>&6 | 10282 echo "$ac_t""yes" 1>&6 |
10282 libwnn=wnn | 10283 libwnn=wnn |
10283 else | 10284 else |
10284 echo "$ac_t""no" 1>&6 | 10285 echo "$ac_t""no" 1>&6 |
10285 echo $ac_n "checking for jl_dic_list_e in -lwnn4""... $ac_c" 1>&6 | 10286 echo $ac_n "checking for jl_dic_list_e in -lwnn4""... $ac_c" 1>&6 |
10286 echo "configure:10287: checking for jl_dic_list_e in -lwnn4" >&5 | 10287 echo "configure:10288: checking for jl_dic_list_e in -lwnn4" >&5 |
10287 ac_lib_var=`echo wnn4'_'jl_dic_list_e | sed 'y%./+-%__p_%'` | 10288 ac_lib_var=`echo wnn4'_'jl_dic_list_e | sed 'y%./+-%__p_%'` |
10288 | 10289 |
10289 xe_check_libs=" -lwnn4 " | 10290 xe_check_libs=" -lwnn4 " |
10290 cat > conftest.$ac_ext <<EOF | 10291 cat > conftest.$ac_ext <<EOF |
10291 #line 10292 "configure" | 10292 #line 10293 "configure" |
10292 #include "confdefs.h" | 10293 #include "confdefs.h" |
10293 /* Override any gcc2 internal prototype to avoid an error. */ | 10294 /* Override any gcc2 internal prototype to avoid an error. */ |
10294 /* We use char because int might match the return type of a gcc2 | 10295 /* We use char because int might match the return type of a gcc2 |
10295 builtin and then its argument prototype would still apply. */ | 10296 builtin and then its argument prototype would still apply. */ |
10296 char jl_dic_list_e(); | 10297 char jl_dic_list_e(); |
10297 | 10298 |
10298 int main() { | 10299 int main() { |
10299 jl_dic_list_e() | 10300 jl_dic_list_e() |
10300 ; return 0; } | 10301 ; return 0; } |
10301 EOF | 10302 EOF |
10302 if { (eval echo configure:10303: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10303 if { (eval echo configure:10304: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10303 rm -rf conftest* | 10304 rm -rf conftest* |
10304 eval "ac_cv_lib_$ac_lib_var=yes" | 10305 eval "ac_cv_lib_$ac_lib_var=yes" |
10305 else | 10306 else |
10306 echo "configure: failed program was:" >&5 | 10307 echo "configure: failed program was:" >&5 |
10307 cat conftest.$ac_ext >&5 | 10308 cat conftest.$ac_ext >&5 |
10315 echo "$ac_t""yes" 1>&6 | 10316 echo "$ac_t""yes" 1>&6 |
10316 libwnn=wnn4 | 10317 libwnn=wnn4 |
10317 else | 10318 else |
10318 echo "$ac_t""no" 1>&6 | 10319 echo "$ac_t""no" 1>&6 |
10319 echo $ac_n "checking for jl_dic_list_e in -lwnn6""... $ac_c" 1>&6 | 10320 echo $ac_n "checking for jl_dic_list_e in -lwnn6""... $ac_c" 1>&6 |
10320 echo "configure:10321: checking for jl_dic_list_e in -lwnn6" >&5 | 10321 echo "configure:10322: checking for jl_dic_list_e in -lwnn6" >&5 |
10321 ac_lib_var=`echo wnn6'_'jl_dic_list_e | sed 'y%./+-%__p_%'` | 10322 ac_lib_var=`echo wnn6'_'jl_dic_list_e | sed 'y%./+-%__p_%'` |
10322 | 10323 |
10323 xe_check_libs=" -lwnn6 " | 10324 xe_check_libs=" -lwnn6 " |
10324 cat > conftest.$ac_ext <<EOF | 10325 cat > conftest.$ac_ext <<EOF |
10325 #line 10326 "configure" | 10326 #line 10327 "configure" |
10326 #include "confdefs.h" | 10327 #include "confdefs.h" |
10327 /* Override any gcc2 internal prototype to avoid an error. */ | 10328 /* Override any gcc2 internal prototype to avoid an error. */ |
10328 /* We use char because int might match the return type of a gcc2 | 10329 /* We use char because int might match the return type of a gcc2 |
10329 builtin and then its argument prototype would still apply. */ | 10330 builtin and then its argument prototype would still apply. */ |
10330 char jl_dic_list_e(); | 10331 char jl_dic_list_e(); |
10331 | 10332 |
10332 int main() { | 10333 int main() { |
10333 jl_dic_list_e() | 10334 jl_dic_list_e() |
10334 ; return 0; } | 10335 ; return 0; } |
10335 EOF | 10336 EOF |
10336 if { (eval echo configure:10337: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10337 if { (eval echo configure:10338: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10337 rm -rf conftest* | 10338 rm -rf conftest* |
10338 eval "ac_cv_lib_$ac_lib_var=yes" | 10339 eval "ac_cv_lib_$ac_lib_var=yes" |
10339 else | 10340 else |
10340 echo "configure: failed program was:" >&5 | 10341 echo "configure: failed program was:" >&5 |
10341 cat conftest.$ac_ext >&5 | 10342 cat conftest.$ac_ext >&5 |
10349 echo "$ac_t""yes" 1>&6 | 10350 echo "$ac_t""yes" 1>&6 |
10350 libwnn=wnn6 | 10351 libwnn=wnn6 |
10351 else | 10352 else |
10352 echo "$ac_t""no" 1>&6 | 10353 echo "$ac_t""no" 1>&6 |
10353 echo $ac_n "checking for dic_list_e in -lwnn6_fromsrc""... $ac_c" 1>&6 | 10354 echo $ac_n "checking for dic_list_e in -lwnn6_fromsrc""... $ac_c" 1>&6 |
10354 echo "configure:10355: checking for dic_list_e in -lwnn6_fromsrc" >&5 | 10355 echo "configure:10356: checking for dic_list_e in -lwnn6_fromsrc" >&5 |
10355 ac_lib_var=`echo wnn6_fromsrc'_'dic_list_e | sed 'y%./+-%__p_%'` | 10356 ac_lib_var=`echo wnn6_fromsrc'_'dic_list_e | sed 'y%./+-%__p_%'` |
10356 | 10357 |
10357 xe_check_libs=" -lwnn6_fromsrc " | 10358 xe_check_libs=" -lwnn6_fromsrc " |
10358 cat > conftest.$ac_ext <<EOF | 10359 cat > conftest.$ac_ext <<EOF |
10359 #line 10360 "configure" | 10360 #line 10361 "configure" |
10360 #include "confdefs.h" | 10361 #include "confdefs.h" |
10361 /* Override any gcc2 internal prototype to avoid an error. */ | 10362 /* Override any gcc2 internal prototype to avoid an error. */ |
10362 /* We use char because int might match the return type of a gcc2 | 10363 /* We use char because int might match the return type of a gcc2 |
10363 builtin and then its argument prototype would still apply. */ | 10364 builtin and then its argument prototype would still apply. */ |
10364 char dic_list_e(); | 10365 char dic_list_e(); |
10365 | 10366 |
10366 int main() { | 10367 int main() { |
10367 dic_list_e() | 10368 dic_list_e() |
10368 ; return 0; } | 10369 ; return 0; } |
10369 EOF | 10370 EOF |
10370 if { (eval echo configure:10371: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10371 if { (eval echo configure:10372: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10371 rm -rf conftest* | 10372 rm -rf conftest* |
10372 eval "ac_cv_lib_$ac_lib_var=yes" | 10373 eval "ac_cv_lib_$ac_lib_var=yes" |
10373 else | 10374 else |
10374 echo "configure: failed program was:" >&5 | 10375 echo "configure: failed program was:" >&5 |
10375 cat conftest.$ac_ext >&5 | 10376 cat conftest.$ac_ext >&5 |
10413 echo " xemacs will be linked with \"mule-wnnfns.o\"" | 10414 echo " xemacs will be linked with \"mule-wnnfns.o\"" |
10414 fi | 10415 fi |
10415 if test "$with_wnn6" != "no"; then | 10416 if test "$with_wnn6" != "no"; then |
10416 | 10417 |
10417 echo $ac_n "checking for jl_fi_dic_list in -l$libwnn""... $ac_c" 1>&6 | 10418 echo $ac_n "checking for jl_fi_dic_list in -l$libwnn""... $ac_c" 1>&6 |
10418 echo "configure:10419: checking for jl_fi_dic_list in -l$libwnn" >&5 | 10419 echo "configure:10420: checking for jl_fi_dic_list in -l$libwnn" >&5 |
10419 ac_lib_var=`echo $libwnn'_'jl_fi_dic_list | sed 'y%./+-%__p_%'` | 10420 ac_lib_var=`echo $libwnn'_'jl_fi_dic_list | sed 'y%./+-%__p_%'` |
10420 | 10421 |
10421 xe_check_libs=" -l$libwnn " | 10422 xe_check_libs=" -l$libwnn " |
10422 cat > conftest.$ac_ext <<EOF | 10423 cat > conftest.$ac_ext <<EOF |
10423 #line 10424 "configure" | 10424 #line 10425 "configure" |
10424 #include "confdefs.h" | 10425 #include "confdefs.h" |
10425 /* Override any gcc2 internal prototype to avoid an error. */ | 10426 /* Override any gcc2 internal prototype to avoid an error. */ |
10426 /* We use char because int might match the return type of a gcc2 | 10427 /* We use char because int might match the return type of a gcc2 |
10427 builtin and then its argument prototype would still apply. */ | 10428 builtin and then its argument prototype would still apply. */ |
10428 char jl_fi_dic_list(); | 10429 char jl_fi_dic_list(); |
10429 | 10430 |
10430 int main() { | 10431 int main() { |
10431 jl_fi_dic_list() | 10432 jl_fi_dic_list() |
10432 ; return 0; } | 10433 ; return 0; } |
10433 EOF | 10434 EOF |
10434 if { (eval echo configure:10435: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10435 if { (eval echo configure:10436: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10435 rm -rf conftest* | 10436 rm -rf conftest* |
10436 eval "ac_cv_lib_$ac_lib_var=yes" | 10437 eval "ac_cv_lib_$ac_lib_var=yes" |
10437 else | 10438 else |
10438 echo "configure: failed program was:" >&5 | 10439 echo "configure: failed program was:" >&5 |
10439 cat conftest.$ac_ext >&5 | 10440 cat conftest.$ac_ext >&5 |
10464 | 10465 |
10465 canna_includes_found=no | 10466 canna_includes_found=no |
10466 if test "$with_canna" != "no"; then | 10467 if test "$with_canna" != "no"; then |
10467 ac_safe=`echo "canna/jrkanji.h" | sed 'y%./+-%__p_%'` | 10468 ac_safe=`echo "canna/jrkanji.h" | sed 'y%./+-%__p_%'` |
10468 echo $ac_n "checking for canna/jrkanji.h""... $ac_c" 1>&6 | 10469 echo $ac_n "checking for canna/jrkanji.h""... $ac_c" 1>&6 |
10469 echo "configure:10470: checking for canna/jrkanji.h" >&5 | 10470 echo "configure:10471: checking for canna/jrkanji.h" >&5 |
10470 | 10471 |
10471 cat > conftest.$ac_ext <<EOF | 10472 cat > conftest.$ac_ext <<EOF |
10472 #line 10473 "configure" | 10473 #line 10474 "configure" |
10473 #include "confdefs.h" | 10474 #include "confdefs.h" |
10474 #include <canna/jrkanji.h> | 10475 #include <canna/jrkanji.h> |
10475 EOF | 10476 EOF |
10476 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10477 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10477 { (eval echo configure:10478: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10478 { (eval echo configure:10479: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10478 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10479 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10479 if test -z "$ac_err"; then | 10480 if test -z "$ac_err"; then |
10480 rm -rf conftest* | 10481 rm -rf conftest* |
10481 eval "ac_cv_header_$ac_safe=yes" | 10482 eval "ac_cv_header_$ac_safe=yes" |
10482 else | 10483 else |
10499 -d "/usr/local/canna/include"; then | 10500 -d "/usr/local/canna/include"; then |
10500 save_c_switch_site="$c_switch_site" | 10501 save_c_switch_site="$c_switch_site" |
10501 c_switch_site="$c_switch_site -I/usr/local/canna/include" | 10502 c_switch_site="$c_switch_site -I/usr/local/canna/include" |
10502 ac_safe=`echo "canna/jrkanji.h" | sed 'y%./+-%__p_%'` | 10503 ac_safe=`echo "canna/jrkanji.h" | sed 'y%./+-%__p_%'` |
10503 echo $ac_n "checking for canna/jrkanji.h""... $ac_c" 1>&6 | 10504 echo $ac_n "checking for canna/jrkanji.h""... $ac_c" 1>&6 |
10504 echo "configure:10505: checking for canna/jrkanji.h" >&5 | 10505 echo "configure:10506: checking for canna/jrkanji.h" >&5 |
10505 | 10506 |
10506 cat > conftest.$ac_ext <<EOF | 10507 cat > conftest.$ac_ext <<EOF |
10507 #line 10508 "configure" | 10508 #line 10509 "configure" |
10508 #include "confdefs.h" | 10509 #include "confdefs.h" |
10509 #include <canna/jrkanji.h> | 10510 #include <canna/jrkanji.h> |
10510 EOF | 10511 EOF |
10511 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10512 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10512 { (eval echo configure:10513: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10513 { (eval echo configure:10514: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10513 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10514 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10514 if test -z "$ac_err"; then | 10515 if test -z "$ac_err"; then |
10515 rm -rf conftest* | 10516 rm -rf conftest* |
10516 eval "ac_cv_header_$ac_safe=yes" | 10517 eval "ac_cv_header_$ac_safe=yes" |
10517 else | 10518 else |
10535 fi | 10536 fi |
10536 fi | 10537 fi |
10537 | 10538 |
10538 test -z "$with_canna" && { ac_safe=`echo "canna/RK.h" | sed 'y%./+-%__p_%'` | 10539 test -z "$with_canna" && { ac_safe=`echo "canna/RK.h" | sed 'y%./+-%__p_%'` |
10539 echo $ac_n "checking for canna/RK.h""... $ac_c" 1>&6 | 10540 echo $ac_n "checking for canna/RK.h""... $ac_c" 1>&6 |
10540 echo "configure:10541: checking for canna/RK.h" >&5 | 10541 echo "configure:10542: checking for canna/RK.h" >&5 |
10541 | 10542 |
10542 cat > conftest.$ac_ext <<EOF | 10543 cat > conftest.$ac_ext <<EOF |
10543 #line 10544 "configure" | 10544 #line 10545 "configure" |
10544 #include "confdefs.h" | 10545 #include "confdefs.h" |
10545 #include <canna/RK.h> | 10546 #include <canna/RK.h> |
10546 EOF | 10547 EOF |
10547 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10548 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10548 { (eval echo configure:10549: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10549 { (eval echo configure:10550: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10549 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10550 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10550 if test -z "$ac_err"; then | 10551 if test -z "$ac_err"; then |
10551 rm -rf conftest* | 10552 rm -rf conftest* |
10552 eval "ac_cv_header_$ac_safe=yes" | 10553 eval "ac_cv_header_$ac_safe=yes" |
10553 else | 10554 else |
10566 with_canna=no | 10567 with_canna=no |
10567 fi | 10568 fi |
10568 } | 10569 } |
10569 test -z "$with_canna" && { | 10570 test -z "$with_canna" && { |
10570 echo $ac_n "checking for RkBgnBun in -lRKC""... $ac_c" 1>&6 | 10571 echo $ac_n "checking for RkBgnBun in -lRKC""... $ac_c" 1>&6 |
10571 echo "configure:10572: checking for RkBgnBun in -lRKC" >&5 | 10572 echo "configure:10573: checking for RkBgnBun in -lRKC" >&5 |
10572 ac_lib_var=`echo RKC'_'RkBgnBun | sed 'y%./+-%__p_%'` | 10573 ac_lib_var=`echo RKC'_'RkBgnBun | sed 'y%./+-%__p_%'` |
10573 | 10574 |
10574 xe_check_libs=" -lRKC " | 10575 xe_check_libs=" -lRKC " |
10575 cat > conftest.$ac_ext <<EOF | 10576 cat > conftest.$ac_ext <<EOF |
10576 #line 10577 "configure" | 10577 #line 10578 "configure" |
10577 #include "confdefs.h" | 10578 #include "confdefs.h" |
10578 /* Override any gcc2 internal prototype to avoid an error. */ | 10579 /* Override any gcc2 internal prototype to avoid an error. */ |
10579 /* We use char because int might match the return type of a gcc2 | 10580 /* We use char because int might match the return type of a gcc2 |
10580 builtin and then its argument prototype would still apply. */ | 10581 builtin and then its argument prototype would still apply. */ |
10581 char RkBgnBun(); | 10582 char RkBgnBun(); |
10582 | 10583 |
10583 int main() { | 10584 int main() { |
10584 RkBgnBun() | 10585 RkBgnBun() |
10585 ; return 0; } | 10586 ; return 0; } |
10586 EOF | 10587 EOF |
10587 if { (eval echo configure:10588: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10588 if { (eval echo configure:10589: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10588 rm -rf conftest* | 10589 rm -rf conftest* |
10589 eval "ac_cv_lib_$ac_lib_var=yes" | 10590 eval "ac_cv_lib_$ac_lib_var=yes" |
10590 else | 10591 else |
10591 echo "configure: failed program was:" >&5 | 10592 echo "configure: failed program was:" >&5 |
10592 cat conftest.$ac_ext >&5 | 10593 cat conftest.$ac_ext >&5 |
10605 fi | 10606 fi |
10606 | 10607 |
10607 } | 10608 } |
10608 test -z "$with_canna" && { | 10609 test -z "$with_canna" && { |
10609 echo $ac_n "checking for jrKanjiControl in -lcanna""... $ac_c" 1>&6 | 10610 echo $ac_n "checking for jrKanjiControl in -lcanna""... $ac_c" 1>&6 |
10610 echo "configure:10611: checking for jrKanjiControl in -lcanna" >&5 | 10611 echo "configure:10612: checking for jrKanjiControl in -lcanna" >&5 |
10611 ac_lib_var=`echo canna'_'jrKanjiControl | sed 'y%./+-%__p_%'` | 10612 ac_lib_var=`echo canna'_'jrKanjiControl | sed 'y%./+-%__p_%'` |
10612 | 10613 |
10613 xe_check_libs=" -lcanna " | 10614 xe_check_libs=" -lcanna " |
10614 cat > conftest.$ac_ext <<EOF | 10615 cat > conftest.$ac_ext <<EOF |
10615 #line 10616 "configure" | 10616 #line 10617 "configure" |
10616 #include "confdefs.h" | 10617 #include "confdefs.h" |
10617 /* Override any gcc2 internal prototype to avoid an error. */ | 10618 /* Override any gcc2 internal prototype to avoid an error. */ |
10618 /* We use char because int might match the return type of a gcc2 | 10619 /* We use char because int might match the return type of a gcc2 |
10619 builtin and then its argument prototype would still apply. */ | 10620 builtin and then its argument prototype would still apply. */ |
10620 char jrKanjiControl(); | 10621 char jrKanjiControl(); |
10621 | 10622 |
10622 int main() { | 10623 int main() { |
10623 jrKanjiControl() | 10624 jrKanjiControl() |
10624 ; return 0; } | 10625 ; return 0; } |
10625 EOF | 10626 EOF |
10626 if { (eval echo configure:10627: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10627 if { (eval echo configure:10628: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10627 rm -rf conftest* | 10628 rm -rf conftest* |
10628 eval "ac_cv_lib_$ac_lib_var=yes" | 10629 eval "ac_cv_lib_$ac_lib_var=yes" |
10629 else | 10630 else |
10630 echo "configure: failed program was:" >&5 | 10631 echo "configure: failed program was:" >&5 |
10631 cat conftest.$ac_ext >&5 | 10632 cat conftest.$ac_ext >&5 |
10670 | 10671 |
10671 if test "$need_motif" = "yes" ; then | 10672 if test "$need_motif" = "yes" ; then |
10672 libs_x="-lXm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXm\" to \$libs_x"; fi | 10673 libs_x="-lXm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXm\" to \$libs_x"; fi |
10673 | 10674 |
10674 echo $ac_n "checking for layout_object_getvalue in -li18n""... $ac_c" 1>&6 | 10675 echo $ac_n "checking for layout_object_getvalue in -li18n""... $ac_c" 1>&6 |
10675 echo "configure:10676: checking for layout_object_getvalue in -li18n" >&5 | 10676 echo "configure:10677: checking for layout_object_getvalue in -li18n" >&5 |
10676 ac_lib_var=`echo i18n'_'layout_object_getvalue | sed 'y%./+-%__p_%'` | 10677 ac_lib_var=`echo i18n'_'layout_object_getvalue | sed 'y%./+-%__p_%'` |
10677 | 10678 |
10678 xe_check_libs=" -li18n " | 10679 xe_check_libs=" -li18n " |
10679 cat > conftest.$ac_ext <<EOF | 10680 cat > conftest.$ac_ext <<EOF |
10680 #line 10681 "configure" | 10681 #line 10682 "configure" |
10681 #include "confdefs.h" | 10682 #include "confdefs.h" |
10682 /* Override any gcc2 internal prototype to avoid an error. */ | 10683 /* Override any gcc2 internal prototype to avoid an error. */ |
10683 /* We use char because int might match the return type of a gcc2 | 10684 /* We use char because int might match the return type of a gcc2 |
10684 builtin and then its argument prototype would still apply. */ | 10685 builtin and then its argument prototype would still apply. */ |
10685 char layout_object_getvalue(); | 10686 char layout_object_getvalue(); |
10686 | 10687 |
10687 int main() { | 10688 int main() { |
10688 layout_object_getvalue() | 10689 layout_object_getvalue() |
10689 ; return 0; } | 10690 ; return 0; } |
10690 EOF | 10691 EOF |
10691 if { (eval echo configure:10692: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10692 if { (eval echo configure:10693: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10692 rm -rf conftest* | 10693 rm -rf conftest* |
10693 eval "ac_cv_lib_$ac_lib_var=yes" | 10694 eval "ac_cv_lib_$ac_lib_var=yes" |
10694 else | 10695 else |
10695 echo "configure: failed program was:" >&5 | 10696 echo "configure: failed program was:" >&5 |
10696 cat conftest.$ac_ext >&5 | 10697 cat conftest.$ac_ext >&5 |
10772 fi | 10773 fi |
10773 | 10774 |
10774 for ac_func in cbrt closedir dup2 eaccess fmod fpathconf frexp ftime getaddrinfo gethostname getnameinfo getpagesize gettimeofday getcwd getwd logb lrand48 matherr mkdir mktime perror poll random rename res_init rint rmdir select setitimer setpgid setlocale setsid sigblock sighold sigprocmask snprintf stpcpy strerror tzset ulimit usleep waitpid vsnprintf fsync ftruncate umask | 10775 for ac_func in cbrt closedir dup2 eaccess fmod fpathconf frexp ftime getaddrinfo gethostname getnameinfo getpagesize gettimeofday getcwd getwd logb lrand48 matherr mkdir mktime perror poll random rename res_init rint rmdir select setitimer setpgid setlocale setsid sigblock sighold sigprocmask snprintf stpcpy strerror tzset ulimit usleep waitpid vsnprintf fsync ftruncate umask |
10775 do | 10776 do |
10776 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 10777 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
10777 echo "configure:10778: checking for $ac_func" >&5 | 10778 echo "configure:10779: checking for $ac_func" >&5 |
10778 | 10779 |
10779 cat > conftest.$ac_ext <<EOF | 10780 cat > conftest.$ac_ext <<EOF |
10780 #line 10781 "configure" | 10781 #line 10782 "configure" |
10781 #include "confdefs.h" | 10782 #include "confdefs.h" |
10782 /* System header to define __stub macros and hopefully few prototypes, | 10783 /* System header to define __stub macros and hopefully few prototypes, |
10783 which can conflict with char $ac_func(); below. */ | 10784 which can conflict with char $ac_func(); below. */ |
10784 #include <assert.h> | 10785 #include <assert.h> |
10785 /* Override any gcc2 internal prototype to avoid an error. */ | 10786 /* Override any gcc2 internal prototype to avoid an error. */ |
10798 $ac_func(); | 10799 $ac_func(); |
10799 #endif | 10800 #endif |
10800 | 10801 |
10801 ; return 0; } | 10802 ; return 0; } |
10802 EOF | 10803 EOF |
10803 if { (eval echo configure:10804: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10804 if { (eval echo configure:10805: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10804 rm -rf conftest* | 10805 rm -rf conftest* |
10805 eval "ac_cv_func_$ac_func=yes" | 10806 eval "ac_cv_func_$ac_func=yes" |
10806 else | 10807 else |
10807 echo "configure: failed program was:" >&5 | 10808 echo "configure: failed program was:" >&5 |
10808 cat conftest.$ac_ext >&5 | 10809 cat conftest.$ac_ext >&5 |
10830 | 10831 |
10831 | 10832 |
10832 for ac_func in getpt _getpty grantpt unlockpt ptsname killpg tcgetpgrp | 10833 for ac_func in getpt _getpty grantpt unlockpt ptsname killpg tcgetpgrp |
10833 do | 10834 do |
10834 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 10835 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
10835 echo "configure:10836: checking for $ac_func" >&5 | 10836 echo "configure:10837: checking for $ac_func" >&5 |
10836 | 10837 |
10837 cat > conftest.$ac_ext <<EOF | 10838 cat > conftest.$ac_ext <<EOF |
10838 #line 10839 "configure" | 10839 #line 10840 "configure" |
10839 #include "confdefs.h" | 10840 #include "confdefs.h" |
10840 /* System header to define __stub macros and hopefully few prototypes, | 10841 /* System header to define __stub macros and hopefully few prototypes, |
10841 which can conflict with char $ac_func(); below. */ | 10842 which can conflict with char $ac_func(); below. */ |
10842 #include <assert.h> | 10843 #include <assert.h> |
10843 /* Override any gcc2 internal prototype to avoid an error. */ | 10844 /* Override any gcc2 internal prototype to avoid an error. */ |
10856 $ac_func(); | 10857 $ac_func(); |
10857 #endif | 10858 #endif |
10858 | 10859 |
10859 ; return 0; } | 10860 ; return 0; } |
10860 EOF | 10861 EOF |
10861 if { (eval echo configure:10862: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10862 if { (eval echo configure:10863: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10862 rm -rf conftest* | 10863 rm -rf conftest* |
10863 eval "ac_cv_func_$ac_func=yes" | 10864 eval "ac_cv_func_$ac_func=yes" |
10864 else | 10865 else |
10865 echo "configure: failed program was:" >&5 | 10866 echo "configure: failed program was:" >&5 |
10866 cat conftest.$ac_ext >&5 | 10867 cat conftest.$ac_ext >&5 |
10885 fi | 10886 fi |
10886 done | 10887 done |
10887 | 10888 |
10888 | 10889 |
10889 echo $ac_n "checking for openpty""... $ac_c" 1>&6 | 10890 echo $ac_n "checking for openpty""... $ac_c" 1>&6 |
10890 echo "configure:10891: checking for openpty" >&5 | 10891 echo "configure:10892: checking for openpty" >&5 |
10891 | 10892 |
10892 cat > conftest.$ac_ext <<EOF | 10893 cat > conftest.$ac_ext <<EOF |
10893 #line 10894 "configure" | 10894 #line 10895 "configure" |
10894 #include "confdefs.h" | 10895 #include "confdefs.h" |
10895 /* System header to define __stub macros and hopefully few prototypes, | 10896 /* System header to define __stub macros and hopefully few prototypes, |
10896 which can conflict with char openpty(); below. */ | 10897 which can conflict with char openpty(); below. */ |
10897 #include <assert.h> | 10898 #include <assert.h> |
10898 /* Override any gcc2 internal prototype to avoid an error. */ | 10899 /* Override any gcc2 internal prototype to avoid an error. */ |
10911 openpty(); | 10912 openpty(); |
10912 #endif | 10913 #endif |
10913 | 10914 |
10914 ; return 0; } | 10915 ; return 0; } |
10915 EOF | 10916 EOF |
10916 if { (eval echo configure:10917: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10917 if { (eval echo configure:10918: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10917 rm -rf conftest* | 10918 rm -rf conftest* |
10918 eval "ac_cv_func_openpty=yes" | 10919 eval "ac_cv_func_openpty=yes" |
10919 else | 10920 else |
10920 echo "configure: failed program was:" >&5 | 10921 echo "configure: failed program was:" >&5 |
10921 cat conftest.$ac_ext >&5 | 10922 cat conftest.$ac_ext >&5 |
10930 else | 10931 else |
10931 echo "$ac_t""no" 1>&6 | 10932 echo "$ac_t""no" 1>&6 |
10932 | 10933 |
10933 | 10934 |
10934 echo $ac_n "checking for openpty in -lutil""... $ac_c" 1>&6 | 10935 echo $ac_n "checking for openpty in -lutil""... $ac_c" 1>&6 |
10935 echo "configure:10936: checking for openpty in -lutil" >&5 | 10936 echo "configure:10937: checking for openpty in -lutil" >&5 |
10936 ac_lib_var=`echo util'_'openpty | sed 'y%./+-%__p_%'` | 10937 ac_lib_var=`echo util'_'openpty | sed 'y%./+-%__p_%'` |
10937 | 10938 |
10938 xe_check_libs=" -lutil " | 10939 xe_check_libs=" -lutil " |
10939 cat > conftest.$ac_ext <<EOF | 10940 cat > conftest.$ac_ext <<EOF |
10940 #line 10941 "configure" | 10941 #line 10942 "configure" |
10941 #include "confdefs.h" | 10942 #include "confdefs.h" |
10942 /* Override any gcc2 internal prototype to avoid an error. */ | 10943 /* Override any gcc2 internal prototype to avoid an error. */ |
10943 /* 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 |
10944 builtin and then its argument prototype would still apply. */ | 10945 builtin and then its argument prototype would still apply. */ |
10945 char openpty(); | 10946 char openpty(); |
10946 | 10947 |
10947 int main() { | 10948 int main() { |
10948 openpty() | 10949 openpty() |
10949 ; return 0; } | 10950 ; return 0; } |
10950 EOF | 10951 EOF |
10951 if { (eval echo configure:10952: \"$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 |
10952 rm -rf conftest* | 10953 rm -rf conftest* |
10953 eval "ac_cv_lib_$ac_lib_var=yes" | 10954 eval "ac_cv_lib_$ac_lib_var=yes" |
10954 else | 10955 else |
10955 echo "configure: failed program was:" >&5 | 10956 echo "configure: failed program was:" >&5 |
10956 cat conftest.$ac_ext >&5 | 10957 cat conftest.$ac_ext >&5 |
10981 | 10982 |
10982 for ac_hdr in pty.h libutil.h util.h | 10983 for ac_hdr in pty.h libutil.h util.h |
10983 do | 10984 do |
10984 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 10985 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
10985 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 10986 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
10986 echo "configure:10987: checking for $ac_hdr" >&5 | 10987 echo "configure:10988: checking for $ac_hdr" >&5 |
10987 | 10988 |
10988 cat > conftest.$ac_ext <<EOF | 10989 cat > conftest.$ac_ext <<EOF |
10989 #line 10990 "configure" | 10990 #line 10991 "configure" |
10990 #include "confdefs.h" | 10991 #include "confdefs.h" |
10991 #include <$ac_hdr> | 10992 #include <$ac_hdr> |
10992 EOF | 10993 EOF |
10993 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10994 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10994 { (eval echo configure:10995: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10995 { (eval echo configure:10996: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10995 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10996 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10996 if test -z "$ac_err"; then | 10997 if test -z "$ac_err"; then |
10997 rm -rf conftest* | 10998 rm -rf conftest* |
10998 eval "ac_cv_header_$ac_safe=yes" | 10999 eval "ac_cv_header_$ac_safe=yes" |
10999 else | 11000 else |
11025 | 11026 |
11026 for ac_hdr in stropts.h | 11027 for ac_hdr in stropts.h |
11027 do | 11028 do |
11028 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 11029 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
11029 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 11030 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
11030 echo "configure:11031: checking for $ac_hdr" >&5 | 11031 echo "configure:11032: checking for $ac_hdr" >&5 |
11031 | 11032 |
11032 cat > conftest.$ac_ext <<EOF | 11033 cat > conftest.$ac_ext <<EOF |
11033 #line 11034 "configure" | 11034 #line 11035 "configure" |
11034 #include "confdefs.h" | 11035 #include "confdefs.h" |
11035 #include <$ac_hdr> | 11036 #include <$ac_hdr> |
11036 EOF | 11037 EOF |
11037 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 11038 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
11038 { (eval echo configure:11039: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 11039 { (eval echo configure:11040: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
11039 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 11040 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
11040 if test -z "$ac_err"; then | 11041 if test -z "$ac_err"; then |
11041 rm -rf conftest* | 11042 rm -rf conftest* |
11042 eval "ac_cv_header_$ac_safe=yes" | 11043 eval "ac_cv_header_$ac_safe=yes" |
11043 else | 11044 else |
11066 | 11067 |
11067 if test "$ac_cv_header_stropts_h" = "yes"; then | 11068 if test "$ac_cv_header_stropts_h" = "yes"; then |
11068 for ac_func in isastream | 11069 for ac_func in isastream |
11069 do | 11070 do |
11070 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 11071 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
11071 echo "configure:11072: checking for $ac_func" >&5 | 11072 echo "configure:11073: checking for $ac_func" >&5 |
11072 | 11073 |
11073 cat > conftest.$ac_ext <<EOF | 11074 cat > conftest.$ac_ext <<EOF |
11074 #line 11075 "configure" | 11075 #line 11076 "configure" |
11075 #include "confdefs.h" | 11076 #include "confdefs.h" |
11076 /* System header to define __stub macros and hopefully few prototypes, | 11077 /* System header to define __stub macros and hopefully few prototypes, |
11077 which can conflict with char $ac_func(); below. */ | 11078 which can conflict with char $ac_func(); below. */ |
11078 #include <assert.h> | 11079 #include <assert.h> |
11079 /* Override any gcc2 internal prototype to avoid an error. */ | 11080 /* Override any gcc2 internal prototype to avoid an error. */ |
11092 $ac_func(); | 11093 $ac_func(); |
11093 #endif | 11094 #endif |
11094 | 11095 |
11095 ; return 0; } | 11096 ; return 0; } |
11096 EOF | 11097 EOF |
11097 if { (eval echo configure:11098: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11098 if { (eval echo configure:11099: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11098 rm -rf conftest* | 11099 rm -rf conftest* |
11099 eval "ac_cv_func_$ac_func=yes" | 11100 eval "ac_cv_func_$ac_func=yes" |
11100 else | 11101 else |
11101 echo "configure: failed program was:" >&5 | 11102 echo "configure: failed program was:" >&5 |
11102 cat conftest.$ac_ext >&5 | 11103 cat conftest.$ac_ext >&5 |
11123 | 11124 |
11124 for ac_hdr in strtio.h | 11125 for ac_hdr in strtio.h |
11125 do | 11126 do |
11126 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 11127 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
11127 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 11128 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
11128 echo "configure:11129: checking for $ac_hdr" >&5 | 11129 echo "configure:11130: checking for $ac_hdr" >&5 |
11129 | 11130 |
11130 cat > conftest.$ac_ext <<EOF | 11131 cat > conftest.$ac_ext <<EOF |
11131 #line 11132 "configure" | 11132 #line 11133 "configure" |
11132 #include "confdefs.h" | 11133 #include "confdefs.h" |
11133 #include <$ac_hdr> | 11134 #include <$ac_hdr> |
11134 EOF | 11135 EOF |
11135 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 11136 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
11136 { (eval echo configure:11137: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 11137 { (eval echo configure:11138: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
11137 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 11138 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
11138 if test -z "$ac_err"; then | 11139 if test -z "$ac_err"; then |
11139 rm -rf conftest* | 11140 rm -rf conftest* |
11140 eval "ac_cv_header_$ac_safe=yes" | 11141 eval "ac_cv_header_$ac_safe=yes" |
11141 else | 11142 else |
11168 fi | 11169 fi |
11169 | 11170 |
11170 for ac_func in getloadavg | 11171 for ac_func in getloadavg |
11171 do | 11172 do |
11172 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 11173 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
11173 echo "configure:11174: checking for $ac_func" >&5 | 11174 echo "configure:11175: checking for $ac_func" >&5 |
11174 | 11175 |
11175 cat > conftest.$ac_ext <<EOF | 11176 cat > conftest.$ac_ext <<EOF |
11176 #line 11177 "configure" | 11177 #line 11178 "configure" |
11177 #include "confdefs.h" | 11178 #include "confdefs.h" |
11178 /* System header to define __stub macros and hopefully few prototypes, | 11179 /* System header to define __stub macros and hopefully few prototypes, |
11179 which can conflict with char $ac_func(); below. */ | 11180 which can conflict with char $ac_func(); below. */ |
11180 #include <assert.h> | 11181 #include <assert.h> |
11181 /* Override any gcc2 internal prototype to avoid an error. */ | 11182 /* Override any gcc2 internal prototype to avoid an error. */ |
11194 $ac_func(); | 11195 $ac_func(); |
11195 #endif | 11196 #endif |
11196 | 11197 |
11197 ; return 0; } | 11198 ; return 0; } |
11198 EOF | 11199 EOF |
11199 if { (eval echo configure:11200: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11200 if { (eval echo configure:11201: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11200 rm -rf conftest* | 11201 rm -rf conftest* |
11201 eval "ac_cv_func_$ac_func=yes" | 11202 eval "ac_cv_func_$ac_func=yes" |
11202 else | 11203 else |
11203 echo "configure: failed program was:" >&5 | 11204 echo "configure: failed program was:" >&5 |
11204 cat conftest.$ac_ext >&5 | 11205 cat conftest.$ac_ext >&5 |
11227 if test "$ac_cv_func_getloadavg" = "yes"; then | 11228 if test "$ac_cv_func_getloadavg" = "yes"; then |
11228 for ac_hdr in sys/loadavg.h | 11229 for ac_hdr in sys/loadavg.h |
11229 do | 11230 do |
11230 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 11231 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
11231 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 11232 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
11232 echo "configure:11233: checking for $ac_hdr" >&5 | 11233 echo "configure:11234: checking for $ac_hdr" >&5 |
11233 | 11234 |
11234 cat > conftest.$ac_ext <<EOF | 11235 cat > conftest.$ac_ext <<EOF |
11235 #line 11236 "configure" | 11236 #line 11237 "configure" |
11236 #include "confdefs.h" | 11237 #include "confdefs.h" |
11237 #include <$ac_hdr> | 11238 #include <$ac_hdr> |
11238 EOF | 11239 EOF |
11239 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 11240 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
11240 { (eval echo configure:11241: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 11241 { (eval echo configure:11242: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
11241 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 11242 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
11242 if test -z "$ac_err"; then | 11243 if test -z "$ac_err"; then |
11243 rm -rf conftest* | 11244 rm -rf conftest* |
11244 eval "ac_cv_header_$ac_safe=yes" | 11245 eval "ac_cv_header_$ac_safe=yes" |
11245 else | 11246 else |
11271 echo " xemacs will be linked with \"getloadavg.o\"" | 11272 echo " xemacs will be linked with \"getloadavg.o\"" |
11272 fi | 11273 fi |
11273 | 11274 |
11274 | 11275 |
11275 echo $ac_n "checking for kstat_open in -lkstat""... $ac_c" 1>&6 | 11276 echo $ac_n "checking for kstat_open in -lkstat""... $ac_c" 1>&6 |
11276 echo "configure:11277: checking for kstat_open in -lkstat" >&5 | 11277 echo "configure:11278: checking for kstat_open in -lkstat" >&5 |
11277 ac_lib_var=`echo kstat'_'kstat_open | sed 'y%./+-%__p_%'` | 11278 ac_lib_var=`echo kstat'_'kstat_open | sed 'y%./+-%__p_%'` |
11278 | 11279 |
11279 xe_check_libs=" -lkstat " | 11280 xe_check_libs=" -lkstat " |
11280 cat > conftest.$ac_ext <<EOF | 11281 cat > conftest.$ac_ext <<EOF |
11281 #line 11282 "configure" | 11282 #line 11283 "configure" |
11282 #include "confdefs.h" | 11283 #include "confdefs.h" |
11283 /* Override any gcc2 internal prototype to avoid an error. */ | 11284 /* Override any gcc2 internal prototype to avoid an error. */ |
11284 /* We use char because int might match the return type of a gcc2 | 11285 /* We use char because int might match the return type of a gcc2 |
11285 builtin and then its argument prototype would still apply. */ | 11286 builtin and then its argument prototype would still apply. */ |
11286 char kstat_open(); | 11287 char kstat_open(); |
11287 | 11288 |
11288 int main() { | 11289 int main() { |
11289 kstat_open() | 11290 kstat_open() |
11290 ; return 0; } | 11291 ; return 0; } |
11291 EOF | 11292 EOF |
11292 if { (eval echo configure:11293: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11293 if { (eval echo configure:11294: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11293 rm -rf conftest* | 11294 rm -rf conftest* |
11294 eval "ac_cv_lib_$ac_lib_var=yes" | 11295 eval "ac_cv_lib_$ac_lib_var=yes" |
11295 else | 11296 else |
11296 echo "configure: failed program was:" >&5 | 11297 echo "configure: failed program was:" >&5 |
11297 cat conftest.$ac_ext >&5 | 11298 cat conftest.$ac_ext >&5 |
11322 | 11323 |
11323 for ac_hdr in kstat.h | 11324 for ac_hdr in kstat.h |
11324 do | 11325 do |
11325 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 11326 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
11326 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 11327 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
11327 echo "configure:11328: checking for $ac_hdr" >&5 | 11328 echo "configure:11329: checking for $ac_hdr" >&5 |
11328 | 11329 |
11329 cat > conftest.$ac_ext <<EOF | 11330 cat > conftest.$ac_ext <<EOF |
11330 #line 11331 "configure" | 11331 #line 11332 "configure" |
11331 #include "confdefs.h" | 11332 #include "confdefs.h" |
11332 #include <$ac_hdr> | 11333 #include <$ac_hdr> |
11333 EOF | 11334 EOF |
11334 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 11335 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
11335 { (eval echo configure:11336: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 11336 { (eval echo configure:11337: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
11336 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 11337 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
11337 if test -z "$ac_err"; then | 11338 if test -z "$ac_err"; then |
11338 rm -rf conftest* | 11339 rm -rf conftest* |
11339 eval "ac_cv_header_$ac_safe=yes" | 11340 eval "ac_cv_header_$ac_safe=yes" |
11340 else | 11341 else |
11362 done | 11363 done |
11363 | 11364 |
11364 | 11365 |
11365 | 11366 |
11366 echo $ac_n "checking for kvm_read in -lkvm""... $ac_c" 1>&6 | 11367 echo $ac_n "checking for kvm_read in -lkvm""... $ac_c" 1>&6 |
11367 echo "configure:11368: checking for kvm_read in -lkvm" >&5 | 11368 echo "configure:11369: checking for kvm_read in -lkvm" >&5 |
11368 ac_lib_var=`echo kvm'_'kvm_read | sed 'y%./+-%__p_%'` | 11369 ac_lib_var=`echo kvm'_'kvm_read | sed 'y%./+-%__p_%'` |
11369 | 11370 |
11370 xe_check_libs=" -lkvm " | 11371 xe_check_libs=" -lkvm " |
11371 cat > conftest.$ac_ext <<EOF | 11372 cat > conftest.$ac_ext <<EOF |
11372 #line 11373 "configure" | 11373 #line 11374 "configure" |
11373 #include "confdefs.h" | 11374 #include "confdefs.h" |
11374 /* Override any gcc2 internal prototype to avoid an error. */ | 11375 /* Override any gcc2 internal prototype to avoid an error. */ |
11375 /* We use char because int might match the return type of a gcc2 | 11376 /* We use char because int might match the return type of a gcc2 |
11376 builtin and then its argument prototype would still apply. */ | 11377 builtin and then its argument prototype would still apply. */ |
11377 char kvm_read(); | 11378 char kvm_read(); |
11378 | 11379 |
11379 int main() { | 11380 int main() { |
11380 kvm_read() | 11381 kvm_read() |
11381 ; return 0; } | 11382 ; return 0; } |
11382 EOF | 11383 EOF |
11383 if { (eval echo configure:11384: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11384 if { (eval echo configure:11385: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11384 rm -rf conftest* | 11385 rm -rf conftest* |
11385 eval "ac_cv_lib_$ac_lib_var=yes" | 11386 eval "ac_cv_lib_$ac_lib_var=yes" |
11386 else | 11387 else |
11387 echo "configure: failed program was:" >&5 | 11388 echo "configure: failed program was:" >&5 |
11388 cat conftest.$ac_ext >&5 | 11389 cat conftest.$ac_ext >&5 |
11412 | 11413 |
11413 | 11414 |
11414 fi | 11415 fi |
11415 | 11416 |
11416 echo $ac_n "checking whether netdb declares h_errno""... $ac_c" 1>&6 | 11417 echo $ac_n "checking whether netdb declares h_errno""... $ac_c" 1>&6 |
11417 echo "configure:11418: checking whether netdb declares h_errno" >&5 | 11418 echo "configure:11419: checking whether netdb declares h_errno" >&5 |
11418 cat > conftest.$ac_ext <<EOF | 11419 cat > conftest.$ac_ext <<EOF |
11419 #line 11420 "configure" | 11420 #line 11421 "configure" |
11420 #include "confdefs.h" | 11421 #include "confdefs.h" |
11421 #include <netdb.h> | 11422 #include <netdb.h> |
11422 int main() { | 11423 int main() { |
11423 return h_errno; | 11424 return h_errno; |
11424 ; return 0; } | 11425 ; return 0; } |
11425 EOF | 11426 EOF |
11426 if { (eval echo configure:11427: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11427 if { (eval echo configure:11428: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11427 rm -rf conftest* | 11428 rm -rf conftest* |
11428 echo "$ac_t""yes" 1>&6 | 11429 echo "$ac_t""yes" 1>&6 |
11429 { test "$extra_verbose" = "yes" && cat << \EOF | 11430 { test "$extra_verbose" = "yes" && cat << \EOF |
11430 Defining HAVE_H_ERRNO | 11431 Defining HAVE_H_ERRNO |
11431 EOF | 11432 EOF |
11441 echo "$ac_t""no" 1>&6 | 11442 echo "$ac_t""no" 1>&6 |
11442 fi | 11443 fi |
11443 rm -f conftest* | 11444 rm -f conftest* |
11444 | 11445 |
11445 echo $ac_n "checking for sigsetjmp""... $ac_c" 1>&6 | 11446 echo $ac_n "checking for sigsetjmp""... $ac_c" 1>&6 |
11446 echo "configure:11447: checking for sigsetjmp" >&5 | 11447 echo "configure:11448: checking for sigsetjmp" >&5 |
11447 cat > conftest.$ac_ext <<EOF | 11448 cat > conftest.$ac_ext <<EOF |
11448 #line 11449 "configure" | 11449 #line 11450 "configure" |
11449 #include "confdefs.h" | 11450 #include "confdefs.h" |
11450 #include <setjmp.h> | 11451 #include <setjmp.h> |
11451 int main() { | 11452 int main() { |
11452 sigjmp_buf bar; sigsetjmp (bar, 0); | 11453 sigjmp_buf bar; sigsetjmp (bar, 0); |
11453 ; return 0; } | 11454 ; return 0; } |
11454 EOF | 11455 EOF |
11455 if { (eval echo configure:11456: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 11456 if { (eval echo configure:11457: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
11456 rm -rf conftest* | 11457 rm -rf conftest* |
11457 echo "$ac_t""yes" 1>&6 | 11458 echo "$ac_t""yes" 1>&6 |
11458 { test "$extra_verbose" = "yes" && cat << \EOF | 11459 { test "$extra_verbose" = "yes" && cat << \EOF |
11459 Defining HAVE_SIGSETJMP | 11460 Defining HAVE_SIGSETJMP |
11460 EOF | 11461 EOF |
11470 echo "$ac_t""no" 1>&6 | 11471 echo "$ac_t""no" 1>&6 |
11471 fi | 11472 fi |
11472 rm -f conftest* | 11473 rm -f conftest* |
11473 | 11474 |
11474 echo $ac_n "checking whether localtime caches TZ""... $ac_c" 1>&6 | 11475 echo $ac_n "checking whether localtime caches TZ""... $ac_c" 1>&6 |
11475 echo "configure:11476: checking whether localtime caches TZ" >&5 | 11476 echo "configure:11477: checking whether localtime caches TZ" >&5 |
11476 | 11477 |
11477 if test "$ac_cv_func_tzset" = "yes"; then | 11478 if test "$ac_cv_func_tzset" = "yes"; then |
11478 cat > conftest.$ac_ext <<EOF | 11479 cat > conftest.$ac_ext <<EOF |
11479 #line 11480 "configure" | 11480 #line 11481 "configure" |
11480 #include "confdefs.h" | 11481 #include "confdefs.h" |
11481 #include <time.h> | 11482 #include <time.h> |
11482 #if STDC_HEADERS | 11483 #if STDC_HEADERS |
11483 # include <stdlib.h> | 11484 # include <stdlib.h> |
11484 #endif | 11485 #endif |
11509 if (localtime (&now)->tm_hour != hour_unset) | 11510 if (localtime (&now)->tm_hour != hour_unset) |
11510 exit (1); | 11511 exit (1); |
11511 exit (0); | 11512 exit (0); |
11512 } | 11513 } |
11513 EOF | 11514 EOF |
11514 if { (eval echo configure:11515: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 11515 if { (eval echo configure:11516: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
11515 then | 11516 then |
11516 emacs_cv_localtime_cache=no | 11517 emacs_cv_localtime_cache=no |
11517 else | 11518 else |
11518 conftest_rc="$?" | 11519 conftest_rc="$?" |
11519 echo "configure: failed program was:" >&5 | 11520 echo "configure: failed program was:" >&5 |
11539 | 11540 |
11540 fi | 11541 fi |
11541 | 11542 |
11542 if test "$HAVE_TIMEVAL" = "yes"; then | 11543 if test "$HAVE_TIMEVAL" = "yes"; then |
11543 echo $ac_n "checking whether gettimeofday accepts one or two arguments""... $ac_c" 1>&6 | 11544 echo $ac_n "checking whether gettimeofday accepts one or two arguments""... $ac_c" 1>&6 |
11544 echo "configure:11545: checking whether gettimeofday accepts one or two arguments" >&5 | 11545 echo "configure:11546: checking whether gettimeofday accepts one or two arguments" >&5 |
11545 cat > conftest.$ac_ext <<EOF | 11546 cat > conftest.$ac_ext <<EOF |
11546 #line 11547 "configure" | 11547 #line 11548 "configure" |
11547 #include "confdefs.h" | 11548 #include "confdefs.h" |
11548 | 11549 |
11549 #ifdef TIME_WITH_SYS_TIME | 11550 #ifdef TIME_WITH_SYS_TIME |
11550 #include <sys/time.h> | 11551 #include <sys/time.h> |
11551 #include <time.h> | 11552 #include <time.h> |
11562 struct timeval time; | 11563 struct timeval time; |
11563 gettimeofday (&time, 0); | 11564 gettimeofday (&time, 0); |
11564 | 11565 |
11565 ; return 0; } | 11566 ; return 0; } |
11566 EOF | 11567 EOF |
11567 if { (eval echo configure:11568: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11568 if { (eval echo configure:11569: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11568 rm -rf conftest* | 11569 rm -rf conftest* |
11569 echo "$ac_t""two" 1>&6 | 11570 echo "$ac_t""two" 1>&6 |
11570 else | 11571 else |
11571 echo "configure: failed program was:" >&5 | 11572 echo "configure: failed program was:" >&5 |
11572 cat conftest.$ac_ext >&5 | 11573 cat conftest.$ac_ext >&5 |
11584 rm -f conftest* | 11585 rm -f conftest* |
11585 fi | 11586 fi |
11586 | 11587 |
11587 | 11588 |
11588 echo $ac_n "checking for inline""... $ac_c" 1>&6 | 11589 echo $ac_n "checking for inline""... $ac_c" 1>&6 |
11589 echo "configure:11590: checking for inline" >&5 | 11590 echo "configure:11591: checking for inline" >&5 |
11590 | 11591 |
11591 ac_cv_c_inline=no | 11592 ac_cv_c_inline=no |
11592 for ac_kw in inline __inline__ __inline; do | 11593 for ac_kw in inline __inline__ __inline; do |
11593 cat > conftest.$ac_ext <<EOF | 11594 cat > conftest.$ac_ext <<EOF |
11594 #line 11595 "configure" | 11595 #line 11596 "configure" |
11595 #include "confdefs.h" | 11596 #include "confdefs.h" |
11596 | 11597 |
11597 int main() { | 11598 int main() { |
11598 } $ac_kw foo() { | 11599 } $ac_kw foo() { |
11599 ; return 0; } | 11600 ; return 0; } |
11600 EOF | 11601 EOF |
11601 if { (eval echo configure:11602: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 11602 if { (eval echo configure:11603: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
11602 rm -rf conftest* | 11603 rm -rf conftest* |
11603 ac_cv_c_inline=$ac_kw; break | 11604 ac_cv_c_inline=$ac_kw; break |
11604 else | 11605 else |
11605 echo "configure: failed program was:" >&5 | 11606 echo "configure: failed program was:" >&5 |
11606 cat conftest.$ac_ext >&5 | 11607 cat conftest.$ac_ext >&5 |
11637 | 11638 |
11638 if test "$__DECC" != "yes"; then | 11639 if test "$__DECC" != "yes"; then |
11639 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works | 11640 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works |
11640 # for constant arguments. Useless! | 11641 # for constant arguments. Useless! |
11641 echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6 | 11642 echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6 |
11642 echo "configure:11643: checking for working alloca.h" >&5 | 11643 echo "configure:11644: checking for working alloca.h" >&5 |
11643 | 11644 |
11644 cat > conftest.$ac_ext <<EOF | 11645 cat > conftest.$ac_ext <<EOF |
11645 #line 11646 "configure" | 11646 #line 11647 "configure" |
11646 #include "confdefs.h" | 11647 #include "confdefs.h" |
11647 #include <alloca.h> | 11648 #include <alloca.h> |
11648 int main() { | 11649 int main() { |
11649 char *p = alloca(2 * sizeof(int)); | 11650 char *p = alloca(2 * sizeof(int)); |
11650 ; return 0; } | 11651 ; return 0; } |
11651 EOF | 11652 EOF |
11652 if { (eval echo configure:11653: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11653 if { (eval echo configure:11654: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11653 rm -rf conftest* | 11654 rm -rf conftest* |
11654 ac_cv_header_alloca_h=yes | 11655 ac_cv_header_alloca_h=yes |
11655 else | 11656 else |
11656 echo "configure: failed program was:" >&5 | 11657 echo "configure: failed program was:" >&5 |
11657 cat conftest.$ac_ext >&5 | 11658 cat conftest.$ac_ext >&5 |
11671 } | 11672 } |
11672 | 11673 |
11673 fi | 11674 fi |
11674 | 11675 |
11675 echo $ac_n "checking for alloca""... $ac_c" 1>&6 | 11676 echo $ac_n "checking for alloca""... $ac_c" 1>&6 |
11676 echo "configure:11677: checking for alloca" >&5 | 11677 echo "configure:11678: checking for alloca" >&5 |
11677 | 11678 |
11678 cat > conftest.$ac_ext <<EOF | 11679 cat > conftest.$ac_ext <<EOF |
11679 #line 11680 "configure" | 11680 #line 11681 "configure" |
11680 #include "confdefs.h" | 11681 #include "confdefs.h" |
11681 | 11682 |
11682 #ifdef __GNUC__ | 11683 #ifdef __GNUC__ |
11683 # define alloca __builtin_alloca | 11684 # define alloca __builtin_alloca |
11684 #else | 11685 #else |
11702 | 11703 |
11703 int main() { | 11704 int main() { |
11704 char *p = (char *) alloca(1); | 11705 char *p = (char *) alloca(1); |
11705 ; return 0; } | 11706 ; return 0; } |
11706 EOF | 11707 EOF |
11707 if { (eval echo configure:11708: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11708 if { (eval echo configure:11709: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11708 rm -rf conftest* | 11709 rm -rf conftest* |
11709 ac_cv_func_alloca_works=yes | 11710 ac_cv_func_alloca_works=yes |
11710 else | 11711 else |
11711 echo "configure: failed program was:" >&5 | 11712 echo "configure: failed program was:" >&5 |
11712 cat conftest.$ac_ext >&5 | 11713 cat conftest.$ac_ext >&5 |
11741 EOF | 11742 EOF |
11742 } | 11743 } |
11743 | 11744 |
11744 | 11745 |
11745 echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6 | 11746 echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6 |
11746 echo "configure:11747: checking whether alloca needs Cray hooks" >&5 | 11747 echo "configure:11748: checking whether alloca needs Cray hooks" >&5 |
11747 | 11748 |
11748 cat > conftest.$ac_ext <<EOF | 11749 cat > conftest.$ac_ext <<EOF |
11749 #line 11750 "configure" | 11750 #line 11751 "configure" |
11750 #include "confdefs.h" | 11751 #include "confdefs.h" |
11751 #if defined(CRAY) && ! defined(CRAY2) | 11752 #if defined(CRAY) && ! defined(CRAY2) |
11752 webecray | 11753 webecray |
11753 #else | 11754 #else |
11754 wenotbecray | 11755 wenotbecray |
11768 | 11769 |
11769 echo "$ac_t""$ac_cv_os_cray" 1>&6 | 11770 echo "$ac_t""$ac_cv_os_cray" 1>&6 |
11770 if test $ac_cv_os_cray = yes; then | 11771 if test $ac_cv_os_cray = yes; then |
11771 for ac_func in _getb67 GETB67 getb67; do | 11772 for ac_func in _getb67 GETB67 getb67; do |
11772 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 11773 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
11773 echo "configure:11774: checking for $ac_func" >&5 | 11774 echo "configure:11775: checking for $ac_func" >&5 |
11774 | 11775 |
11775 cat > conftest.$ac_ext <<EOF | 11776 cat > conftest.$ac_ext <<EOF |
11776 #line 11777 "configure" | 11777 #line 11778 "configure" |
11777 #include "confdefs.h" | 11778 #include "confdefs.h" |
11778 /* System header to define __stub macros and hopefully few prototypes, | 11779 /* System header to define __stub macros and hopefully few prototypes, |
11779 which can conflict with char $ac_func(); below. */ | 11780 which can conflict with char $ac_func(); below. */ |
11780 #include <assert.h> | 11781 #include <assert.h> |
11781 /* Override any gcc2 internal prototype to avoid an error. */ | 11782 /* Override any gcc2 internal prototype to avoid an error. */ |
11794 $ac_func(); | 11795 $ac_func(); |
11795 #endif | 11796 #endif |
11796 | 11797 |
11797 ; return 0; } | 11798 ; return 0; } |
11798 EOF | 11799 EOF |
11799 if { (eval echo configure:11800: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11800 if { (eval echo configure:11801: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11800 rm -rf conftest* | 11801 rm -rf conftest* |
11801 eval "ac_cv_func_$ac_func=yes" | 11802 eval "ac_cv_func_$ac_func=yes" |
11802 else | 11803 else |
11803 echo "configure: failed program was:" >&5 | 11804 echo "configure: failed program was:" >&5 |
11804 cat conftest.$ac_ext >&5 | 11805 cat conftest.$ac_ext >&5 |
11824 | 11825 |
11825 done | 11826 done |
11826 fi | 11827 fi |
11827 | 11828 |
11828 echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6 | 11829 echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6 |
11829 echo "configure:11830: checking stack direction for C alloca" >&5 | 11830 echo "configure:11831: checking stack direction for C alloca" >&5 |
11830 | 11831 |
11831 cat > conftest.$ac_ext <<EOF | 11832 cat > conftest.$ac_ext <<EOF |
11832 #line 11833 "configure" | 11833 #line 11834 "configure" |
11833 #include "confdefs.h" | 11834 #include "confdefs.h" |
11834 find_stack_direction () | 11835 find_stack_direction () |
11835 { | 11836 { |
11836 static char *addr = 0; | 11837 static char *addr = 0; |
11837 auto char dummy; | 11838 auto char dummy; |
11846 main () | 11847 main () |
11847 { | 11848 { |
11848 exit (find_stack_direction() < 0); | 11849 exit (find_stack_direction() < 0); |
11849 } | 11850 } |
11850 EOF | 11851 EOF |
11851 if { (eval echo configure:11852: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 11852 if { (eval echo configure:11853: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
11852 then | 11853 then |
11853 ac_cv_c_stack_direction=1 | 11854 ac_cv_c_stack_direction=1 |
11854 else | 11855 else |
11855 conftest_rc="$?" | 11856 conftest_rc="$?" |
11856 echo "configure: failed program was:" >&5 | 11857 echo "configure: failed program was:" >&5 |
11876 fi | 11877 fi |
11877 fi | 11878 fi |
11878 | 11879 |
11879 ac_safe=`echo "vfork.h" | sed 'y%./+-%__p_%'` | 11880 ac_safe=`echo "vfork.h" | sed 'y%./+-%__p_%'` |
11880 echo $ac_n "checking for vfork.h""... $ac_c" 1>&6 | 11881 echo $ac_n "checking for vfork.h""... $ac_c" 1>&6 |
11881 echo "configure:11882: checking for vfork.h" >&5 | 11882 echo "configure:11883: checking for vfork.h" >&5 |
11882 | 11883 |
11883 cat > conftest.$ac_ext <<EOF | 11884 cat > conftest.$ac_ext <<EOF |
11884 #line 11885 "configure" | 11885 #line 11886 "configure" |
11885 #include "confdefs.h" | 11886 #include "confdefs.h" |
11886 #include <vfork.h> | 11887 #include <vfork.h> |
11887 EOF | 11888 EOF |
11888 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 11889 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
11889 { (eval echo configure:11890: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 11890 { (eval echo configure:11891: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
11890 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 11891 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
11891 if test -z "$ac_err"; then | 11892 if test -z "$ac_err"; then |
11892 rm -rf conftest* | 11893 rm -rf conftest* |
11893 eval "ac_cv_header_$ac_safe=yes" | 11894 eval "ac_cv_header_$ac_safe=yes" |
11894 else | 11895 else |
11912 else | 11913 else |
11913 echo "$ac_t""no" 1>&6 | 11914 echo "$ac_t""no" 1>&6 |
11914 fi | 11915 fi |
11915 | 11916 |
11916 echo $ac_n "checking for working vfork""... $ac_c" 1>&6 | 11917 echo $ac_n "checking for working vfork""... $ac_c" 1>&6 |
11917 echo "configure:11918: checking for working vfork" >&5 | 11918 echo "configure:11919: checking for working vfork" >&5 |
11918 | 11919 |
11919 cat > conftest.$ac_ext <<EOF | 11920 cat > conftest.$ac_ext <<EOF |
11920 #line 11921 "configure" | 11921 #line 11922 "configure" |
11921 #include "confdefs.h" | 11922 #include "confdefs.h" |
11922 /* Thanks to Paul Eggert for this test. */ | 11923 /* Thanks to Paul Eggert for this test. */ |
11923 #include <stdio.h> | 11924 #include <stdio.h> |
11924 #include <sys/types.h> | 11925 #include <sys/types.h> |
11925 #include <sys/stat.h> | 11926 #include <sys/stat.h> |
12010 || fstat(fileno(stdout), &st) != 0 | 12011 || fstat(fileno(stdout), &st) != 0 |
12011 ); | 12012 ); |
12012 } | 12013 } |
12013 } | 12014 } |
12014 EOF | 12015 EOF |
12015 if { (eval echo configure:12016: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 12016 if { (eval echo configure:12017: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
12016 then | 12017 then |
12017 ac_cv_func_vfork_works=yes | 12018 ac_cv_func_vfork_works=yes |
12018 else | 12019 else |
12019 conftest_rc="$?" | 12020 conftest_rc="$?" |
12020 echo "configure: failed program was:" >&5 | 12021 echo "configure: failed program was:" >&5 |
12036 | 12037 |
12037 fi | 12038 fi |
12038 | 12039 |
12039 | 12040 |
12040 echo $ac_n "checking for working strcoll""... $ac_c" 1>&6 | 12041 echo $ac_n "checking for working strcoll""... $ac_c" 1>&6 |
12041 echo "configure:12042: checking for working strcoll" >&5 | 12042 echo "configure:12043: checking for working strcoll" >&5 |
12042 | 12043 |
12043 cat > conftest.$ac_ext <<EOF | 12044 cat > conftest.$ac_ext <<EOF |
12044 #line 12045 "configure" | 12045 #line 12046 "configure" |
12045 #include "confdefs.h" | 12046 #include "confdefs.h" |
12046 #include <string.h> | 12047 #include <string.h> |
12047 main () | 12048 main () |
12048 { | 12049 { |
12049 exit (strcoll ("abc", "def") >= 0 || | 12050 exit (strcoll ("abc", "def") >= 0 || |
12050 strcoll ("ABC", "DEF") >= 0 || | 12051 strcoll ("ABC", "DEF") >= 0 || |
12051 strcoll ("123", "456") >= 0); | 12052 strcoll ("123", "456") >= 0); |
12052 } | 12053 } |
12053 EOF | 12054 EOF |
12054 if { (eval echo configure:12055: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 12055 if { (eval echo configure:12056: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
12055 then | 12056 then |
12056 ac_cv_func_strcoll_works=yes | 12057 ac_cv_func_strcoll_works=yes |
12057 else | 12058 else |
12058 conftest_rc="$?" | 12059 conftest_rc="$?" |
12059 echo "configure: failed program was:" >&5 | 12060 echo "configure: failed program was:" >&5 |
12077 | 12078 |
12078 | 12079 |
12079 for ac_func in getpgrp | 12080 for ac_func in getpgrp |
12080 do | 12081 do |
12081 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 12082 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
12082 echo "configure:12083: checking for $ac_func" >&5 | 12083 echo "configure:12084: checking for $ac_func" >&5 |
12083 | 12084 |
12084 cat > conftest.$ac_ext <<EOF | 12085 cat > conftest.$ac_ext <<EOF |
12085 #line 12086 "configure" | 12086 #line 12087 "configure" |
12086 #include "confdefs.h" | 12087 #include "confdefs.h" |
12087 /* System header to define __stub macros and hopefully few prototypes, | 12088 /* System header to define __stub macros and hopefully few prototypes, |
12088 which can conflict with char $ac_func(); below. */ | 12089 which can conflict with char $ac_func(); below. */ |
12089 #include <assert.h> | 12090 #include <assert.h> |
12090 /* Override any gcc2 internal prototype to avoid an error. */ | 12091 /* Override any gcc2 internal prototype to avoid an error. */ |
12103 $ac_func(); | 12104 $ac_func(); |
12104 #endif | 12105 #endif |
12105 | 12106 |
12106 ; return 0; } | 12107 ; return 0; } |
12107 EOF | 12108 EOF |
12108 if { (eval echo configure:12109: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12109 if { (eval echo configure:12110: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12109 rm -rf conftest* | 12110 rm -rf conftest* |
12110 eval "ac_cv_func_$ac_func=yes" | 12111 eval "ac_cv_func_$ac_func=yes" |
12111 else | 12112 else |
12112 echo "configure: failed program was:" >&5 | 12113 echo "configure: failed program was:" >&5 |
12113 cat conftest.$ac_ext >&5 | 12114 cat conftest.$ac_ext >&5 |
12131 echo "$ac_t""no" 1>&6 | 12132 echo "$ac_t""no" 1>&6 |
12132 fi | 12133 fi |
12133 done | 12134 done |
12134 | 12135 |
12135 echo $ac_n "checking whether getpgrp takes no argument""... $ac_c" 1>&6 | 12136 echo $ac_n "checking whether getpgrp takes no argument""... $ac_c" 1>&6 |
12136 echo "configure:12137: checking whether getpgrp takes no argument" >&5 | 12137 echo "configure:12138: checking whether getpgrp takes no argument" >&5 |
12137 | 12138 |
12138 cat > conftest.$ac_ext <<EOF | 12139 cat > conftest.$ac_ext <<EOF |
12139 #line 12140 "configure" | 12140 #line 12141 "configure" |
12140 #include "confdefs.h" | 12141 #include "confdefs.h" |
12141 | 12142 |
12142 /* | 12143 /* |
12143 * If this system has a BSD-style getpgrp(), | 12144 * If this system has a BSD-style getpgrp(), |
12144 * which takes a pid argument, exit unsuccessfully. | 12145 * which takes a pid argument, exit unsuccessfully. |
12189 exit(s>>8); | 12190 exit(s>>8); |
12190 } | 12191 } |
12191 } | 12192 } |
12192 | 12193 |
12193 EOF | 12194 EOF |
12194 if { (eval echo configure:12195: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 12195 if { (eval echo configure:12196: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
12195 then | 12196 then |
12196 ac_cv_func_getpgrp_void=yes | 12197 ac_cv_func_getpgrp_void=yes |
12197 else | 12198 else |
12198 conftest_rc="$?" | 12199 conftest_rc="$?" |
12199 echo "configure: failed program was:" >&5 | 12200 echo "configure: failed program was:" >&5 |
12216 | 12217 |
12217 fi | 12218 fi |
12218 | 12219 |
12219 | 12220 |
12220 echo $ac_n "checking for working mmap""... $ac_c" 1>&6 | 12221 echo $ac_n "checking for working mmap""... $ac_c" 1>&6 |
12221 echo "configure:12222: checking for working mmap" >&5 | 12222 echo "configure:12223: checking for working mmap" >&5 |
12222 case "$opsys" in ultrix* ) have_mmap=no ;; *) | 12223 case "$opsys" in ultrix* ) have_mmap=no ;; *) |
12223 cat > conftest.$ac_ext <<EOF | 12224 cat > conftest.$ac_ext <<EOF |
12224 #line 12225 "configure" | 12225 #line 12226 "configure" |
12225 #include "confdefs.h" | 12226 #include "confdefs.h" |
12226 #include <stdio.h> | 12227 #include <stdio.h> |
12227 #include <unistd.h> | 12228 #include <unistd.h> |
12228 #include <fcntl.h> | 12229 #include <fcntl.h> |
12229 #include <sys/mman.h> | 12230 #include <sys/mman.h> |
12252 return 0; | 12253 return 0; |
12253 perror ("conftest: mmap failed"); | 12254 perror ("conftest: mmap failed"); |
12254 return 1; | 12255 return 1; |
12255 } | 12256 } |
12256 EOF | 12257 EOF |
12257 if { (eval echo configure:12258: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 12258 if { (eval echo configure:12259: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
12258 then | 12259 then |
12259 have_mmap=yes | 12260 have_mmap=yes |
12260 else | 12261 else |
12261 conftest_rc="$?" | 12262 conftest_rc="$?" |
12262 echo "configure: failed program was:" >&5 | 12263 echo "configure: failed program was:" >&5 |
12281 esac | 12282 esac |
12282 test "$GNU_MALLOC" != "yes" -a "$have_mmap" != "yes" && rel_alloc=no | 12283 test "$GNU_MALLOC" != "yes" -a "$have_mmap" != "yes" && rel_alloc=no |
12283 if test "$rel_alloc $have_mmap" = "default yes"; then | 12284 if test "$rel_alloc $have_mmap" = "default yes"; then |
12284 if test "$doug_lea_malloc" = "yes"; then | 12285 if test "$doug_lea_malloc" = "yes"; then |
12285 echo $ac_n "checking for M_MMAP_THRESHOLD""... $ac_c" 1>&6 | 12286 echo $ac_n "checking for M_MMAP_THRESHOLD""... $ac_c" 1>&6 |
12286 echo "configure:12287: checking for M_MMAP_THRESHOLD" >&5 | 12287 echo "configure:12288: checking for M_MMAP_THRESHOLD" >&5 |
12287 cat > conftest.$ac_ext <<EOF | 12288 cat > conftest.$ac_ext <<EOF |
12288 #line 12289 "configure" | 12289 #line 12290 "configure" |
12289 #include "confdefs.h" | 12290 #include "confdefs.h" |
12290 #include <malloc.h> | 12291 #include <malloc.h> |
12291 int main() { | 12292 int main() { |
12292 | 12293 |
12293 #ifndef M_MMAP_THRESHOLD | 12294 #ifndef M_MMAP_THRESHOLD |
12295 !@+$%^&*_)(_ - unlikely to compile... | 12296 !@+$%^&*_)(_ - unlikely to compile... |
12296 #endif | 12297 #endif |
12297 | 12298 |
12298 ; return 0; } | 12299 ; return 0; } |
12299 EOF | 12300 EOF |
12300 if { (eval echo configure:12301: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 12301 if { (eval echo configure:12302: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
12301 rm -rf conftest* | 12302 rm -rf conftest* |
12302 rel_alloc=no; echo "$ac_t""yes" 1>&6; | 12303 rel_alloc=no; echo "$ac_t""yes" 1>&6; |
12303 else | 12304 else |
12304 echo "configure: failed program was:" >&5 | 12305 echo "configure: failed program was:" >&5 |
12305 cat conftest.$ac_ext >&5 | 12306 cat conftest.$ac_ext >&5 |
12320 } | 12321 } |
12321 | 12322 |
12322 | 12323 |
12323 ac_safe=`echo "termios.h" | sed 'y%./+-%__p_%'` | 12324 ac_safe=`echo "termios.h" | sed 'y%./+-%__p_%'` |
12324 echo $ac_n "checking for termios.h""... $ac_c" 1>&6 | 12325 echo $ac_n "checking for termios.h""... $ac_c" 1>&6 |
12325 echo "configure:12326: checking for termios.h" >&5 | 12326 echo "configure:12327: checking for termios.h" >&5 |
12326 | 12327 |
12327 cat > conftest.$ac_ext <<EOF | 12328 cat > conftest.$ac_ext <<EOF |
12328 #line 12329 "configure" | 12329 #line 12330 "configure" |
12329 #include "confdefs.h" | 12330 #include "confdefs.h" |
12330 #include <termios.h> | 12331 #include <termios.h> |
12331 EOF | 12332 EOF |
12332 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12333 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
12333 { (eval echo configure:12334: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12334 { (eval echo configure:12335: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
12334 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12335 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
12335 if test -z "$ac_err"; then | 12336 if test -z "$ac_err"; then |
12336 rm -rf conftest* | 12337 rm -rf conftest* |
12337 eval "ac_cv_header_$ac_safe=yes" | 12338 eval "ac_cv_header_$ac_safe=yes" |
12338 else | 12339 else |
12371 | 12372 |
12372 else | 12373 else |
12373 echo "$ac_t""no" 1>&6 | 12374 echo "$ac_t""no" 1>&6 |
12374 ac_safe=`echo "termio.h" | sed 'y%./+-%__p_%'` | 12375 ac_safe=`echo "termio.h" | sed 'y%./+-%__p_%'` |
12375 echo $ac_n "checking for termio.h""... $ac_c" 1>&6 | 12376 echo $ac_n "checking for termio.h""... $ac_c" 1>&6 |
12376 echo "configure:12377: checking for termio.h" >&5 | 12377 echo "configure:12378: checking for termio.h" >&5 |
12377 | 12378 |
12378 cat > conftest.$ac_ext <<EOF | 12379 cat > conftest.$ac_ext <<EOF |
12379 #line 12380 "configure" | 12380 #line 12381 "configure" |
12380 #include "confdefs.h" | 12381 #include "confdefs.h" |
12381 #include <termio.h> | 12382 #include <termio.h> |
12382 EOF | 12383 EOF |
12383 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12384 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
12384 { (eval echo configure:12385: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12385 { (eval echo configure:12386: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
12385 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12386 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
12386 if test -z "$ac_err"; then | 12387 if test -z "$ac_err"; then |
12387 rm -rf conftest* | 12388 rm -rf conftest* |
12388 eval "ac_cv_header_$ac_safe=yes" | 12389 eval "ac_cv_header_$ac_safe=yes" |
12389 else | 12390 else |
12411 fi | 12412 fi |
12412 | 12413 |
12413 | 12414 |
12414 | 12415 |
12415 echo $ac_n "checking for socket""... $ac_c" 1>&6 | 12416 echo $ac_n "checking for socket""... $ac_c" 1>&6 |
12416 echo "configure:12417: checking for socket" >&5 | 12417 echo "configure:12418: checking for socket" >&5 |
12417 | 12418 |
12418 cat > conftest.$ac_ext <<EOF | 12419 cat > conftest.$ac_ext <<EOF |
12419 #line 12420 "configure" | 12420 #line 12421 "configure" |
12420 #include "confdefs.h" | 12421 #include "confdefs.h" |
12421 /* System header to define __stub macros and hopefully few prototypes, | 12422 /* System header to define __stub macros and hopefully few prototypes, |
12422 which can conflict with char socket(); below. */ | 12423 which can conflict with char socket(); below. */ |
12423 #include <assert.h> | 12424 #include <assert.h> |
12424 /* Override any gcc2 internal prototype to avoid an error. */ | 12425 /* Override any gcc2 internal prototype to avoid an error. */ |
12437 socket(); | 12438 socket(); |
12438 #endif | 12439 #endif |
12439 | 12440 |
12440 ; return 0; } | 12441 ; return 0; } |
12441 EOF | 12442 EOF |
12442 if { (eval echo configure:12443: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12443 if { (eval echo configure:12444: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12443 rm -rf conftest* | 12444 rm -rf conftest* |
12444 eval "ac_cv_func_socket=yes" | 12445 eval "ac_cv_func_socket=yes" |
12445 else | 12446 else |
12446 echo "configure: failed program was:" >&5 | 12447 echo "configure: failed program was:" >&5 |
12447 cat conftest.$ac_ext >&5 | 12448 cat conftest.$ac_ext >&5 |
12452 | 12453 |
12453 if eval "test \"`echo '$ac_cv_func_'socket`\" = yes"; then | 12454 if eval "test \"`echo '$ac_cv_func_'socket`\" = yes"; then |
12454 echo "$ac_t""yes" 1>&6 | 12455 echo "$ac_t""yes" 1>&6 |
12455 ac_safe=`echo "netinet/in.h" | sed 'y%./+-%__p_%'` | 12456 ac_safe=`echo "netinet/in.h" | sed 'y%./+-%__p_%'` |
12456 echo $ac_n "checking for netinet/in.h""... $ac_c" 1>&6 | 12457 echo $ac_n "checking for netinet/in.h""... $ac_c" 1>&6 |
12457 echo "configure:12458: checking for netinet/in.h" >&5 | 12458 echo "configure:12459: checking for netinet/in.h" >&5 |
12458 | 12459 |
12459 cat > conftest.$ac_ext <<EOF | 12460 cat > conftest.$ac_ext <<EOF |
12460 #line 12461 "configure" | 12461 #line 12462 "configure" |
12461 #include "confdefs.h" | 12462 #include "confdefs.h" |
12462 #include <netinet/in.h> | 12463 #include <netinet/in.h> |
12463 EOF | 12464 EOF |
12464 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12465 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
12465 { (eval echo configure:12466: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12466 { (eval echo configure:12467: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
12466 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12467 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
12467 if test -z "$ac_err"; then | 12468 if test -z "$ac_err"; then |
12468 rm -rf conftest* | 12469 rm -rf conftest* |
12469 eval "ac_cv_header_$ac_safe=yes" | 12470 eval "ac_cv_header_$ac_safe=yes" |
12470 else | 12471 else |
12477 rm -f conftest* | 12478 rm -f conftest* |
12478 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 12479 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
12479 echo "$ac_t""yes" 1>&6 | 12480 echo "$ac_t""yes" 1>&6 |
12480 ac_safe=`echo "arpa/inet.h" | sed 'y%./+-%__p_%'` | 12481 ac_safe=`echo "arpa/inet.h" | sed 'y%./+-%__p_%'` |
12481 echo $ac_n "checking for arpa/inet.h""... $ac_c" 1>&6 | 12482 echo $ac_n "checking for arpa/inet.h""... $ac_c" 1>&6 |
12482 echo "configure:12483: checking for arpa/inet.h" >&5 | 12483 echo "configure:12484: checking for arpa/inet.h" >&5 |
12483 | 12484 |
12484 cat > conftest.$ac_ext <<EOF | 12485 cat > conftest.$ac_ext <<EOF |
12485 #line 12486 "configure" | 12486 #line 12487 "configure" |
12486 #include "confdefs.h" | 12487 #include "confdefs.h" |
12487 #include <arpa/inet.h> | 12488 #include <arpa/inet.h> |
12488 EOF | 12489 EOF |
12489 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12490 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
12490 { (eval echo configure:12491: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12491 { (eval echo configure:12492: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
12491 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12492 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
12492 if test -z "$ac_err"; then | 12493 if test -z "$ac_err"; then |
12493 rm -rf conftest* | 12494 rm -rf conftest* |
12494 eval "ac_cv_header_$ac_safe=yes" | 12495 eval "ac_cv_header_$ac_safe=yes" |
12495 else | 12496 else |
12510 #define HAVE_SOCKETS 1 | 12511 #define HAVE_SOCKETS 1 |
12511 EOF | 12512 EOF |
12512 } | 12513 } |
12513 | 12514 |
12514 echo $ac_n "checking "for sun_len member in struct sockaddr_un"""... $ac_c" 1>&6 | 12515 echo $ac_n "checking "for sun_len member in struct sockaddr_un"""... $ac_c" 1>&6 |
12515 echo "configure:12516: checking "for sun_len member in struct sockaddr_un"" >&5 | 12516 echo "configure:12517: checking "for sun_len member in struct sockaddr_un"" >&5 |
12516 cat > conftest.$ac_ext <<EOF | 12517 cat > conftest.$ac_ext <<EOF |
12517 #line 12518 "configure" | 12518 #line 12519 "configure" |
12518 #include "confdefs.h" | 12519 #include "confdefs.h" |
12519 | 12520 |
12520 #include <sys/types.h> | 12521 #include <sys/types.h> |
12521 #include <sys/socket.h> | 12522 #include <sys/socket.h> |
12522 #include <sys/un.h> | 12523 #include <sys/un.h> |
12523 | 12524 |
12524 int main() { | 12525 int main() { |
12525 static struct sockaddr_un x; x.sun_len = 1; | 12526 static struct sockaddr_un x; x.sun_len = 1; |
12526 ; return 0; } | 12527 ; return 0; } |
12527 EOF | 12528 EOF |
12528 if { (eval echo configure:12529: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12529 if { (eval echo configure:12530: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12529 rm -rf conftest* | 12530 rm -rf conftest* |
12530 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF | 12531 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF |
12531 Defining HAVE_SOCKADDR_SUN_LEN | 12532 Defining HAVE_SOCKADDR_SUN_LEN |
12532 EOF | 12533 EOF |
12533 cat >> confdefs.h <<\EOF | 12534 cat >> confdefs.h <<\EOF |
12541 rm -rf conftest* | 12542 rm -rf conftest* |
12542 echo "$ac_t""no" 1>&6 | 12543 echo "$ac_t""no" 1>&6 |
12543 fi | 12544 fi |
12544 rm -f conftest* | 12545 rm -f conftest* |
12545 echo $ac_n "checking "for ip_mreq struct in netinet/in.h"""... $ac_c" 1>&6 | 12546 echo $ac_n "checking "for ip_mreq struct in netinet/in.h"""... $ac_c" 1>&6 |
12546 echo "configure:12547: checking "for ip_mreq struct in netinet/in.h"" >&5 | 12547 echo "configure:12548: checking "for ip_mreq struct in netinet/in.h"" >&5 |
12547 cat > conftest.$ac_ext <<EOF | 12548 cat > conftest.$ac_ext <<EOF |
12548 #line 12549 "configure" | 12549 #line 12550 "configure" |
12549 #include "confdefs.h" | 12550 #include "confdefs.h" |
12550 | 12551 |
12551 #include <sys/types.h> | 12552 #include <sys/types.h> |
12552 #include <netinet/in.h> | 12553 #include <netinet/in.h> |
12553 | 12554 |
12554 int main() { | 12555 int main() { |
12555 static struct ip_mreq x; | 12556 static struct ip_mreq x; |
12556 ; return 0; } | 12557 ; return 0; } |
12557 EOF | 12558 EOF |
12558 if { (eval echo configure:12559: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12559 if { (eval echo configure:12560: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12559 rm -rf conftest* | 12560 rm -rf conftest* |
12560 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF | 12561 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF |
12561 Defining HAVE_MULTICAST | 12562 Defining HAVE_MULTICAST |
12562 EOF | 12563 EOF |
12563 cat >> confdefs.h <<\EOF | 12564 cat >> confdefs.h <<\EOF |
12584 echo "$ac_t""no" 1>&6 | 12585 echo "$ac_t""no" 1>&6 |
12585 fi | 12586 fi |
12586 | 12587 |
12587 | 12588 |
12588 echo $ac_n "checking for msgget""... $ac_c" 1>&6 | 12589 echo $ac_n "checking for msgget""... $ac_c" 1>&6 |
12589 echo "configure:12590: checking for msgget" >&5 | 12590 echo "configure:12591: checking for msgget" >&5 |
12590 | 12591 |
12591 cat > conftest.$ac_ext <<EOF | 12592 cat > conftest.$ac_ext <<EOF |
12592 #line 12593 "configure" | 12593 #line 12594 "configure" |
12593 #include "confdefs.h" | 12594 #include "confdefs.h" |
12594 /* System header to define __stub macros and hopefully few prototypes, | 12595 /* System header to define __stub macros and hopefully few prototypes, |
12595 which can conflict with char msgget(); below. */ | 12596 which can conflict with char msgget(); below. */ |
12596 #include <assert.h> | 12597 #include <assert.h> |
12597 /* Override any gcc2 internal prototype to avoid an error. */ | 12598 /* Override any gcc2 internal prototype to avoid an error. */ |
12610 msgget(); | 12611 msgget(); |
12611 #endif | 12612 #endif |
12612 | 12613 |
12613 ; return 0; } | 12614 ; return 0; } |
12614 EOF | 12615 EOF |
12615 if { (eval echo configure:12616: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12616 if { (eval echo configure:12617: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12616 rm -rf conftest* | 12617 rm -rf conftest* |
12617 eval "ac_cv_func_msgget=yes" | 12618 eval "ac_cv_func_msgget=yes" |
12618 else | 12619 else |
12619 echo "configure: failed program was:" >&5 | 12620 echo "configure: failed program was:" >&5 |
12620 cat conftest.$ac_ext >&5 | 12621 cat conftest.$ac_ext >&5 |
12625 | 12626 |
12626 if eval "test \"`echo '$ac_cv_func_'msgget`\" = yes"; then | 12627 if eval "test \"`echo '$ac_cv_func_'msgget`\" = yes"; then |
12627 echo "$ac_t""yes" 1>&6 | 12628 echo "$ac_t""yes" 1>&6 |
12628 ac_safe=`echo "sys/ipc.h" | sed 'y%./+-%__p_%'` | 12629 ac_safe=`echo "sys/ipc.h" | sed 'y%./+-%__p_%'` |
12629 echo $ac_n "checking for sys/ipc.h""... $ac_c" 1>&6 | 12630 echo $ac_n "checking for sys/ipc.h""... $ac_c" 1>&6 |
12630 echo "configure:12631: checking for sys/ipc.h" >&5 | 12631 echo "configure:12632: checking for sys/ipc.h" >&5 |
12631 | 12632 |
12632 cat > conftest.$ac_ext <<EOF | 12633 cat > conftest.$ac_ext <<EOF |
12633 #line 12634 "configure" | 12634 #line 12635 "configure" |
12634 #include "confdefs.h" | 12635 #include "confdefs.h" |
12635 #include <sys/ipc.h> | 12636 #include <sys/ipc.h> |
12636 EOF | 12637 EOF |
12637 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12638 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
12638 { (eval echo configure:12639: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12639 { (eval echo configure:12640: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
12639 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12640 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
12640 if test -z "$ac_err"; then | 12641 if test -z "$ac_err"; then |
12641 rm -rf conftest* | 12642 rm -rf conftest* |
12642 eval "ac_cv_header_$ac_safe=yes" | 12643 eval "ac_cv_header_$ac_safe=yes" |
12643 else | 12644 else |
12650 rm -f conftest* | 12651 rm -f conftest* |
12651 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 12652 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
12652 echo "$ac_t""yes" 1>&6 | 12653 echo "$ac_t""yes" 1>&6 |
12653 ac_safe=`echo "sys/msg.h" | sed 'y%./+-%__p_%'` | 12654 ac_safe=`echo "sys/msg.h" | sed 'y%./+-%__p_%'` |
12654 echo $ac_n "checking for sys/msg.h""... $ac_c" 1>&6 | 12655 echo $ac_n "checking for sys/msg.h""... $ac_c" 1>&6 |
12655 echo "configure:12656: checking for sys/msg.h" >&5 | 12656 echo "configure:12657: checking for sys/msg.h" >&5 |
12656 | 12657 |
12657 cat > conftest.$ac_ext <<EOF | 12658 cat > conftest.$ac_ext <<EOF |
12658 #line 12659 "configure" | 12659 #line 12660 "configure" |
12659 #include "confdefs.h" | 12660 #include "confdefs.h" |
12660 #include <sys/msg.h> | 12661 #include <sys/msg.h> |
12661 EOF | 12662 EOF |
12662 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12663 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
12663 { (eval echo configure:12664: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12664 { (eval echo configure:12665: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
12664 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12665 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
12665 if test -z "$ac_err"; then | 12666 if test -z "$ac_err"; then |
12666 rm -rf conftest* | 12667 rm -rf conftest* |
12667 eval "ac_cv_header_$ac_safe=yes" | 12668 eval "ac_cv_header_$ac_safe=yes" |
12668 else | 12669 else |
12696 fi | 12697 fi |
12697 | 12698 |
12698 | 12699 |
12699 ac_safe=`echo "dirent.h" | sed 'y%./+-%__p_%'` | 12700 ac_safe=`echo "dirent.h" | sed 'y%./+-%__p_%'` |
12700 echo $ac_n "checking for dirent.h""... $ac_c" 1>&6 | 12701 echo $ac_n "checking for dirent.h""... $ac_c" 1>&6 |
12701 echo "configure:12702: checking for dirent.h" >&5 | 12702 echo "configure:12703: checking for dirent.h" >&5 |
12702 | 12703 |
12703 cat > conftest.$ac_ext <<EOF | 12704 cat > conftest.$ac_ext <<EOF |
12704 #line 12705 "configure" | 12705 #line 12706 "configure" |
12705 #include "confdefs.h" | 12706 #include "confdefs.h" |
12706 #include <dirent.h> | 12707 #include <dirent.h> |
12707 EOF | 12708 EOF |
12708 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12709 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
12709 { (eval echo configure:12710: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12710 { (eval echo configure:12711: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
12710 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12711 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
12711 if test -z "$ac_err"; then | 12712 if test -z "$ac_err"; then |
12712 rm -rf conftest* | 12713 rm -rf conftest* |
12713 eval "ac_cv_header_$ac_safe=yes" | 12714 eval "ac_cv_header_$ac_safe=yes" |
12714 else | 12715 else |
12731 | 12732 |
12732 else | 12733 else |
12733 echo "$ac_t""no" 1>&6 | 12734 echo "$ac_t""no" 1>&6 |
12734 ac_safe=`echo "sys/dir.h" | sed 'y%./+-%__p_%'` | 12735 ac_safe=`echo "sys/dir.h" | sed 'y%./+-%__p_%'` |
12735 echo $ac_n "checking for sys/dir.h""... $ac_c" 1>&6 | 12736 echo $ac_n "checking for sys/dir.h""... $ac_c" 1>&6 |
12736 echo "configure:12737: checking for sys/dir.h" >&5 | 12737 echo "configure:12738: checking for sys/dir.h" >&5 |
12737 | 12738 |
12738 cat > conftest.$ac_ext <<EOF | 12739 cat > conftest.$ac_ext <<EOF |
12739 #line 12740 "configure" | 12740 #line 12741 "configure" |
12740 #include "confdefs.h" | 12741 #include "confdefs.h" |
12741 #include <sys/dir.h> | 12742 #include <sys/dir.h> |
12742 EOF | 12743 EOF |
12743 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12744 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
12744 { (eval echo configure:12745: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12745 { (eval echo configure:12746: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
12745 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12746 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
12746 if test -z "$ac_err"; then | 12747 if test -z "$ac_err"; then |
12747 rm -rf conftest* | 12748 rm -rf conftest* |
12748 eval "ac_cv_header_$ac_safe=yes" | 12749 eval "ac_cv_header_$ac_safe=yes" |
12749 else | 12750 else |
12772 fi | 12773 fi |
12773 | 12774 |
12774 | 12775 |
12775 ac_safe=`echo "nlist.h" | sed 'y%./+-%__p_%'` | 12776 ac_safe=`echo "nlist.h" | sed 'y%./+-%__p_%'` |
12776 echo $ac_n "checking for nlist.h""... $ac_c" 1>&6 | 12777 echo $ac_n "checking for nlist.h""... $ac_c" 1>&6 |
12777 echo "configure:12778: checking for nlist.h" >&5 | 12778 echo "configure:12779: checking for nlist.h" >&5 |
12778 | 12779 |
12779 cat > conftest.$ac_ext <<EOF | 12780 cat > conftest.$ac_ext <<EOF |
12780 #line 12781 "configure" | 12781 #line 12782 "configure" |
12781 #include "confdefs.h" | 12782 #include "confdefs.h" |
12782 #include <nlist.h> | 12783 #include <nlist.h> |
12783 EOF | 12784 EOF |
12784 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12785 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
12785 { (eval echo configure:12786: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12786 { (eval echo configure:12787: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
12786 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12787 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
12787 if test -z "$ac_err"; then | 12788 if test -z "$ac_err"; then |
12788 rm -rf conftest* | 12789 rm -rf conftest* |
12789 eval "ac_cv_header_$ac_safe=yes" | 12790 eval "ac_cv_header_$ac_safe=yes" |
12790 else | 12791 else |
12810 fi | 12811 fi |
12811 | 12812 |
12812 | 12813 |
12813 | 12814 |
12814 echo "checking "for sound support"" 1>&6 | 12815 echo "checking "for sound support"" 1>&6 |
12815 echo "configure:12816: checking "for sound support"" >&5 | 12816 echo "configure:12817: checking "for sound support"" >&5 |
12816 test -z "$with_native_sound" -a -n "$native_sound_lib" && with_native_sound=yes | 12817 test -z "$with_native_sound" -a -n "$native_sound_lib" && with_native_sound=yes |
12817 | 12818 |
12818 if test "$with_native_sound" != "no"; then | 12819 if test "$with_native_sound" != "no"; then |
12819 if test -n "$native_sound_lib"; then | 12820 if test -n "$native_sound_lib"; then |
12820 ac_safe=`echo "multimedia/audio_device.h" | sed 'y%./+-%__p_%'` | 12821 ac_safe=`echo "multimedia/audio_device.h" | sed 'y%./+-%__p_%'` |
12821 echo $ac_n "checking for multimedia/audio_device.h""... $ac_c" 1>&6 | 12822 echo $ac_n "checking for multimedia/audio_device.h""... $ac_c" 1>&6 |
12822 echo "configure:12823: checking for multimedia/audio_device.h" >&5 | 12823 echo "configure:12824: checking for multimedia/audio_device.h" >&5 |
12823 | 12824 |
12824 cat > conftest.$ac_ext <<EOF | 12825 cat > conftest.$ac_ext <<EOF |
12825 #line 12826 "configure" | 12826 #line 12827 "configure" |
12826 #include "confdefs.h" | 12827 #include "confdefs.h" |
12827 #include <multimedia/audio_device.h> | 12828 #include <multimedia/audio_device.h> |
12828 EOF | 12829 EOF |
12829 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12830 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
12830 { (eval echo configure:12831: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12831 { (eval echo configure:12832: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
12831 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12832 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
12832 if test -z "$ac_err"; then | 12833 if test -z "$ac_err"; then |
12833 rm -rf conftest* | 12834 rm -rf conftest* |
12834 eval "ac_cv_header_$ac_safe=yes" | 12835 eval "ac_cv_header_$ac_safe=yes" |
12835 else | 12836 else |
12873 case "$canonical" in | 12874 case "$canonical" in |
12874 *-sgi-* ) | 12875 *-sgi-* ) |
12875 if test -z "$native_sound_lib"; then | 12876 if test -z "$native_sound_lib"; then |
12876 | 12877 |
12877 echo $ac_n "checking for ALopenport in -laudio""... $ac_c" 1>&6 | 12878 echo $ac_n "checking for ALopenport in -laudio""... $ac_c" 1>&6 |
12878 echo "configure:12879: checking for ALopenport in -laudio" >&5 | 12879 echo "configure:12880: checking for ALopenport in -laudio" >&5 |
12879 ac_lib_var=`echo audio'_'ALopenport | sed 'y%./+-%__p_%'` | 12880 ac_lib_var=`echo audio'_'ALopenport | sed 'y%./+-%__p_%'` |
12880 | 12881 |
12881 xe_check_libs=" -laudio " | 12882 xe_check_libs=" -laudio " |
12882 cat > conftest.$ac_ext <<EOF | 12883 cat > conftest.$ac_ext <<EOF |
12883 #line 12884 "configure" | 12884 #line 12885 "configure" |
12884 #include "confdefs.h" | 12885 #include "confdefs.h" |
12885 /* Override any gcc2 internal prototype to avoid an error. */ | 12886 /* Override any gcc2 internal prototype to avoid an error. */ |
12886 /* We use char because int might match the return type of a gcc2 | 12887 /* We use char because int might match the return type of a gcc2 |
12887 builtin and then its argument prototype would still apply. */ | 12888 builtin and then its argument prototype would still apply. */ |
12888 char ALopenport(); | 12889 char ALopenport(); |
12889 | 12890 |
12890 int main() { | 12891 int main() { |
12891 ALopenport() | 12892 ALopenport() |
12892 ; return 0; } | 12893 ; return 0; } |
12893 EOF | 12894 EOF |
12894 if { (eval echo configure:12895: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12895 if { (eval echo configure:12896: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12895 rm -rf conftest* | 12896 rm -rf conftest* |
12896 eval "ac_cv_lib_$ac_lib_var=yes" | 12897 eval "ac_cv_lib_$ac_lib_var=yes" |
12897 else | 12898 else |
12898 echo "configure: failed program was:" >&5 | 12899 echo "configure: failed program was:" >&5 |
12899 cat conftest.$ac_ext >&5 | 12900 cat conftest.$ac_ext >&5 |
12920 fi ;; | 12921 fi ;; |
12921 hppa*-hp-hpux* ) | 12922 hppa*-hp-hpux* ) |
12922 if test -z "$native_sound_lib"; then | 12923 if test -z "$native_sound_lib"; then |
12923 | 12924 |
12924 echo $ac_n "checking for AOpenAudio in -lAlib""... $ac_c" 1>&6 | 12925 echo $ac_n "checking for AOpenAudio in -lAlib""... $ac_c" 1>&6 |
12925 echo "configure:12926: checking for AOpenAudio in -lAlib" >&5 | 12926 echo "configure:12927: checking for AOpenAudio in -lAlib" >&5 |
12926 ac_lib_var=`echo Alib'_'AOpenAudio | sed 'y%./+-%__p_%'` | 12927 ac_lib_var=`echo Alib'_'AOpenAudio | sed 'y%./+-%__p_%'` |
12927 | 12928 |
12928 xe_check_libs=" -lAlib " | 12929 xe_check_libs=" -lAlib " |
12929 cat > conftest.$ac_ext <<EOF | 12930 cat > conftest.$ac_ext <<EOF |
12930 #line 12931 "configure" | 12931 #line 12932 "configure" |
12931 #include "confdefs.h" | 12932 #include "confdefs.h" |
12932 /* Override any gcc2 internal prototype to avoid an error. */ | 12933 /* Override any gcc2 internal prototype to avoid an error. */ |
12933 /* We use char because int might match the return type of a gcc2 | 12934 /* We use char because int might match the return type of a gcc2 |
12934 builtin and then its argument prototype would still apply. */ | 12935 builtin and then its argument prototype would still apply. */ |
12935 char AOpenAudio(); | 12936 char AOpenAudio(); |
12936 | 12937 |
12937 int main() { | 12938 int main() { |
12938 AOpenAudio() | 12939 AOpenAudio() |
12939 ; return 0; } | 12940 ; return 0; } |
12940 EOF | 12941 EOF |
12941 if { (eval echo configure:12942: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12942 if { (eval echo configure:12943: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12942 rm -rf conftest* | 12943 rm -rf conftest* |
12943 eval "ac_cv_lib_$ac_lib_var=yes" | 12944 eval "ac_cv_lib_$ac_lib_var=yes" |
12944 else | 12945 else |
12945 echo "configure: failed program was:" >&5 | 12946 echo "configure: failed program was:" >&5 |
12946 cat conftest.$ac_ext >&5 | 12947 cat conftest.$ac_ext >&5 |
12974 | 12975 |
12975 if test -z "$sound_found"; then | 12976 if test -z "$sound_found"; then |
12976 for dir in "machine" "sys" "linux"; do | 12977 for dir in "machine" "sys" "linux"; do |
12977 ac_safe=`echo "${dir}/soundcard.h" | sed 'y%./+-%__p_%'` | 12978 ac_safe=`echo "${dir}/soundcard.h" | sed 'y%./+-%__p_%'` |
12978 echo $ac_n "checking for ${dir}/soundcard.h""... $ac_c" 1>&6 | 12979 echo $ac_n "checking for ${dir}/soundcard.h""... $ac_c" 1>&6 |
12979 echo "configure:12980: checking for ${dir}/soundcard.h" >&5 | 12980 echo "configure:12981: checking for ${dir}/soundcard.h" >&5 |
12980 | 12981 |
12981 cat > conftest.$ac_ext <<EOF | 12982 cat > conftest.$ac_ext <<EOF |
12982 #line 12983 "configure" | 12983 #line 12984 "configure" |
12983 #include "confdefs.h" | 12984 #include "confdefs.h" |
12984 #include <${dir}/soundcard.h> | 12985 #include <${dir}/soundcard.h> |
12985 EOF | 12986 EOF |
12986 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12987 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
12987 { (eval echo configure:12988: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12988 { (eval echo configure:12989: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
12988 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12989 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
12989 if test -z "$ac_err"; then | 12990 if test -z "$ac_err"; then |
12990 rm -rf conftest* | 12991 rm -rf conftest* |
12991 eval "ac_cv_header_$ac_safe=yes" | 12992 eval "ac_cv_header_$ac_safe=yes" |
12992 else | 12993 else |
13043 fi | 13044 fi |
13044 | 13045 |
13045 if test "$with_nas_sound" != "no"; then | 13046 if test "$with_nas_sound" != "no"; then |
13046 ac_safe=`echo "audio/audiolib.h" | sed 'y%./+-%__p_%'` | 13047 ac_safe=`echo "audio/audiolib.h" | sed 'y%./+-%__p_%'` |
13047 echo $ac_n "checking for audio/audiolib.h""... $ac_c" 1>&6 | 13048 echo $ac_n "checking for audio/audiolib.h""... $ac_c" 1>&6 |
13048 echo "configure:13049: checking for audio/audiolib.h" >&5 | 13049 echo "configure:13050: checking for audio/audiolib.h" >&5 |
13049 | 13050 |
13050 cat > conftest.$ac_ext <<EOF | 13051 cat > conftest.$ac_ext <<EOF |
13051 #line 13052 "configure" | 13052 #line 13053 "configure" |
13052 #include "confdefs.h" | 13053 #include "confdefs.h" |
13053 #include <audio/audiolib.h> | 13054 #include <audio/audiolib.h> |
13054 EOF | 13055 EOF |
13055 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 13056 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
13056 { (eval echo configure:13057: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 13057 { (eval echo configure:13058: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
13057 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 13058 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
13058 if test -z "$ac_err"; then | 13059 if test -z "$ac_err"; then |
13059 rm -rf conftest* | 13060 rm -rf conftest* |
13060 eval "ac_cv_header_$ac_safe=yes" | 13061 eval "ac_cv_header_$ac_safe=yes" |
13061 else | 13062 else |
13069 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 13070 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
13070 echo "$ac_t""yes" 1>&6 | 13071 echo "$ac_t""yes" 1>&6 |
13071 | 13072 |
13072 | 13073 |
13073 echo $ac_n "checking for AuOpenServer in -laudio""... $ac_c" 1>&6 | 13074 echo $ac_n "checking for AuOpenServer in -laudio""... $ac_c" 1>&6 |
13074 echo "configure:13075: checking for AuOpenServer in -laudio" >&5 | 13075 echo "configure:13076: checking for AuOpenServer in -laudio" >&5 |
13075 ac_lib_var=`echo audio'_'AuOpenServer | sed 'y%./+-%__p_%'` | 13076 ac_lib_var=`echo audio'_'AuOpenServer | sed 'y%./+-%__p_%'` |
13076 | 13077 |
13077 xe_check_libs=" -laudio " | 13078 xe_check_libs=" -laudio " |
13078 cat > conftest.$ac_ext <<EOF | 13079 cat > conftest.$ac_ext <<EOF |
13079 #line 13080 "configure" | 13080 #line 13081 "configure" |
13080 #include "confdefs.h" | 13081 #include "confdefs.h" |
13081 /* Override any gcc2 internal prototype to avoid an error. */ | 13082 /* Override any gcc2 internal prototype to avoid an error. */ |
13082 /* We use char because int might match the return type of a gcc2 | 13083 /* We use char because int might match the return type of a gcc2 |
13083 builtin and then its argument prototype would still apply. */ | 13084 builtin and then its argument prototype would still apply. */ |
13084 char AuOpenServer(); | 13085 char AuOpenServer(); |
13085 | 13086 |
13086 int main() { | 13087 int main() { |
13087 AuOpenServer() | 13088 AuOpenServer() |
13088 ; return 0; } | 13089 ; return 0; } |
13089 EOF | 13090 EOF |
13090 if { (eval echo configure:13091: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13091 if { (eval echo configure:13092: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
13091 rm -rf conftest* | 13092 rm -rf conftest* |
13092 eval "ac_cv_lib_$ac_lib_var=yes" | 13093 eval "ac_cv_lib_$ac_lib_var=yes" |
13093 else | 13094 else |
13094 echo "configure: failed program was:" >&5 | 13095 echo "configure: failed program was:" >&5 |
13095 cat conftest.$ac_ext >&5 | 13096 cat conftest.$ac_ext >&5 |
13124 extra_objs="$extra_objs nas.o" && if test "$extra_verbose" = "yes"; then | 13125 extra_objs="$extra_objs nas.o" && if test "$extra_verbose" = "yes"; then |
13125 echo " xemacs will be linked with \"nas.o\"" | 13126 echo " xemacs will be linked with \"nas.o\"" |
13126 fi | 13127 fi |
13127 libs_x="-laudio $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-laudio\" to \$libs_x"; fi | 13128 libs_x="-laudio $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-laudio\" to \$libs_x"; fi |
13128 cat > conftest.$ac_ext <<EOF | 13129 cat > conftest.$ac_ext <<EOF |
13129 #line 13130 "configure" | 13130 #line 13131 "configure" |
13130 #include "confdefs.h" | 13131 #include "confdefs.h" |
13131 #include <audio/Xtutil.h> | 13132 #include <audio/Xtutil.h> |
13132 EOF | 13133 EOF |
13133 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 13134 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
13134 egrep "AuXtErrorJump" >/dev/null 2>&1; then | 13135 egrep "AuXtErrorJump" >/dev/null 2>&1; then |
13155 | 13156 |
13156 if test "$with_esd_sound" != "no"; then | 13157 if test "$with_esd_sound" != "no"; then |
13157 # Extract the first word of "esd-config", so it can be a program name with args. | 13158 # Extract the first word of "esd-config", so it can be a program name with args. |
13158 set dummy esd-config; ac_word=$2 | 13159 set dummy esd-config; ac_word=$2 |
13159 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 13160 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
13160 echo "configure:13161: checking for $ac_word" >&5 | 13161 echo "configure:13162: checking for $ac_word" >&5 |
13161 | 13162 |
13162 if test -n "$have_esd_config"; then | 13163 if test -n "$have_esd_config"; then |
13163 ac_cv_prog_have_esd_config="$have_esd_config" # Let the user override the test. | 13164 ac_cv_prog_have_esd_config="$have_esd_config" # Let the user override the test. |
13164 else | 13165 else |
13165 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | 13166 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
13184 if test "$have_esd_config" = "yes"; then | 13185 if test "$have_esd_config" = "yes"; then |
13185 save_c_switch_site="$c_switch_site" save_LIBS="$LIBS" | 13186 save_c_switch_site="$c_switch_site" save_LIBS="$LIBS" |
13186 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 | 13187 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 |
13187 LIBS="`esd-config --libs` $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"`esd-config --libs`\" to \$LIBS"; fi | 13188 LIBS="`esd-config --libs` $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"`esd-config --libs`\" to \$LIBS"; fi |
13188 echo $ac_n "checking for esd_play_stream""... $ac_c" 1>&6 | 13189 echo $ac_n "checking for esd_play_stream""... $ac_c" 1>&6 |
13189 echo "configure:13190: checking for esd_play_stream" >&5 | 13190 echo "configure:13191: checking for esd_play_stream" >&5 |
13190 | 13191 |
13191 cat > conftest.$ac_ext <<EOF | 13192 cat > conftest.$ac_ext <<EOF |
13192 #line 13193 "configure" | 13193 #line 13194 "configure" |
13193 #include "confdefs.h" | 13194 #include "confdefs.h" |
13194 /* System header to define __stub macros and hopefully few prototypes, | 13195 /* System header to define __stub macros and hopefully few prototypes, |
13195 which can conflict with char esd_play_stream(); below. */ | 13196 which can conflict with char esd_play_stream(); below. */ |
13196 #include <assert.h> | 13197 #include <assert.h> |
13197 /* Override any gcc2 internal prototype to avoid an error. */ | 13198 /* Override any gcc2 internal prototype to avoid an error. */ |
13210 esd_play_stream(); | 13211 esd_play_stream(); |
13211 #endif | 13212 #endif |
13212 | 13213 |
13213 ; return 0; } | 13214 ; return 0; } |
13214 EOF | 13215 EOF |
13215 if { (eval echo configure:13216: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13216 if { (eval echo configure:13217: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
13216 rm -rf conftest* | 13217 rm -rf conftest* |
13217 eval "ac_cv_func_esd_play_stream=yes" | 13218 eval "ac_cv_func_esd_play_stream=yes" |
13218 else | 13219 else |
13219 echo "configure: failed program was:" >&5 | 13220 echo "configure: failed program was:" >&5 |
13220 cat conftest.$ac_ext >&5 | 13221 cat conftest.$ac_ext >&5 |
13261 | 13262 |
13262 test -z "$with_tty" && with_tty=yes | 13263 test -z "$with_tty" && with_tty=yes |
13263 | 13264 |
13264 if test "$with_tty" = "yes" ; then | 13265 if test "$with_tty" = "yes" ; then |
13265 echo "checking for TTY-related features" 1>&6 | 13266 echo "checking for TTY-related features" 1>&6 |
13266 echo "configure:13267: checking for TTY-related features" >&5 | 13267 echo "configure:13268: checking for TTY-related features" >&5 |
13267 { test "$extra_verbose" = "yes" && cat << \EOF | 13268 { test "$extra_verbose" = "yes" && cat << \EOF |
13268 Defining HAVE_TTY | 13269 Defining HAVE_TTY |
13269 EOF | 13270 EOF |
13270 cat >> confdefs.h <<\EOF | 13271 cat >> confdefs.h <<\EOF |
13271 #define HAVE_TTY 1 | 13272 #define HAVE_TTY 1 |
13277 fi | 13278 fi |
13278 | 13279 |
13279 if test -z "$with_ncurses"; then | 13280 if test -z "$with_ncurses"; then |
13280 | 13281 |
13281 echo $ac_n "checking for tgetent in -lncurses""... $ac_c" 1>&6 | 13282 echo $ac_n "checking for tgetent in -lncurses""... $ac_c" 1>&6 |
13282 echo "configure:13283: checking for tgetent in -lncurses" >&5 | 13283 echo "configure:13284: checking for tgetent in -lncurses" >&5 |
13283 ac_lib_var=`echo ncurses'_'tgetent | sed 'y%./+-%__p_%'` | 13284 ac_lib_var=`echo ncurses'_'tgetent | sed 'y%./+-%__p_%'` |
13284 | 13285 |
13285 xe_check_libs=" -lncurses " | 13286 xe_check_libs=" -lncurses " |
13286 cat > conftest.$ac_ext <<EOF | 13287 cat > conftest.$ac_ext <<EOF |
13287 #line 13288 "configure" | 13288 #line 13289 "configure" |
13288 #include "confdefs.h" | 13289 #include "confdefs.h" |
13289 /* Override any gcc2 internal prototype to avoid an error. */ | 13290 /* Override any gcc2 internal prototype to avoid an error. */ |
13290 /* We use char because int might match the return type of a gcc2 | 13291 /* We use char because int might match the return type of a gcc2 |
13291 builtin and then its argument prototype would still apply. */ | 13292 builtin and then its argument prototype would still apply. */ |
13292 char tgetent(); | 13293 char tgetent(); |
13293 | 13294 |
13294 int main() { | 13295 int main() { |
13295 tgetent() | 13296 tgetent() |
13296 ; return 0; } | 13297 ; return 0; } |
13297 EOF | 13298 EOF |
13298 if { (eval echo configure:13299: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13299 if { (eval echo configure:13300: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
13299 rm -rf conftest* | 13300 rm -rf conftest* |
13300 eval "ac_cv_lib_$ac_lib_var=yes" | 13301 eval "ac_cv_lib_$ac_lib_var=yes" |
13301 else | 13302 else |
13302 echo "configure: failed program was:" >&5 | 13303 echo "configure: failed program was:" >&5 |
13303 cat conftest.$ac_ext >&5 | 13304 cat conftest.$ac_ext >&5 |
13326 EOF | 13327 EOF |
13327 } | 13328 } |
13328 | 13329 |
13329 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` | 13330 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` |
13330 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 | 13331 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 |
13331 echo "configure:13332: checking for ncurses/curses.h" >&5 | 13332 echo "configure:13333: checking for ncurses/curses.h" >&5 |
13332 | 13333 |
13333 cat > conftest.$ac_ext <<EOF | 13334 cat > conftest.$ac_ext <<EOF |
13334 #line 13335 "configure" | 13335 #line 13336 "configure" |
13335 #include "confdefs.h" | 13336 #include "confdefs.h" |
13336 #include <ncurses/curses.h> | 13337 #include <ncurses/curses.h> |
13337 EOF | 13338 EOF |
13338 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 13339 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
13339 { (eval echo configure:13340: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 13340 { (eval echo configure:13341: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
13340 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 13341 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
13341 if test -z "$ac_err"; then | 13342 if test -z "$ac_err"; then |
13342 rm -rf conftest* | 13343 rm -rf conftest* |
13343 eval "ac_cv_header_$ac_safe=yes" | 13344 eval "ac_cv_header_$ac_safe=yes" |
13344 else | 13345 else |
13356 echo "$ac_t""no" 1>&6 | 13357 echo "$ac_t""no" 1>&6 |
13357 fi | 13358 fi |
13358 | 13359 |
13359 ac_safe=`echo "ncurses/term.h" | sed 'y%./+-%__p_%'` | 13360 ac_safe=`echo "ncurses/term.h" | sed 'y%./+-%__p_%'` |
13360 echo $ac_n "checking for ncurses/term.h""... $ac_c" 1>&6 | 13361 echo $ac_n "checking for ncurses/term.h""... $ac_c" 1>&6 |
13361 echo "configure:13362: checking for ncurses/term.h" >&5 | 13362 echo "configure:13363: checking for ncurses/term.h" >&5 |
13362 | 13363 |
13363 cat > conftest.$ac_ext <<EOF | 13364 cat > conftest.$ac_ext <<EOF |
13364 #line 13365 "configure" | 13365 #line 13366 "configure" |
13365 #include "confdefs.h" | 13366 #include "confdefs.h" |
13366 #include <ncurses/term.h> | 13367 #include <ncurses/term.h> |
13367 EOF | 13368 EOF |
13368 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 13369 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
13369 { (eval echo configure:13370: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 13370 { (eval echo configure:13371: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
13370 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 13371 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
13371 if test -z "$ac_err"; then | 13372 if test -z "$ac_err"; then |
13372 rm -rf conftest* | 13373 rm -rf conftest* |
13373 eval "ac_cv_header_$ac_safe=yes" | 13374 eval "ac_cv_header_$ac_safe=yes" |
13374 else | 13375 else |
13394 if test "$ac_cv_header_ncurses_curses_h" != "yes" ; then | 13395 if test "$ac_cv_header_ncurses_curses_h" != "yes" ; then |
13395 save_c_switch_site="$c_switch_site" | 13396 save_c_switch_site="$c_switch_site" |
13396 c_switch_site="$c_switch_site -I/usr/include/ncurses" | 13397 c_switch_site="$c_switch_site -I/usr/include/ncurses" |
13397 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` | 13398 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` |
13398 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 | 13399 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 |
13399 echo "configure:13400: checking for ncurses/curses.h" >&5 | 13400 echo "configure:13401: checking for ncurses/curses.h" >&5 |
13400 | 13401 |
13401 cat > conftest.$ac_ext <<EOF | 13402 cat > conftest.$ac_ext <<EOF |
13402 #line 13403 "configure" | 13403 #line 13404 "configure" |
13403 #include "confdefs.h" | 13404 #include "confdefs.h" |
13404 #include <ncurses/curses.h> | 13405 #include <ncurses/curses.h> |
13405 EOF | 13406 EOF |
13406 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 13407 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
13407 { (eval echo configure:13408: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 13408 { (eval echo configure:13409: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
13408 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 13409 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
13409 if test -z "$ac_err"; then | 13410 if test -z "$ac_err"; then |
13410 rm -rf conftest* | 13411 rm -rf conftest* |
13411 eval "ac_cv_header_$ac_safe=yes" | 13412 eval "ac_cv_header_$ac_safe=yes" |
13412 else | 13413 else |
13437 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi | 13438 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi |
13438 else | 13439 else |
13439 for lib in curses termlib termcap; do | 13440 for lib in curses termlib termcap; do |
13440 | 13441 |
13441 echo $ac_n "checking for tgetent in -l$lib""... $ac_c" 1>&6 | 13442 echo $ac_n "checking for tgetent in -l$lib""... $ac_c" 1>&6 |
13442 echo "configure:13443: checking for tgetent in -l$lib" >&5 | 13443 echo "configure:13444: checking for tgetent in -l$lib" >&5 |
13443 ac_lib_var=`echo $lib'_'tgetent | sed 'y%./+-%__p_%'` | 13444 ac_lib_var=`echo $lib'_'tgetent | sed 'y%./+-%__p_%'` |
13444 | 13445 |
13445 xe_check_libs=" -l$lib " | 13446 xe_check_libs=" -l$lib " |
13446 cat > conftest.$ac_ext <<EOF | 13447 cat > conftest.$ac_ext <<EOF |
13447 #line 13448 "configure" | 13448 #line 13449 "configure" |
13448 #include "confdefs.h" | 13449 #include "confdefs.h" |
13449 /* Override any gcc2 internal prototype to avoid an error. */ | 13450 /* Override any gcc2 internal prototype to avoid an error. */ |
13450 /* We use char because int might match the return type of a gcc2 | 13451 /* We use char because int might match the return type of a gcc2 |
13451 builtin and then its argument prototype would still apply. */ | 13452 builtin and then its argument prototype would still apply. */ |
13452 char tgetent(); | 13453 char tgetent(); |
13453 | 13454 |
13454 int main() { | 13455 int main() { |
13455 tgetent() | 13456 tgetent() |
13456 ; return 0; } | 13457 ; return 0; } |
13457 EOF | 13458 EOF |
13458 if { (eval echo configure:13459: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13459 if { (eval echo configure:13460: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
13459 rm -rf conftest* | 13460 rm -rf conftest* |
13460 eval "ac_cv_lib_$ac_lib_var=yes" | 13461 eval "ac_cv_lib_$ac_lib_var=yes" |
13461 else | 13462 else |
13462 echo "configure: failed program was:" >&5 | 13463 echo "configure: failed program was:" >&5 |
13463 cat conftest.$ac_ext >&5 | 13464 cat conftest.$ac_ext >&5 |
13484 if test -n "$libs_termcap"; then | 13485 if test -n "$libs_termcap"; then |
13485 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi | 13486 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi |
13486 else | 13487 else |
13487 | 13488 |
13488 echo $ac_n "checking for tgetent in -lcurses""... $ac_c" 1>&6 | 13489 echo $ac_n "checking for tgetent in -lcurses""... $ac_c" 1>&6 |
13489 echo "configure:13490: checking for tgetent in -lcurses" >&5 | 13490 echo "configure:13491: checking for tgetent in -lcurses" >&5 |
13490 ac_lib_var=`echo curses'_'tgetent | sed 'y%./+-%__p_%'` | 13491 ac_lib_var=`echo curses'_'tgetent | sed 'y%./+-%__p_%'` |
13491 | 13492 |
13492 xe_check_libs=" -lcurses " | 13493 xe_check_libs=" -lcurses " |
13493 cat > conftest.$ac_ext <<EOF | 13494 cat > conftest.$ac_ext <<EOF |
13494 #line 13495 "configure" | 13495 #line 13496 "configure" |
13495 #include "confdefs.h" | 13496 #include "confdefs.h" |
13496 /* Override any gcc2 internal prototype to avoid an error. */ | 13497 /* Override any gcc2 internal prototype to avoid an error. */ |
13497 /* We use char because int might match the return type of a gcc2 | 13498 /* We use char because int might match the return type of a gcc2 |
13498 builtin and then its argument prototype would still apply. */ | 13499 builtin and then its argument prototype would still apply. */ |
13499 char tgetent(); | 13500 char tgetent(); |
13500 | 13501 |
13501 int main() { | 13502 int main() { |
13502 tgetent() | 13503 tgetent() |
13503 ; return 0; } | 13504 ; return 0; } |
13504 EOF | 13505 EOF |
13505 if { (eval echo configure:13506: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13506 if { (eval echo configure:13507: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
13506 rm -rf conftest* | 13507 rm -rf conftest* |
13507 eval "ac_cv_lib_$ac_lib_var=yes" | 13508 eval "ac_cv_lib_$ac_lib_var=yes" |
13508 else | 13509 else |
13509 echo "configure: failed program was:" >&5 | 13510 echo "configure: failed program was:" >&5 |
13510 cat conftest.$ac_ext >&5 | 13511 cat conftest.$ac_ext >&5 |
13518 echo "$ac_t""yes" 1>&6 | 13519 echo "$ac_t""yes" 1>&6 |
13519 LIBS="-lcurses $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lcurses\" to \$LIBS"; fi | 13520 LIBS="-lcurses $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lcurses\" to \$LIBS"; fi |
13520 else | 13521 else |
13521 echo "$ac_t""no" 1>&6 | 13522 echo "$ac_t""no" 1>&6 |
13522 echo $ac_n "checking for tgetent in -ltermcap""... $ac_c" 1>&6 | 13523 echo $ac_n "checking for tgetent in -ltermcap""... $ac_c" 1>&6 |
13523 echo "configure:13524: checking for tgetent in -ltermcap" >&5 | 13524 echo "configure:13525: checking for tgetent in -ltermcap" >&5 |
13524 ac_lib_var=`echo termcap'_'tgetent | sed 'y%./+-%__p_%'` | 13525 ac_lib_var=`echo termcap'_'tgetent | sed 'y%./+-%__p_%'` |
13525 | 13526 |
13526 xe_check_libs=" -ltermcap " | 13527 xe_check_libs=" -ltermcap " |
13527 cat > conftest.$ac_ext <<EOF | 13528 cat > conftest.$ac_ext <<EOF |
13528 #line 13529 "configure" | 13529 #line 13530 "configure" |
13529 #include "confdefs.h" | 13530 #include "confdefs.h" |
13530 /* Override any gcc2 internal prototype to avoid an error. */ | 13531 /* Override any gcc2 internal prototype to avoid an error. */ |
13531 /* We use char because int might match the return type of a gcc2 | 13532 /* We use char because int might match the return type of a gcc2 |
13532 builtin and then its argument prototype would still apply. */ | 13533 builtin and then its argument prototype would still apply. */ |
13533 char tgetent(); | 13534 char tgetent(); |
13534 | 13535 |
13535 int main() { | 13536 int main() { |
13536 tgetent() | 13537 tgetent() |
13537 ; return 0; } | 13538 ; return 0; } |
13538 EOF | 13539 EOF |
13539 if { (eval echo configure:13540: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13540 if { (eval echo configure:13541: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
13540 rm -rf conftest* | 13541 rm -rf conftest* |
13541 eval "ac_cv_lib_$ac_lib_var=yes" | 13542 eval "ac_cv_lib_$ac_lib_var=yes" |
13542 else | 13543 else |
13543 echo "configure: failed program was:" >&5 | 13544 echo "configure: failed program was:" >&5 |
13544 cat conftest.$ac_ext >&5 | 13545 cat conftest.$ac_ext >&5 |
13582 } | 13583 } |
13583 | 13584 |
13584 | 13585 |
13585 test -z "$with_gpm" && { ac_safe=`echo "gpm.h" | sed 'y%./+-%__p_%'` | 13586 test -z "$with_gpm" && { ac_safe=`echo "gpm.h" | sed 'y%./+-%__p_%'` |
13586 echo $ac_n "checking for gpm.h""... $ac_c" 1>&6 | 13587 echo $ac_n "checking for gpm.h""... $ac_c" 1>&6 |
13587 echo "configure:13588: checking for gpm.h" >&5 | 13588 echo "configure:13589: checking for gpm.h" >&5 |
13588 | 13589 |
13589 cat > conftest.$ac_ext <<EOF | 13590 cat > conftest.$ac_ext <<EOF |
13590 #line 13591 "configure" | 13591 #line 13592 "configure" |
13591 #include "confdefs.h" | 13592 #include "confdefs.h" |
13592 #include <gpm.h> | 13593 #include <gpm.h> |
13593 EOF | 13594 EOF |
13594 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 13595 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
13595 { (eval echo configure:13596: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 13596 { (eval echo configure:13597: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
13596 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 13597 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
13597 if test -z "$ac_err"; then | 13598 if test -z "$ac_err"; then |
13598 rm -rf conftest* | 13599 rm -rf conftest* |
13599 eval "ac_cv_header_$ac_safe=yes" | 13600 eval "ac_cv_header_$ac_safe=yes" |
13600 else | 13601 else |
13613 with_gpm=no | 13614 with_gpm=no |
13614 fi | 13615 fi |
13615 } | 13616 } |
13616 test -z "$with_gpm" && { | 13617 test -z "$with_gpm" && { |
13617 echo $ac_n "checking for Gpm_Open in -lgpm""... $ac_c" 1>&6 | 13618 echo $ac_n "checking for Gpm_Open in -lgpm""... $ac_c" 1>&6 |
13618 echo "configure:13619: checking for Gpm_Open in -lgpm" >&5 | 13619 echo "configure:13620: checking for Gpm_Open in -lgpm" >&5 |
13619 ac_lib_var=`echo gpm'_'Gpm_Open | sed 'y%./+-%__p_%'` | 13620 ac_lib_var=`echo gpm'_'Gpm_Open | sed 'y%./+-%__p_%'` |
13620 | 13621 |
13621 xe_check_libs=" -lgpm " | 13622 xe_check_libs=" -lgpm " |
13622 cat > conftest.$ac_ext <<EOF | 13623 cat > conftest.$ac_ext <<EOF |
13623 #line 13624 "configure" | 13624 #line 13625 "configure" |
13624 #include "confdefs.h" | 13625 #include "confdefs.h" |
13625 /* Override any gcc2 internal prototype to avoid an error. */ | 13626 /* Override any gcc2 internal prototype to avoid an error. */ |
13626 /* We use char because int might match the return type of a gcc2 | 13627 /* We use char because int might match the return type of a gcc2 |
13627 builtin and then its argument prototype would still apply. */ | 13628 builtin and then its argument prototype would still apply. */ |
13628 char Gpm_Open(); | 13629 char Gpm_Open(); |
13629 | 13630 |
13630 int main() { | 13631 int main() { |
13631 Gpm_Open() | 13632 Gpm_Open() |
13632 ; return 0; } | 13633 ; return 0; } |
13633 EOF | 13634 EOF |
13634 if { (eval echo configure:13635: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13635 if { (eval echo configure:13636: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
13635 rm -rf conftest* | 13636 rm -rf conftest* |
13636 eval "ac_cv_lib_$ac_lib_var=yes" | 13637 eval "ac_cv_lib_$ac_lib_var=yes" |
13637 else | 13638 else |
13638 echo "configure: failed program was:" >&5 | 13639 echo "configure: failed program was:" >&5 |
13639 cat conftest.$ac_ext >&5 | 13640 cat conftest.$ac_ext >&5 |
13679 fi | 13680 fi |
13680 | 13681 |
13681 | 13682 |
13682 test "$with_database_gdbm $with_database_dbm $with_database_berkdb" \ | 13683 test "$with_database_gdbm $with_database_dbm $with_database_berkdb" \ |
13683 != "no no no" && echo "checking for database support" 1>&6 | 13684 != "no no no" && echo "checking for database support" 1>&6 |
13684 echo "configure:13685: checking for database support" >&5 | 13685 echo "configure:13686: checking for database support" >&5 |
13685 | 13686 |
13686 if test "$with_database_gdbm $with_database_dbm" != "no no"; then | 13687 if test "$with_database_gdbm $with_database_dbm" != "no no"; then |
13687 ac_safe=`echo "ndbm.h" | sed 'y%./+-%__p_%'` | 13688 ac_safe=`echo "ndbm.h" | sed 'y%./+-%__p_%'` |
13688 echo $ac_n "checking for ndbm.h""... $ac_c" 1>&6 | 13689 echo $ac_n "checking for ndbm.h""... $ac_c" 1>&6 |
13689 echo "configure:13690: checking for ndbm.h" >&5 | 13690 echo "configure:13691: checking for ndbm.h" >&5 |
13690 | 13691 |
13691 cat > conftest.$ac_ext <<EOF | 13692 cat > conftest.$ac_ext <<EOF |
13692 #line 13693 "configure" | 13693 #line 13694 "configure" |
13693 #include "confdefs.h" | 13694 #include "confdefs.h" |
13694 #include <ndbm.h> | 13695 #include <ndbm.h> |
13695 EOF | 13696 EOF |
13696 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 13697 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
13697 { (eval echo configure:13698: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 13698 { (eval echo configure:13699: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
13698 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 13699 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
13699 if test -z "$ac_err"; then | 13700 if test -z "$ac_err"; then |
13700 rm -rf conftest* | 13701 rm -rf conftest* |
13701 eval "ac_cv_header_$ac_safe=yes" | 13702 eval "ac_cv_header_$ac_safe=yes" |
13702 else | 13703 else |
13722 fi | 13723 fi |
13723 | 13724 |
13724 if test "$with_database_gdbm" != "no"; then | 13725 if test "$with_database_gdbm" != "no"; then |
13725 | 13726 |
13726 echo $ac_n "checking for dbm_open in -lgdbm""... $ac_c" 1>&6 | 13727 echo $ac_n "checking for dbm_open in -lgdbm""... $ac_c" 1>&6 |
13727 echo "configure:13728: checking for dbm_open in -lgdbm" >&5 | 13728 echo "configure:13729: checking for dbm_open in -lgdbm" >&5 |
13728 ac_lib_var=`echo gdbm'_'dbm_open | sed 'y%./+-%__p_%'` | 13729 ac_lib_var=`echo gdbm'_'dbm_open | sed 'y%./+-%__p_%'` |
13729 | 13730 |
13730 xe_check_libs=" -lgdbm " | 13731 xe_check_libs=" -lgdbm " |
13731 cat > conftest.$ac_ext <<EOF | 13732 cat > conftest.$ac_ext <<EOF |
13732 #line 13733 "configure" | 13733 #line 13734 "configure" |
13733 #include "confdefs.h" | 13734 #include "confdefs.h" |
13734 /* Override any gcc2 internal prototype to avoid an error. */ | 13735 /* Override any gcc2 internal prototype to avoid an error. */ |
13735 /* We use char because int might match the return type of a gcc2 | 13736 /* We use char because int might match the return type of a gcc2 |
13736 builtin and then its argument prototype would still apply. */ | 13737 builtin and then its argument prototype would still apply. */ |
13737 char dbm_open(); | 13738 char dbm_open(); |
13738 | 13739 |
13739 int main() { | 13740 int main() { |
13740 dbm_open() | 13741 dbm_open() |
13741 ; return 0; } | 13742 ; return 0; } |
13742 EOF | 13743 EOF |
13743 if { (eval echo configure:13744: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13744 if { (eval echo configure:13745: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
13744 rm -rf conftest* | 13745 rm -rf conftest* |
13745 eval "ac_cv_lib_$ac_lib_var=yes" | 13746 eval "ac_cv_lib_$ac_lib_var=yes" |
13746 else | 13747 else |
13747 echo "configure: failed program was:" >&5 | 13748 echo "configure: failed program was:" >&5 |
13748 cat conftest.$ac_ext >&5 | 13749 cat conftest.$ac_ext >&5 |
13766 | 13767 |
13767 fi | 13768 fi |
13768 | 13769 |
13769 if test "$with_database_dbm" != "no"; then | 13770 if test "$with_database_dbm" != "no"; then |
13770 echo $ac_n "checking for dbm_open""... $ac_c" 1>&6 | 13771 echo $ac_n "checking for dbm_open""... $ac_c" 1>&6 |
13771 echo "configure:13772: checking for dbm_open" >&5 | 13772 echo "configure:13773: checking for dbm_open" >&5 |
13772 | 13773 |
13773 cat > conftest.$ac_ext <<EOF | 13774 cat > conftest.$ac_ext <<EOF |
13774 #line 13775 "configure" | 13775 #line 13776 "configure" |
13775 #include "confdefs.h" | 13776 #include "confdefs.h" |
13776 /* System header to define __stub macros and hopefully few prototypes, | 13777 /* System header to define __stub macros and hopefully few prototypes, |
13777 which can conflict with char dbm_open(); below. */ | 13778 which can conflict with char dbm_open(); below. */ |
13778 #include <assert.h> | 13779 #include <assert.h> |
13779 /* Override any gcc2 internal prototype to avoid an error. */ | 13780 /* Override any gcc2 internal prototype to avoid an error. */ |
13792 dbm_open(); | 13793 dbm_open(); |
13793 #endif | 13794 #endif |
13794 | 13795 |
13795 ; return 0; } | 13796 ; return 0; } |
13796 EOF | 13797 EOF |
13797 if { (eval echo configure:13798: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13798 if { (eval echo configure:13799: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
13798 rm -rf conftest* | 13799 rm -rf conftest* |
13799 eval "ac_cv_func_dbm_open=yes" | 13800 eval "ac_cv_func_dbm_open=yes" |
13800 else | 13801 else |
13801 echo "configure: failed program was:" >&5 | 13802 echo "configure: failed program was:" >&5 |
13802 cat conftest.$ac_ext >&5 | 13803 cat conftest.$ac_ext >&5 |
13811 else | 13812 else |
13812 echo "$ac_t""no" 1>&6 | 13813 echo "$ac_t""no" 1>&6 |
13813 | 13814 |
13814 | 13815 |
13815 echo $ac_n "checking for dbm_open in -ldbm""... $ac_c" 1>&6 | 13816 echo $ac_n "checking for dbm_open in -ldbm""... $ac_c" 1>&6 |
13816 echo "configure:13817: checking for dbm_open in -ldbm" >&5 | 13817 echo "configure:13818: checking for dbm_open in -ldbm" >&5 |
13817 ac_lib_var=`echo dbm'_'dbm_open | sed 'y%./+-%__p_%'` | 13818 ac_lib_var=`echo dbm'_'dbm_open | sed 'y%./+-%__p_%'` |
13818 | 13819 |
13819 xe_check_libs=" -ldbm " | 13820 xe_check_libs=" -ldbm " |
13820 cat > conftest.$ac_ext <<EOF | 13821 cat > conftest.$ac_ext <<EOF |
13821 #line 13822 "configure" | 13822 #line 13823 "configure" |
13822 #include "confdefs.h" | 13823 #include "confdefs.h" |
13823 /* Override any gcc2 internal prototype to avoid an error. */ | 13824 /* Override any gcc2 internal prototype to avoid an error. */ |
13824 /* We use char because int might match the return type of a gcc2 | 13825 /* We use char because int might match the return type of a gcc2 |
13825 builtin and then its argument prototype would still apply. */ | 13826 builtin and then its argument prototype would still apply. */ |
13826 char dbm_open(); | 13827 char dbm_open(); |
13827 | 13828 |
13828 int main() { | 13829 int main() { |
13829 dbm_open() | 13830 dbm_open() |
13830 ; return 0; } | 13831 ; return 0; } |
13831 EOF | 13832 EOF |
13832 if { (eval echo configure:13833: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13833 if { (eval echo configure:13834: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
13833 rm -rf conftest* | 13834 rm -rf conftest* |
13834 eval "ac_cv_lib_$ac_lib_var=yes" | 13835 eval "ac_cv_lib_$ac_lib_var=yes" |
13835 else | 13836 else |
13836 echo "configure: failed program was:" >&5 | 13837 echo "configure: failed program was:" >&5 |
13837 cat conftest.$ac_ext >&5 | 13838 cat conftest.$ac_ext >&5 |
13868 } | 13869 } |
13869 | 13870 |
13870 | 13871 |
13871 if test "$with_database_berkdb" != "no"; then | 13872 if test "$with_database_berkdb" != "no"; then |
13872 echo $ac_n "checking for Berkeley db.h""... $ac_c" 1>&6 | 13873 echo $ac_n "checking for Berkeley db.h""... $ac_c" 1>&6 |
13873 echo "configure:13874: checking for Berkeley db.h" >&5 | 13874 echo "configure:13875: checking for Berkeley db.h" >&5 |
13874 for header in "db/db.h" "db.h"; do | 13875 for header in "db/db.h" "db.h"; do |
13875 cat > conftest.$ac_ext <<EOF | 13876 cat > conftest.$ac_ext <<EOF |
13876 #line 13877 "configure" | 13877 #line 13878 "configure" |
13877 #include "confdefs.h" | 13878 #include "confdefs.h" |
13878 | 13879 |
13879 #include <stdlib.h> | 13880 #include <stdlib.h> |
13880 #if !(defined __GLIBC__ && __GLIBC_MINOR__ >= 1) | 13881 #if !(defined __GLIBC__ && __GLIBC_MINOR__ >= 1) |
13881 #ifdef HAVE_INTTYPES_H | 13882 #ifdef HAVE_INTTYPES_H |
13893 | 13894 |
13894 int main() { | 13895 int main() { |
13895 | 13896 |
13896 ; return 0; } | 13897 ; return 0; } |
13897 EOF | 13898 EOF |
13898 if { (eval echo configure:13899: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 13899 if { (eval echo configure:13900: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
13899 rm -rf conftest* | 13900 rm -rf conftest* |
13900 db_h_file="$header"; break | 13901 db_h_file="$header"; break |
13901 else | 13902 else |
13902 echo "configure: failed program was:" >&5 | 13903 echo "configure: failed program was:" >&5 |
13903 cat conftest.$ac_ext >&5 | 13904 cat conftest.$ac_ext >&5 |
13909 else echo "$ac_t""$db_h_file" 1>&6 | 13910 else echo "$ac_t""$db_h_file" 1>&6 |
13910 fi | 13911 fi |
13911 | 13912 |
13912 if test "$with_database_berkdb" != "no"; then | 13913 if test "$with_database_berkdb" != "no"; then |
13913 echo $ac_n "checking for Berkeley DB version""... $ac_c" 1>&6 | 13914 echo $ac_n "checking for Berkeley DB version""... $ac_c" 1>&6 |
13914 echo "configure:13915: checking for Berkeley DB version" >&5 | 13915 echo "configure:13916: checking for Berkeley DB version" >&5 |
13915 cat > conftest.$ac_ext <<EOF | 13916 cat > conftest.$ac_ext <<EOF |
13916 #line 13917 "configure" | 13917 #line 13918 "configure" |
13917 #include "confdefs.h" | 13918 #include "confdefs.h" |
13918 #include <$db_h_file> | 13919 #include <$db_h_file> |
13919 #if DB_VERSION_MAJOR > 1 | 13920 #if DB_VERSION_MAJOR > 1 |
13920 yes | 13921 yes |
13921 #endif | 13922 #endif |
13923 EOF | 13924 EOF |
13924 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 13925 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
13925 egrep "yes" >/dev/null 2>&1; then | 13926 egrep "yes" >/dev/null 2>&1; then |
13926 rm -rf conftest* | 13927 rm -rf conftest* |
13927 cat > conftest.$ac_ext <<EOF | 13928 cat > conftest.$ac_ext <<EOF |
13928 #line 13929 "configure" | 13929 #line 13930 "configure" |
13929 #include "confdefs.h" | 13930 #include "confdefs.h" |
13930 #include <$db_h_file> | 13931 #include <$db_h_file> |
13931 #if DB_VERSION_MAJOR > 2 | 13932 #if DB_VERSION_MAJOR > 2 |
13932 yes | 13933 yes |
13933 #endif | 13934 #endif |
13950 echo "$ac_t""1" 1>&6; dbfunc=dbopen | 13951 echo "$ac_t""1" 1>&6; dbfunc=dbopen |
13951 fi | 13952 fi |
13952 rm -f conftest* | 13953 rm -f conftest* |
13953 | 13954 |
13954 echo $ac_n "checking for $dbfunc""... $ac_c" 1>&6 | 13955 echo $ac_n "checking for $dbfunc""... $ac_c" 1>&6 |
13955 echo "configure:13956: checking for $dbfunc" >&5 | 13956 echo "configure:13957: checking for $dbfunc" >&5 |
13956 | 13957 |
13957 cat > conftest.$ac_ext <<EOF | 13958 cat > conftest.$ac_ext <<EOF |
13958 #line 13959 "configure" | 13959 #line 13960 "configure" |
13959 #include "confdefs.h" | 13960 #include "confdefs.h" |
13960 /* System header to define __stub macros and hopefully few prototypes, | 13961 /* System header to define __stub macros and hopefully few prototypes, |
13961 which can conflict with char $dbfunc(); below. */ | 13962 which can conflict with char $dbfunc(); below. */ |
13962 #include <assert.h> | 13963 #include <assert.h> |
13963 /* Override any gcc2 internal prototype to avoid an error. */ | 13964 /* Override any gcc2 internal prototype to avoid an error. */ |
13976 $dbfunc(); | 13977 $dbfunc(); |
13977 #endif | 13978 #endif |
13978 | 13979 |
13979 ; return 0; } | 13980 ; return 0; } |
13980 EOF | 13981 EOF |
13981 if { (eval echo configure:13982: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13982 if { (eval echo configure:13983: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
13982 rm -rf conftest* | 13983 rm -rf conftest* |
13983 eval "ac_cv_func_$dbfunc=yes" | 13984 eval "ac_cv_func_$dbfunc=yes" |
13984 else | 13985 else |
13985 echo "configure: failed program was:" >&5 | 13986 echo "configure: failed program was:" >&5 |
13986 cat conftest.$ac_ext >&5 | 13987 cat conftest.$ac_ext >&5 |
13995 else | 13996 else |
13996 echo "$ac_t""no" 1>&6 | 13997 echo "$ac_t""no" 1>&6 |
13997 | 13998 |
13998 | 13999 |
13999 echo $ac_n "checking for $dbfunc in -ldb""... $ac_c" 1>&6 | 14000 echo $ac_n "checking for $dbfunc in -ldb""... $ac_c" 1>&6 |
14000 echo "configure:14001: checking for $dbfunc in -ldb" >&5 | 14001 echo "configure:14002: checking for $dbfunc in -ldb" >&5 |
14001 ac_lib_var=`echo db'_'$dbfunc | sed 'y%./+-%__p_%'` | 14002 ac_lib_var=`echo db'_'$dbfunc | sed 'y%./+-%__p_%'` |
14002 | 14003 |
14003 xe_check_libs=" -ldb " | 14004 xe_check_libs=" -ldb " |
14004 cat > conftest.$ac_ext <<EOF | 14005 cat > conftest.$ac_ext <<EOF |
14005 #line 14006 "configure" | 14006 #line 14007 "configure" |
14006 #include "confdefs.h" | 14007 #include "confdefs.h" |
14007 /* Override any gcc2 internal prototype to avoid an error. */ | 14008 /* Override any gcc2 internal prototype to avoid an error. */ |
14008 /* We use char because int might match the return type of a gcc2 | 14009 /* We use char because int might match the return type of a gcc2 |
14009 builtin and then its argument prototype would still apply. */ | 14010 builtin and then its argument prototype would still apply. */ |
14010 char $dbfunc(); | 14011 char $dbfunc(); |
14011 | 14012 |
14012 int main() { | 14013 int main() { |
14013 $dbfunc() | 14014 $dbfunc() |
14014 ; return 0; } | 14015 ; return 0; } |
14015 EOF | 14016 EOF |
14016 if { (eval echo configure:14017: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14017 if { (eval echo configure:14018: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
14017 rm -rf conftest* | 14018 rm -rf conftest* |
14018 eval "ac_cv_lib_$ac_lib_var=yes" | 14019 eval "ac_cv_lib_$ac_lib_var=yes" |
14019 else | 14020 else |
14020 echo "configure: failed program was:" >&5 | 14021 echo "configure: failed program was:" >&5 |
14021 cat conftest.$ac_ext >&5 | 14022 cat conftest.$ac_ext >&5 |
14075 fi | 14076 fi |
14076 | 14077 |
14077 if test "$with_socks" = "yes"; then | 14078 if test "$with_socks" = "yes"; then |
14078 | 14079 |
14079 echo $ac_n "checking for SOCKSinit in -lsocks""... $ac_c" 1>&6 | 14080 echo $ac_n "checking for SOCKSinit in -lsocks""... $ac_c" 1>&6 |
14080 echo "configure:14081: checking for SOCKSinit in -lsocks" >&5 | 14081 echo "configure:14082: checking for SOCKSinit in -lsocks" >&5 |
14081 ac_lib_var=`echo socks'_'SOCKSinit | sed 'y%./+-%__p_%'` | 14082 ac_lib_var=`echo socks'_'SOCKSinit | sed 'y%./+-%__p_%'` |
14082 | 14083 |
14083 xe_check_libs=" -lsocks " | 14084 xe_check_libs=" -lsocks " |
14084 cat > conftest.$ac_ext <<EOF | 14085 cat > conftest.$ac_ext <<EOF |
14085 #line 14086 "configure" | 14086 #line 14087 "configure" |
14086 #include "confdefs.h" | 14087 #include "confdefs.h" |
14087 /* Override any gcc2 internal prototype to avoid an error. */ | 14088 /* Override any gcc2 internal prototype to avoid an error. */ |
14088 /* We use char because int might match the return type of a gcc2 | 14089 /* We use char because int might match the return type of a gcc2 |
14089 builtin and then its argument prototype would still apply. */ | 14090 builtin and then its argument prototype would still apply. */ |
14090 char SOCKSinit(); | 14091 char SOCKSinit(); |
14091 | 14092 |
14092 int main() { | 14093 int main() { |
14093 SOCKSinit() | 14094 SOCKSinit() |
14094 ; return 0; } | 14095 ; return 0; } |
14095 EOF | 14096 EOF |
14096 if { (eval echo configure:14097: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14097 if { (eval echo configure:14098: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
14097 rm -rf conftest* | 14098 rm -rf conftest* |
14098 eval "ac_cv_lib_$ac_lib_var=yes" | 14099 eval "ac_cv_lib_$ac_lib_var=yes" |
14099 else | 14100 else |
14100 echo "configure: failed program was:" >&5 | 14101 echo "configure: failed program was:" >&5 |
14101 cat conftest.$ac_ext >&5 | 14102 cat conftest.$ac_ext >&5 |
14146 LIBS="-Bstatic -lut -Bdynamic $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-Bstatic -lut -Bdynamic\" to \$LIBS"; fi | 14147 LIBS="-Bstatic -lut -Bdynamic $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-Bstatic -lut -Bdynamic\" to \$LIBS"; fi |
14147 fi | 14148 fi |
14148 | 14149 |
14149 if test "$with_modules" != "no"; then | 14150 if test "$with_modules" != "no"; then |
14150 echo "checking for module support" 1>&6 | 14151 echo "checking for module support" 1>&6 |
14151 echo "configure:14152: checking for module support" >&5 | 14152 echo "configure:14153: checking for module support" >&5 |
14152 | 14153 |
14153 if test "$with_msw" = "yes"; then | 14154 if test "$with_msw" = "yes"; then |
14154 have_dl=yes; | 14155 have_dl=yes; |
14155 else | 14156 else |
14156 ac_safe=`echo "dlfcn.h" | sed 'y%./+-%__p_%'` | 14157 ac_safe=`echo "dlfcn.h" | sed 'y%./+-%__p_%'` |
14157 echo $ac_n "checking for dlfcn.h""... $ac_c" 1>&6 | 14158 echo $ac_n "checking for dlfcn.h""... $ac_c" 1>&6 |
14158 echo "configure:14159: checking for dlfcn.h" >&5 | 14159 echo "configure:14160: checking for dlfcn.h" >&5 |
14159 | 14160 |
14160 cat > conftest.$ac_ext <<EOF | 14161 cat > conftest.$ac_ext <<EOF |
14161 #line 14162 "configure" | 14162 #line 14163 "configure" |
14162 #include "confdefs.h" | 14163 #include "confdefs.h" |
14163 #include <dlfcn.h> | 14164 #include <dlfcn.h> |
14164 EOF | 14165 EOF |
14165 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 14166 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
14166 { (eval echo configure:14167: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 14167 { (eval echo configure:14168: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
14167 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 14168 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
14168 if test -z "$ac_err"; then | 14169 if test -z "$ac_err"; then |
14169 rm -rf conftest* | 14170 rm -rf conftest* |
14170 eval "ac_cv_header_$ac_safe=yes" | 14171 eval "ac_cv_header_$ac_safe=yes" |
14171 else | 14172 else |
14178 rm -f conftest* | 14179 rm -f conftest* |
14179 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 14180 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
14180 echo "$ac_t""yes" 1>&6 | 14181 echo "$ac_t""yes" 1>&6 |
14181 | 14182 |
14182 echo $ac_n "checking for dlopen in -lc""... $ac_c" 1>&6 | 14183 echo $ac_n "checking for dlopen in -lc""... $ac_c" 1>&6 |
14183 echo "configure:14184: checking for dlopen in -lc" >&5 | 14184 echo "configure:14185: checking for dlopen in -lc" >&5 |
14184 cat > conftest.$ac_ext <<EOF | 14185 cat > conftest.$ac_ext <<EOF |
14185 #line 14186 "configure" | 14186 #line 14187 "configure" |
14186 #include "confdefs.h" | 14187 #include "confdefs.h" |
14187 #include <dlfcn.h> | 14188 #include <dlfcn.h> |
14188 int main() { | 14189 int main() { |
14189 dlopen ("", 0); | 14190 dlopen ("", 0); |
14190 ; return 0; } | 14191 ; return 0; } |
14191 EOF | 14192 EOF |
14192 if { (eval echo configure:14193: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14193 if { (eval echo configure:14194: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
14193 rm -rf conftest* | 14194 rm -rf conftest* |
14194 have_dl=yes | 14195 have_dl=yes |
14195 else | 14196 else |
14196 echo "configure: failed program was:" >&5 | 14197 echo "configure: failed program was:" >&5 |
14197 cat conftest.$ac_ext >&5 | 14198 cat conftest.$ac_ext >&5 |
14198 rm -rf conftest* | 14199 rm -rf conftest* |
14199 | 14200 |
14200 echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6 | 14201 echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6 |
14201 echo "configure:14202: checking for dlopen in -ldl" >&5 | 14202 echo "configure:14203: checking for dlopen in -ldl" >&5 |
14202 ac_save_LIBS="$LIBS" | 14203 ac_save_LIBS="$LIBS" |
14203 LIBS="-ldl $LIBS" | 14204 LIBS="-ldl $LIBS" |
14204 cat > conftest.$ac_ext <<EOF | 14205 cat > conftest.$ac_ext <<EOF |
14205 #line 14206 "configure" | 14206 #line 14207 "configure" |
14206 #include "confdefs.h" | 14207 #include "confdefs.h" |
14207 #include <dlfcn.h> | 14208 #include <dlfcn.h> |
14208 int main() { | 14209 int main() { |
14209 dlopen ("", 0); | 14210 dlopen ("", 0); |
14210 ; return 0; } | 14211 ; return 0; } |
14211 EOF | 14212 EOF |
14212 if { (eval echo configure:14213: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14213 if { (eval echo configure:14214: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
14213 rm -rf conftest* | 14214 rm -rf conftest* |
14214 have_dl=yes | 14215 have_dl=yes |
14215 else | 14216 else |
14216 echo "configure: failed program was:" >&5 | 14217 echo "configure: failed program was:" >&5 |
14217 cat conftest.$ac_ext >&5 | 14218 cat conftest.$ac_ext >&5 |
14236 } | 14237 } |
14237 | 14238 |
14238 else | 14239 else |
14239 | 14240 |
14240 echo $ac_n "checking for shl_load in -ldld""... $ac_c" 1>&6 | 14241 echo $ac_n "checking for shl_load in -ldld""... $ac_c" 1>&6 |
14241 echo "configure:14242: checking for shl_load in -ldld" >&5 | 14242 echo "configure:14243: checking for shl_load in -ldld" >&5 |
14242 ac_lib_var=`echo dld'_'shl_load | sed 'y%./+-%__p_%'` | 14243 ac_lib_var=`echo dld'_'shl_load | sed 'y%./+-%__p_%'` |
14243 | 14244 |
14244 xe_check_libs=" -ldld " | 14245 xe_check_libs=" -ldld " |
14245 cat > conftest.$ac_ext <<EOF | 14246 cat > conftest.$ac_ext <<EOF |
14246 #line 14247 "configure" | 14247 #line 14248 "configure" |
14247 #include "confdefs.h" | 14248 #include "confdefs.h" |
14248 /* Override any gcc2 internal prototype to avoid an error. */ | 14249 /* Override any gcc2 internal prototype to avoid an error. */ |
14249 /* We use char because int might match the return type of a gcc2 | 14250 /* We use char because int might match the return type of a gcc2 |
14250 builtin and then its argument prototype would still apply. */ | 14251 builtin and then its argument prototype would still apply. */ |
14251 char shl_load(); | 14252 char shl_load(); |
14252 | 14253 |
14253 int main() { | 14254 int main() { |
14254 shl_load() | 14255 shl_load() |
14255 ; return 0; } | 14256 ; return 0; } |
14256 EOF | 14257 EOF |
14257 if { (eval echo configure:14258: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14258 if { (eval echo configure:14259: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
14258 rm -rf conftest* | 14259 rm -rf conftest* |
14259 eval "ac_cv_lib_$ac_lib_var=yes" | 14260 eval "ac_cv_lib_$ac_lib_var=yes" |
14260 else | 14261 else |
14261 echo "configure: failed program was:" >&5 | 14262 echo "configure: failed program was:" >&5 |
14262 cat conftest.$ac_ext >&5 | 14263 cat conftest.$ac_ext >&5 |
14279 | 14280 |
14280 else | 14281 else |
14281 echo "$ac_t""no" 1>&6 | 14282 echo "$ac_t""no" 1>&6 |
14282 | 14283 |
14283 echo $ac_n "checking for dld_init in -ldld""... $ac_c" 1>&6 | 14284 echo $ac_n "checking for dld_init in -ldld""... $ac_c" 1>&6 |
14284 echo "configure:14285: checking for dld_init in -ldld" >&5 | 14285 echo "configure:14286: checking for dld_init in -ldld" >&5 |
14285 ac_lib_var=`echo dld'_'dld_init | sed 'y%./+-%__p_%'` | 14286 ac_lib_var=`echo dld'_'dld_init | sed 'y%./+-%__p_%'` |
14286 | 14287 |
14287 xe_check_libs=" -ldld " | 14288 xe_check_libs=" -ldld " |
14288 cat > conftest.$ac_ext <<EOF | 14289 cat > conftest.$ac_ext <<EOF |
14289 #line 14290 "configure" | 14290 #line 14291 "configure" |
14290 #include "confdefs.h" | 14291 #include "confdefs.h" |
14291 /* Override any gcc2 internal prototype to avoid an error. */ | 14292 /* Override any gcc2 internal prototype to avoid an error. */ |
14292 /* We use char because int might match the return type of a gcc2 | 14293 /* We use char because int might match the return type of a gcc2 |
14293 builtin and then its argument prototype would still apply. */ | 14294 builtin and then its argument prototype would still apply. */ |
14294 char dld_init(); | 14295 char dld_init(); |
14295 | 14296 |
14296 int main() { | 14297 int main() { |
14297 dld_init() | 14298 dld_init() |
14298 ; return 0; } | 14299 ; return 0; } |
14299 EOF | 14300 EOF |
14300 if { (eval echo configure:14301: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14301 if { (eval echo configure:14302: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
14301 rm -rf conftest* | 14302 rm -rf conftest* |
14302 eval "ac_cv_lib_$ac_lib_var=yes" | 14303 eval "ac_cv_lib_$ac_lib_var=yes" |
14303 else | 14304 else |
14304 echo "configure: failed program was:" >&5 | 14305 echo "configure: failed program was:" >&5 |
14305 cat conftest.$ac_ext >&5 | 14306 cat conftest.$ac_ext >&5 |
14340 ld_dynamic_link_flags= | 14341 ld_dynamic_link_flags= |
14341 xehost=$canonical | 14342 xehost=$canonical |
14342 xealias=$internal_configuration | 14343 xealias=$internal_configuration |
14343 | 14344 |
14344 echo "checking how to build dynamic libraries for ${xehost}" 1>&6 | 14345 echo "checking how to build dynamic libraries for ${xehost}" 1>&6 |
14345 echo "configure:14346: checking how to build dynamic libraries for ${xehost}" >&5 | 14346 echo "configure:14347: checking how to build dynamic libraries for ${xehost}" >&5 |
14346 # Transform *-*-linux* to *-*-linux-gnu*, to support old configure scripts. | 14347 # Transform *-*-linux* to *-*-linux-gnu*, to support old configure scripts. |
14347 case "$xehost" in | 14348 case "$xehost" in |
14348 *-*-linux-gnu*) ;; | 14349 *-*-linux-gnu*) ;; |
14349 *-*-linux*) xehost=`echo $xehost | sed 's/^\(.*-.*-linux\)\(.*\)$/\1-gnu\2/'` | 14350 *-*-linux*) xehost=`echo $xehost | sed 's/^\(.*-.*-linux\)\(.*\)$/\1-gnu\2/'` |
14350 esac | 14351 esac |
14368 # Now see if the compiler is really GCC. | 14369 # Now see if the compiler is really GCC. |
14369 if test "$GCC" = "yes"; then | 14370 if test "$GCC" = "yes"; then |
14370 XEGCC=yes | 14371 XEGCC=yes |
14371 else | 14372 else |
14372 echo $ac_n "checking checking whether we are using GNU C""... $ac_c" 1>&6 | 14373 echo $ac_n "checking checking whether we are using GNU C""... $ac_c" 1>&6 |
14373 echo "configure:14374: checking checking whether we are using GNU C" >&5 | 14374 echo "configure:14375: checking checking whether we are using GNU C" >&5 |
14374 cat > conftest.$ac_ext <<EOF | 14375 cat > conftest.$ac_ext <<EOF |
14375 #line 14376 "configure" | 14376 #line 14377 "configure" |
14376 #include "confdefs.h" | 14377 #include "confdefs.h" |
14377 | 14378 |
14378 #ifdef __GNUC__ | 14379 #ifdef __GNUC__ |
14379 yes; | 14380 yes; |
14380 #endif | 14381 #endif |
14392 | 14393 |
14393 echo "$ac_t""${XEGCC}" 1>&6 | 14394 echo "$ac_t""${XEGCC}" 1>&6 |
14394 fi | 14395 fi |
14395 | 14396 |
14396 echo $ac_n "checking how to produce PIC code""... $ac_c" 1>&6 | 14397 echo $ac_n "checking how to produce PIC code""... $ac_c" 1>&6 |
14397 echo "configure:14398: checking how to produce PIC code" >&5 | 14398 echo "configure:14399: checking how to produce PIC code" >&5 |
14398 wl= | 14399 wl= |
14399 | 14400 |
14400 can_build_shared=yes | 14401 can_build_shared=yes |
14401 if test "$XEGCC" = yes; then | 14402 if test "$XEGCC" = yes; then |
14402 wl='-Wl,' | 14403 wl='-Wl,' |
14493 if test -n "$dll_cflags"; then | 14494 if test -n "$dll_cflags"; then |
14494 echo "$ac_t""${dll_cflags}" 1>&6 | 14495 echo "$ac_t""${dll_cflags}" 1>&6 |
14495 | 14496 |
14496 # Check to make sure the dll_cflags actually works. | 14497 # Check to make sure the dll_cflags actually works. |
14497 echo $ac_n "checking if PIC flag ${dll_cflags} really works""... $ac_c" 1>&6 | 14498 echo $ac_n "checking if PIC flag ${dll_cflags} really works""... $ac_c" 1>&6 |
14498 echo "configure:14499: checking if PIC flag ${dll_cflags} really works" >&5 | 14499 echo "configure:14500: checking if PIC flag ${dll_cflags} really works" >&5 |
14499 save_CFLAGS="$CFLAGS" | 14500 save_CFLAGS="$CFLAGS" |
14500 CFLAGS="$CFLAGS $dll_cflags -DPIC" | 14501 CFLAGS="$CFLAGS $dll_cflags -DPIC" |
14501 cat > conftest.$ac_ext <<EOF | 14502 cat > conftest.$ac_ext <<EOF |
14502 #line 14503 "configure" | 14503 #line 14504 "configure" |
14503 #include "confdefs.h" | 14504 #include "confdefs.h" |
14504 | 14505 |
14505 int main() { | 14506 int main() { |
14506 int x=0; | 14507 int x=0; |
14507 ; return 0; } | 14508 ; return 0; } |
14508 EOF | 14509 EOF |
14509 if { (eval echo configure:14510: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 14510 if { (eval echo configure:14511: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
14510 rm -rf conftest* | 14511 rm -rf conftest* |
14511 | 14512 |
14512 # On HP-UX, the stripped-down bundled CC doesn't accept +Z, but also | 14513 # On HP-UX, the stripped-down bundled CC doesn't accept +Z, but also |
14513 # reports no error. So, we need to grep stderr for (Bundled). | 14514 # reports no error. So, we need to grep stderr for (Bundled). |
14514 if grep '(Bundled)' config.log >/dev/null; then | 14515 if grep '(Bundled)' config.log >/dev/null; then |
14535 if test "$can_build_shared" = "yes"; then | 14536 if test "$can_build_shared" = "yes"; then |
14536 cc_produces_so=no | 14537 cc_produces_so=no |
14537 xldf= | 14538 xldf= |
14538 xcldf= | 14539 xcldf= |
14539 echo $ac_n "checking if C compiler can produce shared libraries""... $ac_c" 1>&6 | 14540 echo $ac_n "checking if C compiler can produce shared libraries""... $ac_c" 1>&6 |
14540 echo "configure:14541: checking if C compiler can produce shared libraries" >&5 | 14541 echo "configure:14542: checking if C compiler can produce shared libraries" >&5 |
14541 if test "$XEGCC" = yes; then | 14542 if test "$XEGCC" = yes; then |
14542 xcldf="-shared" | 14543 xcldf="-shared" |
14543 xldf="-shared" | 14544 xldf="-shared" |
14544 else # Not using GCC | 14545 else # Not using GCC |
14545 case "$xehost_os" in | 14546 case "$xehost_os" in |
14586 LDFLAGS="$xcldf $LDFLAGS" | 14587 LDFLAGS="$xcldf $LDFLAGS" |
14587 LIBS= | 14588 LIBS= |
14588 xe_libs= | 14589 xe_libs= |
14589 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' | 14590 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' |
14590 cat > conftest.$ac_ext <<EOF | 14591 cat > conftest.$ac_ext <<EOF |
14591 #line 14592 "configure" | 14592 #line 14593 "configure" |
14592 #include "confdefs.h" | 14593 #include "confdefs.h" |
14593 | 14594 |
14594 int main() { | 14595 int main() { |
14595 int x=0; | 14596 int x=0; |
14596 ; return 0; } | 14597 ; return 0; } |
14597 EOF | 14598 EOF |
14598 if { (eval echo configure:14599: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14599 if { (eval echo configure:14600: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
14599 rm -rf conftest* | 14600 rm -rf conftest* |
14600 cc_produces_so=yes | 14601 cc_produces_so=yes |
14601 else | 14602 else |
14602 echo "configure: failed program was:" >&5 | 14603 echo "configure: failed program was:" >&5 |
14603 cat conftest.$ac_ext >&5 | 14604 cat conftest.$ac_ext >&5 |
14618 if test -z "$LTLD"; then | 14619 if test -z "$LTLD"; then |
14619 ac_prog=ld | 14620 ac_prog=ld |
14620 if test "$XEGCC" = yes; then | 14621 if test "$XEGCC" = yes; then |
14621 # Check if gcc -print-prog-name=ld gives a path. | 14622 # Check if gcc -print-prog-name=ld gives a path. |
14622 echo $ac_n "checking for ld used by GCC""... $ac_c" 1>&6 | 14623 echo $ac_n "checking for ld used by GCC""... $ac_c" 1>&6 |
14623 echo "configure:14624: checking for ld used by GCC" >&5 | 14624 echo "configure:14625: checking for ld used by GCC" >&5 |
14624 ac_prog=`($CC -print-prog-name=ld) 2>&5` | 14625 ac_prog=`($CC -print-prog-name=ld) 2>&5` |
14625 case "$ac_prog" in | 14626 case "$ac_prog" in |
14626 # Accept absolute paths. | 14627 # Accept absolute paths. |
14627 /*) | 14628 /*) |
14628 if test -z "$LTLD"; then | 14629 if test -z "$LTLD"; then |
14643 with_gnu_ld=unknown | 14644 with_gnu_ld=unknown |
14644 ;; | 14645 ;; |
14645 esac | 14646 esac |
14646 else | 14647 else |
14647 echo $ac_n "checking for GNU ld""... $ac_c" 1>&6 | 14648 echo $ac_n "checking for GNU ld""... $ac_c" 1>&6 |
14648 echo "configure:14649: checking for GNU ld" >&5 | 14649 echo "configure:14650: checking for GNU ld" >&5 |
14649 fi | 14650 fi |
14650 | 14651 |
14651 if test -z "$LTLD"; then | 14652 if test -z "$LTLD"; then |
14652 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" | 14653 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" |
14653 for ac_dir in $PATH; do | 14654 for ac_dir in $PATH; do |
14681 | 14682 |
14682 ld_dynamic_link_flags= | 14683 ld_dynamic_link_flags= |
14683 | 14684 |
14684 # Check to see if it really is or isn't GNU ld. | 14685 # Check to see if it really is or isn't GNU ld. |
14685 echo $ac_n "checking if the linker is GNU ld""... $ac_c" 1>&6 | 14686 echo $ac_n "checking if the linker is GNU ld""... $ac_c" 1>&6 |
14686 echo "configure:14687: checking if the linker is GNU ld" >&5 | 14687 echo "configure:14688: checking if the linker is GNU ld" >&5 |
14687 # I'd rather use --version here, but apparently some GNU ld's only accept -v. | 14688 # I'd rather use --version here, but apparently some GNU ld's only accept -v. |
14688 if $LTLD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then | 14689 if $LTLD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then |
14689 xe_gnu_ld=yes | 14690 xe_gnu_ld=yes |
14690 else | 14691 else |
14691 xe_gnu_ld=no | 14692 xe_gnu_ld=no |
14709 ld_shlibs=yes | 14710 ld_shlibs=yes |
14710 else | 14711 else |
14711 # OK - only NOW do we futz about with ld. | 14712 # OK - only NOW do we futz about with ld. |
14712 # See if the linker supports building shared libraries. | 14713 # See if the linker supports building shared libraries. |
14713 echo $ac_n "checking whether the linker supports shared libraries""... $ac_c" 1>&6 | 14714 echo $ac_n "checking whether the linker supports shared libraries""... $ac_c" 1>&6 |
14714 echo "configure:14715: checking whether the linker supports shared libraries" >&5 | 14715 echo "configure:14716: checking whether the linker supports shared libraries" >&5 |
14715 dll_ld=$CC | 14716 dll_ld=$CC |
14716 dll_ldflags=$LDFLAGS | 14717 dll_ldflags=$LDFLAGS |
14717 ld_shlibs=yes | 14718 ld_shlibs=yes |
14718 can_build_shared=yes | 14719 can_build_shared=yes |
14719 if test "$xe_gnu_ld" = yes && test "$gnu_ld_acts_native" != yes; then | 14720 if test "$xe_gnu_ld" = yes && test "$gnu_ld_acts_native" != yes; then |
14920 INSTALL_ARCH_DEP_SUBDIR="$INSTALL_ARCH_DEP_SUBDIR src" && if test "$extra_verbose" = "yes"; then echo " Appending \"src\" to \$INSTALL_ARCH_DEP_SUBDIR"; fi | 14921 INSTALL_ARCH_DEP_SUBDIR="$INSTALL_ARCH_DEP_SUBDIR src" && if test "$extra_verbose" = "yes"; then echo " Appending \"src\" to \$INSTALL_ARCH_DEP_SUBDIR"; fi |
14921 test -n "$libdl" && LIBS="-l${libdl} $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-l${libdl}\" to \$LIBS"; fi | 14922 test -n "$libdl" && LIBS="-l${libdl} $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-l${libdl}\" to \$LIBS"; fi |
14922 for ac_func in dlerror _dlerror | 14923 for ac_func in dlerror _dlerror |
14923 do | 14924 do |
14924 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 14925 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
14925 echo "configure:14926: checking for $ac_func" >&5 | 14926 echo "configure:14927: checking for $ac_func" >&5 |
14926 | 14927 |
14927 cat > conftest.$ac_ext <<EOF | 14928 cat > conftest.$ac_ext <<EOF |
14928 #line 14929 "configure" | 14929 #line 14930 "configure" |
14929 #include "confdefs.h" | 14930 #include "confdefs.h" |
14930 /* System header to define __stub macros and hopefully few prototypes, | 14931 /* System header to define __stub macros and hopefully few prototypes, |
14931 which can conflict with char $ac_func(); below. */ | 14932 which can conflict with char $ac_func(); below. */ |
14932 #include <assert.h> | 14933 #include <assert.h> |
14933 /* Override any gcc2 internal prototype to avoid an error. */ | 14934 /* Override any gcc2 internal prototype to avoid an error. */ |
14946 $ac_func(); | 14947 $ac_func(); |
14947 #endif | 14948 #endif |
14948 | 14949 |
14949 ; return 0; } | 14950 ; return 0; } |
14950 EOF | 14951 EOF |
14951 if { (eval echo configure:14952: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14952 if { (eval echo configure:14953: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
14952 rm -rf conftest* | 14953 rm -rf conftest* |
14953 eval "ac_cv_func_$ac_func=yes" | 14954 eval "ac_cv_func_$ac_func=yes" |
14954 else | 14955 else |
14955 echo "configure: failed program was:" >&5 | 14956 echo "configure: failed program was:" >&5 |
14956 cat conftest.$ac_ext >&5 | 14957 cat conftest.$ac_ext >&5 |
14985 with_modules=no | 14986 with_modules=no |
14986 fi | 14987 fi |
14987 fi | 14988 fi |
14988 | 14989 |
14989 cat > conftest.$ac_ext <<EOF | 14990 cat > conftest.$ac_ext <<EOF |
14990 #line 14991 "configure" | 14991 #line 14992 "configure" |
14991 #include "confdefs.h" | 14992 #include "confdefs.h" |
14992 int main(int c,char *v[]){return 0;} | 14993 int main(int c,char *v[]){return 0;} |
14993 EOF | 14994 EOF |
14994 if { (eval echo configure:14995: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 14995 if { (eval echo configure:14996: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
14995 then | 14996 then |
14996 : | 14997 : |
14997 else | 14998 else |
14998 conftest_rc="$?" | 14999 conftest_rc="$?" |
14999 echo "configure: failed program was:" >&5 | 15000 echo "configure: failed program was:" >&5 |