Mercurial > hg > xemacs-beta
comparison configure @ 424:11054d720c21 r21-2-20
Import from CVS: tag r21-2-20
author | cvs |
---|---|
date | Mon, 13 Aug 2007 11:26:11 +0200 |
parents | 95016f13131a |
children | 43177a4f3daf |
comparison
equal
deleted
inserted
replaced
423:28d9c139be4c | 424:11054d720c21 |
---|---|
261 use_assertions="yes" | 261 use_assertions="yes" |
262 with_toolbars="" | 262 with_toolbars="" |
263 with_tty="" | 263 with_tty="" |
264 use_union_type="no" | 264 use_union_type="no" |
265 with_dnet="" | 265 with_dnet="" |
266 pdump="no" | |
266 | 267 |
267 | 268 |
268 | 269 |
269 | 270 |
270 arguments="$@" | 271 arguments="$@" |
357 verbose | \ | 358 verbose | \ |
358 extra_verbose | \ | 359 extra_verbose | \ |
359 const_is_losing | \ | 360 const_is_losing | \ |
360 usage_tracking | \ | 361 usage_tracking | \ |
361 use_union_type | \ | 362 use_union_type | \ |
363 pdump | \ | |
362 debug | \ | 364 debug | \ |
363 use_assertions | \ | 365 use_assertions | \ |
364 memory_usage_stats | \ | 366 memory_usage_stats | \ |
365 with_clash_detection | \ | 367 with_clash_detection | \ |
366 with_modules | \ | 368 with_modules | \ |
697 echo " Use \`$progname --help' to show usage.") >&2 && exit 1 ;; | 699 echo " Use \`$progname --help' to show usage.") >&2 && exit 1 ;; |
698 esac | 700 esac |
699 eval "$opt=\"$val\"" | 701 eval "$opt=\"$val\"" |
700 ;; | 702 ;; |
701 | 703 |
702 "run_in_place" | \ | 704 "use_minimal_tagbits" | \ |
705 "use_indexed_lrecord_implementation" | \ | |
706 "run_in_place" | \ | |
703 "with_gnu_make" ) | 707 "with_gnu_make" ) |
704 echo "configure: warning: Obsolete option \`--$optname' ignored." 1>&2 | 708 echo "configure: warning: Obsolete option \`--$optname' ignored." 1>&2 |
705 ;; | 709 ;; |
706 | 710 |
707 * ) (echo "$progname: Usage error:" | 711 * ) (echo "$progname: Usage error:" |
790 echo " Use \`$progname --help' to show usage.") >&2 && exit 1 | 794 echo " Use \`$progname --help' to show usage.") >&2 && exit 1 |
791 fi | 795 fi |
792 fi | 796 fi |
793 | 797 |
794 echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6 | 798 echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6 |
795 echo "configure:796: checking whether ln -s works" >&5 | 799 echo "configure:800: checking whether ln -s works" >&5 |
796 | 800 |
797 rm -f conftestdata | 801 rm -f conftestdata |
798 if ln -s X conftestdata 2>/dev/null | 802 if ln -s X conftestdata 2>/dev/null |
799 then | 803 then |
800 rm -f conftestdata | 804 rm -f conftestdata |
1035 } | 1039 } |
1036 | 1040 |
1037 | 1041 |
1038 | 1042 |
1039 echo $ac_n "checking "host system type"""... $ac_c" 1>&6 | 1043 echo $ac_n "checking "host system type"""... $ac_c" 1>&6 |
1040 echo "configure:1041: checking "host system type"" >&5 | 1044 echo "configure:1045: checking "host system type"" >&5 |
1041 internal_configuration=`echo $configuration | sed 's/-\(workshop\)//'` | 1045 internal_configuration=`echo $configuration | sed 's/-\(workshop\)//'` |
1042 canonical=`${CONFIG_SHELL-/bin/sh} $srcdir/config.sub "$internal_configuration"` | 1046 canonical=`${CONFIG_SHELL-/bin/sh} $srcdir/config.sub "$internal_configuration"` |
1043 configuration=`echo "$configuration" | sed 's/^\([^-][^-]*-[^-][^-]*-[^-][^-]*\)-.*$/\1/'` | 1047 configuration=`echo "$configuration" | sed 's/^\([^-][^-]*-[^-][^-]*-[^-][^-]*\)-.*$/\1/'` |
1044 canonical=`echo "$canonical" | sed 's/^\([^-][^-]*-[^-][^-]*-[^-][^-]*\)-.*$/\1/'` | 1048 canonical=`echo "$canonical" | sed 's/^\([^-][^-]*-[^-][^-]*-[^-][^-]*\)-.*$/\1/'` |
1045 echo "$ac_t""$configuration" 1>&6 | 1049 echo "$ac_t""$configuration" 1>&6 |
1054 sparc-*-* ) machine=sparc ;; | 1058 sparc-*-* ) machine=sparc ;; |
1055 alpha*-*-* ) machine=alpha ;; | 1059 alpha*-*-* ) machine=alpha ;; |
1056 vax-*-* ) machine=vax ;; | 1060 vax-*-* ) machine=vax ;; |
1057 mips-dec-* ) machine=pmax ;; | 1061 mips-dec-* ) machine=pmax ;; |
1058 mips-sgi-* ) machine=iris4d ;; | 1062 mips-sgi-* ) machine=iris4d ;; |
1063 mips*-linux ) machine=mips ;; | |
1059 romp-ibm-* ) machine=ibmrt ;; | 1064 romp-ibm-* ) machine=ibmrt ;; |
1060 rs6000-ibm-aix* ) machine=ibmrs6000 ;; | 1065 rs6000-ibm-aix* ) machine=ibmrs6000 ;; |
1061 powerpc-ibm-aix* ) machine=ibmrs6000 ;; | 1066 powerpc-ibm-aix* ) machine=ibmrs6000 ;; |
1062 powerpc*-* ) machine=powerpc ;; | 1067 powerpc*-* ) machine=powerpc ;; |
1063 hppa-*-* ) machine=hp800 ;; | 1068 hppa-*-* ) machine=hp800 ;; |
1528 xe_save_CFLAGS="$CFLAGS" | 1533 xe_save_CFLAGS="$CFLAGS" |
1529 | 1534 |
1530 # Extract the first word of "gcc", so it can be a program name with args. | 1535 # Extract the first word of "gcc", so it can be a program name with args. |
1531 set dummy gcc; ac_word=$2 | 1536 set dummy gcc; ac_word=$2 |
1532 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 1537 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
1533 echo "configure:1534: checking for $ac_word" >&5 | 1538 echo "configure:1539: checking for $ac_word" >&5 |
1534 | 1539 |
1535 if test -n "$CC"; then | 1540 if test -n "$CC"; then |
1536 ac_cv_prog_CC="$CC" # Let the user override the test. | 1541 ac_cv_prog_CC="$CC" # Let the user override the test. |
1537 else | 1542 else |
1538 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | 1543 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
1555 | 1560 |
1556 if test -z "$CC"; then | 1561 if test -z "$CC"; then |
1557 # Extract the first word of "cc", so it can be a program name with args. | 1562 # Extract the first word of "cc", so it can be a program name with args. |
1558 set dummy cc; ac_word=$2 | 1563 set dummy cc; ac_word=$2 |
1559 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 1564 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
1560 echo "configure:1561: checking for $ac_word" >&5 | 1565 echo "configure:1566: checking for $ac_word" >&5 |
1561 | 1566 |
1562 if test -n "$CC"; then | 1567 if test -n "$CC"; then |
1563 ac_cv_prog_CC="$CC" # Let the user override the test. | 1568 ac_cv_prog_CC="$CC" # Let the user override the test. |
1564 else | 1569 else |
1565 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | 1570 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
1603 case "`uname -s`" in | 1608 case "`uname -s`" in |
1604 *win32* | *WIN32*) | 1609 *win32* | *WIN32*) |
1605 # Extract the first word of "cl", so it can be a program name with args. | 1610 # Extract the first word of "cl", so it can be a program name with args. |
1606 set dummy cl; ac_word=$2 | 1611 set dummy cl; ac_word=$2 |
1607 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 1612 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
1608 echo "configure:1609: checking for $ac_word" >&5 | 1613 echo "configure:1614: checking for $ac_word" >&5 |
1609 | 1614 |
1610 if test -n "$CC"; then | 1615 if test -n "$CC"; then |
1611 ac_cv_prog_CC="$CC" # Let the user override the test. | 1616 ac_cv_prog_CC="$CC" # Let the user override the test. |
1612 else | 1617 else |
1613 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | 1618 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
1632 fi | 1637 fi |
1633 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } | 1638 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } |
1634 fi | 1639 fi |
1635 | 1640 |
1636 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 | 1641 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 |
1637 echo "configure:1638: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 | 1642 echo "configure:1643: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 |
1638 | 1643 |
1639 ac_ext=c | 1644 ac_ext=c |
1640 xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS' | 1645 xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS' |
1641 xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_switch_x_site $ld_switch_run' | 1646 xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_switch_x_site $ld_switch_run' |
1642 xe_libs='$ld_call_shared $xe_check_libs $X_EXTRA_LIBS $libs_x $X_PRE_LIBS $LIBS $libs_machine $libs_system $libs_standard' | 1647 xe_libs='$ld_call_shared $xe_check_libs $X_EXTRA_LIBS $libs_x $X_PRE_LIBS $LIBS $libs_machine $libs_system $libs_standard' |
1645 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' | 1650 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' |
1646 cross_compiling=no | 1651 cross_compiling=no |
1647 | 1652 |
1648 cat > conftest.$ac_ext << EOF | 1653 cat > conftest.$ac_ext << EOF |
1649 | 1654 |
1650 #line 1651 "configure" | 1655 #line 1656 "configure" |
1651 #include "confdefs.h" | 1656 #include "confdefs.h" |
1652 | 1657 |
1653 main(){return(0);} | 1658 main(){return(0);} |
1654 EOF | 1659 EOF |
1655 if { (eval echo configure:1656: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 1660 if { (eval echo configure:1661: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
1656 ac_cv_prog_cc_works=yes | 1661 ac_cv_prog_cc_works=yes |
1657 # If we can't run a trivial program, we are probably using a cross compiler. | 1662 # If we can't run a trivial program, we are probably using a cross compiler. |
1658 if (./conftest; exit) 2>/dev/null; then | 1663 if (./conftest; exit) 2>/dev/null; then |
1659 ac_cv_prog_cc_cross=no | 1664 ac_cv_prog_cc_cross=no |
1660 else | 1665 else |
1678 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 | 1683 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 |
1679 if test $ac_cv_prog_cc_works = no; then | 1684 if test $ac_cv_prog_cc_works = no; then |
1680 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } | 1685 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } |
1681 fi | 1686 fi |
1682 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 | 1687 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 |
1683 echo "configure:1684: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 | 1688 echo "configure:1689: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 |
1684 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 | 1689 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 |
1685 cross_compiling=$ac_cv_prog_cc_cross | 1690 cross_compiling=$ac_cv_prog_cc_cross |
1686 | 1691 |
1687 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 | 1692 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 |
1688 echo "configure:1689: checking whether we are using GNU C" >&5 | 1693 echo "configure:1694: checking whether we are using GNU C" >&5 |
1689 | 1694 |
1690 cat > conftest.c <<EOF | 1695 cat > conftest.c <<EOF |
1691 #ifdef __GNUC__ | 1696 #ifdef __GNUC__ |
1692 yes; | 1697 yes; |
1693 #endif | 1698 #endif |
1694 EOF | 1699 EOF |
1695 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1696: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then | 1700 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1701: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then |
1696 ac_cv_prog_gcc=yes | 1701 ac_cv_prog_gcc=yes |
1697 else | 1702 else |
1698 ac_cv_prog_gcc=no | 1703 ac_cv_prog_gcc=no |
1699 fi | 1704 fi |
1700 | 1705 |
1708 | 1713 |
1709 ac_test_CFLAGS="${CFLAGS+set}" | 1714 ac_test_CFLAGS="${CFLAGS+set}" |
1710 ac_save_CFLAGS="$CFLAGS" | 1715 ac_save_CFLAGS="$CFLAGS" |
1711 CFLAGS= | 1716 CFLAGS= |
1712 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 | 1717 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 |
1713 echo "configure:1714: checking whether ${CC-cc} accepts -g" >&5 | 1718 echo "configure:1719: checking whether ${CC-cc} accepts -g" >&5 |
1714 | 1719 |
1715 echo 'void f(){}' > conftest.c | 1720 echo 'void f(){}' > conftest.c |
1716 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then | 1721 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then |
1717 ac_cv_prog_cc_g=yes | 1722 ac_cv_prog_cc_g=yes |
1718 else | 1723 else |
1741 if test "$with_gcc" = "no" -a "$GCC" = "yes"; then | 1746 if test "$with_gcc" = "no" -a "$GCC" = "yes"; then |
1742 CC=${NON_GNU_CC-cc} | 1747 CC=${NON_GNU_CC-cc} |
1743 # Extract the first word of "gcc", so it can be a program name with args. | 1748 # Extract the first word of "gcc", so it can be a program name with args. |
1744 set dummy gcc; ac_word=$2 | 1749 set dummy gcc; ac_word=$2 |
1745 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 1750 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
1746 echo "configure:1747: checking for $ac_word" >&5 | 1751 echo "configure:1752: checking for $ac_word" >&5 |
1747 | 1752 |
1748 if test -n "$CC"; then | 1753 if test -n "$CC"; then |
1749 ac_cv_prog_CC="$CC" # Let the user override the test. | 1754 ac_cv_prog_CC="$CC" # Let the user override the test. |
1750 else | 1755 else |
1751 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | 1756 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
1768 | 1773 |
1769 if test -z "$CC"; then | 1774 if test -z "$CC"; then |
1770 # Extract the first word of "cc", so it can be a program name with args. | 1775 # Extract the first word of "cc", so it can be a program name with args. |
1771 set dummy cc; ac_word=$2 | 1776 set dummy cc; ac_word=$2 |
1772 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 1777 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
1773 echo "configure:1774: checking for $ac_word" >&5 | 1778 echo "configure:1779: checking for $ac_word" >&5 |
1774 | 1779 |
1775 if test -n "$CC"; then | 1780 if test -n "$CC"; then |
1776 ac_cv_prog_CC="$CC" # Let the user override the test. | 1781 ac_cv_prog_CC="$CC" # Let the user override the test. |
1777 else | 1782 else |
1778 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | 1783 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
1816 case "`uname -s`" in | 1821 case "`uname -s`" in |
1817 *win32* | *WIN32*) | 1822 *win32* | *WIN32*) |
1818 # Extract the first word of "cl", so it can be a program name with args. | 1823 # Extract the first word of "cl", so it can be a program name with args. |
1819 set dummy cl; ac_word=$2 | 1824 set dummy cl; ac_word=$2 |
1820 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 1825 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
1821 echo "configure:1822: checking for $ac_word" >&5 | 1826 echo "configure:1827: checking for $ac_word" >&5 |
1822 | 1827 |
1823 if test -n "$CC"; then | 1828 if test -n "$CC"; then |
1824 ac_cv_prog_CC="$CC" # Let the user override the test. | 1829 ac_cv_prog_CC="$CC" # Let the user override the test. |
1825 else | 1830 else |
1826 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | 1831 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
1845 fi | 1850 fi |
1846 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } | 1851 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } |
1847 fi | 1852 fi |
1848 | 1853 |
1849 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 | 1854 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 |
1850 echo "configure:1851: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 | 1855 echo "configure:1856: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 |
1851 | 1856 |
1852 ac_ext=c | 1857 ac_ext=c |
1853 xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS' | 1858 xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS' |
1854 xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_switch_x_site $ld_switch_run' | 1859 xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_switch_x_site $ld_switch_run' |
1855 xe_libs='$ld_call_shared $xe_check_libs $X_EXTRA_LIBS $libs_x $X_PRE_LIBS $LIBS $libs_machine $libs_system $libs_standard' | 1860 xe_libs='$ld_call_shared $xe_check_libs $X_EXTRA_LIBS $libs_x $X_PRE_LIBS $LIBS $libs_machine $libs_system $libs_standard' |
1858 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' | 1863 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' |
1859 cross_compiling=no | 1864 cross_compiling=no |
1860 | 1865 |
1861 cat > conftest.$ac_ext << EOF | 1866 cat > conftest.$ac_ext << EOF |
1862 | 1867 |
1863 #line 1864 "configure" | 1868 #line 1869 "configure" |
1864 #include "confdefs.h" | 1869 #include "confdefs.h" |
1865 | 1870 |
1866 main(){return(0);} | 1871 main(){return(0);} |
1867 EOF | 1872 EOF |
1868 if { (eval echo configure:1869: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 1873 if { (eval echo configure:1874: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
1869 ac_cv_prog_cc_works=yes | 1874 ac_cv_prog_cc_works=yes |
1870 # If we can't run a trivial program, we are probably using a cross compiler. | 1875 # If we can't run a trivial program, we are probably using a cross compiler. |
1871 if (./conftest; exit) 2>/dev/null; then | 1876 if (./conftest; exit) 2>/dev/null; then |
1872 ac_cv_prog_cc_cross=no | 1877 ac_cv_prog_cc_cross=no |
1873 else | 1878 else |
1891 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 | 1896 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 |
1892 if test $ac_cv_prog_cc_works = no; then | 1897 if test $ac_cv_prog_cc_works = no; then |
1893 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } | 1898 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } |
1894 fi | 1899 fi |
1895 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 | 1900 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 |
1896 echo "configure:1897: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 | 1901 echo "configure:1902: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 |
1897 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 | 1902 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 |
1898 cross_compiling=$ac_cv_prog_cc_cross | 1903 cross_compiling=$ac_cv_prog_cc_cross |
1899 | 1904 |
1900 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 | 1905 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 |
1901 echo "configure:1902: checking whether we are using GNU C" >&5 | 1906 echo "configure:1907: checking whether we are using GNU C" >&5 |
1902 | 1907 |
1903 cat > conftest.c <<EOF | 1908 cat > conftest.c <<EOF |
1904 #ifdef __GNUC__ | 1909 #ifdef __GNUC__ |
1905 yes; | 1910 yes; |
1906 #endif | 1911 #endif |
1907 EOF | 1912 EOF |
1908 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1909: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then | 1913 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1914: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then |
1909 ac_cv_prog_gcc=yes | 1914 ac_cv_prog_gcc=yes |
1910 else | 1915 else |
1911 ac_cv_prog_gcc=no | 1916 ac_cv_prog_gcc=no |
1912 fi | 1917 fi |
1913 | 1918 |
1921 | 1926 |
1922 ac_test_CFLAGS="${CFLAGS+set}" | 1927 ac_test_CFLAGS="${CFLAGS+set}" |
1923 ac_save_CFLAGS="$CFLAGS" | 1928 ac_save_CFLAGS="$CFLAGS" |
1924 CFLAGS= | 1929 CFLAGS= |
1925 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 | 1930 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 |
1926 echo "configure:1927: checking whether ${CC-cc} accepts -g" >&5 | 1931 echo "configure:1932: checking whether ${CC-cc} accepts -g" >&5 |
1927 | 1932 |
1928 echo 'void f(){}' > conftest.c | 1933 echo 'void f(){}' > conftest.c |
1929 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then | 1934 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then |
1930 ac_cv_prog_cc_g=yes | 1935 ac_cv_prog_cc_g=yes |
1931 else | 1936 else |
1954 elif test "$with_gcc" = "yes" -a "$GCC" != "yes" ; then | 1959 elif test "$with_gcc" = "yes" -a "$GCC" != "yes" ; then |
1955 CC=gcc | 1960 CC=gcc |
1956 # Extract the first word of "gcc", so it can be a program name with args. | 1961 # Extract the first word of "gcc", so it can be a program name with args. |
1957 set dummy gcc; ac_word=$2 | 1962 set dummy gcc; ac_word=$2 |
1958 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 1963 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
1959 echo "configure:1960: checking for $ac_word" >&5 | 1964 echo "configure:1965: checking for $ac_word" >&5 |
1960 | 1965 |
1961 if test -n "$CC"; then | 1966 if test -n "$CC"; then |
1962 ac_cv_prog_CC="$CC" # Let the user override the test. | 1967 ac_cv_prog_CC="$CC" # Let the user override the test. |
1963 else | 1968 else |
1964 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | 1969 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
1981 | 1986 |
1982 if test -z "$CC"; then | 1987 if test -z "$CC"; then |
1983 # Extract the first word of "cc", so it can be a program name with args. | 1988 # Extract the first word of "cc", so it can be a program name with args. |
1984 set dummy cc; ac_word=$2 | 1989 set dummy cc; ac_word=$2 |
1985 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 1990 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
1986 echo "configure:1987: checking for $ac_word" >&5 | 1991 echo "configure:1992: checking for $ac_word" >&5 |
1987 | 1992 |
1988 if test -n "$CC"; then | 1993 if test -n "$CC"; then |
1989 ac_cv_prog_CC="$CC" # Let the user override the test. | 1994 ac_cv_prog_CC="$CC" # Let the user override the test. |
1990 else | 1995 else |
1991 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | 1996 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
2029 case "`uname -s`" in | 2034 case "`uname -s`" in |
2030 *win32* | *WIN32*) | 2035 *win32* | *WIN32*) |
2031 # Extract the first word of "cl", so it can be a program name with args. | 2036 # Extract the first word of "cl", so it can be a program name with args. |
2032 set dummy cl; ac_word=$2 | 2037 set dummy cl; ac_word=$2 |
2033 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 2038 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
2034 echo "configure:2035: checking for $ac_word" >&5 | 2039 echo "configure:2040: checking for $ac_word" >&5 |
2035 | 2040 |
2036 if test -n "$CC"; then | 2041 if test -n "$CC"; then |
2037 ac_cv_prog_CC="$CC" # Let the user override the test. | 2042 ac_cv_prog_CC="$CC" # Let the user override the test. |
2038 else | 2043 else |
2039 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | 2044 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
2058 fi | 2063 fi |
2059 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } | 2064 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } |
2060 fi | 2065 fi |
2061 | 2066 |
2062 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 | 2067 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 |
2063 echo "configure:2064: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 | 2068 echo "configure:2069: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 |
2064 | 2069 |
2065 ac_ext=c | 2070 ac_ext=c |
2066 xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS' | 2071 xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS' |
2067 xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_switch_x_site $ld_switch_run' | 2072 xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_switch_x_site $ld_switch_run' |
2068 xe_libs='$ld_call_shared $xe_check_libs $X_EXTRA_LIBS $libs_x $X_PRE_LIBS $LIBS $libs_machine $libs_system $libs_standard' | 2073 xe_libs='$ld_call_shared $xe_check_libs $X_EXTRA_LIBS $libs_x $X_PRE_LIBS $LIBS $libs_machine $libs_system $libs_standard' |
2071 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' | 2076 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' |
2072 cross_compiling=no | 2077 cross_compiling=no |
2073 | 2078 |
2074 cat > conftest.$ac_ext << EOF | 2079 cat > conftest.$ac_ext << EOF |
2075 | 2080 |
2076 #line 2077 "configure" | 2081 #line 2082 "configure" |
2077 #include "confdefs.h" | 2082 #include "confdefs.h" |
2078 | 2083 |
2079 main(){return(0);} | 2084 main(){return(0);} |
2080 EOF | 2085 EOF |
2081 if { (eval echo configure:2082: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 2086 if { (eval echo configure:2087: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
2082 ac_cv_prog_cc_works=yes | 2087 ac_cv_prog_cc_works=yes |
2083 # If we can't run a trivial program, we are probably using a cross compiler. | 2088 # If we can't run a trivial program, we are probably using a cross compiler. |
2084 if (./conftest; exit) 2>/dev/null; then | 2089 if (./conftest; exit) 2>/dev/null; then |
2085 ac_cv_prog_cc_cross=no | 2090 ac_cv_prog_cc_cross=no |
2086 else | 2091 else |
2104 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 | 2109 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 |
2105 if test $ac_cv_prog_cc_works = no; then | 2110 if test $ac_cv_prog_cc_works = no; then |
2106 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } | 2111 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } |
2107 fi | 2112 fi |
2108 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 | 2113 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 |
2109 echo "configure:2110: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 | 2114 echo "configure:2115: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 |
2110 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 | 2115 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 |
2111 cross_compiling=$ac_cv_prog_cc_cross | 2116 cross_compiling=$ac_cv_prog_cc_cross |
2112 | 2117 |
2113 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 | 2118 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 |
2114 echo "configure:2115: checking whether we are using GNU C" >&5 | 2119 echo "configure:2120: checking whether we are using GNU C" >&5 |
2115 | 2120 |
2116 cat > conftest.c <<EOF | 2121 cat > conftest.c <<EOF |
2117 #ifdef __GNUC__ | 2122 #ifdef __GNUC__ |
2118 yes; | 2123 yes; |
2119 #endif | 2124 #endif |
2120 EOF | 2125 EOF |
2121 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:2122: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then | 2126 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:2127: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then |
2122 ac_cv_prog_gcc=yes | 2127 ac_cv_prog_gcc=yes |
2123 else | 2128 else |
2124 ac_cv_prog_gcc=no | 2129 ac_cv_prog_gcc=no |
2125 fi | 2130 fi |
2126 | 2131 |
2134 | 2139 |
2135 ac_test_CFLAGS="${CFLAGS+set}" | 2140 ac_test_CFLAGS="${CFLAGS+set}" |
2136 ac_save_CFLAGS="$CFLAGS" | 2141 ac_save_CFLAGS="$CFLAGS" |
2137 CFLAGS= | 2142 CFLAGS= |
2138 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 | 2143 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 |
2139 echo "configure:2140: checking whether ${CC-cc} accepts -g" >&5 | 2144 echo "configure:2145: checking whether ${CC-cc} accepts -g" >&5 |
2140 | 2145 |
2141 echo 'void f(){}' > conftest.c | 2146 echo 'void f(){}' > conftest.c |
2142 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then | 2147 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then |
2143 ac_cv_prog_cc_g=yes | 2148 ac_cv_prog_cc_g=yes |
2144 else | 2149 else |
2171 test -n "$CPP" -a -d "$CPP" && CPP= | 2176 test -n "$CPP" -a -d "$CPP" && CPP= |
2172 | 2177 |
2173 test -n "$NON_GNU_CPP" -a "$GCC" != "yes" -a -z "$CPP" && CPP="$NON_GNU_CPP" | 2178 test -n "$NON_GNU_CPP" -a "$GCC" != "yes" -a -z "$CPP" && CPP="$NON_GNU_CPP" |
2174 | 2179 |
2175 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6 | 2180 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6 |
2176 echo "configure:2177: checking how to run the C preprocessor" >&5 | 2181 echo "configure:2182: checking how to run the C preprocessor" >&5 |
2177 # On Suns, sometimes $CPP names a directory. | 2182 # On Suns, sometimes $CPP names a directory. |
2178 if test -n "$CPP" && test -d "$CPP"; then | 2183 if test -n "$CPP" && test -d "$CPP"; then |
2179 CPP= | 2184 CPP= |
2180 fi | 2185 fi |
2181 if test -z "$CPP"; then | 2186 if test -z "$CPP"; then |
2184 # substituted into the Makefile and "${CC-cc}" will confuse make. | 2189 # substituted into the Makefile and "${CC-cc}" will confuse make. |
2185 CPP="${CC-cc} -E" | 2190 CPP="${CC-cc} -E" |
2186 # On the NeXT, cc -E runs the code through the compiler's parser, | 2191 # On the NeXT, cc -E runs the code through the compiler's parser, |
2187 # not just through cpp. | 2192 # not just through cpp. |
2188 cat > conftest.$ac_ext <<EOF | 2193 cat > conftest.$ac_ext <<EOF |
2189 #line 2190 "configure" | 2194 #line 2195 "configure" |
2190 #include "confdefs.h" | 2195 #include "confdefs.h" |
2191 #include <assert.h> | 2196 #include <assert.h> |
2192 Syntax Error | 2197 Syntax Error |
2193 EOF | 2198 EOF |
2194 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 2199 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
2195 { (eval echo configure:2196: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 2200 { (eval echo configure:2201: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
2196 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 2201 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
2197 if test -z "$ac_err"; then | 2202 if test -z "$ac_err"; then |
2198 : | 2203 : |
2199 else | 2204 else |
2200 echo "$ac_err" >&5 | 2205 echo "$ac_err" >&5 |
2201 echo "configure: failed program was:" >&5 | 2206 echo "configure: failed program was:" >&5 |
2202 cat conftest.$ac_ext >&5 | 2207 cat conftest.$ac_ext >&5 |
2203 rm -rf conftest* | 2208 rm -rf conftest* |
2204 CPP="${CC-cc} -E -traditional-cpp" | 2209 CPP="${CC-cc} -E -traditional-cpp" |
2205 cat > conftest.$ac_ext <<EOF | 2210 cat > conftest.$ac_ext <<EOF |
2206 #line 2207 "configure" | 2211 #line 2212 "configure" |
2207 #include "confdefs.h" | 2212 #include "confdefs.h" |
2208 #include <assert.h> | 2213 #include <assert.h> |
2209 Syntax Error | 2214 Syntax Error |
2210 EOF | 2215 EOF |
2211 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 2216 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
2212 { (eval echo configure:2213: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 2217 { (eval echo configure:2218: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
2213 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 2218 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
2214 if test -z "$ac_err"; then | 2219 if test -z "$ac_err"; then |
2215 : | 2220 : |
2216 else | 2221 else |
2217 echo "$ac_err" >&5 | 2222 echo "$ac_err" >&5 |
2218 echo "configure: failed program was:" >&5 | 2223 echo "configure: failed program was:" >&5 |
2219 cat conftest.$ac_ext >&5 | 2224 cat conftest.$ac_ext >&5 |
2220 rm -rf conftest* | 2225 rm -rf conftest* |
2221 CPP="${CC-cc} -nologo -E" | 2226 CPP="${CC-cc} -nologo -E" |
2222 cat > conftest.$ac_ext <<EOF | 2227 cat > conftest.$ac_ext <<EOF |
2223 #line 2224 "configure" | 2228 #line 2229 "configure" |
2224 #include "confdefs.h" | 2229 #include "confdefs.h" |
2225 #include <assert.h> | 2230 #include <assert.h> |
2226 Syntax Error | 2231 Syntax Error |
2227 EOF | 2232 EOF |
2228 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 2233 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
2229 { (eval echo configure:2230: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 2234 { (eval echo configure:2235: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
2230 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 2235 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
2231 if test -z "$ac_err"; then | 2236 if test -z "$ac_err"; then |
2232 : | 2237 : |
2233 else | 2238 else |
2234 echo "$ac_err" >&5 | 2239 echo "$ac_err" >&5 |
2249 fi | 2254 fi |
2250 echo "$ac_t""$CPP" 1>&6 | 2255 echo "$ac_t""$CPP" 1>&6 |
2251 | 2256 |
2252 | 2257 |
2253 echo $ac_n "checking for AIX""... $ac_c" 1>&6 | 2258 echo $ac_n "checking for AIX""... $ac_c" 1>&6 |
2254 echo "configure:2255: checking for AIX" >&5 | 2259 echo "configure:2260: checking for AIX" >&5 |
2255 cat > conftest.$ac_ext <<EOF | 2260 cat > conftest.$ac_ext <<EOF |
2256 #line 2257 "configure" | 2261 #line 2262 "configure" |
2257 #include "confdefs.h" | 2262 #include "confdefs.h" |
2258 #ifdef _AIX | 2263 #ifdef _AIX |
2259 yes | 2264 yes |
2260 #endif | 2265 #endif |
2261 | 2266 |
2278 rm -f conftest* | 2283 rm -f conftest* |
2279 | 2284 |
2280 | 2285 |
2281 | 2286 |
2282 echo $ac_n "checking for GNU libc""... $ac_c" 1>&6 | 2287 echo $ac_n "checking for GNU libc""... $ac_c" 1>&6 |
2283 echo "configure:2284: checking for GNU libc" >&5 | 2288 echo "configure:2289: checking for GNU libc" >&5 |
2284 cat > conftest.$ac_ext <<EOF | 2289 cat > conftest.$ac_ext <<EOF |
2285 #line 2286 "configure" | 2290 #line 2291 "configure" |
2286 #include "confdefs.h" | 2291 #include "confdefs.h" |
2287 #include <features.h> | 2292 #include <features.h> |
2288 int main() { | 2293 int main() { |
2289 | 2294 |
2290 #if ! (defined __GLIBC__ || defined __GNU_LIBRARY__) | 2295 #if ! (defined __GLIBC__ || defined __GNU_LIBRARY__) |
2292 ******* ======= ******** &&&&&&&& | 2297 ******* ======= ******** &&&&&&&& |
2293 #endif | 2298 #endif |
2294 | 2299 |
2295 ; return 0; } | 2300 ; return 0; } |
2296 EOF | 2301 EOF |
2297 if { (eval echo configure:2298: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 2302 if { (eval echo configure:2303: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
2298 rm -rf conftest* | 2303 rm -rf conftest* |
2299 have_glibc=yes | 2304 have_glibc=yes |
2300 else | 2305 else |
2301 echo "configure: failed program was:" >&5 | 2306 echo "configure: failed program was:" >&5 |
2302 cat conftest.$ac_ext >&5 | 2307 cat conftest.$ac_ext >&5 |
2314 } | 2319 } |
2315 | 2320 |
2316 | 2321 |
2317 | 2322 |
2318 cat > conftest.$ac_ext <<EOF | 2323 cat > conftest.$ac_ext <<EOF |
2319 #line 2320 "configure" | 2324 #line 2325 "configure" |
2320 #include "confdefs.h" | 2325 #include "confdefs.h" |
2321 int main () { | 2326 int main () { |
2322 #if defined __SUNPRO_C | 2327 #if defined __SUNPRO_C |
2323 return 11; | 2328 return 11; |
2324 #elif defined __DECC | 2329 #elif defined __DECC |
2326 #else | 2331 #else |
2327 return 0; | 2332 return 0; |
2328 #endif | 2333 #endif |
2329 } | 2334 } |
2330 EOF | 2335 EOF |
2331 if { (eval echo configure:2332: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 2336 if { (eval echo configure:2337: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
2332 then | 2337 then |
2333 : | 2338 : |
2334 else | 2339 else |
2335 conftest_rc="$?" | 2340 conftest_rc="$?" |
2336 echo "configure: failed program was:" >&5 | 2341 echo "configure: failed program was:" >&5 |
2600 test -n "$unexec" && extra_objs="$extra_objs $unexec" && if test "$extra_verbose" = "yes"; then | 2605 test -n "$unexec" && extra_objs="$extra_objs $unexec" && if test "$extra_verbose" = "yes"; then |
2601 echo " xemacs will be linked with \"$unexec\"" | 2606 echo " xemacs will be linked with \"$unexec\"" |
2602 fi | 2607 fi |
2603 | 2608 |
2604 echo $ac_n "checking for dynodump""... $ac_c" 1>&6 | 2609 echo $ac_n "checking for dynodump""... $ac_c" 1>&6 |
2605 echo "configure:2606: checking for dynodump" >&5 | 2610 echo "configure:2611: checking for dynodump" >&5 |
2606 if test "$unexec" != "unexsol2.o"; then | 2611 if test "$unexec" != "unexsol2.o"; then |
2607 echo "$ac_t""no" 1>&6 | 2612 echo "$ac_t""no" 1>&6 |
2608 else | 2613 else |
2609 echo "$ac_t""yes" 1>&6 | 2614 echo "$ac_t""yes" 1>&6 |
2610 { test "$extra_verbose" = "yes" && cat << \EOF | 2615 { test "$extra_verbose" = "yes" && cat << \EOF |
2638 for f in "/usr/lpp/X11/bin/smt.exp" "/usr/bin/X11/smt.exp"; do | 2643 for f in "/usr/lpp/X11/bin/smt.exp" "/usr/bin/X11/smt.exp"; do |
2639 if test -r "$f"; then start_flags="${start_flags},-bI:${f}"; break; fi | 2644 if test -r "$f"; then start_flags="${start_flags},-bI:${f}"; break; fi |
2640 done | 2645 done |
2641 | 2646 |
2642 echo $ac_n "checking for terminateAndUnload in -lC""... $ac_c" 1>&6 | 2647 echo $ac_n "checking for terminateAndUnload in -lC""... $ac_c" 1>&6 |
2643 echo "configure:2644: checking for terminateAndUnload in -lC" >&5 | 2648 echo "configure:2649: checking for terminateAndUnload in -lC" >&5 |
2644 ac_lib_var=`echo C'_'terminateAndUnload | sed 'y%./+-%__p_%'` | 2649 ac_lib_var=`echo C'_'terminateAndUnload | sed 'y%./+-%__p_%'` |
2645 | 2650 |
2646 xe_check_libs=" -lC " | 2651 xe_check_libs=" -lC " |
2647 cat > conftest.$ac_ext <<EOF | 2652 cat > conftest.$ac_ext <<EOF |
2648 #line 2649 "configure" | 2653 #line 2654 "configure" |
2649 #include "confdefs.h" | 2654 #include "confdefs.h" |
2650 /* Override any gcc2 internal prototype to avoid an error. */ | 2655 /* Override any gcc2 internal prototype to avoid an error. */ |
2651 /* We use char because int might match the return type of a gcc2 | 2656 /* We use char because int might match the return type of a gcc2 |
2652 builtin and then its argument prototype would still apply. */ | 2657 builtin and then its argument prototype would still apply. */ |
2653 char terminateAndUnload(); | 2658 char terminateAndUnload(); |
2654 | 2659 |
2655 int main() { | 2660 int main() { |
2656 terminateAndUnload() | 2661 terminateAndUnload() |
2657 ; return 0; } | 2662 ; return 0; } |
2658 EOF | 2663 EOF |
2659 if { (eval echo configure:2660: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 2664 if { (eval echo configure:2665: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
2660 rm -rf conftest* | 2665 rm -rf conftest* |
2661 eval "ac_cv_lib_$ac_lib_var=yes" | 2666 eval "ac_cv_lib_$ac_lib_var=yes" |
2662 else | 2667 else |
2663 echo "configure: failed program was:" >&5 | 2668 echo "configure: failed program was:" >&5 |
2664 cat conftest.$ac_ext >&5 | 2669 cat conftest.$ac_ext >&5 |
2758 esac | 2763 esac |
2759 fi | 2764 fi |
2760 | 2765 |
2761 if test "$add_runtime_path" = "yes"; then | 2766 if test "$add_runtime_path" = "yes"; then |
2762 echo $ac_n "checking "for runtime libraries flag"""... $ac_c" 1>&6 | 2767 echo $ac_n "checking "for runtime libraries flag"""... $ac_c" 1>&6 |
2763 echo "configure:2764: checking "for runtime libraries flag"" >&5 | 2768 echo "configure:2769: checking "for runtime libraries flag"" >&5 |
2764 case "$opsys" in | 2769 case "$opsys" in |
2765 sol2 ) dash_r="-R" ;; | 2770 sol2 ) dash_r="-R" ;; |
2766 decosf* | linux* | irix*) dash_r="-rpath " ;; | 2771 decosf* | linux* | irix*) dash_r="-rpath " ;; |
2767 *) | 2772 *) |
2768 dash_r="" | 2773 dash_r="" |
2780 esac | 2785 esac |
2781 shift | 2786 shift |
2782 done | 2787 done |
2783 fi | 2788 fi |
2784 cat > conftest.$ac_ext <<EOF | 2789 cat > conftest.$ac_ext <<EOF |
2785 #line 2786 "configure" | 2790 #line 2791 "configure" |
2786 #include "confdefs.h" | 2791 #include "confdefs.h" |
2787 | 2792 |
2788 int main() { | 2793 int main() { |
2789 | 2794 |
2790 ; return 0; } | 2795 ; return 0; } |
2791 EOF | 2796 EOF |
2792 if { (eval echo configure:2793: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 2797 if { (eval echo configure:2798: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
2793 rm -rf conftest* | 2798 rm -rf conftest* |
2794 dash_r="$try_dash_r" | 2799 dash_r="$try_dash_r" |
2795 else | 2800 else |
2796 echo "configure: failed program was:" >&5 | 2801 echo "configure: failed program was:" >&5 |
2797 cat conftest.$ac_ext >&5 | 2802 cat conftest.$ac_ext >&5 |
2889 else | 2894 else |
2890 doug_lea_malloc=no | 2895 doug_lea_malloc=no |
2891 fi | 2896 fi |
2892 after_morecore_hook_exists=yes | 2897 after_morecore_hook_exists=yes |
2893 echo $ac_n "checking for malloc_get_state""... $ac_c" 1>&6 | 2898 echo $ac_n "checking for malloc_get_state""... $ac_c" 1>&6 |
2894 echo "configure:2895: checking for malloc_get_state" >&5 | 2899 echo "configure:2900: checking for malloc_get_state" >&5 |
2895 | 2900 |
2896 cat > conftest.$ac_ext <<EOF | 2901 cat > conftest.$ac_ext <<EOF |
2897 #line 2898 "configure" | 2902 #line 2903 "configure" |
2898 #include "confdefs.h" | 2903 #include "confdefs.h" |
2899 /* System header to define __stub macros and hopefully few prototypes, | 2904 /* System header to define __stub macros and hopefully few prototypes, |
2900 which can conflict with char malloc_get_state(); below. */ | 2905 which can conflict with char malloc_get_state(); below. */ |
2901 #include <assert.h> | 2906 #include <assert.h> |
2902 /* Override any gcc2 internal prototype to avoid an error. */ | 2907 /* Override any gcc2 internal prototype to avoid an error. */ |
2915 malloc_get_state(); | 2920 malloc_get_state(); |
2916 #endif | 2921 #endif |
2917 | 2922 |
2918 ; return 0; } | 2923 ; return 0; } |
2919 EOF | 2924 EOF |
2920 if { (eval echo configure:2921: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 2925 if { (eval echo configure:2926: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
2921 rm -rf conftest* | 2926 rm -rf conftest* |
2922 eval "ac_cv_func_malloc_get_state=yes" | 2927 eval "ac_cv_func_malloc_get_state=yes" |
2923 else | 2928 else |
2924 echo "configure: failed program was:" >&5 | 2929 echo "configure: failed program was:" >&5 |
2925 cat conftest.$ac_ext >&5 | 2930 cat conftest.$ac_ext >&5 |
2935 echo "$ac_t""no" 1>&6 | 2940 echo "$ac_t""no" 1>&6 |
2936 doug_lea_malloc=no | 2941 doug_lea_malloc=no |
2937 fi | 2942 fi |
2938 | 2943 |
2939 echo $ac_n "checking for malloc_set_state""... $ac_c" 1>&6 | 2944 echo $ac_n "checking for malloc_set_state""... $ac_c" 1>&6 |
2940 echo "configure:2941: checking for malloc_set_state" >&5 | 2945 echo "configure:2946: checking for malloc_set_state" >&5 |
2941 | 2946 |
2942 cat > conftest.$ac_ext <<EOF | 2947 cat > conftest.$ac_ext <<EOF |
2943 #line 2944 "configure" | 2948 #line 2949 "configure" |
2944 #include "confdefs.h" | 2949 #include "confdefs.h" |
2945 /* System header to define __stub macros and hopefully few prototypes, | 2950 /* System header to define __stub macros and hopefully few prototypes, |
2946 which can conflict with char malloc_set_state(); below. */ | 2951 which can conflict with char malloc_set_state(); below. */ |
2947 #include <assert.h> | 2952 #include <assert.h> |
2948 /* Override any gcc2 internal prototype to avoid an error. */ | 2953 /* Override any gcc2 internal prototype to avoid an error. */ |
2961 malloc_set_state(); | 2966 malloc_set_state(); |
2962 #endif | 2967 #endif |
2963 | 2968 |
2964 ; return 0; } | 2969 ; return 0; } |
2965 EOF | 2970 EOF |
2966 if { (eval echo configure:2967: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 2971 if { (eval echo configure:2972: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
2967 rm -rf conftest* | 2972 rm -rf conftest* |
2968 eval "ac_cv_func_malloc_set_state=yes" | 2973 eval "ac_cv_func_malloc_set_state=yes" |
2969 else | 2974 else |
2970 echo "configure: failed program was:" >&5 | 2975 echo "configure: failed program was:" >&5 |
2971 cat conftest.$ac_ext >&5 | 2976 cat conftest.$ac_ext >&5 |
2981 echo "$ac_t""no" 1>&6 | 2986 echo "$ac_t""no" 1>&6 |
2982 doug_lea_malloc=no | 2987 doug_lea_malloc=no |
2983 fi | 2988 fi |
2984 | 2989 |
2985 echo $ac_n "checking whether __after_morecore_hook exists""... $ac_c" 1>&6 | 2990 echo $ac_n "checking whether __after_morecore_hook exists""... $ac_c" 1>&6 |
2986 echo "configure:2987: checking whether __after_morecore_hook exists" >&5 | 2991 echo "configure:2992: checking whether __after_morecore_hook exists" >&5 |
2987 cat > conftest.$ac_ext <<EOF | 2992 cat > conftest.$ac_ext <<EOF |
2988 #line 2989 "configure" | 2993 #line 2994 "configure" |
2989 #include "confdefs.h" | 2994 #include "confdefs.h" |
2990 extern void (* __after_morecore_hook)(); | 2995 extern void (* __after_morecore_hook)(); |
2991 int main() { | 2996 int main() { |
2992 __after_morecore_hook = 0 | 2997 __after_morecore_hook = 0 |
2993 ; return 0; } | 2998 ; return 0; } |
2994 EOF | 2999 EOF |
2995 if { (eval echo configure:2996: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 3000 if { (eval echo configure:3001: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
2996 rm -rf conftest* | 3001 rm -rf conftest* |
2997 echo "$ac_t""yes" 1>&6 | 3002 echo "$ac_t""yes" 1>&6 |
2998 else | 3003 else |
2999 echo "configure: failed program was:" >&5 | 3004 echo "configure: failed program was:" >&5 |
3000 cat conftest.$ac_ext >&5 | 3005 cat conftest.$ac_ext >&5 |
3049 | 3054 |
3050 | 3055 |
3051 # Extract the first word of "ranlib", so it can be a program name with args. | 3056 # Extract the first word of "ranlib", so it can be a program name with args. |
3052 set dummy ranlib; ac_word=$2 | 3057 set dummy ranlib; ac_word=$2 |
3053 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 3058 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
3054 echo "configure:3055: checking for $ac_word" >&5 | 3059 echo "configure:3060: checking for $ac_word" >&5 |
3055 | 3060 |
3056 if test -n "$RANLIB"; then | 3061 if test -n "$RANLIB"; then |
3057 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. | 3062 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. |
3058 else | 3063 else |
3059 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | 3064 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
3104 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag | 3109 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag |
3105 # AFS /usr/afsws/bin/install, which mishandles nonexistent args | 3110 # AFS /usr/afsws/bin/install, which mishandles nonexistent args |
3106 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" | 3111 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" |
3107 # ./install, which can be erroneously created by make from ./install.sh. | 3112 # ./install, which can be erroneously created by make from ./install.sh. |
3108 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 | 3113 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 |
3109 echo "configure:3110: checking for a BSD compatible install" >&5 | 3114 echo "configure:3115: checking for a BSD compatible install" >&5 |
3110 if test -z "$INSTALL"; then | 3115 if test -z "$INSTALL"; then |
3111 | 3116 |
3112 IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS=":" | 3117 IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS=":" |
3113 for ac_dir in $PATH; do | 3118 for ac_dir in $PATH; do |
3114 # Account for people who put trailing slashes in PATH elements. | 3119 # Account for people who put trailing slashes in PATH elements. |
3158 for ac_prog in 'bison -y' byacc | 3163 for ac_prog in 'bison -y' byacc |
3159 do | 3164 do |
3160 # Extract the first word of "$ac_prog", so it can be a program name with args. | 3165 # Extract the first word of "$ac_prog", so it can be a program name with args. |
3161 set dummy $ac_prog; ac_word=$2 | 3166 set dummy $ac_prog; ac_word=$2 |
3162 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 3167 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
3163 echo "configure:3164: checking for $ac_word" >&5 | 3168 echo "configure:3169: checking for $ac_word" >&5 |
3164 | 3169 |
3165 if test -n "$YACC"; then | 3170 if test -n "$YACC"; then |
3166 ac_cv_prog_YACC="$YACC" # Let the user override the test. | 3171 ac_cv_prog_YACC="$YACC" # Let the user override the test. |
3167 else | 3172 else |
3168 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | 3173 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
3190 | 3195 |
3191 for ac_hdr in mach/mach.h sys/stropts.h sys/timeb.h sys/time.h unistd.h | 3196 for ac_hdr in mach/mach.h sys/stropts.h sys/timeb.h sys/time.h unistd.h |
3192 do | 3197 do |
3193 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 3198 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
3194 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 3199 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
3195 echo "configure:3196: checking for $ac_hdr" >&5 | 3200 echo "configure:3201: checking for $ac_hdr" >&5 |
3196 | 3201 |
3197 cat > conftest.$ac_ext <<EOF | 3202 cat > conftest.$ac_ext <<EOF |
3198 #line 3199 "configure" | 3203 #line 3204 "configure" |
3199 #include "confdefs.h" | 3204 #include "confdefs.h" |
3200 #include <$ac_hdr> | 3205 #include <$ac_hdr> |
3201 EOF | 3206 EOF |
3202 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 3207 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
3203 { (eval echo configure:3204: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 3208 { (eval echo configure:3209: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
3204 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 3209 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
3205 if test -z "$ac_err"; then | 3210 if test -z "$ac_err"; then |
3206 rm -rf conftest* | 3211 rm -rf conftest* |
3207 eval "ac_cv_header_$ac_safe=yes" | 3212 eval "ac_cv_header_$ac_safe=yes" |
3208 else | 3213 else |
3231 | 3236 |
3232 for ac_hdr in utime.h locale.h libgen.h fcntl.h ulimit.h cygwin/version.h | 3237 for ac_hdr in utime.h locale.h libgen.h fcntl.h ulimit.h cygwin/version.h |
3233 do | 3238 do |
3234 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 3239 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
3235 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 3240 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
3236 echo "configure:3237: checking for $ac_hdr" >&5 | 3241 echo "configure:3242: checking for $ac_hdr" >&5 |
3237 | 3242 |
3238 cat > conftest.$ac_ext <<EOF | 3243 cat > conftest.$ac_ext <<EOF |
3239 #line 3240 "configure" | 3244 #line 3245 "configure" |
3240 #include "confdefs.h" | 3245 #include "confdefs.h" |
3241 #include <$ac_hdr> | 3246 #include <$ac_hdr> |
3242 EOF | 3247 EOF |
3243 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 3248 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
3244 { (eval echo configure:3245: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 3249 { (eval echo configure:3250: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
3245 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 3250 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
3246 if test -z "$ac_err"; then | 3251 if test -z "$ac_err"; then |
3247 rm -rf conftest* | 3252 rm -rf conftest* |
3248 eval "ac_cv_header_$ac_safe=yes" | 3253 eval "ac_cv_header_$ac_safe=yes" |
3249 else | 3254 else |
3272 | 3277 |
3273 for ac_hdr in kstat.h sys/pstat.h inttypes.h sys/un.h a.out.h | 3278 for ac_hdr in kstat.h sys/pstat.h inttypes.h sys/un.h a.out.h |
3274 do | 3279 do |
3275 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 3280 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
3276 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 3281 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
3277 echo "configure:3278: checking for $ac_hdr" >&5 | 3282 echo "configure:3283: checking for $ac_hdr" >&5 |
3278 | 3283 |
3279 cat > conftest.$ac_ext <<EOF | 3284 cat > conftest.$ac_ext <<EOF |
3280 #line 3281 "configure" | 3285 #line 3286 "configure" |
3281 #include "confdefs.h" | 3286 #include "confdefs.h" |
3282 #include <$ac_hdr> | 3287 #include <$ac_hdr> |
3283 EOF | 3288 EOF |
3284 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 3289 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
3285 { (eval echo configure:3286: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 3290 { (eval echo configure:3291: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
3286 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 3291 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
3287 if test -z "$ac_err"; then | 3292 if test -z "$ac_err"; then |
3288 rm -rf conftest* | 3293 rm -rf conftest* |
3289 eval "ac_cv_header_$ac_safe=yes" | 3294 eval "ac_cv_header_$ac_safe=yes" |
3290 else | 3295 else |
3310 echo "$ac_t""no" 1>&6 | 3315 echo "$ac_t""no" 1>&6 |
3311 fi | 3316 fi |
3312 done | 3317 done |
3313 | 3318 |
3314 echo $ac_n "checking for sys/wait.h that is POSIX.1 compatible""... $ac_c" 1>&6 | 3319 echo $ac_n "checking for sys/wait.h that is POSIX.1 compatible""... $ac_c" 1>&6 |
3315 echo "configure:3316: checking for sys/wait.h that is POSIX.1 compatible" >&5 | 3320 echo "configure:3321: checking for sys/wait.h that is POSIX.1 compatible" >&5 |
3316 | 3321 |
3317 cat > conftest.$ac_ext <<EOF | 3322 cat > conftest.$ac_ext <<EOF |
3318 #line 3319 "configure" | 3323 #line 3324 "configure" |
3319 #include "confdefs.h" | 3324 #include "confdefs.h" |
3320 #include <sys/types.h> | 3325 #include <sys/types.h> |
3321 #include <sys/wait.h> | 3326 #include <sys/wait.h> |
3322 #ifndef WEXITSTATUS | 3327 #ifndef WEXITSTATUS |
3323 #define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8) | 3328 #define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8) |
3329 int s; | 3334 int s; |
3330 wait (&s); | 3335 wait (&s); |
3331 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1; | 3336 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1; |
3332 ; return 0; } | 3337 ; return 0; } |
3333 EOF | 3338 EOF |
3334 if { (eval echo configure:3335: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3339 if { (eval echo configure:3340: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
3335 rm -rf conftest* | 3340 rm -rf conftest* |
3336 ac_cv_header_sys_wait_h=yes | 3341 ac_cv_header_sys_wait_h=yes |
3337 else | 3342 else |
3338 echo "configure: failed program was:" >&5 | 3343 echo "configure: failed program was:" >&5 |
3339 cat conftest.$ac_ext >&5 | 3344 cat conftest.$ac_ext >&5 |
3353 } | 3358 } |
3354 | 3359 |
3355 fi | 3360 fi |
3356 | 3361 |
3357 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6 | 3362 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6 |
3358 echo "configure:3359: checking for ANSI C header files" >&5 | 3363 echo "configure:3364: checking for ANSI C header files" >&5 |
3359 | 3364 |
3360 cat > conftest.$ac_ext <<EOF | 3365 cat > conftest.$ac_ext <<EOF |
3361 #line 3362 "configure" | 3366 #line 3367 "configure" |
3362 #include "confdefs.h" | 3367 #include "confdefs.h" |
3363 #include <stdlib.h> | 3368 #include <stdlib.h> |
3364 #include <stdarg.h> | 3369 #include <stdarg.h> |
3365 #include <string.h> | 3370 #include <string.h> |
3366 #include <float.h> | 3371 #include <float.h> |
3367 EOF | 3372 EOF |
3368 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 3373 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
3369 { (eval echo configure:3370: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 3374 { (eval echo configure:3375: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
3370 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 3375 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
3371 if test -z "$ac_err"; then | 3376 if test -z "$ac_err"; then |
3372 rm -rf conftest* | 3377 rm -rf conftest* |
3373 ac_cv_header_stdc=yes | 3378 ac_cv_header_stdc=yes |
3374 else | 3379 else |
3381 rm -f conftest* | 3386 rm -f conftest* |
3382 | 3387 |
3383 if test $ac_cv_header_stdc = yes; then | 3388 if test $ac_cv_header_stdc = yes; then |
3384 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. | 3389 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. |
3385 cat > conftest.$ac_ext <<EOF | 3390 cat > conftest.$ac_ext <<EOF |
3386 #line 3387 "configure" | 3391 #line 3392 "configure" |
3387 #include "confdefs.h" | 3392 #include "confdefs.h" |
3388 #include <string.h> | 3393 #include <string.h> |
3389 EOF | 3394 EOF |
3390 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 3395 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
3391 egrep "memchr" >/dev/null 2>&1; then | 3396 egrep "memchr" >/dev/null 2>&1; then |
3399 fi | 3404 fi |
3400 | 3405 |
3401 if test $ac_cv_header_stdc = yes; then | 3406 if test $ac_cv_header_stdc = yes; then |
3402 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. | 3407 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. |
3403 cat > conftest.$ac_ext <<EOF | 3408 cat > conftest.$ac_ext <<EOF |
3404 #line 3405 "configure" | 3409 #line 3410 "configure" |
3405 #include "confdefs.h" | 3410 #include "confdefs.h" |
3406 #include <stdlib.h> | 3411 #include <stdlib.h> |
3407 EOF | 3412 EOF |
3408 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 3413 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
3409 egrep "free" >/dev/null 2>&1; then | 3414 egrep "free" >/dev/null 2>&1; then |
3417 fi | 3422 fi |
3418 | 3423 |
3419 if test $ac_cv_header_stdc = yes; then | 3424 if test $ac_cv_header_stdc = yes; then |
3420 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. | 3425 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. |
3421 cat > conftest.$ac_ext <<EOF | 3426 cat > conftest.$ac_ext <<EOF |
3422 #line 3423 "configure" | 3427 #line 3428 "configure" |
3423 #include "confdefs.h" | 3428 #include "confdefs.h" |
3424 #include <ctype.h> | 3429 #include <ctype.h> |
3425 #define ISLOWER(c) ('a' <= (c) && (c) <= 'z') | 3430 #define ISLOWER(c) ('a' <= (c) && (c) <= 'z') |
3426 #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) | 3431 #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) |
3427 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) | 3432 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) |
3428 int main () { int i; for (i = 0; i < 256; i++) | 3433 int main () { int i; for (i = 0; i < 256; i++) |
3429 if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2); | 3434 if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2); |
3430 exit (0); } | 3435 exit (0); } |
3431 | 3436 |
3432 EOF | 3437 EOF |
3433 if { (eval echo configure:3434: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 3438 if { (eval echo configure:3439: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
3434 then | 3439 then |
3435 : | 3440 : |
3436 else | 3441 else |
3437 conftest_rc="$?" | 3442 conftest_rc="$?" |
3438 echo "configure: failed program was:" >&5 | 3443 echo "configure: failed program was:" >&5 |
3454 } | 3459 } |
3455 | 3460 |
3456 fi | 3461 fi |
3457 | 3462 |
3458 echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6 | 3463 echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6 |
3459 echo "configure:3460: checking whether time.h and sys/time.h may both be included" >&5 | 3464 echo "configure:3465: checking whether time.h and sys/time.h may both be included" >&5 |
3460 | 3465 |
3461 cat > conftest.$ac_ext <<EOF | 3466 cat > conftest.$ac_ext <<EOF |
3462 #line 3463 "configure" | 3467 #line 3468 "configure" |
3463 #include "confdefs.h" | 3468 #include "confdefs.h" |
3464 #include <sys/types.h> | 3469 #include <sys/types.h> |
3465 #include <sys/time.h> | 3470 #include <sys/time.h> |
3466 #include <time.h> | 3471 #include <time.h> |
3467 int main() { | 3472 int main() { |
3468 struct tm *tp; | 3473 struct tm *tp; |
3469 ; return 0; } | 3474 ; return 0; } |
3470 EOF | 3475 EOF |
3471 if { (eval echo configure:3472: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3476 if { (eval echo configure:3477: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
3472 rm -rf conftest* | 3477 rm -rf conftest* |
3473 ac_cv_header_time=yes | 3478 ac_cv_header_time=yes |
3474 else | 3479 else |
3475 echo "configure: failed program was:" >&5 | 3480 echo "configure: failed program was:" >&5 |
3476 cat conftest.$ac_ext >&5 | 3481 cat conftest.$ac_ext >&5 |
3490 } | 3495 } |
3491 | 3496 |
3492 fi | 3497 fi |
3493 | 3498 |
3494 echo $ac_n "checking for sys_siglist declaration in signal.h or unistd.h""... $ac_c" 1>&6 | 3499 echo $ac_n "checking for sys_siglist declaration in signal.h or unistd.h""... $ac_c" 1>&6 |
3495 echo "configure:3496: checking for sys_siglist declaration in signal.h or unistd.h" >&5 | 3500 echo "configure:3501: checking for sys_siglist declaration in signal.h or unistd.h" >&5 |
3496 | 3501 |
3497 cat > conftest.$ac_ext <<EOF | 3502 cat > conftest.$ac_ext <<EOF |
3498 #line 3499 "configure" | 3503 #line 3504 "configure" |
3499 #include "confdefs.h" | 3504 #include "confdefs.h" |
3500 #include <sys/types.h> | 3505 #include <sys/types.h> |
3501 #include <signal.h> | 3506 #include <signal.h> |
3502 /* NetBSD declares sys_siglist in unistd.h. */ | 3507 /* NetBSD declares sys_siglist in unistd.h. */ |
3503 #ifdef HAVE_UNISTD_H | 3508 #ifdef HAVE_UNISTD_H |
3505 #endif | 3510 #endif |
3506 int main() { | 3511 int main() { |
3507 char *msg = *(sys_siglist + 1); | 3512 char *msg = *(sys_siglist + 1); |
3508 ; return 0; } | 3513 ; return 0; } |
3509 EOF | 3514 EOF |
3510 if { (eval echo configure:3511: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3515 if { (eval echo configure:3516: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
3511 rm -rf conftest* | 3516 rm -rf conftest* |
3512 ac_cv_decl_sys_siglist=yes | 3517 ac_cv_decl_sys_siglist=yes |
3513 else | 3518 else |
3514 echo "configure: failed program was:" >&5 | 3519 echo "configure: failed program was:" >&5 |
3515 cat conftest.$ac_ext >&5 | 3520 cat conftest.$ac_ext >&5 |
3530 | 3535 |
3531 fi | 3536 fi |
3532 | 3537 |
3533 | 3538 |
3534 echo $ac_n "checking for struct utimbuf""... $ac_c" 1>&6 | 3539 echo $ac_n "checking for struct utimbuf""... $ac_c" 1>&6 |
3535 echo "configure:3536: checking for struct utimbuf" >&5 | 3540 echo "configure:3541: checking for struct utimbuf" >&5 |
3536 cat > conftest.$ac_ext <<EOF | 3541 cat > conftest.$ac_ext <<EOF |
3537 #line 3538 "configure" | 3542 #line 3543 "configure" |
3538 #include "confdefs.h" | 3543 #include "confdefs.h" |
3539 #ifdef TIME_WITH_SYS_TIME | 3544 #ifdef TIME_WITH_SYS_TIME |
3540 #include <sys/time.h> | 3545 #include <sys/time.h> |
3541 #include <time.h> | 3546 #include <time.h> |
3542 #else | 3547 #else |
3551 #endif | 3556 #endif |
3552 int main() { | 3557 int main() { |
3553 static struct utimbuf x; x.actime = x.modtime; | 3558 static struct utimbuf x; x.actime = x.modtime; |
3554 ; return 0; } | 3559 ; return 0; } |
3555 EOF | 3560 EOF |
3556 if { (eval echo configure:3557: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3561 if { (eval echo configure:3562: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
3557 rm -rf conftest* | 3562 rm -rf conftest* |
3558 echo "$ac_t""yes" 1>&6 | 3563 echo "$ac_t""yes" 1>&6 |
3559 { test "$extra_verbose" = "yes" && cat << \EOF | 3564 { test "$extra_verbose" = "yes" && cat << \EOF |
3560 Defining HAVE_STRUCT_UTIMBUF | 3565 Defining HAVE_STRUCT_UTIMBUF |
3561 EOF | 3566 EOF |
3571 echo "$ac_t""no" 1>&6 | 3576 echo "$ac_t""no" 1>&6 |
3572 fi | 3577 fi |
3573 rm -f conftest* | 3578 rm -f conftest* |
3574 | 3579 |
3575 echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6 | 3580 echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6 |
3576 echo "configure:3577: checking return type of signal handlers" >&5 | 3581 echo "configure:3582: checking return type of signal handlers" >&5 |
3577 | 3582 |
3578 cat > conftest.$ac_ext <<EOF | 3583 cat > conftest.$ac_ext <<EOF |
3579 #line 3580 "configure" | 3584 #line 3585 "configure" |
3580 #include "confdefs.h" | 3585 #include "confdefs.h" |
3581 #include <sys/types.h> | 3586 #include <sys/types.h> |
3582 #include <signal.h> | 3587 #include <signal.h> |
3583 #ifdef signal | 3588 #ifdef signal |
3584 #undef signal | 3589 #undef signal |
3591 | 3596 |
3592 int main() { | 3597 int main() { |
3593 int i; | 3598 int i; |
3594 ; return 0; } | 3599 ; return 0; } |
3595 EOF | 3600 EOF |
3596 if { (eval echo configure:3597: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3601 if { (eval echo configure:3602: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
3597 rm -rf conftest* | 3602 rm -rf conftest* |
3598 ac_cv_type_signal=void | 3603 ac_cv_type_signal=void |
3599 else | 3604 else |
3600 echo "configure: failed program was:" >&5 | 3605 echo "configure: failed program was:" >&5 |
3601 cat conftest.$ac_ext >&5 | 3606 cat conftest.$ac_ext >&5 |
3613 EOF | 3618 EOF |
3614 } | 3619 } |
3615 | 3620 |
3616 | 3621 |
3617 echo $ac_n "checking for size_t""... $ac_c" 1>&6 | 3622 echo $ac_n "checking for size_t""... $ac_c" 1>&6 |
3618 echo "configure:3619: checking for size_t" >&5 | 3623 echo "configure:3624: checking for size_t" >&5 |
3619 | 3624 |
3620 cat > conftest.$ac_ext <<EOF | 3625 cat > conftest.$ac_ext <<EOF |
3621 #line 3622 "configure" | 3626 #line 3627 "configure" |
3622 #include "confdefs.h" | 3627 #include "confdefs.h" |
3623 #include <sys/types.h> | 3628 #include <sys/types.h> |
3624 #if STDC_HEADERS | 3629 #if STDC_HEADERS |
3625 #include <stdlib.h> | 3630 #include <stdlib.h> |
3626 #include <stddef.h> | 3631 #include <stddef.h> |
3647 } | 3652 } |
3648 | 3653 |
3649 fi | 3654 fi |
3650 | 3655 |
3651 echo $ac_n "checking for pid_t""... $ac_c" 1>&6 | 3656 echo $ac_n "checking for pid_t""... $ac_c" 1>&6 |
3652 echo "configure:3653: checking for pid_t" >&5 | 3657 echo "configure:3658: checking for pid_t" >&5 |
3653 | 3658 |
3654 cat > conftest.$ac_ext <<EOF | 3659 cat > conftest.$ac_ext <<EOF |
3655 #line 3656 "configure" | 3660 #line 3661 "configure" |
3656 #include "confdefs.h" | 3661 #include "confdefs.h" |
3657 #include <sys/types.h> | 3662 #include <sys/types.h> |
3658 #if STDC_HEADERS | 3663 #if STDC_HEADERS |
3659 #include <stdlib.h> | 3664 #include <stdlib.h> |
3660 #include <stddef.h> | 3665 #include <stddef.h> |
3681 } | 3686 } |
3682 | 3687 |
3683 fi | 3688 fi |
3684 | 3689 |
3685 echo $ac_n "checking for uid_t in sys/types.h""... $ac_c" 1>&6 | 3690 echo $ac_n "checking for uid_t in sys/types.h""... $ac_c" 1>&6 |
3686 echo "configure:3687: checking for uid_t in sys/types.h" >&5 | 3691 echo "configure:3692: checking for uid_t in sys/types.h" >&5 |
3687 | 3692 |
3688 cat > conftest.$ac_ext <<EOF | 3693 cat > conftest.$ac_ext <<EOF |
3689 #line 3690 "configure" | 3694 #line 3695 "configure" |
3690 #include "confdefs.h" | 3695 #include "confdefs.h" |
3691 #include <sys/types.h> | 3696 #include <sys/types.h> |
3692 EOF | 3697 EOF |
3693 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 3698 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
3694 egrep "uid_t" >/dev/null 2>&1; then | 3699 egrep "uid_t" >/dev/null 2>&1; then |
3720 } | 3725 } |
3721 | 3726 |
3722 fi | 3727 fi |
3723 | 3728 |
3724 echo $ac_n "checking for mode_t""... $ac_c" 1>&6 | 3729 echo $ac_n "checking for mode_t""... $ac_c" 1>&6 |
3725 echo "configure:3726: checking for mode_t" >&5 | 3730 echo "configure:3731: checking for mode_t" >&5 |
3726 | 3731 |
3727 cat > conftest.$ac_ext <<EOF | 3732 cat > conftest.$ac_ext <<EOF |
3728 #line 3729 "configure" | 3733 #line 3734 "configure" |
3729 #include "confdefs.h" | 3734 #include "confdefs.h" |
3730 #include <sys/types.h> | 3735 #include <sys/types.h> |
3731 #if STDC_HEADERS | 3736 #if STDC_HEADERS |
3732 #include <stdlib.h> | 3737 #include <stdlib.h> |
3733 #include <stddef.h> | 3738 #include <stddef.h> |
3754 } | 3759 } |
3755 | 3760 |
3756 fi | 3761 fi |
3757 | 3762 |
3758 echo $ac_n "checking for off_t""... $ac_c" 1>&6 | 3763 echo $ac_n "checking for off_t""... $ac_c" 1>&6 |
3759 echo "configure:3760: checking for off_t" >&5 | 3764 echo "configure:3765: checking for off_t" >&5 |
3760 | 3765 |
3761 cat > conftest.$ac_ext <<EOF | 3766 cat > conftest.$ac_ext <<EOF |
3762 #line 3763 "configure" | 3767 #line 3768 "configure" |
3763 #include "confdefs.h" | 3768 #include "confdefs.h" |
3764 #include <sys/types.h> | 3769 #include <sys/types.h> |
3765 #if STDC_HEADERS | 3770 #if STDC_HEADERS |
3766 #include <stdlib.h> | 3771 #include <stdlib.h> |
3767 #include <stddef.h> | 3772 #include <stddef.h> |
3789 | 3794 |
3790 fi | 3795 fi |
3791 | 3796 |
3792 | 3797 |
3793 echo $ac_n "checking for struct timeval""... $ac_c" 1>&6 | 3798 echo $ac_n "checking for struct timeval""... $ac_c" 1>&6 |
3794 echo "configure:3795: checking for struct timeval" >&5 | 3799 echo "configure:3800: checking for struct timeval" >&5 |
3795 cat > conftest.$ac_ext <<EOF | 3800 cat > conftest.$ac_ext <<EOF |
3796 #line 3797 "configure" | 3801 #line 3802 "configure" |
3797 #include "confdefs.h" | 3802 #include "confdefs.h" |
3798 #ifdef TIME_WITH_SYS_TIME | 3803 #ifdef TIME_WITH_SYS_TIME |
3799 #include <sys/time.h> | 3804 #include <sys/time.h> |
3800 #include <time.h> | 3805 #include <time.h> |
3801 #else | 3806 #else |
3807 #endif | 3812 #endif |
3808 int main() { | 3813 int main() { |
3809 static struct timeval x; x.tv_sec = x.tv_usec; | 3814 static struct timeval x; x.tv_sec = x.tv_usec; |
3810 ; return 0; } | 3815 ; return 0; } |
3811 EOF | 3816 EOF |
3812 if { (eval echo configure:3813: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3817 if { (eval echo configure:3818: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
3813 rm -rf conftest* | 3818 rm -rf conftest* |
3814 echo "$ac_t""yes" 1>&6 | 3819 echo "$ac_t""yes" 1>&6 |
3815 HAVE_TIMEVAL=yes | 3820 HAVE_TIMEVAL=yes |
3816 { test "$extra_verbose" = "yes" && cat << \EOF | 3821 { test "$extra_verbose" = "yes" && cat << \EOF |
3817 Defining HAVE_TIMEVAL | 3822 Defining HAVE_TIMEVAL |
3829 HAVE_TIMEVAL=no | 3834 HAVE_TIMEVAL=no |
3830 fi | 3835 fi |
3831 rm -f conftest* | 3836 rm -f conftest* |
3832 | 3837 |
3833 echo $ac_n "checking whether struct tm is in sys/time.h or time.h""... $ac_c" 1>&6 | 3838 echo $ac_n "checking whether struct tm is in sys/time.h or time.h""... $ac_c" 1>&6 |
3834 echo "configure:3835: checking whether struct tm is in sys/time.h or time.h" >&5 | 3839 echo "configure:3840: checking whether struct tm is in sys/time.h or time.h" >&5 |
3835 | 3840 |
3836 cat > conftest.$ac_ext <<EOF | 3841 cat > conftest.$ac_ext <<EOF |
3837 #line 3838 "configure" | 3842 #line 3843 "configure" |
3838 #include "confdefs.h" | 3843 #include "confdefs.h" |
3839 #include <sys/types.h> | 3844 #include <sys/types.h> |
3840 #include <time.h> | 3845 #include <time.h> |
3841 int main() { | 3846 int main() { |
3842 struct tm *tp; tp->tm_sec; | 3847 struct tm *tp; tp->tm_sec; |
3843 ; return 0; } | 3848 ; return 0; } |
3844 EOF | 3849 EOF |
3845 if { (eval echo configure:3846: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3850 if { (eval echo configure:3851: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
3846 rm -rf conftest* | 3851 rm -rf conftest* |
3847 ac_cv_struct_tm=time.h | 3852 ac_cv_struct_tm=time.h |
3848 else | 3853 else |
3849 echo "configure: failed program was:" >&5 | 3854 echo "configure: failed program was:" >&5 |
3850 cat conftest.$ac_ext >&5 | 3855 cat conftest.$ac_ext >&5 |
3864 } | 3869 } |
3865 | 3870 |
3866 fi | 3871 fi |
3867 | 3872 |
3868 echo $ac_n "checking for tm_zone in struct tm""... $ac_c" 1>&6 | 3873 echo $ac_n "checking for tm_zone in struct tm""... $ac_c" 1>&6 |
3869 echo "configure:3870: checking for tm_zone in struct tm" >&5 | 3874 echo "configure:3875: checking for tm_zone in struct tm" >&5 |
3870 | 3875 |
3871 cat > conftest.$ac_ext <<EOF | 3876 cat > conftest.$ac_ext <<EOF |
3872 #line 3873 "configure" | 3877 #line 3878 "configure" |
3873 #include "confdefs.h" | 3878 #include "confdefs.h" |
3874 #include <sys/types.h> | 3879 #include <sys/types.h> |
3875 #include <$ac_cv_struct_tm> | 3880 #include <$ac_cv_struct_tm> |
3876 int main() { | 3881 int main() { |
3877 struct tm tm; tm.tm_zone; | 3882 struct tm tm; tm.tm_zone; |
3878 ; return 0; } | 3883 ; return 0; } |
3879 EOF | 3884 EOF |
3880 if { (eval echo configure:3881: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3885 if { (eval echo configure:3886: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
3881 rm -rf conftest* | 3886 rm -rf conftest* |
3882 ac_cv_struct_tm_zone=yes | 3887 ac_cv_struct_tm_zone=yes |
3883 else | 3888 else |
3884 echo "configure: failed program was:" >&5 | 3889 echo "configure: failed program was:" >&5 |
3885 cat conftest.$ac_ext >&5 | 3890 cat conftest.$ac_ext >&5 |
3898 EOF | 3903 EOF |
3899 } | 3904 } |
3900 | 3905 |
3901 else | 3906 else |
3902 echo $ac_n "checking for tzname""... $ac_c" 1>&6 | 3907 echo $ac_n "checking for tzname""... $ac_c" 1>&6 |
3903 echo "configure:3904: checking for tzname" >&5 | 3908 echo "configure:3909: checking for tzname" >&5 |
3904 | 3909 |
3905 cat > conftest.$ac_ext <<EOF | 3910 cat > conftest.$ac_ext <<EOF |
3906 #line 3907 "configure" | 3911 #line 3912 "configure" |
3907 #include "confdefs.h" | 3912 #include "confdefs.h" |
3908 #include <time.h> | 3913 #include <time.h> |
3909 #ifndef tzname /* For SGI. */ | 3914 #ifndef tzname /* For SGI. */ |
3910 extern char *tzname[]; /* RS6000 and others reject char **tzname. */ | 3915 extern char *tzname[]; /* RS6000 and others reject char **tzname. */ |
3911 #endif | 3916 #endif |
3912 int main() { | 3917 int main() { |
3913 atoi(*tzname); | 3918 atoi(*tzname); |
3914 ; return 0; } | 3919 ; return 0; } |
3915 EOF | 3920 EOF |
3916 if { (eval echo configure:3917: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 3921 if { (eval echo configure:3922: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
3917 rm -rf conftest* | 3922 rm -rf conftest* |
3918 ac_cv_var_tzname=yes | 3923 ac_cv_var_tzname=yes |
3919 else | 3924 else |
3920 echo "configure: failed program was:" >&5 | 3925 echo "configure: failed program was:" >&5 |
3921 cat conftest.$ac_ext >&5 | 3926 cat conftest.$ac_ext >&5 |
3937 fi | 3942 fi |
3938 fi | 3943 fi |
3939 | 3944 |
3940 | 3945 |
3941 echo $ac_n "checking for working const""... $ac_c" 1>&6 | 3946 echo $ac_n "checking for working const""... $ac_c" 1>&6 |
3942 echo "configure:3943: checking for working const" >&5 | 3947 echo "configure:3948: checking for working const" >&5 |
3943 | 3948 |
3944 cat > conftest.$ac_ext <<EOF | 3949 cat > conftest.$ac_ext <<EOF |
3945 #line 3946 "configure" | 3950 #line 3951 "configure" |
3946 #include "confdefs.h" | 3951 #include "confdefs.h" |
3947 | 3952 |
3948 int main() { | 3953 int main() { |
3949 | 3954 |
3950 /* Ultrix mips cc rejects this. */ | 3955 /* Ultrix mips cc rejects this. */ |
3989 const int foo = 10; | 3994 const int foo = 10; |
3990 } | 3995 } |
3991 | 3996 |
3992 ; return 0; } | 3997 ; return 0; } |
3993 EOF | 3998 EOF |
3994 if { (eval echo configure:3995: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3999 if { (eval echo configure:4000: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
3995 rm -rf conftest* | 4000 rm -rf conftest* |
3996 ac_cv_c_const=yes | 4001 ac_cv_c_const=yes |
3997 else | 4002 else |
3998 echo "configure: failed program was:" >&5 | 4003 echo "configure: failed program was:" >&5 |
3999 cat conftest.$ac_ext >&5 | 4004 cat conftest.$ac_ext >&5 |
4014 | 4019 |
4015 fi | 4020 fi |
4016 | 4021 |
4017 | 4022 |
4018 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6 | 4023 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6 |
4019 echo "configure:4020: checking whether ${MAKE-make} sets \${MAKE}" >&5 | 4024 echo "configure:4025: checking whether ${MAKE-make} sets \${MAKE}" >&5 |
4020 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'` | 4025 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'` |
4021 | 4026 |
4022 cat > conftestmake <<\EOF | 4027 cat > conftestmake <<\EOF |
4023 all: | 4028 all: |
4024 @echo 'ac_maketemp="${MAKE}"' | 4029 @echo 'ac_maketemp="${MAKE}"' |
4039 SET_MAKE="MAKE=${MAKE-make}" | 4044 SET_MAKE="MAKE=${MAKE-make}" |
4040 fi | 4045 fi |
4041 | 4046 |
4042 | 4047 |
4043 echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6 | 4048 echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6 |
4044 echo "configure:4045: checking whether byte ordering is bigendian" >&5 | 4049 echo "configure:4050: checking whether byte ordering is bigendian" >&5 |
4045 | 4050 |
4046 ac_cv_c_bigendian=unknown | 4051 ac_cv_c_bigendian=unknown |
4047 # See if sys/param.h defines the BYTE_ORDER macro. | 4052 # See if sys/param.h defines the BYTE_ORDER macro. |
4048 cat > conftest.$ac_ext <<EOF | 4053 cat > conftest.$ac_ext <<EOF |
4049 #line 4050 "configure" | 4054 #line 4055 "configure" |
4050 #include "confdefs.h" | 4055 #include "confdefs.h" |
4051 #include <sys/types.h> | 4056 #include <sys/types.h> |
4052 #include <sys/param.h> | 4057 #include <sys/param.h> |
4053 int main() { | 4058 int main() { |
4054 | 4059 |
4055 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN | 4060 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN |
4056 bogus endian macros | 4061 bogus endian macros |
4057 #endif | 4062 #endif |
4058 ; return 0; } | 4063 ; return 0; } |
4059 EOF | 4064 EOF |
4060 if { (eval echo configure:4061: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 4065 if { (eval echo configure:4066: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
4061 rm -rf conftest* | 4066 rm -rf conftest* |
4062 # It does; now see whether it defined to BIG_ENDIAN or not. | 4067 # It does; now see whether it defined to BIG_ENDIAN or not. |
4063 cat > conftest.$ac_ext <<EOF | 4068 cat > conftest.$ac_ext <<EOF |
4064 #line 4065 "configure" | 4069 #line 4070 "configure" |
4065 #include "confdefs.h" | 4070 #include "confdefs.h" |
4066 #include <sys/types.h> | 4071 #include <sys/types.h> |
4067 #include <sys/param.h> | 4072 #include <sys/param.h> |
4068 int main() { | 4073 int main() { |
4069 | 4074 |
4070 #if BYTE_ORDER != BIG_ENDIAN | 4075 #if BYTE_ORDER != BIG_ENDIAN |
4071 not big endian | 4076 not big endian |
4072 #endif | 4077 #endif |
4073 ; return 0; } | 4078 ; return 0; } |
4074 EOF | 4079 EOF |
4075 if { (eval echo configure:4076: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 4080 if { (eval echo configure:4081: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
4076 rm -rf conftest* | 4081 rm -rf conftest* |
4077 ac_cv_c_bigendian=yes | 4082 ac_cv_c_bigendian=yes |
4078 else | 4083 else |
4079 echo "configure: failed program was:" >&5 | 4084 echo "configure: failed program was:" >&5 |
4080 cat conftest.$ac_ext >&5 | 4085 cat conftest.$ac_ext >&5 |
4087 cat conftest.$ac_ext >&5 | 4092 cat conftest.$ac_ext >&5 |
4088 fi | 4093 fi |
4089 rm -f conftest* | 4094 rm -f conftest* |
4090 if test $ac_cv_c_bigendian = unknown; then | 4095 if test $ac_cv_c_bigendian = unknown; then |
4091 cat > conftest.$ac_ext <<EOF | 4096 cat > conftest.$ac_ext <<EOF |
4092 #line 4093 "configure" | 4097 #line 4098 "configure" |
4093 #include "confdefs.h" | 4098 #include "confdefs.h" |
4094 main () { | 4099 main () { |
4095 /* Are we little or big endian? From Harbison&Steele. */ | 4100 /* Are we little or big endian? From Harbison&Steele. */ |
4096 union | 4101 union |
4097 { | 4102 { |
4100 } u; | 4105 } u; |
4101 u.l = 1; | 4106 u.l = 1; |
4102 exit (u.c[sizeof (long) - 1] == 1); | 4107 exit (u.c[sizeof (long) - 1] == 1); |
4103 } | 4108 } |
4104 EOF | 4109 EOF |
4105 if { (eval echo configure:4106: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 4110 if { (eval echo configure:4111: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
4106 then | 4111 then |
4107 ac_cv_c_bigendian=no | 4112 ac_cv_c_bigendian=no |
4108 else | 4113 else |
4109 conftest_rc="$?" | 4114 conftest_rc="$?" |
4110 echo "configure: failed program was:" >&5 | 4115 echo "configure: failed program was:" >&5 |
4127 | 4132 |
4128 fi | 4133 fi |
4129 | 4134 |
4130 | 4135 |
4131 echo $ac_n "checking size of short""... $ac_c" 1>&6 | 4136 echo $ac_n "checking size of short""... $ac_c" 1>&6 |
4132 echo "configure:4133: checking size of short" >&5 | 4137 echo "configure:4138: checking size of short" >&5 |
4133 | 4138 |
4134 cat > conftest.$ac_ext <<EOF | 4139 cat > conftest.$ac_ext <<EOF |
4135 #line 4136 "configure" | 4140 #line 4141 "configure" |
4136 #include "confdefs.h" | 4141 #include "confdefs.h" |
4137 #include <stdio.h> | 4142 #include <stdio.h> |
4138 main() | 4143 main() |
4139 { | 4144 { |
4140 FILE *f=fopen("conftestval", "w"); | 4145 FILE *f=fopen("conftestval", "w"); |
4141 if (!f) exit(1); | 4146 if (!f) exit(1); |
4142 fprintf(f, "%d\n", sizeof(short)); | 4147 fprintf(f, "%d\n", sizeof(short)); |
4143 exit(0); | 4148 exit(0); |
4144 } | 4149 } |
4145 EOF | 4150 EOF |
4146 if { (eval echo configure:4147: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 4151 if { (eval echo configure:4152: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
4147 then | 4152 then |
4148 ac_cv_sizeof_short=`cat conftestval` | 4153 ac_cv_sizeof_short=`cat conftestval` |
4149 else | 4154 else |
4150 conftest_rc="$?" | 4155 conftest_rc="$?" |
4151 echo "configure: failed program was:" >&5 | 4156 echo "configure: failed program was:" >&5 |
4169 echo "*** PANIC *** Configure tests are not working - compiler is broken." | 4174 echo "*** PANIC *** Configure tests are not working - compiler is broken." |
4170 echo "*** PANIC *** Please examine config.log for compilation errors." | 4175 echo "*** PANIC *** Please examine config.log for compilation errors." |
4171 exit 1 | 4176 exit 1 |
4172 fi | 4177 fi |
4173 echo $ac_n "checking size of int""... $ac_c" 1>&6 | 4178 echo $ac_n "checking size of int""... $ac_c" 1>&6 |
4174 echo "configure:4175: checking size of int" >&5 | 4179 echo "configure:4180: checking size of int" >&5 |
4175 | 4180 |
4176 cat > conftest.$ac_ext <<EOF | 4181 cat > conftest.$ac_ext <<EOF |
4177 #line 4178 "configure" | 4182 #line 4183 "configure" |
4178 #include "confdefs.h" | 4183 #include "confdefs.h" |
4179 #include <stdio.h> | 4184 #include <stdio.h> |
4180 main() | 4185 main() |
4181 { | 4186 { |
4182 FILE *f=fopen("conftestval", "w"); | 4187 FILE *f=fopen("conftestval", "w"); |
4183 if (!f) exit(1); | 4188 if (!f) exit(1); |
4184 fprintf(f, "%d\n", sizeof(int)); | 4189 fprintf(f, "%d\n", sizeof(int)); |
4185 exit(0); | 4190 exit(0); |
4186 } | 4191 } |
4187 EOF | 4192 EOF |
4188 if { (eval echo configure:4189: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 4193 if { (eval echo configure:4194: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
4189 then | 4194 then |
4190 ac_cv_sizeof_int=`cat conftestval` | 4195 ac_cv_sizeof_int=`cat conftestval` |
4191 else | 4196 else |
4192 conftest_rc="$?" | 4197 conftest_rc="$?" |
4193 echo "configure: failed program was:" >&5 | 4198 echo "configure: failed program was:" >&5 |
4205 EOF | 4210 EOF |
4206 } | 4211 } |
4207 | 4212 |
4208 | 4213 |
4209 echo $ac_n "checking size of long""... $ac_c" 1>&6 | 4214 echo $ac_n "checking size of long""... $ac_c" 1>&6 |
4210 echo "configure:4211: checking size of long" >&5 | 4215 echo "configure:4216: checking size of long" >&5 |
4211 | 4216 |
4212 cat > conftest.$ac_ext <<EOF | 4217 cat > conftest.$ac_ext <<EOF |
4213 #line 4214 "configure" | 4218 #line 4219 "configure" |
4214 #include "confdefs.h" | 4219 #include "confdefs.h" |
4215 #include <stdio.h> | 4220 #include <stdio.h> |
4216 main() | 4221 main() |
4217 { | 4222 { |
4218 FILE *f=fopen("conftestval", "w"); | 4223 FILE *f=fopen("conftestval", "w"); |
4219 if (!f) exit(1); | 4224 if (!f) exit(1); |
4220 fprintf(f, "%d\n", sizeof(long)); | 4225 fprintf(f, "%d\n", sizeof(long)); |
4221 exit(0); | 4226 exit(0); |
4222 } | 4227 } |
4223 EOF | 4228 EOF |
4224 if { (eval echo configure:4225: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 4229 if { (eval echo configure:4230: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
4225 then | 4230 then |
4226 ac_cv_sizeof_long=`cat conftestval` | 4231 ac_cv_sizeof_long=`cat conftestval` |
4227 else | 4232 else |
4228 conftest_rc="$?" | 4233 conftest_rc="$?" |
4229 echo "configure: failed program was:" >&5 | 4234 echo "configure: failed program was:" >&5 |
4241 EOF | 4246 EOF |
4242 } | 4247 } |
4243 | 4248 |
4244 | 4249 |
4245 echo $ac_n "checking size of long long""... $ac_c" 1>&6 | 4250 echo $ac_n "checking size of long long""... $ac_c" 1>&6 |
4246 echo "configure:4247: checking size of long long" >&5 | 4251 echo "configure:4252: checking size of long long" >&5 |
4247 | 4252 |
4248 cat > conftest.$ac_ext <<EOF | 4253 cat > conftest.$ac_ext <<EOF |
4249 #line 4250 "configure" | 4254 #line 4255 "configure" |
4250 #include "confdefs.h" | 4255 #include "confdefs.h" |
4251 #include <stdio.h> | 4256 #include <stdio.h> |
4252 main() | 4257 main() |
4253 { | 4258 { |
4254 FILE *f=fopen("conftestval", "w"); | 4259 FILE *f=fopen("conftestval", "w"); |
4255 if (!f) exit(1); | 4260 if (!f) exit(1); |
4256 fprintf(f, "%d\n", sizeof(long long)); | 4261 fprintf(f, "%d\n", sizeof(long long)); |
4257 exit(0); | 4262 exit(0); |
4258 } | 4263 } |
4259 EOF | 4264 EOF |
4260 if { (eval echo configure:4261: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 4265 if { (eval echo configure:4266: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
4261 then | 4266 then |
4262 ac_cv_sizeof_long_long=`cat conftestval` | 4267 ac_cv_sizeof_long_long=`cat conftestval` |
4263 else | 4268 else |
4264 conftest_rc="$?" | 4269 conftest_rc="$?" |
4265 echo "configure: failed program was:" >&5 | 4270 echo "configure: failed program was:" >&5 |
4277 EOF | 4282 EOF |
4278 } | 4283 } |
4279 | 4284 |
4280 | 4285 |
4281 echo $ac_n "checking size of void *""... $ac_c" 1>&6 | 4286 echo $ac_n "checking size of void *""... $ac_c" 1>&6 |
4282 echo "configure:4283: checking size of void *" >&5 | 4287 echo "configure:4288: checking size of void *" >&5 |
4283 | 4288 |
4284 cat > conftest.$ac_ext <<EOF | 4289 cat > conftest.$ac_ext <<EOF |
4285 #line 4286 "configure" | 4290 #line 4291 "configure" |
4286 #include "confdefs.h" | 4291 #include "confdefs.h" |
4287 #include <stdio.h> | 4292 #include <stdio.h> |
4288 main() | 4293 main() |
4289 { | 4294 { |
4290 FILE *f=fopen("conftestval", "w"); | 4295 FILE *f=fopen("conftestval", "w"); |
4291 if (!f) exit(1); | 4296 if (!f) exit(1); |
4292 fprintf(f, "%d\n", sizeof(void *)); | 4297 fprintf(f, "%d\n", sizeof(void *)); |
4293 exit(0); | 4298 exit(0); |
4294 } | 4299 } |
4295 EOF | 4300 EOF |
4296 if { (eval echo configure:4297: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 4301 if { (eval echo configure:4302: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
4297 then | 4302 then |
4298 ac_cv_sizeof_void_p=`cat conftestval` | 4303 ac_cv_sizeof_void_p=`cat conftestval` |
4299 else | 4304 else |
4300 conftest_rc="$?" | 4305 conftest_rc="$?" |
4301 echo "configure: failed program was:" >&5 | 4306 echo "configure: failed program was:" >&5 |
4314 } | 4319 } |
4315 | 4320 |
4316 | 4321 |
4317 | 4322 |
4318 echo $ac_n "checking for long file names""... $ac_c" 1>&6 | 4323 echo $ac_n "checking for long file names""... $ac_c" 1>&6 |
4319 echo "configure:4320: checking for long file names" >&5 | 4324 echo "configure:4325: checking for long file names" >&5 |
4320 | 4325 |
4321 ac_cv_sys_long_file_names=yes | 4326 ac_cv_sys_long_file_names=yes |
4322 # Test for long file names in all the places we know might matter: | 4327 # Test for long file names in all the places we know might matter: |
4323 # . the current directory, where building will happen | 4328 # . the current directory, where building will happen |
4324 # $prefix/lib where we will be installing things | 4329 # $prefix/lib where we will be installing things |
4360 | 4365 |
4361 fi | 4366 fi |
4362 | 4367 |
4363 | 4368 |
4364 echo $ac_n "checking for sin""... $ac_c" 1>&6 | 4369 echo $ac_n "checking for sin""... $ac_c" 1>&6 |
4365 echo "configure:4366: checking for sin" >&5 | 4370 echo "configure:4371: checking for sin" >&5 |
4366 | 4371 |
4367 cat > conftest.$ac_ext <<EOF | 4372 cat > conftest.$ac_ext <<EOF |
4368 #line 4369 "configure" | 4373 #line 4374 "configure" |
4369 #include "confdefs.h" | 4374 #include "confdefs.h" |
4370 /* System header to define __stub macros and hopefully few prototypes, | 4375 /* System header to define __stub macros and hopefully few prototypes, |
4371 which can conflict with char sin(); below. */ | 4376 which can conflict with char sin(); below. */ |
4372 #include <assert.h> | 4377 #include <assert.h> |
4373 /* Override any gcc2 internal prototype to avoid an error. */ | 4378 /* Override any gcc2 internal prototype to avoid an error. */ |
4386 sin(); | 4391 sin(); |
4387 #endif | 4392 #endif |
4388 | 4393 |
4389 ; return 0; } | 4394 ; return 0; } |
4390 EOF | 4395 EOF |
4391 if { (eval echo configure:4392: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4396 if { (eval echo configure:4397: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4392 rm -rf conftest* | 4397 rm -rf conftest* |
4393 eval "ac_cv_func_sin=yes" | 4398 eval "ac_cv_func_sin=yes" |
4394 else | 4399 else |
4395 echo "configure: failed program was:" >&5 | 4400 echo "configure: failed program was:" >&5 |
4396 cat conftest.$ac_ext >&5 | 4401 cat conftest.$ac_ext >&5 |
4404 : | 4409 : |
4405 else | 4410 else |
4406 echo "$ac_t""no" 1>&6 | 4411 echo "$ac_t""no" 1>&6 |
4407 | 4412 |
4408 echo $ac_n "checking for sin in -lm""... $ac_c" 1>&6 | 4413 echo $ac_n "checking for sin in -lm""... $ac_c" 1>&6 |
4409 echo "configure:4410: checking for sin in -lm" >&5 | 4414 echo "configure:4415: checking for sin in -lm" >&5 |
4410 ac_lib_var=`echo m'_'sin | sed 'y%./+-%__p_%'` | 4415 ac_lib_var=`echo m'_'sin | sed 'y%./+-%__p_%'` |
4411 | 4416 |
4412 xe_check_libs=" -lm " | 4417 xe_check_libs=" -lm " |
4413 cat > conftest.$ac_ext <<EOF | 4418 cat > conftest.$ac_ext <<EOF |
4414 #line 4415 "configure" | 4419 #line 4420 "configure" |
4415 #include "confdefs.h" | 4420 #include "confdefs.h" |
4416 /* Override any gcc2 internal prototype to avoid an error. */ | 4421 /* Override any gcc2 internal prototype to avoid an error. */ |
4417 /* We use char because int might match the return type of a gcc2 | 4422 /* We use char because int might match the return type of a gcc2 |
4418 builtin and then its argument prototype would still apply. */ | 4423 builtin and then its argument prototype would still apply. */ |
4419 char sin(); | 4424 char sin(); |
4420 | 4425 |
4421 int main() { | 4426 int main() { |
4422 sin() | 4427 sin() |
4423 ; return 0; } | 4428 ; return 0; } |
4424 EOF | 4429 EOF |
4425 if { (eval echo configure:4426: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4430 if { (eval echo configure:4431: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4426 rm -rf conftest* | 4431 rm -rf conftest* |
4427 eval "ac_cv_lib_$ac_lib_var=yes" | 4432 eval "ac_cv_lib_$ac_lib_var=yes" |
4428 else | 4433 else |
4429 echo "configure: failed program was:" >&5 | 4434 echo "configure: failed program was:" >&5 |
4430 cat conftest.$ac_ext >&5 | 4435 cat conftest.$ac_ext >&5 |
4464 EOF | 4469 EOF |
4465 } | 4470 } |
4466 | 4471 |
4467 | 4472 |
4468 cat > conftest.$ac_ext <<EOF | 4473 cat > conftest.$ac_ext <<EOF |
4469 #line 4470 "configure" | 4474 #line 4475 "configure" |
4470 #include "confdefs.h" | 4475 #include "confdefs.h" |
4471 #include <math.h> | 4476 #include <math.h> |
4472 int main() { | 4477 int main() { |
4473 return atanh(1.0) + asinh(1.0) + acosh(1.0); | 4478 return atanh(1.0) + asinh(1.0) + acosh(1.0); |
4474 ; return 0; } | 4479 ; return 0; } |
4475 EOF | 4480 EOF |
4476 if { (eval echo configure:4477: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4481 if { (eval echo configure:4482: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4477 rm -rf conftest* | 4482 rm -rf conftest* |
4478 { test "$extra_verbose" = "yes" && cat << \EOF | 4483 { test "$extra_verbose" = "yes" && cat << \EOF |
4479 Defining HAVE_INVERSE_HYPERBOLIC | 4484 Defining HAVE_INVERSE_HYPERBOLIC |
4480 EOF | 4485 EOF |
4481 cat >> confdefs.h <<\EOF | 4486 cat >> confdefs.h <<\EOF |
4488 cat conftest.$ac_ext >&5 | 4493 cat conftest.$ac_ext >&5 |
4489 fi | 4494 fi |
4490 rm -f conftest* | 4495 rm -f conftest* |
4491 | 4496 |
4492 echo "checking type of mail spool file locking" 1>&6 | 4497 echo "checking type of mail spool file locking" 1>&6 |
4493 echo "configure:4494: checking type of mail spool file locking" >&5 | 4498 echo "configure:4499: checking type of mail spool file locking" >&5 |
4494 test -z "$mail_locking" -a "$mail_use_flock" = "yes" && mail_locking=flock | 4499 test -z "$mail_locking" -a "$mail_use_flock" = "yes" && mail_locking=flock |
4495 test -z "$mail_locking" -a "$mail_use_lockf" = "yes" && mail_locking=lockf | 4500 test -z "$mail_locking" -a "$mail_use_lockf" = "yes" && mail_locking=lockf |
4496 if test "$mail_locking" = "lockf"; then { test "$extra_verbose" = "yes" && cat << \EOF | 4501 if test "$mail_locking" = "lockf"; then { test "$extra_verbose" = "yes" && cat << \EOF |
4497 Defining REAL_MAIL_USE_LOCKF | 4502 Defining REAL_MAIL_USE_LOCKF |
4498 EOF | 4503 EOF |
4513 fi | 4518 fi |
4514 | 4519 |
4515 case "$opsys" in decosf*) | 4520 case "$opsys" in decosf*) |
4516 | 4521 |
4517 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 |
4518 echo "configure:4519: checking for cma_open in -lpthreads" >&5 | 4523 echo "configure:4524: checking for cma_open in -lpthreads" >&5 |
4519 ac_lib_var=`echo pthreads'_'cma_open | sed 'y%./+-%__p_%'` | 4524 ac_lib_var=`echo pthreads'_'cma_open | sed 'y%./+-%__p_%'` |
4520 | 4525 |
4521 xe_check_libs=" -lpthreads " | 4526 xe_check_libs=" -lpthreads " |
4522 cat > conftest.$ac_ext <<EOF | 4527 cat > conftest.$ac_ext <<EOF |
4523 #line 4524 "configure" | 4528 #line 4529 "configure" |
4524 #include "confdefs.h" | 4529 #include "confdefs.h" |
4525 /* Override any gcc2 internal prototype to avoid an error. */ | 4530 /* Override any gcc2 internal prototype to avoid an error. */ |
4526 /* 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 |
4527 builtin and then its argument prototype would still apply. */ | 4532 builtin and then its argument prototype would still apply. */ |
4528 char cma_open(); | 4533 char cma_open(); |
4529 | 4534 |
4530 int main() { | 4535 int main() { |
4531 cma_open() | 4536 cma_open() |
4532 ; return 0; } | 4537 ; return 0; } |
4533 EOF | 4538 EOF |
4534 if { (eval echo configure:4535: \"$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 |
4535 rm -rf conftest* | 4540 rm -rf conftest* |
4536 eval "ac_cv_lib_$ac_lib_var=yes" | 4541 eval "ac_cv_lib_$ac_lib_var=yes" |
4537 else | 4542 else |
4538 echo "configure: failed program was:" >&5 | 4543 echo "configure: failed program was:" >&5 |
4539 cat conftest.$ac_ext >&5 | 4544 cat conftest.$ac_ext >&5 |
4565 test "$ac_cv_lib_pthreads_cma_open" = "yes" && \ | 4570 test "$ac_cv_lib_pthreads_cma_open" = "yes" && \ |
4566 c_switch_site="$c_switch_site -threads" ;; | 4571 c_switch_site="$c_switch_site -threads" ;; |
4567 esac | 4572 esac |
4568 | 4573 |
4569 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 |
4570 echo "configure:4571: checking whether the -xildoff compiler flag is required" >&5 | 4575 echo "configure:4576: checking whether the -xildoff compiler flag is required" >&5 |
4571 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 |
4572 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 ; |
4573 then echo "$ac_t""no" 1>&6; | 4578 then echo "$ac_t""no" 1>&6; |
4574 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 |
4575 fi | 4580 fi |
4576 else echo "$ac_t""no" 1>&6 | 4581 else echo "$ac_t""no" 1>&6 |
4577 fi | 4582 fi |
4578 | 4583 |
4579 if test "$opsys" = "sol2" && test "$OS_RELEASE" -ge 56; then | 4584 if test "$opsys" = "sol2" && test "$OS_RELEASE" -ge 56; then |
4580 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 |
4581 echo "configure:4582: checking for \"-z ignore\" linker flag" >&5 | 4586 echo "configure:4587: checking for \"-z ignore\" linker flag" >&5 |
4582 case "`ld -h 2>&1`" in | 4587 case "`ld -h 2>&1`" in |
4583 *-z\ ignore\|record* ) echo "$ac_t""yes" 1>&6 | 4588 *-z\ ignore\|record* ) echo "$ac_t""yes" 1>&6 |
4584 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 ;; |
4585 *) echo "$ac_t""no" 1>&6 ;; | 4590 *) echo "$ac_t""no" 1>&6 ;; |
4586 esac | 4591 esac |
4587 fi | 4592 fi |
4588 | 4593 |
4589 | 4594 |
4590 echo "checking "for specified window system"" 1>&6 | 4595 echo "checking "for specified window system"" 1>&6 |
4591 echo "configure:4592: checking "for specified window system"" >&5 | 4596 echo "configure:4597: checking "for specified window system"" >&5 |
4592 | 4597 |
4593 if test "$with_x11" != "no"; then | 4598 if test "$with_x11" != "no"; then |
4594 test "$x_includes $x_libraries" != "NONE NONE" && \ | 4599 test "$x_includes $x_libraries" != "NONE NONE" && \ |
4595 window_system=x11 with_x11=yes | 4600 window_system=x11 with_x11=yes |
4596 | 4601 |
4619 # 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 |
4620 # paths, otherwise set no_x=yes. | 4625 # paths, otherwise set no_x=yes. |
4621 # 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. |
4622 # --without-x overrides everything else, but does not touch the cache. | 4627 # --without-x overrides everything else, but does not touch the cache. |
4623 echo $ac_n "checking for X""... $ac_c" 1>&6 | 4628 echo $ac_n "checking for X""... $ac_c" 1>&6 |
4624 echo "configure:4625: checking for X" >&5 | 4629 echo "configure:4630: checking for X" >&5 |
4625 | 4630 |
4626 # Check whether --with-x or --without-x was given. | 4631 # Check whether --with-x or --without-x was given. |
4627 if test "${with_x+set}" = set; then | 4632 if test "${with_x+set}" = set; then |
4628 withval="$with_x" | 4633 withval="$with_x" |
4629 : | 4634 : |
4679 # 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. |
4680 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 |
4681 | 4686 |
4682 # First, try using that file with no special directory specified. | 4687 # First, try using that file with no special directory specified. |
4683 cat > conftest.$ac_ext <<EOF | 4688 cat > conftest.$ac_ext <<EOF |
4684 #line 4685 "configure" | 4689 #line 4690 "configure" |
4685 #include "confdefs.h" | 4690 #include "confdefs.h" |
4686 #include <$x_direct_test_include> | 4691 #include <$x_direct_test_include> |
4687 EOF | 4692 EOF |
4688 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" |
4689 { (eval echo configure:4690: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 4694 { (eval echo configure:4695: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
4690 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 4695 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
4691 if test -z "$ac_err"; then | 4696 if test -z "$ac_err"; then |
4692 rm -rf conftest* | 4697 rm -rf conftest* |
4693 # We can compile using X headers with no special include directory. | 4698 # We can compile using X headers with no special include directory. |
4694 ac_x_includes= | 4699 ac_x_includes= |
4753 # See if we find them without any special options. | 4758 # See if we find them without any special options. |
4754 # Don't add to $LIBS permanently. | 4759 # Don't add to $LIBS permanently. |
4755 ac_save_LIBS="$LIBS" | 4760 ac_save_LIBS="$LIBS" |
4756 LIBS="-l$x_direct_test_library $LIBS" | 4761 LIBS="-l$x_direct_test_library $LIBS" |
4757 cat > conftest.$ac_ext <<EOF | 4762 cat > conftest.$ac_ext <<EOF |
4758 #line 4759 "configure" | 4763 #line 4764 "configure" |
4759 #include "confdefs.h" | 4764 #include "confdefs.h" |
4760 | 4765 |
4761 int main() { | 4766 int main() { |
4762 ${x_direct_test_function}() | 4767 ${x_direct_test_function}() |
4763 ; return 0; } | 4768 ; return 0; } |
4764 EOF | 4769 EOF |
4765 if { (eval echo configure:4766: \"$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 |
4766 rm -rf conftest* | 4771 rm -rf conftest* |
4767 LIBS="$ac_save_LIBS" | 4772 LIBS="$ac_save_LIBS" |
4768 # We can link X programs with no special library path. | 4773 # We can link X programs with no special library path. |
4769 ac_x_libraries= | 4774 ac_x_libraries= |
4770 else | 4775 else |
4869 # 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 |
4870 # others require no space. Words are not sufficient . . . . | 4875 # others require no space. Words are not sufficient . . . . |
4871 case "`(uname -sr) 2>/dev/null`" in | 4876 case "`(uname -sr) 2>/dev/null`" in |
4872 "SunOS 5"*) | 4877 "SunOS 5"*) |
4873 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 |
4874 echo "configure:4875: checking whether -R must be followed by a space" >&5 | 4879 echo "configure:4880: checking whether -R must be followed by a space" >&5 |
4875 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS -R$x_libraries" | 4880 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS -R$x_libraries" |
4876 cat > conftest.$ac_ext <<EOF | 4881 cat > conftest.$ac_ext <<EOF |
4877 #line 4878 "configure" | 4882 #line 4883 "configure" |
4878 #include "confdefs.h" | 4883 #include "confdefs.h" |
4879 | 4884 |
4880 int main() { | 4885 int main() { |
4881 | 4886 |
4882 ; return 0; } | 4887 ; return 0; } |
4883 EOF | 4888 EOF |
4884 if { (eval echo configure:4885: \"$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 |
4885 rm -rf conftest* | 4890 rm -rf conftest* |
4886 ac_R_nospace=yes | 4891 ac_R_nospace=yes |
4887 else | 4892 else |
4888 echo "configure: failed program was:" >&5 | 4893 echo "configure: failed program was:" >&5 |
4889 cat conftest.$ac_ext >&5 | 4894 cat conftest.$ac_ext >&5 |
4895 echo "$ac_t""no" 1>&6 | 4900 echo "$ac_t""no" 1>&6 |
4896 X_LIBS="$X_LIBS -R$x_libraries" | 4901 X_LIBS="$X_LIBS -R$x_libraries" |
4897 else | 4902 else |
4898 LIBS="$ac_xsave_LIBS -R $x_libraries" | 4903 LIBS="$ac_xsave_LIBS -R $x_libraries" |
4899 cat > conftest.$ac_ext <<EOF | 4904 cat > conftest.$ac_ext <<EOF |
4900 #line 4901 "configure" | 4905 #line 4906 "configure" |
4901 #include "confdefs.h" | 4906 #include "confdefs.h" |
4902 | 4907 |
4903 int main() { | 4908 int main() { |
4904 | 4909 |
4905 ; return 0; } | 4910 ; return 0; } |
4906 EOF | 4911 EOF |
4907 if { (eval echo configure:4908: \"$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 |
4908 rm -rf conftest* | 4913 rm -rf conftest* |
4909 ac_R_space=yes | 4914 ac_R_space=yes |
4910 else | 4915 else |
4911 echo "configure: failed program was:" >&5 | 4916 echo "configure: failed program was:" >&5 |
4912 cat conftest.$ac_ext >&5 | 4917 cat conftest.$ac_ext >&5 |
4938 if test "$with_dnet" = "no" ; then | 4943 if test "$with_dnet" = "no" ; then |
4939 ac_cv_lib_dnet_dnet_ntoa=no | 4944 ac_cv_lib_dnet_dnet_ntoa=no |
4940 else | 4945 else |
4941 | 4946 |
4942 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 |
4943 echo "configure:4944: checking for dnet_ntoa in -ldnet" >&5 | 4948 echo "configure:4949: checking for dnet_ntoa in -ldnet" >&5 |
4944 ac_lib_var=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'` | 4949 ac_lib_var=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'` |
4945 | 4950 |
4946 xe_check_libs=" -ldnet " | 4951 xe_check_libs=" -ldnet " |
4947 cat > conftest.$ac_ext <<EOF | 4952 cat > conftest.$ac_ext <<EOF |
4948 #line 4949 "configure" | 4953 #line 4954 "configure" |
4949 #include "confdefs.h" | 4954 #include "confdefs.h" |
4950 /* Override any gcc2 internal prototype to avoid an error. */ | 4955 /* Override any gcc2 internal prototype to avoid an error. */ |
4951 /* 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 |
4952 builtin and then its argument prototype would still apply. */ | 4957 builtin and then its argument prototype would still apply. */ |
4953 char dnet_ntoa(); | 4958 char dnet_ntoa(); |
4954 | 4959 |
4955 int main() { | 4960 int main() { |
4956 dnet_ntoa() | 4961 dnet_ntoa() |
4957 ; return 0; } | 4962 ; return 0; } |
4958 EOF | 4963 EOF |
4959 if { (eval echo configure:4960: \"$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 |
4960 rm -rf conftest* | 4965 rm -rf conftest* |
4961 eval "ac_cv_lib_$ac_lib_var=yes" | 4966 eval "ac_cv_lib_$ac_lib_var=yes" |
4962 else | 4967 else |
4963 echo "configure: failed program was:" >&5 | 4968 echo "configure: failed program was:" >&5 |
4964 cat conftest.$ac_ext >&5 | 4969 cat conftest.$ac_ext >&5 |
4978 fi | 4983 fi |
4979 | 4984 |
4980 if test $ac_cv_lib_dnet_dnet_ntoa = no; then | 4985 if test $ac_cv_lib_dnet_dnet_ntoa = no; then |
4981 | 4986 |
4982 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 |
4983 echo "configure:4984: checking for dnet_ntoa in -ldnet_stub" >&5 | 4988 echo "configure:4989: checking for dnet_ntoa in -ldnet_stub" >&5 |
4984 ac_lib_var=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'` | 4989 ac_lib_var=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'` |
4985 | 4990 |
4986 xe_check_libs=" -ldnet_stub " | 4991 xe_check_libs=" -ldnet_stub " |
4987 cat > conftest.$ac_ext <<EOF | 4992 cat > conftest.$ac_ext <<EOF |
4988 #line 4989 "configure" | 4993 #line 4994 "configure" |
4989 #include "confdefs.h" | 4994 #include "confdefs.h" |
4990 /* Override any gcc2 internal prototype to avoid an error. */ | 4995 /* Override any gcc2 internal prototype to avoid an error. */ |
4991 /* 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 |
4992 builtin and then its argument prototype would still apply. */ | 4997 builtin and then its argument prototype would still apply. */ |
4993 char dnet_ntoa(); | 4998 char dnet_ntoa(); |
4994 | 4999 |
4995 int main() { | 5000 int main() { |
4996 dnet_ntoa() | 5001 dnet_ntoa() |
4997 ; return 0; } | 5002 ; return 0; } |
4998 EOF | 5003 EOF |
4999 if { (eval echo configure:5000: \"$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 |
5000 rm -rf conftest* | 5005 rm -rf conftest* |
5001 eval "ac_cv_lib_$ac_lib_var=yes" | 5006 eval "ac_cv_lib_$ac_lib_var=yes" |
5002 else | 5007 else |
5003 echo "configure: failed program was:" >&5 | 5008 echo "configure: failed program was:" >&5 |
5004 cat conftest.$ac_ext >&5 | 5009 cat conftest.$ac_ext >&5 |
5023 # 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) |
5024 # needs -lnsl. | 5029 # needs -lnsl. |
5025 # The nsl library prevents programs from opening the X display | 5030 # The nsl library prevents programs from opening the X display |
5026 # on Irix 5.2, according to dickey@clark.net. | 5031 # on Irix 5.2, according to dickey@clark.net. |
5027 echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6 | 5032 echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6 |
5028 echo "configure:5029: checking for gethostbyname" >&5 | 5033 echo "configure:5034: checking for gethostbyname" >&5 |
5029 | 5034 |
5030 cat > conftest.$ac_ext <<EOF | 5035 cat > conftest.$ac_ext <<EOF |
5031 #line 5032 "configure" | 5036 #line 5037 "configure" |
5032 #include "confdefs.h" | 5037 #include "confdefs.h" |
5033 /* System header to define __stub macros and hopefully few prototypes, | 5038 /* System header to define __stub macros and hopefully few prototypes, |
5034 which can conflict with char gethostbyname(); below. */ | 5039 which can conflict with char gethostbyname(); below. */ |
5035 #include <assert.h> | 5040 #include <assert.h> |
5036 /* Override any gcc2 internal prototype to avoid an error. */ | 5041 /* Override any gcc2 internal prototype to avoid an error. */ |
5049 gethostbyname(); | 5054 gethostbyname(); |
5050 #endif | 5055 #endif |
5051 | 5056 |
5052 ; return 0; } | 5057 ; return 0; } |
5053 EOF | 5058 EOF |
5054 if { (eval echo configure:5055: \"$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 |
5055 rm -rf conftest* | 5060 rm -rf conftest* |
5056 eval "ac_cv_func_gethostbyname=yes" | 5061 eval "ac_cv_func_gethostbyname=yes" |
5057 else | 5062 else |
5058 echo "configure: failed program was:" >&5 | 5063 echo "configure: failed program was:" >&5 |
5059 cat conftest.$ac_ext >&5 | 5064 cat conftest.$ac_ext >&5 |
5070 fi | 5075 fi |
5071 | 5076 |
5072 if test $ac_cv_func_gethostbyname = no; then | 5077 if test $ac_cv_func_gethostbyname = no; then |
5073 | 5078 |
5074 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 |
5075 echo "configure:5076: checking for gethostbyname in -lnsl" >&5 | 5080 echo "configure:5081: checking for gethostbyname in -lnsl" >&5 |
5076 ac_lib_var=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'` | 5081 ac_lib_var=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'` |
5077 | 5082 |
5078 xe_check_libs=" -lnsl " | 5083 xe_check_libs=" -lnsl " |
5079 cat > conftest.$ac_ext <<EOF | 5084 cat > conftest.$ac_ext <<EOF |
5080 #line 5081 "configure" | 5085 #line 5086 "configure" |
5081 #include "confdefs.h" | 5086 #include "confdefs.h" |
5082 /* Override any gcc2 internal prototype to avoid an error. */ | 5087 /* Override any gcc2 internal prototype to avoid an error. */ |
5083 /* 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 |
5084 builtin and then its argument prototype would still apply. */ | 5089 builtin and then its argument prototype would still apply. */ |
5085 char gethostbyname(); | 5090 char gethostbyname(); |
5086 | 5091 |
5087 int main() { | 5092 int main() { |
5088 gethostbyname() | 5093 gethostbyname() |
5089 ; return 0; } | 5094 ; return 0; } |
5090 EOF | 5095 EOF |
5091 if { (eval echo configure:5092: \"$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 |
5092 rm -rf conftest* | 5097 rm -rf conftest* |
5093 eval "ac_cv_lib_$ac_lib_var=yes" | 5098 eval "ac_cv_lib_$ac_lib_var=yes" |
5094 else | 5099 else |
5095 echo "configure: failed program was:" >&5 | 5100 echo "configure: failed program was:" >&5 |
5096 cat conftest.$ac_ext >&5 | 5101 cat conftest.$ac_ext >&5 |
5116 # on later versions), says simon@lia.di.epfl.ch: it contains | 5121 # on later versions), says simon@lia.di.epfl.ch: it contains |
5117 # gethostby* variants that don't use the nameserver (or something). | 5122 # gethostby* variants that don't use the nameserver (or something). |
5118 # -lsocket must be given before -lnsl if both are needed. | 5123 # -lsocket must be given before -lnsl if both are needed. |
5119 # We assume that if connect needs -lnsl, so does gethostbyname. | 5124 # We assume that if connect needs -lnsl, so does gethostbyname. |
5120 echo $ac_n "checking for connect""... $ac_c" 1>&6 | 5125 echo $ac_n "checking for connect""... $ac_c" 1>&6 |
5121 echo "configure:5122: checking for connect" >&5 | 5126 echo "configure:5127: checking for connect" >&5 |
5122 | 5127 |
5123 cat > conftest.$ac_ext <<EOF | 5128 cat > conftest.$ac_ext <<EOF |
5124 #line 5125 "configure" | 5129 #line 5130 "configure" |
5125 #include "confdefs.h" | 5130 #include "confdefs.h" |
5126 /* System header to define __stub macros and hopefully few prototypes, | 5131 /* System header to define __stub macros and hopefully few prototypes, |
5127 which can conflict with char connect(); below. */ | 5132 which can conflict with char connect(); below. */ |
5128 #include <assert.h> | 5133 #include <assert.h> |
5129 /* Override any gcc2 internal prototype to avoid an error. */ | 5134 /* Override any gcc2 internal prototype to avoid an error. */ |
5142 connect(); | 5147 connect(); |
5143 #endif | 5148 #endif |
5144 | 5149 |
5145 ; return 0; } | 5150 ; return 0; } |
5146 EOF | 5151 EOF |
5147 if { (eval echo configure:5148: \"$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 |
5148 rm -rf conftest* | 5153 rm -rf conftest* |
5149 eval "ac_cv_func_connect=yes" | 5154 eval "ac_cv_func_connect=yes" |
5150 else | 5155 else |
5151 echo "configure: failed program was:" >&5 | 5156 echo "configure: failed program was:" >&5 |
5152 cat conftest.$ac_ext >&5 | 5157 cat conftest.$ac_ext >&5 |
5165 if test $ac_cv_func_connect = no; then | 5170 if test $ac_cv_func_connect = no; then |
5166 | 5171 |
5167 xe_msg_checking="for connect in -lsocket" | 5172 xe_msg_checking="for connect in -lsocket" |
5168 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" |
5169 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 5174 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
5170 echo "configure:5171: checking "$xe_msg_checking"" >&5 | 5175 echo "configure:5176: checking "$xe_msg_checking"" >&5 |
5171 ac_lib_var=`echo socket'_'connect | sed 'y%./+-%__p_%'` | 5176 ac_lib_var=`echo socket'_'connect | sed 'y%./+-%__p_%'` |
5172 | 5177 |
5173 xe_check_libs=" -lsocket $X_EXTRA_LIBS" | 5178 xe_check_libs=" -lsocket $X_EXTRA_LIBS" |
5174 cat > conftest.$ac_ext <<EOF | 5179 cat > conftest.$ac_ext <<EOF |
5175 #line 5176 "configure" | 5180 #line 5181 "configure" |
5176 #include "confdefs.h" | 5181 #include "confdefs.h" |
5177 /* Override any gcc2 internal prototype to avoid an error. */ | 5182 /* Override any gcc2 internal prototype to avoid an error. */ |
5178 /* 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 |
5179 builtin and then its argument prototype would still apply. */ | 5184 builtin and then its argument prototype would still apply. */ |
5180 char connect(); | 5185 char connect(); |
5181 | 5186 |
5182 int main() { | 5187 int main() { |
5183 connect() | 5188 connect() |
5184 ; return 0; } | 5189 ; return 0; } |
5185 EOF | 5190 EOF |
5186 if { (eval echo configure:5187: \"$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 |
5187 rm -rf conftest* | 5192 rm -rf conftest* |
5188 eval "ac_cv_lib_$ac_lib_var=yes" | 5193 eval "ac_cv_lib_$ac_lib_var=yes" |
5189 else | 5194 else |
5190 echo "configure: failed program was:" >&5 | 5195 echo "configure: failed program was:" >&5 |
5191 cat conftest.$ac_ext >&5 | 5196 cat conftest.$ac_ext >&5 |
5205 | 5210 |
5206 fi | 5211 fi |
5207 | 5212 |
5208 # 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. |
5209 echo $ac_n "checking for remove""... $ac_c" 1>&6 | 5214 echo $ac_n "checking for remove""... $ac_c" 1>&6 |
5210 echo "configure:5211: checking for remove" >&5 | 5215 echo "configure:5216: checking for remove" >&5 |
5211 | 5216 |
5212 cat > conftest.$ac_ext <<EOF | 5217 cat > conftest.$ac_ext <<EOF |
5213 #line 5214 "configure" | 5218 #line 5219 "configure" |
5214 #include "confdefs.h" | 5219 #include "confdefs.h" |
5215 /* System header to define __stub macros and hopefully few prototypes, | 5220 /* System header to define __stub macros and hopefully few prototypes, |
5216 which can conflict with char remove(); below. */ | 5221 which can conflict with char remove(); below. */ |
5217 #include <assert.h> | 5222 #include <assert.h> |
5218 /* Override any gcc2 internal prototype to avoid an error. */ | 5223 /* Override any gcc2 internal prototype to avoid an error. */ |
5231 remove(); | 5236 remove(); |
5232 #endif | 5237 #endif |
5233 | 5238 |
5234 ; return 0; } | 5239 ; return 0; } |
5235 EOF | 5240 EOF |
5236 if { (eval echo configure:5237: \"$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 |
5237 rm -rf conftest* | 5242 rm -rf conftest* |
5238 eval "ac_cv_func_remove=yes" | 5243 eval "ac_cv_func_remove=yes" |
5239 else | 5244 else |
5240 echo "configure: failed program was:" >&5 | 5245 echo "configure: failed program was:" >&5 |
5241 cat conftest.$ac_ext >&5 | 5246 cat conftest.$ac_ext >&5 |
5252 fi | 5257 fi |
5253 | 5258 |
5254 if test $ac_cv_func_remove = no; then | 5259 if test $ac_cv_func_remove = no; then |
5255 | 5260 |
5256 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 |
5257 echo "configure:5258: checking for remove in -lposix" >&5 | 5262 echo "configure:5263: checking for remove in -lposix" >&5 |
5258 ac_lib_var=`echo posix'_'remove | sed 'y%./+-%__p_%'` | 5263 ac_lib_var=`echo posix'_'remove | sed 'y%./+-%__p_%'` |
5259 | 5264 |
5260 xe_check_libs=" -lposix " | 5265 xe_check_libs=" -lposix " |
5261 cat > conftest.$ac_ext <<EOF | 5266 cat > conftest.$ac_ext <<EOF |
5262 #line 5263 "configure" | 5267 #line 5268 "configure" |
5263 #include "confdefs.h" | 5268 #include "confdefs.h" |
5264 /* Override any gcc2 internal prototype to avoid an error. */ | 5269 /* Override any gcc2 internal prototype to avoid an error. */ |
5265 /* 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 |
5266 builtin and then its argument prototype would still apply. */ | 5271 builtin and then its argument prototype would still apply. */ |
5267 char remove(); | 5272 char remove(); |
5268 | 5273 |
5269 int main() { | 5274 int main() { |
5270 remove() | 5275 remove() |
5271 ; return 0; } | 5276 ; return 0; } |
5272 EOF | 5277 EOF |
5273 if { (eval echo configure:5274: \"$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 |
5274 rm -rf conftest* | 5279 rm -rf conftest* |
5275 eval "ac_cv_lib_$ac_lib_var=yes" | 5280 eval "ac_cv_lib_$ac_lib_var=yes" |
5276 else | 5281 else |
5277 echo "configure: failed program was:" >&5 | 5282 echo "configure: failed program was:" >&5 |
5278 cat conftest.$ac_ext >&5 | 5283 cat conftest.$ac_ext >&5 |
5292 | 5297 |
5293 fi | 5298 fi |
5294 | 5299 |
5295 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay. | 5300 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay. |
5296 echo $ac_n "checking for shmat""... $ac_c" 1>&6 | 5301 echo $ac_n "checking for shmat""... $ac_c" 1>&6 |
5297 echo "configure:5298: checking for shmat" >&5 | 5302 echo "configure:5303: checking for shmat" >&5 |
5298 | 5303 |
5299 cat > conftest.$ac_ext <<EOF | 5304 cat > conftest.$ac_ext <<EOF |
5300 #line 5301 "configure" | 5305 #line 5306 "configure" |
5301 #include "confdefs.h" | 5306 #include "confdefs.h" |
5302 /* System header to define __stub macros and hopefully few prototypes, | 5307 /* System header to define __stub macros and hopefully few prototypes, |
5303 which can conflict with char shmat(); below. */ | 5308 which can conflict with char shmat(); below. */ |
5304 #include <assert.h> | 5309 #include <assert.h> |
5305 /* Override any gcc2 internal prototype to avoid an error. */ | 5310 /* Override any gcc2 internal prototype to avoid an error. */ |
5318 shmat(); | 5323 shmat(); |
5319 #endif | 5324 #endif |
5320 | 5325 |
5321 ; return 0; } | 5326 ; return 0; } |
5322 EOF | 5327 EOF |
5323 if { (eval echo configure:5324: \"$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 |
5324 rm -rf conftest* | 5329 rm -rf conftest* |
5325 eval "ac_cv_func_shmat=yes" | 5330 eval "ac_cv_func_shmat=yes" |
5326 else | 5331 else |
5327 echo "configure: failed program was:" >&5 | 5332 echo "configure: failed program was:" >&5 |
5328 cat conftest.$ac_ext >&5 | 5333 cat conftest.$ac_ext >&5 |
5339 fi | 5344 fi |
5340 | 5345 |
5341 if test $ac_cv_func_shmat = no; then | 5346 if test $ac_cv_func_shmat = no; then |
5342 | 5347 |
5343 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 |
5344 echo "configure:5345: checking for shmat in -lipc" >&5 | 5349 echo "configure:5350: checking for shmat in -lipc" >&5 |
5345 ac_lib_var=`echo ipc'_'shmat | sed 'y%./+-%__p_%'` | 5350 ac_lib_var=`echo ipc'_'shmat | sed 'y%./+-%__p_%'` |
5346 | 5351 |
5347 xe_check_libs=" -lipc " | 5352 xe_check_libs=" -lipc " |
5348 cat > conftest.$ac_ext <<EOF | 5353 cat > conftest.$ac_ext <<EOF |
5349 #line 5350 "configure" | 5354 #line 5355 "configure" |
5350 #include "confdefs.h" | 5355 #include "confdefs.h" |
5351 /* Override any gcc2 internal prototype to avoid an error. */ | 5356 /* Override any gcc2 internal prototype to avoid an error. */ |
5352 /* 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 |
5353 builtin and then its argument prototype would still apply. */ | 5358 builtin and then its argument prototype would still apply. */ |
5354 char shmat(); | 5359 char shmat(); |
5355 | 5360 |
5356 int main() { | 5361 int main() { |
5357 shmat() | 5362 shmat() |
5358 ; return 0; } | 5363 ; return 0; } |
5359 EOF | 5364 EOF |
5360 if { (eval echo configure:5361: \"$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 |
5361 rm -rf conftest* | 5366 rm -rf conftest* |
5362 eval "ac_cv_lib_$ac_lib_var=yes" | 5367 eval "ac_cv_lib_$ac_lib_var=yes" |
5363 else | 5368 else |
5364 echo "configure: failed program was:" >&5 | 5369 echo "configure: failed program was:" >&5 |
5365 cat conftest.$ac_ext >&5 | 5370 cat conftest.$ac_ext >&5 |
5391 # --interran@uluru.Stanford.EDU, kb@cs.umb.edu. | 5396 # --interran@uluru.Stanford.EDU, kb@cs.umb.edu. |
5392 | 5397 |
5393 xe_msg_checking="for IceConnectionNumber in -lICE" | 5398 xe_msg_checking="for IceConnectionNumber in -lICE" |
5394 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" |
5395 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 5400 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
5396 echo "configure:5397: checking "$xe_msg_checking"" >&5 | 5401 echo "configure:5402: checking "$xe_msg_checking"" >&5 |
5397 ac_lib_var=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'` | 5402 ac_lib_var=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'` |
5398 | 5403 |
5399 xe_check_libs=" -lICE $X_EXTRA_LIBS" | 5404 xe_check_libs=" -lICE $X_EXTRA_LIBS" |
5400 cat > conftest.$ac_ext <<EOF | 5405 cat > conftest.$ac_ext <<EOF |
5401 #line 5402 "configure" | 5406 #line 5407 "configure" |
5402 #include "confdefs.h" | 5407 #include "confdefs.h" |
5403 /* Override any gcc2 internal prototype to avoid an error. */ | 5408 /* Override any gcc2 internal prototype to avoid an error. */ |
5404 /* 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 |
5405 builtin and then its argument prototype would still apply. */ | 5410 builtin and then its argument prototype would still apply. */ |
5406 char IceConnectionNumber(); | 5411 char IceConnectionNumber(); |
5407 | 5412 |
5408 int main() { | 5413 int main() { |
5409 IceConnectionNumber() | 5414 IceConnectionNumber() |
5410 ; return 0; } | 5415 ; return 0; } |
5411 EOF | 5416 EOF |
5412 if { (eval echo configure:5413: \"$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 |
5413 rm -rf conftest* | 5418 rm -rf conftest* |
5414 eval "ac_cv_lib_$ac_lib_var=yes" | 5419 eval "ac_cv_lib_$ac_lib_var=yes" |
5415 else | 5420 else |
5416 echo "configure: failed program was:" >&5 | 5421 echo "configure: failed program was:" >&5 |
5417 cat conftest.$ac_ext >&5 | 5422 cat conftest.$ac_ext >&5 |
5576 EOF | 5581 EOF |
5577 } | 5582 } |
5578 | 5583 |
5579 | 5584 |
5580 echo "checking for X defines extracted by xmkmf" 1>&6 | 5585 echo "checking for X defines extracted by xmkmf" 1>&6 |
5581 echo "configure:5582: checking for X defines extracted by xmkmf" >&5 | 5586 echo "configure:5587: checking for X defines extracted by xmkmf" >&5 |
5582 rm -fr conftestdir | 5587 rm -fr conftestdir |
5583 if mkdir conftestdir; then | 5588 if mkdir conftestdir; then |
5584 cd conftestdir | 5589 cd conftestdir |
5585 cat > Imakefile <<'EOF' | 5590 cat > Imakefile <<'EOF' |
5586 xetest: | 5591 xetest: |
5608 done | 5613 done |
5609 fi | 5614 fi |
5610 | 5615 |
5611 ac_safe=`echo "X11/Intrinsic.h" | sed 'y%./+-%__p_%'` | 5616 ac_safe=`echo "X11/Intrinsic.h" | sed 'y%./+-%__p_%'` |
5612 echo $ac_n "checking for X11/Intrinsic.h""... $ac_c" 1>&6 | 5617 echo $ac_n "checking for X11/Intrinsic.h""... $ac_c" 1>&6 |
5613 echo "configure:5614: checking for X11/Intrinsic.h" >&5 | 5618 echo "configure:5619: checking for X11/Intrinsic.h" >&5 |
5614 | 5619 |
5615 cat > conftest.$ac_ext <<EOF | 5620 cat > conftest.$ac_ext <<EOF |
5616 #line 5617 "configure" | 5621 #line 5622 "configure" |
5617 #include "confdefs.h" | 5622 #include "confdefs.h" |
5618 #include <X11/Intrinsic.h> | 5623 #include <X11/Intrinsic.h> |
5619 EOF | 5624 EOF |
5620 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 5625 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
5621 { (eval echo configure:5622: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 5626 { (eval echo configure:5627: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
5622 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 5627 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
5623 if test -z "$ac_err"; then | 5628 if test -z "$ac_err"; then |
5624 rm -rf conftest* | 5629 rm -rf conftest* |
5625 eval "ac_cv_header_$ac_safe=yes" | 5630 eval "ac_cv_header_$ac_safe=yes" |
5626 else | 5631 else |
5640 fi | 5645 fi |
5641 | 5646 |
5642 | 5647 |
5643 | 5648 |
5644 echo $ac_n "checking for XOpenDisplay in -lX11""... $ac_c" 1>&6 | 5649 echo $ac_n "checking for XOpenDisplay in -lX11""... $ac_c" 1>&6 |
5645 echo "configure:5646: checking for XOpenDisplay in -lX11" >&5 | 5650 echo "configure:5651: checking for XOpenDisplay in -lX11" >&5 |
5646 ac_lib_var=`echo X11'_'XOpenDisplay | sed 'y%./+-%__p_%'` | 5651 ac_lib_var=`echo X11'_'XOpenDisplay | sed 'y%./+-%__p_%'` |
5647 | 5652 |
5648 xe_check_libs=" -lX11 " | 5653 xe_check_libs=" -lX11 " |
5649 cat > conftest.$ac_ext <<EOF | 5654 cat > conftest.$ac_ext <<EOF |
5650 #line 5651 "configure" | 5655 #line 5656 "configure" |
5651 #include "confdefs.h" | 5656 #include "confdefs.h" |
5652 /* Override any gcc2 internal prototype to avoid an error. */ | 5657 /* Override any gcc2 internal prototype to avoid an error. */ |
5653 /* We use char because int might match the return type of a gcc2 | 5658 /* We use char because int might match the return type of a gcc2 |
5654 builtin and then its argument prototype would still apply. */ | 5659 builtin and then its argument prototype would still apply. */ |
5655 char XOpenDisplay(); | 5660 char XOpenDisplay(); |
5656 | 5661 |
5657 int main() { | 5662 int main() { |
5658 XOpenDisplay() | 5663 XOpenDisplay() |
5659 ; return 0; } | 5664 ; return 0; } |
5660 EOF | 5665 EOF |
5661 if { (eval echo configure:5662: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5666 if { (eval echo configure:5667: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5662 rm -rf conftest* | 5667 rm -rf conftest* |
5663 eval "ac_cv_lib_$ac_lib_var=yes" | 5668 eval "ac_cv_lib_$ac_lib_var=yes" |
5664 else | 5669 else |
5665 echo "configure: failed program was:" >&5 | 5670 echo "configure: failed program was:" >&5 |
5666 cat conftest.$ac_ext >&5 | 5671 cat conftest.$ac_ext >&5 |
5681 if test "$have_lib_x11" != "yes"; then | 5686 if test "$have_lib_x11" != "yes"; then |
5682 | 5687 |
5683 xe_msg_checking="for XGetFontProperty in -lX11" | 5688 xe_msg_checking="for XGetFontProperty in -lX11" |
5684 test -n "-b i486-linuxaout" && xe_msg_checking="$xe_msg_checking using extra libs -b i486-linuxaout" | 5689 test -n "-b i486-linuxaout" && xe_msg_checking="$xe_msg_checking using extra libs -b i486-linuxaout" |
5685 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 5690 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
5686 echo "configure:5687: checking "$xe_msg_checking"" >&5 | 5691 echo "configure:5692: checking "$xe_msg_checking"" >&5 |
5687 ac_lib_var=`echo X11'_'XGetFontProperty | sed 'y%./+-%__p_%'` | 5692 ac_lib_var=`echo X11'_'XGetFontProperty | sed 'y%./+-%__p_%'` |
5688 | 5693 |
5689 xe_check_libs=" -lX11 -b i486-linuxaout" | 5694 xe_check_libs=" -lX11 -b i486-linuxaout" |
5690 cat > conftest.$ac_ext <<EOF | 5695 cat > conftest.$ac_ext <<EOF |
5691 #line 5692 "configure" | 5696 #line 5697 "configure" |
5692 #include "confdefs.h" | 5697 #include "confdefs.h" |
5693 /* Override any gcc2 internal prototype to avoid an error. */ | 5698 /* Override any gcc2 internal prototype to avoid an error. */ |
5694 /* We use char because int might match the return type of a gcc2 | 5699 /* We use char because int might match the return type of a gcc2 |
5695 builtin and then its argument prototype would still apply. */ | 5700 builtin and then its argument prototype would still apply. */ |
5696 char XGetFontProperty(); | 5701 char XGetFontProperty(); |
5697 | 5702 |
5698 int main() { | 5703 int main() { |
5699 XGetFontProperty() | 5704 XGetFontProperty() |
5700 ; return 0; } | 5705 ; return 0; } |
5701 EOF | 5706 EOF |
5702 if { (eval echo configure:5703: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5707 if { (eval echo configure:5708: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5703 rm -rf conftest* | 5708 rm -rf conftest* |
5704 eval "ac_cv_lib_$ac_lib_var=yes" | 5709 eval "ac_cv_lib_$ac_lib_var=yes" |
5705 else | 5710 else |
5706 echo "configure: failed program was:" >&5 | 5711 echo "configure: failed program was:" >&5 |
5707 cat conftest.$ac_ext >&5 | 5712 cat conftest.$ac_ext >&5 |
5724 libs_x="-lX11" | 5729 libs_x="-lX11" |
5725 test "$extra_verbose" = "yes" && echo " Setting libs_x to \"-lX11\"" | 5730 test "$extra_verbose" = "yes" && echo " Setting libs_x to \"-lX11\"" |
5726 | 5731 |
5727 | 5732 |
5728 echo $ac_n "checking for XShapeSelectInput in -lXext""... $ac_c" 1>&6 | 5733 echo $ac_n "checking for XShapeSelectInput in -lXext""... $ac_c" 1>&6 |
5729 echo "configure:5730: checking for XShapeSelectInput in -lXext" >&5 | 5734 echo "configure:5735: checking for XShapeSelectInput in -lXext" >&5 |
5730 ac_lib_var=`echo Xext'_'XShapeSelectInput | sed 'y%./+-%__p_%'` | 5735 ac_lib_var=`echo Xext'_'XShapeSelectInput | sed 'y%./+-%__p_%'` |
5731 | 5736 |
5732 xe_check_libs=" -lXext " | 5737 xe_check_libs=" -lXext " |
5733 cat > conftest.$ac_ext <<EOF | 5738 cat > conftest.$ac_ext <<EOF |
5734 #line 5735 "configure" | 5739 #line 5740 "configure" |
5735 #include "confdefs.h" | 5740 #include "confdefs.h" |
5736 /* Override any gcc2 internal prototype to avoid an error. */ | 5741 /* Override any gcc2 internal prototype to avoid an error. */ |
5737 /* We use char because int might match the return type of a gcc2 | 5742 /* We use char because int might match the return type of a gcc2 |
5738 builtin and then its argument prototype would still apply. */ | 5743 builtin and then its argument prototype would still apply. */ |
5739 char XShapeSelectInput(); | 5744 char XShapeSelectInput(); |
5740 | 5745 |
5741 int main() { | 5746 int main() { |
5742 XShapeSelectInput() | 5747 XShapeSelectInput() |
5743 ; return 0; } | 5748 ; return 0; } |
5744 EOF | 5749 EOF |
5745 if { (eval echo configure:5746: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5750 if { (eval echo configure:5751: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5746 rm -rf conftest* | 5751 rm -rf conftest* |
5747 eval "ac_cv_lib_$ac_lib_var=yes" | 5752 eval "ac_cv_lib_$ac_lib_var=yes" |
5748 else | 5753 else |
5749 echo "configure: failed program was:" >&5 | 5754 echo "configure: failed program was:" >&5 |
5750 cat conftest.$ac_ext >&5 | 5755 cat conftest.$ac_ext >&5 |
5763 | 5768 |
5764 | 5769 |
5765 | 5770 |
5766 | 5771 |
5767 echo $ac_n "checking for XtOpenDisplay in -lXt""... $ac_c" 1>&6 | 5772 echo $ac_n "checking for XtOpenDisplay in -lXt""... $ac_c" 1>&6 |
5768 echo "configure:5769: checking for XtOpenDisplay in -lXt" >&5 | 5773 echo "configure:5774: checking for XtOpenDisplay in -lXt" >&5 |
5769 ac_lib_var=`echo Xt'_'XtOpenDisplay | sed 'y%./+-%__p_%'` | 5774 ac_lib_var=`echo Xt'_'XtOpenDisplay | sed 'y%./+-%__p_%'` |
5770 | 5775 |
5771 xe_check_libs=" -lXt " | 5776 xe_check_libs=" -lXt " |
5772 cat > conftest.$ac_ext <<EOF | 5777 cat > conftest.$ac_ext <<EOF |
5773 #line 5774 "configure" | 5778 #line 5779 "configure" |
5774 #include "confdefs.h" | 5779 #include "confdefs.h" |
5775 /* Override any gcc2 internal prototype to avoid an error. */ | 5780 /* Override any gcc2 internal prototype to avoid an error. */ |
5776 /* We use char because int might match the return type of a gcc2 | 5781 /* We use char because int might match the return type of a gcc2 |
5777 builtin and then its argument prototype would still apply. */ | 5782 builtin and then its argument prototype would still apply. */ |
5778 char XtOpenDisplay(); | 5783 char XtOpenDisplay(); |
5779 | 5784 |
5780 int main() { | 5785 int main() { |
5781 XtOpenDisplay() | 5786 XtOpenDisplay() |
5782 ; return 0; } | 5787 ; return 0; } |
5783 EOF | 5788 EOF |
5784 if { (eval echo configure:5785: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5789 if { (eval echo configure:5790: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5785 rm -rf conftest* | 5790 rm -rf conftest* |
5786 eval "ac_cv_lib_$ac_lib_var=yes" | 5791 eval "ac_cv_lib_$ac_lib_var=yes" |
5787 else | 5792 else |
5788 echo "configure: failed program was:" >&5 | 5793 echo "configure: failed program was:" >&5 |
5789 cat conftest.$ac_ext >&5 | 5794 cat conftest.$ac_ext >&5 |
5802 fi | 5807 fi |
5803 | 5808 |
5804 | 5809 |
5805 | 5810 |
5806 echo $ac_n "checking the version of X11 being used""... $ac_c" 1>&6 | 5811 echo $ac_n "checking the version of X11 being used""... $ac_c" 1>&6 |
5807 echo "configure:5808: checking the version of X11 being used" >&5 | 5812 echo "configure:5813: checking the version of X11 being used" >&5 |
5808 cat > conftest.$ac_ext <<EOF | 5813 cat > conftest.$ac_ext <<EOF |
5809 #line 5810 "configure" | 5814 #line 5815 "configure" |
5810 #include "confdefs.h" | 5815 #include "confdefs.h" |
5811 #include <X11/Intrinsic.h> | 5816 #include <X11/Intrinsic.h> |
5812 int main(int c, char *v[]) { return c>1 ? XlibSpecificationRelease : 0; } | 5817 int main(int c, char *v[]) { return c>1 ? XlibSpecificationRelease : 0; } |
5813 EOF | 5818 EOF |
5814 if { (eval echo configure:5815: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 5819 if { (eval echo configure:5820: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
5815 then | 5820 then |
5816 ./conftest foobar; x11_release=$? | 5821 ./conftest foobar; x11_release=$? |
5817 else | 5822 else |
5818 conftest_rc="$?" | 5823 conftest_rc="$?" |
5819 echo "configure: failed program was:" >&5 | 5824 echo "configure: failed program was:" >&5 |
5834 | 5839 |
5835 for ac_hdr in X11/Xlocale.h | 5840 for ac_hdr in X11/Xlocale.h |
5836 do | 5841 do |
5837 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 5842 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
5838 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 5843 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
5839 echo "configure:5840: checking for $ac_hdr" >&5 | 5844 echo "configure:5845: checking for $ac_hdr" >&5 |
5840 | 5845 |
5841 cat > conftest.$ac_ext <<EOF | 5846 cat > conftest.$ac_ext <<EOF |
5842 #line 5843 "configure" | 5847 #line 5848 "configure" |
5843 #include "confdefs.h" | 5848 #include "confdefs.h" |
5844 #include <$ac_hdr> | 5849 #include <$ac_hdr> |
5845 EOF | 5850 EOF |
5846 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 5851 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
5847 { (eval echo configure:5848: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 5852 { (eval echo configure:5853: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
5848 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 5853 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
5849 if test -z "$ac_err"; then | 5854 if test -z "$ac_err"; then |
5850 rm -rf conftest* | 5855 rm -rf conftest* |
5851 eval "ac_cv_header_$ac_safe=yes" | 5856 eval "ac_cv_header_$ac_safe=yes" |
5852 else | 5857 else |
5873 fi | 5878 fi |
5874 done | 5879 done |
5875 | 5880 |
5876 | 5881 |
5877 echo $ac_n "checking for XFree86""... $ac_c" 1>&6 | 5882 echo $ac_n "checking for XFree86""... $ac_c" 1>&6 |
5878 echo "configure:5879: checking for XFree86" >&5 | 5883 echo "configure:5884: checking for XFree86" >&5 |
5879 if test -d "/usr/X386/include" -o \ | 5884 if test -d "/usr/X386/include" -o \ |
5880 -f "/etc/XF86Config" -o \ | 5885 -f "/etc/XF86Config" -o \ |
5881 -f "/etc/X11/XF86Config" -o \ | 5886 -f "/etc/X11/XF86Config" -o \ |
5882 -f "/usr/X11R6/lib/X11/XF86Config"; then | 5887 -f "/usr/X11R6/lib/X11/XF86Config"; then |
5883 echo "$ac_t""yes" 1>&6 | 5888 echo "$ac_t""yes" 1>&6 |
5893 echo "$ac_t""no" 1>&6 | 5898 echo "$ac_t""no" 1>&6 |
5894 fi | 5899 fi |
5895 | 5900 |
5896 test -z "$with_xmu" && { | 5901 test -z "$with_xmu" && { |
5897 echo $ac_n "checking for XmuReadBitmapDataFromFile in -lXmu""... $ac_c" 1>&6 | 5902 echo $ac_n "checking for XmuReadBitmapDataFromFile in -lXmu""... $ac_c" 1>&6 |
5898 echo "configure:5899: checking for XmuReadBitmapDataFromFile in -lXmu" >&5 | 5903 echo "configure:5904: checking for XmuReadBitmapDataFromFile in -lXmu" >&5 |
5899 ac_lib_var=`echo Xmu'_'XmuReadBitmapDataFromFile | sed 'y%./+-%__p_%'` | 5904 ac_lib_var=`echo Xmu'_'XmuReadBitmapDataFromFile | sed 'y%./+-%__p_%'` |
5900 | 5905 |
5901 xe_check_libs=" -lXmu " | 5906 xe_check_libs=" -lXmu " |
5902 cat > conftest.$ac_ext <<EOF | 5907 cat > conftest.$ac_ext <<EOF |
5903 #line 5904 "configure" | 5908 #line 5909 "configure" |
5904 #include "confdefs.h" | 5909 #include "confdefs.h" |
5905 /* Override any gcc2 internal prototype to avoid an error. */ | 5910 /* Override any gcc2 internal prototype to avoid an error. */ |
5906 /* We use char because int might match the return type of a gcc2 | 5911 /* We use char because int might match the return type of a gcc2 |
5907 builtin and then its argument prototype would still apply. */ | 5912 builtin and then its argument prototype would still apply. */ |
5908 char XmuReadBitmapDataFromFile(); | 5913 char XmuReadBitmapDataFromFile(); |
5909 | 5914 |
5910 int main() { | 5915 int main() { |
5911 XmuReadBitmapDataFromFile() | 5916 XmuReadBitmapDataFromFile() |
5912 ; return 0; } | 5917 ; return 0; } |
5913 EOF | 5918 EOF |
5914 if { (eval echo configure:5915: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5919 if { (eval echo configure:5920: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5915 rm -rf conftest* | 5920 rm -rf conftest* |
5916 eval "ac_cv_lib_$ac_lib_var=yes" | 5921 eval "ac_cv_lib_$ac_lib_var=yes" |
5917 else | 5922 else |
5918 echo "configure: failed program was:" >&5 | 5923 echo "configure: failed program was:" >&5 |
5919 cat conftest.$ac_ext >&5 | 5924 cat conftest.$ac_ext >&5 |
5948 | 5953 |
5949 fi | 5954 fi |
5950 | 5955 |
5951 | 5956 |
5952 echo $ac_n "checking for main in -lXbsd""... $ac_c" 1>&6 | 5957 echo $ac_n "checking for main in -lXbsd""... $ac_c" 1>&6 |
5953 echo "configure:5954: checking for main in -lXbsd" >&5 | 5958 echo "configure:5959: checking for main in -lXbsd" >&5 |
5954 ac_lib_var=`echo Xbsd'_'main | sed 'y%./+-%__p_%'` | 5959 ac_lib_var=`echo Xbsd'_'main | sed 'y%./+-%__p_%'` |
5955 | 5960 |
5956 xe_check_libs=" -lXbsd " | 5961 xe_check_libs=" -lXbsd " |
5957 cat > conftest.$ac_ext <<EOF | 5962 cat > conftest.$ac_ext <<EOF |
5958 #line 5959 "configure" | 5963 #line 5964 "configure" |
5959 #include "confdefs.h" | 5964 #include "confdefs.h" |
5960 | 5965 |
5961 int main() { | 5966 int main() { |
5962 main() | 5967 main() |
5963 ; return 0; } | 5968 ; return 0; } |
5964 EOF | 5969 EOF |
5965 if { (eval echo configure:5966: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5970 if { (eval echo configure:5971: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5966 rm -rf conftest* | 5971 rm -rf conftest* |
5967 eval "ac_cv_lib_$ac_lib_var=yes" | 5972 eval "ac_cv_lib_$ac_lib_var=yes" |
5968 else | 5973 else |
5969 echo "configure: failed program was:" >&5 | 5974 echo "configure: failed program was:" >&5 |
5970 cat conftest.$ac_ext >&5 | 5975 cat conftest.$ac_ext >&5 |
5997 fi | 6002 fi |
5998 | 6003 |
5999 fi | 6004 fi |
6000 if test "$with_msw" != "no"; then | 6005 if test "$with_msw" != "no"; then |
6001 echo "checking for MS-Windows" 1>&6 | 6006 echo "checking for MS-Windows" 1>&6 |
6002 echo "configure:6003: checking for MS-Windows" >&5 | 6007 echo "configure:6008: checking for MS-Windows" >&5 |
6003 | 6008 |
6004 echo $ac_n "checking for main in -lgdi32""... $ac_c" 1>&6 | 6009 echo $ac_n "checking for main in -lgdi32""... $ac_c" 1>&6 |
6005 echo "configure:6006: checking for main in -lgdi32" >&5 | 6010 echo "configure:6011: checking for main in -lgdi32" >&5 |
6006 ac_lib_var=`echo gdi32'_'main | sed 'y%./+-%__p_%'` | 6011 ac_lib_var=`echo gdi32'_'main | sed 'y%./+-%__p_%'` |
6007 | 6012 |
6008 xe_check_libs=" -lgdi32 " | 6013 xe_check_libs=" -lgdi32 " |
6009 cat > conftest.$ac_ext <<EOF | 6014 cat > conftest.$ac_ext <<EOF |
6010 #line 6011 "configure" | 6015 #line 6016 "configure" |
6011 #include "confdefs.h" | 6016 #include "confdefs.h" |
6012 | 6017 |
6013 int main() { | 6018 int main() { |
6014 main() | 6019 main() |
6015 ; return 0; } | 6020 ; return 0; } |
6016 EOF | 6021 EOF |
6017 if { (eval echo configure:6018: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6022 if { (eval echo configure:6023: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6018 rm -rf conftest* | 6023 rm -rf conftest* |
6019 eval "ac_cv_lib_$ac_lib_var=yes" | 6024 eval "ac_cv_lib_$ac_lib_var=yes" |
6020 else | 6025 else |
6021 echo "configure: failed program was:" >&5 | 6026 echo "configure: failed program was:" >&5 |
6022 cat conftest.$ac_ext >&5 | 6027 cat conftest.$ac_ext >&5 |
6078 test "$with_dialogs" != "no" && extra_objs="$extra_objs dialog-msw.o" && if test "$extra_verbose" = "yes"; then | 6083 test "$with_dialogs" != "no" && extra_objs="$extra_objs dialog-msw.o" && if test "$extra_verbose" = "yes"; then |
6079 echo " xemacs will be linked with \"dialog-msw.o\"" | 6084 echo " xemacs will be linked with \"dialog-msw.o\"" |
6080 fi | 6085 fi |
6081 fi | 6086 fi |
6082 cat > conftest.$ac_ext <<EOF | 6087 cat > conftest.$ac_ext <<EOF |
6083 #line 6084 "configure" | 6088 #line 6089 "configure" |
6084 #include "confdefs.h" | 6089 #include "confdefs.h" |
6085 #include <fcntl.h> | 6090 #include <fcntl.h> |
6086 int main() { return (open("/dev/windows", O_RDONLY, 0) > 0)? 0 : 1; } | 6091 int main() { return (open("/dev/windows", O_RDONLY, 0) > 0)? 0 : 1; } |
6087 EOF | 6092 EOF |
6088 if { (eval echo configure:6089: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 6093 if { (eval echo configure:6094: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
6089 then | 6094 then |
6090 { test "$extra_verbose" = "yes" && cat << \EOF | 6095 { test "$extra_verbose" = "yes" && cat << \EOF |
6091 Defining HAVE_MSG_SELECT | 6096 Defining HAVE_MSG_SELECT |
6092 EOF | 6097 EOF |
6093 cat >> confdefs.h <<\EOF | 6098 cat >> confdefs.h <<\EOF |
6159 test "$opsys" = "hpux9" && opsysfile="s/hpux9-x11r4.h" | 6164 test "$opsys" = "hpux9" && opsysfile="s/hpux9-x11r4.h" |
6160 test "$opsys" = "hpux9-shr" && opsysfile="s/hpux9shxr4.h" | 6165 test "$opsys" = "hpux9-shr" && opsysfile="s/hpux9shxr4.h" |
6161 esac | 6166 esac |
6162 | 6167 |
6163 echo "checking for WM_COMMAND option" 1>&6 | 6168 echo "checking for WM_COMMAND option" 1>&6 |
6164 echo "configure:6165: checking for WM_COMMAND option" >&5; | 6169 echo "configure:6170: checking for WM_COMMAND option" >&5; |
6165 if test "$with_wmcommand" != "no"; then | 6170 if test "$with_wmcommand" != "no"; then |
6166 { test "$extra_verbose" = "yes" && cat << \EOF | 6171 { test "$extra_verbose" = "yes" && cat << \EOF |
6167 Defining HAVE_WMCOMMAND | 6172 Defining HAVE_WMCOMMAND |
6168 EOF | 6173 EOF |
6169 cat >> confdefs.h <<\EOF | 6174 cat >> confdefs.h <<\EOF |
6174 fi | 6179 fi |
6175 | 6180 |
6176 test -z "$with_xauth" && test "$window_system" = "none" && with_xauth=no | 6181 test -z "$with_xauth" && test "$window_system" = "none" && with_xauth=no |
6177 test -z "$with_xauth" && { ac_safe=`echo "X11/Xauth.h" | sed 'y%./+-%__p_%'` | 6182 test -z "$with_xauth" && { ac_safe=`echo "X11/Xauth.h" | sed 'y%./+-%__p_%'` |
6178 echo $ac_n "checking for X11/Xauth.h""... $ac_c" 1>&6 | 6183 echo $ac_n "checking for X11/Xauth.h""... $ac_c" 1>&6 |
6179 echo "configure:6180: checking for X11/Xauth.h" >&5 | 6184 echo "configure:6185: checking for X11/Xauth.h" >&5 |
6180 | 6185 |
6181 cat > conftest.$ac_ext <<EOF | 6186 cat > conftest.$ac_ext <<EOF |
6182 #line 6183 "configure" | 6187 #line 6188 "configure" |
6183 #include "confdefs.h" | 6188 #include "confdefs.h" |
6184 #include <X11/Xauth.h> | 6189 #include <X11/Xauth.h> |
6185 EOF | 6190 EOF |
6186 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6191 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
6187 { (eval echo configure:6188: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6192 { (eval echo configure:6193: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
6188 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 6193 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
6189 if test -z "$ac_err"; then | 6194 if test -z "$ac_err"; then |
6190 rm -rf conftest* | 6195 rm -rf conftest* |
6191 eval "ac_cv_header_$ac_safe=yes" | 6196 eval "ac_cv_header_$ac_safe=yes" |
6192 else | 6197 else |
6205 with_xauth=no | 6210 with_xauth=no |
6206 fi | 6211 fi |
6207 } | 6212 } |
6208 test -z "$with_xauth" && { | 6213 test -z "$with_xauth" && { |
6209 echo $ac_n "checking for XauGetAuthByAddr in -lXau""... $ac_c" 1>&6 | 6214 echo $ac_n "checking for XauGetAuthByAddr in -lXau""... $ac_c" 1>&6 |
6210 echo "configure:6211: checking for XauGetAuthByAddr in -lXau" >&5 | 6215 echo "configure:6216: checking for XauGetAuthByAddr in -lXau" >&5 |
6211 ac_lib_var=`echo Xau'_'XauGetAuthByAddr | sed 'y%./+-%__p_%'` | 6216 ac_lib_var=`echo Xau'_'XauGetAuthByAddr | sed 'y%./+-%__p_%'` |
6212 | 6217 |
6213 xe_check_libs=" -lXau " | 6218 xe_check_libs=" -lXau " |
6214 cat > conftest.$ac_ext <<EOF | 6219 cat > conftest.$ac_ext <<EOF |
6215 #line 6216 "configure" | 6220 #line 6221 "configure" |
6216 #include "confdefs.h" | 6221 #include "confdefs.h" |
6217 /* Override any gcc2 internal prototype to avoid an error. */ | 6222 /* Override any gcc2 internal prototype to avoid an error. */ |
6218 /* We use char because int might match the return type of a gcc2 | 6223 /* We use char because int might match the return type of a gcc2 |
6219 builtin and then its argument prototype would still apply. */ | 6224 builtin and then its argument prototype would still apply. */ |
6220 char XauGetAuthByAddr(); | 6225 char XauGetAuthByAddr(); |
6221 | 6226 |
6222 int main() { | 6227 int main() { |
6223 XauGetAuthByAddr() | 6228 XauGetAuthByAddr() |
6224 ; return 0; } | 6229 ; return 0; } |
6225 EOF | 6230 EOF |
6226 if { (eval echo configure:6227: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6231 if { (eval echo configure:6232: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6227 rm -rf conftest* | 6232 rm -rf conftest* |
6228 eval "ac_cv_lib_$ac_lib_var=yes" | 6233 eval "ac_cv_lib_$ac_lib_var=yes" |
6229 else | 6234 else |
6230 echo "configure: failed program was:" >&5 | 6235 echo "configure: failed program was:" >&5 |
6231 cat conftest.$ac_ext >&5 | 6236 cat conftest.$ac_ext >&5 |
6266 | 6271 |
6267 if test "$with_tooltalk" != "no" ; then | 6272 if test "$with_tooltalk" != "no" ; then |
6268 for dir in "" "Tt/" "desktop/" ; do | 6273 for dir in "" "Tt/" "desktop/" ; do |
6269 ac_safe=`echo "${dir}tt_c.h" | sed 'y%./+-%__p_%'` | 6274 ac_safe=`echo "${dir}tt_c.h" | sed 'y%./+-%__p_%'` |
6270 echo $ac_n "checking for ${dir}tt_c.h""... $ac_c" 1>&6 | 6275 echo $ac_n "checking for ${dir}tt_c.h""... $ac_c" 1>&6 |
6271 echo "configure:6272: checking for ${dir}tt_c.h" >&5 | 6276 echo "configure:6277: checking for ${dir}tt_c.h" >&5 |
6272 | 6277 |
6273 cat > conftest.$ac_ext <<EOF | 6278 cat > conftest.$ac_ext <<EOF |
6274 #line 6275 "configure" | 6279 #line 6280 "configure" |
6275 #include "confdefs.h" | 6280 #include "confdefs.h" |
6276 #include <${dir}tt_c.h> | 6281 #include <${dir}tt_c.h> |
6277 EOF | 6282 EOF |
6278 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6283 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
6279 { (eval echo configure:6280: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6284 { (eval echo configure:6285: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
6280 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 6285 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
6281 if test -z "$ac_err"; then | 6286 if test -z "$ac_err"; then |
6282 rm -rf conftest* | 6287 rm -rf conftest* |
6283 eval "ac_cv_header_$ac_safe=yes" | 6288 eval "ac_cv_header_$ac_safe=yes" |
6284 else | 6289 else |
6310 for extra_libs in "" "-lI18N -lce" "-lcxx"; do | 6315 for extra_libs in "" "-lI18N -lce" "-lcxx"; do |
6311 | 6316 |
6312 xe_msg_checking="for tt_message_create in -ltt" | 6317 xe_msg_checking="for tt_message_create in -ltt" |
6313 test -n "$extra_libs" && xe_msg_checking="$xe_msg_checking using extra libs $extra_libs" | 6318 test -n "$extra_libs" && xe_msg_checking="$xe_msg_checking using extra libs $extra_libs" |
6314 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 6319 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
6315 echo "configure:6316: checking "$xe_msg_checking"" >&5 | 6320 echo "configure:6321: checking "$xe_msg_checking"" >&5 |
6316 ac_lib_var=`echo tt'_'tt_message_create | sed 'y%./+-%__p_%'` | 6321 ac_lib_var=`echo tt'_'tt_message_create | sed 'y%./+-%__p_%'` |
6317 | 6322 |
6318 xe_check_libs=" -ltt $extra_libs" | 6323 xe_check_libs=" -ltt $extra_libs" |
6319 cat > conftest.$ac_ext <<EOF | 6324 cat > conftest.$ac_ext <<EOF |
6320 #line 6321 "configure" | 6325 #line 6326 "configure" |
6321 #include "confdefs.h" | 6326 #include "confdefs.h" |
6322 /* Override any gcc2 internal prototype to avoid an error. */ | 6327 /* Override any gcc2 internal prototype to avoid an error. */ |
6323 /* We use char because int might match the return type of a gcc2 | 6328 /* We use char because int might match the return type of a gcc2 |
6324 builtin and then its argument prototype would still apply. */ | 6329 builtin and then its argument prototype would still apply. */ |
6325 char tt_message_create(); | 6330 char tt_message_create(); |
6326 | 6331 |
6327 int main() { | 6332 int main() { |
6328 tt_message_create() | 6333 tt_message_create() |
6329 ; return 0; } | 6334 ; return 0; } |
6330 EOF | 6335 EOF |
6331 if { (eval echo configure:6332: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6336 if { (eval echo configure:6337: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6332 rm -rf conftest* | 6337 rm -rf conftest* |
6333 eval "ac_cv_lib_$ac_lib_var=yes" | 6338 eval "ac_cv_lib_$ac_lib_var=yes" |
6334 else | 6339 else |
6335 echo "configure: failed program was:" >&5 | 6340 echo "configure: failed program was:" >&5 |
6336 cat conftest.$ac_ext >&5 | 6341 cat conftest.$ac_ext >&5 |
6383 fi | 6388 fi |
6384 fi | 6389 fi |
6385 | 6390 |
6386 test -z "$with_cde" && { ac_safe=`echo "Dt/Dt.h" | sed 'y%./+-%__p_%'` | 6391 test -z "$with_cde" && { ac_safe=`echo "Dt/Dt.h" | sed 'y%./+-%__p_%'` |
6387 echo $ac_n "checking for Dt/Dt.h""... $ac_c" 1>&6 | 6392 echo $ac_n "checking for Dt/Dt.h""... $ac_c" 1>&6 |
6388 echo "configure:6389: checking for Dt/Dt.h" >&5 | 6393 echo "configure:6394: checking for Dt/Dt.h" >&5 |
6389 | 6394 |
6390 cat > conftest.$ac_ext <<EOF | 6395 cat > conftest.$ac_ext <<EOF |
6391 #line 6392 "configure" | 6396 #line 6397 "configure" |
6392 #include "confdefs.h" | 6397 #include "confdefs.h" |
6393 #include <Dt/Dt.h> | 6398 #include <Dt/Dt.h> |
6394 EOF | 6399 EOF |
6395 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6400 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
6396 { (eval echo configure:6397: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6401 { (eval echo configure:6402: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
6397 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 6402 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
6398 if test -z "$ac_err"; then | 6403 if test -z "$ac_err"; then |
6399 rm -rf conftest* | 6404 rm -rf conftest* |
6400 eval "ac_cv_header_$ac_safe=yes" | 6405 eval "ac_cv_header_$ac_safe=yes" |
6401 else | 6406 else |
6414 with_cde=no | 6419 with_cde=no |
6415 fi | 6420 fi |
6416 } | 6421 } |
6417 test -z "$with_cde" && { | 6422 test -z "$with_cde" && { |
6418 echo $ac_n "checking for DtDndDragStart in -lDtSvc""... $ac_c" 1>&6 | 6423 echo $ac_n "checking for DtDndDragStart in -lDtSvc""... $ac_c" 1>&6 |
6419 echo "configure:6420: checking for DtDndDragStart in -lDtSvc" >&5 | 6424 echo "configure:6425: checking for DtDndDragStart in -lDtSvc" >&5 |
6420 ac_lib_var=`echo DtSvc'_'DtDndDragStart | sed 'y%./+-%__p_%'` | 6425 ac_lib_var=`echo DtSvc'_'DtDndDragStart | sed 'y%./+-%__p_%'` |
6421 | 6426 |
6422 xe_check_libs=" -lDtSvc " | 6427 xe_check_libs=" -lDtSvc " |
6423 cat > conftest.$ac_ext <<EOF | 6428 cat > conftest.$ac_ext <<EOF |
6424 #line 6425 "configure" | 6429 #line 6430 "configure" |
6425 #include "confdefs.h" | 6430 #include "confdefs.h" |
6426 /* Override any gcc2 internal prototype to avoid an error. */ | 6431 /* Override any gcc2 internal prototype to avoid an error. */ |
6427 /* We use char because int might match the return type of a gcc2 | 6432 /* We use char because int might match the return type of a gcc2 |
6428 builtin and then its argument prototype would still apply. */ | 6433 builtin and then its argument prototype would still apply. */ |
6429 char DtDndDragStart(); | 6434 char DtDndDragStart(); |
6430 | 6435 |
6431 int main() { | 6436 int main() { |
6432 DtDndDragStart() | 6437 DtDndDragStart() |
6433 ; return 0; } | 6438 ; return 0; } |
6434 EOF | 6439 EOF |
6435 if { (eval echo configure:6436: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6440 if { (eval echo configure:6441: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6436 rm -rf conftest* | 6441 rm -rf conftest* |
6437 eval "ac_cv_lib_$ac_lib_var=yes" | 6442 eval "ac_cv_lib_$ac_lib_var=yes" |
6438 else | 6443 else |
6439 echo "configure: failed program was:" >&5 | 6444 echo "configure: failed program was:" >&5 |
6440 cat conftest.$ac_ext >&5 | 6445 cat conftest.$ac_ext >&5 |
6499 dnd_objs="$dnd_objs offix.o" && if test "$extra_verbose" = "yes"; then echo " Appending \"offix.o\" to \$dnd_objs"; fi | 6504 dnd_objs="$dnd_objs offix.o" && if test "$extra_verbose" = "yes"; then echo " Appending \"offix.o\" to \$dnd_objs"; fi |
6500 dragndrop_proto="$dragndrop_proto OffiX" && if test "$extra_verbose" = "yes"; then echo " Appending \"OffiX\" to \$dragndrop_proto"; fi | 6505 dragndrop_proto="$dragndrop_proto OffiX" && if test "$extra_verbose" = "yes"; then echo " Appending \"OffiX\" to \$dragndrop_proto"; fi |
6501 fi | 6506 fi |
6502 | 6507 |
6503 echo $ac_n "checking if drag and drop API is needed""... $ac_c" 1>&6 | 6508 echo $ac_n "checking if drag and drop API is needed""... $ac_c" 1>&6 |
6504 echo "configure:6505: checking if drag and drop API is needed" >&5 | 6509 echo "configure:6510: checking if drag and drop API is needed" >&5 |
6505 if test "$with_dragndrop" != "no" ; then | 6510 if test "$with_dragndrop" != "no" ; then |
6506 if test -n "$dragndrop_proto" ; then | 6511 if test -n "$dragndrop_proto" ; then |
6507 with_dragndrop=yes | 6512 with_dragndrop=yes |
6508 echo "$ac_t""yes (${dragndrop_proto} )" 1>&6 | 6513 echo "$ac_t""yes (${dragndrop_proto} )" 1>&6 |
6509 { test "$extra_verbose" = "yes" && cat << \EOF | 6514 { test "$extra_verbose" = "yes" && cat << \EOF |
6520 echo "$ac_t""no" 1>&6 | 6525 echo "$ac_t""no" 1>&6 |
6521 fi | 6526 fi |
6522 fi | 6527 fi |
6523 | 6528 |
6524 echo "checking for LDAP" 1>&6 | 6529 echo "checking for LDAP" 1>&6 |
6525 echo "configure:6526: checking for LDAP" >&5 | 6530 echo "configure:6531: checking for LDAP" >&5 |
6526 test -z "$with_ldap" && { ac_safe=`echo "ldap.h" | sed 'y%./+-%__p_%'` | 6531 test -z "$with_ldap" && { ac_safe=`echo "ldap.h" | sed 'y%./+-%__p_%'` |
6527 echo $ac_n "checking for ldap.h""... $ac_c" 1>&6 | 6532 echo $ac_n "checking for ldap.h""... $ac_c" 1>&6 |
6528 echo "configure:6529: checking for ldap.h" >&5 | 6533 echo "configure:6534: checking for ldap.h" >&5 |
6529 | 6534 |
6530 cat > conftest.$ac_ext <<EOF | 6535 cat > conftest.$ac_ext <<EOF |
6531 #line 6532 "configure" | 6536 #line 6537 "configure" |
6532 #include "confdefs.h" | 6537 #include "confdefs.h" |
6533 #include <ldap.h> | 6538 #include <ldap.h> |
6534 EOF | 6539 EOF |
6535 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6540 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
6536 { (eval echo configure:6537: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6541 { (eval echo configure:6542: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
6537 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 6542 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
6538 if test -z "$ac_err"; then | 6543 if test -z "$ac_err"; then |
6539 rm -rf conftest* | 6544 rm -rf conftest* |
6540 eval "ac_cv_header_$ac_safe=yes" | 6545 eval "ac_cv_header_$ac_safe=yes" |
6541 else | 6546 else |
6554 with_ldap=no | 6559 with_ldap=no |
6555 fi | 6560 fi |
6556 } | 6561 } |
6557 test -z "$with_ldap" && { ac_safe=`echo "lber.h" | sed 'y%./+-%__p_%'` | 6562 test -z "$with_ldap" && { ac_safe=`echo "lber.h" | sed 'y%./+-%__p_%'` |
6558 echo $ac_n "checking for lber.h""... $ac_c" 1>&6 | 6563 echo $ac_n "checking for lber.h""... $ac_c" 1>&6 |
6559 echo "configure:6560: checking for lber.h" >&5 | 6564 echo "configure:6565: checking for lber.h" >&5 |
6560 | 6565 |
6561 cat > conftest.$ac_ext <<EOF | 6566 cat > conftest.$ac_ext <<EOF |
6562 #line 6563 "configure" | 6567 #line 6568 "configure" |
6563 #include "confdefs.h" | 6568 #include "confdefs.h" |
6564 #include <lber.h> | 6569 #include <lber.h> |
6565 EOF | 6570 EOF |
6566 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6571 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
6567 { (eval echo configure:6568: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6572 { (eval echo configure:6573: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
6568 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 6573 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
6569 if test -z "$ac_err"; then | 6574 if test -z "$ac_err"; then |
6570 rm -rf conftest* | 6575 rm -rf conftest* |
6571 eval "ac_cv_header_$ac_safe=yes" | 6576 eval "ac_cv_header_$ac_safe=yes" |
6572 else | 6577 else |
6586 fi | 6591 fi |
6587 } | 6592 } |
6588 if test "$with_ldap" != "no"; then | 6593 if test "$with_ldap" != "no"; then |
6589 | 6594 |
6590 echo $ac_n "checking for ldap_search in -lldap""... $ac_c" 1>&6 | 6595 echo $ac_n "checking for ldap_search in -lldap""... $ac_c" 1>&6 |
6591 echo "configure:6592: checking for ldap_search in -lldap" >&5 | 6596 echo "configure:6597: checking for ldap_search in -lldap" >&5 |
6592 ac_lib_var=`echo ldap'_'ldap_search | sed 'y%./+-%__p_%'` | 6597 ac_lib_var=`echo ldap'_'ldap_search | sed 'y%./+-%__p_%'` |
6593 | 6598 |
6594 xe_check_libs=" -lldap " | 6599 xe_check_libs=" -lldap " |
6595 cat > conftest.$ac_ext <<EOF | 6600 cat > conftest.$ac_ext <<EOF |
6596 #line 6597 "configure" | 6601 #line 6602 "configure" |
6597 #include "confdefs.h" | 6602 #include "confdefs.h" |
6598 /* Override any gcc2 internal prototype to avoid an error. */ | 6603 /* Override any gcc2 internal prototype to avoid an error. */ |
6599 /* We use char because int might match the return type of a gcc2 | 6604 /* We use char because int might match the return type of a gcc2 |
6600 builtin and then its argument prototype would still apply. */ | 6605 builtin and then its argument prototype would still apply. */ |
6601 char ldap_search(); | 6606 char ldap_search(); |
6602 | 6607 |
6603 int main() { | 6608 int main() { |
6604 ldap_search() | 6609 ldap_search() |
6605 ; return 0; } | 6610 ; return 0; } |
6606 EOF | 6611 EOF |
6607 if { (eval echo configure:6608: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6612 if { (eval echo configure:6613: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6608 rm -rf conftest* | 6613 rm -rf conftest* |
6609 eval "ac_cv_lib_$ac_lib_var=yes" | 6614 eval "ac_cv_lib_$ac_lib_var=yes" |
6610 else | 6615 else |
6611 echo "configure: failed program was:" >&5 | 6616 echo "configure: failed program was:" >&5 |
6612 cat conftest.$ac_ext >&5 | 6617 cat conftest.$ac_ext >&5 |
6627 | 6632 |
6628 test "$with_ldap_nolber" = "no" && { | 6633 test "$with_ldap_nolber" = "no" && { |
6629 xe_msg_checking="for ldap_open in -lldap" | 6634 xe_msg_checking="for ldap_open in -lldap" |
6630 test -n "-llber" && xe_msg_checking="$xe_msg_checking using extra libs -llber" | 6635 test -n "-llber" && xe_msg_checking="$xe_msg_checking using extra libs -llber" |
6631 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 6636 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
6632 echo "configure:6633: checking "$xe_msg_checking"" >&5 | 6637 echo "configure:6638: checking "$xe_msg_checking"" >&5 |
6633 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` | 6638 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` |
6634 | 6639 |
6635 xe_check_libs=" -lldap -llber" | 6640 xe_check_libs=" -lldap -llber" |
6636 cat > conftest.$ac_ext <<EOF | 6641 cat > conftest.$ac_ext <<EOF |
6637 #line 6638 "configure" | 6642 #line 6643 "configure" |
6638 #include "confdefs.h" | 6643 #include "confdefs.h" |
6639 /* Override any gcc2 internal prototype to avoid an error. */ | 6644 /* Override any gcc2 internal prototype to avoid an error. */ |
6640 /* We use char because int might match the return type of a gcc2 | 6645 /* We use char because int might match the return type of a gcc2 |
6641 builtin and then its argument prototype would still apply. */ | 6646 builtin and then its argument prototype would still apply. */ |
6642 char ldap_open(); | 6647 char ldap_open(); |
6643 | 6648 |
6644 int main() { | 6649 int main() { |
6645 ldap_open() | 6650 ldap_open() |
6646 ; return 0; } | 6651 ; return 0; } |
6647 EOF | 6652 EOF |
6648 if { (eval echo configure:6649: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6653 if { (eval echo configure:6654: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6649 rm -rf conftest* | 6654 rm -rf conftest* |
6650 eval "ac_cv_lib_$ac_lib_var=yes" | 6655 eval "ac_cv_lib_$ac_lib_var=yes" |
6651 else | 6656 else |
6652 echo "configure: failed program was:" >&5 | 6657 echo "configure: failed program was:" >&5 |
6653 cat conftest.$ac_ext >&5 | 6658 cat conftest.$ac_ext >&5 |
6668 } | 6673 } |
6669 test "$with_ldap_nolber" = "no" -a "$with_ldap_lber" = "no" && { | 6674 test "$with_ldap_nolber" = "no" -a "$with_ldap_lber" = "no" && { |
6670 xe_msg_checking="for ldap_open in -lldap" | 6675 xe_msg_checking="for ldap_open in -lldap" |
6671 test -n "-llber -lkrb" && xe_msg_checking="$xe_msg_checking using extra libs -llber -lkrb" | 6676 test -n "-llber -lkrb" && xe_msg_checking="$xe_msg_checking using extra libs -llber -lkrb" |
6672 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 6677 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
6673 echo "configure:6674: checking "$xe_msg_checking"" >&5 | 6678 echo "configure:6679: checking "$xe_msg_checking"" >&5 |
6674 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` | 6679 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` |
6675 | 6680 |
6676 xe_check_libs=" -lldap -llber -lkrb" | 6681 xe_check_libs=" -lldap -llber -lkrb" |
6677 cat > conftest.$ac_ext <<EOF | 6682 cat > conftest.$ac_ext <<EOF |
6678 #line 6679 "configure" | 6683 #line 6684 "configure" |
6679 #include "confdefs.h" | 6684 #include "confdefs.h" |
6680 /* Override any gcc2 internal prototype to avoid an error. */ | 6685 /* Override any gcc2 internal prototype to avoid an error. */ |
6681 /* We use char because int might match the return type of a gcc2 | 6686 /* We use char because int might match the return type of a gcc2 |
6682 builtin and then its argument prototype would still apply. */ | 6687 builtin and then its argument prototype would still apply. */ |
6683 char ldap_open(); | 6688 char ldap_open(); |
6684 | 6689 |
6685 int main() { | 6690 int main() { |
6686 ldap_open() | 6691 ldap_open() |
6687 ; return 0; } | 6692 ; return 0; } |
6688 EOF | 6693 EOF |
6689 if { (eval echo configure:6690: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6694 if { (eval echo configure:6695: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6690 rm -rf conftest* | 6695 rm -rf conftest* |
6691 eval "ac_cv_lib_$ac_lib_var=yes" | 6696 eval "ac_cv_lib_$ac_lib_var=yes" |
6692 else | 6697 else |
6693 echo "configure: failed program was:" >&5 | 6698 echo "configure: failed program was:" >&5 |
6694 cat conftest.$ac_ext >&5 | 6699 cat conftest.$ac_ext >&5 |
6709 } | 6714 } |
6710 test "$with_ldap_nolber" = "no" -a "$with_ldap_lber" = "no" -a "$with_ldap_krb" = "no" && { | 6715 test "$with_ldap_nolber" = "no" -a "$with_ldap_lber" = "no" -a "$with_ldap_krb" = "no" && { |
6711 xe_msg_checking="for ldap_open in -lldap" | 6716 xe_msg_checking="for ldap_open in -lldap" |
6712 test -n "-llber -lkrb -ldes" && xe_msg_checking="$xe_msg_checking using extra libs -llber -lkrb -ldes" | 6717 test -n "-llber -lkrb -ldes" && xe_msg_checking="$xe_msg_checking using extra libs -llber -lkrb -ldes" |
6713 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 6718 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
6714 echo "configure:6715: checking "$xe_msg_checking"" >&5 | 6719 echo "configure:6720: checking "$xe_msg_checking"" >&5 |
6715 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` | 6720 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` |
6716 | 6721 |
6717 xe_check_libs=" -lldap -llber -lkrb -ldes" | 6722 xe_check_libs=" -lldap -llber -lkrb -ldes" |
6718 cat > conftest.$ac_ext <<EOF | 6723 cat > conftest.$ac_ext <<EOF |
6719 #line 6720 "configure" | 6724 #line 6725 "configure" |
6720 #include "confdefs.h" | 6725 #include "confdefs.h" |
6721 /* Override any gcc2 internal prototype to avoid an error. */ | 6726 /* Override any gcc2 internal prototype to avoid an error. */ |
6722 /* We use char because int might match the return type of a gcc2 | 6727 /* We use char because int might match the return type of a gcc2 |
6723 builtin and then its argument prototype would still apply. */ | 6728 builtin and then its argument prototype would still apply. */ |
6724 char ldap_open(); | 6729 char ldap_open(); |
6725 | 6730 |
6726 int main() { | 6731 int main() { |
6727 ldap_open() | 6732 ldap_open() |
6728 ; return 0; } | 6733 ; return 0; } |
6729 EOF | 6734 EOF |
6730 if { (eval echo configure:6731: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6735 if { (eval echo configure:6736: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6731 rm -rf conftest* | 6736 rm -rf conftest* |
6732 eval "ac_cv_lib_$ac_lib_var=yes" | 6737 eval "ac_cv_lib_$ac_lib_var=yes" |
6733 else | 6738 else |
6734 echo "configure: failed program was:" >&5 | 6739 echo "configure: failed program was:" >&5 |
6735 cat conftest.$ac_ext >&5 | 6740 cat conftest.$ac_ext >&5 |
6776 LIBS="-lldap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lldap\" to \$LIBS"; fi | 6781 LIBS="-lldap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lldap\" to \$LIBS"; fi |
6777 fi | 6782 fi |
6778 for ac_func in ldap_set_option ldap_get_lderrno ldap_result2error ldap_parse_result | 6783 for ac_func in ldap_set_option ldap_get_lderrno ldap_result2error ldap_parse_result |
6779 do | 6784 do |
6780 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 6785 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
6781 echo "configure:6782: checking for $ac_func" >&5 | 6786 echo "configure:6787: checking for $ac_func" >&5 |
6782 | 6787 |
6783 cat > conftest.$ac_ext <<EOF | 6788 cat > conftest.$ac_ext <<EOF |
6784 #line 6785 "configure" | 6789 #line 6790 "configure" |
6785 #include "confdefs.h" | 6790 #include "confdefs.h" |
6786 /* System header to define __stub macros and hopefully few prototypes, | 6791 /* System header to define __stub macros and hopefully few prototypes, |
6787 which can conflict with char $ac_func(); below. */ | 6792 which can conflict with char $ac_func(); below. */ |
6788 #include <assert.h> | 6793 #include <assert.h> |
6789 /* Override any gcc2 internal prototype to avoid an error. */ | 6794 /* Override any gcc2 internal prototype to avoid an error. */ |
6802 $ac_func(); | 6807 $ac_func(); |
6803 #endif | 6808 #endif |
6804 | 6809 |
6805 ; return 0; } | 6810 ; return 0; } |
6806 EOF | 6811 EOF |
6807 if { (eval echo configure:6808: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6812 if { (eval echo configure:6813: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6808 rm -rf conftest* | 6813 rm -rf conftest* |
6809 eval "ac_cv_func_$ac_func=yes" | 6814 eval "ac_cv_func_$ac_func=yes" |
6810 else | 6815 else |
6811 echo "configure: failed program was:" >&5 | 6816 echo "configure: failed program was:" >&5 |
6812 cat conftest.$ac_ext >&5 | 6817 cat conftest.$ac_ext >&5 |
6834 fi | 6839 fi |
6835 | 6840 |
6836 | 6841 |
6837 if test "$window_system" != "none"; then | 6842 if test "$window_system" != "none"; then |
6838 echo "checking for graphics libraries" 1>&6 | 6843 echo "checking for graphics libraries" 1>&6 |
6839 echo "configure:6840: checking for graphics libraries" >&5 | 6844 echo "configure:6845: checking for graphics libraries" >&5 |
6840 | 6845 |
6841 xpm_problem="" | 6846 xpm_problem="" |
6842 if test -z "$with_xpm"; then | 6847 if test -z "$with_xpm"; then |
6843 echo $ac_n "checking for Xpm - no older than 3.4f""... $ac_c" 1>&6 | 6848 echo $ac_n "checking for Xpm - no older than 3.4f""... $ac_c" 1>&6 |
6844 echo "configure:6845: checking for Xpm - no older than 3.4f" >&5 | 6849 echo "configure:6850: checking for Xpm - no older than 3.4f" >&5 |
6845 xe_check_libs=-lXpm | 6850 xe_check_libs=-lXpm |
6846 cat > conftest.$ac_ext <<EOF | 6851 cat > conftest.$ac_ext <<EOF |
6847 #line 6848 "configure" | 6852 #line 6853 "configure" |
6848 #include "confdefs.h" | 6853 #include "confdefs.h" |
6849 #include <X11/xpm.h> | 6854 #include <X11/xpm.h> |
6850 int main(int c, char **v) { | 6855 int main(int c, char **v) { |
6851 return c == 1 ? 0 : | 6856 return c == 1 ? 0 : |
6852 XpmIncludeVersion != XpmLibraryVersion() ? 1 : | 6857 XpmIncludeVersion != XpmLibraryVersion() ? 1 : |
6853 XpmIncludeVersion < 30406 ? 2 : 0 ;} | 6858 XpmIncludeVersion < 30406 ? 2 : 0 ;} |
6854 EOF | 6859 EOF |
6855 if { (eval echo configure:6856: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 6860 if { (eval echo configure:6861: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
6856 then | 6861 then |
6857 ./conftest dummy_arg; xpm_status=$?; | 6862 ./conftest dummy_arg; xpm_status=$?; |
6858 if test "$xpm_status" = "0"; then | 6863 if test "$xpm_status" = "0"; then |
6859 with_xpm=yes; | 6864 with_xpm=yes; |
6860 else | 6865 else |
6892 EOF | 6897 EOF |
6893 } | 6898 } |
6894 | 6899 |
6895 libs_x="-lXpm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXpm\" to \$libs_x"; fi | 6900 libs_x="-lXpm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXpm\" to \$libs_x"; fi |
6896 echo $ac_n "checking for \"FOR_MSW\" xpm""... $ac_c" 1>&6 | 6901 echo $ac_n "checking for \"FOR_MSW\" xpm""... $ac_c" 1>&6 |
6897 echo "configure:6898: checking for \"FOR_MSW\" xpm" >&5 | 6902 echo "configure:6903: checking for \"FOR_MSW\" xpm" >&5 |
6898 xe_check_libs=-lXpm | 6903 xe_check_libs=-lXpm |
6899 cat > conftest.$ac_ext <<EOF | 6904 cat > conftest.$ac_ext <<EOF |
6900 #line 6901 "configure" | 6905 #line 6906 "configure" |
6901 #include "confdefs.h" | 6906 #include "confdefs.h" |
6902 | 6907 |
6903 int main() { | 6908 int main() { |
6904 XpmCreatePixmapFromData() | 6909 XpmCreatePixmapFromData() |
6905 ; return 0; } | 6910 ; return 0; } |
6906 EOF | 6911 EOF |
6907 if { (eval echo configure:6908: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6912 if { (eval echo configure:6913: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6908 rm -rf conftest* | 6913 rm -rf conftest* |
6909 xpm_for_msw=no | 6914 xpm_for_msw=no |
6910 else | 6915 else |
6911 echo "configure: failed program was:" >&5 | 6916 echo "configure: failed program was:" >&5 |
6912 cat conftest.$ac_ext >&5 | 6917 cat conftest.$ac_ext >&5 |
6928 fi | 6933 fi |
6929 fi | 6934 fi |
6930 | 6935 |
6931 test -z "$with_xface" && { ac_safe=`echo "compface.h" | sed 'y%./+-%__p_%'` | 6936 test -z "$with_xface" && { ac_safe=`echo "compface.h" | sed 'y%./+-%__p_%'` |
6932 echo $ac_n "checking for compface.h""... $ac_c" 1>&6 | 6937 echo $ac_n "checking for compface.h""... $ac_c" 1>&6 |
6933 echo "configure:6934: checking for compface.h" >&5 | 6938 echo "configure:6939: checking for compface.h" >&5 |
6934 | 6939 |
6935 cat > conftest.$ac_ext <<EOF | 6940 cat > conftest.$ac_ext <<EOF |
6936 #line 6937 "configure" | 6941 #line 6942 "configure" |
6937 #include "confdefs.h" | 6942 #include "confdefs.h" |
6938 #include <compface.h> | 6943 #include <compface.h> |
6939 EOF | 6944 EOF |
6940 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6945 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
6941 { (eval echo configure:6942: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6946 { (eval echo configure:6947: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
6942 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 6947 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
6943 if test -z "$ac_err"; then | 6948 if test -z "$ac_err"; then |
6944 rm -rf conftest* | 6949 rm -rf conftest* |
6945 eval "ac_cv_header_$ac_safe=yes" | 6950 eval "ac_cv_header_$ac_safe=yes" |
6946 else | 6951 else |
6959 with_xface=no | 6964 with_xface=no |
6960 fi | 6965 fi |
6961 } | 6966 } |
6962 test -z "$with_xface" && { | 6967 test -z "$with_xface" && { |
6963 echo $ac_n "checking for UnGenFace in -lcompface""... $ac_c" 1>&6 | 6968 echo $ac_n "checking for UnGenFace in -lcompface""... $ac_c" 1>&6 |
6964 echo "configure:6965: checking for UnGenFace in -lcompface" >&5 | 6969 echo "configure:6970: checking for UnGenFace in -lcompface" >&5 |
6965 ac_lib_var=`echo compface'_'UnGenFace | sed 'y%./+-%__p_%'` | 6970 ac_lib_var=`echo compface'_'UnGenFace | sed 'y%./+-%__p_%'` |
6966 | 6971 |
6967 xe_check_libs=" -lcompface " | 6972 xe_check_libs=" -lcompface " |
6968 cat > conftest.$ac_ext <<EOF | 6973 cat > conftest.$ac_ext <<EOF |
6969 #line 6970 "configure" | 6974 #line 6975 "configure" |
6970 #include "confdefs.h" | 6975 #include "confdefs.h" |
6971 /* Override any gcc2 internal prototype to avoid an error. */ | 6976 /* Override any gcc2 internal prototype to avoid an error. */ |
6972 /* We use char because int might match the return type of a gcc2 | 6977 /* We use char because int might match the return type of a gcc2 |
6973 builtin and then its argument prototype would still apply. */ | 6978 builtin and then its argument prototype would still apply. */ |
6974 char UnGenFace(); | 6979 char UnGenFace(); |
6975 | 6980 |
6976 int main() { | 6981 int main() { |
6977 UnGenFace() | 6982 UnGenFace() |
6978 ; return 0; } | 6983 ; return 0; } |
6979 EOF | 6984 EOF |
6980 if { (eval echo configure:6981: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6985 if { (eval echo configure:6986: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6981 rm -rf conftest* | 6986 rm -rf conftest* |
6982 eval "ac_cv_lib_$ac_lib_var=yes" | 6987 eval "ac_cv_lib_$ac_lib_var=yes" |
6983 else | 6988 else |
6984 echo "configure: failed program was:" >&5 | 6989 echo "configure: failed program was:" >&5 |
6985 cat conftest.$ac_ext >&5 | 6990 cat conftest.$ac_ext >&5 |
7027 fi | 7032 fi |
7028 | 7033 |
7029 if test "$with_png $with_tiff" != "no no"; then | 7034 if test "$with_png $with_tiff" != "no no"; then |
7030 | 7035 |
7031 echo $ac_n "checking for inflate in -lc""... $ac_c" 1>&6 | 7036 echo $ac_n "checking for inflate in -lc""... $ac_c" 1>&6 |
7032 echo "configure:7033: checking for inflate in -lc" >&5 | 7037 echo "configure:7038: checking for inflate in -lc" >&5 |
7033 ac_lib_var=`echo c'_'inflate | sed 'y%./+-%__p_%'` | 7038 ac_lib_var=`echo c'_'inflate | sed 'y%./+-%__p_%'` |
7034 | 7039 |
7035 xe_check_libs=" -lc " | 7040 xe_check_libs=" -lc " |
7036 cat > conftest.$ac_ext <<EOF | 7041 cat > conftest.$ac_ext <<EOF |
7037 #line 7038 "configure" | 7042 #line 7043 "configure" |
7038 #include "confdefs.h" | 7043 #include "confdefs.h" |
7039 /* Override any gcc2 internal prototype to avoid an error. */ | 7044 /* Override any gcc2 internal prototype to avoid an error. */ |
7040 /* We use char because int might match the return type of a gcc2 | 7045 /* We use char because int might match the return type of a gcc2 |
7041 builtin and then its argument prototype would still apply. */ | 7046 builtin and then its argument prototype would still apply. */ |
7042 char inflate(); | 7047 char inflate(); |
7043 | 7048 |
7044 int main() { | 7049 int main() { |
7045 inflate() | 7050 inflate() |
7046 ; return 0; } | 7051 ; return 0; } |
7047 EOF | 7052 EOF |
7048 if { (eval echo configure:7049: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7053 if { (eval echo configure:7054: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7049 rm -rf conftest* | 7054 rm -rf conftest* |
7050 eval "ac_cv_lib_$ac_lib_var=yes" | 7055 eval "ac_cv_lib_$ac_lib_var=yes" |
7051 else | 7056 else |
7052 echo "configure: failed program was:" >&5 | 7057 echo "configure: failed program was:" >&5 |
7053 cat conftest.$ac_ext >&5 | 7058 cat conftest.$ac_ext >&5 |
7062 : | 7067 : |
7063 else | 7068 else |
7064 echo "$ac_t""no" 1>&6 | 7069 echo "$ac_t""no" 1>&6 |
7065 | 7070 |
7066 echo $ac_n "checking for inflate in -lz""... $ac_c" 1>&6 | 7071 echo $ac_n "checking for inflate in -lz""... $ac_c" 1>&6 |
7067 echo "configure:7068: checking for inflate in -lz" >&5 | 7072 echo "configure:7073: checking for inflate in -lz" >&5 |
7068 ac_lib_var=`echo z'_'inflate | sed 'y%./+-%__p_%'` | 7073 ac_lib_var=`echo z'_'inflate | sed 'y%./+-%__p_%'` |
7069 | 7074 |
7070 xe_check_libs=" -lz " | 7075 xe_check_libs=" -lz " |
7071 cat > conftest.$ac_ext <<EOF | 7076 cat > conftest.$ac_ext <<EOF |
7072 #line 7073 "configure" | 7077 #line 7078 "configure" |
7073 #include "confdefs.h" | 7078 #include "confdefs.h" |
7074 /* Override any gcc2 internal prototype to avoid an error. */ | 7079 /* Override any gcc2 internal prototype to avoid an error. */ |
7075 /* We use char because int might match the return type of a gcc2 | 7080 /* We use char because int might match the return type of a gcc2 |
7076 builtin and then its argument prototype would still apply. */ | 7081 builtin and then its argument prototype would still apply. */ |
7077 char inflate(); | 7082 char inflate(); |
7078 | 7083 |
7079 int main() { | 7084 int main() { |
7080 inflate() | 7085 inflate() |
7081 ; return 0; } | 7086 ; return 0; } |
7082 EOF | 7087 EOF |
7083 if { (eval echo configure:7084: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7088 if { (eval echo configure:7089: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7084 rm -rf conftest* | 7089 rm -rf conftest* |
7085 eval "ac_cv_lib_$ac_lib_var=yes" | 7090 eval "ac_cv_lib_$ac_lib_var=yes" |
7086 else | 7091 else |
7087 echo "configure: failed program was:" >&5 | 7092 echo "configure: failed program was:" >&5 |
7088 cat conftest.$ac_ext >&5 | 7093 cat conftest.$ac_ext >&5 |
7097 libs_x="-lz $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lz\" to \$libs_x"; fi | 7102 libs_x="-lz $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lz\" to \$libs_x"; fi |
7098 else | 7103 else |
7099 echo "$ac_t""no" 1>&6 | 7104 echo "$ac_t""no" 1>&6 |
7100 | 7105 |
7101 echo $ac_n "checking for inflate in -lgz""... $ac_c" 1>&6 | 7106 echo $ac_n "checking for inflate in -lgz""... $ac_c" 1>&6 |
7102 echo "configure:7103: checking for inflate in -lgz" >&5 | 7107 echo "configure:7108: checking for inflate in -lgz" >&5 |
7103 ac_lib_var=`echo gz'_'inflate | sed 'y%./+-%__p_%'` | 7108 ac_lib_var=`echo gz'_'inflate | sed 'y%./+-%__p_%'` |
7104 | 7109 |
7105 xe_check_libs=" -lgz " | 7110 xe_check_libs=" -lgz " |
7106 cat > conftest.$ac_ext <<EOF | 7111 cat > conftest.$ac_ext <<EOF |
7107 #line 7108 "configure" | 7112 #line 7113 "configure" |
7108 #include "confdefs.h" | 7113 #include "confdefs.h" |
7109 /* Override any gcc2 internal prototype to avoid an error. */ | 7114 /* Override any gcc2 internal prototype to avoid an error. */ |
7110 /* We use char because int might match the return type of a gcc2 | 7115 /* We use char because int might match the return type of a gcc2 |
7111 builtin and then its argument prototype would still apply. */ | 7116 builtin and then its argument prototype would still apply. */ |
7112 char inflate(); | 7117 char inflate(); |
7113 | 7118 |
7114 int main() { | 7119 int main() { |
7115 inflate() | 7120 inflate() |
7116 ; return 0; } | 7121 ; return 0; } |
7117 EOF | 7122 EOF |
7118 if { (eval echo configure:7119: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7123 if { (eval echo configure:7124: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7119 rm -rf conftest* | 7124 rm -rf conftest* |
7120 eval "ac_cv_lib_$ac_lib_var=yes" | 7125 eval "ac_cv_lib_$ac_lib_var=yes" |
7121 else | 7126 else |
7122 echo "configure: failed program was:" >&5 | 7127 echo "configure: failed program was:" >&5 |
7123 cat conftest.$ac_ext >&5 | 7128 cat conftest.$ac_ext >&5 |
7143 | 7148 |
7144 fi | 7149 fi |
7145 | 7150 |
7146 test -z "$with_jpeg" && { ac_safe=`echo "jpeglib.h" | sed 'y%./+-%__p_%'` | 7151 test -z "$with_jpeg" && { ac_safe=`echo "jpeglib.h" | sed 'y%./+-%__p_%'` |
7147 echo $ac_n "checking for jpeglib.h""... $ac_c" 1>&6 | 7152 echo $ac_n "checking for jpeglib.h""... $ac_c" 1>&6 |
7148 echo "configure:7149: checking for jpeglib.h" >&5 | 7153 echo "configure:7154: checking for jpeglib.h" >&5 |
7149 | 7154 |
7150 cat > conftest.$ac_ext <<EOF | 7155 cat > conftest.$ac_ext <<EOF |
7151 #line 7152 "configure" | 7156 #line 7157 "configure" |
7152 #include "confdefs.h" | 7157 #include "confdefs.h" |
7153 #include <jpeglib.h> | 7158 #include <jpeglib.h> |
7154 EOF | 7159 EOF |
7155 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7160 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
7156 { (eval echo configure:7157: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7161 { (eval echo configure:7162: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
7157 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 7162 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
7158 if test -z "$ac_err"; then | 7163 if test -z "$ac_err"; then |
7159 rm -rf conftest* | 7164 rm -rf conftest* |
7160 eval "ac_cv_header_$ac_safe=yes" | 7165 eval "ac_cv_header_$ac_safe=yes" |
7161 else | 7166 else |
7174 with_jpeg=no | 7179 with_jpeg=no |
7175 fi | 7180 fi |
7176 } | 7181 } |
7177 test -z "$with_jpeg" && { | 7182 test -z "$with_jpeg" && { |
7178 echo $ac_n "checking for jpeg_destroy_decompress in -ljpeg""... $ac_c" 1>&6 | 7183 echo $ac_n "checking for jpeg_destroy_decompress in -ljpeg""... $ac_c" 1>&6 |
7179 echo "configure:7180: checking for jpeg_destroy_decompress in -ljpeg" >&5 | 7184 echo "configure:7185: checking for jpeg_destroy_decompress in -ljpeg" >&5 |
7180 ac_lib_var=`echo jpeg'_'jpeg_destroy_decompress | sed 'y%./+-%__p_%'` | 7185 ac_lib_var=`echo jpeg'_'jpeg_destroy_decompress | sed 'y%./+-%__p_%'` |
7181 | 7186 |
7182 xe_check_libs=" -ljpeg " | 7187 xe_check_libs=" -ljpeg " |
7183 cat > conftest.$ac_ext <<EOF | 7188 cat > conftest.$ac_ext <<EOF |
7184 #line 7185 "configure" | 7189 #line 7190 "configure" |
7185 #include "confdefs.h" | 7190 #include "confdefs.h" |
7186 /* Override any gcc2 internal prototype to avoid an error. */ | 7191 /* Override any gcc2 internal prototype to avoid an error. */ |
7187 /* We use char because int might match the return type of a gcc2 | 7192 /* We use char because int might match the return type of a gcc2 |
7188 builtin and then its argument prototype would still apply. */ | 7193 builtin and then its argument prototype would still apply. */ |
7189 char jpeg_destroy_decompress(); | 7194 char jpeg_destroy_decompress(); |
7190 | 7195 |
7191 int main() { | 7196 int main() { |
7192 jpeg_destroy_decompress() | 7197 jpeg_destroy_decompress() |
7193 ; return 0; } | 7198 ; return 0; } |
7194 EOF | 7199 EOF |
7195 if { (eval echo configure:7196: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7200 if { (eval echo configure:7201: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7196 rm -rf conftest* | 7201 rm -rf conftest* |
7197 eval "ac_cv_lib_$ac_lib_var=yes" | 7202 eval "ac_cv_lib_$ac_lib_var=yes" |
7198 else | 7203 else |
7199 echo "configure: failed program was:" >&5 | 7204 echo "configure: failed program was:" >&5 |
7200 cat conftest.$ac_ext >&5 | 7205 cat conftest.$ac_ext >&5 |
7226 libs_x="-ljpeg $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-ljpeg\" to \$libs_x"; fi | 7231 libs_x="-ljpeg $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-ljpeg\" to \$libs_x"; fi |
7227 fi | 7232 fi |
7228 | 7233 |
7229 png_problem="" | 7234 png_problem="" |
7230 test -z "$with_png" && { echo $ac_n "checking for pow""... $ac_c" 1>&6 | 7235 test -z "$with_png" && { echo $ac_n "checking for pow""... $ac_c" 1>&6 |
7231 echo "configure:7232: checking for pow" >&5 | 7236 echo "configure:7237: checking for pow" >&5 |
7232 | 7237 |
7233 cat > conftest.$ac_ext <<EOF | 7238 cat > conftest.$ac_ext <<EOF |
7234 #line 7235 "configure" | 7239 #line 7240 "configure" |
7235 #include "confdefs.h" | 7240 #include "confdefs.h" |
7236 /* System header to define __stub macros and hopefully few prototypes, | 7241 /* System header to define __stub macros and hopefully few prototypes, |
7237 which can conflict with char pow(); below. */ | 7242 which can conflict with char pow(); below. */ |
7238 #include <assert.h> | 7243 #include <assert.h> |
7239 /* Override any gcc2 internal prototype to avoid an error. */ | 7244 /* Override any gcc2 internal prototype to avoid an error. */ |
7252 pow(); | 7257 pow(); |
7253 #endif | 7258 #endif |
7254 | 7259 |
7255 ; return 0; } | 7260 ; return 0; } |
7256 EOF | 7261 EOF |
7257 if { (eval echo configure:7258: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7262 if { (eval echo configure:7263: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7258 rm -rf conftest* | 7263 rm -rf conftest* |
7259 eval "ac_cv_func_pow=yes" | 7264 eval "ac_cv_func_pow=yes" |
7260 else | 7265 else |
7261 echo "configure: failed program was:" >&5 | 7266 echo "configure: failed program was:" >&5 |
7262 cat conftest.$ac_ext >&5 | 7267 cat conftest.$ac_ext >&5 |
7273 with_png=no | 7278 with_png=no |
7274 fi | 7279 fi |
7275 } | 7280 } |
7276 test -z "$with_png" && { ac_safe=`echo "png.h" | sed 'y%./+-%__p_%'` | 7281 test -z "$with_png" && { ac_safe=`echo "png.h" | sed 'y%./+-%__p_%'` |
7277 echo $ac_n "checking for png.h""... $ac_c" 1>&6 | 7282 echo $ac_n "checking for png.h""... $ac_c" 1>&6 |
7278 echo "configure:7279: checking for png.h" >&5 | 7283 echo "configure:7284: checking for png.h" >&5 |
7279 | 7284 |
7280 cat > conftest.$ac_ext <<EOF | 7285 cat > conftest.$ac_ext <<EOF |
7281 #line 7282 "configure" | 7286 #line 7287 "configure" |
7282 #include "confdefs.h" | 7287 #include "confdefs.h" |
7283 #include <png.h> | 7288 #include <png.h> |
7284 EOF | 7289 EOF |
7285 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7290 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
7286 { (eval echo configure:7287: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7291 { (eval echo configure:7292: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
7287 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 7292 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
7288 if test -z "$ac_err"; then | 7293 if test -z "$ac_err"; then |
7289 rm -rf conftest* | 7294 rm -rf conftest* |
7290 eval "ac_cv_header_$ac_safe=yes" | 7295 eval "ac_cv_header_$ac_safe=yes" |
7291 else | 7296 else |
7304 with_png=no | 7309 with_png=no |
7305 fi | 7310 fi |
7306 } | 7311 } |
7307 test -z "$with_png" && { | 7312 test -z "$with_png" && { |
7308 echo $ac_n "checking for png_read_image in -lpng""... $ac_c" 1>&6 | 7313 echo $ac_n "checking for png_read_image in -lpng""... $ac_c" 1>&6 |
7309 echo "configure:7310: checking for png_read_image in -lpng" >&5 | 7314 echo "configure:7315: checking for png_read_image in -lpng" >&5 |
7310 ac_lib_var=`echo png'_'png_read_image | sed 'y%./+-%__p_%'` | 7315 ac_lib_var=`echo png'_'png_read_image | sed 'y%./+-%__p_%'` |
7311 | 7316 |
7312 xe_check_libs=" -lpng " | 7317 xe_check_libs=" -lpng " |
7313 cat > conftest.$ac_ext <<EOF | 7318 cat > conftest.$ac_ext <<EOF |
7314 #line 7315 "configure" | 7319 #line 7320 "configure" |
7315 #include "confdefs.h" | 7320 #include "confdefs.h" |
7316 /* Override any gcc2 internal prototype to avoid an error. */ | 7321 /* Override any gcc2 internal prototype to avoid an error. */ |
7317 /* We use char because int might match the return type of a gcc2 | 7322 /* We use char because int might match the return type of a gcc2 |
7318 builtin and then its argument prototype would still apply. */ | 7323 builtin and then its argument prototype would still apply. */ |
7319 char png_read_image(); | 7324 char png_read_image(); |
7320 | 7325 |
7321 int main() { | 7326 int main() { |
7322 png_read_image() | 7327 png_read_image() |
7323 ; return 0; } | 7328 ; return 0; } |
7324 EOF | 7329 EOF |
7325 if { (eval echo configure:7326: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7330 if { (eval echo configure:7331: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7326 rm -rf conftest* | 7331 rm -rf conftest* |
7327 eval "ac_cv_lib_$ac_lib_var=yes" | 7332 eval "ac_cv_lib_$ac_lib_var=yes" |
7328 else | 7333 else |
7329 echo "configure: failed program was:" >&5 | 7334 echo "configure: failed program was:" >&5 |
7330 cat conftest.$ac_ext >&5 | 7335 cat conftest.$ac_ext >&5 |
7343 fi | 7348 fi |
7344 | 7349 |
7345 } | 7350 } |
7346 if test -z "$with_png"; then | 7351 if test -z "$with_png"; then |
7347 echo $ac_n "checking for workable png version information""... $ac_c" 1>&6 | 7352 echo $ac_n "checking for workable png version information""... $ac_c" 1>&6 |
7348 echo "configure:7349: checking for workable png version information" >&5 | 7353 echo "configure:7354: checking for workable png version information" >&5 |
7349 xe_check_libs="-lpng -lz" | 7354 xe_check_libs="-lpng -lz" |
7350 cat > conftest.$ac_ext <<EOF | 7355 cat > conftest.$ac_ext <<EOF |
7351 #line 7352 "configure" | 7356 #line 7357 "configure" |
7352 #include "confdefs.h" | 7357 #include "confdefs.h" |
7353 #include <png.h> | 7358 #include <png.h> |
7354 int main(int c, char **v) { | 7359 int main(int c, char **v) { |
7355 if (c == 1) return 0; | 7360 if (c == 1) return 0; |
7356 if (strcmp(png_libpng_ver, PNG_LIBPNG_VER_STRING) != 0) return 1; | 7361 if (strcmp(png_libpng_ver, PNG_LIBPNG_VER_STRING) != 0) return 1; |
7357 return (PNG_LIBPNG_VER < 10002) ? 2 : 0 ;} | 7362 return (PNG_LIBPNG_VER < 10002) ? 2 : 0 ;} |
7358 EOF | 7363 EOF |
7359 if { (eval echo configure:7360: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 7364 if { (eval echo configure:7365: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
7360 then | 7365 then |
7361 ./conftest dummy_arg; png_status=$?; | 7366 ./conftest dummy_arg; png_status=$?; |
7362 if test "$png_status" = "0"; then | 7367 if test "$png_status" = "0"; then |
7363 with_png=yes; | 7368 with_png=yes; |
7364 else | 7369 else |
7397 libs_x="-lpng $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lpng\" to \$libs_x"; fi | 7402 libs_x="-lpng $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lpng\" to \$libs_x"; fi |
7398 fi | 7403 fi |
7399 | 7404 |
7400 test -z "$with_tiff" && { ac_safe=`echo "tiffio.h" | sed 'y%./+-%__p_%'` | 7405 test -z "$with_tiff" && { ac_safe=`echo "tiffio.h" | sed 'y%./+-%__p_%'` |
7401 echo $ac_n "checking for tiffio.h""... $ac_c" 1>&6 | 7406 echo $ac_n "checking for tiffio.h""... $ac_c" 1>&6 |
7402 echo "configure:7403: checking for tiffio.h" >&5 | 7407 echo "configure:7408: checking for tiffio.h" >&5 |
7403 | 7408 |
7404 cat > conftest.$ac_ext <<EOF | 7409 cat > conftest.$ac_ext <<EOF |
7405 #line 7406 "configure" | 7410 #line 7411 "configure" |
7406 #include "confdefs.h" | 7411 #include "confdefs.h" |
7407 #include <tiffio.h> | 7412 #include <tiffio.h> |
7408 EOF | 7413 EOF |
7409 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7414 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
7410 { (eval echo configure:7411: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7415 { (eval echo configure:7416: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
7411 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 7416 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
7412 if test -z "$ac_err"; then | 7417 if test -z "$ac_err"; then |
7413 rm -rf conftest* | 7418 rm -rf conftest* |
7414 eval "ac_cv_header_$ac_safe=yes" | 7419 eval "ac_cv_header_$ac_safe=yes" |
7415 else | 7420 else |
7428 with_tiff=no | 7433 with_tiff=no |
7429 fi | 7434 fi |
7430 } | 7435 } |
7431 test -z "$with_tiff" && { | 7436 test -z "$with_tiff" && { |
7432 echo $ac_n "checking for TIFFClientOpen in -ltiff""... $ac_c" 1>&6 | 7437 echo $ac_n "checking for TIFFClientOpen in -ltiff""... $ac_c" 1>&6 |
7433 echo "configure:7434: checking for TIFFClientOpen in -ltiff" >&5 | 7438 echo "configure:7439: checking for TIFFClientOpen in -ltiff" >&5 |
7434 ac_lib_var=`echo tiff'_'TIFFClientOpen | sed 'y%./+-%__p_%'` | 7439 ac_lib_var=`echo tiff'_'TIFFClientOpen | sed 'y%./+-%__p_%'` |
7435 | 7440 |
7436 xe_check_libs=" -ltiff " | 7441 xe_check_libs=" -ltiff " |
7437 cat > conftest.$ac_ext <<EOF | 7442 cat > conftest.$ac_ext <<EOF |
7438 #line 7439 "configure" | 7443 #line 7444 "configure" |
7439 #include "confdefs.h" | 7444 #include "confdefs.h" |
7440 /* Override any gcc2 internal prototype to avoid an error. */ | 7445 /* Override any gcc2 internal prototype to avoid an error. */ |
7441 /* We use char because int might match the return type of a gcc2 | 7446 /* We use char because int might match the return type of a gcc2 |
7442 builtin and then its argument prototype would still apply. */ | 7447 builtin and then its argument prototype would still apply. */ |
7443 char TIFFClientOpen(); | 7448 char TIFFClientOpen(); |
7444 | 7449 |
7445 int main() { | 7450 int main() { |
7446 TIFFClientOpen() | 7451 TIFFClientOpen() |
7447 ; return 0; } | 7452 ; return 0; } |
7448 EOF | 7453 EOF |
7449 if { (eval echo configure:7450: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7454 if { (eval echo configure:7455: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7450 rm -rf conftest* | 7455 rm -rf conftest* |
7451 eval "ac_cv_lib_$ac_lib_var=yes" | 7456 eval "ac_cv_lib_$ac_lib_var=yes" |
7452 else | 7457 else |
7453 echo "configure: failed program was:" >&5 | 7458 echo "configure: failed program was:" >&5 |
7454 cat conftest.$ac_ext >&5 | 7459 cat conftest.$ac_ext >&5 |
7483 | 7488 |
7484 | 7489 |
7485 if test "$with_x11" = "yes"; then | 7490 if test "$with_x11" = "yes"; then |
7486 | 7491 |
7487 echo "checking for X11 graphics libraries" 1>&6 | 7492 echo "checking for X11 graphics libraries" 1>&6 |
7488 echo "configure:7489: checking for X11 graphics libraries" >&5 | 7493 echo "configure:7494: checking for X11 graphics libraries" >&5 |
7489 | 7494 |
7490 | 7495 |
7491 echo $ac_n "checking for XawScrollbarSetThumb in -lXaw""... $ac_c" 1>&6 | 7496 echo $ac_n "checking for XawScrollbarSetThumb in -lXaw""... $ac_c" 1>&6 |
7492 echo "configure:7493: checking for XawScrollbarSetThumb in -lXaw" >&5 | 7497 echo "configure:7498: checking for XawScrollbarSetThumb in -lXaw" >&5 |
7493 ac_lib_var=`echo Xaw'_'XawScrollbarSetThumb | sed 'y%./+-%__p_%'` | 7498 ac_lib_var=`echo Xaw'_'XawScrollbarSetThumb | sed 'y%./+-%__p_%'` |
7494 | 7499 |
7495 xe_check_libs=" -lXaw " | 7500 xe_check_libs=" -lXaw " |
7496 cat > conftest.$ac_ext <<EOF | 7501 cat > conftest.$ac_ext <<EOF |
7497 #line 7498 "configure" | 7502 #line 7503 "configure" |
7498 #include "confdefs.h" | 7503 #include "confdefs.h" |
7499 /* Override any gcc2 internal prototype to avoid an error. */ | 7504 /* Override any gcc2 internal prototype to avoid an error. */ |
7500 /* We use char because int might match the return type of a gcc2 | 7505 /* We use char because int might match the return type of a gcc2 |
7501 builtin and then its argument prototype would still apply. */ | 7506 builtin and then its argument prototype would still apply. */ |
7502 char XawScrollbarSetThumb(); | 7507 char XawScrollbarSetThumb(); |
7503 | 7508 |
7504 int main() { | 7509 int main() { |
7505 XawScrollbarSetThumb() | 7510 XawScrollbarSetThumb() |
7506 ; return 0; } | 7511 ; return 0; } |
7507 EOF | 7512 EOF |
7508 if { (eval echo configure:7509: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7513 if { (eval echo configure:7514: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7509 rm -rf conftest* | 7514 rm -rf conftest* |
7510 eval "ac_cv_lib_$ac_lib_var=yes" | 7515 eval "ac_cv_lib_$ac_lib_var=yes" |
7511 else | 7516 else |
7512 echo "configure: failed program was:" >&5 | 7517 echo "configure: failed program was:" >&5 |
7513 cat conftest.$ac_ext >&5 | 7518 cat conftest.$ac_ext >&5 |
7525 have_xaw=no | 7530 have_xaw=no |
7526 fi | 7531 fi |
7527 | 7532 |
7528 | 7533 |
7529 | 7534 |
7535 | |
7536 echo $ac_n "checking for XawScrollbarSetThumb in -lXaw3d""... $ac_c" 1>&6 | |
7537 echo "configure:7538: checking for XawScrollbarSetThumb in -lXaw3d" >&5 | |
7538 ac_lib_var=`echo Xaw3d'_'XawScrollbarSetThumb | sed 'y%./+-%__p_%'` | |
7539 | |
7540 xe_check_libs=" -lXaw3d " | |
7541 cat > conftest.$ac_ext <<EOF | |
7542 #line 7543 "configure" | |
7543 #include "confdefs.h" | |
7544 /* Override any gcc2 internal prototype to avoid an error. */ | |
7545 /* We use char because int might match the return type of a gcc2 | |
7546 builtin and then its argument prototype would still apply. */ | |
7547 char XawScrollbarSetThumb(); | |
7548 | |
7549 int main() { | |
7550 XawScrollbarSetThumb() | |
7551 ; return 0; } | |
7552 EOF | |
7553 if { (eval echo configure:7554: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | |
7554 rm -rf conftest* | |
7555 eval "ac_cv_lib_$ac_lib_var=yes" | |
7556 else | |
7557 echo "configure: failed program was:" >&5 | |
7558 cat conftest.$ac_ext >&5 | |
7559 rm -rf conftest* | |
7560 eval "ac_cv_lib_$ac_lib_var=no" | |
7561 fi | |
7562 rm -f conftest* | |
7563 xe_check_libs="" | |
7564 | |
7565 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes" ; then | |
7566 echo "$ac_t""yes" 1>&6 | |
7567 have_xaw3d=yes | |
7568 else | |
7569 echo "$ac_t""no" 1>&6 | |
7570 have_xaw3d=no | |
7571 fi | |
7572 | |
7573 | |
7574 | |
7530 ac_safe=`echo "Xm/Xm.h" | sed 'y%./+-%__p_%'` | 7575 ac_safe=`echo "Xm/Xm.h" | sed 'y%./+-%__p_%'` |
7531 echo $ac_n "checking for Xm/Xm.h""... $ac_c" 1>&6 | 7576 echo $ac_n "checking for Xm/Xm.h""... $ac_c" 1>&6 |
7532 echo "configure:7533: checking for Xm/Xm.h" >&5 | 7577 echo "configure:7578: checking for Xm/Xm.h" >&5 |
7533 | 7578 |
7534 cat > conftest.$ac_ext <<EOF | 7579 cat > conftest.$ac_ext <<EOF |
7535 #line 7536 "configure" | 7580 #line 7581 "configure" |
7536 #include "confdefs.h" | 7581 #include "confdefs.h" |
7537 #include <Xm/Xm.h> | 7582 #include <Xm/Xm.h> |
7538 EOF | 7583 EOF |
7539 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7584 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
7540 { (eval echo configure:7541: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7585 { (eval echo configure:7586: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
7541 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 7586 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
7542 if test -z "$ac_err"; then | 7587 if test -z "$ac_err"; then |
7543 rm -rf conftest* | 7588 rm -rf conftest* |
7544 eval "ac_cv_header_$ac_safe=yes" | 7589 eval "ac_cv_header_$ac_safe=yes" |
7545 else | 7590 else |
7552 rm -f conftest* | 7597 rm -f conftest* |
7553 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 7598 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
7554 echo "$ac_t""yes" 1>&6 | 7599 echo "$ac_t""yes" 1>&6 |
7555 | 7600 |
7556 echo $ac_n "checking for XmStringFree in -lXm""... $ac_c" 1>&6 | 7601 echo $ac_n "checking for XmStringFree in -lXm""... $ac_c" 1>&6 |
7557 echo "configure:7558: checking for XmStringFree in -lXm" >&5 | 7602 echo "configure:7603: checking for XmStringFree in -lXm" >&5 |
7558 ac_lib_var=`echo Xm'_'XmStringFree | sed 'y%./+-%__p_%'` | 7603 ac_lib_var=`echo Xm'_'XmStringFree | sed 'y%./+-%__p_%'` |
7559 | 7604 |
7560 xe_check_libs=" -lXm " | 7605 xe_check_libs=" -lXm " |
7561 cat > conftest.$ac_ext <<EOF | 7606 cat > conftest.$ac_ext <<EOF |
7562 #line 7563 "configure" | 7607 #line 7608 "configure" |
7563 #include "confdefs.h" | 7608 #include "confdefs.h" |
7564 /* Override any gcc2 internal prototype to avoid an error. */ | 7609 /* Override any gcc2 internal prototype to avoid an error. */ |
7565 /* We use char because int might match the return type of a gcc2 | 7610 /* We use char because int might match the return type of a gcc2 |
7566 builtin and then its argument prototype would still apply. */ | 7611 builtin and then its argument prototype would still apply. */ |
7567 char XmStringFree(); | 7612 char XmStringFree(); |
7568 | 7613 |
7569 int main() { | 7614 int main() { |
7570 XmStringFree() | 7615 XmStringFree() |
7571 ; return 0; } | 7616 ; return 0; } |
7572 EOF | 7617 EOF |
7573 if { (eval echo configure:7574: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7618 if { (eval echo configure:7619: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7574 rm -rf conftest* | 7619 rm -rf conftest* |
7575 eval "ac_cv_lib_$ac_lib_var=yes" | 7620 eval "ac_cv_lib_$ac_lib_var=yes" |
7576 else | 7621 else |
7577 echo "configure: failed program was:" >&5 | 7622 echo "configure: failed program was:" >&5 |
7578 cat conftest.$ac_ext >&5 | 7623 cat conftest.$ac_ext >&5 |
7597 fi | 7642 fi |
7598 | 7643 |
7599 | 7644 |
7600 if test "$have_motif" = "yes"; then | 7645 if test "$have_motif" = "yes"; then |
7601 echo $ac_n "checking for Lesstif""... $ac_c" 1>&6 | 7646 echo $ac_n "checking for Lesstif""... $ac_c" 1>&6 |
7602 echo "configure:7603: checking for Lesstif" >&5 | 7647 echo "configure:7648: checking for Lesstif" >&5 |
7603 cat > conftest.$ac_ext <<EOF | 7648 cat > conftest.$ac_ext <<EOF |
7604 #line 7605 "configure" | 7649 #line 7650 "configure" |
7605 #include "confdefs.h" | 7650 #include "confdefs.h" |
7606 #include <Xm/Xm.h> | 7651 #include <Xm/Xm.h> |
7607 #ifdef LESSTIF_VERSION | 7652 #ifdef LESSTIF_VERSION |
7608 yes | 7653 yes |
7609 #endif | 7654 #endif |
7627 case "$with_menubars" in "" | "yes" | "athena" | "athena3d" ) | 7672 case "$with_menubars" in "" | "yes" | "athena" | "athena3d" ) |
7628 with_menubars="lucid" ;; | 7673 with_menubars="lucid" ;; |
7629 esac | 7674 esac |
7630 case "$with_dialogs" in "" | "yes" | "lucid" ) | 7675 case "$with_dialogs" in "" | "yes" | "lucid" ) |
7631 if test "$have_motif" = "yes"; then with_dialogs="motif" | 7676 if test "$have_motif" = "yes"; then with_dialogs="motif" |
7677 elif test "$have_xaw3d" = "yes"; then with_dialogs="athena3d" | |
7632 elif test "$have_xaw" = "yes"; then with_dialogs="athena" | 7678 elif test "$have_xaw" = "yes"; then with_dialogs="athena" |
7633 else with_dialogs=no | 7679 else with_dialogs=no |
7634 fi ;; | 7680 fi ;; |
7635 esac | 7681 esac |
7636 case "$with_scrollbars" in "" | "yes" ) | 7682 case "$with_scrollbars" in "" | "yes" ) |
7637 with_scrollbars="lucid" ;; | 7683 with_scrollbars="lucid" ;; |
7638 esac | 7684 esac |
7639 case "$with_widgets" in "" | "yes" ) | 7685 case "$with_widgets" in "" | "yes" | "lucid") |
7640 if test "$have_motif" = "yes"; then with_widgets="motif" | 7686 if test "$have_motif" = "yes"; then with_widgets="motif" |
7687 elif test "$have_xaw3d" = "yes"; then with_widgets="athena3d" | |
7688 elif test "$have_xaw" = "yes"; then with_widgets="athena" | |
7641 else with_widgets=no | 7689 else with_widgets=no |
7642 fi ;; | 7690 fi ;; |
7643 esac | 7691 esac |
7644 | 7692 |
7645 all_widgets="$with_menubars $with_scrollbars $with_dialogs $with_toolbars $with_widgets" | 7693 all_widgets="$with_menubars $with_scrollbars $with_dialogs $with_toolbars $with_widgets" |
7646 | 7694 |
7647 case "$all_widgets" in *athena* ) | 7695 case "$all_widgets" in |
7696 *athena*3d ) | |
7697 { test "$extra_verbose" = "yes" && cat << \EOF | |
7698 Defining LWLIB_USES_ATHENA | |
7699 EOF | |
7700 cat >> confdefs.h <<\EOF | |
7701 #define LWLIB_USES_ATHENA 1 | |
7702 EOF | |
7703 } | |
7704 | |
7705 { test "$extra_verbose" = "yes" && cat << \EOF | |
7706 Defining NEED_ATHENA | |
7707 EOF | |
7708 cat >> confdefs.h <<\EOF | |
7709 #define NEED_ATHENA 1 | |
7710 EOF | |
7711 } | |
7712 | |
7713 lwlib_objs="$lwlib_objs lwlib-Xaw.o" && if test "$extra_verbose" = "yes"; then echo " Appending \"lwlib-Xaw.o\" to \$lwlib_objs"; fi | |
7714 if test "$have_xaw3d"; then | |
7715 libs_x="-lXaw3d $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXaw3d\" to \$libs_x"; fi | |
7716 else | |
7717 libs_x="-lXaw $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXaw\" to \$libs_x"; fi | |
7718 fi ;; | |
7719 *athena* ) | |
7648 { test "$extra_verbose" = "yes" && cat << \EOF | 7720 { test "$extra_verbose" = "yes" && cat << \EOF |
7649 Defining LWLIB_USES_ATHENA | 7721 Defining LWLIB_USES_ATHENA |
7650 EOF | 7722 EOF |
7651 cat >> confdefs.h <<\EOF | 7723 cat >> confdefs.h <<\EOF |
7652 #define LWLIB_USES_ATHENA 1 | 7724 #define LWLIB_USES_ATHENA 1 |
7687 esac | 7759 esac |
7688 | 7760 |
7689 test "$with_menubars" = "lucid" && lwlib_objs="$lwlib_objs xlwmenu.o" && if test "$extra_verbose" = "yes"; then echo " Appending \"xlwmenu.o\" to \$lwlib_objs"; fi | 7761 test "$with_menubars" = "lucid" && lwlib_objs="$lwlib_objs xlwmenu.o" && if test "$extra_verbose" = "yes"; then echo " Appending \"xlwmenu.o\" to \$lwlib_objs"; fi |
7690 test "$with_menubars" = "motif" && lwlib_objs="$lwlib_objs xlwmenu.o" && if test "$extra_verbose" = "yes"; then echo " Appending \"xlwmenu.o\" to \$lwlib_objs"; fi | 7762 test "$with_menubars" = "motif" && lwlib_objs="$lwlib_objs xlwmenu.o" && if test "$extra_verbose" = "yes"; then echo " Appending \"xlwmenu.o\" to \$lwlib_objs"; fi |
7691 test "$with_scrollbars" = "lucid" && lwlib_objs="$lwlib_objs xlwscrollbar.o" && if test "$extra_verbose" = "yes"; then echo " Appending \"xlwscrollbar.o\" to \$lwlib_objs"; fi | 7763 test "$with_scrollbars" = "lucid" && lwlib_objs="$lwlib_objs xlwscrollbar.o" && if test "$extra_verbose" = "yes"; then echo " Appending \"xlwscrollbar.o\" to \$lwlib_objs"; fi |
7764 test "$with_widgets" != "no" && test "$with_widgets" != "msw" && \ | |
7765 lwlib_objs="$lwlib_objs xlwtabs.o xlwgcs.o" && if test "$extra_verbose" = "yes"; then echo " Appending \"xlwtabs.o xlwgcs.o\" to \$lwlib_objs"; fi | |
7766 case "$with_widgets" in athena* ) | |
7767 lwlib_objs="$lwlib_objs xlwradio.o xlwcheckbox.o xlwgauge.o" && if test "$extra_verbose" = "yes"; then echo " Appending \"xlwradio.o xlwcheckbox.o xlwgauge.o\" to \$lwlib_objs"; fi;; | |
7768 esac | |
7692 case "$all_widgets" in *lucid* ) | 7769 case "$all_widgets" in *lucid* ) |
7693 { test "$extra_verbose" = "yes" && cat << \EOF | 7770 { test "$extra_verbose" = "yes" && cat << \EOF |
7694 Defining NEED_LUCID | 7771 Defining NEED_LUCID |
7695 EOF | 7772 EOF |
7696 cat >> confdefs.h <<\EOF | 7773 cat >> confdefs.h <<\EOF |
7733 cat >> confdefs.h <<\EOF | 7810 cat >> confdefs.h <<\EOF |
7734 #define LWLIB_DIALOGS_ATHENA3D 1 | 7811 #define LWLIB_DIALOGS_ATHENA3D 1 |
7735 EOF | 7812 EOF |
7736 } | 7813 } |
7737 | 7814 |
7815 case "$with_widgets" in athena* ) { test "$extra_verbose" = "yes" && cat << \EOF | |
7816 Defining LWLIB_WIDGETS_ATHENA | |
7817 EOF | |
7818 cat >> confdefs.h <<\EOF | |
7819 #define LWLIB_WIDGETS_ATHENA 1 | |
7820 EOF | |
7821 } | |
7822 ;; esac | |
7823 test "$with_widgets" != "no" && test "$with_widgets" != "msw" && \ | |
7824 { test "$extra_verbose" = "yes" && cat << \EOF | |
7825 Defining LWLIB_TABS_LUCID | |
7826 EOF | |
7827 cat >> confdefs.h <<\EOF | |
7828 #define LWLIB_TABS_LUCID 1 | |
7829 EOF | |
7830 } | |
7831 | |
7738 | 7832 |
7739 test "$with_menubars" != "no" && { test "$extra_verbose" = "yes" && cat << \EOF | 7833 test "$with_menubars" != "no" && { test "$extra_verbose" = "yes" && cat << \EOF |
7740 Defining HAVE_MENUBARS | 7834 Defining HAVE_MENUBARS |
7741 EOF | 7835 EOF |
7742 cat >> confdefs.h <<\EOF | 7836 cat >> confdefs.h <<\EOF |
7766 cat >> confdefs.h <<\EOF | 7860 cat >> confdefs.h <<\EOF |
7767 #define HAVE_TOOLBARS 1 | 7861 #define HAVE_TOOLBARS 1 |
7768 EOF | 7862 EOF |
7769 } | 7863 } |
7770 | 7864 |
7865 test "$with_widgets" != "no" && { test "$extra_verbose" = "yes" && cat << \EOF | |
7866 Defining HAVE_WIDGETS | |
7867 EOF | |
7868 cat >> confdefs.h <<\EOF | |
7869 #define HAVE_WIDGETS 1 | |
7870 EOF | |
7871 } | |
7872 | |
7771 | 7873 |
7772 test "$with_menubars" = "lucid" && { test "$extra_verbose" = "yes" && cat << \EOF | 7874 test "$with_menubars" = "lucid" && { test "$extra_verbose" = "yes" && cat << \EOF |
7773 Defining LWLIB_MENUBARS_LUCID | 7875 Defining LWLIB_MENUBARS_LUCID |
7774 EOF | 7876 EOF |
7775 cat >> confdefs.h <<\EOF | 7877 cat >> confdefs.h <<\EOF |
7805 test "$with_dialogs" = "motif" && { test "$extra_verbose" = "yes" && cat << \EOF | 7907 test "$with_dialogs" = "motif" && { test "$extra_verbose" = "yes" && cat << \EOF |
7806 Defining LWLIB_DIALOGS_MOTIF | 7908 Defining LWLIB_DIALOGS_MOTIF |
7807 EOF | 7909 EOF |
7808 cat >> confdefs.h <<\EOF | 7910 cat >> confdefs.h <<\EOF |
7809 #define LWLIB_DIALOGS_MOTIF 1 | 7911 #define LWLIB_DIALOGS_MOTIF 1 |
7912 EOF | |
7913 } | |
7914 | |
7915 test "$with_widgets" = "motif" && { test "$extra_verbose" = "yes" && cat << \EOF | |
7916 Defining LWLIB_WIDGETS_MOTIF | |
7917 EOF | |
7918 cat >> confdefs.h <<\EOF | |
7919 #define LWLIB_WIDGETS_MOTIF 1 | |
7810 EOF | 7920 EOF |
7811 } | 7921 } |
7812 | 7922 |
7813 | 7923 |
7814 test "$with_menubars" != "no" && extra_objs="$extra_objs menubar.o" && if test "$extra_verbose" = "yes"; then | 7924 test "$with_menubars" != "no" && extra_objs="$extra_objs menubar.o" && if test "$extra_verbose" = "yes"; then |
7867 fi | 7977 fi |
7868 fi | 7978 fi |
7869 | 7979 |
7870 if test "$with_mule" = "yes" ; then | 7980 if test "$with_mule" = "yes" ; then |
7871 echo "checking for Mule-related features" 1>&6 | 7981 echo "checking for Mule-related features" 1>&6 |
7872 echo "configure:7873: checking for Mule-related features" >&5 | 7982 echo "configure:7983: checking for Mule-related features" >&5 |
7873 { test "$extra_verbose" = "yes" && cat << \EOF | 7983 { test "$extra_verbose" = "yes" && cat << \EOF |
7874 Defining MULE | 7984 Defining MULE |
7875 EOF | 7985 EOF |
7876 cat >> confdefs.h <<\EOF | 7986 cat >> confdefs.h <<\EOF |
7877 #define MULE 1 | 7987 #define MULE 1 |
7892 | 8002 |
7893 for ac_hdr in libintl.h | 8003 for ac_hdr in libintl.h |
7894 do | 8004 do |
7895 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 8005 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
7896 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 8006 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
7897 echo "configure:7898: checking for $ac_hdr" >&5 | 8007 echo "configure:8008: checking for $ac_hdr" >&5 |
7898 | 8008 |
7899 cat > conftest.$ac_ext <<EOF | 8009 cat > conftest.$ac_ext <<EOF |
7900 #line 7901 "configure" | 8010 #line 8011 "configure" |
7901 #include "confdefs.h" | 8011 #include "confdefs.h" |
7902 #include <$ac_hdr> | 8012 #include <$ac_hdr> |
7903 EOF | 8013 EOF |
7904 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8014 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
7905 { (eval echo configure:7906: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8015 { (eval echo configure:8016: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
7906 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 8016 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
7907 if test -z "$ac_err"; then | 8017 if test -z "$ac_err"; then |
7908 rm -rf conftest* | 8018 rm -rf conftest* |
7909 eval "ac_cv_header_$ac_safe=yes" | 8019 eval "ac_cv_header_$ac_safe=yes" |
7910 else | 8020 else |
7931 fi | 8041 fi |
7932 done | 8042 done |
7933 | 8043 |
7934 | 8044 |
7935 echo $ac_n "checking for strerror in -lintl""... $ac_c" 1>&6 | 8045 echo $ac_n "checking for strerror in -lintl""... $ac_c" 1>&6 |
7936 echo "configure:7937: checking for strerror in -lintl" >&5 | 8046 echo "configure:8047: checking for strerror in -lintl" >&5 |
7937 ac_lib_var=`echo intl'_'strerror | sed 'y%./+-%__p_%'` | 8047 ac_lib_var=`echo intl'_'strerror | sed 'y%./+-%__p_%'` |
7938 | 8048 |
7939 xe_check_libs=" -lintl " | 8049 xe_check_libs=" -lintl " |
7940 cat > conftest.$ac_ext <<EOF | 8050 cat > conftest.$ac_ext <<EOF |
7941 #line 7942 "configure" | 8051 #line 8052 "configure" |
7942 #include "confdefs.h" | 8052 #include "confdefs.h" |
7943 /* Override any gcc2 internal prototype to avoid an error. */ | 8053 /* Override any gcc2 internal prototype to avoid an error. */ |
7944 /* We use char because int might match the return type of a gcc2 | 8054 /* We use char because int might match the return type of a gcc2 |
7945 builtin and then its argument prototype would still apply. */ | 8055 builtin and then its argument prototype would still apply. */ |
7946 char strerror(); | 8056 char strerror(); |
7947 | 8057 |
7948 int main() { | 8058 int main() { |
7949 strerror() | 8059 strerror() |
7950 ; return 0; } | 8060 ; return 0; } |
7951 EOF | 8061 EOF |
7952 if { (eval echo configure:7953: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8062 if { (eval echo configure:8063: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7953 rm -rf conftest* | 8063 rm -rf conftest* |
7954 eval "ac_cv_lib_$ac_lib_var=yes" | 8064 eval "ac_cv_lib_$ac_lib_var=yes" |
7955 else | 8065 else |
7956 echo "configure: failed program was:" >&5 | 8066 echo "configure: failed program was:" >&5 |
7957 cat conftest.$ac_ext >&5 | 8067 cat conftest.$ac_ext >&5 |
7980 fi | 8090 fi |
7981 | 8091 |
7982 | 8092 |
7983 | 8093 |
7984 echo "checking for Mule input methods" 1>&6 | 8094 echo "checking for Mule input methods" 1>&6 |
7985 echo "configure:7986: checking for Mule input methods" >&5 | 8095 echo "configure:8096: checking for Mule input methods" >&5 |
7986 case "$with_xim" in "" | "yes" ) | 8096 case "$with_xim" in "" | "yes" ) |
7987 echo "checking for XIM" 1>&6 | 8097 echo "checking for XIM" 1>&6 |
7988 echo "configure:7989: checking for XIM" >&5 | 8098 echo "configure:8099: checking for XIM" >&5 |
7989 | 8099 |
7990 echo $ac_n "checking for XOpenIM in -lX11""... $ac_c" 1>&6 | 8100 echo $ac_n "checking for XOpenIM in -lX11""... $ac_c" 1>&6 |
7991 echo "configure:7992: checking for XOpenIM in -lX11" >&5 | 8101 echo "configure:8102: checking for XOpenIM in -lX11" >&5 |
7992 ac_lib_var=`echo X11'_'XOpenIM | sed 'y%./+-%__p_%'` | 8102 ac_lib_var=`echo X11'_'XOpenIM | sed 'y%./+-%__p_%'` |
7993 | 8103 |
7994 xe_check_libs=" -lX11 " | 8104 xe_check_libs=" -lX11 " |
7995 cat > conftest.$ac_ext <<EOF | 8105 cat > conftest.$ac_ext <<EOF |
7996 #line 7997 "configure" | 8106 #line 8107 "configure" |
7997 #include "confdefs.h" | 8107 #include "confdefs.h" |
7998 /* Override any gcc2 internal prototype to avoid an error. */ | 8108 /* Override any gcc2 internal prototype to avoid an error. */ |
7999 /* We use char because int might match the return type of a gcc2 | 8109 /* We use char because int might match the return type of a gcc2 |
8000 builtin and then its argument prototype would still apply. */ | 8110 builtin and then its argument prototype would still apply. */ |
8001 char XOpenIM(); | 8111 char XOpenIM(); |
8002 | 8112 |
8003 int main() { | 8113 int main() { |
8004 XOpenIM() | 8114 XOpenIM() |
8005 ; return 0; } | 8115 ; return 0; } |
8006 EOF | 8116 EOF |
8007 if { (eval echo configure:8008: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8117 if { (eval echo configure:8118: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8008 rm -rf conftest* | 8118 rm -rf conftest* |
8009 eval "ac_cv_lib_$ac_lib_var=yes" | 8119 eval "ac_cv_lib_$ac_lib_var=yes" |
8010 else | 8120 else |
8011 echo "configure: failed program was:" >&5 | 8121 echo "configure: failed program was:" >&5 |
8012 cat conftest.$ac_ext >&5 | 8122 cat conftest.$ac_ext >&5 |
8026 | 8136 |
8027 | 8137 |
8028 if test "$have_motif $have_lesstif" = "yes no"; then | 8138 if test "$have_motif $have_lesstif" = "yes no"; then |
8029 | 8139 |
8030 echo $ac_n "checking for XmImMbLookupString in -lXm""... $ac_c" 1>&6 | 8140 echo $ac_n "checking for XmImMbLookupString in -lXm""... $ac_c" 1>&6 |
8031 echo "configure:8032: checking for XmImMbLookupString in -lXm" >&5 | 8141 echo "configure:8142: checking for XmImMbLookupString in -lXm" >&5 |
8032 ac_lib_var=`echo Xm'_'XmImMbLookupString | sed 'y%./+-%__p_%'` | 8142 ac_lib_var=`echo Xm'_'XmImMbLookupString | sed 'y%./+-%__p_%'` |
8033 | 8143 |
8034 xe_check_libs=" -lXm " | 8144 xe_check_libs=" -lXm " |
8035 cat > conftest.$ac_ext <<EOF | 8145 cat > conftest.$ac_ext <<EOF |
8036 #line 8037 "configure" | 8146 #line 8147 "configure" |
8037 #include "confdefs.h" | 8147 #include "confdefs.h" |
8038 /* Override any gcc2 internal prototype to avoid an error. */ | 8148 /* Override any gcc2 internal prototype to avoid an error. */ |
8039 /* We use char because int might match the return type of a gcc2 | 8149 /* We use char because int might match the return type of a gcc2 |
8040 builtin and then its argument prototype would still apply. */ | 8150 builtin and then its argument prototype would still apply. */ |
8041 char XmImMbLookupString(); | 8151 char XmImMbLookupString(); |
8042 | 8152 |
8043 int main() { | 8153 int main() { |
8044 XmImMbLookupString() | 8154 XmImMbLookupString() |
8045 ; return 0; } | 8155 ; return 0; } |
8046 EOF | 8156 EOF |
8047 if { (eval echo configure:8048: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8157 if { (eval echo configure:8158: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8048 rm -rf conftest* | 8158 rm -rf conftest* |
8049 eval "ac_cv_lib_$ac_lib_var=yes" | 8159 eval "ac_cv_lib_$ac_lib_var=yes" |
8050 else | 8160 else |
8051 echo "configure: failed program was:" >&5 | 8161 echo "configure: failed program was:" >&5 |
8052 cat conftest.$ac_ext >&5 | 8162 cat conftest.$ac_ext >&5 |
8107 fi | 8217 fi |
8108 fi | 8218 fi |
8109 | 8219 |
8110 if test "$with_xfs" = "yes" ; then | 8220 if test "$with_xfs" = "yes" ; then |
8111 echo "checking for XFontSet" 1>&6 | 8221 echo "checking for XFontSet" 1>&6 |
8112 echo "configure:8113: checking for XFontSet" >&5 | 8222 echo "configure:8223: checking for XFontSet" >&5 |
8113 | 8223 |
8114 echo $ac_n "checking for XmbDrawString in -lX11""... $ac_c" 1>&6 | 8224 echo $ac_n "checking for XmbDrawString in -lX11""... $ac_c" 1>&6 |
8115 echo "configure:8116: checking for XmbDrawString in -lX11" >&5 | 8225 echo "configure:8226: checking for XmbDrawString in -lX11" >&5 |
8116 ac_lib_var=`echo X11'_'XmbDrawString | sed 'y%./+-%__p_%'` | 8226 ac_lib_var=`echo X11'_'XmbDrawString | sed 'y%./+-%__p_%'` |
8117 | 8227 |
8118 xe_check_libs=" -lX11 " | 8228 xe_check_libs=" -lX11 " |
8119 cat > conftest.$ac_ext <<EOF | 8229 cat > conftest.$ac_ext <<EOF |
8120 #line 8121 "configure" | 8230 #line 8231 "configure" |
8121 #include "confdefs.h" | 8231 #include "confdefs.h" |
8122 /* Override any gcc2 internal prototype to avoid an error. */ | 8232 /* Override any gcc2 internal prototype to avoid an error. */ |
8123 /* We use char because int might match the return type of a gcc2 | 8233 /* We use char because int might match the return type of a gcc2 |
8124 builtin and then its argument prototype would still apply. */ | 8234 builtin and then its argument prototype would still apply. */ |
8125 char XmbDrawString(); | 8235 char XmbDrawString(); |
8126 | 8236 |
8127 int main() { | 8237 int main() { |
8128 XmbDrawString() | 8238 XmbDrawString() |
8129 ; return 0; } | 8239 ; return 0; } |
8130 EOF | 8240 EOF |
8131 if { (eval echo configure:8132: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8241 if { (eval echo configure:8242: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8132 rm -rf conftest* | 8242 rm -rf conftest* |
8133 eval "ac_cv_lib_$ac_lib_var=yes" | 8243 eval "ac_cv_lib_$ac_lib_var=yes" |
8134 else | 8244 else |
8135 echo "configure: failed program was:" >&5 | 8245 echo "configure: failed program was:" >&5 |
8136 cat conftest.$ac_ext >&5 | 8246 cat conftest.$ac_ext >&5 |
8166 fi | 8276 fi |
8167 fi | 8277 fi |
8168 test "$with_wnn6" = "yes" && with_wnn=yes # wnn6 implies wnn support | 8278 test "$with_wnn6" = "yes" && with_wnn=yes # wnn6 implies wnn support |
8169 test -z "$with_wnn" && { ac_safe=`echo "wnn/jllib.h" | sed 'y%./+-%__p_%'` | 8279 test -z "$with_wnn" && { ac_safe=`echo "wnn/jllib.h" | sed 'y%./+-%__p_%'` |
8170 echo $ac_n "checking for wnn/jllib.h""... $ac_c" 1>&6 | 8280 echo $ac_n "checking for wnn/jllib.h""... $ac_c" 1>&6 |
8171 echo "configure:8172: checking for wnn/jllib.h" >&5 | 8281 echo "configure:8282: checking for wnn/jllib.h" >&5 |
8172 | 8282 |
8173 cat > conftest.$ac_ext <<EOF | 8283 cat > conftest.$ac_ext <<EOF |
8174 #line 8175 "configure" | 8284 #line 8285 "configure" |
8175 #include "confdefs.h" | 8285 #include "confdefs.h" |
8176 #include <wnn/jllib.h> | 8286 #include <wnn/jllib.h> |
8177 EOF | 8287 EOF |
8178 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8288 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8179 { (eval echo configure:8180: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8289 { (eval echo configure:8290: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8180 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 8290 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
8181 if test -z "$ac_err"; then | 8291 if test -z "$ac_err"; then |
8182 rm -rf conftest* | 8292 rm -rf conftest* |
8183 eval "ac_cv_header_$ac_safe=yes" | 8293 eval "ac_cv_header_$ac_safe=yes" |
8184 else | 8294 else |
8199 } | 8309 } |
8200 if test "$with_wnn" != "no"; then | 8310 if test "$with_wnn" != "no"; then |
8201 for ac_func in crypt | 8311 for ac_func in crypt |
8202 do | 8312 do |
8203 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 8313 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
8204 echo "configure:8205: checking for $ac_func" >&5 | 8314 echo "configure:8315: checking for $ac_func" >&5 |
8205 | 8315 |
8206 cat > conftest.$ac_ext <<EOF | 8316 cat > conftest.$ac_ext <<EOF |
8207 #line 8208 "configure" | 8317 #line 8318 "configure" |
8208 #include "confdefs.h" | 8318 #include "confdefs.h" |
8209 /* System header to define __stub macros and hopefully few prototypes, | 8319 /* System header to define __stub macros and hopefully few prototypes, |
8210 which can conflict with char $ac_func(); below. */ | 8320 which can conflict with char $ac_func(); below. */ |
8211 #include <assert.h> | 8321 #include <assert.h> |
8212 /* Override any gcc2 internal prototype to avoid an error. */ | 8322 /* Override any gcc2 internal prototype to avoid an error. */ |
8225 $ac_func(); | 8335 $ac_func(); |
8226 #endif | 8336 #endif |
8227 | 8337 |
8228 ; return 0; } | 8338 ; return 0; } |
8229 EOF | 8339 EOF |
8230 if { (eval echo configure:8231: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8340 if { (eval echo configure:8341: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8231 rm -rf conftest* | 8341 rm -rf conftest* |
8232 eval "ac_cv_func_$ac_func=yes" | 8342 eval "ac_cv_func_$ac_func=yes" |
8233 else | 8343 else |
8234 echo "configure: failed program was:" >&5 | 8344 echo "configure: failed program was:" >&5 |
8235 cat conftest.$ac_ext >&5 | 8345 cat conftest.$ac_ext >&5 |
8254 fi | 8364 fi |
8255 done | 8365 done |
8256 | 8366 |
8257 test "$ac_cv_func_crypt" != "yes" && { | 8367 test "$ac_cv_func_crypt" != "yes" && { |
8258 echo $ac_n "checking for crypt in -lcrypt""... $ac_c" 1>&6 | 8368 echo $ac_n "checking for crypt in -lcrypt""... $ac_c" 1>&6 |
8259 echo "configure:8260: checking for crypt in -lcrypt" >&5 | 8369 echo "configure:8370: checking for crypt in -lcrypt" >&5 |
8260 ac_lib_var=`echo crypt'_'crypt | sed 'y%./+-%__p_%'` | 8370 ac_lib_var=`echo crypt'_'crypt | sed 'y%./+-%__p_%'` |
8261 | 8371 |
8262 xe_check_libs=" -lcrypt " | 8372 xe_check_libs=" -lcrypt " |
8263 cat > conftest.$ac_ext <<EOF | 8373 cat > conftest.$ac_ext <<EOF |
8264 #line 8265 "configure" | 8374 #line 8375 "configure" |
8265 #include "confdefs.h" | 8375 #include "confdefs.h" |
8266 /* Override any gcc2 internal prototype to avoid an error. */ | 8376 /* Override any gcc2 internal prototype to avoid an error. */ |
8267 /* We use char because int might match the return type of a gcc2 | 8377 /* We use char because int might match the return type of a gcc2 |
8268 builtin and then its argument prototype would still apply. */ | 8378 builtin and then its argument prototype would still apply. */ |
8269 char crypt(); | 8379 char crypt(); |
8270 | 8380 |
8271 int main() { | 8381 int main() { |
8272 crypt() | 8382 crypt() |
8273 ; return 0; } | 8383 ; return 0; } |
8274 EOF | 8384 EOF |
8275 if { (eval echo configure:8276: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8385 if { (eval echo configure:8386: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8276 rm -rf conftest* | 8386 rm -rf conftest* |
8277 eval "ac_cv_lib_$ac_lib_var=yes" | 8387 eval "ac_cv_lib_$ac_lib_var=yes" |
8278 else | 8388 else |
8279 echo "configure: failed program was:" >&5 | 8389 echo "configure: failed program was:" >&5 |
8280 cat conftest.$ac_ext >&5 | 8390 cat conftest.$ac_ext >&5 |
8305 } | 8415 } |
8306 fi | 8416 fi |
8307 if test -z "$with_wnn" -o "$with_wnn" = "yes"; then | 8417 if test -z "$with_wnn" -o "$with_wnn" = "yes"; then |
8308 | 8418 |
8309 echo $ac_n "checking for jl_dic_list_e in -lwnn""... $ac_c" 1>&6 | 8419 echo $ac_n "checking for jl_dic_list_e in -lwnn""... $ac_c" 1>&6 |
8310 echo "configure:8311: checking for jl_dic_list_e in -lwnn" >&5 | 8420 echo "configure:8421: checking for jl_dic_list_e in -lwnn" >&5 |
8311 ac_lib_var=`echo wnn'_'jl_dic_list_e | sed 'y%./+-%__p_%'` | 8421 ac_lib_var=`echo wnn'_'jl_dic_list_e | sed 'y%./+-%__p_%'` |
8312 | 8422 |
8313 xe_check_libs=" -lwnn " | 8423 xe_check_libs=" -lwnn " |
8314 cat > conftest.$ac_ext <<EOF | 8424 cat > conftest.$ac_ext <<EOF |
8315 #line 8316 "configure" | 8425 #line 8426 "configure" |
8316 #include "confdefs.h" | 8426 #include "confdefs.h" |
8317 /* Override any gcc2 internal prototype to avoid an error. */ | 8427 /* Override any gcc2 internal prototype to avoid an error. */ |
8318 /* We use char because int might match the return type of a gcc2 | 8428 /* We use char because int might match the return type of a gcc2 |
8319 builtin and then its argument prototype would still apply. */ | 8429 builtin and then its argument prototype would still apply. */ |
8320 char jl_dic_list_e(); | 8430 char jl_dic_list_e(); |
8321 | 8431 |
8322 int main() { | 8432 int main() { |
8323 jl_dic_list_e() | 8433 jl_dic_list_e() |
8324 ; return 0; } | 8434 ; return 0; } |
8325 EOF | 8435 EOF |
8326 if { (eval echo configure:8327: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8436 if { (eval echo configure:8437: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8327 rm -rf conftest* | 8437 rm -rf conftest* |
8328 eval "ac_cv_lib_$ac_lib_var=yes" | 8438 eval "ac_cv_lib_$ac_lib_var=yes" |
8329 else | 8439 else |
8330 echo "configure: failed program was:" >&5 | 8440 echo "configure: failed program was:" >&5 |
8331 cat conftest.$ac_ext >&5 | 8441 cat conftest.$ac_ext >&5 |
8339 echo "$ac_t""yes" 1>&6 | 8449 echo "$ac_t""yes" 1>&6 |
8340 libwnn=wnn | 8450 libwnn=wnn |
8341 else | 8451 else |
8342 echo "$ac_t""no" 1>&6 | 8452 echo "$ac_t""no" 1>&6 |
8343 echo $ac_n "checking for jl_dic_list_e in -lwnn4""... $ac_c" 1>&6 | 8453 echo $ac_n "checking for jl_dic_list_e in -lwnn4""... $ac_c" 1>&6 |
8344 echo "configure:8345: checking for jl_dic_list_e in -lwnn4" >&5 | 8454 echo "configure:8455: checking for jl_dic_list_e in -lwnn4" >&5 |
8345 ac_lib_var=`echo wnn4'_'jl_dic_list_e | sed 'y%./+-%__p_%'` | 8455 ac_lib_var=`echo wnn4'_'jl_dic_list_e | sed 'y%./+-%__p_%'` |
8346 | 8456 |
8347 xe_check_libs=" -lwnn4 " | 8457 xe_check_libs=" -lwnn4 " |
8348 cat > conftest.$ac_ext <<EOF | 8458 cat > conftest.$ac_ext <<EOF |
8349 #line 8350 "configure" | 8459 #line 8460 "configure" |
8350 #include "confdefs.h" | 8460 #include "confdefs.h" |
8351 /* Override any gcc2 internal prototype to avoid an error. */ | 8461 /* Override any gcc2 internal prototype to avoid an error. */ |
8352 /* We use char because int might match the return type of a gcc2 | 8462 /* We use char because int might match the return type of a gcc2 |
8353 builtin and then its argument prototype would still apply. */ | 8463 builtin and then its argument prototype would still apply. */ |
8354 char jl_dic_list_e(); | 8464 char jl_dic_list_e(); |
8355 | 8465 |
8356 int main() { | 8466 int main() { |
8357 jl_dic_list_e() | 8467 jl_dic_list_e() |
8358 ; return 0; } | 8468 ; return 0; } |
8359 EOF | 8469 EOF |
8360 if { (eval echo configure:8361: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8470 if { (eval echo configure:8471: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8361 rm -rf conftest* | 8471 rm -rf conftest* |
8362 eval "ac_cv_lib_$ac_lib_var=yes" | 8472 eval "ac_cv_lib_$ac_lib_var=yes" |
8363 else | 8473 else |
8364 echo "configure: failed program was:" >&5 | 8474 echo "configure: failed program was:" >&5 |
8365 cat conftest.$ac_ext >&5 | 8475 cat conftest.$ac_ext >&5 |
8373 echo "$ac_t""yes" 1>&6 | 8483 echo "$ac_t""yes" 1>&6 |
8374 libwnn=wnn4 | 8484 libwnn=wnn4 |
8375 else | 8485 else |
8376 echo "$ac_t""no" 1>&6 | 8486 echo "$ac_t""no" 1>&6 |
8377 echo $ac_n "checking for jl_dic_list_e in -lwnn6""... $ac_c" 1>&6 | 8487 echo $ac_n "checking for jl_dic_list_e in -lwnn6""... $ac_c" 1>&6 |
8378 echo "configure:8379: checking for jl_dic_list_e in -lwnn6" >&5 | 8488 echo "configure:8489: checking for jl_dic_list_e in -lwnn6" >&5 |
8379 ac_lib_var=`echo wnn6'_'jl_dic_list_e | sed 'y%./+-%__p_%'` | 8489 ac_lib_var=`echo wnn6'_'jl_dic_list_e | sed 'y%./+-%__p_%'` |
8380 | 8490 |
8381 xe_check_libs=" -lwnn6 " | 8491 xe_check_libs=" -lwnn6 " |
8382 cat > conftest.$ac_ext <<EOF | 8492 cat > conftest.$ac_ext <<EOF |
8383 #line 8384 "configure" | 8493 #line 8494 "configure" |
8384 #include "confdefs.h" | 8494 #include "confdefs.h" |
8385 /* Override any gcc2 internal prototype to avoid an error. */ | 8495 /* Override any gcc2 internal prototype to avoid an error. */ |
8386 /* We use char because int might match the return type of a gcc2 | 8496 /* We use char because int might match the return type of a gcc2 |
8387 builtin and then its argument prototype would still apply. */ | 8497 builtin and then its argument prototype would still apply. */ |
8388 char jl_dic_list_e(); | 8498 char jl_dic_list_e(); |
8389 | 8499 |
8390 int main() { | 8500 int main() { |
8391 jl_dic_list_e() | 8501 jl_dic_list_e() |
8392 ; return 0; } | 8502 ; return 0; } |
8393 EOF | 8503 EOF |
8394 if { (eval echo configure:8395: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8504 if { (eval echo configure:8505: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8395 rm -rf conftest* | 8505 rm -rf conftest* |
8396 eval "ac_cv_lib_$ac_lib_var=yes" | 8506 eval "ac_cv_lib_$ac_lib_var=yes" |
8397 else | 8507 else |
8398 echo "configure: failed program was:" >&5 | 8508 echo "configure: failed program was:" >&5 |
8399 cat conftest.$ac_ext >&5 | 8509 cat conftest.$ac_ext >&5 |
8407 echo "$ac_t""yes" 1>&6 | 8517 echo "$ac_t""yes" 1>&6 |
8408 libwnn=wnn6 | 8518 libwnn=wnn6 |
8409 else | 8519 else |
8410 echo "$ac_t""no" 1>&6 | 8520 echo "$ac_t""no" 1>&6 |
8411 echo $ac_n "checking for dic_list_e in -lwnn6_fromsrc""... $ac_c" 1>&6 | 8521 echo $ac_n "checking for dic_list_e in -lwnn6_fromsrc""... $ac_c" 1>&6 |
8412 echo "configure:8413: checking for dic_list_e in -lwnn6_fromsrc" >&5 | 8522 echo "configure:8523: checking for dic_list_e in -lwnn6_fromsrc" >&5 |
8413 ac_lib_var=`echo wnn6_fromsrc'_'dic_list_e | sed 'y%./+-%__p_%'` | 8523 ac_lib_var=`echo wnn6_fromsrc'_'dic_list_e | sed 'y%./+-%__p_%'` |
8414 | 8524 |
8415 xe_check_libs=" -lwnn6_fromsrc " | 8525 xe_check_libs=" -lwnn6_fromsrc " |
8416 cat > conftest.$ac_ext <<EOF | 8526 cat > conftest.$ac_ext <<EOF |
8417 #line 8418 "configure" | 8527 #line 8528 "configure" |
8418 #include "confdefs.h" | 8528 #include "confdefs.h" |
8419 /* Override any gcc2 internal prototype to avoid an error. */ | 8529 /* Override any gcc2 internal prototype to avoid an error. */ |
8420 /* We use char because int might match the return type of a gcc2 | 8530 /* We use char because int might match the return type of a gcc2 |
8421 builtin and then its argument prototype would still apply. */ | 8531 builtin and then its argument prototype would still apply. */ |
8422 char dic_list_e(); | 8532 char dic_list_e(); |
8423 | 8533 |
8424 int main() { | 8534 int main() { |
8425 dic_list_e() | 8535 dic_list_e() |
8426 ; return 0; } | 8536 ; return 0; } |
8427 EOF | 8537 EOF |
8428 if { (eval echo configure:8429: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8538 if { (eval echo configure:8539: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8429 rm -rf conftest* | 8539 rm -rf conftest* |
8430 eval "ac_cv_lib_$ac_lib_var=yes" | 8540 eval "ac_cv_lib_$ac_lib_var=yes" |
8431 else | 8541 else |
8432 echo "configure: failed program was:" >&5 | 8542 echo "configure: failed program was:" >&5 |
8433 cat conftest.$ac_ext >&5 | 8543 cat conftest.$ac_ext >&5 |
8471 echo " xemacs will be linked with \"mule-wnnfns.o\"" | 8581 echo " xemacs will be linked with \"mule-wnnfns.o\"" |
8472 fi | 8582 fi |
8473 if test "$with_wnn6" != "no"; then | 8583 if test "$with_wnn6" != "no"; then |
8474 | 8584 |
8475 echo $ac_n "checking for jl_fi_dic_list in -l$libwnn""... $ac_c" 1>&6 | 8585 echo $ac_n "checking for jl_fi_dic_list in -l$libwnn""... $ac_c" 1>&6 |
8476 echo "configure:8477: checking for jl_fi_dic_list in -l$libwnn" >&5 | 8586 echo "configure:8587: checking for jl_fi_dic_list in -l$libwnn" >&5 |
8477 ac_lib_var=`echo $libwnn'_'jl_fi_dic_list | sed 'y%./+-%__p_%'` | 8587 ac_lib_var=`echo $libwnn'_'jl_fi_dic_list | sed 'y%./+-%__p_%'` |
8478 | 8588 |
8479 xe_check_libs=" -l$libwnn " | 8589 xe_check_libs=" -l$libwnn " |
8480 cat > conftest.$ac_ext <<EOF | 8590 cat > conftest.$ac_ext <<EOF |
8481 #line 8482 "configure" | 8591 #line 8592 "configure" |
8482 #include "confdefs.h" | 8592 #include "confdefs.h" |
8483 /* Override any gcc2 internal prototype to avoid an error. */ | 8593 /* Override any gcc2 internal prototype to avoid an error. */ |
8484 /* We use char because int might match the return type of a gcc2 | 8594 /* We use char because int might match the return type of a gcc2 |
8485 builtin and then its argument prototype would still apply. */ | 8595 builtin and then its argument prototype would still apply. */ |
8486 char jl_fi_dic_list(); | 8596 char jl_fi_dic_list(); |
8487 | 8597 |
8488 int main() { | 8598 int main() { |
8489 jl_fi_dic_list() | 8599 jl_fi_dic_list() |
8490 ; return 0; } | 8600 ; return 0; } |
8491 EOF | 8601 EOF |
8492 if { (eval echo configure:8493: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8602 if { (eval echo configure:8603: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8493 rm -rf conftest* | 8603 rm -rf conftest* |
8494 eval "ac_cv_lib_$ac_lib_var=yes" | 8604 eval "ac_cv_lib_$ac_lib_var=yes" |
8495 else | 8605 else |
8496 echo "configure: failed program was:" >&5 | 8606 echo "configure: failed program was:" >&5 |
8497 cat conftest.$ac_ext >&5 | 8607 cat conftest.$ac_ext >&5 |
8522 | 8632 |
8523 canna_includes_found=no | 8633 canna_includes_found=no |
8524 if test "$with_canna" != "no"; then | 8634 if test "$with_canna" != "no"; then |
8525 ac_safe=`echo "canna/jrkanji.h" | sed 'y%./+-%__p_%'` | 8635 ac_safe=`echo "canna/jrkanji.h" | sed 'y%./+-%__p_%'` |
8526 echo $ac_n "checking for canna/jrkanji.h""... $ac_c" 1>&6 | 8636 echo $ac_n "checking for canna/jrkanji.h""... $ac_c" 1>&6 |
8527 echo "configure:8528: checking for canna/jrkanji.h" >&5 | 8637 echo "configure:8638: checking for canna/jrkanji.h" >&5 |
8528 | 8638 |
8529 cat > conftest.$ac_ext <<EOF | 8639 cat > conftest.$ac_ext <<EOF |
8530 #line 8531 "configure" | 8640 #line 8641 "configure" |
8531 #include "confdefs.h" | 8641 #include "confdefs.h" |
8532 #include <canna/jrkanji.h> | 8642 #include <canna/jrkanji.h> |
8533 EOF | 8643 EOF |
8534 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8644 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8535 { (eval echo configure:8536: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8645 { (eval echo configure:8646: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8536 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 8646 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
8537 if test -z "$ac_err"; then | 8647 if test -z "$ac_err"; then |
8538 rm -rf conftest* | 8648 rm -rf conftest* |
8539 eval "ac_cv_header_$ac_safe=yes" | 8649 eval "ac_cv_header_$ac_safe=yes" |
8540 else | 8650 else |
8557 -d "/usr/local/canna/include"; then | 8667 -d "/usr/local/canna/include"; then |
8558 save_c_switch_site="$c_switch_site" | 8668 save_c_switch_site="$c_switch_site" |
8559 c_switch_site="$c_switch_site -I/usr/local/canna/include" | 8669 c_switch_site="$c_switch_site -I/usr/local/canna/include" |
8560 ac_safe=`echo "canna/jrkanji.h" | sed 'y%./+-%__p_%'` | 8670 ac_safe=`echo "canna/jrkanji.h" | sed 'y%./+-%__p_%'` |
8561 echo $ac_n "checking for canna/jrkanji.h""... $ac_c" 1>&6 | 8671 echo $ac_n "checking for canna/jrkanji.h""... $ac_c" 1>&6 |
8562 echo "configure:8563: checking for canna/jrkanji.h" >&5 | 8672 echo "configure:8673: checking for canna/jrkanji.h" >&5 |
8563 | 8673 |
8564 cat > conftest.$ac_ext <<EOF | 8674 cat > conftest.$ac_ext <<EOF |
8565 #line 8566 "configure" | 8675 #line 8676 "configure" |
8566 #include "confdefs.h" | 8676 #include "confdefs.h" |
8567 #include <canna/jrkanji.h> | 8677 #include <canna/jrkanji.h> |
8568 EOF | 8678 EOF |
8569 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8679 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8570 { (eval echo configure:8571: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8680 { (eval echo configure:8681: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8571 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 8681 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
8572 if test -z "$ac_err"; then | 8682 if test -z "$ac_err"; then |
8573 rm -rf conftest* | 8683 rm -rf conftest* |
8574 eval "ac_cv_header_$ac_safe=yes" | 8684 eval "ac_cv_header_$ac_safe=yes" |
8575 else | 8685 else |
8593 fi | 8703 fi |
8594 fi | 8704 fi |
8595 | 8705 |
8596 test -z "$with_canna" && { ac_safe=`echo "canna/RK.h" | sed 'y%./+-%__p_%'` | 8706 test -z "$with_canna" && { ac_safe=`echo "canna/RK.h" | sed 'y%./+-%__p_%'` |
8597 echo $ac_n "checking for canna/RK.h""... $ac_c" 1>&6 | 8707 echo $ac_n "checking for canna/RK.h""... $ac_c" 1>&6 |
8598 echo "configure:8599: checking for canna/RK.h" >&5 | 8708 echo "configure:8709: checking for canna/RK.h" >&5 |
8599 | 8709 |
8600 cat > conftest.$ac_ext <<EOF | 8710 cat > conftest.$ac_ext <<EOF |
8601 #line 8602 "configure" | 8711 #line 8712 "configure" |
8602 #include "confdefs.h" | 8712 #include "confdefs.h" |
8603 #include <canna/RK.h> | 8713 #include <canna/RK.h> |
8604 EOF | 8714 EOF |
8605 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8715 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8606 { (eval echo configure:8607: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8716 { (eval echo configure:8717: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8607 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 8717 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
8608 if test -z "$ac_err"; then | 8718 if test -z "$ac_err"; then |
8609 rm -rf conftest* | 8719 rm -rf conftest* |
8610 eval "ac_cv_header_$ac_safe=yes" | 8720 eval "ac_cv_header_$ac_safe=yes" |
8611 else | 8721 else |
8624 with_canna=no | 8734 with_canna=no |
8625 fi | 8735 fi |
8626 } | 8736 } |
8627 test -z "$with_canna" && { | 8737 test -z "$with_canna" && { |
8628 echo $ac_n "checking for RkBgnBun in -lRKC""... $ac_c" 1>&6 | 8738 echo $ac_n "checking for RkBgnBun in -lRKC""... $ac_c" 1>&6 |
8629 echo "configure:8630: checking for RkBgnBun in -lRKC" >&5 | 8739 echo "configure:8740: checking for RkBgnBun in -lRKC" >&5 |
8630 ac_lib_var=`echo RKC'_'RkBgnBun | sed 'y%./+-%__p_%'` | 8740 ac_lib_var=`echo RKC'_'RkBgnBun | sed 'y%./+-%__p_%'` |
8631 | 8741 |
8632 xe_check_libs=" -lRKC " | 8742 xe_check_libs=" -lRKC " |
8633 cat > conftest.$ac_ext <<EOF | 8743 cat > conftest.$ac_ext <<EOF |
8634 #line 8635 "configure" | 8744 #line 8745 "configure" |
8635 #include "confdefs.h" | 8745 #include "confdefs.h" |
8636 /* Override any gcc2 internal prototype to avoid an error. */ | 8746 /* Override any gcc2 internal prototype to avoid an error. */ |
8637 /* We use char because int might match the return type of a gcc2 | 8747 /* We use char because int might match the return type of a gcc2 |
8638 builtin and then its argument prototype would still apply. */ | 8748 builtin and then its argument prototype would still apply. */ |
8639 char RkBgnBun(); | 8749 char RkBgnBun(); |
8640 | 8750 |
8641 int main() { | 8751 int main() { |
8642 RkBgnBun() | 8752 RkBgnBun() |
8643 ; return 0; } | 8753 ; return 0; } |
8644 EOF | 8754 EOF |
8645 if { (eval echo configure:8646: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8755 if { (eval echo configure:8756: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8646 rm -rf conftest* | 8756 rm -rf conftest* |
8647 eval "ac_cv_lib_$ac_lib_var=yes" | 8757 eval "ac_cv_lib_$ac_lib_var=yes" |
8648 else | 8758 else |
8649 echo "configure: failed program was:" >&5 | 8759 echo "configure: failed program was:" >&5 |
8650 cat conftest.$ac_ext >&5 | 8760 cat conftest.$ac_ext >&5 |
8663 fi | 8773 fi |
8664 | 8774 |
8665 } | 8775 } |
8666 test -z "$with_canna" && { | 8776 test -z "$with_canna" && { |
8667 echo $ac_n "checking for jrKanjiControl in -lcanna""... $ac_c" 1>&6 | 8777 echo $ac_n "checking for jrKanjiControl in -lcanna""... $ac_c" 1>&6 |
8668 echo "configure:8669: checking for jrKanjiControl in -lcanna" >&5 | 8778 echo "configure:8779: checking for jrKanjiControl in -lcanna" >&5 |
8669 ac_lib_var=`echo canna'_'jrKanjiControl | sed 'y%./+-%__p_%'` | 8779 ac_lib_var=`echo canna'_'jrKanjiControl | sed 'y%./+-%__p_%'` |
8670 | 8780 |
8671 xe_check_libs=" -lcanna " | 8781 xe_check_libs=" -lcanna " |
8672 cat > conftest.$ac_ext <<EOF | 8782 cat > conftest.$ac_ext <<EOF |
8673 #line 8674 "configure" | 8783 #line 8784 "configure" |
8674 #include "confdefs.h" | 8784 #include "confdefs.h" |
8675 /* Override any gcc2 internal prototype to avoid an error. */ | 8785 /* Override any gcc2 internal prototype to avoid an error. */ |
8676 /* We use char because int might match the return type of a gcc2 | 8786 /* We use char because int might match the return type of a gcc2 |
8677 builtin and then its argument prototype would still apply. */ | 8787 builtin and then its argument prototype would still apply. */ |
8678 char jrKanjiControl(); | 8788 char jrKanjiControl(); |
8679 | 8789 |
8680 int main() { | 8790 int main() { |
8681 jrKanjiControl() | 8791 jrKanjiControl() |
8682 ; return 0; } | 8792 ; return 0; } |
8683 EOF | 8793 EOF |
8684 if { (eval echo configure:8685: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8794 if { (eval echo configure:8795: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8685 rm -rf conftest* | 8795 rm -rf conftest* |
8686 eval "ac_cv_lib_$ac_lib_var=yes" | 8796 eval "ac_cv_lib_$ac_lib_var=yes" |
8687 else | 8797 else |
8688 echo "configure: failed program was:" >&5 | 8798 echo "configure: failed program was:" >&5 |
8689 cat conftest.$ac_ext >&5 | 8799 cat conftest.$ac_ext >&5 |
8728 | 8838 |
8729 if test "$need_motif" = "yes" ; then | 8839 if test "$need_motif" = "yes" ; then |
8730 libs_x="-lXm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXm\" to \$libs_x"; fi | 8840 libs_x="-lXm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXm\" to \$libs_x"; fi |
8731 | 8841 |
8732 echo $ac_n "checking for layout_object_getvalue in -li18n""... $ac_c" 1>&6 | 8842 echo $ac_n "checking for layout_object_getvalue in -li18n""... $ac_c" 1>&6 |
8733 echo "configure:8734: checking for layout_object_getvalue in -li18n" >&5 | 8843 echo "configure:8844: checking for layout_object_getvalue in -li18n" >&5 |
8734 ac_lib_var=`echo i18n'_'layout_object_getvalue | sed 'y%./+-%__p_%'` | 8844 ac_lib_var=`echo i18n'_'layout_object_getvalue | sed 'y%./+-%__p_%'` |
8735 | 8845 |
8736 xe_check_libs=" -li18n " | 8846 xe_check_libs=" -li18n " |
8737 cat > conftest.$ac_ext <<EOF | 8847 cat > conftest.$ac_ext <<EOF |
8738 #line 8739 "configure" | 8848 #line 8849 "configure" |
8739 #include "confdefs.h" | 8849 #include "confdefs.h" |
8740 /* Override any gcc2 internal prototype to avoid an error. */ | 8850 /* Override any gcc2 internal prototype to avoid an error. */ |
8741 /* We use char because int might match the return type of a gcc2 | 8851 /* We use char because int might match the return type of a gcc2 |
8742 builtin and then its argument prototype would still apply. */ | 8852 builtin and then its argument prototype would still apply. */ |
8743 char layout_object_getvalue(); | 8853 char layout_object_getvalue(); |
8744 | 8854 |
8745 int main() { | 8855 int main() { |
8746 layout_object_getvalue() | 8856 layout_object_getvalue() |
8747 ; return 0; } | 8857 ; return 0; } |
8748 EOF | 8858 EOF |
8749 if { (eval echo configure:8750: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8859 if { (eval echo configure:8860: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8750 rm -rf conftest* | 8860 rm -rf conftest* |
8751 eval "ac_cv_lib_$ac_lib_var=yes" | 8861 eval "ac_cv_lib_$ac_lib_var=yes" |
8752 else | 8862 else |
8753 echo "configure: failed program was:" >&5 | 8863 echo "configure: failed program was:" >&5 |
8754 cat conftest.$ac_ext >&5 | 8864 cat conftest.$ac_ext >&5 |
8827 fi | 8937 fi |
8828 fi | 8938 fi |
8829 | 8939 |
8830 fi | 8940 fi |
8831 | 8941 |
8832 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 | 8942 for ac_func in cbrt closedir dup2 eaccess fmod fpathconf frexp ftime gethostname getpagesize gettimeofday getcwd getpt getwd logb lrand48 matherr mkdir mktime perror poll random rename res_init rint rmdir select setitimer setpgid setlocale setsid sigblock sighold sigprocmask snprintf stpcpy strcasecmp strerror tzset ulimit usleep utimes waitpid vsnprintf |
8833 do | 8943 do |
8834 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 8944 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
8835 echo "configure:8836: checking for $ac_func" >&5 | 8945 echo "configure:8946: checking for $ac_func" >&5 |
8836 | 8946 |
8837 cat > conftest.$ac_ext <<EOF | 8947 cat > conftest.$ac_ext <<EOF |
8838 #line 8839 "configure" | 8948 #line 8949 "configure" |
8839 #include "confdefs.h" | 8949 #include "confdefs.h" |
8840 /* System header to define __stub macros and hopefully few prototypes, | 8950 /* System header to define __stub macros and hopefully few prototypes, |
8841 which can conflict with char $ac_func(); below. */ | 8951 which can conflict with char $ac_func(); below. */ |
8842 #include <assert.h> | 8952 #include <assert.h> |
8843 /* Override any gcc2 internal prototype to avoid an error. */ | 8953 /* Override any gcc2 internal prototype to avoid an error. */ |
8856 $ac_func(); | 8966 $ac_func(); |
8857 #endif | 8967 #endif |
8858 | 8968 |
8859 ; return 0; } | 8969 ; return 0; } |
8860 EOF | 8970 EOF |
8861 if { (eval echo configure:8862: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8971 if { (eval echo configure:8972: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8862 rm -rf conftest* | 8972 rm -rf conftest* |
8863 eval "ac_cv_func_$ac_func=yes" | 8973 eval "ac_cv_func_$ac_func=yes" |
8864 else | 8974 else |
8865 echo "configure: failed program was:" >&5 | 8975 echo "configure: failed program was:" >&5 |
8866 cat conftest.$ac_ext >&5 | 8976 cat conftest.$ac_ext >&5 |
8897 echo " xemacs will be linked with \"realpath.o\"" | 9007 echo " xemacs will be linked with \"realpath.o\"" |
8898 fi ;; | 9008 fi ;; |
8899 * ) for ac_func in realpath | 9009 * ) for ac_func in realpath |
8900 do | 9010 do |
8901 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 9011 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
8902 echo "configure:8903: checking for $ac_func" >&5 | 9012 echo "configure:9013: checking for $ac_func" >&5 |
8903 | 9013 |
8904 cat > conftest.$ac_ext <<EOF | 9014 cat > conftest.$ac_ext <<EOF |
8905 #line 8906 "configure" | 9015 #line 9016 "configure" |
8906 #include "confdefs.h" | 9016 #include "confdefs.h" |
8907 /* System header to define __stub macros and hopefully few prototypes, | 9017 /* System header to define __stub macros and hopefully few prototypes, |
8908 which can conflict with char $ac_func(); below. */ | 9018 which can conflict with char $ac_func(); below. */ |
8909 #include <assert.h> | 9019 #include <assert.h> |
8910 /* Override any gcc2 internal prototype to avoid an error. */ | 9020 /* Override any gcc2 internal prototype to avoid an error. */ |
8923 $ac_func(); | 9033 $ac_func(); |
8924 #endif | 9034 #endif |
8925 | 9035 |
8926 ; return 0; } | 9036 ; return 0; } |
8927 EOF | 9037 EOF |
8928 if { (eval echo configure:8929: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9038 if { (eval echo configure:9039: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8929 rm -rf conftest* | 9039 rm -rf conftest* |
8930 eval "ac_cv_func_$ac_func=yes" | 9040 eval "ac_cv_func_$ac_func=yes" |
8931 else | 9041 else |
8932 echo "configure: failed program was:" >&5 | 9042 echo "configure: failed program was:" >&5 |
8933 cat conftest.$ac_ext >&5 | 9043 cat conftest.$ac_ext >&5 |
8959 esac | 9069 esac |
8960 | 9070 |
8961 for ac_func in getloadavg | 9071 for ac_func in getloadavg |
8962 do | 9072 do |
8963 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 9073 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
8964 echo "configure:8965: checking for $ac_func" >&5 | 9074 echo "configure:9075: checking for $ac_func" >&5 |
8965 | 9075 |
8966 cat > conftest.$ac_ext <<EOF | 9076 cat > conftest.$ac_ext <<EOF |
8967 #line 8968 "configure" | 9077 #line 9078 "configure" |
8968 #include "confdefs.h" | 9078 #include "confdefs.h" |
8969 /* System header to define __stub macros and hopefully few prototypes, | 9079 /* System header to define __stub macros and hopefully few prototypes, |
8970 which can conflict with char $ac_func(); below. */ | 9080 which can conflict with char $ac_func(); below. */ |
8971 #include <assert.h> | 9081 #include <assert.h> |
8972 /* Override any gcc2 internal prototype to avoid an error. */ | 9082 /* Override any gcc2 internal prototype to avoid an error. */ |
8985 $ac_func(); | 9095 $ac_func(); |
8986 #endif | 9096 #endif |
8987 | 9097 |
8988 ; return 0; } | 9098 ; return 0; } |
8989 EOF | 9099 EOF |
8990 if { (eval echo configure:8991: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9100 if { (eval echo configure:9101: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8991 rm -rf conftest* | 9101 rm -rf conftest* |
8992 eval "ac_cv_func_$ac_func=yes" | 9102 eval "ac_cv_func_$ac_func=yes" |
8993 else | 9103 else |
8994 echo "configure: failed program was:" >&5 | 9104 echo "configure: failed program was:" >&5 |
8995 cat conftest.$ac_ext >&5 | 9105 cat conftest.$ac_ext >&5 |
9021 echo " xemacs will be linked with \"getloadavg.o\"" | 9131 echo " xemacs will be linked with \"getloadavg.o\"" |
9022 fi | 9132 fi |
9023 | 9133 |
9024 | 9134 |
9025 echo $ac_n "checking for kstat_open in -lkstat""... $ac_c" 1>&6 | 9135 echo $ac_n "checking for kstat_open in -lkstat""... $ac_c" 1>&6 |
9026 echo "configure:9027: checking for kstat_open in -lkstat" >&5 | 9136 echo "configure:9137: checking for kstat_open in -lkstat" >&5 |
9027 ac_lib_var=`echo kstat'_'kstat_open | sed 'y%./+-%__p_%'` | 9137 ac_lib_var=`echo kstat'_'kstat_open | sed 'y%./+-%__p_%'` |
9028 | 9138 |
9029 xe_check_libs=" -lkstat " | 9139 xe_check_libs=" -lkstat " |
9030 cat > conftest.$ac_ext <<EOF | 9140 cat > conftest.$ac_ext <<EOF |
9031 #line 9032 "configure" | 9141 #line 9142 "configure" |
9032 #include "confdefs.h" | 9142 #include "confdefs.h" |
9033 /* Override any gcc2 internal prototype to avoid an error. */ | 9143 /* Override any gcc2 internal prototype to avoid an error. */ |
9034 /* We use char because int might match the return type of a gcc2 | 9144 /* We use char because int might match the return type of a gcc2 |
9035 builtin and then its argument prototype would still apply. */ | 9145 builtin and then its argument prototype would still apply. */ |
9036 char kstat_open(); | 9146 char kstat_open(); |
9037 | 9147 |
9038 int main() { | 9148 int main() { |
9039 kstat_open() | 9149 kstat_open() |
9040 ; return 0; } | 9150 ; return 0; } |
9041 EOF | 9151 EOF |
9042 if { (eval echo configure:9043: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9152 if { (eval echo configure:9153: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9043 rm -rf conftest* | 9153 rm -rf conftest* |
9044 eval "ac_cv_lib_$ac_lib_var=yes" | 9154 eval "ac_cv_lib_$ac_lib_var=yes" |
9045 else | 9155 else |
9046 echo "configure: failed program was:" >&5 | 9156 echo "configure: failed program was:" >&5 |
9047 cat conftest.$ac_ext >&5 | 9157 cat conftest.$ac_ext >&5 |
9071 | 9181 |
9072 | 9182 |
9073 | 9183 |
9074 | 9184 |
9075 echo $ac_n "checking for kvm_read in -lkvm""... $ac_c" 1>&6 | 9185 echo $ac_n "checking for kvm_read in -lkvm""... $ac_c" 1>&6 |
9076 echo "configure:9077: checking for kvm_read in -lkvm" >&5 | 9186 echo "configure:9187: checking for kvm_read in -lkvm" >&5 |
9077 ac_lib_var=`echo kvm'_'kvm_read | sed 'y%./+-%__p_%'` | 9187 ac_lib_var=`echo kvm'_'kvm_read | sed 'y%./+-%__p_%'` |
9078 | 9188 |
9079 xe_check_libs=" -lkvm " | 9189 xe_check_libs=" -lkvm " |
9080 cat > conftest.$ac_ext <<EOF | 9190 cat > conftest.$ac_ext <<EOF |
9081 #line 9082 "configure" | 9191 #line 9192 "configure" |
9082 #include "confdefs.h" | 9192 #include "confdefs.h" |
9083 /* Override any gcc2 internal prototype to avoid an error. */ | 9193 /* Override any gcc2 internal prototype to avoid an error. */ |
9084 /* We use char because int might match the return type of a gcc2 | 9194 /* We use char because int might match the return type of a gcc2 |
9085 builtin and then its argument prototype would still apply. */ | 9195 builtin and then its argument prototype would still apply. */ |
9086 char kvm_read(); | 9196 char kvm_read(); |
9087 | 9197 |
9088 int main() { | 9198 int main() { |
9089 kvm_read() | 9199 kvm_read() |
9090 ; return 0; } | 9200 ; return 0; } |
9091 EOF | 9201 EOF |
9092 if { (eval echo configure:9093: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9202 if { (eval echo configure:9203: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9093 rm -rf conftest* | 9203 rm -rf conftest* |
9094 eval "ac_cv_lib_$ac_lib_var=yes" | 9204 eval "ac_cv_lib_$ac_lib_var=yes" |
9095 else | 9205 else |
9096 echo "configure: failed program was:" >&5 | 9206 echo "configure: failed program was:" >&5 |
9097 cat conftest.$ac_ext >&5 | 9207 cat conftest.$ac_ext >&5 |
9121 | 9231 |
9122 | 9232 |
9123 fi | 9233 fi |
9124 | 9234 |
9125 echo $ac_n "checking whether netdb declares h_errno""... $ac_c" 1>&6 | 9235 echo $ac_n "checking whether netdb declares h_errno""... $ac_c" 1>&6 |
9126 echo "configure:9127: checking whether netdb declares h_errno" >&5 | 9236 echo "configure:9237: checking whether netdb declares h_errno" >&5 |
9127 cat > conftest.$ac_ext <<EOF | 9237 cat > conftest.$ac_ext <<EOF |
9128 #line 9129 "configure" | 9238 #line 9239 "configure" |
9129 #include "confdefs.h" | 9239 #include "confdefs.h" |
9130 #include <netdb.h> | 9240 #include <netdb.h> |
9131 int main() { | 9241 int main() { |
9132 return h_errno; | 9242 return h_errno; |
9133 ; return 0; } | 9243 ; return 0; } |
9134 EOF | 9244 EOF |
9135 if { (eval echo configure:9136: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9245 if { (eval echo configure:9246: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9136 rm -rf conftest* | 9246 rm -rf conftest* |
9137 echo "$ac_t""yes" 1>&6 | 9247 echo "$ac_t""yes" 1>&6 |
9138 { test "$extra_verbose" = "yes" && cat << \EOF | 9248 { test "$extra_verbose" = "yes" && cat << \EOF |
9139 Defining HAVE_H_ERRNO | 9249 Defining HAVE_H_ERRNO |
9140 EOF | 9250 EOF |
9150 echo "$ac_t""no" 1>&6 | 9260 echo "$ac_t""no" 1>&6 |
9151 fi | 9261 fi |
9152 rm -f conftest* | 9262 rm -f conftest* |
9153 | 9263 |
9154 echo $ac_n "checking for sigsetjmp""... $ac_c" 1>&6 | 9264 echo $ac_n "checking for sigsetjmp""... $ac_c" 1>&6 |
9155 echo "configure:9156: checking for sigsetjmp" >&5 | 9265 echo "configure:9266: checking for sigsetjmp" >&5 |
9156 cat > conftest.$ac_ext <<EOF | 9266 cat > conftest.$ac_ext <<EOF |
9157 #line 9158 "configure" | 9267 #line 9268 "configure" |
9158 #include "confdefs.h" | 9268 #include "confdefs.h" |
9159 #include <setjmp.h> | 9269 #include <setjmp.h> |
9160 int main() { | 9270 int main() { |
9161 sigjmp_buf bar; sigsetjmp (bar, 0); | 9271 sigjmp_buf bar; sigsetjmp (bar, 0); |
9162 ; return 0; } | 9272 ; return 0; } |
9163 EOF | 9273 EOF |
9164 if { (eval echo configure:9165: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 9274 if { (eval echo configure:9275: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
9165 rm -rf conftest* | 9275 rm -rf conftest* |
9166 echo "$ac_t""yes" 1>&6 | 9276 echo "$ac_t""yes" 1>&6 |
9167 { test "$extra_verbose" = "yes" && cat << \EOF | 9277 { test "$extra_verbose" = "yes" && cat << \EOF |
9168 Defining HAVE_SIGSETJMP | 9278 Defining HAVE_SIGSETJMP |
9169 EOF | 9279 EOF |
9179 echo "$ac_t""no" 1>&6 | 9289 echo "$ac_t""no" 1>&6 |
9180 fi | 9290 fi |
9181 rm -f conftest* | 9291 rm -f conftest* |
9182 | 9292 |
9183 echo $ac_n "checking whether localtime caches TZ""... $ac_c" 1>&6 | 9293 echo $ac_n "checking whether localtime caches TZ""... $ac_c" 1>&6 |
9184 echo "configure:9185: checking whether localtime caches TZ" >&5 | 9294 echo "configure:9295: checking whether localtime caches TZ" >&5 |
9185 | 9295 |
9186 if test "$ac_cv_func_tzset" = "yes"; then | 9296 if test "$ac_cv_func_tzset" = "yes"; then |
9187 cat > conftest.$ac_ext <<EOF | 9297 cat > conftest.$ac_ext <<EOF |
9188 #line 9189 "configure" | 9298 #line 9299 "configure" |
9189 #include "confdefs.h" | 9299 #include "confdefs.h" |
9190 #include <time.h> | 9300 #include <time.h> |
9191 #if STDC_HEADERS | 9301 #if STDC_HEADERS |
9192 # include <stdlib.h> | 9302 # include <stdlib.h> |
9193 #endif | 9303 #endif |
9218 if (localtime (&now)->tm_hour != hour_unset) | 9328 if (localtime (&now)->tm_hour != hour_unset) |
9219 exit (1); | 9329 exit (1); |
9220 exit (0); | 9330 exit (0); |
9221 } | 9331 } |
9222 EOF | 9332 EOF |
9223 if { (eval echo configure:9224: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 9333 if { (eval echo configure:9334: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
9224 then | 9334 then |
9225 emacs_cv_localtime_cache=no | 9335 emacs_cv_localtime_cache=no |
9226 else | 9336 else |
9227 conftest_rc="$?" | 9337 conftest_rc="$?" |
9228 echo "configure: failed program was:" >&5 | 9338 echo "configure: failed program was:" >&5 |
9248 | 9358 |
9249 fi | 9359 fi |
9250 | 9360 |
9251 if test "$HAVE_TIMEVAL" = "yes"; then | 9361 if test "$HAVE_TIMEVAL" = "yes"; then |
9252 echo $ac_n "checking whether gettimeofday accepts one or two arguments""... $ac_c" 1>&6 | 9362 echo $ac_n "checking whether gettimeofday accepts one or two arguments""... $ac_c" 1>&6 |
9253 echo "configure:9254: checking whether gettimeofday accepts one or two arguments" >&5 | 9363 echo "configure:9364: checking whether gettimeofday accepts one or two arguments" >&5 |
9254 cat > conftest.$ac_ext <<EOF | 9364 cat > conftest.$ac_ext <<EOF |
9255 #line 9256 "configure" | 9365 #line 9366 "configure" |
9256 #include "confdefs.h" | 9366 #include "confdefs.h" |
9257 | 9367 |
9258 #ifdef TIME_WITH_SYS_TIME | 9368 #ifdef TIME_WITH_SYS_TIME |
9259 #include <sys/time.h> | 9369 #include <sys/time.h> |
9260 #include <time.h> | 9370 #include <time.h> |
9272 struct timezone dummy; | 9382 struct timezone dummy; |
9273 gettimeofday (&time, &dummy); | 9383 gettimeofday (&time, &dummy); |
9274 | 9384 |
9275 ; return 0; } | 9385 ; return 0; } |
9276 EOF | 9386 EOF |
9277 if { (eval echo configure:9278: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9387 if { (eval echo configure:9388: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9278 rm -rf conftest* | 9388 rm -rf conftest* |
9279 echo "$ac_t""two" 1>&6 | 9389 echo "$ac_t""two" 1>&6 |
9280 else | 9390 else |
9281 echo "configure: failed program was:" >&5 | 9391 echo "configure: failed program was:" >&5 |
9282 cat conftest.$ac_ext >&5 | 9392 cat conftest.$ac_ext >&5 |
9294 rm -f conftest* | 9404 rm -f conftest* |
9295 fi | 9405 fi |
9296 | 9406 |
9297 | 9407 |
9298 echo $ac_n "checking for inline""... $ac_c" 1>&6 | 9408 echo $ac_n "checking for inline""... $ac_c" 1>&6 |
9299 echo "configure:9300: checking for inline" >&5 | 9409 echo "configure:9410: checking for inline" >&5 |
9300 | 9410 |
9301 ac_cv_c_inline=no | 9411 ac_cv_c_inline=no |
9302 for ac_kw in inline __inline__ __inline; do | 9412 for ac_kw in inline __inline__ __inline; do |
9303 cat > conftest.$ac_ext <<EOF | 9413 cat > conftest.$ac_ext <<EOF |
9304 #line 9305 "configure" | 9414 #line 9415 "configure" |
9305 #include "confdefs.h" | 9415 #include "confdefs.h" |
9306 | 9416 |
9307 int main() { | 9417 int main() { |
9308 } $ac_kw foo() { | 9418 } $ac_kw foo() { |
9309 ; return 0; } | 9419 ; return 0; } |
9310 EOF | 9420 EOF |
9311 if { (eval echo configure:9312: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 9421 if { (eval echo configure:9422: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
9312 rm -rf conftest* | 9422 rm -rf conftest* |
9313 ac_cv_c_inline=$ac_kw; break | 9423 ac_cv_c_inline=$ac_kw; break |
9314 else | 9424 else |
9315 echo "configure: failed program was:" >&5 | 9425 echo "configure: failed program was:" >&5 |
9316 cat conftest.$ac_ext >&5 | 9426 cat conftest.$ac_ext >&5 |
9356 | 9466 |
9357 | 9467 |
9358 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works | 9468 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works |
9359 # for constant arguments. Useless! | 9469 # for constant arguments. Useless! |
9360 echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6 | 9470 echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6 |
9361 echo "configure:9362: checking for working alloca.h" >&5 | 9471 echo "configure:9472: checking for working alloca.h" >&5 |
9362 | 9472 |
9363 cat > conftest.$ac_ext <<EOF | 9473 cat > conftest.$ac_ext <<EOF |
9364 #line 9365 "configure" | 9474 #line 9475 "configure" |
9365 #include "confdefs.h" | 9475 #include "confdefs.h" |
9366 #include <alloca.h> | 9476 #include <alloca.h> |
9367 int main() { | 9477 int main() { |
9368 char *p = alloca(2 * sizeof(int)); | 9478 char *p = alloca(2 * sizeof(int)); |
9369 ; return 0; } | 9479 ; return 0; } |
9370 EOF | 9480 EOF |
9371 if { (eval echo configure:9372: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9481 if { (eval echo configure:9482: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9372 rm -rf conftest* | 9482 rm -rf conftest* |
9373 ac_cv_header_alloca_h=yes | 9483 ac_cv_header_alloca_h=yes |
9374 else | 9484 else |
9375 echo "configure: failed program was:" >&5 | 9485 echo "configure: failed program was:" >&5 |
9376 cat conftest.$ac_ext >&5 | 9486 cat conftest.$ac_ext >&5 |
9390 } | 9500 } |
9391 | 9501 |
9392 fi | 9502 fi |
9393 | 9503 |
9394 echo $ac_n "checking for alloca""... $ac_c" 1>&6 | 9504 echo $ac_n "checking for alloca""... $ac_c" 1>&6 |
9395 echo "configure:9396: checking for alloca" >&5 | 9505 echo "configure:9506: checking for alloca" >&5 |
9396 | 9506 |
9397 cat > conftest.$ac_ext <<EOF | 9507 cat > conftest.$ac_ext <<EOF |
9398 #line 9399 "configure" | 9508 #line 9509 "configure" |
9399 #include "confdefs.h" | 9509 #include "confdefs.h" |
9400 | 9510 |
9401 #ifdef __GNUC__ | 9511 #ifdef __GNUC__ |
9402 # define alloca __builtin_alloca | 9512 # define alloca __builtin_alloca |
9403 #else | 9513 #else |
9421 | 9531 |
9422 int main() { | 9532 int main() { |
9423 char *p = (char *) alloca(1); | 9533 char *p = (char *) alloca(1); |
9424 ; return 0; } | 9534 ; return 0; } |
9425 EOF | 9535 EOF |
9426 if { (eval echo configure:9427: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9536 if { (eval echo configure:9537: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9427 rm -rf conftest* | 9537 rm -rf conftest* |
9428 ac_cv_func_alloca_works=yes | 9538 ac_cv_func_alloca_works=yes |
9429 else | 9539 else |
9430 echo "configure: failed program was:" >&5 | 9540 echo "configure: failed program was:" >&5 |
9431 cat conftest.$ac_ext >&5 | 9541 cat conftest.$ac_ext >&5 |
9460 EOF | 9570 EOF |
9461 } | 9571 } |
9462 | 9572 |
9463 | 9573 |
9464 echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6 | 9574 echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6 |
9465 echo "configure:9466: checking whether alloca needs Cray hooks" >&5 | 9575 echo "configure:9576: checking whether alloca needs Cray hooks" >&5 |
9466 | 9576 |
9467 cat > conftest.$ac_ext <<EOF | 9577 cat > conftest.$ac_ext <<EOF |
9468 #line 9469 "configure" | 9578 #line 9579 "configure" |
9469 #include "confdefs.h" | 9579 #include "confdefs.h" |
9470 #if defined(CRAY) && ! defined(CRAY2) | 9580 #if defined(CRAY) && ! defined(CRAY2) |
9471 webecray | 9581 webecray |
9472 #else | 9582 #else |
9473 wenotbecray | 9583 wenotbecray |
9487 | 9597 |
9488 echo "$ac_t""$ac_cv_os_cray" 1>&6 | 9598 echo "$ac_t""$ac_cv_os_cray" 1>&6 |
9489 if test $ac_cv_os_cray = yes; then | 9599 if test $ac_cv_os_cray = yes; then |
9490 for ac_func in _getb67 GETB67 getb67; do | 9600 for ac_func in _getb67 GETB67 getb67; do |
9491 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 9601 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
9492 echo "configure:9493: checking for $ac_func" >&5 | 9602 echo "configure:9603: checking for $ac_func" >&5 |
9493 | 9603 |
9494 cat > conftest.$ac_ext <<EOF | 9604 cat > conftest.$ac_ext <<EOF |
9495 #line 9496 "configure" | 9605 #line 9606 "configure" |
9496 #include "confdefs.h" | 9606 #include "confdefs.h" |
9497 /* System header to define __stub macros and hopefully few prototypes, | 9607 /* System header to define __stub macros and hopefully few prototypes, |
9498 which can conflict with char $ac_func(); below. */ | 9608 which can conflict with char $ac_func(); below. */ |
9499 #include <assert.h> | 9609 #include <assert.h> |
9500 /* Override any gcc2 internal prototype to avoid an error. */ | 9610 /* Override any gcc2 internal prototype to avoid an error. */ |
9513 $ac_func(); | 9623 $ac_func(); |
9514 #endif | 9624 #endif |
9515 | 9625 |
9516 ; return 0; } | 9626 ; return 0; } |
9517 EOF | 9627 EOF |
9518 if { (eval echo configure:9519: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9628 if { (eval echo configure:9629: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9519 rm -rf conftest* | 9629 rm -rf conftest* |
9520 eval "ac_cv_func_$ac_func=yes" | 9630 eval "ac_cv_func_$ac_func=yes" |
9521 else | 9631 else |
9522 echo "configure: failed program was:" >&5 | 9632 echo "configure: failed program was:" >&5 |
9523 cat conftest.$ac_ext >&5 | 9633 cat conftest.$ac_ext >&5 |
9543 | 9653 |
9544 done | 9654 done |
9545 fi | 9655 fi |
9546 | 9656 |
9547 echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6 | 9657 echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6 |
9548 echo "configure:9549: checking stack direction for C alloca" >&5 | 9658 echo "configure:9659: checking stack direction for C alloca" >&5 |
9549 | 9659 |
9550 cat > conftest.$ac_ext <<EOF | 9660 cat > conftest.$ac_ext <<EOF |
9551 #line 9552 "configure" | 9661 #line 9662 "configure" |
9552 #include "confdefs.h" | 9662 #include "confdefs.h" |
9553 find_stack_direction () | 9663 find_stack_direction () |
9554 { | 9664 { |
9555 static char *addr = 0; | 9665 static char *addr = 0; |
9556 auto char dummy; | 9666 auto char dummy; |
9565 main () | 9675 main () |
9566 { | 9676 { |
9567 exit (find_stack_direction() < 0); | 9677 exit (find_stack_direction() < 0); |
9568 } | 9678 } |
9569 EOF | 9679 EOF |
9570 if { (eval echo configure:9571: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 9680 if { (eval echo configure:9681: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
9571 then | 9681 then |
9572 ac_cv_c_stack_direction=1 | 9682 ac_cv_c_stack_direction=1 |
9573 else | 9683 else |
9574 conftest_rc="$?" | 9684 conftest_rc="$?" |
9575 echo "configure: failed program was:" >&5 | 9685 echo "configure: failed program was:" >&5 |
9594 echo " xemacs will be linked with \"$ALLOCA\"" | 9704 echo " xemacs will be linked with \"$ALLOCA\"" |
9595 fi | 9705 fi |
9596 | 9706 |
9597 ac_safe=`echo "vfork.h" | sed 'y%./+-%__p_%'` | 9707 ac_safe=`echo "vfork.h" | sed 'y%./+-%__p_%'` |
9598 echo $ac_n "checking for vfork.h""... $ac_c" 1>&6 | 9708 echo $ac_n "checking for vfork.h""... $ac_c" 1>&6 |
9599 echo "configure:9600: checking for vfork.h" >&5 | 9709 echo "configure:9710: checking for vfork.h" >&5 |
9600 | 9710 |
9601 cat > conftest.$ac_ext <<EOF | 9711 cat > conftest.$ac_ext <<EOF |
9602 #line 9603 "configure" | 9712 #line 9713 "configure" |
9603 #include "confdefs.h" | 9713 #include "confdefs.h" |
9604 #include <vfork.h> | 9714 #include <vfork.h> |
9605 EOF | 9715 EOF |
9606 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9716 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9607 { (eval echo configure:9608: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9717 { (eval echo configure:9718: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9608 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9718 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
9609 if test -z "$ac_err"; then | 9719 if test -z "$ac_err"; then |
9610 rm -rf conftest* | 9720 rm -rf conftest* |
9611 eval "ac_cv_header_$ac_safe=yes" | 9721 eval "ac_cv_header_$ac_safe=yes" |
9612 else | 9722 else |
9630 else | 9740 else |
9631 echo "$ac_t""no" 1>&6 | 9741 echo "$ac_t""no" 1>&6 |
9632 fi | 9742 fi |
9633 | 9743 |
9634 echo $ac_n "checking for working vfork""... $ac_c" 1>&6 | 9744 echo $ac_n "checking for working vfork""... $ac_c" 1>&6 |
9635 echo "configure:9636: checking for working vfork" >&5 | 9745 echo "configure:9746: checking for working vfork" >&5 |
9636 | 9746 |
9637 cat > conftest.$ac_ext <<EOF | 9747 cat > conftest.$ac_ext <<EOF |
9638 #line 9639 "configure" | 9748 #line 9749 "configure" |
9639 #include "confdefs.h" | 9749 #include "confdefs.h" |
9640 /* Thanks to Paul Eggert for this test. */ | 9750 /* Thanks to Paul Eggert for this test. */ |
9641 #include <stdio.h> | 9751 #include <stdio.h> |
9642 #include <sys/types.h> | 9752 #include <sys/types.h> |
9643 #include <sys/stat.h> | 9753 #include <sys/stat.h> |
9728 || fstat(fileno(stdout), &st) != 0 | 9838 || fstat(fileno(stdout), &st) != 0 |
9729 ); | 9839 ); |
9730 } | 9840 } |
9731 } | 9841 } |
9732 EOF | 9842 EOF |
9733 if { (eval echo configure:9734: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 9843 if { (eval echo configure:9844: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
9734 then | 9844 then |
9735 ac_cv_func_vfork_works=yes | 9845 ac_cv_func_vfork_works=yes |
9736 else | 9846 else |
9737 conftest_rc="$?" | 9847 conftest_rc="$?" |
9738 echo "configure: failed program was:" >&5 | 9848 echo "configure: failed program was:" >&5 |
9754 | 9864 |
9755 fi | 9865 fi |
9756 | 9866 |
9757 | 9867 |
9758 echo $ac_n "checking for working strcoll""... $ac_c" 1>&6 | 9868 echo $ac_n "checking for working strcoll""... $ac_c" 1>&6 |
9759 echo "configure:9760: checking for working strcoll" >&5 | 9869 echo "configure:9870: checking for working strcoll" >&5 |
9760 | 9870 |
9761 cat > conftest.$ac_ext <<EOF | 9871 cat > conftest.$ac_ext <<EOF |
9762 #line 9763 "configure" | 9872 #line 9873 "configure" |
9763 #include "confdefs.h" | 9873 #include "confdefs.h" |
9764 #include <string.h> | 9874 #include <string.h> |
9765 main () | 9875 main () |
9766 { | 9876 { |
9767 exit (strcoll ("abc", "def") >= 0 || | 9877 exit (strcoll ("abc", "def") >= 0 || |
9768 strcoll ("ABC", "DEF") >= 0 || | 9878 strcoll ("ABC", "DEF") >= 0 || |
9769 strcoll ("123", "456") >= 0); | 9879 strcoll ("123", "456") >= 0); |
9770 } | 9880 } |
9771 EOF | 9881 EOF |
9772 if { (eval echo configure:9773: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 9882 if { (eval echo configure:9883: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
9773 then | 9883 then |
9774 ac_cv_func_strcoll_works=yes | 9884 ac_cv_func_strcoll_works=yes |
9775 else | 9885 else |
9776 conftest_rc="$?" | 9886 conftest_rc="$?" |
9777 echo "configure: failed program was:" >&5 | 9887 echo "configure: failed program was:" >&5 |
9795 | 9905 |
9796 | 9906 |
9797 for ac_func in getpgrp | 9907 for ac_func in getpgrp |
9798 do | 9908 do |
9799 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 9909 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
9800 echo "configure:9801: checking for $ac_func" >&5 | 9910 echo "configure:9911: checking for $ac_func" >&5 |
9801 | 9911 |
9802 cat > conftest.$ac_ext <<EOF | 9912 cat > conftest.$ac_ext <<EOF |
9803 #line 9804 "configure" | 9913 #line 9914 "configure" |
9804 #include "confdefs.h" | 9914 #include "confdefs.h" |
9805 /* System header to define __stub macros and hopefully few prototypes, | 9915 /* System header to define __stub macros and hopefully few prototypes, |
9806 which can conflict with char $ac_func(); below. */ | 9916 which can conflict with char $ac_func(); below. */ |
9807 #include <assert.h> | 9917 #include <assert.h> |
9808 /* Override any gcc2 internal prototype to avoid an error. */ | 9918 /* Override any gcc2 internal prototype to avoid an error. */ |
9821 $ac_func(); | 9931 $ac_func(); |
9822 #endif | 9932 #endif |
9823 | 9933 |
9824 ; return 0; } | 9934 ; return 0; } |
9825 EOF | 9935 EOF |
9826 if { (eval echo configure:9827: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9936 if { (eval echo configure:9937: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9827 rm -rf conftest* | 9937 rm -rf conftest* |
9828 eval "ac_cv_func_$ac_func=yes" | 9938 eval "ac_cv_func_$ac_func=yes" |
9829 else | 9939 else |
9830 echo "configure: failed program was:" >&5 | 9940 echo "configure: failed program was:" >&5 |
9831 cat conftest.$ac_ext >&5 | 9941 cat conftest.$ac_ext >&5 |
9849 echo "$ac_t""no" 1>&6 | 9959 echo "$ac_t""no" 1>&6 |
9850 fi | 9960 fi |
9851 done | 9961 done |
9852 | 9962 |
9853 echo $ac_n "checking whether getpgrp takes no argument""... $ac_c" 1>&6 | 9963 echo $ac_n "checking whether getpgrp takes no argument""... $ac_c" 1>&6 |
9854 echo "configure:9855: checking whether getpgrp takes no argument" >&5 | 9964 echo "configure:9965: checking whether getpgrp takes no argument" >&5 |
9855 | 9965 |
9856 cat > conftest.$ac_ext <<EOF | 9966 cat > conftest.$ac_ext <<EOF |
9857 #line 9858 "configure" | 9967 #line 9968 "configure" |
9858 #include "confdefs.h" | 9968 #include "confdefs.h" |
9859 | 9969 |
9860 /* | 9970 /* |
9861 * If this system has a BSD-style getpgrp(), | 9971 * If this system has a BSD-style getpgrp(), |
9862 * which takes a pid argument, exit unsuccessfully. | 9972 * which takes a pid argument, exit unsuccessfully. |
9907 exit(s>>8); | 10017 exit(s>>8); |
9908 } | 10018 } |
9909 } | 10019 } |
9910 | 10020 |
9911 EOF | 10021 EOF |
9912 if { (eval echo configure:9913: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 10022 if { (eval echo configure:10023: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
9913 then | 10023 then |
9914 ac_cv_func_getpgrp_void=yes | 10024 ac_cv_func_getpgrp_void=yes |
9915 else | 10025 else |
9916 conftest_rc="$?" | 10026 conftest_rc="$?" |
9917 echo "configure: failed program was:" >&5 | 10027 echo "configure: failed program was:" >&5 |
9934 | 10044 |
9935 fi | 10045 fi |
9936 | 10046 |
9937 | 10047 |
9938 echo $ac_n "checking for working mmap""... $ac_c" 1>&6 | 10048 echo $ac_n "checking for working mmap""... $ac_c" 1>&6 |
9939 echo "configure:9940: checking for working mmap" >&5 | 10049 echo "configure:10050: checking for working mmap" >&5 |
9940 case "$opsys" in ultrix* ) have_mmap=no ;; *) | 10050 case "$opsys" in ultrix* ) have_mmap=no ;; *) |
9941 cat > conftest.$ac_ext <<EOF | 10051 cat > conftest.$ac_ext <<EOF |
9942 #line 9943 "configure" | 10052 #line 10053 "configure" |
9943 #include "confdefs.h" | 10053 #include "confdefs.h" |
9944 #include <stdio.h> | 10054 #include <stdio.h> |
9945 #include <unistd.h> | 10055 #include <unistd.h> |
9946 #include <fcntl.h> | 10056 #include <fcntl.h> |
9947 #include <sys/mman.h> | 10057 #include <sys/mman.h> |
9970 return 0; | 10080 return 0; |
9971 perror ("conftest: mmap failed"); | 10081 perror ("conftest: mmap failed"); |
9972 return 1; | 10082 return 1; |
9973 } | 10083 } |
9974 EOF | 10084 EOF |
9975 if { (eval echo configure:9976: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 10085 if { (eval echo configure:10086: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
9976 then | 10086 then |
9977 have_mmap=yes | 10087 have_mmap=yes |
9978 else | 10088 else |
9979 conftest_rc="$?" | 10089 conftest_rc="$?" |
9980 echo "configure: failed program was:" >&5 | 10090 echo "configure: failed program was:" >&5 |
10005 } | 10115 } |
10006 | 10116 |
10007 | 10117 |
10008 ac_safe=`echo "termios.h" | sed 'y%./+-%__p_%'` | 10118 ac_safe=`echo "termios.h" | sed 'y%./+-%__p_%'` |
10009 echo $ac_n "checking for termios.h""... $ac_c" 1>&6 | 10119 echo $ac_n "checking for termios.h""... $ac_c" 1>&6 |
10010 echo "configure:10011: checking for termios.h" >&5 | 10120 echo "configure:10121: checking for termios.h" >&5 |
10011 | 10121 |
10012 cat > conftest.$ac_ext <<EOF | 10122 cat > conftest.$ac_ext <<EOF |
10013 #line 10014 "configure" | 10123 #line 10124 "configure" |
10014 #include "confdefs.h" | 10124 #include "confdefs.h" |
10015 #include <termios.h> | 10125 #include <termios.h> |
10016 EOF | 10126 EOF |
10017 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10127 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10018 { (eval echo configure:10019: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10128 { (eval echo configure:10129: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10019 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10129 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10020 if test -z "$ac_err"; then | 10130 if test -z "$ac_err"; then |
10021 rm -rf conftest* | 10131 rm -rf conftest* |
10022 eval "ac_cv_header_$ac_safe=yes" | 10132 eval "ac_cv_header_$ac_safe=yes" |
10023 else | 10133 else |
10056 | 10166 |
10057 else | 10167 else |
10058 echo "$ac_t""no" 1>&6 | 10168 echo "$ac_t""no" 1>&6 |
10059 ac_safe=`echo "termio.h" | sed 'y%./+-%__p_%'` | 10169 ac_safe=`echo "termio.h" | sed 'y%./+-%__p_%'` |
10060 echo $ac_n "checking for termio.h""... $ac_c" 1>&6 | 10170 echo $ac_n "checking for termio.h""... $ac_c" 1>&6 |
10061 echo "configure:10062: checking for termio.h" >&5 | 10171 echo "configure:10172: checking for termio.h" >&5 |
10062 | 10172 |
10063 cat > conftest.$ac_ext <<EOF | 10173 cat > conftest.$ac_ext <<EOF |
10064 #line 10065 "configure" | 10174 #line 10175 "configure" |
10065 #include "confdefs.h" | 10175 #include "confdefs.h" |
10066 #include <termio.h> | 10176 #include <termio.h> |
10067 EOF | 10177 EOF |
10068 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10178 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10069 { (eval echo configure:10070: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10179 { (eval echo configure:10180: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10070 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10180 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10071 if test -z "$ac_err"; then | 10181 if test -z "$ac_err"; then |
10072 rm -rf conftest* | 10182 rm -rf conftest* |
10073 eval "ac_cv_header_$ac_safe=yes" | 10183 eval "ac_cv_header_$ac_safe=yes" |
10074 else | 10184 else |
10096 fi | 10206 fi |
10097 | 10207 |
10098 | 10208 |
10099 | 10209 |
10100 echo $ac_n "checking for socket""... $ac_c" 1>&6 | 10210 echo $ac_n "checking for socket""... $ac_c" 1>&6 |
10101 echo "configure:10102: checking for socket" >&5 | 10211 echo "configure:10212: checking for socket" >&5 |
10102 | 10212 |
10103 cat > conftest.$ac_ext <<EOF | 10213 cat > conftest.$ac_ext <<EOF |
10104 #line 10105 "configure" | 10214 #line 10215 "configure" |
10105 #include "confdefs.h" | 10215 #include "confdefs.h" |
10106 /* System header to define __stub macros and hopefully few prototypes, | 10216 /* System header to define __stub macros and hopefully few prototypes, |
10107 which can conflict with char socket(); below. */ | 10217 which can conflict with char socket(); below. */ |
10108 #include <assert.h> | 10218 #include <assert.h> |
10109 /* Override any gcc2 internal prototype to avoid an error. */ | 10219 /* Override any gcc2 internal prototype to avoid an error. */ |
10122 socket(); | 10232 socket(); |
10123 #endif | 10233 #endif |
10124 | 10234 |
10125 ; return 0; } | 10235 ; return 0; } |
10126 EOF | 10236 EOF |
10127 if { (eval echo configure:10128: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10237 if { (eval echo configure:10238: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10128 rm -rf conftest* | 10238 rm -rf conftest* |
10129 eval "ac_cv_func_socket=yes" | 10239 eval "ac_cv_func_socket=yes" |
10130 else | 10240 else |
10131 echo "configure: failed program was:" >&5 | 10241 echo "configure: failed program was:" >&5 |
10132 cat conftest.$ac_ext >&5 | 10242 cat conftest.$ac_ext >&5 |
10137 | 10247 |
10138 if eval "test \"`echo '$ac_cv_func_'socket`\" = yes"; then | 10248 if eval "test \"`echo '$ac_cv_func_'socket`\" = yes"; then |
10139 echo "$ac_t""yes" 1>&6 | 10249 echo "$ac_t""yes" 1>&6 |
10140 ac_safe=`echo "netinet/in.h" | sed 'y%./+-%__p_%'` | 10250 ac_safe=`echo "netinet/in.h" | sed 'y%./+-%__p_%'` |
10141 echo $ac_n "checking for netinet/in.h""... $ac_c" 1>&6 | 10251 echo $ac_n "checking for netinet/in.h""... $ac_c" 1>&6 |
10142 echo "configure:10143: checking for netinet/in.h" >&5 | 10252 echo "configure:10253: checking for netinet/in.h" >&5 |
10143 | 10253 |
10144 cat > conftest.$ac_ext <<EOF | 10254 cat > conftest.$ac_ext <<EOF |
10145 #line 10146 "configure" | 10255 #line 10256 "configure" |
10146 #include "confdefs.h" | 10256 #include "confdefs.h" |
10147 #include <netinet/in.h> | 10257 #include <netinet/in.h> |
10148 EOF | 10258 EOF |
10149 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10259 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10150 { (eval echo configure:10151: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10260 { (eval echo configure:10261: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10151 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10261 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10152 if test -z "$ac_err"; then | 10262 if test -z "$ac_err"; then |
10153 rm -rf conftest* | 10263 rm -rf conftest* |
10154 eval "ac_cv_header_$ac_safe=yes" | 10264 eval "ac_cv_header_$ac_safe=yes" |
10155 else | 10265 else |
10162 rm -f conftest* | 10272 rm -f conftest* |
10163 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 10273 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
10164 echo "$ac_t""yes" 1>&6 | 10274 echo "$ac_t""yes" 1>&6 |
10165 ac_safe=`echo "arpa/inet.h" | sed 'y%./+-%__p_%'` | 10275 ac_safe=`echo "arpa/inet.h" | sed 'y%./+-%__p_%'` |
10166 echo $ac_n "checking for arpa/inet.h""... $ac_c" 1>&6 | 10276 echo $ac_n "checking for arpa/inet.h""... $ac_c" 1>&6 |
10167 echo "configure:10168: checking for arpa/inet.h" >&5 | 10277 echo "configure:10278: checking for arpa/inet.h" >&5 |
10168 | 10278 |
10169 cat > conftest.$ac_ext <<EOF | 10279 cat > conftest.$ac_ext <<EOF |
10170 #line 10171 "configure" | 10280 #line 10281 "configure" |
10171 #include "confdefs.h" | 10281 #include "confdefs.h" |
10172 #include <arpa/inet.h> | 10282 #include <arpa/inet.h> |
10173 EOF | 10283 EOF |
10174 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10284 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10175 { (eval echo configure:10176: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10285 { (eval echo configure:10286: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10176 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10286 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10177 if test -z "$ac_err"; then | 10287 if test -z "$ac_err"; then |
10178 rm -rf conftest* | 10288 rm -rf conftest* |
10179 eval "ac_cv_header_$ac_safe=yes" | 10289 eval "ac_cv_header_$ac_safe=yes" |
10180 else | 10290 else |
10195 #define HAVE_SOCKETS 1 | 10305 #define HAVE_SOCKETS 1 |
10196 EOF | 10306 EOF |
10197 } | 10307 } |
10198 | 10308 |
10199 echo $ac_n "checking "for sun_len member in struct sockaddr_un"""... $ac_c" 1>&6 | 10309 echo $ac_n "checking "for sun_len member in struct sockaddr_un"""... $ac_c" 1>&6 |
10200 echo "configure:10201: checking "for sun_len member in struct sockaddr_un"" >&5 | 10310 echo "configure:10311: checking "for sun_len member in struct sockaddr_un"" >&5 |
10201 cat > conftest.$ac_ext <<EOF | 10311 cat > conftest.$ac_ext <<EOF |
10202 #line 10203 "configure" | 10312 #line 10313 "configure" |
10203 #include "confdefs.h" | 10313 #include "confdefs.h" |
10204 | 10314 |
10205 #include <sys/types.h> | 10315 #include <sys/types.h> |
10206 #include <sys/socket.h> | 10316 #include <sys/socket.h> |
10207 #include <sys/un.h> | 10317 #include <sys/un.h> |
10208 | 10318 |
10209 int main() { | 10319 int main() { |
10210 static struct sockaddr_un x; x.sun_len = 1; | 10320 static struct sockaddr_un x; x.sun_len = 1; |
10211 ; return 0; } | 10321 ; return 0; } |
10212 EOF | 10322 EOF |
10213 if { (eval echo configure:10214: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10323 if { (eval echo configure:10324: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10214 rm -rf conftest* | 10324 rm -rf conftest* |
10215 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF | 10325 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF |
10216 Defining HAVE_SOCKADDR_SUN_LEN | 10326 Defining HAVE_SOCKADDR_SUN_LEN |
10217 EOF | 10327 EOF |
10218 cat >> confdefs.h <<\EOF | 10328 cat >> confdefs.h <<\EOF |
10226 rm -rf conftest* | 10336 rm -rf conftest* |
10227 echo "$ac_t""no" 1>&6 | 10337 echo "$ac_t""no" 1>&6 |
10228 fi | 10338 fi |
10229 rm -f conftest* | 10339 rm -f conftest* |
10230 echo $ac_n "checking "for ip_mreq struct in netinet/in.h"""... $ac_c" 1>&6 | 10340 echo $ac_n "checking "for ip_mreq struct in netinet/in.h"""... $ac_c" 1>&6 |
10231 echo "configure:10232: checking "for ip_mreq struct in netinet/in.h"" >&5 | 10341 echo "configure:10342: checking "for ip_mreq struct in netinet/in.h"" >&5 |
10232 cat > conftest.$ac_ext <<EOF | 10342 cat > conftest.$ac_ext <<EOF |
10233 #line 10234 "configure" | 10343 #line 10344 "configure" |
10234 #include "confdefs.h" | 10344 #include "confdefs.h" |
10235 | 10345 |
10236 #include <sys/types.h> | 10346 #include <sys/types.h> |
10237 #include <netinet/in.h> | 10347 #include <netinet/in.h> |
10238 | 10348 |
10239 int main() { | 10349 int main() { |
10240 static struct ip_mreq x; | 10350 static struct ip_mreq x; |
10241 ; return 0; } | 10351 ; return 0; } |
10242 EOF | 10352 EOF |
10243 if { (eval echo configure:10244: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10353 if { (eval echo configure:10354: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10244 rm -rf conftest* | 10354 rm -rf conftest* |
10245 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF | 10355 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF |
10246 Defining HAVE_MULTICAST | 10356 Defining HAVE_MULTICAST |
10247 EOF | 10357 EOF |
10248 cat >> confdefs.h <<\EOF | 10358 cat >> confdefs.h <<\EOF |
10269 echo "$ac_t""no" 1>&6 | 10379 echo "$ac_t""no" 1>&6 |
10270 fi | 10380 fi |
10271 | 10381 |
10272 | 10382 |
10273 echo $ac_n "checking for msgget""... $ac_c" 1>&6 | 10383 echo $ac_n "checking for msgget""... $ac_c" 1>&6 |
10274 echo "configure:10275: checking for msgget" >&5 | 10384 echo "configure:10385: checking for msgget" >&5 |
10275 | 10385 |
10276 cat > conftest.$ac_ext <<EOF | 10386 cat > conftest.$ac_ext <<EOF |
10277 #line 10278 "configure" | 10387 #line 10388 "configure" |
10278 #include "confdefs.h" | 10388 #include "confdefs.h" |
10279 /* System header to define __stub macros and hopefully few prototypes, | 10389 /* System header to define __stub macros and hopefully few prototypes, |
10280 which can conflict with char msgget(); below. */ | 10390 which can conflict with char msgget(); below. */ |
10281 #include <assert.h> | 10391 #include <assert.h> |
10282 /* Override any gcc2 internal prototype to avoid an error. */ | 10392 /* Override any gcc2 internal prototype to avoid an error. */ |
10295 msgget(); | 10405 msgget(); |
10296 #endif | 10406 #endif |
10297 | 10407 |
10298 ; return 0; } | 10408 ; return 0; } |
10299 EOF | 10409 EOF |
10300 if { (eval echo configure:10301: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10410 if { (eval echo configure:10411: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10301 rm -rf conftest* | 10411 rm -rf conftest* |
10302 eval "ac_cv_func_msgget=yes" | 10412 eval "ac_cv_func_msgget=yes" |
10303 else | 10413 else |
10304 echo "configure: failed program was:" >&5 | 10414 echo "configure: failed program was:" >&5 |
10305 cat conftest.$ac_ext >&5 | 10415 cat conftest.$ac_ext >&5 |
10310 | 10420 |
10311 if eval "test \"`echo '$ac_cv_func_'msgget`\" = yes"; then | 10421 if eval "test \"`echo '$ac_cv_func_'msgget`\" = yes"; then |
10312 echo "$ac_t""yes" 1>&6 | 10422 echo "$ac_t""yes" 1>&6 |
10313 ac_safe=`echo "sys/ipc.h" | sed 'y%./+-%__p_%'` | 10423 ac_safe=`echo "sys/ipc.h" | sed 'y%./+-%__p_%'` |
10314 echo $ac_n "checking for sys/ipc.h""... $ac_c" 1>&6 | 10424 echo $ac_n "checking for sys/ipc.h""... $ac_c" 1>&6 |
10315 echo "configure:10316: checking for sys/ipc.h" >&5 | 10425 echo "configure:10426: checking for sys/ipc.h" >&5 |
10316 | 10426 |
10317 cat > conftest.$ac_ext <<EOF | 10427 cat > conftest.$ac_ext <<EOF |
10318 #line 10319 "configure" | 10428 #line 10429 "configure" |
10319 #include "confdefs.h" | 10429 #include "confdefs.h" |
10320 #include <sys/ipc.h> | 10430 #include <sys/ipc.h> |
10321 EOF | 10431 EOF |
10322 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10432 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10323 { (eval echo configure:10324: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10433 { (eval echo configure:10434: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10324 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10434 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10325 if test -z "$ac_err"; then | 10435 if test -z "$ac_err"; then |
10326 rm -rf conftest* | 10436 rm -rf conftest* |
10327 eval "ac_cv_header_$ac_safe=yes" | 10437 eval "ac_cv_header_$ac_safe=yes" |
10328 else | 10438 else |
10335 rm -f conftest* | 10445 rm -f conftest* |
10336 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 10446 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
10337 echo "$ac_t""yes" 1>&6 | 10447 echo "$ac_t""yes" 1>&6 |
10338 ac_safe=`echo "sys/msg.h" | sed 'y%./+-%__p_%'` | 10448 ac_safe=`echo "sys/msg.h" | sed 'y%./+-%__p_%'` |
10339 echo $ac_n "checking for sys/msg.h""... $ac_c" 1>&6 | 10449 echo $ac_n "checking for sys/msg.h""... $ac_c" 1>&6 |
10340 echo "configure:10341: checking for sys/msg.h" >&5 | 10450 echo "configure:10451: checking for sys/msg.h" >&5 |
10341 | 10451 |
10342 cat > conftest.$ac_ext <<EOF | 10452 cat > conftest.$ac_ext <<EOF |
10343 #line 10344 "configure" | 10453 #line 10454 "configure" |
10344 #include "confdefs.h" | 10454 #include "confdefs.h" |
10345 #include <sys/msg.h> | 10455 #include <sys/msg.h> |
10346 EOF | 10456 EOF |
10347 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10457 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10348 { (eval echo configure:10349: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10458 { (eval echo configure:10459: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10349 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10459 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10350 if test -z "$ac_err"; then | 10460 if test -z "$ac_err"; then |
10351 rm -rf conftest* | 10461 rm -rf conftest* |
10352 eval "ac_cv_header_$ac_safe=yes" | 10462 eval "ac_cv_header_$ac_safe=yes" |
10353 else | 10463 else |
10381 fi | 10491 fi |
10382 | 10492 |
10383 | 10493 |
10384 ac_safe=`echo "dirent.h" | sed 'y%./+-%__p_%'` | 10494 ac_safe=`echo "dirent.h" | sed 'y%./+-%__p_%'` |
10385 echo $ac_n "checking for dirent.h""... $ac_c" 1>&6 | 10495 echo $ac_n "checking for dirent.h""... $ac_c" 1>&6 |
10386 echo "configure:10387: checking for dirent.h" >&5 | 10496 echo "configure:10497: checking for dirent.h" >&5 |
10387 | 10497 |
10388 cat > conftest.$ac_ext <<EOF | 10498 cat > conftest.$ac_ext <<EOF |
10389 #line 10390 "configure" | 10499 #line 10500 "configure" |
10390 #include "confdefs.h" | 10500 #include "confdefs.h" |
10391 #include <dirent.h> | 10501 #include <dirent.h> |
10392 EOF | 10502 EOF |
10393 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10503 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10394 { (eval echo configure:10395: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10504 { (eval echo configure:10505: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10395 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10505 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10396 if test -z "$ac_err"; then | 10506 if test -z "$ac_err"; then |
10397 rm -rf conftest* | 10507 rm -rf conftest* |
10398 eval "ac_cv_header_$ac_safe=yes" | 10508 eval "ac_cv_header_$ac_safe=yes" |
10399 else | 10509 else |
10416 | 10526 |
10417 else | 10527 else |
10418 echo "$ac_t""no" 1>&6 | 10528 echo "$ac_t""no" 1>&6 |
10419 ac_safe=`echo "sys/dir.h" | sed 'y%./+-%__p_%'` | 10529 ac_safe=`echo "sys/dir.h" | sed 'y%./+-%__p_%'` |
10420 echo $ac_n "checking for sys/dir.h""... $ac_c" 1>&6 | 10530 echo $ac_n "checking for sys/dir.h""... $ac_c" 1>&6 |
10421 echo "configure:10422: checking for sys/dir.h" >&5 | 10531 echo "configure:10532: checking for sys/dir.h" >&5 |
10422 | 10532 |
10423 cat > conftest.$ac_ext <<EOF | 10533 cat > conftest.$ac_ext <<EOF |
10424 #line 10425 "configure" | 10534 #line 10535 "configure" |
10425 #include "confdefs.h" | 10535 #include "confdefs.h" |
10426 #include <sys/dir.h> | 10536 #include <sys/dir.h> |
10427 EOF | 10537 EOF |
10428 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10538 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10429 { (eval echo configure:10430: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10539 { (eval echo configure:10540: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10430 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10540 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10431 if test -z "$ac_err"; then | 10541 if test -z "$ac_err"; then |
10432 rm -rf conftest* | 10542 rm -rf conftest* |
10433 eval "ac_cv_header_$ac_safe=yes" | 10543 eval "ac_cv_header_$ac_safe=yes" |
10434 else | 10544 else |
10457 fi | 10567 fi |
10458 | 10568 |
10459 | 10569 |
10460 ac_safe=`echo "nlist.h" | sed 'y%./+-%__p_%'` | 10570 ac_safe=`echo "nlist.h" | sed 'y%./+-%__p_%'` |
10461 echo $ac_n "checking for nlist.h""... $ac_c" 1>&6 | 10571 echo $ac_n "checking for nlist.h""... $ac_c" 1>&6 |
10462 echo "configure:10463: checking for nlist.h" >&5 | 10572 echo "configure:10573: checking for nlist.h" >&5 |
10463 | 10573 |
10464 cat > conftest.$ac_ext <<EOF | 10574 cat > conftest.$ac_ext <<EOF |
10465 #line 10466 "configure" | 10575 #line 10576 "configure" |
10466 #include "confdefs.h" | 10576 #include "confdefs.h" |
10467 #include <nlist.h> | 10577 #include <nlist.h> |
10468 EOF | 10578 EOF |
10469 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10579 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10470 { (eval echo configure:10471: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10580 { (eval echo configure:10581: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10471 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10581 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10472 if test -z "$ac_err"; then | 10582 if test -z "$ac_err"; then |
10473 rm -rf conftest* | 10583 rm -rf conftest* |
10474 eval "ac_cv_header_$ac_safe=yes" | 10584 eval "ac_cv_header_$ac_safe=yes" |
10475 else | 10585 else |
10495 fi | 10605 fi |
10496 | 10606 |
10497 | 10607 |
10498 | 10608 |
10499 echo "checking "for sound support"" 1>&6 | 10609 echo "checking "for sound support"" 1>&6 |
10500 echo "configure:10501: checking "for sound support"" >&5 | 10610 echo "configure:10611: checking "for sound support"" >&5 |
10501 case "$with_sound" in | 10611 case "$with_sound" in |
10502 native | both ) with_native_sound=yes;; | 10612 native | both ) with_native_sound=yes;; |
10503 nas | no ) with_native_sound=no;; | 10613 nas | no ) with_native_sound=no;; |
10504 esac | 10614 esac |
10505 test -z "$with_native_sound" -a -n "$native_sound_lib" && with_native_sound=yes | 10615 test -z "$with_native_sound" -a -n "$native_sound_lib" && with_native_sound=yes |
10506 | 10616 |
10507 if test "$with_native_sound" != "no"; then | 10617 if test "$with_native_sound" != "no"; then |
10508 if test -n "$native_sound_lib"; then | 10618 if test -n "$native_sound_lib"; then |
10509 ac_safe=`echo "multimedia/audio_device.h" | sed 'y%./+-%__p_%'` | 10619 ac_safe=`echo "multimedia/audio_device.h" | sed 'y%./+-%__p_%'` |
10510 echo $ac_n "checking for multimedia/audio_device.h""... $ac_c" 1>&6 | 10620 echo $ac_n "checking for multimedia/audio_device.h""... $ac_c" 1>&6 |
10511 echo "configure:10512: checking for multimedia/audio_device.h" >&5 | 10621 echo "configure:10622: checking for multimedia/audio_device.h" >&5 |
10512 | 10622 |
10513 cat > conftest.$ac_ext <<EOF | 10623 cat > conftest.$ac_ext <<EOF |
10514 #line 10515 "configure" | 10624 #line 10625 "configure" |
10515 #include "confdefs.h" | 10625 #include "confdefs.h" |
10516 #include <multimedia/audio_device.h> | 10626 #include <multimedia/audio_device.h> |
10517 EOF | 10627 EOF |
10518 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10628 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10519 { (eval echo configure:10520: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10629 { (eval echo configure:10630: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10520 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10630 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10521 if test -z "$ac_err"; then | 10631 if test -z "$ac_err"; then |
10522 rm -rf conftest* | 10632 rm -rf conftest* |
10523 eval "ac_cv_header_$ac_safe=yes" | 10633 eval "ac_cv_header_$ac_safe=yes" |
10524 else | 10634 else |
10562 case "$canonical" in | 10672 case "$canonical" in |
10563 *-sgi-* ) | 10673 *-sgi-* ) |
10564 if test -z "$native_sound_lib"; then | 10674 if test -z "$native_sound_lib"; then |
10565 | 10675 |
10566 echo $ac_n "checking for ALopenport in -laudio""... $ac_c" 1>&6 | 10676 echo $ac_n "checking for ALopenport in -laudio""... $ac_c" 1>&6 |
10567 echo "configure:10568: checking for ALopenport in -laudio" >&5 | 10677 echo "configure:10678: checking for ALopenport in -laudio" >&5 |
10568 ac_lib_var=`echo audio'_'ALopenport | sed 'y%./+-%__p_%'` | 10678 ac_lib_var=`echo audio'_'ALopenport | sed 'y%./+-%__p_%'` |
10569 | 10679 |
10570 xe_check_libs=" -laudio " | 10680 xe_check_libs=" -laudio " |
10571 cat > conftest.$ac_ext <<EOF | 10681 cat > conftest.$ac_ext <<EOF |
10572 #line 10573 "configure" | 10682 #line 10683 "configure" |
10573 #include "confdefs.h" | 10683 #include "confdefs.h" |
10574 /* Override any gcc2 internal prototype to avoid an error. */ | 10684 /* Override any gcc2 internal prototype to avoid an error. */ |
10575 /* We use char because int might match the return type of a gcc2 | 10685 /* We use char because int might match the return type of a gcc2 |
10576 builtin and then its argument prototype would still apply. */ | 10686 builtin and then its argument prototype would still apply. */ |
10577 char ALopenport(); | 10687 char ALopenport(); |
10578 | 10688 |
10579 int main() { | 10689 int main() { |
10580 ALopenport() | 10690 ALopenport() |
10581 ; return 0; } | 10691 ; return 0; } |
10582 EOF | 10692 EOF |
10583 if { (eval echo configure:10584: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10693 if { (eval echo configure:10694: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10584 rm -rf conftest* | 10694 rm -rf conftest* |
10585 eval "ac_cv_lib_$ac_lib_var=yes" | 10695 eval "ac_cv_lib_$ac_lib_var=yes" |
10586 else | 10696 else |
10587 echo "configure: failed program was:" >&5 | 10697 echo "configure: failed program was:" >&5 |
10588 cat conftest.$ac_ext >&5 | 10698 cat conftest.$ac_ext >&5 |
10609 fi ;; | 10719 fi ;; |
10610 hppa*-hp-hpux* ) | 10720 hppa*-hp-hpux* ) |
10611 if test -z "$native_sound_lib"; then | 10721 if test -z "$native_sound_lib"; then |
10612 | 10722 |
10613 echo $ac_n "checking for AOpenAudio in -lAlib""... $ac_c" 1>&6 | 10723 echo $ac_n "checking for AOpenAudio in -lAlib""... $ac_c" 1>&6 |
10614 echo "configure:10615: checking for AOpenAudio in -lAlib" >&5 | 10724 echo "configure:10725: checking for AOpenAudio in -lAlib" >&5 |
10615 ac_lib_var=`echo Alib'_'AOpenAudio | sed 'y%./+-%__p_%'` | 10725 ac_lib_var=`echo Alib'_'AOpenAudio | sed 'y%./+-%__p_%'` |
10616 | 10726 |
10617 xe_check_libs=" -lAlib " | 10727 xe_check_libs=" -lAlib " |
10618 cat > conftest.$ac_ext <<EOF | 10728 cat > conftest.$ac_ext <<EOF |
10619 #line 10620 "configure" | 10729 #line 10730 "configure" |
10620 #include "confdefs.h" | 10730 #include "confdefs.h" |
10621 /* Override any gcc2 internal prototype to avoid an error. */ | 10731 /* Override any gcc2 internal prototype to avoid an error. */ |
10622 /* We use char because int might match the return type of a gcc2 | 10732 /* We use char because int might match the return type of a gcc2 |
10623 builtin and then its argument prototype would still apply. */ | 10733 builtin and then its argument prototype would still apply. */ |
10624 char AOpenAudio(); | 10734 char AOpenAudio(); |
10625 | 10735 |
10626 int main() { | 10736 int main() { |
10627 AOpenAudio() | 10737 AOpenAudio() |
10628 ; return 0; } | 10738 ; return 0; } |
10629 EOF | 10739 EOF |
10630 if { (eval echo configure:10631: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10740 if { (eval echo configure:10741: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10631 rm -rf conftest* | 10741 rm -rf conftest* |
10632 eval "ac_cv_lib_$ac_lib_var=yes" | 10742 eval "ac_cv_lib_$ac_lib_var=yes" |
10633 else | 10743 else |
10634 echo "configure: failed program was:" >&5 | 10744 echo "configure: failed program was:" >&5 |
10635 cat conftest.$ac_ext >&5 | 10745 cat conftest.$ac_ext >&5 |
10663 | 10773 |
10664 if test -z "$sound_found"; then | 10774 if test -z "$sound_found"; then |
10665 for dir in "machine" "sys" "linux"; do | 10775 for dir in "machine" "sys" "linux"; do |
10666 ac_safe=`echo "${dir}/soundcard.h" | sed 'y%./+-%__p_%'` | 10776 ac_safe=`echo "${dir}/soundcard.h" | sed 'y%./+-%__p_%'` |
10667 echo $ac_n "checking for ${dir}/soundcard.h""... $ac_c" 1>&6 | 10777 echo $ac_n "checking for ${dir}/soundcard.h""... $ac_c" 1>&6 |
10668 echo "configure:10669: checking for ${dir}/soundcard.h" >&5 | 10778 echo "configure:10779: checking for ${dir}/soundcard.h" >&5 |
10669 | 10779 |
10670 cat > conftest.$ac_ext <<EOF | 10780 cat > conftest.$ac_ext <<EOF |
10671 #line 10672 "configure" | 10781 #line 10782 "configure" |
10672 #include "confdefs.h" | 10782 #include "confdefs.h" |
10673 #include <${dir}/soundcard.h> | 10783 #include <${dir}/soundcard.h> |
10674 EOF | 10784 EOF |
10675 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10785 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10676 { (eval echo configure:10677: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10786 { (eval echo configure:10787: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10677 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10787 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10678 if test -z "$ac_err"; then | 10788 if test -z "$ac_err"; then |
10679 rm -rf conftest* | 10789 rm -rf conftest* |
10680 eval "ac_cv_header_$ac_safe=yes" | 10790 eval "ac_cv_header_$ac_safe=yes" |
10681 else | 10791 else |
10741 extra_objs="$extra_objs nas.o" && if test "$extra_verbose" = "yes"; then | 10851 extra_objs="$extra_objs nas.o" && if test "$extra_verbose" = "yes"; then |
10742 echo " xemacs will be linked with \"nas.o\"" | 10852 echo " xemacs will be linked with \"nas.o\"" |
10743 fi | 10853 fi |
10744 libs_x="-laudio $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-laudio\" to \$libs_x"; fi | 10854 libs_x="-laudio $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-laudio\" to \$libs_x"; fi |
10745 cat > conftest.$ac_ext <<EOF | 10855 cat > conftest.$ac_ext <<EOF |
10746 #line 10747 "configure" | 10856 #line 10857 "configure" |
10747 #include "confdefs.h" | 10857 #include "confdefs.h" |
10748 #include <audio/Xtutil.h> | 10858 #include <audio/Xtutil.h> |
10749 EOF | 10859 EOF |
10750 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 10860 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
10751 egrep "AuXtErrorJump" >/dev/null 2>&1; then | 10861 egrep "AuXtErrorJump" >/dev/null 2>&1; then |
10768 | 10878 |
10769 test -z "$with_tty" && with_tty=yes | 10879 test -z "$with_tty" && with_tty=yes |
10770 | 10880 |
10771 if test "$with_tty" = "yes" ; then | 10881 if test "$with_tty" = "yes" ; then |
10772 echo "checking for TTY-related features" 1>&6 | 10882 echo "checking for TTY-related features" 1>&6 |
10773 echo "configure:10774: checking for TTY-related features" >&5 | 10883 echo "configure:10884: checking for TTY-related features" >&5 |
10774 { test "$extra_verbose" = "yes" && cat << \EOF | 10884 { test "$extra_verbose" = "yes" && cat << \EOF |
10775 Defining HAVE_TTY | 10885 Defining HAVE_TTY |
10776 EOF | 10886 EOF |
10777 cat >> confdefs.h <<\EOF | 10887 cat >> confdefs.h <<\EOF |
10778 #define HAVE_TTY 1 | 10888 #define HAVE_TTY 1 |
10784 fi | 10894 fi |
10785 | 10895 |
10786 if test -z "$with_ncurses"; then | 10896 if test -z "$with_ncurses"; then |
10787 | 10897 |
10788 echo $ac_n "checking for tgetent in -lncurses""... $ac_c" 1>&6 | 10898 echo $ac_n "checking for tgetent in -lncurses""... $ac_c" 1>&6 |
10789 echo "configure:10790: checking for tgetent in -lncurses" >&5 | 10899 echo "configure:10900: checking for tgetent in -lncurses" >&5 |
10790 ac_lib_var=`echo ncurses'_'tgetent | sed 'y%./+-%__p_%'` | 10900 ac_lib_var=`echo ncurses'_'tgetent | sed 'y%./+-%__p_%'` |
10791 | 10901 |
10792 xe_check_libs=" -lncurses " | 10902 xe_check_libs=" -lncurses " |
10793 cat > conftest.$ac_ext <<EOF | 10903 cat > conftest.$ac_ext <<EOF |
10794 #line 10795 "configure" | 10904 #line 10905 "configure" |
10795 #include "confdefs.h" | 10905 #include "confdefs.h" |
10796 /* Override any gcc2 internal prototype to avoid an error. */ | 10906 /* Override any gcc2 internal prototype to avoid an error. */ |
10797 /* We use char because int might match the return type of a gcc2 | 10907 /* We use char because int might match the return type of a gcc2 |
10798 builtin and then its argument prototype would still apply. */ | 10908 builtin and then its argument prototype would still apply. */ |
10799 char tgetent(); | 10909 char tgetent(); |
10800 | 10910 |
10801 int main() { | 10911 int main() { |
10802 tgetent() | 10912 tgetent() |
10803 ; return 0; } | 10913 ; return 0; } |
10804 EOF | 10914 EOF |
10805 if { (eval echo configure:10806: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10915 if { (eval echo configure:10916: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10806 rm -rf conftest* | 10916 rm -rf conftest* |
10807 eval "ac_cv_lib_$ac_lib_var=yes" | 10917 eval "ac_cv_lib_$ac_lib_var=yes" |
10808 else | 10918 else |
10809 echo "configure: failed program was:" >&5 | 10919 echo "configure: failed program was:" >&5 |
10810 cat conftest.$ac_ext >&5 | 10920 cat conftest.$ac_ext >&5 |
10833 EOF | 10943 EOF |
10834 } | 10944 } |
10835 | 10945 |
10836 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` | 10946 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` |
10837 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 | 10947 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 |
10838 echo "configure:10839: checking for ncurses/curses.h" >&5 | 10948 echo "configure:10949: checking for ncurses/curses.h" >&5 |
10839 | 10949 |
10840 cat > conftest.$ac_ext <<EOF | 10950 cat > conftest.$ac_ext <<EOF |
10841 #line 10842 "configure" | 10951 #line 10952 "configure" |
10842 #include "confdefs.h" | 10952 #include "confdefs.h" |
10843 #include <ncurses/curses.h> | 10953 #include <ncurses/curses.h> |
10844 EOF | 10954 EOF |
10845 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10955 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10846 { (eval echo configure:10847: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10956 { (eval echo configure:10957: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10847 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10957 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10848 if test -z "$ac_err"; then | 10958 if test -z "$ac_err"; then |
10849 rm -rf conftest* | 10959 rm -rf conftest* |
10850 eval "ac_cv_header_$ac_safe=yes" | 10960 eval "ac_cv_header_$ac_safe=yes" |
10851 else | 10961 else |
10863 echo "$ac_t""no" 1>&6 | 10973 echo "$ac_t""no" 1>&6 |
10864 fi | 10974 fi |
10865 | 10975 |
10866 ac_safe=`echo "ncurses/term.h" | sed 'y%./+-%__p_%'` | 10976 ac_safe=`echo "ncurses/term.h" | sed 'y%./+-%__p_%'` |
10867 echo $ac_n "checking for ncurses/term.h""... $ac_c" 1>&6 | 10977 echo $ac_n "checking for ncurses/term.h""... $ac_c" 1>&6 |
10868 echo "configure:10869: checking for ncurses/term.h" >&5 | 10978 echo "configure:10979: checking for ncurses/term.h" >&5 |
10869 | 10979 |
10870 cat > conftest.$ac_ext <<EOF | 10980 cat > conftest.$ac_ext <<EOF |
10871 #line 10872 "configure" | 10981 #line 10982 "configure" |
10872 #include "confdefs.h" | 10982 #include "confdefs.h" |
10873 #include <ncurses/term.h> | 10983 #include <ncurses/term.h> |
10874 EOF | 10984 EOF |
10875 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10985 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10876 { (eval echo configure:10877: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10986 { (eval echo configure:10987: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10877 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10987 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10878 if test -z "$ac_err"; then | 10988 if test -z "$ac_err"; then |
10879 rm -rf conftest* | 10989 rm -rf conftest* |
10880 eval "ac_cv_header_$ac_safe=yes" | 10990 eval "ac_cv_header_$ac_safe=yes" |
10881 else | 10991 else |
10901 if test "$ac_cv_header_ncurses_curses_h" != "yes" ; then | 11011 if test "$ac_cv_header_ncurses_curses_h" != "yes" ; then |
10902 save_c_switch_site="$c_switch_site" | 11012 save_c_switch_site="$c_switch_site" |
10903 c_switch_site="$c_switch_site -I/usr/include/ncurses" | 11013 c_switch_site="$c_switch_site -I/usr/include/ncurses" |
10904 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` | 11014 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` |
10905 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 | 11015 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 |
10906 echo "configure:10907: checking for ncurses/curses.h" >&5 | 11016 echo "configure:11017: checking for ncurses/curses.h" >&5 |
10907 | 11017 |
10908 cat > conftest.$ac_ext <<EOF | 11018 cat > conftest.$ac_ext <<EOF |
10909 #line 10910 "configure" | 11019 #line 11020 "configure" |
10910 #include "confdefs.h" | 11020 #include "confdefs.h" |
10911 #include <ncurses/curses.h> | 11021 #include <ncurses/curses.h> |
10912 EOF | 11022 EOF |
10913 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 11023 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10914 { (eval echo configure:10915: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 11024 { (eval echo configure:11025: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10915 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 11025 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10916 if test -z "$ac_err"; then | 11026 if test -z "$ac_err"; then |
10917 rm -rf conftest* | 11027 rm -rf conftest* |
10918 eval "ac_cv_header_$ac_safe=yes" | 11028 eval "ac_cv_header_$ac_safe=yes" |
10919 else | 11029 else |
10944 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi | 11054 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi |
10945 else | 11055 else |
10946 for lib in curses termlib termcap; do | 11056 for lib in curses termlib termcap; do |
10947 | 11057 |
10948 echo $ac_n "checking for tgetent in -l$lib""... $ac_c" 1>&6 | 11058 echo $ac_n "checking for tgetent in -l$lib""... $ac_c" 1>&6 |
10949 echo "configure:10950: checking for tgetent in -l$lib" >&5 | 11059 echo "configure:11060: checking for tgetent in -l$lib" >&5 |
10950 ac_lib_var=`echo $lib'_'tgetent | sed 'y%./+-%__p_%'` | 11060 ac_lib_var=`echo $lib'_'tgetent | sed 'y%./+-%__p_%'` |
10951 | 11061 |
10952 xe_check_libs=" -l$lib " | 11062 xe_check_libs=" -l$lib " |
10953 cat > conftest.$ac_ext <<EOF | 11063 cat > conftest.$ac_ext <<EOF |
10954 #line 10955 "configure" | 11064 #line 11065 "configure" |
10955 #include "confdefs.h" | 11065 #include "confdefs.h" |
10956 /* Override any gcc2 internal prototype to avoid an error. */ | 11066 /* Override any gcc2 internal prototype to avoid an error. */ |
10957 /* We use char because int might match the return type of a gcc2 | 11067 /* We use char because int might match the return type of a gcc2 |
10958 builtin and then its argument prototype would still apply. */ | 11068 builtin and then its argument prototype would still apply. */ |
10959 char tgetent(); | 11069 char tgetent(); |
10960 | 11070 |
10961 int main() { | 11071 int main() { |
10962 tgetent() | 11072 tgetent() |
10963 ; return 0; } | 11073 ; return 0; } |
10964 EOF | 11074 EOF |
10965 if { (eval echo configure:10966: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11075 if { (eval echo configure:11076: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10966 rm -rf conftest* | 11076 rm -rf conftest* |
10967 eval "ac_cv_lib_$ac_lib_var=yes" | 11077 eval "ac_cv_lib_$ac_lib_var=yes" |
10968 else | 11078 else |
10969 echo "configure: failed program was:" >&5 | 11079 echo "configure: failed program was:" >&5 |
10970 cat conftest.$ac_ext >&5 | 11080 cat conftest.$ac_ext >&5 |
10991 if test -n "$libs_termcap"; then | 11101 if test -n "$libs_termcap"; then |
10992 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi | 11102 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi |
10993 else | 11103 else |
10994 | 11104 |
10995 echo $ac_n "checking for tgetent in -lcurses""... $ac_c" 1>&6 | 11105 echo $ac_n "checking for tgetent in -lcurses""... $ac_c" 1>&6 |
10996 echo "configure:10997: checking for tgetent in -lcurses" >&5 | 11106 echo "configure:11107: checking for tgetent in -lcurses" >&5 |
10997 ac_lib_var=`echo curses'_'tgetent | sed 'y%./+-%__p_%'` | 11107 ac_lib_var=`echo curses'_'tgetent | sed 'y%./+-%__p_%'` |
10998 | 11108 |
10999 xe_check_libs=" -lcurses " | 11109 xe_check_libs=" -lcurses " |
11000 cat > conftest.$ac_ext <<EOF | 11110 cat > conftest.$ac_ext <<EOF |
11001 #line 11002 "configure" | 11111 #line 11112 "configure" |
11002 #include "confdefs.h" | 11112 #include "confdefs.h" |
11003 /* Override any gcc2 internal prototype to avoid an error. */ | 11113 /* Override any gcc2 internal prototype to avoid an error. */ |
11004 /* We use char because int might match the return type of a gcc2 | 11114 /* We use char because int might match the return type of a gcc2 |
11005 builtin and then its argument prototype would still apply. */ | 11115 builtin and then its argument prototype would still apply. */ |
11006 char tgetent(); | 11116 char tgetent(); |
11007 | 11117 |
11008 int main() { | 11118 int main() { |
11009 tgetent() | 11119 tgetent() |
11010 ; return 0; } | 11120 ; return 0; } |
11011 EOF | 11121 EOF |
11012 if { (eval echo configure:11013: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11122 if { (eval echo configure:11123: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11013 rm -rf conftest* | 11123 rm -rf conftest* |
11014 eval "ac_cv_lib_$ac_lib_var=yes" | 11124 eval "ac_cv_lib_$ac_lib_var=yes" |
11015 else | 11125 else |
11016 echo "configure: failed program was:" >&5 | 11126 echo "configure: failed program was:" >&5 |
11017 cat conftest.$ac_ext >&5 | 11127 cat conftest.$ac_ext >&5 |
11025 echo "$ac_t""yes" 1>&6 | 11135 echo "$ac_t""yes" 1>&6 |
11026 LIBS="-lcurses $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lcurses\" to \$LIBS"; fi | 11136 LIBS="-lcurses $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lcurses\" to \$LIBS"; fi |
11027 else | 11137 else |
11028 echo "$ac_t""no" 1>&6 | 11138 echo "$ac_t""no" 1>&6 |
11029 echo $ac_n "checking for tgetent in -ltermcap""... $ac_c" 1>&6 | 11139 echo $ac_n "checking for tgetent in -ltermcap""... $ac_c" 1>&6 |
11030 echo "configure:11031: checking for tgetent in -ltermcap" >&5 | 11140 echo "configure:11141: checking for tgetent in -ltermcap" >&5 |
11031 ac_lib_var=`echo termcap'_'tgetent | sed 'y%./+-%__p_%'` | 11141 ac_lib_var=`echo termcap'_'tgetent | sed 'y%./+-%__p_%'` |
11032 | 11142 |
11033 xe_check_libs=" -ltermcap " | 11143 xe_check_libs=" -ltermcap " |
11034 cat > conftest.$ac_ext <<EOF | 11144 cat > conftest.$ac_ext <<EOF |
11035 #line 11036 "configure" | 11145 #line 11146 "configure" |
11036 #include "confdefs.h" | 11146 #include "confdefs.h" |
11037 /* Override any gcc2 internal prototype to avoid an error. */ | 11147 /* Override any gcc2 internal prototype to avoid an error. */ |
11038 /* We use char because int might match the return type of a gcc2 | 11148 /* We use char because int might match the return type of a gcc2 |
11039 builtin and then its argument prototype would still apply. */ | 11149 builtin and then its argument prototype would still apply. */ |
11040 char tgetent(); | 11150 char tgetent(); |
11041 | 11151 |
11042 int main() { | 11152 int main() { |
11043 tgetent() | 11153 tgetent() |
11044 ; return 0; } | 11154 ; return 0; } |
11045 EOF | 11155 EOF |
11046 if { (eval echo configure:11047: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11156 if { (eval echo configure:11157: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11047 rm -rf conftest* | 11157 rm -rf conftest* |
11048 eval "ac_cv_lib_$ac_lib_var=yes" | 11158 eval "ac_cv_lib_$ac_lib_var=yes" |
11049 else | 11159 else |
11050 echo "configure: failed program was:" >&5 | 11160 echo "configure: failed program was:" >&5 |
11051 cat conftest.$ac_ext >&5 | 11161 cat conftest.$ac_ext >&5 |
11089 } | 11199 } |
11090 | 11200 |
11091 | 11201 |
11092 test -z "$with_gpm" && { ac_safe=`echo "gpm.h" | sed 'y%./+-%__p_%'` | 11202 test -z "$with_gpm" && { ac_safe=`echo "gpm.h" | sed 'y%./+-%__p_%'` |
11093 echo $ac_n "checking for gpm.h""... $ac_c" 1>&6 | 11203 echo $ac_n "checking for gpm.h""... $ac_c" 1>&6 |
11094 echo "configure:11095: checking for gpm.h" >&5 | 11204 echo "configure:11205: checking for gpm.h" >&5 |
11095 | 11205 |
11096 cat > conftest.$ac_ext <<EOF | 11206 cat > conftest.$ac_ext <<EOF |
11097 #line 11098 "configure" | 11207 #line 11208 "configure" |
11098 #include "confdefs.h" | 11208 #include "confdefs.h" |
11099 #include <gpm.h> | 11209 #include <gpm.h> |
11100 EOF | 11210 EOF |
11101 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 11211 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
11102 { (eval echo configure:11103: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 11212 { (eval echo configure:11213: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
11103 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 11213 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
11104 if test -z "$ac_err"; then | 11214 if test -z "$ac_err"; then |
11105 rm -rf conftest* | 11215 rm -rf conftest* |
11106 eval "ac_cv_header_$ac_safe=yes" | 11216 eval "ac_cv_header_$ac_safe=yes" |
11107 else | 11217 else |
11120 with_gpm=no | 11230 with_gpm=no |
11121 fi | 11231 fi |
11122 } | 11232 } |
11123 test -z "$with_gpm" && { | 11233 test -z "$with_gpm" && { |
11124 echo $ac_n "checking for Gpm_Open in -lgpm""... $ac_c" 1>&6 | 11234 echo $ac_n "checking for Gpm_Open in -lgpm""... $ac_c" 1>&6 |
11125 echo "configure:11126: checking for Gpm_Open in -lgpm" >&5 | 11235 echo "configure:11236: checking for Gpm_Open in -lgpm" >&5 |
11126 ac_lib_var=`echo gpm'_'Gpm_Open | sed 'y%./+-%__p_%'` | 11236 ac_lib_var=`echo gpm'_'Gpm_Open | sed 'y%./+-%__p_%'` |
11127 | 11237 |
11128 xe_check_libs=" -lgpm " | 11238 xe_check_libs=" -lgpm " |
11129 cat > conftest.$ac_ext <<EOF | 11239 cat > conftest.$ac_ext <<EOF |
11130 #line 11131 "configure" | 11240 #line 11241 "configure" |
11131 #include "confdefs.h" | 11241 #include "confdefs.h" |
11132 /* Override any gcc2 internal prototype to avoid an error. */ | 11242 /* Override any gcc2 internal prototype to avoid an error. */ |
11133 /* We use char because int might match the return type of a gcc2 | 11243 /* We use char because int might match the return type of a gcc2 |
11134 builtin and then its argument prototype would still apply. */ | 11244 builtin and then its argument prototype would still apply. */ |
11135 char Gpm_Open(); | 11245 char Gpm_Open(); |
11136 | 11246 |
11137 int main() { | 11247 int main() { |
11138 Gpm_Open() | 11248 Gpm_Open() |
11139 ; return 0; } | 11249 ; return 0; } |
11140 EOF | 11250 EOF |
11141 if { (eval echo configure:11142: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11251 if { (eval echo configure:11252: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11142 rm -rf conftest* | 11252 rm -rf conftest* |
11143 eval "ac_cv_lib_$ac_lib_var=yes" | 11253 eval "ac_cv_lib_$ac_lib_var=yes" |
11144 else | 11254 else |
11145 echo "configure: failed program was:" >&5 | 11255 echo "configure: failed program was:" >&5 |
11146 cat conftest.$ac_ext >&5 | 11256 cat conftest.$ac_ext >&5 |
11186 fi | 11296 fi |
11187 | 11297 |
11188 | 11298 |
11189 test "$with_database_gnudbm $with_database_dbm $with_database_berkdb" \ | 11299 test "$with_database_gnudbm $with_database_dbm $with_database_berkdb" \ |
11190 != "no no no" && echo "checking for database support" 1>&6 | 11300 != "no no no" && echo "checking for database support" 1>&6 |
11191 echo "configure:11192: checking for database support" >&5 | 11301 echo "configure:11302: checking for database support" >&5 |
11192 | 11302 |
11193 if test "$with_database_gnudbm $with_database_dbm" != "no no"; then | 11303 if test "$with_database_gnudbm $with_database_dbm" != "no no"; then |
11194 ac_safe=`echo "ndbm.h" | sed 'y%./+-%__p_%'` | 11304 ac_safe=`echo "ndbm.h" | sed 'y%./+-%__p_%'` |
11195 echo $ac_n "checking for ndbm.h""... $ac_c" 1>&6 | 11305 echo $ac_n "checking for ndbm.h""... $ac_c" 1>&6 |
11196 echo "configure:11197: checking for ndbm.h" >&5 | 11306 echo "configure:11307: checking for ndbm.h" >&5 |
11197 | 11307 |
11198 cat > conftest.$ac_ext <<EOF | 11308 cat > conftest.$ac_ext <<EOF |
11199 #line 11200 "configure" | 11309 #line 11310 "configure" |
11200 #include "confdefs.h" | 11310 #include "confdefs.h" |
11201 #include <ndbm.h> | 11311 #include <ndbm.h> |
11202 EOF | 11312 EOF |
11203 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 11313 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
11204 { (eval echo configure:11205: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 11314 { (eval echo configure:11315: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
11205 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 11315 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
11206 if test -z "$ac_err"; then | 11316 if test -z "$ac_err"; then |
11207 rm -rf conftest* | 11317 rm -rf conftest* |
11208 eval "ac_cv_header_$ac_safe=yes" | 11318 eval "ac_cv_header_$ac_safe=yes" |
11209 else | 11319 else |
11229 fi | 11339 fi |
11230 | 11340 |
11231 if test "$with_database_gnudbm" != "no"; then | 11341 if test "$with_database_gnudbm" != "no"; then |
11232 | 11342 |
11233 echo $ac_n "checking for dbm_open in -lgdbm""... $ac_c" 1>&6 | 11343 echo $ac_n "checking for dbm_open in -lgdbm""... $ac_c" 1>&6 |
11234 echo "configure:11235: checking for dbm_open in -lgdbm" >&5 | 11344 echo "configure:11345: checking for dbm_open in -lgdbm" >&5 |
11235 ac_lib_var=`echo gdbm'_'dbm_open | sed 'y%./+-%__p_%'` | 11345 ac_lib_var=`echo gdbm'_'dbm_open | sed 'y%./+-%__p_%'` |
11236 | 11346 |
11237 xe_check_libs=" -lgdbm " | 11347 xe_check_libs=" -lgdbm " |
11238 cat > conftest.$ac_ext <<EOF | 11348 cat > conftest.$ac_ext <<EOF |
11239 #line 11240 "configure" | 11349 #line 11350 "configure" |
11240 #include "confdefs.h" | 11350 #include "confdefs.h" |
11241 /* Override any gcc2 internal prototype to avoid an error. */ | 11351 /* Override any gcc2 internal prototype to avoid an error. */ |
11242 /* We use char because int might match the return type of a gcc2 | 11352 /* We use char because int might match the return type of a gcc2 |
11243 builtin and then its argument prototype would still apply. */ | 11353 builtin and then its argument prototype would still apply. */ |
11244 char dbm_open(); | 11354 char dbm_open(); |
11245 | 11355 |
11246 int main() { | 11356 int main() { |
11247 dbm_open() | 11357 dbm_open() |
11248 ; return 0; } | 11358 ; return 0; } |
11249 EOF | 11359 EOF |
11250 if { (eval echo configure:11251: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11360 if { (eval echo configure:11361: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11251 rm -rf conftest* | 11361 rm -rf conftest* |
11252 eval "ac_cv_lib_$ac_lib_var=yes" | 11362 eval "ac_cv_lib_$ac_lib_var=yes" |
11253 else | 11363 else |
11254 echo "configure: failed program was:" >&5 | 11364 echo "configure: failed program was:" >&5 |
11255 cat conftest.$ac_ext >&5 | 11365 cat conftest.$ac_ext >&5 |
11273 | 11383 |
11274 fi | 11384 fi |
11275 | 11385 |
11276 if test "$with_database_dbm" != "no"; then | 11386 if test "$with_database_dbm" != "no"; then |
11277 echo $ac_n "checking for dbm_open""... $ac_c" 1>&6 | 11387 echo $ac_n "checking for dbm_open""... $ac_c" 1>&6 |
11278 echo "configure:11279: checking for dbm_open" >&5 | 11388 echo "configure:11389: checking for dbm_open" >&5 |
11279 | 11389 |
11280 cat > conftest.$ac_ext <<EOF | 11390 cat > conftest.$ac_ext <<EOF |
11281 #line 11282 "configure" | 11391 #line 11392 "configure" |
11282 #include "confdefs.h" | 11392 #include "confdefs.h" |
11283 /* System header to define __stub macros and hopefully few prototypes, | 11393 /* System header to define __stub macros and hopefully few prototypes, |
11284 which can conflict with char dbm_open(); below. */ | 11394 which can conflict with char dbm_open(); below. */ |
11285 #include <assert.h> | 11395 #include <assert.h> |
11286 /* Override any gcc2 internal prototype to avoid an error. */ | 11396 /* Override any gcc2 internal prototype to avoid an error. */ |
11299 dbm_open(); | 11409 dbm_open(); |
11300 #endif | 11410 #endif |
11301 | 11411 |
11302 ; return 0; } | 11412 ; return 0; } |
11303 EOF | 11413 EOF |
11304 if { (eval echo configure:11305: \"$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 |
11305 rm -rf conftest* | 11415 rm -rf conftest* |
11306 eval "ac_cv_func_dbm_open=yes" | 11416 eval "ac_cv_func_dbm_open=yes" |
11307 else | 11417 else |
11308 echo "configure: failed program was:" >&5 | 11418 echo "configure: failed program was:" >&5 |
11309 cat conftest.$ac_ext >&5 | 11419 cat conftest.$ac_ext >&5 |
11318 else | 11428 else |
11319 echo "$ac_t""no" 1>&6 | 11429 echo "$ac_t""no" 1>&6 |
11320 | 11430 |
11321 | 11431 |
11322 echo $ac_n "checking for dbm_open in -ldbm""... $ac_c" 1>&6 | 11432 echo $ac_n "checking for dbm_open in -ldbm""... $ac_c" 1>&6 |
11323 echo "configure:11324: checking for dbm_open in -ldbm" >&5 | 11433 echo "configure:11434: checking for dbm_open in -ldbm" >&5 |
11324 ac_lib_var=`echo dbm'_'dbm_open | sed 'y%./+-%__p_%'` | 11434 ac_lib_var=`echo dbm'_'dbm_open | sed 'y%./+-%__p_%'` |
11325 | 11435 |
11326 xe_check_libs=" -ldbm " | 11436 xe_check_libs=" -ldbm " |
11327 cat > conftest.$ac_ext <<EOF | 11437 cat > conftest.$ac_ext <<EOF |
11328 #line 11329 "configure" | 11438 #line 11439 "configure" |
11329 #include "confdefs.h" | 11439 #include "confdefs.h" |
11330 /* Override any gcc2 internal prototype to avoid an error. */ | 11440 /* Override any gcc2 internal prototype to avoid an error. */ |
11331 /* 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 |
11332 builtin and then its argument prototype would still apply. */ | 11442 builtin and then its argument prototype would still apply. */ |
11333 char dbm_open(); | 11443 char dbm_open(); |
11334 | 11444 |
11335 int main() { | 11445 int main() { |
11336 dbm_open() | 11446 dbm_open() |
11337 ; return 0; } | 11447 ; return 0; } |
11338 EOF | 11448 EOF |
11339 if { (eval echo configure:11340: \"$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 |
11340 rm -rf conftest* | 11450 rm -rf conftest* |
11341 eval "ac_cv_lib_$ac_lib_var=yes" | 11451 eval "ac_cv_lib_$ac_lib_var=yes" |
11342 else | 11452 else |
11343 echo "configure: failed program was:" >&5 | 11453 echo "configure: failed program was:" >&5 |
11344 cat conftest.$ac_ext >&5 | 11454 cat conftest.$ac_ext >&5 |
11375 } | 11485 } |
11376 | 11486 |
11377 | 11487 |
11378 if test "$with_database_berkdb" != "no"; then | 11488 if test "$with_database_berkdb" != "no"; then |
11379 echo $ac_n "checking for Berkeley db.h""... $ac_c" 1>&6 | 11489 echo $ac_n "checking for Berkeley db.h""... $ac_c" 1>&6 |
11380 echo "configure:11381: checking for Berkeley db.h" >&5 | 11490 echo "configure:11491: checking for Berkeley db.h" >&5 |
11381 for path in "db/db.h" "db.h"; do | 11491 for path in "db/db.h" "db.h"; do |
11382 cat > conftest.$ac_ext <<EOF | 11492 cat > conftest.$ac_ext <<EOF |
11383 #line 11384 "configure" | 11493 #line 11494 "configure" |
11384 #include "confdefs.h" | 11494 #include "confdefs.h" |
11385 #ifdef HAVE_INTTYPES_H | 11495 #ifdef HAVE_INTTYPES_H |
11386 #define __BIT_TYPES_DEFINED__ | 11496 #define __BIT_TYPES_DEFINED__ |
11387 #include <inttypes.h> | 11497 #include <inttypes.h> |
11388 typedef uint8_t u_int8_t; | 11498 typedef uint8_t u_int8_t; |
11396 | 11506 |
11397 int main() { | 11507 int main() { |
11398 | 11508 |
11399 ; return 0; } | 11509 ; return 0; } |
11400 EOF | 11510 EOF |
11401 if { (eval echo configure:11402: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 11511 if { (eval echo configure:11512: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
11402 rm -rf conftest* | 11512 rm -rf conftest* |
11403 db_h_path="$path"; break | 11513 db_h_path="$path"; break |
11404 else | 11514 else |
11405 echo "configure: failed program was:" >&5 | 11515 echo "configure: failed program was:" >&5 |
11406 cat conftest.$ac_ext >&5 | 11516 cat conftest.$ac_ext >&5 |
11412 else echo "$ac_t""$db_h_path" 1>&6 | 11522 else echo "$ac_t""$db_h_path" 1>&6 |
11413 fi | 11523 fi |
11414 | 11524 |
11415 if test "$with_database_berkdb" != "no"; then | 11525 if test "$with_database_berkdb" != "no"; then |
11416 echo $ac_n "checking for Berkeley DB version""... $ac_c" 1>&6 | 11526 echo $ac_n "checking for Berkeley DB version""... $ac_c" 1>&6 |
11417 echo "configure:11418: checking for Berkeley DB version" >&5 | 11527 echo "configure:11528: checking for Berkeley DB version" >&5 |
11418 cat > conftest.$ac_ext <<EOF | 11528 cat > conftest.$ac_ext <<EOF |
11419 #line 11420 "configure" | 11529 #line 11530 "configure" |
11420 #include "confdefs.h" | 11530 #include "confdefs.h" |
11421 #include <$db_h_path> | 11531 #include <$db_h_path> |
11422 #if DB_VERSION_MAJOR > 1 | 11532 #if DB_VERSION_MAJOR > 1 |
11423 yes | 11533 yes |
11424 #endif | 11534 #endif |
11433 echo "$ac_t""1" 1>&6; dbfunc=dbopen | 11543 echo "$ac_t""1" 1>&6; dbfunc=dbopen |
11434 fi | 11544 fi |
11435 rm -f conftest* | 11545 rm -f conftest* |
11436 | 11546 |
11437 echo $ac_n "checking for $dbfunc""... $ac_c" 1>&6 | 11547 echo $ac_n "checking for $dbfunc""... $ac_c" 1>&6 |
11438 echo "configure:11439: checking for $dbfunc" >&5 | 11548 echo "configure:11549: checking for $dbfunc" >&5 |
11439 | 11549 |
11440 cat > conftest.$ac_ext <<EOF | 11550 cat > conftest.$ac_ext <<EOF |
11441 #line 11442 "configure" | 11551 #line 11552 "configure" |
11442 #include "confdefs.h" | 11552 #include "confdefs.h" |
11443 /* System header to define __stub macros and hopefully few prototypes, | 11553 /* System header to define __stub macros and hopefully few prototypes, |
11444 which can conflict with char $dbfunc(); below. */ | 11554 which can conflict with char $dbfunc(); below. */ |
11445 #include <assert.h> | 11555 #include <assert.h> |
11446 /* Override any gcc2 internal prototype to avoid an error. */ | 11556 /* Override any gcc2 internal prototype to avoid an error. */ |
11459 $dbfunc(); | 11569 $dbfunc(); |
11460 #endif | 11570 #endif |
11461 | 11571 |
11462 ; return 0; } | 11572 ; return 0; } |
11463 EOF | 11573 EOF |
11464 if { (eval echo configure:11465: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11574 if { (eval echo configure:11575: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11465 rm -rf conftest* | 11575 rm -rf conftest* |
11466 eval "ac_cv_func_$dbfunc=yes" | 11576 eval "ac_cv_func_$dbfunc=yes" |
11467 else | 11577 else |
11468 echo "configure: failed program was:" >&5 | 11578 echo "configure: failed program was:" >&5 |
11469 cat conftest.$ac_ext >&5 | 11579 cat conftest.$ac_ext >&5 |
11478 else | 11588 else |
11479 echo "$ac_t""no" 1>&6 | 11589 echo "$ac_t""no" 1>&6 |
11480 | 11590 |
11481 | 11591 |
11482 echo $ac_n "checking for $dbfunc in -ldb""... $ac_c" 1>&6 | 11592 echo $ac_n "checking for $dbfunc in -ldb""... $ac_c" 1>&6 |
11483 echo "configure:11484: checking for $dbfunc in -ldb" >&5 | 11593 echo "configure:11594: checking for $dbfunc in -ldb" >&5 |
11484 ac_lib_var=`echo db'_'$dbfunc | sed 'y%./+-%__p_%'` | 11594 ac_lib_var=`echo db'_'$dbfunc | sed 'y%./+-%__p_%'` |
11485 | 11595 |
11486 xe_check_libs=" -ldb " | 11596 xe_check_libs=" -ldb " |
11487 cat > conftest.$ac_ext <<EOF | 11597 cat > conftest.$ac_ext <<EOF |
11488 #line 11489 "configure" | 11598 #line 11599 "configure" |
11489 #include "confdefs.h" | 11599 #include "confdefs.h" |
11490 /* Override any gcc2 internal prototype to avoid an error. */ | 11600 /* Override any gcc2 internal prototype to avoid an error. */ |
11491 /* We use char because int might match the return type of a gcc2 | 11601 /* We use char because int might match the return type of a gcc2 |
11492 builtin and then its argument prototype would still apply. */ | 11602 builtin and then its argument prototype would still apply. */ |
11493 char $dbfunc(); | 11603 char $dbfunc(); |
11494 | 11604 |
11495 int main() { | 11605 int main() { |
11496 $dbfunc() | 11606 $dbfunc() |
11497 ; return 0; } | 11607 ; return 0; } |
11498 EOF | 11608 EOF |
11499 if { (eval echo configure:11500: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11609 if { (eval echo configure:11610: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11500 rm -rf conftest* | 11610 rm -rf conftest* |
11501 eval "ac_cv_lib_$ac_lib_var=yes" | 11611 eval "ac_cv_lib_$ac_lib_var=yes" |
11502 else | 11612 else |
11503 echo "configure: failed program was:" >&5 | 11613 echo "configure: failed program was:" >&5 |
11504 cat conftest.$ac_ext >&5 | 11614 cat conftest.$ac_ext >&5 |
11558 fi | 11668 fi |
11559 | 11669 |
11560 if test "$with_socks" = "yes"; then | 11670 if test "$with_socks" = "yes"; then |
11561 | 11671 |
11562 echo $ac_n "checking for SOCKSinit in -lsocks""... $ac_c" 1>&6 | 11672 echo $ac_n "checking for SOCKSinit in -lsocks""... $ac_c" 1>&6 |
11563 echo "configure:11564: checking for SOCKSinit in -lsocks" >&5 | 11673 echo "configure:11674: checking for SOCKSinit in -lsocks" >&5 |
11564 ac_lib_var=`echo socks'_'SOCKSinit | sed 'y%./+-%__p_%'` | 11674 ac_lib_var=`echo socks'_'SOCKSinit | sed 'y%./+-%__p_%'` |
11565 | 11675 |
11566 xe_check_libs=" -lsocks " | 11676 xe_check_libs=" -lsocks " |
11567 cat > conftest.$ac_ext <<EOF | 11677 cat > conftest.$ac_ext <<EOF |
11568 #line 11569 "configure" | 11678 #line 11679 "configure" |
11569 #include "confdefs.h" | 11679 #include "confdefs.h" |
11570 /* Override any gcc2 internal prototype to avoid an error. */ | 11680 /* Override any gcc2 internal prototype to avoid an error. */ |
11571 /* We use char because int might match the return type of a gcc2 | 11681 /* We use char because int might match the return type of a gcc2 |
11572 builtin and then its argument prototype would still apply. */ | 11682 builtin and then its argument prototype would still apply. */ |
11573 char SOCKSinit(); | 11683 char SOCKSinit(); |
11574 | 11684 |
11575 int main() { | 11685 int main() { |
11576 SOCKSinit() | 11686 SOCKSinit() |
11577 ; return 0; } | 11687 ; return 0; } |
11578 EOF | 11688 EOF |
11579 if { (eval echo configure:11580: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11689 if { (eval echo configure:11690: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11580 rm -rf conftest* | 11690 rm -rf conftest* |
11581 eval "ac_cv_lib_$ac_lib_var=yes" | 11691 eval "ac_cv_lib_$ac_lib_var=yes" |
11582 else | 11692 else |
11583 echo "configure: failed program was:" >&5 | 11693 echo "configure: failed program was:" >&5 |
11584 cat conftest.$ac_ext >&5 | 11694 cat conftest.$ac_ext >&5 |
11631 | 11741 |
11632 for ac_hdr in dlfcn.h | 11742 for ac_hdr in dlfcn.h |
11633 do | 11743 do |
11634 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 11744 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
11635 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 11745 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
11636 echo "configure:11637: checking for $ac_hdr" >&5 | 11746 echo "configure:11747: checking for $ac_hdr" >&5 |
11637 | 11747 |
11638 cat > conftest.$ac_ext <<EOF | 11748 cat > conftest.$ac_ext <<EOF |
11639 #line 11640 "configure" | 11749 #line 11750 "configure" |
11640 #include "confdefs.h" | 11750 #include "confdefs.h" |
11641 #include <$ac_hdr> | 11751 #include <$ac_hdr> |
11642 EOF | 11752 EOF |
11643 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 11753 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
11644 { (eval echo configure:11645: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 11754 { (eval echo configure:11755: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
11645 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 11755 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
11646 if test -z "$ac_err"; then | 11756 if test -z "$ac_err"; then |
11647 rm -rf conftest* | 11757 rm -rf conftest* |
11648 eval "ac_cv_header_$ac_safe=yes" | 11758 eval "ac_cv_header_$ac_safe=yes" |
11649 else | 11759 else |
11678 fi | 11788 fi |
11679 done | 11789 done |
11680 | 11790 |
11681 test -z "$with_modules" && test ! -z "$have_dlfcn" && { | 11791 test -z "$with_modules" && test ! -z "$have_dlfcn" && { |
11682 echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6 | 11792 echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6 |
11683 echo "configure:11684: checking for dlopen in -ldl" >&5 | 11793 echo "configure:11794: checking for dlopen in -ldl" >&5 |
11684 ac_lib_var=`echo dl'_'dlopen | sed 'y%./+-%__p_%'` | 11794 ac_lib_var=`echo dl'_'dlopen | sed 'y%./+-%__p_%'` |
11685 | 11795 |
11686 xe_check_libs=" -ldl " | 11796 xe_check_libs=" -ldl " |
11687 cat > conftest.$ac_ext <<EOF | 11797 cat > conftest.$ac_ext <<EOF |
11688 #line 11689 "configure" | 11798 #line 11799 "configure" |
11689 #include "confdefs.h" | 11799 #include "confdefs.h" |
11690 /* Override any gcc2 internal prototype to avoid an error. */ | 11800 /* Override any gcc2 internal prototype to avoid an error. */ |
11691 /* We use char because int might match the return type of a gcc2 | 11801 /* We use char because int might match the return type of a gcc2 |
11692 builtin and then its argument prototype would still apply. */ | 11802 builtin and then its argument prototype would still apply. */ |
11693 char dlopen(); | 11803 char dlopen(); |
11694 | 11804 |
11695 int main() { | 11805 int main() { |
11696 dlopen() | 11806 dlopen() |
11697 ; return 0; } | 11807 ; return 0; } |
11698 EOF | 11808 EOF |
11699 if { (eval echo configure:11700: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11809 if { (eval echo configure:11810: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11700 rm -rf conftest* | 11810 rm -rf conftest* |
11701 eval "ac_cv_lib_$ac_lib_var=yes" | 11811 eval "ac_cv_lib_$ac_lib_var=yes" |
11702 else | 11812 else |
11703 echo "configure: failed program was:" >&5 | 11813 echo "configure: failed program was:" >&5 |
11704 cat conftest.$ac_ext >&5 | 11814 cat conftest.$ac_ext >&5 |
11723 fi | 11833 fi |
11724 | 11834 |
11725 } | 11835 } |
11726 test -z "$with_modules" && test ! -z "$have_dlfcn" && { | 11836 test -z "$with_modules" && test ! -z "$have_dlfcn" && { |
11727 echo $ac_n "checking for _dlopen in -lc""... $ac_c" 1>&6 | 11837 echo $ac_n "checking for _dlopen in -lc""... $ac_c" 1>&6 |
11728 echo "configure:11729: checking for _dlopen in -lc" >&5 | 11838 echo "configure:11839: checking for _dlopen in -lc" >&5 |
11729 ac_lib_var=`echo c'_'_dlopen | sed 'y%./+-%__p_%'` | 11839 ac_lib_var=`echo c'_'_dlopen | sed 'y%./+-%__p_%'` |
11730 | 11840 |
11731 xe_check_libs=" -lc " | 11841 xe_check_libs=" -lc " |
11732 cat > conftest.$ac_ext <<EOF | 11842 cat > conftest.$ac_ext <<EOF |
11733 #line 11734 "configure" | 11843 #line 11844 "configure" |
11734 #include "confdefs.h" | 11844 #include "confdefs.h" |
11735 /* Override any gcc2 internal prototype to avoid an error. */ | 11845 /* Override any gcc2 internal prototype to avoid an error. */ |
11736 /* We use char because int might match the return type of a gcc2 | 11846 /* We use char because int might match the return type of a gcc2 |
11737 builtin and then its argument prototype would still apply. */ | 11847 builtin and then its argument prototype would still apply. */ |
11738 char _dlopen(); | 11848 char _dlopen(); |
11739 | 11849 |
11740 int main() { | 11850 int main() { |
11741 _dlopen() | 11851 _dlopen() |
11742 ; return 0; } | 11852 ; return 0; } |
11743 EOF | 11853 EOF |
11744 if { (eval echo configure:11745: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11854 if { (eval echo configure:11855: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11745 rm -rf conftest* | 11855 rm -rf conftest* |
11746 eval "ac_cv_lib_$ac_lib_var=yes" | 11856 eval "ac_cv_lib_$ac_lib_var=yes" |
11747 else | 11857 else |
11748 echo "configure: failed program was:" >&5 | 11858 echo "configure: failed program was:" >&5 |
11749 cat conftest.$ac_ext >&5 | 11859 cat conftest.$ac_ext >&5 |
11768 fi | 11878 fi |
11769 | 11879 |
11770 } | 11880 } |
11771 test -z "$with_modules" && test ! -z "$have_dlfcn" && { | 11881 test -z "$with_modules" && test ! -z "$have_dlfcn" && { |
11772 echo $ac_n "checking for dlopen in -lc""... $ac_c" 1>&6 | 11882 echo $ac_n "checking for dlopen in -lc""... $ac_c" 1>&6 |
11773 echo "configure:11774: checking for dlopen in -lc" >&5 | 11883 echo "configure:11884: checking for dlopen in -lc" >&5 |
11774 ac_lib_var=`echo c'_'dlopen | sed 'y%./+-%__p_%'` | 11884 ac_lib_var=`echo c'_'dlopen | sed 'y%./+-%__p_%'` |
11775 | 11885 |
11776 xe_check_libs=" -lc " | 11886 xe_check_libs=" -lc " |
11777 cat > conftest.$ac_ext <<EOF | 11887 cat > conftest.$ac_ext <<EOF |
11778 #line 11779 "configure" | 11888 #line 11889 "configure" |
11779 #include "confdefs.h" | 11889 #include "confdefs.h" |
11780 /* Override any gcc2 internal prototype to avoid an error. */ | 11890 /* Override any gcc2 internal prototype to avoid an error. */ |
11781 /* We use char because int might match the return type of a gcc2 | 11891 /* We use char because int might match the return type of a gcc2 |
11782 builtin and then its argument prototype would still apply. */ | 11892 builtin and then its argument prototype would still apply. */ |
11783 char dlopen(); | 11893 char dlopen(); |
11784 | 11894 |
11785 int main() { | 11895 int main() { |
11786 dlopen() | 11896 dlopen() |
11787 ; return 0; } | 11897 ; return 0; } |
11788 EOF | 11898 EOF |
11789 if { (eval echo configure:11790: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11899 if { (eval echo configure:11900: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11790 rm -rf conftest* | 11900 rm -rf conftest* |
11791 eval "ac_cv_lib_$ac_lib_var=yes" | 11901 eval "ac_cv_lib_$ac_lib_var=yes" |
11792 else | 11902 else |
11793 echo "configure: failed program was:" >&5 | 11903 echo "configure: failed program was:" >&5 |
11794 cat conftest.$ac_ext >&5 | 11904 cat conftest.$ac_ext >&5 |
11813 fi | 11923 fi |
11814 | 11924 |
11815 } | 11925 } |
11816 test -z "$with_modules" && { | 11926 test -z "$with_modules" && { |
11817 echo $ac_n "checking for shl_load in -ldld""... $ac_c" 1>&6 | 11927 echo $ac_n "checking for shl_load in -ldld""... $ac_c" 1>&6 |
11818 echo "configure:11819: checking for shl_load in -ldld" >&5 | 11928 echo "configure:11929: checking for shl_load in -ldld" >&5 |
11819 ac_lib_var=`echo dld'_'shl_load | sed 'y%./+-%__p_%'` | 11929 ac_lib_var=`echo dld'_'shl_load | sed 'y%./+-%__p_%'` |
11820 | 11930 |
11821 xe_check_libs=" -ldld " | 11931 xe_check_libs=" -ldld " |
11822 cat > conftest.$ac_ext <<EOF | 11932 cat > conftest.$ac_ext <<EOF |
11823 #line 11824 "configure" | 11933 #line 11934 "configure" |
11824 #include "confdefs.h" | 11934 #include "confdefs.h" |
11825 /* Override any gcc2 internal prototype to avoid an error. */ | 11935 /* Override any gcc2 internal prototype to avoid an error. */ |
11826 /* We use char because int might match the return type of a gcc2 | 11936 /* We use char because int might match the return type of a gcc2 |
11827 builtin and then its argument prototype would still apply. */ | 11937 builtin and then its argument prototype would still apply. */ |
11828 char shl_load(); | 11938 char shl_load(); |
11829 | 11939 |
11830 int main() { | 11940 int main() { |
11831 shl_load() | 11941 shl_load() |
11832 ; return 0; } | 11942 ; return 0; } |
11833 EOF | 11943 EOF |
11834 if { (eval echo configure:11835: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11944 if { (eval echo configure:11945: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11835 rm -rf conftest* | 11945 rm -rf conftest* |
11836 eval "ac_cv_lib_$ac_lib_var=yes" | 11946 eval "ac_cv_lib_$ac_lib_var=yes" |
11837 else | 11947 else |
11838 echo "configure: failed program was:" >&5 | 11948 echo "configure: failed program was:" >&5 |
11839 cat conftest.$ac_ext >&5 | 11949 cat conftest.$ac_ext >&5 |
11858 fi | 11968 fi |
11859 | 11969 |
11860 } | 11970 } |
11861 test -z "$with_modules" && { | 11971 test -z "$with_modules" && { |
11862 echo $ac_n "checking for dld_init in -ldld""... $ac_c" 1>&6 | 11972 echo $ac_n "checking for dld_init in -ldld""... $ac_c" 1>&6 |
11863 echo "configure:11864: checking for dld_init in -ldld" >&5 | 11973 echo "configure:11974: checking for dld_init in -ldld" >&5 |
11864 ac_lib_var=`echo dld'_'dld_init | sed 'y%./+-%__p_%'` | 11974 ac_lib_var=`echo dld'_'dld_init | sed 'y%./+-%__p_%'` |
11865 | 11975 |
11866 xe_check_libs=" -ldld " | 11976 xe_check_libs=" -ldld " |
11867 cat > conftest.$ac_ext <<EOF | 11977 cat > conftest.$ac_ext <<EOF |
11868 #line 11869 "configure" | 11978 #line 11979 "configure" |
11869 #include "confdefs.h" | 11979 #include "confdefs.h" |
11870 /* Override any gcc2 internal prototype to avoid an error. */ | 11980 /* Override any gcc2 internal prototype to avoid an error. */ |
11871 /* We use char because int might match the return type of a gcc2 | 11981 /* We use char because int might match the return type of a gcc2 |
11872 builtin and then its argument prototype would still apply. */ | 11982 builtin and then its argument prototype would still apply. */ |
11873 char dld_init(); | 11983 char dld_init(); |
11874 | 11984 |
11875 int main() { | 11985 int main() { |
11876 dld_init() | 11986 dld_init() |
11877 ; return 0; } | 11987 ; return 0; } |
11878 EOF | 11988 EOF |
11879 if { (eval echo configure:11880: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11989 if { (eval echo configure:11990: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11880 rm -rf conftest* | 11990 rm -rf conftest* |
11881 eval "ac_cv_lib_$ac_lib_var=yes" | 11991 eval "ac_cv_lib_$ac_lib_var=yes" |
11882 else | 11992 else |
11883 echo "configure: failed program was:" >&5 | 11993 echo "configure: failed program was:" >&5 |
11884 cat conftest.$ac_ext >&5 | 11994 cat conftest.$ac_ext >&5 |
11913 ld_dynamic_link_flags= | 12023 ld_dynamic_link_flags= |
11914 xehost=$canonical | 12024 xehost=$canonical |
11915 xealias=$internal_configuration | 12025 xealias=$internal_configuration |
11916 | 12026 |
11917 echo "checking how to build dynamic libraries for ${xehost}" 1>&6 | 12027 echo "checking how to build dynamic libraries for ${xehost}" 1>&6 |
11918 echo "configure:11919: checking how to build dynamic libraries for ${xehost}" >&5 | 12028 echo "configure:12029: checking how to build dynamic libraries for ${xehost}" >&5 |
11919 # Transform *-*-linux* to *-*-linux-gnu*, to support old configure scripts. | 12029 # Transform *-*-linux* to *-*-linux-gnu*, to support old configure scripts. |
11920 case "$xehost" in | 12030 case "$xehost" in |
11921 *-*-linux-gnu*) ;; | 12031 *-*-linux-gnu*) ;; |
11922 *-*-linux*) xehost=`echo $xehost | sed 's/^\(.*-.*-linux\)\(.*\)$/\1-gnu\2/'` | 12032 *-*-linux*) xehost=`echo $xehost | sed 's/^\(.*-.*-linux\)\(.*\)$/\1-gnu\2/'` |
11923 esac | 12033 esac |
11941 # Now see if the compiler is really GCC. | 12051 # Now see if the compiler is really GCC. |
11942 if test "$GCC" = "yes"; then | 12052 if test "$GCC" = "yes"; then |
11943 XEGCC=yes | 12053 XEGCC=yes |
11944 else | 12054 else |
11945 echo $ac_n "checking checking whether we are using GNU C""... $ac_c" 1>&6 | 12055 echo $ac_n "checking checking whether we are using GNU C""... $ac_c" 1>&6 |
11946 echo "configure:11947: checking checking whether we are using GNU C" >&5 | 12056 echo "configure:12057: checking checking whether we are using GNU C" >&5 |
11947 cat > conftest.$ac_ext <<EOF | 12057 cat > conftest.$ac_ext <<EOF |
11948 #line 11949 "configure" | 12058 #line 12059 "configure" |
11949 #include "confdefs.h" | 12059 #include "confdefs.h" |
11950 | 12060 |
11951 #ifdef __GNUC__ | 12061 #ifdef __GNUC__ |
11952 yes; | 12062 yes; |
11953 #endif | 12063 #endif |
11965 | 12075 |
11966 echo "$ac_t""${XEGCC}" 1>&6 | 12076 echo "$ac_t""${XEGCC}" 1>&6 |
11967 fi | 12077 fi |
11968 | 12078 |
11969 echo $ac_n "checking how to produce PIC code""... $ac_c" 1>&6 | 12079 echo $ac_n "checking how to produce PIC code""... $ac_c" 1>&6 |
11970 echo "configure:11971: checking how to produce PIC code" >&5 | 12080 echo "configure:12081: checking how to produce PIC code" >&5 |
11971 wl= | 12081 wl= |
11972 | 12082 |
11973 can_build_shared=yes | 12083 can_build_shared=yes |
11974 if test "$XEGCC" = yes; then | 12084 if test "$XEGCC" = yes; then |
11975 wl='-Wl,' | 12085 wl='-Wl,' |
12058 if test -n "$dll_cflags"; then | 12168 if test -n "$dll_cflags"; then |
12059 echo "$ac_t""${dll_cflags}" 1>&6 | 12169 echo "$ac_t""${dll_cflags}" 1>&6 |
12060 | 12170 |
12061 # Check to make sure the dll_cflags actually works. | 12171 # Check to make sure the dll_cflags actually works. |
12062 echo $ac_n "checking if PIC flag ${dll_cflags} really works""... $ac_c" 1>&6 | 12172 echo $ac_n "checking if PIC flag ${dll_cflags} really works""... $ac_c" 1>&6 |
12063 echo "configure:12064: checking if PIC flag ${dll_cflags} really works" >&5 | 12173 echo "configure:12174: checking if PIC flag ${dll_cflags} really works" >&5 |
12064 save_CFLAGS="$CFLAGS" | 12174 save_CFLAGS="$CFLAGS" |
12065 CFLAGS="$CFLAGS $dll_cflags -DPIC" | 12175 CFLAGS="$CFLAGS $dll_cflags -DPIC" |
12066 cat > conftest.$ac_ext <<EOF | 12176 cat > conftest.$ac_ext <<EOF |
12067 #line 12068 "configure" | 12177 #line 12178 "configure" |
12068 #include "confdefs.h" | 12178 #include "confdefs.h" |
12069 | 12179 |
12070 int main() { | 12180 int main() { |
12071 int x=0; | 12181 int x=0; |
12072 ; return 0; } | 12182 ; return 0; } |
12073 EOF | 12183 EOF |
12074 if { (eval echo configure:12075: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 12184 if { (eval echo configure:12185: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
12075 rm -rf conftest* | 12185 rm -rf conftest* |
12076 | 12186 |
12077 # On HP-UX, the stripped-down bundled CC doesn't accept +Z, but also | 12187 # On HP-UX, the stripped-down bundled CC doesn't accept +Z, but also |
12078 # reports no error. So, we need to grep stderr for (Bundled). | 12188 # reports no error. So, we need to grep stderr for (Bundled). |
12079 if grep '(Bundled)' config.log >/dev/null; then | 12189 if grep '(Bundled)' config.log >/dev/null; then |
12100 if test "$can_build_shared" = "yes"; then | 12210 if test "$can_build_shared" = "yes"; then |
12101 cc_produces_so=no | 12211 cc_produces_so=no |
12102 xldf= | 12212 xldf= |
12103 xcldf= | 12213 xcldf= |
12104 echo $ac_n "checking if C compiler can produce shared libraries""... $ac_c" 1>&6 | 12214 echo $ac_n "checking if C compiler can produce shared libraries""... $ac_c" 1>&6 |
12105 echo "configure:12106: checking if C compiler can produce shared libraries" >&5 | 12215 echo "configure:12216: checking if C compiler can produce shared libraries" >&5 |
12106 if test "$XEGCC" = yes; then | 12216 if test "$XEGCC" = yes; then |
12107 xcldf="-shared" | 12217 xcldf="-shared" |
12108 xldf="-shared" | 12218 xldf="-shared" |
12109 else # Not using GCC | 12219 else # Not using GCC |
12110 case "$xehost_os" in | 12220 case "$xehost_os" in |
12151 LDFLAGS="$xcldf $LDFLAGS" | 12261 LDFLAGS="$xcldf $LDFLAGS" |
12152 LIBS= | 12262 LIBS= |
12153 xe_libs= | 12263 xe_libs= |
12154 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' | 12264 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' |
12155 cat > conftest.$ac_ext <<EOF | 12265 cat > conftest.$ac_ext <<EOF |
12156 #line 12157 "configure" | 12266 #line 12267 "configure" |
12157 #include "confdefs.h" | 12267 #include "confdefs.h" |
12158 | 12268 |
12159 int main() { | 12269 int main() { |
12160 int x=0; | 12270 int x=0; |
12161 ; return 0; } | 12271 ; return 0; } |
12162 EOF | 12272 EOF |
12163 if { (eval echo configure:12164: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12273 if { (eval echo configure:12274: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12164 rm -rf conftest* | 12274 rm -rf conftest* |
12165 cc_produces_so=yes | 12275 cc_produces_so=yes |
12166 else | 12276 else |
12167 echo "configure: failed program was:" >&5 | 12277 echo "configure: failed program was:" >&5 |
12168 cat conftest.$ac_ext >&5 | 12278 cat conftest.$ac_ext >&5 |
12183 if test -z "$LTLD"; then | 12293 if test -z "$LTLD"; then |
12184 ac_prog=ld | 12294 ac_prog=ld |
12185 if test "$XEGCC" = yes; then | 12295 if test "$XEGCC" = yes; then |
12186 # Check if gcc -print-prog-name=ld gives a path. | 12296 # Check if gcc -print-prog-name=ld gives a path. |
12187 echo $ac_n "checking for ld used by GCC""... $ac_c" 1>&6 | 12297 echo $ac_n "checking for ld used by GCC""... $ac_c" 1>&6 |
12188 echo "configure:12189: checking for ld used by GCC" >&5 | 12298 echo "configure:12299: checking for ld used by GCC" >&5 |
12189 ac_prog=`($CC -print-prog-name=ld) 2>&5` | 12299 ac_prog=`($CC -print-prog-name=ld) 2>&5` |
12190 case "$ac_prog" in | 12300 case "$ac_prog" in |
12191 # Accept absolute paths. | 12301 # Accept absolute paths. |
12192 /*) | 12302 /*) |
12193 if test -z "$LTLD"; then | 12303 if test -z "$LTLD"; then |
12208 with_gnu_ld=unknown | 12318 with_gnu_ld=unknown |
12209 ;; | 12319 ;; |
12210 esac | 12320 esac |
12211 else | 12321 else |
12212 echo $ac_n "checking for GNU ld""... $ac_c" 1>&6 | 12322 echo $ac_n "checking for GNU ld""... $ac_c" 1>&6 |
12213 echo "configure:12214: checking for GNU ld" >&5 | 12323 echo "configure:12324: checking for GNU ld" >&5 |
12214 fi | 12324 fi |
12215 | 12325 |
12216 if test -z "$LTLD"; then | 12326 if test -z "$LTLD"; then |
12217 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" | 12327 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" |
12218 for ac_dir in $PATH; do | 12328 for ac_dir in $PATH; do |
12246 | 12356 |
12247 ld_dynamic_link_flags= | 12357 ld_dynamic_link_flags= |
12248 | 12358 |
12249 # Check to see if it really is or isn't GNU ld. | 12359 # Check to see if it really is or isn't GNU ld. |
12250 echo $ac_n "checking if the linker is GNU ld""... $ac_c" 1>&6 | 12360 echo $ac_n "checking if the linker is GNU ld""... $ac_c" 1>&6 |
12251 echo "configure:12252: checking if the linker is GNU ld" >&5 | 12361 echo "configure:12362: checking if the linker is GNU ld" >&5 |
12252 # I'd rather use --version here, but apparently some GNU ld's only accept -v. | 12362 # I'd rather use --version here, but apparently some GNU ld's only accept -v. |
12253 if $LTLD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then | 12363 if $LTLD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then |
12254 xe_gnu_ld=yes | 12364 xe_gnu_ld=yes |
12255 else | 12365 else |
12256 xe_gnu_ld=no | 12366 xe_gnu_ld=no |
12273 can_build_shared=yes | 12383 can_build_shared=yes |
12274 else | 12384 else |
12275 # OK - only NOW do we futz about with ld. | 12385 # OK - only NOW do we futz about with ld. |
12276 # See if the linker supports building shared libraries. | 12386 # See if the linker supports building shared libraries. |
12277 echo $ac_n "checking whether the linker supports shared libraries""... $ac_c" 1>&6 | 12387 echo $ac_n "checking whether the linker supports shared libraries""... $ac_c" 1>&6 |
12278 echo "configure:12279: checking whether the linker supports shared libraries" >&5 | 12388 echo "configure:12389: checking whether the linker supports shared libraries" >&5 |
12279 dll_ld=$CC | 12389 dll_ld=$CC |
12280 dll_ldflags=$LDFLAGS | 12390 dll_ldflags=$LDFLAGS |
12281 ld_shlibs=yes | 12391 ld_shlibs=yes |
12282 can_build_shared=yes | 12392 can_build_shared=yes |
12283 if test "$xe_gnu_ld" = yes && test "$gnu_ld_acts_native" != yes; then | 12393 if test "$xe_gnu_ld" = yes && test "$gnu_ld_acts_native" != yes; then |
12489 INSTALL_ARCH_DEP_SUBDIR="$INSTALL_ARCH_DEP_SUBDIR src" && if test "$extra_verbose" = "yes"; then echo " Appending \"src\" to \$INSTALL_ARCH_DEP_SUBDIR"; fi | 12599 INSTALL_ARCH_DEP_SUBDIR="$INSTALL_ARCH_DEP_SUBDIR src" && if test "$extra_verbose" = "yes"; then echo " Appending \"src\" to \$INSTALL_ARCH_DEP_SUBDIR"; fi |
12490 test ! -z "$DLL_LIB" && LIBS="-l${DLL_LIB} $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-l${DLL_LIB}\" to \$LIBS"; fi | 12600 test ! -z "$DLL_LIB" && LIBS="-l${DLL_LIB} $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-l${DLL_LIB}\" to \$LIBS"; fi |
12491 for ac_func in dlerror _dlerror | 12601 for ac_func in dlerror _dlerror |
12492 do | 12602 do |
12493 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 12603 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
12494 echo "configure:12495: checking for $ac_func" >&5 | 12604 echo "configure:12605: checking for $ac_func" >&5 |
12495 | 12605 |
12496 cat > conftest.$ac_ext <<EOF | 12606 cat > conftest.$ac_ext <<EOF |
12497 #line 12498 "configure" | 12607 #line 12608 "configure" |
12498 #include "confdefs.h" | 12608 #include "confdefs.h" |
12499 /* System header to define __stub macros and hopefully few prototypes, | 12609 /* System header to define __stub macros and hopefully few prototypes, |
12500 which can conflict with char $ac_func(); below. */ | 12610 which can conflict with char $ac_func(); below. */ |
12501 #include <assert.h> | 12611 #include <assert.h> |
12502 /* Override any gcc2 internal prototype to avoid an error. */ | 12612 /* Override any gcc2 internal prototype to avoid an error. */ |
12515 $ac_func(); | 12625 $ac_func(); |
12516 #endif | 12626 #endif |
12517 | 12627 |
12518 ; return 0; } | 12628 ; return 0; } |
12519 EOF | 12629 EOF |
12520 if { (eval echo configure:12521: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12630 if { (eval echo configure:12631: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12521 rm -rf conftest* | 12631 rm -rf conftest* |
12522 eval "ac_cv_func_$ac_func=yes" | 12632 eval "ac_cv_func_$ac_func=yes" |
12523 else | 12633 else |
12524 echo "configure: failed program was:" >&5 | 12634 echo "configure: failed program was:" >&5 |
12525 cat conftest.$ac_ext >&5 | 12635 cat conftest.$ac_ext >&5 |
12549 with_modules=no | 12659 with_modules=no |
12550 fi | 12660 fi |
12551 fi | 12661 fi |
12552 | 12662 |
12553 cat > conftest.$ac_ext <<EOF | 12663 cat > conftest.$ac_ext <<EOF |
12554 #line 12555 "configure" | 12664 #line 12665 "configure" |
12555 #include "confdefs.h" | 12665 #include "confdefs.h" |
12556 int main(int c,char *v[]){return 0;} | 12666 int main(int c,char *v[]){return 0;} |
12557 EOF | 12667 EOF |
12558 if { (eval echo configure:12559: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 12668 if { (eval echo configure:12669: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
12559 then | 12669 then |
12560 : | 12670 : |
12561 else | 12671 else |
12562 conftest_rc="$?" | 12672 conftest_rc="$?" |
12563 echo "configure: failed program was:" >&5 | 12673 echo "configure: failed program was:" >&5 |
12935 T="" | 13045 T="" |
12936 for W in $ac_configure_args; do if test -z "$T"; then T="$W"; else T="$T $W"; fi; done | 13046 for W in $ac_configure_args; do if test -z "$T"; then T="$W"; else T="$T $W"; fi; done |
12937 ac_configure_args="$T" | 13047 ac_configure_args="$T" |
12938 | 13048 |
12939 { test "$extra_verbose" = "yes" && cat << EOF | 13049 { test "$extra_verbose" = "yes" && cat << EOF |
12940 Defining EMACS_CONFIGURATION = "$canonical" | 13050 Defining EMACS_CONFIGURATION = "$configuration" |
12941 EOF | 13051 EOF |
12942 cat >> confdefs.h <<EOF | 13052 cat >> confdefs.h <<EOF |
12943 #define EMACS_CONFIGURATION "$canonical" | 13053 #define EMACS_CONFIGURATION "$configuration" |
12944 EOF | 13054 EOF |
12945 } | 13055 } |
12946 | 13056 |
12947 { test "$extra_verbose" = "yes" && cat << EOF | 13057 { test "$extra_verbose" = "yes" && cat << EOF |
12948 Defining EMACS_CONFIG_OPTIONS = "$ac_configure_args" | 13058 Defining EMACS_CONFIG_OPTIONS = "$ac_configure_args" |
13121 test "$use_union_type" = "yes" && { test "$extra_verbose" = "yes" && cat << \EOF | 13231 test "$use_union_type" = "yes" && { test "$extra_verbose" = "yes" && cat << \EOF |
13122 Defining USE_UNION_TYPE | 13232 Defining USE_UNION_TYPE |
13123 EOF | 13233 EOF |
13124 cat >> confdefs.h <<\EOF | 13234 cat >> confdefs.h <<\EOF |
13125 #define USE_UNION_TYPE 1 | 13235 #define USE_UNION_TYPE 1 |
13236 EOF | |
13237 } | |
13238 | |
13239 test "$pdump" = "yes" && { test "$extra_verbose" = "yes" && cat << \EOF | |
13240 Defining PDUMP | |
13241 EOF | |
13242 cat >> confdefs.h <<\EOF | |
13243 #define PDUMP 1 | |
13126 EOF | 13244 EOF |
13127 } | 13245 } |
13128 | 13246 |
13129 | 13247 |
13130 | 13248 |
13252 lucid ) echo " Using Lucid menubars." ;; | 13370 lucid ) echo " Using Lucid menubars." ;; |
13253 motif ) echo " Using Motif menubars." | 13371 motif ) echo " Using Motif menubars." |
13254 echo " *WARNING* The Motif menubar implementation is currently buggy." | 13372 echo " *WARNING* The Motif menubar implementation is currently buggy." |
13255 echo " We recommend using the Lucid menubar instead." | 13373 echo " We recommend using the Lucid menubar instead." |
13256 echo " Re-run configure with --with-menubars='lucid'." ;; | 13374 echo " Re-run configure with --with-menubars='lucid'." ;; |
13375 msw ) echo " Using MS-Windows menubars." ;; | |
13257 esac | 13376 esac |
13258 case "$with_scrollbars" in | 13377 case "$with_scrollbars" in |
13259 lucid ) echo " Using Lucid scrollbars." ;; | 13378 lucid ) echo " Using Lucid scrollbars." ;; |
13260 motif ) echo " Using Motif scrollbars." ;; | 13379 motif ) echo " Using Motif scrollbars." ;; |
13261 athena ) echo " Using Athena scrollbars." ;; | 13380 athena ) echo " Using Athena scrollbars." ;; |
13262 athena3d ) echo " Using Athena-3d scrollbars." ;; | 13381 athena3d ) echo " Using Athena-3d scrollbars." ;; |
13382 msw ) echo " Using MS-Windows scrollbars." ;; | |
13263 esac | 13383 esac |
13264 case "$with_widgets" in | 13384 case "$with_widgets" in |
13265 motif ) echo " Using Motif native widgets." ;; | 13385 motif ) echo " Using Motif native widgets." ;; |
13386 athena ) echo " Using Athena native widgets." ;; | |
13387 athena3d ) echo " Using Athena-3d native widgets." ;; | |
13388 msw ) echo " Using MS-Windows native widgets." ;; | |
13266 esac | 13389 esac |
13267 case "$with_dialogs" in | 13390 case "$with_dialogs" in |
13268 motif ) | 13391 motif ) |
13269 echo " Using Motif dialog boxes." | 13392 echo " Using Motif dialog boxes." |
13270 if test "$unexec" = "unexaix.o"; then if test "`uname -v`" = 4 -a "`uname -r`" -ge 3; then | 13393 if test "$unexec" = "unexaix.o"; then if test "`uname -v`" = 4 -a "`uname -r`" -ge 3; then |
13274 echo " Read the PROBLEMS file for more information." | 13397 echo " Read the PROBLEMS file for more information." |
13275 fi; fi | 13398 fi; fi |
13276 ;; | 13399 ;; |
13277 athena ) echo " Using Athena dialog boxes." ;; | 13400 athena ) echo " Using Athena dialog boxes." ;; |
13278 athena3d ) echo " Using Athena-3d dialog boxes." ;; | 13401 athena3d ) echo " Using Athena-3d dialog boxes." ;; |
13402 msw ) echo " Using MS-Windows dialog boxes." ;; | |
13279 esac | 13403 esac |
13280 test "$with_modules" = "yes" && echo " Compiling in DSO module support." | 13404 test "$with_modules" = "yes" && echo " Compiling in DSO module support." |
13281 test "$with_clash_detection" = yes && \ | 13405 test "$with_clash_detection" = yes && \ |
13282 echo " Clash detection will use \"$lockdir\" for locking files." | 13406 echo " Clash detection will use \"$lockdir\" for locking files." |
13283 echo " movemail will use \"$mail_locking\" for locking mail spool files." | 13407 echo " movemail will use \"$mail_locking\" for locking mail spool files." |
13284 test "$with_pop" = yes && echo " Using POP for mail access." | 13408 test "$with_pop" = yes && echo " Using POP for mail access." |
13285 test "$with_kerberos" = yes && echo " Using Kerberos for POP authentication." | 13409 test "$with_kerberos" = yes && echo " Using Kerberos for POP authentication." |
13286 test "$with_hesiod" = yes && echo " Using Hesiod to get POP server host." | 13410 test "$with_hesiod" = yes && echo " Using Hesiod to get POP server host." |
13287 test "$use_union_type" = yes && echo " Using the union type for Lisp_Objects." | 13411 test "$use_union_type" = yes && echo " Using the union type for Lisp_Objects." |
13288 test "$debug" = yes && echo " Compiling in extra code for debugging." | 13412 test "$pdump" = yes && echo " Using the new portable dumper (wishful thinking)." |
13289 test "$usage_tracking" = yes && echo " Compiling with usage tracking active (Sun internal)." | 13413 test "$debug" = yes && echo " Compiling in extra code for debugging." |
13414 test "$usage_tracking" = yes && echo " Compiling with usage tracking active (Sun internal)." | |
13290 if test "$error_check_extents $error_check_typecheck $error_check_bufpos $error_check_gc $error_check_malloc" \ | 13415 if test "$error_check_extents $error_check_typecheck $error_check_bufpos $error_check_gc $error_check_malloc" \ |
13291 != "no no no no no"; then | 13416 != "no no no no no"; then |
13292 echo " WARNING: ---------------------------------------------------------" | 13417 echo " WARNING: ---------------------------------------------------------" |
13293 echo " WARNING: Compiling in support for runtime error checking." | 13418 echo " WARNING: Compiling in support for runtime error checking." |
13294 echo " WARNING: XEmacs will run noticeably more slowly as a result." | 13419 echo " WARNING: XEmacs will run noticeably more slowly as a result." |