comparison configure @ 343:8bec6624d99b r21-1-1

Import from CVS: tag r21-1-1
author cvs
date Mon, 13 Aug 2007 10:52:53 +0200
parents 54f7aa390f4f
children 8429d81ab209
comparison
equal deleted inserted replaced
342:b036ce23deaa 343:8bec6624d99b
820 vpath %.s $(srcdir)\ 820 vpath %.s $(srcdir)\
821 vpath %.in $(srcdir)' 821 vpath %.in $(srcdir)'
822 fi 822 fi
823 823
824 . "$srcdir/version.sh" || exit 1; 824 . "$srcdir/version.sh" || exit 1;
825 if test -n "$emacs_beta_version"; then beta=yes; else beta=no; fi 825 if test -n "$emacs_is_beta"; then beta=yes; else beta=no; fi
826 : "${extra_verbose=$beta}" 826 : "${extra_verbose=$beta}"
827 version="${emacs_major_version}.${emacs_minor_version}" 827 version="${emacs_major_version}.${emacs_minor_version}"
828 { test "$extra_verbose" = "yes" && cat << EOF 828 { test "$extra_verbose" = "yes" && cat << EOF
829 Defining EMACS_MAJOR_VERSION = $emacs_major_version 829 Defining EMACS_MAJOR_VERSION = $emacs_major_version
830 EOF 830 EOF
839 cat >> confdefs.h <<EOF 839 cat >> confdefs.h <<EOF
840 #define EMACS_MINOR_VERSION $emacs_minor_version 840 #define EMACS_MINOR_VERSION $emacs_minor_version
841 EOF 841 EOF
842 } 842 }
843 843
844 if test -n "$emacs_beta_version"; then 844 if test -n "$emacs_beta_version" ; then
845 version="${version}-b${emacs_beta_version}" 845 if test "$beta" = "yes"; then
846 { test "$extra_verbose" = "yes" && cat << EOF 846 version="${version}-b${emacs_beta_version}"
847 { test "$extra_verbose" = "yes" && cat << EOF
847 Defining EMACS_BETA_VERSION = $emacs_beta_version 848 Defining EMACS_BETA_VERSION = $emacs_beta_version
848 EOF 849 EOF
849 cat >> confdefs.h <<EOF 850 cat >> confdefs.h <<EOF
850 #define EMACS_BETA_VERSION $emacs_beta_version 851 #define EMACS_BETA_VERSION $emacs_beta_version
851 EOF 852 EOF
852 } 853 }
853 854
855 else
856 version="${version}-p${emacs_beta_version}"
857 { test "$extra_verbose" = "yes" && cat << EOF
858 Defining EMACS_PATCH_LEVEL = $emacs_beta_version
859 EOF
860 cat >> confdefs.h <<EOF
861 #define EMACS_PATCH_LEVEL $emacs_beta_version
862 EOF
863 }
864
865 fi
854 fi 866 fi
855 { test "$extra_verbose" = "yes" && cat << EOF 867 { test "$extra_verbose" = "yes" && cat << EOF
856 Defining XEMACS_CODENAME = "$xemacs_codename" 868 Defining XEMACS_CODENAME = "$xemacs_codename"
857 EOF 869 EOF
858 cat >> confdefs.h <<EOF 870 cat >> confdefs.h <<EOF
906 CPPFLAGS="$CPPFLAGS -DINFODOCK" 918 CPPFLAGS="$CPPFLAGS -DINFODOCK"
907 else 919 else
908 PROGNAME=xemacs 920 PROGNAME=xemacs
909 fi 921 fi
910 922
911 if test -n "$emacs_beta_version"; then beta=yes; else beta=no; fi 923 if test -n "$emacs_is_beta"; then beta=yes; else beta=no; fi
912 test "${error_check_extents=$beta}" = yes && { test "$extra_verbose" = "yes" && cat << \EOF 924 test "${error_check_extents=$beta}" = yes && { test "$extra_verbose" = "yes" && cat << \EOF
913 Defining ERROR_CHECK_EXTENTS 925 Defining ERROR_CHECK_EXTENTS
914 EOF 926 EOF
915 cat >> confdefs.h <<\EOF 927 cat >> confdefs.h <<\EOF
916 #define ERROR_CHECK_EXTENTS 1 928 #define ERROR_CHECK_EXTENTS 1
980 } 992 }
981 993
982 994
983 995
984 echo "checking "the configuration name"" 1>&6 996 echo "checking "the configuration name"" 1>&6
985 echo "configure:986: checking "the configuration name"" >&5 997 echo "configure:998: checking "the configuration name"" >&5
986 internal_configuration=`echo $configuration | sed 's/-\(workshop\)//'` 998 internal_configuration=`echo $configuration | sed 's/-\(workshop\)//'`
987 if canonical=`$srcdir/config.sub "$internal_configuration"` ; then : ; else 999 if canonical=`$srcdir/config.sub "$internal_configuration"` ; then : ; else
988 exit $? 1000 exit $?
989 fi 1001 fi
990 1002
1473 xe_save_CFLAGS="$CFLAGS" 1485 xe_save_CFLAGS="$CFLAGS"
1474 1486
1475 # Extract the first word of "gcc", so it can be a program name with args. 1487 # Extract the first word of "gcc", so it can be a program name with args.
1476 set dummy gcc; ac_word=$2 1488 set dummy gcc; ac_word=$2
1477 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 1489 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1478 echo "configure:1479: checking for $ac_word" >&5 1490 echo "configure:1491: checking for $ac_word" >&5
1479 1491
1480 if test -n "$CC"; then 1492 if test -n "$CC"; then
1481 ac_cv_prog_CC="$CC" # Let the user override the test. 1493 ac_cv_prog_CC="$CC" # Let the user override the test.
1482 else 1494 else
1483 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" 1495 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
1499 1511
1500 if test -z "$CC"; then 1512 if test -z "$CC"; then
1501 # Extract the first word of "cc", so it can be a program name with args. 1513 # Extract the first word of "cc", so it can be a program name with args.
1502 set dummy cc; ac_word=$2 1514 set dummy cc; ac_word=$2
1503 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 1515 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1504 echo "configure:1505: checking for $ac_word" >&5 1516 echo "configure:1517: checking for $ac_word" >&5
1505 1517
1506 if test -n "$CC"; then 1518 if test -n "$CC"; then
1507 ac_cv_prog_CC="$CC" # Let the user override the test. 1519 ac_cv_prog_CC="$CC" # Let the user override the test.
1508 else 1520 else
1509 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" 1521 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
1544 1556
1545 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } 1557 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
1546 fi 1558 fi
1547 1559
1548 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 1560 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
1549 echo "configure:1550: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 1561 echo "configure:1562: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
1550 1562
1551 ac_ext=c 1563 ac_ext=c
1552 xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS' 1564 xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS'
1553 xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_switch_x_site $ld_switch_run' 1565 xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_switch_x_site $ld_switch_run'
1554 xe_libs='$ld_call_shared $xe_check_libs $X_EXTRA_LIBS $libs_x $X_PRE_LIBS $LIBS $libs_machine $libs_system $libs_standard' 1566 xe_libs='$ld_call_shared $xe_check_libs $X_EXTRA_LIBS $libs_x $X_PRE_LIBS $LIBS $libs_machine $libs_system $libs_standard'
1556 ac_compile='${CC-cc} -c $CFLAGS '"$xe_cppflags"' conftest.$ac_ext 1>&5' 1568 ac_compile='${CC-cc} -c $CFLAGS '"$xe_cppflags"' conftest.$ac_ext 1>&5'
1557 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' 1569 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5'
1558 cross_compiling=no 1570 cross_compiling=no
1559 1571
1560 cat > conftest.$ac_ext <<EOF 1572 cat > conftest.$ac_ext <<EOF
1561 #line 1562 "configure" 1573 #line 1574 "configure"
1562 #include "confdefs.h" 1574 #include "confdefs.h"
1563 main(){return(0);} 1575 main(){return(0);}
1564 EOF 1576 EOF
1565 if { (eval echo configure:1566: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 1577 if { (eval echo configure:1578: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
1566 ac_cv_prog_cc_works=yes 1578 ac_cv_prog_cc_works=yes
1567 # If we can't run a trivial program, we are probably using a cross compiler. 1579 # If we can't run a trivial program, we are probably using a cross compiler.
1568 if (./conftest; exit) 2>/dev/null; then 1580 if (./conftest; exit) 2>/dev/null; then
1569 ac_cv_prog_cc_cross=no 1581 ac_cv_prog_cc_cross=no
1570 else 1582 else
1580 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 1592 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6
1581 if test $ac_cv_prog_cc_works = no; then 1593 if test $ac_cv_prog_cc_works = no; then
1582 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } 1594 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }
1583 fi 1595 fi
1584 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 1596 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
1585 echo "configure:1586: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 1597 echo "configure:1598: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
1586 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 1598 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
1587 cross_compiling=$ac_cv_prog_cc_cross 1599 cross_compiling=$ac_cv_prog_cc_cross
1588 1600
1589 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 1601 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
1590 echo "configure:1591: checking whether we are using GNU C" >&5 1602 echo "configure:1603: checking whether we are using GNU C" >&5
1591 1603
1592 cat > conftest.c <<EOF 1604 cat > conftest.c <<EOF
1593 #ifdef __GNUC__ 1605 #ifdef __GNUC__
1594 yes; 1606 yes;
1595 #endif 1607 #endif
1596 EOF 1608 EOF
1597 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1598: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then 1609 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1610: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
1598 ac_cv_prog_gcc=yes 1610 ac_cv_prog_gcc=yes
1599 else 1611 else
1600 ac_cv_prog_gcc=no 1612 ac_cv_prog_gcc=no
1601 fi 1613 fi
1602 1614
1606 GCC=yes 1618 GCC=yes
1607 ac_test_CFLAGS="${CFLAGS+set}" 1619 ac_test_CFLAGS="${CFLAGS+set}"
1608 ac_save_CFLAGS="$CFLAGS" 1620 ac_save_CFLAGS="$CFLAGS"
1609 CFLAGS= 1621 CFLAGS=
1610 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 1622 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
1611 echo "configure:1612: checking whether ${CC-cc} accepts -g" >&5 1623 echo "configure:1624: checking whether ${CC-cc} accepts -g" >&5
1612 1624
1613 echo 'void f(){}' > conftest.c 1625 echo 'void f(){}' > conftest.c
1614 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then 1626 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
1615 ac_cv_prog_cc_g=yes 1627 ac_cv_prog_cc_g=yes
1616 else 1628 else
1635 if test "$with_gcc" = "no" -a "$GCC" = "yes"; then 1647 if test "$with_gcc" = "no" -a "$GCC" = "yes"; then
1636 CC=${NON_GNU_CC-cc} 1648 CC=${NON_GNU_CC-cc}
1637 # Extract the first word of "gcc", so it can be a program name with args. 1649 # Extract the first word of "gcc", so it can be a program name with args.
1638 set dummy gcc; ac_word=$2 1650 set dummy gcc; ac_word=$2
1639 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 1651 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1640 echo "configure:1641: checking for $ac_word" >&5 1652 echo "configure:1653: checking for $ac_word" >&5
1641 1653
1642 if test -n "$CC"; then 1654 if test -n "$CC"; then
1643 ac_cv_prog_CC="$CC" # Let the user override the test. 1655 ac_cv_prog_CC="$CC" # Let the user override the test.
1644 else 1656 else
1645 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" 1657 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
1661 1673
1662 if test -z "$CC"; then 1674 if test -z "$CC"; then
1663 # Extract the first word of "cc", so it can be a program name with args. 1675 # Extract the first word of "cc", so it can be a program name with args.
1664 set dummy cc; ac_word=$2 1676 set dummy cc; ac_word=$2
1665 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 1677 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1666 echo "configure:1667: checking for $ac_word" >&5 1678 echo "configure:1679: checking for $ac_word" >&5
1667 1679
1668 if test -n "$CC"; then 1680 if test -n "$CC"; then
1669 ac_cv_prog_CC="$CC" # Let the user override the test. 1681 ac_cv_prog_CC="$CC" # Let the user override the test.
1670 else 1682 else
1671 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" 1683 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
1706 1718
1707 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } 1719 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
1708 fi 1720 fi
1709 1721
1710 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 1722 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
1711 echo "configure:1712: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 1723 echo "configure:1724: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
1712 1724
1713 ac_ext=c 1725 ac_ext=c
1714 xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS' 1726 xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS'
1715 xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_switch_x_site $ld_switch_run' 1727 xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_switch_x_site $ld_switch_run'
1716 xe_libs='$ld_call_shared $xe_check_libs $X_EXTRA_LIBS $libs_x $X_PRE_LIBS $LIBS $libs_machine $libs_system $libs_standard' 1728 xe_libs='$ld_call_shared $xe_check_libs $X_EXTRA_LIBS $libs_x $X_PRE_LIBS $LIBS $libs_machine $libs_system $libs_standard'
1718 ac_compile='${CC-cc} -c $CFLAGS '"$xe_cppflags"' conftest.$ac_ext 1>&5' 1730 ac_compile='${CC-cc} -c $CFLAGS '"$xe_cppflags"' conftest.$ac_ext 1>&5'
1719 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' 1731 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5'
1720 cross_compiling=no 1732 cross_compiling=no
1721 1733
1722 cat > conftest.$ac_ext <<EOF 1734 cat > conftest.$ac_ext <<EOF
1723 #line 1724 "configure" 1735 #line 1736 "configure"
1724 #include "confdefs.h" 1736 #include "confdefs.h"
1725 main(){return(0);} 1737 main(){return(0);}
1726 EOF 1738 EOF
1727 if { (eval echo configure:1728: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 1739 if { (eval echo configure:1740: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
1728 ac_cv_prog_cc_works=yes 1740 ac_cv_prog_cc_works=yes
1729 # If we can't run a trivial program, we are probably using a cross compiler. 1741 # If we can't run a trivial program, we are probably using a cross compiler.
1730 if (./conftest; exit) 2>/dev/null; then 1742 if (./conftest; exit) 2>/dev/null; then
1731 ac_cv_prog_cc_cross=no 1743 ac_cv_prog_cc_cross=no
1732 else 1744 else
1742 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 1754 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6
1743 if test $ac_cv_prog_cc_works = no; then 1755 if test $ac_cv_prog_cc_works = no; then
1744 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } 1756 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }
1745 fi 1757 fi
1746 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 1758 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
1747 echo "configure:1748: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 1759 echo "configure:1760: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
1748 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 1760 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
1749 cross_compiling=$ac_cv_prog_cc_cross 1761 cross_compiling=$ac_cv_prog_cc_cross
1750 1762
1751 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 1763 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
1752 echo "configure:1753: checking whether we are using GNU C" >&5 1764 echo "configure:1765: checking whether we are using GNU C" >&5
1753 1765
1754 cat > conftest.c <<EOF 1766 cat > conftest.c <<EOF
1755 #ifdef __GNUC__ 1767 #ifdef __GNUC__
1756 yes; 1768 yes;
1757 #endif 1769 #endif
1758 EOF 1770 EOF
1759 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1760: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then 1771 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1772: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
1760 ac_cv_prog_gcc=yes 1772 ac_cv_prog_gcc=yes
1761 else 1773 else
1762 ac_cv_prog_gcc=no 1774 ac_cv_prog_gcc=no
1763 fi 1775 fi
1764 1776
1768 GCC=yes 1780 GCC=yes
1769 ac_test_CFLAGS="${CFLAGS+set}" 1781 ac_test_CFLAGS="${CFLAGS+set}"
1770 ac_save_CFLAGS="$CFLAGS" 1782 ac_save_CFLAGS="$CFLAGS"
1771 CFLAGS= 1783 CFLAGS=
1772 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 1784 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
1773 echo "configure:1774: checking whether ${CC-cc} accepts -g" >&5 1785 echo "configure:1786: checking whether ${CC-cc} accepts -g" >&5
1774 1786
1775 echo 'void f(){}' > conftest.c 1787 echo 'void f(){}' > conftest.c
1776 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then 1788 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
1777 ac_cv_prog_cc_g=yes 1789 ac_cv_prog_cc_g=yes
1778 else 1790 else
1797 elif test "$with_gcc" = "yes" -a "$GCC" != "yes" ; then 1809 elif test "$with_gcc" = "yes" -a "$GCC" != "yes" ; then
1798 CC=gcc 1810 CC=gcc
1799 # Extract the first word of "gcc", so it can be a program name with args. 1811 # Extract the first word of "gcc", so it can be a program name with args.
1800 set dummy gcc; ac_word=$2 1812 set dummy gcc; ac_word=$2
1801 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 1813 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1802 echo "configure:1803: checking for $ac_word" >&5 1814 echo "configure:1815: checking for $ac_word" >&5
1803 1815
1804 if test -n "$CC"; then 1816 if test -n "$CC"; then
1805 ac_cv_prog_CC="$CC" # Let the user override the test. 1817 ac_cv_prog_CC="$CC" # Let the user override the test.
1806 else 1818 else
1807 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" 1819 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
1823 1835
1824 if test -z "$CC"; then 1836 if test -z "$CC"; then
1825 # Extract the first word of "cc", so it can be a program name with args. 1837 # Extract the first word of "cc", so it can be a program name with args.
1826 set dummy cc; ac_word=$2 1838 set dummy cc; ac_word=$2
1827 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 1839 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1828 echo "configure:1829: checking for $ac_word" >&5 1840 echo "configure:1841: checking for $ac_word" >&5
1829 1841
1830 if test -n "$CC"; then 1842 if test -n "$CC"; then
1831 ac_cv_prog_CC="$CC" # Let the user override the test. 1843 ac_cv_prog_CC="$CC" # Let the user override the test.
1832 else 1844 else
1833 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" 1845 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
1868 1880
1869 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } 1881 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
1870 fi 1882 fi
1871 1883
1872 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 1884 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
1873 echo "configure:1874: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 1885 echo "configure:1886: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
1874 1886
1875 ac_ext=c 1887 ac_ext=c
1876 xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS' 1888 xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS'
1877 xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_switch_x_site $ld_switch_run' 1889 xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_switch_x_site $ld_switch_run'
1878 xe_libs='$ld_call_shared $xe_check_libs $X_EXTRA_LIBS $libs_x $X_PRE_LIBS $LIBS $libs_machine $libs_system $libs_standard' 1890 xe_libs='$ld_call_shared $xe_check_libs $X_EXTRA_LIBS $libs_x $X_PRE_LIBS $LIBS $libs_machine $libs_system $libs_standard'
1880 ac_compile='${CC-cc} -c $CFLAGS '"$xe_cppflags"' conftest.$ac_ext 1>&5' 1892 ac_compile='${CC-cc} -c $CFLAGS '"$xe_cppflags"' conftest.$ac_ext 1>&5'
1881 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' 1893 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5'
1882 cross_compiling=no 1894 cross_compiling=no
1883 1895
1884 cat > conftest.$ac_ext <<EOF 1896 cat > conftest.$ac_ext <<EOF
1885 #line 1886 "configure" 1897 #line 1898 "configure"
1886 #include "confdefs.h" 1898 #include "confdefs.h"
1887 main(){return(0);} 1899 main(){return(0);}
1888 EOF 1900 EOF
1889 if { (eval echo configure:1890: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 1901 if { (eval echo configure:1902: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
1890 ac_cv_prog_cc_works=yes 1902 ac_cv_prog_cc_works=yes
1891 # If we can't run a trivial program, we are probably using a cross compiler. 1903 # If we can't run a trivial program, we are probably using a cross compiler.
1892 if (./conftest; exit) 2>/dev/null; then 1904 if (./conftest; exit) 2>/dev/null; then
1893 ac_cv_prog_cc_cross=no 1905 ac_cv_prog_cc_cross=no
1894 else 1906 else
1904 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 1916 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6
1905 if test $ac_cv_prog_cc_works = no; then 1917 if test $ac_cv_prog_cc_works = no; then
1906 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } 1918 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }
1907 fi 1919 fi
1908 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 1920 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
1909 echo "configure:1910: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 1921 echo "configure:1922: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
1910 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 1922 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
1911 cross_compiling=$ac_cv_prog_cc_cross 1923 cross_compiling=$ac_cv_prog_cc_cross
1912 1924
1913 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 1925 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
1914 echo "configure:1915: checking whether we are using GNU C" >&5 1926 echo "configure:1927: checking whether we are using GNU C" >&5
1915 1927
1916 cat > conftest.c <<EOF 1928 cat > conftest.c <<EOF
1917 #ifdef __GNUC__ 1929 #ifdef __GNUC__
1918 yes; 1930 yes;
1919 #endif 1931 #endif
1920 EOF 1932 EOF
1921 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1922: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then 1933 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1934: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
1922 ac_cv_prog_gcc=yes 1934 ac_cv_prog_gcc=yes
1923 else 1935 else
1924 ac_cv_prog_gcc=no 1936 ac_cv_prog_gcc=no
1925 fi 1937 fi
1926 1938
1930 GCC=yes 1942 GCC=yes
1931 ac_test_CFLAGS="${CFLAGS+set}" 1943 ac_test_CFLAGS="${CFLAGS+set}"
1932 ac_save_CFLAGS="$CFLAGS" 1944 ac_save_CFLAGS="$CFLAGS"
1933 CFLAGS= 1945 CFLAGS=
1934 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 1946 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
1935 echo "configure:1936: checking whether ${CC-cc} accepts -g" >&5 1947 echo "configure:1948: checking whether ${CC-cc} accepts -g" >&5
1936 1948
1937 echo 'void f(){}' > conftest.c 1949 echo 'void f(){}' > conftest.c
1938 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then 1950 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
1939 ac_cv_prog_cc_g=yes 1951 ac_cv_prog_cc_g=yes
1940 else 1952 else
1963 test -n "$CPP" -a -d "$CPP" && CPP= 1975 test -n "$CPP" -a -d "$CPP" && CPP=
1964 1976
1965 test -n "$NON_GNU_CPP" -a "$GCC" != "yes" -a -z "$CPP" && CPP="$NON_GNU_CPP" 1977 test -n "$NON_GNU_CPP" -a "$GCC" != "yes" -a -z "$CPP" && CPP="$NON_GNU_CPP"
1966 1978
1967 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6 1979 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
1968 echo "configure:1969: checking how to run the C preprocessor" >&5 1980 echo "configure:1981: checking how to run the C preprocessor" >&5
1969 # On Suns, sometimes $CPP names a directory. 1981 # On Suns, sometimes $CPP names a directory.
1970 if test -n "$CPP" && test -d "$CPP"; then 1982 if test -n "$CPP" && test -d "$CPP"; then
1971 CPP= 1983 CPP=
1972 fi 1984 fi
1973 if test -z "$CPP"; then 1985 if test -z "$CPP"; then
1976 # substituted into the Makefile and "${CC-cc}" will confuse make. 1988 # substituted into the Makefile and "${CC-cc}" will confuse make.
1977 CPP="${CC-cc} -E" 1989 CPP="${CC-cc} -E"
1978 # On the NeXT, cc -E runs the code through the compiler's parser, 1990 # On the NeXT, cc -E runs the code through the compiler's parser,
1979 # not just through cpp. 1991 # not just through cpp.
1980 cat > conftest.$ac_ext <<EOF 1992 cat > conftest.$ac_ext <<EOF
1981 #line 1982 "configure" 1993 #line 1994 "configure"
1982 #include "confdefs.h" 1994 #include "confdefs.h"
1983 #include <assert.h> 1995 #include <assert.h>
1984 Syntax Error 1996 Syntax Error
1985 EOF 1997 EOF
1986 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 1998 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1987 { (eval echo configure:1988: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 1999 { (eval echo configure:2000: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1988 ac_err=`grep -v '^ *+' conftest.out` 2000 ac_err=`grep -v '^ *+' conftest.out`
1989 if test -z "$ac_err"; then 2001 if test -z "$ac_err"; then
1990 : 2002 :
1991 else 2003 else
1992 echo "$ac_err" >&5 2004 echo "$ac_err" >&5
1993 echo "configure: failed program was:" >&5 2005 echo "configure: failed program was:" >&5
1994 cat conftest.$ac_ext >&5 2006 cat conftest.$ac_ext >&5
1995 rm -rf conftest* 2007 rm -rf conftest*
1996 CPP="${CC-cc} -E -traditional-cpp" 2008 CPP="${CC-cc} -E -traditional-cpp"
1997 cat > conftest.$ac_ext <<EOF 2009 cat > conftest.$ac_ext <<EOF
1998 #line 1999 "configure" 2010 #line 2011 "configure"
1999 #include "confdefs.h" 2011 #include "confdefs.h"
2000 #include <assert.h> 2012 #include <assert.h>
2001 Syntax Error 2013 Syntax Error
2002 EOF 2014 EOF
2003 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 2015 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2004 { (eval echo configure:2005: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 2016 { (eval echo configure:2017: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2005 ac_err=`grep -v '^ *+' conftest.out` 2017 ac_err=`grep -v '^ *+' conftest.out`
2006 if test -z "$ac_err"; then 2018 if test -z "$ac_err"; then
2007 : 2019 :
2008 else 2020 else
2009 echo "$ac_err" >&5 2021 echo "$ac_err" >&5
2022 fi 2034 fi
2023 echo "$ac_t""$CPP" 1>&6 2035 echo "$ac_t""$CPP" 1>&6
2024 2036
2025 2037
2026 echo $ac_n "checking for AIX""... $ac_c" 1>&6 2038 echo $ac_n "checking for AIX""... $ac_c" 1>&6
2027 echo "configure:2028: checking for AIX" >&5 2039 echo "configure:2040: checking for AIX" >&5
2028 cat > conftest.$ac_ext <<EOF 2040 cat > conftest.$ac_ext <<EOF
2029 #line 2030 "configure" 2041 #line 2042 "configure"
2030 #include "confdefs.h" 2042 #include "confdefs.h"
2031 #ifdef _AIX 2043 #ifdef _AIX
2032 yes 2044 yes
2033 #endif 2045 #endif
2034 2046
2051 rm -f conftest* 2063 rm -f conftest*
2052 2064
2053 2065
2054 2066
2055 echo $ac_n "checking for GNU libc""... $ac_c" 1>&6 2067 echo $ac_n "checking for GNU libc""... $ac_c" 1>&6
2056 echo "configure:2057: checking for GNU libc" >&5 2068 echo "configure:2069: checking for GNU libc" >&5
2057 cat > conftest.$ac_ext <<EOF 2069 cat > conftest.$ac_ext <<EOF
2058 #line 2059 "configure" 2070 #line 2071 "configure"
2059 #include "confdefs.h" 2071 #include "confdefs.h"
2060 #include <features.h> 2072 #include <features.h>
2061 int main() { 2073 int main() {
2062 2074
2063 #if ! (defined __GLIBC__ || defined __GNU_LIBRARY__) 2075 #if ! (defined __GLIBC__ || defined __GNU_LIBRARY__)
2065 ******* ======= ******** &&&&&&&& 2077 ******* ======= ******** &&&&&&&&
2066 #endif 2078 #endif
2067 2079
2068 ; return 0; } 2080 ; return 0; }
2069 EOF 2081 EOF
2070 if { (eval echo configure:2071: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 2082 if { (eval echo configure:2083: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2071 rm -rf conftest* 2083 rm -rf conftest*
2072 have_glibc=yes 2084 have_glibc=yes
2073 else 2085 else
2074 echo "configure: failed program was:" >&5 2086 echo "configure: failed program was:" >&5
2075 cat conftest.$ac_ext >&5 2087 cat conftest.$ac_ext >&5
2087 } 2099 }
2088 2100
2089 2101
2090 2102
2091 cat > conftest.$ac_ext <<EOF 2103 cat > conftest.$ac_ext <<EOF
2092 #line 2093 "configure" 2104 #line 2105 "configure"
2093 #include "confdefs.h" 2105 #include "confdefs.h"
2094 int main () { 2106 int main () {
2095 #if defined __SUNPRO_C 2107 #if defined __SUNPRO_C
2096 return 11; 2108 return 11;
2097 #elif defined __DECC 2109 #elif defined __DECC
2099 #else 2111 #else
2100 return 0; 2112 return 0;
2101 #endif 2113 #endif
2102 } 2114 }
2103 EOF 2115 EOF
2104 if { (eval echo configure:2105: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 2116 if { (eval echo configure:2117: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5
2105 then 2117 then
2106 : 2118 :
2107 else 2119 else
2108 conftest_rc="$?" 2120 conftest_rc="$?"
2109 echo "configure: failed program was:" >&5 2121 echo "configure: failed program was:" >&5
2369 test -n "$unexec" && extra_objs="$extra_objs $unexec" && if test "$extra_verbose" = "yes"; then 2381 test -n "$unexec" && extra_objs="$extra_objs $unexec" && if test "$extra_verbose" = "yes"; then
2370 echo " xemacs will be linked with \"$unexec\"" 2382 echo " xemacs will be linked with \"$unexec\""
2371 fi 2383 fi
2372 2384
2373 echo $ac_n "checking for dynodump""... $ac_c" 1>&6 2385 echo $ac_n "checking for dynodump""... $ac_c" 1>&6
2374 echo "configure:2375: checking for dynodump" >&5 2386 echo "configure:2387: checking for dynodump" >&5
2375 if test "$unexec" != "unexsol2.o"; then 2387 if test "$unexec" != "unexsol2.o"; then
2376 echo "$ac_t""no" 1>&6 2388 echo "$ac_t""no" 1>&6
2377 else 2389 else
2378 echo "$ac_t""yes" 1>&6 2390 echo "$ac_t""yes" 1>&6
2379 { test "$extra_verbose" = "yes" && cat << \EOF 2391 { test "$extra_verbose" = "yes" && cat << \EOF
2407 for f in "/usr/lpp/X11/bin/smt.exp" "/usr/bin/X11/smt.exp"; do 2419 for f in "/usr/lpp/X11/bin/smt.exp" "/usr/bin/X11/smt.exp"; do
2408 if test -r "$f"; then start_flags="${start_flags},-bI:${f}"; break; fi 2420 if test -r "$f"; then start_flags="${start_flags},-bI:${f}"; break; fi
2409 done 2421 done
2410 2422
2411 echo $ac_n "checking for terminateAndUnload in -lC""... $ac_c" 1>&6 2423 echo $ac_n "checking for terminateAndUnload in -lC""... $ac_c" 1>&6
2412 echo "configure:2413: checking for terminateAndUnload in -lC" >&5 2424 echo "configure:2425: checking for terminateAndUnload in -lC" >&5
2413 ac_lib_var=`echo C'_'terminateAndUnload | sed 'y%./+-%__p_%'` 2425 ac_lib_var=`echo C'_'terminateAndUnload | sed 'y%./+-%__p_%'`
2414 2426
2415 xe_check_libs=" -lC " 2427 xe_check_libs=" -lC "
2416 cat > conftest.$ac_ext <<EOF 2428 cat > conftest.$ac_ext <<EOF
2417 #line 2418 "configure" 2429 #line 2430 "configure"
2418 #include "confdefs.h" 2430 #include "confdefs.h"
2419 /* Override any gcc2 internal prototype to avoid an error. */ 2431 /* Override any gcc2 internal prototype to avoid an error. */
2420 /* We use char because int might match the return type of a gcc2 2432 /* We use char because int might match the return type of a gcc2
2421 builtin and then its argument prototype would still apply. */ 2433 builtin and then its argument prototype would still apply. */
2422 char terminateAndUnload(); 2434 char terminateAndUnload();
2423 2435
2424 int main() { 2436 int main() {
2425 terminateAndUnload() 2437 terminateAndUnload()
2426 ; return 0; } 2438 ; return 0; }
2427 EOF 2439 EOF
2428 if { (eval echo configure:2429: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 2440 if { (eval echo configure:2441: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
2429 rm -rf conftest* 2441 rm -rf conftest*
2430 eval "ac_cv_lib_$ac_lib_var=yes" 2442 eval "ac_cv_lib_$ac_lib_var=yes"
2431 else 2443 else
2432 echo "configure: failed program was:" >&5 2444 echo "configure: failed program was:" >&5
2433 cat conftest.$ac_ext >&5 2445 cat conftest.$ac_ext >&5
2507 esac 2519 esac
2508 fi 2520 fi
2509 2521
2510 if test "$add_runtime_path" = "yes"; then 2522 if test "$add_runtime_path" = "yes"; then
2511 echo $ac_n "checking "for runtime libraries flag"""... $ac_c" 1>&6 2523 echo $ac_n "checking "for runtime libraries flag"""... $ac_c" 1>&6
2512 echo "configure:2513: checking "for runtime libraries flag"" >&5 2524 echo "configure:2525: checking "for runtime libraries flag"" >&5
2513 case "$opsys" in 2525 case "$opsys" in
2514 sol2 ) dash_r="-R" ;; 2526 sol2 ) dash_r="-R" ;;
2515 decosf* | linux* | irix*) dash_r="-rpath " ;; 2527 decosf* | linux* | irix*) dash_r="-rpath " ;;
2516 *) 2528 *)
2517 dash_r="" 2529 dash_r=""
2529 esac 2541 esac
2530 shift 2542 shift
2531 done 2543 done
2532 fi 2544 fi
2533 cat > conftest.$ac_ext <<EOF 2545 cat > conftest.$ac_ext <<EOF
2534 #line 2535 "configure" 2546 #line 2547 "configure"
2535 #include "confdefs.h" 2547 #include "confdefs.h"
2536 2548
2537 int main() { 2549 int main() {
2538 2550
2539 ; return 0; } 2551 ; return 0; }
2540 EOF 2552 EOF
2541 if { (eval echo configure:2542: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 2553 if { (eval echo configure:2554: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
2542 rm -rf conftest* 2554 rm -rf conftest*
2543 dash_r="$try_dash_r" 2555 dash_r="$try_dash_r"
2544 else 2556 else
2545 echo "configure: failed program was:" >&5 2557 echo "configure: failed program was:" >&5
2546 cat conftest.$ac_ext >&5 2558 cat conftest.$ac_ext >&5
2637 else 2649 else
2638 doug_lea_malloc=no 2650 doug_lea_malloc=no
2639 fi 2651 fi
2640 after_morecore_hook_exists=yes 2652 after_morecore_hook_exists=yes
2641 echo $ac_n "checking for malloc_get_state""... $ac_c" 1>&6 2653 echo $ac_n "checking for malloc_get_state""... $ac_c" 1>&6
2642 echo "configure:2643: checking for malloc_get_state" >&5 2654 echo "configure:2655: checking for malloc_get_state" >&5
2643 2655
2644 cat > conftest.$ac_ext <<EOF 2656 cat > conftest.$ac_ext <<EOF
2645 #line 2646 "configure" 2657 #line 2658 "configure"
2646 #include "confdefs.h" 2658 #include "confdefs.h"
2647 /* System header to define __stub macros and hopefully few prototypes, 2659 /* System header to define __stub macros and hopefully few prototypes,
2648 which can conflict with char malloc_get_state(); below. */ 2660 which can conflict with char malloc_get_state(); below. */
2649 #include <assert.h> 2661 #include <assert.h>
2650 /* Override any gcc2 internal prototype to avoid an error. */ 2662 /* Override any gcc2 internal prototype to avoid an error. */
2663 malloc_get_state(); 2675 malloc_get_state();
2664 #endif 2676 #endif
2665 2677
2666 ; return 0; } 2678 ; return 0; }
2667 EOF 2679 EOF
2668 if { (eval echo configure:2669: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 2680 if { (eval echo configure:2681: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
2669 rm -rf conftest* 2681 rm -rf conftest*
2670 eval "ac_cv_func_malloc_get_state=yes" 2682 eval "ac_cv_func_malloc_get_state=yes"
2671 else 2683 else
2672 echo "configure: failed program was:" >&5 2684 echo "configure: failed program was:" >&5
2673 cat conftest.$ac_ext >&5 2685 cat conftest.$ac_ext >&5
2683 echo "$ac_t""no" 1>&6 2695 echo "$ac_t""no" 1>&6
2684 doug_lea_malloc=no 2696 doug_lea_malloc=no
2685 fi 2697 fi
2686 2698
2687 echo $ac_n "checking for malloc_set_state""... $ac_c" 1>&6 2699 echo $ac_n "checking for malloc_set_state""... $ac_c" 1>&6
2688 echo "configure:2689: checking for malloc_set_state" >&5 2700 echo "configure:2701: checking for malloc_set_state" >&5
2689 2701
2690 cat > conftest.$ac_ext <<EOF 2702 cat > conftest.$ac_ext <<EOF
2691 #line 2692 "configure" 2703 #line 2704 "configure"
2692 #include "confdefs.h" 2704 #include "confdefs.h"
2693 /* System header to define __stub macros and hopefully few prototypes, 2705 /* System header to define __stub macros and hopefully few prototypes,
2694 which can conflict with char malloc_set_state(); below. */ 2706 which can conflict with char malloc_set_state(); below. */
2695 #include <assert.h> 2707 #include <assert.h>
2696 /* Override any gcc2 internal prototype to avoid an error. */ 2708 /* Override any gcc2 internal prototype to avoid an error. */
2709 malloc_set_state(); 2721 malloc_set_state();
2710 #endif 2722 #endif
2711 2723
2712 ; return 0; } 2724 ; return 0; }
2713 EOF 2725 EOF
2714 if { (eval echo configure:2715: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 2726 if { (eval echo configure:2727: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
2715 rm -rf conftest* 2727 rm -rf conftest*
2716 eval "ac_cv_func_malloc_set_state=yes" 2728 eval "ac_cv_func_malloc_set_state=yes"
2717 else 2729 else
2718 echo "configure: failed program was:" >&5 2730 echo "configure: failed program was:" >&5
2719 cat conftest.$ac_ext >&5 2731 cat conftest.$ac_ext >&5
2729 echo "$ac_t""no" 1>&6 2741 echo "$ac_t""no" 1>&6
2730 doug_lea_malloc=no 2742 doug_lea_malloc=no
2731 fi 2743 fi
2732 2744
2733 echo $ac_n "checking whether __after_morecore_hook exists""... $ac_c" 1>&6 2745 echo $ac_n "checking whether __after_morecore_hook exists""... $ac_c" 1>&6
2734 echo "configure:2735: checking whether __after_morecore_hook exists" >&5 2746 echo "configure:2747: checking whether __after_morecore_hook exists" >&5
2735 cat > conftest.$ac_ext <<EOF 2747 cat > conftest.$ac_ext <<EOF
2736 #line 2737 "configure" 2748 #line 2749 "configure"
2737 #include "confdefs.h" 2749 #include "confdefs.h"
2738 extern void (* __after_morecore_hook)(); 2750 extern void (* __after_morecore_hook)();
2739 int main() { 2751 int main() {
2740 __after_morecore_hook = 0 2752 __after_morecore_hook = 0
2741 ; return 0; } 2753 ; return 0; }
2742 EOF 2754 EOF
2743 if { (eval echo configure:2744: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 2755 if { (eval echo configure:2756: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
2744 rm -rf conftest* 2756 rm -rf conftest*
2745 echo "$ac_t""yes" 1>&6 2757 echo "$ac_t""yes" 1>&6
2746 else 2758 else
2747 echo "configure: failed program was:" >&5 2759 echo "configure: failed program was:" >&5
2748 cat conftest.$ac_ext >&5 2760 cat conftest.$ac_ext >&5
2797 2809
2798 2810
2799 # Extract the first word of "ranlib", so it can be a program name with args. 2811 # Extract the first word of "ranlib", so it can be a program name with args.
2800 set dummy ranlib; ac_word=$2 2812 set dummy ranlib; ac_word=$2
2801 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 2813 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2802 echo "configure:2803: checking for $ac_word" >&5 2814 echo "configure:2815: checking for $ac_word" >&5
2803 2815
2804 if test -n "$RANLIB"; then 2816 if test -n "$RANLIB"; then
2805 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. 2817 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
2806 else 2818 else
2807 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" 2819 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
2850 # AIX /bin/install 2862 # AIX /bin/install
2851 # AFS /usr/afsws/bin/install, which mishandles nonexistent args 2863 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2852 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 2864 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2853 # ./install, which can be erroneously created by make from ./install.sh. 2865 # ./install, which can be erroneously created by make from ./install.sh.
2854 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 2866 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
2855 echo "configure:2856: checking for a BSD compatible install" >&5 2867 echo "configure:2868: checking for a BSD compatible install" >&5
2856 if test -z "$INSTALL"; then 2868 if test -z "$INSTALL"; then
2857 2869
2858 IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS="${IFS}:" 2870 IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS="${IFS}:"
2859 for ac_dir in $PATH; do 2871 for ac_dir in $PATH; do
2860 # Account for people who put trailing slashes in PATH elements. 2872 # Account for people who put trailing slashes in PATH elements.
2901 for ac_prog in 'bison -y' byacc 2913 for ac_prog in 'bison -y' byacc
2902 do 2914 do
2903 # Extract the first word of "$ac_prog", so it can be a program name with args. 2915 # Extract the first word of "$ac_prog", so it can be a program name with args.
2904 set dummy $ac_prog; ac_word=$2 2916 set dummy $ac_prog; ac_word=$2
2905 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 2917 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2906 echo "configure:2907: checking for $ac_word" >&5 2918 echo "configure:2919: checking for $ac_word" >&5
2907 2919
2908 if test -n "$YACC"; then 2920 if test -n "$YACC"; then
2909 ac_cv_prog_YACC="$YACC" # Let the user override the test. 2921 ac_cv_prog_YACC="$YACC" # Let the user override the test.
2910 else 2922 else
2911 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" 2923 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
2932 2944
2933 for ac_hdr in mach/mach.h sys/stropts.h sys/timeb.h sys/time.h unistd.h 2945 for ac_hdr in mach/mach.h sys/stropts.h sys/timeb.h sys/time.h unistd.h
2934 do 2946 do
2935 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 2947 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
2936 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 2948 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
2937 echo "configure:2938: checking for $ac_hdr" >&5 2949 echo "configure:2950: checking for $ac_hdr" >&5
2938 2950
2939 cat > conftest.$ac_ext <<EOF 2951 cat > conftest.$ac_ext <<EOF
2940 #line 2941 "configure" 2952 #line 2953 "configure"
2941 #include "confdefs.h" 2953 #include "confdefs.h"
2942 #include <$ac_hdr> 2954 #include <$ac_hdr>
2943 EOF 2955 EOF
2944 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 2956 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2945 { (eval echo configure:2946: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 2957 { (eval echo configure:2958: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2946 ac_err=`grep -v '^ *+' conftest.out` 2958 ac_err=`grep -v '^ *+' conftest.out`
2947 if test -z "$ac_err"; then 2959 if test -z "$ac_err"; then
2948 rm -rf conftest* 2960 rm -rf conftest*
2949 eval "ac_cv_header_$ac_safe=yes" 2961 eval "ac_cv_header_$ac_safe=yes"
2950 else 2962 else
2973 2985
2974 for ac_hdr in utime.h locale.h libgen.h fcntl.h ulimit.h cygwin/version.h 2986 for ac_hdr in utime.h locale.h libgen.h fcntl.h ulimit.h cygwin/version.h
2975 do 2987 do
2976 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 2988 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
2977 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 2989 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
2978 echo "configure:2979: checking for $ac_hdr" >&5 2990 echo "configure:2991: checking for $ac_hdr" >&5
2979 2991
2980 cat > conftest.$ac_ext <<EOF 2992 cat > conftest.$ac_ext <<EOF
2981 #line 2982 "configure" 2993 #line 2994 "configure"
2982 #include "confdefs.h" 2994 #include "confdefs.h"
2983 #include <$ac_hdr> 2995 #include <$ac_hdr>
2984 EOF 2996 EOF
2985 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 2997 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2986 { (eval echo configure:2987: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 2998 { (eval echo configure:2999: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2987 ac_err=`grep -v '^ *+' conftest.out` 2999 ac_err=`grep -v '^ *+' conftest.out`
2988 if test -z "$ac_err"; then 3000 if test -z "$ac_err"; then
2989 rm -rf conftest* 3001 rm -rf conftest*
2990 eval "ac_cv_header_$ac_safe=yes" 3002 eval "ac_cv_header_$ac_safe=yes"
2991 else 3003 else
3014 3026
3015 for ac_hdr in linux/version.h kstat.h sys/pstat.h inttypes.h sys/un.h a.out.h 3027 for ac_hdr in linux/version.h kstat.h sys/pstat.h inttypes.h sys/un.h a.out.h
3016 do 3028 do
3017 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 3029 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
3018 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 3030 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
3019 echo "configure:3020: checking for $ac_hdr" >&5 3031 echo "configure:3032: checking for $ac_hdr" >&5
3020 3032
3021 cat > conftest.$ac_ext <<EOF 3033 cat > conftest.$ac_ext <<EOF
3022 #line 3023 "configure" 3034 #line 3035 "configure"
3023 #include "confdefs.h" 3035 #include "confdefs.h"
3024 #include <$ac_hdr> 3036 #include <$ac_hdr>
3025 EOF 3037 EOF
3026 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 3038 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
3027 { (eval echo configure:3028: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 3039 { (eval echo configure:3040: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
3028 ac_err=`grep -v '^ *+' conftest.out` 3040 ac_err=`grep -v '^ *+' conftest.out`
3029 if test -z "$ac_err"; then 3041 if test -z "$ac_err"; then
3030 rm -rf conftest* 3042 rm -rf conftest*
3031 eval "ac_cv_header_$ac_safe=yes" 3043 eval "ac_cv_header_$ac_safe=yes"
3032 else 3044 else
3052 echo "$ac_t""no" 1>&6 3064 echo "$ac_t""no" 1>&6
3053 fi 3065 fi
3054 done 3066 done
3055 3067
3056 echo $ac_n "checking for sys/wait.h that is POSIX.1 compatible""... $ac_c" 1>&6 3068 echo $ac_n "checking for sys/wait.h that is POSIX.1 compatible""... $ac_c" 1>&6
3057 echo "configure:3058: checking for sys/wait.h that is POSIX.1 compatible" >&5 3069 echo "configure:3070: checking for sys/wait.h that is POSIX.1 compatible" >&5
3058 3070
3059 cat > conftest.$ac_ext <<EOF 3071 cat > conftest.$ac_ext <<EOF
3060 #line 3061 "configure" 3072 #line 3073 "configure"
3061 #include "confdefs.h" 3073 #include "confdefs.h"
3062 #include <sys/types.h> 3074 #include <sys/types.h>
3063 #include <sys/wait.h> 3075 #include <sys/wait.h>
3064 #ifndef WEXITSTATUS 3076 #ifndef WEXITSTATUS
3065 #define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8) 3077 #define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8)
3071 int s; 3083 int s;
3072 wait (&s); 3084 wait (&s);
3073 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1; 3085 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
3074 ; return 0; } 3086 ; return 0; }
3075 EOF 3087 EOF
3076 if { (eval echo configure:3077: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 3088 if { (eval echo configure:3089: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3077 rm -rf conftest* 3089 rm -rf conftest*
3078 ac_cv_header_sys_wait_h=yes 3090 ac_cv_header_sys_wait_h=yes
3079 else 3091 else
3080 echo "configure: failed program was:" >&5 3092 echo "configure: failed program was:" >&5
3081 cat conftest.$ac_ext >&5 3093 cat conftest.$ac_ext >&5
3095 } 3107 }
3096 3108
3097 fi 3109 fi
3098 3110
3099 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6 3111 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6
3100 echo "configure:3101: checking for ANSI C header files" >&5 3112 echo "configure:3113: checking for ANSI C header files" >&5
3101 3113
3102 cat > conftest.$ac_ext <<EOF 3114 cat > conftest.$ac_ext <<EOF
3103 #line 3104 "configure" 3115 #line 3116 "configure"
3104 #include "confdefs.h" 3116 #include "confdefs.h"
3105 #include <stdlib.h> 3117 #include <stdlib.h>
3106 #include <stdarg.h> 3118 #include <stdarg.h>
3107 #include <string.h> 3119 #include <string.h>
3108 #include <float.h> 3120 #include <float.h>
3109 EOF 3121 EOF
3110 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 3122 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
3111 { (eval echo configure:3112: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 3123 { (eval echo configure:3124: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
3112 ac_err=`grep -v '^ *+' conftest.out` 3124 ac_err=`grep -v '^ *+' conftest.out`
3113 if test -z "$ac_err"; then 3125 if test -z "$ac_err"; then
3114 rm -rf conftest* 3126 rm -rf conftest*
3115 ac_cv_header_stdc=yes 3127 ac_cv_header_stdc=yes
3116 else 3128 else
3123 rm -f conftest* 3135 rm -f conftest*
3124 3136
3125 if test $ac_cv_header_stdc = yes; then 3137 if test $ac_cv_header_stdc = yes; then
3126 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 3138 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3127 cat > conftest.$ac_ext <<EOF 3139 cat > conftest.$ac_ext <<EOF
3128 #line 3129 "configure" 3140 #line 3141 "configure"
3129 #include "confdefs.h" 3141 #include "confdefs.h"
3130 #include <string.h> 3142 #include <string.h>
3131 EOF 3143 EOF
3132 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 3144 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3133 egrep "memchr" >/dev/null 2>&1; then 3145 egrep "memchr" >/dev/null 2>&1; then
3141 fi 3153 fi
3142 3154
3143 if test $ac_cv_header_stdc = yes; then 3155 if test $ac_cv_header_stdc = yes; then
3144 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 3156 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3145 cat > conftest.$ac_ext <<EOF 3157 cat > conftest.$ac_ext <<EOF
3146 #line 3147 "configure" 3158 #line 3159 "configure"
3147 #include "confdefs.h" 3159 #include "confdefs.h"
3148 #include <stdlib.h> 3160 #include <stdlib.h>
3149 EOF 3161 EOF
3150 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 3162 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3151 egrep "free" >/dev/null 2>&1; then 3163 egrep "free" >/dev/null 2>&1; then
3159 fi 3171 fi
3160 3172
3161 if test $ac_cv_header_stdc = yes; then 3173 if test $ac_cv_header_stdc = yes; then
3162 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 3174 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3163 cat > conftest.$ac_ext <<EOF 3175 cat > conftest.$ac_ext <<EOF
3164 #line 3165 "configure" 3176 #line 3177 "configure"
3165 #include "confdefs.h" 3177 #include "confdefs.h"
3166 #include <ctype.h> 3178 #include <ctype.h>
3167 #define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 3179 #define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3168 #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) 3180 #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3169 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) 3181 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3170 int main () { int i; for (i = 0; i < 256; i++) 3182 int main () { int i; for (i = 0; i < 256; i++)
3171 if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2); 3183 if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2);
3172 exit (0); } 3184 exit (0); }
3173 3185
3174 EOF 3186 EOF
3175 if { (eval echo configure:3176: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 3187 if { (eval echo configure:3188: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5
3176 then 3188 then
3177 : 3189 :
3178 else 3190 else
3179 conftest_rc="$?" 3191 conftest_rc="$?"
3180 echo "configure: failed program was:" >&5 3192 echo "configure: failed program was:" >&5
3196 } 3208 }
3197 3209
3198 fi 3210 fi
3199 3211
3200 echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6 3212 echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6
3201 echo "configure:3202: checking whether time.h and sys/time.h may both be included" >&5 3213 echo "configure:3214: checking whether time.h and sys/time.h may both be included" >&5
3202 3214
3203 cat > conftest.$ac_ext <<EOF 3215 cat > conftest.$ac_ext <<EOF
3204 #line 3205 "configure" 3216 #line 3217 "configure"
3205 #include "confdefs.h" 3217 #include "confdefs.h"
3206 #include <sys/types.h> 3218 #include <sys/types.h>
3207 #include <sys/time.h> 3219 #include <sys/time.h>
3208 #include <time.h> 3220 #include <time.h>
3209 int main() { 3221 int main() {
3210 struct tm *tp; 3222 struct tm *tp;
3211 ; return 0; } 3223 ; return 0; }
3212 EOF 3224 EOF
3213 if { (eval echo configure:3214: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 3225 if { (eval echo configure:3226: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3214 rm -rf conftest* 3226 rm -rf conftest*
3215 ac_cv_header_time=yes 3227 ac_cv_header_time=yes
3216 else 3228 else
3217 echo "configure: failed program was:" >&5 3229 echo "configure: failed program was:" >&5
3218 cat conftest.$ac_ext >&5 3230 cat conftest.$ac_ext >&5
3232 } 3244 }
3233 3245
3234 fi 3246 fi
3235 3247
3236 echo $ac_n "checking for sys_siglist declaration in signal.h or unistd.h""... $ac_c" 1>&6 3248 echo $ac_n "checking for sys_siglist declaration in signal.h or unistd.h""... $ac_c" 1>&6
3237 echo "configure:3238: checking for sys_siglist declaration in signal.h or unistd.h" >&5 3249 echo "configure:3250: checking for sys_siglist declaration in signal.h or unistd.h" >&5
3238 3250
3239 cat > conftest.$ac_ext <<EOF 3251 cat > conftest.$ac_ext <<EOF
3240 #line 3241 "configure" 3252 #line 3253 "configure"
3241 #include "confdefs.h" 3253 #include "confdefs.h"
3242 #include <sys/types.h> 3254 #include <sys/types.h>
3243 #include <signal.h> 3255 #include <signal.h>
3244 /* NetBSD declares sys_siglist in unistd.h. */ 3256 /* NetBSD declares sys_siglist in unistd.h. */
3245 #ifdef HAVE_UNISTD_H 3257 #ifdef HAVE_UNISTD_H
3247 #endif 3259 #endif
3248 int main() { 3260 int main() {
3249 char *msg = *(sys_siglist + 1); 3261 char *msg = *(sys_siglist + 1);
3250 ; return 0; } 3262 ; return 0; }
3251 EOF 3263 EOF
3252 if { (eval echo configure:3253: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 3264 if { (eval echo configure:3265: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3253 rm -rf conftest* 3265 rm -rf conftest*
3254 ac_cv_decl_sys_siglist=yes 3266 ac_cv_decl_sys_siglist=yes
3255 else 3267 else
3256 echo "configure: failed program was:" >&5 3268 echo "configure: failed program was:" >&5
3257 cat conftest.$ac_ext >&5 3269 cat conftest.$ac_ext >&5
3272 3284
3273 fi 3285 fi
3274 3286
3275 3287
3276 echo $ac_n "checking for struct utimbuf""... $ac_c" 1>&6 3288 echo $ac_n "checking for struct utimbuf""... $ac_c" 1>&6
3277 echo "configure:3278: checking for struct utimbuf" >&5 3289 echo "configure:3290: checking for struct utimbuf" >&5
3278 cat > conftest.$ac_ext <<EOF 3290 cat > conftest.$ac_ext <<EOF
3279 #line 3280 "configure" 3291 #line 3292 "configure"
3280 #include "confdefs.h" 3292 #include "confdefs.h"
3281 #ifdef TIME_WITH_SYS_TIME 3293 #ifdef TIME_WITH_SYS_TIME
3282 #include <sys/time.h> 3294 #include <sys/time.h>
3283 #include <time.h> 3295 #include <time.h>
3284 #else 3296 #else
3293 #endif 3305 #endif
3294 int main() { 3306 int main() {
3295 static struct utimbuf x; x.actime = x.modtime; 3307 static struct utimbuf x; x.actime = x.modtime;
3296 ; return 0; } 3308 ; return 0; }
3297 EOF 3309 EOF
3298 if { (eval echo configure:3299: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 3310 if { (eval echo configure:3311: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3299 rm -rf conftest* 3311 rm -rf conftest*
3300 echo "$ac_t""yes" 1>&6 3312 echo "$ac_t""yes" 1>&6
3301 { test "$extra_verbose" = "yes" && cat << \EOF 3313 { test "$extra_verbose" = "yes" && cat << \EOF
3302 Defining HAVE_STRUCT_UTIMBUF 3314 Defining HAVE_STRUCT_UTIMBUF
3303 EOF 3315 EOF
3313 echo "$ac_t""no" 1>&6 3325 echo "$ac_t""no" 1>&6
3314 fi 3326 fi
3315 rm -f conftest* 3327 rm -f conftest*
3316 3328
3317 echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6 3329 echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6
3318 echo "configure:3319: checking return type of signal handlers" >&5 3330 echo "configure:3331: checking return type of signal handlers" >&5
3319 3331
3320 cat > conftest.$ac_ext <<EOF 3332 cat > conftest.$ac_ext <<EOF
3321 #line 3322 "configure" 3333 #line 3334 "configure"
3322 #include "confdefs.h" 3334 #include "confdefs.h"
3323 #include <sys/types.h> 3335 #include <sys/types.h>
3324 #include <signal.h> 3336 #include <signal.h>
3325 #ifdef signal 3337 #ifdef signal
3326 #undef signal 3338 #undef signal
3333 3345
3334 int main() { 3346 int main() {
3335 int i; 3347 int i;
3336 ; return 0; } 3348 ; return 0; }
3337 EOF 3349 EOF
3338 if { (eval echo configure:3339: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 3350 if { (eval echo configure:3351: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3339 rm -rf conftest* 3351 rm -rf conftest*
3340 ac_cv_type_signal=void 3352 ac_cv_type_signal=void
3341 else 3353 else
3342 echo "configure: failed program was:" >&5 3354 echo "configure: failed program was:" >&5
3343 cat conftest.$ac_ext >&5 3355 cat conftest.$ac_ext >&5
3355 EOF 3367 EOF
3356 } 3368 }
3357 3369
3358 3370
3359 echo $ac_n "checking for size_t""... $ac_c" 1>&6 3371 echo $ac_n "checking for size_t""... $ac_c" 1>&6
3360 echo "configure:3361: checking for size_t" >&5 3372 echo "configure:3373: checking for size_t" >&5
3361 3373
3362 cat > conftest.$ac_ext <<EOF 3374 cat > conftest.$ac_ext <<EOF
3363 #line 3364 "configure" 3375 #line 3376 "configure"
3364 #include "confdefs.h" 3376 #include "confdefs.h"
3365 #include <sys/types.h> 3377 #include <sys/types.h>
3366 #if STDC_HEADERS 3378 #if STDC_HEADERS
3367 #include <stdlib.h> 3379 #include <stdlib.h>
3368 #include <stddef.h> 3380 #include <stddef.h>
3389 } 3401 }
3390 3402
3391 fi 3403 fi
3392 3404
3393 echo $ac_n "checking for pid_t""... $ac_c" 1>&6 3405 echo $ac_n "checking for pid_t""... $ac_c" 1>&6
3394 echo "configure:3395: checking for pid_t" >&5 3406 echo "configure:3407: checking for pid_t" >&5
3395 3407
3396 cat > conftest.$ac_ext <<EOF 3408 cat > conftest.$ac_ext <<EOF
3397 #line 3398 "configure" 3409 #line 3410 "configure"
3398 #include "confdefs.h" 3410 #include "confdefs.h"
3399 #include <sys/types.h> 3411 #include <sys/types.h>
3400 #if STDC_HEADERS 3412 #if STDC_HEADERS
3401 #include <stdlib.h> 3413 #include <stdlib.h>
3402 #include <stddef.h> 3414 #include <stddef.h>
3423 } 3435 }
3424 3436
3425 fi 3437 fi
3426 3438
3427 echo $ac_n "checking for uid_t in sys/types.h""... $ac_c" 1>&6 3439 echo $ac_n "checking for uid_t in sys/types.h""... $ac_c" 1>&6
3428 echo "configure:3429: checking for uid_t in sys/types.h" >&5 3440 echo "configure:3441: checking for uid_t in sys/types.h" >&5
3429 3441
3430 cat > conftest.$ac_ext <<EOF 3442 cat > conftest.$ac_ext <<EOF
3431 #line 3432 "configure" 3443 #line 3444 "configure"
3432 #include "confdefs.h" 3444 #include "confdefs.h"
3433 #include <sys/types.h> 3445 #include <sys/types.h>
3434 EOF 3446 EOF
3435 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 3447 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3436 egrep "uid_t" >/dev/null 2>&1; then 3448 egrep "uid_t" >/dev/null 2>&1; then
3462 } 3474 }
3463 3475
3464 fi 3476 fi
3465 3477
3466 echo $ac_n "checking for mode_t""... $ac_c" 1>&6 3478 echo $ac_n "checking for mode_t""... $ac_c" 1>&6
3467 echo "configure:3468: checking for mode_t" >&5 3479 echo "configure:3480: checking for mode_t" >&5
3468 3480
3469 cat > conftest.$ac_ext <<EOF 3481 cat > conftest.$ac_ext <<EOF
3470 #line 3471 "configure" 3482 #line 3483 "configure"
3471 #include "confdefs.h" 3483 #include "confdefs.h"
3472 #include <sys/types.h> 3484 #include <sys/types.h>
3473 #if STDC_HEADERS 3485 #if STDC_HEADERS
3474 #include <stdlib.h> 3486 #include <stdlib.h>
3475 #include <stddef.h> 3487 #include <stddef.h>
3496 } 3508 }
3497 3509
3498 fi 3510 fi
3499 3511
3500 echo $ac_n "checking for off_t""... $ac_c" 1>&6 3512 echo $ac_n "checking for off_t""... $ac_c" 1>&6
3501 echo "configure:3502: checking for off_t" >&5 3513 echo "configure:3514: checking for off_t" >&5
3502 3514
3503 cat > conftest.$ac_ext <<EOF 3515 cat > conftest.$ac_ext <<EOF
3504 #line 3505 "configure" 3516 #line 3517 "configure"
3505 #include "confdefs.h" 3517 #include "confdefs.h"
3506 #include <sys/types.h> 3518 #include <sys/types.h>
3507 #if STDC_HEADERS 3519 #if STDC_HEADERS
3508 #include <stdlib.h> 3520 #include <stdlib.h>
3509 #include <stddef.h> 3521 #include <stddef.h>
3531 3543
3532 fi 3544 fi
3533 3545
3534 3546
3535 echo $ac_n "checking for struct timeval""... $ac_c" 1>&6 3547 echo $ac_n "checking for struct timeval""... $ac_c" 1>&6
3536 echo "configure:3537: checking for struct timeval" >&5 3548 echo "configure:3549: checking for struct timeval" >&5
3537 cat > conftest.$ac_ext <<EOF 3549 cat > conftest.$ac_ext <<EOF
3538 #line 3539 "configure" 3550 #line 3551 "configure"
3539 #include "confdefs.h" 3551 #include "confdefs.h"
3540 #ifdef TIME_WITH_SYS_TIME 3552 #ifdef TIME_WITH_SYS_TIME
3541 #include <sys/time.h> 3553 #include <sys/time.h>
3542 #include <time.h> 3554 #include <time.h>
3543 #else 3555 #else
3549 #endif 3561 #endif
3550 int main() { 3562 int main() {
3551 static struct timeval x; x.tv_sec = x.tv_usec; 3563 static struct timeval x; x.tv_sec = x.tv_usec;
3552 ; return 0; } 3564 ; return 0; }
3553 EOF 3565 EOF
3554 if { (eval echo configure:3555: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 3566 if { (eval echo configure:3567: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3555 rm -rf conftest* 3567 rm -rf conftest*
3556 echo "$ac_t""yes" 1>&6 3568 echo "$ac_t""yes" 1>&6
3557 HAVE_TIMEVAL=yes 3569 HAVE_TIMEVAL=yes
3558 { test "$extra_verbose" = "yes" && cat << \EOF 3570 { test "$extra_verbose" = "yes" && cat << \EOF
3559 Defining HAVE_TIMEVAL 3571 Defining HAVE_TIMEVAL
3571 HAVE_TIMEVAL=no 3583 HAVE_TIMEVAL=no
3572 fi 3584 fi
3573 rm -f conftest* 3585 rm -f conftest*
3574 3586
3575 echo $ac_n "checking whether struct tm is in sys/time.h or time.h""... $ac_c" 1>&6 3587 echo $ac_n "checking whether struct tm is in sys/time.h or time.h""... $ac_c" 1>&6
3576 echo "configure:3577: checking whether struct tm is in sys/time.h or time.h" >&5 3588 echo "configure:3589: checking whether struct tm is in sys/time.h or time.h" >&5
3577 3589
3578 cat > conftest.$ac_ext <<EOF 3590 cat > conftest.$ac_ext <<EOF
3579 #line 3580 "configure" 3591 #line 3592 "configure"
3580 #include "confdefs.h" 3592 #include "confdefs.h"
3581 #include <sys/types.h> 3593 #include <sys/types.h>
3582 #include <time.h> 3594 #include <time.h>
3583 int main() { 3595 int main() {
3584 struct tm *tp; tp->tm_sec; 3596 struct tm *tp; tp->tm_sec;
3585 ; return 0; } 3597 ; return 0; }
3586 EOF 3598 EOF
3587 if { (eval echo configure:3588: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 3599 if { (eval echo configure:3600: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3588 rm -rf conftest* 3600 rm -rf conftest*
3589 ac_cv_struct_tm=time.h 3601 ac_cv_struct_tm=time.h
3590 else 3602 else
3591 echo "configure: failed program was:" >&5 3603 echo "configure: failed program was:" >&5
3592 cat conftest.$ac_ext >&5 3604 cat conftest.$ac_ext >&5
3606 } 3618 }
3607 3619
3608 fi 3620 fi
3609 3621
3610 echo $ac_n "checking for tm_zone in struct tm""... $ac_c" 1>&6 3622 echo $ac_n "checking for tm_zone in struct tm""... $ac_c" 1>&6
3611 echo "configure:3612: checking for tm_zone in struct tm" >&5 3623 echo "configure:3624: checking for tm_zone in struct tm" >&5
3612 3624
3613 cat > conftest.$ac_ext <<EOF 3625 cat > conftest.$ac_ext <<EOF
3614 #line 3615 "configure" 3626 #line 3627 "configure"
3615 #include "confdefs.h" 3627 #include "confdefs.h"
3616 #include <sys/types.h> 3628 #include <sys/types.h>
3617 #include <$ac_cv_struct_tm> 3629 #include <$ac_cv_struct_tm>
3618 int main() { 3630 int main() {
3619 struct tm tm; tm.tm_zone; 3631 struct tm tm; tm.tm_zone;
3620 ; return 0; } 3632 ; return 0; }
3621 EOF 3633 EOF
3622 if { (eval echo configure:3623: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 3634 if { (eval echo configure:3635: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3623 rm -rf conftest* 3635 rm -rf conftest*
3624 ac_cv_struct_tm_zone=yes 3636 ac_cv_struct_tm_zone=yes
3625 else 3637 else
3626 echo "configure: failed program was:" >&5 3638 echo "configure: failed program was:" >&5
3627 cat conftest.$ac_ext >&5 3639 cat conftest.$ac_ext >&5
3640 EOF 3652 EOF
3641 } 3653 }
3642 3654
3643 else 3655 else
3644 echo $ac_n "checking for tzname""... $ac_c" 1>&6 3656 echo $ac_n "checking for tzname""... $ac_c" 1>&6
3645 echo "configure:3646: checking for tzname" >&5 3657 echo "configure:3658: checking for tzname" >&5
3646 3658
3647 cat > conftest.$ac_ext <<EOF 3659 cat > conftest.$ac_ext <<EOF
3648 #line 3649 "configure" 3660 #line 3661 "configure"
3649 #include "confdefs.h" 3661 #include "confdefs.h"
3650 #include <time.h> 3662 #include <time.h>
3651 #ifndef tzname /* For SGI. */ 3663 #ifndef tzname /* For SGI. */
3652 extern char *tzname[]; /* RS6000 and others reject char **tzname. */ 3664 extern char *tzname[]; /* RS6000 and others reject char **tzname. */
3653 #endif 3665 #endif
3654 int main() { 3666 int main() {
3655 atoi(*tzname); 3667 atoi(*tzname);
3656 ; return 0; } 3668 ; return 0; }
3657 EOF 3669 EOF
3658 if { (eval echo configure:3659: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 3670 if { (eval echo configure:3671: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
3659 rm -rf conftest* 3671 rm -rf conftest*
3660 ac_cv_var_tzname=yes 3672 ac_cv_var_tzname=yes
3661 else 3673 else
3662 echo "configure: failed program was:" >&5 3674 echo "configure: failed program was:" >&5
3663 cat conftest.$ac_ext >&5 3675 cat conftest.$ac_ext >&5
3679 fi 3691 fi
3680 fi 3692 fi
3681 3693
3682 3694
3683 echo $ac_n "checking for working const""... $ac_c" 1>&6 3695 echo $ac_n "checking for working const""... $ac_c" 1>&6
3684 echo "configure:3685: checking for working const" >&5 3696 echo "configure:3697: checking for working const" >&5
3685 3697
3686 cat > conftest.$ac_ext <<EOF 3698 cat > conftest.$ac_ext <<EOF
3687 #line 3688 "configure" 3699 #line 3700 "configure"
3688 #include "confdefs.h" 3700 #include "confdefs.h"
3689 3701
3690 int main() { 3702 int main() {
3691 3703
3692 /* Ultrix mips cc rejects this. */ 3704 /* Ultrix mips cc rejects this. */
3731 const int foo = 10; 3743 const int foo = 10;
3732 } 3744 }
3733 3745
3734 ; return 0; } 3746 ; return 0; }
3735 EOF 3747 EOF
3736 if { (eval echo configure:3737: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 3748 if { (eval echo configure:3749: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3737 rm -rf conftest* 3749 rm -rf conftest*
3738 ac_cv_c_const=yes 3750 ac_cv_c_const=yes
3739 else 3751 else
3740 echo "configure: failed program was:" >&5 3752 echo "configure: failed program was:" >&5
3741 cat conftest.$ac_ext >&5 3753 cat conftest.$ac_ext >&5
3756 3768
3757 fi 3769 fi
3758 3770
3759 3771
3760 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6 3772 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
3761 echo "configure:3762: checking whether ${MAKE-make} sets \${MAKE}" >&5 3773 echo "configure:3774: checking whether ${MAKE-make} sets \${MAKE}" >&5
3762 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'` 3774 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'`
3763 3775
3764 cat > conftestmake <<\EOF 3776 cat > conftestmake <<\EOF
3765 all: 3777 all:
3766 @echo 'ac_maketemp="${MAKE}"' 3778 @echo 'ac_maketemp="${MAKE}"'
3781 SET_MAKE="MAKE=${MAKE-make}" 3793 SET_MAKE="MAKE=${MAKE-make}"
3782 fi 3794 fi
3783 3795
3784 3796
3785 echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6 3797 echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6
3786 echo "configure:3787: checking whether byte ordering is bigendian" >&5 3798 echo "configure:3799: checking whether byte ordering is bigendian" >&5
3787 3799
3788 ac_cv_c_bigendian=unknown 3800 ac_cv_c_bigendian=unknown
3789 # See if sys/param.h defines the BYTE_ORDER macro. 3801 # See if sys/param.h defines the BYTE_ORDER macro.
3790 cat > conftest.$ac_ext <<EOF 3802 cat > conftest.$ac_ext <<EOF
3791 #line 3792 "configure" 3803 #line 3804 "configure"
3792 #include "confdefs.h" 3804 #include "confdefs.h"
3793 #include <sys/types.h> 3805 #include <sys/types.h>
3794 #include <sys/param.h> 3806 #include <sys/param.h>
3795 int main() { 3807 int main() {
3796 3808
3797 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN 3809 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
3798 bogus endian macros 3810 bogus endian macros
3799 #endif 3811 #endif
3800 ; return 0; } 3812 ; return 0; }
3801 EOF 3813 EOF
3802 if { (eval echo configure:3803: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 3814 if { (eval echo configure:3815: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3803 rm -rf conftest* 3815 rm -rf conftest*
3804 # It does; now see whether it defined to BIG_ENDIAN or not. 3816 # It does; now see whether it defined to BIG_ENDIAN or not.
3805 cat > conftest.$ac_ext <<EOF 3817 cat > conftest.$ac_ext <<EOF
3806 #line 3807 "configure" 3818 #line 3819 "configure"
3807 #include "confdefs.h" 3819 #include "confdefs.h"
3808 #include <sys/types.h> 3820 #include <sys/types.h>
3809 #include <sys/param.h> 3821 #include <sys/param.h>
3810 int main() { 3822 int main() {
3811 3823
3812 #if BYTE_ORDER != BIG_ENDIAN 3824 #if BYTE_ORDER != BIG_ENDIAN
3813 not big endian 3825 not big endian
3814 #endif 3826 #endif
3815 ; return 0; } 3827 ; return 0; }
3816 EOF 3828 EOF
3817 if { (eval echo configure:3818: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 3829 if { (eval echo configure:3830: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3818 rm -rf conftest* 3830 rm -rf conftest*
3819 ac_cv_c_bigendian=yes 3831 ac_cv_c_bigendian=yes
3820 else 3832 else
3821 echo "configure: failed program was:" >&5 3833 echo "configure: failed program was:" >&5
3822 cat conftest.$ac_ext >&5 3834 cat conftest.$ac_ext >&5
3829 cat conftest.$ac_ext >&5 3841 cat conftest.$ac_ext >&5
3830 fi 3842 fi
3831 rm -f conftest* 3843 rm -f conftest*
3832 if test $ac_cv_c_bigendian = unknown; then 3844 if test $ac_cv_c_bigendian = unknown; then
3833 cat > conftest.$ac_ext <<EOF 3845 cat > conftest.$ac_ext <<EOF
3834 #line 3835 "configure" 3846 #line 3847 "configure"
3835 #include "confdefs.h" 3847 #include "confdefs.h"
3836 main () { 3848 main () {
3837 /* Are we little or big endian? From Harbison&Steele. */ 3849 /* Are we little or big endian? From Harbison&Steele. */
3838 union 3850 union
3839 { 3851 {
3842 } u; 3854 } u;
3843 u.l = 1; 3855 u.l = 1;
3844 exit (u.c[sizeof (long) - 1] == 1); 3856 exit (u.c[sizeof (long) - 1] == 1);
3845 } 3857 }
3846 EOF 3858 EOF
3847 if { (eval echo configure:3848: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 3859 if { (eval echo configure:3860: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5
3848 then 3860 then
3849 ac_cv_c_bigendian=no 3861 ac_cv_c_bigendian=no
3850 else 3862 else
3851 conftest_rc="$?" 3863 conftest_rc="$?"
3852 echo "configure: failed program was:" >&5 3864 echo "configure: failed program was:" >&5
3869 3881
3870 fi 3882 fi
3871 3883
3872 3884
3873 echo $ac_n "checking size of short""... $ac_c" 1>&6 3885 echo $ac_n "checking size of short""... $ac_c" 1>&6
3874 echo "configure:3875: checking size of short" >&5 3886 echo "configure:3887: checking size of short" >&5
3875 3887
3876 cat > conftest.$ac_ext <<EOF 3888 cat > conftest.$ac_ext <<EOF
3877 #line 3878 "configure" 3889 #line 3890 "configure"
3878 #include "confdefs.h" 3890 #include "confdefs.h"
3879 #include <stdio.h> 3891 #include <stdio.h>
3880 main() 3892 main()
3881 { 3893 {
3882 FILE *f=fopen("conftestval", "w"); 3894 FILE *f=fopen("conftestval", "w");
3883 if (!f) exit(1); 3895 if (!f) exit(1);
3884 fprintf(f, "%d\n", sizeof(short)); 3896 fprintf(f, "%d\n", sizeof(short));
3885 exit(0); 3897 exit(0);
3886 } 3898 }
3887 EOF 3899 EOF
3888 if { (eval echo configure:3889: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 3900 if { (eval echo configure:3901: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5
3889 then 3901 then
3890 ac_cv_sizeof_short=`cat conftestval` 3902 ac_cv_sizeof_short=`cat conftestval`
3891 else 3903 else
3892 conftest_rc="$?" 3904 conftest_rc="$?"
3893 echo "configure: failed program was:" >&5 3905 echo "configure: failed program was:" >&5
3911 echo "*** PANIC *** Configure tests are not working - compiler is broken." 3923 echo "*** PANIC *** Configure tests are not working - compiler is broken."
3912 echo "*** PANIC *** Please examine config.log for compilation errors." 3924 echo "*** PANIC *** Please examine config.log for compilation errors."
3913 exit 1 3925 exit 1
3914 fi 3926 fi
3915 echo $ac_n "checking size of int""... $ac_c" 1>&6 3927 echo $ac_n "checking size of int""... $ac_c" 1>&6
3916 echo "configure:3917: checking size of int" >&5 3928 echo "configure:3929: checking size of int" >&5
3917 3929
3918 cat > conftest.$ac_ext <<EOF 3930 cat > conftest.$ac_ext <<EOF
3919 #line 3920 "configure" 3931 #line 3932 "configure"
3920 #include "confdefs.h" 3932 #include "confdefs.h"
3921 #include <stdio.h> 3933 #include <stdio.h>
3922 main() 3934 main()
3923 { 3935 {
3924 FILE *f=fopen("conftestval", "w"); 3936 FILE *f=fopen("conftestval", "w");
3925 if (!f) exit(1); 3937 if (!f) exit(1);
3926 fprintf(f, "%d\n", sizeof(int)); 3938 fprintf(f, "%d\n", sizeof(int));
3927 exit(0); 3939 exit(0);
3928 } 3940 }
3929 EOF 3941 EOF
3930 if { (eval echo configure:3931: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 3942 if { (eval echo configure:3943: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5
3931 then 3943 then
3932 ac_cv_sizeof_int=`cat conftestval` 3944 ac_cv_sizeof_int=`cat conftestval`
3933 else 3945 else
3934 conftest_rc="$?" 3946 conftest_rc="$?"
3935 echo "configure: failed program was:" >&5 3947 echo "configure: failed program was:" >&5
3947 EOF 3959 EOF
3948 } 3960 }
3949 3961
3950 3962
3951 echo $ac_n "checking size of long""... $ac_c" 1>&6 3963 echo $ac_n "checking size of long""... $ac_c" 1>&6
3952 echo "configure:3953: checking size of long" >&5 3964 echo "configure:3965: checking size of long" >&5
3953 3965
3954 cat > conftest.$ac_ext <<EOF 3966 cat > conftest.$ac_ext <<EOF
3955 #line 3956 "configure" 3967 #line 3968 "configure"
3956 #include "confdefs.h" 3968 #include "confdefs.h"
3957 #include <stdio.h> 3969 #include <stdio.h>
3958 main() 3970 main()
3959 { 3971 {
3960 FILE *f=fopen("conftestval", "w"); 3972 FILE *f=fopen("conftestval", "w");
3961 if (!f) exit(1); 3973 if (!f) exit(1);
3962 fprintf(f, "%d\n", sizeof(long)); 3974 fprintf(f, "%d\n", sizeof(long));
3963 exit(0); 3975 exit(0);
3964 } 3976 }
3965 EOF 3977 EOF
3966 if { (eval echo configure:3967: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 3978 if { (eval echo configure:3979: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5
3967 then 3979 then
3968 ac_cv_sizeof_long=`cat conftestval` 3980 ac_cv_sizeof_long=`cat conftestval`
3969 else 3981 else
3970 conftest_rc="$?" 3982 conftest_rc="$?"
3971 echo "configure: failed program was:" >&5 3983 echo "configure: failed program was:" >&5
3983 EOF 3995 EOF
3984 } 3996 }
3985 3997
3986 3998
3987 echo $ac_n "checking size of long long""... $ac_c" 1>&6 3999 echo $ac_n "checking size of long long""... $ac_c" 1>&6
3988 echo "configure:3989: checking size of long long" >&5 4000 echo "configure:4001: checking size of long long" >&5
3989 4001
3990 cat > conftest.$ac_ext <<EOF 4002 cat > conftest.$ac_ext <<EOF
3991 #line 3992 "configure" 4003 #line 4004 "configure"
3992 #include "confdefs.h" 4004 #include "confdefs.h"
3993 #include <stdio.h> 4005 #include <stdio.h>
3994 main() 4006 main()
3995 { 4007 {
3996 FILE *f=fopen("conftestval", "w"); 4008 FILE *f=fopen("conftestval", "w");
3997 if (!f) exit(1); 4009 if (!f) exit(1);
3998 fprintf(f, "%d\n", sizeof(long long)); 4010 fprintf(f, "%d\n", sizeof(long long));
3999 exit(0); 4011 exit(0);
4000 } 4012 }
4001 EOF 4013 EOF
4002 if { (eval echo configure:4003: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 4014 if { (eval echo configure:4015: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5
4003 then 4015 then
4004 ac_cv_sizeof_long_long=`cat conftestval` 4016 ac_cv_sizeof_long_long=`cat conftestval`
4005 else 4017 else
4006 conftest_rc="$?" 4018 conftest_rc="$?"
4007 echo "configure: failed program was:" >&5 4019 echo "configure: failed program was:" >&5
4019 EOF 4031 EOF
4020 } 4032 }
4021 4033
4022 4034
4023 echo $ac_n "checking size of void *""... $ac_c" 1>&6 4035 echo $ac_n "checking size of void *""... $ac_c" 1>&6
4024 echo "configure:4025: checking size of void *" >&5 4036 echo "configure:4037: checking size of void *" >&5
4025 4037
4026 cat > conftest.$ac_ext <<EOF 4038 cat > conftest.$ac_ext <<EOF
4027 #line 4028 "configure" 4039 #line 4040 "configure"
4028 #include "confdefs.h" 4040 #include "confdefs.h"
4029 #include <stdio.h> 4041 #include <stdio.h>
4030 main() 4042 main()
4031 { 4043 {
4032 FILE *f=fopen("conftestval", "w"); 4044 FILE *f=fopen("conftestval", "w");
4033 if (!f) exit(1); 4045 if (!f) exit(1);
4034 fprintf(f, "%d\n", sizeof(void *)); 4046 fprintf(f, "%d\n", sizeof(void *));
4035 exit(0); 4047 exit(0);
4036 } 4048 }
4037 EOF 4049 EOF
4038 if { (eval echo configure:4039: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 4050 if { (eval echo configure:4051: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5
4039 then 4051 then
4040 ac_cv_sizeof_void_p=`cat conftestval` 4052 ac_cv_sizeof_void_p=`cat conftestval`
4041 else 4053 else
4042 conftest_rc="$?" 4054 conftest_rc="$?"
4043 echo "configure: failed program was:" >&5 4055 echo "configure: failed program was:" >&5
4056 } 4068 }
4057 4069
4058 4070
4059 4071
4060 echo $ac_n "checking for long file names""... $ac_c" 1>&6 4072 echo $ac_n "checking for long file names""... $ac_c" 1>&6
4061 echo "configure:4062: checking for long file names" >&5 4073 echo "configure:4074: checking for long file names" >&5
4062 4074
4063 ac_cv_sys_long_file_names=yes 4075 ac_cv_sys_long_file_names=yes
4064 # Test for long file names in all the places we know might matter: 4076 # Test for long file names in all the places we know might matter:
4065 # . the current directory, where building will happen 4077 # . the current directory, where building will happen
4066 # $prefix/lib where we will be installing things 4078 # $prefix/lib where we will be installing things
4103 fi 4115 fi
4104 4116
4105 4117
4106 4118
4107 echo $ac_n "checking for sin in -lm""... $ac_c" 1>&6 4119 echo $ac_n "checking for sin in -lm""... $ac_c" 1>&6
4108 echo "configure:4109: checking for sin in -lm" >&5 4120 echo "configure:4121: checking for sin in -lm" >&5
4109 ac_lib_var=`echo m'_'sin | sed 'y%./+-%__p_%'` 4121 ac_lib_var=`echo m'_'sin | sed 'y%./+-%__p_%'`
4110 4122
4111 xe_check_libs=" -lm " 4123 xe_check_libs=" -lm "
4112 cat > conftest.$ac_ext <<EOF 4124 cat > conftest.$ac_ext <<EOF
4113 #line 4114 "configure" 4125 #line 4126 "configure"
4114 #include "confdefs.h" 4126 #include "confdefs.h"
4115 /* Override any gcc2 internal prototype to avoid an error. */ 4127 /* Override any gcc2 internal prototype to avoid an error. */
4116 /* We use char because int might match the return type of a gcc2 4128 /* We use char because int might match the return type of a gcc2
4117 builtin and then its argument prototype would still apply. */ 4129 builtin and then its argument prototype would still apply. */
4118 char sin(); 4130 char sin();
4119 4131
4120 int main() { 4132 int main() {
4121 sin() 4133 sin()
4122 ; return 0; } 4134 ; return 0; }
4123 EOF 4135 EOF
4124 if { (eval echo configure:4125: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 4136 if { (eval echo configure:4137: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
4125 rm -rf conftest* 4137 rm -rf conftest*
4126 eval "ac_cv_lib_$ac_lib_var=yes" 4138 eval "ac_cv_lib_$ac_lib_var=yes"
4127 else 4139 else
4128 echo "configure: failed program was:" >&5 4140 echo "configure: failed program was:" >&5
4129 cat conftest.$ac_ext >&5 4141 cat conftest.$ac_ext >&5
4161 EOF 4173 EOF
4162 } 4174 }
4163 4175
4164 4176
4165 cat > conftest.$ac_ext <<EOF 4177 cat > conftest.$ac_ext <<EOF
4166 #line 4167 "configure" 4178 #line 4179 "configure"
4167 #include "confdefs.h" 4179 #include "confdefs.h"
4168 #include <math.h> 4180 #include <math.h>
4169 int main() { 4181 int main() {
4170 return atanh(1.0) + asinh(1.0) + acosh(1.0); 4182 return atanh(1.0) + asinh(1.0) + acosh(1.0);
4171 ; return 0; } 4183 ; return 0; }
4172 EOF 4184 EOF
4173 if { (eval echo configure:4174: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 4185 if { (eval echo configure:4186: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
4174 rm -rf conftest* 4186 rm -rf conftest*
4175 { test "$extra_verbose" = "yes" && cat << \EOF 4187 { test "$extra_verbose" = "yes" && cat << \EOF
4176 Defining HAVE_INVERSE_HYPERBOLIC 4188 Defining HAVE_INVERSE_HYPERBOLIC
4177 EOF 4189 EOF
4178 cat >> confdefs.h <<\EOF 4190 cat >> confdefs.h <<\EOF
4185 cat conftest.$ac_ext >&5 4197 cat conftest.$ac_ext >&5
4186 fi 4198 fi
4187 rm -f conftest* 4199 rm -f conftest*
4188 4200
4189 echo "checking type of mail spool file locking" 1>&6 4201 echo "checking type of mail spool file locking" 1>&6
4190 echo "configure:4191: checking type of mail spool file locking" >&5 4202 echo "configure:4203: checking type of mail spool file locking" >&5
4191 test -z "$mail_locking" -a "$mail_use_flock" = "yes" && mail_locking=flock 4203 test -z "$mail_locking" -a "$mail_use_flock" = "yes" && mail_locking=flock
4192 test -z "$mail_locking" -a "$mail_use_lockf" = "yes" && mail_locking=lockf 4204 test -z "$mail_locking" -a "$mail_use_lockf" = "yes" && mail_locking=lockf
4193 if test "$mail_locking" = "lockf"; then { test "$extra_verbose" = "yes" && cat << \EOF 4205 if test "$mail_locking" = "lockf"; then { test "$extra_verbose" = "yes" && cat << \EOF
4194 Defining REAL_MAIL_USE_LOCKF 4206 Defining REAL_MAIL_USE_LOCKF
4195 EOF 4207 EOF
4209 else mail_locking="dot-locking" 4221 else mail_locking="dot-locking"
4210 fi 4222 fi
4211 4223
4212 4224
4213 echo $ac_n "checking for kstat_open in -lkstat""... $ac_c" 1>&6 4225 echo $ac_n "checking for kstat_open in -lkstat""... $ac_c" 1>&6
4214 echo "configure:4215: checking for kstat_open in -lkstat" >&5 4226 echo "configure:4227: checking for kstat_open in -lkstat" >&5
4215 ac_lib_var=`echo kstat'_'kstat_open | sed 'y%./+-%__p_%'` 4227 ac_lib_var=`echo kstat'_'kstat_open | sed 'y%./+-%__p_%'`
4216 4228
4217 xe_check_libs=" -lkstat " 4229 xe_check_libs=" -lkstat "
4218 cat > conftest.$ac_ext <<EOF 4230 cat > conftest.$ac_ext <<EOF
4219 #line 4220 "configure" 4231 #line 4232 "configure"
4220 #include "confdefs.h" 4232 #include "confdefs.h"
4221 /* Override any gcc2 internal prototype to avoid an error. */ 4233 /* Override any gcc2 internal prototype to avoid an error. */
4222 /* We use char because int might match the return type of a gcc2 4234 /* We use char because int might match the return type of a gcc2
4223 builtin and then its argument prototype would still apply. */ 4235 builtin and then its argument prototype would still apply. */
4224 char kstat_open(); 4236 char kstat_open();
4225 4237
4226 int main() { 4238 int main() {
4227 kstat_open() 4239 kstat_open()
4228 ; return 0; } 4240 ; return 0; }
4229 EOF 4241 EOF
4230 if { (eval echo configure:4231: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 4242 if { (eval echo configure:4243: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
4231 rm -rf conftest* 4243 rm -rf conftest*
4232 eval "ac_cv_lib_$ac_lib_var=yes" 4244 eval "ac_cv_lib_$ac_lib_var=yes"
4233 else 4245 else
4234 echo "configure: failed program was:" >&5 4246 echo "configure: failed program was:" >&5
4235 cat conftest.$ac_ext >&5 4247 cat conftest.$ac_ext >&5
4259 4271
4260 4272
4261 4273
4262 4274
4263 echo $ac_n "checking for kvm_read in -lkvm""... $ac_c" 1>&6 4275 echo $ac_n "checking for kvm_read in -lkvm""... $ac_c" 1>&6
4264 echo "configure:4265: checking for kvm_read in -lkvm" >&5 4276 echo "configure:4277: checking for kvm_read in -lkvm" >&5
4265 ac_lib_var=`echo kvm'_'kvm_read | sed 'y%./+-%__p_%'` 4277 ac_lib_var=`echo kvm'_'kvm_read | sed 'y%./+-%__p_%'`
4266 4278
4267 xe_check_libs=" -lkvm " 4279 xe_check_libs=" -lkvm "
4268 cat > conftest.$ac_ext <<EOF 4280 cat > conftest.$ac_ext <<EOF
4269 #line 4270 "configure" 4281 #line 4282 "configure"
4270 #include "confdefs.h" 4282 #include "confdefs.h"
4271 /* Override any gcc2 internal prototype to avoid an error. */ 4283 /* Override any gcc2 internal prototype to avoid an error. */
4272 /* We use char because int might match the return type of a gcc2 4284 /* We use char because int might match the return type of a gcc2
4273 builtin and then its argument prototype would still apply. */ 4285 builtin and then its argument prototype would still apply. */
4274 char kvm_read(); 4286 char kvm_read();
4275 4287
4276 int main() { 4288 int main() {
4277 kvm_read() 4289 kvm_read()
4278 ; return 0; } 4290 ; return 0; }
4279 EOF 4291 EOF
4280 if { (eval echo configure:4281: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 4292 if { (eval echo configure:4293: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
4281 rm -rf conftest* 4293 rm -rf conftest*
4282 eval "ac_cv_lib_$ac_lib_var=yes" 4294 eval "ac_cv_lib_$ac_lib_var=yes"
4283 else 4295 else
4284 echo "configure: failed program was:" >&5 4296 echo "configure: failed program was:" >&5
4285 cat conftest.$ac_ext >&5 4297 cat conftest.$ac_ext >&5
4310 4322
4311 4323
4312 case "$opsys" in decosf*) 4324 case "$opsys" in decosf*)
4313 4325
4314 echo $ac_n "checking for cma_open in -lpthreads""... $ac_c" 1>&6 4326 echo $ac_n "checking for cma_open in -lpthreads""... $ac_c" 1>&6
4315 echo "configure:4316: checking for cma_open in -lpthreads" >&5 4327 echo "configure:4328: checking for cma_open in -lpthreads" >&5
4316 ac_lib_var=`echo pthreads'_'cma_open | sed 'y%./+-%__p_%'` 4328 ac_lib_var=`echo pthreads'_'cma_open | sed 'y%./+-%__p_%'`
4317 4329
4318 xe_check_libs=" -lpthreads " 4330 xe_check_libs=" -lpthreads "
4319 cat > conftest.$ac_ext <<EOF 4331 cat > conftest.$ac_ext <<EOF
4320 #line 4321 "configure" 4332 #line 4333 "configure"
4321 #include "confdefs.h" 4333 #include "confdefs.h"
4322 /* Override any gcc2 internal prototype to avoid an error. */ 4334 /* Override any gcc2 internal prototype to avoid an error. */
4323 /* We use char because int might match the return type of a gcc2 4335 /* We use char because int might match the return type of a gcc2
4324 builtin and then its argument prototype would still apply. */ 4336 builtin and then its argument prototype would still apply. */
4325 char cma_open(); 4337 char cma_open();
4326 4338
4327 int main() { 4339 int main() {
4328 cma_open() 4340 cma_open()
4329 ; return 0; } 4341 ; return 0; }
4330 EOF 4342 EOF
4331 if { (eval echo configure:4332: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 4343 if { (eval echo configure:4344: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
4332 rm -rf conftest* 4344 rm -rf conftest*
4333 eval "ac_cv_lib_$ac_lib_var=yes" 4345 eval "ac_cv_lib_$ac_lib_var=yes"
4334 else 4346 else
4335 echo "configure: failed program was:" >&5 4347 echo "configure: failed program was:" >&5
4336 cat conftest.$ac_ext >&5 4348 cat conftest.$ac_ext >&5
4362 test "$ac_cv_lib_pthreads_cma_open" = "yes" && \ 4374 test "$ac_cv_lib_pthreads_cma_open" = "yes" && \
4363 c_switch_site="$c_switch_site -threads" ;; 4375 c_switch_site="$c_switch_site -threads" ;;
4364 esac 4376 esac
4365 4377
4366 echo $ac_n "checking whether the -xildoff compiler flag is required""... $ac_c" 1>&6 4378 echo $ac_n "checking whether the -xildoff compiler flag is required""... $ac_c" 1>&6
4367 echo "configure:4368: checking whether the -xildoff compiler flag is required" >&5 4379 echo "configure:4380: checking whether the -xildoff compiler flag is required" >&5
4368 if ${CC-cc} '-###' -xildon no_such_file.c 2>&1 | grep '^[^ ]*/ild ' > /dev/null ; then 4380 if ${CC-cc} '-###' -xildon no_such_file.c 2>&1 | grep '^[^ ]*/ild ' > /dev/null ; then
4369 if ${CC-cc} '-###' -xildoff no_such_file.c 2>&1 | grep '^[^ ]*/ild ' > /dev/null ; 4381 if ${CC-cc} '-###' -xildoff no_such_file.c 2>&1 | grep '^[^ ]*/ild ' > /dev/null ;
4370 then echo "$ac_t""no" 1>&6; 4382 then echo "$ac_t""no" 1>&6;
4371 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 4383 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
4372 fi 4384 fi
4373 else echo "$ac_t""no" 1>&6 4385 else echo "$ac_t""no" 1>&6
4374 fi 4386 fi
4375 4387
4376 if test "$opsys" = "sol2" && test "$OS_RELEASE" -ge 56; then 4388 if test "$opsys" = "sol2" && test "$OS_RELEASE" -ge 56; then
4377 echo $ac_n "checking for \"-z ignore\" linker flag""... $ac_c" 1>&6 4389 echo $ac_n "checking for \"-z ignore\" linker flag""... $ac_c" 1>&6
4378 echo "configure:4379: checking for \"-z ignore\" linker flag" >&5 4390 echo "configure:4391: checking for \"-z ignore\" linker flag" >&5
4379 case "`ld -h 2>&1`" in 4391 case "`ld -h 2>&1`" in
4380 *-z\ ignore\|record* ) echo "$ac_t""yes" 1>&6 4392 *-z\ ignore\|record* ) echo "$ac_t""yes" 1>&6
4381 ld_switch_site="-z ignore $ld_switch_site" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-z ignore\" to \$ld_switch_site"; fi ;; 4393 ld_switch_site="-z ignore $ld_switch_site" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-z ignore\" to \$ld_switch_site"; fi ;;
4382 *) echo "$ac_t""no" 1>&6 ;; 4394 *) echo "$ac_t""no" 1>&6 ;;
4383 esac 4395 esac
4384 fi 4396 fi
4385 4397
4386 4398
4387 echo "checking "for specified window system"" 1>&6 4399 echo "checking "for specified window system"" 1>&6
4388 echo "configure:4389: checking "for specified window system"" >&5 4400 echo "configure:4401: checking "for specified window system"" >&5
4389 4401
4390 if test "$with_x11" != "no"; then 4402 if test "$with_x11" != "no"; then
4391 test "$x_includes $x_libraries" != "NONE NONE" && \ 4403 test "$x_includes $x_libraries" != "NONE NONE" && \
4392 window_system=x11 with_x11=yes 4404 window_system=x11 with_x11=yes
4393 4405
4416 # If we find X, set shell vars x_includes and x_libraries to the 4428 # If we find X, set shell vars x_includes and x_libraries to the
4417 # paths, otherwise set no_x=yes. 4429 # paths, otherwise set no_x=yes.
4418 # Uses ac_ vars as temps to allow command line to override cache and checks. 4430 # Uses ac_ vars as temps to allow command line to override cache and checks.
4419 # --without-x overrides everything else, but does not touch the cache. 4431 # --without-x overrides everything else, but does not touch the cache.
4420 echo $ac_n "checking for X""... $ac_c" 1>&6 4432 echo $ac_n "checking for X""... $ac_c" 1>&6
4421 echo "configure:4422: checking for X" >&5 4433 echo "configure:4434: checking for X" >&5
4422 4434
4423 # Check whether --with-x or --without-x was given. 4435 # Check whether --with-x or --without-x was given.
4424 if test "${with_x+set}" = set; then 4436 if test "${with_x+set}" = set; then
4425 withval="$with_x" 4437 withval="$with_x"
4426 : 4438 :
4476 # Guess where to find include files, by looking for this one X11 .h file. 4488 # Guess where to find include files, by looking for this one X11 .h file.
4477 test -z "$x_direct_test_include" && x_direct_test_include=X11/Intrinsic.h 4489 test -z "$x_direct_test_include" && x_direct_test_include=X11/Intrinsic.h
4478 4490
4479 # First, try using that file with no special directory specified. 4491 # First, try using that file with no special directory specified.
4480 cat > conftest.$ac_ext <<EOF 4492 cat > conftest.$ac_ext <<EOF
4481 #line 4482 "configure" 4493 #line 4494 "configure"
4482 #include "confdefs.h" 4494 #include "confdefs.h"
4483 #include <$x_direct_test_include> 4495 #include <$x_direct_test_include>
4484 EOF 4496 EOF
4485 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 4497 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4486 { (eval echo configure:4487: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 4498 { (eval echo configure:4499: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4487 ac_err=`grep -v '^ *+' conftest.out` 4499 ac_err=`grep -v '^ *+' conftest.out`
4488 if test -z "$ac_err"; then 4500 if test -z "$ac_err"; then
4489 rm -rf conftest* 4501 rm -rf conftest*
4490 # We can compile using X headers with no special include directory. 4502 # We can compile using X headers with no special include directory.
4491 ac_x_includes= 4503 ac_x_includes=
4550 # See if we find them without any special options. 4562 # See if we find them without any special options.
4551 # Don't add to $LIBS permanently. 4563 # Don't add to $LIBS permanently.
4552 ac_save_LIBS="$LIBS" 4564 ac_save_LIBS="$LIBS"
4553 LIBS="-l$x_direct_test_library $LIBS" 4565 LIBS="-l$x_direct_test_library $LIBS"
4554 cat > conftest.$ac_ext <<EOF 4566 cat > conftest.$ac_ext <<EOF
4555 #line 4556 "configure" 4567 #line 4568 "configure"
4556 #include "confdefs.h" 4568 #include "confdefs.h"
4557 4569
4558 int main() { 4570 int main() {
4559 ${x_direct_test_function}() 4571 ${x_direct_test_function}()
4560 ; return 0; } 4572 ; return 0; }
4561 EOF 4573 EOF
4562 if { (eval echo configure:4563: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 4574 if { (eval echo configure:4575: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
4563 rm -rf conftest* 4575 rm -rf conftest*
4564 LIBS="$ac_save_LIBS" 4576 LIBS="$ac_save_LIBS"
4565 # We can link X programs with no special library path. 4577 # We can link X programs with no special library path.
4566 ac_x_libraries= 4578 ac_x_libraries=
4567 else 4579 else
4666 # For Solaris; some versions of Sun CC require a space after -R and 4678 # For Solaris; some versions of Sun CC require a space after -R and
4667 # others require no space. Words are not sufficient . . . . 4679 # others require no space. Words are not sufficient . . . .
4668 case "`(uname -sr) 2>/dev/null`" in 4680 case "`(uname -sr) 2>/dev/null`" in
4669 "SunOS 5"*) 4681 "SunOS 5"*)
4670 echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6 4682 echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6
4671 echo "configure:4672: checking whether -R must be followed by a space" >&5 4683 echo "configure:4684: checking whether -R must be followed by a space" >&5
4672 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS -R$x_libraries" 4684 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS -R$x_libraries"
4673 cat > conftest.$ac_ext <<EOF 4685 cat > conftest.$ac_ext <<EOF
4674 #line 4675 "configure" 4686 #line 4687 "configure"
4675 #include "confdefs.h" 4687 #include "confdefs.h"
4676 4688
4677 int main() { 4689 int main() {
4678 4690
4679 ; return 0; } 4691 ; return 0; }
4680 EOF 4692 EOF
4681 if { (eval echo configure:4682: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 4693 if { (eval echo configure:4694: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
4682 rm -rf conftest* 4694 rm -rf conftest*
4683 ac_R_nospace=yes 4695 ac_R_nospace=yes
4684 else 4696 else
4685 echo "configure: failed program was:" >&5 4697 echo "configure: failed program was:" >&5
4686 cat conftest.$ac_ext >&5 4698 cat conftest.$ac_ext >&5
4692 echo "$ac_t""no" 1>&6 4704 echo "$ac_t""no" 1>&6
4693 X_LIBS="$X_LIBS -R$x_libraries" 4705 X_LIBS="$X_LIBS -R$x_libraries"
4694 else 4706 else
4695 LIBS="$ac_xsave_LIBS -R $x_libraries" 4707 LIBS="$ac_xsave_LIBS -R $x_libraries"
4696 cat > conftest.$ac_ext <<EOF 4708 cat > conftest.$ac_ext <<EOF
4697 #line 4698 "configure" 4709 #line 4710 "configure"
4698 #include "confdefs.h" 4710 #include "confdefs.h"
4699 4711
4700 int main() { 4712 int main() {
4701 4713
4702 ; return 0; } 4714 ; return 0; }
4703 EOF 4715 EOF
4704 if { (eval echo configure:4705: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 4716 if { (eval echo configure:4717: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
4705 rm -rf conftest* 4717 rm -rf conftest*
4706 ac_R_space=yes 4718 ac_R_space=yes
4707 else 4719 else
4708 echo "configure: failed program was:" >&5 4720 echo "configure: failed program was:" >&5
4709 cat conftest.$ac_ext >&5 4721 cat conftest.$ac_ext >&5
4735 if test "$with_dnet" = "no" ; then 4747 if test "$with_dnet" = "no" ; then
4736 ac_cv_lib_dnet_dnet_ntoa=no 4748 ac_cv_lib_dnet_dnet_ntoa=no
4737 else 4749 else
4738 4750
4739 echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6 4751 echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6
4740 echo "configure:4741: checking for dnet_ntoa in -ldnet" >&5 4752 echo "configure:4753: checking for dnet_ntoa in -ldnet" >&5
4741 ac_lib_var=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'` 4753 ac_lib_var=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'`
4742 4754
4743 xe_check_libs=" -ldnet " 4755 xe_check_libs=" -ldnet "
4744 cat > conftest.$ac_ext <<EOF 4756 cat > conftest.$ac_ext <<EOF
4745 #line 4746 "configure" 4757 #line 4758 "configure"
4746 #include "confdefs.h" 4758 #include "confdefs.h"
4747 /* Override any gcc2 internal prototype to avoid an error. */ 4759 /* Override any gcc2 internal prototype to avoid an error. */
4748 /* We use char because int might match the return type of a gcc2 4760 /* We use char because int might match the return type of a gcc2
4749 builtin and then its argument prototype would still apply. */ 4761 builtin and then its argument prototype would still apply. */
4750 char dnet_ntoa(); 4762 char dnet_ntoa();
4751 4763
4752 int main() { 4764 int main() {
4753 dnet_ntoa() 4765 dnet_ntoa()
4754 ; return 0; } 4766 ; return 0; }
4755 EOF 4767 EOF
4756 if { (eval echo configure:4757: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 4768 if { (eval echo configure:4769: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
4757 rm -rf conftest* 4769 rm -rf conftest*
4758 eval "ac_cv_lib_$ac_lib_var=yes" 4770 eval "ac_cv_lib_$ac_lib_var=yes"
4759 else 4771 else
4760 echo "configure: failed program was:" >&5 4772 echo "configure: failed program was:" >&5
4761 cat conftest.$ac_ext >&5 4773 cat conftest.$ac_ext >&5
4775 fi 4787 fi
4776 4788
4777 if test $ac_cv_lib_dnet_dnet_ntoa = no; then 4789 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
4778 4790
4779 echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6 4791 echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6
4780 echo "configure:4781: checking for dnet_ntoa in -ldnet_stub" >&5 4792 echo "configure:4793: checking for dnet_ntoa in -ldnet_stub" >&5
4781 ac_lib_var=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'` 4793 ac_lib_var=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'`
4782 4794
4783 xe_check_libs=" -ldnet_stub " 4795 xe_check_libs=" -ldnet_stub "
4784 cat > conftest.$ac_ext <<EOF 4796 cat > conftest.$ac_ext <<EOF
4785 #line 4786 "configure" 4797 #line 4798 "configure"
4786 #include "confdefs.h" 4798 #include "confdefs.h"
4787 /* Override any gcc2 internal prototype to avoid an error. */ 4799 /* Override any gcc2 internal prototype to avoid an error. */
4788 /* We use char because int might match the return type of a gcc2 4800 /* We use char because int might match the return type of a gcc2
4789 builtin and then its argument prototype would still apply. */ 4801 builtin and then its argument prototype would still apply. */
4790 char dnet_ntoa(); 4802 char dnet_ntoa();
4791 4803
4792 int main() { 4804 int main() {
4793 dnet_ntoa() 4805 dnet_ntoa()
4794 ; return 0; } 4806 ; return 0; }
4795 EOF 4807 EOF
4796 if { (eval echo configure:4797: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 4808 if { (eval echo configure:4809: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
4797 rm -rf conftest* 4809 rm -rf conftest*
4798 eval "ac_cv_lib_$ac_lib_var=yes" 4810 eval "ac_cv_lib_$ac_lib_var=yes"
4799 else 4811 else
4800 echo "configure: failed program was:" >&5 4812 echo "configure: failed program was:" >&5
4801 cat conftest.$ac_ext >&5 4813 cat conftest.$ac_ext >&5
4820 # chad@anasazi.com says the Pyramis MIS-ES running DC/OSx (SVR4) 4832 # chad@anasazi.com says the Pyramis MIS-ES running DC/OSx (SVR4)
4821 # needs -lnsl. 4833 # needs -lnsl.
4822 # The nsl library prevents programs from opening the X display 4834 # The nsl library prevents programs from opening the X display
4823 # on Irix 5.2, according to dickey@clark.net. 4835 # on Irix 5.2, according to dickey@clark.net.
4824 echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6 4836 echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6
4825 echo "configure:4826: checking for gethostbyname" >&5 4837 echo "configure:4838: checking for gethostbyname" >&5
4826 4838
4827 cat > conftest.$ac_ext <<EOF 4839 cat > conftest.$ac_ext <<EOF
4828 #line 4829 "configure" 4840 #line 4841 "configure"
4829 #include "confdefs.h" 4841 #include "confdefs.h"
4830 /* System header to define __stub macros and hopefully few prototypes, 4842 /* System header to define __stub macros and hopefully few prototypes,
4831 which can conflict with char gethostbyname(); below. */ 4843 which can conflict with char gethostbyname(); below. */
4832 #include <assert.h> 4844 #include <assert.h>
4833 /* Override any gcc2 internal prototype to avoid an error. */ 4845 /* Override any gcc2 internal prototype to avoid an error. */
4846 gethostbyname(); 4858 gethostbyname();
4847 #endif 4859 #endif
4848 4860
4849 ; return 0; } 4861 ; return 0; }
4850 EOF 4862 EOF
4851 if { (eval echo configure:4852: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 4863 if { (eval echo configure:4864: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
4852 rm -rf conftest* 4864 rm -rf conftest*
4853 eval "ac_cv_func_gethostbyname=yes" 4865 eval "ac_cv_func_gethostbyname=yes"
4854 else 4866 else
4855 echo "configure: failed program was:" >&5 4867 echo "configure: failed program was:" >&5
4856 cat conftest.$ac_ext >&5 4868 cat conftest.$ac_ext >&5
4867 fi 4879 fi
4868 4880
4869 if test $ac_cv_func_gethostbyname = no; then 4881 if test $ac_cv_func_gethostbyname = no; then
4870 4882
4871 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6 4883 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6
4872 echo "configure:4873: checking for gethostbyname in -lnsl" >&5 4884 echo "configure:4885: checking for gethostbyname in -lnsl" >&5
4873 ac_lib_var=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'` 4885 ac_lib_var=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'`
4874 4886
4875 xe_check_libs=" -lnsl " 4887 xe_check_libs=" -lnsl "
4876 cat > conftest.$ac_ext <<EOF 4888 cat > conftest.$ac_ext <<EOF
4877 #line 4878 "configure" 4889 #line 4890 "configure"
4878 #include "confdefs.h" 4890 #include "confdefs.h"
4879 /* Override any gcc2 internal prototype to avoid an error. */ 4891 /* Override any gcc2 internal prototype to avoid an error. */
4880 /* We use char because int might match the return type of a gcc2 4892 /* We use char because int might match the return type of a gcc2
4881 builtin and then its argument prototype would still apply. */ 4893 builtin and then its argument prototype would still apply. */
4882 char gethostbyname(); 4894 char gethostbyname();
4883 4895
4884 int main() { 4896 int main() {
4885 gethostbyname() 4897 gethostbyname()
4886 ; return 0; } 4898 ; return 0; }
4887 EOF 4899 EOF
4888 if { (eval echo configure:4889: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 4900 if { (eval echo configure:4901: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
4889 rm -rf conftest* 4901 rm -rf conftest*
4890 eval "ac_cv_lib_$ac_lib_var=yes" 4902 eval "ac_cv_lib_$ac_lib_var=yes"
4891 else 4903 else
4892 echo "configure: failed program was:" >&5 4904 echo "configure: failed program was:" >&5
4893 cat conftest.$ac_ext >&5 4905 cat conftest.$ac_ext >&5
4913 # on later versions), says simon@lia.di.epfl.ch: it contains 4925 # on later versions), says simon@lia.di.epfl.ch: it contains
4914 # gethostby* variants that don't use the nameserver (or something). 4926 # gethostby* variants that don't use the nameserver (or something).
4915 # -lsocket must be given before -lnsl if both are needed. 4927 # -lsocket must be given before -lnsl if both are needed.
4916 # We assume that if connect needs -lnsl, so does gethostbyname. 4928 # We assume that if connect needs -lnsl, so does gethostbyname.
4917 echo $ac_n "checking for connect""... $ac_c" 1>&6 4929 echo $ac_n "checking for connect""... $ac_c" 1>&6
4918 echo "configure:4919: checking for connect" >&5 4930 echo "configure:4931: checking for connect" >&5
4919 4931
4920 cat > conftest.$ac_ext <<EOF 4932 cat > conftest.$ac_ext <<EOF
4921 #line 4922 "configure" 4933 #line 4934 "configure"
4922 #include "confdefs.h" 4934 #include "confdefs.h"
4923 /* System header to define __stub macros and hopefully few prototypes, 4935 /* System header to define __stub macros and hopefully few prototypes,
4924 which can conflict with char connect(); below. */ 4936 which can conflict with char connect(); below. */
4925 #include <assert.h> 4937 #include <assert.h>
4926 /* Override any gcc2 internal prototype to avoid an error. */ 4938 /* Override any gcc2 internal prototype to avoid an error. */
4939 connect(); 4951 connect();
4940 #endif 4952 #endif
4941 4953
4942 ; return 0; } 4954 ; return 0; }
4943 EOF 4955 EOF
4944 if { (eval echo configure:4945: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 4956 if { (eval echo configure:4957: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
4945 rm -rf conftest* 4957 rm -rf conftest*
4946 eval "ac_cv_func_connect=yes" 4958 eval "ac_cv_func_connect=yes"
4947 else 4959 else
4948 echo "configure: failed program was:" >&5 4960 echo "configure: failed program was:" >&5
4949 cat conftest.$ac_ext >&5 4961 cat conftest.$ac_ext >&5
4962 if test $ac_cv_func_connect = no; then 4974 if test $ac_cv_func_connect = no; then
4963 4975
4964 xe_msg_checking="for connect in -lsocket" 4976 xe_msg_checking="for connect in -lsocket"
4965 test -n "$X_EXTRA_LIBS" && xe_msg_checking="$xe_msg_checking using extra libs $X_EXTRA_LIBS" 4977 test -n "$X_EXTRA_LIBS" && xe_msg_checking="$xe_msg_checking using extra libs $X_EXTRA_LIBS"
4966 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 4978 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6
4967 echo "configure:4968: checking "$xe_msg_checking"" >&5 4979 echo "configure:4980: checking "$xe_msg_checking"" >&5
4968 ac_lib_var=`echo socket'_'connect | sed 'y%./+-%__p_%'` 4980 ac_lib_var=`echo socket'_'connect | sed 'y%./+-%__p_%'`
4969 4981
4970 xe_check_libs=" -lsocket $X_EXTRA_LIBS" 4982 xe_check_libs=" -lsocket $X_EXTRA_LIBS"
4971 cat > conftest.$ac_ext <<EOF 4983 cat > conftest.$ac_ext <<EOF
4972 #line 4973 "configure" 4984 #line 4985 "configure"
4973 #include "confdefs.h" 4985 #include "confdefs.h"
4974 /* Override any gcc2 internal prototype to avoid an error. */ 4986 /* Override any gcc2 internal prototype to avoid an error. */
4975 /* We use char because int might match the return type of a gcc2 4987 /* We use char because int might match the return type of a gcc2
4976 builtin and then its argument prototype would still apply. */ 4988 builtin and then its argument prototype would still apply. */
4977 char connect(); 4989 char connect();
4978 4990
4979 int main() { 4991 int main() {
4980 connect() 4992 connect()
4981 ; return 0; } 4993 ; return 0; }
4982 EOF 4994 EOF
4983 if { (eval echo configure:4984: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 4995 if { (eval echo configure:4996: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
4984 rm -rf conftest* 4996 rm -rf conftest*
4985 eval "ac_cv_lib_$ac_lib_var=yes" 4997 eval "ac_cv_lib_$ac_lib_var=yes"
4986 else 4998 else
4987 echo "configure: failed program was:" >&5 4999 echo "configure: failed program was:" >&5
4988 cat conftest.$ac_ext >&5 5000 cat conftest.$ac_ext >&5
5002 5014
5003 fi 5015 fi
5004 5016
5005 # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX. 5017 # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX.
5006 echo $ac_n "checking for remove""... $ac_c" 1>&6 5018 echo $ac_n "checking for remove""... $ac_c" 1>&6
5007 echo "configure:5008: checking for remove" >&5 5019 echo "configure:5020: checking for remove" >&5
5008 5020
5009 cat > conftest.$ac_ext <<EOF 5021 cat > conftest.$ac_ext <<EOF
5010 #line 5011 "configure" 5022 #line 5023 "configure"
5011 #include "confdefs.h" 5023 #include "confdefs.h"
5012 /* System header to define __stub macros and hopefully few prototypes, 5024 /* System header to define __stub macros and hopefully few prototypes,
5013 which can conflict with char remove(); below. */ 5025 which can conflict with char remove(); below. */
5014 #include <assert.h> 5026 #include <assert.h>
5015 /* Override any gcc2 internal prototype to avoid an error. */ 5027 /* Override any gcc2 internal prototype to avoid an error. */
5028 remove(); 5040 remove();
5029 #endif 5041 #endif
5030 5042
5031 ; return 0; } 5043 ; return 0; }
5032 EOF 5044 EOF
5033 if { (eval echo configure:5034: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 5045 if { (eval echo configure:5046: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
5034 rm -rf conftest* 5046 rm -rf conftest*
5035 eval "ac_cv_func_remove=yes" 5047 eval "ac_cv_func_remove=yes"
5036 else 5048 else
5037 echo "configure: failed program was:" >&5 5049 echo "configure: failed program was:" >&5
5038 cat conftest.$ac_ext >&5 5050 cat conftest.$ac_ext >&5
5049 fi 5061 fi
5050 5062
5051 if test $ac_cv_func_remove = no; then 5063 if test $ac_cv_func_remove = no; then
5052 5064
5053 echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6 5065 echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6
5054 echo "configure:5055: checking for remove in -lposix" >&5 5066 echo "configure:5067: checking for remove in -lposix" >&5
5055 ac_lib_var=`echo posix'_'remove | sed 'y%./+-%__p_%'` 5067 ac_lib_var=`echo posix'_'remove | sed 'y%./+-%__p_%'`
5056 5068
5057 xe_check_libs=" -lposix " 5069 xe_check_libs=" -lposix "
5058 cat > conftest.$ac_ext <<EOF 5070 cat > conftest.$ac_ext <<EOF
5059 #line 5060 "configure" 5071 #line 5072 "configure"
5060 #include "confdefs.h" 5072 #include "confdefs.h"
5061 /* Override any gcc2 internal prototype to avoid an error. */ 5073 /* Override any gcc2 internal prototype to avoid an error. */
5062 /* We use char because int might match the return type of a gcc2 5074 /* We use char because int might match the return type of a gcc2
5063 builtin and then its argument prototype would still apply. */ 5075 builtin and then its argument prototype would still apply. */
5064 char remove(); 5076 char remove();
5065 5077
5066 int main() { 5078 int main() {
5067 remove() 5079 remove()
5068 ; return 0; } 5080 ; return 0; }
5069 EOF 5081 EOF
5070 if { (eval echo configure:5071: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 5082 if { (eval echo configure:5083: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
5071 rm -rf conftest* 5083 rm -rf conftest*
5072 eval "ac_cv_lib_$ac_lib_var=yes" 5084 eval "ac_cv_lib_$ac_lib_var=yes"
5073 else 5085 else
5074 echo "configure: failed program was:" >&5 5086 echo "configure: failed program was:" >&5
5075 cat conftest.$ac_ext >&5 5087 cat conftest.$ac_ext >&5
5089 5101
5090 fi 5102 fi
5091 5103
5092 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay. 5104 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
5093 echo $ac_n "checking for shmat""... $ac_c" 1>&6 5105 echo $ac_n "checking for shmat""... $ac_c" 1>&6
5094 echo "configure:5095: checking for shmat" >&5 5106 echo "configure:5107: checking for shmat" >&5
5095 5107
5096 cat > conftest.$ac_ext <<EOF 5108 cat > conftest.$ac_ext <<EOF
5097 #line 5098 "configure" 5109 #line 5110 "configure"
5098 #include "confdefs.h" 5110 #include "confdefs.h"
5099 /* System header to define __stub macros and hopefully few prototypes, 5111 /* System header to define __stub macros and hopefully few prototypes,
5100 which can conflict with char shmat(); below. */ 5112 which can conflict with char shmat(); below. */
5101 #include <assert.h> 5113 #include <assert.h>
5102 /* Override any gcc2 internal prototype to avoid an error. */ 5114 /* Override any gcc2 internal prototype to avoid an error. */
5115 shmat(); 5127 shmat();
5116 #endif 5128 #endif
5117 5129
5118 ; return 0; } 5130 ; return 0; }
5119 EOF 5131 EOF
5120 if { (eval echo configure:5121: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 5132 if { (eval echo configure:5133: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
5121 rm -rf conftest* 5133 rm -rf conftest*
5122 eval "ac_cv_func_shmat=yes" 5134 eval "ac_cv_func_shmat=yes"
5123 else 5135 else
5124 echo "configure: failed program was:" >&5 5136 echo "configure: failed program was:" >&5
5125 cat conftest.$ac_ext >&5 5137 cat conftest.$ac_ext >&5
5136 fi 5148 fi
5137 5149
5138 if test $ac_cv_func_shmat = no; then 5150 if test $ac_cv_func_shmat = no; then
5139 5151
5140 echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6 5152 echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6
5141 echo "configure:5142: checking for shmat in -lipc" >&5 5153 echo "configure:5154: checking for shmat in -lipc" >&5
5142 ac_lib_var=`echo ipc'_'shmat | sed 'y%./+-%__p_%'` 5154 ac_lib_var=`echo ipc'_'shmat | sed 'y%./+-%__p_%'`
5143 5155
5144 xe_check_libs=" -lipc " 5156 xe_check_libs=" -lipc "
5145 cat > conftest.$ac_ext <<EOF 5157 cat > conftest.$ac_ext <<EOF
5146 #line 5147 "configure" 5158 #line 5159 "configure"
5147 #include "confdefs.h" 5159 #include "confdefs.h"
5148 /* Override any gcc2 internal prototype to avoid an error. */ 5160 /* Override any gcc2 internal prototype to avoid an error. */
5149 /* We use char because int might match the return type of a gcc2 5161 /* We use char because int might match the return type of a gcc2
5150 builtin and then its argument prototype would still apply. */ 5162 builtin and then its argument prototype would still apply. */
5151 char shmat(); 5163 char shmat();
5152 5164
5153 int main() { 5165 int main() {
5154 shmat() 5166 shmat()
5155 ; return 0; } 5167 ; return 0; }
5156 EOF 5168 EOF
5157 if { (eval echo configure:5158: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 5169 if { (eval echo configure:5170: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
5158 rm -rf conftest* 5170 rm -rf conftest*
5159 eval "ac_cv_lib_$ac_lib_var=yes" 5171 eval "ac_cv_lib_$ac_lib_var=yes"
5160 else 5172 else
5161 echo "configure: failed program was:" >&5 5173 echo "configure: failed program was:" >&5
5162 cat conftest.$ac_ext >&5 5174 cat conftest.$ac_ext >&5
5186 # These have to be linked with before -lX11, unlike the other 5198 # These have to be linked with before -lX11, unlike the other
5187 # libraries we check for below, so use a different variable. 5199 # libraries we check for below, so use a different variable.
5188 # --interran@uluru.Stanford.EDU, kb@cs.umb.edu. 5200 # --interran@uluru.Stanford.EDU, kb@cs.umb.edu.
5189 5201
5190 echo $ac_n "checking for IceConnectionNumber in -lICE""... $ac_c" 1>&6 5202 echo $ac_n "checking for IceConnectionNumber in -lICE""... $ac_c" 1>&6
5191 echo "configure:5192: checking for IceConnectionNumber in -lICE" >&5 5203 echo "configure:5204: checking for IceConnectionNumber in -lICE" >&5
5192 ac_lib_var=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'` 5204 ac_lib_var=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'`
5193 5205
5194 xe_check_libs=" -lICE " 5206 xe_check_libs=" -lICE "
5195 cat > conftest.$ac_ext <<EOF 5207 cat > conftest.$ac_ext <<EOF
5196 #line 5197 "configure" 5208 #line 5209 "configure"
5197 #include "confdefs.h" 5209 #include "confdefs.h"
5198 /* Override any gcc2 internal prototype to avoid an error. */ 5210 /* Override any gcc2 internal prototype to avoid an error. */
5199 /* We use char because int might match the return type of a gcc2 5211 /* We use char because int might match the return type of a gcc2
5200 builtin and then its argument prototype would still apply. */ 5212 builtin and then its argument prototype would still apply. */
5201 char IceConnectionNumber(); 5213 char IceConnectionNumber();
5202 5214
5203 int main() { 5215 int main() {
5204 IceConnectionNumber() 5216 IceConnectionNumber()
5205 ; return 0; } 5217 ; return 0; }
5206 EOF 5218 EOF
5207 if { (eval echo configure:5208: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 5219 if { (eval echo configure:5220: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
5208 rm -rf conftest* 5220 rm -rf conftest*
5209 eval "ac_cv_lib_$ac_lib_var=yes" 5221 eval "ac_cv_lib_$ac_lib_var=yes"
5210 else 5222 else
5211 echo "configure: failed program was:" >&5 5223 echo "configure: failed program was:" >&5
5212 cat conftest.$ac_ext >&5 5224 cat conftest.$ac_ext >&5
5371 EOF 5383 EOF
5372 } 5384 }
5373 5385
5374 5386
5375 echo "checking for X defines extracted by xmkmf" 1>&6 5387 echo "checking for X defines extracted by xmkmf" 1>&6
5376 echo "configure:5377: checking for X defines extracted by xmkmf" >&5 5388 echo "configure:5389: checking for X defines extracted by xmkmf" >&5
5377 rm -fr conftestdir 5389 rm -fr conftestdir
5378 if mkdir conftestdir; then 5390 if mkdir conftestdir; then
5379 cd conftestdir 5391 cd conftestdir
5380 cat > Imakefile <<'EOF' 5392 cat > Imakefile <<'EOF'
5381 xetest: 5393 xetest:
5403 done 5415 done
5404 fi 5416 fi
5405 5417
5406 ac_safe=`echo "X11/Intrinsic.h" | sed 'y%./+-%__p_%'` 5418 ac_safe=`echo "X11/Intrinsic.h" | sed 'y%./+-%__p_%'`
5407 echo $ac_n "checking for X11/Intrinsic.h""... $ac_c" 1>&6 5419 echo $ac_n "checking for X11/Intrinsic.h""... $ac_c" 1>&6
5408 echo "configure:5409: checking for X11/Intrinsic.h" >&5 5420 echo "configure:5421: checking for X11/Intrinsic.h" >&5
5409 5421
5410 cat > conftest.$ac_ext <<EOF 5422 cat > conftest.$ac_ext <<EOF
5411 #line 5412 "configure" 5423 #line 5424 "configure"
5412 #include "confdefs.h" 5424 #include "confdefs.h"
5413 #include <X11/Intrinsic.h> 5425 #include <X11/Intrinsic.h>
5414 EOF 5426 EOF
5415 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 5427 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5416 { (eval echo configure:5417: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 5428 { (eval echo configure:5429: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5417 ac_err=`grep -v '^ *+' conftest.out` 5429 ac_err=`grep -v '^ *+' conftest.out`
5418 if test -z "$ac_err"; then 5430 if test -z "$ac_err"; then
5419 rm -rf conftest* 5431 rm -rf conftest*
5420 eval "ac_cv_header_$ac_safe=yes" 5432 eval "ac_cv_header_$ac_safe=yes"
5421 else 5433 else
5435 fi 5447 fi
5436 5448
5437 5449
5438 5450
5439 echo $ac_n "checking for XOpenDisplay in -lX11""... $ac_c" 1>&6 5451 echo $ac_n "checking for XOpenDisplay in -lX11""... $ac_c" 1>&6
5440 echo "configure:5441: checking for XOpenDisplay in -lX11" >&5 5452 echo "configure:5453: checking for XOpenDisplay in -lX11" >&5
5441 ac_lib_var=`echo X11'_'XOpenDisplay | sed 'y%./+-%__p_%'` 5453 ac_lib_var=`echo X11'_'XOpenDisplay | sed 'y%./+-%__p_%'`
5442 5454
5443 xe_check_libs=" -lX11 " 5455 xe_check_libs=" -lX11 "
5444 cat > conftest.$ac_ext <<EOF 5456 cat > conftest.$ac_ext <<EOF
5445 #line 5446 "configure" 5457 #line 5458 "configure"
5446 #include "confdefs.h" 5458 #include "confdefs.h"
5447 /* Override any gcc2 internal prototype to avoid an error. */ 5459 /* Override any gcc2 internal prototype to avoid an error. */
5448 /* We use char because int might match the return type of a gcc2 5460 /* We use char because int might match the return type of a gcc2
5449 builtin and then its argument prototype would still apply. */ 5461 builtin and then its argument prototype would still apply. */
5450 char XOpenDisplay(); 5462 char XOpenDisplay();
5451 5463
5452 int main() { 5464 int main() {
5453 XOpenDisplay() 5465 XOpenDisplay()
5454 ; return 0; } 5466 ; return 0; }
5455 EOF 5467 EOF
5456 if { (eval echo configure:5457: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 5468 if { (eval echo configure:5469: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
5457 rm -rf conftest* 5469 rm -rf conftest*
5458 eval "ac_cv_lib_$ac_lib_var=yes" 5470 eval "ac_cv_lib_$ac_lib_var=yes"
5459 else 5471 else
5460 echo "configure: failed program was:" >&5 5472 echo "configure: failed program was:" >&5
5461 cat conftest.$ac_ext >&5 5473 cat conftest.$ac_ext >&5
5476 if test "$have_lib_x11" != "yes"; then 5488 if test "$have_lib_x11" != "yes"; then
5477 5489
5478 xe_msg_checking="for XGetFontProperty in -lX11" 5490 xe_msg_checking="for XGetFontProperty in -lX11"
5479 test -n "-b i486-linuxaout" && xe_msg_checking="$xe_msg_checking using extra libs -b i486-linuxaout" 5491 test -n "-b i486-linuxaout" && xe_msg_checking="$xe_msg_checking using extra libs -b i486-linuxaout"
5480 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 5492 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6
5481 echo "configure:5482: checking "$xe_msg_checking"" >&5 5493 echo "configure:5494: checking "$xe_msg_checking"" >&5
5482 ac_lib_var=`echo X11'_'XGetFontProperty | sed 'y%./+-%__p_%'` 5494 ac_lib_var=`echo X11'_'XGetFontProperty | sed 'y%./+-%__p_%'`
5483 5495
5484 xe_check_libs=" -lX11 -b i486-linuxaout" 5496 xe_check_libs=" -lX11 -b i486-linuxaout"
5485 cat > conftest.$ac_ext <<EOF 5497 cat > conftest.$ac_ext <<EOF
5486 #line 5487 "configure" 5498 #line 5499 "configure"
5487 #include "confdefs.h" 5499 #include "confdefs.h"
5488 /* Override any gcc2 internal prototype to avoid an error. */ 5500 /* Override any gcc2 internal prototype to avoid an error. */
5489 /* We use char because int might match the return type of a gcc2 5501 /* We use char because int might match the return type of a gcc2
5490 builtin and then its argument prototype would still apply. */ 5502 builtin and then its argument prototype would still apply. */
5491 char XGetFontProperty(); 5503 char XGetFontProperty();
5492 5504
5493 int main() { 5505 int main() {
5494 XGetFontProperty() 5506 XGetFontProperty()
5495 ; return 0; } 5507 ; return 0; }
5496 EOF 5508 EOF
5497 if { (eval echo configure:5498: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 5509 if { (eval echo configure:5510: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
5498 rm -rf conftest* 5510 rm -rf conftest*
5499 eval "ac_cv_lib_$ac_lib_var=yes" 5511 eval "ac_cv_lib_$ac_lib_var=yes"
5500 else 5512 else
5501 echo "configure: failed program was:" >&5 5513 echo "configure: failed program was:" >&5
5502 cat conftest.$ac_ext >&5 5514 cat conftest.$ac_ext >&5
5519 libs_x="-lX11" 5531 libs_x="-lX11"
5520 test "$extra_verbose" = "yes" && echo " Setting libs_x to \"-lX11\"" 5532 test "$extra_verbose" = "yes" && echo " Setting libs_x to \"-lX11\""
5521 5533
5522 5534
5523 echo $ac_n "checking for XShapeSelectInput in -lXext""... $ac_c" 1>&6 5535 echo $ac_n "checking for XShapeSelectInput in -lXext""... $ac_c" 1>&6
5524 echo "configure:5525: checking for XShapeSelectInput in -lXext" >&5 5536 echo "configure:5537: checking for XShapeSelectInput in -lXext" >&5
5525 ac_lib_var=`echo Xext'_'XShapeSelectInput | sed 'y%./+-%__p_%'` 5537 ac_lib_var=`echo Xext'_'XShapeSelectInput | sed 'y%./+-%__p_%'`
5526 5538
5527 xe_check_libs=" -lXext " 5539 xe_check_libs=" -lXext "
5528 cat > conftest.$ac_ext <<EOF 5540 cat > conftest.$ac_ext <<EOF
5529 #line 5530 "configure" 5541 #line 5542 "configure"
5530 #include "confdefs.h" 5542 #include "confdefs.h"
5531 /* Override any gcc2 internal prototype to avoid an error. */ 5543 /* Override any gcc2 internal prototype to avoid an error. */
5532 /* We use char because int might match the return type of a gcc2 5544 /* We use char because int might match the return type of a gcc2
5533 builtin and then its argument prototype would still apply. */ 5545 builtin and then its argument prototype would still apply. */
5534 char XShapeSelectInput(); 5546 char XShapeSelectInput();
5535 5547
5536 int main() { 5548 int main() {
5537 XShapeSelectInput() 5549 XShapeSelectInput()
5538 ; return 0; } 5550 ; return 0; }
5539 EOF 5551 EOF
5540 if { (eval echo configure:5541: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 5552 if { (eval echo configure:5553: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
5541 rm -rf conftest* 5553 rm -rf conftest*
5542 eval "ac_cv_lib_$ac_lib_var=yes" 5554 eval "ac_cv_lib_$ac_lib_var=yes"
5543 else 5555 else
5544 echo "configure: failed program was:" >&5 5556 echo "configure: failed program was:" >&5
5545 cat conftest.$ac_ext >&5 5557 cat conftest.$ac_ext >&5
5558 5570
5559 5571
5560 5572
5561 5573
5562 echo $ac_n "checking for XtOpenDisplay in -lXt""... $ac_c" 1>&6 5574 echo $ac_n "checking for XtOpenDisplay in -lXt""... $ac_c" 1>&6
5563 echo "configure:5564: checking for XtOpenDisplay in -lXt" >&5 5575 echo "configure:5576: checking for XtOpenDisplay in -lXt" >&5
5564 ac_lib_var=`echo Xt'_'XtOpenDisplay | sed 'y%./+-%__p_%'` 5576 ac_lib_var=`echo Xt'_'XtOpenDisplay | sed 'y%./+-%__p_%'`
5565 5577
5566 xe_check_libs=" -lXt " 5578 xe_check_libs=" -lXt "
5567 cat > conftest.$ac_ext <<EOF 5579 cat > conftest.$ac_ext <<EOF
5568 #line 5569 "configure" 5580 #line 5581 "configure"
5569 #include "confdefs.h" 5581 #include "confdefs.h"
5570 /* Override any gcc2 internal prototype to avoid an error. */ 5582 /* Override any gcc2 internal prototype to avoid an error. */
5571 /* We use char because int might match the return type of a gcc2 5583 /* We use char because int might match the return type of a gcc2
5572 builtin and then its argument prototype would still apply. */ 5584 builtin and then its argument prototype would still apply. */
5573 char XtOpenDisplay(); 5585 char XtOpenDisplay();
5574 5586
5575 int main() { 5587 int main() {
5576 XtOpenDisplay() 5588 XtOpenDisplay()
5577 ; return 0; } 5589 ; return 0; }
5578 EOF 5590 EOF
5579 if { (eval echo configure:5580: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 5591 if { (eval echo configure:5592: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
5580 rm -rf conftest* 5592 rm -rf conftest*
5581 eval "ac_cv_lib_$ac_lib_var=yes" 5593 eval "ac_cv_lib_$ac_lib_var=yes"
5582 else 5594 else
5583 echo "configure: failed program was:" >&5 5595 echo "configure: failed program was:" >&5
5584 cat conftest.$ac_ext >&5 5596 cat conftest.$ac_ext >&5
5597 fi 5609 fi
5598 5610
5599 5611
5600 5612
5601 echo $ac_n "checking the version of X11 being used""... $ac_c" 1>&6 5613 echo $ac_n "checking the version of X11 being used""... $ac_c" 1>&6
5602 echo "configure:5603: checking the version of X11 being used" >&5 5614 echo "configure:5615: checking the version of X11 being used" >&5
5603 cat > conftest.$ac_ext <<EOF 5615 cat > conftest.$ac_ext <<EOF
5604 #line 5605 "configure" 5616 #line 5617 "configure"
5605 #include "confdefs.h" 5617 #include "confdefs.h"
5606 #include <X11/Intrinsic.h> 5618 #include <X11/Intrinsic.h>
5607 int main(int c, char *v[]) { return c>1 ? XlibSpecificationRelease : 0; } 5619 int main(int c, char *v[]) { return c>1 ? XlibSpecificationRelease : 0; }
5608 EOF 5620 EOF
5609 if { (eval echo configure:5610: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 5621 if { (eval echo configure:5622: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5
5610 then 5622 then
5611 ./conftest foobar; x11_release=$? 5623 ./conftest foobar; x11_release=$?
5612 else 5624 else
5613 conftest_rc="$?" 5625 conftest_rc="$?"
5614 echo "configure: failed program was:" >&5 5626 echo "configure: failed program was:" >&5
5629 5641
5630 for ac_hdr in X11/Xlocale.h 5642 for ac_hdr in X11/Xlocale.h
5631 do 5643 do
5632 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 5644 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
5633 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 5645 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
5634 echo "configure:5635: checking for $ac_hdr" >&5 5646 echo "configure:5647: checking for $ac_hdr" >&5
5635 5647
5636 cat > conftest.$ac_ext <<EOF 5648 cat > conftest.$ac_ext <<EOF
5637 #line 5638 "configure" 5649 #line 5650 "configure"
5638 #include "confdefs.h" 5650 #include "confdefs.h"
5639 #include <$ac_hdr> 5651 #include <$ac_hdr>
5640 EOF 5652 EOF
5641 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 5653 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5642 { (eval echo configure:5643: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 5654 { (eval echo configure:5655: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5643 ac_err=`grep -v '^ *+' conftest.out` 5655 ac_err=`grep -v '^ *+' conftest.out`
5644 if test -z "$ac_err"; then 5656 if test -z "$ac_err"; then
5645 rm -rf conftest* 5657 rm -rf conftest*
5646 eval "ac_cv_header_$ac_safe=yes" 5658 eval "ac_cv_header_$ac_safe=yes"
5647 else 5659 else
5668 fi 5680 fi
5669 done 5681 done
5670 5682
5671 5683
5672 echo $ac_n "checking for XFree86""... $ac_c" 1>&6 5684 echo $ac_n "checking for XFree86""... $ac_c" 1>&6
5673 echo "configure:5674: checking for XFree86" >&5 5685 echo "configure:5686: checking for XFree86" >&5
5674 if test -d "/usr/X386/include" -o \ 5686 if test -d "/usr/X386/include" -o \
5675 -f "/etc/XF86Config" -o \ 5687 -f "/etc/XF86Config" -o \
5676 -f "/etc/X11/XF86Config" -o \ 5688 -f "/etc/X11/XF86Config" -o \
5677 -f "/usr/X11R6/lib/X11/XF86Config"; then 5689 -f "/usr/X11R6/lib/X11/XF86Config"; then
5678 echo "$ac_t""yes" 1>&6 5690 echo "$ac_t""yes" 1>&6
5688 echo "$ac_t""no" 1>&6 5700 echo "$ac_t""no" 1>&6
5689 fi 5701 fi
5690 5702
5691 test -z "$with_xmu" && { 5703 test -z "$with_xmu" && {
5692 echo $ac_n "checking for XmuReadBitmapDataFromFile in -lXmu""... $ac_c" 1>&6 5704 echo $ac_n "checking for XmuReadBitmapDataFromFile in -lXmu""... $ac_c" 1>&6
5693 echo "configure:5694: checking for XmuReadBitmapDataFromFile in -lXmu" >&5 5705 echo "configure:5706: checking for XmuReadBitmapDataFromFile in -lXmu" >&5
5694 ac_lib_var=`echo Xmu'_'XmuReadBitmapDataFromFile | sed 'y%./+-%__p_%'` 5706 ac_lib_var=`echo Xmu'_'XmuReadBitmapDataFromFile | sed 'y%./+-%__p_%'`
5695 5707
5696 xe_check_libs=" -lXmu " 5708 xe_check_libs=" -lXmu "
5697 cat > conftest.$ac_ext <<EOF 5709 cat > conftest.$ac_ext <<EOF
5698 #line 5699 "configure" 5710 #line 5711 "configure"
5699 #include "confdefs.h" 5711 #include "confdefs.h"
5700 /* Override any gcc2 internal prototype to avoid an error. */ 5712 /* Override any gcc2 internal prototype to avoid an error. */
5701 /* We use char because int might match the return type of a gcc2 5713 /* We use char because int might match the return type of a gcc2
5702 builtin and then its argument prototype would still apply. */ 5714 builtin and then its argument prototype would still apply. */
5703 char XmuReadBitmapDataFromFile(); 5715 char XmuReadBitmapDataFromFile();
5704 5716
5705 int main() { 5717 int main() {
5706 XmuReadBitmapDataFromFile() 5718 XmuReadBitmapDataFromFile()
5707 ; return 0; } 5719 ; return 0; }
5708 EOF 5720 EOF
5709 if { (eval echo configure:5710: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 5721 if { (eval echo configure:5722: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
5710 rm -rf conftest* 5722 rm -rf conftest*
5711 eval "ac_cv_lib_$ac_lib_var=yes" 5723 eval "ac_cv_lib_$ac_lib_var=yes"
5712 else 5724 else
5713 echo "configure: failed program was:" >&5 5725 echo "configure: failed program was:" >&5
5714 cat conftest.$ac_ext >&5 5726 cat conftest.$ac_ext >&5
5743 5755
5744 fi 5756 fi
5745 5757
5746 5758
5747 echo $ac_n "checking for main in -lXbsd""... $ac_c" 1>&6 5759 echo $ac_n "checking for main in -lXbsd""... $ac_c" 1>&6
5748 echo "configure:5749: checking for main in -lXbsd" >&5 5760 echo "configure:5761: checking for main in -lXbsd" >&5
5749 ac_lib_var=`echo Xbsd'_'main | sed 'y%./+-%__p_%'` 5761 ac_lib_var=`echo Xbsd'_'main | sed 'y%./+-%__p_%'`
5750 5762
5751 xe_check_libs=" -lXbsd " 5763 xe_check_libs=" -lXbsd "
5752 cat > conftest.$ac_ext <<EOF 5764 cat > conftest.$ac_ext <<EOF
5753 #line 5754 "configure" 5765 #line 5766 "configure"
5754 #include "confdefs.h" 5766 #include "confdefs.h"
5755 5767
5756 int main() { 5768 int main() {
5757 main() 5769 main()
5758 ; return 0; } 5770 ; return 0; }
5759 EOF 5771 EOF
5760 if { (eval echo configure:5761: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 5772 if { (eval echo configure:5773: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
5761 rm -rf conftest* 5773 rm -rf conftest*
5762 eval "ac_cv_lib_$ac_lib_var=yes" 5774 eval "ac_cv_lib_$ac_lib_var=yes"
5763 else 5775 else
5764 echo "configure: failed program was:" >&5 5776 echo "configure: failed program was:" >&5
5765 cat conftest.$ac_ext >&5 5777 cat conftest.$ac_ext >&5
5792 fi 5804 fi
5793 5805
5794 fi 5806 fi
5795 if test "$with_msw" != "no"; then 5807 if test "$with_msw" != "no"; then
5796 echo "checking for MS-Windows" 1>&6 5808 echo "checking for MS-Windows" 1>&6
5797 echo "configure:5798: checking for MS-Windows" >&5 5809 echo "configure:5810: checking for MS-Windows" >&5
5798 5810
5799 echo $ac_n "checking for main in -lgdi32""... $ac_c" 1>&6 5811 echo $ac_n "checking for main in -lgdi32""... $ac_c" 1>&6
5800 echo "configure:5801: checking for main in -lgdi32" >&5 5812 echo "configure:5813: checking for main in -lgdi32" >&5
5801 ac_lib_var=`echo gdi32'_'main | sed 'y%./+-%__p_%'` 5813 ac_lib_var=`echo gdi32'_'main | sed 'y%./+-%__p_%'`
5802 5814
5803 xe_check_libs=" -lgdi32 " 5815 xe_check_libs=" -lgdi32 "
5804 cat > conftest.$ac_ext <<EOF 5816 cat > conftest.$ac_ext <<EOF
5805 #line 5806 "configure" 5817 #line 5818 "configure"
5806 #include "confdefs.h" 5818 #include "confdefs.h"
5807 5819
5808 int main() { 5820 int main() {
5809 main() 5821 main()
5810 ; return 0; } 5822 ; return 0; }
5811 EOF 5823 EOF
5812 if { (eval echo configure:5813: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 5824 if { (eval echo configure:5825: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
5813 rm -rf conftest* 5825 rm -rf conftest*
5814 eval "ac_cv_lib_$ac_lib_var=yes" 5826 eval "ac_cv_lib_$ac_lib_var=yes"
5815 else 5827 else
5816 echo "configure: failed program was:" >&5 5828 echo "configure: failed program was:" >&5
5817 cat conftest.$ac_ext >&5 5829 cat conftest.$ac_ext >&5
5872 test "$with_dialogs" != "no" && extra_objs="$extra_objs dialog-msw.o" && if test "$extra_verbose" = "yes"; then 5884 test "$with_dialogs" != "no" && extra_objs="$extra_objs dialog-msw.o" && if test "$extra_verbose" = "yes"; then
5873 echo " xemacs will be linked with \"dialog-msw.o\"" 5885 echo " xemacs will be linked with \"dialog-msw.o\""
5874 fi 5886 fi
5875 fi 5887 fi
5876 cat > conftest.$ac_ext <<EOF 5888 cat > conftest.$ac_ext <<EOF
5877 #line 5878 "configure" 5889 #line 5890 "configure"
5878 #include "confdefs.h" 5890 #include "confdefs.h"
5879 #include <fcntl.h> 5891 #include <fcntl.h>
5880 int main() { return (open("/dev/windows", O_RDONLY, 0) > 0)? 0 : 1; } 5892 int main() { return (open("/dev/windows", O_RDONLY, 0) > 0)? 0 : 1; }
5881 EOF 5893 EOF
5882 if { (eval echo configure:5883: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 5894 if { (eval echo configure:5895: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5
5883 then 5895 then
5884 { test "$extra_verbose" = "yes" && cat << \EOF 5896 { test "$extra_verbose" = "yes" && cat << \EOF
5885 Defining HAVE_MSG_SELECT 5897 Defining HAVE_MSG_SELECT
5886 EOF 5898 EOF
5887 cat >> confdefs.h <<\EOF 5899 cat >> confdefs.h <<\EOF
5956 test "$opsys" = "hpux9" && opsysfile="s/hpux9-x11r4.h" 5968 test "$opsys" = "hpux9" && opsysfile="s/hpux9-x11r4.h"
5957 test "$opsys" = "hpux9-shr" && opsysfile="s/hpux9shxr4.h" 5969 test "$opsys" = "hpux9-shr" && opsysfile="s/hpux9shxr4.h"
5958 esac 5970 esac
5959 5971
5960 echo "checking for session-management option" 1>&6 5972 echo "checking for session-management option" 1>&6
5961 echo "configure:5962: checking for session-management option" >&5; 5973 echo "configure:5974: checking for session-management option" >&5;
5962 if test "$with_session" != "no"; then 5974 if test "$with_session" != "no"; then
5963 { test "$extra_verbose" = "yes" && cat << \EOF 5975 { test "$extra_verbose" = "yes" && cat << \EOF
5964 Defining HAVE_SESSION 5976 Defining HAVE_SESSION
5965 EOF 5977 EOF
5966 cat >> confdefs.h <<\EOF 5978 cat >> confdefs.h <<\EOF
5971 fi 5983 fi
5972 5984
5973 test -z "$with_xauth" && test "$window_system" = "none" && with_xauth=no 5985 test -z "$with_xauth" && test "$window_system" = "none" && with_xauth=no
5974 test -z "$with_xauth" && { ac_safe=`echo "X11/Xauth.h" | sed 'y%./+-%__p_%'` 5986 test -z "$with_xauth" && { ac_safe=`echo "X11/Xauth.h" | sed 'y%./+-%__p_%'`
5975 echo $ac_n "checking for X11/Xauth.h""... $ac_c" 1>&6 5987 echo $ac_n "checking for X11/Xauth.h""... $ac_c" 1>&6
5976 echo "configure:5977: checking for X11/Xauth.h" >&5 5988 echo "configure:5989: checking for X11/Xauth.h" >&5
5977 5989
5978 cat > conftest.$ac_ext <<EOF 5990 cat > conftest.$ac_ext <<EOF
5979 #line 5980 "configure" 5991 #line 5992 "configure"
5980 #include "confdefs.h" 5992 #include "confdefs.h"
5981 #include <X11/Xauth.h> 5993 #include <X11/Xauth.h>
5982 EOF 5994 EOF
5983 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 5995 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5984 { (eval echo configure:5985: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 5996 { (eval echo configure:5997: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5985 ac_err=`grep -v '^ *+' conftest.out` 5997 ac_err=`grep -v '^ *+' conftest.out`
5986 if test -z "$ac_err"; then 5998 if test -z "$ac_err"; then
5987 rm -rf conftest* 5999 rm -rf conftest*
5988 eval "ac_cv_header_$ac_safe=yes" 6000 eval "ac_cv_header_$ac_safe=yes"
5989 else 6001 else
6002 with_xauth=no 6014 with_xauth=no
6003 fi 6015 fi
6004 } 6016 }
6005 test -z "$with_xauth" && { 6017 test -z "$with_xauth" && {
6006 echo $ac_n "checking for XauGetAuthByAddr in -lXau""... $ac_c" 1>&6 6018 echo $ac_n "checking for XauGetAuthByAddr in -lXau""... $ac_c" 1>&6
6007 echo "configure:6008: checking for XauGetAuthByAddr in -lXau" >&5 6019 echo "configure:6020: checking for XauGetAuthByAddr in -lXau" >&5
6008 ac_lib_var=`echo Xau'_'XauGetAuthByAddr | sed 'y%./+-%__p_%'` 6020 ac_lib_var=`echo Xau'_'XauGetAuthByAddr | sed 'y%./+-%__p_%'`
6009 6021
6010 xe_check_libs=" -lXau " 6022 xe_check_libs=" -lXau "
6011 cat > conftest.$ac_ext <<EOF 6023 cat > conftest.$ac_ext <<EOF
6012 #line 6013 "configure" 6024 #line 6025 "configure"
6013 #include "confdefs.h" 6025 #include "confdefs.h"
6014 /* Override any gcc2 internal prototype to avoid an error. */ 6026 /* Override any gcc2 internal prototype to avoid an error. */
6015 /* We use char because int might match the return type of a gcc2 6027 /* We use char because int might match the return type of a gcc2
6016 builtin and then its argument prototype would still apply. */ 6028 builtin and then its argument prototype would still apply. */
6017 char XauGetAuthByAddr(); 6029 char XauGetAuthByAddr();
6018 6030
6019 int main() { 6031 int main() {
6020 XauGetAuthByAddr() 6032 XauGetAuthByAddr()
6021 ; return 0; } 6033 ; return 0; }
6022 EOF 6034 EOF
6023 if { (eval echo configure:6024: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 6035 if { (eval echo configure:6036: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
6024 rm -rf conftest* 6036 rm -rf conftest*
6025 eval "ac_cv_lib_$ac_lib_var=yes" 6037 eval "ac_cv_lib_$ac_lib_var=yes"
6026 else 6038 else
6027 echo "configure: failed program was:" >&5 6039 echo "configure: failed program was:" >&5
6028 cat conftest.$ac_ext >&5 6040 cat conftest.$ac_ext >&5
6063 6075
6064 if test "$with_tooltalk" != "no" ; then 6076 if test "$with_tooltalk" != "no" ; then
6065 for dir in "" "Tt/" "desktop/" ; do 6077 for dir in "" "Tt/" "desktop/" ; do
6066 ac_safe=`echo "${dir}tt_c.h" | sed 'y%./+-%__p_%'` 6078 ac_safe=`echo "${dir}tt_c.h" | sed 'y%./+-%__p_%'`
6067 echo $ac_n "checking for ${dir}tt_c.h""... $ac_c" 1>&6 6079 echo $ac_n "checking for ${dir}tt_c.h""... $ac_c" 1>&6
6068 echo "configure:6069: checking for ${dir}tt_c.h" >&5 6080 echo "configure:6081: checking for ${dir}tt_c.h" >&5
6069 6081
6070 cat > conftest.$ac_ext <<EOF 6082 cat > conftest.$ac_ext <<EOF
6071 #line 6072 "configure" 6083 #line 6084 "configure"
6072 #include "confdefs.h" 6084 #include "confdefs.h"
6073 #include <${dir}tt_c.h> 6085 #include <${dir}tt_c.h>
6074 EOF 6086 EOF
6075 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 6087 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6076 { (eval echo configure:6077: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 6088 { (eval echo configure:6089: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6077 ac_err=`grep -v '^ *+' conftest.out` 6089 ac_err=`grep -v '^ *+' conftest.out`
6078 if test -z "$ac_err"; then 6090 if test -z "$ac_err"; then
6079 rm -rf conftest* 6091 rm -rf conftest*
6080 eval "ac_cv_header_$ac_safe=yes" 6092 eval "ac_cv_header_$ac_safe=yes"
6081 else 6093 else
6107 for extra_libs in "" "-lI18N -lce" "-lcxx"; do 6119 for extra_libs in "" "-lI18N -lce" "-lcxx"; do
6108 6120
6109 xe_msg_checking="for tt_message_create in -ltt" 6121 xe_msg_checking="for tt_message_create in -ltt"
6110 test -n "$extra_libs" && xe_msg_checking="$xe_msg_checking using extra libs $extra_libs" 6122 test -n "$extra_libs" && xe_msg_checking="$xe_msg_checking using extra libs $extra_libs"
6111 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 6123 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6
6112 echo "configure:6113: checking "$xe_msg_checking"" >&5 6124 echo "configure:6125: checking "$xe_msg_checking"" >&5
6113 ac_lib_var=`echo tt'_'tt_message_create | sed 'y%./+-%__p_%'` 6125 ac_lib_var=`echo tt'_'tt_message_create | sed 'y%./+-%__p_%'`
6114 6126
6115 xe_check_libs=" -ltt $extra_libs" 6127 xe_check_libs=" -ltt $extra_libs"
6116 cat > conftest.$ac_ext <<EOF 6128 cat > conftest.$ac_ext <<EOF
6117 #line 6118 "configure" 6129 #line 6130 "configure"
6118 #include "confdefs.h" 6130 #include "confdefs.h"
6119 /* Override any gcc2 internal prototype to avoid an error. */ 6131 /* Override any gcc2 internal prototype to avoid an error. */
6120 /* We use char because int might match the return type of a gcc2 6132 /* We use char because int might match the return type of a gcc2
6121 builtin and then its argument prototype would still apply. */ 6133 builtin and then its argument prototype would still apply. */
6122 char tt_message_create(); 6134 char tt_message_create();
6123 6135
6124 int main() { 6136 int main() {
6125 tt_message_create() 6137 tt_message_create()
6126 ; return 0; } 6138 ; return 0; }
6127 EOF 6139 EOF
6128 if { (eval echo configure:6129: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 6140 if { (eval echo configure:6141: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
6129 rm -rf conftest* 6141 rm -rf conftest*
6130 eval "ac_cv_lib_$ac_lib_var=yes" 6142 eval "ac_cv_lib_$ac_lib_var=yes"
6131 else 6143 else
6132 echo "configure: failed program was:" >&5 6144 echo "configure: failed program was:" >&5
6133 cat conftest.$ac_ext >&5 6145 cat conftest.$ac_ext >&5
6180 fi 6192 fi
6181 fi 6193 fi
6182 6194
6183 test -z "$with_cde" && { ac_safe=`echo "Dt/Dt.h" | sed 'y%./+-%__p_%'` 6195 test -z "$with_cde" && { ac_safe=`echo "Dt/Dt.h" | sed 'y%./+-%__p_%'`
6184 echo $ac_n "checking for Dt/Dt.h""... $ac_c" 1>&6 6196 echo $ac_n "checking for Dt/Dt.h""... $ac_c" 1>&6
6185 echo "configure:6186: checking for Dt/Dt.h" >&5 6197 echo "configure:6198: checking for Dt/Dt.h" >&5
6186 6198
6187 cat > conftest.$ac_ext <<EOF 6199 cat > conftest.$ac_ext <<EOF
6188 #line 6189 "configure" 6200 #line 6201 "configure"
6189 #include "confdefs.h" 6201 #include "confdefs.h"
6190 #include <Dt/Dt.h> 6202 #include <Dt/Dt.h>
6191 EOF 6203 EOF
6192 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 6204 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6193 { (eval echo configure:6194: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 6205 { (eval echo configure:6206: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6194 ac_err=`grep -v '^ *+' conftest.out` 6206 ac_err=`grep -v '^ *+' conftest.out`
6195 if test -z "$ac_err"; then 6207 if test -z "$ac_err"; then
6196 rm -rf conftest* 6208 rm -rf conftest*
6197 eval "ac_cv_header_$ac_safe=yes" 6209 eval "ac_cv_header_$ac_safe=yes"
6198 else 6210 else
6211 with_cde=no 6223 with_cde=no
6212 fi 6224 fi
6213 } 6225 }
6214 test -z "$with_cde" && { 6226 test -z "$with_cde" && {
6215 echo $ac_n "checking for DtDndDragStart in -lDtSvc""... $ac_c" 1>&6 6227 echo $ac_n "checking for DtDndDragStart in -lDtSvc""... $ac_c" 1>&6
6216 echo "configure:6217: checking for DtDndDragStart in -lDtSvc" >&5 6228 echo "configure:6229: checking for DtDndDragStart in -lDtSvc" >&5
6217 ac_lib_var=`echo DtSvc'_'DtDndDragStart | sed 'y%./+-%__p_%'` 6229 ac_lib_var=`echo DtSvc'_'DtDndDragStart | sed 'y%./+-%__p_%'`
6218 6230
6219 xe_check_libs=" -lDtSvc " 6231 xe_check_libs=" -lDtSvc "
6220 cat > conftest.$ac_ext <<EOF 6232 cat > conftest.$ac_ext <<EOF
6221 #line 6222 "configure" 6233 #line 6234 "configure"
6222 #include "confdefs.h" 6234 #include "confdefs.h"
6223 /* Override any gcc2 internal prototype to avoid an error. */ 6235 /* Override any gcc2 internal prototype to avoid an error. */
6224 /* We use char because int might match the return type of a gcc2 6236 /* We use char because int might match the return type of a gcc2
6225 builtin and then its argument prototype would still apply. */ 6237 builtin and then its argument prototype would still apply. */
6226 char DtDndDragStart(); 6238 char DtDndDragStart();
6227 6239
6228 int main() { 6240 int main() {
6229 DtDndDragStart() 6241 DtDndDragStart()
6230 ; return 0; } 6242 ; return 0; }
6231 EOF 6243 EOF
6232 if { (eval echo configure:6233: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 6244 if { (eval echo configure:6245: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
6233 rm -rf conftest* 6245 rm -rf conftest*
6234 eval "ac_cv_lib_$ac_lib_var=yes" 6246 eval "ac_cv_lib_$ac_lib_var=yes"
6235 else 6247 else
6236 echo "configure: failed program was:" >&5 6248 echo "configure: failed program was:" >&5
6237 cat conftest.$ac_ext >&5 6249 cat conftest.$ac_ext >&5
6296 dnd_objs="$dnd_objs offix.o" && if test "$extra_verbose" = "yes"; then echo " Appending \"offix.o\" to \$dnd_objs"; fi 6308 dnd_objs="$dnd_objs offix.o" && if test "$extra_verbose" = "yes"; then echo " Appending \"offix.o\" to \$dnd_objs"; fi
6297 dragndrop_proto="$dragndrop_proto OffiX" && if test "$extra_verbose" = "yes"; then echo " Appending \"OffiX\" to \$dragndrop_proto"; fi 6309 dragndrop_proto="$dragndrop_proto OffiX" && if test "$extra_verbose" = "yes"; then echo " Appending \"OffiX\" to \$dragndrop_proto"; fi
6298 fi 6310 fi
6299 6311
6300 echo $ac_n "checking if drag and drop API is needed""... $ac_c" 1>&6 6312 echo $ac_n "checking if drag and drop API is needed""... $ac_c" 1>&6
6301 echo "configure:6302: checking if drag and drop API is needed" >&5 6313 echo "configure:6314: checking if drag and drop API is needed" >&5
6302 if test "$with_dragndrop" != "no" ; then 6314 if test "$with_dragndrop" != "no" ; then
6303 if test -n "$dragndrop_proto" ; then 6315 if test -n "$dragndrop_proto" ; then
6304 with_dragndrop=yes 6316 with_dragndrop=yes
6305 echo "$ac_t""yes (${dragndrop_proto} )" 1>&6 6317 echo "$ac_t""yes (${dragndrop_proto} )" 1>&6
6306 { test "$extra_verbose" = "yes" && cat << \EOF 6318 { test "$extra_verbose" = "yes" && cat << \EOF
6317 echo "$ac_t""no" 1>&6 6329 echo "$ac_t""no" 1>&6
6318 fi 6330 fi
6319 fi 6331 fi
6320 6332
6321 echo "checking for LDAP" 1>&6 6333 echo "checking for LDAP" 1>&6
6322 echo "configure:6323: checking for LDAP" >&5 6334 echo "configure:6335: checking for LDAP" >&5
6323 test -z "$with_ldap" && { ac_safe=`echo "ldap.h" | sed 'y%./+-%__p_%'` 6335 test -z "$with_ldap" && { ac_safe=`echo "ldap.h" | sed 'y%./+-%__p_%'`
6324 echo $ac_n "checking for ldap.h""... $ac_c" 1>&6 6336 echo $ac_n "checking for ldap.h""... $ac_c" 1>&6
6325 echo "configure:6326: checking for ldap.h" >&5 6337 echo "configure:6338: checking for ldap.h" >&5
6326 6338
6327 cat > conftest.$ac_ext <<EOF 6339 cat > conftest.$ac_ext <<EOF
6328 #line 6329 "configure" 6340 #line 6341 "configure"
6329 #include "confdefs.h" 6341 #include "confdefs.h"
6330 #include <ldap.h> 6342 #include <ldap.h>
6331 EOF 6343 EOF
6332 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 6344 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6333 { (eval echo configure:6334: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 6345 { (eval echo configure:6346: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6334 ac_err=`grep -v '^ *+' conftest.out` 6346 ac_err=`grep -v '^ *+' conftest.out`
6335 if test -z "$ac_err"; then 6347 if test -z "$ac_err"; then
6336 rm -rf conftest* 6348 rm -rf conftest*
6337 eval "ac_cv_header_$ac_safe=yes" 6349 eval "ac_cv_header_$ac_safe=yes"
6338 else 6350 else
6351 with_ldap=no 6363 with_ldap=no
6352 fi 6364 fi
6353 } 6365 }
6354 test -z "$with_ldap" && { ac_safe=`echo "lber.h" | sed 'y%./+-%__p_%'` 6366 test -z "$with_ldap" && { ac_safe=`echo "lber.h" | sed 'y%./+-%__p_%'`
6355 echo $ac_n "checking for lber.h""... $ac_c" 1>&6 6367 echo $ac_n "checking for lber.h""... $ac_c" 1>&6
6356 echo "configure:6357: checking for lber.h" >&5 6368 echo "configure:6369: checking for lber.h" >&5
6357 6369
6358 cat > conftest.$ac_ext <<EOF 6370 cat > conftest.$ac_ext <<EOF
6359 #line 6360 "configure" 6371 #line 6372 "configure"
6360 #include "confdefs.h" 6372 #include "confdefs.h"
6361 #include <lber.h> 6373 #include <lber.h>
6362 EOF 6374 EOF
6363 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 6375 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6364 { (eval echo configure:6365: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 6376 { (eval echo configure:6377: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6365 ac_err=`grep -v '^ *+' conftest.out` 6377 ac_err=`grep -v '^ *+' conftest.out`
6366 if test -z "$ac_err"; then 6378 if test -z "$ac_err"; then
6367 rm -rf conftest* 6379 rm -rf conftest*
6368 eval "ac_cv_header_$ac_safe=yes" 6380 eval "ac_cv_header_$ac_safe=yes"
6369 else 6381 else
6385 if test "$with_ldap" != "no"; then 6397 if test "$with_ldap" != "no"; then
6386 test -z "$with_umich_ldap" && { 6398 test -z "$with_umich_ldap" && {
6387 xe_msg_checking="for ldap_open in -lldap" 6399 xe_msg_checking="for ldap_open in -lldap"
6388 test -n "-llber" && xe_msg_checking="$xe_msg_checking using extra libs -llber" 6400 test -n "-llber" && xe_msg_checking="$xe_msg_checking using extra libs -llber"
6389 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 6401 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6
6390 echo "configure:6391: checking "$xe_msg_checking"" >&5 6402 echo "configure:6403: checking "$xe_msg_checking"" >&5
6391 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` 6403 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'`
6392 6404
6393 xe_check_libs=" -lldap -llber" 6405 xe_check_libs=" -lldap -llber"
6394 cat > conftest.$ac_ext <<EOF 6406 cat > conftest.$ac_ext <<EOF
6395 #line 6396 "configure" 6407 #line 6408 "configure"
6396 #include "confdefs.h" 6408 #include "confdefs.h"
6397 /* Override any gcc2 internal prototype to avoid an error. */ 6409 /* Override any gcc2 internal prototype to avoid an error. */
6398 /* We use char because int might match the return type of a gcc2 6410 /* We use char because int might match the return type of a gcc2
6399 builtin and then its argument prototype would still apply. */ 6411 builtin and then its argument prototype would still apply. */
6400 char ldap_open(); 6412 char ldap_open();
6401 6413
6402 int main() { 6414 int main() {
6403 ldap_open() 6415 ldap_open()
6404 ; return 0; } 6416 ; return 0; }
6405 EOF 6417 EOF
6406 if { (eval echo configure:6407: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 6418 if { (eval echo configure:6419: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
6407 rm -rf conftest* 6419 rm -rf conftest*
6408 eval "ac_cv_lib_$ac_lib_var=yes" 6420 eval "ac_cv_lib_$ac_lib_var=yes"
6409 else 6421 else
6410 echo "configure: failed program was:" >&5 6422 echo "configure: failed program was:" >&5
6411 cat conftest.$ac_ext >&5 6423 cat conftest.$ac_ext >&5
6424 fi 6436 fi
6425 6437
6426 } 6438 }
6427 test "$with_umich_ldap" = "no" && { 6439 test "$with_umich_ldap" = "no" && {
6428 echo $ac_n "checking for ldap_set_option in -lldap10""... $ac_c" 1>&6 6440 echo $ac_n "checking for ldap_set_option in -lldap10""... $ac_c" 1>&6
6429 echo "configure:6430: checking for ldap_set_option in -lldap10" >&5 6441 echo "configure:6442: checking for ldap_set_option in -lldap10" >&5
6430 ac_lib_var=`echo ldap10'_'ldap_set_option | sed 'y%./+-%__p_%'` 6442 ac_lib_var=`echo ldap10'_'ldap_set_option | sed 'y%./+-%__p_%'`
6431 6443
6432 xe_check_libs=" -lldap10 " 6444 xe_check_libs=" -lldap10 "
6433 cat > conftest.$ac_ext <<EOF 6445 cat > conftest.$ac_ext <<EOF
6434 #line 6435 "configure" 6446 #line 6447 "configure"
6435 #include "confdefs.h" 6447 #include "confdefs.h"
6436 /* Override any gcc2 internal prototype to avoid an error. */ 6448 /* Override any gcc2 internal prototype to avoid an error. */
6437 /* We use char because int might match the return type of a gcc2 6449 /* We use char because int might match the return type of a gcc2
6438 builtin and then its argument prototype would still apply. */ 6450 builtin and then its argument prototype would still apply. */
6439 char ldap_set_option(); 6451 char ldap_set_option();
6440 6452
6441 int main() { 6453 int main() {
6442 ldap_set_option() 6454 ldap_set_option()
6443 ; return 0; } 6455 ; return 0; }
6444 EOF 6456 EOF
6445 if { (eval echo configure:6446: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 6457 if { (eval echo configure:6458: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
6446 rm -rf conftest* 6458 rm -rf conftest*
6447 eval "ac_cv_lib_$ac_lib_var=yes" 6459 eval "ac_cv_lib_$ac_lib_var=yes"
6448 else 6460 else
6449 echo "configure: failed program was:" >&5 6461 echo "configure: failed program was:" >&5
6450 cat conftest.$ac_ext >&5 6462 cat conftest.$ac_ext >&5
6504 fi 6516 fi
6505 6517
6506 6518
6507 if test "$window_system" != "none"; then 6519 if test "$window_system" != "none"; then
6508 echo "checking for graphics libraries" 1>&6 6520 echo "checking for graphics libraries" 1>&6
6509 echo "configure:6510: checking for graphics libraries" >&5 6521 echo "configure:6522: checking for graphics libraries" >&5
6510 6522
6511 xpm_problem="" 6523 xpm_problem=""
6512 if test -z "$with_xpm"; then 6524 if test -z "$with_xpm"; then
6513 echo $ac_n "checking for Xpm - no older than 3.4f""... $ac_c" 1>&6 6525 echo $ac_n "checking for Xpm - no older than 3.4f""... $ac_c" 1>&6
6514 echo "configure:6515: checking for Xpm - no older than 3.4f" >&5 6526 echo "configure:6527: checking for Xpm - no older than 3.4f" >&5
6515 xe_check_libs=-lXpm 6527 xe_check_libs=-lXpm
6516 cat > conftest.$ac_ext <<EOF 6528 cat > conftest.$ac_ext <<EOF
6517 #line 6518 "configure" 6529 #line 6530 "configure"
6518 #include "confdefs.h" 6530 #include "confdefs.h"
6519 #include <X11/xpm.h> 6531 #include <X11/xpm.h>
6520 int main(int c, char **v) { 6532 int main(int c, char **v) {
6521 return c == 1 ? 0 : 6533 return c == 1 ? 0 :
6522 XpmIncludeVersion != XpmLibraryVersion() ? 1 : 6534 XpmIncludeVersion != XpmLibraryVersion() ? 1 :
6523 XpmIncludeVersion < 30406 ? 2 : 0 ;} 6535 XpmIncludeVersion < 30406 ? 2 : 0 ;}
6524 EOF 6536 EOF
6525 if { (eval echo configure:6526: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 6537 if { (eval echo configure:6538: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5
6526 then 6538 then
6527 ./conftest dummy_arg; xpm_status=$?; 6539 ./conftest dummy_arg; xpm_status=$?;
6528 if test "$xpm_status" = "0"; then 6540 if test "$xpm_status" = "0"; then
6529 with_xpm=yes; 6541 with_xpm=yes;
6530 else 6542 else
6562 EOF 6574 EOF
6563 } 6575 }
6564 6576
6565 libs_x="-lXpm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXpm\" to \$libs_x"; fi 6577 libs_x="-lXpm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXpm\" to \$libs_x"; fi
6566 echo $ac_n "checking for \"FOR_MSW\" xpm""... $ac_c" 1>&6 6578 echo $ac_n "checking for \"FOR_MSW\" xpm""... $ac_c" 1>&6
6567 echo "configure:6568: checking for \"FOR_MSW\" xpm" >&5 6579 echo "configure:6580: checking for \"FOR_MSW\" xpm" >&5
6568 xe_check_libs=-lXpm 6580 xe_check_libs=-lXpm
6569 cat > conftest.$ac_ext <<EOF 6581 cat > conftest.$ac_ext <<EOF
6570 #line 6571 "configure" 6582 #line 6583 "configure"
6571 #include "confdefs.h" 6583 #include "confdefs.h"
6572 6584
6573 int main() { 6585 int main() {
6574 XpmCreatePixmapFromData() 6586 XpmCreatePixmapFromData()
6575 ; return 0; } 6587 ; return 0; }
6576 EOF 6588 EOF
6577 if { (eval echo configure:6578: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 6589 if { (eval echo configure:6590: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
6578 rm -rf conftest* 6590 rm -rf conftest*
6579 xpm_for_msw=no 6591 xpm_for_msw=no
6580 else 6592 else
6581 echo "configure: failed program was:" >&5 6593 echo "configure: failed program was:" >&5
6582 cat conftest.$ac_ext >&5 6594 cat conftest.$ac_ext >&5
6614 fi 6626 fi
6615 6627
6616 if test "$with_png $with_tiff" != "no no"; then 6628 if test "$with_png $with_tiff" != "no no"; then
6617 6629
6618 echo $ac_n "checking for inflate in -lc""... $ac_c" 1>&6 6630 echo $ac_n "checking for inflate in -lc""... $ac_c" 1>&6
6619 echo "configure:6620: checking for inflate in -lc" >&5 6631 echo "configure:6632: checking for inflate in -lc" >&5
6620 ac_lib_var=`echo c'_'inflate | sed 'y%./+-%__p_%'` 6632 ac_lib_var=`echo c'_'inflate | sed 'y%./+-%__p_%'`
6621 6633
6622 xe_check_libs=" -lc " 6634 xe_check_libs=" -lc "
6623 cat > conftest.$ac_ext <<EOF 6635 cat > conftest.$ac_ext <<EOF
6624 #line 6625 "configure" 6636 #line 6637 "configure"
6625 #include "confdefs.h" 6637 #include "confdefs.h"
6626 /* Override any gcc2 internal prototype to avoid an error. */ 6638 /* Override any gcc2 internal prototype to avoid an error. */
6627 /* We use char because int might match the return type of a gcc2 6639 /* We use char because int might match the return type of a gcc2
6628 builtin and then its argument prototype would still apply. */ 6640 builtin and then its argument prototype would still apply. */
6629 char inflate(); 6641 char inflate();
6630 6642
6631 int main() { 6643 int main() {
6632 inflate() 6644 inflate()
6633 ; return 0; } 6645 ; return 0; }
6634 EOF 6646 EOF
6635 if { (eval echo configure:6636: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 6647 if { (eval echo configure:6648: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
6636 rm -rf conftest* 6648 rm -rf conftest*
6637 eval "ac_cv_lib_$ac_lib_var=yes" 6649 eval "ac_cv_lib_$ac_lib_var=yes"
6638 else 6650 else
6639 echo "configure: failed program was:" >&5 6651 echo "configure: failed program was:" >&5
6640 cat conftest.$ac_ext >&5 6652 cat conftest.$ac_ext >&5
6649 : 6661 :
6650 else 6662 else
6651 echo "$ac_t""no" 1>&6 6663 echo "$ac_t""no" 1>&6
6652 6664
6653 echo $ac_n "checking for inflate in -lz""... $ac_c" 1>&6 6665 echo $ac_n "checking for inflate in -lz""... $ac_c" 1>&6
6654 echo "configure:6655: checking for inflate in -lz" >&5 6666 echo "configure:6667: checking for inflate in -lz" >&5
6655 ac_lib_var=`echo z'_'inflate | sed 'y%./+-%__p_%'` 6667 ac_lib_var=`echo z'_'inflate | sed 'y%./+-%__p_%'`
6656 6668
6657 xe_check_libs=" -lz " 6669 xe_check_libs=" -lz "
6658 cat > conftest.$ac_ext <<EOF 6670 cat > conftest.$ac_ext <<EOF
6659 #line 6660 "configure" 6671 #line 6672 "configure"
6660 #include "confdefs.h" 6672 #include "confdefs.h"
6661 /* Override any gcc2 internal prototype to avoid an error. */ 6673 /* Override any gcc2 internal prototype to avoid an error. */
6662 /* We use char because int might match the return type of a gcc2 6674 /* We use char because int might match the return type of a gcc2
6663 builtin and then its argument prototype would still apply. */ 6675 builtin and then its argument prototype would still apply. */
6664 char inflate(); 6676 char inflate();
6665 6677
6666 int main() { 6678 int main() {
6667 inflate() 6679 inflate()
6668 ; return 0; } 6680 ; return 0; }
6669 EOF 6681 EOF
6670 if { (eval echo configure:6671: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 6682 if { (eval echo configure:6683: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
6671 rm -rf conftest* 6683 rm -rf conftest*
6672 eval "ac_cv_lib_$ac_lib_var=yes" 6684 eval "ac_cv_lib_$ac_lib_var=yes"
6673 else 6685 else
6674 echo "configure: failed program was:" >&5 6686 echo "configure: failed program was:" >&5
6675 cat conftest.$ac_ext >&5 6687 cat conftest.$ac_ext >&5
6684 libs_x="-lz $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lz\" to \$libs_x"; fi 6696 libs_x="-lz $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lz\" to \$libs_x"; fi
6685 else 6697 else
6686 echo "$ac_t""no" 1>&6 6698 echo "$ac_t""no" 1>&6
6687 6699
6688 echo $ac_n "checking for inflate in -lgz""... $ac_c" 1>&6 6700 echo $ac_n "checking for inflate in -lgz""... $ac_c" 1>&6
6689 echo "configure:6690: checking for inflate in -lgz" >&5 6701 echo "configure:6702: checking for inflate in -lgz" >&5
6690 ac_lib_var=`echo gz'_'inflate | sed 'y%./+-%__p_%'` 6702 ac_lib_var=`echo gz'_'inflate | sed 'y%./+-%__p_%'`
6691 6703
6692 xe_check_libs=" -lgz " 6704 xe_check_libs=" -lgz "
6693 cat > conftest.$ac_ext <<EOF 6705 cat > conftest.$ac_ext <<EOF
6694 #line 6695 "configure" 6706 #line 6707 "configure"
6695 #include "confdefs.h" 6707 #include "confdefs.h"
6696 /* Override any gcc2 internal prototype to avoid an error. */ 6708 /* Override any gcc2 internal prototype to avoid an error. */
6697 /* We use char because int might match the return type of a gcc2 6709 /* We use char because int might match the return type of a gcc2
6698 builtin and then its argument prototype would still apply. */ 6710 builtin and then its argument prototype would still apply. */
6699 char inflate(); 6711 char inflate();
6700 6712
6701 int main() { 6713 int main() {
6702 inflate() 6714 inflate()
6703 ; return 0; } 6715 ; return 0; }
6704 EOF 6716 EOF
6705 if { (eval echo configure:6706: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 6717 if { (eval echo configure:6718: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
6706 rm -rf conftest* 6718 rm -rf conftest*
6707 eval "ac_cv_lib_$ac_lib_var=yes" 6719 eval "ac_cv_lib_$ac_lib_var=yes"
6708 else 6720 else
6709 echo "configure: failed program was:" >&5 6721 echo "configure: failed program was:" >&5
6710 cat conftest.$ac_ext >&5 6722 cat conftest.$ac_ext >&5
6730 6742
6731 fi 6743 fi
6732 6744
6733 test -z "$with_jpeg" && { ac_safe=`echo "jpeglib.h" | sed 'y%./+-%__p_%'` 6745 test -z "$with_jpeg" && { ac_safe=`echo "jpeglib.h" | sed 'y%./+-%__p_%'`
6734 echo $ac_n "checking for jpeglib.h""... $ac_c" 1>&6 6746 echo $ac_n "checking for jpeglib.h""... $ac_c" 1>&6
6735 echo "configure:6736: checking for jpeglib.h" >&5 6747 echo "configure:6748: checking for jpeglib.h" >&5
6736 6748
6737 cat > conftest.$ac_ext <<EOF 6749 cat > conftest.$ac_ext <<EOF
6738 #line 6739 "configure" 6750 #line 6751 "configure"
6739 #include "confdefs.h" 6751 #include "confdefs.h"
6740 #include <jpeglib.h> 6752 #include <jpeglib.h>
6741 EOF 6753 EOF
6742 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 6754 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6743 { (eval echo configure:6744: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 6755 { (eval echo configure:6756: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6744 ac_err=`grep -v '^ *+' conftest.out` 6756 ac_err=`grep -v '^ *+' conftest.out`
6745 if test -z "$ac_err"; then 6757 if test -z "$ac_err"; then
6746 rm -rf conftest* 6758 rm -rf conftest*
6747 eval "ac_cv_header_$ac_safe=yes" 6759 eval "ac_cv_header_$ac_safe=yes"
6748 else 6760 else
6761 with_jpeg=no 6773 with_jpeg=no
6762 fi 6774 fi
6763 } 6775 }
6764 test -z "$with_jpeg" && { 6776 test -z "$with_jpeg" && {
6765 echo $ac_n "checking for jpeg_destroy_decompress in -ljpeg""... $ac_c" 1>&6 6777 echo $ac_n "checking for jpeg_destroy_decompress in -ljpeg""... $ac_c" 1>&6
6766 echo "configure:6767: checking for jpeg_destroy_decompress in -ljpeg" >&5 6778 echo "configure:6779: checking for jpeg_destroy_decompress in -ljpeg" >&5
6767 ac_lib_var=`echo jpeg'_'jpeg_destroy_decompress | sed 'y%./+-%__p_%'` 6779 ac_lib_var=`echo jpeg'_'jpeg_destroy_decompress | sed 'y%./+-%__p_%'`
6768 6780
6769 xe_check_libs=" -ljpeg " 6781 xe_check_libs=" -ljpeg "
6770 cat > conftest.$ac_ext <<EOF 6782 cat > conftest.$ac_ext <<EOF
6771 #line 6772 "configure" 6783 #line 6784 "configure"
6772 #include "confdefs.h" 6784 #include "confdefs.h"
6773 /* Override any gcc2 internal prototype to avoid an error. */ 6785 /* Override any gcc2 internal prototype to avoid an error. */
6774 /* We use char because int might match the return type of a gcc2 6786 /* We use char because int might match the return type of a gcc2
6775 builtin and then its argument prototype would still apply. */ 6787 builtin and then its argument prototype would still apply. */
6776 char jpeg_destroy_decompress(); 6788 char jpeg_destroy_decompress();
6777 6789
6778 int main() { 6790 int main() {
6779 jpeg_destroy_decompress() 6791 jpeg_destroy_decompress()
6780 ; return 0; } 6792 ; return 0; }
6781 EOF 6793 EOF
6782 if { (eval echo configure:6783: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 6794 if { (eval echo configure:6795: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
6783 rm -rf conftest* 6795 rm -rf conftest*
6784 eval "ac_cv_lib_$ac_lib_var=yes" 6796 eval "ac_cv_lib_$ac_lib_var=yes"
6785 else 6797 else
6786 echo "configure: failed program was:" >&5 6798 echo "configure: failed program was:" >&5
6787 cat conftest.$ac_ext >&5 6799 cat conftest.$ac_ext >&5
6813 libs_x="-ljpeg $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-ljpeg\" to \$libs_x"; fi 6825 libs_x="-ljpeg $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-ljpeg\" to \$libs_x"; fi
6814 fi 6826 fi
6815 6827
6816 png_problem="" 6828 png_problem=""
6817 test -z "$with_png" && { echo $ac_n "checking for pow""... $ac_c" 1>&6 6829 test -z "$with_png" && { echo $ac_n "checking for pow""... $ac_c" 1>&6
6818 echo "configure:6819: checking for pow" >&5 6830 echo "configure:6831: checking for pow" >&5
6819 6831
6820 cat > conftest.$ac_ext <<EOF 6832 cat > conftest.$ac_ext <<EOF
6821 #line 6822 "configure" 6833 #line 6834 "configure"
6822 #include "confdefs.h" 6834 #include "confdefs.h"
6823 /* System header to define __stub macros and hopefully few prototypes, 6835 /* System header to define __stub macros and hopefully few prototypes,
6824 which can conflict with char pow(); below. */ 6836 which can conflict with char pow(); below. */
6825 #include <assert.h> 6837 #include <assert.h>
6826 /* Override any gcc2 internal prototype to avoid an error. */ 6838 /* Override any gcc2 internal prototype to avoid an error. */
6839 pow(); 6851 pow();
6840 #endif 6852 #endif
6841 6853
6842 ; return 0; } 6854 ; return 0; }
6843 EOF 6855 EOF
6844 if { (eval echo configure:6845: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 6856 if { (eval echo configure:6857: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
6845 rm -rf conftest* 6857 rm -rf conftest*
6846 eval "ac_cv_func_pow=yes" 6858 eval "ac_cv_func_pow=yes"
6847 else 6859 else
6848 echo "configure: failed program was:" >&5 6860 echo "configure: failed program was:" >&5
6849 cat conftest.$ac_ext >&5 6861 cat conftest.$ac_ext >&5
6860 with_png=no 6872 with_png=no
6861 fi 6873 fi
6862 } 6874 }
6863 test -z "$with_png" && { ac_safe=`echo "png.h" | sed 'y%./+-%__p_%'` 6875 test -z "$with_png" && { ac_safe=`echo "png.h" | sed 'y%./+-%__p_%'`
6864 echo $ac_n "checking for png.h""... $ac_c" 1>&6 6876 echo $ac_n "checking for png.h""... $ac_c" 1>&6
6865 echo "configure:6866: checking for png.h" >&5 6877 echo "configure:6878: checking for png.h" >&5
6866 6878
6867 cat > conftest.$ac_ext <<EOF 6879 cat > conftest.$ac_ext <<EOF
6868 #line 6869 "configure" 6880 #line 6881 "configure"
6869 #include "confdefs.h" 6881 #include "confdefs.h"
6870 #include <png.h> 6882 #include <png.h>
6871 EOF 6883 EOF
6872 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 6884 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6873 { (eval echo configure:6874: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 6885 { (eval echo configure:6886: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6874 ac_err=`grep -v '^ *+' conftest.out` 6886 ac_err=`grep -v '^ *+' conftest.out`
6875 if test -z "$ac_err"; then 6887 if test -z "$ac_err"; then
6876 rm -rf conftest* 6888 rm -rf conftest*
6877 eval "ac_cv_header_$ac_safe=yes" 6889 eval "ac_cv_header_$ac_safe=yes"
6878 else 6890 else
6891 with_png=no 6903 with_png=no
6892 fi 6904 fi
6893 } 6905 }
6894 test -z "$with_png" && { 6906 test -z "$with_png" && {
6895 echo $ac_n "checking for png_read_image in -lpng""... $ac_c" 1>&6 6907 echo $ac_n "checking for png_read_image in -lpng""... $ac_c" 1>&6
6896 echo "configure:6897: checking for png_read_image in -lpng" >&5 6908 echo "configure:6909: checking for png_read_image in -lpng" >&5
6897 ac_lib_var=`echo png'_'png_read_image | sed 'y%./+-%__p_%'` 6909 ac_lib_var=`echo png'_'png_read_image | sed 'y%./+-%__p_%'`
6898 6910
6899 xe_check_libs=" -lpng " 6911 xe_check_libs=" -lpng "
6900 cat > conftest.$ac_ext <<EOF 6912 cat > conftest.$ac_ext <<EOF
6901 #line 6902 "configure" 6913 #line 6914 "configure"
6902 #include "confdefs.h" 6914 #include "confdefs.h"
6903 /* Override any gcc2 internal prototype to avoid an error. */ 6915 /* Override any gcc2 internal prototype to avoid an error. */
6904 /* We use char because int might match the return type of a gcc2 6916 /* We use char because int might match the return type of a gcc2
6905 builtin and then its argument prototype would still apply. */ 6917 builtin and then its argument prototype would still apply. */
6906 char png_read_image(); 6918 char png_read_image();
6907 6919
6908 int main() { 6920 int main() {
6909 png_read_image() 6921 png_read_image()
6910 ; return 0; } 6922 ; return 0; }
6911 EOF 6923 EOF
6912 if { (eval echo configure:6913: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 6924 if { (eval echo configure:6925: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
6913 rm -rf conftest* 6925 rm -rf conftest*
6914 eval "ac_cv_lib_$ac_lib_var=yes" 6926 eval "ac_cv_lib_$ac_lib_var=yes"
6915 else 6927 else
6916 echo "configure: failed program was:" >&5 6928 echo "configure: failed program was:" >&5
6917 cat conftest.$ac_ext >&5 6929 cat conftest.$ac_ext >&5
6930 fi 6942 fi
6931 6943
6932 } 6944 }
6933 if test -z "$with_png"; then 6945 if test -z "$with_png"; then
6934 echo $ac_n "checking for workable png version information""... $ac_c" 1>&6 6946 echo $ac_n "checking for workable png version information""... $ac_c" 1>&6
6935 echo "configure:6936: checking for workable png version information" >&5 6947 echo "configure:6948: checking for workable png version information" >&5
6936 xe_check_libs="-lpng -lz" 6948 xe_check_libs="-lpng -lz"
6937 cat > conftest.$ac_ext <<EOF 6949 cat > conftest.$ac_ext <<EOF
6938 #line 6939 "configure" 6950 #line 6951 "configure"
6939 #include "confdefs.h" 6951 #include "confdefs.h"
6940 #include <png.h> 6952 #include <png.h>
6941 int main(int c, char **v) { 6953 int main(int c, char **v) {
6942 if (c == 1) return 0; 6954 if (c == 1) return 0;
6943 if (strcmp(png_libpng_ver, PNG_LIBPNG_VER_STRING) != 0) return 1; 6955 if (strcmp(png_libpng_ver, PNG_LIBPNG_VER_STRING) != 0) return 1;
6944 return (PNG_LIBPNG_VER < 10002) ? 2 : 0 ;} 6956 return (PNG_LIBPNG_VER < 10002) ? 2 : 0 ;}
6945 EOF 6957 EOF
6946 if { (eval echo configure:6947: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 6958 if { (eval echo configure:6959: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5
6947 then 6959 then
6948 ./conftest dummy_arg; png_status=$?; 6960 ./conftest dummy_arg; png_status=$?;
6949 if test "$png_status" = "0"; then 6961 if test "$png_status" = "0"; then
6950 with_png=yes; 6962 with_png=yes;
6951 else 6963 else
6984 libs_x="-lpng $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lpng\" to \$libs_x"; fi 6996 libs_x="-lpng $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lpng\" to \$libs_x"; fi
6985 fi 6997 fi
6986 6998
6987 test -z "$with_tiff" && { ac_safe=`echo "tiffio.h" | sed 'y%./+-%__p_%'` 6999 test -z "$with_tiff" && { ac_safe=`echo "tiffio.h" | sed 'y%./+-%__p_%'`
6988 echo $ac_n "checking for tiffio.h""... $ac_c" 1>&6 7000 echo $ac_n "checking for tiffio.h""... $ac_c" 1>&6
6989 echo "configure:6990: checking for tiffio.h" >&5 7001 echo "configure:7002: checking for tiffio.h" >&5
6990 7002
6991 cat > conftest.$ac_ext <<EOF 7003 cat > conftest.$ac_ext <<EOF
6992 #line 6993 "configure" 7004 #line 7005 "configure"
6993 #include "confdefs.h" 7005 #include "confdefs.h"
6994 #include <tiffio.h> 7006 #include <tiffio.h>
6995 EOF 7007 EOF
6996 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 7008 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6997 { (eval echo configure:6998: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 7009 { (eval echo configure:7010: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6998 ac_err=`grep -v '^ *+' conftest.out` 7010 ac_err=`grep -v '^ *+' conftest.out`
6999 if test -z "$ac_err"; then 7011 if test -z "$ac_err"; then
7000 rm -rf conftest* 7012 rm -rf conftest*
7001 eval "ac_cv_header_$ac_safe=yes" 7013 eval "ac_cv_header_$ac_safe=yes"
7002 else 7014 else
7015 with_tiff=no 7027 with_tiff=no
7016 fi 7028 fi
7017 } 7029 }
7018 test -z "$with_tiff" && { 7030 test -z "$with_tiff" && {
7019 echo $ac_n "checking for TIFFClientOpen in -ltiff""... $ac_c" 1>&6 7031 echo $ac_n "checking for TIFFClientOpen in -ltiff""... $ac_c" 1>&6
7020 echo "configure:7021: checking for TIFFClientOpen in -ltiff" >&5 7032 echo "configure:7033: checking for TIFFClientOpen in -ltiff" >&5
7021 ac_lib_var=`echo tiff'_'TIFFClientOpen | sed 'y%./+-%__p_%'` 7033 ac_lib_var=`echo tiff'_'TIFFClientOpen | sed 'y%./+-%__p_%'`
7022 7034
7023 xe_check_libs=" -ltiff " 7035 xe_check_libs=" -ltiff "
7024 cat > conftest.$ac_ext <<EOF 7036 cat > conftest.$ac_ext <<EOF
7025 #line 7026 "configure" 7037 #line 7038 "configure"
7026 #include "confdefs.h" 7038 #include "confdefs.h"
7027 /* Override any gcc2 internal prototype to avoid an error. */ 7039 /* Override any gcc2 internal prototype to avoid an error. */
7028 /* We use char because int might match the return type of a gcc2 7040 /* We use char because int might match the return type of a gcc2
7029 builtin and then its argument prototype would still apply. */ 7041 builtin and then its argument prototype would still apply. */
7030 char TIFFClientOpen(); 7042 char TIFFClientOpen();
7031 7043
7032 int main() { 7044 int main() {
7033 TIFFClientOpen() 7045 TIFFClientOpen()
7034 ; return 0; } 7046 ; return 0; }
7035 EOF 7047 EOF
7036 if { (eval echo configure:7037: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 7048 if { (eval echo configure:7049: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
7037 rm -rf conftest* 7049 rm -rf conftest*
7038 eval "ac_cv_lib_$ac_lib_var=yes" 7050 eval "ac_cv_lib_$ac_lib_var=yes"
7039 else 7051 else
7040 echo "configure: failed program was:" >&5 7052 echo "configure: failed program was:" >&5
7041 cat conftest.$ac_ext >&5 7053 cat conftest.$ac_ext >&5
7070 7082
7071 7083
7072 if test "$with_x11" = "yes"; then 7084 if test "$with_x11" = "yes"; then
7073 7085
7074 echo "checking for X11 graphics libraries" 1>&6 7086 echo "checking for X11 graphics libraries" 1>&6
7075 echo "configure:7076: checking for X11 graphics libraries" >&5 7087 echo "configure:7088: checking for X11 graphics libraries" >&5
7076 7088
7077 test -z "$with_xface" && { ac_safe=`echo "compface.h" | sed 'y%./+-%__p_%'` 7089 test -z "$with_xface" && { ac_safe=`echo "compface.h" | sed 'y%./+-%__p_%'`
7078 echo $ac_n "checking for compface.h""... $ac_c" 1>&6 7090 echo $ac_n "checking for compface.h""... $ac_c" 1>&6
7079 echo "configure:7080: checking for compface.h" >&5 7091 echo "configure:7092: checking for compface.h" >&5
7080 7092
7081 cat > conftest.$ac_ext <<EOF 7093 cat > conftest.$ac_ext <<EOF
7082 #line 7083 "configure" 7094 #line 7095 "configure"
7083 #include "confdefs.h" 7095 #include "confdefs.h"
7084 #include <compface.h> 7096 #include <compface.h>
7085 EOF 7097 EOF
7086 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 7098 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7087 { (eval echo configure:7088: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 7099 { (eval echo configure:7100: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7088 ac_err=`grep -v '^ *+' conftest.out` 7100 ac_err=`grep -v '^ *+' conftest.out`
7089 if test -z "$ac_err"; then 7101 if test -z "$ac_err"; then
7090 rm -rf conftest* 7102 rm -rf conftest*
7091 eval "ac_cv_header_$ac_safe=yes" 7103 eval "ac_cv_header_$ac_safe=yes"
7092 else 7104 else
7105 with_xface=no 7117 with_xface=no
7106 fi 7118 fi
7107 } 7119 }
7108 test -z "$with_xface" && { 7120 test -z "$with_xface" && {
7109 echo $ac_n "checking for UnGenFace in -lcompface""... $ac_c" 1>&6 7121 echo $ac_n "checking for UnGenFace in -lcompface""... $ac_c" 1>&6
7110 echo "configure:7111: checking for UnGenFace in -lcompface" >&5 7122 echo "configure:7123: checking for UnGenFace in -lcompface" >&5
7111 ac_lib_var=`echo compface'_'UnGenFace | sed 'y%./+-%__p_%'` 7123 ac_lib_var=`echo compface'_'UnGenFace | sed 'y%./+-%__p_%'`
7112 7124
7113 xe_check_libs=" -lcompface " 7125 xe_check_libs=" -lcompface "
7114 cat > conftest.$ac_ext <<EOF 7126 cat > conftest.$ac_ext <<EOF
7115 #line 7116 "configure" 7127 #line 7128 "configure"
7116 #include "confdefs.h" 7128 #include "confdefs.h"
7117 /* Override any gcc2 internal prototype to avoid an error. */ 7129 /* Override any gcc2 internal prototype to avoid an error. */
7118 /* We use char because int might match the return type of a gcc2 7130 /* We use char because int might match the return type of a gcc2
7119 builtin and then its argument prototype would still apply. */ 7131 builtin and then its argument prototype would still apply. */
7120 char UnGenFace(); 7132 char UnGenFace();
7121 7133
7122 int main() { 7134 int main() {
7123 UnGenFace() 7135 UnGenFace()
7124 ; return 0; } 7136 ; return 0; }
7125 EOF 7137 EOF
7126 if { (eval echo configure:7127: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 7138 if { (eval echo configure:7139: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
7127 rm -rf conftest* 7139 rm -rf conftest*
7128 eval "ac_cv_lib_$ac_lib_var=yes" 7140 eval "ac_cv_lib_$ac_lib_var=yes"
7129 else 7141 else
7130 echo "configure: failed program was:" >&5 7142 echo "configure: failed program was:" >&5
7131 cat conftest.$ac_ext >&5 7143 cat conftest.$ac_ext >&5
7157 libs_x="-lcompface $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lcompface\" to \$libs_x"; fi 7169 libs_x="-lcompface $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lcompface\" to \$libs_x"; fi
7158 fi 7170 fi
7159 7171
7160 7172
7161 echo $ac_n "checking for XawScrollbarSetThumb in -lXaw""... $ac_c" 1>&6 7173 echo $ac_n "checking for XawScrollbarSetThumb in -lXaw""... $ac_c" 1>&6
7162 echo "configure:7163: checking for XawScrollbarSetThumb in -lXaw" >&5 7174 echo "configure:7175: checking for XawScrollbarSetThumb in -lXaw" >&5
7163 ac_lib_var=`echo Xaw'_'XawScrollbarSetThumb | sed 'y%./+-%__p_%'` 7175 ac_lib_var=`echo Xaw'_'XawScrollbarSetThumb | sed 'y%./+-%__p_%'`
7164 7176
7165 xe_check_libs=" -lXaw " 7177 xe_check_libs=" -lXaw "
7166 cat > conftest.$ac_ext <<EOF 7178 cat > conftest.$ac_ext <<EOF
7167 #line 7168 "configure" 7179 #line 7180 "configure"
7168 #include "confdefs.h" 7180 #include "confdefs.h"
7169 /* Override any gcc2 internal prototype to avoid an error. */ 7181 /* Override any gcc2 internal prototype to avoid an error. */
7170 /* We use char because int might match the return type of a gcc2 7182 /* We use char because int might match the return type of a gcc2
7171 builtin and then its argument prototype would still apply. */ 7183 builtin and then its argument prototype would still apply. */
7172 char XawScrollbarSetThumb(); 7184 char XawScrollbarSetThumb();
7173 7185
7174 int main() { 7186 int main() {
7175 XawScrollbarSetThumb() 7187 XawScrollbarSetThumb()
7176 ; return 0; } 7188 ; return 0; }
7177 EOF 7189 EOF
7178 if { (eval echo configure:7179: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 7190 if { (eval echo configure:7191: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
7179 rm -rf conftest* 7191 rm -rf conftest*
7180 eval "ac_cv_lib_$ac_lib_var=yes" 7192 eval "ac_cv_lib_$ac_lib_var=yes"
7181 else 7193 else
7182 echo "configure: failed program was:" >&5 7194 echo "configure: failed program was:" >&5
7183 cat conftest.$ac_ext >&5 7195 cat conftest.$ac_ext >&5
7197 7209
7198 7210
7199 7211
7200 ac_safe=`echo "Xm/Xm.h" | sed 'y%./+-%__p_%'` 7212 ac_safe=`echo "Xm/Xm.h" | sed 'y%./+-%__p_%'`
7201 echo $ac_n "checking for Xm/Xm.h""... $ac_c" 1>&6 7213 echo $ac_n "checking for Xm/Xm.h""... $ac_c" 1>&6
7202 echo "configure:7203: checking for Xm/Xm.h" >&5 7214 echo "configure:7215: checking for Xm/Xm.h" >&5
7203 7215
7204 cat > conftest.$ac_ext <<EOF 7216 cat > conftest.$ac_ext <<EOF
7205 #line 7206 "configure" 7217 #line 7218 "configure"
7206 #include "confdefs.h" 7218 #include "confdefs.h"
7207 #include <Xm/Xm.h> 7219 #include <Xm/Xm.h>
7208 EOF 7220 EOF
7209 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 7221 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7210 { (eval echo configure:7211: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 7222 { (eval echo configure:7223: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7211 ac_err=`grep -v '^ *+' conftest.out` 7223 ac_err=`grep -v '^ *+' conftest.out`
7212 if test -z "$ac_err"; then 7224 if test -z "$ac_err"; then
7213 rm -rf conftest* 7225 rm -rf conftest*
7214 eval "ac_cv_header_$ac_safe=yes" 7226 eval "ac_cv_header_$ac_safe=yes"
7215 else 7227 else
7222 rm -f conftest* 7234 rm -f conftest*
7223 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then 7235 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
7224 echo "$ac_t""yes" 1>&6 7236 echo "$ac_t""yes" 1>&6
7225 7237
7226 echo $ac_n "checking for XmStringFree in -lXm""... $ac_c" 1>&6 7238 echo $ac_n "checking for XmStringFree in -lXm""... $ac_c" 1>&6
7227 echo "configure:7228: checking for XmStringFree in -lXm" >&5 7239 echo "configure:7240: checking for XmStringFree in -lXm" >&5
7228 ac_lib_var=`echo Xm'_'XmStringFree | sed 'y%./+-%__p_%'` 7240 ac_lib_var=`echo Xm'_'XmStringFree | sed 'y%./+-%__p_%'`
7229 7241
7230 xe_check_libs=" -lXm " 7242 xe_check_libs=" -lXm "
7231 cat > conftest.$ac_ext <<EOF 7243 cat > conftest.$ac_ext <<EOF
7232 #line 7233 "configure" 7244 #line 7245 "configure"
7233 #include "confdefs.h" 7245 #include "confdefs.h"
7234 /* Override any gcc2 internal prototype to avoid an error. */ 7246 /* Override any gcc2 internal prototype to avoid an error. */
7235 /* We use char because int might match the return type of a gcc2 7247 /* We use char because int might match the return type of a gcc2
7236 builtin and then its argument prototype would still apply. */ 7248 builtin and then its argument prototype would still apply. */
7237 char XmStringFree(); 7249 char XmStringFree();
7238 7250
7239 int main() { 7251 int main() {
7240 XmStringFree() 7252 XmStringFree()
7241 ; return 0; } 7253 ; return 0; }
7242 EOF 7254 EOF
7243 if { (eval echo configure:7244: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 7255 if { (eval echo configure:7256: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
7244 rm -rf conftest* 7256 rm -rf conftest*
7245 eval "ac_cv_lib_$ac_lib_var=yes" 7257 eval "ac_cv_lib_$ac_lib_var=yes"
7246 else 7258 else
7247 echo "configure: failed program was:" >&5 7259 echo "configure: failed program was:" >&5
7248 cat conftest.$ac_ext >&5 7260 cat conftest.$ac_ext >&5
7267 fi 7279 fi
7268 7280
7269 7281
7270 if test "$have_motif" = "yes"; then 7282 if test "$have_motif" = "yes"; then
7271 echo $ac_n "checking for Lesstif""... $ac_c" 1>&6 7283 echo $ac_n "checking for Lesstif""... $ac_c" 1>&6
7272 echo "configure:7273: checking for Lesstif" >&5 7284 echo "configure:7285: checking for Lesstif" >&5
7273 cat > conftest.$ac_ext <<EOF 7285 cat > conftest.$ac_ext <<EOF
7274 #line 7275 "configure" 7286 #line 7287 "configure"
7275 #include "confdefs.h" 7287 #include "confdefs.h"
7276 #include <Xm/Xm.h> 7288 #include <Xm/Xm.h>
7277 #ifdef LESSTIF_VERSION 7289 #ifdef LESSTIF_VERSION
7278 yes 7290 yes
7279 #endif 7291 #endif
7553 fi 7565 fi
7554 fi 7566 fi
7555 7567
7556 if test "$with_mule" = "yes" ; then 7568 if test "$with_mule" = "yes" ; then
7557 echo "checking for Mule-related features" 1>&6 7569 echo "checking for Mule-related features" 1>&6
7558 echo "configure:7559: checking for Mule-related features" >&5 7570 echo "configure:7571: checking for Mule-related features" >&5
7559 { test "$extra_verbose" = "yes" && cat << \EOF 7571 { test "$extra_verbose" = "yes" && cat << \EOF
7560 Defining MULE 7572 Defining MULE
7561 EOF 7573 EOF
7562 cat >> confdefs.h <<\EOF 7574 cat >> confdefs.h <<\EOF
7563 #define MULE 1 7575 #define MULE 1
7578 7590
7579 for ac_hdr in libintl.h 7591 for ac_hdr in libintl.h
7580 do 7592 do
7581 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 7593 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
7582 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 7594 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
7583 echo "configure:7584: checking for $ac_hdr" >&5 7595 echo "configure:7596: checking for $ac_hdr" >&5
7584 7596
7585 cat > conftest.$ac_ext <<EOF 7597 cat > conftest.$ac_ext <<EOF
7586 #line 7587 "configure" 7598 #line 7599 "configure"
7587 #include "confdefs.h" 7599 #include "confdefs.h"
7588 #include <$ac_hdr> 7600 #include <$ac_hdr>
7589 EOF 7601 EOF
7590 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 7602 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7591 { (eval echo configure:7592: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 7603 { (eval echo configure:7604: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7592 ac_err=`grep -v '^ *+' conftest.out` 7604 ac_err=`grep -v '^ *+' conftest.out`
7593 if test -z "$ac_err"; then 7605 if test -z "$ac_err"; then
7594 rm -rf conftest* 7606 rm -rf conftest*
7595 eval "ac_cv_header_$ac_safe=yes" 7607 eval "ac_cv_header_$ac_safe=yes"
7596 else 7608 else
7617 fi 7629 fi
7618 done 7630 done
7619 7631
7620 7632
7621 echo $ac_n "checking for strerror in -lintl""... $ac_c" 1>&6 7633 echo $ac_n "checking for strerror in -lintl""... $ac_c" 1>&6
7622 echo "configure:7623: checking for strerror in -lintl" >&5 7634 echo "configure:7635: checking for strerror in -lintl" >&5
7623 ac_lib_var=`echo intl'_'strerror | sed 'y%./+-%__p_%'` 7635 ac_lib_var=`echo intl'_'strerror | sed 'y%./+-%__p_%'`
7624 7636
7625 xe_check_libs=" -lintl " 7637 xe_check_libs=" -lintl "
7626 cat > conftest.$ac_ext <<EOF 7638 cat > conftest.$ac_ext <<EOF
7627 #line 7628 "configure" 7639 #line 7640 "configure"
7628 #include "confdefs.h" 7640 #include "confdefs.h"
7629 /* Override any gcc2 internal prototype to avoid an error. */ 7641 /* Override any gcc2 internal prototype to avoid an error. */
7630 /* We use char because int might match the return type of a gcc2 7642 /* We use char because int might match the return type of a gcc2
7631 builtin and then its argument prototype would still apply. */ 7643 builtin and then its argument prototype would still apply. */
7632 char strerror(); 7644 char strerror();
7633 7645
7634 int main() { 7646 int main() {
7635 strerror() 7647 strerror()
7636 ; return 0; } 7648 ; return 0; }
7637 EOF 7649 EOF
7638 if { (eval echo configure:7639: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 7650 if { (eval echo configure:7651: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
7639 rm -rf conftest* 7651 rm -rf conftest*
7640 eval "ac_cv_lib_$ac_lib_var=yes" 7652 eval "ac_cv_lib_$ac_lib_var=yes"
7641 else 7653 else
7642 echo "configure: failed program was:" >&5 7654 echo "configure: failed program was:" >&5
7643 cat conftest.$ac_ext >&5 7655 cat conftest.$ac_ext >&5
7666 fi 7678 fi
7667 7679
7668 7680
7669 7681
7670 echo "checking for Mule input methods" 1>&6 7682 echo "checking for Mule input methods" 1>&6
7671 echo "configure:7672: checking for Mule input methods" >&5 7683 echo "configure:7684: checking for Mule input methods" >&5
7672 case "$with_xim" in "" | "yes" ) 7684 case "$with_xim" in "" | "yes" )
7673 echo "checking for XIM" 1>&6 7685 echo "checking for XIM" 1>&6
7674 echo "configure:7675: checking for XIM" >&5 7686 echo "configure:7687: checking for XIM" >&5
7675 7687
7676 echo $ac_n "checking for XOpenIM in -lX11""... $ac_c" 1>&6 7688 echo $ac_n "checking for XOpenIM in -lX11""... $ac_c" 1>&6
7677 echo "configure:7678: checking for XOpenIM in -lX11" >&5 7689 echo "configure:7690: checking for XOpenIM in -lX11" >&5
7678 ac_lib_var=`echo X11'_'XOpenIM | sed 'y%./+-%__p_%'` 7690 ac_lib_var=`echo X11'_'XOpenIM | sed 'y%./+-%__p_%'`
7679 7691
7680 xe_check_libs=" -lX11 " 7692 xe_check_libs=" -lX11 "
7681 cat > conftest.$ac_ext <<EOF 7693 cat > conftest.$ac_ext <<EOF
7682 #line 7683 "configure" 7694 #line 7695 "configure"
7683 #include "confdefs.h" 7695 #include "confdefs.h"
7684 /* Override any gcc2 internal prototype to avoid an error. */ 7696 /* Override any gcc2 internal prototype to avoid an error. */
7685 /* We use char because int might match the return type of a gcc2 7697 /* We use char because int might match the return type of a gcc2
7686 builtin and then its argument prototype would still apply. */ 7698 builtin and then its argument prototype would still apply. */
7687 char XOpenIM(); 7699 char XOpenIM();
7688 7700
7689 int main() { 7701 int main() {
7690 XOpenIM() 7702 XOpenIM()
7691 ; return 0; } 7703 ; return 0; }
7692 EOF 7704 EOF
7693 if { (eval echo configure:7694: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 7705 if { (eval echo configure:7706: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
7694 rm -rf conftest* 7706 rm -rf conftest*
7695 eval "ac_cv_lib_$ac_lib_var=yes" 7707 eval "ac_cv_lib_$ac_lib_var=yes"
7696 else 7708 else
7697 echo "configure: failed program was:" >&5 7709 echo "configure: failed program was:" >&5
7698 cat conftest.$ac_ext >&5 7710 cat conftest.$ac_ext >&5
7712 7724
7713 7725
7714 if test "$have_motif $have_lesstif" = "yes no"; then 7726 if test "$have_motif $have_lesstif" = "yes no"; then
7715 7727
7716 echo $ac_n "checking for XmImMbLookupString in -lXm""... $ac_c" 1>&6 7728 echo $ac_n "checking for XmImMbLookupString in -lXm""... $ac_c" 1>&6
7717 echo "configure:7718: checking for XmImMbLookupString in -lXm" >&5 7729 echo "configure:7730: checking for XmImMbLookupString in -lXm" >&5
7718 ac_lib_var=`echo Xm'_'XmImMbLookupString | sed 'y%./+-%__p_%'` 7730 ac_lib_var=`echo Xm'_'XmImMbLookupString | sed 'y%./+-%__p_%'`
7719 7731
7720 xe_check_libs=" -lXm " 7732 xe_check_libs=" -lXm "
7721 cat > conftest.$ac_ext <<EOF 7733 cat > conftest.$ac_ext <<EOF
7722 #line 7723 "configure" 7734 #line 7735 "configure"
7723 #include "confdefs.h" 7735 #include "confdefs.h"
7724 /* Override any gcc2 internal prototype to avoid an error. */ 7736 /* Override any gcc2 internal prototype to avoid an error. */
7725 /* We use char because int might match the return type of a gcc2 7737 /* We use char because int might match the return type of a gcc2
7726 builtin and then its argument prototype would still apply. */ 7738 builtin and then its argument prototype would still apply. */
7727 char XmImMbLookupString(); 7739 char XmImMbLookupString();
7728 7740
7729 int main() { 7741 int main() {
7730 XmImMbLookupString() 7742 XmImMbLookupString()
7731 ; return 0; } 7743 ; return 0; }
7732 EOF 7744 EOF
7733 if { (eval echo configure:7734: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 7745 if { (eval echo configure:7746: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
7734 rm -rf conftest* 7746 rm -rf conftest*
7735 eval "ac_cv_lib_$ac_lib_var=yes" 7747 eval "ac_cv_lib_$ac_lib_var=yes"
7736 else 7748 else
7737 echo "configure: failed program was:" >&5 7749 echo "configure: failed program was:" >&5
7738 cat conftest.$ac_ext >&5 7750 cat conftest.$ac_ext >&5
7793 fi 7805 fi
7794 fi 7806 fi
7795 7807
7796 if test "$with_xfs" = "yes" ; then 7808 if test "$with_xfs" = "yes" ; then
7797 echo "checking for XFontSet" 1>&6 7809 echo "checking for XFontSet" 1>&6
7798 echo "configure:7799: checking for XFontSet" >&5 7810 echo "configure:7811: checking for XFontSet" >&5
7799 7811
7800 echo $ac_n "checking for XmbDrawString in -lX11""... $ac_c" 1>&6 7812 echo $ac_n "checking for XmbDrawString in -lX11""... $ac_c" 1>&6
7801 echo "configure:7802: checking for XmbDrawString in -lX11" >&5 7813 echo "configure:7814: checking for XmbDrawString in -lX11" >&5
7802 ac_lib_var=`echo X11'_'XmbDrawString | sed 'y%./+-%__p_%'` 7814 ac_lib_var=`echo X11'_'XmbDrawString | sed 'y%./+-%__p_%'`
7803 7815
7804 xe_check_libs=" -lX11 " 7816 xe_check_libs=" -lX11 "
7805 cat > conftest.$ac_ext <<EOF 7817 cat > conftest.$ac_ext <<EOF
7806 #line 7807 "configure" 7818 #line 7819 "configure"
7807 #include "confdefs.h" 7819 #include "confdefs.h"
7808 /* Override any gcc2 internal prototype to avoid an error. */ 7820 /* Override any gcc2 internal prototype to avoid an error. */
7809 /* We use char because int might match the return type of a gcc2 7821 /* We use char because int might match the return type of a gcc2
7810 builtin and then its argument prototype would still apply. */ 7822 builtin and then its argument prototype would still apply. */
7811 char XmbDrawString(); 7823 char XmbDrawString();
7812 7824
7813 int main() { 7825 int main() {
7814 XmbDrawString() 7826 XmbDrawString()
7815 ; return 0; } 7827 ; return 0; }
7816 EOF 7828 EOF
7817 if { (eval echo configure:7818: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 7829 if { (eval echo configure:7830: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
7818 rm -rf conftest* 7830 rm -rf conftest*
7819 eval "ac_cv_lib_$ac_lib_var=yes" 7831 eval "ac_cv_lib_$ac_lib_var=yes"
7820 else 7832 else
7821 echo "configure: failed program was:" >&5 7833 echo "configure: failed program was:" >&5
7822 cat conftest.$ac_ext >&5 7834 cat conftest.$ac_ext >&5
7852 fi 7864 fi
7853 fi 7865 fi
7854 test "$with_wnn6" = "yes" && with_wnn=yes # wnn6 implies wnn support 7866 test "$with_wnn6" = "yes" && with_wnn=yes # wnn6 implies wnn support
7855 test -z "$with_wnn" && { ac_safe=`echo "wnn/jllib.h" | sed 'y%./+-%__p_%'` 7867 test -z "$with_wnn" && { ac_safe=`echo "wnn/jllib.h" | sed 'y%./+-%__p_%'`
7856 echo $ac_n "checking for wnn/jllib.h""... $ac_c" 1>&6 7868 echo $ac_n "checking for wnn/jllib.h""... $ac_c" 1>&6
7857 echo "configure:7858: checking for wnn/jllib.h" >&5 7869 echo "configure:7870: checking for wnn/jllib.h" >&5
7858 7870
7859 cat > conftest.$ac_ext <<EOF 7871 cat > conftest.$ac_ext <<EOF
7860 #line 7861 "configure" 7872 #line 7873 "configure"
7861 #include "confdefs.h" 7873 #include "confdefs.h"
7862 #include <wnn/jllib.h> 7874 #include <wnn/jllib.h>
7863 EOF 7875 EOF
7864 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 7876 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7865 { (eval echo configure:7866: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 7877 { (eval echo configure:7878: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7866 ac_err=`grep -v '^ *+' conftest.out` 7878 ac_err=`grep -v '^ *+' conftest.out`
7867 if test -z "$ac_err"; then 7879 if test -z "$ac_err"; then
7868 rm -rf conftest* 7880 rm -rf conftest*
7869 eval "ac_cv_header_$ac_safe=yes" 7881 eval "ac_cv_header_$ac_safe=yes"
7870 else 7882 else
7885 } 7897 }
7886 if test "$with_wnn" != "no"; then 7898 if test "$with_wnn" != "no"; then
7887 for ac_func in crypt 7899 for ac_func in crypt
7888 do 7900 do
7889 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 7901 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7890 echo "configure:7891: checking for $ac_func" >&5 7902 echo "configure:7903: checking for $ac_func" >&5
7891 7903
7892 cat > conftest.$ac_ext <<EOF 7904 cat > conftest.$ac_ext <<EOF
7893 #line 7894 "configure" 7905 #line 7906 "configure"
7894 #include "confdefs.h" 7906 #include "confdefs.h"
7895 /* System header to define __stub macros and hopefully few prototypes, 7907 /* System header to define __stub macros and hopefully few prototypes,
7896 which can conflict with char $ac_func(); below. */ 7908 which can conflict with char $ac_func(); below. */
7897 #include <assert.h> 7909 #include <assert.h>
7898 /* Override any gcc2 internal prototype to avoid an error. */ 7910 /* Override any gcc2 internal prototype to avoid an error. */
7911 $ac_func(); 7923 $ac_func();
7912 #endif 7924 #endif
7913 7925
7914 ; return 0; } 7926 ; return 0; }
7915 EOF 7927 EOF
7916 if { (eval echo configure:7917: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 7928 if { (eval echo configure:7929: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
7917 rm -rf conftest* 7929 rm -rf conftest*
7918 eval "ac_cv_func_$ac_func=yes" 7930 eval "ac_cv_func_$ac_func=yes"
7919 else 7931 else
7920 echo "configure: failed program was:" >&5 7932 echo "configure: failed program was:" >&5
7921 cat conftest.$ac_ext >&5 7933 cat conftest.$ac_ext >&5
7940 fi 7952 fi
7941 done 7953 done
7942 7954
7943 test "$ac_cv_func_crypt" != "yes" && { 7955 test "$ac_cv_func_crypt" != "yes" && {
7944 echo $ac_n "checking for crypt in -lcrypt""... $ac_c" 1>&6 7956 echo $ac_n "checking for crypt in -lcrypt""... $ac_c" 1>&6
7945 echo "configure:7946: checking for crypt in -lcrypt" >&5 7957 echo "configure:7958: checking for crypt in -lcrypt" >&5
7946 ac_lib_var=`echo crypt'_'crypt | sed 'y%./+-%__p_%'` 7958 ac_lib_var=`echo crypt'_'crypt | sed 'y%./+-%__p_%'`
7947 7959
7948 xe_check_libs=" -lcrypt " 7960 xe_check_libs=" -lcrypt "
7949 cat > conftest.$ac_ext <<EOF 7961 cat > conftest.$ac_ext <<EOF
7950 #line 7951 "configure" 7962 #line 7963 "configure"
7951 #include "confdefs.h" 7963 #include "confdefs.h"
7952 /* Override any gcc2 internal prototype to avoid an error. */ 7964 /* Override any gcc2 internal prototype to avoid an error. */
7953 /* We use char because int might match the return type of a gcc2 7965 /* We use char because int might match the return type of a gcc2
7954 builtin and then its argument prototype would still apply. */ 7966 builtin and then its argument prototype would still apply. */
7955 char crypt(); 7967 char crypt();
7956 7968
7957 int main() { 7969 int main() {
7958 crypt() 7970 crypt()
7959 ; return 0; } 7971 ; return 0; }
7960 EOF 7972 EOF
7961 if { (eval echo configure:7962: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 7973 if { (eval echo configure:7974: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
7962 rm -rf conftest* 7974 rm -rf conftest*
7963 eval "ac_cv_lib_$ac_lib_var=yes" 7975 eval "ac_cv_lib_$ac_lib_var=yes"
7964 else 7976 else
7965 echo "configure: failed program was:" >&5 7977 echo "configure: failed program was:" >&5
7966 cat conftest.$ac_ext >&5 7978 cat conftest.$ac_ext >&5
7991 } 8003 }
7992 fi 8004 fi
7993 if test -z "$with_wnn" -o "$with_wnn" = "yes"; then 8005 if test -z "$with_wnn" -o "$with_wnn" = "yes"; then
7994 8006
7995 echo $ac_n "checking for jl_dic_list_e in -lwnn""... $ac_c" 1>&6 8007 echo $ac_n "checking for jl_dic_list_e in -lwnn""... $ac_c" 1>&6
7996 echo "configure:7997: checking for jl_dic_list_e in -lwnn" >&5 8008 echo "configure:8009: checking for jl_dic_list_e in -lwnn" >&5
7997 ac_lib_var=`echo wnn'_'jl_dic_list_e | sed 'y%./+-%__p_%'` 8009 ac_lib_var=`echo wnn'_'jl_dic_list_e | sed 'y%./+-%__p_%'`
7998 8010
7999 xe_check_libs=" -lwnn " 8011 xe_check_libs=" -lwnn "
8000 cat > conftest.$ac_ext <<EOF 8012 cat > conftest.$ac_ext <<EOF
8001 #line 8002 "configure" 8013 #line 8014 "configure"
8002 #include "confdefs.h" 8014 #include "confdefs.h"
8003 /* Override any gcc2 internal prototype to avoid an error. */ 8015 /* Override any gcc2 internal prototype to avoid an error. */
8004 /* We use char because int might match the return type of a gcc2 8016 /* We use char because int might match the return type of a gcc2
8005 builtin and then its argument prototype would still apply. */ 8017 builtin and then its argument prototype would still apply. */
8006 char jl_dic_list_e(); 8018 char jl_dic_list_e();
8007 8019
8008 int main() { 8020 int main() {
8009 jl_dic_list_e() 8021 jl_dic_list_e()
8010 ; return 0; } 8022 ; return 0; }
8011 EOF 8023 EOF
8012 if { (eval echo configure:8013: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 8024 if { (eval echo configure:8025: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
8013 rm -rf conftest* 8025 rm -rf conftest*
8014 eval "ac_cv_lib_$ac_lib_var=yes" 8026 eval "ac_cv_lib_$ac_lib_var=yes"
8015 else 8027 else
8016 echo "configure: failed program was:" >&5 8028 echo "configure: failed program was:" >&5
8017 cat conftest.$ac_ext >&5 8029 cat conftest.$ac_ext >&5
8025 echo "$ac_t""yes" 1>&6 8037 echo "$ac_t""yes" 1>&6
8026 libwnn=wnn 8038 libwnn=wnn
8027 else 8039 else
8028 echo "$ac_t""no" 1>&6 8040 echo "$ac_t""no" 1>&6
8029 echo $ac_n "checking for jl_dic_list_e in -lwnn4""... $ac_c" 1>&6 8041 echo $ac_n "checking for jl_dic_list_e in -lwnn4""... $ac_c" 1>&6
8030 echo "configure:8031: checking for jl_dic_list_e in -lwnn4" >&5 8042 echo "configure:8043: checking for jl_dic_list_e in -lwnn4" >&5
8031 ac_lib_var=`echo wnn4'_'jl_dic_list_e | sed 'y%./+-%__p_%'` 8043 ac_lib_var=`echo wnn4'_'jl_dic_list_e | sed 'y%./+-%__p_%'`
8032 8044
8033 xe_check_libs=" -lwnn4 " 8045 xe_check_libs=" -lwnn4 "
8034 cat > conftest.$ac_ext <<EOF 8046 cat > conftest.$ac_ext <<EOF
8035 #line 8036 "configure" 8047 #line 8048 "configure"
8036 #include "confdefs.h" 8048 #include "confdefs.h"
8037 /* Override any gcc2 internal prototype to avoid an error. */ 8049 /* Override any gcc2 internal prototype to avoid an error. */
8038 /* We use char because int might match the return type of a gcc2 8050 /* We use char because int might match the return type of a gcc2
8039 builtin and then its argument prototype would still apply. */ 8051 builtin and then its argument prototype would still apply. */
8040 char jl_dic_list_e(); 8052 char jl_dic_list_e();
8041 8053
8042 int main() { 8054 int main() {
8043 jl_dic_list_e() 8055 jl_dic_list_e()
8044 ; return 0; } 8056 ; return 0; }
8045 EOF 8057 EOF
8046 if { (eval echo configure:8047: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 8058 if { (eval echo configure:8059: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
8047 rm -rf conftest* 8059 rm -rf conftest*
8048 eval "ac_cv_lib_$ac_lib_var=yes" 8060 eval "ac_cv_lib_$ac_lib_var=yes"
8049 else 8061 else
8050 echo "configure: failed program was:" >&5 8062 echo "configure: failed program was:" >&5
8051 cat conftest.$ac_ext >&5 8063 cat conftest.$ac_ext >&5
8059 echo "$ac_t""yes" 1>&6 8071 echo "$ac_t""yes" 1>&6
8060 libwnn=wnn4 8072 libwnn=wnn4
8061 else 8073 else
8062 echo "$ac_t""no" 1>&6 8074 echo "$ac_t""no" 1>&6
8063 echo $ac_n "checking for jl_dic_list_e in -lwnn6""... $ac_c" 1>&6 8075 echo $ac_n "checking for jl_dic_list_e in -lwnn6""... $ac_c" 1>&6
8064 echo "configure:8065: checking for jl_dic_list_e in -lwnn6" >&5 8076 echo "configure:8077: checking for jl_dic_list_e in -lwnn6" >&5
8065 ac_lib_var=`echo wnn6'_'jl_dic_list_e | sed 'y%./+-%__p_%'` 8077 ac_lib_var=`echo wnn6'_'jl_dic_list_e | sed 'y%./+-%__p_%'`
8066 8078
8067 xe_check_libs=" -lwnn6 " 8079 xe_check_libs=" -lwnn6 "
8068 cat > conftest.$ac_ext <<EOF 8080 cat > conftest.$ac_ext <<EOF
8069 #line 8070 "configure" 8081 #line 8082 "configure"
8070 #include "confdefs.h" 8082 #include "confdefs.h"
8071 /* Override any gcc2 internal prototype to avoid an error. */ 8083 /* Override any gcc2 internal prototype to avoid an error. */
8072 /* We use char because int might match the return type of a gcc2 8084 /* We use char because int might match the return type of a gcc2
8073 builtin and then its argument prototype would still apply. */ 8085 builtin and then its argument prototype would still apply. */
8074 char jl_dic_list_e(); 8086 char jl_dic_list_e();
8075 8087
8076 int main() { 8088 int main() {
8077 jl_dic_list_e() 8089 jl_dic_list_e()
8078 ; return 0; } 8090 ; return 0; }
8079 EOF 8091 EOF
8080 if { (eval echo configure:8081: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 8092 if { (eval echo configure:8093: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
8081 rm -rf conftest* 8093 rm -rf conftest*
8082 eval "ac_cv_lib_$ac_lib_var=yes" 8094 eval "ac_cv_lib_$ac_lib_var=yes"
8083 else 8095 else
8084 echo "configure: failed program was:" >&5 8096 echo "configure: failed program was:" >&5
8085 cat conftest.$ac_ext >&5 8097 cat conftest.$ac_ext >&5
8093 echo "$ac_t""yes" 1>&6 8105 echo "$ac_t""yes" 1>&6
8094 libwnn=wnn6 8106 libwnn=wnn6
8095 else 8107 else
8096 echo "$ac_t""no" 1>&6 8108 echo "$ac_t""no" 1>&6
8097 echo $ac_n "checking for dic_list_e in -lwnn6_fromsrc""... $ac_c" 1>&6 8109 echo $ac_n "checking for dic_list_e in -lwnn6_fromsrc""... $ac_c" 1>&6
8098 echo "configure:8099: checking for dic_list_e in -lwnn6_fromsrc" >&5 8110 echo "configure:8111: checking for dic_list_e in -lwnn6_fromsrc" >&5
8099 ac_lib_var=`echo wnn6_fromsrc'_'dic_list_e | sed 'y%./+-%__p_%'` 8111 ac_lib_var=`echo wnn6_fromsrc'_'dic_list_e | sed 'y%./+-%__p_%'`
8100 8112
8101 xe_check_libs=" -lwnn6_fromsrc " 8113 xe_check_libs=" -lwnn6_fromsrc "
8102 cat > conftest.$ac_ext <<EOF 8114 cat > conftest.$ac_ext <<EOF
8103 #line 8104 "configure" 8115 #line 8116 "configure"
8104 #include "confdefs.h" 8116 #include "confdefs.h"
8105 /* Override any gcc2 internal prototype to avoid an error. */ 8117 /* Override any gcc2 internal prototype to avoid an error. */
8106 /* We use char because int might match the return type of a gcc2 8118 /* We use char because int might match the return type of a gcc2
8107 builtin and then its argument prototype would still apply. */ 8119 builtin and then its argument prototype would still apply. */
8108 char dic_list_e(); 8120 char dic_list_e();
8109 8121
8110 int main() { 8122 int main() {
8111 dic_list_e() 8123 dic_list_e()
8112 ; return 0; } 8124 ; return 0; }
8113 EOF 8125 EOF
8114 if { (eval echo configure:8115: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 8126 if { (eval echo configure:8127: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
8115 rm -rf conftest* 8127 rm -rf conftest*
8116 eval "ac_cv_lib_$ac_lib_var=yes" 8128 eval "ac_cv_lib_$ac_lib_var=yes"
8117 else 8129 else
8118 echo "configure: failed program was:" >&5 8130 echo "configure: failed program was:" >&5
8119 cat conftest.$ac_ext >&5 8131 cat conftest.$ac_ext >&5
8157 echo " xemacs will be linked with \"mule-wnnfns.o\"" 8169 echo " xemacs will be linked with \"mule-wnnfns.o\""
8158 fi 8170 fi
8159 if test "$with_wnn6" != "no"; then 8171 if test "$with_wnn6" != "no"; then
8160 8172
8161 echo $ac_n "checking for jl_fi_dic_list in -l$libwnn""... $ac_c" 1>&6 8173 echo $ac_n "checking for jl_fi_dic_list in -l$libwnn""... $ac_c" 1>&6
8162 echo "configure:8163: checking for jl_fi_dic_list in -l$libwnn" >&5 8174 echo "configure:8175: checking for jl_fi_dic_list in -l$libwnn" >&5
8163 ac_lib_var=`echo $libwnn'_'jl_fi_dic_list | sed 'y%./+-%__p_%'` 8175 ac_lib_var=`echo $libwnn'_'jl_fi_dic_list | sed 'y%./+-%__p_%'`
8164 8176
8165 xe_check_libs=" -l$libwnn " 8177 xe_check_libs=" -l$libwnn "
8166 cat > conftest.$ac_ext <<EOF 8178 cat > conftest.$ac_ext <<EOF
8167 #line 8168 "configure" 8179 #line 8180 "configure"
8168 #include "confdefs.h" 8180 #include "confdefs.h"
8169 /* Override any gcc2 internal prototype to avoid an error. */ 8181 /* Override any gcc2 internal prototype to avoid an error. */
8170 /* We use char because int might match the return type of a gcc2 8182 /* We use char because int might match the return type of a gcc2
8171 builtin and then its argument prototype would still apply. */ 8183 builtin and then its argument prototype would still apply. */
8172 char jl_fi_dic_list(); 8184 char jl_fi_dic_list();
8173 8185
8174 int main() { 8186 int main() {
8175 jl_fi_dic_list() 8187 jl_fi_dic_list()
8176 ; return 0; } 8188 ; return 0; }
8177 EOF 8189 EOF
8178 if { (eval echo configure:8179: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 8190 if { (eval echo configure:8191: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
8179 rm -rf conftest* 8191 rm -rf conftest*
8180 eval "ac_cv_lib_$ac_lib_var=yes" 8192 eval "ac_cv_lib_$ac_lib_var=yes"
8181 else 8193 else
8182 echo "configure: failed program was:" >&5 8194 echo "configure: failed program was:" >&5
8183 cat conftest.$ac_ext >&5 8195 cat conftest.$ac_ext >&5
8208 8220
8209 canna_includes_found=no 8221 canna_includes_found=no
8210 if test "$with_canna" != "no"; then 8222 if test "$with_canna" != "no"; then
8211 ac_safe=`echo "canna/jrkanji.h" | sed 'y%./+-%__p_%'` 8223 ac_safe=`echo "canna/jrkanji.h" | sed 'y%./+-%__p_%'`
8212 echo $ac_n "checking for canna/jrkanji.h""... $ac_c" 1>&6 8224 echo $ac_n "checking for canna/jrkanji.h""... $ac_c" 1>&6
8213 echo "configure:8214: checking for canna/jrkanji.h" >&5 8225 echo "configure:8226: checking for canna/jrkanji.h" >&5
8214 8226
8215 cat > conftest.$ac_ext <<EOF 8227 cat > conftest.$ac_ext <<EOF
8216 #line 8217 "configure" 8228 #line 8229 "configure"
8217 #include "confdefs.h" 8229 #include "confdefs.h"
8218 #include <canna/jrkanji.h> 8230 #include <canna/jrkanji.h>
8219 EOF 8231 EOF
8220 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 8232 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8221 { (eval echo configure:8222: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 8233 { (eval echo configure:8234: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8222 ac_err=`grep -v '^ *+' conftest.out` 8234 ac_err=`grep -v '^ *+' conftest.out`
8223 if test -z "$ac_err"; then 8235 if test -z "$ac_err"; then
8224 rm -rf conftest* 8236 rm -rf conftest*
8225 eval "ac_cv_header_$ac_safe=yes" 8237 eval "ac_cv_header_$ac_safe=yes"
8226 else 8238 else
8243 -d "/usr/local/canna/include"; then 8255 -d "/usr/local/canna/include"; then
8244 save_c_switch_site="$c_switch_site" 8256 save_c_switch_site="$c_switch_site"
8245 c_switch_site="$c_switch_site -I/usr/local/canna/include" 8257 c_switch_site="$c_switch_site -I/usr/local/canna/include"
8246 ac_safe=`echo "canna/jrkanji.h" | sed 'y%./+-%__p_%'` 8258 ac_safe=`echo "canna/jrkanji.h" | sed 'y%./+-%__p_%'`
8247 echo $ac_n "checking for canna/jrkanji.h""... $ac_c" 1>&6 8259 echo $ac_n "checking for canna/jrkanji.h""... $ac_c" 1>&6
8248 echo "configure:8249: checking for canna/jrkanji.h" >&5 8260 echo "configure:8261: checking for canna/jrkanji.h" >&5
8249 8261
8250 cat > conftest.$ac_ext <<EOF 8262 cat > conftest.$ac_ext <<EOF
8251 #line 8252 "configure" 8263 #line 8264 "configure"
8252 #include "confdefs.h" 8264 #include "confdefs.h"
8253 #include <canna/jrkanji.h> 8265 #include <canna/jrkanji.h>
8254 EOF 8266 EOF
8255 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 8267 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8256 { (eval echo configure:8257: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 8268 { (eval echo configure:8269: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8257 ac_err=`grep -v '^ *+' conftest.out` 8269 ac_err=`grep -v '^ *+' conftest.out`
8258 if test -z "$ac_err"; then 8270 if test -z "$ac_err"; then
8259 rm -rf conftest* 8271 rm -rf conftest*
8260 eval "ac_cv_header_$ac_safe=yes" 8272 eval "ac_cv_header_$ac_safe=yes"
8261 else 8273 else
8279 fi 8291 fi
8280 fi 8292 fi
8281 8293
8282 test -z "$with_canna" && { ac_safe=`echo "canna/RK.h" | sed 'y%./+-%__p_%'` 8294 test -z "$with_canna" && { ac_safe=`echo "canna/RK.h" | sed 'y%./+-%__p_%'`
8283 echo $ac_n "checking for canna/RK.h""... $ac_c" 1>&6 8295 echo $ac_n "checking for canna/RK.h""... $ac_c" 1>&6
8284 echo "configure:8285: checking for canna/RK.h" >&5 8296 echo "configure:8297: checking for canna/RK.h" >&5
8285 8297
8286 cat > conftest.$ac_ext <<EOF 8298 cat > conftest.$ac_ext <<EOF
8287 #line 8288 "configure" 8299 #line 8300 "configure"
8288 #include "confdefs.h" 8300 #include "confdefs.h"
8289 #include <canna/RK.h> 8301 #include <canna/RK.h>
8290 EOF 8302 EOF
8291 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 8303 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8292 { (eval echo configure:8293: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 8304 { (eval echo configure:8305: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8293 ac_err=`grep -v '^ *+' conftest.out` 8305 ac_err=`grep -v '^ *+' conftest.out`
8294 if test -z "$ac_err"; then 8306 if test -z "$ac_err"; then
8295 rm -rf conftest* 8307 rm -rf conftest*
8296 eval "ac_cv_header_$ac_safe=yes" 8308 eval "ac_cv_header_$ac_safe=yes"
8297 else 8309 else
8310 with_canna=no 8322 with_canna=no
8311 fi 8323 fi
8312 } 8324 }
8313 test -z "$with_canna" && { 8325 test -z "$with_canna" && {
8314 echo $ac_n "checking for RkBgnBun in -lRKC""... $ac_c" 1>&6 8326 echo $ac_n "checking for RkBgnBun in -lRKC""... $ac_c" 1>&6
8315 echo "configure:8316: checking for RkBgnBun in -lRKC" >&5 8327 echo "configure:8328: checking for RkBgnBun in -lRKC" >&5
8316 ac_lib_var=`echo RKC'_'RkBgnBun | sed 'y%./+-%__p_%'` 8328 ac_lib_var=`echo RKC'_'RkBgnBun | sed 'y%./+-%__p_%'`
8317 8329
8318 xe_check_libs=" -lRKC " 8330 xe_check_libs=" -lRKC "
8319 cat > conftest.$ac_ext <<EOF 8331 cat > conftest.$ac_ext <<EOF
8320 #line 8321 "configure" 8332 #line 8333 "configure"
8321 #include "confdefs.h" 8333 #include "confdefs.h"
8322 /* Override any gcc2 internal prototype to avoid an error. */ 8334 /* Override any gcc2 internal prototype to avoid an error. */
8323 /* We use char because int might match the return type of a gcc2 8335 /* We use char because int might match the return type of a gcc2
8324 builtin and then its argument prototype would still apply. */ 8336 builtin and then its argument prototype would still apply. */
8325 char RkBgnBun(); 8337 char RkBgnBun();
8326 8338
8327 int main() { 8339 int main() {
8328 RkBgnBun() 8340 RkBgnBun()
8329 ; return 0; } 8341 ; return 0; }
8330 EOF 8342 EOF
8331 if { (eval echo configure:8332: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 8343 if { (eval echo configure:8344: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
8332 rm -rf conftest* 8344 rm -rf conftest*
8333 eval "ac_cv_lib_$ac_lib_var=yes" 8345 eval "ac_cv_lib_$ac_lib_var=yes"
8334 else 8346 else
8335 echo "configure: failed program was:" >&5 8347 echo "configure: failed program was:" >&5
8336 cat conftest.$ac_ext >&5 8348 cat conftest.$ac_ext >&5
8349 fi 8361 fi
8350 8362
8351 } 8363 }
8352 test -z "$with_canna" && { 8364 test -z "$with_canna" && {
8353 echo $ac_n "checking for jrKanjiControl in -lcanna""... $ac_c" 1>&6 8365 echo $ac_n "checking for jrKanjiControl in -lcanna""... $ac_c" 1>&6
8354 echo "configure:8355: checking for jrKanjiControl in -lcanna" >&5 8366 echo "configure:8367: checking for jrKanjiControl in -lcanna" >&5
8355 ac_lib_var=`echo canna'_'jrKanjiControl | sed 'y%./+-%__p_%'` 8367 ac_lib_var=`echo canna'_'jrKanjiControl | sed 'y%./+-%__p_%'`
8356 8368
8357 xe_check_libs=" -lcanna " 8369 xe_check_libs=" -lcanna "
8358 cat > conftest.$ac_ext <<EOF 8370 cat > conftest.$ac_ext <<EOF
8359 #line 8360 "configure" 8371 #line 8372 "configure"
8360 #include "confdefs.h" 8372 #include "confdefs.h"
8361 /* Override any gcc2 internal prototype to avoid an error. */ 8373 /* Override any gcc2 internal prototype to avoid an error. */
8362 /* We use char because int might match the return type of a gcc2 8374 /* We use char because int might match the return type of a gcc2
8363 builtin and then its argument prototype would still apply. */ 8375 builtin and then its argument prototype would still apply. */
8364 char jrKanjiControl(); 8376 char jrKanjiControl();
8365 8377
8366 int main() { 8378 int main() {
8367 jrKanjiControl() 8379 jrKanjiControl()
8368 ; return 0; } 8380 ; return 0; }
8369 EOF 8381 EOF
8370 if { (eval echo configure:8371: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 8382 if { (eval echo configure:8383: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
8371 rm -rf conftest* 8383 rm -rf conftest*
8372 eval "ac_cv_lib_$ac_lib_var=yes" 8384 eval "ac_cv_lib_$ac_lib_var=yes"
8373 else 8385 else
8374 echo "configure: failed program was:" >&5 8386 echo "configure: failed program was:" >&5
8375 cat conftest.$ac_ext >&5 8387 cat conftest.$ac_ext >&5
8414 8426
8415 if test "$need_motif" = "yes" ; then 8427 if test "$need_motif" = "yes" ; then
8416 libs_x="-lXm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXm\" to \$libs_x"; fi 8428 libs_x="-lXm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXm\" to \$libs_x"; fi
8417 8429
8418 echo $ac_n "checking for layout_object_getvalue in -li18n""... $ac_c" 1>&6 8430 echo $ac_n "checking for layout_object_getvalue in -li18n""... $ac_c" 1>&6
8419 echo "configure:8420: checking for layout_object_getvalue in -li18n" >&5 8431 echo "configure:8432: checking for layout_object_getvalue in -li18n" >&5
8420 ac_lib_var=`echo i18n'_'layout_object_getvalue | sed 'y%./+-%__p_%'` 8432 ac_lib_var=`echo i18n'_'layout_object_getvalue | sed 'y%./+-%__p_%'`
8421 8433
8422 xe_check_libs=" -li18n " 8434 xe_check_libs=" -li18n "
8423 cat > conftest.$ac_ext <<EOF 8435 cat > conftest.$ac_ext <<EOF
8424 #line 8425 "configure" 8436 #line 8437 "configure"
8425 #include "confdefs.h" 8437 #include "confdefs.h"
8426 /* Override any gcc2 internal prototype to avoid an error. */ 8438 /* Override any gcc2 internal prototype to avoid an error. */
8427 /* We use char because int might match the return type of a gcc2 8439 /* We use char because int might match the return type of a gcc2
8428 builtin and then its argument prototype would still apply. */ 8440 builtin and then its argument prototype would still apply. */
8429 char layout_object_getvalue(); 8441 char layout_object_getvalue();
8430 8442
8431 int main() { 8443 int main() {
8432 layout_object_getvalue() 8444 layout_object_getvalue()
8433 ; return 0; } 8445 ; return 0; }
8434 EOF 8446 EOF
8435 if { (eval echo configure:8436: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 8447 if { (eval echo configure:8448: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
8436 rm -rf conftest* 8448 rm -rf conftest*
8437 eval "ac_cv_lib_$ac_lib_var=yes" 8449 eval "ac_cv_lib_$ac_lib_var=yes"
8438 else 8450 else
8439 echo "configure: failed program was:" >&5 8451 echo "configure: failed program was:" >&5
8440 cat conftest.$ac_ext >&5 8452 cat conftest.$ac_ext >&5
8516 fi 8528 fi
8517 8529
8518 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 8530 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
8519 do 8531 do
8520 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 8532 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8521 echo "configure:8522: checking for $ac_func" >&5 8533 echo "configure:8534: checking for $ac_func" >&5
8522 8534
8523 cat > conftest.$ac_ext <<EOF 8535 cat > conftest.$ac_ext <<EOF
8524 #line 8525 "configure" 8536 #line 8537 "configure"
8525 #include "confdefs.h" 8537 #include "confdefs.h"
8526 /* System header to define __stub macros and hopefully few prototypes, 8538 /* System header to define __stub macros and hopefully few prototypes,
8527 which can conflict with char $ac_func(); below. */ 8539 which can conflict with char $ac_func(); below. */
8528 #include <assert.h> 8540 #include <assert.h>
8529 /* Override any gcc2 internal prototype to avoid an error. */ 8541 /* Override any gcc2 internal prototype to avoid an error. */
8542 $ac_func(); 8554 $ac_func();
8543 #endif 8555 #endif
8544 8556
8545 ; return 0; } 8557 ; return 0; }
8546 EOF 8558 EOF
8547 if { (eval echo configure:8548: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 8559 if { (eval echo configure:8560: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
8548 rm -rf conftest* 8560 rm -rf conftest*
8549 eval "ac_cv_func_$ac_func=yes" 8561 eval "ac_cv_func_$ac_func=yes"
8550 else 8562 else
8551 echo "configure: failed program was:" >&5 8563 echo "configure: failed program was:" >&5
8552 cat conftest.$ac_ext >&5 8564 cat conftest.$ac_ext >&5
8583 echo " xemacs will be linked with \"realpath.o\"" 8595 echo " xemacs will be linked with \"realpath.o\""
8584 fi ;; 8596 fi ;;
8585 * ) for ac_func in realpath 8597 * ) for ac_func in realpath
8586 do 8598 do
8587 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 8599 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8588 echo "configure:8589: checking for $ac_func" >&5 8600 echo "configure:8601: checking for $ac_func" >&5
8589 8601
8590 cat > conftest.$ac_ext <<EOF 8602 cat > conftest.$ac_ext <<EOF
8591 #line 8592 "configure" 8603 #line 8604 "configure"
8592 #include "confdefs.h" 8604 #include "confdefs.h"
8593 /* System header to define __stub macros and hopefully few prototypes, 8605 /* System header to define __stub macros and hopefully few prototypes,
8594 which can conflict with char $ac_func(); below. */ 8606 which can conflict with char $ac_func(); below. */
8595 #include <assert.h> 8607 #include <assert.h>
8596 /* Override any gcc2 internal prototype to avoid an error. */ 8608 /* Override any gcc2 internal prototype to avoid an error. */
8609 $ac_func(); 8621 $ac_func();
8610 #endif 8622 #endif
8611 8623
8612 ; return 0; } 8624 ; return 0; }
8613 EOF 8625 EOF
8614 if { (eval echo configure:8615: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 8626 if { (eval echo configure:8627: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
8615 rm -rf conftest* 8627 rm -rf conftest*
8616 eval "ac_cv_func_$ac_func=yes" 8628 eval "ac_cv_func_$ac_func=yes"
8617 else 8629 else
8618 echo "configure: failed program was:" >&5 8630 echo "configure: failed program was:" >&5
8619 cat conftest.$ac_ext >&5 8631 cat conftest.$ac_ext >&5
8643 fi ;; 8655 fi ;;
8644 esac ;; 8656 esac ;;
8645 esac 8657 esac
8646 8658
8647 echo $ac_n "checking whether netdb declares h_errno""... $ac_c" 1>&6 8659 echo $ac_n "checking whether netdb declares h_errno""... $ac_c" 1>&6
8648 echo "configure:8649: checking whether netdb declares h_errno" >&5 8660 echo "configure:8661: checking whether netdb declares h_errno" >&5
8649 cat > conftest.$ac_ext <<EOF 8661 cat > conftest.$ac_ext <<EOF
8650 #line 8651 "configure" 8662 #line 8663 "configure"
8651 #include "confdefs.h" 8663 #include "confdefs.h"
8652 #include <netdb.h> 8664 #include <netdb.h>
8653 int main() { 8665 int main() {
8654 return h_errno; 8666 return h_errno;
8655 ; return 0; } 8667 ; return 0; }
8656 EOF 8668 EOF
8657 if { (eval echo configure:8658: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 8669 if { (eval echo configure:8670: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
8658 rm -rf conftest* 8670 rm -rf conftest*
8659 echo "$ac_t""yes" 1>&6 8671 echo "$ac_t""yes" 1>&6
8660 { test "$extra_verbose" = "yes" && cat << \EOF 8672 { test "$extra_verbose" = "yes" && cat << \EOF
8661 Defining HAVE_H_ERRNO 8673 Defining HAVE_H_ERRNO
8662 EOF 8674 EOF
8672 echo "$ac_t""no" 1>&6 8684 echo "$ac_t""no" 1>&6
8673 fi 8685 fi
8674 rm -f conftest* 8686 rm -f conftest*
8675 8687
8676 echo $ac_n "checking for sigsetjmp""... $ac_c" 1>&6 8688 echo $ac_n "checking for sigsetjmp""... $ac_c" 1>&6
8677 echo "configure:8678: checking for sigsetjmp" >&5 8689 echo "configure:8690: checking for sigsetjmp" >&5
8678 cat > conftest.$ac_ext <<EOF 8690 cat > conftest.$ac_ext <<EOF
8679 #line 8680 "configure" 8691 #line 8692 "configure"
8680 #include "confdefs.h" 8692 #include "confdefs.h"
8681 #include <setjmp.h> 8693 #include <setjmp.h>
8682 int main() { 8694 int main() {
8683 sigjmp_buf bar; sigsetjmp (bar, 0); 8695 sigjmp_buf bar; sigsetjmp (bar, 0);
8684 ; return 0; } 8696 ; return 0; }
8685 EOF 8697 EOF
8686 if { (eval echo configure:8687: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 8698 if { (eval echo configure:8699: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8687 rm -rf conftest* 8699 rm -rf conftest*
8688 echo "$ac_t""yes" 1>&6 8700 echo "$ac_t""yes" 1>&6
8689 { test "$extra_verbose" = "yes" && cat << \EOF 8701 { test "$extra_verbose" = "yes" && cat << \EOF
8690 Defining HAVE_SIGSETJMP 8702 Defining HAVE_SIGSETJMP
8691 EOF 8703 EOF
8701 echo "$ac_t""no" 1>&6 8713 echo "$ac_t""no" 1>&6
8702 fi 8714 fi
8703 rm -f conftest* 8715 rm -f conftest*
8704 8716
8705 echo $ac_n "checking whether localtime caches TZ""... $ac_c" 1>&6 8717 echo $ac_n "checking whether localtime caches TZ""... $ac_c" 1>&6
8706 echo "configure:8707: checking whether localtime caches TZ" >&5 8718 echo "configure:8719: checking whether localtime caches TZ" >&5
8707 8719
8708 if test "$ac_cv_func_tzset" = "yes"; then 8720 if test "$ac_cv_func_tzset" = "yes"; then
8709 cat > conftest.$ac_ext <<EOF 8721 cat > conftest.$ac_ext <<EOF
8710 #line 8711 "configure" 8722 #line 8723 "configure"
8711 #include "confdefs.h" 8723 #include "confdefs.h"
8712 #include <time.h> 8724 #include <time.h>
8713 #if STDC_HEADERS 8725 #if STDC_HEADERS
8714 # include <stdlib.h> 8726 # include <stdlib.h>
8715 #endif 8727 #endif
8740 if (localtime (&now)->tm_hour != hour_unset) 8752 if (localtime (&now)->tm_hour != hour_unset)
8741 exit (1); 8753 exit (1);
8742 exit (0); 8754 exit (0);
8743 } 8755 }
8744 EOF 8756 EOF
8745 if { (eval echo configure:8746: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 8757 if { (eval echo configure:8758: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5
8746 then 8758 then
8747 emacs_cv_localtime_cache=no 8759 emacs_cv_localtime_cache=no
8748 else 8760 else
8749 conftest_rc="$?" 8761 conftest_rc="$?"
8750 echo "configure: failed program was:" >&5 8762 echo "configure: failed program was:" >&5
8770 8782
8771 fi 8783 fi
8772 8784
8773 if test "$HAVE_TIMEVAL" = "yes"; then 8785 if test "$HAVE_TIMEVAL" = "yes"; then
8774 echo $ac_n "checking whether gettimeofday accepts one or two arguments""... $ac_c" 1>&6 8786 echo $ac_n "checking whether gettimeofday accepts one or two arguments""... $ac_c" 1>&6
8775 echo "configure:8776: checking whether gettimeofday accepts one or two arguments" >&5 8787 echo "configure:8788: checking whether gettimeofday accepts one or two arguments" >&5
8776 cat > conftest.$ac_ext <<EOF 8788 cat > conftest.$ac_ext <<EOF
8777 #line 8778 "configure" 8789 #line 8790 "configure"
8778 #include "confdefs.h" 8790 #include "confdefs.h"
8779 8791
8780 #ifdef TIME_WITH_SYS_TIME 8792 #ifdef TIME_WITH_SYS_TIME
8781 #include <sys/time.h> 8793 #include <sys/time.h>
8782 #include <time.h> 8794 #include <time.h>
8794 struct timezone dummy; 8806 struct timezone dummy;
8795 gettimeofday (&time, &dummy); 8807 gettimeofday (&time, &dummy);
8796 8808
8797 ; return 0; } 8809 ; return 0; }
8798 EOF 8810 EOF
8799 if { (eval echo configure:8800: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 8811 if { (eval echo configure:8812: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
8800 rm -rf conftest* 8812 rm -rf conftest*
8801 echo "$ac_t""two" 1>&6 8813 echo "$ac_t""two" 1>&6
8802 else 8814 else
8803 echo "configure: failed program was:" >&5 8815 echo "configure: failed program was:" >&5
8804 cat conftest.$ac_ext >&5 8816 cat conftest.$ac_ext >&5
8816 rm -f conftest* 8828 rm -f conftest*
8817 fi 8829 fi
8818 8830
8819 8831
8820 echo $ac_n "checking for inline""... $ac_c" 1>&6 8832 echo $ac_n "checking for inline""... $ac_c" 1>&6
8821 echo "configure:8822: checking for inline" >&5 8833 echo "configure:8834: checking for inline" >&5
8822 8834
8823 ac_cv_c_inline=no 8835 ac_cv_c_inline=no
8824 for ac_kw in inline __inline__ __inline; do 8836 for ac_kw in inline __inline__ __inline; do
8825 cat > conftest.$ac_ext <<EOF 8837 cat > conftest.$ac_ext <<EOF
8826 #line 8827 "configure" 8838 #line 8839 "configure"
8827 #include "confdefs.h" 8839 #include "confdefs.h"
8828 8840
8829 int main() { 8841 int main() {
8830 } $ac_kw foo() { 8842 } $ac_kw foo() {
8831 ; return 0; } 8843 ; return 0; }
8832 EOF 8844 EOF
8833 if { (eval echo configure:8834: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 8845 if { (eval echo configure:8846: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8834 rm -rf conftest* 8846 rm -rf conftest*
8835 ac_cv_c_inline=$ac_kw; break 8847 ac_cv_c_inline=$ac_kw; break
8836 else 8848 else
8837 echo "configure: failed program was:" >&5 8849 echo "configure: failed program was:" >&5
8838 cat conftest.$ac_ext >&5 8850 cat conftest.$ac_ext >&5
8878 8890
8879 8891
8880 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works 8892 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
8881 # for constant arguments. Useless! 8893 # for constant arguments. Useless!
8882 echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6 8894 echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6
8883 echo "configure:8884: checking for working alloca.h" >&5 8895 echo "configure:8896: checking for working alloca.h" >&5
8884 8896
8885 cat > conftest.$ac_ext <<EOF 8897 cat > conftest.$ac_ext <<EOF
8886 #line 8887 "configure" 8898 #line 8899 "configure"
8887 #include "confdefs.h" 8899 #include "confdefs.h"
8888 #include <alloca.h> 8900 #include <alloca.h>
8889 int main() { 8901 int main() {
8890 char *p = alloca(2 * sizeof(int)); 8902 char *p = alloca(2 * sizeof(int));
8891 ; return 0; } 8903 ; return 0; }
8892 EOF 8904 EOF
8893 if { (eval echo configure:8894: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 8905 if { (eval echo configure:8906: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
8894 rm -rf conftest* 8906 rm -rf conftest*
8895 ac_cv_header_alloca_h=yes 8907 ac_cv_header_alloca_h=yes
8896 else 8908 else
8897 echo "configure: failed program was:" >&5 8909 echo "configure: failed program was:" >&5
8898 cat conftest.$ac_ext >&5 8910 cat conftest.$ac_ext >&5
8912 } 8924 }
8913 8925
8914 fi 8926 fi
8915 8927
8916 echo $ac_n "checking for alloca""... $ac_c" 1>&6 8928 echo $ac_n "checking for alloca""... $ac_c" 1>&6
8917 echo "configure:8918: checking for alloca" >&5 8929 echo "configure:8930: checking for alloca" >&5
8918 8930
8919 cat > conftest.$ac_ext <<EOF 8931 cat > conftest.$ac_ext <<EOF
8920 #line 8921 "configure" 8932 #line 8933 "configure"
8921 #include "confdefs.h" 8933 #include "confdefs.h"
8922 8934
8923 #ifdef __GNUC__ 8935 #ifdef __GNUC__
8924 # define alloca __builtin_alloca 8936 # define alloca __builtin_alloca
8925 #else 8937 #else
8938 8950
8939 int main() { 8951 int main() {
8940 char *p = (char *) alloca(1); 8952 char *p = (char *) alloca(1);
8941 ; return 0; } 8953 ; return 0; }
8942 EOF 8954 EOF
8943 if { (eval echo configure:8944: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 8955 if { (eval echo configure:8956: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
8944 rm -rf conftest* 8956 rm -rf conftest*
8945 ac_cv_func_alloca_works=yes 8957 ac_cv_func_alloca_works=yes
8946 else 8958 else
8947 echo "configure: failed program was:" >&5 8959 echo "configure: failed program was:" >&5
8948 cat conftest.$ac_ext >&5 8960 cat conftest.$ac_ext >&5
8977 EOF 8989 EOF
8978 } 8990 }
8979 8991
8980 8992
8981 echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6 8993 echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6
8982 echo "configure:8983: checking whether alloca needs Cray hooks" >&5 8994 echo "configure:8995: checking whether alloca needs Cray hooks" >&5
8983 8995
8984 cat > conftest.$ac_ext <<EOF 8996 cat > conftest.$ac_ext <<EOF
8985 #line 8986 "configure" 8997 #line 8998 "configure"
8986 #include "confdefs.h" 8998 #include "confdefs.h"
8987 #if defined(CRAY) && ! defined(CRAY2) 8999 #if defined(CRAY) && ! defined(CRAY2)
8988 webecray 9000 webecray
8989 #else 9001 #else
8990 wenotbecray 9002 wenotbecray
9004 9016
9005 echo "$ac_t""$ac_cv_os_cray" 1>&6 9017 echo "$ac_t""$ac_cv_os_cray" 1>&6
9006 if test $ac_cv_os_cray = yes; then 9018 if test $ac_cv_os_cray = yes; then
9007 for ac_func in _getb67 GETB67 getb67; do 9019 for ac_func in _getb67 GETB67 getb67; do
9008 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 9020 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9009 echo "configure:9010: checking for $ac_func" >&5 9021 echo "configure:9022: checking for $ac_func" >&5
9010 9022
9011 cat > conftest.$ac_ext <<EOF 9023 cat > conftest.$ac_ext <<EOF
9012 #line 9013 "configure" 9024 #line 9025 "configure"
9013 #include "confdefs.h" 9025 #include "confdefs.h"
9014 /* System header to define __stub macros and hopefully few prototypes, 9026 /* System header to define __stub macros and hopefully few prototypes,
9015 which can conflict with char $ac_func(); below. */ 9027 which can conflict with char $ac_func(); below. */
9016 #include <assert.h> 9028 #include <assert.h>
9017 /* Override any gcc2 internal prototype to avoid an error. */ 9029 /* Override any gcc2 internal prototype to avoid an error. */
9030 $ac_func(); 9042 $ac_func();
9031 #endif 9043 #endif
9032 9044
9033 ; return 0; } 9045 ; return 0; }
9034 EOF 9046 EOF
9035 if { (eval echo configure:9036: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 9047 if { (eval echo configure:9048: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
9036 rm -rf conftest* 9048 rm -rf conftest*
9037 eval "ac_cv_func_$ac_func=yes" 9049 eval "ac_cv_func_$ac_func=yes"
9038 else 9050 else
9039 echo "configure: failed program was:" >&5 9051 echo "configure: failed program was:" >&5
9040 cat conftest.$ac_ext >&5 9052 cat conftest.$ac_ext >&5
9060 9072
9061 done 9073 done
9062 fi 9074 fi
9063 9075
9064 echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6 9076 echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6
9065 echo "configure:9066: checking stack direction for C alloca" >&5 9077 echo "configure:9078: checking stack direction for C alloca" >&5
9066 9078
9067 cat > conftest.$ac_ext <<EOF 9079 cat > conftest.$ac_ext <<EOF
9068 #line 9069 "configure" 9080 #line 9081 "configure"
9069 #include "confdefs.h" 9081 #include "confdefs.h"
9070 find_stack_direction () 9082 find_stack_direction ()
9071 { 9083 {
9072 static char *addr = 0; 9084 static char *addr = 0;
9073 auto char dummy; 9085 auto char dummy;
9082 main () 9094 main ()
9083 { 9095 {
9084 exit (find_stack_direction() < 0); 9096 exit (find_stack_direction() < 0);
9085 } 9097 }
9086 EOF 9098 EOF
9087 if { (eval echo configure:9088: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 9099 if { (eval echo configure:9100: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5
9088 then 9100 then
9089 ac_cv_c_stack_direction=1 9101 ac_cv_c_stack_direction=1
9090 else 9102 else
9091 conftest_rc="$?" 9103 conftest_rc="$?"
9092 echo "configure: failed program was:" >&5 9104 echo "configure: failed program was:" >&5
9111 echo " xemacs will be linked with \"$ALLOCA\"" 9123 echo " xemacs will be linked with \"$ALLOCA\""
9112 fi 9124 fi
9113 9125
9114 ac_safe=`echo "vfork.h" | sed 'y%./+-%__p_%'` 9126 ac_safe=`echo "vfork.h" | sed 'y%./+-%__p_%'`
9115 echo $ac_n "checking for vfork.h""... $ac_c" 1>&6 9127 echo $ac_n "checking for vfork.h""... $ac_c" 1>&6
9116 echo "configure:9117: checking for vfork.h" >&5 9128 echo "configure:9129: checking for vfork.h" >&5
9117 9129
9118 cat > conftest.$ac_ext <<EOF 9130 cat > conftest.$ac_ext <<EOF
9119 #line 9120 "configure" 9131 #line 9132 "configure"
9120 #include "confdefs.h" 9132 #include "confdefs.h"
9121 #include <vfork.h> 9133 #include <vfork.h>
9122 EOF 9134 EOF
9123 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 9135 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9124 { (eval echo configure:9125: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 9136 { (eval echo configure:9137: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9125 ac_err=`grep -v '^ *+' conftest.out` 9137 ac_err=`grep -v '^ *+' conftest.out`
9126 if test -z "$ac_err"; then 9138 if test -z "$ac_err"; then
9127 rm -rf conftest* 9139 rm -rf conftest*
9128 eval "ac_cv_header_$ac_safe=yes" 9140 eval "ac_cv_header_$ac_safe=yes"
9129 else 9141 else
9147 else 9159 else
9148 echo "$ac_t""no" 1>&6 9160 echo "$ac_t""no" 1>&6
9149 fi 9161 fi
9150 9162
9151 echo $ac_n "checking for working vfork""... $ac_c" 1>&6 9163 echo $ac_n "checking for working vfork""... $ac_c" 1>&6
9152 echo "configure:9153: checking for working vfork" >&5 9164 echo "configure:9165: checking for working vfork" >&5
9153 9165
9154 cat > conftest.$ac_ext <<EOF 9166 cat > conftest.$ac_ext <<EOF
9155 #line 9156 "configure" 9167 #line 9168 "configure"
9156 #include "confdefs.h" 9168 #include "confdefs.h"
9157 /* Thanks to Paul Eggert for this test. */ 9169 /* Thanks to Paul Eggert for this test. */
9158 #include <stdio.h> 9170 #include <stdio.h>
9159 #include <sys/types.h> 9171 #include <sys/types.h>
9160 #include <sys/stat.h> 9172 #include <sys/stat.h>
9245 || fstat(fileno(stdout), &st) != 0 9257 || fstat(fileno(stdout), &st) != 0
9246 ); 9258 );
9247 } 9259 }
9248 } 9260 }
9249 EOF 9261 EOF
9250 if { (eval echo configure:9251: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 9262 if { (eval echo configure:9263: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5
9251 then 9263 then
9252 ac_cv_func_vfork_works=yes 9264 ac_cv_func_vfork_works=yes
9253 else 9265 else
9254 conftest_rc="$?" 9266 conftest_rc="$?"
9255 echo "configure: failed program was:" >&5 9267 echo "configure: failed program was:" >&5
9271 9283
9272 fi 9284 fi
9273 9285
9274 9286
9275 echo $ac_n "checking for working strcoll""... $ac_c" 1>&6 9287 echo $ac_n "checking for working strcoll""... $ac_c" 1>&6
9276 echo "configure:9277: checking for working strcoll" >&5 9288 echo "configure:9289: checking for working strcoll" >&5
9277 9289
9278 cat > conftest.$ac_ext <<EOF 9290 cat > conftest.$ac_ext <<EOF
9279 #line 9280 "configure" 9291 #line 9292 "configure"
9280 #include "confdefs.h" 9292 #include "confdefs.h"
9281 #include <string.h> 9293 #include <string.h>
9282 main () 9294 main ()
9283 { 9295 {
9284 exit (strcoll ("abc", "def") >= 0 || 9296 exit (strcoll ("abc", "def") >= 0 ||
9285 strcoll ("ABC", "DEF") >= 0 || 9297 strcoll ("ABC", "DEF") >= 0 ||
9286 strcoll ("123", "456") >= 0); 9298 strcoll ("123", "456") >= 0);
9287 } 9299 }
9288 EOF 9300 EOF
9289 if { (eval echo configure:9290: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 9301 if { (eval echo configure:9302: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5
9290 then 9302 then
9291 ac_cv_func_strcoll_works=yes 9303 ac_cv_func_strcoll_works=yes
9292 else 9304 else
9293 conftest_rc="$?" 9305 conftest_rc="$?"
9294 echo "configure: failed program was:" >&5 9306 echo "configure: failed program was:" >&5
9312 9324
9313 9325
9314 for ac_func in getpgrp 9326 for ac_func in getpgrp
9315 do 9327 do
9316 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 9328 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9317 echo "configure:9318: checking for $ac_func" >&5 9329 echo "configure:9330: checking for $ac_func" >&5
9318 9330
9319 cat > conftest.$ac_ext <<EOF 9331 cat > conftest.$ac_ext <<EOF
9320 #line 9321 "configure" 9332 #line 9333 "configure"
9321 #include "confdefs.h" 9333 #include "confdefs.h"
9322 /* System header to define __stub macros and hopefully few prototypes, 9334 /* System header to define __stub macros and hopefully few prototypes,
9323 which can conflict with char $ac_func(); below. */ 9335 which can conflict with char $ac_func(); below. */
9324 #include <assert.h> 9336 #include <assert.h>
9325 /* Override any gcc2 internal prototype to avoid an error. */ 9337 /* Override any gcc2 internal prototype to avoid an error. */
9338 $ac_func(); 9350 $ac_func();
9339 #endif 9351 #endif
9340 9352
9341 ; return 0; } 9353 ; return 0; }
9342 EOF 9354 EOF
9343 if { (eval echo configure:9344: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 9355 if { (eval echo configure:9356: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
9344 rm -rf conftest* 9356 rm -rf conftest*
9345 eval "ac_cv_func_$ac_func=yes" 9357 eval "ac_cv_func_$ac_func=yes"
9346 else 9358 else
9347 echo "configure: failed program was:" >&5 9359 echo "configure: failed program was:" >&5
9348 cat conftest.$ac_ext >&5 9360 cat conftest.$ac_ext >&5
9366 echo "$ac_t""no" 1>&6 9378 echo "$ac_t""no" 1>&6
9367 fi 9379 fi
9368 done 9380 done
9369 9381
9370 echo $ac_n "checking whether getpgrp takes no argument""... $ac_c" 1>&6 9382 echo $ac_n "checking whether getpgrp takes no argument""... $ac_c" 1>&6
9371 echo "configure:9372: checking whether getpgrp takes no argument" >&5 9383 echo "configure:9384: checking whether getpgrp takes no argument" >&5
9372 9384
9373 cat > conftest.$ac_ext <<EOF 9385 cat > conftest.$ac_ext <<EOF
9374 #line 9375 "configure" 9386 #line 9387 "configure"
9375 #include "confdefs.h" 9387 #include "confdefs.h"
9376 9388
9377 /* 9389 /*
9378 * If this system has a BSD-style getpgrp(), 9390 * If this system has a BSD-style getpgrp(),
9379 * which takes a pid argument, exit unsuccessfully. 9391 * which takes a pid argument, exit unsuccessfully.
9424 exit(s>>8); 9436 exit(s>>8);
9425 } 9437 }
9426 } 9438 }
9427 9439
9428 EOF 9440 EOF
9429 if { (eval echo configure:9430: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 9441 if { (eval echo configure:9442: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5
9430 then 9442 then
9431 ac_cv_func_getpgrp_void=yes 9443 ac_cv_func_getpgrp_void=yes
9432 else 9444 else
9433 conftest_rc="$?" 9445 conftest_rc="$?"
9434 echo "configure: failed program was:" >&5 9446 echo "configure: failed program was:" >&5
9451 9463
9452 fi 9464 fi
9453 9465
9454 9466
9455 echo $ac_n "checking for working mmap""... $ac_c" 1>&6 9467 echo $ac_n "checking for working mmap""... $ac_c" 1>&6
9456 echo "configure:9457: checking for working mmap" >&5 9468 echo "configure:9469: checking for working mmap" >&5
9457 case "$opsys" in ultrix* ) have_mmap=no ;; *) 9469 case "$opsys" in ultrix* ) have_mmap=no ;; *)
9458 cat > conftest.$ac_ext <<EOF 9470 cat > conftest.$ac_ext <<EOF
9459 #line 9460 "configure" 9471 #line 9472 "configure"
9460 #include "confdefs.h" 9472 #include "confdefs.h"
9461 #include <stdio.h> 9473 #include <stdio.h>
9462 #include <unistd.h> 9474 #include <unistd.h>
9463 #include <fcntl.h> 9475 #include <fcntl.h>
9464 #include <sys/mman.h> 9476 #include <sys/mman.h>
9487 return 0; 9499 return 0;
9488 perror ("conftest: mmap failed"); 9500 perror ("conftest: mmap failed");
9489 return 1; 9501 return 1;
9490 } 9502 }
9491 EOF 9503 EOF
9492 if { (eval echo configure:9493: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 9504 if { (eval echo configure:9505: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5
9493 then 9505 then
9494 have_mmap=yes 9506 have_mmap=yes
9495 else 9507 else
9496 conftest_rc="$?" 9508 conftest_rc="$?"
9497 echo "configure: failed program was:" >&5 9509 echo "configure: failed program was:" >&5
9512 9524
9513 for ac_hdr in unistd.h 9525 for ac_hdr in unistd.h
9514 do 9526 do
9515 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 9527 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
9516 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 9528 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
9517 echo "configure:9518: checking for $ac_hdr" >&5 9529 echo "configure:9530: checking for $ac_hdr" >&5
9518 9530
9519 cat > conftest.$ac_ext <<EOF 9531 cat > conftest.$ac_ext <<EOF
9520 #line 9521 "configure" 9532 #line 9533 "configure"
9521 #include "confdefs.h" 9533 #include "confdefs.h"
9522 #include <$ac_hdr> 9534 #include <$ac_hdr>
9523 EOF 9535 EOF
9524 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 9536 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9525 { (eval echo configure:9526: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 9537 { (eval echo configure:9538: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9526 ac_err=`grep -v '^ *+' conftest.out` 9538 ac_err=`grep -v '^ *+' conftest.out`
9527 if test -z "$ac_err"; then 9539 if test -z "$ac_err"; then
9528 rm -rf conftest* 9540 rm -rf conftest*
9529 eval "ac_cv_header_$ac_safe=yes" 9541 eval "ac_cv_header_$ac_safe=yes"
9530 else 9542 else
9552 done 9564 done
9553 9565
9554 for ac_func in getpagesize 9566 for ac_func in getpagesize
9555 do 9567 do
9556 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 9568 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9557 echo "configure:9558: checking for $ac_func" >&5 9569 echo "configure:9570: checking for $ac_func" >&5
9558 9570
9559 cat > conftest.$ac_ext <<EOF 9571 cat > conftest.$ac_ext <<EOF
9560 #line 9561 "configure" 9572 #line 9573 "configure"
9561 #include "confdefs.h" 9573 #include "confdefs.h"
9562 /* System header to define __stub macros and hopefully few prototypes, 9574 /* System header to define __stub macros and hopefully few prototypes,
9563 which can conflict with char $ac_func(); below. */ 9575 which can conflict with char $ac_func(); below. */
9564 #include <assert.h> 9576 #include <assert.h>
9565 /* Override any gcc2 internal prototype to avoid an error. */ 9577 /* Override any gcc2 internal prototype to avoid an error. */
9578 $ac_func(); 9590 $ac_func();
9579 #endif 9591 #endif
9580 9592
9581 ; return 0; } 9593 ; return 0; }
9582 EOF 9594 EOF
9583 if { (eval echo configure:9584: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 9595 if { (eval echo configure:9596: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
9584 rm -rf conftest* 9596 rm -rf conftest*
9585 eval "ac_cv_func_$ac_func=yes" 9597 eval "ac_cv_func_$ac_func=yes"
9586 else 9598 else
9587 echo "configure: failed program was:" >&5 9599 echo "configure: failed program was:" >&5
9588 cat conftest.$ac_ext >&5 9600 cat conftest.$ac_ext >&5
9606 echo "$ac_t""no" 1>&6 9618 echo "$ac_t""no" 1>&6
9607 fi 9619 fi
9608 done 9620 done
9609 9621
9610 echo $ac_n "checking for working mmap""... $ac_c" 1>&6 9622 echo $ac_n "checking for working mmap""... $ac_c" 1>&6
9611 echo "configure:9612: checking for working mmap" >&5 9623 echo "configure:9624: checking for working mmap" >&5
9612 9624
9613 cat > conftest.$ac_ext <<EOF 9625 cat > conftest.$ac_ext <<EOF
9614 #line 9615 "configure" 9626 #line 9627 "configure"
9615 #include "confdefs.h" 9627 #include "confdefs.h"
9616 9628
9617 /* Thanks to Mike Haertel and Jim Avera for this test. 9629 /* Thanks to Mike Haertel and Jim Avera for this test.
9618 Here is a matrix of mmap possibilities: 9630 Here is a matrix of mmap possibilities:
9619 mmap private not fixed 9631 mmap private not fixed
9749 unlink("conftestmmap"); 9761 unlink("conftestmmap");
9750 exit(0); 9762 exit(0);
9751 } 9763 }
9752 9764
9753 EOF 9765 EOF
9754 if { (eval echo configure:9755: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 9766 if { (eval echo configure:9767: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5
9755 then 9767 then
9756 ac_cv_func_mmap_fixed_mapped=yes 9768 ac_cv_func_mmap_fixed_mapped=yes
9757 else 9769 else
9758 conftest_rc="$?" 9770 conftest_rc="$?"
9759 echo "configure: failed program was:" >&5 9771 echo "configure: failed program was:" >&5
9787 } 9799 }
9788 9800
9789 9801
9790 ac_safe=`echo "termios.h" | sed 'y%./+-%__p_%'` 9802 ac_safe=`echo "termios.h" | sed 'y%./+-%__p_%'`
9791 echo $ac_n "checking for termios.h""... $ac_c" 1>&6 9803 echo $ac_n "checking for termios.h""... $ac_c" 1>&6
9792 echo "configure:9793: checking for termios.h" >&5 9804 echo "configure:9805: checking for termios.h" >&5
9793 9805
9794 cat > conftest.$ac_ext <<EOF 9806 cat > conftest.$ac_ext <<EOF
9795 #line 9796 "configure" 9807 #line 9808 "configure"
9796 #include "confdefs.h" 9808 #include "confdefs.h"
9797 #include <termios.h> 9809 #include <termios.h>
9798 EOF 9810 EOF
9799 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 9811 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9800 { (eval echo configure:9801: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 9812 { (eval echo configure:9813: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9801 ac_err=`grep -v '^ *+' conftest.out` 9813 ac_err=`grep -v '^ *+' conftest.out`
9802 if test -z "$ac_err"; then 9814 if test -z "$ac_err"; then
9803 rm -rf conftest* 9815 rm -rf conftest*
9804 eval "ac_cv_header_$ac_safe=yes" 9816 eval "ac_cv_header_$ac_safe=yes"
9805 else 9817 else
9838 9850
9839 else 9851 else
9840 echo "$ac_t""no" 1>&6 9852 echo "$ac_t""no" 1>&6
9841 ac_safe=`echo "termio.h" | sed 'y%./+-%__p_%'` 9853 ac_safe=`echo "termio.h" | sed 'y%./+-%__p_%'`
9842 echo $ac_n "checking for termio.h""... $ac_c" 1>&6 9854 echo $ac_n "checking for termio.h""... $ac_c" 1>&6
9843 echo "configure:9844: checking for termio.h" >&5 9855 echo "configure:9856: checking for termio.h" >&5
9844 9856
9845 cat > conftest.$ac_ext <<EOF 9857 cat > conftest.$ac_ext <<EOF
9846 #line 9847 "configure" 9858 #line 9859 "configure"
9847 #include "confdefs.h" 9859 #include "confdefs.h"
9848 #include <termio.h> 9860 #include <termio.h>
9849 EOF 9861 EOF
9850 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 9862 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9851 { (eval echo configure:9852: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 9863 { (eval echo configure:9864: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9852 ac_err=`grep -v '^ *+' conftest.out` 9864 ac_err=`grep -v '^ *+' conftest.out`
9853 if test -z "$ac_err"; then 9865 if test -z "$ac_err"; then
9854 rm -rf conftest* 9866 rm -rf conftest*
9855 eval "ac_cv_header_$ac_safe=yes" 9867 eval "ac_cv_header_$ac_safe=yes"
9856 else 9868 else
9878 fi 9890 fi
9879 9891
9880 9892
9881 9893
9882 echo $ac_n "checking for socket""... $ac_c" 1>&6 9894 echo $ac_n "checking for socket""... $ac_c" 1>&6
9883 echo "configure:9884: checking for socket" >&5 9895 echo "configure:9896: checking for socket" >&5
9884 9896
9885 cat > conftest.$ac_ext <<EOF 9897 cat > conftest.$ac_ext <<EOF
9886 #line 9887 "configure" 9898 #line 9899 "configure"
9887 #include "confdefs.h" 9899 #include "confdefs.h"
9888 /* System header to define __stub macros and hopefully few prototypes, 9900 /* System header to define __stub macros and hopefully few prototypes,
9889 which can conflict with char socket(); below. */ 9901 which can conflict with char socket(); below. */
9890 #include <assert.h> 9902 #include <assert.h>
9891 /* Override any gcc2 internal prototype to avoid an error. */ 9903 /* Override any gcc2 internal prototype to avoid an error. */
9904 socket(); 9916 socket();
9905 #endif 9917 #endif
9906 9918
9907 ; return 0; } 9919 ; return 0; }
9908 EOF 9920 EOF
9909 if { (eval echo configure:9910: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 9921 if { (eval echo configure:9922: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
9910 rm -rf conftest* 9922 rm -rf conftest*
9911 eval "ac_cv_func_socket=yes" 9923 eval "ac_cv_func_socket=yes"
9912 else 9924 else
9913 echo "configure: failed program was:" >&5 9925 echo "configure: failed program was:" >&5
9914 cat conftest.$ac_ext >&5 9926 cat conftest.$ac_ext >&5
9919 9931
9920 if eval "test \"`echo '$ac_cv_func_'socket`\" = yes"; then 9932 if eval "test \"`echo '$ac_cv_func_'socket`\" = yes"; then
9921 echo "$ac_t""yes" 1>&6 9933 echo "$ac_t""yes" 1>&6
9922 ac_safe=`echo "netinet/in.h" | sed 'y%./+-%__p_%'` 9934 ac_safe=`echo "netinet/in.h" | sed 'y%./+-%__p_%'`
9923 echo $ac_n "checking for netinet/in.h""... $ac_c" 1>&6 9935 echo $ac_n "checking for netinet/in.h""... $ac_c" 1>&6
9924 echo "configure:9925: checking for netinet/in.h" >&5 9936 echo "configure:9937: checking for netinet/in.h" >&5
9925 9937
9926 cat > conftest.$ac_ext <<EOF 9938 cat > conftest.$ac_ext <<EOF
9927 #line 9928 "configure" 9939 #line 9940 "configure"
9928 #include "confdefs.h" 9940 #include "confdefs.h"
9929 #include <netinet/in.h> 9941 #include <netinet/in.h>
9930 EOF 9942 EOF
9931 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 9943 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9932 { (eval echo configure:9933: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 9944 { (eval echo configure:9945: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9933 ac_err=`grep -v '^ *+' conftest.out` 9945 ac_err=`grep -v '^ *+' conftest.out`
9934 if test -z "$ac_err"; then 9946 if test -z "$ac_err"; then
9935 rm -rf conftest* 9947 rm -rf conftest*
9936 eval "ac_cv_header_$ac_safe=yes" 9948 eval "ac_cv_header_$ac_safe=yes"
9937 else 9949 else
9944 rm -f conftest* 9956 rm -f conftest*
9945 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then 9957 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9946 echo "$ac_t""yes" 1>&6 9958 echo "$ac_t""yes" 1>&6
9947 ac_safe=`echo "arpa/inet.h" | sed 'y%./+-%__p_%'` 9959 ac_safe=`echo "arpa/inet.h" | sed 'y%./+-%__p_%'`
9948 echo $ac_n "checking for arpa/inet.h""... $ac_c" 1>&6 9960 echo $ac_n "checking for arpa/inet.h""... $ac_c" 1>&6
9949 echo "configure:9950: checking for arpa/inet.h" >&5 9961 echo "configure:9962: checking for arpa/inet.h" >&5
9950 9962
9951 cat > conftest.$ac_ext <<EOF 9963 cat > conftest.$ac_ext <<EOF
9952 #line 9953 "configure" 9964 #line 9965 "configure"
9953 #include "confdefs.h" 9965 #include "confdefs.h"
9954 #include <arpa/inet.h> 9966 #include <arpa/inet.h>
9955 EOF 9967 EOF
9956 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 9968 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9957 { (eval echo configure:9958: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 9969 { (eval echo configure:9970: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9958 ac_err=`grep -v '^ *+' conftest.out` 9970 ac_err=`grep -v '^ *+' conftest.out`
9959 if test -z "$ac_err"; then 9971 if test -z "$ac_err"; then
9960 rm -rf conftest* 9972 rm -rf conftest*
9961 eval "ac_cv_header_$ac_safe=yes" 9973 eval "ac_cv_header_$ac_safe=yes"
9962 else 9974 else
9977 #define HAVE_SOCKETS 1 9989 #define HAVE_SOCKETS 1
9978 EOF 9990 EOF
9979 } 9991 }
9980 9992
9981 echo $ac_n "checking "for sun_len member in struct sockaddr_un"""... $ac_c" 1>&6 9993 echo $ac_n "checking "for sun_len member in struct sockaddr_un"""... $ac_c" 1>&6
9982 echo "configure:9983: checking "for sun_len member in struct sockaddr_un"" >&5 9994 echo "configure:9995: checking "for sun_len member in struct sockaddr_un"" >&5
9983 cat > conftest.$ac_ext <<EOF 9995 cat > conftest.$ac_ext <<EOF
9984 #line 9985 "configure" 9996 #line 9997 "configure"
9985 #include "confdefs.h" 9997 #include "confdefs.h"
9986 9998
9987 #include <sys/types.h> 9999 #include <sys/types.h>
9988 #include <sys/socket.h> 10000 #include <sys/socket.h>
9989 #include <sys/un.h> 10001 #include <sys/un.h>
9990 10002
9991 int main() { 10003 int main() {
9992 static struct sockaddr_un x; x.sun_len = 1; 10004 static struct sockaddr_un x; x.sun_len = 1;
9993 ; return 0; } 10005 ; return 0; }
9994 EOF 10006 EOF
9995 if { (eval echo configure:9996: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 10007 if { (eval echo configure:10008: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
9996 rm -rf conftest* 10008 rm -rf conftest*
9997 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF 10009 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF
9998 Defining HAVE_SOCKADDR_SUN_LEN 10010 Defining HAVE_SOCKADDR_SUN_LEN
9999 EOF 10011 EOF
10000 cat >> confdefs.h <<\EOF 10012 cat >> confdefs.h <<\EOF
10008 rm -rf conftest* 10020 rm -rf conftest*
10009 echo "$ac_t""no" 1>&6 10021 echo "$ac_t""no" 1>&6
10010 fi 10022 fi
10011 rm -f conftest* 10023 rm -f conftest*
10012 echo $ac_n "checking "for ip_mreq struct in netinet/in.h"""... $ac_c" 1>&6 10024 echo $ac_n "checking "for ip_mreq struct in netinet/in.h"""... $ac_c" 1>&6
10013 echo "configure:10014: checking "for ip_mreq struct in netinet/in.h"" >&5 10025 echo "configure:10026: checking "for ip_mreq struct in netinet/in.h"" >&5
10014 cat > conftest.$ac_ext <<EOF 10026 cat > conftest.$ac_ext <<EOF
10015 #line 10016 "configure" 10027 #line 10028 "configure"
10016 #include "confdefs.h" 10028 #include "confdefs.h"
10017 10029
10018 #include <sys/types.h> 10030 #include <sys/types.h>
10019 #include <netinet/in.h> 10031 #include <netinet/in.h>
10020 10032
10021 int main() { 10033 int main() {
10022 static struct ip_mreq x; 10034 static struct ip_mreq x;
10023 ; return 0; } 10035 ; return 0; }
10024 EOF 10036 EOF
10025 if { (eval echo configure:10026: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 10037 if { (eval echo configure:10038: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
10026 rm -rf conftest* 10038 rm -rf conftest*
10027 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF 10039 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF
10028 Defining HAVE_MULTICAST 10040 Defining HAVE_MULTICAST
10029 EOF 10041 EOF
10030 cat >> confdefs.h <<\EOF 10042 cat >> confdefs.h <<\EOF
10051 echo "$ac_t""no" 1>&6 10063 echo "$ac_t""no" 1>&6
10052 fi 10064 fi
10053 10065
10054 10066
10055 echo $ac_n "checking for msgget""... $ac_c" 1>&6 10067 echo $ac_n "checking for msgget""... $ac_c" 1>&6
10056 echo "configure:10057: checking for msgget" >&5 10068 echo "configure:10069: checking for msgget" >&5
10057 10069
10058 cat > conftest.$ac_ext <<EOF 10070 cat > conftest.$ac_ext <<EOF
10059 #line 10060 "configure" 10071 #line 10072 "configure"
10060 #include "confdefs.h" 10072 #include "confdefs.h"
10061 /* System header to define __stub macros and hopefully few prototypes, 10073 /* System header to define __stub macros and hopefully few prototypes,
10062 which can conflict with char msgget(); below. */ 10074 which can conflict with char msgget(); below. */
10063 #include <assert.h> 10075 #include <assert.h>
10064 /* Override any gcc2 internal prototype to avoid an error. */ 10076 /* Override any gcc2 internal prototype to avoid an error. */
10077 msgget(); 10089 msgget();
10078 #endif 10090 #endif
10079 10091
10080 ; return 0; } 10092 ; return 0; }
10081 EOF 10093 EOF
10082 if { (eval echo configure:10083: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 10094 if { (eval echo configure:10095: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
10083 rm -rf conftest* 10095 rm -rf conftest*
10084 eval "ac_cv_func_msgget=yes" 10096 eval "ac_cv_func_msgget=yes"
10085 else 10097 else
10086 echo "configure: failed program was:" >&5 10098 echo "configure: failed program was:" >&5
10087 cat conftest.$ac_ext >&5 10099 cat conftest.$ac_ext >&5
10092 10104
10093 if eval "test \"`echo '$ac_cv_func_'msgget`\" = yes"; then 10105 if eval "test \"`echo '$ac_cv_func_'msgget`\" = yes"; then
10094 echo "$ac_t""yes" 1>&6 10106 echo "$ac_t""yes" 1>&6
10095 ac_safe=`echo "sys/ipc.h" | sed 'y%./+-%__p_%'` 10107 ac_safe=`echo "sys/ipc.h" | sed 'y%./+-%__p_%'`
10096 echo $ac_n "checking for sys/ipc.h""... $ac_c" 1>&6 10108 echo $ac_n "checking for sys/ipc.h""... $ac_c" 1>&6
10097 echo "configure:10098: checking for sys/ipc.h" >&5 10109 echo "configure:10110: checking for sys/ipc.h" >&5
10098 10110
10099 cat > conftest.$ac_ext <<EOF 10111 cat > conftest.$ac_ext <<EOF
10100 #line 10101 "configure" 10112 #line 10113 "configure"
10101 #include "confdefs.h" 10113 #include "confdefs.h"
10102 #include <sys/ipc.h> 10114 #include <sys/ipc.h>
10103 EOF 10115 EOF
10104 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 10116 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10105 { (eval echo configure:10106: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 10117 { (eval echo configure:10118: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10106 ac_err=`grep -v '^ *+' conftest.out` 10118 ac_err=`grep -v '^ *+' conftest.out`
10107 if test -z "$ac_err"; then 10119 if test -z "$ac_err"; then
10108 rm -rf conftest* 10120 rm -rf conftest*
10109 eval "ac_cv_header_$ac_safe=yes" 10121 eval "ac_cv_header_$ac_safe=yes"
10110 else 10122 else
10117 rm -f conftest* 10129 rm -f conftest*
10118 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then 10130 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10119 echo "$ac_t""yes" 1>&6 10131 echo "$ac_t""yes" 1>&6
10120 ac_safe=`echo "sys/msg.h" | sed 'y%./+-%__p_%'` 10132 ac_safe=`echo "sys/msg.h" | sed 'y%./+-%__p_%'`
10121 echo $ac_n "checking for sys/msg.h""... $ac_c" 1>&6 10133 echo $ac_n "checking for sys/msg.h""... $ac_c" 1>&6
10122 echo "configure:10123: checking for sys/msg.h" >&5 10134 echo "configure:10135: checking for sys/msg.h" >&5
10123 10135
10124 cat > conftest.$ac_ext <<EOF 10136 cat > conftest.$ac_ext <<EOF
10125 #line 10126 "configure" 10137 #line 10138 "configure"
10126 #include "confdefs.h" 10138 #include "confdefs.h"
10127 #include <sys/msg.h> 10139 #include <sys/msg.h>
10128 EOF 10140 EOF
10129 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 10141 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10130 { (eval echo configure:10131: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 10142 { (eval echo configure:10143: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10131 ac_err=`grep -v '^ *+' conftest.out` 10143 ac_err=`grep -v '^ *+' conftest.out`
10132 if test -z "$ac_err"; then 10144 if test -z "$ac_err"; then
10133 rm -rf conftest* 10145 rm -rf conftest*
10134 eval "ac_cv_header_$ac_safe=yes" 10146 eval "ac_cv_header_$ac_safe=yes"
10135 else 10147 else
10163 fi 10175 fi
10164 10176
10165 10177
10166 ac_safe=`echo "dirent.h" | sed 'y%./+-%__p_%'` 10178 ac_safe=`echo "dirent.h" | sed 'y%./+-%__p_%'`
10167 echo $ac_n "checking for dirent.h""... $ac_c" 1>&6 10179 echo $ac_n "checking for dirent.h""... $ac_c" 1>&6
10168 echo "configure:10169: checking for dirent.h" >&5 10180 echo "configure:10181: checking for dirent.h" >&5
10169 10181
10170 cat > conftest.$ac_ext <<EOF 10182 cat > conftest.$ac_ext <<EOF
10171 #line 10172 "configure" 10183 #line 10184 "configure"
10172 #include "confdefs.h" 10184 #include "confdefs.h"
10173 #include <dirent.h> 10185 #include <dirent.h>
10174 EOF 10186 EOF
10175 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 10187 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10176 { (eval echo configure:10177: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 10188 { (eval echo configure:10189: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10177 ac_err=`grep -v '^ *+' conftest.out` 10189 ac_err=`grep -v '^ *+' conftest.out`
10178 if test -z "$ac_err"; then 10190 if test -z "$ac_err"; then
10179 rm -rf conftest* 10191 rm -rf conftest*
10180 eval "ac_cv_header_$ac_safe=yes" 10192 eval "ac_cv_header_$ac_safe=yes"
10181 else 10193 else
10198 10210
10199 else 10211 else
10200 echo "$ac_t""no" 1>&6 10212 echo "$ac_t""no" 1>&6
10201 ac_safe=`echo "sys/dir.h" | sed 'y%./+-%__p_%'` 10213 ac_safe=`echo "sys/dir.h" | sed 'y%./+-%__p_%'`
10202 echo $ac_n "checking for sys/dir.h""... $ac_c" 1>&6 10214 echo $ac_n "checking for sys/dir.h""... $ac_c" 1>&6
10203 echo "configure:10204: checking for sys/dir.h" >&5 10215 echo "configure:10216: checking for sys/dir.h" >&5
10204 10216
10205 cat > conftest.$ac_ext <<EOF 10217 cat > conftest.$ac_ext <<EOF
10206 #line 10207 "configure" 10218 #line 10219 "configure"
10207 #include "confdefs.h" 10219 #include "confdefs.h"
10208 #include <sys/dir.h> 10220 #include <sys/dir.h>
10209 EOF 10221 EOF
10210 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 10222 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10211 { (eval echo configure:10212: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 10223 { (eval echo configure:10224: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10212 ac_err=`grep -v '^ *+' conftest.out` 10224 ac_err=`grep -v '^ *+' conftest.out`
10213 if test -z "$ac_err"; then 10225 if test -z "$ac_err"; then
10214 rm -rf conftest* 10226 rm -rf conftest*
10215 eval "ac_cv_header_$ac_safe=yes" 10227 eval "ac_cv_header_$ac_safe=yes"
10216 else 10228 else
10239 fi 10251 fi
10240 10252
10241 10253
10242 ac_safe=`echo "nlist.h" | sed 'y%./+-%__p_%'` 10254 ac_safe=`echo "nlist.h" | sed 'y%./+-%__p_%'`
10243 echo $ac_n "checking for nlist.h""... $ac_c" 1>&6 10255 echo $ac_n "checking for nlist.h""... $ac_c" 1>&6
10244 echo "configure:10245: checking for nlist.h" >&5 10256 echo "configure:10257: checking for nlist.h" >&5
10245 10257
10246 cat > conftest.$ac_ext <<EOF 10258 cat > conftest.$ac_ext <<EOF
10247 #line 10248 "configure" 10259 #line 10260 "configure"
10248 #include "confdefs.h" 10260 #include "confdefs.h"
10249 #include <nlist.h> 10261 #include <nlist.h>
10250 EOF 10262 EOF
10251 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 10263 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10252 { (eval echo configure:10253: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 10264 { (eval echo configure:10265: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10253 ac_err=`grep -v '^ *+' conftest.out` 10265 ac_err=`grep -v '^ *+' conftest.out`
10254 if test -z "$ac_err"; then 10266 if test -z "$ac_err"; then
10255 rm -rf conftest* 10267 rm -rf conftest*
10256 eval "ac_cv_header_$ac_safe=yes" 10268 eval "ac_cv_header_$ac_safe=yes"
10257 else 10269 else
10277 fi 10289 fi
10278 10290
10279 10291
10280 10292
10281 echo "checking "for sound support"" 1>&6 10293 echo "checking "for sound support"" 1>&6
10282 echo "configure:10283: checking "for sound support"" >&5 10294 echo "configure:10295: checking "for sound support"" >&5
10283 case "$with_sound" in 10295 case "$with_sound" in
10284 native | both ) with_native_sound=yes;; 10296 native | both ) with_native_sound=yes;;
10285 nas | no ) with_native_sound=no;; 10297 nas | no ) with_native_sound=no;;
10286 esac 10298 esac
10287 test -z "$with_native_sound" -a -n "$native_sound_lib" && with_native_sound=yes 10299 test -z "$with_native_sound" -a -n "$native_sound_lib" && with_native_sound=yes
10288 10300
10289 if test "$with_native_sound" != "no"; then 10301 if test "$with_native_sound" != "no"; then
10290 if test -n "$native_sound_lib"; then 10302 if test -n "$native_sound_lib"; then
10291 ac_safe=`echo "multimedia/audio_device.h" | sed 'y%./+-%__p_%'` 10303 ac_safe=`echo "multimedia/audio_device.h" | sed 'y%./+-%__p_%'`
10292 echo $ac_n "checking for multimedia/audio_device.h""... $ac_c" 1>&6 10304 echo $ac_n "checking for multimedia/audio_device.h""... $ac_c" 1>&6
10293 echo "configure:10294: checking for multimedia/audio_device.h" >&5 10305 echo "configure:10306: checking for multimedia/audio_device.h" >&5
10294 10306
10295 cat > conftest.$ac_ext <<EOF 10307 cat > conftest.$ac_ext <<EOF
10296 #line 10297 "configure" 10308 #line 10309 "configure"
10297 #include "confdefs.h" 10309 #include "confdefs.h"
10298 #include <multimedia/audio_device.h> 10310 #include <multimedia/audio_device.h>
10299 EOF 10311 EOF
10300 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 10312 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10301 { (eval echo configure:10302: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 10313 { (eval echo configure:10314: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10302 ac_err=`grep -v '^ *+' conftest.out` 10314 ac_err=`grep -v '^ *+' conftest.out`
10303 if test -z "$ac_err"; then 10315 if test -z "$ac_err"; then
10304 rm -rf conftest* 10316 rm -rf conftest*
10305 eval "ac_cv_header_$ac_safe=yes" 10317 eval "ac_cv_header_$ac_safe=yes"
10306 else 10318 else
10344 case "$canonical" in 10356 case "$canonical" in
10345 *-sgi-* ) 10357 *-sgi-* )
10346 if test -z "$native_sound_lib"; then 10358 if test -z "$native_sound_lib"; then
10347 10359
10348 echo $ac_n "checking for ALopenport in -laudio""... $ac_c" 1>&6 10360 echo $ac_n "checking for ALopenport in -laudio""... $ac_c" 1>&6
10349 echo "configure:10350: checking for ALopenport in -laudio" >&5 10361 echo "configure:10362: checking for ALopenport in -laudio" >&5
10350 ac_lib_var=`echo audio'_'ALopenport | sed 'y%./+-%__p_%'` 10362 ac_lib_var=`echo audio'_'ALopenport | sed 'y%./+-%__p_%'`
10351 10363
10352 xe_check_libs=" -laudio " 10364 xe_check_libs=" -laudio "
10353 cat > conftest.$ac_ext <<EOF 10365 cat > conftest.$ac_ext <<EOF
10354 #line 10355 "configure" 10366 #line 10367 "configure"
10355 #include "confdefs.h" 10367 #include "confdefs.h"
10356 /* Override any gcc2 internal prototype to avoid an error. */ 10368 /* Override any gcc2 internal prototype to avoid an error. */
10357 /* We use char because int might match the return type of a gcc2 10369 /* We use char because int might match the return type of a gcc2
10358 builtin and then its argument prototype would still apply. */ 10370 builtin and then its argument prototype would still apply. */
10359 char ALopenport(); 10371 char ALopenport();
10360 10372
10361 int main() { 10373 int main() {
10362 ALopenport() 10374 ALopenport()
10363 ; return 0; } 10375 ; return 0; }
10364 EOF 10376 EOF
10365 if { (eval echo configure:10366: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 10377 if { (eval echo configure:10378: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
10366 rm -rf conftest* 10378 rm -rf conftest*
10367 eval "ac_cv_lib_$ac_lib_var=yes" 10379 eval "ac_cv_lib_$ac_lib_var=yes"
10368 else 10380 else
10369 echo "configure: failed program was:" >&5 10381 echo "configure: failed program was:" >&5
10370 cat conftest.$ac_ext >&5 10382 cat conftest.$ac_ext >&5
10391 fi ;; 10403 fi ;;
10392 hppa*-hp-hpux* ) 10404 hppa*-hp-hpux* )
10393 if test -z "$native_sound_lib"; then 10405 if test -z "$native_sound_lib"; then
10394 10406
10395 echo $ac_n "checking for AOpenAudio in -lAlib""... $ac_c" 1>&6 10407 echo $ac_n "checking for AOpenAudio in -lAlib""... $ac_c" 1>&6
10396 echo "configure:10397: checking for AOpenAudio in -lAlib" >&5 10408 echo "configure:10409: checking for AOpenAudio in -lAlib" >&5
10397 ac_lib_var=`echo Alib'_'AOpenAudio | sed 'y%./+-%__p_%'` 10409 ac_lib_var=`echo Alib'_'AOpenAudio | sed 'y%./+-%__p_%'`
10398 10410
10399 xe_check_libs=" -lAlib " 10411 xe_check_libs=" -lAlib "
10400 cat > conftest.$ac_ext <<EOF 10412 cat > conftest.$ac_ext <<EOF
10401 #line 10402 "configure" 10413 #line 10414 "configure"
10402 #include "confdefs.h" 10414 #include "confdefs.h"
10403 /* Override any gcc2 internal prototype to avoid an error. */ 10415 /* Override any gcc2 internal prototype to avoid an error. */
10404 /* We use char because int might match the return type of a gcc2 10416 /* We use char because int might match the return type of a gcc2
10405 builtin and then its argument prototype would still apply. */ 10417 builtin and then its argument prototype would still apply. */
10406 char AOpenAudio(); 10418 char AOpenAudio();
10407 10419
10408 int main() { 10420 int main() {
10409 AOpenAudio() 10421 AOpenAudio()
10410 ; return 0; } 10422 ; return 0; }
10411 EOF 10423 EOF
10412 if { (eval echo configure:10413: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 10424 if { (eval echo configure:10425: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
10413 rm -rf conftest* 10425 rm -rf conftest*
10414 eval "ac_cv_lib_$ac_lib_var=yes" 10426 eval "ac_cv_lib_$ac_lib_var=yes"
10415 else 10427 else
10416 echo "configure: failed program was:" >&5 10428 echo "configure: failed program was:" >&5
10417 cat conftest.$ac_ext >&5 10429 cat conftest.$ac_ext >&5
10445 10457
10446 if test -z "$sound_found"; then 10458 if test -z "$sound_found"; then
10447 for dir in "machine" "sys" "linux"; do 10459 for dir in "machine" "sys" "linux"; do
10448 ac_safe=`echo "${dir}/soundcard.h" | sed 'y%./+-%__p_%'` 10460 ac_safe=`echo "${dir}/soundcard.h" | sed 'y%./+-%__p_%'`
10449 echo $ac_n "checking for ${dir}/soundcard.h""... $ac_c" 1>&6 10461 echo $ac_n "checking for ${dir}/soundcard.h""... $ac_c" 1>&6
10450 echo "configure:10451: checking for ${dir}/soundcard.h" >&5 10462 echo "configure:10463: checking for ${dir}/soundcard.h" >&5
10451 10463
10452 cat > conftest.$ac_ext <<EOF 10464 cat > conftest.$ac_ext <<EOF
10453 #line 10454 "configure" 10465 #line 10466 "configure"
10454 #include "confdefs.h" 10466 #include "confdefs.h"
10455 #include <${dir}/soundcard.h> 10467 #include <${dir}/soundcard.h>
10456 EOF 10468 EOF
10457 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 10469 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10458 { (eval echo configure:10459: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 10470 { (eval echo configure:10471: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10459 ac_err=`grep -v '^ *+' conftest.out` 10471 ac_err=`grep -v '^ *+' conftest.out`
10460 if test -z "$ac_err"; then 10472 if test -z "$ac_err"; then
10461 rm -rf conftest* 10473 rm -rf conftest*
10462 eval "ac_cv_header_$ac_safe=yes" 10474 eval "ac_cv_header_$ac_safe=yes"
10463 else 10475 else
10523 extra_objs="$extra_objs nas.o" && if test "$extra_verbose" = "yes"; then 10535 extra_objs="$extra_objs nas.o" && if test "$extra_verbose" = "yes"; then
10524 echo " xemacs will be linked with \"nas.o\"" 10536 echo " xemacs will be linked with \"nas.o\""
10525 fi 10537 fi
10526 libs_x="-laudio $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-laudio\" to \$libs_x"; fi 10538 libs_x="-laudio $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-laudio\" to \$libs_x"; fi
10527 cat > conftest.$ac_ext <<EOF 10539 cat > conftest.$ac_ext <<EOF
10528 #line 10529 "configure" 10540 #line 10541 "configure"
10529 #include "confdefs.h" 10541 #include "confdefs.h"
10530 #include <audio/Xtutil.h> 10542 #include <audio/Xtutil.h>
10531 EOF 10543 EOF
10532 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 10544 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
10533 egrep "AuXtErrorJump" >/dev/null 2>&1; then 10545 egrep "AuXtErrorJump" >/dev/null 2>&1; then
10550 10562
10551 test -z "$with_tty" && with_tty=yes 10563 test -z "$with_tty" && with_tty=yes
10552 10564
10553 if test "$with_tty" = "yes" ; then 10565 if test "$with_tty" = "yes" ; then
10554 echo "checking for TTY-related features" 1>&6 10566 echo "checking for TTY-related features" 1>&6
10555 echo "configure:10556: checking for TTY-related features" >&5 10567 echo "configure:10568: checking for TTY-related features" >&5
10556 { test "$extra_verbose" = "yes" && cat << \EOF 10568 { test "$extra_verbose" = "yes" && cat << \EOF
10557 Defining HAVE_TTY 10569 Defining HAVE_TTY
10558 EOF 10570 EOF
10559 cat >> confdefs.h <<\EOF 10571 cat >> confdefs.h <<\EOF
10560 #define HAVE_TTY 1 10572 #define HAVE_TTY 1
10566 fi 10578 fi
10567 10579
10568 if test -z "$with_ncurses"; then 10580 if test -z "$with_ncurses"; then
10569 10581
10570 echo $ac_n "checking for tgetent in -lncurses""... $ac_c" 1>&6 10582 echo $ac_n "checking for tgetent in -lncurses""... $ac_c" 1>&6
10571 echo "configure:10572: checking for tgetent in -lncurses" >&5 10583 echo "configure:10584: checking for tgetent in -lncurses" >&5
10572 ac_lib_var=`echo ncurses'_'tgetent | sed 'y%./+-%__p_%'` 10584 ac_lib_var=`echo ncurses'_'tgetent | sed 'y%./+-%__p_%'`
10573 10585
10574 xe_check_libs=" -lncurses " 10586 xe_check_libs=" -lncurses "
10575 cat > conftest.$ac_ext <<EOF 10587 cat > conftest.$ac_ext <<EOF
10576 #line 10577 "configure" 10588 #line 10589 "configure"
10577 #include "confdefs.h" 10589 #include "confdefs.h"
10578 /* Override any gcc2 internal prototype to avoid an error. */ 10590 /* Override any gcc2 internal prototype to avoid an error. */
10579 /* We use char because int might match the return type of a gcc2 10591 /* We use char because int might match the return type of a gcc2
10580 builtin and then its argument prototype would still apply. */ 10592 builtin and then its argument prototype would still apply. */
10581 char tgetent(); 10593 char tgetent();
10582 10594
10583 int main() { 10595 int main() {
10584 tgetent() 10596 tgetent()
10585 ; return 0; } 10597 ; return 0; }
10586 EOF 10598 EOF
10587 if { (eval echo configure:10588: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 10599 if { (eval echo configure:10600: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
10588 rm -rf conftest* 10600 rm -rf conftest*
10589 eval "ac_cv_lib_$ac_lib_var=yes" 10601 eval "ac_cv_lib_$ac_lib_var=yes"
10590 else 10602 else
10591 echo "configure: failed program was:" >&5 10603 echo "configure: failed program was:" >&5
10592 cat conftest.$ac_ext >&5 10604 cat conftest.$ac_ext >&5
10615 EOF 10627 EOF
10616 } 10628 }
10617 10629
10618 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` 10630 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'`
10619 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 10631 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6
10620 echo "configure:10621: checking for ncurses/curses.h" >&5 10632 echo "configure:10633: checking for ncurses/curses.h" >&5
10621 10633
10622 cat > conftest.$ac_ext <<EOF 10634 cat > conftest.$ac_ext <<EOF
10623 #line 10624 "configure" 10635 #line 10636 "configure"
10624 #include "confdefs.h" 10636 #include "confdefs.h"
10625 #include <ncurses/curses.h> 10637 #include <ncurses/curses.h>
10626 EOF 10638 EOF
10627 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 10639 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10628 { (eval echo configure:10629: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 10640 { (eval echo configure:10641: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10629 ac_err=`grep -v '^ *+' conftest.out` 10641 ac_err=`grep -v '^ *+' conftest.out`
10630 if test -z "$ac_err"; then 10642 if test -z "$ac_err"; then
10631 rm -rf conftest* 10643 rm -rf conftest*
10632 eval "ac_cv_header_$ac_safe=yes" 10644 eval "ac_cv_header_$ac_safe=yes"
10633 else 10645 else
10645 echo "$ac_t""no" 1>&6 10657 echo "$ac_t""no" 1>&6
10646 fi 10658 fi
10647 10659
10648 ac_safe=`echo "ncurses/term.h" | sed 'y%./+-%__p_%'` 10660 ac_safe=`echo "ncurses/term.h" | sed 'y%./+-%__p_%'`
10649 echo $ac_n "checking for ncurses/term.h""... $ac_c" 1>&6 10661 echo $ac_n "checking for ncurses/term.h""... $ac_c" 1>&6
10650 echo "configure:10651: checking for ncurses/term.h" >&5 10662 echo "configure:10663: checking for ncurses/term.h" >&5
10651 10663
10652 cat > conftest.$ac_ext <<EOF 10664 cat > conftest.$ac_ext <<EOF
10653 #line 10654 "configure" 10665 #line 10666 "configure"
10654 #include "confdefs.h" 10666 #include "confdefs.h"
10655 #include <ncurses/term.h> 10667 #include <ncurses/term.h>
10656 EOF 10668 EOF
10657 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 10669 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10658 { (eval echo configure:10659: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 10670 { (eval echo configure:10671: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10659 ac_err=`grep -v '^ *+' conftest.out` 10671 ac_err=`grep -v '^ *+' conftest.out`
10660 if test -z "$ac_err"; then 10672 if test -z "$ac_err"; then
10661 rm -rf conftest* 10673 rm -rf conftest*
10662 eval "ac_cv_header_$ac_safe=yes" 10674 eval "ac_cv_header_$ac_safe=yes"
10663 else 10675 else
10683 if test "$ac_cv_header_ncurses_curses_h" != "yes" ; then 10695 if test "$ac_cv_header_ncurses_curses_h" != "yes" ; then
10684 save_c_switch_site="$c_switch_site" 10696 save_c_switch_site="$c_switch_site"
10685 c_switch_site="$c_switch_site -I/usr/include/ncurses" 10697 c_switch_site="$c_switch_site -I/usr/include/ncurses"
10686 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` 10698 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'`
10687 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 10699 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6
10688 echo "configure:10689: checking for ncurses/curses.h" >&5 10700 echo "configure:10701: checking for ncurses/curses.h" >&5
10689 10701
10690 cat > conftest.$ac_ext <<EOF 10702 cat > conftest.$ac_ext <<EOF
10691 #line 10692 "configure" 10703 #line 10704 "configure"
10692 #include "confdefs.h" 10704 #include "confdefs.h"
10693 #include <ncurses/curses.h> 10705 #include <ncurses/curses.h>
10694 EOF 10706 EOF
10695 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 10707 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10696 { (eval echo configure:10697: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 10708 { (eval echo configure:10709: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10697 ac_err=`grep -v '^ *+' conftest.out` 10709 ac_err=`grep -v '^ *+' conftest.out`
10698 if test -z "$ac_err"; then 10710 if test -z "$ac_err"; then
10699 rm -rf conftest* 10711 rm -rf conftest*
10700 eval "ac_cv_header_$ac_safe=yes" 10712 eval "ac_cv_header_$ac_safe=yes"
10701 else 10713 else
10726 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi 10738 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi
10727 else 10739 else
10728 for lib in curses termlib termcap; do 10740 for lib in curses termlib termcap; do
10729 10741
10730 echo $ac_n "checking for tgetent in -l$lib""... $ac_c" 1>&6 10742 echo $ac_n "checking for tgetent in -l$lib""... $ac_c" 1>&6
10731 echo "configure:10732: checking for tgetent in -l$lib" >&5 10743 echo "configure:10744: checking for tgetent in -l$lib" >&5
10732 ac_lib_var=`echo $lib'_'tgetent | sed 'y%./+-%__p_%'` 10744 ac_lib_var=`echo $lib'_'tgetent | sed 'y%./+-%__p_%'`
10733 10745
10734 xe_check_libs=" -l$lib " 10746 xe_check_libs=" -l$lib "
10735 cat > conftest.$ac_ext <<EOF 10747 cat > conftest.$ac_ext <<EOF
10736 #line 10737 "configure" 10748 #line 10749 "configure"
10737 #include "confdefs.h" 10749 #include "confdefs.h"
10738 /* Override any gcc2 internal prototype to avoid an error. */ 10750 /* Override any gcc2 internal prototype to avoid an error. */
10739 /* We use char because int might match the return type of a gcc2 10751 /* We use char because int might match the return type of a gcc2
10740 builtin and then its argument prototype would still apply. */ 10752 builtin and then its argument prototype would still apply. */
10741 char tgetent(); 10753 char tgetent();
10742 10754
10743 int main() { 10755 int main() {
10744 tgetent() 10756 tgetent()
10745 ; return 0; } 10757 ; return 0; }
10746 EOF 10758 EOF
10747 if { (eval echo configure:10748: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 10759 if { (eval echo configure:10760: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
10748 rm -rf conftest* 10760 rm -rf conftest*
10749 eval "ac_cv_lib_$ac_lib_var=yes" 10761 eval "ac_cv_lib_$ac_lib_var=yes"
10750 else 10762 else
10751 echo "configure: failed program was:" >&5 10763 echo "configure: failed program was:" >&5
10752 cat conftest.$ac_ext >&5 10764 cat conftest.$ac_ext >&5
10773 if test -n "$libs_termcap"; then 10785 if test -n "$libs_termcap"; then
10774 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi 10786 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi
10775 else 10787 else
10776 10788
10777 echo $ac_n "checking for tgetent in -lcurses""... $ac_c" 1>&6 10789 echo $ac_n "checking for tgetent in -lcurses""... $ac_c" 1>&6
10778 echo "configure:10779: checking for tgetent in -lcurses" >&5 10790 echo "configure:10791: checking for tgetent in -lcurses" >&5
10779 ac_lib_var=`echo curses'_'tgetent | sed 'y%./+-%__p_%'` 10791 ac_lib_var=`echo curses'_'tgetent | sed 'y%./+-%__p_%'`
10780 10792
10781 xe_check_libs=" -lcurses " 10793 xe_check_libs=" -lcurses "
10782 cat > conftest.$ac_ext <<EOF 10794 cat > conftest.$ac_ext <<EOF
10783 #line 10784 "configure" 10795 #line 10796 "configure"
10784 #include "confdefs.h" 10796 #include "confdefs.h"
10785 /* Override any gcc2 internal prototype to avoid an error. */ 10797 /* Override any gcc2 internal prototype to avoid an error. */
10786 /* We use char because int might match the return type of a gcc2 10798 /* We use char because int might match the return type of a gcc2
10787 builtin and then its argument prototype would still apply. */ 10799 builtin and then its argument prototype would still apply. */
10788 char tgetent(); 10800 char tgetent();
10789 10801
10790 int main() { 10802 int main() {
10791 tgetent() 10803 tgetent()
10792 ; return 0; } 10804 ; return 0; }
10793 EOF 10805 EOF
10794 if { (eval echo configure:10795: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 10806 if { (eval echo configure:10807: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
10795 rm -rf conftest* 10807 rm -rf conftest*
10796 eval "ac_cv_lib_$ac_lib_var=yes" 10808 eval "ac_cv_lib_$ac_lib_var=yes"
10797 else 10809 else
10798 echo "configure: failed program was:" >&5 10810 echo "configure: failed program was:" >&5
10799 cat conftest.$ac_ext >&5 10811 cat conftest.$ac_ext >&5
10807 echo "$ac_t""yes" 1>&6 10819 echo "$ac_t""yes" 1>&6
10808 LIBS="-lcurses $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lcurses\" to \$LIBS"; fi 10820 LIBS="-lcurses $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lcurses\" to \$LIBS"; fi
10809 else 10821 else
10810 echo "$ac_t""no" 1>&6 10822 echo "$ac_t""no" 1>&6
10811 echo $ac_n "checking for tgetent in -ltermcap""... $ac_c" 1>&6 10823 echo $ac_n "checking for tgetent in -ltermcap""... $ac_c" 1>&6
10812 echo "configure:10813: checking for tgetent in -ltermcap" >&5 10824 echo "configure:10825: checking for tgetent in -ltermcap" >&5
10813 ac_lib_var=`echo termcap'_'tgetent | sed 'y%./+-%__p_%'` 10825 ac_lib_var=`echo termcap'_'tgetent | sed 'y%./+-%__p_%'`
10814 10826
10815 xe_check_libs=" -ltermcap " 10827 xe_check_libs=" -ltermcap "
10816 cat > conftest.$ac_ext <<EOF 10828 cat > conftest.$ac_ext <<EOF
10817 #line 10818 "configure" 10829 #line 10830 "configure"
10818 #include "confdefs.h" 10830 #include "confdefs.h"
10819 /* Override any gcc2 internal prototype to avoid an error. */ 10831 /* Override any gcc2 internal prototype to avoid an error. */
10820 /* We use char because int might match the return type of a gcc2 10832 /* We use char because int might match the return type of a gcc2
10821 builtin and then its argument prototype would still apply. */ 10833 builtin and then its argument prototype would still apply. */
10822 char tgetent(); 10834 char tgetent();
10823 10835
10824 int main() { 10836 int main() {
10825 tgetent() 10837 tgetent()
10826 ; return 0; } 10838 ; return 0; }
10827 EOF 10839 EOF
10828 if { (eval echo configure:10829: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 10840 if { (eval echo configure:10841: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
10829 rm -rf conftest* 10841 rm -rf conftest*
10830 eval "ac_cv_lib_$ac_lib_var=yes" 10842 eval "ac_cv_lib_$ac_lib_var=yes"
10831 else 10843 else
10832 echo "configure: failed program was:" >&5 10844 echo "configure: failed program was:" >&5
10833 cat conftest.$ac_ext >&5 10845 cat conftest.$ac_ext >&5
10871 } 10883 }
10872 10884
10873 10885
10874 test -z "$with_gpm" && { ac_safe=`echo "gpm.h" | sed 'y%./+-%__p_%'` 10886 test -z "$with_gpm" && { ac_safe=`echo "gpm.h" | sed 'y%./+-%__p_%'`
10875 echo $ac_n "checking for gpm.h""... $ac_c" 1>&6 10887 echo $ac_n "checking for gpm.h""... $ac_c" 1>&6
10876 echo "configure:10877: checking for gpm.h" >&5 10888 echo "configure:10889: checking for gpm.h" >&5
10877 10889
10878 cat > conftest.$ac_ext <<EOF 10890 cat > conftest.$ac_ext <<EOF
10879 #line 10880 "configure" 10891 #line 10892 "configure"
10880 #include "confdefs.h" 10892 #include "confdefs.h"
10881 #include <gpm.h> 10893 #include <gpm.h>
10882 EOF 10894 EOF
10883 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 10895 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10884 { (eval echo configure:10885: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 10896 { (eval echo configure:10897: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10885 ac_err=`grep -v '^ *+' conftest.out` 10897 ac_err=`grep -v '^ *+' conftest.out`
10886 if test -z "$ac_err"; then 10898 if test -z "$ac_err"; then
10887 rm -rf conftest* 10899 rm -rf conftest*
10888 eval "ac_cv_header_$ac_safe=yes" 10900 eval "ac_cv_header_$ac_safe=yes"
10889 else 10901 else
10902 with_gpm=no 10914 with_gpm=no
10903 fi 10915 fi
10904 } 10916 }
10905 test -z "$with_gpm" && { 10917 test -z "$with_gpm" && {
10906 echo $ac_n "checking for Gpm_Open in -lgpm""... $ac_c" 1>&6 10918 echo $ac_n "checking for Gpm_Open in -lgpm""... $ac_c" 1>&6
10907 echo "configure:10908: checking for Gpm_Open in -lgpm" >&5 10919 echo "configure:10920: checking for Gpm_Open in -lgpm" >&5
10908 ac_lib_var=`echo gpm'_'Gpm_Open | sed 'y%./+-%__p_%'` 10920 ac_lib_var=`echo gpm'_'Gpm_Open | sed 'y%./+-%__p_%'`
10909 10921
10910 xe_check_libs=" -lgpm " 10922 xe_check_libs=" -lgpm "
10911 cat > conftest.$ac_ext <<EOF 10923 cat > conftest.$ac_ext <<EOF
10912 #line 10913 "configure" 10924 #line 10925 "configure"
10913 #include "confdefs.h" 10925 #include "confdefs.h"
10914 /* Override any gcc2 internal prototype to avoid an error. */ 10926 /* Override any gcc2 internal prototype to avoid an error. */
10915 /* We use char because int might match the return type of a gcc2 10927 /* We use char because int might match the return type of a gcc2
10916 builtin and then its argument prototype would still apply. */ 10928 builtin and then its argument prototype would still apply. */
10917 char Gpm_Open(); 10929 char Gpm_Open();
10918 10930
10919 int main() { 10931 int main() {
10920 Gpm_Open() 10932 Gpm_Open()
10921 ; return 0; } 10933 ; return 0; }
10922 EOF 10934 EOF
10923 if { (eval echo configure:10924: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 10935 if { (eval echo configure:10936: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
10924 rm -rf conftest* 10936 rm -rf conftest*
10925 eval "ac_cv_lib_$ac_lib_var=yes" 10937 eval "ac_cv_lib_$ac_lib_var=yes"
10926 else 10938 else
10927 echo "configure: failed program was:" >&5 10939 echo "configure: failed program was:" >&5
10928 cat conftest.$ac_ext >&5 10940 cat conftest.$ac_ext >&5
10967 echo " xemacs will be linked with \"event-unixoid.o\"" 10979 echo " xemacs will be linked with \"event-unixoid.o\""
10968 fi 10980 fi
10969 10981
10970 10982
10971 echo "checking for database support" 1>&6 10983 echo "checking for database support" 1>&6
10972 echo "configure:10973: checking for database support" >&5 10984 echo "configure:10985: checking for database support" >&5
10973 10985
10974 if test "$with_database_gnudbm $with_database_dbm" != "no no"; then 10986 if test "$with_database_gnudbm $with_database_dbm" != "no no"; then
10975 ac_safe=`echo "ndbm.h" | sed 'y%./+-%__p_%'` 10987 ac_safe=`echo "ndbm.h" | sed 'y%./+-%__p_%'`
10976 echo $ac_n "checking for ndbm.h""... $ac_c" 1>&6 10988 echo $ac_n "checking for ndbm.h""... $ac_c" 1>&6
10977 echo "configure:10978: checking for ndbm.h" >&5 10989 echo "configure:10990: checking for ndbm.h" >&5
10978 10990
10979 cat > conftest.$ac_ext <<EOF 10991 cat > conftest.$ac_ext <<EOF
10980 #line 10981 "configure" 10992 #line 10993 "configure"
10981 #include "confdefs.h" 10993 #include "confdefs.h"
10982 #include <ndbm.h> 10994 #include <ndbm.h>
10983 EOF 10995 EOF
10984 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 10996 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10985 { (eval echo configure:10986: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 10997 { (eval echo configure:10998: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10986 ac_err=`grep -v '^ *+' conftest.out` 10998 ac_err=`grep -v '^ *+' conftest.out`
10987 if test -z "$ac_err"; then 10999 if test -z "$ac_err"; then
10988 rm -rf conftest* 11000 rm -rf conftest*
10989 eval "ac_cv_header_$ac_safe=yes" 11001 eval "ac_cv_header_$ac_safe=yes"
10990 else 11002 else
11010 fi 11022 fi
11011 11023
11012 if test "$with_database_gnudbm" != "no"; then 11024 if test "$with_database_gnudbm" != "no"; then
11013 11025
11014 echo $ac_n "checking for dbm_open in -lgdbm""... $ac_c" 1>&6 11026 echo $ac_n "checking for dbm_open in -lgdbm""... $ac_c" 1>&6
11015 echo "configure:11016: checking for dbm_open in -lgdbm" >&5 11027 echo "configure:11028: checking for dbm_open in -lgdbm" >&5
11016 ac_lib_var=`echo gdbm'_'dbm_open | sed 'y%./+-%__p_%'` 11028 ac_lib_var=`echo gdbm'_'dbm_open | sed 'y%./+-%__p_%'`
11017 11029
11018 xe_check_libs=" -lgdbm " 11030 xe_check_libs=" -lgdbm "
11019 cat > conftest.$ac_ext <<EOF 11031 cat > conftest.$ac_ext <<EOF
11020 #line 11021 "configure" 11032 #line 11033 "configure"
11021 #include "confdefs.h" 11033 #include "confdefs.h"
11022 /* Override any gcc2 internal prototype to avoid an error. */ 11034 /* Override any gcc2 internal prototype to avoid an error. */
11023 /* We use char because int might match the return type of a gcc2 11035 /* We use char because int might match the return type of a gcc2
11024 builtin and then its argument prototype would still apply. */ 11036 builtin and then its argument prototype would still apply. */
11025 char dbm_open(); 11037 char dbm_open();
11026 11038
11027 int main() { 11039 int main() {
11028 dbm_open() 11040 dbm_open()
11029 ; return 0; } 11041 ; return 0; }
11030 EOF 11042 EOF
11031 if { (eval echo configure:11032: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 11043 if { (eval echo configure:11044: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
11032 rm -rf conftest* 11044 rm -rf conftest*
11033 eval "ac_cv_lib_$ac_lib_var=yes" 11045 eval "ac_cv_lib_$ac_lib_var=yes"
11034 else 11046 else
11035 echo "configure: failed program was:" >&5 11047 echo "configure: failed program was:" >&5
11036 cat conftest.$ac_ext >&5 11048 cat conftest.$ac_ext >&5
11054 11066
11055 fi 11067 fi
11056 11068
11057 if test "$with_database_dbm" != "no"; then 11069 if test "$with_database_dbm" != "no"; then
11058 echo $ac_n "checking for dbm_open""... $ac_c" 1>&6 11070 echo $ac_n "checking for dbm_open""... $ac_c" 1>&6
11059 echo "configure:11060: checking for dbm_open" >&5 11071 echo "configure:11072: checking for dbm_open" >&5
11060 11072
11061 cat > conftest.$ac_ext <<EOF 11073 cat > conftest.$ac_ext <<EOF
11062 #line 11063 "configure" 11074 #line 11075 "configure"
11063 #include "confdefs.h" 11075 #include "confdefs.h"
11064 /* System header to define __stub macros and hopefully few prototypes, 11076 /* System header to define __stub macros and hopefully few prototypes,
11065 which can conflict with char dbm_open(); below. */ 11077 which can conflict with char dbm_open(); below. */
11066 #include <assert.h> 11078 #include <assert.h>
11067 /* Override any gcc2 internal prototype to avoid an error. */ 11079 /* Override any gcc2 internal prototype to avoid an error. */
11080 dbm_open(); 11092 dbm_open();
11081 #endif 11093 #endif
11082 11094
11083 ; return 0; } 11095 ; return 0; }
11084 EOF 11096 EOF
11085 if { (eval echo configure:11086: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 11097 if { (eval echo configure:11098: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
11086 rm -rf conftest* 11098 rm -rf conftest*
11087 eval "ac_cv_func_dbm_open=yes" 11099 eval "ac_cv_func_dbm_open=yes"
11088 else 11100 else
11089 echo "configure: failed program was:" >&5 11101 echo "configure: failed program was:" >&5
11090 cat conftest.$ac_ext >&5 11102 cat conftest.$ac_ext >&5
11099 else 11111 else
11100 echo "$ac_t""no" 1>&6 11112 echo "$ac_t""no" 1>&6
11101 11113
11102 11114
11103 echo $ac_n "checking for dbm_open in -ldbm""... $ac_c" 1>&6 11115 echo $ac_n "checking for dbm_open in -ldbm""... $ac_c" 1>&6
11104 echo "configure:11105: checking for dbm_open in -ldbm" >&5 11116 echo "configure:11117: checking for dbm_open in -ldbm" >&5
11105 ac_lib_var=`echo dbm'_'dbm_open | sed 'y%./+-%__p_%'` 11117 ac_lib_var=`echo dbm'_'dbm_open | sed 'y%./+-%__p_%'`
11106 11118
11107 xe_check_libs=" -ldbm " 11119 xe_check_libs=" -ldbm "
11108 cat > conftest.$ac_ext <<EOF 11120 cat > conftest.$ac_ext <<EOF
11109 #line 11110 "configure" 11121 #line 11122 "configure"
11110 #include "confdefs.h" 11122 #include "confdefs.h"
11111 /* Override any gcc2 internal prototype to avoid an error. */ 11123 /* Override any gcc2 internal prototype to avoid an error. */
11112 /* We use char because int might match the return type of a gcc2 11124 /* We use char because int might match the return type of a gcc2
11113 builtin and then its argument prototype would still apply. */ 11125 builtin and then its argument prototype would still apply. */
11114 char dbm_open(); 11126 char dbm_open();
11115 11127
11116 int main() { 11128 int main() {
11117 dbm_open() 11129 dbm_open()
11118 ; return 0; } 11130 ; return 0; }
11119 EOF 11131 EOF
11120 if { (eval echo configure:11121: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 11132 if { (eval echo configure:11133: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
11121 rm -rf conftest* 11133 rm -rf conftest*
11122 eval "ac_cv_lib_$ac_lib_var=yes" 11134 eval "ac_cv_lib_$ac_lib_var=yes"
11123 else 11135 else
11124 echo "configure: failed program was:" >&5 11136 echo "configure: failed program was:" >&5
11125 cat conftest.$ac_ext >&5 11137 cat conftest.$ac_ext >&5
11157 11169
11158 fi 11170 fi
11159 11171
11160 if test "$with_database_berkdb" != "no"; then 11172 if test "$with_database_berkdb" != "no"; then
11161 echo $ac_n "checking for Berkeley db.h""... $ac_c" 1>&6 11173 echo $ac_n "checking for Berkeley db.h""... $ac_c" 1>&6
11162 echo "configure:11163: checking for Berkeley db.h" >&5 11174 echo "configure:11175: checking for Berkeley db.h" >&5
11163 for path in "db/db.h" "db.h"; do 11175 for path in "db/db.h" "db.h"; do
11164 cat > conftest.$ac_ext <<EOF 11176 cat > conftest.$ac_ext <<EOF
11165 #line 11166 "configure" 11177 #line 11178 "configure"
11166 #include "confdefs.h" 11178 #include "confdefs.h"
11167 #ifdef HAVE_INTTYPES_H 11179 #ifdef HAVE_INTTYPES_H
11168 #define __BIT_TYPES_DEFINED__ 11180 #define __BIT_TYPES_DEFINED__
11169 #include <inttypes.h> 11181 #include <inttypes.h>
11170 typedef uint8_t u_int8_t; 11182 typedef uint8_t u_int8_t;
11178 11190
11179 int main() { 11191 int main() {
11180 11192
11181 ; return 0; } 11193 ; return 0; }
11182 EOF 11194 EOF
11183 if { (eval echo configure:11184: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 11195 if { (eval echo configure:11196: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11184 rm -rf conftest* 11196 rm -rf conftest*
11185 db_h_path="$path"; break 11197 db_h_path="$path"; break
11186 else 11198 else
11187 echo "configure: failed program was:" >&5 11199 echo "configure: failed program was:" >&5
11188 cat conftest.$ac_ext >&5 11200 cat conftest.$ac_ext >&5
11194 else echo "$ac_t""$db_h_path" 1>&6 11206 else echo "$ac_t""$db_h_path" 1>&6
11195 fi 11207 fi
11196 11208
11197 if test "$with_database_berkdb" != "no"; then 11209 if test "$with_database_berkdb" != "no"; then
11198 echo $ac_n "checking for Berkeley DB version""... $ac_c" 1>&6 11210 echo $ac_n "checking for Berkeley DB version""... $ac_c" 1>&6
11199 echo "configure:11200: checking for Berkeley DB version" >&5 11211 echo "configure:11212: checking for Berkeley DB version" >&5
11200 cat > conftest.$ac_ext <<EOF 11212 cat > conftest.$ac_ext <<EOF
11201 #line 11202 "configure" 11213 #line 11214 "configure"
11202 #include "confdefs.h" 11214 #include "confdefs.h"
11203 #include <$db_h_path> 11215 #include <$db_h_path>
11204 #if DB_VERSION_MAJOR > 1 11216 #if DB_VERSION_MAJOR > 1
11205 yes 11217 yes
11206 #endif 11218 #endif
11215 echo "$ac_t""1" 1>&6; dbfunc=dbopen 11227 echo "$ac_t""1" 1>&6; dbfunc=dbopen
11216 fi 11228 fi
11217 rm -f conftest* 11229 rm -f conftest*
11218 11230
11219 echo $ac_n "checking for $dbfunc""... $ac_c" 1>&6 11231 echo $ac_n "checking for $dbfunc""... $ac_c" 1>&6
11220 echo "configure:11221: checking for $dbfunc" >&5 11232 echo "configure:11233: checking for $dbfunc" >&5
11221 11233
11222 cat > conftest.$ac_ext <<EOF 11234 cat > conftest.$ac_ext <<EOF
11223 #line 11224 "configure" 11235 #line 11236 "configure"
11224 #include "confdefs.h" 11236 #include "confdefs.h"
11225 /* System header to define __stub macros and hopefully few prototypes, 11237 /* System header to define __stub macros and hopefully few prototypes,
11226 which can conflict with char $dbfunc(); below. */ 11238 which can conflict with char $dbfunc(); below. */
11227 #include <assert.h> 11239 #include <assert.h>
11228 /* Override any gcc2 internal prototype to avoid an error. */ 11240 /* Override any gcc2 internal prototype to avoid an error. */
11241 $dbfunc(); 11253 $dbfunc();
11242 #endif 11254 #endif
11243 11255
11244 ; return 0; } 11256 ; return 0; }
11245 EOF 11257 EOF
11246 if { (eval echo configure:11247: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 11258 if { (eval echo configure:11259: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
11247 rm -rf conftest* 11259 rm -rf conftest*
11248 eval "ac_cv_func_$dbfunc=yes" 11260 eval "ac_cv_func_$dbfunc=yes"
11249 else 11261 else
11250 echo "configure: failed program was:" >&5 11262 echo "configure: failed program was:" >&5
11251 cat conftest.$ac_ext >&5 11263 cat conftest.$ac_ext >&5
11260 else 11272 else
11261 echo "$ac_t""no" 1>&6 11273 echo "$ac_t""no" 1>&6
11262 11274
11263 11275
11264 echo $ac_n "checking for $dbfunc in -ldb""... $ac_c" 1>&6 11276 echo $ac_n "checking for $dbfunc in -ldb""... $ac_c" 1>&6
11265 echo "configure:11266: checking for $dbfunc in -ldb" >&5 11277 echo "configure:11278: checking for $dbfunc in -ldb" >&5
11266 ac_lib_var=`echo db'_'$dbfunc | sed 'y%./+-%__p_%'` 11278 ac_lib_var=`echo db'_'$dbfunc | sed 'y%./+-%__p_%'`
11267 11279
11268 xe_check_libs=" -ldb " 11280 xe_check_libs=" -ldb "
11269 cat > conftest.$ac_ext <<EOF 11281 cat > conftest.$ac_ext <<EOF
11270 #line 11271 "configure" 11282 #line 11283 "configure"
11271 #include "confdefs.h" 11283 #include "confdefs.h"
11272 /* Override any gcc2 internal prototype to avoid an error. */ 11284 /* Override any gcc2 internal prototype to avoid an error. */
11273 /* We use char because int might match the return type of a gcc2 11285 /* We use char because int might match the return type of a gcc2
11274 builtin and then its argument prototype would still apply. */ 11286 builtin and then its argument prototype would still apply. */
11275 char $dbfunc(); 11287 char $dbfunc();
11276 11288
11277 int main() { 11289 int main() {
11278 $dbfunc() 11290 $dbfunc()
11279 ; return 0; } 11291 ; return 0; }
11280 EOF 11292 EOF
11281 if { (eval echo configure:11282: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 11293 if { (eval echo configure:11294: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
11282 rm -rf conftest* 11294 rm -rf conftest*
11283 eval "ac_cv_lib_$ac_lib_var=yes" 11295 eval "ac_cv_lib_$ac_lib_var=yes"
11284 else 11296 else
11285 echo "configure: failed program was:" >&5 11297 echo "configure: failed program was:" >&5
11286 cat conftest.$ac_ext >&5 11298 cat conftest.$ac_ext >&5
11340 fi 11352 fi
11341 11353
11342 if test "$with_socks" = "yes"; then 11354 if test "$with_socks" = "yes"; then
11343 11355
11344 echo $ac_n "checking for SOCKSinit in -lsocks""... $ac_c" 1>&6 11356 echo $ac_n "checking for SOCKSinit in -lsocks""... $ac_c" 1>&6
11345 echo "configure:11346: checking for SOCKSinit in -lsocks" >&5 11357 echo "configure:11358: checking for SOCKSinit in -lsocks" >&5
11346 ac_lib_var=`echo socks'_'SOCKSinit | sed 'y%./+-%__p_%'` 11358 ac_lib_var=`echo socks'_'SOCKSinit | sed 'y%./+-%__p_%'`
11347 11359
11348 xe_check_libs=" -lsocks " 11360 xe_check_libs=" -lsocks "
11349 cat > conftest.$ac_ext <<EOF 11361 cat > conftest.$ac_ext <<EOF
11350 #line 11351 "configure" 11362 #line 11363 "configure"
11351 #include "confdefs.h" 11363 #include "confdefs.h"
11352 /* Override any gcc2 internal prototype to avoid an error. */ 11364 /* Override any gcc2 internal prototype to avoid an error. */
11353 /* We use char because int might match the return type of a gcc2 11365 /* We use char because int might match the return type of a gcc2
11354 builtin and then its argument prototype would still apply. */ 11366 builtin and then its argument prototype would still apply. */
11355 char SOCKSinit(); 11367 char SOCKSinit();
11356 11368
11357 int main() { 11369 int main() {
11358 SOCKSinit() 11370 SOCKSinit()
11359 ; return 0; } 11371 ; return 0; }
11360 EOF 11372 EOF
11361 if { (eval echo configure:11362: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 11373 if { (eval echo configure:11374: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
11362 rm -rf conftest* 11374 rm -rf conftest*
11363 eval "ac_cv_lib_$ac_lib_var=yes" 11375 eval "ac_cv_lib_$ac_lib_var=yes"
11364 else 11376 else
11365 echo "configure: failed program was:" >&5 11377 echo "configure: failed program was:" >&5
11366 cat conftest.$ac_ext >&5 11378 cat conftest.$ac_ext >&5
11415 11427
11416 for ac_hdr in dlfcn.h 11428 for ac_hdr in dlfcn.h
11417 do 11429 do
11418 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 11430 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
11419 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 11431 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
11420 echo "configure:11421: checking for $ac_hdr" >&5 11432 echo "configure:11433: checking for $ac_hdr" >&5
11421 11433
11422 cat > conftest.$ac_ext <<EOF 11434 cat > conftest.$ac_ext <<EOF
11423 #line 11424 "configure" 11435 #line 11436 "configure"
11424 #include "confdefs.h" 11436 #include "confdefs.h"
11425 #include <$ac_hdr> 11437 #include <$ac_hdr>
11426 EOF 11438 EOF
11427 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 11439 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11428 { (eval echo configure:11429: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 11440 { (eval echo configure:11441: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11429 ac_err=`grep -v '^ *+' conftest.out` 11441 ac_err=`grep -v '^ *+' conftest.out`
11430 if test -z "$ac_err"; then 11442 if test -z "$ac_err"; then
11431 rm -rf conftest* 11443 rm -rf conftest*
11432 eval "ac_cv_header_$ac_safe=yes" 11444 eval "ac_cv_header_$ac_safe=yes"
11433 else 11445 else
11454 fi 11466 fi
11455 done 11467 done
11456 11468
11457 test -z "$with_shlib" && test ! -z "$have_dlfcn" && { 11469 test -z "$with_shlib" && test ! -z "$have_dlfcn" && {
11458 echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6 11470 echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6
11459 echo "configure:11460: checking for dlopen in -ldl" >&5 11471 echo "configure:11472: checking for dlopen in -ldl" >&5
11460 ac_lib_var=`echo dl'_'dlopen | sed 'y%./+-%__p_%'` 11472 ac_lib_var=`echo dl'_'dlopen | sed 'y%./+-%__p_%'`
11461 11473
11462 xe_check_libs=" -ldl " 11474 xe_check_libs=" -ldl "
11463 cat > conftest.$ac_ext <<EOF 11475 cat > conftest.$ac_ext <<EOF
11464 #line 11465 "configure" 11476 #line 11477 "configure"
11465 #include "confdefs.h" 11477 #include "confdefs.h"
11466 /* Override any gcc2 internal prototype to avoid an error. */ 11478 /* Override any gcc2 internal prototype to avoid an error. */
11467 /* We use char because int might match the return type of a gcc2 11479 /* We use char because int might match the return type of a gcc2
11468 builtin and then its argument prototype would still apply. */ 11480 builtin and then its argument prototype would still apply. */
11469 char dlopen(); 11481 char dlopen();
11470 11482
11471 int main() { 11483 int main() {
11472 dlopen() 11484 dlopen()
11473 ; return 0; } 11485 ; return 0; }
11474 EOF 11486 EOF
11475 if { (eval echo configure:11476: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 11487 if { (eval echo configure:11488: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
11476 rm -rf conftest* 11488 rm -rf conftest*
11477 eval "ac_cv_lib_$ac_lib_var=yes" 11489 eval "ac_cv_lib_$ac_lib_var=yes"
11478 else 11490 else
11479 echo "configure: failed program was:" >&5 11491 echo "configure: failed program was:" >&5
11480 cat conftest.$ac_ext >&5 11492 cat conftest.$ac_ext >&5
11499 fi 11511 fi
11500 11512
11501 } 11513 }
11502 test -z "$with_shlib" && test ! -z "$have_dlfcn" && { 11514 test -z "$with_shlib" && test ! -z "$have_dlfcn" && {
11503 echo $ac_n "checking for _dlopen in -lc""... $ac_c" 1>&6 11515 echo $ac_n "checking for _dlopen in -lc""... $ac_c" 1>&6
11504 echo "configure:11505: checking for _dlopen in -lc" >&5 11516 echo "configure:11517: checking for _dlopen in -lc" >&5
11505 ac_lib_var=`echo c'_'_dlopen | sed 'y%./+-%__p_%'` 11517 ac_lib_var=`echo c'_'_dlopen | sed 'y%./+-%__p_%'`
11506 11518
11507 xe_check_libs=" -lc " 11519 xe_check_libs=" -lc "
11508 cat > conftest.$ac_ext <<EOF 11520 cat > conftest.$ac_ext <<EOF
11509 #line 11510 "configure" 11521 #line 11522 "configure"
11510 #include "confdefs.h" 11522 #include "confdefs.h"
11511 /* Override any gcc2 internal prototype to avoid an error. */ 11523 /* Override any gcc2 internal prototype to avoid an error. */
11512 /* We use char because int might match the return type of a gcc2 11524 /* We use char because int might match the return type of a gcc2
11513 builtin and then its argument prototype would still apply. */ 11525 builtin and then its argument prototype would still apply. */
11514 char _dlopen(); 11526 char _dlopen();
11515 11527
11516 int main() { 11528 int main() {
11517 _dlopen() 11529 _dlopen()
11518 ; return 0; } 11530 ; return 0; }
11519 EOF 11531 EOF
11520 if { (eval echo configure:11521: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 11532 if { (eval echo configure:11533: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
11521 rm -rf conftest* 11533 rm -rf conftest*
11522 eval "ac_cv_lib_$ac_lib_var=yes" 11534 eval "ac_cv_lib_$ac_lib_var=yes"
11523 else 11535 else
11524 echo "configure: failed program was:" >&5 11536 echo "configure: failed program was:" >&5
11525 cat conftest.$ac_ext >&5 11537 cat conftest.$ac_ext >&5
11544 fi 11556 fi
11545 11557
11546 } 11558 }
11547 test -z "$with_shlib" && test ! -z "$have_dlfcn" && { 11559 test -z "$with_shlib" && test ! -z "$have_dlfcn" && {
11548 echo $ac_n "checking for dlopen in -lc""... $ac_c" 1>&6 11560 echo $ac_n "checking for dlopen in -lc""... $ac_c" 1>&6
11549 echo "configure:11550: checking for dlopen in -lc" >&5 11561 echo "configure:11562: checking for dlopen in -lc" >&5
11550 ac_lib_var=`echo c'_'dlopen | sed 'y%./+-%__p_%'` 11562 ac_lib_var=`echo c'_'dlopen | sed 'y%./+-%__p_%'`
11551 11563
11552 xe_check_libs=" -lc " 11564 xe_check_libs=" -lc "
11553 cat > conftest.$ac_ext <<EOF 11565 cat > conftest.$ac_ext <<EOF
11554 #line 11555 "configure" 11566 #line 11567 "configure"
11555 #include "confdefs.h" 11567 #include "confdefs.h"
11556 /* Override any gcc2 internal prototype to avoid an error. */ 11568 /* Override any gcc2 internal prototype to avoid an error. */
11557 /* We use char because int might match the return type of a gcc2 11569 /* We use char because int might match the return type of a gcc2
11558 builtin and then its argument prototype would still apply. */ 11570 builtin and then its argument prototype would still apply. */
11559 char dlopen(); 11571 char dlopen();
11560 11572
11561 int main() { 11573 int main() {
11562 dlopen() 11574 dlopen()
11563 ; return 0; } 11575 ; return 0; }
11564 EOF 11576 EOF
11565 if { (eval echo configure:11566: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 11577 if { (eval echo configure:11578: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
11566 rm -rf conftest* 11578 rm -rf conftest*
11567 eval "ac_cv_lib_$ac_lib_var=yes" 11579 eval "ac_cv_lib_$ac_lib_var=yes"
11568 else 11580 else
11569 echo "configure: failed program was:" >&5 11581 echo "configure: failed program was:" >&5
11570 cat conftest.$ac_ext >&5 11582 cat conftest.$ac_ext >&5
11589 fi 11601 fi
11590 11602
11591 } 11603 }
11592 test -z "$with_shlib" && { 11604 test -z "$with_shlib" && {
11593 echo $ac_n "checking for shl_load in -ldld""... $ac_c" 1>&6 11605 echo $ac_n "checking for shl_load in -ldld""... $ac_c" 1>&6
11594 echo "configure:11595: checking for shl_load in -ldld" >&5 11606 echo "configure:11607: checking for shl_load in -ldld" >&5
11595 ac_lib_var=`echo dld'_'shl_load | sed 'y%./+-%__p_%'` 11607 ac_lib_var=`echo dld'_'shl_load | sed 'y%./+-%__p_%'`
11596 11608
11597 xe_check_libs=" -ldld " 11609 xe_check_libs=" -ldld "
11598 cat > conftest.$ac_ext <<EOF 11610 cat > conftest.$ac_ext <<EOF
11599 #line 11600 "configure" 11611 #line 11612 "configure"
11600 #include "confdefs.h" 11612 #include "confdefs.h"
11601 /* Override any gcc2 internal prototype to avoid an error. */ 11613 /* Override any gcc2 internal prototype to avoid an error. */
11602 /* We use char because int might match the return type of a gcc2 11614 /* We use char because int might match the return type of a gcc2
11603 builtin and then its argument prototype would still apply. */ 11615 builtin and then its argument prototype would still apply. */
11604 char shl_load(); 11616 char shl_load();
11605 11617
11606 int main() { 11618 int main() {
11607 shl_load() 11619 shl_load()
11608 ; return 0; } 11620 ; return 0; }
11609 EOF 11621 EOF
11610 if { (eval echo configure:11611: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 11622 if { (eval echo configure:11623: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
11611 rm -rf conftest* 11623 rm -rf conftest*
11612 eval "ac_cv_lib_$ac_lib_var=yes" 11624 eval "ac_cv_lib_$ac_lib_var=yes"
11613 else 11625 else
11614 echo "configure: failed program was:" >&5 11626 echo "configure: failed program was:" >&5
11615 cat conftest.$ac_ext >&5 11627 cat conftest.$ac_ext >&5
11634 fi 11646 fi
11635 11647
11636 } 11648 }
11637 test -z "$with_shlib" && { 11649 test -z "$with_shlib" && {
11638 echo $ac_n "checking for dld_init in -ldld""... $ac_c" 1>&6 11650 echo $ac_n "checking for dld_init in -ldld""... $ac_c" 1>&6
11639 echo "configure:11640: checking for dld_init in -ldld" >&5 11651 echo "configure:11652: checking for dld_init in -ldld" >&5
11640 ac_lib_var=`echo dld'_'dld_init | sed 'y%./+-%__p_%'` 11652 ac_lib_var=`echo dld'_'dld_init | sed 'y%./+-%__p_%'`
11641 11653
11642 xe_check_libs=" -ldld " 11654 xe_check_libs=" -ldld "
11643 cat > conftest.$ac_ext <<EOF 11655 cat > conftest.$ac_ext <<EOF
11644 #line 11645 "configure" 11656 #line 11657 "configure"
11645 #include "confdefs.h" 11657 #include "confdefs.h"
11646 /* Override any gcc2 internal prototype to avoid an error. */ 11658 /* Override any gcc2 internal prototype to avoid an error. */
11647 /* We use char because int might match the return type of a gcc2 11659 /* We use char because int might match the return type of a gcc2
11648 builtin and then its argument prototype would still apply. */ 11660 builtin and then its argument prototype would still apply. */
11649 char dld_init(); 11661 char dld_init();
11650 11662
11651 int main() { 11663 int main() {
11652 dld_init() 11664 dld_init()
11653 ; return 0; } 11665 ; return 0; }
11654 EOF 11666 EOF
11655 if { (eval echo configure:11656: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 11667 if { (eval echo configure:11668: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
11656 rm -rf conftest* 11668 rm -rf conftest*
11657 eval "ac_cv_lib_$ac_lib_var=yes" 11669 eval "ac_cv_lib_$ac_lib_var=yes"
11658 else 11670 else
11659 echo "configure: failed program was:" >&5 11671 echo "configure: failed program was:" >&5
11660 cat conftest.$ac_ext >&5 11672 cat conftest.$ac_ext >&5
11700 dll_lflags="-shared" 11712 dll_lflags="-shared"
11701 dll_cflags="-r" 11713 dll_cflags="-r"
11702 dll_oflags="-o " 11714 dll_oflags="-o "
11703 11715
11704 echo $ac_n "checking how to build a shared library""... $ac_c" 1>&6 11716 echo $ac_n "checking how to build a shared library""... $ac_c" 1>&6
11705 echo "configure:11706: checking how to build a shared library" >&5 11717 echo "configure:11718: checking how to build a shared library" >&5
11706 case `uname -rs` in 11718 case `uname -rs` in
11707 UNIX_SV*|UNIX_System_V*) 11719 UNIX_SV*|UNIX_System_V*)
11708 dll_lflags="-G" 11720 dll_lflags="-G"
11709 dll_cflags=-Kpic 11721 dll_cflags=-Kpic
11710 dll_ld="ld" 11722 dll_ld="ld"
11791 11803
11792 11804
11793 for ac_func in dlerror 11805 for ac_func in dlerror
11794 do 11806 do
11795 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 11807 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11796 echo "configure:11797: checking for $ac_func" >&5 11808 echo "configure:11809: checking for $ac_func" >&5
11797 11809
11798 cat > conftest.$ac_ext <<EOF 11810 cat > conftest.$ac_ext <<EOF
11799 #line 11800 "configure" 11811 #line 11812 "configure"
11800 #include "confdefs.h" 11812 #include "confdefs.h"
11801 /* System header to define __stub macros and hopefully few prototypes, 11813 /* System header to define __stub macros and hopefully few prototypes,
11802 which can conflict with char $ac_func(); below. */ 11814 which can conflict with char $ac_func(); below. */
11803 #include <assert.h> 11815 #include <assert.h>
11804 /* Override any gcc2 internal prototype to avoid an error. */ 11816 /* Override any gcc2 internal prototype to avoid an error. */
11817 $ac_func(); 11829 $ac_func();
11818 #endif 11830 #endif
11819 11831
11820 ; return 0; } 11832 ; return 0; }
11821 EOF 11833 EOF
11822 if { (eval echo configure:11823: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 11834 if { (eval echo configure:11835: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
11823 rm -rf conftest* 11835 rm -rf conftest*
11824 eval "ac_cv_func_$ac_func=yes" 11836 eval "ac_cv_func_$ac_func=yes"
11825 else 11837 else
11826 echo "configure: failed program was:" >&5 11838 echo "configure: failed program was:" >&5
11827 cat conftest.$ac_ext >&5 11839 cat conftest.$ac_ext >&5
11853 *) ;; 11865 *) ;;
11854 esac 11866 esac
11855 fi 11867 fi
11856 11868
11857 cat > conftest.$ac_ext <<EOF 11869 cat > conftest.$ac_ext <<EOF
11858 #line 11859 "configure" 11870 #line 11871 "configure"
11859 #include "confdefs.h" 11871 #include "confdefs.h"
11860 int main(int c,char *v[]){return 0;} 11872 int main(int c,char *v[]){return 0;}
11861 EOF 11873 EOF
11862 if { (eval echo configure:11863: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 11874 if { (eval echo configure:11875: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5
11863 then 11875 then
11864 : 11876 :
11865 else 11877 else
11866 conftest_rc="$?" 11878 conftest_rc="$?"
11867 echo "configure: failed program was:" >&5 11879 echo "configure: failed program was:" >&5
12374 fi 12386 fi
12375 echo "" 12387 echo ""
12376 echo "$0 $quoted_arguments" 12388 echo "$0 $quoted_arguments"
12377 ) > Installation 12389 ) > Installation
12378 12390
12379 xemacs_betaname="" 12391 if test ! -z ${emacs_beta_version} ; then
12380 test ! -z "${emacs_beta_version}" && xemacs_betaname="-b${emacs_beta_version}" 12392 if test -z "${emacs_is_beta}" ; then
12393 xemacs_betaname="-p${emacs_beta_version}"
12394 else
12395 xemacs_betaname="-b${emacs_beta_version}"
12396 fi
12397 else
12398 xemacs_betaname=""
12399 fi
12381 12400
12382 ( 12401 (
12383 echo " 12402 echo "
12384 12403
12385 XEmacs ${emacs_major_version}.${emacs_minor_version}${xemacs_betaname} \"$xemacs_codename\" configured for \`$canonical'. 12404 XEmacs ${emacs_major_version}.${emacs_minor_version}${xemacs_betaname} \"$xemacs_codename\" configured for \`$canonical'.