Mercurial > hg > xemacs-beta
comparison configure @ 363:972bbb6d6ca2 r21-1-11
Import from CVS: tag r21-1-11
| author | cvs |
|---|---|
| date | Mon, 13 Aug 2007 10:59:28 +0200 |
| parents | 7347b34c275b |
| children | 30d2cfa1092a |
comparison
equal
deleted
inserted
replaced
| 362:1e474c183006 | 363:972bbb6d6ca2 |
|---|---|
| 1035 hppa-*-* ) machine=hp800 ;; | 1035 hppa-*-* ) machine=hp800 ;; |
| 1036 m88k-dg-* ) machine=aviion ;; | 1036 m88k-dg-* ) machine=aviion ;; |
| 1037 m68*-sony-* ) machine=news ;; | 1037 m68*-sony-* ) machine=news ;; |
| 1038 mips-sony-* ) machine=news-risc ;; | 1038 mips-sony-* ) machine=news-risc ;; |
| 1039 clipper-* ) machine=clipper ;; | 1039 clipper-* ) machine=clipper ;; |
| 1040 s390-* ) machine=s390 ;; | |
| 1040 esac | 1041 esac |
| 1041 | 1042 |
| 1042 case "$canonical" in | 1043 case "$canonical" in |
| 1043 *-*-linux* ) opsys=linux ;; | 1044 *-*-linux* ) opsys=linux ;; |
| 1044 *-*-netbsd* ) opsys=netbsd ;; | 1045 *-*-netbsd* ) opsys=netbsd ;; |
| 1502 xe_save_CFLAGS="$CFLAGS" | 1503 xe_save_CFLAGS="$CFLAGS" |
| 1503 | 1504 |
| 1504 # Extract the first word of "gcc", so it can be a program name with args. | 1505 # Extract the first word of "gcc", so it can be a program name with args. |
| 1505 set dummy gcc; ac_word=$2 | 1506 set dummy gcc; ac_word=$2 |
| 1506 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 1507 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
| 1507 echo "configure:1508: checking for $ac_word" >&5 | 1508 echo "configure:1509: checking for $ac_word" >&5 |
| 1508 | 1509 |
| 1509 if test -n "$CC"; then | 1510 if test -n "$CC"; then |
| 1510 ac_cv_prog_CC="$CC" # Let the user override the test. | 1511 ac_cv_prog_CC="$CC" # Let the user override the test. |
| 1511 else | 1512 else |
| 1512 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | 1513 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
| 1529 | 1530 |
| 1530 if test -z "$CC"; then | 1531 if test -z "$CC"; then |
| 1531 # Extract the first word of "cc", so it can be a program name with args. | 1532 # Extract the first word of "cc", so it can be a program name with args. |
| 1532 set dummy cc; ac_word=$2 | 1533 set dummy cc; ac_word=$2 |
| 1533 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 1534 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
| 1534 echo "configure:1535: checking for $ac_word" >&5 | 1535 echo "configure:1536: checking for $ac_word" >&5 |
| 1535 | 1536 |
| 1536 if test -n "$CC"; then | 1537 if test -n "$CC"; then |
| 1537 ac_cv_prog_CC="$CC" # Let the user override the test. | 1538 ac_cv_prog_CC="$CC" # Let the user override the test. |
| 1538 else | 1539 else |
| 1539 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | 1540 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
| 1577 case "`uname -s`" in | 1578 case "`uname -s`" in |
| 1578 *win32* | *WIN32*) | 1579 *win32* | *WIN32*) |
| 1579 # Extract the first word of "cl", so it can be a program name with args. | 1580 # Extract the first word of "cl", so it can be a program name with args. |
| 1580 set dummy cl; ac_word=$2 | 1581 set dummy cl; ac_word=$2 |
| 1581 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 1582 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
| 1582 echo "configure:1583: checking for $ac_word" >&5 | 1583 echo "configure:1584: checking for $ac_word" >&5 |
| 1583 | 1584 |
| 1584 if test -n "$CC"; then | 1585 if test -n "$CC"; then |
| 1585 ac_cv_prog_CC="$CC" # Let the user override the test. | 1586 ac_cv_prog_CC="$CC" # Let the user override the test. |
| 1586 else | 1587 else |
| 1587 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | 1588 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
| 1606 fi | 1607 fi |
| 1607 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } | 1608 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } |
| 1608 fi | 1609 fi |
| 1609 | 1610 |
| 1610 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 | 1611 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 |
| 1611 echo "configure:1612: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 | 1612 echo "configure:1613: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 |
| 1612 | 1613 |
| 1613 ac_ext=c | 1614 ac_ext=c |
| 1614 xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS' | 1615 xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS' |
| 1615 xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_switch_x_site $ld_switch_run' | 1616 xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_switch_x_site $ld_switch_run' |
| 1616 xe_libs='$ld_call_shared $xe_check_libs $X_EXTRA_LIBS $libs_x $X_PRE_LIBS $LIBS $libs_machine $libs_system $libs_standard' | 1617 xe_libs='$ld_call_shared $xe_check_libs $X_EXTRA_LIBS $libs_x $X_PRE_LIBS $LIBS $libs_machine $libs_system $libs_standard' |
| 1619 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' | 1620 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' |
| 1620 cross_compiling=no | 1621 cross_compiling=no |
| 1621 | 1622 |
| 1622 cat > conftest.$ac_ext << EOF | 1623 cat > conftest.$ac_ext << EOF |
| 1623 | 1624 |
| 1624 #line 1625 "configure" | 1625 #line 1626 "configure" |
| 1625 #include "confdefs.h" | 1626 #include "confdefs.h" |
| 1626 | 1627 |
| 1627 main(){return(0);} | 1628 main(){return(0);} |
| 1628 EOF | 1629 EOF |
| 1629 if { (eval echo configure:1630: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 1630 if { (eval echo configure:1631: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 1630 ac_cv_prog_cc_works=yes | 1631 ac_cv_prog_cc_works=yes |
| 1631 # If we can't run a trivial program, we are probably using a cross compiler. | 1632 # If we can't run a trivial program, we are probably using a cross compiler. |
| 1632 if (./conftest; exit) 2>/dev/null; then | 1633 if (./conftest; exit) 2>/dev/null; then |
| 1633 ac_cv_prog_cc_cross=no | 1634 ac_cv_prog_cc_cross=no |
| 1634 else | 1635 else |
| 1652 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 | 1653 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 |
| 1653 if test $ac_cv_prog_cc_works = no; then | 1654 if test $ac_cv_prog_cc_works = no; then |
| 1654 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } | 1655 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } |
| 1655 fi | 1656 fi |
| 1656 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 | 1657 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 |
| 1657 echo "configure:1658: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 | 1658 echo "configure:1659: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 |
| 1658 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 | 1659 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 |
| 1659 cross_compiling=$ac_cv_prog_cc_cross | 1660 cross_compiling=$ac_cv_prog_cc_cross |
| 1660 | 1661 |
| 1661 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 | 1662 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 |
| 1662 echo "configure:1663: checking whether we are using GNU C" >&5 | 1663 echo "configure:1664: checking whether we are using GNU C" >&5 |
| 1663 | 1664 |
| 1664 cat > conftest.c <<EOF | 1665 cat > conftest.c <<EOF |
| 1665 #ifdef __GNUC__ | 1666 #ifdef __GNUC__ |
| 1666 yes; | 1667 yes; |
| 1667 #endif | 1668 #endif |
| 1668 EOF | 1669 EOF |
| 1669 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1670: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then | 1670 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1671: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then |
| 1670 ac_cv_prog_gcc=yes | 1671 ac_cv_prog_gcc=yes |
| 1671 else | 1672 else |
| 1672 ac_cv_prog_gcc=no | 1673 ac_cv_prog_gcc=no |
| 1673 fi | 1674 fi |
| 1674 | 1675 |
| 1682 | 1683 |
| 1683 ac_test_CFLAGS="${CFLAGS+set}" | 1684 ac_test_CFLAGS="${CFLAGS+set}" |
| 1684 ac_save_CFLAGS="$CFLAGS" | 1685 ac_save_CFLAGS="$CFLAGS" |
| 1685 CFLAGS= | 1686 CFLAGS= |
| 1686 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 | 1687 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 |
| 1687 echo "configure:1688: checking whether ${CC-cc} accepts -g" >&5 | 1688 echo "configure:1689: checking whether ${CC-cc} accepts -g" >&5 |
| 1688 | 1689 |
| 1689 echo 'void f(){}' > conftest.c | 1690 echo 'void f(){}' > conftest.c |
| 1690 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then | 1691 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then |
| 1691 ac_cv_prog_cc_g=yes | 1692 ac_cv_prog_cc_g=yes |
| 1692 else | 1693 else |
| 1715 if test "$with_gcc" = "no" -a "$GCC" = "yes"; then | 1716 if test "$with_gcc" = "no" -a "$GCC" = "yes"; then |
| 1716 CC=${NON_GNU_CC-cc} | 1717 CC=${NON_GNU_CC-cc} |
| 1717 # Extract the first word of "gcc", so it can be a program name with args. | 1718 # Extract the first word of "gcc", so it can be a program name with args. |
| 1718 set dummy gcc; ac_word=$2 | 1719 set dummy gcc; ac_word=$2 |
| 1719 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 1720 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
| 1720 echo "configure:1721: checking for $ac_word" >&5 | 1721 echo "configure:1722: checking for $ac_word" >&5 |
| 1721 | 1722 |
| 1722 if test -n "$CC"; then | 1723 if test -n "$CC"; then |
| 1723 ac_cv_prog_CC="$CC" # Let the user override the test. | 1724 ac_cv_prog_CC="$CC" # Let the user override the test. |
| 1724 else | 1725 else |
| 1725 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | 1726 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
| 1742 | 1743 |
| 1743 if test -z "$CC"; then | 1744 if test -z "$CC"; then |
| 1744 # Extract the first word of "cc", so it can be a program name with args. | 1745 # Extract the first word of "cc", so it can be a program name with args. |
| 1745 set dummy cc; ac_word=$2 | 1746 set dummy cc; ac_word=$2 |
| 1746 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 1747 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
| 1747 echo "configure:1748: checking for $ac_word" >&5 | 1748 echo "configure:1749: checking for $ac_word" >&5 |
| 1748 | 1749 |
| 1749 if test -n "$CC"; then | 1750 if test -n "$CC"; then |
| 1750 ac_cv_prog_CC="$CC" # Let the user override the test. | 1751 ac_cv_prog_CC="$CC" # Let the user override the test. |
| 1751 else | 1752 else |
| 1752 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | 1753 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
| 1790 case "`uname -s`" in | 1791 case "`uname -s`" in |
| 1791 *win32* | *WIN32*) | 1792 *win32* | *WIN32*) |
| 1792 # Extract the first word of "cl", so it can be a program name with args. | 1793 # Extract the first word of "cl", so it can be a program name with args. |
| 1793 set dummy cl; ac_word=$2 | 1794 set dummy cl; ac_word=$2 |
| 1794 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 1795 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
| 1795 echo "configure:1796: checking for $ac_word" >&5 | 1796 echo "configure:1797: checking for $ac_word" >&5 |
| 1796 | 1797 |
| 1797 if test -n "$CC"; then | 1798 if test -n "$CC"; then |
| 1798 ac_cv_prog_CC="$CC" # Let the user override the test. | 1799 ac_cv_prog_CC="$CC" # Let the user override the test. |
| 1799 else | 1800 else |
| 1800 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | 1801 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
| 1819 fi | 1820 fi |
| 1820 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } | 1821 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } |
| 1821 fi | 1822 fi |
| 1822 | 1823 |
| 1823 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 | 1824 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 |
| 1824 echo "configure:1825: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 | 1825 echo "configure:1826: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 |
| 1825 | 1826 |
| 1826 ac_ext=c | 1827 ac_ext=c |
| 1827 xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS' | 1828 xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS' |
| 1828 xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_switch_x_site $ld_switch_run' | 1829 xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_switch_x_site $ld_switch_run' |
| 1829 xe_libs='$ld_call_shared $xe_check_libs $X_EXTRA_LIBS $libs_x $X_PRE_LIBS $LIBS $libs_machine $libs_system $libs_standard' | 1830 xe_libs='$ld_call_shared $xe_check_libs $X_EXTRA_LIBS $libs_x $X_PRE_LIBS $LIBS $libs_machine $libs_system $libs_standard' |
| 1832 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' | 1833 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' |
| 1833 cross_compiling=no | 1834 cross_compiling=no |
| 1834 | 1835 |
| 1835 cat > conftest.$ac_ext << EOF | 1836 cat > conftest.$ac_ext << EOF |
| 1836 | 1837 |
| 1837 #line 1838 "configure" | 1838 #line 1839 "configure" |
| 1838 #include "confdefs.h" | 1839 #include "confdefs.h" |
| 1839 | 1840 |
| 1840 main(){return(0);} | 1841 main(){return(0);} |
| 1841 EOF | 1842 EOF |
| 1842 if { (eval echo configure:1843: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 1843 if { (eval echo configure:1844: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 1843 ac_cv_prog_cc_works=yes | 1844 ac_cv_prog_cc_works=yes |
| 1844 # If we can't run a trivial program, we are probably using a cross compiler. | 1845 # If we can't run a trivial program, we are probably using a cross compiler. |
| 1845 if (./conftest; exit) 2>/dev/null; then | 1846 if (./conftest; exit) 2>/dev/null; then |
| 1846 ac_cv_prog_cc_cross=no | 1847 ac_cv_prog_cc_cross=no |
| 1847 else | 1848 else |
| 1865 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 | 1866 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 |
| 1866 if test $ac_cv_prog_cc_works = no; then | 1867 if test $ac_cv_prog_cc_works = no; then |
| 1867 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } | 1868 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } |
| 1868 fi | 1869 fi |
| 1869 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 | 1870 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 |
| 1870 echo "configure:1871: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 | 1871 echo "configure:1872: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 |
| 1871 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 | 1872 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 |
| 1872 cross_compiling=$ac_cv_prog_cc_cross | 1873 cross_compiling=$ac_cv_prog_cc_cross |
| 1873 | 1874 |
| 1874 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 | 1875 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 |
| 1875 echo "configure:1876: checking whether we are using GNU C" >&5 | 1876 echo "configure:1877: checking whether we are using GNU C" >&5 |
| 1876 | 1877 |
| 1877 cat > conftest.c <<EOF | 1878 cat > conftest.c <<EOF |
| 1878 #ifdef __GNUC__ | 1879 #ifdef __GNUC__ |
| 1879 yes; | 1880 yes; |
| 1880 #endif | 1881 #endif |
| 1881 EOF | 1882 EOF |
| 1882 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1883: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then | 1883 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1884: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then |
| 1883 ac_cv_prog_gcc=yes | 1884 ac_cv_prog_gcc=yes |
| 1884 else | 1885 else |
| 1885 ac_cv_prog_gcc=no | 1886 ac_cv_prog_gcc=no |
| 1886 fi | 1887 fi |
| 1887 | 1888 |
| 1895 | 1896 |
| 1896 ac_test_CFLAGS="${CFLAGS+set}" | 1897 ac_test_CFLAGS="${CFLAGS+set}" |
| 1897 ac_save_CFLAGS="$CFLAGS" | 1898 ac_save_CFLAGS="$CFLAGS" |
| 1898 CFLAGS= | 1899 CFLAGS= |
| 1899 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 | 1900 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 |
| 1900 echo "configure:1901: checking whether ${CC-cc} accepts -g" >&5 | 1901 echo "configure:1902: checking whether ${CC-cc} accepts -g" >&5 |
| 1901 | 1902 |
| 1902 echo 'void f(){}' > conftest.c | 1903 echo 'void f(){}' > conftest.c |
| 1903 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then | 1904 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then |
| 1904 ac_cv_prog_cc_g=yes | 1905 ac_cv_prog_cc_g=yes |
| 1905 else | 1906 else |
| 1928 elif test "$with_gcc" = "yes" -a "$GCC" != "yes" ; then | 1929 elif test "$with_gcc" = "yes" -a "$GCC" != "yes" ; then |
| 1929 CC=gcc | 1930 CC=gcc |
| 1930 # Extract the first word of "gcc", so it can be a program name with args. | 1931 # Extract the first word of "gcc", so it can be a program name with args. |
| 1931 set dummy gcc; ac_word=$2 | 1932 set dummy gcc; ac_word=$2 |
| 1932 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 1933 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
| 1933 echo "configure:1934: checking for $ac_word" >&5 | 1934 echo "configure:1935: checking for $ac_word" >&5 |
| 1934 | 1935 |
| 1935 if test -n "$CC"; then | 1936 if test -n "$CC"; then |
| 1936 ac_cv_prog_CC="$CC" # Let the user override the test. | 1937 ac_cv_prog_CC="$CC" # Let the user override the test. |
| 1937 else | 1938 else |
| 1938 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | 1939 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
| 1955 | 1956 |
| 1956 if test -z "$CC"; then | 1957 if test -z "$CC"; then |
| 1957 # Extract the first word of "cc", so it can be a program name with args. | 1958 # Extract the first word of "cc", so it can be a program name with args. |
| 1958 set dummy cc; ac_word=$2 | 1959 set dummy cc; ac_word=$2 |
| 1959 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 1960 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
| 1960 echo "configure:1961: checking for $ac_word" >&5 | 1961 echo "configure:1962: checking for $ac_word" >&5 |
| 1961 | 1962 |
| 1962 if test -n "$CC"; then | 1963 if test -n "$CC"; then |
| 1963 ac_cv_prog_CC="$CC" # Let the user override the test. | 1964 ac_cv_prog_CC="$CC" # Let the user override the test. |
| 1964 else | 1965 else |
| 1965 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | 1966 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
| 2003 case "`uname -s`" in | 2004 case "`uname -s`" in |
| 2004 *win32* | *WIN32*) | 2005 *win32* | *WIN32*) |
| 2005 # Extract the first word of "cl", so it can be a program name with args. | 2006 # Extract the first word of "cl", so it can be a program name with args. |
| 2006 set dummy cl; ac_word=$2 | 2007 set dummy cl; ac_word=$2 |
| 2007 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 2008 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
| 2008 echo "configure:2009: checking for $ac_word" >&5 | 2009 echo "configure:2010: checking for $ac_word" >&5 |
| 2009 | 2010 |
| 2010 if test -n "$CC"; then | 2011 if test -n "$CC"; then |
| 2011 ac_cv_prog_CC="$CC" # Let the user override the test. | 2012 ac_cv_prog_CC="$CC" # Let the user override the test. |
| 2012 else | 2013 else |
| 2013 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | 2014 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
| 2032 fi | 2033 fi |
| 2033 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } | 2034 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } |
| 2034 fi | 2035 fi |
| 2035 | 2036 |
| 2036 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 | 2037 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 |
| 2037 echo "configure:2038: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 | 2038 echo "configure:2039: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 |
| 2038 | 2039 |
| 2039 ac_ext=c | 2040 ac_ext=c |
| 2040 xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS' | 2041 xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS' |
| 2041 xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_switch_x_site $ld_switch_run' | 2042 xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_switch_x_site $ld_switch_run' |
| 2042 xe_libs='$ld_call_shared $xe_check_libs $X_EXTRA_LIBS $libs_x $X_PRE_LIBS $LIBS $libs_machine $libs_system $libs_standard' | 2043 xe_libs='$ld_call_shared $xe_check_libs $X_EXTRA_LIBS $libs_x $X_PRE_LIBS $LIBS $libs_machine $libs_system $libs_standard' |
| 2045 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' | 2046 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' |
| 2046 cross_compiling=no | 2047 cross_compiling=no |
| 2047 | 2048 |
| 2048 cat > conftest.$ac_ext << EOF | 2049 cat > conftest.$ac_ext << EOF |
| 2049 | 2050 |
| 2050 #line 2051 "configure" | 2051 #line 2052 "configure" |
| 2051 #include "confdefs.h" | 2052 #include "confdefs.h" |
| 2052 | 2053 |
| 2053 main(){return(0);} | 2054 main(){return(0);} |
| 2054 EOF | 2055 EOF |
| 2055 if { (eval echo configure:2056: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 2056 if { (eval echo configure:2057: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 2056 ac_cv_prog_cc_works=yes | 2057 ac_cv_prog_cc_works=yes |
| 2057 # If we can't run a trivial program, we are probably using a cross compiler. | 2058 # If we can't run a trivial program, we are probably using a cross compiler. |
| 2058 if (./conftest; exit) 2>/dev/null; then | 2059 if (./conftest; exit) 2>/dev/null; then |
| 2059 ac_cv_prog_cc_cross=no | 2060 ac_cv_prog_cc_cross=no |
| 2060 else | 2061 else |
| 2078 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 | 2079 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 |
| 2079 if test $ac_cv_prog_cc_works = no; then | 2080 if test $ac_cv_prog_cc_works = no; then |
| 2080 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } | 2081 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } |
| 2081 fi | 2082 fi |
| 2082 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 | 2083 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 |
| 2083 echo "configure:2084: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 | 2084 echo "configure:2085: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 |
| 2084 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 | 2085 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 |
| 2085 cross_compiling=$ac_cv_prog_cc_cross | 2086 cross_compiling=$ac_cv_prog_cc_cross |
| 2086 | 2087 |
| 2087 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 | 2088 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 |
| 2088 echo "configure:2089: checking whether we are using GNU C" >&5 | 2089 echo "configure:2090: checking whether we are using GNU C" >&5 |
| 2089 | 2090 |
| 2090 cat > conftest.c <<EOF | 2091 cat > conftest.c <<EOF |
| 2091 #ifdef __GNUC__ | 2092 #ifdef __GNUC__ |
| 2092 yes; | 2093 yes; |
| 2093 #endif | 2094 #endif |
| 2094 EOF | 2095 EOF |
| 2095 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:2096: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then | 2096 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:2097: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then |
| 2096 ac_cv_prog_gcc=yes | 2097 ac_cv_prog_gcc=yes |
| 2097 else | 2098 else |
| 2098 ac_cv_prog_gcc=no | 2099 ac_cv_prog_gcc=no |
| 2099 fi | 2100 fi |
| 2100 | 2101 |
| 2108 | 2109 |
| 2109 ac_test_CFLAGS="${CFLAGS+set}" | 2110 ac_test_CFLAGS="${CFLAGS+set}" |
| 2110 ac_save_CFLAGS="$CFLAGS" | 2111 ac_save_CFLAGS="$CFLAGS" |
| 2111 CFLAGS= | 2112 CFLAGS= |
| 2112 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 | 2113 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 |
| 2113 echo "configure:2114: checking whether ${CC-cc} accepts -g" >&5 | 2114 echo "configure:2115: checking whether ${CC-cc} accepts -g" >&5 |
| 2114 | 2115 |
| 2115 echo 'void f(){}' > conftest.c | 2116 echo 'void f(){}' > conftest.c |
| 2116 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then | 2117 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then |
| 2117 ac_cv_prog_cc_g=yes | 2118 ac_cv_prog_cc_g=yes |
| 2118 else | 2119 else |
| 2145 test -n "$CPP" -a -d "$CPP" && CPP= | 2146 test -n "$CPP" -a -d "$CPP" && CPP= |
| 2146 | 2147 |
| 2147 test -n "$NON_GNU_CPP" -a "$GCC" != "yes" -a -z "$CPP" && CPP="$NON_GNU_CPP" | 2148 test -n "$NON_GNU_CPP" -a "$GCC" != "yes" -a -z "$CPP" && CPP="$NON_GNU_CPP" |
| 2148 | 2149 |
| 2149 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6 | 2150 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6 |
| 2150 echo "configure:2151: checking how to run the C preprocessor" >&5 | 2151 echo "configure:2152: checking how to run the C preprocessor" >&5 |
| 2151 # On Suns, sometimes $CPP names a directory. | 2152 # On Suns, sometimes $CPP names a directory. |
| 2152 if test -n "$CPP" && test -d "$CPP"; then | 2153 if test -n "$CPP" && test -d "$CPP"; then |
| 2153 CPP= | 2154 CPP= |
| 2154 fi | 2155 fi |
| 2155 if test -z "$CPP"; then | 2156 if test -z "$CPP"; then |
| 2158 # substituted into the Makefile and "${CC-cc}" will confuse make. | 2159 # substituted into the Makefile and "${CC-cc}" will confuse make. |
| 2159 CPP="${CC-cc} -E" | 2160 CPP="${CC-cc} -E" |
| 2160 # On the NeXT, cc -E runs the code through the compiler's parser, | 2161 # On the NeXT, cc -E runs the code through the compiler's parser, |
| 2161 # not just through cpp. | 2162 # not just through cpp. |
| 2162 cat > conftest.$ac_ext <<EOF | 2163 cat > conftest.$ac_ext <<EOF |
| 2163 #line 2164 "configure" | 2164 #line 2165 "configure" |
| 2164 #include "confdefs.h" | 2165 #include "confdefs.h" |
| 2165 #include <assert.h> | 2166 #include <assert.h> |
| 2166 Syntax Error | 2167 Syntax Error |
| 2167 EOF | 2168 EOF |
| 2168 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 2169 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 2169 { (eval echo configure:2170: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 2170 { (eval echo configure:2171: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 2170 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 2171 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 2171 if test -z "$ac_err"; then | 2172 if test -z "$ac_err"; then |
| 2172 : | 2173 : |
| 2173 else | 2174 else |
| 2174 echo "$ac_err" >&5 | 2175 echo "$ac_err" >&5 |
| 2175 echo "configure: failed program was:" >&5 | 2176 echo "configure: failed program was:" >&5 |
| 2176 cat conftest.$ac_ext >&5 | 2177 cat conftest.$ac_ext >&5 |
| 2177 rm -rf conftest* | 2178 rm -rf conftest* |
| 2178 CPP="${CC-cc} -E -traditional-cpp" | 2179 CPP="${CC-cc} -E -traditional-cpp" |
| 2179 cat > conftest.$ac_ext <<EOF | 2180 cat > conftest.$ac_ext <<EOF |
| 2180 #line 2181 "configure" | 2181 #line 2182 "configure" |
| 2181 #include "confdefs.h" | 2182 #include "confdefs.h" |
| 2182 #include <assert.h> | 2183 #include <assert.h> |
| 2183 Syntax Error | 2184 Syntax Error |
| 2184 EOF | 2185 EOF |
| 2185 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 2186 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 2186 { (eval echo configure:2187: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 2187 { (eval echo configure:2188: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 2187 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 2188 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 2188 if test -z "$ac_err"; then | 2189 if test -z "$ac_err"; then |
| 2189 : | 2190 : |
| 2190 else | 2191 else |
| 2191 echo "$ac_err" >&5 | 2192 echo "$ac_err" >&5 |
| 2192 echo "configure: failed program was:" >&5 | 2193 echo "configure: failed program was:" >&5 |
| 2193 cat conftest.$ac_ext >&5 | 2194 cat conftest.$ac_ext >&5 |
| 2194 rm -rf conftest* | 2195 rm -rf conftest* |
| 2195 CPP="${CC-cc} -nologo -E" | 2196 CPP="${CC-cc} -nologo -E" |
| 2196 cat > conftest.$ac_ext <<EOF | 2197 cat > conftest.$ac_ext <<EOF |
| 2197 #line 2198 "configure" | 2198 #line 2199 "configure" |
| 2198 #include "confdefs.h" | 2199 #include "confdefs.h" |
| 2199 #include <assert.h> | 2200 #include <assert.h> |
| 2200 Syntax Error | 2201 Syntax Error |
| 2201 EOF | 2202 EOF |
| 2202 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 2203 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 2203 { (eval echo configure:2204: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 2204 { (eval echo configure:2205: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 2204 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 2205 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 2205 if test -z "$ac_err"; then | 2206 if test -z "$ac_err"; then |
| 2206 : | 2207 : |
| 2207 else | 2208 else |
| 2208 echo "$ac_err" >&5 | 2209 echo "$ac_err" >&5 |
| 2223 fi | 2224 fi |
| 2224 echo "$ac_t""$CPP" 1>&6 | 2225 echo "$ac_t""$CPP" 1>&6 |
| 2225 | 2226 |
| 2226 | 2227 |
| 2227 echo $ac_n "checking for AIX""... $ac_c" 1>&6 | 2228 echo $ac_n "checking for AIX""... $ac_c" 1>&6 |
| 2228 echo "configure:2229: checking for AIX" >&5 | 2229 echo "configure:2230: checking for AIX" >&5 |
| 2229 cat > conftest.$ac_ext <<EOF | 2230 cat > conftest.$ac_ext <<EOF |
| 2230 #line 2231 "configure" | 2231 #line 2232 "configure" |
| 2231 #include "confdefs.h" | 2232 #include "confdefs.h" |
| 2232 #ifdef _AIX | 2233 #ifdef _AIX |
| 2233 yes | 2234 yes |
| 2234 #endif | 2235 #endif |
| 2235 | 2236 |
| 2252 rm -f conftest* | 2253 rm -f conftest* |
| 2253 | 2254 |
| 2254 | 2255 |
| 2255 | 2256 |
| 2256 echo $ac_n "checking for GNU libc""... $ac_c" 1>&6 | 2257 echo $ac_n "checking for GNU libc""... $ac_c" 1>&6 |
| 2257 echo "configure:2258: checking for GNU libc" >&5 | 2258 echo "configure:2259: checking for GNU libc" >&5 |
| 2258 cat > conftest.$ac_ext <<EOF | 2259 cat > conftest.$ac_ext <<EOF |
| 2259 #line 2260 "configure" | 2260 #line 2261 "configure" |
| 2260 #include "confdefs.h" | 2261 #include "confdefs.h" |
| 2261 #include <features.h> | 2262 #include <features.h> |
| 2262 int main() { | 2263 int main() { |
| 2263 | 2264 |
| 2264 #if ! (defined __GLIBC__ || defined __GNU_LIBRARY__) | 2265 #if ! (defined __GLIBC__ || defined __GNU_LIBRARY__) |
| 2266 ******* ======= ******** &&&&&&&& | 2267 ******* ======= ******** &&&&&&&& |
| 2267 #endif | 2268 #endif |
| 2268 | 2269 |
| 2269 ; return 0; } | 2270 ; return 0; } |
| 2270 EOF | 2271 EOF |
| 2271 if { (eval echo configure:2272: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 2272 if { (eval echo configure:2273: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| 2272 rm -rf conftest* | 2273 rm -rf conftest* |
| 2273 have_glibc=yes | 2274 have_glibc=yes |
| 2274 else | 2275 else |
| 2275 echo "configure: failed program was:" >&5 | 2276 echo "configure: failed program was:" >&5 |
| 2276 cat conftest.$ac_ext >&5 | 2277 cat conftest.$ac_ext >&5 |
| 2288 } | 2289 } |
| 2289 | 2290 |
| 2290 | 2291 |
| 2291 | 2292 |
| 2292 cat > conftest.$ac_ext <<EOF | 2293 cat > conftest.$ac_ext <<EOF |
| 2293 #line 2294 "configure" | 2294 #line 2295 "configure" |
| 2294 #include "confdefs.h" | 2295 #include "confdefs.h" |
| 2295 int main () { | 2296 int main () { |
| 2296 #if defined __SUNPRO_C | 2297 #if defined __SUNPRO_C |
| 2297 return 11; | 2298 return 11; |
| 2298 #elif defined __DECC | 2299 #elif defined __DECC |
| 2300 #else | 2301 #else |
| 2301 return 0; | 2302 return 0; |
| 2302 #endif | 2303 #endif |
| 2303 } | 2304 } |
| 2304 EOF | 2305 EOF |
| 2305 if { (eval echo configure:2306: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 2306 if { (eval echo configure:2307: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
| 2306 then | 2307 then |
| 2307 : | 2308 : |
| 2308 else | 2309 else |
| 2309 conftest_rc="$?" | 2310 conftest_rc="$?" |
| 2310 echo "configure: failed program was:" >&5 | 2311 echo "configure: failed program was:" >&5 |
| 2570 test -n "$unexec" && extra_objs="$extra_objs $unexec" && if test "$extra_verbose" = "yes"; then | 2571 test -n "$unexec" && extra_objs="$extra_objs $unexec" && if test "$extra_verbose" = "yes"; then |
| 2571 echo " xemacs will be linked with \"$unexec\"" | 2572 echo " xemacs will be linked with \"$unexec\"" |
| 2572 fi | 2573 fi |
| 2573 | 2574 |
| 2574 echo $ac_n "checking for dynodump""... $ac_c" 1>&6 | 2575 echo $ac_n "checking for dynodump""... $ac_c" 1>&6 |
| 2575 echo "configure:2576: checking for dynodump" >&5 | 2576 echo "configure:2577: checking for dynodump" >&5 |
| 2576 if test "$unexec" != "unexsol2.o"; then | 2577 if test "$unexec" != "unexsol2.o"; then |
| 2577 echo "$ac_t""no" 1>&6 | 2578 echo "$ac_t""no" 1>&6 |
| 2578 else | 2579 else |
| 2579 echo "$ac_t""yes" 1>&6 | 2580 echo "$ac_t""yes" 1>&6 |
| 2580 { test "$extra_verbose" = "yes" && cat << \EOF | 2581 { test "$extra_verbose" = "yes" && cat << \EOF |
| 2608 for f in "/usr/lpp/X11/bin/smt.exp" "/usr/bin/X11/smt.exp"; do | 2609 for f in "/usr/lpp/X11/bin/smt.exp" "/usr/bin/X11/smt.exp"; do |
| 2609 if test -r "$f"; then start_flags="${start_flags},-bI:${f}"; break; fi | 2610 if test -r "$f"; then start_flags="${start_flags},-bI:${f}"; break; fi |
| 2610 done | 2611 done |
| 2611 | 2612 |
| 2612 echo $ac_n "checking for terminateAndUnload in -lC""... $ac_c" 1>&6 | 2613 echo $ac_n "checking for terminateAndUnload in -lC""... $ac_c" 1>&6 |
| 2613 echo "configure:2614: checking for terminateAndUnload in -lC" >&5 | 2614 echo "configure:2615: checking for terminateAndUnload in -lC" >&5 |
| 2614 ac_lib_var=`echo C'_'terminateAndUnload | sed 'y%./+-%__p_%'` | 2615 ac_lib_var=`echo C'_'terminateAndUnload | sed 'y%./+-%__p_%'` |
| 2615 | 2616 |
| 2616 xe_check_libs=" -lC " | 2617 xe_check_libs=" -lC " |
| 2617 cat > conftest.$ac_ext <<EOF | 2618 cat > conftest.$ac_ext <<EOF |
| 2618 #line 2619 "configure" | 2619 #line 2620 "configure" |
| 2619 #include "confdefs.h" | 2620 #include "confdefs.h" |
| 2620 /* Override any gcc2 internal prototype to avoid an error. */ | 2621 /* Override any gcc2 internal prototype to avoid an error. */ |
| 2621 /* We use char because int might match the return type of a gcc2 | 2622 /* We use char because int might match the return type of a gcc2 |
| 2622 builtin and then its argument prototype would still apply. */ | 2623 builtin and then its argument prototype would still apply. */ |
| 2623 char terminateAndUnload(); | 2624 char terminateAndUnload(); |
| 2624 | 2625 |
| 2625 int main() { | 2626 int main() { |
| 2626 terminateAndUnload() | 2627 terminateAndUnload() |
| 2627 ; return 0; } | 2628 ; return 0; } |
| 2628 EOF | 2629 EOF |
| 2629 if { (eval echo configure:2630: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 2630 if { (eval echo configure:2631: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 2630 rm -rf conftest* | 2631 rm -rf conftest* |
| 2631 eval "ac_cv_lib_$ac_lib_var=yes" | 2632 eval "ac_cv_lib_$ac_lib_var=yes" |
| 2632 else | 2633 else |
| 2633 echo "configure: failed program was:" >&5 | 2634 echo "configure: failed program was:" >&5 |
| 2634 cat conftest.$ac_ext >&5 | 2635 cat conftest.$ac_ext >&5 |
| 2708 esac | 2709 esac |
| 2709 fi | 2710 fi |
| 2710 | 2711 |
| 2711 if test "$add_runtime_path" = "yes"; then | 2712 if test "$add_runtime_path" = "yes"; then |
| 2712 echo $ac_n "checking "for runtime libraries flag"""... $ac_c" 1>&6 | 2713 echo $ac_n "checking "for runtime libraries flag"""... $ac_c" 1>&6 |
| 2713 echo "configure:2714: checking "for runtime libraries flag"" >&5 | 2714 echo "configure:2715: checking "for runtime libraries flag"" >&5 |
| 2714 case "$opsys" in | 2715 case "$opsys" in |
| 2715 sol2 ) dash_r="-R" ;; | 2716 sol2 ) dash_r="-R" ;; |
| 2716 decosf* | linux* | irix*) dash_r="-rpath " ;; | 2717 decosf* | linux* | irix*) dash_r="-rpath " ;; |
| 2717 *) | 2718 *) |
| 2718 dash_r="" | 2719 dash_r="" |
| 2730 esac | 2731 esac |
| 2731 shift | 2732 shift |
| 2732 done | 2733 done |
| 2733 fi | 2734 fi |
| 2734 cat > conftest.$ac_ext <<EOF | 2735 cat > conftest.$ac_ext <<EOF |
| 2735 #line 2736 "configure" | 2736 #line 2737 "configure" |
| 2736 #include "confdefs.h" | 2737 #include "confdefs.h" |
| 2737 | 2738 |
| 2738 int main() { | 2739 int main() { |
| 2739 | 2740 |
| 2740 ; return 0; } | 2741 ; return 0; } |
| 2741 EOF | 2742 EOF |
| 2742 if { (eval echo configure:2743: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 2743 if { (eval echo configure:2744: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 2743 rm -rf conftest* | 2744 rm -rf conftest* |
| 2744 dash_r="$try_dash_r" | 2745 dash_r="$try_dash_r" |
| 2745 else | 2746 else |
| 2746 echo "configure: failed program was:" >&5 | 2747 echo "configure: failed program was:" >&5 |
| 2747 cat conftest.$ac_ext >&5 | 2748 cat conftest.$ac_ext >&5 |
| 2838 else | 2839 else |
| 2839 doug_lea_malloc=no | 2840 doug_lea_malloc=no |
| 2840 fi | 2841 fi |
| 2841 after_morecore_hook_exists=yes | 2842 after_morecore_hook_exists=yes |
| 2842 echo $ac_n "checking for malloc_get_state""... $ac_c" 1>&6 | 2843 echo $ac_n "checking for malloc_get_state""... $ac_c" 1>&6 |
| 2843 echo "configure:2844: checking for malloc_get_state" >&5 | 2844 echo "configure:2845: checking for malloc_get_state" >&5 |
| 2844 | 2845 |
| 2845 cat > conftest.$ac_ext <<EOF | 2846 cat > conftest.$ac_ext <<EOF |
| 2846 #line 2847 "configure" | 2847 #line 2848 "configure" |
| 2847 #include "confdefs.h" | 2848 #include "confdefs.h" |
| 2848 /* System header to define __stub macros and hopefully few prototypes, | 2849 /* System header to define __stub macros and hopefully few prototypes, |
| 2849 which can conflict with char malloc_get_state(); below. */ | 2850 which can conflict with char malloc_get_state(); below. */ |
| 2850 #include <assert.h> | 2851 #include <assert.h> |
| 2851 /* Override any gcc2 internal prototype to avoid an error. */ | 2852 /* Override any gcc2 internal prototype to avoid an error. */ |
| 2864 malloc_get_state(); | 2865 malloc_get_state(); |
| 2865 #endif | 2866 #endif |
| 2866 | 2867 |
| 2867 ; return 0; } | 2868 ; return 0; } |
| 2868 EOF | 2869 EOF |
| 2869 if { (eval echo configure:2870: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 2870 if { (eval echo configure:2871: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 2870 rm -rf conftest* | 2871 rm -rf conftest* |
| 2871 eval "ac_cv_func_malloc_get_state=yes" | 2872 eval "ac_cv_func_malloc_get_state=yes" |
| 2872 else | 2873 else |
| 2873 echo "configure: failed program was:" >&5 | 2874 echo "configure: failed program was:" >&5 |
| 2874 cat conftest.$ac_ext >&5 | 2875 cat conftest.$ac_ext >&5 |
| 2884 echo "$ac_t""no" 1>&6 | 2885 echo "$ac_t""no" 1>&6 |
| 2885 doug_lea_malloc=no | 2886 doug_lea_malloc=no |
| 2886 fi | 2887 fi |
| 2887 | 2888 |
| 2888 echo $ac_n "checking for malloc_set_state""... $ac_c" 1>&6 | 2889 echo $ac_n "checking for malloc_set_state""... $ac_c" 1>&6 |
| 2889 echo "configure:2890: checking for malloc_set_state" >&5 | 2890 echo "configure:2891: checking for malloc_set_state" >&5 |
| 2890 | 2891 |
| 2891 cat > conftest.$ac_ext <<EOF | 2892 cat > conftest.$ac_ext <<EOF |
| 2892 #line 2893 "configure" | 2893 #line 2894 "configure" |
| 2893 #include "confdefs.h" | 2894 #include "confdefs.h" |
| 2894 /* System header to define __stub macros and hopefully few prototypes, | 2895 /* System header to define __stub macros and hopefully few prototypes, |
| 2895 which can conflict with char malloc_set_state(); below. */ | 2896 which can conflict with char malloc_set_state(); below. */ |
| 2896 #include <assert.h> | 2897 #include <assert.h> |
| 2897 /* Override any gcc2 internal prototype to avoid an error. */ | 2898 /* Override any gcc2 internal prototype to avoid an error. */ |
| 2910 malloc_set_state(); | 2911 malloc_set_state(); |
| 2911 #endif | 2912 #endif |
| 2912 | 2913 |
| 2913 ; return 0; } | 2914 ; return 0; } |
| 2914 EOF | 2915 EOF |
| 2915 if { (eval echo configure:2916: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 2916 if { (eval echo configure:2917: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 2916 rm -rf conftest* | 2917 rm -rf conftest* |
| 2917 eval "ac_cv_func_malloc_set_state=yes" | 2918 eval "ac_cv_func_malloc_set_state=yes" |
| 2918 else | 2919 else |
| 2919 echo "configure: failed program was:" >&5 | 2920 echo "configure: failed program was:" >&5 |
| 2920 cat conftest.$ac_ext >&5 | 2921 cat conftest.$ac_ext >&5 |
| 2930 echo "$ac_t""no" 1>&6 | 2931 echo "$ac_t""no" 1>&6 |
| 2931 doug_lea_malloc=no | 2932 doug_lea_malloc=no |
| 2932 fi | 2933 fi |
| 2933 | 2934 |
| 2934 echo $ac_n "checking whether __after_morecore_hook exists""... $ac_c" 1>&6 | 2935 echo $ac_n "checking whether __after_morecore_hook exists""... $ac_c" 1>&6 |
| 2935 echo "configure:2936: checking whether __after_morecore_hook exists" >&5 | 2936 echo "configure:2937: checking whether __after_morecore_hook exists" >&5 |
| 2936 cat > conftest.$ac_ext <<EOF | 2937 cat > conftest.$ac_ext <<EOF |
| 2937 #line 2938 "configure" | 2938 #line 2939 "configure" |
| 2938 #include "confdefs.h" | 2939 #include "confdefs.h" |
| 2939 extern void (* __after_morecore_hook)(); | 2940 extern void (* __after_morecore_hook)(); |
| 2940 int main() { | 2941 int main() { |
| 2941 __after_morecore_hook = 0 | 2942 __after_morecore_hook = 0 |
| 2942 ; return 0; } | 2943 ; return 0; } |
| 2943 EOF | 2944 EOF |
| 2944 if { (eval echo configure:2945: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 2945 if { (eval echo configure:2946: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 2945 rm -rf conftest* | 2946 rm -rf conftest* |
| 2946 echo "$ac_t""yes" 1>&6 | 2947 echo "$ac_t""yes" 1>&6 |
| 2947 else | 2948 else |
| 2948 echo "configure: failed program was:" >&5 | 2949 echo "configure: failed program was:" >&5 |
| 2949 cat conftest.$ac_ext >&5 | 2950 cat conftest.$ac_ext >&5 |
| 2998 | 2999 |
| 2999 | 3000 |
| 3000 # Extract the first word of "ranlib", so it can be a program name with args. | 3001 # Extract the first word of "ranlib", so it can be a program name with args. |
| 3001 set dummy ranlib; ac_word=$2 | 3002 set dummy ranlib; ac_word=$2 |
| 3002 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 3003 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
| 3003 echo "configure:3004: checking for $ac_word" >&5 | 3004 echo "configure:3005: checking for $ac_word" >&5 |
| 3004 | 3005 |
| 3005 if test -n "$RANLIB"; then | 3006 if test -n "$RANLIB"; then |
| 3006 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. | 3007 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. |
| 3007 else | 3008 else |
| 3008 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | 3009 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
| 3053 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag | 3054 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag |
| 3054 # AFS /usr/afsws/bin/install, which mishandles nonexistent args | 3055 # AFS /usr/afsws/bin/install, which mishandles nonexistent args |
| 3055 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" | 3056 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" |
| 3056 # ./install, which can be erroneously created by make from ./install.sh. | 3057 # ./install, which can be erroneously created by make from ./install.sh. |
| 3057 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 | 3058 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 |
| 3058 echo "configure:3059: checking for a BSD compatible install" >&5 | 3059 echo "configure:3060: checking for a BSD compatible install" >&5 |
| 3059 if test -z "$INSTALL"; then | 3060 if test -z "$INSTALL"; then |
| 3060 | 3061 |
| 3061 IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS=":" | 3062 IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS=":" |
| 3062 for ac_dir in $PATH; do | 3063 for ac_dir in $PATH; do |
| 3063 # Account for people who put trailing slashes in PATH elements. | 3064 # Account for people who put trailing slashes in PATH elements. |
| 3107 for ac_prog in 'bison -y' byacc | 3108 for ac_prog in 'bison -y' byacc |
| 3108 do | 3109 do |
| 3109 # Extract the first word of "$ac_prog", so it can be a program name with args. | 3110 # Extract the first word of "$ac_prog", so it can be a program name with args. |
| 3110 set dummy $ac_prog; ac_word=$2 | 3111 set dummy $ac_prog; ac_word=$2 |
| 3111 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 3112 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
| 3112 echo "configure:3113: checking for $ac_word" >&5 | 3113 echo "configure:3114: checking for $ac_word" >&5 |
| 3113 | 3114 |
| 3114 if test -n "$YACC"; then | 3115 if test -n "$YACC"; then |
| 3115 ac_cv_prog_YACC="$YACC" # Let the user override the test. | 3116 ac_cv_prog_YACC="$YACC" # Let the user override the test. |
| 3116 else | 3117 else |
| 3117 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | 3118 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
| 3139 | 3140 |
| 3140 for ac_hdr in mach/mach.h sys/stropts.h sys/timeb.h sys/time.h unistd.h | 3141 for ac_hdr in mach/mach.h sys/stropts.h sys/timeb.h sys/time.h unistd.h |
| 3141 do | 3142 do |
| 3142 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 3143 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
| 3143 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 3144 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
| 3144 echo "configure:3145: checking for $ac_hdr" >&5 | 3145 echo "configure:3146: checking for $ac_hdr" >&5 |
| 3145 | 3146 |
| 3146 cat > conftest.$ac_ext <<EOF | 3147 cat > conftest.$ac_ext <<EOF |
| 3147 #line 3148 "configure" | 3148 #line 3149 "configure" |
| 3148 #include "confdefs.h" | 3149 #include "confdefs.h" |
| 3149 #include <$ac_hdr> | 3150 #include <$ac_hdr> |
| 3150 EOF | 3151 EOF |
| 3151 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 3152 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 3152 { (eval echo configure:3153: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 3153 { (eval echo configure:3154: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 3153 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 3154 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 3154 if test -z "$ac_err"; then | 3155 if test -z "$ac_err"; then |
| 3155 rm -rf conftest* | 3156 rm -rf conftest* |
| 3156 eval "ac_cv_header_$ac_safe=yes" | 3157 eval "ac_cv_header_$ac_safe=yes" |
| 3157 else | 3158 else |
| 3180 | 3181 |
| 3181 for ac_hdr in utime.h locale.h libgen.h fcntl.h ulimit.h cygwin/version.h | 3182 for ac_hdr in utime.h locale.h libgen.h fcntl.h ulimit.h cygwin/version.h |
| 3182 do | 3183 do |
| 3183 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 3184 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
| 3184 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 3185 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
| 3185 echo "configure:3186: checking for $ac_hdr" >&5 | 3186 echo "configure:3187: checking for $ac_hdr" >&5 |
| 3186 | 3187 |
| 3187 cat > conftest.$ac_ext <<EOF | 3188 cat > conftest.$ac_ext <<EOF |
| 3188 #line 3189 "configure" | 3189 #line 3190 "configure" |
| 3189 #include "confdefs.h" | 3190 #include "confdefs.h" |
| 3190 #include <$ac_hdr> | 3191 #include <$ac_hdr> |
| 3191 EOF | 3192 EOF |
| 3192 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 3193 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 3193 { (eval echo configure:3194: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 3194 { (eval echo configure:3195: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 3194 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 3195 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 3195 if test -z "$ac_err"; then | 3196 if test -z "$ac_err"; then |
| 3196 rm -rf conftest* | 3197 rm -rf conftest* |
| 3197 eval "ac_cv_header_$ac_safe=yes" | 3198 eval "ac_cv_header_$ac_safe=yes" |
| 3198 else | 3199 else |
| 3221 | 3222 |
| 3222 for ac_hdr in linux/version.h kstat.h sys/pstat.h inttypes.h sys/un.h a.out.h | 3223 for ac_hdr in linux/version.h kstat.h sys/pstat.h inttypes.h sys/un.h a.out.h |
| 3223 do | 3224 do |
| 3224 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 3225 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
| 3225 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 3226 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
| 3226 echo "configure:3227: checking for $ac_hdr" >&5 | 3227 echo "configure:3228: checking for $ac_hdr" >&5 |
| 3227 | 3228 |
| 3228 cat > conftest.$ac_ext <<EOF | 3229 cat > conftest.$ac_ext <<EOF |
| 3229 #line 3230 "configure" | 3230 #line 3231 "configure" |
| 3230 #include "confdefs.h" | 3231 #include "confdefs.h" |
| 3231 #include <$ac_hdr> | 3232 #include <$ac_hdr> |
| 3232 EOF | 3233 EOF |
| 3233 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 3234 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 3234 { (eval echo configure:3235: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 3235 { (eval echo configure:3236: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 3235 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 3236 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 3236 if test -z "$ac_err"; then | 3237 if test -z "$ac_err"; then |
| 3237 rm -rf conftest* | 3238 rm -rf conftest* |
| 3238 eval "ac_cv_header_$ac_safe=yes" | 3239 eval "ac_cv_header_$ac_safe=yes" |
| 3239 else | 3240 else |
| 3259 echo "$ac_t""no" 1>&6 | 3260 echo "$ac_t""no" 1>&6 |
| 3260 fi | 3261 fi |
| 3261 done | 3262 done |
| 3262 | 3263 |
| 3263 echo $ac_n "checking for sys/wait.h that is POSIX.1 compatible""... $ac_c" 1>&6 | 3264 echo $ac_n "checking for sys/wait.h that is POSIX.1 compatible""... $ac_c" 1>&6 |
| 3264 echo "configure:3265: checking for sys/wait.h that is POSIX.1 compatible" >&5 | 3265 echo "configure:3266: checking for sys/wait.h that is POSIX.1 compatible" >&5 |
| 3265 | 3266 |
| 3266 cat > conftest.$ac_ext <<EOF | 3267 cat > conftest.$ac_ext <<EOF |
| 3267 #line 3268 "configure" | 3268 #line 3269 "configure" |
| 3268 #include "confdefs.h" | 3269 #include "confdefs.h" |
| 3269 #include <sys/types.h> | 3270 #include <sys/types.h> |
| 3270 #include <sys/wait.h> | 3271 #include <sys/wait.h> |
| 3271 #ifndef WEXITSTATUS | 3272 #ifndef WEXITSTATUS |
| 3272 #define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8) | 3273 #define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8) |
| 3278 int s; | 3279 int s; |
| 3279 wait (&s); | 3280 wait (&s); |
| 3280 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1; | 3281 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1; |
| 3281 ; return 0; } | 3282 ; return 0; } |
| 3282 EOF | 3283 EOF |
| 3283 if { (eval echo configure:3284: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3284 if { (eval echo configure:3285: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| 3284 rm -rf conftest* | 3285 rm -rf conftest* |
| 3285 ac_cv_header_sys_wait_h=yes | 3286 ac_cv_header_sys_wait_h=yes |
| 3286 else | 3287 else |
| 3287 echo "configure: failed program was:" >&5 | 3288 echo "configure: failed program was:" >&5 |
| 3288 cat conftest.$ac_ext >&5 | 3289 cat conftest.$ac_ext >&5 |
| 3302 } | 3303 } |
| 3303 | 3304 |
| 3304 fi | 3305 fi |
| 3305 | 3306 |
| 3306 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6 | 3307 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6 |
| 3307 echo "configure:3308: checking for ANSI C header files" >&5 | 3308 echo "configure:3309: checking for ANSI C header files" >&5 |
| 3308 | 3309 |
| 3309 cat > conftest.$ac_ext <<EOF | 3310 cat > conftest.$ac_ext <<EOF |
| 3310 #line 3311 "configure" | 3311 #line 3312 "configure" |
| 3311 #include "confdefs.h" | 3312 #include "confdefs.h" |
| 3312 #include <stdlib.h> | 3313 #include <stdlib.h> |
| 3313 #include <stdarg.h> | 3314 #include <stdarg.h> |
| 3314 #include <string.h> | 3315 #include <string.h> |
| 3315 #include <float.h> | 3316 #include <float.h> |
| 3316 EOF | 3317 EOF |
| 3317 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 3318 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 3318 { (eval echo configure:3319: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 3319 { (eval echo configure:3320: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 3319 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 3320 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 3320 if test -z "$ac_err"; then | 3321 if test -z "$ac_err"; then |
| 3321 rm -rf conftest* | 3322 rm -rf conftest* |
| 3322 ac_cv_header_stdc=yes | 3323 ac_cv_header_stdc=yes |
| 3323 else | 3324 else |
| 3330 rm -f conftest* | 3331 rm -f conftest* |
| 3331 | 3332 |
| 3332 if test $ac_cv_header_stdc = yes; then | 3333 if test $ac_cv_header_stdc = yes; then |
| 3333 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. | 3334 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. |
| 3334 cat > conftest.$ac_ext <<EOF | 3335 cat > conftest.$ac_ext <<EOF |
| 3335 #line 3336 "configure" | 3336 #line 3337 "configure" |
| 3336 #include "confdefs.h" | 3337 #include "confdefs.h" |
| 3337 #include <string.h> | 3338 #include <string.h> |
| 3338 EOF | 3339 EOF |
| 3339 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 3340 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
| 3340 egrep "memchr" >/dev/null 2>&1; then | 3341 egrep "memchr" >/dev/null 2>&1; then |
| 3348 fi | 3349 fi |
| 3349 | 3350 |
| 3350 if test $ac_cv_header_stdc = yes; then | 3351 if test $ac_cv_header_stdc = yes; then |
| 3351 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. | 3352 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. |
| 3352 cat > conftest.$ac_ext <<EOF | 3353 cat > conftest.$ac_ext <<EOF |
| 3353 #line 3354 "configure" | 3354 #line 3355 "configure" |
| 3354 #include "confdefs.h" | 3355 #include "confdefs.h" |
| 3355 #include <stdlib.h> | 3356 #include <stdlib.h> |
| 3356 EOF | 3357 EOF |
| 3357 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 3358 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
| 3358 egrep "free" >/dev/null 2>&1; then | 3359 egrep "free" >/dev/null 2>&1; then |
| 3366 fi | 3367 fi |
| 3367 | 3368 |
| 3368 if test $ac_cv_header_stdc = yes; then | 3369 if test $ac_cv_header_stdc = yes; then |
| 3369 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. | 3370 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. |
| 3370 cat > conftest.$ac_ext <<EOF | 3371 cat > conftest.$ac_ext <<EOF |
| 3371 #line 3372 "configure" | 3372 #line 3373 "configure" |
| 3372 #include "confdefs.h" | 3373 #include "confdefs.h" |
| 3373 #include <ctype.h> | 3374 #include <ctype.h> |
| 3374 #define ISLOWER(c) ('a' <= (c) && (c) <= 'z') | 3375 #define ISLOWER(c) ('a' <= (c) && (c) <= 'z') |
| 3375 #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) | 3376 #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) |
| 3376 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) | 3377 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) |
| 3377 int main () { int i; for (i = 0; i < 256; i++) | 3378 int main () { int i; for (i = 0; i < 256; i++) |
| 3378 if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2); | 3379 if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2); |
| 3379 exit (0); } | 3380 exit (0); } |
| 3380 | 3381 |
| 3381 EOF | 3382 EOF |
| 3382 if { (eval echo configure:3383: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 3383 if { (eval echo configure:3384: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
| 3383 then | 3384 then |
| 3384 : | 3385 : |
| 3385 else | 3386 else |
| 3386 conftest_rc="$?" | 3387 conftest_rc="$?" |
| 3387 echo "configure: failed program was:" >&5 | 3388 echo "configure: failed program was:" >&5 |
| 3403 } | 3404 } |
| 3404 | 3405 |
| 3405 fi | 3406 fi |
| 3406 | 3407 |
| 3407 echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6 | 3408 echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6 |
| 3408 echo "configure:3409: checking whether time.h and sys/time.h may both be included" >&5 | 3409 echo "configure:3410: checking whether time.h and sys/time.h may both be included" >&5 |
| 3409 | 3410 |
| 3410 cat > conftest.$ac_ext <<EOF | 3411 cat > conftest.$ac_ext <<EOF |
| 3411 #line 3412 "configure" | 3412 #line 3413 "configure" |
| 3412 #include "confdefs.h" | 3413 #include "confdefs.h" |
| 3413 #include <sys/types.h> | 3414 #include <sys/types.h> |
| 3414 #include <sys/time.h> | 3415 #include <sys/time.h> |
| 3415 #include <time.h> | 3416 #include <time.h> |
| 3416 int main() { | 3417 int main() { |
| 3417 struct tm *tp; | 3418 struct tm *tp; |
| 3418 ; return 0; } | 3419 ; return 0; } |
| 3419 EOF | 3420 EOF |
| 3420 if { (eval echo configure:3421: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3421 if { (eval echo configure:3422: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| 3421 rm -rf conftest* | 3422 rm -rf conftest* |
| 3422 ac_cv_header_time=yes | 3423 ac_cv_header_time=yes |
| 3423 else | 3424 else |
| 3424 echo "configure: failed program was:" >&5 | 3425 echo "configure: failed program was:" >&5 |
| 3425 cat conftest.$ac_ext >&5 | 3426 cat conftest.$ac_ext >&5 |
| 3439 } | 3440 } |
| 3440 | 3441 |
| 3441 fi | 3442 fi |
| 3442 | 3443 |
| 3443 echo $ac_n "checking for sys_siglist declaration in signal.h or unistd.h""... $ac_c" 1>&6 | 3444 echo $ac_n "checking for sys_siglist declaration in signal.h or unistd.h""... $ac_c" 1>&6 |
| 3444 echo "configure:3445: checking for sys_siglist declaration in signal.h or unistd.h" >&5 | 3445 echo "configure:3446: checking for sys_siglist declaration in signal.h or unistd.h" >&5 |
| 3445 | 3446 |
| 3446 cat > conftest.$ac_ext <<EOF | 3447 cat > conftest.$ac_ext <<EOF |
| 3447 #line 3448 "configure" | 3448 #line 3449 "configure" |
| 3448 #include "confdefs.h" | 3449 #include "confdefs.h" |
| 3449 #include <sys/types.h> | 3450 #include <sys/types.h> |
| 3450 #include <signal.h> | 3451 #include <signal.h> |
| 3451 /* NetBSD declares sys_siglist in unistd.h. */ | 3452 /* NetBSD declares sys_siglist in unistd.h. */ |
| 3452 #ifdef HAVE_UNISTD_H | 3453 #ifdef HAVE_UNISTD_H |
| 3454 #endif | 3455 #endif |
| 3455 int main() { | 3456 int main() { |
| 3456 char *msg = *(sys_siglist + 1); | 3457 char *msg = *(sys_siglist + 1); |
| 3457 ; return 0; } | 3458 ; return 0; } |
| 3458 EOF | 3459 EOF |
| 3459 if { (eval echo configure:3460: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3460 if { (eval echo configure:3461: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| 3460 rm -rf conftest* | 3461 rm -rf conftest* |
| 3461 ac_cv_decl_sys_siglist=yes | 3462 ac_cv_decl_sys_siglist=yes |
| 3462 else | 3463 else |
| 3463 echo "configure: failed program was:" >&5 | 3464 echo "configure: failed program was:" >&5 |
| 3464 cat conftest.$ac_ext >&5 | 3465 cat conftest.$ac_ext >&5 |
| 3479 | 3480 |
| 3480 fi | 3481 fi |
| 3481 | 3482 |
| 3482 | 3483 |
| 3483 echo $ac_n "checking for struct utimbuf""... $ac_c" 1>&6 | 3484 echo $ac_n "checking for struct utimbuf""... $ac_c" 1>&6 |
| 3484 echo "configure:3485: checking for struct utimbuf" >&5 | 3485 echo "configure:3486: checking for struct utimbuf" >&5 |
| 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 #ifdef TIME_WITH_SYS_TIME | 3489 #ifdef TIME_WITH_SYS_TIME |
| 3489 #include <sys/time.h> | 3490 #include <sys/time.h> |
| 3490 #include <time.h> | 3491 #include <time.h> |
| 3491 #else | 3492 #else |
| 3500 #endif | 3501 #endif |
| 3501 int main() { | 3502 int main() { |
| 3502 static struct utimbuf x; x.actime = x.modtime; | 3503 static struct utimbuf x; x.actime = x.modtime; |
| 3503 ; return 0; } | 3504 ; return 0; } |
| 3504 EOF | 3505 EOF |
| 3505 if { (eval echo configure:3506: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3506 if { (eval echo configure:3507: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| 3506 rm -rf conftest* | 3507 rm -rf conftest* |
| 3507 echo "$ac_t""yes" 1>&6 | 3508 echo "$ac_t""yes" 1>&6 |
| 3508 { test "$extra_verbose" = "yes" && cat << \EOF | 3509 { test "$extra_verbose" = "yes" && cat << \EOF |
| 3509 Defining HAVE_STRUCT_UTIMBUF | 3510 Defining HAVE_STRUCT_UTIMBUF |
| 3510 EOF | 3511 EOF |
| 3520 echo "$ac_t""no" 1>&6 | 3521 echo "$ac_t""no" 1>&6 |
| 3521 fi | 3522 fi |
| 3522 rm -f conftest* | 3523 rm -f conftest* |
| 3523 | 3524 |
| 3524 echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6 | 3525 echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6 |
| 3525 echo "configure:3526: checking return type of signal handlers" >&5 | 3526 echo "configure:3527: checking return type of signal handlers" >&5 |
| 3526 | 3527 |
| 3527 cat > conftest.$ac_ext <<EOF | 3528 cat > conftest.$ac_ext <<EOF |
| 3528 #line 3529 "configure" | 3529 #line 3530 "configure" |
| 3529 #include "confdefs.h" | 3530 #include "confdefs.h" |
| 3530 #include <sys/types.h> | 3531 #include <sys/types.h> |
| 3531 #include <signal.h> | 3532 #include <signal.h> |
| 3532 #ifdef signal | 3533 #ifdef signal |
| 3533 #undef signal | 3534 #undef signal |
| 3540 | 3541 |
| 3541 int main() { | 3542 int main() { |
| 3542 int i; | 3543 int i; |
| 3543 ; return 0; } | 3544 ; return 0; } |
| 3544 EOF | 3545 EOF |
| 3545 if { (eval echo configure:3546: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3546 if { (eval echo configure:3547: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| 3546 rm -rf conftest* | 3547 rm -rf conftest* |
| 3547 ac_cv_type_signal=void | 3548 ac_cv_type_signal=void |
| 3548 else | 3549 else |
| 3549 echo "configure: failed program was:" >&5 | 3550 echo "configure: failed program was:" >&5 |
| 3550 cat conftest.$ac_ext >&5 | 3551 cat conftest.$ac_ext >&5 |
| 3562 EOF | 3563 EOF |
| 3563 } | 3564 } |
| 3564 | 3565 |
| 3565 | 3566 |
| 3566 echo $ac_n "checking for size_t""... $ac_c" 1>&6 | 3567 echo $ac_n "checking for size_t""... $ac_c" 1>&6 |
| 3567 echo "configure:3568: checking for size_t" >&5 | 3568 echo "configure:3569: checking for size_t" >&5 |
| 3568 | 3569 |
| 3569 cat > conftest.$ac_ext <<EOF | 3570 cat > conftest.$ac_ext <<EOF |
| 3570 #line 3571 "configure" | 3571 #line 3572 "configure" |
| 3571 #include "confdefs.h" | 3572 #include "confdefs.h" |
| 3572 #include <sys/types.h> | 3573 #include <sys/types.h> |
| 3573 #if STDC_HEADERS | 3574 #if STDC_HEADERS |
| 3574 #include <stdlib.h> | 3575 #include <stdlib.h> |
| 3575 #include <stddef.h> | 3576 #include <stddef.h> |
| 3596 } | 3597 } |
| 3597 | 3598 |
| 3598 fi | 3599 fi |
| 3599 | 3600 |
| 3600 echo $ac_n "checking for pid_t""... $ac_c" 1>&6 | 3601 echo $ac_n "checking for pid_t""... $ac_c" 1>&6 |
| 3601 echo "configure:3602: checking for pid_t" >&5 | 3602 echo "configure:3603: checking for pid_t" >&5 |
| 3602 | 3603 |
| 3603 cat > conftest.$ac_ext <<EOF | 3604 cat > conftest.$ac_ext <<EOF |
| 3604 #line 3605 "configure" | 3605 #line 3606 "configure" |
| 3605 #include "confdefs.h" | 3606 #include "confdefs.h" |
| 3606 #include <sys/types.h> | 3607 #include <sys/types.h> |
| 3607 #if STDC_HEADERS | 3608 #if STDC_HEADERS |
| 3608 #include <stdlib.h> | 3609 #include <stdlib.h> |
| 3609 #include <stddef.h> | 3610 #include <stddef.h> |
| 3630 } | 3631 } |
| 3631 | 3632 |
| 3632 fi | 3633 fi |
| 3633 | 3634 |
| 3634 echo $ac_n "checking for uid_t in sys/types.h""... $ac_c" 1>&6 | 3635 echo $ac_n "checking for uid_t in sys/types.h""... $ac_c" 1>&6 |
| 3635 echo "configure:3636: checking for uid_t in sys/types.h" >&5 | 3636 echo "configure:3637: checking for uid_t in sys/types.h" >&5 |
| 3636 | 3637 |
| 3637 cat > conftest.$ac_ext <<EOF | 3638 cat > conftest.$ac_ext <<EOF |
| 3638 #line 3639 "configure" | 3639 #line 3640 "configure" |
| 3639 #include "confdefs.h" | 3640 #include "confdefs.h" |
| 3640 #include <sys/types.h> | 3641 #include <sys/types.h> |
| 3641 EOF | 3642 EOF |
| 3642 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 3643 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
| 3643 egrep "uid_t" >/dev/null 2>&1; then | 3644 egrep "uid_t" >/dev/null 2>&1; then |
| 3669 } | 3670 } |
| 3670 | 3671 |
| 3671 fi | 3672 fi |
| 3672 | 3673 |
| 3673 echo $ac_n "checking for mode_t""... $ac_c" 1>&6 | 3674 echo $ac_n "checking for mode_t""... $ac_c" 1>&6 |
| 3674 echo "configure:3675: checking for mode_t" >&5 | 3675 echo "configure:3676: checking for mode_t" >&5 |
| 3675 | 3676 |
| 3676 cat > conftest.$ac_ext <<EOF | 3677 cat > conftest.$ac_ext <<EOF |
| 3677 #line 3678 "configure" | 3678 #line 3679 "configure" |
| 3678 #include "confdefs.h" | 3679 #include "confdefs.h" |
| 3679 #include <sys/types.h> | 3680 #include <sys/types.h> |
| 3680 #if STDC_HEADERS | 3681 #if STDC_HEADERS |
| 3681 #include <stdlib.h> | 3682 #include <stdlib.h> |
| 3682 #include <stddef.h> | 3683 #include <stddef.h> |
| 3703 } | 3704 } |
| 3704 | 3705 |
| 3705 fi | 3706 fi |
| 3706 | 3707 |
| 3707 echo $ac_n "checking for off_t""... $ac_c" 1>&6 | 3708 echo $ac_n "checking for off_t""... $ac_c" 1>&6 |
| 3708 echo "configure:3709: checking for off_t" >&5 | 3709 echo "configure:3710: checking for off_t" >&5 |
| 3709 | 3710 |
| 3710 cat > conftest.$ac_ext <<EOF | 3711 cat > conftest.$ac_ext <<EOF |
| 3711 #line 3712 "configure" | 3712 #line 3713 "configure" |
| 3712 #include "confdefs.h" | 3713 #include "confdefs.h" |
| 3713 #include <sys/types.h> | 3714 #include <sys/types.h> |
| 3714 #if STDC_HEADERS | 3715 #if STDC_HEADERS |
| 3715 #include <stdlib.h> | 3716 #include <stdlib.h> |
| 3716 #include <stddef.h> | 3717 #include <stddef.h> |
| 3738 | 3739 |
| 3739 fi | 3740 fi |
| 3740 | 3741 |
| 3741 | 3742 |
| 3742 echo $ac_n "checking for struct timeval""... $ac_c" 1>&6 | 3743 echo $ac_n "checking for struct timeval""... $ac_c" 1>&6 |
| 3743 echo "configure:3744: checking for struct timeval" >&5 | 3744 echo "configure:3745: checking for struct timeval" >&5 |
| 3744 cat > conftest.$ac_ext <<EOF | 3745 cat > conftest.$ac_ext <<EOF |
| 3745 #line 3746 "configure" | 3746 #line 3747 "configure" |
| 3746 #include "confdefs.h" | 3747 #include "confdefs.h" |
| 3747 #ifdef TIME_WITH_SYS_TIME | 3748 #ifdef TIME_WITH_SYS_TIME |
| 3748 #include <sys/time.h> | 3749 #include <sys/time.h> |
| 3749 #include <time.h> | 3750 #include <time.h> |
| 3750 #else | 3751 #else |
| 3756 #endif | 3757 #endif |
| 3757 int main() { | 3758 int main() { |
| 3758 static struct timeval x; x.tv_sec = x.tv_usec; | 3759 static struct timeval x; x.tv_sec = x.tv_usec; |
| 3759 ; return 0; } | 3760 ; return 0; } |
| 3760 EOF | 3761 EOF |
| 3761 if { (eval echo configure:3762: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3762 if { (eval echo configure:3763: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| 3762 rm -rf conftest* | 3763 rm -rf conftest* |
| 3763 echo "$ac_t""yes" 1>&6 | 3764 echo "$ac_t""yes" 1>&6 |
| 3764 HAVE_TIMEVAL=yes | 3765 HAVE_TIMEVAL=yes |
| 3765 { test "$extra_verbose" = "yes" && cat << \EOF | 3766 { test "$extra_verbose" = "yes" && cat << \EOF |
| 3766 Defining HAVE_TIMEVAL | 3767 Defining HAVE_TIMEVAL |
| 3778 HAVE_TIMEVAL=no | 3779 HAVE_TIMEVAL=no |
| 3779 fi | 3780 fi |
| 3780 rm -f conftest* | 3781 rm -f conftest* |
| 3781 | 3782 |
| 3782 echo $ac_n "checking whether struct tm is in sys/time.h or time.h""... $ac_c" 1>&6 | 3783 echo $ac_n "checking whether struct tm is in sys/time.h or time.h""... $ac_c" 1>&6 |
| 3783 echo "configure:3784: checking whether struct tm is in sys/time.h or time.h" >&5 | 3784 echo "configure:3785: checking whether struct tm is in sys/time.h or time.h" >&5 |
| 3784 | 3785 |
| 3785 cat > conftest.$ac_ext <<EOF | 3786 cat > conftest.$ac_ext <<EOF |
| 3786 #line 3787 "configure" | 3787 #line 3788 "configure" |
| 3787 #include "confdefs.h" | 3788 #include "confdefs.h" |
| 3788 #include <sys/types.h> | 3789 #include <sys/types.h> |
| 3789 #include <time.h> | 3790 #include <time.h> |
| 3790 int main() { | 3791 int main() { |
| 3791 struct tm *tp; tp->tm_sec; | 3792 struct tm *tp; tp->tm_sec; |
| 3792 ; return 0; } | 3793 ; return 0; } |
| 3793 EOF | 3794 EOF |
| 3794 if { (eval echo configure:3795: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3795 if { (eval echo configure:3796: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| 3795 rm -rf conftest* | 3796 rm -rf conftest* |
| 3796 ac_cv_struct_tm=time.h | 3797 ac_cv_struct_tm=time.h |
| 3797 else | 3798 else |
| 3798 echo "configure: failed program was:" >&5 | 3799 echo "configure: failed program was:" >&5 |
| 3799 cat conftest.$ac_ext >&5 | 3800 cat conftest.$ac_ext >&5 |
| 3813 } | 3814 } |
| 3814 | 3815 |
| 3815 fi | 3816 fi |
| 3816 | 3817 |
| 3817 echo $ac_n "checking for tm_zone in struct tm""... $ac_c" 1>&6 | 3818 echo $ac_n "checking for tm_zone in struct tm""... $ac_c" 1>&6 |
| 3818 echo "configure:3819: checking for tm_zone in struct tm" >&5 | 3819 echo "configure:3820: checking for tm_zone in struct tm" >&5 |
| 3819 | 3820 |
| 3820 cat > conftest.$ac_ext <<EOF | 3821 cat > conftest.$ac_ext <<EOF |
| 3821 #line 3822 "configure" | 3822 #line 3823 "configure" |
| 3822 #include "confdefs.h" | 3823 #include "confdefs.h" |
| 3823 #include <sys/types.h> | 3824 #include <sys/types.h> |
| 3824 #include <$ac_cv_struct_tm> | 3825 #include <$ac_cv_struct_tm> |
| 3825 int main() { | 3826 int main() { |
| 3826 struct tm tm; tm.tm_zone; | 3827 struct tm tm; tm.tm_zone; |
| 3827 ; return 0; } | 3828 ; return 0; } |
| 3828 EOF | 3829 EOF |
| 3829 if { (eval echo configure:3830: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3830 if { (eval echo configure:3831: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| 3830 rm -rf conftest* | 3831 rm -rf conftest* |
| 3831 ac_cv_struct_tm_zone=yes | 3832 ac_cv_struct_tm_zone=yes |
| 3832 else | 3833 else |
| 3833 echo "configure: failed program was:" >&5 | 3834 echo "configure: failed program was:" >&5 |
| 3834 cat conftest.$ac_ext >&5 | 3835 cat conftest.$ac_ext >&5 |
| 3847 EOF | 3848 EOF |
| 3848 } | 3849 } |
| 3849 | 3850 |
| 3850 else | 3851 else |
| 3851 echo $ac_n "checking for tzname""... $ac_c" 1>&6 | 3852 echo $ac_n "checking for tzname""... $ac_c" 1>&6 |
| 3852 echo "configure:3853: checking for tzname" >&5 | 3853 echo "configure:3854: checking for tzname" >&5 |
| 3853 | 3854 |
| 3854 cat > conftest.$ac_ext <<EOF | 3855 cat > conftest.$ac_ext <<EOF |
| 3855 #line 3856 "configure" | 3856 #line 3857 "configure" |
| 3856 #include "confdefs.h" | 3857 #include "confdefs.h" |
| 3857 #include <time.h> | 3858 #include <time.h> |
| 3858 #ifndef tzname /* For SGI. */ | 3859 #ifndef tzname /* For SGI. */ |
| 3859 extern char *tzname[]; /* RS6000 and others reject char **tzname. */ | 3860 extern char *tzname[]; /* RS6000 and others reject char **tzname. */ |
| 3860 #endif | 3861 #endif |
| 3861 int main() { | 3862 int main() { |
| 3862 atoi(*tzname); | 3863 atoi(*tzname); |
| 3863 ; return 0; } | 3864 ; return 0; } |
| 3864 EOF | 3865 EOF |
| 3865 if { (eval echo configure:3866: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 3866 if { (eval echo configure:3867: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 3866 rm -rf conftest* | 3867 rm -rf conftest* |
| 3867 ac_cv_var_tzname=yes | 3868 ac_cv_var_tzname=yes |
| 3868 else | 3869 else |
| 3869 echo "configure: failed program was:" >&5 | 3870 echo "configure: failed program was:" >&5 |
| 3870 cat conftest.$ac_ext >&5 | 3871 cat conftest.$ac_ext >&5 |
| 3886 fi | 3887 fi |
| 3887 fi | 3888 fi |
| 3888 | 3889 |
| 3889 | 3890 |
| 3890 echo $ac_n "checking for working const""... $ac_c" 1>&6 | 3891 echo $ac_n "checking for working const""... $ac_c" 1>&6 |
| 3891 echo "configure:3892: checking for working const" >&5 | 3892 echo "configure:3893: checking for working const" >&5 |
| 3892 | 3893 |
| 3893 cat > conftest.$ac_ext <<EOF | 3894 cat > conftest.$ac_ext <<EOF |
| 3894 #line 3895 "configure" | 3895 #line 3896 "configure" |
| 3895 #include "confdefs.h" | 3896 #include "confdefs.h" |
| 3896 | 3897 |
| 3897 int main() { | 3898 int main() { |
| 3898 | 3899 |
| 3899 /* Ultrix mips cc rejects this. */ | 3900 /* Ultrix mips cc rejects this. */ |
| 3938 const int foo = 10; | 3939 const int foo = 10; |
| 3939 } | 3940 } |
| 3940 | 3941 |
| 3941 ; return 0; } | 3942 ; return 0; } |
| 3942 EOF | 3943 EOF |
| 3943 if { (eval echo configure:3944: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3944 if { (eval echo configure:3945: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| 3944 rm -rf conftest* | 3945 rm -rf conftest* |
| 3945 ac_cv_c_const=yes | 3946 ac_cv_c_const=yes |
| 3946 else | 3947 else |
| 3947 echo "configure: failed program was:" >&5 | 3948 echo "configure: failed program was:" >&5 |
| 3948 cat conftest.$ac_ext >&5 | 3949 cat conftest.$ac_ext >&5 |
| 3963 | 3964 |
| 3964 fi | 3965 fi |
| 3965 | 3966 |
| 3966 | 3967 |
| 3967 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6 | 3968 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6 |
| 3968 echo "configure:3969: checking whether ${MAKE-make} sets \${MAKE}" >&5 | 3969 echo "configure:3970: checking whether ${MAKE-make} sets \${MAKE}" >&5 |
| 3969 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'` | 3970 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'` |
| 3970 | 3971 |
| 3971 cat > conftestmake <<\EOF | 3972 cat > conftestmake <<\EOF |
| 3972 all: | 3973 all: |
| 3973 @echo 'ac_maketemp="${MAKE}"' | 3974 @echo 'ac_maketemp="${MAKE}"' |
| 3988 SET_MAKE="MAKE=${MAKE-make}" | 3989 SET_MAKE="MAKE=${MAKE-make}" |
| 3989 fi | 3990 fi |
| 3990 | 3991 |
| 3991 | 3992 |
| 3992 echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6 | 3993 echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6 |
| 3993 echo "configure:3994: checking whether byte ordering is bigendian" >&5 | 3994 echo "configure:3995: checking whether byte ordering is bigendian" >&5 |
| 3994 | 3995 |
| 3995 ac_cv_c_bigendian=unknown | 3996 ac_cv_c_bigendian=unknown |
| 3996 # See if sys/param.h defines the BYTE_ORDER macro. | 3997 # See if sys/param.h defines the BYTE_ORDER macro. |
| 3997 cat > conftest.$ac_ext <<EOF | 3998 cat > conftest.$ac_ext <<EOF |
| 3998 #line 3999 "configure" | 3999 #line 4000 "configure" |
| 3999 #include "confdefs.h" | 4000 #include "confdefs.h" |
| 4000 #include <sys/types.h> | 4001 #include <sys/types.h> |
| 4001 #include <sys/param.h> | 4002 #include <sys/param.h> |
| 4002 int main() { | 4003 int main() { |
| 4003 | 4004 |
| 4004 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN | 4005 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN |
| 4005 bogus endian macros | 4006 bogus endian macros |
| 4006 #endif | 4007 #endif |
| 4007 ; return 0; } | 4008 ; return 0; } |
| 4008 EOF | 4009 EOF |
| 4009 if { (eval echo configure:4010: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 4010 if { (eval echo configure:4011: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| 4010 rm -rf conftest* | 4011 rm -rf conftest* |
| 4011 # It does; now see whether it defined to BIG_ENDIAN or not. | 4012 # It does; now see whether it defined to BIG_ENDIAN or not. |
| 4012 cat > conftest.$ac_ext <<EOF | 4013 cat > conftest.$ac_ext <<EOF |
| 4013 #line 4014 "configure" | 4014 #line 4015 "configure" |
| 4014 #include "confdefs.h" | 4015 #include "confdefs.h" |
| 4015 #include <sys/types.h> | 4016 #include <sys/types.h> |
| 4016 #include <sys/param.h> | 4017 #include <sys/param.h> |
| 4017 int main() { | 4018 int main() { |
| 4018 | 4019 |
| 4019 #if BYTE_ORDER != BIG_ENDIAN | 4020 #if BYTE_ORDER != BIG_ENDIAN |
| 4020 not big endian | 4021 not big endian |
| 4021 #endif | 4022 #endif |
| 4022 ; return 0; } | 4023 ; return 0; } |
| 4023 EOF | 4024 EOF |
| 4024 if { (eval echo configure:4025: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 4025 if { (eval echo configure:4026: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| 4025 rm -rf conftest* | 4026 rm -rf conftest* |
| 4026 ac_cv_c_bigendian=yes | 4027 ac_cv_c_bigendian=yes |
| 4027 else | 4028 else |
| 4028 echo "configure: failed program was:" >&5 | 4029 echo "configure: failed program was:" >&5 |
| 4029 cat conftest.$ac_ext >&5 | 4030 cat conftest.$ac_ext >&5 |
| 4036 cat conftest.$ac_ext >&5 | 4037 cat conftest.$ac_ext >&5 |
| 4037 fi | 4038 fi |
| 4038 rm -f conftest* | 4039 rm -f conftest* |
| 4039 if test $ac_cv_c_bigendian = unknown; then | 4040 if test $ac_cv_c_bigendian = unknown; then |
| 4040 cat > conftest.$ac_ext <<EOF | 4041 cat > conftest.$ac_ext <<EOF |
| 4041 #line 4042 "configure" | 4042 #line 4043 "configure" |
| 4042 #include "confdefs.h" | 4043 #include "confdefs.h" |
| 4043 main () { | 4044 main () { |
| 4044 /* Are we little or big endian? From Harbison&Steele. */ | 4045 /* Are we little or big endian? From Harbison&Steele. */ |
| 4045 union | 4046 union |
| 4046 { | 4047 { |
| 4049 } u; | 4050 } u; |
| 4050 u.l = 1; | 4051 u.l = 1; |
| 4051 exit (u.c[sizeof (long) - 1] == 1); | 4052 exit (u.c[sizeof (long) - 1] == 1); |
| 4052 } | 4053 } |
| 4053 EOF | 4054 EOF |
| 4054 if { (eval echo configure:4055: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 4055 if { (eval echo configure:4056: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
| 4055 then | 4056 then |
| 4056 ac_cv_c_bigendian=no | 4057 ac_cv_c_bigendian=no |
| 4057 else | 4058 else |
| 4058 conftest_rc="$?" | 4059 conftest_rc="$?" |
| 4059 echo "configure: failed program was:" >&5 | 4060 echo "configure: failed program was:" >&5 |
| 4076 | 4077 |
| 4077 fi | 4078 fi |
| 4078 | 4079 |
| 4079 | 4080 |
| 4080 echo $ac_n "checking size of short""... $ac_c" 1>&6 | 4081 echo $ac_n "checking size of short""... $ac_c" 1>&6 |
| 4081 echo "configure:4082: checking size of short" >&5 | 4082 echo "configure:4083: checking size of short" >&5 |
| 4082 | 4083 |
| 4083 cat > conftest.$ac_ext <<EOF | 4084 cat > conftest.$ac_ext <<EOF |
| 4084 #line 4085 "configure" | 4085 #line 4086 "configure" |
| 4085 #include "confdefs.h" | 4086 #include "confdefs.h" |
| 4086 #include <stdio.h> | 4087 #include <stdio.h> |
| 4087 main() | 4088 main() |
| 4088 { | 4089 { |
| 4089 FILE *f=fopen("conftestval", "w"); | 4090 FILE *f=fopen("conftestval", "w"); |
| 4090 if (!f) exit(1); | 4091 if (!f) exit(1); |
| 4091 fprintf(f, "%d\n", sizeof(short)); | 4092 fprintf(f, "%d\n", sizeof(short)); |
| 4092 exit(0); | 4093 exit(0); |
| 4093 } | 4094 } |
| 4094 EOF | 4095 EOF |
| 4095 if { (eval echo configure:4096: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 4096 if { (eval echo configure:4097: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
| 4096 then | 4097 then |
| 4097 ac_cv_sizeof_short=`cat conftestval` | 4098 ac_cv_sizeof_short=`cat conftestval` |
| 4098 else | 4099 else |
| 4099 conftest_rc="$?" | 4100 conftest_rc="$?" |
| 4100 echo "configure: failed program was:" >&5 | 4101 echo "configure: failed program was:" >&5 |
| 4118 echo "*** PANIC *** Configure tests are not working - compiler is broken." | 4119 echo "*** PANIC *** Configure tests are not working - compiler is broken." |
| 4119 echo "*** PANIC *** Please examine config.log for compilation errors." | 4120 echo "*** PANIC *** Please examine config.log for compilation errors." |
| 4120 exit 1 | 4121 exit 1 |
| 4121 fi | 4122 fi |
| 4122 echo $ac_n "checking size of int""... $ac_c" 1>&6 | 4123 echo $ac_n "checking size of int""... $ac_c" 1>&6 |
| 4123 echo "configure:4124: checking size of int" >&5 | 4124 echo "configure:4125: checking size of int" >&5 |
| 4124 | 4125 |
| 4125 cat > conftest.$ac_ext <<EOF | 4126 cat > conftest.$ac_ext <<EOF |
| 4126 #line 4127 "configure" | 4127 #line 4128 "configure" |
| 4127 #include "confdefs.h" | 4128 #include "confdefs.h" |
| 4128 #include <stdio.h> | 4129 #include <stdio.h> |
| 4129 main() | 4130 main() |
| 4130 { | 4131 { |
| 4131 FILE *f=fopen("conftestval", "w"); | 4132 FILE *f=fopen("conftestval", "w"); |
| 4132 if (!f) exit(1); | 4133 if (!f) exit(1); |
| 4133 fprintf(f, "%d\n", sizeof(int)); | 4134 fprintf(f, "%d\n", sizeof(int)); |
| 4134 exit(0); | 4135 exit(0); |
| 4135 } | 4136 } |
| 4136 EOF | 4137 EOF |
| 4137 if { (eval echo configure:4138: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 4138 if { (eval echo configure:4139: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
| 4138 then | 4139 then |
| 4139 ac_cv_sizeof_int=`cat conftestval` | 4140 ac_cv_sizeof_int=`cat conftestval` |
| 4140 else | 4141 else |
| 4141 conftest_rc="$?" | 4142 conftest_rc="$?" |
| 4142 echo "configure: failed program was:" >&5 | 4143 echo "configure: failed program was:" >&5 |
| 4154 EOF | 4155 EOF |
| 4155 } | 4156 } |
| 4156 | 4157 |
| 4157 | 4158 |
| 4158 echo $ac_n "checking size of long""... $ac_c" 1>&6 | 4159 echo $ac_n "checking size of long""... $ac_c" 1>&6 |
| 4159 echo "configure:4160: checking size of long" >&5 | 4160 echo "configure:4161: checking size of long" >&5 |
| 4160 | 4161 |
| 4161 cat > conftest.$ac_ext <<EOF | 4162 cat > conftest.$ac_ext <<EOF |
| 4162 #line 4163 "configure" | 4163 #line 4164 "configure" |
| 4163 #include "confdefs.h" | 4164 #include "confdefs.h" |
| 4164 #include <stdio.h> | 4165 #include <stdio.h> |
| 4165 main() | 4166 main() |
| 4166 { | 4167 { |
| 4167 FILE *f=fopen("conftestval", "w"); | 4168 FILE *f=fopen("conftestval", "w"); |
| 4168 if (!f) exit(1); | 4169 if (!f) exit(1); |
| 4169 fprintf(f, "%d\n", sizeof(long)); | 4170 fprintf(f, "%d\n", sizeof(long)); |
| 4170 exit(0); | 4171 exit(0); |
| 4171 } | 4172 } |
| 4172 EOF | 4173 EOF |
| 4173 if { (eval echo configure:4174: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 4174 if { (eval echo configure:4175: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
| 4174 then | 4175 then |
| 4175 ac_cv_sizeof_long=`cat conftestval` | 4176 ac_cv_sizeof_long=`cat conftestval` |
| 4176 else | 4177 else |
| 4177 conftest_rc="$?" | 4178 conftest_rc="$?" |
| 4178 echo "configure: failed program was:" >&5 | 4179 echo "configure: failed program was:" >&5 |
| 4190 EOF | 4191 EOF |
| 4191 } | 4192 } |
| 4192 | 4193 |
| 4193 | 4194 |
| 4194 echo $ac_n "checking size of long long""... $ac_c" 1>&6 | 4195 echo $ac_n "checking size of long long""... $ac_c" 1>&6 |
| 4195 echo "configure:4196: checking size of long long" >&5 | 4196 echo "configure:4197: checking size of long long" >&5 |
| 4196 | 4197 |
| 4197 cat > conftest.$ac_ext <<EOF | 4198 cat > conftest.$ac_ext <<EOF |
| 4198 #line 4199 "configure" | 4199 #line 4200 "configure" |
| 4199 #include "confdefs.h" | 4200 #include "confdefs.h" |
| 4200 #include <stdio.h> | 4201 #include <stdio.h> |
| 4201 main() | 4202 main() |
| 4202 { | 4203 { |
| 4203 FILE *f=fopen("conftestval", "w"); | 4204 FILE *f=fopen("conftestval", "w"); |
| 4204 if (!f) exit(1); | 4205 if (!f) exit(1); |
| 4205 fprintf(f, "%d\n", sizeof(long long)); | 4206 fprintf(f, "%d\n", sizeof(long long)); |
| 4206 exit(0); | 4207 exit(0); |
| 4207 } | 4208 } |
| 4208 EOF | 4209 EOF |
| 4209 if { (eval echo configure:4210: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 4210 if { (eval echo configure:4211: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
| 4210 then | 4211 then |
| 4211 ac_cv_sizeof_long_long=`cat conftestval` | 4212 ac_cv_sizeof_long_long=`cat conftestval` |
| 4212 else | 4213 else |
| 4213 conftest_rc="$?" | 4214 conftest_rc="$?" |
| 4214 echo "configure: failed program was:" >&5 | 4215 echo "configure: failed program was:" >&5 |
| 4226 EOF | 4227 EOF |
| 4227 } | 4228 } |
| 4228 | 4229 |
| 4229 | 4230 |
| 4230 echo $ac_n "checking size of void *""... $ac_c" 1>&6 | 4231 echo $ac_n "checking size of void *""... $ac_c" 1>&6 |
| 4231 echo "configure:4232: checking size of void *" >&5 | 4232 echo "configure:4233: checking size of void *" >&5 |
| 4232 | 4233 |
| 4233 cat > conftest.$ac_ext <<EOF | 4234 cat > conftest.$ac_ext <<EOF |
| 4234 #line 4235 "configure" | 4235 #line 4236 "configure" |
| 4235 #include "confdefs.h" | 4236 #include "confdefs.h" |
| 4236 #include <stdio.h> | 4237 #include <stdio.h> |
| 4237 main() | 4238 main() |
| 4238 { | 4239 { |
| 4239 FILE *f=fopen("conftestval", "w"); | 4240 FILE *f=fopen("conftestval", "w"); |
| 4240 if (!f) exit(1); | 4241 if (!f) exit(1); |
| 4241 fprintf(f, "%d\n", sizeof(void *)); | 4242 fprintf(f, "%d\n", sizeof(void *)); |
| 4242 exit(0); | 4243 exit(0); |
| 4243 } | 4244 } |
| 4244 EOF | 4245 EOF |
| 4245 if { (eval echo configure:4246: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 4246 if { (eval echo configure:4247: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
| 4246 then | 4247 then |
| 4247 ac_cv_sizeof_void_p=`cat conftestval` | 4248 ac_cv_sizeof_void_p=`cat conftestval` |
| 4248 else | 4249 else |
| 4249 conftest_rc="$?" | 4250 conftest_rc="$?" |
| 4250 echo "configure: failed program was:" >&5 | 4251 echo "configure: failed program was:" >&5 |
| 4263 } | 4264 } |
| 4264 | 4265 |
| 4265 | 4266 |
| 4266 | 4267 |
| 4267 echo $ac_n "checking for long file names""... $ac_c" 1>&6 | 4268 echo $ac_n "checking for long file names""... $ac_c" 1>&6 |
| 4268 echo "configure:4269: checking for long file names" >&5 | 4269 echo "configure:4270: checking for long file names" >&5 |
| 4269 | 4270 |
| 4270 ac_cv_sys_long_file_names=yes | 4271 ac_cv_sys_long_file_names=yes |
| 4271 # Test for long file names in all the places we know might matter: | 4272 # Test for long file names in all the places we know might matter: |
| 4272 # . the current directory, where building will happen | 4273 # . the current directory, where building will happen |
| 4273 # $prefix/lib where we will be installing things | 4274 # $prefix/lib where we will be installing things |
| 4310 fi | 4311 fi |
| 4311 | 4312 |
| 4312 | 4313 |
| 4313 | 4314 |
| 4314 echo $ac_n "checking for sin in -lm""... $ac_c" 1>&6 | 4315 echo $ac_n "checking for sin in -lm""... $ac_c" 1>&6 |
| 4315 echo "configure:4316: checking for sin in -lm" >&5 | 4316 echo "configure:4317: checking for sin in -lm" >&5 |
| 4316 ac_lib_var=`echo m'_'sin | sed 'y%./+-%__p_%'` | 4317 ac_lib_var=`echo m'_'sin | sed 'y%./+-%__p_%'` |
| 4317 | 4318 |
| 4318 xe_check_libs=" -lm " | 4319 xe_check_libs=" -lm " |
| 4319 cat > conftest.$ac_ext <<EOF | 4320 cat > conftest.$ac_ext <<EOF |
| 4320 #line 4321 "configure" | 4321 #line 4322 "configure" |
| 4321 #include "confdefs.h" | 4322 #include "confdefs.h" |
| 4322 /* Override any gcc2 internal prototype to avoid an error. */ | 4323 /* Override any gcc2 internal prototype to avoid an error. */ |
| 4323 /* We use char because int might match the return type of a gcc2 | 4324 /* We use char because int might match the return type of a gcc2 |
| 4324 builtin and then its argument prototype would still apply. */ | 4325 builtin and then its argument prototype would still apply. */ |
| 4325 char sin(); | 4326 char sin(); |
| 4326 | 4327 |
| 4327 int main() { | 4328 int main() { |
| 4328 sin() | 4329 sin() |
| 4329 ; return 0; } | 4330 ; return 0; } |
| 4330 EOF | 4331 EOF |
| 4331 if { (eval echo configure:4332: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4332 if { (eval echo configure:4333: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 4332 rm -rf conftest* | 4333 rm -rf conftest* |
| 4333 eval "ac_cv_lib_$ac_lib_var=yes" | 4334 eval "ac_cv_lib_$ac_lib_var=yes" |
| 4334 else | 4335 else |
| 4335 echo "configure: failed program was:" >&5 | 4336 echo "configure: failed program was:" >&5 |
| 4336 cat conftest.$ac_ext >&5 | 4337 cat conftest.$ac_ext >&5 |
| 4368 EOF | 4369 EOF |
| 4369 } | 4370 } |
| 4370 | 4371 |
| 4371 | 4372 |
| 4372 cat > conftest.$ac_ext <<EOF | 4373 cat > conftest.$ac_ext <<EOF |
| 4373 #line 4374 "configure" | 4374 #line 4375 "configure" |
| 4374 #include "confdefs.h" | 4375 #include "confdefs.h" |
| 4375 #include <math.h> | 4376 #include <math.h> |
| 4376 int main() { | 4377 int main() { |
| 4377 return atanh(1.0) + asinh(1.0) + acosh(1.0); | 4378 return atanh(1.0) + asinh(1.0) + acosh(1.0); |
| 4378 ; return 0; } | 4379 ; return 0; } |
| 4379 EOF | 4380 EOF |
| 4380 if { (eval echo configure:4381: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4381 if { (eval echo configure:4382: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 4381 rm -rf conftest* | 4382 rm -rf conftest* |
| 4382 { test "$extra_verbose" = "yes" && cat << \EOF | 4383 { test "$extra_verbose" = "yes" && cat << \EOF |
| 4383 Defining HAVE_INVERSE_HYPERBOLIC | 4384 Defining HAVE_INVERSE_HYPERBOLIC |
| 4384 EOF | 4385 EOF |
| 4385 cat >> confdefs.h <<\EOF | 4386 cat >> confdefs.h <<\EOF |
| 4392 cat conftest.$ac_ext >&5 | 4393 cat conftest.$ac_ext >&5 |
| 4393 fi | 4394 fi |
| 4394 rm -f conftest* | 4395 rm -f conftest* |
| 4395 | 4396 |
| 4396 echo "checking type of mail spool file locking" 1>&6 | 4397 echo "checking type of mail spool file locking" 1>&6 |
| 4397 echo "configure:4398: checking type of mail spool file locking" >&5 | 4398 echo "configure:4399: checking type of mail spool file locking" >&5 |
| 4398 test -z "$mail_locking" -a "$mail_use_flock" = "yes" && mail_locking=flock | 4399 test -z "$mail_locking" -a "$mail_use_flock" = "yes" && mail_locking=flock |
| 4399 test -z "$mail_locking" -a "$mail_use_lockf" = "yes" && mail_locking=lockf | 4400 test -z "$mail_locking" -a "$mail_use_lockf" = "yes" && mail_locking=lockf |
| 4400 if test "$mail_locking" = "lockf"; then { test "$extra_verbose" = "yes" && cat << \EOF | 4401 if test "$mail_locking" = "lockf"; then { test "$extra_verbose" = "yes" && cat << \EOF |
| 4401 Defining REAL_MAIL_USE_LOCKF | 4402 Defining REAL_MAIL_USE_LOCKF |
| 4402 EOF | 4403 EOF |
| 4416 else mail_locking="dot-locking" | 4417 else mail_locking="dot-locking" |
| 4417 fi | 4418 fi |
| 4418 | 4419 |
| 4419 | 4420 |
| 4420 echo $ac_n "checking for kstat_open in -lkstat""... $ac_c" 1>&6 | 4421 echo $ac_n "checking for kstat_open in -lkstat""... $ac_c" 1>&6 |
| 4421 echo "configure:4422: checking for kstat_open in -lkstat" >&5 | 4422 echo "configure:4423: checking for kstat_open in -lkstat" >&5 |
| 4422 ac_lib_var=`echo kstat'_'kstat_open | sed 'y%./+-%__p_%'` | 4423 ac_lib_var=`echo kstat'_'kstat_open | sed 'y%./+-%__p_%'` |
| 4423 | 4424 |
| 4424 xe_check_libs=" -lkstat " | 4425 xe_check_libs=" -lkstat " |
| 4425 cat > conftest.$ac_ext <<EOF | 4426 cat > conftest.$ac_ext <<EOF |
| 4426 #line 4427 "configure" | 4427 #line 4428 "configure" |
| 4427 #include "confdefs.h" | 4428 #include "confdefs.h" |
| 4428 /* Override any gcc2 internal prototype to avoid an error. */ | 4429 /* Override any gcc2 internal prototype to avoid an error. */ |
| 4429 /* We use char because int might match the return type of a gcc2 | 4430 /* We use char because int might match the return type of a gcc2 |
| 4430 builtin and then its argument prototype would still apply. */ | 4431 builtin and then its argument prototype would still apply. */ |
| 4431 char kstat_open(); | 4432 char kstat_open(); |
| 4432 | 4433 |
| 4433 int main() { | 4434 int main() { |
| 4434 kstat_open() | 4435 kstat_open() |
| 4435 ; return 0; } | 4436 ; return 0; } |
| 4436 EOF | 4437 EOF |
| 4437 if { (eval echo configure:4438: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4438 if { (eval echo configure:4439: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 4438 rm -rf conftest* | 4439 rm -rf conftest* |
| 4439 eval "ac_cv_lib_$ac_lib_var=yes" | 4440 eval "ac_cv_lib_$ac_lib_var=yes" |
| 4440 else | 4441 else |
| 4441 echo "configure: failed program was:" >&5 | 4442 echo "configure: failed program was:" >&5 |
| 4442 cat conftest.$ac_ext >&5 | 4443 cat conftest.$ac_ext >&5 |
| 4466 | 4467 |
| 4467 | 4468 |
| 4468 | 4469 |
| 4469 | 4470 |
| 4470 echo $ac_n "checking for kvm_read in -lkvm""... $ac_c" 1>&6 | 4471 echo $ac_n "checking for kvm_read in -lkvm""... $ac_c" 1>&6 |
| 4471 echo "configure:4472: checking for kvm_read in -lkvm" >&5 | 4472 echo "configure:4473: checking for kvm_read in -lkvm" >&5 |
| 4472 ac_lib_var=`echo kvm'_'kvm_read | sed 'y%./+-%__p_%'` | 4473 ac_lib_var=`echo kvm'_'kvm_read | sed 'y%./+-%__p_%'` |
| 4473 | 4474 |
| 4474 xe_check_libs=" -lkvm " | 4475 xe_check_libs=" -lkvm " |
| 4475 cat > conftest.$ac_ext <<EOF | 4476 cat > conftest.$ac_ext <<EOF |
| 4476 #line 4477 "configure" | 4477 #line 4478 "configure" |
| 4477 #include "confdefs.h" | 4478 #include "confdefs.h" |
| 4478 /* Override any gcc2 internal prototype to avoid an error. */ | 4479 /* Override any gcc2 internal prototype to avoid an error. */ |
| 4479 /* We use char because int might match the return type of a gcc2 | 4480 /* We use char because int might match the return type of a gcc2 |
| 4480 builtin and then its argument prototype would still apply. */ | 4481 builtin and then its argument prototype would still apply. */ |
| 4481 char kvm_read(); | 4482 char kvm_read(); |
| 4482 | 4483 |
| 4483 int main() { | 4484 int main() { |
| 4484 kvm_read() | 4485 kvm_read() |
| 4485 ; return 0; } | 4486 ; return 0; } |
| 4486 EOF | 4487 EOF |
| 4487 if { (eval echo configure:4488: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4488 if { (eval echo configure:4489: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 4488 rm -rf conftest* | 4489 rm -rf conftest* |
| 4489 eval "ac_cv_lib_$ac_lib_var=yes" | 4490 eval "ac_cv_lib_$ac_lib_var=yes" |
| 4490 else | 4491 else |
| 4491 echo "configure: failed program was:" >&5 | 4492 echo "configure: failed program was:" >&5 |
| 4492 cat conftest.$ac_ext >&5 | 4493 cat conftest.$ac_ext >&5 |
| 4517 | 4518 |
| 4518 | 4519 |
| 4519 case "$opsys" in decosf*) | 4520 case "$opsys" in decosf*) |
| 4520 | 4521 |
| 4521 echo $ac_n "checking for cma_open in -lpthreads""... $ac_c" 1>&6 | 4522 echo $ac_n "checking for cma_open in -lpthreads""... $ac_c" 1>&6 |
| 4522 echo "configure:4523: checking for cma_open in -lpthreads" >&5 | 4523 echo "configure:4524: checking for cma_open in -lpthreads" >&5 |
| 4523 ac_lib_var=`echo pthreads'_'cma_open | sed 'y%./+-%__p_%'` | 4524 ac_lib_var=`echo pthreads'_'cma_open | sed 'y%./+-%__p_%'` |
| 4524 | 4525 |
| 4525 xe_check_libs=" -lpthreads " | 4526 xe_check_libs=" -lpthreads " |
| 4526 cat > conftest.$ac_ext <<EOF | 4527 cat > conftest.$ac_ext <<EOF |
| 4527 #line 4528 "configure" | 4528 #line 4529 "configure" |
| 4528 #include "confdefs.h" | 4529 #include "confdefs.h" |
| 4529 /* Override any gcc2 internal prototype to avoid an error. */ | 4530 /* Override any gcc2 internal prototype to avoid an error. */ |
| 4530 /* We use char because int might match the return type of a gcc2 | 4531 /* We use char because int might match the return type of a gcc2 |
| 4531 builtin and then its argument prototype would still apply. */ | 4532 builtin and then its argument prototype would still apply. */ |
| 4532 char cma_open(); | 4533 char cma_open(); |
| 4533 | 4534 |
| 4534 int main() { | 4535 int main() { |
| 4535 cma_open() | 4536 cma_open() |
| 4536 ; return 0; } | 4537 ; return 0; } |
| 4537 EOF | 4538 EOF |
| 4538 if { (eval echo configure:4539: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4539 if { (eval echo configure:4540: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 4539 rm -rf conftest* | 4540 rm -rf conftest* |
| 4540 eval "ac_cv_lib_$ac_lib_var=yes" | 4541 eval "ac_cv_lib_$ac_lib_var=yes" |
| 4541 else | 4542 else |
| 4542 echo "configure: failed program was:" >&5 | 4543 echo "configure: failed program was:" >&5 |
| 4543 cat conftest.$ac_ext >&5 | 4544 cat conftest.$ac_ext >&5 |
| 4569 test "$ac_cv_lib_pthreads_cma_open" = "yes" && \ | 4570 test "$ac_cv_lib_pthreads_cma_open" = "yes" && \ |
| 4570 c_switch_site="$c_switch_site -threads" ;; | 4571 c_switch_site="$c_switch_site -threads" ;; |
| 4571 esac | 4572 esac |
| 4572 | 4573 |
| 4573 echo $ac_n "checking whether the -xildoff compiler flag is required""... $ac_c" 1>&6 | 4574 echo $ac_n "checking whether the -xildoff compiler flag is required""... $ac_c" 1>&6 |
| 4574 echo "configure:4575: checking whether the -xildoff compiler flag is required" >&5 | 4575 echo "configure:4576: checking whether the -xildoff compiler flag is required" >&5 |
| 4575 if ${CC-cc} '-###' -xildon no_such_file.c 2>&1 | grep '^[^ ]*/ild ' > /dev/null ; then | 4576 if ${CC-cc} '-###' -xildon no_such_file.c 2>&1 | grep '^[^ ]*/ild ' > /dev/null ; then |
| 4576 if ${CC-cc} '-###' -xildoff no_such_file.c 2>&1 | grep '^[^ ]*/ild ' > /dev/null ; | 4577 if ${CC-cc} '-###' -xildoff no_such_file.c 2>&1 | grep '^[^ ]*/ild ' > /dev/null ; |
| 4577 then echo "$ac_t""no" 1>&6; | 4578 then echo "$ac_t""no" 1>&6; |
| 4578 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 | 4579 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 |
| 4579 fi | 4580 fi |
| 4580 else echo "$ac_t""no" 1>&6 | 4581 else echo "$ac_t""no" 1>&6 |
| 4581 fi | 4582 fi |
| 4582 | 4583 |
| 4583 if test "$opsys" = "sol2" && test "$OS_RELEASE" -ge 56; then | 4584 if test "$opsys" = "sol2" && test "$OS_RELEASE" -ge 56; then |
| 4584 echo $ac_n "checking for \"-z ignore\" linker flag""... $ac_c" 1>&6 | 4585 echo $ac_n "checking for \"-z ignore\" linker flag""... $ac_c" 1>&6 |
| 4585 echo "configure:4586: checking for \"-z ignore\" linker flag" >&5 | 4586 echo "configure:4587: checking for \"-z ignore\" linker flag" >&5 |
| 4586 case "`ld -h 2>&1`" in | 4587 case "`ld -h 2>&1`" in |
| 4587 *-z\ ignore\|record* ) echo "$ac_t""yes" 1>&6 | 4588 *-z\ ignore\|record* ) echo "$ac_t""yes" 1>&6 |
| 4588 ld_switch_site="-z ignore $ld_switch_site" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-z ignore\" to \$ld_switch_site"; fi ;; | 4589 ld_switch_site="-z ignore $ld_switch_site" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-z ignore\" to \$ld_switch_site"; fi ;; |
| 4589 *) echo "$ac_t""no" 1>&6 ;; | 4590 *) echo "$ac_t""no" 1>&6 ;; |
| 4590 esac | 4591 esac |
| 4591 fi | 4592 fi |
| 4592 | 4593 |
| 4593 | 4594 |
| 4594 echo "checking "for specified window system"" 1>&6 | 4595 echo "checking "for specified window system"" 1>&6 |
| 4595 echo "configure:4596: checking "for specified window system"" >&5 | 4596 echo "configure:4597: checking "for specified window system"" >&5 |
| 4596 | 4597 |
| 4597 if test "$with_x11" != "no"; then | 4598 if test "$with_x11" != "no"; then |
| 4598 test "$x_includes $x_libraries" != "NONE NONE" && \ | 4599 test "$x_includes $x_libraries" != "NONE NONE" && \ |
| 4599 window_system=x11 with_x11=yes | 4600 window_system=x11 with_x11=yes |
| 4600 | 4601 |
| 4623 # If we find X, set shell vars x_includes and x_libraries to the | 4624 # If we find X, set shell vars x_includes and x_libraries to the |
| 4624 # paths, otherwise set no_x=yes. | 4625 # paths, otherwise set no_x=yes. |
| 4625 # Uses ac_ vars as temps to allow command line to override cache and checks. | 4626 # Uses ac_ vars as temps to allow command line to override cache and checks. |
| 4626 # --without-x overrides everything else, but does not touch the cache. | 4627 # --without-x overrides everything else, but does not touch the cache. |
| 4627 echo $ac_n "checking for X""... $ac_c" 1>&6 | 4628 echo $ac_n "checking for X""... $ac_c" 1>&6 |
| 4628 echo "configure:4629: checking for X" >&5 | 4629 echo "configure:4630: checking for X" >&5 |
| 4629 | 4630 |
| 4630 # Check whether --with-x or --without-x was given. | 4631 # Check whether --with-x or --without-x was given. |
| 4631 if test "${with_x+set}" = set; then | 4632 if test "${with_x+set}" = set; then |
| 4632 withval="$with_x" | 4633 withval="$with_x" |
| 4633 : | 4634 : |
| 4683 # Guess where to find include files, by looking for this one X11 .h file. | 4684 # Guess where to find include files, by looking for this one X11 .h file. |
| 4684 test -z "$x_direct_test_include" && x_direct_test_include=X11/Intrinsic.h | 4685 test -z "$x_direct_test_include" && x_direct_test_include=X11/Intrinsic.h |
| 4685 | 4686 |
| 4686 # First, try using that file with no special directory specified. | 4687 # First, try using that file with no special directory specified. |
| 4687 cat > conftest.$ac_ext <<EOF | 4688 cat > conftest.$ac_ext <<EOF |
| 4688 #line 4689 "configure" | 4689 #line 4690 "configure" |
| 4689 #include "confdefs.h" | 4690 #include "confdefs.h" |
| 4690 #include <$x_direct_test_include> | 4691 #include <$x_direct_test_include> |
| 4691 EOF | 4692 EOF |
| 4692 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 4693 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 4693 { (eval echo configure:4694: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 4694 { (eval echo configure:4695: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 4694 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 4695 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 4695 if test -z "$ac_err"; then | 4696 if test -z "$ac_err"; then |
| 4696 rm -rf conftest* | 4697 rm -rf conftest* |
| 4697 # We can compile using X headers with no special include directory. | 4698 # We can compile using X headers with no special include directory. |
| 4698 ac_x_includes= | 4699 ac_x_includes= |
| 4757 # See if we find them without any special options. | 4758 # See if we find them without any special options. |
| 4758 # Don't add to $LIBS permanently. | 4759 # Don't add to $LIBS permanently. |
| 4759 ac_save_LIBS="$LIBS" | 4760 ac_save_LIBS="$LIBS" |
| 4760 LIBS="-l$x_direct_test_library $LIBS" | 4761 LIBS="-l$x_direct_test_library $LIBS" |
| 4761 cat > conftest.$ac_ext <<EOF | 4762 cat > conftest.$ac_ext <<EOF |
| 4762 #line 4763 "configure" | 4763 #line 4764 "configure" |
| 4763 #include "confdefs.h" | 4764 #include "confdefs.h" |
| 4764 | 4765 |
| 4765 int main() { | 4766 int main() { |
| 4766 ${x_direct_test_function}() | 4767 ${x_direct_test_function}() |
| 4767 ; return 0; } | 4768 ; return 0; } |
| 4768 EOF | 4769 EOF |
| 4769 if { (eval echo configure:4770: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4770 if { (eval echo configure:4771: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 4770 rm -rf conftest* | 4771 rm -rf conftest* |
| 4771 LIBS="$ac_save_LIBS" | 4772 LIBS="$ac_save_LIBS" |
| 4772 # We can link X programs with no special library path. | 4773 # We can link X programs with no special library path. |
| 4773 ac_x_libraries= | 4774 ac_x_libraries= |
| 4774 else | 4775 else |
| 4873 # For Solaris; some versions of Sun CC require a space after -R and | 4874 # For Solaris; some versions of Sun CC require a space after -R and |
| 4874 # others require no space. Words are not sufficient . . . . | 4875 # others require no space. Words are not sufficient . . . . |
| 4875 case "`(uname -sr) 2>/dev/null`" in | 4876 case "`(uname -sr) 2>/dev/null`" in |
| 4876 "SunOS 5"*) | 4877 "SunOS 5"*) |
| 4877 echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6 | 4878 echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6 |
| 4878 echo "configure:4879: checking whether -R must be followed by a space" >&5 | 4879 echo "configure:4880: checking whether -R must be followed by a space" >&5 |
| 4879 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS -R$x_libraries" | 4880 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS -R$x_libraries" |
| 4880 cat > conftest.$ac_ext <<EOF | 4881 cat > conftest.$ac_ext <<EOF |
| 4881 #line 4882 "configure" | 4882 #line 4883 "configure" |
| 4882 #include "confdefs.h" | 4883 #include "confdefs.h" |
| 4883 | 4884 |
| 4884 int main() { | 4885 int main() { |
| 4885 | 4886 |
| 4886 ; return 0; } | 4887 ; return 0; } |
| 4887 EOF | 4888 EOF |
| 4888 if { (eval echo configure:4889: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4889 if { (eval echo configure:4890: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 4889 rm -rf conftest* | 4890 rm -rf conftest* |
| 4890 ac_R_nospace=yes | 4891 ac_R_nospace=yes |
| 4891 else | 4892 else |
| 4892 echo "configure: failed program was:" >&5 | 4893 echo "configure: failed program was:" >&5 |
| 4893 cat conftest.$ac_ext >&5 | 4894 cat conftest.$ac_ext >&5 |
| 4899 echo "$ac_t""no" 1>&6 | 4900 echo "$ac_t""no" 1>&6 |
| 4900 X_LIBS="$X_LIBS -R$x_libraries" | 4901 X_LIBS="$X_LIBS -R$x_libraries" |
| 4901 else | 4902 else |
| 4902 LIBS="$ac_xsave_LIBS -R $x_libraries" | 4903 LIBS="$ac_xsave_LIBS -R $x_libraries" |
| 4903 cat > conftest.$ac_ext <<EOF | 4904 cat > conftest.$ac_ext <<EOF |
| 4904 #line 4905 "configure" | 4905 #line 4906 "configure" |
| 4905 #include "confdefs.h" | 4906 #include "confdefs.h" |
| 4906 | 4907 |
| 4907 int main() { | 4908 int main() { |
| 4908 | 4909 |
| 4909 ; return 0; } | 4910 ; return 0; } |
| 4910 EOF | 4911 EOF |
| 4911 if { (eval echo configure:4912: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4912 if { (eval echo configure:4913: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 4912 rm -rf conftest* | 4913 rm -rf conftest* |
| 4913 ac_R_space=yes | 4914 ac_R_space=yes |
| 4914 else | 4915 else |
| 4915 echo "configure: failed program was:" >&5 | 4916 echo "configure: failed program was:" >&5 |
| 4916 cat conftest.$ac_ext >&5 | 4917 cat conftest.$ac_ext >&5 |
| 4942 if test "$with_dnet" = "no" ; then | 4943 if test "$with_dnet" = "no" ; then |
| 4943 ac_cv_lib_dnet_dnet_ntoa=no | 4944 ac_cv_lib_dnet_dnet_ntoa=no |
| 4944 else | 4945 else |
| 4945 | 4946 |
| 4946 echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6 | 4947 echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6 |
| 4947 echo "configure:4948: checking for dnet_ntoa in -ldnet" >&5 | 4948 echo "configure:4949: checking for dnet_ntoa in -ldnet" >&5 |
| 4948 ac_lib_var=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'` | 4949 ac_lib_var=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'` |
| 4949 | 4950 |
| 4950 xe_check_libs=" -ldnet " | 4951 xe_check_libs=" -ldnet " |
| 4951 cat > conftest.$ac_ext <<EOF | 4952 cat > conftest.$ac_ext <<EOF |
| 4952 #line 4953 "configure" | 4953 #line 4954 "configure" |
| 4953 #include "confdefs.h" | 4954 #include "confdefs.h" |
| 4954 /* Override any gcc2 internal prototype to avoid an error. */ | 4955 /* Override any gcc2 internal prototype to avoid an error. */ |
| 4955 /* We use char because int might match the return type of a gcc2 | 4956 /* We use char because int might match the return type of a gcc2 |
| 4956 builtin and then its argument prototype would still apply. */ | 4957 builtin and then its argument prototype would still apply. */ |
| 4957 char dnet_ntoa(); | 4958 char dnet_ntoa(); |
| 4958 | 4959 |
| 4959 int main() { | 4960 int main() { |
| 4960 dnet_ntoa() | 4961 dnet_ntoa() |
| 4961 ; return 0; } | 4962 ; return 0; } |
| 4962 EOF | 4963 EOF |
| 4963 if { (eval echo configure:4964: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4964 if { (eval echo configure:4965: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 4964 rm -rf conftest* | 4965 rm -rf conftest* |
| 4965 eval "ac_cv_lib_$ac_lib_var=yes" | 4966 eval "ac_cv_lib_$ac_lib_var=yes" |
| 4966 else | 4967 else |
| 4967 echo "configure: failed program was:" >&5 | 4968 echo "configure: failed program was:" >&5 |
| 4968 cat conftest.$ac_ext >&5 | 4969 cat conftest.$ac_ext >&5 |
| 4982 fi | 4983 fi |
| 4983 | 4984 |
| 4984 if test $ac_cv_lib_dnet_dnet_ntoa = no; then | 4985 if test $ac_cv_lib_dnet_dnet_ntoa = no; then |
| 4985 | 4986 |
| 4986 echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6 | 4987 echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6 |
| 4987 echo "configure:4988: checking for dnet_ntoa in -ldnet_stub" >&5 | 4988 echo "configure:4989: checking for dnet_ntoa in -ldnet_stub" >&5 |
| 4988 ac_lib_var=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'` | 4989 ac_lib_var=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'` |
| 4989 | 4990 |
| 4990 xe_check_libs=" -ldnet_stub " | 4991 xe_check_libs=" -ldnet_stub " |
| 4991 cat > conftest.$ac_ext <<EOF | 4992 cat > conftest.$ac_ext <<EOF |
| 4992 #line 4993 "configure" | 4993 #line 4994 "configure" |
| 4993 #include "confdefs.h" | 4994 #include "confdefs.h" |
| 4994 /* Override any gcc2 internal prototype to avoid an error. */ | 4995 /* Override any gcc2 internal prototype to avoid an error. */ |
| 4995 /* We use char because int might match the return type of a gcc2 | 4996 /* We use char because int might match the return type of a gcc2 |
| 4996 builtin and then its argument prototype would still apply. */ | 4997 builtin and then its argument prototype would still apply. */ |
| 4997 char dnet_ntoa(); | 4998 char dnet_ntoa(); |
| 4998 | 4999 |
| 4999 int main() { | 5000 int main() { |
| 5000 dnet_ntoa() | 5001 dnet_ntoa() |
| 5001 ; return 0; } | 5002 ; return 0; } |
| 5002 EOF | 5003 EOF |
| 5003 if { (eval echo configure:5004: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5004 if { (eval echo configure:5005: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 5004 rm -rf conftest* | 5005 rm -rf conftest* |
| 5005 eval "ac_cv_lib_$ac_lib_var=yes" | 5006 eval "ac_cv_lib_$ac_lib_var=yes" |
| 5006 else | 5007 else |
| 5007 echo "configure: failed program was:" >&5 | 5008 echo "configure: failed program was:" >&5 |
| 5008 cat conftest.$ac_ext >&5 | 5009 cat conftest.$ac_ext >&5 |
| 5027 # chad@anasazi.com says the Pyramis MIS-ES running DC/OSx (SVR4) | 5028 # chad@anasazi.com says the Pyramis MIS-ES running DC/OSx (SVR4) |
| 5028 # needs -lnsl. | 5029 # needs -lnsl. |
| 5029 # The nsl library prevents programs from opening the X display | 5030 # The nsl library prevents programs from opening the X display |
| 5030 # on Irix 5.2, according to dickey@clark.net. | 5031 # on Irix 5.2, according to dickey@clark.net. |
| 5031 echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6 | 5032 echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6 |
| 5032 echo "configure:5033: checking for gethostbyname" >&5 | 5033 echo "configure:5034: checking for gethostbyname" >&5 |
| 5033 | 5034 |
| 5034 cat > conftest.$ac_ext <<EOF | 5035 cat > conftest.$ac_ext <<EOF |
| 5035 #line 5036 "configure" | 5036 #line 5037 "configure" |
| 5036 #include "confdefs.h" | 5037 #include "confdefs.h" |
| 5037 /* System header to define __stub macros and hopefully few prototypes, | 5038 /* System header to define __stub macros and hopefully few prototypes, |
| 5038 which can conflict with char gethostbyname(); below. */ | 5039 which can conflict with char gethostbyname(); below. */ |
| 5039 #include <assert.h> | 5040 #include <assert.h> |
| 5040 /* Override any gcc2 internal prototype to avoid an error. */ | 5041 /* Override any gcc2 internal prototype to avoid an error. */ |
| 5053 gethostbyname(); | 5054 gethostbyname(); |
| 5054 #endif | 5055 #endif |
| 5055 | 5056 |
| 5056 ; return 0; } | 5057 ; return 0; } |
| 5057 EOF | 5058 EOF |
| 5058 if { (eval echo configure:5059: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5059 if { (eval echo configure:5060: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 5059 rm -rf conftest* | 5060 rm -rf conftest* |
| 5060 eval "ac_cv_func_gethostbyname=yes" | 5061 eval "ac_cv_func_gethostbyname=yes" |
| 5061 else | 5062 else |
| 5062 echo "configure: failed program was:" >&5 | 5063 echo "configure: failed program was:" >&5 |
| 5063 cat conftest.$ac_ext >&5 | 5064 cat conftest.$ac_ext >&5 |
| 5074 fi | 5075 fi |
| 5075 | 5076 |
| 5076 if test $ac_cv_func_gethostbyname = no; then | 5077 if test $ac_cv_func_gethostbyname = no; then |
| 5077 | 5078 |
| 5078 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6 | 5079 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6 |
| 5079 echo "configure:5080: checking for gethostbyname in -lnsl" >&5 | 5080 echo "configure:5081: checking for gethostbyname in -lnsl" >&5 |
| 5080 ac_lib_var=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'` | 5081 ac_lib_var=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'` |
| 5081 | 5082 |
| 5082 xe_check_libs=" -lnsl " | 5083 xe_check_libs=" -lnsl " |
| 5083 cat > conftest.$ac_ext <<EOF | 5084 cat > conftest.$ac_ext <<EOF |
| 5084 #line 5085 "configure" | 5085 #line 5086 "configure" |
| 5085 #include "confdefs.h" | 5086 #include "confdefs.h" |
| 5086 /* Override any gcc2 internal prototype to avoid an error. */ | 5087 /* Override any gcc2 internal prototype to avoid an error. */ |
| 5087 /* We use char because int might match the return type of a gcc2 | 5088 /* We use char because int might match the return type of a gcc2 |
| 5088 builtin and then its argument prototype would still apply. */ | 5089 builtin and then its argument prototype would still apply. */ |
| 5089 char gethostbyname(); | 5090 char gethostbyname(); |
| 5090 | 5091 |
| 5091 int main() { | 5092 int main() { |
| 5092 gethostbyname() | 5093 gethostbyname() |
| 5093 ; return 0; } | 5094 ; return 0; } |
| 5094 EOF | 5095 EOF |
| 5095 if { (eval echo configure:5096: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5096 if { (eval echo configure:5097: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 5096 rm -rf conftest* | 5097 rm -rf conftest* |
| 5097 eval "ac_cv_lib_$ac_lib_var=yes" | 5098 eval "ac_cv_lib_$ac_lib_var=yes" |
| 5098 else | 5099 else |
| 5099 echo "configure: failed program was:" >&5 | 5100 echo "configure: failed program was:" >&5 |
| 5100 cat conftest.$ac_ext >&5 | 5101 cat conftest.$ac_ext >&5 |
| 5120 # on later versions), says simon@lia.di.epfl.ch: it contains | 5121 # on later versions), says simon@lia.di.epfl.ch: it contains |
| 5121 # gethostby* variants that don't use the nameserver (or something). | 5122 # gethostby* variants that don't use the nameserver (or something). |
| 5122 # -lsocket must be given before -lnsl if both are needed. | 5123 # -lsocket must be given before -lnsl if both are needed. |
| 5123 # We assume that if connect needs -lnsl, so does gethostbyname. | 5124 # We assume that if connect needs -lnsl, so does gethostbyname. |
| 5124 echo $ac_n "checking for connect""... $ac_c" 1>&6 | 5125 echo $ac_n "checking for connect""... $ac_c" 1>&6 |
| 5125 echo "configure:5126: checking for connect" >&5 | 5126 echo "configure:5127: checking for connect" >&5 |
| 5126 | 5127 |
| 5127 cat > conftest.$ac_ext <<EOF | 5128 cat > conftest.$ac_ext <<EOF |
| 5128 #line 5129 "configure" | 5129 #line 5130 "configure" |
| 5129 #include "confdefs.h" | 5130 #include "confdefs.h" |
| 5130 /* System header to define __stub macros and hopefully few prototypes, | 5131 /* System header to define __stub macros and hopefully few prototypes, |
| 5131 which can conflict with char connect(); below. */ | 5132 which can conflict with char connect(); below. */ |
| 5132 #include <assert.h> | 5133 #include <assert.h> |
| 5133 /* Override any gcc2 internal prototype to avoid an error. */ | 5134 /* Override any gcc2 internal prototype to avoid an error. */ |
| 5146 connect(); | 5147 connect(); |
| 5147 #endif | 5148 #endif |
| 5148 | 5149 |
| 5149 ; return 0; } | 5150 ; return 0; } |
| 5150 EOF | 5151 EOF |
| 5151 if { (eval echo configure:5152: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5152 if { (eval echo configure:5153: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 5152 rm -rf conftest* | 5153 rm -rf conftest* |
| 5153 eval "ac_cv_func_connect=yes" | 5154 eval "ac_cv_func_connect=yes" |
| 5154 else | 5155 else |
| 5155 echo "configure: failed program was:" >&5 | 5156 echo "configure: failed program was:" >&5 |
| 5156 cat conftest.$ac_ext >&5 | 5157 cat conftest.$ac_ext >&5 |
| 5169 if test $ac_cv_func_connect = no; then | 5170 if test $ac_cv_func_connect = no; then |
| 5170 | 5171 |
| 5171 xe_msg_checking="for connect in -lsocket" | 5172 xe_msg_checking="for connect in -lsocket" |
| 5172 test -n "$X_EXTRA_LIBS" && xe_msg_checking="$xe_msg_checking using extra libs $X_EXTRA_LIBS" | 5173 test -n "$X_EXTRA_LIBS" && xe_msg_checking="$xe_msg_checking using extra libs $X_EXTRA_LIBS" |
| 5173 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 5174 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
| 5174 echo "configure:5175: checking "$xe_msg_checking"" >&5 | 5175 echo "configure:5176: checking "$xe_msg_checking"" >&5 |
| 5175 ac_lib_var=`echo socket'_'connect | sed 'y%./+-%__p_%'` | 5176 ac_lib_var=`echo socket'_'connect | sed 'y%./+-%__p_%'` |
| 5176 | 5177 |
| 5177 xe_check_libs=" -lsocket $X_EXTRA_LIBS" | 5178 xe_check_libs=" -lsocket $X_EXTRA_LIBS" |
| 5178 cat > conftest.$ac_ext <<EOF | 5179 cat > conftest.$ac_ext <<EOF |
| 5179 #line 5180 "configure" | 5180 #line 5181 "configure" |
| 5180 #include "confdefs.h" | 5181 #include "confdefs.h" |
| 5181 /* Override any gcc2 internal prototype to avoid an error. */ | 5182 /* Override any gcc2 internal prototype to avoid an error. */ |
| 5182 /* We use char because int might match the return type of a gcc2 | 5183 /* We use char because int might match the return type of a gcc2 |
| 5183 builtin and then its argument prototype would still apply. */ | 5184 builtin and then its argument prototype would still apply. */ |
| 5184 char connect(); | 5185 char connect(); |
| 5185 | 5186 |
| 5186 int main() { | 5187 int main() { |
| 5187 connect() | 5188 connect() |
| 5188 ; return 0; } | 5189 ; return 0; } |
| 5189 EOF | 5190 EOF |
| 5190 if { (eval echo configure:5191: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5191 if { (eval echo configure:5192: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 5191 rm -rf conftest* | 5192 rm -rf conftest* |
| 5192 eval "ac_cv_lib_$ac_lib_var=yes" | 5193 eval "ac_cv_lib_$ac_lib_var=yes" |
| 5193 else | 5194 else |
| 5194 echo "configure: failed program was:" >&5 | 5195 echo "configure: failed program was:" >&5 |
| 5195 cat conftest.$ac_ext >&5 | 5196 cat conftest.$ac_ext >&5 |
| 5209 | 5210 |
| 5210 fi | 5211 fi |
| 5211 | 5212 |
| 5212 # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX. | 5213 # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX. |
| 5213 echo $ac_n "checking for remove""... $ac_c" 1>&6 | 5214 echo $ac_n "checking for remove""... $ac_c" 1>&6 |
| 5214 echo "configure:5215: checking for remove" >&5 | 5215 echo "configure:5216: checking for remove" >&5 |
| 5215 | 5216 |
| 5216 cat > conftest.$ac_ext <<EOF | 5217 cat > conftest.$ac_ext <<EOF |
| 5217 #line 5218 "configure" | 5218 #line 5219 "configure" |
| 5218 #include "confdefs.h" | 5219 #include "confdefs.h" |
| 5219 /* System header to define __stub macros and hopefully few prototypes, | 5220 /* System header to define __stub macros and hopefully few prototypes, |
| 5220 which can conflict with char remove(); below. */ | 5221 which can conflict with char remove(); below. */ |
| 5221 #include <assert.h> | 5222 #include <assert.h> |
| 5222 /* Override any gcc2 internal prototype to avoid an error. */ | 5223 /* Override any gcc2 internal prototype to avoid an error. */ |
| 5235 remove(); | 5236 remove(); |
| 5236 #endif | 5237 #endif |
| 5237 | 5238 |
| 5238 ; return 0; } | 5239 ; return 0; } |
| 5239 EOF | 5240 EOF |
| 5240 if { (eval echo configure:5241: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5241 if { (eval echo configure:5242: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 5241 rm -rf conftest* | 5242 rm -rf conftest* |
| 5242 eval "ac_cv_func_remove=yes" | 5243 eval "ac_cv_func_remove=yes" |
| 5243 else | 5244 else |
| 5244 echo "configure: failed program was:" >&5 | 5245 echo "configure: failed program was:" >&5 |
| 5245 cat conftest.$ac_ext >&5 | 5246 cat conftest.$ac_ext >&5 |
| 5256 fi | 5257 fi |
| 5257 | 5258 |
| 5258 if test $ac_cv_func_remove = no; then | 5259 if test $ac_cv_func_remove = no; then |
| 5259 | 5260 |
| 5260 echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6 | 5261 echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6 |
| 5261 echo "configure:5262: checking for remove in -lposix" >&5 | 5262 echo "configure:5263: checking for remove in -lposix" >&5 |
| 5262 ac_lib_var=`echo posix'_'remove | sed 'y%./+-%__p_%'` | 5263 ac_lib_var=`echo posix'_'remove | sed 'y%./+-%__p_%'` |
| 5263 | 5264 |
| 5264 xe_check_libs=" -lposix " | 5265 xe_check_libs=" -lposix " |
| 5265 cat > conftest.$ac_ext <<EOF | 5266 cat > conftest.$ac_ext <<EOF |
| 5266 #line 5267 "configure" | 5267 #line 5268 "configure" |
| 5267 #include "confdefs.h" | 5268 #include "confdefs.h" |
| 5268 /* Override any gcc2 internal prototype to avoid an error. */ | 5269 /* Override any gcc2 internal prototype to avoid an error. */ |
| 5269 /* We use char because int might match the return type of a gcc2 | 5270 /* We use char because int might match the return type of a gcc2 |
| 5270 builtin and then its argument prototype would still apply. */ | 5271 builtin and then its argument prototype would still apply. */ |
| 5271 char remove(); | 5272 char remove(); |
| 5272 | 5273 |
| 5273 int main() { | 5274 int main() { |
| 5274 remove() | 5275 remove() |
| 5275 ; return 0; } | 5276 ; return 0; } |
| 5276 EOF | 5277 EOF |
| 5277 if { (eval echo configure:5278: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5278 if { (eval echo configure:5279: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 5278 rm -rf conftest* | 5279 rm -rf conftest* |
| 5279 eval "ac_cv_lib_$ac_lib_var=yes" | 5280 eval "ac_cv_lib_$ac_lib_var=yes" |
| 5280 else | 5281 else |
| 5281 echo "configure: failed program was:" >&5 | 5282 echo "configure: failed program was:" >&5 |
| 5282 cat conftest.$ac_ext >&5 | 5283 cat conftest.$ac_ext >&5 |
| 5296 | 5297 |
| 5297 fi | 5298 fi |
| 5298 | 5299 |
| 5299 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay. | 5300 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay. |
| 5300 echo $ac_n "checking for shmat""... $ac_c" 1>&6 | 5301 echo $ac_n "checking for shmat""... $ac_c" 1>&6 |
| 5301 echo "configure:5302: checking for shmat" >&5 | 5302 echo "configure:5303: checking for shmat" >&5 |
| 5302 | 5303 |
| 5303 cat > conftest.$ac_ext <<EOF | 5304 cat > conftest.$ac_ext <<EOF |
| 5304 #line 5305 "configure" | 5305 #line 5306 "configure" |
| 5305 #include "confdefs.h" | 5306 #include "confdefs.h" |
| 5306 /* System header to define __stub macros and hopefully few prototypes, | 5307 /* System header to define __stub macros and hopefully few prototypes, |
| 5307 which can conflict with char shmat(); below. */ | 5308 which can conflict with char shmat(); below. */ |
| 5308 #include <assert.h> | 5309 #include <assert.h> |
| 5309 /* Override any gcc2 internal prototype to avoid an error. */ | 5310 /* Override any gcc2 internal prototype to avoid an error. */ |
| 5322 shmat(); | 5323 shmat(); |
| 5323 #endif | 5324 #endif |
| 5324 | 5325 |
| 5325 ; return 0; } | 5326 ; return 0; } |
| 5326 EOF | 5327 EOF |
| 5327 if { (eval echo configure:5328: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5328 if { (eval echo configure:5329: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 5328 rm -rf conftest* | 5329 rm -rf conftest* |
| 5329 eval "ac_cv_func_shmat=yes" | 5330 eval "ac_cv_func_shmat=yes" |
| 5330 else | 5331 else |
| 5331 echo "configure: failed program was:" >&5 | 5332 echo "configure: failed program was:" >&5 |
| 5332 cat conftest.$ac_ext >&5 | 5333 cat conftest.$ac_ext >&5 |
| 5343 fi | 5344 fi |
| 5344 | 5345 |
| 5345 if test $ac_cv_func_shmat = no; then | 5346 if test $ac_cv_func_shmat = no; then |
| 5346 | 5347 |
| 5347 echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6 | 5348 echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6 |
| 5348 echo "configure:5349: checking for shmat in -lipc" >&5 | 5349 echo "configure:5350: checking for shmat in -lipc" >&5 |
| 5349 ac_lib_var=`echo ipc'_'shmat | sed 'y%./+-%__p_%'` | 5350 ac_lib_var=`echo ipc'_'shmat | sed 'y%./+-%__p_%'` |
| 5350 | 5351 |
| 5351 xe_check_libs=" -lipc " | 5352 xe_check_libs=" -lipc " |
| 5352 cat > conftest.$ac_ext <<EOF | 5353 cat > conftest.$ac_ext <<EOF |
| 5353 #line 5354 "configure" | 5354 #line 5355 "configure" |
| 5354 #include "confdefs.h" | 5355 #include "confdefs.h" |
| 5355 /* Override any gcc2 internal prototype to avoid an error. */ | 5356 /* Override any gcc2 internal prototype to avoid an error. */ |
| 5356 /* We use char because int might match the return type of a gcc2 | 5357 /* We use char because int might match the return type of a gcc2 |
| 5357 builtin and then its argument prototype would still apply. */ | 5358 builtin and then its argument prototype would still apply. */ |
| 5358 char shmat(); | 5359 char shmat(); |
| 5359 | 5360 |
| 5360 int main() { | 5361 int main() { |
| 5361 shmat() | 5362 shmat() |
| 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 |
| 5395 # --interran@uluru.Stanford.EDU, kb@cs.umb.edu. | 5396 # --interran@uluru.Stanford.EDU, kb@cs.umb.edu. |
| 5396 | 5397 |
| 5397 xe_msg_checking="for IceConnectionNumber in -lICE" | 5398 xe_msg_checking="for IceConnectionNumber in -lICE" |
| 5398 test -n "$X_EXTRA_LIBS" && xe_msg_checking="$xe_msg_checking using extra libs $X_EXTRA_LIBS" | 5399 test -n "$X_EXTRA_LIBS" && xe_msg_checking="$xe_msg_checking using extra libs $X_EXTRA_LIBS" |
| 5399 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 5400 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
| 5400 echo "configure:5401: checking "$xe_msg_checking"" >&5 | 5401 echo "configure:5402: checking "$xe_msg_checking"" >&5 |
| 5401 ac_lib_var=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'` | 5402 ac_lib_var=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'` |
| 5402 | 5403 |
| 5403 xe_check_libs=" -lICE $X_EXTRA_LIBS" | 5404 xe_check_libs=" -lICE $X_EXTRA_LIBS" |
| 5404 cat > conftest.$ac_ext <<EOF | 5405 cat > conftest.$ac_ext <<EOF |
| 5405 #line 5406 "configure" | 5406 #line 5407 "configure" |
| 5406 #include "confdefs.h" | 5407 #include "confdefs.h" |
| 5407 /* Override any gcc2 internal prototype to avoid an error. */ | 5408 /* Override any gcc2 internal prototype to avoid an error. */ |
| 5408 /* We use char because int might match the return type of a gcc2 | 5409 /* We use char because int might match the return type of a gcc2 |
| 5409 builtin and then its argument prototype would still apply. */ | 5410 builtin and then its argument prototype would still apply. */ |
| 5410 char IceConnectionNumber(); | 5411 char IceConnectionNumber(); |
| 5411 | 5412 |
| 5412 int main() { | 5413 int main() { |
| 5413 IceConnectionNumber() | 5414 IceConnectionNumber() |
| 5414 ; return 0; } | 5415 ; return 0; } |
| 5415 EOF | 5416 EOF |
| 5416 if { (eval echo configure:5417: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5417 if { (eval echo configure:5418: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 5417 rm -rf conftest* | 5418 rm -rf conftest* |
| 5418 eval "ac_cv_lib_$ac_lib_var=yes" | 5419 eval "ac_cv_lib_$ac_lib_var=yes" |
| 5419 else | 5420 else |
| 5420 echo "configure: failed program was:" >&5 | 5421 echo "configure: failed program was:" >&5 |
| 5421 cat conftest.$ac_ext >&5 | 5422 cat conftest.$ac_ext >&5 |
| 5580 EOF | 5581 EOF |
| 5581 } | 5582 } |
| 5582 | 5583 |
| 5583 | 5584 |
| 5584 echo "checking for X defines extracted by xmkmf" 1>&6 | 5585 echo "checking for X defines extracted by xmkmf" 1>&6 |
| 5585 echo "configure:5586: checking for X defines extracted by xmkmf" >&5 | 5586 echo "configure:5587: checking for X defines extracted by xmkmf" >&5 |
| 5586 rm -fr conftestdir | 5587 rm -fr conftestdir |
| 5587 if mkdir conftestdir; then | 5588 if mkdir conftestdir; then |
| 5588 cd conftestdir | 5589 cd conftestdir |
| 5589 cat > Imakefile <<'EOF' | 5590 cat > Imakefile <<'EOF' |
| 5590 xetest: | 5591 xetest: |
| 5595 xmkmf_defines=`${MAKE-make} xetest 2>/dev/null | grep -v make` | 5596 xmkmf_defines=`${MAKE-make} xetest 2>/dev/null | grep -v make` |
| 5596 fi | 5597 fi |
| 5597 cd .. | 5598 cd .. |
| 5598 rm -fr conftestdir | 5599 rm -fr conftestdir |
| 5599 for word in $xmkmf_defines; do | 5600 for word in $xmkmf_defines; do |
| 5600 case "$word" in | 5601 case "$word" in -D* ) |
| 5601 -D*=* ) ;; | 5602 sym=`echo '' $word | sed -e 's:^ *-D::' -e 's:=.*::'` |
| 5602 -D* ) word=`echo '' $word | sed -e 's:^ *-D::'` | 5603 case "$word" in |
| 5603 { test "$extra_verbose" = "yes" && cat << EOF | 5604 -D*=* ) val=`echo '' $word | sed -e 's:^.*=::'` ;; |
| 5604 Defining $word | 5605 * ) val=1 ;; |
| 5606 esac | |
| 5607 if grep "^#define $sym " confdefs.h >/dev/null; then :; else | |
| 5608 if test "$val" = "1" | |
| 5609 then { test "$extra_verbose" = "yes" && cat << EOF | |
| 5610 Defining $sym | |
| 5605 EOF | 5611 EOF |
| 5606 cat >> confdefs.h <<EOF | 5612 cat >> confdefs.h <<EOF |
| 5607 #define $word 1 | 5613 #define $sym 1 |
| 5608 EOF | 5614 EOF |
| 5609 } | 5615 } |
| 5610 ;; | 5616 |
| 5617 else { test "$extra_verbose" = "yes" && cat << EOF | |
| 5618 Defining $sym = $val | |
| 5619 EOF | |
| 5620 cat >> confdefs.h <<EOF | |
| 5621 #define $sym $val | |
| 5622 EOF | |
| 5623 } | |
| 5624 | |
| 5625 fi | |
| 5626 fi ;; | |
| 5611 esac | 5627 esac |
| 5612 done | 5628 done |
| 5613 fi | 5629 fi |
| 5614 | 5630 |
| 5615 ac_safe=`echo "X11/Intrinsic.h" | sed 'y%./+-%__p_%'` | 5631 ac_safe=`echo "X11/Intrinsic.h" | sed 'y%./+-%__p_%'` |
| 5616 echo $ac_n "checking for X11/Intrinsic.h""... $ac_c" 1>&6 | 5632 echo $ac_n "checking for X11/Intrinsic.h""... $ac_c" 1>&6 |
| 5617 echo "configure:5618: checking for X11/Intrinsic.h" >&5 | 5633 echo "configure:5634: checking for X11/Intrinsic.h" >&5 |
| 5618 | 5634 |
| 5619 cat > conftest.$ac_ext <<EOF | 5635 cat > conftest.$ac_ext <<EOF |
| 5620 #line 5621 "configure" | 5636 #line 5637 "configure" |
| 5621 #include "confdefs.h" | 5637 #include "confdefs.h" |
| 5622 #include <X11/Intrinsic.h> | 5638 #include <X11/Intrinsic.h> |
| 5623 EOF | 5639 EOF |
| 5624 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 5640 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 5625 { (eval echo configure:5626: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 5641 { (eval echo configure:5642: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 5626 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 5642 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 5627 if test -z "$ac_err"; then | 5643 if test -z "$ac_err"; then |
| 5628 rm -rf conftest* | 5644 rm -rf conftest* |
| 5629 eval "ac_cv_header_$ac_safe=yes" | 5645 eval "ac_cv_header_$ac_safe=yes" |
| 5630 else | 5646 else |
| 5644 fi | 5660 fi |
| 5645 | 5661 |
| 5646 | 5662 |
| 5647 | 5663 |
| 5648 echo $ac_n "checking for XOpenDisplay in -lX11""... $ac_c" 1>&6 | 5664 echo $ac_n "checking for XOpenDisplay in -lX11""... $ac_c" 1>&6 |
| 5649 echo "configure:5650: checking for XOpenDisplay in -lX11" >&5 | 5665 echo "configure:5666: checking for XOpenDisplay in -lX11" >&5 |
| 5650 ac_lib_var=`echo X11'_'XOpenDisplay | sed 'y%./+-%__p_%'` | 5666 ac_lib_var=`echo X11'_'XOpenDisplay | sed 'y%./+-%__p_%'` |
| 5651 | 5667 |
| 5652 xe_check_libs=" -lX11 " | 5668 xe_check_libs=" -lX11 " |
| 5653 cat > conftest.$ac_ext <<EOF | 5669 cat > conftest.$ac_ext <<EOF |
| 5654 #line 5655 "configure" | 5670 #line 5671 "configure" |
| 5655 #include "confdefs.h" | 5671 #include "confdefs.h" |
| 5656 /* Override any gcc2 internal prototype to avoid an error. */ | 5672 /* Override any gcc2 internal prototype to avoid an error. */ |
| 5657 /* We use char because int might match the return type of a gcc2 | 5673 /* We use char because int might match the return type of a gcc2 |
| 5658 builtin and then its argument prototype would still apply. */ | 5674 builtin and then its argument prototype would still apply. */ |
| 5659 char XOpenDisplay(); | 5675 char XOpenDisplay(); |
| 5660 | 5676 |
| 5661 int main() { | 5677 int main() { |
| 5662 XOpenDisplay() | 5678 XOpenDisplay() |
| 5663 ; return 0; } | 5679 ; return 0; } |
| 5664 EOF | 5680 EOF |
| 5665 if { (eval echo configure:5666: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5681 if { (eval echo configure:5682: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 5666 rm -rf conftest* | 5682 rm -rf conftest* |
| 5667 eval "ac_cv_lib_$ac_lib_var=yes" | 5683 eval "ac_cv_lib_$ac_lib_var=yes" |
| 5668 else | 5684 else |
| 5669 echo "configure: failed program was:" >&5 | 5685 echo "configure: failed program was:" >&5 |
| 5670 cat conftest.$ac_ext >&5 | 5686 cat conftest.$ac_ext >&5 |
| 5685 if test "$have_lib_x11" != "yes"; then | 5701 if test "$have_lib_x11" != "yes"; then |
| 5686 | 5702 |
| 5687 xe_msg_checking="for XGetFontProperty in -lX11" | 5703 xe_msg_checking="for XGetFontProperty in -lX11" |
| 5688 test -n "-b i486-linuxaout" && xe_msg_checking="$xe_msg_checking using extra libs -b i486-linuxaout" | 5704 test -n "-b i486-linuxaout" && xe_msg_checking="$xe_msg_checking using extra libs -b i486-linuxaout" |
| 5689 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 5705 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
| 5690 echo "configure:5691: checking "$xe_msg_checking"" >&5 | 5706 echo "configure:5707: checking "$xe_msg_checking"" >&5 |
| 5691 ac_lib_var=`echo X11'_'XGetFontProperty | sed 'y%./+-%__p_%'` | 5707 ac_lib_var=`echo X11'_'XGetFontProperty | sed 'y%./+-%__p_%'` |
| 5692 | 5708 |
| 5693 xe_check_libs=" -lX11 -b i486-linuxaout" | 5709 xe_check_libs=" -lX11 -b i486-linuxaout" |
| 5694 cat > conftest.$ac_ext <<EOF | 5710 cat > conftest.$ac_ext <<EOF |
| 5695 #line 5696 "configure" | 5711 #line 5712 "configure" |
| 5696 #include "confdefs.h" | 5712 #include "confdefs.h" |
| 5697 /* Override any gcc2 internal prototype to avoid an error. */ | 5713 /* Override any gcc2 internal prototype to avoid an error. */ |
| 5698 /* We use char because int might match the return type of a gcc2 | 5714 /* We use char because int might match the return type of a gcc2 |
| 5699 builtin and then its argument prototype would still apply. */ | 5715 builtin and then its argument prototype would still apply. */ |
| 5700 char XGetFontProperty(); | 5716 char XGetFontProperty(); |
| 5701 | 5717 |
| 5702 int main() { | 5718 int main() { |
| 5703 XGetFontProperty() | 5719 XGetFontProperty() |
| 5704 ; return 0; } | 5720 ; return 0; } |
| 5705 EOF | 5721 EOF |
| 5706 if { (eval echo configure:5707: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5722 if { (eval echo configure:5723: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 5707 rm -rf conftest* | 5723 rm -rf conftest* |
| 5708 eval "ac_cv_lib_$ac_lib_var=yes" | 5724 eval "ac_cv_lib_$ac_lib_var=yes" |
| 5709 else | 5725 else |
| 5710 echo "configure: failed program was:" >&5 | 5726 echo "configure: failed program was:" >&5 |
| 5711 cat conftest.$ac_ext >&5 | 5727 cat conftest.$ac_ext >&5 |
| 5728 libs_x="-lX11" | 5744 libs_x="-lX11" |
| 5729 test "$extra_verbose" = "yes" && echo " Setting libs_x to \"-lX11\"" | 5745 test "$extra_verbose" = "yes" && echo " Setting libs_x to \"-lX11\"" |
| 5730 | 5746 |
| 5731 | 5747 |
| 5732 echo $ac_n "checking for XShapeSelectInput in -lXext""... $ac_c" 1>&6 | 5748 echo $ac_n "checking for XShapeSelectInput in -lXext""... $ac_c" 1>&6 |
| 5733 echo "configure:5734: checking for XShapeSelectInput in -lXext" >&5 | 5749 echo "configure:5750: checking for XShapeSelectInput in -lXext" >&5 |
| 5734 ac_lib_var=`echo Xext'_'XShapeSelectInput | sed 'y%./+-%__p_%'` | 5750 ac_lib_var=`echo Xext'_'XShapeSelectInput | sed 'y%./+-%__p_%'` |
| 5735 | 5751 |
| 5736 xe_check_libs=" -lXext " | 5752 xe_check_libs=" -lXext " |
| 5737 cat > conftest.$ac_ext <<EOF | 5753 cat > conftest.$ac_ext <<EOF |
| 5738 #line 5739 "configure" | 5754 #line 5755 "configure" |
| 5739 #include "confdefs.h" | 5755 #include "confdefs.h" |
| 5740 /* Override any gcc2 internal prototype to avoid an error. */ | 5756 /* Override any gcc2 internal prototype to avoid an error. */ |
| 5741 /* We use char because int might match the return type of a gcc2 | 5757 /* We use char because int might match the return type of a gcc2 |
| 5742 builtin and then its argument prototype would still apply. */ | 5758 builtin and then its argument prototype would still apply. */ |
| 5743 char XShapeSelectInput(); | 5759 char XShapeSelectInput(); |
| 5744 | 5760 |
| 5745 int main() { | 5761 int main() { |
| 5746 XShapeSelectInput() | 5762 XShapeSelectInput() |
| 5747 ; return 0; } | 5763 ; return 0; } |
| 5748 EOF | 5764 EOF |
| 5749 if { (eval echo configure:5750: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5765 if { (eval echo configure:5766: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 5750 rm -rf conftest* | 5766 rm -rf conftest* |
| 5751 eval "ac_cv_lib_$ac_lib_var=yes" | 5767 eval "ac_cv_lib_$ac_lib_var=yes" |
| 5752 else | 5768 else |
| 5753 echo "configure: failed program was:" >&5 | 5769 echo "configure: failed program was:" >&5 |
| 5754 cat conftest.$ac_ext >&5 | 5770 cat conftest.$ac_ext >&5 |
| 5767 | 5783 |
| 5768 | 5784 |
| 5769 | 5785 |
| 5770 | 5786 |
| 5771 echo $ac_n "checking for XtOpenDisplay in -lXt""... $ac_c" 1>&6 | 5787 echo $ac_n "checking for XtOpenDisplay in -lXt""... $ac_c" 1>&6 |
| 5772 echo "configure:5773: checking for XtOpenDisplay in -lXt" >&5 | 5788 echo "configure:5789: checking for XtOpenDisplay in -lXt" >&5 |
| 5773 ac_lib_var=`echo Xt'_'XtOpenDisplay | sed 'y%./+-%__p_%'` | 5789 ac_lib_var=`echo Xt'_'XtOpenDisplay | sed 'y%./+-%__p_%'` |
| 5774 | 5790 |
| 5775 xe_check_libs=" -lXt " | 5791 xe_check_libs=" -lXt " |
| 5776 cat > conftest.$ac_ext <<EOF | 5792 cat > conftest.$ac_ext <<EOF |
| 5777 #line 5778 "configure" | 5793 #line 5794 "configure" |
| 5778 #include "confdefs.h" | 5794 #include "confdefs.h" |
| 5779 /* Override any gcc2 internal prototype to avoid an error. */ | 5795 /* Override any gcc2 internal prototype to avoid an error. */ |
| 5780 /* We use char because int might match the return type of a gcc2 | 5796 /* We use char because int might match the return type of a gcc2 |
| 5781 builtin and then its argument prototype would still apply. */ | 5797 builtin and then its argument prototype would still apply. */ |
| 5782 char XtOpenDisplay(); | 5798 char XtOpenDisplay(); |
| 5783 | 5799 |
| 5784 int main() { | 5800 int main() { |
| 5785 XtOpenDisplay() | 5801 XtOpenDisplay() |
| 5786 ; return 0; } | 5802 ; return 0; } |
| 5787 EOF | 5803 EOF |
| 5788 if { (eval echo configure:5789: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5804 if { (eval echo configure:5805: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 5789 rm -rf conftest* | 5805 rm -rf conftest* |
| 5790 eval "ac_cv_lib_$ac_lib_var=yes" | 5806 eval "ac_cv_lib_$ac_lib_var=yes" |
| 5791 else | 5807 else |
| 5792 echo "configure: failed program was:" >&5 | 5808 echo "configure: failed program was:" >&5 |
| 5793 cat conftest.$ac_ext >&5 | 5809 cat conftest.$ac_ext >&5 |
| 5806 fi | 5822 fi |
| 5807 | 5823 |
| 5808 | 5824 |
| 5809 | 5825 |
| 5810 echo $ac_n "checking the version of X11 being used""... $ac_c" 1>&6 | 5826 echo $ac_n "checking the version of X11 being used""... $ac_c" 1>&6 |
| 5811 echo "configure:5812: checking the version of X11 being used" >&5 | 5827 echo "configure:5828: checking the version of X11 being used" >&5 |
| 5812 cat > conftest.$ac_ext <<EOF | 5828 cat > conftest.$ac_ext <<EOF |
| 5813 #line 5814 "configure" | 5829 #line 5830 "configure" |
| 5814 #include "confdefs.h" | 5830 #include "confdefs.h" |
| 5815 #include <X11/Intrinsic.h> | 5831 #include <X11/Intrinsic.h> |
| 5816 int main(int c, char *v[]) { return c>1 ? XlibSpecificationRelease : 0; } | 5832 int main(int c, char *v[]) { return c>1 ? XlibSpecificationRelease : 0; } |
| 5817 EOF | 5833 EOF |
| 5818 if { (eval echo configure:5819: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 5834 if { (eval echo configure:5835: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
| 5819 then | 5835 then |
| 5820 ./conftest foobar; x11_release=$? | 5836 ./conftest foobar; x11_release=$? |
| 5821 else | 5837 else |
| 5822 conftest_rc="$?" | 5838 conftest_rc="$?" |
| 5823 echo "configure: failed program was:" >&5 | 5839 echo "configure: failed program was:" >&5 |
| 5838 | 5854 |
| 5839 for ac_hdr in X11/Xlocale.h | 5855 for ac_hdr in X11/Xlocale.h |
| 5840 do | 5856 do |
| 5841 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 5857 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
| 5842 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 5858 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
| 5843 echo "configure:5844: checking for $ac_hdr" >&5 | 5859 echo "configure:5860: checking for $ac_hdr" >&5 |
| 5844 | 5860 |
| 5845 cat > conftest.$ac_ext <<EOF | 5861 cat > conftest.$ac_ext <<EOF |
| 5846 #line 5847 "configure" | 5862 #line 5863 "configure" |
| 5847 #include "confdefs.h" | 5863 #include "confdefs.h" |
| 5848 #include <$ac_hdr> | 5864 #include <$ac_hdr> |
| 5849 EOF | 5865 EOF |
| 5850 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 5866 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 5851 { (eval echo configure:5852: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 5867 { (eval echo configure:5868: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 5852 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 5868 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 5853 if test -z "$ac_err"; then | 5869 if test -z "$ac_err"; then |
| 5854 rm -rf conftest* | 5870 rm -rf conftest* |
| 5855 eval "ac_cv_header_$ac_safe=yes" | 5871 eval "ac_cv_header_$ac_safe=yes" |
| 5856 else | 5872 else |
| 5877 fi | 5893 fi |
| 5878 done | 5894 done |
| 5879 | 5895 |
| 5880 | 5896 |
| 5881 echo $ac_n "checking for XFree86""... $ac_c" 1>&6 | 5897 echo $ac_n "checking for XFree86""... $ac_c" 1>&6 |
| 5882 echo "configure:5883: checking for XFree86" >&5 | 5898 echo "configure:5899: checking for XFree86" >&5 |
| 5883 if test -d "/usr/X386/include" -o \ | 5899 if test -d "/usr/X386/include" -o \ |
| 5884 -f "/etc/XF86Config" -o \ | 5900 -f "/etc/XF86Config" -o \ |
| 5885 -f "/etc/X11/XF86Config" -o \ | 5901 -f "/etc/X11/XF86Config" -o \ |
| 5886 -f "/usr/X11R6/lib/X11/XF86Config"; then | 5902 -f "/usr/X11R6/lib/X11/XF86Config"; then |
| 5887 echo "$ac_t""yes" 1>&6 | 5903 echo "$ac_t""yes" 1>&6 |
| 5897 echo "$ac_t""no" 1>&6 | 5913 echo "$ac_t""no" 1>&6 |
| 5898 fi | 5914 fi |
| 5899 | 5915 |
| 5900 test -z "$with_xmu" && { | 5916 test -z "$with_xmu" && { |
| 5901 echo $ac_n "checking for XmuReadBitmapDataFromFile in -lXmu""... $ac_c" 1>&6 | 5917 echo $ac_n "checking for XmuReadBitmapDataFromFile in -lXmu""... $ac_c" 1>&6 |
| 5902 echo "configure:5903: checking for XmuReadBitmapDataFromFile in -lXmu" >&5 | 5918 echo "configure:5919: checking for XmuReadBitmapDataFromFile in -lXmu" >&5 |
| 5903 ac_lib_var=`echo Xmu'_'XmuReadBitmapDataFromFile | sed 'y%./+-%__p_%'` | 5919 ac_lib_var=`echo Xmu'_'XmuReadBitmapDataFromFile | sed 'y%./+-%__p_%'` |
| 5904 | 5920 |
| 5905 xe_check_libs=" -lXmu " | 5921 xe_check_libs=" -lXmu " |
| 5906 cat > conftest.$ac_ext <<EOF | 5922 cat > conftest.$ac_ext <<EOF |
| 5907 #line 5908 "configure" | 5923 #line 5924 "configure" |
| 5908 #include "confdefs.h" | 5924 #include "confdefs.h" |
| 5909 /* Override any gcc2 internal prototype to avoid an error. */ | 5925 /* Override any gcc2 internal prototype to avoid an error. */ |
| 5910 /* We use char because int might match the return type of a gcc2 | 5926 /* We use char because int might match the return type of a gcc2 |
| 5911 builtin and then its argument prototype would still apply. */ | 5927 builtin and then its argument prototype would still apply. */ |
| 5912 char XmuReadBitmapDataFromFile(); | 5928 char XmuReadBitmapDataFromFile(); |
| 5913 | 5929 |
| 5914 int main() { | 5930 int main() { |
| 5915 XmuReadBitmapDataFromFile() | 5931 XmuReadBitmapDataFromFile() |
| 5916 ; return 0; } | 5932 ; return 0; } |
| 5917 EOF | 5933 EOF |
| 5918 if { (eval echo configure:5919: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5934 if { (eval echo configure:5935: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 5919 rm -rf conftest* | 5935 rm -rf conftest* |
| 5920 eval "ac_cv_lib_$ac_lib_var=yes" | 5936 eval "ac_cv_lib_$ac_lib_var=yes" |
| 5921 else | 5937 else |
| 5922 echo "configure: failed program was:" >&5 | 5938 echo "configure: failed program was:" >&5 |
| 5923 cat conftest.$ac_ext >&5 | 5939 cat conftest.$ac_ext >&5 |
| 5952 | 5968 |
| 5953 fi | 5969 fi |
| 5954 | 5970 |
| 5955 | 5971 |
| 5956 echo $ac_n "checking for main in -lXbsd""... $ac_c" 1>&6 | 5972 echo $ac_n "checking for main in -lXbsd""... $ac_c" 1>&6 |
| 5957 echo "configure:5958: checking for main in -lXbsd" >&5 | 5973 echo "configure:5974: checking for main in -lXbsd" >&5 |
| 5958 ac_lib_var=`echo Xbsd'_'main | sed 'y%./+-%__p_%'` | 5974 ac_lib_var=`echo Xbsd'_'main | sed 'y%./+-%__p_%'` |
| 5959 | 5975 |
| 5960 xe_check_libs=" -lXbsd " | 5976 xe_check_libs=" -lXbsd " |
| 5961 cat > conftest.$ac_ext <<EOF | 5977 cat > conftest.$ac_ext <<EOF |
| 5962 #line 5963 "configure" | 5978 #line 5979 "configure" |
| 5963 #include "confdefs.h" | 5979 #include "confdefs.h" |
| 5964 | 5980 |
| 5965 int main() { | 5981 int main() { |
| 5966 main() | 5982 main() |
| 5967 ; return 0; } | 5983 ; return 0; } |
| 5968 EOF | 5984 EOF |
| 5969 if { (eval echo configure:5970: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5985 if { (eval echo configure:5986: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 5970 rm -rf conftest* | 5986 rm -rf conftest* |
| 5971 eval "ac_cv_lib_$ac_lib_var=yes" | 5987 eval "ac_cv_lib_$ac_lib_var=yes" |
| 5972 else | 5988 else |
| 5973 echo "configure: failed program was:" >&5 | 5989 echo "configure: failed program was:" >&5 |
| 5974 cat conftest.$ac_ext >&5 | 5990 cat conftest.$ac_ext >&5 |
| 6001 fi | 6017 fi |
| 6002 | 6018 |
| 6003 fi | 6019 fi |
| 6004 if test "$with_msw" != "no"; then | 6020 if test "$with_msw" != "no"; then |
| 6005 echo "checking for MS-Windows" 1>&6 | 6021 echo "checking for MS-Windows" 1>&6 |
| 6006 echo "configure:6007: checking for MS-Windows" >&5 | 6022 echo "configure:6023: checking for MS-Windows" >&5 |
| 6007 | 6023 |
| 6008 echo $ac_n "checking for main in -lgdi32""... $ac_c" 1>&6 | 6024 echo $ac_n "checking for main in -lgdi32""... $ac_c" 1>&6 |
| 6009 echo "configure:6010: checking for main in -lgdi32" >&5 | 6025 echo "configure:6026: checking for main in -lgdi32" >&5 |
| 6010 ac_lib_var=`echo gdi32'_'main | sed 'y%./+-%__p_%'` | 6026 ac_lib_var=`echo gdi32'_'main | sed 'y%./+-%__p_%'` |
| 6011 | 6027 |
| 6012 xe_check_libs=" -lgdi32 " | 6028 xe_check_libs=" -lgdi32 " |
| 6013 cat > conftest.$ac_ext <<EOF | 6029 cat > conftest.$ac_ext <<EOF |
| 6014 #line 6015 "configure" | 6030 #line 6031 "configure" |
| 6015 #include "confdefs.h" | 6031 #include "confdefs.h" |
| 6016 | 6032 |
| 6017 int main() { | 6033 int main() { |
| 6018 main() | 6034 main() |
| 6019 ; return 0; } | 6035 ; return 0; } |
| 6020 EOF | 6036 EOF |
| 6021 if { (eval echo configure:6022: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6037 if { (eval echo configure:6038: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 6022 rm -rf conftest* | 6038 rm -rf conftest* |
| 6023 eval "ac_cv_lib_$ac_lib_var=yes" | 6039 eval "ac_cv_lib_$ac_lib_var=yes" |
| 6024 else | 6040 else |
| 6025 echo "configure: failed program was:" >&5 | 6041 echo "configure: failed program was:" >&5 |
| 6026 cat conftest.$ac_ext >&5 | 6042 cat conftest.$ac_ext >&5 |
| 6082 test "$with_dialogs" != "no" && extra_objs="$extra_objs dialog-msw.o" && if test "$extra_verbose" = "yes"; then | 6098 test "$with_dialogs" != "no" && extra_objs="$extra_objs dialog-msw.o" && if test "$extra_verbose" = "yes"; then |
| 6083 echo " xemacs will be linked with \"dialog-msw.o\"" | 6099 echo " xemacs will be linked with \"dialog-msw.o\"" |
| 6084 fi | 6100 fi |
| 6085 fi | 6101 fi |
| 6086 cat > conftest.$ac_ext <<EOF | 6102 cat > conftest.$ac_ext <<EOF |
| 6087 #line 6088 "configure" | 6103 #line 6104 "configure" |
| 6088 #include "confdefs.h" | 6104 #include "confdefs.h" |
| 6089 #include <fcntl.h> | 6105 #include <fcntl.h> |
| 6090 int main() { return (open("/dev/windows", O_RDONLY, 0) > 0)? 0 : 1; } | 6106 int main() { return (open("/dev/windows", O_RDONLY, 0) > 0)? 0 : 1; } |
| 6091 EOF | 6107 EOF |
| 6092 if { (eval echo configure:6093: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 6108 if { (eval echo configure:6109: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
| 6093 then | 6109 then |
| 6094 { test "$extra_verbose" = "yes" && cat << \EOF | 6110 { test "$extra_verbose" = "yes" && cat << \EOF |
| 6095 Defining HAVE_MSG_SELECT | 6111 Defining HAVE_MSG_SELECT |
| 6096 EOF | 6112 EOF |
| 6097 cat >> confdefs.h <<\EOF | 6113 cat >> confdefs.h <<\EOF |
| 6167 test "$opsys" = "hpux9" && opsysfile="s/hpux9-x11r4.h" | 6183 test "$opsys" = "hpux9" && opsysfile="s/hpux9-x11r4.h" |
| 6168 test "$opsys" = "hpux9-shr" && opsysfile="s/hpux9shxr4.h" | 6184 test "$opsys" = "hpux9-shr" && opsysfile="s/hpux9shxr4.h" |
| 6169 esac | 6185 esac |
| 6170 | 6186 |
| 6171 echo "checking for session-management option" 1>&6 | 6187 echo "checking for session-management option" 1>&6 |
| 6172 echo "configure:6173: checking for session-management option" >&5; | 6188 echo "configure:6189: checking for session-management option" >&5; |
| 6173 if test "$with_session" != "no"; then | 6189 if test "$with_session" != "no"; then |
| 6174 { test "$extra_verbose" = "yes" && cat << \EOF | 6190 { test "$extra_verbose" = "yes" && cat << \EOF |
| 6175 Defining HAVE_SESSION | 6191 Defining HAVE_SESSION |
| 6176 EOF | 6192 EOF |
| 6177 cat >> confdefs.h <<\EOF | 6193 cat >> confdefs.h <<\EOF |
| 6182 fi | 6198 fi |
| 6183 | 6199 |
| 6184 test -z "$with_xauth" && test "$window_system" = "none" && with_xauth=no | 6200 test -z "$with_xauth" && test "$window_system" = "none" && with_xauth=no |
| 6185 test -z "$with_xauth" && { ac_safe=`echo "X11/Xauth.h" | sed 'y%./+-%__p_%'` | 6201 test -z "$with_xauth" && { ac_safe=`echo "X11/Xauth.h" | sed 'y%./+-%__p_%'` |
| 6186 echo $ac_n "checking for X11/Xauth.h""... $ac_c" 1>&6 | 6202 echo $ac_n "checking for X11/Xauth.h""... $ac_c" 1>&6 |
| 6187 echo "configure:6188: checking for X11/Xauth.h" >&5 | 6203 echo "configure:6204: checking for X11/Xauth.h" >&5 |
| 6188 | 6204 |
| 6189 cat > conftest.$ac_ext <<EOF | 6205 cat > conftest.$ac_ext <<EOF |
| 6190 #line 6191 "configure" | 6206 #line 6207 "configure" |
| 6191 #include "confdefs.h" | 6207 #include "confdefs.h" |
| 6192 #include <X11/Xauth.h> | 6208 #include <X11/Xauth.h> |
| 6193 EOF | 6209 EOF |
| 6194 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6210 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 6195 { (eval echo configure:6196: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6211 { (eval echo configure:6212: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 6196 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 6212 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 6197 if test -z "$ac_err"; then | 6213 if test -z "$ac_err"; then |
| 6198 rm -rf conftest* | 6214 rm -rf conftest* |
| 6199 eval "ac_cv_header_$ac_safe=yes" | 6215 eval "ac_cv_header_$ac_safe=yes" |
| 6200 else | 6216 else |
| 6213 with_xauth=no | 6229 with_xauth=no |
| 6214 fi | 6230 fi |
| 6215 } | 6231 } |
| 6216 test -z "$with_xauth" && { | 6232 test -z "$with_xauth" && { |
| 6217 echo $ac_n "checking for XauGetAuthByAddr in -lXau""... $ac_c" 1>&6 | 6233 echo $ac_n "checking for XauGetAuthByAddr in -lXau""... $ac_c" 1>&6 |
| 6218 echo "configure:6219: checking for XauGetAuthByAddr in -lXau" >&5 | 6234 echo "configure:6235: checking for XauGetAuthByAddr in -lXau" >&5 |
| 6219 ac_lib_var=`echo Xau'_'XauGetAuthByAddr | sed 'y%./+-%__p_%'` | 6235 ac_lib_var=`echo Xau'_'XauGetAuthByAddr | sed 'y%./+-%__p_%'` |
| 6220 | 6236 |
| 6221 xe_check_libs=" -lXau " | 6237 xe_check_libs=" -lXau " |
| 6222 cat > conftest.$ac_ext <<EOF | 6238 cat > conftest.$ac_ext <<EOF |
| 6223 #line 6224 "configure" | 6239 #line 6240 "configure" |
| 6224 #include "confdefs.h" | 6240 #include "confdefs.h" |
| 6225 /* Override any gcc2 internal prototype to avoid an error. */ | 6241 /* Override any gcc2 internal prototype to avoid an error. */ |
| 6226 /* We use char because int might match the return type of a gcc2 | 6242 /* We use char because int might match the return type of a gcc2 |
| 6227 builtin and then its argument prototype would still apply. */ | 6243 builtin and then its argument prototype would still apply. */ |
| 6228 char XauGetAuthByAddr(); | 6244 char XauGetAuthByAddr(); |
| 6229 | 6245 |
| 6230 int main() { | 6246 int main() { |
| 6231 XauGetAuthByAddr() | 6247 XauGetAuthByAddr() |
| 6232 ; return 0; } | 6248 ; return 0; } |
| 6233 EOF | 6249 EOF |
| 6234 if { (eval echo configure:6235: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6250 if { (eval echo configure:6251: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 6235 rm -rf conftest* | 6251 rm -rf conftest* |
| 6236 eval "ac_cv_lib_$ac_lib_var=yes" | 6252 eval "ac_cv_lib_$ac_lib_var=yes" |
| 6237 else | 6253 else |
| 6238 echo "configure: failed program was:" >&5 | 6254 echo "configure: failed program was:" >&5 |
| 6239 cat conftest.$ac_ext >&5 | 6255 cat conftest.$ac_ext >&5 |
| 6274 | 6290 |
| 6275 if test "$with_tooltalk" != "no" ; then | 6291 if test "$with_tooltalk" != "no" ; then |
| 6276 for dir in "" "Tt/" "desktop/" ; do | 6292 for dir in "" "Tt/" "desktop/" ; do |
| 6277 ac_safe=`echo "${dir}tt_c.h" | sed 'y%./+-%__p_%'` | 6293 ac_safe=`echo "${dir}tt_c.h" | sed 'y%./+-%__p_%'` |
| 6278 echo $ac_n "checking for ${dir}tt_c.h""... $ac_c" 1>&6 | 6294 echo $ac_n "checking for ${dir}tt_c.h""... $ac_c" 1>&6 |
| 6279 echo "configure:6280: checking for ${dir}tt_c.h" >&5 | 6295 echo "configure:6296: checking for ${dir}tt_c.h" >&5 |
| 6280 | 6296 |
| 6281 cat > conftest.$ac_ext <<EOF | 6297 cat > conftest.$ac_ext <<EOF |
| 6282 #line 6283 "configure" | 6298 #line 6299 "configure" |
| 6283 #include "confdefs.h" | 6299 #include "confdefs.h" |
| 6284 #include <${dir}tt_c.h> | 6300 #include <${dir}tt_c.h> |
| 6285 EOF | 6301 EOF |
| 6286 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6302 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 6287 { (eval echo configure:6288: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6303 { (eval echo configure:6304: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 6288 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 6304 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 6289 if test -z "$ac_err"; then | 6305 if test -z "$ac_err"; then |
| 6290 rm -rf conftest* | 6306 rm -rf conftest* |
| 6291 eval "ac_cv_header_$ac_safe=yes" | 6307 eval "ac_cv_header_$ac_safe=yes" |
| 6292 else | 6308 else |
| 6318 for extra_libs in "" "-lI18N -lce" "-lcxx"; do | 6334 for extra_libs in "" "-lI18N -lce" "-lcxx"; do |
| 6319 | 6335 |
| 6320 xe_msg_checking="for tt_message_create in -ltt" | 6336 xe_msg_checking="for tt_message_create in -ltt" |
| 6321 test -n "$extra_libs" && xe_msg_checking="$xe_msg_checking using extra libs $extra_libs" | 6337 test -n "$extra_libs" && xe_msg_checking="$xe_msg_checking using extra libs $extra_libs" |
| 6322 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 6338 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
| 6323 echo "configure:6324: checking "$xe_msg_checking"" >&5 | 6339 echo "configure:6340: checking "$xe_msg_checking"" >&5 |
| 6324 ac_lib_var=`echo tt'_'tt_message_create | sed 'y%./+-%__p_%'` | 6340 ac_lib_var=`echo tt'_'tt_message_create | sed 'y%./+-%__p_%'` |
| 6325 | 6341 |
| 6326 xe_check_libs=" -ltt $extra_libs" | 6342 xe_check_libs=" -ltt $extra_libs" |
| 6327 cat > conftest.$ac_ext <<EOF | 6343 cat > conftest.$ac_ext <<EOF |
| 6328 #line 6329 "configure" | 6344 #line 6345 "configure" |
| 6329 #include "confdefs.h" | 6345 #include "confdefs.h" |
| 6330 /* Override any gcc2 internal prototype to avoid an error. */ | 6346 /* Override any gcc2 internal prototype to avoid an error. */ |
| 6331 /* We use char because int might match the return type of a gcc2 | 6347 /* We use char because int might match the return type of a gcc2 |
| 6332 builtin and then its argument prototype would still apply. */ | 6348 builtin and then its argument prototype would still apply. */ |
| 6333 char tt_message_create(); | 6349 char tt_message_create(); |
| 6334 | 6350 |
| 6335 int main() { | 6351 int main() { |
| 6336 tt_message_create() | 6352 tt_message_create() |
| 6337 ; return 0; } | 6353 ; return 0; } |
| 6338 EOF | 6354 EOF |
| 6339 if { (eval echo configure:6340: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6355 if { (eval echo configure:6356: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 6340 rm -rf conftest* | 6356 rm -rf conftest* |
| 6341 eval "ac_cv_lib_$ac_lib_var=yes" | 6357 eval "ac_cv_lib_$ac_lib_var=yes" |
| 6342 else | 6358 else |
| 6343 echo "configure: failed program was:" >&5 | 6359 echo "configure: failed program was:" >&5 |
| 6344 cat conftest.$ac_ext >&5 | 6360 cat conftest.$ac_ext >&5 |
| 6391 fi | 6407 fi |
| 6392 fi | 6408 fi |
| 6393 | 6409 |
| 6394 test -z "$with_cde" && { ac_safe=`echo "Dt/Dt.h" | sed 'y%./+-%__p_%'` | 6410 test -z "$with_cde" && { ac_safe=`echo "Dt/Dt.h" | sed 'y%./+-%__p_%'` |
| 6395 echo $ac_n "checking for Dt/Dt.h""... $ac_c" 1>&6 | 6411 echo $ac_n "checking for Dt/Dt.h""... $ac_c" 1>&6 |
| 6396 echo "configure:6397: checking for Dt/Dt.h" >&5 | 6412 echo "configure:6413: checking for Dt/Dt.h" >&5 |
| 6397 | 6413 |
| 6398 cat > conftest.$ac_ext <<EOF | 6414 cat > conftest.$ac_ext <<EOF |
| 6399 #line 6400 "configure" | 6415 #line 6416 "configure" |
| 6400 #include "confdefs.h" | 6416 #include "confdefs.h" |
| 6401 #include <Dt/Dt.h> | 6417 #include <Dt/Dt.h> |
| 6402 EOF | 6418 EOF |
| 6403 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6419 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 6404 { (eval echo configure:6405: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6420 { (eval echo configure:6421: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 6405 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 6421 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 6406 if test -z "$ac_err"; then | 6422 if test -z "$ac_err"; then |
| 6407 rm -rf conftest* | 6423 rm -rf conftest* |
| 6408 eval "ac_cv_header_$ac_safe=yes" | 6424 eval "ac_cv_header_$ac_safe=yes" |
| 6409 else | 6425 else |
| 6422 with_cde=no | 6438 with_cde=no |
| 6423 fi | 6439 fi |
| 6424 } | 6440 } |
| 6425 test -z "$with_cde" && { | 6441 test -z "$with_cde" && { |
| 6426 echo $ac_n "checking for DtDndDragStart in -lDtSvc""... $ac_c" 1>&6 | 6442 echo $ac_n "checking for DtDndDragStart in -lDtSvc""... $ac_c" 1>&6 |
| 6427 echo "configure:6428: checking for DtDndDragStart in -lDtSvc" >&5 | 6443 echo "configure:6444: checking for DtDndDragStart in -lDtSvc" >&5 |
| 6428 ac_lib_var=`echo DtSvc'_'DtDndDragStart | sed 'y%./+-%__p_%'` | 6444 ac_lib_var=`echo DtSvc'_'DtDndDragStart | sed 'y%./+-%__p_%'` |
| 6429 | 6445 |
| 6430 xe_check_libs=" -lDtSvc " | 6446 xe_check_libs=" -lDtSvc " |
| 6431 cat > conftest.$ac_ext <<EOF | 6447 cat > conftest.$ac_ext <<EOF |
| 6432 #line 6433 "configure" | 6448 #line 6449 "configure" |
| 6433 #include "confdefs.h" | 6449 #include "confdefs.h" |
| 6434 /* Override any gcc2 internal prototype to avoid an error. */ | 6450 /* Override any gcc2 internal prototype to avoid an error. */ |
| 6435 /* We use char because int might match the return type of a gcc2 | 6451 /* We use char because int might match the return type of a gcc2 |
| 6436 builtin and then its argument prototype would still apply. */ | 6452 builtin and then its argument prototype would still apply. */ |
| 6437 char DtDndDragStart(); | 6453 char DtDndDragStart(); |
| 6438 | 6454 |
| 6439 int main() { | 6455 int main() { |
| 6440 DtDndDragStart() | 6456 DtDndDragStart() |
| 6441 ; return 0; } | 6457 ; return 0; } |
| 6442 EOF | 6458 EOF |
| 6443 if { (eval echo configure:6444: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6459 if { (eval echo configure:6460: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 6444 rm -rf conftest* | 6460 rm -rf conftest* |
| 6445 eval "ac_cv_lib_$ac_lib_var=yes" | 6461 eval "ac_cv_lib_$ac_lib_var=yes" |
| 6446 else | 6462 else |
| 6447 echo "configure: failed program was:" >&5 | 6463 echo "configure: failed program was:" >&5 |
| 6448 cat conftest.$ac_ext >&5 | 6464 cat conftest.$ac_ext >&5 |
| 6507 dnd_objs="$dnd_objs offix.o" && if test "$extra_verbose" = "yes"; then echo " Appending \"offix.o\" to \$dnd_objs"; fi | 6523 dnd_objs="$dnd_objs offix.o" && if test "$extra_verbose" = "yes"; then echo " Appending \"offix.o\" to \$dnd_objs"; fi |
| 6508 dragndrop_proto="$dragndrop_proto OffiX" && if test "$extra_verbose" = "yes"; then echo " Appending \"OffiX\" to \$dragndrop_proto"; fi | 6524 dragndrop_proto="$dragndrop_proto OffiX" && if test "$extra_verbose" = "yes"; then echo " Appending \"OffiX\" to \$dragndrop_proto"; fi |
| 6509 fi | 6525 fi |
| 6510 | 6526 |
| 6511 echo $ac_n "checking if drag and drop API is needed""... $ac_c" 1>&6 | 6527 echo $ac_n "checking if drag and drop API is needed""... $ac_c" 1>&6 |
| 6512 echo "configure:6513: checking if drag and drop API is needed" >&5 | 6528 echo "configure:6529: checking if drag and drop API is needed" >&5 |
| 6513 if test "$with_dragndrop" != "no" ; then | 6529 if test "$with_dragndrop" != "no" ; then |
| 6514 if test -n "$dragndrop_proto" ; then | 6530 if test -n "$dragndrop_proto" ; then |
| 6515 with_dragndrop=yes | 6531 with_dragndrop=yes |
| 6516 echo "$ac_t""yes (${dragndrop_proto} )" 1>&6 | 6532 echo "$ac_t""yes (${dragndrop_proto} )" 1>&6 |
| 6517 { test "$extra_verbose" = "yes" && cat << \EOF | 6533 { test "$extra_verbose" = "yes" && cat << \EOF |
| 6528 echo "$ac_t""no" 1>&6 | 6544 echo "$ac_t""no" 1>&6 |
| 6529 fi | 6545 fi |
| 6530 fi | 6546 fi |
| 6531 | 6547 |
| 6532 echo "checking for LDAP" 1>&6 | 6548 echo "checking for LDAP" 1>&6 |
| 6533 echo "configure:6534: checking for LDAP" >&5 | 6549 echo "configure:6550: checking for LDAP" >&5 |
| 6534 test -z "$with_ldap" && { ac_safe=`echo "ldap.h" | sed 'y%./+-%__p_%'` | 6550 test -z "$with_ldap" && { ac_safe=`echo "ldap.h" | sed 'y%./+-%__p_%'` |
| 6535 echo $ac_n "checking for ldap.h""... $ac_c" 1>&6 | 6551 echo $ac_n "checking for ldap.h""... $ac_c" 1>&6 |
| 6536 echo "configure:6537: checking for ldap.h" >&5 | 6552 echo "configure:6553: checking for ldap.h" >&5 |
| 6537 | 6553 |
| 6538 cat > conftest.$ac_ext <<EOF | 6554 cat > conftest.$ac_ext <<EOF |
| 6539 #line 6540 "configure" | 6555 #line 6556 "configure" |
| 6540 #include "confdefs.h" | 6556 #include "confdefs.h" |
| 6541 #include <ldap.h> | 6557 #include <ldap.h> |
| 6542 EOF | 6558 EOF |
| 6543 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6559 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 6544 { (eval echo configure:6545: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6560 { (eval echo configure:6561: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 6545 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 6561 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 6546 if test -z "$ac_err"; then | 6562 if test -z "$ac_err"; then |
| 6547 rm -rf conftest* | 6563 rm -rf conftest* |
| 6548 eval "ac_cv_header_$ac_safe=yes" | 6564 eval "ac_cv_header_$ac_safe=yes" |
| 6549 else | 6565 else |
| 6562 with_ldap=no | 6578 with_ldap=no |
| 6563 fi | 6579 fi |
| 6564 } | 6580 } |
| 6565 test -z "$with_ldap" && { ac_safe=`echo "lber.h" | sed 'y%./+-%__p_%'` | 6581 test -z "$with_ldap" && { ac_safe=`echo "lber.h" | sed 'y%./+-%__p_%'` |
| 6566 echo $ac_n "checking for lber.h""... $ac_c" 1>&6 | 6582 echo $ac_n "checking for lber.h""... $ac_c" 1>&6 |
| 6567 echo "configure:6568: checking for lber.h" >&5 | 6583 echo "configure:6584: checking for lber.h" >&5 |
| 6568 | 6584 |
| 6569 cat > conftest.$ac_ext <<EOF | 6585 cat > conftest.$ac_ext <<EOF |
| 6570 #line 6571 "configure" | 6586 #line 6587 "configure" |
| 6571 #include "confdefs.h" | 6587 #include "confdefs.h" |
| 6572 #include <lber.h> | 6588 #include <lber.h> |
| 6573 EOF | 6589 EOF |
| 6574 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6590 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 6575 { (eval echo configure:6576: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6591 { (eval echo configure:6592: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 6576 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 6592 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 6577 if test -z "$ac_err"; then | 6593 if test -z "$ac_err"; then |
| 6578 rm -rf conftest* | 6594 rm -rf conftest* |
| 6579 eval "ac_cv_header_$ac_safe=yes" | 6595 eval "ac_cv_header_$ac_safe=yes" |
| 6580 else | 6596 else |
| 6594 fi | 6610 fi |
| 6595 } | 6611 } |
| 6596 if test "$with_ldap" != "no"; then | 6612 if test "$with_ldap" != "no"; then |
| 6597 | 6613 |
| 6598 echo $ac_n "checking for ldap_search in -lldap""... $ac_c" 1>&6 | 6614 echo $ac_n "checking for ldap_search in -lldap""... $ac_c" 1>&6 |
| 6599 echo "configure:6600: checking for ldap_search in -lldap" >&5 | 6615 echo "configure:6616: checking for ldap_search in -lldap" >&5 |
| 6600 ac_lib_var=`echo ldap'_'ldap_search | sed 'y%./+-%__p_%'` | 6616 ac_lib_var=`echo ldap'_'ldap_search | sed 'y%./+-%__p_%'` |
| 6601 | 6617 |
| 6602 xe_check_libs=" -lldap " | 6618 xe_check_libs=" -lldap " |
| 6603 cat > conftest.$ac_ext <<EOF | 6619 cat > conftest.$ac_ext <<EOF |
| 6604 #line 6605 "configure" | 6620 #line 6621 "configure" |
| 6605 #include "confdefs.h" | 6621 #include "confdefs.h" |
| 6606 /* Override any gcc2 internal prototype to avoid an error. */ | 6622 /* Override any gcc2 internal prototype to avoid an error. */ |
| 6607 /* We use char because int might match the return type of a gcc2 | 6623 /* We use char because int might match the return type of a gcc2 |
| 6608 builtin and then its argument prototype would still apply. */ | 6624 builtin and then its argument prototype would still apply. */ |
| 6609 char ldap_search(); | 6625 char ldap_search(); |
| 6610 | 6626 |
| 6611 int main() { | 6627 int main() { |
| 6612 ldap_search() | 6628 ldap_search() |
| 6613 ; return 0; } | 6629 ; return 0; } |
| 6614 EOF | 6630 EOF |
| 6615 if { (eval echo configure:6616: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6631 if { (eval echo configure:6632: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 6616 rm -rf conftest* | 6632 rm -rf conftest* |
| 6617 eval "ac_cv_lib_$ac_lib_var=yes" | 6633 eval "ac_cv_lib_$ac_lib_var=yes" |
| 6618 else | 6634 else |
| 6619 echo "configure: failed program was:" >&5 | 6635 echo "configure: failed program was:" >&5 |
| 6620 cat conftest.$ac_ext >&5 | 6636 cat conftest.$ac_ext >&5 |
| 6635 | 6651 |
| 6636 test "$with_ldap_nolber" = "no" && { | 6652 test "$with_ldap_nolber" = "no" && { |
| 6637 xe_msg_checking="for ldap_open in -lldap" | 6653 xe_msg_checking="for ldap_open in -lldap" |
| 6638 test -n "-llber" && xe_msg_checking="$xe_msg_checking using extra libs -llber" | 6654 test -n "-llber" && xe_msg_checking="$xe_msg_checking using extra libs -llber" |
| 6639 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 6655 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
| 6640 echo "configure:6641: checking "$xe_msg_checking"" >&5 | 6656 echo "configure:6657: checking "$xe_msg_checking"" >&5 |
| 6641 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` | 6657 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` |
| 6642 | 6658 |
| 6643 xe_check_libs=" -lldap -llber" | 6659 xe_check_libs=" -lldap -llber" |
| 6644 cat > conftest.$ac_ext <<EOF | 6660 cat > conftest.$ac_ext <<EOF |
| 6645 #line 6646 "configure" | 6661 #line 6662 "configure" |
| 6646 #include "confdefs.h" | 6662 #include "confdefs.h" |
| 6647 /* Override any gcc2 internal prototype to avoid an error. */ | 6663 /* Override any gcc2 internal prototype to avoid an error. */ |
| 6648 /* We use char because int might match the return type of a gcc2 | 6664 /* We use char because int might match the return type of a gcc2 |
| 6649 builtin and then its argument prototype would still apply. */ | 6665 builtin and then its argument prototype would still apply. */ |
| 6650 char ldap_open(); | 6666 char ldap_open(); |
| 6651 | 6667 |
| 6652 int main() { | 6668 int main() { |
| 6653 ldap_open() | 6669 ldap_open() |
| 6654 ; return 0; } | 6670 ; return 0; } |
| 6655 EOF | 6671 EOF |
| 6656 if { (eval echo configure:6657: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6672 if { (eval echo configure:6673: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 6657 rm -rf conftest* | 6673 rm -rf conftest* |
| 6658 eval "ac_cv_lib_$ac_lib_var=yes" | 6674 eval "ac_cv_lib_$ac_lib_var=yes" |
| 6659 else | 6675 else |
| 6660 echo "configure: failed program was:" >&5 | 6676 echo "configure: failed program was:" >&5 |
| 6661 cat conftest.$ac_ext >&5 | 6677 cat conftest.$ac_ext >&5 |
| 6676 } | 6692 } |
| 6677 test "$with_ldap_nolber" = "no" -a "$with_ldap_lber" = "no" && { | 6693 test "$with_ldap_nolber" = "no" -a "$with_ldap_lber" = "no" && { |
| 6678 xe_msg_checking="for ldap_open in -lldap" | 6694 xe_msg_checking="for ldap_open in -lldap" |
| 6679 test -n "-llber -lkrb" && xe_msg_checking="$xe_msg_checking using extra libs -llber -lkrb" | 6695 test -n "-llber -lkrb" && xe_msg_checking="$xe_msg_checking using extra libs -llber -lkrb" |
| 6680 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 6696 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
| 6681 echo "configure:6682: checking "$xe_msg_checking"" >&5 | 6697 echo "configure:6698: checking "$xe_msg_checking"" >&5 |
| 6682 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` | 6698 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` |
| 6683 | 6699 |
| 6684 xe_check_libs=" -lldap -llber -lkrb" | 6700 xe_check_libs=" -lldap -llber -lkrb" |
| 6685 cat > conftest.$ac_ext <<EOF | 6701 cat > conftest.$ac_ext <<EOF |
| 6686 #line 6687 "configure" | 6702 #line 6703 "configure" |
| 6687 #include "confdefs.h" | 6703 #include "confdefs.h" |
| 6688 /* Override any gcc2 internal prototype to avoid an error. */ | 6704 /* Override any gcc2 internal prototype to avoid an error. */ |
| 6689 /* We use char because int might match the return type of a gcc2 | 6705 /* We use char because int might match the return type of a gcc2 |
| 6690 builtin and then its argument prototype would still apply. */ | 6706 builtin and then its argument prototype would still apply. */ |
| 6691 char ldap_open(); | 6707 char ldap_open(); |
| 6692 | 6708 |
| 6693 int main() { | 6709 int main() { |
| 6694 ldap_open() | 6710 ldap_open() |
| 6695 ; return 0; } | 6711 ; return 0; } |
| 6696 EOF | 6712 EOF |
| 6697 if { (eval echo configure:6698: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6713 if { (eval echo configure:6714: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 6698 rm -rf conftest* | 6714 rm -rf conftest* |
| 6699 eval "ac_cv_lib_$ac_lib_var=yes" | 6715 eval "ac_cv_lib_$ac_lib_var=yes" |
| 6700 else | 6716 else |
| 6701 echo "configure: failed program was:" >&5 | 6717 echo "configure: failed program was:" >&5 |
| 6702 cat conftest.$ac_ext >&5 | 6718 cat conftest.$ac_ext >&5 |
| 6717 } | 6733 } |
| 6718 test "$with_ldap_nolber" = "no" -a "$with_ldap_lber" = "no" -a "$with_ldap_krb" = "no" && { | 6734 test "$with_ldap_nolber" = "no" -a "$with_ldap_lber" = "no" -a "$with_ldap_krb" = "no" && { |
| 6719 xe_msg_checking="for ldap_open in -lldap" | 6735 xe_msg_checking="for ldap_open in -lldap" |
| 6720 test -n "-llber -lkrb -ldes" && xe_msg_checking="$xe_msg_checking using extra libs -llber -lkrb -ldes" | 6736 test -n "-llber -lkrb -ldes" && xe_msg_checking="$xe_msg_checking using extra libs -llber -lkrb -ldes" |
| 6721 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 6737 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
| 6722 echo "configure:6723: checking "$xe_msg_checking"" >&5 | 6738 echo "configure:6739: checking "$xe_msg_checking"" >&5 |
| 6723 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` | 6739 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` |
| 6724 | 6740 |
| 6725 xe_check_libs=" -lldap -llber -lkrb -ldes" | 6741 xe_check_libs=" -lldap -llber -lkrb -ldes" |
| 6726 cat > conftest.$ac_ext <<EOF | 6742 cat > conftest.$ac_ext <<EOF |
| 6727 #line 6728 "configure" | 6743 #line 6744 "configure" |
| 6728 #include "confdefs.h" | 6744 #include "confdefs.h" |
| 6729 /* Override any gcc2 internal prototype to avoid an error. */ | 6745 /* Override any gcc2 internal prototype to avoid an error. */ |
| 6730 /* We use char because int might match the return type of a gcc2 | 6746 /* We use char because int might match the return type of a gcc2 |
| 6731 builtin and then its argument prototype would still apply. */ | 6747 builtin and then its argument prototype would still apply. */ |
| 6732 char ldap_open(); | 6748 char ldap_open(); |
| 6733 | 6749 |
| 6734 int main() { | 6750 int main() { |
| 6735 ldap_open() | 6751 ldap_open() |
| 6736 ; return 0; } | 6752 ; return 0; } |
| 6737 EOF | 6753 EOF |
| 6738 if { (eval echo configure:6739: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6754 if { (eval echo configure:6755: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 6739 rm -rf conftest* | 6755 rm -rf conftest* |
| 6740 eval "ac_cv_lib_$ac_lib_var=yes" | 6756 eval "ac_cv_lib_$ac_lib_var=yes" |
| 6741 else | 6757 else |
| 6742 echo "configure: failed program was:" >&5 | 6758 echo "configure: failed program was:" >&5 |
| 6743 cat conftest.$ac_ext >&5 | 6759 cat conftest.$ac_ext >&5 |
| 6784 LIBS="-lldap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lldap\" to \$LIBS"; fi | 6800 LIBS="-lldap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lldap\" to \$LIBS"; fi |
| 6785 fi | 6801 fi |
| 6786 for ac_func in ldap_set_option ldap_get_lderrno ldap_result2error ldap_parse_result | 6802 for ac_func in ldap_set_option ldap_get_lderrno ldap_result2error ldap_parse_result |
| 6787 do | 6803 do |
| 6788 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 6804 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
| 6789 echo "configure:6790: checking for $ac_func" >&5 | 6805 echo "configure:6806: checking for $ac_func" >&5 |
| 6790 | 6806 |
| 6791 cat > conftest.$ac_ext <<EOF | 6807 cat > conftest.$ac_ext <<EOF |
| 6792 #line 6793 "configure" | 6808 #line 6809 "configure" |
| 6793 #include "confdefs.h" | 6809 #include "confdefs.h" |
| 6794 /* System header to define __stub macros and hopefully few prototypes, | 6810 /* System header to define __stub macros and hopefully few prototypes, |
| 6795 which can conflict with char $ac_func(); below. */ | 6811 which can conflict with char $ac_func(); below. */ |
| 6796 #include <assert.h> | 6812 #include <assert.h> |
| 6797 /* Override any gcc2 internal prototype to avoid an error. */ | 6813 /* Override any gcc2 internal prototype to avoid an error. */ |
| 6810 $ac_func(); | 6826 $ac_func(); |
| 6811 #endif | 6827 #endif |
| 6812 | 6828 |
| 6813 ; return 0; } | 6829 ; return 0; } |
| 6814 EOF | 6830 EOF |
| 6815 if { (eval echo configure:6816: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6831 if { (eval echo configure:6832: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 6816 rm -rf conftest* | 6832 rm -rf conftest* |
| 6817 eval "ac_cv_func_$ac_func=yes" | 6833 eval "ac_cv_func_$ac_func=yes" |
| 6818 else | 6834 else |
| 6819 echo "configure: failed program was:" >&5 | 6835 echo "configure: failed program was:" >&5 |
| 6820 cat conftest.$ac_ext >&5 | 6836 cat conftest.$ac_ext >&5 |
| 6842 fi | 6858 fi |
| 6843 | 6859 |
| 6844 | 6860 |
| 6845 if test "$window_system" != "none"; then | 6861 if test "$window_system" != "none"; then |
| 6846 echo "checking for graphics libraries" 1>&6 | 6862 echo "checking for graphics libraries" 1>&6 |
| 6847 echo "configure:6848: checking for graphics libraries" >&5 | 6863 echo "configure:6864: checking for graphics libraries" >&5 |
| 6848 | 6864 |
| 6849 | 6865 |
| 6850 echo $ac_n "checking for __T_9__nothrow in -lCsup""... $ac_c" 1>&6 | 6866 echo $ac_n "checking for __T_9__nothrow in -lCsup""... $ac_c" 1>&6 |
| 6851 echo "configure:6852: checking for __T_9__nothrow in -lCsup" >&5 | 6867 echo "configure:6868: checking for __T_9__nothrow in -lCsup" >&5 |
| 6852 ac_lib_var=`echo Csup'_'__T_9__nothrow | sed 'y%./+-%__p_%'` | 6868 ac_lib_var=`echo Csup'_'__T_9__nothrow | sed 'y%./+-%__p_%'` |
| 6853 | 6869 |
| 6854 xe_check_libs=" -lCsup " | 6870 xe_check_libs=" -lCsup " |
| 6855 cat > conftest.$ac_ext <<EOF | 6871 cat > conftest.$ac_ext <<EOF |
| 6856 #line 6857 "configure" | 6872 #line 6873 "configure" |
| 6857 #include "confdefs.h" | 6873 #include "confdefs.h" |
| 6858 /* Override any gcc2 internal prototype to avoid an error. */ | 6874 /* Override any gcc2 internal prototype to avoid an error. */ |
| 6859 /* We use char because int might match the return type of a gcc2 | 6875 /* We use char because int might match the return type of a gcc2 |
| 6860 builtin and then its argument prototype would still apply. */ | 6876 builtin and then its argument prototype would still apply. */ |
| 6861 char __T_9__nothrow(); | 6877 char __T_9__nothrow(); |
| 6862 | 6878 |
| 6863 int main() { | 6879 int main() { |
| 6864 __T_9__nothrow() | 6880 __T_9__nothrow() |
| 6865 ; return 0; } | 6881 ; return 0; } |
| 6866 EOF | 6882 EOF |
| 6867 if { (eval echo configure:6868: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6883 if { (eval echo configure:6884: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 6868 rm -rf conftest* | 6884 rm -rf conftest* |
| 6869 eval "ac_cv_lib_$ac_lib_var=yes" | 6885 eval "ac_cv_lib_$ac_lib_var=yes" |
| 6870 else | 6886 else |
| 6871 echo "configure: failed program was:" >&5 | 6887 echo "configure: failed program was:" >&5 |
| 6872 cat conftest.$ac_ext >&5 | 6888 cat conftest.$ac_ext >&5 |
| 6886 | 6902 |
| 6887 | 6903 |
| 6888 xpm_problem="" | 6904 xpm_problem="" |
| 6889 if test -z "$with_xpm"; then | 6905 if test -z "$with_xpm"; then |
| 6890 echo $ac_n "checking for Xpm - no older than 3.4f""... $ac_c" 1>&6 | 6906 echo $ac_n "checking for Xpm - no older than 3.4f""... $ac_c" 1>&6 |
| 6891 echo "configure:6892: checking for Xpm - no older than 3.4f" >&5 | 6907 echo "configure:6908: checking for Xpm - no older than 3.4f" >&5 |
| 6892 xe_check_libs=-lXpm | 6908 xe_check_libs=-lXpm |
| 6893 cat > conftest.$ac_ext <<EOF | 6909 cat > conftest.$ac_ext <<EOF |
| 6894 #line 6895 "configure" | 6910 #line 6911 "configure" |
| 6895 #include "confdefs.h" | 6911 #include "confdefs.h" |
| 6896 #include <X11/xpm.h> | 6912 #include <X11/xpm.h> |
| 6897 int main(int c, char **v) { | 6913 int main(int c, char **v) { |
| 6898 return c == 1 ? 0 : | 6914 return c == 1 ? 0 : |
| 6899 XpmIncludeVersion != XpmLibraryVersion() ? 1 : | 6915 XpmIncludeVersion != XpmLibraryVersion() ? 1 : |
| 6900 XpmIncludeVersion < 30406 ? 2 : 0 ;} | 6916 XpmIncludeVersion < 30406 ? 2 : 0 ;} |
| 6901 EOF | 6917 EOF |
| 6902 if { (eval echo configure:6903: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 6918 if { (eval echo configure:6919: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
| 6903 then | 6919 then |
| 6904 ./conftest dummy_arg; xpm_status=$?; | 6920 ./conftest dummy_arg; xpm_status=$?; |
| 6905 if test "$xpm_status" = "0"; then | 6921 if test "$xpm_status" = "0"; then |
| 6906 with_xpm=yes; | 6922 with_xpm=yes; |
| 6907 else | 6923 else |
| 6939 EOF | 6955 EOF |
| 6940 } | 6956 } |
| 6941 | 6957 |
| 6942 libs_x="-lXpm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXpm\" to \$libs_x"; fi | 6958 libs_x="-lXpm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXpm\" to \$libs_x"; fi |
| 6943 echo $ac_n "checking for \"FOR_MSW\" xpm""... $ac_c" 1>&6 | 6959 echo $ac_n "checking for \"FOR_MSW\" xpm""... $ac_c" 1>&6 |
| 6944 echo "configure:6945: checking for \"FOR_MSW\" xpm" >&5 | 6960 echo "configure:6961: checking for \"FOR_MSW\" xpm" >&5 |
| 6945 xe_check_libs=-lXpm | 6961 xe_check_libs=-lXpm |
| 6946 cat > conftest.$ac_ext <<EOF | 6962 cat > conftest.$ac_ext <<EOF |
| 6947 #line 6948 "configure" | 6963 #line 6964 "configure" |
| 6948 #include "confdefs.h" | 6964 #include "confdefs.h" |
| 6949 | 6965 |
| 6950 int main() { | 6966 int main() { |
| 6951 XpmCreatePixmapFromData() | 6967 XpmCreatePixmapFromData() |
| 6952 ; return 0; } | 6968 ; return 0; } |
| 6953 EOF | 6969 EOF |
| 6954 if { (eval echo configure:6955: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6970 if { (eval echo configure:6971: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 6955 rm -rf conftest* | 6971 rm -rf conftest* |
| 6956 xpm_for_msw=no | 6972 xpm_for_msw=no |
| 6957 else | 6973 else |
| 6958 echo "configure: failed program was:" >&5 | 6974 echo "configure: failed program was:" >&5 |
| 6959 cat conftest.$ac_ext >&5 | 6975 cat conftest.$ac_ext >&5 |
| 6991 fi | 7007 fi |
| 6992 | 7008 |
| 6993 if test "$with_png $with_tiff" != "no no"; then | 7009 if test "$with_png $with_tiff" != "no no"; then |
| 6994 | 7010 |
| 6995 echo $ac_n "checking for inflate in -lc""... $ac_c" 1>&6 | 7011 echo $ac_n "checking for inflate in -lc""... $ac_c" 1>&6 |
| 6996 echo "configure:6997: checking for inflate in -lc" >&5 | 7012 echo "configure:7013: checking for inflate in -lc" >&5 |
| 6997 ac_lib_var=`echo c'_'inflate | sed 'y%./+-%__p_%'` | 7013 ac_lib_var=`echo c'_'inflate | sed 'y%./+-%__p_%'` |
| 6998 | 7014 |
| 6999 xe_check_libs=" -lc " | 7015 xe_check_libs=" -lc " |
| 7000 cat > conftest.$ac_ext <<EOF | 7016 cat > conftest.$ac_ext <<EOF |
| 7001 #line 7002 "configure" | 7017 #line 7018 "configure" |
| 7002 #include "confdefs.h" | 7018 #include "confdefs.h" |
| 7003 /* Override any gcc2 internal prototype to avoid an error. */ | 7019 /* Override any gcc2 internal prototype to avoid an error. */ |
| 7004 /* We use char because int might match the return type of a gcc2 | 7020 /* We use char because int might match the return type of a gcc2 |
| 7005 builtin and then its argument prototype would still apply. */ | 7021 builtin and then its argument prototype would still apply. */ |
| 7006 char inflate(); | 7022 char inflate(); |
| 7007 | 7023 |
| 7008 int main() { | 7024 int main() { |
| 7009 inflate() | 7025 inflate() |
| 7010 ; return 0; } | 7026 ; return 0; } |
| 7011 EOF | 7027 EOF |
| 7012 if { (eval echo configure:7013: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7028 if { (eval echo configure:7029: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 7013 rm -rf conftest* | 7029 rm -rf conftest* |
| 7014 eval "ac_cv_lib_$ac_lib_var=yes" | 7030 eval "ac_cv_lib_$ac_lib_var=yes" |
| 7015 else | 7031 else |
| 7016 echo "configure: failed program was:" >&5 | 7032 echo "configure: failed program was:" >&5 |
| 7017 cat conftest.$ac_ext >&5 | 7033 cat conftest.$ac_ext >&5 |
| 7026 : | 7042 : |
| 7027 else | 7043 else |
| 7028 echo "$ac_t""no" 1>&6 | 7044 echo "$ac_t""no" 1>&6 |
| 7029 | 7045 |
| 7030 echo $ac_n "checking for inflate in -lz""... $ac_c" 1>&6 | 7046 echo $ac_n "checking for inflate in -lz""... $ac_c" 1>&6 |
| 7031 echo "configure:7032: checking for inflate in -lz" >&5 | 7047 echo "configure:7048: checking for inflate in -lz" >&5 |
| 7032 ac_lib_var=`echo z'_'inflate | sed 'y%./+-%__p_%'` | 7048 ac_lib_var=`echo z'_'inflate | sed 'y%./+-%__p_%'` |
| 7033 | 7049 |
| 7034 xe_check_libs=" -lz " | 7050 xe_check_libs=" -lz " |
| 7035 cat > conftest.$ac_ext <<EOF | 7051 cat > conftest.$ac_ext <<EOF |
| 7036 #line 7037 "configure" | 7052 #line 7053 "configure" |
| 7037 #include "confdefs.h" | 7053 #include "confdefs.h" |
| 7038 /* Override any gcc2 internal prototype to avoid an error. */ | 7054 /* Override any gcc2 internal prototype to avoid an error. */ |
| 7039 /* We use char because int might match the return type of a gcc2 | 7055 /* We use char because int might match the return type of a gcc2 |
| 7040 builtin and then its argument prototype would still apply. */ | 7056 builtin and then its argument prototype would still apply. */ |
| 7041 char inflate(); | 7057 char inflate(); |
| 7042 | 7058 |
| 7043 int main() { | 7059 int main() { |
| 7044 inflate() | 7060 inflate() |
| 7045 ; return 0; } | 7061 ; return 0; } |
| 7046 EOF | 7062 EOF |
| 7047 if { (eval echo configure:7048: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7063 if { (eval echo configure:7064: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 7048 rm -rf conftest* | 7064 rm -rf conftest* |
| 7049 eval "ac_cv_lib_$ac_lib_var=yes" | 7065 eval "ac_cv_lib_$ac_lib_var=yes" |
| 7050 else | 7066 else |
| 7051 echo "configure: failed program was:" >&5 | 7067 echo "configure: failed program was:" >&5 |
| 7052 cat conftest.$ac_ext >&5 | 7068 cat conftest.$ac_ext >&5 |
| 7061 libs_x="-lz $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lz\" to \$libs_x"; fi | 7077 libs_x="-lz $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lz\" to \$libs_x"; fi |
| 7062 else | 7078 else |
| 7063 echo "$ac_t""no" 1>&6 | 7079 echo "$ac_t""no" 1>&6 |
| 7064 | 7080 |
| 7065 echo $ac_n "checking for inflate in -lgz""... $ac_c" 1>&6 | 7081 echo $ac_n "checking for inflate in -lgz""... $ac_c" 1>&6 |
| 7066 echo "configure:7067: checking for inflate in -lgz" >&5 | 7082 echo "configure:7083: checking for inflate in -lgz" >&5 |
| 7067 ac_lib_var=`echo gz'_'inflate | sed 'y%./+-%__p_%'` | 7083 ac_lib_var=`echo gz'_'inflate | sed 'y%./+-%__p_%'` |
| 7068 | 7084 |
| 7069 xe_check_libs=" -lgz " | 7085 xe_check_libs=" -lgz " |
| 7070 cat > conftest.$ac_ext <<EOF | 7086 cat > conftest.$ac_ext <<EOF |
| 7071 #line 7072 "configure" | 7087 #line 7088 "configure" |
| 7072 #include "confdefs.h" | 7088 #include "confdefs.h" |
| 7073 /* Override any gcc2 internal prototype to avoid an error. */ | 7089 /* Override any gcc2 internal prototype to avoid an error. */ |
| 7074 /* We use char because int might match the return type of a gcc2 | 7090 /* We use char because int might match the return type of a gcc2 |
| 7075 builtin and then its argument prototype would still apply. */ | 7091 builtin and then its argument prototype would still apply. */ |
| 7076 char inflate(); | 7092 char inflate(); |
| 7077 | 7093 |
| 7078 int main() { | 7094 int main() { |
| 7079 inflate() | 7095 inflate() |
| 7080 ; return 0; } | 7096 ; return 0; } |
| 7081 EOF | 7097 EOF |
| 7082 if { (eval echo configure:7083: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7098 if { (eval echo configure:7099: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 7083 rm -rf conftest* | 7099 rm -rf conftest* |
| 7084 eval "ac_cv_lib_$ac_lib_var=yes" | 7100 eval "ac_cv_lib_$ac_lib_var=yes" |
| 7085 else | 7101 else |
| 7086 echo "configure: failed program was:" >&5 | 7102 echo "configure: failed program was:" >&5 |
| 7087 cat conftest.$ac_ext >&5 | 7103 cat conftest.$ac_ext >&5 |
| 7107 | 7123 |
| 7108 fi | 7124 fi |
| 7109 | 7125 |
| 7110 test -z "$with_jpeg" && { ac_safe=`echo "jpeglib.h" | sed 'y%./+-%__p_%'` | 7126 test -z "$with_jpeg" && { ac_safe=`echo "jpeglib.h" | sed 'y%./+-%__p_%'` |
| 7111 echo $ac_n "checking for jpeglib.h""... $ac_c" 1>&6 | 7127 echo $ac_n "checking for jpeglib.h""... $ac_c" 1>&6 |
| 7112 echo "configure:7113: checking for jpeglib.h" >&5 | 7128 echo "configure:7129: checking for jpeglib.h" >&5 |
| 7113 | 7129 |
| 7114 cat > conftest.$ac_ext <<EOF | 7130 cat > conftest.$ac_ext <<EOF |
| 7115 #line 7116 "configure" | 7131 #line 7132 "configure" |
| 7116 #include "confdefs.h" | 7132 #include "confdefs.h" |
| 7117 #include <jpeglib.h> | 7133 #include <jpeglib.h> |
| 7118 EOF | 7134 EOF |
| 7119 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7135 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 7120 { (eval echo configure:7121: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7136 { (eval echo configure:7137: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 7121 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 7137 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 7122 if test -z "$ac_err"; then | 7138 if test -z "$ac_err"; then |
| 7123 rm -rf conftest* | 7139 rm -rf conftest* |
| 7124 eval "ac_cv_header_$ac_safe=yes" | 7140 eval "ac_cv_header_$ac_safe=yes" |
| 7125 else | 7141 else |
| 7138 with_jpeg=no | 7154 with_jpeg=no |
| 7139 fi | 7155 fi |
| 7140 } | 7156 } |
| 7141 test -z "$with_jpeg" && { | 7157 test -z "$with_jpeg" && { |
| 7142 echo $ac_n "checking for jpeg_destroy_decompress in -ljpeg""... $ac_c" 1>&6 | 7158 echo $ac_n "checking for jpeg_destroy_decompress in -ljpeg""... $ac_c" 1>&6 |
| 7143 echo "configure:7144: checking for jpeg_destroy_decompress in -ljpeg" >&5 | 7159 echo "configure:7160: checking for jpeg_destroy_decompress in -ljpeg" >&5 |
| 7144 ac_lib_var=`echo jpeg'_'jpeg_destroy_decompress | sed 'y%./+-%__p_%'` | 7160 ac_lib_var=`echo jpeg'_'jpeg_destroy_decompress | sed 'y%./+-%__p_%'` |
| 7145 | 7161 |
| 7146 xe_check_libs=" -ljpeg " | 7162 xe_check_libs=" -ljpeg " |
| 7147 cat > conftest.$ac_ext <<EOF | 7163 cat > conftest.$ac_ext <<EOF |
| 7148 #line 7149 "configure" | 7164 #line 7165 "configure" |
| 7149 #include "confdefs.h" | 7165 #include "confdefs.h" |
| 7150 /* Override any gcc2 internal prototype to avoid an error. */ | 7166 /* Override any gcc2 internal prototype to avoid an error. */ |
| 7151 /* We use char because int might match the return type of a gcc2 | 7167 /* We use char because int might match the return type of a gcc2 |
| 7152 builtin and then its argument prototype would still apply. */ | 7168 builtin and then its argument prototype would still apply. */ |
| 7153 char jpeg_destroy_decompress(); | 7169 char jpeg_destroy_decompress(); |
| 7154 | 7170 |
| 7155 int main() { | 7171 int main() { |
| 7156 jpeg_destroy_decompress() | 7172 jpeg_destroy_decompress() |
| 7157 ; return 0; } | 7173 ; return 0; } |
| 7158 EOF | 7174 EOF |
| 7159 if { (eval echo configure:7160: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7175 if { (eval echo configure:7176: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 7160 rm -rf conftest* | 7176 rm -rf conftest* |
| 7161 eval "ac_cv_lib_$ac_lib_var=yes" | 7177 eval "ac_cv_lib_$ac_lib_var=yes" |
| 7162 else | 7178 else |
| 7163 echo "configure: failed program was:" >&5 | 7179 echo "configure: failed program was:" >&5 |
| 7164 cat conftest.$ac_ext >&5 | 7180 cat conftest.$ac_ext >&5 |
| 7190 libs_x="-ljpeg $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-ljpeg\" to \$libs_x"; fi | 7206 libs_x="-ljpeg $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-ljpeg\" to \$libs_x"; fi |
| 7191 fi | 7207 fi |
| 7192 | 7208 |
| 7193 png_problem="" | 7209 png_problem="" |
| 7194 test -z "$with_png" && { echo $ac_n "checking for pow""... $ac_c" 1>&6 | 7210 test -z "$with_png" && { echo $ac_n "checking for pow""... $ac_c" 1>&6 |
| 7195 echo "configure:7196: checking for pow" >&5 | 7211 echo "configure:7212: checking for pow" >&5 |
| 7196 | 7212 |
| 7197 cat > conftest.$ac_ext <<EOF | 7213 cat > conftest.$ac_ext <<EOF |
| 7198 #line 7199 "configure" | 7214 #line 7215 "configure" |
| 7199 #include "confdefs.h" | 7215 #include "confdefs.h" |
| 7200 /* System header to define __stub macros and hopefully few prototypes, | 7216 /* System header to define __stub macros and hopefully few prototypes, |
| 7201 which can conflict with char pow(); below. */ | 7217 which can conflict with char pow(); below. */ |
| 7202 #include <assert.h> | 7218 #include <assert.h> |
| 7203 /* Override any gcc2 internal prototype to avoid an error. */ | 7219 /* Override any gcc2 internal prototype to avoid an error. */ |
| 7216 pow(); | 7232 pow(); |
| 7217 #endif | 7233 #endif |
| 7218 | 7234 |
| 7219 ; return 0; } | 7235 ; return 0; } |
| 7220 EOF | 7236 EOF |
| 7221 if { (eval echo configure:7222: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7237 if { (eval echo configure:7238: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 7222 rm -rf conftest* | 7238 rm -rf conftest* |
| 7223 eval "ac_cv_func_pow=yes" | 7239 eval "ac_cv_func_pow=yes" |
| 7224 else | 7240 else |
| 7225 echo "configure: failed program was:" >&5 | 7241 echo "configure: failed program was:" >&5 |
| 7226 cat conftest.$ac_ext >&5 | 7242 cat conftest.$ac_ext >&5 |
| 7237 with_png=no | 7253 with_png=no |
| 7238 fi | 7254 fi |
| 7239 } | 7255 } |
| 7240 test -z "$with_png" && { ac_safe=`echo "png.h" | sed 'y%./+-%__p_%'` | 7256 test -z "$with_png" && { ac_safe=`echo "png.h" | sed 'y%./+-%__p_%'` |
| 7241 echo $ac_n "checking for png.h""... $ac_c" 1>&6 | 7257 echo $ac_n "checking for png.h""... $ac_c" 1>&6 |
| 7242 echo "configure:7243: checking for png.h" >&5 | 7258 echo "configure:7259: checking for png.h" >&5 |
| 7243 | 7259 |
| 7244 cat > conftest.$ac_ext <<EOF | 7260 cat > conftest.$ac_ext <<EOF |
| 7245 #line 7246 "configure" | 7261 #line 7262 "configure" |
| 7246 #include "confdefs.h" | 7262 #include "confdefs.h" |
| 7247 #include <png.h> | 7263 #include <png.h> |
| 7248 EOF | 7264 EOF |
| 7249 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7265 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 7250 { (eval echo configure:7251: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7266 { (eval echo configure:7267: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 7251 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 7267 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 7252 if test -z "$ac_err"; then | 7268 if test -z "$ac_err"; then |
| 7253 rm -rf conftest* | 7269 rm -rf conftest* |
| 7254 eval "ac_cv_header_$ac_safe=yes" | 7270 eval "ac_cv_header_$ac_safe=yes" |
| 7255 else | 7271 else |
| 7268 with_png=no | 7284 with_png=no |
| 7269 fi | 7285 fi |
| 7270 } | 7286 } |
| 7271 test -z "$with_png" && { | 7287 test -z "$with_png" && { |
| 7272 echo $ac_n "checking for png_read_image in -lpng""... $ac_c" 1>&6 | 7288 echo $ac_n "checking for png_read_image in -lpng""... $ac_c" 1>&6 |
| 7273 echo "configure:7274: checking for png_read_image in -lpng" >&5 | 7289 echo "configure:7290: checking for png_read_image in -lpng" >&5 |
| 7274 ac_lib_var=`echo png'_'png_read_image | sed 'y%./+-%__p_%'` | 7290 ac_lib_var=`echo png'_'png_read_image | sed 'y%./+-%__p_%'` |
| 7275 | 7291 |
| 7276 xe_check_libs=" -lpng " | 7292 xe_check_libs=" -lpng " |
| 7277 cat > conftest.$ac_ext <<EOF | 7293 cat > conftest.$ac_ext <<EOF |
| 7278 #line 7279 "configure" | 7294 #line 7295 "configure" |
| 7279 #include "confdefs.h" | 7295 #include "confdefs.h" |
| 7280 /* Override any gcc2 internal prototype to avoid an error. */ | 7296 /* Override any gcc2 internal prototype to avoid an error. */ |
| 7281 /* We use char because int might match the return type of a gcc2 | 7297 /* We use char because int might match the return type of a gcc2 |
| 7282 builtin and then its argument prototype would still apply. */ | 7298 builtin and then its argument prototype would still apply. */ |
| 7283 char png_read_image(); | 7299 char png_read_image(); |
| 7284 | 7300 |
| 7285 int main() { | 7301 int main() { |
| 7286 png_read_image() | 7302 png_read_image() |
| 7287 ; return 0; } | 7303 ; return 0; } |
| 7288 EOF | 7304 EOF |
| 7289 if { (eval echo configure:7290: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7305 if { (eval echo configure:7306: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 7290 rm -rf conftest* | 7306 rm -rf conftest* |
| 7291 eval "ac_cv_lib_$ac_lib_var=yes" | 7307 eval "ac_cv_lib_$ac_lib_var=yes" |
| 7292 else | 7308 else |
| 7293 echo "configure: failed program was:" >&5 | 7309 echo "configure: failed program was:" >&5 |
| 7294 cat conftest.$ac_ext >&5 | 7310 cat conftest.$ac_ext >&5 |
| 7307 fi | 7323 fi |
| 7308 | 7324 |
| 7309 } | 7325 } |
| 7310 if test -z "$with_png"; then | 7326 if test -z "$with_png"; then |
| 7311 echo $ac_n "checking for workable png version information""... $ac_c" 1>&6 | 7327 echo $ac_n "checking for workable png version information""... $ac_c" 1>&6 |
| 7312 echo "configure:7313: checking for workable png version information" >&5 | 7328 echo "configure:7329: checking for workable png version information" >&5 |
| 7313 xe_check_libs="-lpng -lz" | 7329 xe_check_libs="-lpng -lz" |
| 7314 cat > conftest.$ac_ext <<EOF | 7330 cat > conftest.$ac_ext <<EOF |
| 7315 #line 7316 "configure" | 7331 #line 7332 "configure" |
| 7316 #include "confdefs.h" | 7332 #include "confdefs.h" |
| 7317 #include <png.h> | 7333 #include <png.h> |
| 7318 int main(int c, char **v) { | 7334 int main(int c, char **v) { |
| 7319 if (c == 1) return 0; | 7335 if (c == 1) return 0; |
| 7320 if (strcmp(png_libpng_ver, PNG_LIBPNG_VER_STRING) != 0) return 1; | 7336 if (strcmp(png_libpng_ver, PNG_LIBPNG_VER_STRING) != 0) return 1; |
| 7321 return (PNG_LIBPNG_VER < 10002) ? 2 : 0 ;} | 7337 return (PNG_LIBPNG_VER < 10002) ? 2 : 0 ;} |
| 7322 EOF | 7338 EOF |
| 7323 if { (eval echo configure:7324: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 7339 if { (eval echo configure:7340: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
| 7324 then | 7340 then |
| 7325 ./conftest dummy_arg; png_status=$?; | 7341 ./conftest dummy_arg; png_status=$?; |
| 7326 if test "$png_status" = "0"; then | 7342 if test "$png_status" = "0"; then |
| 7327 with_png=yes; | 7343 with_png=yes; |
| 7328 else | 7344 else |
| 7361 libs_x="-lpng $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lpng\" to \$libs_x"; fi | 7377 libs_x="-lpng $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lpng\" to \$libs_x"; fi |
| 7362 fi | 7378 fi |
| 7363 | 7379 |
| 7364 test -z "$with_tiff" && { ac_safe=`echo "tiffio.h" | sed 'y%./+-%__p_%'` | 7380 test -z "$with_tiff" && { ac_safe=`echo "tiffio.h" | sed 'y%./+-%__p_%'` |
| 7365 echo $ac_n "checking for tiffio.h""... $ac_c" 1>&6 | 7381 echo $ac_n "checking for tiffio.h""... $ac_c" 1>&6 |
| 7366 echo "configure:7367: checking for tiffio.h" >&5 | 7382 echo "configure:7383: checking for tiffio.h" >&5 |
| 7367 | 7383 |
| 7368 cat > conftest.$ac_ext <<EOF | 7384 cat > conftest.$ac_ext <<EOF |
| 7369 #line 7370 "configure" | 7385 #line 7386 "configure" |
| 7370 #include "confdefs.h" | 7386 #include "confdefs.h" |
| 7371 #include <tiffio.h> | 7387 #include <tiffio.h> |
| 7372 EOF | 7388 EOF |
| 7373 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7389 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 7374 { (eval echo configure:7375: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7390 { (eval echo configure:7391: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 7375 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 7391 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 7376 if test -z "$ac_err"; then | 7392 if test -z "$ac_err"; then |
| 7377 rm -rf conftest* | 7393 rm -rf conftest* |
| 7378 eval "ac_cv_header_$ac_safe=yes" | 7394 eval "ac_cv_header_$ac_safe=yes" |
| 7379 else | 7395 else |
| 7392 with_tiff=no | 7408 with_tiff=no |
| 7393 fi | 7409 fi |
| 7394 } | 7410 } |
| 7395 test -z "$with_tiff" && { | 7411 test -z "$with_tiff" && { |
| 7396 echo $ac_n "checking for TIFFClientOpen in -ltiff""... $ac_c" 1>&6 | 7412 echo $ac_n "checking for TIFFClientOpen in -ltiff""... $ac_c" 1>&6 |
| 7397 echo "configure:7398: checking for TIFFClientOpen in -ltiff" >&5 | 7413 echo "configure:7414: checking for TIFFClientOpen in -ltiff" >&5 |
| 7398 ac_lib_var=`echo tiff'_'TIFFClientOpen | sed 'y%./+-%__p_%'` | 7414 ac_lib_var=`echo tiff'_'TIFFClientOpen | sed 'y%./+-%__p_%'` |
| 7399 | 7415 |
| 7400 xe_check_libs=" -ltiff " | 7416 xe_check_libs=" -ltiff " |
| 7401 cat > conftest.$ac_ext <<EOF | 7417 cat > conftest.$ac_ext <<EOF |
| 7402 #line 7403 "configure" | 7418 #line 7419 "configure" |
| 7403 #include "confdefs.h" | 7419 #include "confdefs.h" |
| 7404 /* Override any gcc2 internal prototype to avoid an error. */ | 7420 /* Override any gcc2 internal prototype to avoid an error. */ |
| 7405 /* We use char because int might match the return type of a gcc2 | 7421 /* We use char because int might match the return type of a gcc2 |
| 7406 builtin and then its argument prototype would still apply. */ | 7422 builtin and then its argument prototype would still apply. */ |
| 7407 char TIFFClientOpen(); | 7423 char TIFFClientOpen(); |
| 7408 | 7424 |
| 7409 int main() { | 7425 int main() { |
| 7410 TIFFClientOpen() | 7426 TIFFClientOpen() |
| 7411 ; return 0; } | 7427 ; return 0; } |
| 7412 EOF | 7428 EOF |
| 7413 if { (eval echo configure:7414: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7429 if { (eval echo configure:7430: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 7414 rm -rf conftest* | 7430 rm -rf conftest* |
| 7415 eval "ac_cv_lib_$ac_lib_var=yes" | 7431 eval "ac_cv_lib_$ac_lib_var=yes" |
| 7416 else | 7432 else |
| 7417 echo "configure: failed program was:" >&5 | 7433 echo "configure: failed program was:" >&5 |
| 7418 cat conftest.$ac_ext >&5 | 7434 cat conftest.$ac_ext >&5 |
| 7447 | 7463 |
| 7448 | 7464 |
| 7449 if test "$with_x11" = "yes"; then | 7465 if test "$with_x11" = "yes"; then |
| 7450 | 7466 |
| 7451 echo "checking for X11 graphics libraries" 1>&6 | 7467 echo "checking for X11 graphics libraries" 1>&6 |
| 7452 echo "configure:7453: checking for X11 graphics libraries" >&5 | 7468 echo "configure:7469: checking for X11 graphics libraries" >&5 |
| 7453 | 7469 |
| 7454 test -z "$with_xface" && { ac_safe=`echo "compface.h" | sed 'y%./+-%__p_%'` | 7470 test -z "$with_xface" && { ac_safe=`echo "compface.h" | sed 'y%./+-%__p_%'` |
| 7455 echo $ac_n "checking for compface.h""... $ac_c" 1>&6 | 7471 echo $ac_n "checking for compface.h""... $ac_c" 1>&6 |
| 7456 echo "configure:7457: checking for compface.h" >&5 | 7472 echo "configure:7473: checking for compface.h" >&5 |
| 7457 | 7473 |
| 7458 cat > conftest.$ac_ext <<EOF | 7474 cat > conftest.$ac_ext <<EOF |
| 7459 #line 7460 "configure" | 7475 #line 7476 "configure" |
| 7460 #include "confdefs.h" | 7476 #include "confdefs.h" |
| 7461 #include <compface.h> | 7477 #include <compface.h> |
| 7462 EOF | 7478 EOF |
| 7463 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7479 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 7464 { (eval echo configure:7465: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7480 { (eval echo configure:7481: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 7465 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 7481 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 7466 if test -z "$ac_err"; then | 7482 if test -z "$ac_err"; then |
| 7467 rm -rf conftest* | 7483 rm -rf conftest* |
| 7468 eval "ac_cv_header_$ac_safe=yes" | 7484 eval "ac_cv_header_$ac_safe=yes" |
| 7469 else | 7485 else |
| 7482 with_xface=no | 7498 with_xface=no |
| 7483 fi | 7499 fi |
| 7484 } | 7500 } |
| 7485 test -z "$with_xface" && { | 7501 test -z "$with_xface" && { |
| 7486 echo $ac_n "checking for UnGenFace in -lcompface""... $ac_c" 1>&6 | 7502 echo $ac_n "checking for UnGenFace in -lcompface""... $ac_c" 1>&6 |
| 7487 echo "configure:7488: checking for UnGenFace in -lcompface" >&5 | 7503 echo "configure:7504: checking for UnGenFace in -lcompface" >&5 |
| 7488 ac_lib_var=`echo compface'_'UnGenFace | sed 'y%./+-%__p_%'` | 7504 ac_lib_var=`echo compface'_'UnGenFace | sed 'y%./+-%__p_%'` |
| 7489 | 7505 |
| 7490 xe_check_libs=" -lcompface " | 7506 xe_check_libs=" -lcompface " |
| 7491 cat > conftest.$ac_ext <<EOF | 7507 cat > conftest.$ac_ext <<EOF |
| 7492 #line 7493 "configure" | 7508 #line 7509 "configure" |
| 7493 #include "confdefs.h" | 7509 #include "confdefs.h" |
| 7494 /* Override any gcc2 internal prototype to avoid an error. */ | 7510 /* Override any gcc2 internal prototype to avoid an error. */ |
| 7495 /* We use char because int might match the return type of a gcc2 | 7511 /* We use char because int might match the return type of a gcc2 |
| 7496 builtin and then its argument prototype would still apply. */ | 7512 builtin and then its argument prototype would still apply. */ |
| 7497 char UnGenFace(); | 7513 char UnGenFace(); |
| 7498 | 7514 |
| 7499 int main() { | 7515 int main() { |
| 7500 UnGenFace() | 7516 UnGenFace() |
| 7501 ; return 0; } | 7517 ; return 0; } |
| 7502 EOF | 7518 EOF |
| 7503 if { (eval echo configure:7504: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7519 if { (eval echo configure:7520: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 7504 rm -rf conftest* | 7520 rm -rf conftest* |
| 7505 eval "ac_cv_lib_$ac_lib_var=yes" | 7521 eval "ac_cv_lib_$ac_lib_var=yes" |
| 7506 else | 7522 else |
| 7507 echo "configure: failed program was:" >&5 | 7523 echo "configure: failed program was:" >&5 |
| 7508 cat conftest.$ac_ext >&5 | 7524 cat conftest.$ac_ext >&5 |
| 7534 libs_x="-lcompface $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lcompface\" to \$libs_x"; fi | 7550 libs_x="-lcompface $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lcompface\" to \$libs_x"; fi |
| 7535 fi | 7551 fi |
| 7536 | 7552 |
| 7537 | 7553 |
| 7538 echo $ac_n "checking for XawScrollbarSetThumb in -lXaw""... $ac_c" 1>&6 | 7554 echo $ac_n "checking for XawScrollbarSetThumb in -lXaw""... $ac_c" 1>&6 |
| 7539 echo "configure:7540: checking for XawScrollbarSetThumb in -lXaw" >&5 | 7555 echo "configure:7556: checking for XawScrollbarSetThumb in -lXaw" >&5 |
| 7540 ac_lib_var=`echo Xaw'_'XawScrollbarSetThumb | sed 'y%./+-%__p_%'` | 7556 ac_lib_var=`echo Xaw'_'XawScrollbarSetThumb | sed 'y%./+-%__p_%'` |
| 7541 | 7557 |
| 7542 xe_check_libs=" -lXaw " | 7558 xe_check_libs=" -lXaw " |
| 7543 cat > conftest.$ac_ext <<EOF | 7559 cat > conftest.$ac_ext <<EOF |
| 7544 #line 7545 "configure" | 7560 #line 7561 "configure" |
| 7545 #include "confdefs.h" | 7561 #include "confdefs.h" |
| 7546 /* Override any gcc2 internal prototype to avoid an error. */ | 7562 /* Override any gcc2 internal prototype to avoid an error. */ |
| 7547 /* We use char because int might match the return type of a gcc2 | 7563 /* We use char because int might match the return type of a gcc2 |
| 7548 builtin and then its argument prototype would still apply. */ | 7564 builtin and then its argument prototype would still apply. */ |
| 7549 char XawScrollbarSetThumb(); | 7565 char XawScrollbarSetThumb(); |
| 7550 | 7566 |
| 7551 int main() { | 7567 int main() { |
| 7552 XawScrollbarSetThumb() | 7568 XawScrollbarSetThumb() |
| 7553 ; return 0; } | 7569 ; return 0; } |
| 7554 EOF | 7570 EOF |
| 7555 if { (eval echo configure:7556: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7571 if { (eval echo configure:7572: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 7556 rm -rf conftest* | 7572 rm -rf conftest* |
| 7557 eval "ac_cv_lib_$ac_lib_var=yes" | 7573 eval "ac_cv_lib_$ac_lib_var=yes" |
| 7558 else | 7574 else |
| 7559 echo "configure: failed program was:" >&5 | 7575 echo "configure: failed program was:" >&5 |
| 7560 cat conftest.$ac_ext >&5 | 7576 cat conftest.$ac_ext >&5 |
| 7574 | 7590 |
| 7575 | 7591 |
| 7576 | 7592 |
| 7577 ac_safe=`echo "Xm/Xm.h" | sed 'y%./+-%__p_%'` | 7593 ac_safe=`echo "Xm/Xm.h" | sed 'y%./+-%__p_%'` |
| 7578 echo $ac_n "checking for Xm/Xm.h""... $ac_c" 1>&6 | 7594 echo $ac_n "checking for Xm/Xm.h""... $ac_c" 1>&6 |
| 7579 echo "configure:7580: checking for Xm/Xm.h" >&5 | 7595 echo "configure:7596: checking for Xm/Xm.h" >&5 |
| 7580 | 7596 |
| 7581 cat > conftest.$ac_ext <<EOF | 7597 cat > conftest.$ac_ext <<EOF |
| 7582 #line 7583 "configure" | 7598 #line 7599 "configure" |
| 7583 #include "confdefs.h" | 7599 #include "confdefs.h" |
| 7584 #include <Xm/Xm.h> | 7600 #include <Xm/Xm.h> |
| 7585 EOF | 7601 EOF |
| 7586 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7602 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 7587 { (eval echo configure:7588: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7603 { (eval echo configure:7604: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 7588 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 7604 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 7589 if test -z "$ac_err"; then | 7605 if test -z "$ac_err"; then |
| 7590 rm -rf conftest* | 7606 rm -rf conftest* |
| 7591 eval "ac_cv_header_$ac_safe=yes" | 7607 eval "ac_cv_header_$ac_safe=yes" |
| 7592 else | 7608 else |
| 7599 rm -f conftest* | 7615 rm -f conftest* |
| 7600 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 7616 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
| 7601 echo "$ac_t""yes" 1>&6 | 7617 echo "$ac_t""yes" 1>&6 |
| 7602 | 7618 |
| 7603 echo $ac_n "checking for XmStringFree in -lXm""... $ac_c" 1>&6 | 7619 echo $ac_n "checking for XmStringFree in -lXm""... $ac_c" 1>&6 |
| 7604 echo "configure:7605: checking for XmStringFree in -lXm" >&5 | 7620 echo "configure:7621: checking for XmStringFree in -lXm" >&5 |
| 7605 ac_lib_var=`echo Xm'_'XmStringFree | sed 'y%./+-%__p_%'` | 7621 ac_lib_var=`echo Xm'_'XmStringFree | sed 'y%./+-%__p_%'` |
| 7606 | 7622 |
| 7607 xe_check_libs=" -lXm " | 7623 xe_check_libs=" -lXm " |
| 7608 cat > conftest.$ac_ext <<EOF | 7624 cat > conftest.$ac_ext <<EOF |
| 7609 #line 7610 "configure" | 7625 #line 7626 "configure" |
| 7610 #include "confdefs.h" | 7626 #include "confdefs.h" |
| 7611 /* Override any gcc2 internal prototype to avoid an error. */ | 7627 /* Override any gcc2 internal prototype to avoid an error. */ |
| 7612 /* We use char because int might match the return type of a gcc2 | 7628 /* We use char because int might match the return type of a gcc2 |
| 7613 builtin and then its argument prototype would still apply. */ | 7629 builtin and then its argument prototype would still apply. */ |
| 7614 char XmStringFree(); | 7630 char XmStringFree(); |
| 7615 | 7631 |
| 7616 int main() { | 7632 int main() { |
| 7617 XmStringFree() | 7633 XmStringFree() |
| 7618 ; return 0; } | 7634 ; return 0; } |
| 7619 EOF | 7635 EOF |
| 7620 if { (eval echo configure:7621: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7636 if { (eval echo configure:7637: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 7621 rm -rf conftest* | 7637 rm -rf conftest* |
| 7622 eval "ac_cv_lib_$ac_lib_var=yes" | 7638 eval "ac_cv_lib_$ac_lib_var=yes" |
| 7623 else | 7639 else |
| 7624 echo "configure: failed program was:" >&5 | 7640 echo "configure: failed program was:" >&5 |
| 7625 cat conftest.$ac_ext >&5 | 7641 cat conftest.$ac_ext >&5 |
| 7644 fi | 7660 fi |
| 7645 | 7661 |
| 7646 | 7662 |
| 7647 if test "$have_motif" = "yes"; then | 7663 if test "$have_motif" = "yes"; then |
| 7648 echo $ac_n "checking for Lesstif""... $ac_c" 1>&6 | 7664 echo $ac_n "checking for Lesstif""... $ac_c" 1>&6 |
| 7649 echo "configure:7650: checking for Lesstif" >&5 | 7665 echo "configure:7666: checking for Lesstif" >&5 |
| 7650 cat > conftest.$ac_ext <<EOF | 7666 cat > conftest.$ac_ext <<EOF |
| 7651 #line 7652 "configure" | 7667 #line 7668 "configure" |
| 7652 #include "confdefs.h" | 7668 #include "confdefs.h" |
| 7653 #include <Xm/Xm.h> | 7669 #include <Xm/Xm.h> |
| 7654 #ifdef LESSTIF_VERSION | 7670 #ifdef LESSTIF_VERSION |
| 7655 yes | 7671 yes |
| 7656 #endif | 7672 #endif |
| 7930 fi | 7946 fi |
| 7931 fi | 7947 fi |
| 7932 | 7948 |
| 7933 if test "$with_mule" = "yes" ; then | 7949 if test "$with_mule" = "yes" ; then |
| 7934 echo "checking for Mule-related features" 1>&6 | 7950 echo "checking for Mule-related features" 1>&6 |
| 7935 echo "configure:7936: checking for Mule-related features" >&5 | 7951 echo "configure:7952: checking for Mule-related features" >&5 |
| 7936 { test "$extra_verbose" = "yes" && cat << \EOF | 7952 { test "$extra_verbose" = "yes" && cat << \EOF |
| 7937 Defining MULE | 7953 Defining MULE |
| 7938 EOF | 7954 EOF |
| 7939 cat >> confdefs.h <<\EOF | 7955 cat >> confdefs.h <<\EOF |
| 7940 #define MULE 1 | 7956 #define MULE 1 |
| 7955 | 7971 |
| 7956 for ac_hdr in libintl.h | 7972 for ac_hdr in libintl.h |
| 7957 do | 7973 do |
| 7958 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 7974 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
| 7959 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 7975 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
| 7960 echo "configure:7961: checking for $ac_hdr" >&5 | 7976 echo "configure:7977: checking for $ac_hdr" >&5 |
| 7961 | 7977 |
| 7962 cat > conftest.$ac_ext <<EOF | 7978 cat > conftest.$ac_ext <<EOF |
| 7963 #line 7964 "configure" | 7979 #line 7980 "configure" |
| 7964 #include "confdefs.h" | 7980 #include "confdefs.h" |
| 7965 #include <$ac_hdr> | 7981 #include <$ac_hdr> |
| 7966 EOF | 7982 EOF |
| 7967 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7983 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 7968 { (eval echo configure:7969: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7984 { (eval echo configure:7985: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 7969 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 7985 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 7970 if test -z "$ac_err"; then | 7986 if test -z "$ac_err"; then |
| 7971 rm -rf conftest* | 7987 rm -rf conftest* |
| 7972 eval "ac_cv_header_$ac_safe=yes" | 7988 eval "ac_cv_header_$ac_safe=yes" |
| 7973 else | 7989 else |
| 7994 fi | 8010 fi |
| 7995 done | 8011 done |
| 7996 | 8012 |
| 7997 | 8013 |
| 7998 echo $ac_n "checking for strerror in -lintl""... $ac_c" 1>&6 | 8014 echo $ac_n "checking for strerror in -lintl""... $ac_c" 1>&6 |
| 7999 echo "configure:8000: checking for strerror in -lintl" >&5 | 8015 echo "configure:8016: checking for strerror in -lintl" >&5 |
| 8000 ac_lib_var=`echo intl'_'strerror | sed 'y%./+-%__p_%'` | 8016 ac_lib_var=`echo intl'_'strerror | sed 'y%./+-%__p_%'` |
| 8001 | 8017 |
| 8002 xe_check_libs=" -lintl " | 8018 xe_check_libs=" -lintl " |
| 8003 cat > conftest.$ac_ext <<EOF | 8019 cat > conftest.$ac_ext <<EOF |
| 8004 #line 8005 "configure" | 8020 #line 8021 "configure" |
| 8005 #include "confdefs.h" | 8021 #include "confdefs.h" |
| 8006 /* Override any gcc2 internal prototype to avoid an error. */ | 8022 /* Override any gcc2 internal prototype to avoid an error. */ |
| 8007 /* We use char because int might match the return type of a gcc2 | 8023 /* We use char because int might match the return type of a gcc2 |
| 8008 builtin and then its argument prototype would still apply. */ | 8024 builtin and then its argument prototype would still apply. */ |
| 8009 char strerror(); | 8025 char strerror(); |
| 8010 | 8026 |
| 8011 int main() { | 8027 int main() { |
| 8012 strerror() | 8028 strerror() |
| 8013 ; return 0; } | 8029 ; return 0; } |
| 8014 EOF | 8030 EOF |
| 8015 if { (eval echo configure:8016: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8031 if { (eval echo configure:8032: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 8016 rm -rf conftest* | 8032 rm -rf conftest* |
| 8017 eval "ac_cv_lib_$ac_lib_var=yes" | 8033 eval "ac_cv_lib_$ac_lib_var=yes" |
| 8018 else | 8034 else |
| 8019 echo "configure: failed program was:" >&5 | 8035 echo "configure: failed program was:" >&5 |
| 8020 cat conftest.$ac_ext >&5 | 8036 cat conftest.$ac_ext >&5 |
| 8043 fi | 8059 fi |
| 8044 | 8060 |
| 8045 | 8061 |
| 8046 | 8062 |
| 8047 echo "checking for Mule input methods" 1>&6 | 8063 echo "checking for Mule input methods" 1>&6 |
| 8048 echo "configure:8049: checking for Mule input methods" >&5 | 8064 echo "configure:8065: checking for Mule input methods" >&5 |
| 8049 case "$with_xim" in "" | "yes" ) | 8065 case "$with_xim" in "" | "yes" ) |
| 8050 echo "checking for XIM" 1>&6 | 8066 echo "checking for XIM" 1>&6 |
| 8051 echo "configure:8052: checking for XIM" >&5 | 8067 echo "configure:8068: checking for XIM" >&5 |
| 8052 | 8068 |
| 8053 echo $ac_n "checking for XOpenIM in -lX11""... $ac_c" 1>&6 | 8069 echo $ac_n "checking for XOpenIM in -lX11""... $ac_c" 1>&6 |
| 8054 echo "configure:8055: checking for XOpenIM in -lX11" >&5 | 8070 echo "configure:8071: checking for XOpenIM in -lX11" >&5 |
| 8055 ac_lib_var=`echo X11'_'XOpenIM | sed 'y%./+-%__p_%'` | 8071 ac_lib_var=`echo X11'_'XOpenIM | sed 'y%./+-%__p_%'` |
| 8056 | 8072 |
| 8057 xe_check_libs=" -lX11 " | 8073 xe_check_libs=" -lX11 " |
| 8058 cat > conftest.$ac_ext <<EOF | 8074 cat > conftest.$ac_ext <<EOF |
| 8059 #line 8060 "configure" | 8075 #line 8076 "configure" |
| 8060 #include "confdefs.h" | 8076 #include "confdefs.h" |
| 8061 /* Override any gcc2 internal prototype to avoid an error. */ | 8077 /* Override any gcc2 internal prototype to avoid an error. */ |
| 8062 /* We use char because int might match the return type of a gcc2 | 8078 /* We use char because int might match the return type of a gcc2 |
| 8063 builtin and then its argument prototype would still apply. */ | 8079 builtin and then its argument prototype would still apply. */ |
| 8064 char XOpenIM(); | 8080 char XOpenIM(); |
| 8065 | 8081 |
| 8066 int main() { | 8082 int main() { |
| 8067 XOpenIM() | 8083 XOpenIM() |
| 8068 ; return 0; } | 8084 ; return 0; } |
| 8069 EOF | 8085 EOF |
| 8070 if { (eval echo configure:8071: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8086 if { (eval echo configure:8087: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 8071 rm -rf conftest* | 8087 rm -rf conftest* |
| 8072 eval "ac_cv_lib_$ac_lib_var=yes" | 8088 eval "ac_cv_lib_$ac_lib_var=yes" |
| 8073 else | 8089 else |
| 8074 echo "configure: failed program was:" >&5 | 8090 echo "configure: failed program was:" >&5 |
| 8075 cat conftest.$ac_ext >&5 | 8091 cat conftest.$ac_ext >&5 |
| 8089 | 8105 |
| 8090 | 8106 |
| 8091 if test "$have_motif $have_lesstif" = "yes no"; then | 8107 if test "$have_motif $have_lesstif" = "yes no"; then |
| 8092 | 8108 |
| 8093 echo $ac_n "checking for XmImMbLookupString in -lXm""... $ac_c" 1>&6 | 8109 echo $ac_n "checking for XmImMbLookupString in -lXm""... $ac_c" 1>&6 |
| 8094 echo "configure:8095: checking for XmImMbLookupString in -lXm" >&5 | 8110 echo "configure:8111: checking for XmImMbLookupString in -lXm" >&5 |
| 8095 ac_lib_var=`echo Xm'_'XmImMbLookupString | sed 'y%./+-%__p_%'` | 8111 ac_lib_var=`echo Xm'_'XmImMbLookupString | sed 'y%./+-%__p_%'` |
| 8096 | 8112 |
| 8097 xe_check_libs=" -lXm " | 8113 xe_check_libs=" -lXm " |
| 8098 cat > conftest.$ac_ext <<EOF | 8114 cat > conftest.$ac_ext <<EOF |
| 8099 #line 8100 "configure" | 8115 #line 8116 "configure" |
| 8100 #include "confdefs.h" | 8116 #include "confdefs.h" |
| 8101 /* Override any gcc2 internal prototype to avoid an error. */ | 8117 /* Override any gcc2 internal prototype to avoid an error. */ |
| 8102 /* We use char because int might match the return type of a gcc2 | 8118 /* We use char because int might match the return type of a gcc2 |
| 8103 builtin and then its argument prototype would still apply. */ | 8119 builtin and then its argument prototype would still apply. */ |
| 8104 char XmImMbLookupString(); | 8120 char XmImMbLookupString(); |
| 8105 | 8121 |
| 8106 int main() { | 8122 int main() { |
| 8107 XmImMbLookupString() | 8123 XmImMbLookupString() |
| 8108 ; return 0; } | 8124 ; return 0; } |
| 8109 EOF | 8125 EOF |
| 8110 if { (eval echo configure:8111: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8126 if { (eval echo configure:8127: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 8111 rm -rf conftest* | 8127 rm -rf conftest* |
| 8112 eval "ac_cv_lib_$ac_lib_var=yes" | 8128 eval "ac_cv_lib_$ac_lib_var=yes" |
| 8113 else | 8129 else |
| 8114 echo "configure: failed program was:" >&5 | 8130 echo "configure: failed program was:" >&5 |
| 8115 cat conftest.$ac_ext >&5 | 8131 cat conftest.$ac_ext >&5 |
| 8170 fi | 8186 fi |
| 8171 fi | 8187 fi |
| 8172 | 8188 |
| 8173 if test "$with_xfs" = "yes" ; then | 8189 if test "$with_xfs" = "yes" ; then |
| 8174 echo "checking for XFontSet" 1>&6 | 8190 echo "checking for XFontSet" 1>&6 |
| 8175 echo "configure:8176: checking for XFontSet" >&5 | 8191 echo "configure:8192: checking for XFontSet" >&5 |
| 8176 | 8192 |
| 8177 echo $ac_n "checking for XmbDrawString in -lX11""... $ac_c" 1>&6 | 8193 echo $ac_n "checking for XmbDrawString in -lX11""... $ac_c" 1>&6 |
| 8178 echo "configure:8179: checking for XmbDrawString in -lX11" >&5 | 8194 echo "configure:8195: checking for XmbDrawString in -lX11" >&5 |
| 8179 ac_lib_var=`echo X11'_'XmbDrawString | sed 'y%./+-%__p_%'` | 8195 ac_lib_var=`echo X11'_'XmbDrawString | sed 'y%./+-%__p_%'` |
| 8180 | 8196 |
| 8181 xe_check_libs=" -lX11 " | 8197 xe_check_libs=" -lX11 " |
| 8182 cat > conftest.$ac_ext <<EOF | 8198 cat > conftest.$ac_ext <<EOF |
| 8183 #line 8184 "configure" | 8199 #line 8200 "configure" |
| 8184 #include "confdefs.h" | 8200 #include "confdefs.h" |
| 8185 /* Override any gcc2 internal prototype to avoid an error. */ | 8201 /* Override any gcc2 internal prototype to avoid an error. */ |
| 8186 /* We use char because int might match the return type of a gcc2 | 8202 /* We use char because int might match the return type of a gcc2 |
| 8187 builtin and then its argument prototype would still apply. */ | 8203 builtin and then its argument prototype would still apply. */ |
| 8188 char XmbDrawString(); | 8204 char XmbDrawString(); |
| 8189 | 8205 |
| 8190 int main() { | 8206 int main() { |
| 8191 XmbDrawString() | 8207 XmbDrawString() |
| 8192 ; return 0; } | 8208 ; return 0; } |
| 8193 EOF | 8209 EOF |
| 8194 if { (eval echo configure:8195: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8210 if { (eval echo configure:8211: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 8195 rm -rf conftest* | 8211 rm -rf conftest* |
| 8196 eval "ac_cv_lib_$ac_lib_var=yes" | 8212 eval "ac_cv_lib_$ac_lib_var=yes" |
| 8197 else | 8213 else |
| 8198 echo "configure: failed program was:" >&5 | 8214 echo "configure: failed program was:" >&5 |
| 8199 cat conftest.$ac_ext >&5 | 8215 cat conftest.$ac_ext >&5 |
| 8229 fi | 8245 fi |
| 8230 fi | 8246 fi |
| 8231 test "$with_wnn6" = "yes" && with_wnn=yes # wnn6 implies wnn support | 8247 test "$with_wnn6" = "yes" && with_wnn=yes # wnn6 implies wnn support |
| 8232 test -z "$with_wnn" && { ac_safe=`echo "wnn/jllib.h" | sed 'y%./+-%__p_%'` | 8248 test -z "$with_wnn" && { ac_safe=`echo "wnn/jllib.h" | sed 'y%./+-%__p_%'` |
| 8233 echo $ac_n "checking for wnn/jllib.h""... $ac_c" 1>&6 | 8249 echo $ac_n "checking for wnn/jllib.h""... $ac_c" 1>&6 |
| 8234 echo "configure:8235: checking for wnn/jllib.h" >&5 | 8250 echo "configure:8251: checking for wnn/jllib.h" >&5 |
| 8235 | 8251 |
| 8236 cat > conftest.$ac_ext <<EOF | 8252 cat > conftest.$ac_ext <<EOF |
| 8237 #line 8238 "configure" | 8253 #line 8254 "configure" |
| 8238 #include "confdefs.h" | 8254 #include "confdefs.h" |
| 8239 #include <wnn/jllib.h> | 8255 #include <wnn/jllib.h> |
| 8240 EOF | 8256 EOF |
| 8241 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8257 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 8242 { (eval echo configure:8243: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8258 { (eval echo configure:8259: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 8243 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 8259 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 8244 if test -z "$ac_err"; then | 8260 if test -z "$ac_err"; then |
| 8245 rm -rf conftest* | 8261 rm -rf conftest* |
| 8246 eval "ac_cv_header_$ac_safe=yes" | 8262 eval "ac_cv_header_$ac_safe=yes" |
| 8247 else | 8263 else |
| 8262 } | 8278 } |
| 8263 if test "$with_wnn" != "no"; then | 8279 if test "$with_wnn" != "no"; then |
| 8264 for ac_func in crypt | 8280 for ac_func in crypt |
| 8265 do | 8281 do |
| 8266 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 8282 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
| 8267 echo "configure:8268: checking for $ac_func" >&5 | 8283 echo "configure:8284: checking for $ac_func" >&5 |
| 8268 | 8284 |
| 8269 cat > conftest.$ac_ext <<EOF | 8285 cat > conftest.$ac_ext <<EOF |
| 8270 #line 8271 "configure" | 8286 #line 8287 "configure" |
| 8271 #include "confdefs.h" | 8287 #include "confdefs.h" |
| 8272 /* System header to define __stub macros and hopefully few prototypes, | 8288 /* System header to define __stub macros and hopefully few prototypes, |
| 8273 which can conflict with char $ac_func(); below. */ | 8289 which can conflict with char $ac_func(); below. */ |
| 8274 #include <assert.h> | 8290 #include <assert.h> |
| 8275 /* Override any gcc2 internal prototype to avoid an error. */ | 8291 /* Override any gcc2 internal prototype to avoid an error. */ |
| 8288 $ac_func(); | 8304 $ac_func(); |
| 8289 #endif | 8305 #endif |
| 8290 | 8306 |
| 8291 ; return 0; } | 8307 ; return 0; } |
| 8292 EOF | 8308 EOF |
| 8293 if { (eval echo configure:8294: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8309 if { (eval echo configure:8310: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 8294 rm -rf conftest* | 8310 rm -rf conftest* |
| 8295 eval "ac_cv_func_$ac_func=yes" | 8311 eval "ac_cv_func_$ac_func=yes" |
| 8296 else | 8312 else |
| 8297 echo "configure: failed program was:" >&5 | 8313 echo "configure: failed program was:" >&5 |
| 8298 cat conftest.$ac_ext >&5 | 8314 cat conftest.$ac_ext >&5 |
| 8317 fi | 8333 fi |
| 8318 done | 8334 done |
| 8319 | 8335 |
| 8320 test "$ac_cv_func_crypt" != "yes" && { | 8336 test "$ac_cv_func_crypt" != "yes" && { |
| 8321 echo $ac_n "checking for crypt in -lcrypt""... $ac_c" 1>&6 | 8337 echo $ac_n "checking for crypt in -lcrypt""... $ac_c" 1>&6 |
| 8322 echo "configure:8323: checking for crypt in -lcrypt" >&5 | 8338 echo "configure:8339: checking for crypt in -lcrypt" >&5 |
| 8323 ac_lib_var=`echo crypt'_'crypt | sed 'y%./+-%__p_%'` | 8339 ac_lib_var=`echo crypt'_'crypt | sed 'y%./+-%__p_%'` |
| 8324 | 8340 |
| 8325 xe_check_libs=" -lcrypt " | 8341 xe_check_libs=" -lcrypt " |
| 8326 cat > conftest.$ac_ext <<EOF | 8342 cat > conftest.$ac_ext <<EOF |
| 8327 #line 8328 "configure" | 8343 #line 8344 "configure" |
| 8328 #include "confdefs.h" | 8344 #include "confdefs.h" |
| 8329 /* Override any gcc2 internal prototype to avoid an error. */ | 8345 /* Override any gcc2 internal prototype to avoid an error. */ |
| 8330 /* We use char because int might match the return type of a gcc2 | 8346 /* We use char because int might match the return type of a gcc2 |
| 8331 builtin and then its argument prototype would still apply. */ | 8347 builtin and then its argument prototype would still apply. */ |
| 8332 char crypt(); | 8348 char crypt(); |
| 8333 | 8349 |
| 8334 int main() { | 8350 int main() { |
| 8335 crypt() | 8351 crypt() |
| 8336 ; return 0; } | 8352 ; return 0; } |
| 8337 EOF | 8353 EOF |
| 8338 if { (eval echo configure:8339: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8354 if { (eval echo configure:8355: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 8339 rm -rf conftest* | 8355 rm -rf conftest* |
| 8340 eval "ac_cv_lib_$ac_lib_var=yes" | 8356 eval "ac_cv_lib_$ac_lib_var=yes" |
| 8341 else | 8357 else |
| 8342 echo "configure: failed program was:" >&5 | 8358 echo "configure: failed program was:" >&5 |
| 8343 cat conftest.$ac_ext >&5 | 8359 cat conftest.$ac_ext >&5 |
| 8368 } | 8384 } |
| 8369 fi | 8385 fi |
| 8370 if test -z "$with_wnn" -o "$with_wnn" = "yes"; then | 8386 if test -z "$with_wnn" -o "$with_wnn" = "yes"; then |
| 8371 | 8387 |
| 8372 echo $ac_n "checking for jl_dic_list_e in -lwnn""... $ac_c" 1>&6 | 8388 echo $ac_n "checking for jl_dic_list_e in -lwnn""... $ac_c" 1>&6 |
| 8373 echo "configure:8374: checking for jl_dic_list_e in -lwnn" >&5 | 8389 echo "configure:8390: checking for jl_dic_list_e in -lwnn" >&5 |
| 8374 ac_lib_var=`echo wnn'_'jl_dic_list_e | sed 'y%./+-%__p_%'` | 8390 ac_lib_var=`echo wnn'_'jl_dic_list_e | sed 'y%./+-%__p_%'` |
| 8375 | 8391 |
| 8376 xe_check_libs=" -lwnn " | 8392 xe_check_libs=" -lwnn " |
| 8377 cat > conftest.$ac_ext <<EOF | 8393 cat > conftest.$ac_ext <<EOF |
| 8378 #line 8379 "configure" | 8394 #line 8395 "configure" |
| 8379 #include "confdefs.h" | 8395 #include "confdefs.h" |
| 8380 /* Override any gcc2 internal prototype to avoid an error. */ | 8396 /* Override any gcc2 internal prototype to avoid an error. */ |
| 8381 /* We use char because int might match the return type of a gcc2 | 8397 /* We use char because int might match the return type of a gcc2 |
| 8382 builtin and then its argument prototype would still apply. */ | 8398 builtin and then its argument prototype would still apply. */ |
| 8383 char jl_dic_list_e(); | 8399 char jl_dic_list_e(); |
| 8384 | 8400 |
| 8385 int main() { | 8401 int main() { |
| 8386 jl_dic_list_e() | 8402 jl_dic_list_e() |
| 8387 ; return 0; } | 8403 ; return 0; } |
| 8388 EOF | 8404 EOF |
| 8389 if { (eval echo configure:8390: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8405 if { (eval echo configure:8406: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 8390 rm -rf conftest* | 8406 rm -rf conftest* |
| 8391 eval "ac_cv_lib_$ac_lib_var=yes" | 8407 eval "ac_cv_lib_$ac_lib_var=yes" |
| 8392 else | 8408 else |
| 8393 echo "configure: failed program was:" >&5 | 8409 echo "configure: failed program was:" >&5 |
| 8394 cat conftest.$ac_ext >&5 | 8410 cat conftest.$ac_ext >&5 |
| 8402 echo "$ac_t""yes" 1>&6 | 8418 echo "$ac_t""yes" 1>&6 |
| 8403 libwnn=wnn | 8419 libwnn=wnn |
| 8404 else | 8420 else |
| 8405 echo "$ac_t""no" 1>&6 | 8421 echo "$ac_t""no" 1>&6 |
| 8406 echo $ac_n "checking for jl_dic_list_e in -lwnn4""... $ac_c" 1>&6 | 8422 echo $ac_n "checking for jl_dic_list_e in -lwnn4""... $ac_c" 1>&6 |
| 8407 echo "configure:8408: checking for jl_dic_list_e in -lwnn4" >&5 | 8423 echo "configure:8424: checking for jl_dic_list_e in -lwnn4" >&5 |
| 8408 ac_lib_var=`echo wnn4'_'jl_dic_list_e | sed 'y%./+-%__p_%'` | 8424 ac_lib_var=`echo wnn4'_'jl_dic_list_e | sed 'y%./+-%__p_%'` |
| 8409 | 8425 |
| 8410 xe_check_libs=" -lwnn4 " | 8426 xe_check_libs=" -lwnn4 " |
| 8411 cat > conftest.$ac_ext <<EOF | 8427 cat > conftest.$ac_ext <<EOF |
| 8412 #line 8413 "configure" | 8428 #line 8429 "configure" |
| 8413 #include "confdefs.h" | 8429 #include "confdefs.h" |
| 8414 /* Override any gcc2 internal prototype to avoid an error. */ | 8430 /* Override any gcc2 internal prototype to avoid an error. */ |
| 8415 /* We use char because int might match the return type of a gcc2 | 8431 /* We use char because int might match the return type of a gcc2 |
| 8416 builtin and then its argument prototype would still apply. */ | 8432 builtin and then its argument prototype would still apply. */ |
| 8417 char jl_dic_list_e(); | 8433 char jl_dic_list_e(); |
| 8418 | 8434 |
| 8419 int main() { | 8435 int main() { |
| 8420 jl_dic_list_e() | 8436 jl_dic_list_e() |
| 8421 ; return 0; } | 8437 ; return 0; } |
| 8422 EOF | 8438 EOF |
| 8423 if { (eval echo configure:8424: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8439 if { (eval echo configure:8440: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 8424 rm -rf conftest* | 8440 rm -rf conftest* |
| 8425 eval "ac_cv_lib_$ac_lib_var=yes" | 8441 eval "ac_cv_lib_$ac_lib_var=yes" |
| 8426 else | 8442 else |
| 8427 echo "configure: failed program was:" >&5 | 8443 echo "configure: failed program was:" >&5 |
| 8428 cat conftest.$ac_ext >&5 | 8444 cat conftest.$ac_ext >&5 |
| 8436 echo "$ac_t""yes" 1>&6 | 8452 echo "$ac_t""yes" 1>&6 |
| 8437 libwnn=wnn4 | 8453 libwnn=wnn4 |
| 8438 else | 8454 else |
| 8439 echo "$ac_t""no" 1>&6 | 8455 echo "$ac_t""no" 1>&6 |
| 8440 echo $ac_n "checking for jl_dic_list_e in -lwnn6""... $ac_c" 1>&6 | 8456 echo $ac_n "checking for jl_dic_list_e in -lwnn6""... $ac_c" 1>&6 |
| 8441 echo "configure:8442: checking for jl_dic_list_e in -lwnn6" >&5 | 8457 echo "configure:8458: checking for jl_dic_list_e in -lwnn6" >&5 |
| 8442 ac_lib_var=`echo wnn6'_'jl_dic_list_e | sed 'y%./+-%__p_%'` | 8458 ac_lib_var=`echo wnn6'_'jl_dic_list_e | sed 'y%./+-%__p_%'` |
| 8443 | 8459 |
| 8444 xe_check_libs=" -lwnn6 " | 8460 xe_check_libs=" -lwnn6 " |
| 8445 cat > conftest.$ac_ext <<EOF | 8461 cat > conftest.$ac_ext <<EOF |
| 8446 #line 8447 "configure" | 8462 #line 8463 "configure" |
| 8447 #include "confdefs.h" | 8463 #include "confdefs.h" |
| 8448 /* Override any gcc2 internal prototype to avoid an error. */ | 8464 /* Override any gcc2 internal prototype to avoid an error. */ |
| 8449 /* We use char because int might match the return type of a gcc2 | 8465 /* We use char because int might match the return type of a gcc2 |
| 8450 builtin and then its argument prototype would still apply. */ | 8466 builtin and then its argument prototype would still apply. */ |
| 8451 char jl_dic_list_e(); | 8467 char jl_dic_list_e(); |
| 8452 | 8468 |
| 8453 int main() { | 8469 int main() { |
| 8454 jl_dic_list_e() | 8470 jl_dic_list_e() |
| 8455 ; return 0; } | 8471 ; return 0; } |
| 8456 EOF | 8472 EOF |
| 8457 if { (eval echo configure:8458: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8473 if { (eval echo configure:8474: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 8458 rm -rf conftest* | 8474 rm -rf conftest* |
| 8459 eval "ac_cv_lib_$ac_lib_var=yes" | 8475 eval "ac_cv_lib_$ac_lib_var=yes" |
| 8460 else | 8476 else |
| 8461 echo "configure: failed program was:" >&5 | 8477 echo "configure: failed program was:" >&5 |
| 8462 cat conftest.$ac_ext >&5 | 8478 cat conftest.$ac_ext >&5 |
| 8470 echo "$ac_t""yes" 1>&6 | 8486 echo "$ac_t""yes" 1>&6 |
| 8471 libwnn=wnn6 | 8487 libwnn=wnn6 |
| 8472 else | 8488 else |
| 8473 echo "$ac_t""no" 1>&6 | 8489 echo "$ac_t""no" 1>&6 |
| 8474 echo $ac_n "checking for dic_list_e in -lwnn6_fromsrc""... $ac_c" 1>&6 | 8490 echo $ac_n "checking for dic_list_e in -lwnn6_fromsrc""... $ac_c" 1>&6 |
| 8475 echo "configure:8476: checking for dic_list_e in -lwnn6_fromsrc" >&5 | 8491 echo "configure:8492: checking for dic_list_e in -lwnn6_fromsrc" >&5 |
| 8476 ac_lib_var=`echo wnn6_fromsrc'_'dic_list_e | sed 'y%./+-%__p_%'` | 8492 ac_lib_var=`echo wnn6_fromsrc'_'dic_list_e | sed 'y%./+-%__p_%'` |
| 8477 | 8493 |
| 8478 xe_check_libs=" -lwnn6_fromsrc " | 8494 xe_check_libs=" -lwnn6_fromsrc " |
| 8479 cat > conftest.$ac_ext <<EOF | 8495 cat > conftest.$ac_ext <<EOF |
| 8480 #line 8481 "configure" | 8496 #line 8497 "configure" |
| 8481 #include "confdefs.h" | 8497 #include "confdefs.h" |
| 8482 /* Override any gcc2 internal prototype to avoid an error. */ | 8498 /* Override any gcc2 internal prototype to avoid an error. */ |
| 8483 /* We use char because int might match the return type of a gcc2 | 8499 /* We use char because int might match the return type of a gcc2 |
| 8484 builtin and then its argument prototype would still apply. */ | 8500 builtin and then its argument prototype would still apply. */ |
| 8485 char dic_list_e(); | 8501 char dic_list_e(); |
| 8486 | 8502 |
| 8487 int main() { | 8503 int main() { |
| 8488 dic_list_e() | 8504 dic_list_e() |
| 8489 ; return 0; } | 8505 ; return 0; } |
| 8490 EOF | 8506 EOF |
| 8491 if { (eval echo configure:8492: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8507 if { (eval echo configure:8508: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 8492 rm -rf conftest* | 8508 rm -rf conftest* |
| 8493 eval "ac_cv_lib_$ac_lib_var=yes" | 8509 eval "ac_cv_lib_$ac_lib_var=yes" |
| 8494 else | 8510 else |
| 8495 echo "configure: failed program was:" >&5 | 8511 echo "configure: failed program was:" >&5 |
| 8496 cat conftest.$ac_ext >&5 | 8512 cat conftest.$ac_ext >&5 |
| 8534 echo " xemacs will be linked with \"mule-wnnfns.o\"" | 8550 echo " xemacs will be linked with \"mule-wnnfns.o\"" |
| 8535 fi | 8551 fi |
| 8536 if test "$with_wnn6" != "no"; then | 8552 if test "$with_wnn6" != "no"; then |
| 8537 | 8553 |
| 8538 echo $ac_n "checking for jl_fi_dic_list in -l$libwnn""... $ac_c" 1>&6 | 8554 echo $ac_n "checking for jl_fi_dic_list in -l$libwnn""... $ac_c" 1>&6 |
| 8539 echo "configure:8540: checking for jl_fi_dic_list in -l$libwnn" >&5 | 8555 echo "configure:8556: checking for jl_fi_dic_list in -l$libwnn" >&5 |
| 8540 ac_lib_var=`echo $libwnn'_'jl_fi_dic_list | sed 'y%./+-%__p_%'` | 8556 ac_lib_var=`echo $libwnn'_'jl_fi_dic_list | sed 'y%./+-%__p_%'` |
| 8541 | 8557 |
| 8542 xe_check_libs=" -l$libwnn " | 8558 xe_check_libs=" -l$libwnn " |
| 8543 cat > conftest.$ac_ext <<EOF | 8559 cat > conftest.$ac_ext <<EOF |
| 8544 #line 8545 "configure" | 8560 #line 8561 "configure" |
| 8545 #include "confdefs.h" | 8561 #include "confdefs.h" |
| 8546 /* Override any gcc2 internal prototype to avoid an error. */ | 8562 /* Override any gcc2 internal prototype to avoid an error. */ |
| 8547 /* We use char because int might match the return type of a gcc2 | 8563 /* We use char because int might match the return type of a gcc2 |
| 8548 builtin and then its argument prototype would still apply. */ | 8564 builtin and then its argument prototype would still apply. */ |
| 8549 char jl_fi_dic_list(); | 8565 char jl_fi_dic_list(); |
| 8550 | 8566 |
| 8551 int main() { | 8567 int main() { |
| 8552 jl_fi_dic_list() | 8568 jl_fi_dic_list() |
| 8553 ; return 0; } | 8569 ; return 0; } |
| 8554 EOF | 8570 EOF |
| 8555 if { (eval echo configure:8556: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8571 if { (eval echo configure:8572: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 8556 rm -rf conftest* | 8572 rm -rf conftest* |
| 8557 eval "ac_cv_lib_$ac_lib_var=yes" | 8573 eval "ac_cv_lib_$ac_lib_var=yes" |
| 8558 else | 8574 else |
| 8559 echo "configure: failed program was:" >&5 | 8575 echo "configure: failed program was:" >&5 |
| 8560 cat conftest.$ac_ext >&5 | 8576 cat conftest.$ac_ext >&5 |
| 8585 | 8601 |
| 8586 canna_includes_found=no | 8602 canna_includes_found=no |
| 8587 if test "$with_canna" != "no"; then | 8603 if test "$with_canna" != "no"; then |
| 8588 ac_safe=`echo "canna/jrkanji.h" | sed 'y%./+-%__p_%'` | 8604 ac_safe=`echo "canna/jrkanji.h" | sed 'y%./+-%__p_%'` |
| 8589 echo $ac_n "checking for canna/jrkanji.h""... $ac_c" 1>&6 | 8605 echo $ac_n "checking for canna/jrkanji.h""... $ac_c" 1>&6 |
| 8590 echo "configure:8591: checking for canna/jrkanji.h" >&5 | 8606 echo "configure:8607: checking for canna/jrkanji.h" >&5 |
| 8591 | 8607 |
| 8592 cat > conftest.$ac_ext <<EOF | 8608 cat > conftest.$ac_ext <<EOF |
| 8593 #line 8594 "configure" | 8609 #line 8610 "configure" |
| 8594 #include "confdefs.h" | 8610 #include "confdefs.h" |
| 8595 #include <canna/jrkanji.h> | 8611 #include <canna/jrkanji.h> |
| 8596 EOF | 8612 EOF |
| 8597 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8613 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 8598 { (eval echo configure:8599: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8614 { (eval echo configure:8615: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 8599 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 8615 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 8600 if test -z "$ac_err"; then | 8616 if test -z "$ac_err"; then |
| 8601 rm -rf conftest* | 8617 rm -rf conftest* |
| 8602 eval "ac_cv_header_$ac_safe=yes" | 8618 eval "ac_cv_header_$ac_safe=yes" |
| 8603 else | 8619 else |
| 8620 -d "/usr/local/canna/include"; then | 8636 -d "/usr/local/canna/include"; then |
| 8621 save_c_switch_site="$c_switch_site" | 8637 save_c_switch_site="$c_switch_site" |
| 8622 c_switch_site="$c_switch_site -I/usr/local/canna/include" | 8638 c_switch_site="$c_switch_site -I/usr/local/canna/include" |
| 8623 ac_safe=`echo "canna/jrkanji.h" | sed 'y%./+-%__p_%'` | 8639 ac_safe=`echo "canna/jrkanji.h" | sed 'y%./+-%__p_%'` |
| 8624 echo $ac_n "checking for canna/jrkanji.h""... $ac_c" 1>&6 | 8640 echo $ac_n "checking for canna/jrkanji.h""... $ac_c" 1>&6 |
| 8625 echo "configure:8626: checking for canna/jrkanji.h" >&5 | 8641 echo "configure:8642: checking for canna/jrkanji.h" >&5 |
| 8626 | 8642 |
| 8627 cat > conftest.$ac_ext <<EOF | 8643 cat > conftest.$ac_ext <<EOF |
| 8628 #line 8629 "configure" | 8644 #line 8645 "configure" |
| 8629 #include "confdefs.h" | 8645 #include "confdefs.h" |
| 8630 #include <canna/jrkanji.h> | 8646 #include <canna/jrkanji.h> |
| 8631 EOF | 8647 EOF |
| 8632 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8648 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 8633 { (eval echo configure:8634: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8649 { (eval echo configure:8650: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 8634 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 8650 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 8635 if test -z "$ac_err"; then | 8651 if test -z "$ac_err"; then |
| 8636 rm -rf conftest* | 8652 rm -rf conftest* |
| 8637 eval "ac_cv_header_$ac_safe=yes" | 8653 eval "ac_cv_header_$ac_safe=yes" |
| 8638 else | 8654 else |
| 8656 fi | 8672 fi |
| 8657 fi | 8673 fi |
| 8658 | 8674 |
| 8659 test -z "$with_canna" && { ac_safe=`echo "canna/RK.h" | sed 'y%./+-%__p_%'` | 8675 test -z "$with_canna" && { ac_safe=`echo "canna/RK.h" | sed 'y%./+-%__p_%'` |
| 8660 echo $ac_n "checking for canna/RK.h""... $ac_c" 1>&6 | 8676 echo $ac_n "checking for canna/RK.h""... $ac_c" 1>&6 |
| 8661 echo "configure:8662: checking for canna/RK.h" >&5 | 8677 echo "configure:8678: checking for canna/RK.h" >&5 |
| 8662 | 8678 |
| 8663 cat > conftest.$ac_ext <<EOF | 8679 cat > conftest.$ac_ext <<EOF |
| 8664 #line 8665 "configure" | 8680 #line 8681 "configure" |
| 8665 #include "confdefs.h" | 8681 #include "confdefs.h" |
| 8666 #include <canna/RK.h> | 8682 #include <canna/RK.h> |
| 8667 EOF | 8683 EOF |
| 8668 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8684 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 8669 { (eval echo configure:8670: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8685 { (eval echo configure:8686: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 8670 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 8686 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 8671 if test -z "$ac_err"; then | 8687 if test -z "$ac_err"; then |
| 8672 rm -rf conftest* | 8688 rm -rf conftest* |
| 8673 eval "ac_cv_header_$ac_safe=yes" | 8689 eval "ac_cv_header_$ac_safe=yes" |
| 8674 else | 8690 else |
| 8687 with_canna=no | 8703 with_canna=no |
| 8688 fi | 8704 fi |
| 8689 } | 8705 } |
| 8690 test -z "$with_canna" && { | 8706 test -z "$with_canna" && { |
| 8691 echo $ac_n "checking for RkBgnBun in -lRKC""... $ac_c" 1>&6 | 8707 echo $ac_n "checking for RkBgnBun in -lRKC""... $ac_c" 1>&6 |
| 8692 echo "configure:8693: checking for RkBgnBun in -lRKC" >&5 | 8708 echo "configure:8709: checking for RkBgnBun in -lRKC" >&5 |
| 8693 ac_lib_var=`echo RKC'_'RkBgnBun | sed 'y%./+-%__p_%'` | 8709 ac_lib_var=`echo RKC'_'RkBgnBun | sed 'y%./+-%__p_%'` |
| 8694 | 8710 |
| 8695 xe_check_libs=" -lRKC " | 8711 xe_check_libs=" -lRKC " |
| 8696 cat > conftest.$ac_ext <<EOF | 8712 cat > conftest.$ac_ext <<EOF |
| 8697 #line 8698 "configure" | 8713 #line 8714 "configure" |
| 8698 #include "confdefs.h" | 8714 #include "confdefs.h" |
| 8699 /* Override any gcc2 internal prototype to avoid an error. */ | 8715 /* Override any gcc2 internal prototype to avoid an error. */ |
| 8700 /* We use char because int might match the return type of a gcc2 | 8716 /* We use char because int might match the return type of a gcc2 |
| 8701 builtin and then its argument prototype would still apply. */ | 8717 builtin and then its argument prototype would still apply. */ |
| 8702 char RkBgnBun(); | 8718 char RkBgnBun(); |
| 8703 | 8719 |
| 8704 int main() { | 8720 int main() { |
| 8705 RkBgnBun() | 8721 RkBgnBun() |
| 8706 ; return 0; } | 8722 ; return 0; } |
| 8707 EOF | 8723 EOF |
| 8708 if { (eval echo configure:8709: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8724 if { (eval echo configure:8725: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 8709 rm -rf conftest* | 8725 rm -rf conftest* |
| 8710 eval "ac_cv_lib_$ac_lib_var=yes" | 8726 eval "ac_cv_lib_$ac_lib_var=yes" |
| 8711 else | 8727 else |
| 8712 echo "configure: failed program was:" >&5 | 8728 echo "configure: failed program was:" >&5 |
| 8713 cat conftest.$ac_ext >&5 | 8729 cat conftest.$ac_ext >&5 |
| 8726 fi | 8742 fi |
| 8727 | 8743 |
| 8728 } | 8744 } |
| 8729 test -z "$with_canna" && { | 8745 test -z "$with_canna" && { |
| 8730 echo $ac_n "checking for jrKanjiControl in -lcanna""... $ac_c" 1>&6 | 8746 echo $ac_n "checking for jrKanjiControl in -lcanna""... $ac_c" 1>&6 |
| 8731 echo "configure:8732: checking for jrKanjiControl in -lcanna" >&5 | 8747 echo "configure:8748: checking for jrKanjiControl in -lcanna" >&5 |
| 8732 ac_lib_var=`echo canna'_'jrKanjiControl | sed 'y%./+-%__p_%'` | 8748 ac_lib_var=`echo canna'_'jrKanjiControl | sed 'y%./+-%__p_%'` |
| 8733 | 8749 |
| 8734 xe_check_libs=" -lcanna " | 8750 xe_check_libs=" -lcanna " |
| 8735 cat > conftest.$ac_ext <<EOF | 8751 cat > conftest.$ac_ext <<EOF |
| 8736 #line 8737 "configure" | 8752 #line 8753 "configure" |
| 8737 #include "confdefs.h" | 8753 #include "confdefs.h" |
| 8738 /* Override any gcc2 internal prototype to avoid an error. */ | 8754 /* Override any gcc2 internal prototype to avoid an error. */ |
| 8739 /* We use char because int might match the return type of a gcc2 | 8755 /* We use char because int might match the return type of a gcc2 |
| 8740 builtin and then its argument prototype would still apply. */ | 8756 builtin and then its argument prototype would still apply. */ |
| 8741 char jrKanjiControl(); | 8757 char jrKanjiControl(); |
| 8742 | 8758 |
| 8743 int main() { | 8759 int main() { |
| 8744 jrKanjiControl() | 8760 jrKanjiControl() |
| 8745 ; return 0; } | 8761 ; return 0; } |
| 8746 EOF | 8762 EOF |
| 8747 if { (eval echo configure:8748: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8763 if { (eval echo configure:8764: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 8748 rm -rf conftest* | 8764 rm -rf conftest* |
| 8749 eval "ac_cv_lib_$ac_lib_var=yes" | 8765 eval "ac_cv_lib_$ac_lib_var=yes" |
| 8750 else | 8766 else |
| 8751 echo "configure: failed program was:" >&5 | 8767 echo "configure: failed program was:" >&5 |
| 8752 cat conftest.$ac_ext >&5 | 8768 cat conftest.$ac_ext >&5 |
| 8791 | 8807 |
| 8792 if test "$need_motif" = "yes" ; then | 8808 if test "$need_motif" = "yes" ; then |
| 8793 libs_x="-lXm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXm\" to \$libs_x"; fi | 8809 libs_x="-lXm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXm\" to \$libs_x"; fi |
| 8794 | 8810 |
| 8795 echo $ac_n "checking for layout_object_getvalue in -li18n""... $ac_c" 1>&6 | 8811 echo $ac_n "checking for layout_object_getvalue in -li18n""... $ac_c" 1>&6 |
| 8796 echo "configure:8797: checking for layout_object_getvalue in -li18n" >&5 | 8812 echo "configure:8813: checking for layout_object_getvalue in -li18n" >&5 |
| 8797 ac_lib_var=`echo i18n'_'layout_object_getvalue | sed 'y%./+-%__p_%'` | 8813 ac_lib_var=`echo i18n'_'layout_object_getvalue | sed 'y%./+-%__p_%'` |
| 8798 | 8814 |
| 8799 xe_check_libs=" -li18n " | 8815 xe_check_libs=" -li18n " |
| 8800 cat > conftest.$ac_ext <<EOF | 8816 cat > conftest.$ac_ext <<EOF |
| 8801 #line 8802 "configure" | 8817 #line 8818 "configure" |
| 8802 #include "confdefs.h" | 8818 #include "confdefs.h" |
| 8803 /* Override any gcc2 internal prototype to avoid an error. */ | 8819 /* Override any gcc2 internal prototype to avoid an error. */ |
| 8804 /* We use char because int might match the return type of a gcc2 | 8820 /* We use char because int might match the return type of a gcc2 |
| 8805 builtin and then its argument prototype would still apply. */ | 8821 builtin and then its argument prototype would still apply. */ |
| 8806 char layout_object_getvalue(); | 8822 char layout_object_getvalue(); |
| 8807 | 8823 |
| 8808 int main() { | 8824 int main() { |
| 8809 layout_object_getvalue() | 8825 layout_object_getvalue() |
| 8810 ; return 0; } | 8826 ; return 0; } |
| 8811 EOF | 8827 EOF |
| 8812 if { (eval echo configure:8813: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8828 if { (eval echo configure:8829: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 8813 rm -rf conftest* | 8829 rm -rf conftest* |
| 8814 eval "ac_cv_lib_$ac_lib_var=yes" | 8830 eval "ac_cv_lib_$ac_lib_var=yes" |
| 8815 else | 8831 else |
| 8816 echo "configure: failed program was:" >&5 | 8832 echo "configure: failed program was:" >&5 |
| 8817 cat conftest.$ac_ext >&5 | 8833 cat conftest.$ac_ext >&5 |
| 8893 fi | 8909 fi |
| 8894 | 8910 |
| 8895 for ac_func in cbrt closedir dup2 eaccess fmod fpathconf frexp ftime gethostname 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 strcasecmp strerror tzset ulimit usleep utimes waitpid vsnprintf | 8911 for ac_func in cbrt closedir dup2 eaccess fmod fpathconf frexp ftime gethostname 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 strcasecmp strerror tzset ulimit usleep utimes waitpid vsnprintf |
| 8896 do | 8912 do |
| 8897 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 8913 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
| 8898 echo "configure:8899: checking for $ac_func" >&5 | 8914 echo "configure:8915: checking for $ac_func" >&5 |
| 8899 | 8915 |
| 8900 cat > conftest.$ac_ext <<EOF | 8916 cat > conftest.$ac_ext <<EOF |
| 8901 #line 8902 "configure" | 8917 #line 8918 "configure" |
| 8902 #include "confdefs.h" | 8918 #include "confdefs.h" |
| 8903 /* System header to define __stub macros and hopefully few prototypes, | 8919 /* System header to define __stub macros and hopefully few prototypes, |
| 8904 which can conflict with char $ac_func(); below. */ | 8920 which can conflict with char $ac_func(); below. */ |
| 8905 #include <assert.h> | 8921 #include <assert.h> |
| 8906 /* Override any gcc2 internal prototype to avoid an error. */ | 8922 /* Override any gcc2 internal prototype to avoid an error. */ |
| 8919 $ac_func(); | 8935 $ac_func(); |
| 8920 #endif | 8936 #endif |
| 8921 | 8937 |
| 8922 ; return 0; } | 8938 ; return 0; } |
| 8923 EOF | 8939 EOF |
| 8924 if { (eval echo configure:8925: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8940 if { (eval echo configure:8941: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 8925 rm -rf conftest* | 8941 rm -rf conftest* |
| 8926 eval "ac_cv_func_$ac_func=yes" | 8942 eval "ac_cv_func_$ac_func=yes" |
| 8927 else | 8943 else |
| 8928 echo "configure: failed program was:" >&5 | 8944 echo "configure: failed program was:" >&5 |
| 8929 cat conftest.$ac_ext >&5 | 8945 cat conftest.$ac_ext >&5 |
| 8960 echo " xemacs will be linked with \"realpath.o\"" | 8976 echo " xemacs will be linked with \"realpath.o\"" |
| 8961 fi ;; | 8977 fi ;; |
| 8962 * ) for ac_func in realpath | 8978 * ) for ac_func in realpath |
| 8963 do | 8979 do |
| 8964 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 8980 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
| 8965 echo "configure:8966: checking for $ac_func" >&5 | 8981 echo "configure:8982: checking for $ac_func" >&5 |
| 8966 | 8982 |
| 8967 cat > conftest.$ac_ext <<EOF | 8983 cat > conftest.$ac_ext <<EOF |
| 8968 #line 8969 "configure" | 8984 #line 8985 "configure" |
| 8969 #include "confdefs.h" | 8985 #include "confdefs.h" |
| 8970 /* System header to define __stub macros and hopefully few prototypes, | 8986 /* System header to define __stub macros and hopefully few prototypes, |
| 8971 which can conflict with char $ac_func(); below. */ | 8987 which can conflict with char $ac_func(); below. */ |
| 8972 #include <assert.h> | 8988 #include <assert.h> |
| 8973 /* Override any gcc2 internal prototype to avoid an error. */ | 8989 /* Override any gcc2 internal prototype to avoid an error. */ |
| 8986 $ac_func(); | 9002 $ac_func(); |
| 8987 #endif | 9003 #endif |
| 8988 | 9004 |
| 8989 ; return 0; } | 9005 ; return 0; } |
| 8990 EOF | 9006 EOF |
| 8991 if { (eval echo configure:8992: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9007 if { (eval echo configure:9008: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 8992 rm -rf conftest* | 9008 rm -rf conftest* |
| 8993 eval "ac_cv_func_$ac_func=yes" | 9009 eval "ac_cv_func_$ac_func=yes" |
| 8994 else | 9010 else |
| 8995 echo "configure: failed program was:" >&5 | 9011 echo "configure: failed program was:" >&5 |
| 8996 cat conftest.$ac_ext >&5 | 9012 cat conftest.$ac_ext >&5 |
| 9020 fi ;; | 9036 fi ;; |
| 9021 esac ;; | 9037 esac ;; |
| 9022 esac | 9038 esac |
| 9023 | 9039 |
| 9024 echo $ac_n "checking whether netdb declares h_errno""... $ac_c" 1>&6 | 9040 echo $ac_n "checking whether netdb declares h_errno""... $ac_c" 1>&6 |
| 9025 echo "configure:9026: checking whether netdb declares h_errno" >&5 | 9041 echo "configure:9042: checking whether netdb declares h_errno" >&5 |
| 9026 cat > conftest.$ac_ext <<EOF | 9042 cat > conftest.$ac_ext <<EOF |
| 9027 #line 9028 "configure" | 9043 #line 9044 "configure" |
| 9028 #include "confdefs.h" | 9044 #include "confdefs.h" |
| 9029 #include <netdb.h> | 9045 #include <netdb.h> |
| 9030 int main() { | 9046 int main() { |
| 9031 return h_errno; | 9047 return h_errno; |
| 9032 ; return 0; } | 9048 ; return 0; } |
| 9033 EOF | 9049 EOF |
| 9034 if { (eval echo configure:9035: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9050 if { (eval echo configure:9051: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 9035 rm -rf conftest* | 9051 rm -rf conftest* |
| 9036 echo "$ac_t""yes" 1>&6 | 9052 echo "$ac_t""yes" 1>&6 |
| 9037 { test "$extra_verbose" = "yes" && cat << \EOF | 9053 { test "$extra_verbose" = "yes" && cat << \EOF |
| 9038 Defining HAVE_H_ERRNO | 9054 Defining HAVE_H_ERRNO |
| 9039 EOF | 9055 EOF |
| 9049 echo "$ac_t""no" 1>&6 | 9065 echo "$ac_t""no" 1>&6 |
| 9050 fi | 9066 fi |
| 9051 rm -f conftest* | 9067 rm -f conftest* |
| 9052 | 9068 |
| 9053 echo $ac_n "checking for sigsetjmp""... $ac_c" 1>&6 | 9069 echo $ac_n "checking for sigsetjmp""... $ac_c" 1>&6 |
| 9054 echo "configure:9055: checking for sigsetjmp" >&5 | 9070 echo "configure:9071: checking for sigsetjmp" >&5 |
| 9055 cat > conftest.$ac_ext <<EOF | 9071 cat > conftest.$ac_ext <<EOF |
| 9056 #line 9057 "configure" | 9072 #line 9073 "configure" |
| 9057 #include "confdefs.h" | 9073 #include "confdefs.h" |
| 9058 #include <setjmp.h> | 9074 #include <setjmp.h> |
| 9059 int main() { | 9075 int main() { |
| 9060 sigjmp_buf bar; sigsetjmp (bar, 0); | 9076 sigjmp_buf bar; sigsetjmp (bar, 0); |
| 9061 ; return 0; } | 9077 ; return 0; } |
| 9062 EOF | 9078 EOF |
| 9063 if { (eval echo configure:9064: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 9079 if { (eval echo configure:9080: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| 9064 rm -rf conftest* | 9080 rm -rf conftest* |
| 9065 echo "$ac_t""yes" 1>&6 | 9081 echo "$ac_t""yes" 1>&6 |
| 9066 { test "$extra_verbose" = "yes" && cat << \EOF | 9082 { test "$extra_verbose" = "yes" && cat << \EOF |
| 9067 Defining HAVE_SIGSETJMP | 9083 Defining HAVE_SIGSETJMP |
| 9068 EOF | 9084 EOF |
| 9078 echo "$ac_t""no" 1>&6 | 9094 echo "$ac_t""no" 1>&6 |
| 9079 fi | 9095 fi |
| 9080 rm -f conftest* | 9096 rm -f conftest* |
| 9081 | 9097 |
| 9082 echo $ac_n "checking whether localtime caches TZ""... $ac_c" 1>&6 | 9098 echo $ac_n "checking whether localtime caches TZ""... $ac_c" 1>&6 |
| 9083 echo "configure:9084: checking whether localtime caches TZ" >&5 | 9099 echo "configure:9100: checking whether localtime caches TZ" >&5 |
| 9084 | 9100 |
| 9085 if test "$ac_cv_func_tzset" = "yes"; then | 9101 if test "$ac_cv_func_tzset" = "yes"; then |
| 9086 cat > conftest.$ac_ext <<EOF | 9102 cat > conftest.$ac_ext <<EOF |
| 9087 #line 9088 "configure" | 9103 #line 9104 "configure" |
| 9088 #include "confdefs.h" | 9104 #include "confdefs.h" |
| 9089 #include <time.h> | 9105 #include <time.h> |
| 9090 #if STDC_HEADERS | 9106 #if STDC_HEADERS |
| 9091 # include <stdlib.h> | 9107 # include <stdlib.h> |
| 9092 #endif | 9108 #endif |
| 9117 if (localtime (&now)->tm_hour != hour_unset) | 9133 if (localtime (&now)->tm_hour != hour_unset) |
| 9118 exit (1); | 9134 exit (1); |
| 9119 exit (0); | 9135 exit (0); |
| 9120 } | 9136 } |
| 9121 EOF | 9137 EOF |
| 9122 if { (eval echo configure:9123: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 9138 if { (eval echo configure:9139: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
| 9123 then | 9139 then |
| 9124 emacs_cv_localtime_cache=no | 9140 emacs_cv_localtime_cache=no |
| 9125 else | 9141 else |
| 9126 conftest_rc="$?" | 9142 conftest_rc="$?" |
| 9127 echo "configure: failed program was:" >&5 | 9143 echo "configure: failed program was:" >&5 |
| 9147 | 9163 |
| 9148 fi | 9164 fi |
| 9149 | 9165 |
| 9150 if test "$HAVE_TIMEVAL" = "yes"; then | 9166 if test "$HAVE_TIMEVAL" = "yes"; then |
| 9151 echo $ac_n "checking whether gettimeofday accepts one or two arguments""... $ac_c" 1>&6 | 9167 echo $ac_n "checking whether gettimeofday accepts one or two arguments""... $ac_c" 1>&6 |
| 9152 echo "configure:9153: checking whether gettimeofday accepts one or two arguments" >&5 | 9168 echo "configure:9169: checking whether gettimeofday accepts one or two arguments" >&5 |
| 9153 cat > conftest.$ac_ext <<EOF | 9169 cat > conftest.$ac_ext <<EOF |
| 9154 #line 9155 "configure" | 9170 #line 9171 "configure" |
| 9155 #include "confdefs.h" | 9171 #include "confdefs.h" |
| 9156 | 9172 |
| 9157 #ifdef TIME_WITH_SYS_TIME | 9173 #ifdef TIME_WITH_SYS_TIME |
| 9158 #include <sys/time.h> | 9174 #include <sys/time.h> |
| 9159 #include <time.h> | 9175 #include <time.h> |
| 9171 struct timezone dummy; | 9187 struct timezone dummy; |
| 9172 gettimeofday (&time, &dummy); | 9188 gettimeofday (&time, &dummy); |
| 9173 | 9189 |
| 9174 ; return 0; } | 9190 ; return 0; } |
| 9175 EOF | 9191 EOF |
| 9176 if { (eval echo configure:9177: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9192 if { (eval echo configure:9193: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 9177 rm -rf conftest* | 9193 rm -rf conftest* |
| 9178 echo "$ac_t""two" 1>&6 | 9194 echo "$ac_t""two" 1>&6 |
| 9179 else | 9195 else |
| 9180 echo "configure: failed program was:" >&5 | 9196 echo "configure: failed program was:" >&5 |
| 9181 cat conftest.$ac_ext >&5 | 9197 cat conftest.$ac_ext >&5 |
| 9193 rm -f conftest* | 9209 rm -f conftest* |
| 9194 fi | 9210 fi |
| 9195 | 9211 |
| 9196 | 9212 |
| 9197 echo $ac_n "checking for inline""... $ac_c" 1>&6 | 9213 echo $ac_n "checking for inline""... $ac_c" 1>&6 |
| 9198 echo "configure:9199: checking for inline" >&5 | 9214 echo "configure:9215: checking for inline" >&5 |
| 9199 | 9215 |
| 9200 ac_cv_c_inline=no | 9216 ac_cv_c_inline=no |
| 9201 for ac_kw in inline __inline__ __inline; do | 9217 for ac_kw in inline __inline__ __inline; do |
| 9202 cat > conftest.$ac_ext <<EOF | 9218 cat > conftest.$ac_ext <<EOF |
| 9203 #line 9204 "configure" | 9219 #line 9220 "configure" |
| 9204 #include "confdefs.h" | 9220 #include "confdefs.h" |
| 9205 | 9221 |
| 9206 int main() { | 9222 int main() { |
| 9207 } $ac_kw foo() { | 9223 } $ac_kw foo() { |
| 9208 ; return 0; } | 9224 ; return 0; } |
| 9209 EOF | 9225 EOF |
| 9210 if { (eval echo configure:9211: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 9226 if { (eval echo configure:9227: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| 9211 rm -rf conftest* | 9227 rm -rf conftest* |
| 9212 ac_cv_c_inline=$ac_kw; break | 9228 ac_cv_c_inline=$ac_kw; break |
| 9213 else | 9229 else |
| 9214 echo "configure: failed program was:" >&5 | 9230 echo "configure: failed program was:" >&5 |
| 9215 cat conftest.$ac_ext >&5 | 9231 cat conftest.$ac_ext >&5 |
| 9255 | 9271 |
| 9256 | 9272 |
| 9257 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works | 9273 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works |
| 9258 # for constant arguments. Useless! | 9274 # for constant arguments. Useless! |
| 9259 echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6 | 9275 echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6 |
| 9260 echo "configure:9261: checking for working alloca.h" >&5 | 9276 echo "configure:9277: checking for working alloca.h" >&5 |
| 9261 | 9277 |
| 9262 cat > conftest.$ac_ext <<EOF | 9278 cat > conftest.$ac_ext <<EOF |
| 9263 #line 9264 "configure" | 9279 #line 9280 "configure" |
| 9264 #include "confdefs.h" | 9280 #include "confdefs.h" |
| 9265 #include <alloca.h> | 9281 #include <alloca.h> |
| 9266 int main() { | 9282 int main() { |
| 9267 char *p = alloca(2 * sizeof(int)); | 9283 char *p = alloca(2 * sizeof(int)); |
| 9268 ; return 0; } | 9284 ; return 0; } |
| 9269 EOF | 9285 EOF |
| 9270 if { (eval echo configure:9271: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9286 if { (eval echo configure:9287: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 9271 rm -rf conftest* | 9287 rm -rf conftest* |
| 9272 ac_cv_header_alloca_h=yes | 9288 ac_cv_header_alloca_h=yes |
| 9273 else | 9289 else |
| 9274 echo "configure: failed program was:" >&5 | 9290 echo "configure: failed program was:" >&5 |
| 9275 cat conftest.$ac_ext >&5 | 9291 cat conftest.$ac_ext >&5 |
| 9289 } | 9305 } |
| 9290 | 9306 |
| 9291 fi | 9307 fi |
| 9292 | 9308 |
| 9293 echo $ac_n "checking for alloca""... $ac_c" 1>&6 | 9309 echo $ac_n "checking for alloca""... $ac_c" 1>&6 |
| 9294 echo "configure:9295: checking for alloca" >&5 | 9310 echo "configure:9311: checking for alloca" >&5 |
| 9295 | 9311 |
| 9296 cat > conftest.$ac_ext <<EOF | 9312 cat > conftest.$ac_ext <<EOF |
| 9297 #line 9298 "configure" | 9313 #line 9314 "configure" |
| 9298 #include "confdefs.h" | 9314 #include "confdefs.h" |
| 9299 | 9315 |
| 9300 #ifdef __GNUC__ | 9316 #ifdef __GNUC__ |
| 9301 # define alloca __builtin_alloca | 9317 # define alloca __builtin_alloca |
| 9302 #else | 9318 #else |
| 9320 | 9336 |
| 9321 int main() { | 9337 int main() { |
| 9322 char *p = (char *) alloca(1); | 9338 char *p = (char *) alloca(1); |
| 9323 ; return 0; } | 9339 ; return 0; } |
| 9324 EOF | 9340 EOF |
| 9325 if { (eval echo configure:9326: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9341 if { (eval echo configure:9342: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 9326 rm -rf conftest* | 9342 rm -rf conftest* |
| 9327 ac_cv_func_alloca_works=yes | 9343 ac_cv_func_alloca_works=yes |
| 9328 else | 9344 else |
| 9329 echo "configure: failed program was:" >&5 | 9345 echo "configure: failed program was:" >&5 |
| 9330 cat conftest.$ac_ext >&5 | 9346 cat conftest.$ac_ext >&5 |
| 9359 EOF | 9375 EOF |
| 9360 } | 9376 } |
| 9361 | 9377 |
| 9362 | 9378 |
| 9363 echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6 | 9379 echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6 |
| 9364 echo "configure:9365: checking whether alloca needs Cray hooks" >&5 | 9380 echo "configure:9381: checking whether alloca needs Cray hooks" >&5 |
| 9365 | 9381 |
| 9366 cat > conftest.$ac_ext <<EOF | 9382 cat > conftest.$ac_ext <<EOF |
| 9367 #line 9368 "configure" | 9383 #line 9384 "configure" |
| 9368 #include "confdefs.h" | 9384 #include "confdefs.h" |
| 9369 #if defined(CRAY) && ! defined(CRAY2) | 9385 #if defined(CRAY) && ! defined(CRAY2) |
| 9370 webecray | 9386 webecray |
| 9371 #else | 9387 #else |
| 9372 wenotbecray | 9388 wenotbecray |
| 9386 | 9402 |
| 9387 echo "$ac_t""$ac_cv_os_cray" 1>&6 | 9403 echo "$ac_t""$ac_cv_os_cray" 1>&6 |
| 9388 if test $ac_cv_os_cray = yes; then | 9404 if test $ac_cv_os_cray = yes; then |
| 9389 for ac_func in _getb67 GETB67 getb67; do | 9405 for ac_func in _getb67 GETB67 getb67; do |
| 9390 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 9406 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
| 9391 echo "configure:9392: checking for $ac_func" >&5 | 9407 echo "configure:9408: checking for $ac_func" >&5 |
| 9392 | 9408 |
| 9393 cat > conftest.$ac_ext <<EOF | 9409 cat > conftest.$ac_ext <<EOF |
| 9394 #line 9395 "configure" | 9410 #line 9411 "configure" |
| 9395 #include "confdefs.h" | 9411 #include "confdefs.h" |
| 9396 /* System header to define __stub macros and hopefully few prototypes, | 9412 /* System header to define __stub macros and hopefully few prototypes, |
| 9397 which can conflict with char $ac_func(); below. */ | 9413 which can conflict with char $ac_func(); below. */ |
| 9398 #include <assert.h> | 9414 #include <assert.h> |
| 9399 /* Override any gcc2 internal prototype to avoid an error. */ | 9415 /* Override any gcc2 internal prototype to avoid an error. */ |
| 9412 $ac_func(); | 9428 $ac_func(); |
| 9413 #endif | 9429 #endif |
| 9414 | 9430 |
| 9415 ; return 0; } | 9431 ; return 0; } |
| 9416 EOF | 9432 EOF |
| 9417 if { (eval echo configure:9418: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9433 if { (eval echo configure:9434: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 9418 rm -rf conftest* | 9434 rm -rf conftest* |
| 9419 eval "ac_cv_func_$ac_func=yes" | 9435 eval "ac_cv_func_$ac_func=yes" |
| 9420 else | 9436 else |
| 9421 echo "configure: failed program was:" >&5 | 9437 echo "configure: failed program was:" >&5 |
| 9422 cat conftest.$ac_ext >&5 | 9438 cat conftest.$ac_ext >&5 |
| 9442 | 9458 |
| 9443 done | 9459 done |
| 9444 fi | 9460 fi |
| 9445 | 9461 |
| 9446 echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6 | 9462 echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6 |
| 9447 echo "configure:9448: checking stack direction for C alloca" >&5 | 9463 echo "configure:9464: checking stack direction for C alloca" >&5 |
| 9448 | 9464 |
| 9449 cat > conftest.$ac_ext <<EOF | 9465 cat > conftest.$ac_ext <<EOF |
| 9450 #line 9451 "configure" | 9466 #line 9467 "configure" |
| 9451 #include "confdefs.h" | 9467 #include "confdefs.h" |
| 9452 find_stack_direction () | 9468 find_stack_direction () |
| 9453 { | 9469 { |
| 9454 static char *addr = 0; | 9470 static char *addr = 0; |
| 9455 auto char dummy; | 9471 auto char dummy; |
| 9464 main () | 9480 main () |
| 9465 { | 9481 { |
| 9466 exit (find_stack_direction() < 0); | 9482 exit (find_stack_direction() < 0); |
| 9467 } | 9483 } |
| 9468 EOF | 9484 EOF |
| 9469 if { (eval echo configure:9470: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 9485 if { (eval echo configure:9486: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
| 9470 then | 9486 then |
| 9471 ac_cv_c_stack_direction=1 | 9487 ac_cv_c_stack_direction=1 |
| 9472 else | 9488 else |
| 9473 conftest_rc="$?" | 9489 conftest_rc="$?" |
| 9474 echo "configure: failed program was:" >&5 | 9490 echo "configure: failed program was:" >&5 |
| 9493 echo " xemacs will be linked with \"$ALLOCA\"" | 9509 echo " xemacs will be linked with \"$ALLOCA\"" |
| 9494 fi | 9510 fi |
| 9495 | 9511 |
| 9496 ac_safe=`echo "vfork.h" | sed 'y%./+-%__p_%'` | 9512 ac_safe=`echo "vfork.h" | sed 'y%./+-%__p_%'` |
| 9497 echo $ac_n "checking for vfork.h""... $ac_c" 1>&6 | 9513 echo $ac_n "checking for vfork.h""... $ac_c" 1>&6 |
| 9498 echo "configure:9499: checking for vfork.h" >&5 | 9514 echo "configure:9515: checking for vfork.h" >&5 |
| 9499 | 9515 |
| 9500 cat > conftest.$ac_ext <<EOF | 9516 cat > conftest.$ac_ext <<EOF |
| 9501 #line 9502 "configure" | 9517 #line 9518 "configure" |
| 9502 #include "confdefs.h" | 9518 #include "confdefs.h" |
| 9503 #include <vfork.h> | 9519 #include <vfork.h> |
| 9504 EOF | 9520 EOF |
| 9505 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9521 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 9506 { (eval echo configure:9507: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9522 { (eval echo configure:9523: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 9507 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9523 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 9508 if test -z "$ac_err"; then | 9524 if test -z "$ac_err"; then |
| 9509 rm -rf conftest* | 9525 rm -rf conftest* |
| 9510 eval "ac_cv_header_$ac_safe=yes" | 9526 eval "ac_cv_header_$ac_safe=yes" |
| 9511 else | 9527 else |
| 9529 else | 9545 else |
| 9530 echo "$ac_t""no" 1>&6 | 9546 echo "$ac_t""no" 1>&6 |
| 9531 fi | 9547 fi |
| 9532 | 9548 |
| 9533 echo $ac_n "checking for working vfork""... $ac_c" 1>&6 | 9549 echo $ac_n "checking for working vfork""... $ac_c" 1>&6 |
| 9534 echo "configure:9535: checking for working vfork" >&5 | 9550 echo "configure:9551: checking for working vfork" >&5 |
| 9535 | 9551 |
| 9536 cat > conftest.$ac_ext <<EOF | 9552 cat > conftest.$ac_ext <<EOF |
| 9537 #line 9538 "configure" | 9553 #line 9554 "configure" |
| 9538 #include "confdefs.h" | 9554 #include "confdefs.h" |
| 9539 /* Thanks to Paul Eggert for this test. */ | 9555 /* Thanks to Paul Eggert for this test. */ |
| 9540 #include <stdio.h> | 9556 #include <stdio.h> |
| 9541 #include <sys/types.h> | 9557 #include <sys/types.h> |
| 9542 #include <sys/stat.h> | 9558 #include <sys/stat.h> |
| 9627 || fstat(fileno(stdout), &st) != 0 | 9643 || fstat(fileno(stdout), &st) != 0 |
| 9628 ); | 9644 ); |
| 9629 } | 9645 } |
| 9630 } | 9646 } |
| 9631 EOF | 9647 EOF |
| 9632 if { (eval echo configure:9633: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 9648 if { (eval echo configure:9649: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
| 9633 then | 9649 then |
| 9634 ac_cv_func_vfork_works=yes | 9650 ac_cv_func_vfork_works=yes |
| 9635 else | 9651 else |
| 9636 conftest_rc="$?" | 9652 conftest_rc="$?" |
| 9637 echo "configure: failed program was:" >&5 | 9653 echo "configure: failed program was:" >&5 |
| 9653 | 9669 |
| 9654 fi | 9670 fi |
| 9655 | 9671 |
| 9656 | 9672 |
| 9657 echo $ac_n "checking for working strcoll""... $ac_c" 1>&6 | 9673 echo $ac_n "checking for working strcoll""... $ac_c" 1>&6 |
| 9658 echo "configure:9659: checking for working strcoll" >&5 | 9674 echo "configure:9675: checking for working strcoll" >&5 |
| 9659 | 9675 |
| 9660 cat > conftest.$ac_ext <<EOF | 9676 cat > conftest.$ac_ext <<EOF |
| 9661 #line 9662 "configure" | 9677 #line 9678 "configure" |
| 9662 #include "confdefs.h" | 9678 #include "confdefs.h" |
| 9663 #include <string.h> | 9679 #include <string.h> |
| 9664 main () | 9680 main () |
| 9665 { | 9681 { |
| 9666 exit (strcoll ("abc", "def") >= 0 || | 9682 exit (strcoll ("abc", "def") >= 0 || |
| 9667 strcoll ("ABC", "DEF") >= 0 || | 9683 strcoll ("ABC", "DEF") >= 0 || |
| 9668 strcoll ("123", "456") >= 0); | 9684 strcoll ("123", "456") >= 0); |
| 9669 } | 9685 } |
| 9670 EOF | 9686 EOF |
| 9671 if { (eval echo configure:9672: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 9687 if { (eval echo configure:9688: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
| 9672 then | 9688 then |
| 9673 ac_cv_func_strcoll_works=yes | 9689 ac_cv_func_strcoll_works=yes |
| 9674 else | 9690 else |
| 9675 conftest_rc="$?" | 9691 conftest_rc="$?" |
| 9676 echo "configure: failed program was:" >&5 | 9692 echo "configure: failed program was:" >&5 |
| 9694 | 9710 |
| 9695 | 9711 |
| 9696 for ac_func in getpgrp | 9712 for ac_func in getpgrp |
| 9697 do | 9713 do |
| 9698 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 9714 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
| 9699 echo "configure:9700: checking for $ac_func" >&5 | 9715 echo "configure:9716: checking for $ac_func" >&5 |
| 9700 | 9716 |
| 9701 cat > conftest.$ac_ext <<EOF | 9717 cat > conftest.$ac_ext <<EOF |
| 9702 #line 9703 "configure" | 9718 #line 9719 "configure" |
| 9703 #include "confdefs.h" | 9719 #include "confdefs.h" |
| 9704 /* System header to define __stub macros and hopefully few prototypes, | 9720 /* System header to define __stub macros and hopefully few prototypes, |
| 9705 which can conflict with char $ac_func(); below. */ | 9721 which can conflict with char $ac_func(); below. */ |
| 9706 #include <assert.h> | 9722 #include <assert.h> |
| 9707 /* Override any gcc2 internal prototype to avoid an error. */ | 9723 /* Override any gcc2 internal prototype to avoid an error. */ |
| 9720 $ac_func(); | 9736 $ac_func(); |
| 9721 #endif | 9737 #endif |
| 9722 | 9738 |
| 9723 ; return 0; } | 9739 ; return 0; } |
| 9724 EOF | 9740 EOF |
| 9725 if { (eval echo configure:9726: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9741 if { (eval echo configure:9742: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 9726 rm -rf conftest* | 9742 rm -rf conftest* |
| 9727 eval "ac_cv_func_$ac_func=yes" | 9743 eval "ac_cv_func_$ac_func=yes" |
| 9728 else | 9744 else |
| 9729 echo "configure: failed program was:" >&5 | 9745 echo "configure: failed program was:" >&5 |
| 9730 cat conftest.$ac_ext >&5 | 9746 cat conftest.$ac_ext >&5 |
| 9748 echo "$ac_t""no" 1>&6 | 9764 echo "$ac_t""no" 1>&6 |
| 9749 fi | 9765 fi |
| 9750 done | 9766 done |
| 9751 | 9767 |
| 9752 echo $ac_n "checking whether getpgrp takes no argument""... $ac_c" 1>&6 | 9768 echo $ac_n "checking whether getpgrp takes no argument""... $ac_c" 1>&6 |
| 9753 echo "configure:9754: checking whether getpgrp takes no argument" >&5 | 9769 echo "configure:9770: checking whether getpgrp takes no argument" >&5 |
| 9754 | 9770 |
| 9755 cat > conftest.$ac_ext <<EOF | 9771 cat > conftest.$ac_ext <<EOF |
| 9756 #line 9757 "configure" | 9772 #line 9773 "configure" |
| 9757 #include "confdefs.h" | 9773 #include "confdefs.h" |
| 9758 | 9774 |
| 9759 /* | 9775 /* |
| 9760 * If this system has a BSD-style getpgrp(), | 9776 * If this system has a BSD-style getpgrp(), |
| 9761 * which takes a pid argument, exit unsuccessfully. | 9777 * which takes a pid argument, exit unsuccessfully. |
| 9806 exit(s>>8); | 9822 exit(s>>8); |
| 9807 } | 9823 } |
| 9808 } | 9824 } |
| 9809 | 9825 |
| 9810 EOF | 9826 EOF |
| 9811 if { (eval echo configure:9812: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 9827 if { (eval echo configure:9828: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
| 9812 then | 9828 then |
| 9813 ac_cv_func_getpgrp_void=yes | 9829 ac_cv_func_getpgrp_void=yes |
| 9814 else | 9830 else |
| 9815 conftest_rc="$?" | 9831 conftest_rc="$?" |
| 9816 echo "configure: failed program was:" >&5 | 9832 echo "configure: failed program was:" >&5 |
| 9833 | 9849 |
| 9834 fi | 9850 fi |
| 9835 | 9851 |
| 9836 | 9852 |
| 9837 echo $ac_n "checking for working mmap""... $ac_c" 1>&6 | 9853 echo $ac_n "checking for working mmap""... $ac_c" 1>&6 |
| 9838 echo "configure:9839: checking for working mmap" >&5 | 9854 echo "configure:9855: checking for working mmap" >&5 |
| 9839 case "$opsys" in ultrix* ) have_mmap=no ;; *) | 9855 case "$opsys" in ultrix* ) have_mmap=no ;; *) |
| 9840 cat > conftest.$ac_ext <<EOF | 9856 cat > conftest.$ac_ext <<EOF |
| 9841 #line 9842 "configure" | 9857 #line 9858 "configure" |
| 9842 #include "confdefs.h" | 9858 #include "confdefs.h" |
| 9843 #include <stdio.h> | 9859 #include <stdio.h> |
| 9844 #include <unistd.h> | 9860 #include <unistd.h> |
| 9845 #include <fcntl.h> | 9861 #include <fcntl.h> |
| 9846 #include <sys/mman.h> | 9862 #include <sys/mman.h> |
| 9869 return 0; | 9885 return 0; |
| 9870 perror ("conftest: mmap failed"); | 9886 perror ("conftest: mmap failed"); |
| 9871 return 1; | 9887 return 1; |
| 9872 } | 9888 } |
| 9873 EOF | 9889 EOF |
| 9874 if { (eval echo configure:9875: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 9890 if { (eval echo configure:9891: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
| 9875 then | 9891 then |
| 9876 have_mmap=yes | 9892 have_mmap=yes |
| 9877 else | 9893 else |
| 9878 conftest_rc="$?" | 9894 conftest_rc="$?" |
| 9879 echo "configure: failed program was:" >&5 | 9895 echo "configure: failed program was:" >&5 |
| 9904 } | 9920 } |
| 9905 | 9921 |
| 9906 | 9922 |
| 9907 ac_safe=`echo "termios.h" | sed 'y%./+-%__p_%'` | 9923 ac_safe=`echo "termios.h" | sed 'y%./+-%__p_%'` |
| 9908 echo $ac_n "checking for termios.h""... $ac_c" 1>&6 | 9924 echo $ac_n "checking for termios.h""... $ac_c" 1>&6 |
| 9909 echo "configure:9910: checking for termios.h" >&5 | 9925 echo "configure:9926: checking for termios.h" >&5 |
| 9910 | 9926 |
| 9911 cat > conftest.$ac_ext <<EOF | 9927 cat > conftest.$ac_ext <<EOF |
| 9912 #line 9913 "configure" | 9928 #line 9929 "configure" |
| 9913 #include "confdefs.h" | 9929 #include "confdefs.h" |
| 9914 #include <termios.h> | 9930 #include <termios.h> |
| 9915 EOF | 9931 EOF |
| 9916 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9932 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 9917 { (eval echo configure:9918: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9933 { (eval echo configure:9934: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 9918 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9934 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 9919 if test -z "$ac_err"; then | 9935 if test -z "$ac_err"; then |
| 9920 rm -rf conftest* | 9936 rm -rf conftest* |
| 9921 eval "ac_cv_header_$ac_safe=yes" | 9937 eval "ac_cv_header_$ac_safe=yes" |
| 9922 else | 9938 else |
| 9955 | 9971 |
| 9956 else | 9972 else |
| 9957 echo "$ac_t""no" 1>&6 | 9973 echo "$ac_t""no" 1>&6 |
| 9958 ac_safe=`echo "termio.h" | sed 'y%./+-%__p_%'` | 9974 ac_safe=`echo "termio.h" | sed 'y%./+-%__p_%'` |
| 9959 echo $ac_n "checking for termio.h""... $ac_c" 1>&6 | 9975 echo $ac_n "checking for termio.h""... $ac_c" 1>&6 |
| 9960 echo "configure:9961: checking for termio.h" >&5 | 9976 echo "configure:9977: checking for termio.h" >&5 |
| 9961 | 9977 |
| 9962 cat > conftest.$ac_ext <<EOF | 9978 cat > conftest.$ac_ext <<EOF |
| 9963 #line 9964 "configure" | 9979 #line 9980 "configure" |
| 9964 #include "confdefs.h" | 9980 #include "confdefs.h" |
| 9965 #include <termio.h> | 9981 #include <termio.h> |
| 9966 EOF | 9982 EOF |
| 9967 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9983 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 9968 { (eval echo configure:9969: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9984 { (eval echo configure:9985: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 9969 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9985 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 9970 if test -z "$ac_err"; then | 9986 if test -z "$ac_err"; then |
| 9971 rm -rf conftest* | 9987 rm -rf conftest* |
| 9972 eval "ac_cv_header_$ac_safe=yes" | 9988 eval "ac_cv_header_$ac_safe=yes" |
| 9973 else | 9989 else |
| 9995 fi | 10011 fi |
| 9996 | 10012 |
| 9997 | 10013 |
| 9998 | 10014 |
| 9999 echo $ac_n "checking for socket""... $ac_c" 1>&6 | 10015 echo $ac_n "checking for socket""... $ac_c" 1>&6 |
| 10000 echo "configure:10001: checking for socket" >&5 | 10016 echo "configure:10017: checking for socket" >&5 |
| 10001 | 10017 |
| 10002 cat > conftest.$ac_ext <<EOF | 10018 cat > conftest.$ac_ext <<EOF |
| 10003 #line 10004 "configure" | 10019 #line 10020 "configure" |
| 10004 #include "confdefs.h" | 10020 #include "confdefs.h" |
| 10005 /* System header to define __stub macros and hopefully few prototypes, | 10021 /* System header to define __stub macros and hopefully few prototypes, |
| 10006 which can conflict with char socket(); below. */ | 10022 which can conflict with char socket(); below. */ |
| 10007 #include <assert.h> | 10023 #include <assert.h> |
| 10008 /* Override any gcc2 internal prototype to avoid an error. */ | 10024 /* Override any gcc2 internal prototype to avoid an error. */ |
| 10021 socket(); | 10037 socket(); |
| 10022 #endif | 10038 #endif |
| 10023 | 10039 |
| 10024 ; return 0; } | 10040 ; return 0; } |
| 10025 EOF | 10041 EOF |
| 10026 if { (eval echo configure:10027: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10042 if { (eval echo configure:10043: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 10027 rm -rf conftest* | 10043 rm -rf conftest* |
| 10028 eval "ac_cv_func_socket=yes" | 10044 eval "ac_cv_func_socket=yes" |
| 10029 else | 10045 else |
| 10030 echo "configure: failed program was:" >&5 | 10046 echo "configure: failed program was:" >&5 |
| 10031 cat conftest.$ac_ext >&5 | 10047 cat conftest.$ac_ext >&5 |
| 10036 | 10052 |
| 10037 if eval "test \"`echo '$ac_cv_func_'socket`\" = yes"; then | 10053 if eval "test \"`echo '$ac_cv_func_'socket`\" = yes"; then |
| 10038 echo "$ac_t""yes" 1>&6 | 10054 echo "$ac_t""yes" 1>&6 |
| 10039 ac_safe=`echo "netinet/in.h" | sed 'y%./+-%__p_%'` | 10055 ac_safe=`echo "netinet/in.h" | sed 'y%./+-%__p_%'` |
| 10040 echo $ac_n "checking for netinet/in.h""... $ac_c" 1>&6 | 10056 echo $ac_n "checking for netinet/in.h""... $ac_c" 1>&6 |
| 10041 echo "configure:10042: checking for netinet/in.h" >&5 | 10057 echo "configure:10058: checking for netinet/in.h" >&5 |
| 10042 | 10058 |
| 10043 cat > conftest.$ac_ext <<EOF | 10059 cat > conftest.$ac_ext <<EOF |
| 10044 #line 10045 "configure" | 10060 #line 10061 "configure" |
| 10045 #include "confdefs.h" | 10061 #include "confdefs.h" |
| 10046 #include <netinet/in.h> | 10062 #include <netinet/in.h> |
| 10047 EOF | 10063 EOF |
| 10048 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10064 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 10049 { (eval echo configure:10050: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10065 { (eval echo configure:10066: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 10050 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10066 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 10051 if test -z "$ac_err"; then | 10067 if test -z "$ac_err"; then |
| 10052 rm -rf conftest* | 10068 rm -rf conftest* |
| 10053 eval "ac_cv_header_$ac_safe=yes" | 10069 eval "ac_cv_header_$ac_safe=yes" |
| 10054 else | 10070 else |
| 10061 rm -f conftest* | 10077 rm -f conftest* |
| 10062 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 10078 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
| 10063 echo "$ac_t""yes" 1>&6 | 10079 echo "$ac_t""yes" 1>&6 |
| 10064 ac_safe=`echo "arpa/inet.h" | sed 'y%./+-%__p_%'` | 10080 ac_safe=`echo "arpa/inet.h" | sed 'y%./+-%__p_%'` |
| 10065 echo $ac_n "checking for arpa/inet.h""... $ac_c" 1>&6 | 10081 echo $ac_n "checking for arpa/inet.h""... $ac_c" 1>&6 |
| 10066 echo "configure:10067: checking for arpa/inet.h" >&5 | 10082 echo "configure:10083: checking for arpa/inet.h" >&5 |
| 10067 | 10083 |
| 10068 cat > conftest.$ac_ext <<EOF | 10084 cat > conftest.$ac_ext <<EOF |
| 10069 #line 10070 "configure" | 10085 #line 10086 "configure" |
| 10070 #include "confdefs.h" | 10086 #include "confdefs.h" |
| 10071 #include <arpa/inet.h> | 10087 #include <arpa/inet.h> |
| 10072 EOF | 10088 EOF |
| 10073 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10089 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 10074 { (eval echo configure:10075: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10090 { (eval echo configure:10091: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 10075 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10091 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 10076 if test -z "$ac_err"; then | 10092 if test -z "$ac_err"; then |
| 10077 rm -rf conftest* | 10093 rm -rf conftest* |
| 10078 eval "ac_cv_header_$ac_safe=yes" | 10094 eval "ac_cv_header_$ac_safe=yes" |
| 10079 else | 10095 else |
| 10094 #define HAVE_SOCKETS 1 | 10110 #define HAVE_SOCKETS 1 |
| 10095 EOF | 10111 EOF |
| 10096 } | 10112 } |
| 10097 | 10113 |
| 10098 echo $ac_n "checking "for sun_len member in struct sockaddr_un"""... $ac_c" 1>&6 | 10114 echo $ac_n "checking "for sun_len member in struct sockaddr_un"""... $ac_c" 1>&6 |
| 10099 echo "configure:10100: checking "for sun_len member in struct sockaddr_un"" >&5 | 10115 echo "configure:10116: checking "for sun_len member in struct sockaddr_un"" >&5 |
| 10100 cat > conftest.$ac_ext <<EOF | 10116 cat > conftest.$ac_ext <<EOF |
| 10101 #line 10102 "configure" | 10117 #line 10118 "configure" |
| 10102 #include "confdefs.h" | 10118 #include "confdefs.h" |
| 10103 | 10119 |
| 10104 #include <sys/types.h> | 10120 #include <sys/types.h> |
| 10105 #include <sys/socket.h> | 10121 #include <sys/socket.h> |
| 10106 #include <sys/un.h> | 10122 #include <sys/un.h> |
| 10107 | 10123 |
| 10108 int main() { | 10124 int main() { |
| 10109 static struct sockaddr_un x; x.sun_len = 1; | 10125 static struct sockaddr_un x; x.sun_len = 1; |
| 10110 ; return 0; } | 10126 ; return 0; } |
| 10111 EOF | 10127 EOF |
| 10112 if { (eval echo configure:10113: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10128 if { (eval echo configure:10129: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 10113 rm -rf conftest* | 10129 rm -rf conftest* |
| 10114 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF | 10130 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF |
| 10115 Defining HAVE_SOCKADDR_SUN_LEN | 10131 Defining HAVE_SOCKADDR_SUN_LEN |
| 10116 EOF | 10132 EOF |
| 10117 cat >> confdefs.h <<\EOF | 10133 cat >> confdefs.h <<\EOF |
| 10125 rm -rf conftest* | 10141 rm -rf conftest* |
| 10126 echo "$ac_t""no" 1>&6 | 10142 echo "$ac_t""no" 1>&6 |
| 10127 fi | 10143 fi |
| 10128 rm -f conftest* | 10144 rm -f conftest* |
| 10129 echo $ac_n "checking "for ip_mreq struct in netinet/in.h"""... $ac_c" 1>&6 | 10145 echo $ac_n "checking "for ip_mreq struct in netinet/in.h"""... $ac_c" 1>&6 |
| 10130 echo "configure:10131: checking "for ip_mreq struct in netinet/in.h"" >&5 | 10146 echo "configure:10147: checking "for ip_mreq struct in netinet/in.h"" >&5 |
| 10131 cat > conftest.$ac_ext <<EOF | 10147 cat > conftest.$ac_ext <<EOF |
| 10132 #line 10133 "configure" | 10148 #line 10149 "configure" |
| 10133 #include "confdefs.h" | 10149 #include "confdefs.h" |
| 10134 | 10150 |
| 10135 #include <sys/types.h> | 10151 #include <sys/types.h> |
| 10136 #include <netinet/in.h> | 10152 #include <netinet/in.h> |
| 10137 | 10153 |
| 10138 int main() { | 10154 int main() { |
| 10139 static struct ip_mreq x; | 10155 static struct ip_mreq x; |
| 10140 ; return 0; } | 10156 ; return 0; } |
| 10141 EOF | 10157 EOF |
| 10142 if { (eval echo configure:10143: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10158 if { (eval echo configure:10159: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 10143 rm -rf conftest* | 10159 rm -rf conftest* |
| 10144 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF | 10160 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF |
| 10145 Defining HAVE_MULTICAST | 10161 Defining HAVE_MULTICAST |
| 10146 EOF | 10162 EOF |
| 10147 cat >> confdefs.h <<\EOF | 10163 cat >> confdefs.h <<\EOF |
| 10168 echo "$ac_t""no" 1>&6 | 10184 echo "$ac_t""no" 1>&6 |
| 10169 fi | 10185 fi |
| 10170 | 10186 |
| 10171 | 10187 |
| 10172 echo $ac_n "checking for msgget""... $ac_c" 1>&6 | 10188 echo $ac_n "checking for msgget""... $ac_c" 1>&6 |
| 10173 echo "configure:10174: checking for msgget" >&5 | 10189 echo "configure:10190: checking for msgget" >&5 |
| 10174 | 10190 |
| 10175 cat > conftest.$ac_ext <<EOF | 10191 cat > conftest.$ac_ext <<EOF |
| 10176 #line 10177 "configure" | 10192 #line 10193 "configure" |
| 10177 #include "confdefs.h" | 10193 #include "confdefs.h" |
| 10178 /* System header to define __stub macros and hopefully few prototypes, | 10194 /* System header to define __stub macros and hopefully few prototypes, |
| 10179 which can conflict with char msgget(); below. */ | 10195 which can conflict with char msgget(); below. */ |
| 10180 #include <assert.h> | 10196 #include <assert.h> |
| 10181 /* Override any gcc2 internal prototype to avoid an error. */ | 10197 /* Override any gcc2 internal prototype to avoid an error. */ |
| 10194 msgget(); | 10210 msgget(); |
| 10195 #endif | 10211 #endif |
| 10196 | 10212 |
| 10197 ; return 0; } | 10213 ; return 0; } |
| 10198 EOF | 10214 EOF |
| 10199 if { (eval echo configure:10200: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10215 if { (eval echo configure:10216: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 10200 rm -rf conftest* | 10216 rm -rf conftest* |
| 10201 eval "ac_cv_func_msgget=yes" | 10217 eval "ac_cv_func_msgget=yes" |
| 10202 else | 10218 else |
| 10203 echo "configure: failed program was:" >&5 | 10219 echo "configure: failed program was:" >&5 |
| 10204 cat conftest.$ac_ext >&5 | 10220 cat conftest.$ac_ext >&5 |
| 10209 | 10225 |
| 10210 if eval "test \"`echo '$ac_cv_func_'msgget`\" = yes"; then | 10226 if eval "test \"`echo '$ac_cv_func_'msgget`\" = yes"; then |
| 10211 echo "$ac_t""yes" 1>&6 | 10227 echo "$ac_t""yes" 1>&6 |
| 10212 ac_safe=`echo "sys/ipc.h" | sed 'y%./+-%__p_%'` | 10228 ac_safe=`echo "sys/ipc.h" | sed 'y%./+-%__p_%'` |
| 10213 echo $ac_n "checking for sys/ipc.h""... $ac_c" 1>&6 | 10229 echo $ac_n "checking for sys/ipc.h""... $ac_c" 1>&6 |
| 10214 echo "configure:10215: checking for sys/ipc.h" >&5 | 10230 echo "configure:10231: checking for sys/ipc.h" >&5 |
| 10215 | 10231 |
| 10216 cat > conftest.$ac_ext <<EOF | 10232 cat > conftest.$ac_ext <<EOF |
| 10217 #line 10218 "configure" | 10233 #line 10234 "configure" |
| 10218 #include "confdefs.h" | 10234 #include "confdefs.h" |
| 10219 #include <sys/ipc.h> | 10235 #include <sys/ipc.h> |
| 10220 EOF | 10236 EOF |
| 10221 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10237 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 10222 { (eval echo configure:10223: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10238 { (eval echo configure:10239: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 10223 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10239 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 10224 if test -z "$ac_err"; then | 10240 if test -z "$ac_err"; then |
| 10225 rm -rf conftest* | 10241 rm -rf conftest* |
| 10226 eval "ac_cv_header_$ac_safe=yes" | 10242 eval "ac_cv_header_$ac_safe=yes" |
| 10227 else | 10243 else |
| 10234 rm -f conftest* | 10250 rm -f conftest* |
| 10235 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 10251 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
| 10236 echo "$ac_t""yes" 1>&6 | 10252 echo "$ac_t""yes" 1>&6 |
| 10237 ac_safe=`echo "sys/msg.h" | sed 'y%./+-%__p_%'` | 10253 ac_safe=`echo "sys/msg.h" | sed 'y%./+-%__p_%'` |
| 10238 echo $ac_n "checking for sys/msg.h""... $ac_c" 1>&6 | 10254 echo $ac_n "checking for sys/msg.h""... $ac_c" 1>&6 |
| 10239 echo "configure:10240: checking for sys/msg.h" >&5 | 10255 echo "configure:10256: checking for sys/msg.h" >&5 |
| 10240 | 10256 |
| 10241 cat > conftest.$ac_ext <<EOF | 10257 cat > conftest.$ac_ext <<EOF |
| 10242 #line 10243 "configure" | 10258 #line 10259 "configure" |
| 10243 #include "confdefs.h" | 10259 #include "confdefs.h" |
| 10244 #include <sys/msg.h> | 10260 #include <sys/msg.h> |
| 10245 EOF | 10261 EOF |
| 10246 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10262 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 10247 { (eval echo configure:10248: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10263 { (eval echo configure:10264: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 10248 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10264 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 10249 if test -z "$ac_err"; then | 10265 if test -z "$ac_err"; then |
| 10250 rm -rf conftest* | 10266 rm -rf conftest* |
| 10251 eval "ac_cv_header_$ac_safe=yes" | 10267 eval "ac_cv_header_$ac_safe=yes" |
| 10252 else | 10268 else |
| 10280 fi | 10296 fi |
| 10281 | 10297 |
| 10282 | 10298 |
| 10283 ac_safe=`echo "dirent.h" | sed 'y%./+-%__p_%'` | 10299 ac_safe=`echo "dirent.h" | sed 'y%./+-%__p_%'` |
| 10284 echo $ac_n "checking for dirent.h""... $ac_c" 1>&6 | 10300 echo $ac_n "checking for dirent.h""... $ac_c" 1>&6 |
| 10285 echo "configure:10286: checking for dirent.h" >&5 | 10301 echo "configure:10302: checking for dirent.h" >&5 |
| 10286 | 10302 |
| 10287 cat > conftest.$ac_ext <<EOF | 10303 cat > conftest.$ac_ext <<EOF |
| 10288 #line 10289 "configure" | 10304 #line 10305 "configure" |
| 10289 #include "confdefs.h" | 10305 #include "confdefs.h" |
| 10290 #include <dirent.h> | 10306 #include <dirent.h> |
| 10291 EOF | 10307 EOF |
| 10292 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10308 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 10293 { (eval echo configure:10294: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10309 { (eval echo configure:10310: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 10294 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10310 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 10295 if test -z "$ac_err"; then | 10311 if test -z "$ac_err"; then |
| 10296 rm -rf conftest* | 10312 rm -rf conftest* |
| 10297 eval "ac_cv_header_$ac_safe=yes" | 10313 eval "ac_cv_header_$ac_safe=yes" |
| 10298 else | 10314 else |
| 10315 | 10331 |
| 10316 else | 10332 else |
| 10317 echo "$ac_t""no" 1>&6 | 10333 echo "$ac_t""no" 1>&6 |
| 10318 ac_safe=`echo "sys/dir.h" | sed 'y%./+-%__p_%'` | 10334 ac_safe=`echo "sys/dir.h" | sed 'y%./+-%__p_%'` |
| 10319 echo $ac_n "checking for sys/dir.h""... $ac_c" 1>&6 | 10335 echo $ac_n "checking for sys/dir.h""... $ac_c" 1>&6 |
| 10320 echo "configure:10321: checking for sys/dir.h" >&5 | 10336 echo "configure:10337: checking for sys/dir.h" >&5 |
| 10321 | 10337 |
| 10322 cat > conftest.$ac_ext <<EOF | 10338 cat > conftest.$ac_ext <<EOF |
| 10323 #line 10324 "configure" | 10339 #line 10340 "configure" |
| 10324 #include "confdefs.h" | 10340 #include "confdefs.h" |
| 10325 #include <sys/dir.h> | 10341 #include <sys/dir.h> |
| 10326 EOF | 10342 EOF |
| 10327 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10343 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 10328 { (eval echo configure:10329: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10344 { (eval echo configure:10345: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 10329 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10345 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 10330 if test -z "$ac_err"; then | 10346 if test -z "$ac_err"; then |
| 10331 rm -rf conftest* | 10347 rm -rf conftest* |
| 10332 eval "ac_cv_header_$ac_safe=yes" | 10348 eval "ac_cv_header_$ac_safe=yes" |
| 10333 else | 10349 else |
| 10356 fi | 10372 fi |
| 10357 | 10373 |
| 10358 | 10374 |
| 10359 ac_safe=`echo "nlist.h" | sed 'y%./+-%__p_%'` | 10375 ac_safe=`echo "nlist.h" | sed 'y%./+-%__p_%'` |
| 10360 echo $ac_n "checking for nlist.h""... $ac_c" 1>&6 | 10376 echo $ac_n "checking for nlist.h""... $ac_c" 1>&6 |
| 10361 echo "configure:10362: checking for nlist.h" >&5 | 10377 echo "configure:10378: checking for nlist.h" >&5 |
| 10362 | 10378 |
| 10363 cat > conftest.$ac_ext <<EOF | 10379 cat > conftest.$ac_ext <<EOF |
| 10364 #line 10365 "configure" | 10380 #line 10381 "configure" |
| 10365 #include "confdefs.h" | 10381 #include "confdefs.h" |
| 10366 #include <nlist.h> | 10382 #include <nlist.h> |
| 10367 EOF | 10383 EOF |
| 10368 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10384 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 10369 { (eval echo configure:10370: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10385 { (eval echo configure:10386: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 10370 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10386 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 10371 if test -z "$ac_err"; then | 10387 if test -z "$ac_err"; then |
| 10372 rm -rf conftest* | 10388 rm -rf conftest* |
| 10373 eval "ac_cv_header_$ac_safe=yes" | 10389 eval "ac_cv_header_$ac_safe=yes" |
| 10374 else | 10390 else |
| 10394 fi | 10410 fi |
| 10395 | 10411 |
| 10396 | 10412 |
| 10397 | 10413 |
| 10398 echo "checking "for sound support"" 1>&6 | 10414 echo "checking "for sound support"" 1>&6 |
| 10399 echo "configure:10400: checking "for sound support"" >&5 | 10415 echo "configure:10416: checking "for sound support"" >&5 |
| 10400 case "$with_sound" in | 10416 case "$with_sound" in |
| 10401 native | both ) with_native_sound=yes;; | 10417 native | both ) with_native_sound=yes;; |
| 10402 nas | no ) with_native_sound=no;; | 10418 nas | no ) with_native_sound=no;; |
| 10403 esac | 10419 esac |
| 10404 test -z "$with_native_sound" -a -n "$native_sound_lib" && with_native_sound=yes | 10420 test -z "$with_native_sound" -a -n "$native_sound_lib" && with_native_sound=yes |
| 10405 | 10421 |
| 10406 if test "$with_native_sound" != "no"; then | 10422 if test "$with_native_sound" != "no"; then |
| 10407 if test -n "$native_sound_lib"; then | 10423 if test -n "$native_sound_lib"; then |
| 10408 ac_safe=`echo "multimedia/audio_device.h" | sed 'y%./+-%__p_%'` | 10424 ac_safe=`echo "multimedia/audio_device.h" | sed 'y%./+-%__p_%'` |
| 10409 echo $ac_n "checking for multimedia/audio_device.h""... $ac_c" 1>&6 | 10425 echo $ac_n "checking for multimedia/audio_device.h""... $ac_c" 1>&6 |
| 10410 echo "configure:10411: checking for multimedia/audio_device.h" >&5 | 10426 echo "configure:10427: checking for multimedia/audio_device.h" >&5 |
| 10411 | 10427 |
| 10412 cat > conftest.$ac_ext <<EOF | 10428 cat > conftest.$ac_ext <<EOF |
| 10413 #line 10414 "configure" | 10429 #line 10430 "configure" |
| 10414 #include "confdefs.h" | 10430 #include "confdefs.h" |
| 10415 #include <multimedia/audio_device.h> | 10431 #include <multimedia/audio_device.h> |
| 10416 EOF | 10432 EOF |
| 10417 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10433 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 10418 { (eval echo configure:10419: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10434 { (eval echo configure:10435: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 10419 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10435 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 10420 if test -z "$ac_err"; then | 10436 if test -z "$ac_err"; then |
| 10421 rm -rf conftest* | 10437 rm -rf conftest* |
| 10422 eval "ac_cv_header_$ac_safe=yes" | 10438 eval "ac_cv_header_$ac_safe=yes" |
| 10423 else | 10439 else |
| 10461 case "$canonical" in | 10477 case "$canonical" in |
| 10462 *-sgi-* ) | 10478 *-sgi-* ) |
| 10463 if test -z "$native_sound_lib"; then | 10479 if test -z "$native_sound_lib"; then |
| 10464 ac_safe=`echo "audio.h" | sed 'y%./+-%__p_%'` | 10480 ac_safe=`echo "audio.h" | sed 'y%./+-%__p_%'` |
| 10465 echo $ac_n "checking for audio.h""... $ac_c" 1>&6 | 10481 echo $ac_n "checking for audio.h""... $ac_c" 1>&6 |
| 10466 echo "configure:10467: checking for audio.h" >&5 | 10482 echo "configure:10483: checking for audio.h" >&5 |
| 10467 | 10483 |
| 10468 cat > conftest.$ac_ext <<EOF | 10484 cat > conftest.$ac_ext <<EOF |
| 10469 #line 10470 "configure" | 10485 #line 10486 "configure" |
| 10470 #include "confdefs.h" | 10486 #include "confdefs.h" |
| 10471 #include <audio.h> | 10487 #include <audio.h> |
| 10472 EOF | 10488 EOF |
| 10473 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10489 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 10474 { (eval echo configure:10475: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10490 { (eval echo configure:10491: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 10475 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10491 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 10476 if test -z "$ac_err"; then | 10492 if test -z "$ac_err"; then |
| 10477 rm -rf conftest* | 10493 rm -rf conftest* |
| 10478 eval "ac_cv_header_$ac_safe=yes" | 10494 eval "ac_cv_header_$ac_safe=yes" |
| 10479 else | 10495 else |
| 10487 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 10503 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
| 10488 echo "$ac_t""yes" 1>&6 | 10504 echo "$ac_t""yes" 1>&6 |
| 10489 | 10505 |
| 10490 | 10506 |
| 10491 echo $ac_n "checking for ALopenport in -laudio""... $ac_c" 1>&6 | 10507 echo $ac_n "checking for ALopenport in -laudio""... $ac_c" 1>&6 |
| 10492 echo "configure:10493: checking for ALopenport in -laudio" >&5 | 10508 echo "configure:10509: checking for ALopenport in -laudio" >&5 |
| 10493 ac_lib_var=`echo audio'_'ALopenport | sed 'y%./+-%__p_%'` | 10509 ac_lib_var=`echo audio'_'ALopenport | sed 'y%./+-%__p_%'` |
| 10494 | 10510 |
| 10495 xe_check_libs=" -laudio " | 10511 xe_check_libs=" -laudio " |
| 10496 cat > conftest.$ac_ext <<EOF | 10512 cat > conftest.$ac_ext <<EOF |
| 10497 #line 10498 "configure" | 10513 #line 10514 "configure" |
| 10498 #include "confdefs.h" | 10514 #include "confdefs.h" |
| 10499 /* Override any gcc2 internal prototype to avoid an error. */ | 10515 /* Override any gcc2 internal prototype to avoid an error. */ |
| 10500 /* We use char because int might match the return type of a gcc2 | 10516 /* We use char because int might match the return type of a gcc2 |
| 10501 builtin and then its argument prototype would still apply. */ | 10517 builtin and then its argument prototype would still apply. */ |
| 10502 char ALopenport(); | 10518 char ALopenport(); |
| 10503 | 10519 |
| 10504 int main() { | 10520 int main() { |
| 10505 ALopenport() | 10521 ALopenport() |
| 10506 ; return 0; } | 10522 ; return 0; } |
| 10507 EOF | 10523 EOF |
| 10508 if { (eval echo configure:10509: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10524 if { (eval echo configure:10525: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 10509 rm -rf conftest* | 10525 rm -rf conftest* |
| 10510 eval "ac_cv_lib_$ac_lib_var=yes" | 10526 eval "ac_cv_lib_$ac_lib_var=yes" |
| 10511 else | 10527 else |
| 10512 echo "configure: failed program was:" >&5 | 10528 echo "configure: failed program was:" >&5 |
| 10513 cat conftest.$ac_ext >&5 | 10529 cat conftest.$ac_ext >&5 |
| 10539 fi ;; | 10555 fi ;; |
| 10540 hppa*-hp-hpux* ) | 10556 hppa*-hp-hpux* ) |
| 10541 if test -z "$native_sound_lib"; then | 10557 if test -z "$native_sound_lib"; then |
| 10542 | 10558 |
| 10543 echo $ac_n "checking for AOpenAudio in -lAlib""... $ac_c" 1>&6 | 10559 echo $ac_n "checking for AOpenAudio in -lAlib""... $ac_c" 1>&6 |
| 10544 echo "configure:10545: checking for AOpenAudio in -lAlib" >&5 | 10560 echo "configure:10561: checking for AOpenAudio in -lAlib" >&5 |
| 10545 ac_lib_var=`echo Alib'_'AOpenAudio | sed 'y%./+-%__p_%'` | 10561 ac_lib_var=`echo Alib'_'AOpenAudio | sed 'y%./+-%__p_%'` |
| 10546 | 10562 |
| 10547 xe_check_libs=" -lAlib " | 10563 xe_check_libs=" -lAlib " |
| 10548 cat > conftest.$ac_ext <<EOF | 10564 cat > conftest.$ac_ext <<EOF |
| 10549 #line 10550 "configure" | 10565 #line 10566 "configure" |
| 10550 #include "confdefs.h" | 10566 #include "confdefs.h" |
| 10551 /* Override any gcc2 internal prototype to avoid an error. */ | 10567 /* Override any gcc2 internal prototype to avoid an error. */ |
| 10552 /* We use char because int might match the return type of a gcc2 | 10568 /* We use char because int might match the return type of a gcc2 |
| 10553 builtin and then its argument prototype would still apply. */ | 10569 builtin and then its argument prototype would still apply. */ |
| 10554 char AOpenAudio(); | 10570 char AOpenAudio(); |
| 10555 | 10571 |
| 10556 int main() { | 10572 int main() { |
| 10557 AOpenAudio() | 10573 AOpenAudio() |
| 10558 ; return 0; } | 10574 ; return 0; } |
| 10559 EOF | 10575 EOF |
| 10560 if { (eval echo configure:10561: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10576 if { (eval echo configure:10577: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 10561 rm -rf conftest* | 10577 rm -rf conftest* |
| 10562 eval "ac_cv_lib_$ac_lib_var=yes" | 10578 eval "ac_cv_lib_$ac_lib_var=yes" |
| 10563 else | 10579 else |
| 10564 echo "configure: failed program was:" >&5 | 10580 echo "configure: failed program was:" >&5 |
| 10565 cat conftest.$ac_ext >&5 | 10581 cat conftest.$ac_ext >&5 |
| 10593 | 10609 |
| 10594 if test -z "$sound_found"; then | 10610 if test -z "$sound_found"; then |
| 10595 for dir in "machine" "sys" "linux"; do | 10611 for dir in "machine" "sys" "linux"; do |
| 10596 ac_safe=`echo "${dir}/soundcard.h" | sed 'y%./+-%__p_%'` | 10612 ac_safe=`echo "${dir}/soundcard.h" | sed 'y%./+-%__p_%'` |
| 10597 echo $ac_n "checking for ${dir}/soundcard.h""... $ac_c" 1>&6 | 10613 echo $ac_n "checking for ${dir}/soundcard.h""... $ac_c" 1>&6 |
| 10598 echo "configure:10599: checking for ${dir}/soundcard.h" >&5 | 10614 echo "configure:10615: checking for ${dir}/soundcard.h" >&5 |
| 10599 | 10615 |
| 10600 cat > conftest.$ac_ext <<EOF | 10616 cat > conftest.$ac_ext <<EOF |
| 10601 #line 10602 "configure" | 10617 #line 10618 "configure" |
| 10602 #include "confdefs.h" | 10618 #include "confdefs.h" |
| 10603 #include <${dir}/soundcard.h> | 10619 #include <${dir}/soundcard.h> |
| 10604 EOF | 10620 EOF |
| 10605 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10621 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 10606 { (eval echo configure:10607: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10622 { (eval echo configure:10623: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 10607 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10623 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 10608 if test -z "$ac_err"; then | 10624 if test -z "$ac_err"; then |
| 10609 rm -rf conftest* | 10625 rm -rf conftest* |
| 10610 eval "ac_cv_header_$ac_safe=yes" | 10626 eval "ac_cv_header_$ac_safe=yes" |
| 10611 else | 10627 else |
| 10671 extra_objs="$extra_objs nas.o" && if test "$extra_verbose" = "yes"; then | 10687 extra_objs="$extra_objs nas.o" && if test "$extra_verbose" = "yes"; then |
| 10672 echo " xemacs will be linked with \"nas.o\"" | 10688 echo " xemacs will be linked with \"nas.o\"" |
| 10673 fi | 10689 fi |
| 10674 libs_x="-laudio $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-laudio\" to \$libs_x"; fi | 10690 libs_x="-laudio $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-laudio\" to \$libs_x"; fi |
| 10675 cat > conftest.$ac_ext <<EOF | 10691 cat > conftest.$ac_ext <<EOF |
| 10676 #line 10677 "configure" | 10692 #line 10693 "configure" |
| 10677 #include "confdefs.h" | 10693 #include "confdefs.h" |
| 10678 #include <audio/Xtutil.h> | 10694 #include <audio/Xtutil.h> |
| 10679 EOF | 10695 EOF |
| 10680 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 10696 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
| 10681 egrep "AuXtErrorJump" >/dev/null 2>&1; then | 10697 egrep "AuXtErrorJump" >/dev/null 2>&1; then |
| 10698 | 10714 |
| 10699 test -z "$with_tty" && with_tty=yes | 10715 test -z "$with_tty" && with_tty=yes |
| 10700 | 10716 |
| 10701 if test "$with_tty" = "yes" ; then | 10717 if test "$with_tty" = "yes" ; then |
| 10702 echo "checking for TTY-related features" 1>&6 | 10718 echo "checking for TTY-related features" 1>&6 |
| 10703 echo "configure:10704: checking for TTY-related features" >&5 | 10719 echo "configure:10720: checking for TTY-related features" >&5 |
| 10704 { test "$extra_verbose" = "yes" && cat << \EOF | 10720 { test "$extra_verbose" = "yes" && cat << \EOF |
| 10705 Defining HAVE_TTY | 10721 Defining HAVE_TTY |
| 10706 EOF | 10722 EOF |
| 10707 cat >> confdefs.h <<\EOF | 10723 cat >> confdefs.h <<\EOF |
| 10708 #define HAVE_TTY 1 | 10724 #define HAVE_TTY 1 |
| 10714 fi | 10730 fi |
| 10715 | 10731 |
| 10716 if test -z "$with_ncurses"; then | 10732 if test -z "$with_ncurses"; then |
| 10717 | 10733 |
| 10718 echo $ac_n "checking for tgetent in -lncurses""... $ac_c" 1>&6 | 10734 echo $ac_n "checking for tgetent in -lncurses""... $ac_c" 1>&6 |
| 10719 echo "configure:10720: checking for tgetent in -lncurses" >&5 | 10735 echo "configure:10736: checking for tgetent in -lncurses" >&5 |
| 10720 ac_lib_var=`echo ncurses'_'tgetent | sed 'y%./+-%__p_%'` | 10736 ac_lib_var=`echo ncurses'_'tgetent | sed 'y%./+-%__p_%'` |
| 10721 | 10737 |
| 10722 xe_check_libs=" -lncurses " | 10738 xe_check_libs=" -lncurses " |
| 10723 cat > conftest.$ac_ext <<EOF | 10739 cat > conftest.$ac_ext <<EOF |
| 10724 #line 10725 "configure" | 10740 #line 10741 "configure" |
| 10725 #include "confdefs.h" | 10741 #include "confdefs.h" |
| 10726 /* Override any gcc2 internal prototype to avoid an error. */ | 10742 /* Override any gcc2 internal prototype to avoid an error. */ |
| 10727 /* We use char because int might match the return type of a gcc2 | 10743 /* We use char because int might match the return type of a gcc2 |
| 10728 builtin and then its argument prototype would still apply. */ | 10744 builtin and then its argument prototype would still apply. */ |
| 10729 char tgetent(); | 10745 char tgetent(); |
| 10730 | 10746 |
| 10731 int main() { | 10747 int main() { |
| 10732 tgetent() | 10748 tgetent() |
| 10733 ; return 0; } | 10749 ; return 0; } |
| 10734 EOF | 10750 EOF |
| 10735 if { (eval echo configure:10736: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10751 if { (eval echo configure:10752: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 10736 rm -rf conftest* | 10752 rm -rf conftest* |
| 10737 eval "ac_cv_lib_$ac_lib_var=yes" | 10753 eval "ac_cv_lib_$ac_lib_var=yes" |
| 10738 else | 10754 else |
| 10739 echo "configure: failed program was:" >&5 | 10755 echo "configure: failed program was:" >&5 |
| 10740 cat conftest.$ac_ext >&5 | 10756 cat conftest.$ac_ext >&5 |
| 10763 EOF | 10779 EOF |
| 10764 } | 10780 } |
| 10765 | 10781 |
| 10766 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` | 10782 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` |
| 10767 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 | 10783 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 |
| 10768 echo "configure:10769: checking for ncurses/curses.h" >&5 | 10784 echo "configure:10785: checking for ncurses/curses.h" >&5 |
| 10769 | 10785 |
| 10770 cat > conftest.$ac_ext <<EOF | 10786 cat > conftest.$ac_ext <<EOF |
| 10771 #line 10772 "configure" | 10787 #line 10788 "configure" |
| 10772 #include "confdefs.h" | 10788 #include "confdefs.h" |
| 10773 #include <ncurses/curses.h> | 10789 #include <ncurses/curses.h> |
| 10774 EOF | 10790 EOF |
| 10775 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10791 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 10776 { (eval echo configure:10777: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10792 { (eval echo configure:10793: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 10777 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10793 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 10778 if test -z "$ac_err"; then | 10794 if test -z "$ac_err"; then |
| 10779 rm -rf conftest* | 10795 rm -rf conftest* |
| 10780 eval "ac_cv_header_$ac_safe=yes" | 10796 eval "ac_cv_header_$ac_safe=yes" |
| 10781 else | 10797 else |
| 10793 echo "$ac_t""no" 1>&6 | 10809 echo "$ac_t""no" 1>&6 |
| 10794 fi | 10810 fi |
| 10795 | 10811 |
| 10796 ac_safe=`echo "ncurses/term.h" | sed 'y%./+-%__p_%'` | 10812 ac_safe=`echo "ncurses/term.h" | sed 'y%./+-%__p_%'` |
| 10797 echo $ac_n "checking for ncurses/term.h""... $ac_c" 1>&6 | 10813 echo $ac_n "checking for ncurses/term.h""... $ac_c" 1>&6 |
| 10798 echo "configure:10799: checking for ncurses/term.h" >&5 | 10814 echo "configure:10815: checking for ncurses/term.h" >&5 |
| 10799 | 10815 |
| 10800 cat > conftest.$ac_ext <<EOF | 10816 cat > conftest.$ac_ext <<EOF |
| 10801 #line 10802 "configure" | 10817 #line 10818 "configure" |
| 10802 #include "confdefs.h" | 10818 #include "confdefs.h" |
| 10803 #include <ncurses/term.h> | 10819 #include <ncurses/term.h> |
| 10804 EOF | 10820 EOF |
| 10805 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10821 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 10806 { (eval echo configure:10807: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10822 { (eval echo configure:10823: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 10807 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10823 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 10808 if test -z "$ac_err"; then | 10824 if test -z "$ac_err"; then |
| 10809 rm -rf conftest* | 10825 rm -rf conftest* |
| 10810 eval "ac_cv_header_$ac_safe=yes" | 10826 eval "ac_cv_header_$ac_safe=yes" |
| 10811 else | 10827 else |
| 10831 if test "$ac_cv_header_ncurses_curses_h" != "yes" ; then | 10847 if test "$ac_cv_header_ncurses_curses_h" != "yes" ; then |
| 10832 save_c_switch_site="$c_switch_site" | 10848 save_c_switch_site="$c_switch_site" |
| 10833 c_switch_site="$c_switch_site -I/usr/include/ncurses" | 10849 c_switch_site="$c_switch_site -I/usr/include/ncurses" |
| 10834 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` | 10850 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` |
| 10835 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 | 10851 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 |
| 10836 echo "configure:10837: checking for ncurses/curses.h" >&5 | 10852 echo "configure:10853: checking for ncurses/curses.h" >&5 |
| 10837 | 10853 |
| 10838 cat > conftest.$ac_ext <<EOF | 10854 cat > conftest.$ac_ext <<EOF |
| 10839 #line 10840 "configure" | 10855 #line 10856 "configure" |
| 10840 #include "confdefs.h" | 10856 #include "confdefs.h" |
| 10841 #include <ncurses/curses.h> | 10857 #include <ncurses/curses.h> |
| 10842 EOF | 10858 EOF |
| 10843 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10859 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 10844 { (eval echo configure:10845: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10860 { (eval echo configure:10861: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 10845 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10861 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 10846 if test -z "$ac_err"; then | 10862 if test -z "$ac_err"; then |
| 10847 rm -rf conftest* | 10863 rm -rf conftest* |
| 10848 eval "ac_cv_header_$ac_safe=yes" | 10864 eval "ac_cv_header_$ac_safe=yes" |
| 10849 else | 10865 else |
| 10874 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi | 10890 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi |
| 10875 else | 10891 else |
| 10876 for lib in curses termlib termcap; do | 10892 for lib in curses termlib termcap; do |
| 10877 | 10893 |
| 10878 echo $ac_n "checking for tgetent in -l$lib""... $ac_c" 1>&6 | 10894 echo $ac_n "checking for tgetent in -l$lib""... $ac_c" 1>&6 |
| 10879 echo "configure:10880: checking for tgetent in -l$lib" >&5 | 10895 echo "configure:10896: checking for tgetent in -l$lib" >&5 |
| 10880 ac_lib_var=`echo $lib'_'tgetent | sed 'y%./+-%__p_%'` | 10896 ac_lib_var=`echo $lib'_'tgetent | sed 'y%./+-%__p_%'` |
| 10881 | 10897 |
| 10882 xe_check_libs=" -l$lib " | 10898 xe_check_libs=" -l$lib " |
| 10883 cat > conftest.$ac_ext <<EOF | 10899 cat > conftest.$ac_ext <<EOF |
| 10884 #line 10885 "configure" | 10900 #line 10901 "configure" |
| 10885 #include "confdefs.h" | 10901 #include "confdefs.h" |
| 10886 /* Override any gcc2 internal prototype to avoid an error. */ | 10902 /* Override any gcc2 internal prototype to avoid an error. */ |
| 10887 /* We use char because int might match the return type of a gcc2 | 10903 /* We use char because int might match the return type of a gcc2 |
| 10888 builtin and then its argument prototype would still apply. */ | 10904 builtin and then its argument prototype would still apply. */ |
| 10889 char tgetent(); | 10905 char tgetent(); |
| 10890 | 10906 |
| 10891 int main() { | 10907 int main() { |
| 10892 tgetent() | 10908 tgetent() |
| 10893 ; return 0; } | 10909 ; return 0; } |
| 10894 EOF | 10910 EOF |
| 10895 if { (eval echo configure:10896: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10911 if { (eval echo configure:10912: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 10896 rm -rf conftest* | 10912 rm -rf conftest* |
| 10897 eval "ac_cv_lib_$ac_lib_var=yes" | 10913 eval "ac_cv_lib_$ac_lib_var=yes" |
| 10898 else | 10914 else |
| 10899 echo "configure: failed program was:" >&5 | 10915 echo "configure: failed program was:" >&5 |
| 10900 cat conftest.$ac_ext >&5 | 10916 cat conftest.$ac_ext >&5 |
| 10921 if test -n "$libs_termcap"; then | 10937 if test -n "$libs_termcap"; then |
| 10922 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi | 10938 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi |
| 10923 else | 10939 else |
| 10924 | 10940 |
| 10925 echo $ac_n "checking for tgetent in -lcurses""... $ac_c" 1>&6 | 10941 echo $ac_n "checking for tgetent in -lcurses""... $ac_c" 1>&6 |
| 10926 echo "configure:10927: checking for tgetent in -lcurses" >&5 | 10942 echo "configure:10943: checking for tgetent in -lcurses" >&5 |
| 10927 ac_lib_var=`echo curses'_'tgetent | sed 'y%./+-%__p_%'` | 10943 ac_lib_var=`echo curses'_'tgetent | sed 'y%./+-%__p_%'` |
| 10928 | 10944 |
| 10929 xe_check_libs=" -lcurses " | 10945 xe_check_libs=" -lcurses " |
| 10930 cat > conftest.$ac_ext <<EOF | 10946 cat > conftest.$ac_ext <<EOF |
| 10931 #line 10932 "configure" | 10947 #line 10948 "configure" |
| 10932 #include "confdefs.h" | 10948 #include "confdefs.h" |
| 10933 /* Override any gcc2 internal prototype to avoid an error. */ | 10949 /* Override any gcc2 internal prototype to avoid an error. */ |
| 10934 /* We use char because int might match the return type of a gcc2 | 10950 /* We use char because int might match the return type of a gcc2 |
| 10935 builtin and then its argument prototype would still apply. */ | 10951 builtin and then its argument prototype would still apply. */ |
| 10936 char tgetent(); | 10952 char tgetent(); |
| 10937 | 10953 |
| 10938 int main() { | 10954 int main() { |
| 10939 tgetent() | 10955 tgetent() |
| 10940 ; return 0; } | 10956 ; return 0; } |
| 10941 EOF | 10957 EOF |
| 10942 if { (eval echo configure:10943: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10958 if { (eval echo configure:10959: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 10943 rm -rf conftest* | 10959 rm -rf conftest* |
| 10944 eval "ac_cv_lib_$ac_lib_var=yes" | 10960 eval "ac_cv_lib_$ac_lib_var=yes" |
| 10945 else | 10961 else |
| 10946 echo "configure: failed program was:" >&5 | 10962 echo "configure: failed program was:" >&5 |
| 10947 cat conftest.$ac_ext >&5 | 10963 cat conftest.$ac_ext >&5 |
| 10955 echo "$ac_t""yes" 1>&6 | 10971 echo "$ac_t""yes" 1>&6 |
| 10956 LIBS="-lcurses $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lcurses\" to \$LIBS"; fi | 10972 LIBS="-lcurses $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lcurses\" to \$LIBS"; fi |
| 10957 else | 10973 else |
| 10958 echo "$ac_t""no" 1>&6 | 10974 echo "$ac_t""no" 1>&6 |
| 10959 echo $ac_n "checking for tgetent in -ltermcap""... $ac_c" 1>&6 | 10975 echo $ac_n "checking for tgetent in -ltermcap""... $ac_c" 1>&6 |
| 10960 echo "configure:10961: checking for tgetent in -ltermcap" >&5 | 10976 echo "configure:10977: checking for tgetent in -ltermcap" >&5 |
| 10961 ac_lib_var=`echo termcap'_'tgetent | sed 'y%./+-%__p_%'` | 10977 ac_lib_var=`echo termcap'_'tgetent | sed 'y%./+-%__p_%'` |
| 10962 | 10978 |
| 10963 xe_check_libs=" -ltermcap " | 10979 xe_check_libs=" -ltermcap " |
| 10964 cat > conftest.$ac_ext <<EOF | 10980 cat > conftest.$ac_ext <<EOF |
| 10965 #line 10966 "configure" | 10981 #line 10982 "configure" |
| 10966 #include "confdefs.h" | 10982 #include "confdefs.h" |
| 10967 /* Override any gcc2 internal prototype to avoid an error. */ | 10983 /* Override any gcc2 internal prototype to avoid an error. */ |
| 10968 /* We use char because int might match the return type of a gcc2 | 10984 /* We use char because int might match the return type of a gcc2 |
| 10969 builtin and then its argument prototype would still apply. */ | 10985 builtin and then its argument prototype would still apply. */ |
| 10970 char tgetent(); | 10986 char tgetent(); |
| 10971 | 10987 |
| 10972 int main() { | 10988 int main() { |
| 10973 tgetent() | 10989 tgetent() |
| 10974 ; return 0; } | 10990 ; return 0; } |
| 10975 EOF | 10991 EOF |
| 10976 if { (eval echo configure:10977: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10992 if { (eval echo configure:10993: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 10977 rm -rf conftest* | 10993 rm -rf conftest* |
| 10978 eval "ac_cv_lib_$ac_lib_var=yes" | 10994 eval "ac_cv_lib_$ac_lib_var=yes" |
| 10979 else | 10995 else |
| 10980 echo "configure: failed program was:" >&5 | 10996 echo "configure: failed program was:" >&5 |
| 10981 cat conftest.$ac_ext >&5 | 10997 cat conftest.$ac_ext >&5 |
| 11019 } | 11035 } |
| 11020 | 11036 |
| 11021 | 11037 |
| 11022 test -z "$with_gpm" && { ac_safe=`echo "gpm.h" | sed 'y%./+-%__p_%'` | 11038 test -z "$with_gpm" && { ac_safe=`echo "gpm.h" | sed 'y%./+-%__p_%'` |
| 11023 echo $ac_n "checking for gpm.h""... $ac_c" 1>&6 | 11039 echo $ac_n "checking for gpm.h""... $ac_c" 1>&6 |
| 11024 echo "configure:11025: checking for gpm.h" >&5 | 11040 echo "configure:11041: checking for gpm.h" >&5 |
| 11025 | 11041 |
| 11026 cat > conftest.$ac_ext <<EOF | 11042 cat > conftest.$ac_ext <<EOF |
| 11027 #line 11028 "configure" | 11043 #line 11044 "configure" |
| 11028 #include "confdefs.h" | 11044 #include "confdefs.h" |
| 11029 #include <gpm.h> | 11045 #include <gpm.h> |
| 11030 EOF | 11046 EOF |
| 11031 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 11047 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 11032 { (eval echo configure:11033: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 11048 { (eval echo configure:11049: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 11033 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 11049 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 11034 if test -z "$ac_err"; then | 11050 if test -z "$ac_err"; then |
| 11035 rm -rf conftest* | 11051 rm -rf conftest* |
| 11036 eval "ac_cv_header_$ac_safe=yes" | 11052 eval "ac_cv_header_$ac_safe=yes" |
| 11037 else | 11053 else |
| 11050 with_gpm=no | 11066 with_gpm=no |
| 11051 fi | 11067 fi |
| 11052 } | 11068 } |
| 11053 test -z "$with_gpm" && { | 11069 test -z "$with_gpm" && { |
| 11054 echo $ac_n "checking for Gpm_Open in -lgpm""... $ac_c" 1>&6 | 11070 echo $ac_n "checking for Gpm_Open in -lgpm""... $ac_c" 1>&6 |
| 11055 echo "configure:11056: checking for Gpm_Open in -lgpm" >&5 | 11071 echo "configure:11072: checking for Gpm_Open in -lgpm" >&5 |
| 11056 ac_lib_var=`echo gpm'_'Gpm_Open | sed 'y%./+-%__p_%'` | 11072 ac_lib_var=`echo gpm'_'Gpm_Open | sed 'y%./+-%__p_%'` |
| 11057 | 11073 |
| 11058 xe_check_libs=" -lgpm " | 11074 xe_check_libs=" -lgpm " |
| 11059 cat > conftest.$ac_ext <<EOF | 11075 cat > conftest.$ac_ext <<EOF |
| 11060 #line 11061 "configure" | 11076 #line 11077 "configure" |
| 11061 #include "confdefs.h" | 11077 #include "confdefs.h" |
| 11062 /* Override any gcc2 internal prototype to avoid an error. */ | 11078 /* Override any gcc2 internal prototype to avoid an error. */ |
| 11063 /* We use char because int might match the return type of a gcc2 | 11079 /* We use char because int might match the return type of a gcc2 |
| 11064 builtin and then its argument prototype would still apply. */ | 11080 builtin and then its argument prototype would still apply. */ |
| 11065 char Gpm_Open(); | 11081 char Gpm_Open(); |
| 11066 | 11082 |
| 11067 int main() { | 11083 int main() { |
| 11068 Gpm_Open() | 11084 Gpm_Open() |
| 11069 ; return 0; } | 11085 ; return 0; } |
| 11070 EOF | 11086 EOF |
| 11071 if { (eval echo configure:11072: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11087 if { (eval echo configure:11088: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 11072 rm -rf conftest* | 11088 rm -rf conftest* |
| 11073 eval "ac_cv_lib_$ac_lib_var=yes" | 11089 eval "ac_cv_lib_$ac_lib_var=yes" |
| 11074 else | 11090 else |
| 11075 echo "configure: failed program was:" >&5 | 11091 echo "configure: failed program was:" >&5 |
| 11076 cat conftest.$ac_ext >&5 | 11092 cat conftest.$ac_ext >&5 |
| 11115 echo " xemacs will be linked with \"event-unixoid.o\"" | 11131 echo " xemacs will be linked with \"event-unixoid.o\"" |
| 11116 fi | 11132 fi |
| 11117 | 11133 |
| 11118 | 11134 |
| 11119 echo "checking for database support" 1>&6 | 11135 echo "checking for database support" 1>&6 |
| 11120 echo "configure:11121: checking for database support" >&5 | 11136 echo "configure:11137: checking for database support" >&5 |
| 11121 | 11137 |
| 11122 if test "$with_database_gnudbm $with_database_dbm" != "no no"; then | 11138 if test "$with_database_gnudbm $with_database_dbm" != "no no"; then |
| 11123 ac_safe=`echo "ndbm.h" | sed 'y%./+-%__p_%'` | 11139 ac_safe=`echo "ndbm.h" | sed 'y%./+-%__p_%'` |
| 11124 echo $ac_n "checking for ndbm.h""... $ac_c" 1>&6 | 11140 echo $ac_n "checking for ndbm.h""... $ac_c" 1>&6 |
| 11125 echo "configure:11126: checking for ndbm.h" >&5 | 11141 echo "configure:11142: checking for ndbm.h" >&5 |
| 11126 | 11142 |
| 11127 cat > conftest.$ac_ext <<EOF | 11143 cat > conftest.$ac_ext <<EOF |
| 11128 #line 11129 "configure" | 11144 #line 11145 "configure" |
| 11129 #include "confdefs.h" | 11145 #include "confdefs.h" |
| 11130 #include <ndbm.h> | 11146 #include <ndbm.h> |
| 11131 EOF | 11147 EOF |
| 11132 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 11148 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 11133 { (eval echo configure:11134: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 11149 { (eval echo configure:11150: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 11134 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 11150 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 11135 if test -z "$ac_err"; then | 11151 if test -z "$ac_err"; then |
| 11136 rm -rf conftest* | 11152 rm -rf conftest* |
| 11137 eval "ac_cv_header_$ac_safe=yes" | 11153 eval "ac_cv_header_$ac_safe=yes" |
| 11138 else | 11154 else |
| 11158 fi | 11174 fi |
| 11159 | 11175 |
| 11160 if test "$with_database_gnudbm" != "no"; then | 11176 if test "$with_database_gnudbm" != "no"; then |
| 11161 | 11177 |
| 11162 echo $ac_n "checking for dbm_open in -lgdbm""... $ac_c" 1>&6 | 11178 echo $ac_n "checking for dbm_open in -lgdbm""... $ac_c" 1>&6 |
| 11163 echo "configure:11164: checking for dbm_open in -lgdbm" >&5 | 11179 echo "configure:11180: checking for dbm_open in -lgdbm" >&5 |
| 11164 ac_lib_var=`echo gdbm'_'dbm_open | sed 'y%./+-%__p_%'` | 11180 ac_lib_var=`echo gdbm'_'dbm_open | sed 'y%./+-%__p_%'` |
| 11165 | 11181 |
| 11166 xe_check_libs=" -lgdbm " | 11182 xe_check_libs=" -lgdbm " |
| 11167 cat > conftest.$ac_ext <<EOF | 11183 cat > conftest.$ac_ext <<EOF |
| 11168 #line 11169 "configure" | 11184 #line 11185 "configure" |
| 11169 #include "confdefs.h" | 11185 #include "confdefs.h" |
| 11170 /* Override any gcc2 internal prototype to avoid an error. */ | 11186 /* Override any gcc2 internal prototype to avoid an error. */ |
| 11171 /* We use char because int might match the return type of a gcc2 | 11187 /* We use char because int might match the return type of a gcc2 |
| 11172 builtin and then its argument prototype would still apply. */ | 11188 builtin and then its argument prototype would still apply. */ |
| 11173 char dbm_open(); | 11189 char dbm_open(); |
| 11174 | 11190 |
| 11175 int main() { | 11191 int main() { |
| 11176 dbm_open() | 11192 dbm_open() |
| 11177 ; return 0; } | 11193 ; return 0; } |
| 11178 EOF | 11194 EOF |
| 11179 if { (eval echo configure:11180: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11195 if { (eval echo configure:11196: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 11180 rm -rf conftest* | 11196 rm -rf conftest* |
| 11181 eval "ac_cv_lib_$ac_lib_var=yes" | 11197 eval "ac_cv_lib_$ac_lib_var=yes" |
| 11182 else | 11198 else |
| 11183 echo "configure: failed program was:" >&5 | 11199 echo "configure: failed program was:" >&5 |
| 11184 cat conftest.$ac_ext >&5 | 11200 cat conftest.$ac_ext >&5 |
| 11202 | 11218 |
| 11203 fi | 11219 fi |
| 11204 | 11220 |
| 11205 if test "$with_database_dbm" != "no"; then | 11221 if test "$with_database_dbm" != "no"; then |
| 11206 echo $ac_n "checking for dbm_open""... $ac_c" 1>&6 | 11222 echo $ac_n "checking for dbm_open""... $ac_c" 1>&6 |
| 11207 echo "configure:11208: checking for dbm_open" >&5 | 11223 echo "configure:11224: checking for dbm_open" >&5 |
| 11208 | 11224 |
| 11209 cat > conftest.$ac_ext <<EOF | 11225 cat > conftest.$ac_ext <<EOF |
| 11210 #line 11211 "configure" | 11226 #line 11227 "configure" |
| 11211 #include "confdefs.h" | 11227 #include "confdefs.h" |
| 11212 /* System header to define __stub macros and hopefully few prototypes, | 11228 /* System header to define __stub macros and hopefully few prototypes, |
| 11213 which can conflict with char dbm_open(); below. */ | 11229 which can conflict with char dbm_open(); below. */ |
| 11214 #include <assert.h> | 11230 #include <assert.h> |
| 11215 /* Override any gcc2 internal prototype to avoid an error. */ | 11231 /* Override any gcc2 internal prototype to avoid an error. */ |
| 11228 dbm_open(); | 11244 dbm_open(); |
| 11229 #endif | 11245 #endif |
| 11230 | 11246 |
| 11231 ; return 0; } | 11247 ; return 0; } |
| 11232 EOF | 11248 EOF |
| 11233 if { (eval echo configure:11234: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11249 if { (eval echo configure:11250: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 11234 rm -rf conftest* | 11250 rm -rf conftest* |
| 11235 eval "ac_cv_func_dbm_open=yes" | 11251 eval "ac_cv_func_dbm_open=yes" |
| 11236 else | 11252 else |
| 11237 echo "configure: failed program was:" >&5 | 11253 echo "configure: failed program was:" >&5 |
| 11238 cat conftest.$ac_ext >&5 | 11254 cat conftest.$ac_ext >&5 |
| 11247 else | 11263 else |
| 11248 echo "$ac_t""no" 1>&6 | 11264 echo "$ac_t""no" 1>&6 |
| 11249 | 11265 |
| 11250 | 11266 |
| 11251 echo $ac_n "checking for dbm_open in -ldbm""... $ac_c" 1>&6 | 11267 echo $ac_n "checking for dbm_open in -ldbm""... $ac_c" 1>&6 |
| 11252 echo "configure:11253: checking for dbm_open in -ldbm" >&5 | 11268 echo "configure:11269: checking for dbm_open in -ldbm" >&5 |
| 11253 ac_lib_var=`echo dbm'_'dbm_open | sed 'y%./+-%__p_%'` | 11269 ac_lib_var=`echo dbm'_'dbm_open | sed 'y%./+-%__p_%'` |
| 11254 | 11270 |
| 11255 xe_check_libs=" -ldbm " | 11271 xe_check_libs=" -ldbm " |
| 11256 cat > conftest.$ac_ext <<EOF | 11272 cat > conftest.$ac_ext <<EOF |
| 11257 #line 11258 "configure" | 11273 #line 11274 "configure" |
| 11258 #include "confdefs.h" | 11274 #include "confdefs.h" |
| 11259 /* Override any gcc2 internal prototype to avoid an error. */ | 11275 /* Override any gcc2 internal prototype to avoid an error. */ |
| 11260 /* We use char because int might match the return type of a gcc2 | 11276 /* We use char because int might match the return type of a gcc2 |
| 11261 builtin and then its argument prototype would still apply. */ | 11277 builtin and then its argument prototype would still apply. */ |
| 11262 char dbm_open(); | 11278 char dbm_open(); |
| 11263 | 11279 |
| 11264 int main() { | 11280 int main() { |
| 11265 dbm_open() | 11281 dbm_open() |
| 11266 ; return 0; } | 11282 ; return 0; } |
| 11267 EOF | 11283 EOF |
| 11268 if { (eval echo configure:11269: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11284 if { (eval echo configure:11285: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 11269 rm -rf conftest* | 11285 rm -rf conftest* |
| 11270 eval "ac_cv_lib_$ac_lib_var=yes" | 11286 eval "ac_cv_lib_$ac_lib_var=yes" |
| 11271 else | 11287 else |
| 11272 echo "configure: failed program was:" >&5 | 11288 echo "configure: failed program was:" >&5 |
| 11273 cat conftest.$ac_ext >&5 | 11289 cat conftest.$ac_ext >&5 |
| 11305 | 11321 |
| 11306 fi | 11322 fi |
| 11307 | 11323 |
| 11308 if test "$with_database_berkdb" != "no"; then | 11324 if test "$with_database_berkdb" != "no"; then |
| 11309 echo $ac_n "checking for Berkeley db.h""... $ac_c" 1>&6 | 11325 echo $ac_n "checking for Berkeley db.h""... $ac_c" 1>&6 |
| 11310 echo "configure:11311: checking for Berkeley db.h" >&5 | 11326 echo "configure:11327: checking for Berkeley db.h" >&5 |
| 11311 for path in "db/db.h" "db.h"; do | 11327 for path in "db/db.h" "db.h"; do |
| 11312 cat > conftest.$ac_ext <<EOF | 11328 cat > conftest.$ac_ext <<EOF |
| 11313 #line 11314 "configure" | 11329 #line 11330 "configure" |
| 11314 #include "confdefs.h" | 11330 #include "confdefs.h" |
| 11315 | 11331 |
| 11316 #include <stdlib.h> | 11332 #include <stdlib.h> |
| 11317 #if !(defined __GLIBC__ && __GLIBC_MINOR__ >= 1) | 11333 #if !(defined __GLIBC__ && __GLIBC_MINOR__ >= 1) |
| 11318 #ifdef HAVE_INTTYPES_H | 11334 #ifdef HAVE_INTTYPES_H |
| 11330 | 11346 |
| 11331 int main() { | 11347 int main() { |
| 11332 | 11348 |
| 11333 ; return 0; } | 11349 ; return 0; } |
| 11334 EOF | 11350 EOF |
| 11335 if { (eval echo configure:11336: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 11351 if { (eval echo configure:11352: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| 11336 rm -rf conftest* | 11352 rm -rf conftest* |
| 11337 db_h_path="$path"; break | 11353 db_h_path="$path"; break |
| 11338 else | 11354 else |
| 11339 echo "configure: failed program was:" >&5 | 11355 echo "configure: failed program was:" >&5 |
| 11340 cat conftest.$ac_ext >&5 | 11356 cat conftest.$ac_ext >&5 |
| 11346 else echo "$ac_t""$db_h_path" 1>&6 | 11362 else echo "$ac_t""$db_h_path" 1>&6 |
| 11347 fi | 11363 fi |
| 11348 | 11364 |
| 11349 if test "$with_database_berkdb" != "no"; then | 11365 if test "$with_database_berkdb" != "no"; then |
| 11350 echo $ac_n "checking for Berkeley DB version""... $ac_c" 1>&6 | 11366 echo $ac_n "checking for Berkeley DB version""... $ac_c" 1>&6 |
| 11351 echo "configure:11352: checking for Berkeley DB version" >&5 | 11367 echo "configure:11368: checking for Berkeley DB version" >&5 |
| 11352 cat > conftest.$ac_ext <<EOF | 11368 cat > conftest.$ac_ext <<EOF |
| 11353 #line 11354 "configure" | 11369 #line 11370 "configure" |
| 11354 #include "confdefs.h" | 11370 #include "confdefs.h" |
| 11355 #include <$db_h_path> | 11371 #include <$db_h_path> |
| 11356 #if DB_VERSION_MAJOR > 1 | 11372 #if DB_VERSION_MAJOR > 1 |
| 11357 yes | 11373 yes |
| 11358 #endif | 11374 #endif |
| 11367 echo "$ac_t""1" 1>&6; dbfunc=dbopen | 11383 echo "$ac_t""1" 1>&6; dbfunc=dbopen |
| 11368 fi | 11384 fi |
| 11369 rm -f conftest* | 11385 rm -f conftest* |
| 11370 | 11386 |
| 11371 echo $ac_n "checking for $dbfunc""... $ac_c" 1>&6 | 11387 echo $ac_n "checking for $dbfunc""... $ac_c" 1>&6 |
| 11372 echo "configure:11373: checking for $dbfunc" >&5 | 11388 echo "configure:11389: checking for $dbfunc" >&5 |
| 11373 | 11389 |
| 11374 cat > conftest.$ac_ext <<EOF | 11390 cat > conftest.$ac_ext <<EOF |
| 11375 #line 11376 "configure" | 11391 #line 11392 "configure" |
| 11376 #include "confdefs.h" | 11392 #include "confdefs.h" |
| 11377 /* System header to define __stub macros and hopefully few prototypes, | 11393 /* System header to define __stub macros and hopefully few prototypes, |
| 11378 which can conflict with char $dbfunc(); below. */ | 11394 which can conflict with char $dbfunc(); below. */ |
| 11379 #include <assert.h> | 11395 #include <assert.h> |
| 11380 /* Override any gcc2 internal prototype to avoid an error. */ | 11396 /* Override any gcc2 internal prototype to avoid an error. */ |
| 11393 $dbfunc(); | 11409 $dbfunc(); |
| 11394 #endif | 11410 #endif |
| 11395 | 11411 |
| 11396 ; return 0; } | 11412 ; return 0; } |
| 11397 EOF | 11413 EOF |
| 11398 if { (eval echo configure:11399: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11414 if { (eval echo configure:11415: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 11399 rm -rf conftest* | 11415 rm -rf conftest* |
| 11400 eval "ac_cv_func_$dbfunc=yes" | 11416 eval "ac_cv_func_$dbfunc=yes" |
| 11401 else | 11417 else |
| 11402 echo "configure: failed program was:" >&5 | 11418 echo "configure: failed program was:" >&5 |
| 11403 cat conftest.$ac_ext >&5 | 11419 cat conftest.$ac_ext >&5 |
| 11412 else | 11428 else |
| 11413 echo "$ac_t""no" 1>&6 | 11429 echo "$ac_t""no" 1>&6 |
| 11414 | 11430 |
| 11415 | 11431 |
| 11416 echo $ac_n "checking for $dbfunc in -ldb""... $ac_c" 1>&6 | 11432 echo $ac_n "checking for $dbfunc in -ldb""... $ac_c" 1>&6 |
| 11417 echo "configure:11418: checking for $dbfunc in -ldb" >&5 | 11433 echo "configure:11434: checking for $dbfunc in -ldb" >&5 |
| 11418 ac_lib_var=`echo db'_'$dbfunc | sed 'y%./+-%__p_%'` | 11434 ac_lib_var=`echo db'_'$dbfunc | sed 'y%./+-%__p_%'` |
| 11419 | 11435 |
| 11420 xe_check_libs=" -ldb " | 11436 xe_check_libs=" -ldb " |
| 11421 cat > conftest.$ac_ext <<EOF | 11437 cat > conftest.$ac_ext <<EOF |
| 11422 #line 11423 "configure" | 11438 #line 11439 "configure" |
| 11423 #include "confdefs.h" | 11439 #include "confdefs.h" |
| 11424 /* Override any gcc2 internal prototype to avoid an error. */ | 11440 /* Override any gcc2 internal prototype to avoid an error. */ |
| 11425 /* We use char because int might match the return type of a gcc2 | 11441 /* We use char because int might match the return type of a gcc2 |
| 11426 builtin and then its argument prototype would still apply. */ | 11442 builtin and then its argument prototype would still apply. */ |
| 11427 char $dbfunc(); | 11443 char $dbfunc(); |
| 11428 | 11444 |
| 11429 int main() { | 11445 int main() { |
| 11430 $dbfunc() | 11446 $dbfunc() |
| 11431 ; return 0; } | 11447 ; return 0; } |
| 11432 EOF | 11448 EOF |
| 11433 if { (eval echo configure:11434: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11449 if { (eval echo configure:11450: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 11434 rm -rf conftest* | 11450 rm -rf conftest* |
| 11435 eval "ac_cv_lib_$ac_lib_var=yes" | 11451 eval "ac_cv_lib_$ac_lib_var=yes" |
| 11436 else | 11452 else |
| 11437 echo "configure: failed program was:" >&5 | 11453 echo "configure: failed program was:" >&5 |
| 11438 cat conftest.$ac_ext >&5 | 11454 cat conftest.$ac_ext >&5 |
| 11492 fi | 11508 fi |
| 11493 | 11509 |
| 11494 if test "$with_socks" = "yes"; then | 11510 if test "$with_socks" = "yes"; then |
| 11495 | 11511 |
| 11496 echo $ac_n "checking for SOCKSinit in -lsocks""... $ac_c" 1>&6 | 11512 echo $ac_n "checking for SOCKSinit in -lsocks""... $ac_c" 1>&6 |
| 11497 echo "configure:11498: checking for SOCKSinit in -lsocks" >&5 | 11513 echo "configure:11514: checking for SOCKSinit in -lsocks" >&5 |
| 11498 ac_lib_var=`echo socks'_'SOCKSinit | sed 'y%./+-%__p_%'` | 11514 ac_lib_var=`echo socks'_'SOCKSinit | sed 'y%./+-%__p_%'` |
| 11499 | 11515 |
| 11500 xe_check_libs=" -lsocks " | 11516 xe_check_libs=" -lsocks " |
| 11501 cat > conftest.$ac_ext <<EOF | 11517 cat > conftest.$ac_ext <<EOF |
| 11502 #line 11503 "configure" | 11518 #line 11519 "configure" |
| 11503 #include "confdefs.h" | 11519 #include "confdefs.h" |
| 11504 /* Override any gcc2 internal prototype to avoid an error. */ | 11520 /* Override any gcc2 internal prototype to avoid an error. */ |
| 11505 /* We use char because int might match the return type of a gcc2 | 11521 /* We use char because int might match the return type of a gcc2 |
| 11506 builtin and then its argument prototype would still apply. */ | 11522 builtin and then its argument prototype would still apply. */ |
| 11507 char SOCKSinit(); | 11523 char SOCKSinit(); |
| 11508 | 11524 |
| 11509 int main() { | 11525 int main() { |
| 11510 SOCKSinit() | 11526 SOCKSinit() |
| 11511 ; return 0; } | 11527 ; return 0; } |
| 11512 EOF | 11528 EOF |
| 11513 if { (eval echo configure:11514: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11529 if { (eval echo configure:11530: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 11514 rm -rf conftest* | 11530 rm -rf conftest* |
| 11515 eval "ac_cv_lib_$ac_lib_var=yes" | 11531 eval "ac_cv_lib_$ac_lib_var=yes" |
| 11516 else | 11532 else |
| 11517 echo "configure: failed program was:" >&5 | 11533 echo "configure: failed program was:" >&5 |
| 11518 cat conftest.$ac_ext >&5 | 11534 cat conftest.$ac_ext >&5 |
| 11567 | 11583 |
| 11568 for ac_hdr in dlfcn.h | 11584 for ac_hdr in dlfcn.h |
| 11569 do | 11585 do |
| 11570 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 11586 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
| 11571 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 11587 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
| 11572 echo "configure:11573: checking for $ac_hdr" >&5 | 11588 echo "configure:11589: checking for $ac_hdr" >&5 |
| 11573 | 11589 |
| 11574 cat > conftest.$ac_ext <<EOF | 11590 cat > conftest.$ac_ext <<EOF |
| 11575 #line 11576 "configure" | 11591 #line 11592 "configure" |
| 11576 #include "confdefs.h" | 11592 #include "confdefs.h" |
| 11577 #include <$ac_hdr> | 11593 #include <$ac_hdr> |
| 11578 EOF | 11594 EOF |
| 11579 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 11595 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 11580 { (eval echo configure:11581: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 11596 { (eval echo configure:11597: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 11581 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 11597 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 11582 if test -z "$ac_err"; then | 11598 if test -z "$ac_err"; then |
| 11583 rm -rf conftest* | 11599 rm -rf conftest* |
| 11584 eval "ac_cv_header_$ac_safe=yes" | 11600 eval "ac_cv_header_$ac_safe=yes" |
| 11585 else | 11601 else |
| 11606 fi | 11622 fi |
| 11607 done | 11623 done |
| 11608 | 11624 |
| 11609 test -z "$with_shlib" && test ! -z "$have_dlfcn" && { | 11625 test -z "$with_shlib" && test ! -z "$have_dlfcn" && { |
| 11610 echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6 | 11626 echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6 |
| 11611 echo "configure:11612: checking for dlopen in -ldl" >&5 | 11627 echo "configure:11628: checking for dlopen in -ldl" >&5 |
| 11612 ac_lib_var=`echo dl'_'dlopen | sed 'y%./+-%__p_%'` | 11628 ac_lib_var=`echo dl'_'dlopen | sed 'y%./+-%__p_%'` |
| 11613 | 11629 |
| 11614 xe_check_libs=" -ldl " | 11630 xe_check_libs=" -ldl " |
| 11615 cat > conftest.$ac_ext <<EOF | 11631 cat > conftest.$ac_ext <<EOF |
| 11616 #line 11617 "configure" | 11632 #line 11633 "configure" |
| 11617 #include "confdefs.h" | 11633 #include "confdefs.h" |
| 11618 /* Override any gcc2 internal prototype to avoid an error. */ | 11634 /* Override any gcc2 internal prototype to avoid an error. */ |
| 11619 /* We use char because int might match the return type of a gcc2 | 11635 /* We use char because int might match the return type of a gcc2 |
| 11620 builtin and then its argument prototype would still apply. */ | 11636 builtin and then its argument prototype would still apply. */ |
| 11621 char dlopen(); | 11637 char dlopen(); |
| 11622 | 11638 |
| 11623 int main() { | 11639 int main() { |
| 11624 dlopen() | 11640 dlopen() |
| 11625 ; return 0; } | 11641 ; return 0; } |
| 11626 EOF | 11642 EOF |
| 11627 if { (eval echo configure:11628: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11643 if { (eval echo configure:11644: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 11628 rm -rf conftest* | 11644 rm -rf conftest* |
| 11629 eval "ac_cv_lib_$ac_lib_var=yes" | 11645 eval "ac_cv_lib_$ac_lib_var=yes" |
| 11630 else | 11646 else |
| 11631 echo "configure: failed program was:" >&5 | 11647 echo "configure: failed program was:" >&5 |
| 11632 cat conftest.$ac_ext >&5 | 11648 cat conftest.$ac_ext >&5 |
| 11651 fi | 11667 fi |
| 11652 | 11668 |
| 11653 } | 11669 } |
| 11654 test -z "$with_shlib" && test ! -z "$have_dlfcn" && { | 11670 test -z "$with_shlib" && test ! -z "$have_dlfcn" && { |
| 11655 echo $ac_n "checking for _dlopen in -lc""... $ac_c" 1>&6 | 11671 echo $ac_n "checking for _dlopen in -lc""... $ac_c" 1>&6 |
| 11656 echo "configure:11657: checking for _dlopen in -lc" >&5 | 11672 echo "configure:11673: checking for _dlopen in -lc" >&5 |
| 11657 ac_lib_var=`echo c'_'_dlopen | sed 'y%./+-%__p_%'` | 11673 ac_lib_var=`echo c'_'_dlopen | sed 'y%./+-%__p_%'` |
| 11658 | 11674 |
| 11659 xe_check_libs=" -lc " | 11675 xe_check_libs=" -lc " |
| 11660 cat > conftest.$ac_ext <<EOF | 11676 cat > conftest.$ac_ext <<EOF |
| 11661 #line 11662 "configure" | 11677 #line 11678 "configure" |
| 11662 #include "confdefs.h" | 11678 #include "confdefs.h" |
| 11663 /* Override any gcc2 internal prototype to avoid an error. */ | 11679 /* Override any gcc2 internal prototype to avoid an error. */ |
| 11664 /* We use char because int might match the return type of a gcc2 | 11680 /* We use char because int might match the return type of a gcc2 |
| 11665 builtin and then its argument prototype would still apply. */ | 11681 builtin and then its argument prototype would still apply. */ |
| 11666 char _dlopen(); | 11682 char _dlopen(); |
| 11667 | 11683 |
| 11668 int main() { | 11684 int main() { |
| 11669 _dlopen() | 11685 _dlopen() |
| 11670 ; return 0; } | 11686 ; return 0; } |
| 11671 EOF | 11687 EOF |
| 11672 if { (eval echo configure:11673: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11688 if { (eval echo configure:11689: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 11673 rm -rf conftest* | 11689 rm -rf conftest* |
| 11674 eval "ac_cv_lib_$ac_lib_var=yes" | 11690 eval "ac_cv_lib_$ac_lib_var=yes" |
| 11675 else | 11691 else |
| 11676 echo "configure: failed program was:" >&5 | 11692 echo "configure: failed program was:" >&5 |
| 11677 cat conftest.$ac_ext >&5 | 11693 cat conftest.$ac_ext >&5 |
| 11696 fi | 11712 fi |
| 11697 | 11713 |
| 11698 } | 11714 } |
| 11699 test -z "$with_shlib" && test ! -z "$have_dlfcn" && { | 11715 test -z "$with_shlib" && test ! -z "$have_dlfcn" && { |
| 11700 echo $ac_n "checking for dlopen in -lc""... $ac_c" 1>&6 | 11716 echo $ac_n "checking for dlopen in -lc""... $ac_c" 1>&6 |
| 11701 echo "configure:11702: checking for dlopen in -lc" >&5 | 11717 echo "configure:11718: checking for dlopen in -lc" >&5 |
| 11702 ac_lib_var=`echo c'_'dlopen | sed 'y%./+-%__p_%'` | 11718 ac_lib_var=`echo c'_'dlopen | sed 'y%./+-%__p_%'` |
| 11703 | 11719 |
| 11704 xe_check_libs=" -lc " | 11720 xe_check_libs=" -lc " |
| 11705 cat > conftest.$ac_ext <<EOF | 11721 cat > conftest.$ac_ext <<EOF |
| 11706 #line 11707 "configure" | 11722 #line 11723 "configure" |
| 11707 #include "confdefs.h" | 11723 #include "confdefs.h" |
| 11708 /* Override any gcc2 internal prototype to avoid an error. */ | 11724 /* Override any gcc2 internal prototype to avoid an error. */ |
| 11709 /* We use char because int might match the return type of a gcc2 | 11725 /* We use char because int might match the return type of a gcc2 |
| 11710 builtin and then its argument prototype would still apply. */ | 11726 builtin and then its argument prototype would still apply. */ |
| 11711 char dlopen(); | 11727 char dlopen(); |
| 11712 | 11728 |
| 11713 int main() { | 11729 int main() { |
| 11714 dlopen() | 11730 dlopen() |
| 11715 ; return 0; } | 11731 ; return 0; } |
| 11716 EOF | 11732 EOF |
| 11717 if { (eval echo configure:11718: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11733 if { (eval echo configure:11734: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 11718 rm -rf conftest* | 11734 rm -rf conftest* |
| 11719 eval "ac_cv_lib_$ac_lib_var=yes" | 11735 eval "ac_cv_lib_$ac_lib_var=yes" |
| 11720 else | 11736 else |
| 11721 echo "configure: failed program was:" >&5 | 11737 echo "configure: failed program was:" >&5 |
| 11722 cat conftest.$ac_ext >&5 | 11738 cat conftest.$ac_ext >&5 |
| 11741 fi | 11757 fi |
| 11742 | 11758 |
| 11743 } | 11759 } |
| 11744 test -z "$with_shlib" && { | 11760 test -z "$with_shlib" && { |
| 11745 echo $ac_n "checking for shl_load in -ldld""... $ac_c" 1>&6 | 11761 echo $ac_n "checking for shl_load in -ldld""... $ac_c" 1>&6 |
| 11746 echo "configure:11747: checking for shl_load in -ldld" >&5 | 11762 echo "configure:11763: checking for shl_load in -ldld" >&5 |
| 11747 ac_lib_var=`echo dld'_'shl_load | sed 'y%./+-%__p_%'` | 11763 ac_lib_var=`echo dld'_'shl_load | sed 'y%./+-%__p_%'` |
| 11748 | 11764 |
| 11749 xe_check_libs=" -ldld " | 11765 xe_check_libs=" -ldld " |
| 11750 cat > conftest.$ac_ext <<EOF | 11766 cat > conftest.$ac_ext <<EOF |
| 11751 #line 11752 "configure" | 11767 #line 11768 "configure" |
| 11752 #include "confdefs.h" | 11768 #include "confdefs.h" |
| 11753 /* Override any gcc2 internal prototype to avoid an error. */ | 11769 /* Override any gcc2 internal prototype to avoid an error. */ |
| 11754 /* We use char because int might match the return type of a gcc2 | 11770 /* We use char because int might match the return type of a gcc2 |
| 11755 builtin and then its argument prototype would still apply. */ | 11771 builtin and then its argument prototype would still apply. */ |
| 11756 char shl_load(); | 11772 char shl_load(); |
| 11757 | 11773 |
| 11758 int main() { | 11774 int main() { |
| 11759 shl_load() | 11775 shl_load() |
| 11760 ; return 0; } | 11776 ; return 0; } |
| 11761 EOF | 11777 EOF |
| 11762 if { (eval echo configure:11763: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11778 if { (eval echo configure:11779: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 11763 rm -rf conftest* | 11779 rm -rf conftest* |
| 11764 eval "ac_cv_lib_$ac_lib_var=yes" | 11780 eval "ac_cv_lib_$ac_lib_var=yes" |
| 11765 else | 11781 else |
| 11766 echo "configure: failed program was:" >&5 | 11782 echo "configure: failed program was:" >&5 |
| 11767 cat conftest.$ac_ext >&5 | 11783 cat conftest.$ac_ext >&5 |
| 11786 fi | 11802 fi |
| 11787 | 11803 |
| 11788 } | 11804 } |
| 11789 test -z "$with_shlib" && { | 11805 test -z "$with_shlib" && { |
| 11790 echo $ac_n "checking for dld_init in -ldld""... $ac_c" 1>&6 | 11806 echo $ac_n "checking for dld_init in -ldld""... $ac_c" 1>&6 |
| 11791 echo "configure:11792: checking for dld_init in -ldld" >&5 | 11807 echo "configure:11808: checking for dld_init in -ldld" >&5 |
| 11792 ac_lib_var=`echo dld'_'dld_init | sed 'y%./+-%__p_%'` | 11808 ac_lib_var=`echo dld'_'dld_init | sed 'y%./+-%__p_%'` |
| 11793 | 11809 |
| 11794 xe_check_libs=" -ldld " | 11810 xe_check_libs=" -ldld " |
| 11795 cat > conftest.$ac_ext <<EOF | 11811 cat > conftest.$ac_ext <<EOF |
| 11796 #line 11797 "configure" | 11812 #line 11813 "configure" |
| 11797 #include "confdefs.h" | 11813 #include "confdefs.h" |
| 11798 /* Override any gcc2 internal prototype to avoid an error. */ | 11814 /* Override any gcc2 internal prototype to avoid an error. */ |
| 11799 /* We use char because int might match the return type of a gcc2 | 11815 /* We use char because int might match the return type of a gcc2 |
| 11800 builtin and then its argument prototype would still apply. */ | 11816 builtin and then its argument prototype would still apply. */ |
| 11801 char dld_init(); | 11817 char dld_init(); |
| 11802 | 11818 |
| 11803 int main() { | 11819 int main() { |
| 11804 dld_init() | 11820 dld_init() |
| 11805 ; return 0; } | 11821 ; return 0; } |
| 11806 EOF | 11822 EOF |
| 11807 if { (eval echo configure:11808: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11823 if { (eval echo configure:11824: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 11808 rm -rf conftest* | 11824 rm -rf conftest* |
| 11809 eval "ac_cv_lib_$ac_lib_var=yes" | 11825 eval "ac_cv_lib_$ac_lib_var=yes" |
| 11810 else | 11826 else |
| 11811 echo "configure: failed program was:" >&5 | 11827 echo "configure: failed program was:" >&5 |
| 11812 cat conftest.$ac_ext >&5 | 11828 cat conftest.$ac_ext >&5 |
| 11852 dll_lflags="-shared" | 11868 dll_lflags="-shared" |
| 11853 dll_cflags="-r" | 11869 dll_cflags="-r" |
| 11854 dll_oflags="-o " | 11870 dll_oflags="-o " |
| 11855 | 11871 |
| 11856 echo $ac_n "checking how to build a shared library""... $ac_c" 1>&6 | 11872 echo $ac_n "checking how to build a shared library""... $ac_c" 1>&6 |
| 11857 echo "configure:11858: checking how to build a shared library" >&5 | 11873 echo "configure:11874: checking how to build a shared library" >&5 |
| 11858 case `uname -rs` in | 11874 case `uname -rs` in |
| 11859 UNIX_SV*|UNIX_System_V*) | 11875 UNIX_SV*|UNIX_System_V*) |
| 11860 dll_lflags="-G" | 11876 dll_lflags="-G" |
| 11861 dll_cflags=-Kpic | 11877 dll_cflags=-Kpic |
| 11862 dll_ld="ld" | 11878 dll_ld="ld" |
| 11943 | 11959 |
| 11944 | 11960 |
| 11945 for ac_func in dlerror | 11961 for ac_func in dlerror |
| 11946 do | 11962 do |
| 11947 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 11963 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
| 11948 echo "configure:11949: checking for $ac_func" >&5 | 11964 echo "configure:11965: checking for $ac_func" >&5 |
| 11949 | 11965 |
| 11950 cat > conftest.$ac_ext <<EOF | 11966 cat > conftest.$ac_ext <<EOF |
| 11951 #line 11952 "configure" | 11967 #line 11968 "configure" |
| 11952 #include "confdefs.h" | 11968 #include "confdefs.h" |
| 11953 /* System header to define __stub macros and hopefully few prototypes, | 11969 /* System header to define __stub macros and hopefully few prototypes, |
| 11954 which can conflict with char $ac_func(); below. */ | 11970 which can conflict with char $ac_func(); below. */ |
| 11955 #include <assert.h> | 11971 #include <assert.h> |
| 11956 /* Override any gcc2 internal prototype to avoid an error. */ | 11972 /* Override any gcc2 internal prototype to avoid an error. */ |
| 11969 $ac_func(); | 11985 $ac_func(); |
| 11970 #endif | 11986 #endif |
| 11971 | 11987 |
| 11972 ; return 0; } | 11988 ; return 0; } |
| 11973 EOF | 11989 EOF |
| 11974 if { (eval echo configure:11975: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11990 if { (eval echo configure:11991: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 11975 rm -rf conftest* | 11991 rm -rf conftest* |
| 11976 eval "ac_cv_func_$ac_func=yes" | 11992 eval "ac_cv_func_$ac_func=yes" |
| 11977 else | 11993 else |
| 11978 echo "configure: failed program was:" >&5 | 11994 echo "configure: failed program was:" >&5 |
| 11979 cat conftest.$ac_ext >&5 | 11995 cat conftest.$ac_ext >&5 |
| 12005 *) ;; | 12021 *) ;; |
| 12006 esac | 12022 esac |
| 12007 fi | 12023 fi |
| 12008 | 12024 |
| 12009 cat > conftest.$ac_ext <<EOF | 12025 cat > conftest.$ac_ext <<EOF |
| 12010 #line 12011 "configure" | 12026 #line 12027 "configure" |
| 12011 #include "confdefs.h" | 12027 #include "confdefs.h" |
| 12012 int main(int c,char *v[]){return 0;} | 12028 int main(int c,char *v[]){return 0;} |
| 12013 EOF | 12029 EOF |
| 12014 if { (eval echo configure:12015: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 12030 if { (eval echo configure:12031: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
| 12015 then | 12031 then |
| 12016 : | 12032 : |
| 12017 else | 12033 else |
| 12018 conftest_rc="$?" | 12034 conftest_rc="$?" |
| 12019 echo "configure: failed program was:" >&5 | 12035 echo "configure: failed program was:" >&5 |
