Mercurial > hg > xemacs-beta
comparison configure @ 418:e804706bfb8c r21-2-17
Import from CVS: tag r21-2-17
author | cvs |
---|---|
date | Mon, 13 Aug 2007 11:23:13 +0200 |
parents | ebe98a74bd68 |
children | 41dbb7a9d5f2 |
comparison
equal
deleted
inserted
replaced
417:43a18b32d56e | 418:e804706bfb8c |
---|---|
1 #! /bin/sh | 1 #! /bin/sh |
2 | 2 |
3 #### Configuration script for XEmacs. Largely divergent from FSF. | 3 #### Configuration script for XEmacs. Largely divergent from FSF. |
4 #### Guess values for system-dependent variables and create Makefiles. | 4 #### Guess values for system-dependent variables and create Makefiles. |
5 #### Generated automatically using autoconf version 2.13 | 5 #### Generated automatically using autoconf version 2.12 |
6 #### Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc. | 6 #### Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc. |
7 #### Copyright (C) 1993-1995 Board of Trustees, University of Illinois. | 7 #### Copyright (C) 1993-1995 Board of Trustees, University of Illinois. |
8 #### Copyright (C) 1996, 1997 Sun Microsystems, Inc. | 8 #### Copyright (C) 1996, 1997 Sun Microsystems, Inc. |
9 #### Copyright (C) 1995, 1996 Ben Wing. | 9 #### Copyright (C) 1995, 1996 Ben Wing. |
10 #### Copyright (C) 1998, 1999 J. Kean Johnston. | 10 #### Copyright (C) 1998, 1999 J. Kean Johnston. |
197 ac_cpp='$CPP '"$xe_cppflags" | 197 ac_cpp='$CPP '"$xe_cppflags" |
198 ac_compile='${CC-cc} -c $CFLAGS '"$xe_cppflags"' conftest.$ac_ext 1>&5' | 198 ac_compile='${CC-cc} -c $CFLAGS '"$xe_cppflags"' conftest.$ac_ext 1>&5' |
199 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' | 199 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' |
200 cross_compiling=no | 200 cross_compiling=no |
201 | 201 |
202 ac_exeext= | |
203 ac_objext=o | |
204 if (echo "testing\c"; echo 1,2,3) | grep c >/dev/null; then | 202 if (echo "testing\c"; echo 1,2,3) | grep c >/dev/null; then |
205 # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu. | 203 # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu. |
206 if (echo -n testing; echo 1,2,3) | sed s/-n/xn/ | grep xn >/dev/null; then | 204 if (echo -n testing; echo 1,2,3) | sed s/-n/xn/ | grep xn >/dev/null; then |
207 ac_n= ac_c=' | 205 ac_n= ac_c=' |
208 ' ac_t=' ' | 206 ' ac_t=' ' |
767 echo " Use \`$progname --help' to show usage.") >&2 && exit 1 | 765 echo " Use \`$progname --help' to show usage.") >&2 && exit 1 |
768 fi | 766 fi |
769 fi | 767 fi |
770 | 768 |
771 echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6 | 769 echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6 |
772 echo "configure:773: checking whether ln -s works" >&5 | 770 echo "configure:771: checking whether ln -s works" >&5 |
773 | 771 |
774 rm -f conftestdata | 772 rm -f conftestdata |
775 if ln -s X conftestdata 2>/dev/null | 773 if ln -s X conftestdata 2>/dev/null |
776 then | 774 then |
777 rm -f conftestdata | 775 rm -f conftestdata |
1012 } | 1010 } |
1013 | 1011 |
1014 | 1012 |
1015 | 1013 |
1016 echo $ac_n "checking "host system type"""... $ac_c" 1>&6 | 1014 echo $ac_n "checking "host system type"""... $ac_c" 1>&6 |
1017 echo "configure:1018: checking "host system type"" >&5 | 1015 echo "configure:1016: checking "host system type"" >&5 |
1018 internal_configuration=`echo $configuration | sed 's/-\(workshop\)//'` | 1016 internal_configuration=`echo $configuration | sed 's/-\(workshop\)//'` |
1019 canonical=`${CONFIG_SHELL-/bin/sh} $srcdir/config.sub "$internal_configuration"` | 1017 canonical=`${CONFIG_SHELL-/bin/sh} $srcdir/config.sub "$internal_configuration"` |
1020 configuration=`echo "$configuration" | sed 's/^\([^-][^-]*-[^-][^-]*-[^-][^-]*\)-.*$/\1/'` | 1018 configuration=`echo "$configuration" | sed 's/^\([^-][^-]*-[^-][^-]*-[^-][^-]*\)-.*$/\1/'` |
1021 canonical=`echo "$canonical" | sed 's/^\([^-][^-]*-[^-][^-]*-[^-][^-]*\)-.*$/\1/'` | 1019 canonical=`echo "$canonical" | sed 's/^\([^-][^-]*-[^-][^-]*-[^-][^-]*\)-.*$/\1/'` |
1022 echo "$ac_t""$configuration" 1>&6 | 1020 echo "$ac_t""$configuration" 1>&6 |
1504 xe_save_CFLAGS="$CFLAGS" | 1502 xe_save_CFLAGS="$CFLAGS" |
1505 | 1503 |
1506 # Extract the first word of "gcc", so it can be a program name with args. | 1504 # Extract the first word of "gcc", so it can be a program name with args. |
1507 set dummy gcc; ac_word=$2 | 1505 set dummy gcc; ac_word=$2 |
1508 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 1506 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
1509 echo "configure:1510: checking for $ac_word" >&5 | 1507 echo "configure:1508: checking for $ac_word" >&5 |
1510 | 1508 |
1511 if test -n "$CC"; then | 1509 if test -n "$CC"; then |
1512 ac_cv_prog_CC="$CC" # Let the user override the test. | 1510 ac_cv_prog_CC="$CC" # Let the user override the test. |
1513 else | 1511 else |
1514 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | 1512 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" |
1515 ac_dummy="$PATH" | 1513 for ac_dir in $PATH; do |
1516 for ac_dir in $ac_dummy; do | |
1517 test -z "$ac_dir" && ac_dir=. | 1514 test -z "$ac_dir" && ac_dir=. |
1518 if test -f $ac_dir/$ac_word; then | 1515 if test -f $ac_dir/$ac_word; then |
1519 ac_cv_prog_CC="gcc" | 1516 ac_cv_prog_CC="gcc" |
1520 break | 1517 break |
1521 fi | 1518 fi |
1531 | 1528 |
1532 if test -z "$CC"; then | 1529 if test -z "$CC"; then |
1533 # Extract the first word of "cc", so it can be a program name with args. | 1530 # Extract the first word of "cc", so it can be a program name with args. |
1534 set dummy cc; ac_word=$2 | 1531 set dummy cc; ac_word=$2 |
1535 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 1532 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
1536 echo "configure:1537: checking for $ac_word" >&5 | 1533 echo "configure:1534: checking for $ac_word" >&5 |
1537 | 1534 |
1538 if test -n "$CC"; then | 1535 if test -n "$CC"; then |
1539 ac_cv_prog_CC="$CC" # Let the user override the test. | 1536 ac_cv_prog_CC="$CC" # Let the user override the test. |
1540 else | 1537 else |
1541 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | 1538 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" |
1542 ac_prog_rejected=no | 1539 ac_prog_rejected=no |
1543 ac_dummy="$PATH" | 1540 for ac_dir in $PATH; do |
1544 for ac_dir in $ac_dummy; do | |
1545 test -z "$ac_dir" && ac_dir=. | 1541 test -z "$ac_dir" && ac_dir=. |
1546 if test -f $ac_dir/$ac_word; then | 1542 if test -f $ac_dir/$ac_word; then |
1547 if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then | 1543 if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then |
1548 ac_prog_rejected=yes | 1544 ac_prog_rejected=yes |
1549 continue | 1545 continue |
1573 echo "$ac_t""$CC" 1>&6 | 1569 echo "$ac_t""$CC" 1>&6 |
1574 else | 1570 else |
1575 echo "$ac_t""no" 1>&6 | 1571 echo "$ac_t""no" 1>&6 |
1576 fi | 1572 fi |
1577 | 1573 |
1578 if test -z "$CC"; then | |
1579 case "`uname -s`" in | |
1580 *win32* | *WIN32*) | |
1581 # Extract the first word of "cl", so it can be a program name with args. | |
1582 set dummy cl; ac_word=$2 | |
1583 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | |
1584 echo "configure:1585: checking for $ac_word" >&5 | |
1585 | |
1586 if test -n "$CC"; then | |
1587 ac_cv_prog_CC="$CC" # Let the user override the test. | |
1588 else | |
1589 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | |
1590 ac_dummy="$PATH" | |
1591 for ac_dir in $ac_dummy; do | |
1592 test -z "$ac_dir" && ac_dir=. | |
1593 if test -f $ac_dir/$ac_word; then | |
1594 ac_cv_prog_CC="cl" | |
1595 break | |
1596 fi | |
1597 done | |
1598 IFS="$ac_save_ifs" | |
1599 fi | |
1600 CC="$ac_cv_prog_CC" | |
1601 if test -n "$CC"; then | |
1602 echo "$ac_t""$CC" 1>&6 | |
1603 else | |
1604 echo "$ac_t""no" 1>&6 | |
1605 fi | |
1606 ;; | |
1607 esac | |
1608 fi | |
1609 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } | 1574 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } |
1610 fi | 1575 fi |
1611 | 1576 |
1612 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 | 1577 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 |
1613 echo "configure:1614: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 | 1578 echo "configure:1579: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 |
1614 | 1579 |
1615 ac_ext=c | 1580 ac_ext=c |
1616 xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS' | 1581 xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS' |
1617 xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_switch_x_site $ld_switch_run' | 1582 xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_switch_x_site $ld_switch_run' |
1618 xe_libs='$ld_call_shared $xe_check_libs $X_EXTRA_LIBS $libs_x $X_PRE_LIBS $LIBS $libs_machine $libs_system $libs_standard' | 1583 xe_libs='$ld_call_shared $xe_check_libs $X_EXTRA_LIBS $libs_x $X_PRE_LIBS $LIBS $libs_machine $libs_system $libs_standard' |
1619 ac_cpp='$CPP '"$xe_cppflags" | 1584 ac_cpp='$CPP '"$xe_cppflags" |
1620 ac_compile='${CC-cc} -c $CFLAGS '"$xe_cppflags"' conftest.$ac_ext 1>&5' | 1585 ac_compile='${CC-cc} -c $CFLAGS '"$xe_cppflags"' conftest.$ac_ext 1>&5' |
1621 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' | 1586 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' |
1622 cross_compiling=no | 1587 cross_compiling=no |
1623 | 1588 |
1624 cat > conftest.$ac_ext << EOF | 1589 cat > conftest.$ac_ext <<EOF |
1625 | 1590 #line 1591 "configure" |
1626 #line 1627 "configure" | 1591 #include "confdefs.h" |
1627 #include "confdefs.h" | |
1628 | |
1629 main(){return(0);} | 1592 main(){return(0);} |
1630 EOF | 1593 EOF |
1631 if { (eval echo configure:1632: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 1594 if { (eval echo configure:1595: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
1632 ac_cv_prog_cc_works=yes | 1595 ac_cv_prog_cc_works=yes |
1633 # If we can't run a trivial program, we are probably using a cross compiler. | 1596 # If we can't run a trivial program, we are probably using a cross compiler. |
1634 if (./conftest; exit) 2>/dev/null; then | 1597 if (./conftest; exit) 2>/dev/null; then |
1635 ac_cv_prog_cc_cross=no | 1598 ac_cv_prog_cc_cross=no |
1636 else | 1599 else |
1640 echo "configure: failed program was:" >&5 | 1603 echo "configure: failed program was:" >&5 |
1641 cat conftest.$ac_ext >&5 | 1604 cat conftest.$ac_ext >&5 |
1642 ac_cv_prog_cc_works=no | 1605 ac_cv_prog_cc_works=no |
1643 fi | 1606 fi |
1644 rm -fr conftest* | 1607 rm -fr conftest* |
1645 ac_ext=c | |
1646 xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS' | |
1647 xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_switch_x_site $ld_switch_run' | |
1648 xe_libs='$ld_call_shared $xe_check_libs $X_EXTRA_LIBS $libs_x $X_PRE_LIBS $LIBS $libs_machine $libs_system $libs_standard' | |
1649 ac_cpp='$CPP '"$xe_cppflags" | |
1650 ac_compile='${CC-cc} -c $CFLAGS '"$xe_cppflags"' conftest.$ac_ext 1>&5' | |
1651 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' | |
1652 cross_compiling=no | |
1653 | 1608 |
1654 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 | 1609 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 |
1655 if test $ac_cv_prog_cc_works = no; then | 1610 if test $ac_cv_prog_cc_works = no; then |
1656 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } | 1611 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } |
1657 fi | 1612 fi |
1658 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 | 1613 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 |
1659 echo "configure:1660: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 | 1614 echo "configure:1615: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 |
1660 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 | 1615 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 |
1661 cross_compiling=$ac_cv_prog_cc_cross | 1616 cross_compiling=$ac_cv_prog_cc_cross |
1662 | 1617 |
1663 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 | 1618 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 |
1664 echo "configure:1665: checking whether we are using GNU C" >&5 | 1619 echo "configure:1620: checking whether we are using GNU C" >&5 |
1665 | 1620 |
1666 cat > conftest.c <<EOF | 1621 cat > conftest.c <<EOF |
1667 #ifdef __GNUC__ | 1622 #ifdef __GNUC__ |
1668 yes; | 1623 yes; |
1669 #endif | 1624 #endif |
1670 EOF | 1625 EOF |
1671 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1672: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then | 1626 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1627: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then |
1672 ac_cv_prog_gcc=yes | 1627 ac_cv_prog_gcc=yes |
1673 else | 1628 else |
1674 ac_cv_prog_gcc=no | 1629 ac_cv_prog_gcc=no |
1675 fi | 1630 fi |
1676 | 1631 |
1677 echo "$ac_t""$ac_cv_prog_gcc" 1>&6 | 1632 echo "$ac_t""$ac_cv_prog_gcc" 1>&6 |
1678 | 1633 |
1679 if test $ac_cv_prog_gcc = yes; then | 1634 if test $ac_cv_prog_gcc = yes; then |
1680 GCC=yes | 1635 GCC=yes |
1681 else | 1636 ac_test_CFLAGS="${CFLAGS+set}" |
1682 GCC= | 1637 ac_save_CFLAGS="$CFLAGS" |
1683 fi | 1638 CFLAGS= |
1684 | 1639 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 |
1685 ac_test_CFLAGS="${CFLAGS+set}" | 1640 echo "configure:1641: checking whether ${CC-cc} accepts -g" >&5 |
1686 ac_save_CFLAGS="$CFLAGS" | |
1687 CFLAGS= | |
1688 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 | |
1689 echo "configure:1690: checking whether ${CC-cc} accepts -g" >&5 | |
1690 | 1641 |
1691 echo 'void f(){}' > conftest.c | 1642 echo 'void f(){}' > conftest.c |
1692 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then | 1643 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then |
1693 ac_cv_prog_cc_g=yes | 1644 ac_cv_prog_cc_g=yes |
1694 else | 1645 else |
1696 fi | 1647 fi |
1697 rm -f conftest* | 1648 rm -f conftest* |
1698 | 1649 |
1699 | 1650 |
1700 echo "$ac_t""$ac_cv_prog_cc_g" 1>&6 | 1651 echo "$ac_t""$ac_cv_prog_cc_g" 1>&6 |
1701 if test "$ac_test_CFLAGS" = set; then | 1652 if test "$ac_test_CFLAGS" = set; then |
1702 CFLAGS="$ac_save_CFLAGS" | 1653 CFLAGS="$ac_save_CFLAGS" |
1703 elif test $ac_cv_prog_cc_g = yes; then | 1654 elif test $ac_cv_prog_cc_g = yes; then |
1704 if test "$GCC" = yes; then | |
1705 CFLAGS="-g -O2" | 1655 CFLAGS="-g -O2" |
1706 else | 1656 else |
1707 CFLAGS="-g" | 1657 CFLAGS="-O2" |
1708 fi | 1658 fi |
1709 else | 1659 else |
1710 if test "$GCC" = yes; then | 1660 GCC= |
1711 CFLAGS="-O2" | 1661 test "${CFLAGS+set}" = set || CFLAGS="-g" |
1712 else | |
1713 CFLAGS= | |
1714 fi | |
1715 fi | 1662 fi |
1716 | 1663 |
1717 if test "$with_gcc" = "no" -a "$GCC" = "yes"; then | 1664 if test "$with_gcc" = "no" -a "$GCC" = "yes"; then |
1718 CC=${NON_GNU_CC-cc} | 1665 CC=${NON_GNU_CC-cc} |
1719 # Extract the first word of "gcc", so it can be a program name with args. | 1666 # Extract the first word of "gcc", so it can be a program name with args. |
1720 set dummy gcc; ac_word=$2 | 1667 set dummy gcc; ac_word=$2 |
1721 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 1668 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
1722 echo "configure:1723: checking for $ac_word" >&5 | 1669 echo "configure:1670: checking for $ac_word" >&5 |
1723 | 1670 |
1724 if test -n "$CC"; then | 1671 if test -n "$CC"; then |
1725 ac_cv_prog_CC="$CC" # Let the user override the test. | 1672 ac_cv_prog_CC="$CC" # Let the user override the test. |
1726 else | 1673 else |
1727 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | 1674 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" |
1728 ac_dummy="$PATH" | 1675 for ac_dir in $PATH; do |
1729 for ac_dir in $ac_dummy; do | |
1730 test -z "$ac_dir" && ac_dir=. | 1676 test -z "$ac_dir" && ac_dir=. |
1731 if test -f $ac_dir/$ac_word; then | 1677 if test -f $ac_dir/$ac_word; then |
1732 ac_cv_prog_CC="gcc" | 1678 ac_cv_prog_CC="gcc" |
1733 break | 1679 break |
1734 fi | 1680 fi |
1744 | 1690 |
1745 if test -z "$CC"; then | 1691 if test -z "$CC"; then |
1746 # Extract the first word of "cc", so it can be a program name with args. | 1692 # Extract the first word of "cc", so it can be a program name with args. |
1747 set dummy cc; ac_word=$2 | 1693 set dummy cc; ac_word=$2 |
1748 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 1694 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
1749 echo "configure:1750: checking for $ac_word" >&5 | 1695 echo "configure:1696: checking for $ac_word" >&5 |
1750 | 1696 |
1751 if test -n "$CC"; then | 1697 if test -n "$CC"; then |
1752 ac_cv_prog_CC="$CC" # Let the user override the test. | 1698 ac_cv_prog_CC="$CC" # Let the user override the test. |
1753 else | 1699 else |
1754 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | 1700 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" |
1755 ac_prog_rejected=no | 1701 ac_prog_rejected=no |
1756 ac_dummy="$PATH" | 1702 for ac_dir in $PATH; do |
1757 for ac_dir in $ac_dummy; do | |
1758 test -z "$ac_dir" && ac_dir=. | 1703 test -z "$ac_dir" && ac_dir=. |
1759 if test -f $ac_dir/$ac_word; then | 1704 if test -f $ac_dir/$ac_word; then |
1760 if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then | 1705 if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then |
1761 ac_prog_rejected=yes | 1706 ac_prog_rejected=yes |
1762 continue | 1707 continue |
1786 echo "$ac_t""$CC" 1>&6 | 1731 echo "$ac_t""$CC" 1>&6 |
1787 else | 1732 else |
1788 echo "$ac_t""no" 1>&6 | 1733 echo "$ac_t""no" 1>&6 |
1789 fi | 1734 fi |
1790 | 1735 |
1791 if test -z "$CC"; then | |
1792 case "`uname -s`" in | |
1793 *win32* | *WIN32*) | |
1794 # Extract the first word of "cl", so it can be a program name with args. | |
1795 set dummy cl; ac_word=$2 | |
1796 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | |
1797 echo "configure:1798: checking for $ac_word" >&5 | |
1798 | |
1799 if test -n "$CC"; then | |
1800 ac_cv_prog_CC="$CC" # Let the user override the test. | |
1801 else | |
1802 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | |
1803 ac_dummy="$PATH" | |
1804 for ac_dir in $ac_dummy; do | |
1805 test -z "$ac_dir" && ac_dir=. | |
1806 if test -f $ac_dir/$ac_word; then | |
1807 ac_cv_prog_CC="cl" | |
1808 break | |
1809 fi | |
1810 done | |
1811 IFS="$ac_save_ifs" | |
1812 fi | |
1813 CC="$ac_cv_prog_CC" | |
1814 if test -n "$CC"; then | |
1815 echo "$ac_t""$CC" 1>&6 | |
1816 else | |
1817 echo "$ac_t""no" 1>&6 | |
1818 fi | |
1819 ;; | |
1820 esac | |
1821 fi | |
1822 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } | 1736 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } |
1823 fi | 1737 fi |
1824 | 1738 |
1825 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 | 1739 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 |
1826 echo "configure:1827: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 | 1740 echo "configure:1741: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 |
1827 | 1741 |
1828 ac_ext=c | 1742 ac_ext=c |
1829 xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS' | 1743 xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS' |
1830 xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_switch_x_site $ld_switch_run' | 1744 xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_switch_x_site $ld_switch_run' |
1831 xe_libs='$ld_call_shared $xe_check_libs $X_EXTRA_LIBS $libs_x $X_PRE_LIBS $LIBS $libs_machine $libs_system $libs_standard' | 1745 xe_libs='$ld_call_shared $xe_check_libs $X_EXTRA_LIBS $libs_x $X_PRE_LIBS $LIBS $libs_machine $libs_system $libs_standard' |
1832 ac_cpp='$CPP '"$xe_cppflags" | 1746 ac_cpp='$CPP '"$xe_cppflags" |
1833 ac_compile='${CC-cc} -c $CFLAGS '"$xe_cppflags"' conftest.$ac_ext 1>&5' | 1747 ac_compile='${CC-cc} -c $CFLAGS '"$xe_cppflags"' conftest.$ac_ext 1>&5' |
1834 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' | 1748 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' |
1835 cross_compiling=no | 1749 cross_compiling=no |
1836 | 1750 |
1837 cat > conftest.$ac_ext << EOF | 1751 cat > conftest.$ac_ext <<EOF |
1838 | 1752 #line 1753 "configure" |
1839 #line 1840 "configure" | 1753 #include "confdefs.h" |
1840 #include "confdefs.h" | |
1841 | |
1842 main(){return(0);} | 1754 main(){return(0);} |
1843 EOF | 1755 EOF |
1844 if { (eval echo configure:1845: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 1756 if { (eval echo configure:1757: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
1845 ac_cv_prog_cc_works=yes | 1757 ac_cv_prog_cc_works=yes |
1846 # If we can't run a trivial program, we are probably using a cross compiler. | 1758 # If we can't run a trivial program, we are probably using a cross compiler. |
1847 if (./conftest; exit) 2>/dev/null; then | 1759 if (./conftest; exit) 2>/dev/null; then |
1848 ac_cv_prog_cc_cross=no | 1760 ac_cv_prog_cc_cross=no |
1849 else | 1761 else |
1853 echo "configure: failed program was:" >&5 | 1765 echo "configure: failed program was:" >&5 |
1854 cat conftest.$ac_ext >&5 | 1766 cat conftest.$ac_ext >&5 |
1855 ac_cv_prog_cc_works=no | 1767 ac_cv_prog_cc_works=no |
1856 fi | 1768 fi |
1857 rm -fr conftest* | 1769 rm -fr conftest* |
1858 ac_ext=c | |
1859 xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS' | |
1860 xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_switch_x_site $ld_switch_run' | |
1861 xe_libs='$ld_call_shared $xe_check_libs $X_EXTRA_LIBS $libs_x $X_PRE_LIBS $LIBS $libs_machine $libs_system $libs_standard' | |
1862 ac_cpp='$CPP '"$xe_cppflags" | |
1863 ac_compile='${CC-cc} -c $CFLAGS '"$xe_cppflags"' conftest.$ac_ext 1>&5' | |
1864 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' | |
1865 cross_compiling=no | |
1866 | 1770 |
1867 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 | 1771 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 |
1868 if test $ac_cv_prog_cc_works = no; then | 1772 if test $ac_cv_prog_cc_works = no; then |
1869 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } | 1773 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } |
1870 fi | 1774 fi |
1871 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 | 1775 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 |
1872 echo "configure:1873: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 | 1776 echo "configure:1777: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 |
1873 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 | 1777 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 |
1874 cross_compiling=$ac_cv_prog_cc_cross | 1778 cross_compiling=$ac_cv_prog_cc_cross |
1875 | 1779 |
1876 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 | 1780 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 |
1877 echo "configure:1878: checking whether we are using GNU C" >&5 | 1781 echo "configure:1782: checking whether we are using GNU C" >&5 |
1878 | 1782 |
1879 cat > conftest.c <<EOF | 1783 cat > conftest.c <<EOF |
1880 #ifdef __GNUC__ | 1784 #ifdef __GNUC__ |
1881 yes; | 1785 yes; |
1882 #endif | 1786 #endif |
1883 EOF | 1787 EOF |
1884 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1885: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then | 1788 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1789: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then |
1885 ac_cv_prog_gcc=yes | 1789 ac_cv_prog_gcc=yes |
1886 else | 1790 else |
1887 ac_cv_prog_gcc=no | 1791 ac_cv_prog_gcc=no |
1888 fi | 1792 fi |
1889 | 1793 |
1890 echo "$ac_t""$ac_cv_prog_gcc" 1>&6 | 1794 echo "$ac_t""$ac_cv_prog_gcc" 1>&6 |
1891 | 1795 |
1892 if test $ac_cv_prog_gcc = yes; then | 1796 if test $ac_cv_prog_gcc = yes; then |
1893 GCC=yes | 1797 GCC=yes |
1894 else | 1798 ac_test_CFLAGS="${CFLAGS+set}" |
1895 GCC= | 1799 ac_save_CFLAGS="$CFLAGS" |
1896 fi | 1800 CFLAGS= |
1897 | 1801 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 |
1898 ac_test_CFLAGS="${CFLAGS+set}" | 1802 echo "configure:1803: checking whether ${CC-cc} accepts -g" >&5 |
1899 ac_save_CFLAGS="$CFLAGS" | |
1900 CFLAGS= | |
1901 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 | |
1902 echo "configure:1903: checking whether ${CC-cc} accepts -g" >&5 | |
1903 | 1803 |
1904 echo 'void f(){}' > conftest.c | 1804 echo 'void f(){}' > conftest.c |
1905 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then | 1805 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then |
1906 ac_cv_prog_cc_g=yes | 1806 ac_cv_prog_cc_g=yes |
1907 else | 1807 else |
1909 fi | 1809 fi |
1910 rm -f conftest* | 1810 rm -f conftest* |
1911 | 1811 |
1912 | 1812 |
1913 echo "$ac_t""$ac_cv_prog_cc_g" 1>&6 | 1813 echo "$ac_t""$ac_cv_prog_cc_g" 1>&6 |
1914 if test "$ac_test_CFLAGS" = set; then | 1814 if test "$ac_test_CFLAGS" = set; then |
1915 CFLAGS="$ac_save_CFLAGS" | 1815 CFLAGS="$ac_save_CFLAGS" |
1916 elif test $ac_cv_prog_cc_g = yes; then | 1816 elif test $ac_cv_prog_cc_g = yes; then |
1917 if test "$GCC" = yes; then | |
1918 CFLAGS="-g -O2" | 1817 CFLAGS="-g -O2" |
1919 else | 1818 else |
1920 CFLAGS="-g" | 1819 CFLAGS="-O2" |
1921 fi | 1820 fi |
1922 else | 1821 else |
1923 if test "$GCC" = yes; then | 1822 GCC= |
1924 CFLAGS="-O2" | 1823 test "${CFLAGS+set}" = set || CFLAGS="-g" |
1925 else | |
1926 CFLAGS= | |
1927 fi | |
1928 fi | 1824 fi |
1929 | 1825 |
1930 elif test "$with_gcc" = "yes" -a "$GCC" != "yes" ; then | 1826 elif test "$with_gcc" = "yes" -a "$GCC" != "yes" ; then |
1931 CC=gcc | 1827 CC=gcc |
1932 # Extract the first word of "gcc", so it can be a program name with args. | 1828 # Extract the first word of "gcc", so it can be a program name with args. |
1933 set dummy gcc; ac_word=$2 | 1829 set dummy gcc; ac_word=$2 |
1934 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 1830 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
1935 echo "configure:1936: checking for $ac_word" >&5 | 1831 echo "configure:1832: checking for $ac_word" >&5 |
1936 | 1832 |
1937 if test -n "$CC"; then | 1833 if test -n "$CC"; then |
1938 ac_cv_prog_CC="$CC" # Let the user override the test. | 1834 ac_cv_prog_CC="$CC" # Let the user override the test. |
1939 else | 1835 else |
1940 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | 1836 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" |
1941 ac_dummy="$PATH" | 1837 for ac_dir in $PATH; do |
1942 for ac_dir in $ac_dummy; do | |
1943 test -z "$ac_dir" && ac_dir=. | 1838 test -z "$ac_dir" && ac_dir=. |
1944 if test -f $ac_dir/$ac_word; then | 1839 if test -f $ac_dir/$ac_word; then |
1945 ac_cv_prog_CC="gcc" | 1840 ac_cv_prog_CC="gcc" |
1946 break | 1841 break |
1947 fi | 1842 fi |
1957 | 1852 |
1958 if test -z "$CC"; then | 1853 if test -z "$CC"; then |
1959 # Extract the first word of "cc", so it can be a program name with args. | 1854 # Extract the first word of "cc", so it can be a program name with args. |
1960 set dummy cc; ac_word=$2 | 1855 set dummy cc; ac_word=$2 |
1961 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 1856 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
1962 echo "configure:1963: checking for $ac_word" >&5 | 1857 echo "configure:1858: checking for $ac_word" >&5 |
1963 | 1858 |
1964 if test -n "$CC"; then | 1859 if test -n "$CC"; then |
1965 ac_cv_prog_CC="$CC" # Let the user override the test. | 1860 ac_cv_prog_CC="$CC" # Let the user override the test. |
1966 else | 1861 else |
1967 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | 1862 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" |
1968 ac_prog_rejected=no | 1863 ac_prog_rejected=no |
1969 ac_dummy="$PATH" | 1864 for ac_dir in $PATH; do |
1970 for ac_dir in $ac_dummy; do | |
1971 test -z "$ac_dir" && ac_dir=. | 1865 test -z "$ac_dir" && ac_dir=. |
1972 if test -f $ac_dir/$ac_word; then | 1866 if test -f $ac_dir/$ac_word; then |
1973 if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then | 1867 if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then |
1974 ac_prog_rejected=yes | 1868 ac_prog_rejected=yes |
1975 continue | 1869 continue |
1999 echo "$ac_t""$CC" 1>&6 | 1893 echo "$ac_t""$CC" 1>&6 |
2000 else | 1894 else |
2001 echo "$ac_t""no" 1>&6 | 1895 echo "$ac_t""no" 1>&6 |
2002 fi | 1896 fi |
2003 | 1897 |
2004 if test -z "$CC"; then | |
2005 case "`uname -s`" in | |
2006 *win32* | *WIN32*) | |
2007 # Extract the first word of "cl", so it can be a program name with args. | |
2008 set dummy cl; ac_word=$2 | |
2009 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | |
2010 echo "configure:2011: checking for $ac_word" >&5 | |
2011 | |
2012 if test -n "$CC"; then | |
2013 ac_cv_prog_CC="$CC" # Let the user override the test. | |
2014 else | |
2015 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | |
2016 ac_dummy="$PATH" | |
2017 for ac_dir in $ac_dummy; do | |
2018 test -z "$ac_dir" && ac_dir=. | |
2019 if test -f $ac_dir/$ac_word; then | |
2020 ac_cv_prog_CC="cl" | |
2021 break | |
2022 fi | |
2023 done | |
2024 IFS="$ac_save_ifs" | |
2025 fi | |
2026 CC="$ac_cv_prog_CC" | |
2027 if test -n "$CC"; then | |
2028 echo "$ac_t""$CC" 1>&6 | |
2029 else | |
2030 echo "$ac_t""no" 1>&6 | |
2031 fi | |
2032 ;; | |
2033 esac | |
2034 fi | |
2035 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } | 1898 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } |
2036 fi | 1899 fi |
2037 | 1900 |
2038 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 | 1901 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 |
2039 echo "configure:2040: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 | 1902 echo "configure:1903: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 |
2040 | 1903 |
2041 ac_ext=c | 1904 ac_ext=c |
2042 xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS' | 1905 xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS' |
2043 xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_switch_x_site $ld_switch_run' | 1906 xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_switch_x_site $ld_switch_run' |
2044 xe_libs='$ld_call_shared $xe_check_libs $X_EXTRA_LIBS $libs_x $X_PRE_LIBS $LIBS $libs_machine $libs_system $libs_standard' | 1907 xe_libs='$ld_call_shared $xe_check_libs $X_EXTRA_LIBS $libs_x $X_PRE_LIBS $LIBS $libs_machine $libs_system $libs_standard' |
2045 ac_cpp='$CPP '"$xe_cppflags" | 1908 ac_cpp='$CPP '"$xe_cppflags" |
2046 ac_compile='${CC-cc} -c $CFLAGS '"$xe_cppflags"' conftest.$ac_ext 1>&5' | 1909 ac_compile='${CC-cc} -c $CFLAGS '"$xe_cppflags"' conftest.$ac_ext 1>&5' |
2047 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' | 1910 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' |
2048 cross_compiling=no | 1911 cross_compiling=no |
2049 | 1912 |
2050 cat > conftest.$ac_ext << EOF | 1913 cat > conftest.$ac_ext <<EOF |
2051 | 1914 #line 1915 "configure" |
2052 #line 2053 "configure" | 1915 #include "confdefs.h" |
2053 #include "confdefs.h" | |
2054 | |
2055 main(){return(0);} | 1916 main(){return(0);} |
2056 EOF | 1917 EOF |
2057 if { (eval echo configure:2058: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 1918 if { (eval echo configure:1919: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
2058 ac_cv_prog_cc_works=yes | 1919 ac_cv_prog_cc_works=yes |
2059 # If we can't run a trivial program, we are probably using a cross compiler. | 1920 # If we can't run a trivial program, we are probably using a cross compiler. |
2060 if (./conftest; exit) 2>/dev/null; then | 1921 if (./conftest; exit) 2>/dev/null; then |
2061 ac_cv_prog_cc_cross=no | 1922 ac_cv_prog_cc_cross=no |
2062 else | 1923 else |
2066 echo "configure: failed program was:" >&5 | 1927 echo "configure: failed program was:" >&5 |
2067 cat conftest.$ac_ext >&5 | 1928 cat conftest.$ac_ext >&5 |
2068 ac_cv_prog_cc_works=no | 1929 ac_cv_prog_cc_works=no |
2069 fi | 1930 fi |
2070 rm -fr conftest* | 1931 rm -fr conftest* |
2071 ac_ext=c | |
2072 xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS' | |
2073 xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_switch_x_site $ld_switch_run' | |
2074 xe_libs='$ld_call_shared $xe_check_libs $X_EXTRA_LIBS $libs_x $X_PRE_LIBS $LIBS $libs_machine $libs_system $libs_standard' | |
2075 ac_cpp='$CPP '"$xe_cppflags" | |
2076 ac_compile='${CC-cc} -c $CFLAGS '"$xe_cppflags"' conftest.$ac_ext 1>&5' | |
2077 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' | |
2078 cross_compiling=no | |
2079 | 1932 |
2080 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 | 1933 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 |
2081 if test $ac_cv_prog_cc_works = no; then | 1934 if test $ac_cv_prog_cc_works = no; then |
2082 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } | 1935 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } |
2083 fi | 1936 fi |
2084 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 | 1937 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 |
2085 echo "configure:2086: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 | 1938 echo "configure:1939: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 |
2086 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 | 1939 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 |
2087 cross_compiling=$ac_cv_prog_cc_cross | 1940 cross_compiling=$ac_cv_prog_cc_cross |
2088 | 1941 |
2089 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 | 1942 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 |
2090 echo "configure:2091: checking whether we are using GNU C" >&5 | 1943 echo "configure:1944: checking whether we are using GNU C" >&5 |
2091 | 1944 |
2092 cat > conftest.c <<EOF | 1945 cat > conftest.c <<EOF |
2093 #ifdef __GNUC__ | 1946 #ifdef __GNUC__ |
2094 yes; | 1947 yes; |
2095 #endif | 1948 #endif |
2096 EOF | 1949 EOF |
2097 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:2098: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then | 1950 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1951: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then |
2098 ac_cv_prog_gcc=yes | 1951 ac_cv_prog_gcc=yes |
2099 else | 1952 else |
2100 ac_cv_prog_gcc=no | 1953 ac_cv_prog_gcc=no |
2101 fi | 1954 fi |
2102 | 1955 |
2103 echo "$ac_t""$ac_cv_prog_gcc" 1>&6 | 1956 echo "$ac_t""$ac_cv_prog_gcc" 1>&6 |
2104 | 1957 |
2105 if test $ac_cv_prog_gcc = yes; then | 1958 if test $ac_cv_prog_gcc = yes; then |
2106 GCC=yes | 1959 GCC=yes |
2107 else | 1960 ac_test_CFLAGS="${CFLAGS+set}" |
2108 GCC= | 1961 ac_save_CFLAGS="$CFLAGS" |
2109 fi | 1962 CFLAGS= |
2110 | 1963 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 |
2111 ac_test_CFLAGS="${CFLAGS+set}" | 1964 echo "configure:1965: checking whether ${CC-cc} accepts -g" >&5 |
2112 ac_save_CFLAGS="$CFLAGS" | |
2113 CFLAGS= | |
2114 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 | |
2115 echo "configure:2116: checking whether ${CC-cc} accepts -g" >&5 | |
2116 | 1965 |
2117 echo 'void f(){}' > conftest.c | 1966 echo 'void f(){}' > conftest.c |
2118 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then | 1967 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then |
2119 ac_cv_prog_cc_g=yes | 1968 ac_cv_prog_cc_g=yes |
2120 else | 1969 else |
2122 fi | 1971 fi |
2123 rm -f conftest* | 1972 rm -f conftest* |
2124 | 1973 |
2125 | 1974 |
2126 echo "$ac_t""$ac_cv_prog_cc_g" 1>&6 | 1975 echo "$ac_t""$ac_cv_prog_cc_g" 1>&6 |
2127 if test "$ac_test_CFLAGS" = set; then | 1976 if test "$ac_test_CFLAGS" = set; then |
2128 CFLAGS="$ac_save_CFLAGS" | 1977 CFLAGS="$ac_save_CFLAGS" |
2129 elif test $ac_cv_prog_cc_g = yes; then | 1978 elif test $ac_cv_prog_cc_g = yes; then |
2130 if test "$GCC" = yes; then | |
2131 CFLAGS="-g -O2" | 1979 CFLAGS="-g -O2" |
2132 else | 1980 else |
2133 CFLAGS="-g" | 1981 CFLAGS="-O2" |
2134 fi | 1982 fi |
2135 else | 1983 else |
2136 if test "$GCC" = yes; then | 1984 GCC= |
2137 CFLAGS="-O2" | 1985 test "${CFLAGS+set}" = set || CFLAGS="-g" |
2138 else | |
2139 CFLAGS= | |
2140 fi | |
2141 fi | 1986 fi |
2142 | 1987 |
2143 fi | 1988 fi |
2144 CFLAGS="$xe_save_CFLAGS" | 1989 CFLAGS="$xe_save_CFLAGS" |
2145 | 1990 |
2147 test -n "$CPP" -a -d "$CPP" && CPP= | 1992 test -n "$CPP" -a -d "$CPP" && CPP= |
2148 | 1993 |
2149 test -n "$NON_GNU_CPP" -a "$GCC" != "yes" -a -z "$CPP" && CPP="$NON_GNU_CPP" | 1994 test -n "$NON_GNU_CPP" -a "$GCC" != "yes" -a -z "$CPP" && CPP="$NON_GNU_CPP" |
2150 | 1995 |
2151 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6 | 1996 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6 |
2152 echo "configure:2153: checking how to run the C preprocessor" >&5 | 1997 echo "configure:1998: checking how to run the C preprocessor" >&5 |
2153 # On Suns, sometimes $CPP names a directory. | 1998 # On Suns, sometimes $CPP names a directory. |
2154 if test -n "$CPP" && test -d "$CPP"; then | 1999 if test -n "$CPP" && test -d "$CPP"; then |
2155 CPP= | 2000 CPP= |
2156 fi | 2001 fi |
2157 if test -z "$CPP"; then | 2002 if test -z "$CPP"; then |
2160 # substituted into the Makefile and "${CC-cc}" will confuse make. | 2005 # substituted into the Makefile and "${CC-cc}" will confuse make. |
2161 CPP="${CC-cc} -E" | 2006 CPP="${CC-cc} -E" |
2162 # On the NeXT, cc -E runs the code through the compiler's parser, | 2007 # On the NeXT, cc -E runs the code through the compiler's parser, |
2163 # not just through cpp. | 2008 # not just through cpp. |
2164 cat > conftest.$ac_ext <<EOF | 2009 cat > conftest.$ac_ext <<EOF |
2165 #line 2166 "configure" | 2010 #line 2011 "configure" |
2166 #include "confdefs.h" | 2011 #include "confdefs.h" |
2167 #include <assert.h> | 2012 #include <assert.h> |
2168 Syntax Error | 2013 Syntax Error |
2169 EOF | 2014 EOF |
2170 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" |
2171 { (eval echo configure:2172: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 2016 { (eval echo configure:2017: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
2172 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 2017 ac_err=`grep -v '^ *+' conftest.out` |
2173 if test -z "$ac_err"; then | 2018 if test -z "$ac_err"; then |
2174 : | 2019 : |
2175 else | 2020 else |
2176 echo "$ac_err" >&5 | 2021 echo "$ac_err" >&5 |
2177 echo "configure: failed program was:" >&5 | 2022 echo "configure: failed program was:" >&5 |
2178 cat conftest.$ac_ext >&5 | 2023 cat conftest.$ac_ext >&5 |
2179 rm -rf conftest* | 2024 rm -rf conftest* |
2180 CPP="${CC-cc} -E -traditional-cpp" | 2025 CPP="${CC-cc} -E -traditional-cpp" |
2181 cat > conftest.$ac_ext <<EOF | 2026 cat > conftest.$ac_ext <<EOF |
2182 #line 2183 "configure" | 2027 #line 2028 "configure" |
2183 #include "confdefs.h" | 2028 #include "confdefs.h" |
2184 #include <assert.h> | 2029 #include <assert.h> |
2185 Syntax Error | 2030 Syntax Error |
2186 EOF | 2031 EOF |
2187 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 2032 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
2188 { (eval echo configure:2189: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 2033 { (eval echo configure:2034: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
2189 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 2034 ac_err=`grep -v '^ *+' conftest.out` |
2190 if test -z "$ac_err"; then | 2035 if test -z "$ac_err"; then |
2191 : | 2036 : |
2192 else | 2037 else |
2193 echo "$ac_err" >&5 | 2038 echo "$ac_err" >&5 |
2194 echo "configure: failed program was:" >&5 | 2039 echo "configure: failed program was:" >&5 |
2195 cat conftest.$ac_ext >&5 | 2040 cat conftest.$ac_ext >&5 |
2196 rm -rf conftest* | 2041 rm -rf conftest* |
2197 CPP="${CC-cc} -nologo -E" | |
2198 cat > conftest.$ac_ext <<EOF | |
2199 #line 2200 "configure" | |
2200 #include "confdefs.h" | |
2201 #include <assert.h> | |
2202 Syntax Error | |
2203 EOF | |
2204 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | |
2205 { (eval echo configure:2206: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | |
2206 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | |
2207 if test -z "$ac_err"; then | |
2208 : | |
2209 else | |
2210 echo "$ac_err" >&5 | |
2211 echo "configure: failed program was:" >&5 | |
2212 cat conftest.$ac_ext >&5 | |
2213 rm -rf conftest* | |
2214 CPP=/lib/cpp | 2042 CPP=/lib/cpp |
2215 fi | |
2216 rm -f conftest* | |
2217 fi | 2043 fi |
2218 rm -f conftest* | 2044 rm -f conftest* |
2219 fi | 2045 fi |
2220 rm -f conftest* | 2046 rm -f conftest* |
2221 ac_cv_prog_CPP="$CPP" | 2047 ac_cv_prog_CPP="$CPP" |
2225 fi | 2051 fi |
2226 echo "$ac_t""$CPP" 1>&6 | 2052 echo "$ac_t""$CPP" 1>&6 |
2227 | 2053 |
2228 | 2054 |
2229 echo $ac_n "checking for AIX""... $ac_c" 1>&6 | 2055 echo $ac_n "checking for AIX""... $ac_c" 1>&6 |
2230 echo "configure:2231: checking for AIX" >&5 | 2056 echo "configure:2057: checking for AIX" >&5 |
2231 cat > conftest.$ac_ext <<EOF | 2057 cat > conftest.$ac_ext <<EOF |
2232 #line 2233 "configure" | 2058 #line 2059 "configure" |
2233 #include "confdefs.h" | 2059 #include "confdefs.h" |
2234 #ifdef _AIX | 2060 #ifdef _AIX |
2235 yes | 2061 yes |
2236 #endif | 2062 #endif |
2237 | 2063 |
2254 rm -f conftest* | 2080 rm -f conftest* |
2255 | 2081 |
2256 | 2082 |
2257 | 2083 |
2258 echo $ac_n "checking for GNU libc""... $ac_c" 1>&6 | 2084 echo $ac_n "checking for GNU libc""... $ac_c" 1>&6 |
2259 echo "configure:2260: checking for GNU libc" >&5 | 2085 echo "configure:2086: checking for GNU libc" >&5 |
2260 cat > conftest.$ac_ext <<EOF | 2086 cat > conftest.$ac_ext <<EOF |
2261 #line 2262 "configure" | 2087 #line 2088 "configure" |
2262 #include "confdefs.h" | 2088 #include "confdefs.h" |
2263 #include <features.h> | 2089 #include <features.h> |
2264 int main() { | 2090 int main() { |
2265 | 2091 |
2266 #if ! (defined __GLIBC__ || defined __GNU_LIBRARY__) | 2092 #if ! (defined __GLIBC__ || defined __GNU_LIBRARY__) |
2268 ******* ======= ******** &&&&&&&& | 2094 ******* ======= ******** &&&&&&&& |
2269 #endif | 2095 #endif |
2270 | 2096 |
2271 ; return 0; } | 2097 ; return 0; } |
2272 EOF | 2098 EOF |
2273 if { (eval echo configure:2274: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 2099 if { (eval echo configure:2100: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
2274 rm -rf conftest* | 2100 rm -rf conftest* |
2275 have_glibc=yes | 2101 have_glibc=yes |
2276 else | 2102 else |
2277 echo "configure: failed program was:" >&5 | 2103 echo "configure: failed program was:" >&5 |
2278 cat conftest.$ac_ext >&5 | 2104 cat conftest.$ac_ext >&5 |
2290 } | 2116 } |
2291 | 2117 |
2292 | 2118 |
2293 | 2119 |
2294 cat > conftest.$ac_ext <<EOF | 2120 cat > conftest.$ac_ext <<EOF |
2295 #line 2296 "configure" | 2121 #line 2122 "configure" |
2296 #include "confdefs.h" | 2122 #include "confdefs.h" |
2297 int main () { | 2123 int main () { |
2298 #if defined __SUNPRO_C | 2124 #if defined __SUNPRO_C |
2299 return 11; | 2125 return 11; |
2300 #elif defined __DECC | 2126 #elif defined __DECC |
2302 #else | 2128 #else |
2303 return 0; | 2129 return 0; |
2304 #endif | 2130 #endif |
2305 } | 2131 } |
2306 EOF | 2132 EOF |
2307 if { (eval echo configure:2308: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 2133 if { (eval echo configure:2134: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
2308 then | 2134 then |
2309 : | 2135 : |
2310 else | 2136 else |
2311 conftest_rc="$?" | 2137 conftest_rc="$?" |
2312 echo "configure: failed program was:" >&5 | 2138 echo "configure: failed program was:" >&5 |
2576 test -n "$unexec" && extra_objs="$extra_objs $unexec" && if test "$extra_verbose" = "yes"; then | 2402 test -n "$unexec" && extra_objs="$extra_objs $unexec" && if test "$extra_verbose" = "yes"; then |
2577 echo " xemacs will be linked with \"$unexec\"" | 2403 echo " xemacs will be linked with \"$unexec\"" |
2578 fi | 2404 fi |
2579 | 2405 |
2580 echo $ac_n "checking for dynodump""... $ac_c" 1>&6 | 2406 echo $ac_n "checking for dynodump""... $ac_c" 1>&6 |
2581 echo "configure:2582: checking for dynodump" >&5 | 2407 echo "configure:2408: checking for dynodump" >&5 |
2582 if test "$unexec" != "unexsol2.o"; then | 2408 if test "$unexec" != "unexsol2.o"; then |
2583 echo "$ac_t""no" 1>&6 | 2409 echo "$ac_t""no" 1>&6 |
2584 else | 2410 else |
2585 echo "$ac_t""yes" 1>&6 | 2411 echo "$ac_t""yes" 1>&6 |
2586 { test "$extra_verbose" = "yes" && cat << \EOF | 2412 { test "$extra_verbose" = "yes" && cat << \EOF |
2614 for f in "/usr/lpp/X11/bin/smt.exp" "/usr/bin/X11/smt.exp"; do | 2440 for f in "/usr/lpp/X11/bin/smt.exp" "/usr/bin/X11/smt.exp"; do |
2615 if test -r "$f"; then start_flags="${start_flags},-bI:${f}"; break; fi | 2441 if test -r "$f"; then start_flags="${start_flags},-bI:${f}"; break; fi |
2616 done | 2442 done |
2617 | 2443 |
2618 echo $ac_n "checking for terminateAndUnload in -lC""... $ac_c" 1>&6 | 2444 echo $ac_n "checking for terminateAndUnload in -lC""... $ac_c" 1>&6 |
2619 echo "configure:2620: checking for terminateAndUnload in -lC" >&5 | 2445 echo "configure:2446: checking for terminateAndUnload in -lC" >&5 |
2620 ac_lib_var=`echo C'_'terminateAndUnload | sed 'y%./+-%__p_%'` | 2446 ac_lib_var=`echo C'_'terminateAndUnload | sed 'y%./+-%__p_%'` |
2621 | 2447 |
2622 xe_check_libs=" -lC " | 2448 xe_check_libs=" -lC " |
2623 cat > conftest.$ac_ext <<EOF | 2449 cat > conftest.$ac_ext <<EOF |
2624 #line 2625 "configure" | 2450 #line 2451 "configure" |
2625 #include "confdefs.h" | 2451 #include "confdefs.h" |
2626 /* Override any gcc2 internal prototype to avoid an error. */ | 2452 /* Override any gcc2 internal prototype to avoid an error. */ |
2627 /* We use char because int might match the return type of a gcc2 | 2453 /* We use char because int might match the return type of a gcc2 |
2628 builtin and then its argument prototype would still apply. */ | 2454 builtin and then its argument prototype would still apply. */ |
2629 char terminateAndUnload(); | 2455 char terminateAndUnload(); |
2630 | 2456 |
2631 int main() { | 2457 int main() { |
2632 terminateAndUnload() | 2458 terminateAndUnload() |
2633 ; return 0; } | 2459 ; return 0; } |
2634 EOF | 2460 EOF |
2635 if { (eval echo configure:2636: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 2461 if { (eval echo configure:2462: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
2636 rm -rf conftest* | 2462 rm -rf conftest* |
2637 eval "ac_cv_lib_$ac_lib_var=yes" | 2463 eval "ac_cv_lib_$ac_lib_var=yes" |
2638 else | 2464 else |
2639 echo "configure: failed program was:" >&5 | 2465 echo "configure: failed program was:" >&5 |
2640 cat conftest.$ac_ext >&5 | 2466 cat conftest.$ac_ext >&5 |
2734 esac | 2560 esac |
2735 fi | 2561 fi |
2736 | 2562 |
2737 if test "$add_runtime_path" = "yes"; then | 2563 if test "$add_runtime_path" = "yes"; then |
2738 echo $ac_n "checking "for runtime libraries flag"""... $ac_c" 1>&6 | 2564 echo $ac_n "checking "for runtime libraries flag"""... $ac_c" 1>&6 |
2739 echo "configure:2740: checking "for runtime libraries flag"" >&5 | 2565 echo "configure:2566: checking "for runtime libraries flag"" >&5 |
2740 case "$opsys" in | 2566 case "$opsys" in |
2741 sol2 ) dash_r="-R" ;; | 2567 sol2 ) dash_r="-R" ;; |
2742 decosf* | linux* | irix*) dash_r="-rpath " ;; | 2568 decosf* | linux* | irix*) dash_r="-rpath " ;; |
2743 *) | 2569 *) |
2744 dash_r="" | 2570 dash_r="" |
2756 esac | 2582 esac |
2757 shift | 2583 shift |
2758 done | 2584 done |
2759 fi | 2585 fi |
2760 cat > conftest.$ac_ext <<EOF | 2586 cat > conftest.$ac_ext <<EOF |
2761 #line 2762 "configure" | 2587 #line 2588 "configure" |
2762 #include "confdefs.h" | 2588 #include "confdefs.h" |
2763 | 2589 |
2764 int main() { | 2590 int main() { |
2765 | 2591 |
2766 ; return 0; } | 2592 ; return 0; } |
2767 EOF | 2593 EOF |
2768 if { (eval echo configure:2769: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 2594 if { (eval echo configure:2595: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
2769 rm -rf conftest* | 2595 rm -rf conftest* |
2770 dash_r="$try_dash_r" | 2596 dash_r="$try_dash_r" |
2771 else | 2597 else |
2772 echo "configure: failed program was:" >&5 | 2598 echo "configure: failed program was:" >&5 |
2773 cat conftest.$ac_ext >&5 | 2599 cat conftest.$ac_ext >&5 |
2865 else | 2691 else |
2866 doug_lea_malloc=no | 2692 doug_lea_malloc=no |
2867 fi | 2693 fi |
2868 after_morecore_hook_exists=yes | 2694 after_morecore_hook_exists=yes |
2869 echo $ac_n "checking for malloc_get_state""... $ac_c" 1>&6 | 2695 echo $ac_n "checking for malloc_get_state""... $ac_c" 1>&6 |
2870 echo "configure:2871: checking for malloc_get_state" >&5 | 2696 echo "configure:2697: checking for malloc_get_state" >&5 |
2871 | 2697 |
2872 cat > conftest.$ac_ext <<EOF | 2698 cat > conftest.$ac_ext <<EOF |
2873 #line 2874 "configure" | 2699 #line 2700 "configure" |
2874 #include "confdefs.h" | 2700 #include "confdefs.h" |
2875 /* System header to define __stub macros and hopefully few prototypes, | 2701 /* System header to define __stub macros and hopefully few prototypes, |
2876 which can conflict with char malloc_get_state(); below. */ | 2702 which can conflict with char malloc_get_state(); below. */ |
2877 #include <assert.h> | 2703 #include <assert.h> |
2878 /* Override any gcc2 internal prototype to avoid an error. */ | 2704 /* Override any gcc2 internal prototype to avoid an error. */ |
2891 malloc_get_state(); | 2717 malloc_get_state(); |
2892 #endif | 2718 #endif |
2893 | 2719 |
2894 ; return 0; } | 2720 ; return 0; } |
2895 EOF | 2721 EOF |
2896 if { (eval echo configure:2897: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 2722 if { (eval echo configure:2723: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
2897 rm -rf conftest* | 2723 rm -rf conftest* |
2898 eval "ac_cv_func_malloc_get_state=yes" | 2724 eval "ac_cv_func_malloc_get_state=yes" |
2899 else | 2725 else |
2900 echo "configure: failed program was:" >&5 | 2726 echo "configure: failed program was:" >&5 |
2901 cat conftest.$ac_ext >&5 | 2727 cat conftest.$ac_ext >&5 |
2911 echo "$ac_t""no" 1>&6 | 2737 echo "$ac_t""no" 1>&6 |
2912 doug_lea_malloc=no | 2738 doug_lea_malloc=no |
2913 fi | 2739 fi |
2914 | 2740 |
2915 echo $ac_n "checking for malloc_set_state""... $ac_c" 1>&6 | 2741 echo $ac_n "checking for malloc_set_state""... $ac_c" 1>&6 |
2916 echo "configure:2917: checking for malloc_set_state" >&5 | 2742 echo "configure:2743: checking for malloc_set_state" >&5 |
2917 | 2743 |
2918 cat > conftest.$ac_ext <<EOF | 2744 cat > conftest.$ac_ext <<EOF |
2919 #line 2920 "configure" | 2745 #line 2746 "configure" |
2920 #include "confdefs.h" | 2746 #include "confdefs.h" |
2921 /* System header to define __stub macros and hopefully few prototypes, | 2747 /* System header to define __stub macros and hopefully few prototypes, |
2922 which can conflict with char malloc_set_state(); below. */ | 2748 which can conflict with char malloc_set_state(); below. */ |
2923 #include <assert.h> | 2749 #include <assert.h> |
2924 /* Override any gcc2 internal prototype to avoid an error. */ | 2750 /* Override any gcc2 internal prototype to avoid an error. */ |
2937 malloc_set_state(); | 2763 malloc_set_state(); |
2938 #endif | 2764 #endif |
2939 | 2765 |
2940 ; return 0; } | 2766 ; return 0; } |
2941 EOF | 2767 EOF |
2942 if { (eval echo configure:2943: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 2768 if { (eval echo configure:2769: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
2943 rm -rf conftest* | 2769 rm -rf conftest* |
2944 eval "ac_cv_func_malloc_set_state=yes" | 2770 eval "ac_cv_func_malloc_set_state=yes" |
2945 else | 2771 else |
2946 echo "configure: failed program was:" >&5 | 2772 echo "configure: failed program was:" >&5 |
2947 cat conftest.$ac_ext >&5 | 2773 cat conftest.$ac_ext >&5 |
2957 echo "$ac_t""no" 1>&6 | 2783 echo "$ac_t""no" 1>&6 |
2958 doug_lea_malloc=no | 2784 doug_lea_malloc=no |
2959 fi | 2785 fi |
2960 | 2786 |
2961 echo $ac_n "checking whether __after_morecore_hook exists""... $ac_c" 1>&6 | 2787 echo $ac_n "checking whether __after_morecore_hook exists""... $ac_c" 1>&6 |
2962 echo "configure:2963: checking whether __after_morecore_hook exists" >&5 | 2788 echo "configure:2789: checking whether __after_morecore_hook exists" >&5 |
2963 cat > conftest.$ac_ext <<EOF | 2789 cat > conftest.$ac_ext <<EOF |
2964 #line 2965 "configure" | 2790 #line 2791 "configure" |
2965 #include "confdefs.h" | 2791 #include "confdefs.h" |
2966 extern void (* __after_morecore_hook)(); | 2792 extern void (* __after_morecore_hook)(); |
2967 int main() { | 2793 int main() { |
2968 __after_morecore_hook = 0 | 2794 __after_morecore_hook = 0 |
2969 ; return 0; } | 2795 ; return 0; } |
2970 EOF | 2796 EOF |
2971 if { (eval echo configure:2972: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 2797 if { (eval echo configure:2798: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
2972 rm -rf conftest* | 2798 rm -rf conftest* |
2973 echo "$ac_t""yes" 1>&6 | 2799 echo "$ac_t""yes" 1>&6 |
2974 else | 2800 else |
2975 echo "configure: failed program was:" >&5 | 2801 echo "configure: failed program was:" >&5 |
2976 cat conftest.$ac_ext >&5 | 2802 cat conftest.$ac_ext >&5 |
3025 | 2851 |
3026 | 2852 |
3027 # Extract the first word of "ranlib", so it can be a program name with args. | 2853 # Extract the first word of "ranlib", so it can be a program name with args. |
3028 set dummy ranlib; ac_word=$2 | 2854 set dummy ranlib; ac_word=$2 |
3029 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 2855 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
3030 echo "configure:3031: checking for $ac_word" >&5 | 2856 echo "configure:2857: checking for $ac_word" >&5 |
3031 | 2857 |
3032 if test -n "$RANLIB"; then | 2858 if test -n "$RANLIB"; then |
3033 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. | 2859 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. |
3034 else | 2860 else |
3035 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | 2861 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" |
3036 ac_dummy="$PATH" | 2862 for ac_dir in $PATH; do |
3037 for ac_dir in $ac_dummy; do | |
3038 test -z "$ac_dir" && ac_dir=. | 2863 test -z "$ac_dir" && ac_dir=. |
3039 if test -f $ac_dir/$ac_word; then | 2864 if test -f $ac_dir/$ac_word; then |
3040 ac_cv_prog_RANLIB="ranlib" | 2865 ac_cv_prog_RANLIB="ranlib" |
3041 break | 2866 break |
3042 fi | 2867 fi |
3075 # incompatible versions: | 2900 # incompatible versions: |
3076 # SysV /etc/install, /usr/sbin/install | 2901 # SysV /etc/install, /usr/sbin/install |
3077 # SunOS /usr/etc/install | 2902 # SunOS /usr/etc/install |
3078 # IRIX /sbin/install | 2903 # IRIX /sbin/install |
3079 # AIX /bin/install | 2904 # AIX /bin/install |
3080 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag | |
3081 # AFS /usr/afsws/bin/install, which mishandles nonexistent args | 2905 # AFS /usr/afsws/bin/install, which mishandles nonexistent args |
3082 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" | 2906 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" |
3083 # ./install, which can be erroneously created by make from ./install.sh. | 2907 # ./install, which can be erroneously created by make from ./install.sh. |
3084 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 | 2908 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 |
3085 echo "configure:3086: checking for a BSD compatible install" >&5 | 2909 echo "configure:2910: checking for a BSD compatible install" >&5 |
3086 if test -z "$INSTALL"; then | 2910 if test -z "$INSTALL"; then |
3087 | 2911 |
3088 IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS=":" | 2912 IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS="${IFS}:" |
3089 for ac_dir in $PATH; do | 2913 for ac_dir in $PATH; do |
3090 # Account for people who put trailing slashes in PATH elements. | 2914 # Account for people who put trailing slashes in PATH elements. |
3091 case "$ac_dir/" in | 2915 case "$ac_dir/" in |
3092 /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;; | 2916 /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;; |
3093 *) | 2917 *) |
3094 # OSF1 and SCO ODT 3.0 have their own names for install. | 2918 # OSF1 and SCO ODT 3.0 have their own names for install. |
3095 # Don't use installbsd from OSF since it installs stuff as root | 2919 for ac_prog in ginstall installbsd scoinst install; do |
3096 # by default. | |
3097 for ac_prog in ginstall scoinst install; do | |
3098 if test -f $ac_dir/$ac_prog; then | 2920 if test -f $ac_dir/$ac_prog; then |
3099 if test $ac_prog = install && | 2921 if test $ac_prog = install && |
3100 grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then | 2922 grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then |
3101 # AIX install. It has an incompatible calling convention. | 2923 # AIX install. It has an incompatible calling convention. |
2924 # OSF/1 installbsd also uses dspmsg, but is usable. | |
3102 : | 2925 : |
3103 else | 2926 else |
3104 ac_cv_path_install="$ac_dir/$ac_prog -c" | 2927 ac_cv_path_install="$ac_dir/$ac_prog -c" |
3105 break 2 | 2928 break 2 |
3106 fi | 2929 fi |
3125 | 2948 |
3126 # Use test -z because SunOS4 sh mishandles braces in ${var-val}. | 2949 # Use test -z because SunOS4 sh mishandles braces in ${var-val}. |
3127 # It thinks the first close brace ends the variable substitution. | 2950 # It thinks the first close brace ends the variable substitution. |
3128 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' | 2951 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' |
3129 | 2952 |
3130 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}' | |
3131 | |
3132 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' | 2953 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' |
3133 | 2954 |
3134 for ac_prog in 'bison -y' byacc | 2955 for ac_prog in 'bison -y' byacc |
3135 do | 2956 do |
3136 # Extract the first word of "$ac_prog", so it can be a program name with args. | 2957 # Extract the first word of "$ac_prog", so it can be a program name with args. |
3137 set dummy $ac_prog; ac_word=$2 | 2958 set dummy $ac_prog; ac_word=$2 |
3138 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 2959 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
3139 echo "configure:3140: checking for $ac_word" >&5 | 2960 echo "configure:2961: checking for $ac_word" >&5 |
3140 | 2961 |
3141 if test -n "$YACC"; then | 2962 if test -n "$YACC"; then |
3142 ac_cv_prog_YACC="$YACC" # Let the user override the test. | 2963 ac_cv_prog_YACC="$YACC" # Let the user override the test. |
3143 else | 2964 else |
3144 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | 2965 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" |
3145 ac_dummy="$PATH" | 2966 for ac_dir in $PATH; do |
3146 for ac_dir in $ac_dummy; do | |
3147 test -z "$ac_dir" && ac_dir=. | 2967 test -z "$ac_dir" && ac_dir=. |
3148 if test -f $ac_dir/$ac_word; then | 2968 if test -f $ac_dir/$ac_word; then |
3149 ac_cv_prog_YACC="$ac_prog" | 2969 ac_cv_prog_YACC="$ac_prog" |
3150 break | 2970 break |
3151 fi | 2971 fi |
3166 | 2986 |
3167 for ac_hdr in mach/mach.h sys/stropts.h sys/timeb.h sys/time.h unistd.h | 2987 for ac_hdr in mach/mach.h sys/stropts.h sys/timeb.h sys/time.h unistd.h |
3168 do | 2988 do |
3169 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 2989 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
3170 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 2990 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
3171 echo "configure:3172: checking for $ac_hdr" >&5 | 2991 echo "configure:2992: checking for $ac_hdr" >&5 |
3172 | 2992 |
3173 cat > conftest.$ac_ext <<EOF | 2993 cat > conftest.$ac_ext <<EOF |
3174 #line 3175 "configure" | 2994 #line 2995 "configure" |
3175 #include "confdefs.h" | 2995 #include "confdefs.h" |
3176 #include <$ac_hdr> | 2996 #include <$ac_hdr> |
3177 EOF | 2997 EOF |
3178 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 2998 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
3179 { (eval echo configure:3180: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 2999 { (eval echo configure:3000: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
3180 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 3000 ac_err=`grep -v '^ *+' conftest.out` |
3181 if test -z "$ac_err"; then | 3001 if test -z "$ac_err"; then |
3182 rm -rf conftest* | 3002 rm -rf conftest* |
3183 eval "ac_cv_header_$ac_safe=yes" | 3003 eval "ac_cv_header_$ac_safe=yes" |
3184 else | 3004 else |
3185 echo "$ac_err" >&5 | 3005 echo "$ac_err" >&5 |
3207 | 3027 |
3208 for ac_hdr in utime.h locale.h libgen.h fcntl.h ulimit.h cygwin/version.h | 3028 for ac_hdr in utime.h locale.h libgen.h fcntl.h ulimit.h cygwin/version.h |
3209 do | 3029 do |
3210 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 3030 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
3211 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 3031 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
3212 echo "configure:3213: checking for $ac_hdr" >&5 | 3032 echo "configure:3033: checking for $ac_hdr" >&5 |
3213 | 3033 |
3214 cat > conftest.$ac_ext <<EOF | 3034 cat > conftest.$ac_ext <<EOF |
3215 #line 3216 "configure" | 3035 #line 3036 "configure" |
3216 #include "confdefs.h" | 3036 #include "confdefs.h" |
3217 #include <$ac_hdr> | 3037 #include <$ac_hdr> |
3218 EOF | 3038 EOF |
3219 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 3039 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
3220 { (eval echo configure:3221: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 3040 { (eval echo configure:3041: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
3221 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 3041 ac_err=`grep -v '^ *+' conftest.out` |
3222 if test -z "$ac_err"; then | 3042 if test -z "$ac_err"; then |
3223 rm -rf conftest* | 3043 rm -rf conftest* |
3224 eval "ac_cv_header_$ac_safe=yes" | 3044 eval "ac_cv_header_$ac_safe=yes" |
3225 else | 3045 else |
3226 echo "$ac_err" >&5 | 3046 echo "$ac_err" >&5 |
3248 | 3068 |
3249 for ac_hdr in kstat.h sys/pstat.h inttypes.h sys/un.h a.out.h | 3069 for ac_hdr in kstat.h sys/pstat.h inttypes.h sys/un.h a.out.h |
3250 do | 3070 do |
3251 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 3071 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
3252 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 3072 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
3253 echo "configure:3254: checking for $ac_hdr" >&5 | 3073 echo "configure:3074: checking for $ac_hdr" >&5 |
3254 | 3074 |
3255 cat > conftest.$ac_ext <<EOF | 3075 cat > conftest.$ac_ext <<EOF |
3256 #line 3257 "configure" | 3076 #line 3077 "configure" |
3257 #include "confdefs.h" | 3077 #include "confdefs.h" |
3258 #include <$ac_hdr> | 3078 #include <$ac_hdr> |
3259 EOF | 3079 EOF |
3260 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 3080 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
3261 { (eval echo configure:3262: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 3081 { (eval echo configure:3082: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
3262 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 3082 ac_err=`grep -v '^ *+' conftest.out` |
3263 if test -z "$ac_err"; then | 3083 if test -z "$ac_err"; then |
3264 rm -rf conftest* | 3084 rm -rf conftest* |
3265 eval "ac_cv_header_$ac_safe=yes" | 3085 eval "ac_cv_header_$ac_safe=yes" |
3266 else | 3086 else |
3267 echo "$ac_err" >&5 | 3087 echo "$ac_err" >&5 |
3286 echo "$ac_t""no" 1>&6 | 3106 echo "$ac_t""no" 1>&6 |
3287 fi | 3107 fi |
3288 done | 3108 done |
3289 | 3109 |
3290 echo $ac_n "checking for sys/wait.h that is POSIX.1 compatible""... $ac_c" 1>&6 | 3110 echo $ac_n "checking for sys/wait.h that is POSIX.1 compatible""... $ac_c" 1>&6 |
3291 echo "configure:3292: checking for sys/wait.h that is POSIX.1 compatible" >&5 | 3111 echo "configure:3112: checking for sys/wait.h that is POSIX.1 compatible" >&5 |
3292 | 3112 |
3293 cat > conftest.$ac_ext <<EOF | 3113 cat > conftest.$ac_ext <<EOF |
3294 #line 3295 "configure" | 3114 #line 3115 "configure" |
3295 #include "confdefs.h" | 3115 #include "confdefs.h" |
3296 #include <sys/types.h> | 3116 #include <sys/types.h> |
3297 #include <sys/wait.h> | 3117 #include <sys/wait.h> |
3298 #ifndef WEXITSTATUS | 3118 #ifndef WEXITSTATUS |
3299 #define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8) | 3119 #define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8) |
3305 int s; | 3125 int s; |
3306 wait (&s); | 3126 wait (&s); |
3307 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1; | 3127 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1; |
3308 ; return 0; } | 3128 ; return 0; } |
3309 EOF | 3129 EOF |
3310 if { (eval echo configure:3311: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3130 if { (eval echo configure:3131: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
3311 rm -rf conftest* | 3131 rm -rf conftest* |
3312 ac_cv_header_sys_wait_h=yes | 3132 ac_cv_header_sys_wait_h=yes |
3313 else | 3133 else |
3314 echo "configure: failed program was:" >&5 | 3134 echo "configure: failed program was:" >&5 |
3315 cat conftest.$ac_ext >&5 | 3135 cat conftest.$ac_ext >&5 |
3329 } | 3149 } |
3330 | 3150 |
3331 fi | 3151 fi |
3332 | 3152 |
3333 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6 | 3153 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6 |
3334 echo "configure:3335: checking for ANSI C header files" >&5 | 3154 echo "configure:3155: checking for ANSI C header files" >&5 |
3335 | 3155 |
3336 cat > conftest.$ac_ext <<EOF | 3156 cat > conftest.$ac_ext <<EOF |
3337 #line 3338 "configure" | 3157 #line 3158 "configure" |
3338 #include "confdefs.h" | 3158 #include "confdefs.h" |
3339 #include <stdlib.h> | 3159 #include <stdlib.h> |
3340 #include <stdarg.h> | 3160 #include <stdarg.h> |
3341 #include <string.h> | 3161 #include <string.h> |
3342 #include <float.h> | 3162 #include <float.h> |
3343 EOF | 3163 EOF |
3344 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 3164 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
3345 { (eval echo configure:3346: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 3165 { (eval echo configure:3166: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
3346 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 3166 ac_err=`grep -v '^ *+' conftest.out` |
3347 if test -z "$ac_err"; then | 3167 if test -z "$ac_err"; then |
3348 rm -rf conftest* | 3168 rm -rf conftest* |
3349 ac_cv_header_stdc=yes | 3169 ac_cv_header_stdc=yes |
3350 else | 3170 else |
3351 echo "$ac_err" >&5 | 3171 echo "$ac_err" >&5 |
3357 rm -f conftest* | 3177 rm -f conftest* |
3358 | 3178 |
3359 if test $ac_cv_header_stdc = yes; then | 3179 if test $ac_cv_header_stdc = yes; then |
3360 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. | 3180 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. |
3361 cat > conftest.$ac_ext <<EOF | 3181 cat > conftest.$ac_ext <<EOF |
3362 #line 3363 "configure" | 3182 #line 3183 "configure" |
3363 #include "confdefs.h" | 3183 #include "confdefs.h" |
3364 #include <string.h> | 3184 #include <string.h> |
3365 EOF | 3185 EOF |
3366 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 3186 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
3367 egrep "memchr" >/dev/null 2>&1; then | 3187 egrep "memchr" >/dev/null 2>&1; then |
3375 fi | 3195 fi |
3376 | 3196 |
3377 if test $ac_cv_header_stdc = yes; then | 3197 if test $ac_cv_header_stdc = yes; then |
3378 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. | 3198 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. |
3379 cat > conftest.$ac_ext <<EOF | 3199 cat > conftest.$ac_ext <<EOF |
3380 #line 3381 "configure" | 3200 #line 3201 "configure" |
3381 #include "confdefs.h" | 3201 #include "confdefs.h" |
3382 #include <stdlib.h> | 3202 #include <stdlib.h> |
3383 EOF | 3203 EOF |
3384 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 3204 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
3385 egrep "free" >/dev/null 2>&1; then | 3205 egrep "free" >/dev/null 2>&1; then |
3393 fi | 3213 fi |
3394 | 3214 |
3395 if test $ac_cv_header_stdc = yes; then | 3215 if test $ac_cv_header_stdc = yes; then |
3396 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. | 3216 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. |
3397 cat > conftest.$ac_ext <<EOF | 3217 cat > conftest.$ac_ext <<EOF |
3398 #line 3399 "configure" | 3218 #line 3219 "configure" |
3399 #include "confdefs.h" | 3219 #include "confdefs.h" |
3400 #include <ctype.h> | 3220 #include <ctype.h> |
3401 #define ISLOWER(c) ('a' <= (c) && (c) <= 'z') | 3221 #define ISLOWER(c) ('a' <= (c) && (c) <= 'z') |
3402 #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) | 3222 #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) |
3403 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) | 3223 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) |
3404 int main () { int i; for (i = 0; i < 256; i++) | 3224 int main () { int i; for (i = 0; i < 256; i++) |
3405 if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2); | 3225 if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2); |
3406 exit (0); } | 3226 exit (0); } |
3407 | 3227 |
3408 EOF | 3228 EOF |
3409 if { (eval echo configure:3410: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 3229 if { (eval echo configure:3230: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
3410 then | 3230 then |
3411 : | 3231 : |
3412 else | 3232 else |
3413 conftest_rc="$?" | 3233 conftest_rc="$?" |
3414 echo "configure: failed program was:" >&5 | 3234 echo "configure: failed program was:" >&5 |
3430 } | 3250 } |
3431 | 3251 |
3432 fi | 3252 fi |
3433 | 3253 |
3434 echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6 | 3254 echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6 |
3435 echo "configure:3436: checking whether time.h and sys/time.h may both be included" >&5 | 3255 echo "configure:3256: checking whether time.h and sys/time.h may both be included" >&5 |
3436 | 3256 |
3437 cat > conftest.$ac_ext <<EOF | 3257 cat > conftest.$ac_ext <<EOF |
3438 #line 3439 "configure" | 3258 #line 3259 "configure" |
3439 #include "confdefs.h" | 3259 #include "confdefs.h" |
3440 #include <sys/types.h> | 3260 #include <sys/types.h> |
3441 #include <sys/time.h> | 3261 #include <sys/time.h> |
3442 #include <time.h> | 3262 #include <time.h> |
3443 int main() { | 3263 int main() { |
3444 struct tm *tp; | 3264 struct tm *tp; |
3445 ; return 0; } | 3265 ; return 0; } |
3446 EOF | 3266 EOF |
3447 if { (eval echo configure:3448: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3267 if { (eval echo configure:3268: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
3448 rm -rf conftest* | 3268 rm -rf conftest* |
3449 ac_cv_header_time=yes | 3269 ac_cv_header_time=yes |
3450 else | 3270 else |
3451 echo "configure: failed program was:" >&5 | 3271 echo "configure: failed program was:" >&5 |
3452 cat conftest.$ac_ext >&5 | 3272 cat conftest.$ac_ext >&5 |
3466 } | 3286 } |
3467 | 3287 |
3468 fi | 3288 fi |
3469 | 3289 |
3470 echo $ac_n "checking for sys_siglist declaration in signal.h or unistd.h""... $ac_c" 1>&6 | 3290 echo $ac_n "checking for sys_siglist declaration in signal.h or unistd.h""... $ac_c" 1>&6 |
3471 echo "configure:3472: checking for sys_siglist declaration in signal.h or unistd.h" >&5 | 3291 echo "configure:3292: checking for sys_siglist declaration in signal.h or unistd.h" >&5 |
3472 | 3292 |
3473 cat > conftest.$ac_ext <<EOF | 3293 cat > conftest.$ac_ext <<EOF |
3474 #line 3475 "configure" | 3294 #line 3295 "configure" |
3475 #include "confdefs.h" | 3295 #include "confdefs.h" |
3476 #include <sys/types.h> | 3296 #include <sys/types.h> |
3477 #include <signal.h> | 3297 #include <signal.h> |
3478 /* NetBSD declares sys_siglist in unistd.h. */ | 3298 /* NetBSD declares sys_siglist in unistd.h. */ |
3479 #ifdef HAVE_UNISTD_H | 3299 #ifdef HAVE_UNISTD_H |
3481 #endif | 3301 #endif |
3482 int main() { | 3302 int main() { |
3483 char *msg = *(sys_siglist + 1); | 3303 char *msg = *(sys_siglist + 1); |
3484 ; return 0; } | 3304 ; return 0; } |
3485 EOF | 3305 EOF |
3486 if { (eval echo configure:3487: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3306 if { (eval echo configure:3307: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
3487 rm -rf conftest* | 3307 rm -rf conftest* |
3488 ac_cv_decl_sys_siglist=yes | 3308 ac_cv_decl_sys_siglist=yes |
3489 else | 3309 else |
3490 echo "configure: failed program was:" >&5 | 3310 echo "configure: failed program was:" >&5 |
3491 cat conftest.$ac_ext >&5 | 3311 cat conftest.$ac_ext >&5 |
3506 | 3326 |
3507 fi | 3327 fi |
3508 | 3328 |
3509 | 3329 |
3510 echo $ac_n "checking for struct utimbuf""... $ac_c" 1>&6 | 3330 echo $ac_n "checking for struct utimbuf""... $ac_c" 1>&6 |
3511 echo "configure:3512: checking for struct utimbuf" >&5 | 3331 echo "configure:3332: checking for struct utimbuf" >&5 |
3512 cat > conftest.$ac_ext <<EOF | 3332 cat > conftest.$ac_ext <<EOF |
3513 #line 3514 "configure" | 3333 #line 3334 "configure" |
3514 #include "confdefs.h" | 3334 #include "confdefs.h" |
3515 #ifdef TIME_WITH_SYS_TIME | 3335 #ifdef TIME_WITH_SYS_TIME |
3516 #include <sys/time.h> | 3336 #include <sys/time.h> |
3517 #include <time.h> | 3337 #include <time.h> |
3518 #else | 3338 #else |
3527 #endif | 3347 #endif |
3528 int main() { | 3348 int main() { |
3529 static struct utimbuf x; x.actime = x.modtime; | 3349 static struct utimbuf x; x.actime = x.modtime; |
3530 ; return 0; } | 3350 ; return 0; } |
3531 EOF | 3351 EOF |
3532 if { (eval echo configure:3533: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3352 if { (eval echo configure:3353: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
3533 rm -rf conftest* | 3353 rm -rf conftest* |
3534 echo "$ac_t""yes" 1>&6 | 3354 echo "$ac_t""yes" 1>&6 |
3535 { test "$extra_verbose" = "yes" && cat << \EOF | 3355 { test "$extra_verbose" = "yes" && cat << \EOF |
3536 Defining HAVE_STRUCT_UTIMBUF | 3356 Defining HAVE_STRUCT_UTIMBUF |
3537 EOF | 3357 EOF |
3547 echo "$ac_t""no" 1>&6 | 3367 echo "$ac_t""no" 1>&6 |
3548 fi | 3368 fi |
3549 rm -f conftest* | 3369 rm -f conftest* |
3550 | 3370 |
3551 echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6 | 3371 echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6 |
3552 echo "configure:3553: checking return type of signal handlers" >&5 | 3372 echo "configure:3373: checking return type of signal handlers" >&5 |
3553 | 3373 |
3554 cat > conftest.$ac_ext <<EOF | 3374 cat > conftest.$ac_ext <<EOF |
3555 #line 3556 "configure" | 3375 #line 3376 "configure" |
3556 #include "confdefs.h" | 3376 #include "confdefs.h" |
3557 #include <sys/types.h> | 3377 #include <sys/types.h> |
3558 #include <signal.h> | 3378 #include <signal.h> |
3559 #ifdef signal | 3379 #ifdef signal |
3560 #undef signal | 3380 #undef signal |
3567 | 3387 |
3568 int main() { | 3388 int main() { |
3569 int i; | 3389 int i; |
3570 ; return 0; } | 3390 ; return 0; } |
3571 EOF | 3391 EOF |
3572 if { (eval echo configure:3573: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3392 if { (eval echo configure:3393: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
3573 rm -rf conftest* | 3393 rm -rf conftest* |
3574 ac_cv_type_signal=void | 3394 ac_cv_type_signal=void |
3575 else | 3395 else |
3576 echo "configure: failed program was:" >&5 | 3396 echo "configure: failed program was:" >&5 |
3577 cat conftest.$ac_ext >&5 | 3397 cat conftest.$ac_ext >&5 |
3589 EOF | 3409 EOF |
3590 } | 3410 } |
3591 | 3411 |
3592 | 3412 |
3593 echo $ac_n "checking for size_t""... $ac_c" 1>&6 | 3413 echo $ac_n "checking for size_t""... $ac_c" 1>&6 |
3594 echo "configure:3595: checking for size_t" >&5 | 3414 echo "configure:3415: checking for size_t" >&5 |
3595 | 3415 |
3596 cat > conftest.$ac_ext <<EOF | 3416 cat > conftest.$ac_ext <<EOF |
3597 #line 3598 "configure" | 3417 #line 3418 "configure" |
3598 #include "confdefs.h" | 3418 #include "confdefs.h" |
3599 #include <sys/types.h> | 3419 #include <sys/types.h> |
3600 #if STDC_HEADERS | 3420 #if STDC_HEADERS |
3601 #include <stdlib.h> | 3421 #include <stdlib.h> |
3602 #include <stddef.h> | 3422 #include <stddef.h> |
3603 #endif | 3423 #endif |
3604 EOF | 3424 EOF |
3605 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 3425 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
3606 egrep "(^|[^a-zA-Z_0-9])size_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then | 3426 egrep "size_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then |
3607 rm -rf conftest* | 3427 rm -rf conftest* |
3608 ac_cv_type_size_t=yes | 3428 ac_cv_type_size_t=yes |
3609 else | 3429 else |
3610 rm -rf conftest* | 3430 rm -rf conftest* |
3611 ac_cv_type_size_t=no | 3431 ac_cv_type_size_t=no |
3623 } | 3443 } |
3624 | 3444 |
3625 fi | 3445 fi |
3626 | 3446 |
3627 echo $ac_n "checking for pid_t""... $ac_c" 1>&6 | 3447 echo $ac_n "checking for pid_t""... $ac_c" 1>&6 |
3628 echo "configure:3629: checking for pid_t" >&5 | 3448 echo "configure:3449: checking for pid_t" >&5 |
3629 | 3449 |
3630 cat > conftest.$ac_ext <<EOF | 3450 cat > conftest.$ac_ext <<EOF |
3631 #line 3632 "configure" | 3451 #line 3452 "configure" |
3632 #include "confdefs.h" | 3452 #include "confdefs.h" |
3633 #include <sys/types.h> | 3453 #include <sys/types.h> |
3634 #if STDC_HEADERS | 3454 #if STDC_HEADERS |
3635 #include <stdlib.h> | 3455 #include <stdlib.h> |
3636 #include <stddef.h> | 3456 #include <stddef.h> |
3637 #endif | 3457 #endif |
3638 EOF | 3458 EOF |
3639 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 3459 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
3640 egrep "(^|[^a-zA-Z_0-9])pid_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then | 3460 egrep "pid_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then |
3641 rm -rf conftest* | 3461 rm -rf conftest* |
3642 ac_cv_type_pid_t=yes | 3462 ac_cv_type_pid_t=yes |
3643 else | 3463 else |
3644 rm -rf conftest* | 3464 rm -rf conftest* |
3645 ac_cv_type_pid_t=no | 3465 ac_cv_type_pid_t=no |
3657 } | 3477 } |
3658 | 3478 |
3659 fi | 3479 fi |
3660 | 3480 |
3661 echo $ac_n "checking for uid_t in sys/types.h""... $ac_c" 1>&6 | 3481 echo $ac_n "checking for uid_t in sys/types.h""... $ac_c" 1>&6 |
3662 echo "configure:3663: checking for uid_t in sys/types.h" >&5 | 3482 echo "configure:3483: checking for uid_t in sys/types.h" >&5 |
3663 | 3483 |
3664 cat > conftest.$ac_ext <<EOF | 3484 cat > conftest.$ac_ext <<EOF |
3665 #line 3666 "configure" | 3485 #line 3486 "configure" |
3666 #include "confdefs.h" | 3486 #include "confdefs.h" |
3667 #include <sys/types.h> | 3487 #include <sys/types.h> |
3668 EOF | 3488 EOF |
3669 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 3489 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
3670 egrep "uid_t" >/dev/null 2>&1; then | 3490 egrep "uid_t" >/dev/null 2>&1; then |
3696 } | 3516 } |
3697 | 3517 |
3698 fi | 3518 fi |
3699 | 3519 |
3700 echo $ac_n "checking for mode_t""... $ac_c" 1>&6 | 3520 echo $ac_n "checking for mode_t""... $ac_c" 1>&6 |
3701 echo "configure:3702: checking for mode_t" >&5 | 3521 echo "configure:3522: checking for mode_t" >&5 |
3702 | 3522 |
3703 cat > conftest.$ac_ext <<EOF | 3523 cat > conftest.$ac_ext <<EOF |
3704 #line 3705 "configure" | 3524 #line 3525 "configure" |
3705 #include "confdefs.h" | 3525 #include "confdefs.h" |
3706 #include <sys/types.h> | 3526 #include <sys/types.h> |
3707 #if STDC_HEADERS | 3527 #if STDC_HEADERS |
3708 #include <stdlib.h> | 3528 #include <stdlib.h> |
3709 #include <stddef.h> | 3529 #include <stddef.h> |
3710 #endif | 3530 #endif |
3711 EOF | 3531 EOF |
3712 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 3532 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
3713 egrep "(^|[^a-zA-Z_0-9])mode_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then | 3533 egrep "mode_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then |
3714 rm -rf conftest* | 3534 rm -rf conftest* |
3715 ac_cv_type_mode_t=yes | 3535 ac_cv_type_mode_t=yes |
3716 else | 3536 else |
3717 rm -rf conftest* | 3537 rm -rf conftest* |
3718 ac_cv_type_mode_t=no | 3538 ac_cv_type_mode_t=no |
3730 } | 3550 } |
3731 | 3551 |
3732 fi | 3552 fi |
3733 | 3553 |
3734 echo $ac_n "checking for off_t""... $ac_c" 1>&6 | 3554 echo $ac_n "checking for off_t""... $ac_c" 1>&6 |
3735 echo "configure:3736: checking for off_t" >&5 | 3555 echo "configure:3556: checking for off_t" >&5 |
3736 | 3556 |
3737 cat > conftest.$ac_ext <<EOF | 3557 cat > conftest.$ac_ext <<EOF |
3738 #line 3739 "configure" | 3558 #line 3559 "configure" |
3739 #include "confdefs.h" | 3559 #include "confdefs.h" |
3740 #include <sys/types.h> | 3560 #include <sys/types.h> |
3741 #if STDC_HEADERS | 3561 #if STDC_HEADERS |
3742 #include <stdlib.h> | 3562 #include <stdlib.h> |
3743 #include <stddef.h> | 3563 #include <stddef.h> |
3744 #endif | 3564 #endif |
3745 EOF | 3565 EOF |
3746 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 3566 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
3747 egrep "(^|[^a-zA-Z_0-9])off_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then | 3567 egrep "off_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then |
3748 rm -rf conftest* | 3568 rm -rf conftest* |
3749 ac_cv_type_off_t=yes | 3569 ac_cv_type_off_t=yes |
3750 else | 3570 else |
3751 rm -rf conftest* | 3571 rm -rf conftest* |
3752 ac_cv_type_off_t=no | 3572 ac_cv_type_off_t=no |
3765 | 3585 |
3766 fi | 3586 fi |
3767 | 3587 |
3768 | 3588 |
3769 echo $ac_n "checking for struct timeval""... $ac_c" 1>&6 | 3589 echo $ac_n "checking for struct timeval""... $ac_c" 1>&6 |
3770 echo "configure:3771: checking for struct timeval" >&5 | 3590 echo "configure:3591: checking for struct timeval" >&5 |
3771 cat > conftest.$ac_ext <<EOF | 3591 cat > conftest.$ac_ext <<EOF |
3772 #line 3773 "configure" | 3592 #line 3593 "configure" |
3773 #include "confdefs.h" | 3593 #include "confdefs.h" |
3774 #ifdef TIME_WITH_SYS_TIME | 3594 #ifdef TIME_WITH_SYS_TIME |
3775 #include <sys/time.h> | 3595 #include <sys/time.h> |
3776 #include <time.h> | 3596 #include <time.h> |
3777 #else | 3597 #else |
3783 #endif | 3603 #endif |
3784 int main() { | 3604 int main() { |
3785 static struct timeval x; x.tv_sec = x.tv_usec; | 3605 static struct timeval x; x.tv_sec = x.tv_usec; |
3786 ; return 0; } | 3606 ; return 0; } |
3787 EOF | 3607 EOF |
3788 if { (eval echo configure:3789: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3608 if { (eval echo configure:3609: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
3789 rm -rf conftest* | 3609 rm -rf conftest* |
3790 echo "$ac_t""yes" 1>&6 | 3610 echo "$ac_t""yes" 1>&6 |
3791 HAVE_TIMEVAL=yes | 3611 HAVE_TIMEVAL=yes |
3792 { test "$extra_verbose" = "yes" && cat << \EOF | 3612 { test "$extra_verbose" = "yes" && cat << \EOF |
3793 Defining HAVE_TIMEVAL | 3613 Defining HAVE_TIMEVAL |
3805 HAVE_TIMEVAL=no | 3625 HAVE_TIMEVAL=no |
3806 fi | 3626 fi |
3807 rm -f conftest* | 3627 rm -f conftest* |
3808 | 3628 |
3809 echo $ac_n "checking whether struct tm is in sys/time.h or time.h""... $ac_c" 1>&6 | 3629 echo $ac_n "checking whether struct tm is in sys/time.h or time.h""... $ac_c" 1>&6 |
3810 echo "configure:3811: checking whether struct tm is in sys/time.h or time.h" >&5 | 3630 echo "configure:3631: checking whether struct tm is in sys/time.h or time.h" >&5 |
3811 | 3631 |
3812 cat > conftest.$ac_ext <<EOF | 3632 cat > conftest.$ac_ext <<EOF |
3813 #line 3814 "configure" | 3633 #line 3634 "configure" |
3814 #include "confdefs.h" | 3634 #include "confdefs.h" |
3815 #include <sys/types.h> | 3635 #include <sys/types.h> |
3816 #include <time.h> | 3636 #include <time.h> |
3817 int main() { | 3637 int main() { |
3818 struct tm *tp; tp->tm_sec; | 3638 struct tm *tp; tp->tm_sec; |
3819 ; return 0; } | 3639 ; return 0; } |
3820 EOF | 3640 EOF |
3821 if { (eval echo configure:3822: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3641 if { (eval echo configure:3642: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
3822 rm -rf conftest* | 3642 rm -rf conftest* |
3823 ac_cv_struct_tm=time.h | 3643 ac_cv_struct_tm=time.h |
3824 else | 3644 else |
3825 echo "configure: failed program was:" >&5 | 3645 echo "configure: failed program was:" >&5 |
3826 cat conftest.$ac_ext >&5 | 3646 cat conftest.$ac_ext >&5 |
3840 } | 3660 } |
3841 | 3661 |
3842 fi | 3662 fi |
3843 | 3663 |
3844 echo $ac_n "checking for tm_zone in struct tm""... $ac_c" 1>&6 | 3664 echo $ac_n "checking for tm_zone in struct tm""... $ac_c" 1>&6 |
3845 echo "configure:3846: checking for tm_zone in struct tm" >&5 | 3665 echo "configure:3666: checking for tm_zone in struct tm" >&5 |
3846 | 3666 |
3847 cat > conftest.$ac_ext <<EOF | 3667 cat > conftest.$ac_ext <<EOF |
3848 #line 3849 "configure" | 3668 #line 3669 "configure" |
3849 #include "confdefs.h" | 3669 #include "confdefs.h" |
3850 #include <sys/types.h> | 3670 #include <sys/types.h> |
3851 #include <$ac_cv_struct_tm> | 3671 #include <$ac_cv_struct_tm> |
3852 int main() { | 3672 int main() { |
3853 struct tm tm; tm.tm_zone; | 3673 struct tm tm; tm.tm_zone; |
3854 ; return 0; } | 3674 ; return 0; } |
3855 EOF | 3675 EOF |
3856 if { (eval echo configure:3857: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3676 if { (eval echo configure:3677: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
3857 rm -rf conftest* | 3677 rm -rf conftest* |
3858 ac_cv_struct_tm_zone=yes | 3678 ac_cv_struct_tm_zone=yes |
3859 else | 3679 else |
3860 echo "configure: failed program was:" >&5 | 3680 echo "configure: failed program was:" >&5 |
3861 cat conftest.$ac_ext >&5 | 3681 cat conftest.$ac_ext >&5 |
3874 EOF | 3694 EOF |
3875 } | 3695 } |
3876 | 3696 |
3877 else | 3697 else |
3878 echo $ac_n "checking for tzname""... $ac_c" 1>&6 | 3698 echo $ac_n "checking for tzname""... $ac_c" 1>&6 |
3879 echo "configure:3880: checking for tzname" >&5 | 3699 echo "configure:3700: checking for tzname" >&5 |
3880 | 3700 |
3881 cat > conftest.$ac_ext <<EOF | 3701 cat > conftest.$ac_ext <<EOF |
3882 #line 3883 "configure" | 3702 #line 3703 "configure" |
3883 #include "confdefs.h" | 3703 #include "confdefs.h" |
3884 #include <time.h> | 3704 #include <time.h> |
3885 #ifndef tzname /* For SGI. */ | 3705 #ifndef tzname /* For SGI. */ |
3886 extern char *tzname[]; /* RS6000 and others reject char **tzname. */ | 3706 extern char *tzname[]; /* RS6000 and others reject char **tzname. */ |
3887 #endif | 3707 #endif |
3888 int main() { | 3708 int main() { |
3889 atoi(*tzname); | 3709 atoi(*tzname); |
3890 ; return 0; } | 3710 ; return 0; } |
3891 EOF | 3711 EOF |
3892 if { (eval echo configure:3893: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 3712 if { (eval echo configure:3713: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
3893 rm -rf conftest* | 3713 rm -rf conftest* |
3894 ac_cv_var_tzname=yes | 3714 ac_cv_var_tzname=yes |
3895 else | 3715 else |
3896 echo "configure: failed program was:" >&5 | 3716 echo "configure: failed program was:" >&5 |
3897 cat conftest.$ac_ext >&5 | 3717 cat conftest.$ac_ext >&5 |
3913 fi | 3733 fi |
3914 fi | 3734 fi |
3915 | 3735 |
3916 | 3736 |
3917 echo $ac_n "checking for working const""... $ac_c" 1>&6 | 3737 echo $ac_n "checking for working const""... $ac_c" 1>&6 |
3918 echo "configure:3919: checking for working const" >&5 | 3738 echo "configure:3739: checking for working const" >&5 |
3919 | 3739 |
3920 cat > conftest.$ac_ext <<EOF | 3740 cat > conftest.$ac_ext <<EOF |
3921 #line 3922 "configure" | 3741 #line 3742 "configure" |
3922 #include "confdefs.h" | 3742 #include "confdefs.h" |
3923 | 3743 |
3924 int main() { | 3744 int main() { |
3925 | 3745 |
3926 /* Ultrix mips cc rejects this. */ | 3746 /* Ultrix mips cc rejects this. */ |
3965 const int foo = 10; | 3785 const int foo = 10; |
3966 } | 3786 } |
3967 | 3787 |
3968 ; return 0; } | 3788 ; return 0; } |
3969 EOF | 3789 EOF |
3970 if { (eval echo configure:3971: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3790 if { (eval echo configure:3791: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
3971 rm -rf conftest* | 3791 rm -rf conftest* |
3972 ac_cv_c_const=yes | 3792 ac_cv_c_const=yes |
3973 else | 3793 else |
3974 echo "configure: failed program was:" >&5 | 3794 echo "configure: failed program was:" >&5 |
3975 cat conftest.$ac_ext >&5 | 3795 cat conftest.$ac_ext >&5 |
3990 | 3810 |
3991 fi | 3811 fi |
3992 | 3812 |
3993 | 3813 |
3994 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6 | 3814 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6 |
3995 echo "configure:3996: checking whether ${MAKE-make} sets \${MAKE}" >&5 | 3815 echo "configure:3816: checking whether ${MAKE-make} sets \${MAKE}" >&5 |
3996 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'` | 3816 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'` |
3997 | 3817 |
3998 cat > conftestmake <<\EOF | 3818 cat > conftestmake <<\EOF |
3999 all: | 3819 all: |
4000 @echo 'ac_maketemp="${MAKE}"' | 3820 @echo 'ac_maketemp="${MAKE}"' |
4015 SET_MAKE="MAKE=${MAKE-make}" | 3835 SET_MAKE="MAKE=${MAKE-make}" |
4016 fi | 3836 fi |
4017 | 3837 |
4018 | 3838 |
4019 echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6 | 3839 echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6 |
4020 echo "configure:4021: checking whether byte ordering is bigendian" >&5 | 3840 echo "configure:3841: checking whether byte ordering is bigendian" >&5 |
4021 | 3841 |
4022 ac_cv_c_bigendian=unknown | 3842 ac_cv_c_bigendian=unknown |
4023 # See if sys/param.h defines the BYTE_ORDER macro. | 3843 # See if sys/param.h defines the BYTE_ORDER macro. |
4024 cat > conftest.$ac_ext <<EOF | 3844 cat > conftest.$ac_ext <<EOF |
4025 #line 4026 "configure" | 3845 #line 3846 "configure" |
4026 #include "confdefs.h" | 3846 #include "confdefs.h" |
4027 #include <sys/types.h> | 3847 #include <sys/types.h> |
4028 #include <sys/param.h> | 3848 #include <sys/param.h> |
4029 int main() { | 3849 int main() { |
4030 | 3850 |
4031 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN | 3851 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN |
4032 bogus endian macros | 3852 bogus endian macros |
4033 #endif | 3853 #endif |
4034 ; return 0; } | 3854 ; return 0; } |
4035 EOF | 3855 EOF |
4036 if { (eval echo configure:4037: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3856 if { (eval echo configure:3857: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
4037 rm -rf conftest* | 3857 rm -rf conftest* |
4038 # It does; now see whether it defined to BIG_ENDIAN or not. | 3858 # It does; now see whether it defined to BIG_ENDIAN or not. |
4039 cat > conftest.$ac_ext <<EOF | 3859 cat > conftest.$ac_ext <<EOF |
4040 #line 4041 "configure" | 3860 #line 3861 "configure" |
4041 #include "confdefs.h" | 3861 #include "confdefs.h" |
4042 #include <sys/types.h> | 3862 #include <sys/types.h> |
4043 #include <sys/param.h> | 3863 #include <sys/param.h> |
4044 int main() { | 3864 int main() { |
4045 | 3865 |
4046 #if BYTE_ORDER != BIG_ENDIAN | 3866 #if BYTE_ORDER != BIG_ENDIAN |
4047 not big endian | 3867 not big endian |
4048 #endif | 3868 #endif |
4049 ; return 0; } | 3869 ; return 0; } |
4050 EOF | 3870 EOF |
4051 if { (eval echo configure:4052: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3871 if { (eval echo configure:3872: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
4052 rm -rf conftest* | 3872 rm -rf conftest* |
4053 ac_cv_c_bigendian=yes | 3873 ac_cv_c_bigendian=yes |
4054 else | 3874 else |
4055 echo "configure: failed program was:" >&5 | 3875 echo "configure: failed program was:" >&5 |
4056 cat conftest.$ac_ext >&5 | 3876 cat conftest.$ac_ext >&5 |
4063 cat conftest.$ac_ext >&5 | 3883 cat conftest.$ac_ext >&5 |
4064 fi | 3884 fi |
4065 rm -f conftest* | 3885 rm -f conftest* |
4066 if test $ac_cv_c_bigendian = unknown; then | 3886 if test $ac_cv_c_bigendian = unknown; then |
4067 cat > conftest.$ac_ext <<EOF | 3887 cat > conftest.$ac_ext <<EOF |
4068 #line 4069 "configure" | 3888 #line 3889 "configure" |
4069 #include "confdefs.h" | 3889 #include "confdefs.h" |
4070 main () { | 3890 main () { |
4071 /* Are we little or big endian? From Harbison&Steele. */ | 3891 /* Are we little or big endian? From Harbison&Steele. */ |
4072 union | 3892 union |
4073 { | 3893 { |
4076 } u; | 3896 } u; |
4077 u.l = 1; | 3897 u.l = 1; |
4078 exit (u.c[sizeof (long) - 1] == 1); | 3898 exit (u.c[sizeof (long) - 1] == 1); |
4079 } | 3899 } |
4080 EOF | 3900 EOF |
4081 if { (eval echo configure:4082: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 3901 if { (eval echo configure:3902: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
4082 then | 3902 then |
4083 ac_cv_c_bigendian=no | 3903 ac_cv_c_bigendian=no |
4084 else | 3904 else |
4085 conftest_rc="$?" | 3905 conftest_rc="$?" |
4086 echo "configure: failed program was:" >&5 | 3906 echo "configure: failed program was:" >&5 |
4103 | 3923 |
4104 fi | 3924 fi |
4105 | 3925 |
4106 | 3926 |
4107 echo $ac_n "checking size of short""... $ac_c" 1>&6 | 3927 echo $ac_n "checking size of short""... $ac_c" 1>&6 |
4108 echo "configure:4109: checking size of short" >&5 | 3928 echo "configure:3929: checking size of short" >&5 |
4109 | 3929 |
4110 cat > conftest.$ac_ext <<EOF | 3930 cat > conftest.$ac_ext <<EOF |
4111 #line 4112 "configure" | 3931 #line 3932 "configure" |
4112 #include "confdefs.h" | 3932 #include "confdefs.h" |
4113 #include <stdio.h> | 3933 #include <stdio.h> |
4114 main() | 3934 main() |
4115 { | 3935 { |
4116 FILE *f=fopen("conftestval", "w"); | 3936 FILE *f=fopen("conftestval", "w"); |
4117 if (!f) exit(1); | 3937 if (!f) exit(1); |
4118 fprintf(f, "%d\n", sizeof(short)); | 3938 fprintf(f, "%d\n", sizeof(short)); |
4119 exit(0); | 3939 exit(0); |
4120 } | 3940 } |
4121 EOF | 3941 EOF |
4122 if { (eval echo configure:4123: \"$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 |
4123 then | 3943 then |
4124 ac_cv_sizeof_short=`cat conftestval` | 3944 ac_cv_sizeof_short=`cat conftestval` |
4125 else | 3945 else |
4126 conftest_rc="$?" | 3946 conftest_rc="$?" |
4127 echo "configure: failed program was:" >&5 | 3947 echo "configure: failed program was:" >&5 |
4145 echo "*** PANIC *** Configure tests are not working - compiler is broken." | 3965 echo "*** PANIC *** Configure tests are not working - compiler is broken." |
4146 echo "*** PANIC *** Please examine config.log for compilation errors." | 3966 echo "*** PANIC *** Please examine config.log for compilation errors." |
4147 exit 1 | 3967 exit 1 |
4148 fi | 3968 fi |
4149 echo $ac_n "checking size of int""... $ac_c" 1>&6 | 3969 echo $ac_n "checking size of int""... $ac_c" 1>&6 |
4150 echo "configure:4151: checking size of int" >&5 | 3970 echo "configure:3971: checking size of int" >&5 |
4151 | 3971 |
4152 cat > conftest.$ac_ext <<EOF | 3972 cat > conftest.$ac_ext <<EOF |
4153 #line 4154 "configure" | 3973 #line 3974 "configure" |
4154 #include "confdefs.h" | 3974 #include "confdefs.h" |
4155 #include <stdio.h> | 3975 #include <stdio.h> |
4156 main() | 3976 main() |
4157 { | 3977 { |
4158 FILE *f=fopen("conftestval", "w"); | 3978 FILE *f=fopen("conftestval", "w"); |
4159 if (!f) exit(1); | 3979 if (!f) exit(1); |
4160 fprintf(f, "%d\n", sizeof(int)); | 3980 fprintf(f, "%d\n", sizeof(int)); |
4161 exit(0); | 3981 exit(0); |
4162 } | 3982 } |
4163 EOF | 3983 EOF |
4164 if { (eval echo configure:4165: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 3984 if { (eval echo configure:3985: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
4165 then | 3985 then |
4166 ac_cv_sizeof_int=`cat conftestval` | 3986 ac_cv_sizeof_int=`cat conftestval` |
4167 else | 3987 else |
4168 conftest_rc="$?" | 3988 conftest_rc="$?" |
4169 echo "configure: failed program was:" >&5 | 3989 echo "configure: failed program was:" >&5 |
4181 EOF | 4001 EOF |
4182 } | 4002 } |
4183 | 4003 |
4184 | 4004 |
4185 echo $ac_n "checking size of long""... $ac_c" 1>&6 | 4005 echo $ac_n "checking size of long""... $ac_c" 1>&6 |
4186 echo "configure:4187: checking size of long" >&5 | 4006 echo "configure:4007: checking size of long" >&5 |
4187 | 4007 |
4188 cat > conftest.$ac_ext <<EOF | 4008 cat > conftest.$ac_ext <<EOF |
4189 #line 4190 "configure" | 4009 #line 4010 "configure" |
4190 #include "confdefs.h" | 4010 #include "confdefs.h" |
4191 #include <stdio.h> | 4011 #include <stdio.h> |
4192 main() | 4012 main() |
4193 { | 4013 { |
4194 FILE *f=fopen("conftestval", "w"); | 4014 FILE *f=fopen("conftestval", "w"); |
4195 if (!f) exit(1); | 4015 if (!f) exit(1); |
4196 fprintf(f, "%d\n", sizeof(long)); | 4016 fprintf(f, "%d\n", sizeof(long)); |
4197 exit(0); | 4017 exit(0); |
4198 } | 4018 } |
4199 EOF | 4019 EOF |
4200 if { (eval echo configure:4201: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 4020 if { (eval echo configure:4021: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
4201 then | 4021 then |
4202 ac_cv_sizeof_long=`cat conftestval` | 4022 ac_cv_sizeof_long=`cat conftestval` |
4203 else | 4023 else |
4204 conftest_rc="$?" | 4024 conftest_rc="$?" |
4205 echo "configure: failed program was:" >&5 | 4025 echo "configure: failed program was:" >&5 |
4217 EOF | 4037 EOF |
4218 } | 4038 } |
4219 | 4039 |
4220 | 4040 |
4221 echo $ac_n "checking size of long long""... $ac_c" 1>&6 | 4041 echo $ac_n "checking size of long long""... $ac_c" 1>&6 |
4222 echo "configure:4223: checking size of long long" >&5 | 4042 echo "configure:4043: checking size of long long" >&5 |
4223 | 4043 |
4224 cat > conftest.$ac_ext <<EOF | 4044 cat > conftest.$ac_ext <<EOF |
4225 #line 4226 "configure" | 4045 #line 4046 "configure" |
4226 #include "confdefs.h" | 4046 #include "confdefs.h" |
4227 #include <stdio.h> | 4047 #include <stdio.h> |
4228 main() | 4048 main() |
4229 { | 4049 { |
4230 FILE *f=fopen("conftestval", "w"); | 4050 FILE *f=fopen("conftestval", "w"); |
4231 if (!f) exit(1); | 4051 if (!f) exit(1); |
4232 fprintf(f, "%d\n", sizeof(long long)); | 4052 fprintf(f, "%d\n", sizeof(long long)); |
4233 exit(0); | 4053 exit(0); |
4234 } | 4054 } |
4235 EOF | 4055 EOF |
4236 if { (eval echo configure:4237: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 4056 if { (eval echo configure:4057: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
4237 then | 4057 then |
4238 ac_cv_sizeof_long_long=`cat conftestval` | 4058 ac_cv_sizeof_long_long=`cat conftestval` |
4239 else | 4059 else |
4240 conftest_rc="$?" | 4060 conftest_rc="$?" |
4241 echo "configure: failed program was:" >&5 | 4061 echo "configure: failed program was:" >&5 |
4253 EOF | 4073 EOF |
4254 } | 4074 } |
4255 | 4075 |
4256 | 4076 |
4257 echo $ac_n "checking size of void *""... $ac_c" 1>&6 | 4077 echo $ac_n "checking size of void *""... $ac_c" 1>&6 |
4258 echo "configure:4259: checking size of void *" >&5 | 4078 echo "configure:4079: checking size of void *" >&5 |
4259 | 4079 |
4260 cat > conftest.$ac_ext <<EOF | 4080 cat > conftest.$ac_ext <<EOF |
4261 #line 4262 "configure" | 4081 #line 4082 "configure" |
4262 #include "confdefs.h" | 4082 #include "confdefs.h" |
4263 #include <stdio.h> | 4083 #include <stdio.h> |
4264 main() | 4084 main() |
4265 { | 4085 { |
4266 FILE *f=fopen("conftestval", "w"); | 4086 FILE *f=fopen("conftestval", "w"); |
4267 if (!f) exit(1); | 4087 if (!f) exit(1); |
4268 fprintf(f, "%d\n", sizeof(void *)); | 4088 fprintf(f, "%d\n", sizeof(void *)); |
4269 exit(0); | 4089 exit(0); |
4270 } | 4090 } |
4271 EOF | 4091 EOF |
4272 if { (eval echo configure:4273: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 4092 if { (eval echo configure:4093: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
4273 then | 4093 then |
4274 ac_cv_sizeof_void_p=`cat conftestval` | 4094 ac_cv_sizeof_void_p=`cat conftestval` |
4275 else | 4095 else |
4276 conftest_rc="$?" | 4096 conftest_rc="$?" |
4277 echo "configure: failed program was:" >&5 | 4097 echo "configure: failed program was:" >&5 |
4290 } | 4110 } |
4291 | 4111 |
4292 | 4112 |
4293 | 4113 |
4294 echo $ac_n "checking for long file names""... $ac_c" 1>&6 | 4114 echo $ac_n "checking for long file names""... $ac_c" 1>&6 |
4295 echo "configure:4296: checking for long file names" >&5 | 4115 echo "configure:4116: checking for long file names" >&5 |
4296 | 4116 |
4297 ac_cv_sys_long_file_names=yes | 4117 ac_cv_sys_long_file_names=yes |
4298 # Test for long file names in all the places we know might matter: | 4118 # Test for long file names in all the places we know might matter: |
4299 # . the current directory, where building will happen | 4119 # . the current directory, where building will happen |
4300 # $prefix/lib where we will be installing things | 4120 # $prefix/lib where we will be installing things |
4336 | 4156 |
4337 fi | 4157 fi |
4338 | 4158 |
4339 | 4159 |
4340 echo $ac_n "checking for sin""... $ac_c" 1>&6 | 4160 echo $ac_n "checking for sin""... $ac_c" 1>&6 |
4341 echo "configure:4342: checking for sin" >&5 | 4161 echo "configure:4162: checking for sin" >&5 |
4342 | 4162 |
4343 cat > conftest.$ac_ext <<EOF | 4163 cat > conftest.$ac_ext <<EOF |
4344 #line 4345 "configure" | 4164 #line 4165 "configure" |
4345 #include "confdefs.h" | 4165 #include "confdefs.h" |
4346 /* System header to define __stub macros and hopefully few prototypes, | 4166 /* System header to define __stub macros and hopefully few prototypes, |
4347 which can conflict with char sin(); below. */ | 4167 which can conflict with char sin(); below. */ |
4348 #include <assert.h> | 4168 #include <assert.h> |
4349 /* Override any gcc2 internal prototype to avoid an error. */ | 4169 /* Override any gcc2 internal prototype to avoid an error. */ |
4362 sin(); | 4182 sin(); |
4363 #endif | 4183 #endif |
4364 | 4184 |
4365 ; return 0; } | 4185 ; return 0; } |
4366 EOF | 4186 EOF |
4367 if { (eval echo configure:4368: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4187 if { (eval echo configure:4188: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
4368 rm -rf conftest* | 4188 rm -rf conftest* |
4369 eval "ac_cv_func_sin=yes" | 4189 eval "ac_cv_func_sin=yes" |
4370 else | 4190 else |
4371 echo "configure: failed program was:" >&5 | 4191 echo "configure: failed program was:" >&5 |
4372 cat conftest.$ac_ext >&5 | 4192 cat conftest.$ac_ext >&5 |
4380 : | 4200 : |
4381 else | 4201 else |
4382 echo "$ac_t""no" 1>&6 | 4202 echo "$ac_t""no" 1>&6 |
4383 | 4203 |
4384 echo $ac_n "checking for sin in -lm""... $ac_c" 1>&6 | 4204 echo $ac_n "checking for sin in -lm""... $ac_c" 1>&6 |
4385 echo "configure:4386: checking for sin in -lm" >&5 | 4205 echo "configure:4206: checking for sin in -lm" >&5 |
4386 ac_lib_var=`echo m'_'sin | sed 'y%./+-%__p_%'` | 4206 ac_lib_var=`echo m'_'sin | sed 'y%./+-%__p_%'` |
4387 | 4207 |
4388 xe_check_libs=" -lm " | 4208 xe_check_libs=" -lm " |
4389 cat > conftest.$ac_ext <<EOF | 4209 cat > conftest.$ac_ext <<EOF |
4390 #line 4391 "configure" | 4210 #line 4211 "configure" |
4391 #include "confdefs.h" | 4211 #include "confdefs.h" |
4392 /* Override any gcc2 internal prototype to avoid an error. */ | 4212 /* Override any gcc2 internal prototype to avoid an error. */ |
4393 /* We use char because int might match the return type of a gcc2 | 4213 /* We use char because int might match the return type of a gcc2 |
4394 builtin and then its argument prototype would still apply. */ | 4214 builtin and then its argument prototype would still apply. */ |
4395 char sin(); | 4215 char sin(); |
4396 | 4216 |
4397 int main() { | 4217 int main() { |
4398 sin() | 4218 sin() |
4399 ; return 0; } | 4219 ; return 0; } |
4400 EOF | 4220 EOF |
4401 if { (eval echo configure:4402: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4221 if { (eval echo configure:4222: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
4402 rm -rf conftest* | 4222 rm -rf conftest* |
4403 eval "ac_cv_lib_$ac_lib_var=yes" | 4223 eval "ac_cv_lib_$ac_lib_var=yes" |
4404 else | 4224 else |
4405 echo "configure: failed program was:" >&5 | 4225 echo "configure: failed program was:" >&5 |
4406 cat conftest.$ac_ext >&5 | 4226 cat conftest.$ac_ext >&5 |
4440 EOF | 4260 EOF |
4441 } | 4261 } |
4442 | 4262 |
4443 | 4263 |
4444 cat > conftest.$ac_ext <<EOF | 4264 cat > conftest.$ac_ext <<EOF |
4445 #line 4446 "configure" | 4265 #line 4266 "configure" |
4446 #include "confdefs.h" | 4266 #include "confdefs.h" |
4447 #include <math.h> | 4267 #include <math.h> |
4448 int main() { | 4268 int main() { |
4449 return atanh(1.0) + asinh(1.0) + acosh(1.0); | 4269 return atanh(1.0) + asinh(1.0) + acosh(1.0); |
4450 ; return 0; } | 4270 ; return 0; } |
4451 EOF | 4271 EOF |
4452 if { (eval echo configure:4453: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4272 if { (eval echo configure:4273: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
4453 rm -rf conftest* | 4273 rm -rf conftest* |
4454 { test "$extra_verbose" = "yes" && cat << \EOF | 4274 { test "$extra_verbose" = "yes" && cat << \EOF |
4455 Defining HAVE_INVERSE_HYPERBOLIC | 4275 Defining HAVE_INVERSE_HYPERBOLIC |
4456 EOF | 4276 EOF |
4457 cat >> confdefs.h <<\EOF | 4277 cat >> confdefs.h <<\EOF |
4464 cat conftest.$ac_ext >&5 | 4284 cat conftest.$ac_ext >&5 |
4465 fi | 4285 fi |
4466 rm -f conftest* | 4286 rm -f conftest* |
4467 | 4287 |
4468 echo "checking type of mail spool file locking" 1>&6 | 4288 echo "checking type of mail spool file locking" 1>&6 |
4469 echo "configure:4470: checking type of mail spool file locking" >&5 | 4289 echo "configure:4290: checking type of mail spool file locking" >&5 |
4470 test -z "$mail_locking" -a "$mail_use_flock" = "yes" && mail_locking=flock | 4290 test -z "$mail_locking" -a "$mail_use_flock" = "yes" && mail_locking=flock |
4471 test -z "$mail_locking" -a "$mail_use_lockf" = "yes" && mail_locking=lockf | 4291 test -z "$mail_locking" -a "$mail_use_lockf" = "yes" && mail_locking=lockf |
4472 if test "$mail_locking" = "lockf"; then { test "$extra_verbose" = "yes" && cat << \EOF | 4292 if test "$mail_locking" = "lockf"; then { test "$extra_verbose" = "yes" && cat << \EOF |
4473 Defining REAL_MAIL_USE_LOCKF | 4293 Defining REAL_MAIL_USE_LOCKF |
4474 EOF | 4294 EOF |
4489 fi | 4309 fi |
4490 | 4310 |
4491 case "$opsys" in decosf*) | 4311 case "$opsys" in decosf*) |
4492 | 4312 |
4493 echo $ac_n "checking for cma_open in -lpthreads""... $ac_c" 1>&6 | 4313 echo $ac_n "checking for cma_open in -lpthreads""... $ac_c" 1>&6 |
4494 echo "configure:4495: checking for cma_open in -lpthreads" >&5 | 4314 echo "configure:4315: checking for cma_open in -lpthreads" >&5 |
4495 ac_lib_var=`echo pthreads'_'cma_open | sed 'y%./+-%__p_%'` | 4315 ac_lib_var=`echo pthreads'_'cma_open | sed 'y%./+-%__p_%'` |
4496 | 4316 |
4497 xe_check_libs=" -lpthreads " | 4317 xe_check_libs=" -lpthreads " |
4498 cat > conftest.$ac_ext <<EOF | 4318 cat > conftest.$ac_ext <<EOF |
4499 #line 4500 "configure" | 4319 #line 4320 "configure" |
4500 #include "confdefs.h" | 4320 #include "confdefs.h" |
4501 /* Override any gcc2 internal prototype to avoid an error. */ | 4321 /* Override any gcc2 internal prototype to avoid an error. */ |
4502 /* We use char because int might match the return type of a gcc2 | 4322 /* We use char because int might match the return type of a gcc2 |
4503 builtin and then its argument prototype would still apply. */ | 4323 builtin and then its argument prototype would still apply. */ |
4504 char cma_open(); | 4324 char cma_open(); |
4505 | 4325 |
4506 int main() { | 4326 int main() { |
4507 cma_open() | 4327 cma_open() |
4508 ; return 0; } | 4328 ; return 0; } |
4509 EOF | 4329 EOF |
4510 if { (eval echo configure:4511: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4330 if { (eval echo configure:4331: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
4511 rm -rf conftest* | 4331 rm -rf conftest* |
4512 eval "ac_cv_lib_$ac_lib_var=yes" | 4332 eval "ac_cv_lib_$ac_lib_var=yes" |
4513 else | 4333 else |
4514 echo "configure: failed program was:" >&5 | 4334 echo "configure: failed program was:" >&5 |
4515 cat conftest.$ac_ext >&5 | 4335 cat conftest.$ac_ext >&5 |
4541 test "$ac_cv_lib_pthreads_cma_open" = "yes" && \ | 4361 test "$ac_cv_lib_pthreads_cma_open" = "yes" && \ |
4542 c_switch_site="$c_switch_site -threads" ;; | 4362 c_switch_site="$c_switch_site -threads" ;; |
4543 esac | 4363 esac |
4544 | 4364 |
4545 echo $ac_n "checking whether the -xildoff compiler flag is required""... $ac_c" 1>&6 | 4365 echo $ac_n "checking whether the -xildoff compiler flag is required""... $ac_c" 1>&6 |
4546 echo "configure:4547: checking whether the -xildoff compiler flag is required" >&5 | 4366 echo "configure:4367: checking whether the -xildoff compiler flag is required" >&5 |
4547 if ${CC-cc} '-###' -xildon no_such_file.c 2>&1 | grep '^[^ ]*/ild ' > /dev/null ; then | 4367 if ${CC-cc} '-###' -xildon no_such_file.c 2>&1 | grep '^[^ ]*/ild ' > /dev/null ; then |
4548 if ${CC-cc} '-###' -xildoff no_such_file.c 2>&1 | grep '^[^ ]*/ild ' > /dev/null ; | 4368 if ${CC-cc} '-###' -xildoff no_such_file.c 2>&1 | grep '^[^ ]*/ild ' > /dev/null ; |
4549 then echo "$ac_t""no" 1>&6; | 4369 then echo "$ac_t""no" 1>&6; |
4550 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 | 4370 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 |
4551 fi | 4371 fi |
4552 else echo "$ac_t""no" 1>&6 | 4372 else echo "$ac_t""no" 1>&6 |
4553 fi | 4373 fi |
4554 | 4374 |
4555 if test "$opsys" = "sol2" && test "$OS_RELEASE" -ge 56; then | 4375 if test "$opsys" = "sol2" && test "$OS_RELEASE" -ge 56; then |
4556 echo $ac_n "checking for \"-z ignore\" linker flag""... $ac_c" 1>&6 | 4376 echo $ac_n "checking for \"-z ignore\" linker flag""... $ac_c" 1>&6 |
4557 echo "configure:4558: checking for \"-z ignore\" linker flag" >&5 | 4377 echo "configure:4378: checking for \"-z ignore\" linker flag" >&5 |
4558 case "`ld -h 2>&1`" in | 4378 case "`ld -h 2>&1`" in |
4559 *-z\ ignore\|record* ) echo "$ac_t""yes" 1>&6 | 4379 *-z\ ignore\|record* ) echo "$ac_t""yes" 1>&6 |
4560 ld_switch_site="-z ignore $ld_switch_site" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-z ignore\" to \$ld_switch_site"; fi ;; | 4380 ld_switch_site="-z ignore $ld_switch_site" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-z ignore\" to \$ld_switch_site"; fi ;; |
4561 *) echo "$ac_t""no" 1>&6 ;; | 4381 *) echo "$ac_t""no" 1>&6 ;; |
4562 esac | 4382 esac |
4563 fi | 4383 fi |
4564 | 4384 |
4565 | 4385 |
4566 echo "checking "for specified window system"" 1>&6 | 4386 echo "checking "for specified window system"" 1>&6 |
4567 echo "configure:4568: checking "for specified window system"" >&5 | 4387 echo "configure:4388: checking "for specified window system"" >&5 |
4568 | 4388 |
4569 if test "$with_x11" != "no"; then | 4389 if test "$with_x11" != "no"; then |
4570 test "$x_includes $x_libraries" != "NONE NONE" && \ | 4390 test "$x_includes $x_libraries" != "NONE NONE" && \ |
4571 window_system=x11 with_x11=yes | 4391 window_system=x11 with_x11=yes |
4572 | 4392 |
4595 # If we find X, set shell vars x_includes and x_libraries to the | 4415 # If we find X, set shell vars x_includes and x_libraries to the |
4596 # paths, otherwise set no_x=yes. | 4416 # paths, otherwise set no_x=yes. |
4597 # Uses ac_ vars as temps to allow command line to override cache and checks. | 4417 # Uses ac_ vars as temps to allow command line to override cache and checks. |
4598 # --without-x overrides everything else, but does not touch the cache. | 4418 # --without-x overrides everything else, but does not touch the cache. |
4599 echo $ac_n "checking for X""... $ac_c" 1>&6 | 4419 echo $ac_n "checking for X""... $ac_c" 1>&6 |
4600 echo "configure:4601: checking for X" >&5 | 4420 echo "configure:4421: checking for X" >&5 |
4601 | 4421 |
4602 # Check whether --with-x or --without-x was given. | 4422 # Check whether --with-x or --without-x was given. |
4603 if test "${with_x+set}" = set; then | 4423 if test "${with_x+set}" = set; then |
4604 withval="$with_x" | 4424 withval="$with_x" |
4605 : | 4425 : |
4655 # Guess where to find include files, by looking for this one X11 .h file. | 4475 # Guess where to find include files, by looking for this one X11 .h file. |
4656 test -z "$x_direct_test_include" && x_direct_test_include=X11/Intrinsic.h | 4476 test -z "$x_direct_test_include" && x_direct_test_include=X11/Intrinsic.h |
4657 | 4477 |
4658 # First, try using that file with no special directory specified. | 4478 # First, try using that file with no special directory specified. |
4659 cat > conftest.$ac_ext <<EOF | 4479 cat > conftest.$ac_ext <<EOF |
4660 #line 4661 "configure" | 4480 #line 4481 "configure" |
4661 #include "confdefs.h" | 4481 #include "confdefs.h" |
4662 #include <$x_direct_test_include> | 4482 #include <$x_direct_test_include> |
4663 EOF | 4483 EOF |
4664 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 4484 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
4665 { (eval echo configure:4666: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 4485 { (eval echo configure:4486: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
4666 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 4486 ac_err=`grep -v '^ *+' conftest.out` |
4667 if test -z "$ac_err"; then | 4487 if test -z "$ac_err"; then |
4668 rm -rf conftest* | 4488 rm -rf conftest* |
4669 # We can compile using X headers with no special include directory. | 4489 # We can compile using X headers with no special include directory. |
4670 ac_x_includes= | 4490 ac_x_includes= |
4671 else | 4491 else |
4729 # See if we find them without any special options. | 4549 # See if we find them without any special options. |
4730 # Don't add to $LIBS permanently. | 4550 # Don't add to $LIBS permanently. |
4731 ac_save_LIBS="$LIBS" | 4551 ac_save_LIBS="$LIBS" |
4732 LIBS="-l$x_direct_test_library $LIBS" | 4552 LIBS="-l$x_direct_test_library $LIBS" |
4733 cat > conftest.$ac_ext <<EOF | 4553 cat > conftest.$ac_ext <<EOF |
4734 #line 4735 "configure" | 4554 #line 4555 "configure" |
4735 #include "confdefs.h" | 4555 #include "confdefs.h" |
4736 | 4556 |
4737 int main() { | 4557 int main() { |
4738 ${x_direct_test_function}() | 4558 ${x_direct_test_function}() |
4739 ; return 0; } | 4559 ; return 0; } |
4740 EOF | 4560 EOF |
4741 if { (eval echo configure:4742: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4561 if { (eval echo configure:4562: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
4742 rm -rf conftest* | 4562 rm -rf conftest* |
4743 LIBS="$ac_save_LIBS" | 4563 LIBS="$ac_save_LIBS" |
4744 # We can link X programs with no special library path. | 4564 # We can link X programs with no special library path. |
4745 ac_x_libraries= | 4565 ac_x_libraries= |
4746 else | 4566 else |
4845 # For Solaris; some versions of Sun CC require a space after -R and | 4665 # For Solaris; some versions of Sun CC require a space after -R and |
4846 # others require no space. Words are not sufficient . . . . | 4666 # others require no space. Words are not sufficient . . . . |
4847 case "`(uname -sr) 2>/dev/null`" in | 4667 case "`(uname -sr) 2>/dev/null`" in |
4848 "SunOS 5"*) | 4668 "SunOS 5"*) |
4849 echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6 | 4669 echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6 |
4850 echo "configure:4851: checking whether -R must be followed by a space" >&5 | 4670 echo "configure:4671: checking whether -R must be followed by a space" >&5 |
4851 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS -R$x_libraries" | 4671 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS -R$x_libraries" |
4852 cat > conftest.$ac_ext <<EOF | 4672 cat > conftest.$ac_ext <<EOF |
4853 #line 4854 "configure" | 4673 #line 4674 "configure" |
4854 #include "confdefs.h" | 4674 #include "confdefs.h" |
4855 | 4675 |
4856 int main() { | 4676 int main() { |
4857 | 4677 |
4858 ; return 0; } | 4678 ; return 0; } |
4859 EOF | 4679 EOF |
4860 if { (eval echo configure:4861: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4680 if { (eval echo configure:4681: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
4861 rm -rf conftest* | 4681 rm -rf conftest* |
4862 ac_R_nospace=yes | 4682 ac_R_nospace=yes |
4863 else | 4683 else |
4864 echo "configure: failed program was:" >&5 | 4684 echo "configure: failed program was:" >&5 |
4865 cat conftest.$ac_ext >&5 | 4685 cat conftest.$ac_ext >&5 |
4871 echo "$ac_t""no" 1>&6 | 4691 echo "$ac_t""no" 1>&6 |
4872 X_LIBS="$X_LIBS -R$x_libraries" | 4692 X_LIBS="$X_LIBS -R$x_libraries" |
4873 else | 4693 else |
4874 LIBS="$ac_xsave_LIBS -R $x_libraries" | 4694 LIBS="$ac_xsave_LIBS -R $x_libraries" |
4875 cat > conftest.$ac_ext <<EOF | 4695 cat > conftest.$ac_ext <<EOF |
4876 #line 4877 "configure" | 4696 #line 4697 "configure" |
4877 #include "confdefs.h" | 4697 #include "confdefs.h" |
4878 | 4698 |
4879 int main() { | 4699 int main() { |
4880 | 4700 |
4881 ; return 0; } | 4701 ; return 0; } |
4882 EOF | 4702 EOF |
4883 if { (eval echo configure:4884: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4703 if { (eval echo configure:4704: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
4884 rm -rf conftest* | 4704 rm -rf conftest* |
4885 ac_R_space=yes | 4705 ac_R_space=yes |
4886 else | 4706 else |
4887 echo "configure: failed program was:" >&5 | 4707 echo "configure: failed program was:" >&5 |
4888 cat conftest.$ac_ext >&5 | 4708 cat conftest.$ac_ext >&5 |
4914 if test "$with_dnet" = "no" ; then | 4734 if test "$with_dnet" = "no" ; then |
4915 ac_cv_lib_dnet_dnet_ntoa=no | 4735 ac_cv_lib_dnet_dnet_ntoa=no |
4916 else | 4736 else |
4917 | 4737 |
4918 echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6 | 4738 echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6 |
4919 echo "configure:4920: checking for dnet_ntoa in -ldnet" >&5 | 4739 echo "configure:4740: checking for dnet_ntoa in -ldnet" >&5 |
4920 ac_lib_var=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'` | 4740 ac_lib_var=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'` |
4921 | 4741 |
4922 xe_check_libs=" -ldnet " | 4742 xe_check_libs=" -ldnet " |
4923 cat > conftest.$ac_ext <<EOF | 4743 cat > conftest.$ac_ext <<EOF |
4924 #line 4925 "configure" | 4744 #line 4745 "configure" |
4925 #include "confdefs.h" | 4745 #include "confdefs.h" |
4926 /* Override any gcc2 internal prototype to avoid an error. */ | 4746 /* Override any gcc2 internal prototype to avoid an error. */ |
4927 /* We use char because int might match the return type of a gcc2 | 4747 /* We use char because int might match the return type of a gcc2 |
4928 builtin and then its argument prototype would still apply. */ | 4748 builtin and then its argument prototype would still apply. */ |
4929 char dnet_ntoa(); | 4749 char dnet_ntoa(); |
4930 | 4750 |
4931 int main() { | 4751 int main() { |
4932 dnet_ntoa() | 4752 dnet_ntoa() |
4933 ; return 0; } | 4753 ; return 0; } |
4934 EOF | 4754 EOF |
4935 if { (eval echo configure:4936: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4755 if { (eval echo configure:4756: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
4936 rm -rf conftest* | 4756 rm -rf conftest* |
4937 eval "ac_cv_lib_$ac_lib_var=yes" | 4757 eval "ac_cv_lib_$ac_lib_var=yes" |
4938 else | 4758 else |
4939 echo "configure: failed program was:" >&5 | 4759 echo "configure: failed program was:" >&5 |
4940 cat conftest.$ac_ext >&5 | 4760 cat conftest.$ac_ext >&5 |
4954 fi | 4774 fi |
4955 | 4775 |
4956 if test $ac_cv_lib_dnet_dnet_ntoa = no; then | 4776 if test $ac_cv_lib_dnet_dnet_ntoa = no; then |
4957 | 4777 |
4958 echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6 | 4778 echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6 |
4959 echo "configure:4960: checking for dnet_ntoa in -ldnet_stub" >&5 | 4779 echo "configure:4780: checking for dnet_ntoa in -ldnet_stub" >&5 |
4960 ac_lib_var=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'` | 4780 ac_lib_var=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'` |
4961 | 4781 |
4962 xe_check_libs=" -ldnet_stub " | 4782 xe_check_libs=" -ldnet_stub " |
4963 cat > conftest.$ac_ext <<EOF | 4783 cat > conftest.$ac_ext <<EOF |
4964 #line 4965 "configure" | 4784 #line 4785 "configure" |
4965 #include "confdefs.h" | 4785 #include "confdefs.h" |
4966 /* Override any gcc2 internal prototype to avoid an error. */ | 4786 /* Override any gcc2 internal prototype to avoid an error. */ |
4967 /* We use char because int might match the return type of a gcc2 | 4787 /* We use char because int might match the return type of a gcc2 |
4968 builtin and then its argument prototype would still apply. */ | 4788 builtin and then its argument prototype would still apply. */ |
4969 char dnet_ntoa(); | 4789 char dnet_ntoa(); |
4970 | 4790 |
4971 int main() { | 4791 int main() { |
4972 dnet_ntoa() | 4792 dnet_ntoa() |
4973 ; return 0; } | 4793 ; return 0; } |
4974 EOF | 4794 EOF |
4975 if { (eval echo configure:4976: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4795 if { (eval echo configure:4796: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
4976 rm -rf conftest* | 4796 rm -rf conftest* |
4977 eval "ac_cv_lib_$ac_lib_var=yes" | 4797 eval "ac_cv_lib_$ac_lib_var=yes" |
4978 else | 4798 else |
4979 echo "configure: failed program was:" >&5 | 4799 echo "configure: failed program was:" >&5 |
4980 cat conftest.$ac_ext >&5 | 4800 cat conftest.$ac_ext >&5 |
4999 # chad@anasazi.com says the Pyramis MIS-ES running DC/OSx (SVR4) | 4819 # chad@anasazi.com says the Pyramis MIS-ES running DC/OSx (SVR4) |
5000 # needs -lnsl. | 4820 # needs -lnsl. |
5001 # The nsl library prevents programs from opening the X display | 4821 # The nsl library prevents programs from opening the X display |
5002 # on Irix 5.2, according to dickey@clark.net. | 4822 # on Irix 5.2, according to dickey@clark.net. |
5003 echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6 | 4823 echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6 |
5004 echo "configure:5005: checking for gethostbyname" >&5 | 4824 echo "configure:4825: checking for gethostbyname" >&5 |
5005 | 4825 |
5006 cat > conftest.$ac_ext <<EOF | 4826 cat > conftest.$ac_ext <<EOF |
5007 #line 5008 "configure" | 4827 #line 4828 "configure" |
5008 #include "confdefs.h" | 4828 #include "confdefs.h" |
5009 /* System header to define __stub macros and hopefully few prototypes, | 4829 /* System header to define __stub macros and hopefully few prototypes, |
5010 which can conflict with char gethostbyname(); below. */ | 4830 which can conflict with char gethostbyname(); below. */ |
5011 #include <assert.h> | 4831 #include <assert.h> |
5012 /* Override any gcc2 internal prototype to avoid an error. */ | 4832 /* Override any gcc2 internal prototype to avoid an error. */ |
5025 gethostbyname(); | 4845 gethostbyname(); |
5026 #endif | 4846 #endif |
5027 | 4847 |
5028 ; return 0; } | 4848 ; return 0; } |
5029 EOF | 4849 EOF |
5030 if { (eval echo configure:5031: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4850 if { (eval echo configure:4851: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
5031 rm -rf conftest* | 4851 rm -rf conftest* |
5032 eval "ac_cv_func_gethostbyname=yes" | 4852 eval "ac_cv_func_gethostbyname=yes" |
5033 else | 4853 else |
5034 echo "configure: failed program was:" >&5 | 4854 echo "configure: failed program was:" >&5 |
5035 cat conftest.$ac_ext >&5 | 4855 cat conftest.$ac_ext >&5 |
5046 fi | 4866 fi |
5047 | 4867 |
5048 if test $ac_cv_func_gethostbyname = no; then | 4868 if test $ac_cv_func_gethostbyname = no; then |
5049 | 4869 |
5050 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6 | 4870 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6 |
5051 echo "configure:5052: checking for gethostbyname in -lnsl" >&5 | 4871 echo "configure:4872: checking for gethostbyname in -lnsl" >&5 |
5052 ac_lib_var=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'` | 4872 ac_lib_var=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'` |
5053 | 4873 |
5054 xe_check_libs=" -lnsl " | 4874 xe_check_libs=" -lnsl " |
5055 cat > conftest.$ac_ext <<EOF | 4875 cat > conftest.$ac_ext <<EOF |
5056 #line 5057 "configure" | 4876 #line 4877 "configure" |
5057 #include "confdefs.h" | 4877 #include "confdefs.h" |
5058 /* Override any gcc2 internal prototype to avoid an error. */ | 4878 /* Override any gcc2 internal prototype to avoid an error. */ |
5059 /* We use char because int might match the return type of a gcc2 | 4879 /* We use char because int might match the return type of a gcc2 |
5060 builtin and then its argument prototype would still apply. */ | 4880 builtin and then its argument prototype would still apply. */ |
5061 char gethostbyname(); | 4881 char gethostbyname(); |
5062 | 4882 |
5063 int main() { | 4883 int main() { |
5064 gethostbyname() | 4884 gethostbyname() |
5065 ; return 0; } | 4885 ; return 0; } |
5066 EOF | 4886 EOF |
5067 if { (eval echo configure:5068: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4887 if { (eval echo configure:4888: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
5068 rm -rf conftest* | 4888 rm -rf conftest* |
5069 eval "ac_cv_lib_$ac_lib_var=yes" | 4889 eval "ac_cv_lib_$ac_lib_var=yes" |
5070 else | 4890 else |
5071 echo "configure: failed program was:" >&5 | 4891 echo "configure: failed program was:" >&5 |
5072 cat conftest.$ac_ext >&5 | 4892 cat conftest.$ac_ext >&5 |
5092 # on later versions), says simon@lia.di.epfl.ch: it contains | 4912 # on later versions), says simon@lia.di.epfl.ch: it contains |
5093 # gethostby* variants that don't use the nameserver (or something). | 4913 # gethostby* variants that don't use the nameserver (or something). |
5094 # -lsocket must be given before -lnsl if both are needed. | 4914 # -lsocket must be given before -lnsl if both are needed. |
5095 # We assume that if connect needs -lnsl, so does gethostbyname. | 4915 # We assume that if connect needs -lnsl, so does gethostbyname. |
5096 echo $ac_n "checking for connect""... $ac_c" 1>&6 | 4916 echo $ac_n "checking for connect""... $ac_c" 1>&6 |
5097 echo "configure:5098: checking for connect" >&5 | 4917 echo "configure:4918: checking for connect" >&5 |
5098 | 4918 |
5099 cat > conftest.$ac_ext <<EOF | 4919 cat > conftest.$ac_ext <<EOF |
5100 #line 5101 "configure" | 4920 #line 4921 "configure" |
5101 #include "confdefs.h" | 4921 #include "confdefs.h" |
5102 /* System header to define __stub macros and hopefully few prototypes, | 4922 /* System header to define __stub macros and hopefully few prototypes, |
5103 which can conflict with char connect(); below. */ | 4923 which can conflict with char connect(); below. */ |
5104 #include <assert.h> | 4924 #include <assert.h> |
5105 /* Override any gcc2 internal prototype to avoid an error. */ | 4925 /* Override any gcc2 internal prototype to avoid an error. */ |
5118 connect(); | 4938 connect(); |
5119 #endif | 4939 #endif |
5120 | 4940 |
5121 ; return 0; } | 4941 ; return 0; } |
5122 EOF | 4942 EOF |
5123 if { (eval echo configure:5124: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4943 if { (eval echo configure:4944: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
5124 rm -rf conftest* | 4944 rm -rf conftest* |
5125 eval "ac_cv_func_connect=yes" | 4945 eval "ac_cv_func_connect=yes" |
5126 else | 4946 else |
5127 echo "configure: failed program was:" >&5 | 4947 echo "configure: failed program was:" >&5 |
5128 cat conftest.$ac_ext >&5 | 4948 cat conftest.$ac_ext >&5 |
5141 if test $ac_cv_func_connect = no; then | 4961 if test $ac_cv_func_connect = no; then |
5142 | 4962 |
5143 xe_msg_checking="for connect in -lsocket" | 4963 xe_msg_checking="for connect in -lsocket" |
5144 test -n "$X_EXTRA_LIBS" && xe_msg_checking="$xe_msg_checking using extra libs $X_EXTRA_LIBS" | 4964 test -n "$X_EXTRA_LIBS" && xe_msg_checking="$xe_msg_checking using extra libs $X_EXTRA_LIBS" |
5145 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 4965 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
5146 echo "configure:5147: checking "$xe_msg_checking"" >&5 | 4966 echo "configure:4967: checking "$xe_msg_checking"" >&5 |
5147 ac_lib_var=`echo socket'_'connect | sed 'y%./+-%__p_%'` | 4967 ac_lib_var=`echo socket'_'connect | sed 'y%./+-%__p_%'` |
5148 | 4968 |
5149 xe_check_libs=" -lsocket $X_EXTRA_LIBS" | 4969 xe_check_libs=" -lsocket $X_EXTRA_LIBS" |
5150 cat > conftest.$ac_ext <<EOF | 4970 cat > conftest.$ac_ext <<EOF |
5151 #line 5152 "configure" | 4971 #line 4972 "configure" |
5152 #include "confdefs.h" | 4972 #include "confdefs.h" |
5153 /* Override any gcc2 internal prototype to avoid an error. */ | 4973 /* Override any gcc2 internal prototype to avoid an error. */ |
5154 /* We use char because int might match the return type of a gcc2 | 4974 /* We use char because int might match the return type of a gcc2 |
5155 builtin and then its argument prototype would still apply. */ | 4975 builtin and then its argument prototype would still apply. */ |
5156 char connect(); | 4976 char connect(); |
5157 | 4977 |
5158 int main() { | 4978 int main() { |
5159 connect() | 4979 connect() |
5160 ; return 0; } | 4980 ; return 0; } |
5161 EOF | 4981 EOF |
5162 if { (eval echo configure:5163: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4982 if { (eval echo configure:4983: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
5163 rm -rf conftest* | 4983 rm -rf conftest* |
5164 eval "ac_cv_lib_$ac_lib_var=yes" | 4984 eval "ac_cv_lib_$ac_lib_var=yes" |
5165 else | 4985 else |
5166 echo "configure: failed program was:" >&5 | 4986 echo "configure: failed program was:" >&5 |
5167 cat conftest.$ac_ext >&5 | 4987 cat conftest.$ac_ext >&5 |
5181 | 5001 |
5182 fi | 5002 fi |
5183 | 5003 |
5184 # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX. | 5004 # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX. |
5185 echo $ac_n "checking for remove""... $ac_c" 1>&6 | 5005 echo $ac_n "checking for remove""... $ac_c" 1>&6 |
5186 echo "configure:5187: checking for remove" >&5 | 5006 echo "configure:5007: checking for remove" >&5 |
5187 | 5007 |
5188 cat > conftest.$ac_ext <<EOF | 5008 cat > conftest.$ac_ext <<EOF |
5189 #line 5190 "configure" | 5009 #line 5010 "configure" |
5190 #include "confdefs.h" | 5010 #include "confdefs.h" |
5191 /* System header to define __stub macros and hopefully few prototypes, | 5011 /* System header to define __stub macros and hopefully few prototypes, |
5192 which can conflict with char remove(); below. */ | 5012 which can conflict with char remove(); below. */ |
5193 #include <assert.h> | 5013 #include <assert.h> |
5194 /* Override any gcc2 internal prototype to avoid an error. */ | 5014 /* Override any gcc2 internal prototype to avoid an error. */ |
5207 remove(); | 5027 remove(); |
5208 #endif | 5028 #endif |
5209 | 5029 |
5210 ; return 0; } | 5030 ; return 0; } |
5211 EOF | 5031 EOF |
5212 if { (eval echo configure:5213: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5032 if { (eval echo configure:5033: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
5213 rm -rf conftest* | 5033 rm -rf conftest* |
5214 eval "ac_cv_func_remove=yes" | 5034 eval "ac_cv_func_remove=yes" |
5215 else | 5035 else |
5216 echo "configure: failed program was:" >&5 | 5036 echo "configure: failed program was:" >&5 |
5217 cat conftest.$ac_ext >&5 | 5037 cat conftest.$ac_ext >&5 |
5228 fi | 5048 fi |
5229 | 5049 |
5230 if test $ac_cv_func_remove = no; then | 5050 if test $ac_cv_func_remove = no; then |
5231 | 5051 |
5232 echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6 | 5052 echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6 |
5233 echo "configure:5234: checking for remove in -lposix" >&5 | 5053 echo "configure:5054: checking for remove in -lposix" >&5 |
5234 ac_lib_var=`echo posix'_'remove | sed 'y%./+-%__p_%'` | 5054 ac_lib_var=`echo posix'_'remove | sed 'y%./+-%__p_%'` |
5235 | 5055 |
5236 xe_check_libs=" -lposix " | 5056 xe_check_libs=" -lposix " |
5237 cat > conftest.$ac_ext <<EOF | 5057 cat > conftest.$ac_ext <<EOF |
5238 #line 5239 "configure" | 5058 #line 5059 "configure" |
5239 #include "confdefs.h" | 5059 #include "confdefs.h" |
5240 /* Override any gcc2 internal prototype to avoid an error. */ | 5060 /* Override any gcc2 internal prototype to avoid an error. */ |
5241 /* We use char because int might match the return type of a gcc2 | 5061 /* We use char because int might match the return type of a gcc2 |
5242 builtin and then its argument prototype would still apply. */ | 5062 builtin and then its argument prototype would still apply. */ |
5243 char remove(); | 5063 char remove(); |
5244 | 5064 |
5245 int main() { | 5065 int main() { |
5246 remove() | 5066 remove() |
5247 ; return 0; } | 5067 ; return 0; } |
5248 EOF | 5068 EOF |
5249 if { (eval echo configure:5250: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5069 if { (eval echo configure:5070: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
5250 rm -rf conftest* | 5070 rm -rf conftest* |
5251 eval "ac_cv_lib_$ac_lib_var=yes" | 5071 eval "ac_cv_lib_$ac_lib_var=yes" |
5252 else | 5072 else |
5253 echo "configure: failed program was:" >&5 | 5073 echo "configure: failed program was:" >&5 |
5254 cat conftest.$ac_ext >&5 | 5074 cat conftest.$ac_ext >&5 |
5268 | 5088 |
5269 fi | 5089 fi |
5270 | 5090 |
5271 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay. | 5091 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay. |
5272 echo $ac_n "checking for shmat""... $ac_c" 1>&6 | 5092 echo $ac_n "checking for shmat""... $ac_c" 1>&6 |
5273 echo "configure:5274: checking for shmat" >&5 | 5093 echo "configure:5094: checking for shmat" >&5 |
5274 | 5094 |
5275 cat > conftest.$ac_ext <<EOF | 5095 cat > conftest.$ac_ext <<EOF |
5276 #line 5277 "configure" | 5096 #line 5097 "configure" |
5277 #include "confdefs.h" | 5097 #include "confdefs.h" |
5278 /* System header to define __stub macros and hopefully few prototypes, | 5098 /* System header to define __stub macros and hopefully few prototypes, |
5279 which can conflict with char shmat(); below. */ | 5099 which can conflict with char shmat(); below. */ |
5280 #include <assert.h> | 5100 #include <assert.h> |
5281 /* Override any gcc2 internal prototype to avoid an error. */ | 5101 /* Override any gcc2 internal prototype to avoid an error. */ |
5294 shmat(); | 5114 shmat(); |
5295 #endif | 5115 #endif |
5296 | 5116 |
5297 ; return 0; } | 5117 ; return 0; } |
5298 EOF | 5118 EOF |
5299 if { (eval echo configure:5300: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5119 if { (eval echo configure:5120: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
5300 rm -rf conftest* | 5120 rm -rf conftest* |
5301 eval "ac_cv_func_shmat=yes" | 5121 eval "ac_cv_func_shmat=yes" |
5302 else | 5122 else |
5303 echo "configure: failed program was:" >&5 | 5123 echo "configure: failed program was:" >&5 |
5304 cat conftest.$ac_ext >&5 | 5124 cat conftest.$ac_ext >&5 |
5315 fi | 5135 fi |
5316 | 5136 |
5317 if test $ac_cv_func_shmat = no; then | 5137 if test $ac_cv_func_shmat = no; then |
5318 | 5138 |
5319 echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6 | 5139 echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6 |
5320 echo "configure:5321: checking for shmat in -lipc" >&5 | 5140 echo "configure:5141: checking for shmat in -lipc" >&5 |
5321 ac_lib_var=`echo ipc'_'shmat | sed 'y%./+-%__p_%'` | 5141 ac_lib_var=`echo ipc'_'shmat | sed 'y%./+-%__p_%'` |
5322 | 5142 |
5323 xe_check_libs=" -lipc " | 5143 xe_check_libs=" -lipc " |
5324 cat > conftest.$ac_ext <<EOF | 5144 cat > conftest.$ac_ext <<EOF |
5325 #line 5326 "configure" | 5145 #line 5146 "configure" |
5326 #include "confdefs.h" | 5146 #include "confdefs.h" |
5327 /* Override any gcc2 internal prototype to avoid an error. */ | 5147 /* Override any gcc2 internal prototype to avoid an error. */ |
5328 /* We use char because int might match the return type of a gcc2 | 5148 /* We use char because int might match the return type of a gcc2 |
5329 builtin and then its argument prototype would still apply. */ | 5149 builtin and then its argument prototype would still apply. */ |
5330 char shmat(); | 5150 char shmat(); |
5331 | 5151 |
5332 int main() { | 5152 int main() { |
5333 shmat() | 5153 shmat() |
5334 ; return 0; } | 5154 ; return 0; } |
5335 EOF | 5155 EOF |
5336 if { (eval echo configure:5337: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5156 if { (eval echo configure:5157: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
5337 rm -rf conftest* | 5157 rm -rf conftest* |
5338 eval "ac_cv_lib_$ac_lib_var=yes" | 5158 eval "ac_cv_lib_$ac_lib_var=yes" |
5339 else | 5159 else |
5340 echo "configure: failed program was:" >&5 | 5160 echo "configure: failed program was:" >&5 |
5341 cat conftest.$ac_ext >&5 | 5161 cat conftest.$ac_ext >&5 |
5364 # we get undefined symbols. So assume we have SM if we have ICE. | 5184 # we get undefined symbols. So assume we have SM if we have ICE. |
5365 # These have to be linked with before -lX11, unlike the other | 5185 # These have to be linked with before -lX11, unlike the other |
5366 # libraries we check for below, so use a different variable. | 5186 # libraries we check for below, so use a different variable. |
5367 # --interran@uluru.Stanford.EDU, kb@cs.umb.edu. | 5187 # --interran@uluru.Stanford.EDU, kb@cs.umb.edu. |
5368 | 5188 |
5369 xe_msg_checking="for IceConnectionNumber in -lICE" | 5189 echo $ac_n "checking for IceConnectionNumber in -lICE""... $ac_c" 1>&6 |
5370 test -n "$X_EXTRA_LIBS" && xe_msg_checking="$xe_msg_checking using extra libs $X_EXTRA_LIBS" | 5190 echo "configure:5191: checking for IceConnectionNumber in -lICE" >&5 |
5371 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | |
5372 echo "configure:5373: checking "$xe_msg_checking"" >&5 | |
5373 ac_lib_var=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'` | 5191 ac_lib_var=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'` |
5374 | 5192 |
5375 xe_check_libs=" -lICE $X_EXTRA_LIBS" | 5193 xe_check_libs=" -lICE " |
5376 cat > conftest.$ac_ext <<EOF | 5194 cat > conftest.$ac_ext <<EOF |
5377 #line 5378 "configure" | 5195 #line 5196 "configure" |
5378 #include "confdefs.h" | 5196 #include "confdefs.h" |
5379 /* Override any gcc2 internal prototype to avoid an error. */ | 5197 /* Override any gcc2 internal prototype to avoid an error. */ |
5380 /* We use char because int might match the return type of a gcc2 | 5198 /* We use char because int might match the return type of a gcc2 |
5381 builtin and then its argument prototype would still apply. */ | 5199 builtin and then its argument prototype would still apply. */ |
5382 char IceConnectionNumber(); | 5200 char IceConnectionNumber(); |
5383 | 5201 |
5384 int main() { | 5202 int main() { |
5385 IceConnectionNumber() | 5203 IceConnectionNumber() |
5386 ; return 0; } | 5204 ; return 0; } |
5387 EOF | 5205 EOF |
5388 if { (eval echo configure:5389: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5206 if { (eval echo configure:5207: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
5389 rm -rf conftest* | 5207 rm -rf conftest* |
5390 eval "ac_cv_lib_$ac_lib_var=yes" | 5208 eval "ac_cv_lib_$ac_lib_var=yes" |
5391 else | 5209 else |
5392 echo "configure: failed program was:" >&5 | 5210 echo "configure: failed program was:" >&5 |
5393 cat conftest.$ac_ext >&5 | 5211 cat conftest.$ac_ext >&5 |
5552 EOF | 5370 EOF |
5553 } | 5371 } |
5554 | 5372 |
5555 | 5373 |
5556 echo "checking for X defines extracted by xmkmf" 1>&6 | 5374 echo "checking for X defines extracted by xmkmf" 1>&6 |
5557 echo "configure:5558: checking for X defines extracted by xmkmf" >&5 | 5375 echo "configure:5376: checking for X defines extracted by xmkmf" >&5 |
5558 rm -fr conftestdir | 5376 rm -fr conftestdir |
5559 if mkdir conftestdir; then | 5377 if mkdir conftestdir; then |
5560 cd conftestdir | 5378 cd conftestdir |
5561 cat > Imakefile <<'EOF' | 5379 cat > Imakefile <<'EOF' |
5562 xetest: | 5380 xetest: |
5584 done | 5402 done |
5585 fi | 5403 fi |
5586 | 5404 |
5587 ac_safe=`echo "X11/Intrinsic.h" | sed 'y%./+-%__p_%'` | 5405 ac_safe=`echo "X11/Intrinsic.h" | sed 'y%./+-%__p_%'` |
5588 echo $ac_n "checking for X11/Intrinsic.h""... $ac_c" 1>&6 | 5406 echo $ac_n "checking for X11/Intrinsic.h""... $ac_c" 1>&6 |
5589 echo "configure:5590: checking for X11/Intrinsic.h" >&5 | 5407 echo "configure:5408: checking for X11/Intrinsic.h" >&5 |
5590 | 5408 |
5591 cat > conftest.$ac_ext <<EOF | 5409 cat > conftest.$ac_ext <<EOF |
5592 #line 5593 "configure" | 5410 #line 5411 "configure" |
5593 #include "confdefs.h" | 5411 #include "confdefs.h" |
5594 #include <X11/Intrinsic.h> | 5412 #include <X11/Intrinsic.h> |
5595 EOF | 5413 EOF |
5596 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 5414 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
5597 { (eval echo configure:5598: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 5415 { (eval echo configure:5416: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
5598 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 5416 ac_err=`grep -v '^ *+' conftest.out` |
5599 if test -z "$ac_err"; then | 5417 if test -z "$ac_err"; then |
5600 rm -rf conftest* | 5418 rm -rf conftest* |
5601 eval "ac_cv_header_$ac_safe=yes" | 5419 eval "ac_cv_header_$ac_safe=yes" |
5602 else | 5420 else |
5603 echo "$ac_err" >&5 | 5421 echo "$ac_err" >&5 |
5616 fi | 5434 fi |
5617 | 5435 |
5618 | 5436 |
5619 | 5437 |
5620 echo $ac_n "checking for XOpenDisplay in -lX11""... $ac_c" 1>&6 | 5438 echo $ac_n "checking for XOpenDisplay in -lX11""... $ac_c" 1>&6 |
5621 echo "configure:5622: checking for XOpenDisplay in -lX11" >&5 | 5439 echo "configure:5440: checking for XOpenDisplay in -lX11" >&5 |
5622 ac_lib_var=`echo X11'_'XOpenDisplay | sed 'y%./+-%__p_%'` | 5440 ac_lib_var=`echo X11'_'XOpenDisplay | sed 'y%./+-%__p_%'` |
5623 | 5441 |
5624 xe_check_libs=" -lX11 " | 5442 xe_check_libs=" -lX11 " |
5625 cat > conftest.$ac_ext <<EOF | 5443 cat > conftest.$ac_ext <<EOF |
5626 #line 5627 "configure" | 5444 #line 5445 "configure" |
5627 #include "confdefs.h" | 5445 #include "confdefs.h" |
5628 /* Override any gcc2 internal prototype to avoid an error. */ | 5446 /* Override any gcc2 internal prototype to avoid an error. */ |
5629 /* We use char because int might match the return type of a gcc2 | 5447 /* We use char because int might match the return type of a gcc2 |
5630 builtin and then its argument prototype would still apply. */ | 5448 builtin and then its argument prototype would still apply. */ |
5631 char XOpenDisplay(); | 5449 char XOpenDisplay(); |
5632 | 5450 |
5633 int main() { | 5451 int main() { |
5634 XOpenDisplay() | 5452 XOpenDisplay() |
5635 ; return 0; } | 5453 ; return 0; } |
5636 EOF | 5454 EOF |
5637 if { (eval echo configure:5638: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5455 if { (eval echo configure:5456: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
5638 rm -rf conftest* | 5456 rm -rf conftest* |
5639 eval "ac_cv_lib_$ac_lib_var=yes" | 5457 eval "ac_cv_lib_$ac_lib_var=yes" |
5640 else | 5458 else |
5641 echo "configure: failed program was:" >&5 | 5459 echo "configure: failed program was:" >&5 |
5642 cat conftest.$ac_ext >&5 | 5460 cat conftest.$ac_ext >&5 |
5657 if test "$have_lib_x11" != "yes"; then | 5475 if test "$have_lib_x11" != "yes"; then |
5658 | 5476 |
5659 xe_msg_checking="for XGetFontProperty in -lX11" | 5477 xe_msg_checking="for XGetFontProperty in -lX11" |
5660 test -n "-b i486-linuxaout" && xe_msg_checking="$xe_msg_checking using extra libs -b i486-linuxaout" | 5478 test -n "-b i486-linuxaout" && xe_msg_checking="$xe_msg_checking using extra libs -b i486-linuxaout" |
5661 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 5479 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
5662 echo "configure:5663: checking "$xe_msg_checking"" >&5 | 5480 echo "configure:5481: checking "$xe_msg_checking"" >&5 |
5663 ac_lib_var=`echo X11'_'XGetFontProperty | sed 'y%./+-%__p_%'` | 5481 ac_lib_var=`echo X11'_'XGetFontProperty | sed 'y%./+-%__p_%'` |
5664 | 5482 |
5665 xe_check_libs=" -lX11 -b i486-linuxaout" | 5483 xe_check_libs=" -lX11 -b i486-linuxaout" |
5666 cat > conftest.$ac_ext <<EOF | 5484 cat > conftest.$ac_ext <<EOF |
5667 #line 5668 "configure" | 5485 #line 5486 "configure" |
5668 #include "confdefs.h" | 5486 #include "confdefs.h" |
5669 /* Override any gcc2 internal prototype to avoid an error. */ | 5487 /* Override any gcc2 internal prototype to avoid an error. */ |
5670 /* We use char because int might match the return type of a gcc2 | 5488 /* We use char because int might match the return type of a gcc2 |
5671 builtin and then its argument prototype would still apply. */ | 5489 builtin and then its argument prototype would still apply. */ |
5672 char XGetFontProperty(); | 5490 char XGetFontProperty(); |
5673 | 5491 |
5674 int main() { | 5492 int main() { |
5675 XGetFontProperty() | 5493 XGetFontProperty() |
5676 ; return 0; } | 5494 ; return 0; } |
5677 EOF | 5495 EOF |
5678 if { (eval echo configure:5679: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5496 if { (eval echo configure:5497: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
5679 rm -rf conftest* | 5497 rm -rf conftest* |
5680 eval "ac_cv_lib_$ac_lib_var=yes" | 5498 eval "ac_cv_lib_$ac_lib_var=yes" |
5681 else | 5499 else |
5682 echo "configure: failed program was:" >&5 | 5500 echo "configure: failed program was:" >&5 |
5683 cat conftest.$ac_ext >&5 | 5501 cat conftest.$ac_ext >&5 |
5700 libs_x="-lX11" | 5518 libs_x="-lX11" |
5701 test "$extra_verbose" = "yes" && echo " Setting libs_x to \"-lX11\"" | 5519 test "$extra_verbose" = "yes" && echo " Setting libs_x to \"-lX11\"" |
5702 | 5520 |
5703 | 5521 |
5704 echo $ac_n "checking for XShapeSelectInput in -lXext""... $ac_c" 1>&6 | 5522 echo $ac_n "checking for XShapeSelectInput in -lXext""... $ac_c" 1>&6 |
5705 echo "configure:5706: checking for XShapeSelectInput in -lXext" >&5 | 5523 echo "configure:5524: checking for XShapeSelectInput in -lXext" >&5 |
5706 ac_lib_var=`echo Xext'_'XShapeSelectInput | sed 'y%./+-%__p_%'` | 5524 ac_lib_var=`echo Xext'_'XShapeSelectInput | sed 'y%./+-%__p_%'` |
5707 | 5525 |
5708 xe_check_libs=" -lXext " | 5526 xe_check_libs=" -lXext " |
5709 cat > conftest.$ac_ext <<EOF | 5527 cat > conftest.$ac_ext <<EOF |
5710 #line 5711 "configure" | 5528 #line 5529 "configure" |
5711 #include "confdefs.h" | 5529 #include "confdefs.h" |
5712 /* Override any gcc2 internal prototype to avoid an error. */ | 5530 /* Override any gcc2 internal prototype to avoid an error. */ |
5713 /* We use char because int might match the return type of a gcc2 | 5531 /* We use char because int might match the return type of a gcc2 |
5714 builtin and then its argument prototype would still apply. */ | 5532 builtin and then its argument prototype would still apply. */ |
5715 char XShapeSelectInput(); | 5533 char XShapeSelectInput(); |
5716 | 5534 |
5717 int main() { | 5535 int main() { |
5718 XShapeSelectInput() | 5536 XShapeSelectInput() |
5719 ; return 0; } | 5537 ; return 0; } |
5720 EOF | 5538 EOF |
5721 if { (eval echo configure:5722: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5539 if { (eval echo configure:5540: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
5722 rm -rf conftest* | 5540 rm -rf conftest* |
5723 eval "ac_cv_lib_$ac_lib_var=yes" | 5541 eval "ac_cv_lib_$ac_lib_var=yes" |
5724 else | 5542 else |
5725 echo "configure: failed program was:" >&5 | 5543 echo "configure: failed program was:" >&5 |
5726 cat conftest.$ac_ext >&5 | 5544 cat conftest.$ac_ext >&5 |
5739 | 5557 |
5740 | 5558 |
5741 | 5559 |
5742 | 5560 |
5743 echo $ac_n "checking for XtOpenDisplay in -lXt""... $ac_c" 1>&6 | 5561 echo $ac_n "checking for XtOpenDisplay in -lXt""... $ac_c" 1>&6 |
5744 echo "configure:5745: checking for XtOpenDisplay in -lXt" >&5 | 5562 echo "configure:5563: checking for XtOpenDisplay in -lXt" >&5 |
5745 ac_lib_var=`echo Xt'_'XtOpenDisplay | sed 'y%./+-%__p_%'` | 5563 ac_lib_var=`echo Xt'_'XtOpenDisplay | sed 'y%./+-%__p_%'` |
5746 | 5564 |
5747 xe_check_libs=" -lXt " | 5565 xe_check_libs=" -lXt " |
5748 cat > conftest.$ac_ext <<EOF | 5566 cat > conftest.$ac_ext <<EOF |
5749 #line 5750 "configure" | 5567 #line 5568 "configure" |
5750 #include "confdefs.h" | 5568 #include "confdefs.h" |
5751 /* Override any gcc2 internal prototype to avoid an error. */ | 5569 /* Override any gcc2 internal prototype to avoid an error. */ |
5752 /* We use char because int might match the return type of a gcc2 | 5570 /* We use char because int might match the return type of a gcc2 |
5753 builtin and then its argument prototype would still apply. */ | 5571 builtin and then its argument prototype would still apply. */ |
5754 char XtOpenDisplay(); | 5572 char XtOpenDisplay(); |
5755 | 5573 |
5756 int main() { | 5574 int main() { |
5757 XtOpenDisplay() | 5575 XtOpenDisplay() |
5758 ; return 0; } | 5576 ; return 0; } |
5759 EOF | 5577 EOF |
5760 if { (eval echo configure:5761: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5578 if { (eval echo configure:5579: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
5761 rm -rf conftest* | 5579 rm -rf conftest* |
5762 eval "ac_cv_lib_$ac_lib_var=yes" | 5580 eval "ac_cv_lib_$ac_lib_var=yes" |
5763 else | 5581 else |
5764 echo "configure: failed program was:" >&5 | 5582 echo "configure: failed program was:" >&5 |
5765 cat conftest.$ac_ext >&5 | 5583 cat conftest.$ac_ext >&5 |
5778 fi | 5596 fi |
5779 | 5597 |
5780 | 5598 |
5781 | 5599 |
5782 echo $ac_n "checking the version of X11 being used""... $ac_c" 1>&6 | 5600 echo $ac_n "checking the version of X11 being used""... $ac_c" 1>&6 |
5783 echo "configure:5784: checking the version of X11 being used" >&5 | 5601 echo "configure:5602: checking the version of X11 being used" >&5 |
5784 cat > conftest.$ac_ext <<EOF | 5602 cat > conftest.$ac_ext <<EOF |
5785 #line 5786 "configure" | 5603 #line 5604 "configure" |
5786 #include "confdefs.h" | 5604 #include "confdefs.h" |
5787 #include <X11/Intrinsic.h> | 5605 #include <X11/Intrinsic.h> |
5788 int main(int c, char *v[]) { return c>1 ? XlibSpecificationRelease : 0; } | 5606 int main(int c, char *v[]) { return c>1 ? XlibSpecificationRelease : 0; } |
5789 EOF | 5607 EOF |
5790 if { (eval echo configure:5791: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 5608 if { (eval echo configure:5609: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
5791 then | 5609 then |
5792 ./conftest foobar; x11_release=$? | 5610 ./conftest foobar; x11_release=$? |
5793 else | 5611 else |
5794 conftest_rc="$?" | 5612 conftest_rc="$?" |
5795 echo "configure: failed program was:" >&5 | 5613 echo "configure: failed program was:" >&5 |
5810 | 5628 |
5811 for ac_hdr in X11/Xlocale.h | 5629 for ac_hdr in X11/Xlocale.h |
5812 do | 5630 do |
5813 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 5631 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
5814 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 5632 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
5815 echo "configure:5816: checking for $ac_hdr" >&5 | 5633 echo "configure:5634: checking for $ac_hdr" >&5 |
5816 | 5634 |
5817 cat > conftest.$ac_ext <<EOF | 5635 cat > conftest.$ac_ext <<EOF |
5818 #line 5819 "configure" | 5636 #line 5637 "configure" |
5819 #include "confdefs.h" | 5637 #include "confdefs.h" |
5820 #include <$ac_hdr> | 5638 #include <$ac_hdr> |
5821 EOF | 5639 EOF |
5822 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 5640 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
5823 { (eval echo configure:5824: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 5641 { (eval echo configure:5642: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
5824 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 5642 ac_err=`grep -v '^ *+' conftest.out` |
5825 if test -z "$ac_err"; then | 5643 if test -z "$ac_err"; then |
5826 rm -rf conftest* | 5644 rm -rf conftest* |
5827 eval "ac_cv_header_$ac_safe=yes" | 5645 eval "ac_cv_header_$ac_safe=yes" |
5828 else | 5646 else |
5829 echo "$ac_err" >&5 | 5647 echo "$ac_err" >&5 |
5849 fi | 5667 fi |
5850 done | 5668 done |
5851 | 5669 |
5852 | 5670 |
5853 echo $ac_n "checking for XFree86""... $ac_c" 1>&6 | 5671 echo $ac_n "checking for XFree86""... $ac_c" 1>&6 |
5854 echo "configure:5855: checking for XFree86" >&5 | 5672 echo "configure:5673: checking for XFree86" >&5 |
5855 if test -d "/usr/X386/include" -o \ | 5673 if test -d "/usr/X386/include" -o \ |
5856 -f "/etc/XF86Config" -o \ | 5674 -f "/etc/XF86Config" -o \ |
5857 -f "/etc/X11/XF86Config" -o \ | 5675 -f "/etc/X11/XF86Config" -o \ |
5858 -f "/usr/X11R6/lib/X11/XF86Config"; then | 5676 -f "/usr/X11R6/lib/X11/XF86Config"; then |
5859 echo "$ac_t""yes" 1>&6 | 5677 echo "$ac_t""yes" 1>&6 |
5869 echo "$ac_t""no" 1>&6 | 5687 echo "$ac_t""no" 1>&6 |
5870 fi | 5688 fi |
5871 | 5689 |
5872 test -z "$with_xmu" && { | 5690 test -z "$with_xmu" && { |
5873 echo $ac_n "checking for XmuReadBitmapDataFromFile in -lXmu""... $ac_c" 1>&6 | 5691 echo $ac_n "checking for XmuReadBitmapDataFromFile in -lXmu""... $ac_c" 1>&6 |
5874 echo "configure:5875: checking for XmuReadBitmapDataFromFile in -lXmu" >&5 | 5692 echo "configure:5693: checking for XmuReadBitmapDataFromFile in -lXmu" >&5 |
5875 ac_lib_var=`echo Xmu'_'XmuReadBitmapDataFromFile | sed 'y%./+-%__p_%'` | 5693 ac_lib_var=`echo Xmu'_'XmuReadBitmapDataFromFile | sed 'y%./+-%__p_%'` |
5876 | 5694 |
5877 xe_check_libs=" -lXmu " | 5695 xe_check_libs=" -lXmu " |
5878 cat > conftest.$ac_ext <<EOF | 5696 cat > conftest.$ac_ext <<EOF |
5879 #line 5880 "configure" | 5697 #line 5698 "configure" |
5880 #include "confdefs.h" | 5698 #include "confdefs.h" |
5881 /* Override any gcc2 internal prototype to avoid an error. */ | 5699 /* Override any gcc2 internal prototype to avoid an error. */ |
5882 /* We use char because int might match the return type of a gcc2 | 5700 /* We use char because int might match the return type of a gcc2 |
5883 builtin and then its argument prototype would still apply. */ | 5701 builtin and then its argument prototype would still apply. */ |
5884 char XmuReadBitmapDataFromFile(); | 5702 char XmuReadBitmapDataFromFile(); |
5885 | 5703 |
5886 int main() { | 5704 int main() { |
5887 XmuReadBitmapDataFromFile() | 5705 XmuReadBitmapDataFromFile() |
5888 ; return 0; } | 5706 ; return 0; } |
5889 EOF | 5707 EOF |
5890 if { (eval echo configure:5891: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5708 if { (eval echo configure:5709: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
5891 rm -rf conftest* | 5709 rm -rf conftest* |
5892 eval "ac_cv_lib_$ac_lib_var=yes" | 5710 eval "ac_cv_lib_$ac_lib_var=yes" |
5893 else | 5711 else |
5894 echo "configure: failed program was:" >&5 | 5712 echo "configure: failed program was:" >&5 |
5895 cat conftest.$ac_ext >&5 | 5713 cat conftest.$ac_ext >&5 |
5924 | 5742 |
5925 fi | 5743 fi |
5926 | 5744 |
5927 | 5745 |
5928 echo $ac_n "checking for main in -lXbsd""... $ac_c" 1>&6 | 5746 echo $ac_n "checking for main in -lXbsd""... $ac_c" 1>&6 |
5929 echo "configure:5930: checking for main in -lXbsd" >&5 | 5747 echo "configure:5748: checking for main in -lXbsd" >&5 |
5930 ac_lib_var=`echo Xbsd'_'main | sed 'y%./+-%__p_%'` | 5748 ac_lib_var=`echo Xbsd'_'main | sed 'y%./+-%__p_%'` |
5931 | 5749 |
5932 xe_check_libs=" -lXbsd " | 5750 xe_check_libs=" -lXbsd " |
5933 cat > conftest.$ac_ext <<EOF | 5751 cat > conftest.$ac_ext <<EOF |
5934 #line 5935 "configure" | 5752 #line 5753 "configure" |
5935 #include "confdefs.h" | 5753 #include "confdefs.h" |
5936 | 5754 |
5937 int main() { | 5755 int main() { |
5938 main() | 5756 main() |
5939 ; return 0; } | 5757 ; return 0; } |
5940 EOF | 5758 EOF |
5941 if { (eval echo configure:5942: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5759 if { (eval echo configure:5760: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
5942 rm -rf conftest* | 5760 rm -rf conftest* |
5943 eval "ac_cv_lib_$ac_lib_var=yes" | 5761 eval "ac_cv_lib_$ac_lib_var=yes" |
5944 else | 5762 else |
5945 echo "configure: failed program was:" >&5 | 5763 echo "configure: failed program was:" >&5 |
5946 cat conftest.$ac_ext >&5 | 5764 cat conftest.$ac_ext >&5 |
5973 fi | 5791 fi |
5974 | 5792 |
5975 fi | 5793 fi |
5976 if test "$with_msw" != "no"; then | 5794 if test "$with_msw" != "no"; then |
5977 echo "checking for MS-Windows" 1>&6 | 5795 echo "checking for MS-Windows" 1>&6 |
5978 echo "configure:5979: checking for MS-Windows" >&5 | 5796 echo "configure:5797: checking for MS-Windows" >&5 |
5979 | 5797 |
5980 echo $ac_n "checking for main in -lgdi32""... $ac_c" 1>&6 | 5798 echo $ac_n "checking for main in -lgdi32""... $ac_c" 1>&6 |
5981 echo "configure:5982: checking for main in -lgdi32" >&5 | 5799 echo "configure:5800: checking for main in -lgdi32" >&5 |
5982 ac_lib_var=`echo gdi32'_'main | sed 'y%./+-%__p_%'` | 5800 ac_lib_var=`echo gdi32'_'main | sed 'y%./+-%__p_%'` |
5983 | 5801 |
5984 xe_check_libs=" -lgdi32 " | 5802 xe_check_libs=" -lgdi32 " |
5985 cat > conftest.$ac_ext <<EOF | 5803 cat > conftest.$ac_ext <<EOF |
5986 #line 5987 "configure" | 5804 #line 5805 "configure" |
5987 #include "confdefs.h" | 5805 #include "confdefs.h" |
5988 | 5806 |
5989 int main() { | 5807 int main() { |
5990 main() | 5808 main() |
5991 ; return 0; } | 5809 ; return 0; } |
5992 EOF | 5810 EOF |
5993 if { (eval echo configure:5994: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5811 if { (eval echo configure:5812: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
5994 rm -rf conftest* | 5812 rm -rf conftest* |
5995 eval "ac_cv_lib_$ac_lib_var=yes" | 5813 eval "ac_cv_lib_$ac_lib_var=yes" |
5996 else | 5814 else |
5997 echo "configure: failed program was:" >&5 | 5815 echo "configure: failed program was:" >&5 |
5998 cat conftest.$ac_ext >&5 | 5816 cat conftest.$ac_ext >&5 |
6053 test "$with_dialogs" != "no" && extra_objs="$extra_objs dialog-msw.o" && if test "$extra_verbose" = "yes"; then | 5871 test "$with_dialogs" != "no" && extra_objs="$extra_objs dialog-msw.o" && if test "$extra_verbose" = "yes"; then |
6054 echo " xemacs will be linked with \"dialog-msw.o\"" | 5872 echo " xemacs will be linked with \"dialog-msw.o\"" |
6055 fi | 5873 fi |
6056 fi | 5874 fi |
6057 cat > conftest.$ac_ext <<EOF | 5875 cat > conftest.$ac_ext <<EOF |
6058 #line 6059 "configure" | 5876 #line 5877 "configure" |
6059 #include "confdefs.h" | 5877 #include "confdefs.h" |
6060 #include <fcntl.h> | 5878 #include <fcntl.h> |
6061 int main() { return (open("/dev/windows", O_RDONLY, 0) > 0)? 0 : 1; } | 5879 int main() { return (open("/dev/windows", O_RDONLY, 0) > 0)? 0 : 1; } |
6062 EOF | 5880 EOF |
6063 if { (eval echo configure:6064: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 5881 if { (eval echo configure:5882: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
6064 then | 5882 then |
6065 { test "$extra_verbose" = "yes" && cat << \EOF | 5883 { test "$extra_verbose" = "yes" && cat << \EOF |
6066 Defining HAVE_MSG_SELECT | 5884 Defining HAVE_MSG_SELECT |
6067 EOF | 5885 EOF |
6068 cat >> confdefs.h <<\EOF | 5886 cat >> confdefs.h <<\EOF |
6134 test "$opsys" = "hpux9" && opsysfile="s/hpux9-x11r4.h" | 5952 test "$opsys" = "hpux9" && opsysfile="s/hpux9-x11r4.h" |
6135 test "$opsys" = "hpux9-shr" && opsysfile="s/hpux9shxr4.h" | 5953 test "$opsys" = "hpux9-shr" && opsysfile="s/hpux9shxr4.h" |
6136 esac | 5954 esac |
6137 | 5955 |
6138 echo "checking for WM_COMMAND option" 1>&6 | 5956 echo "checking for WM_COMMAND option" 1>&6 |
6139 echo "configure:6140: checking for WM_COMMAND option" >&5; | 5957 echo "configure:5958: checking for WM_COMMAND option" >&5; |
6140 if test "$with_wmcommand" != "no"; then | 5958 if test "$with_wmcommand" != "no"; then |
6141 { test "$extra_verbose" = "yes" && cat << \EOF | 5959 { test "$extra_verbose" = "yes" && cat << \EOF |
6142 Defining HAVE_WMCOMMAND | 5960 Defining HAVE_WMCOMMAND |
6143 EOF | 5961 EOF |
6144 cat >> confdefs.h <<\EOF | 5962 cat >> confdefs.h <<\EOF |
6149 fi | 5967 fi |
6150 | 5968 |
6151 test -z "$with_xauth" && test "$window_system" = "none" && with_xauth=no | 5969 test -z "$with_xauth" && test "$window_system" = "none" && with_xauth=no |
6152 test -z "$with_xauth" && { ac_safe=`echo "X11/Xauth.h" | sed 'y%./+-%__p_%'` | 5970 test -z "$with_xauth" && { ac_safe=`echo "X11/Xauth.h" | sed 'y%./+-%__p_%'` |
6153 echo $ac_n "checking for X11/Xauth.h""... $ac_c" 1>&6 | 5971 echo $ac_n "checking for X11/Xauth.h""... $ac_c" 1>&6 |
6154 echo "configure:6155: checking for X11/Xauth.h" >&5 | 5972 echo "configure:5973: checking for X11/Xauth.h" >&5 |
6155 | 5973 |
6156 cat > conftest.$ac_ext <<EOF | 5974 cat > conftest.$ac_ext <<EOF |
6157 #line 6158 "configure" | 5975 #line 5976 "configure" |
6158 #include "confdefs.h" | 5976 #include "confdefs.h" |
6159 #include <X11/Xauth.h> | 5977 #include <X11/Xauth.h> |
6160 EOF | 5978 EOF |
6161 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 5979 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
6162 { (eval echo configure:6163: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 5980 { (eval echo configure:5981: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
6163 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 5981 ac_err=`grep -v '^ *+' conftest.out` |
6164 if test -z "$ac_err"; then | 5982 if test -z "$ac_err"; then |
6165 rm -rf conftest* | 5983 rm -rf conftest* |
6166 eval "ac_cv_header_$ac_safe=yes" | 5984 eval "ac_cv_header_$ac_safe=yes" |
6167 else | 5985 else |
6168 echo "$ac_err" >&5 | 5986 echo "$ac_err" >&5 |
6180 with_xauth=no | 5998 with_xauth=no |
6181 fi | 5999 fi |
6182 } | 6000 } |
6183 test -z "$with_xauth" && { | 6001 test -z "$with_xauth" && { |
6184 echo $ac_n "checking for XauGetAuthByAddr in -lXau""... $ac_c" 1>&6 | 6002 echo $ac_n "checking for XauGetAuthByAddr in -lXau""... $ac_c" 1>&6 |
6185 echo "configure:6186: checking for XauGetAuthByAddr in -lXau" >&5 | 6003 echo "configure:6004: checking for XauGetAuthByAddr in -lXau" >&5 |
6186 ac_lib_var=`echo Xau'_'XauGetAuthByAddr | sed 'y%./+-%__p_%'` | 6004 ac_lib_var=`echo Xau'_'XauGetAuthByAddr | sed 'y%./+-%__p_%'` |
6187 | 6005 |
6188 xe_check_libs=" -lXau " | 6006 xe_check_libs=" -lXau " |
6189 cat > conftest.$ac_ext <<EOF | 6007 cat > conftest.$ac_ext <<EOF |
6190 #line 6191 "configure" | 6008 #line 6009 "configure" |
6191 #include "confdefs.h" | 6009 #include "confdefs.h" |
6192 /* Override any gcc2 internal prototype to avoid an error. */ | 6010 /* Override any gcc2 internal prototype to avoid an error. */ |
6193 /* We use char because int might match the return type of a gcc2 | 6011 /* We use char because int might match the return type of a gcc2 |
6194 builtin and then its argument prototype would still apply. */ | 6012 builtin and then its argument prototype would still apply. */ |
6195 char XauGetAuthByAddr(); | 6013 char XauGetAuthByAddr(); |
6196 | 6014 |
6197 int main() { | 6015 int main() { |
6198 XauGetAuthByAddr() | 6016 XauGetAuthByAddr() |
6199 ; return 0; } | 6017 ; return 0; } |
6200 EOF | 6018 EOF |
6201 if { (eval echo configure:6202: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6019 if { (eval echo configure:6020: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
6202 rm -rf conftest* | 6020 rm -rf conftest* |
6203 eval "ac_cv_lib_$ac_lib_var=yes" | 6021 eval "ac_cv_lib_$ac_lib_var=yes" |
6204 else | 6022 else |
6205 echo "configure: failed program was:" >&5 | 6023 echo "configure: failed program was:" >&5 |
6206 cat conftest.$ac_ext >&5 | 6024 cat conftest.$ac_ext >&5 |
6241 | 6059 |
6242 if test "$with_tooltalk" != "no" ; then | 6060 if test "$with_tooltalk" != "no" ; then |
6243 for dir in "" "Tt/" "desktop/" ; do | 6061 for dir in "" "Tt/" "desktop/" ; do |
6244 ac_safe=`echo "${dir}tt_c.h" | sed 'y%./+-%__p_%'` | 6062 ac_safe=`echo "${dir}tt_c.h" | sed 'y%./+-%__p_%'` |
6245 echo $ac_n "checking for ${dir}tt_c.h""... $ac_c" 1>&6 | 6063 echo $ac_n "checking for ${dir}tt_c.h""... $ac_c" 1>&6 |
6246 echo "configure:6247: checking for ${dir}tt_c.h" >&5 | 6064 echo "configure:6065: checking for ${dir}tt_c.h" >&5 |
6247 | 6065 |
6248 cat > conftest.$ac_ext <<EOF | 6066 cat > conftest.$ac_ext <<EOF |
6249 #line 6250 "configure" | 6067 #line 6068 "configure" |
6250 #include "confdefs.h" | 6068 #include "confdefs.h" |
6251 #include <${dir}tt_c.h> | 6069 #include <${dir}tt_c.h> |
6252 EOF | 6070 EOF |
6253 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6071 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
6254 { (eval echo configure:6255: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6072 { (eval echo configure:6073: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
6255 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 6073 ac_err=`grep -v '^ *+' conftest.out` |
6256 if test -z "$ac_err"; then | 6074 if test -z "$ac_err"; then |
6257 rm -rf conftest* | 6075 rm -rf conftest* |
6258 eval "ac_cv_header_$ac_safe=yes" | 6076 eval "ac_cv_header_$ac_safe=yes" |
6259 else | 6077 else |
6260 echo "$ac_err" >&5 | 6078 echo "$ac_err" >&5 |
6285 for extra_libs in "" "-lI18N -lce" "-lcxx"; do | 6103 for extra_libs in "" "-lI18N -lce" "-lcxx"; do |
6286 | 6104 |
6287 xe_msg_checking="for tt_message_create in -ltt" | 6105 xe_msg_checking="for tt_message_create in -ltt" |
6288 test -n "$extra_libs" && xe_msg_checking="$xe_msg_checking using extra libs $extra_libs" | 6106 test -n "$extra_libs" && xe_msg_checking="$xe_msg_checking using extra libs $extra_libs" |
6289 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 6107 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
6290 echo "configure:6291: checking "$xe_msg_checking"" >&5 | 6108 echo "configure:6109: checking "$xe_msg_checking"" >&5 |
6291 ac_lib_var=`echo tt'_'tt_message_create | sed 'y%./+-%__p_%'` | 6109 ac_lib_var=`echo tt'_'tt_message_create | sed 'y%./+-%__p_%'` |
6292 | 6110 |
6293 xe_check_libs=" -ltt $extra_libs" | 6111 xe_check_libs=" -ltt $extra_libs" |
6294 cat > conftest.$ac_ext <<EOF | 6112 cat > conftest.$ac_ext <<EOF |
6295 #line 6296 "configure" | 6113 #line 6114 "configure" |
6296 #include "confdefs.h" | 6114 #include "confdefs.h" |
6297 /* Override any gcc2 internal prototype to avoid an error. */ | 6115 /* Override any gcc2 internal prototype to avoid an error. */ |
6298 /* We use char because int might match the return type of a gcc2 | 6116 /* We use char because int might match the return type of a gcc2 |
6299 builtin and then its argument prototype would still apply. */ | 6117 builtin and then its argument prototype would still apply. */ |
6300 char tt_message_create(); | 6118 char tt_message_create(); |
6301 | 6119 |
6302 int main() { | 6120 int main() { |
6303 tt_message_create() | 6121 tt_message_create() |
6304 ; return 0; } | 6122 ; return 0; } |
6305 EOF | 6123 EOF |
6306 if { (eval echo configure:6307: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6124 if { (eval echo configure:6125: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
6307 rm -rf conftest* | 6125 rm -rf conftest* |
6308 eval "ac_cv_lib_$ac_lib_var=yes" | 6126 eval "ac_cv_lib_$ac_lib_var=yes" |
6309 else | 6127 else |
6310 echo "configure: failed program was:" >&5 | 6128 echo "configure: failed program was:" >&5 |
6311 cat conftest.$ac_ext >&5 | 6129 cat conftest.$ac_ext >&5 |
6358 fi | 6176 fi |
6359 fi | 6177 fi |
6360 | 6178 |
6361 test -z "$with_cde" && { ac_safe=`echo "Dt/Dt.h" | sed 'y%./+-%__p_%'` | 6179 test -z "$with_cde" && { ac_safe=`echo "Dt/Dt.h" | sed 'y%./+-%__p_%'` |
6362 echo $ac_n "checking for Dt/Dt.h""... $ac_c" 1>&6 | 6180 echo $ac_n "checking for Dt/Dt.h""... $ac_c" 1>&6 |
6363 echo "configure:6364: checking for Dt/Dt.h" >&5 | 6181 echo "configure:6182: checking for Dt/Dt.h" >&5 |
6364 | 6182 |
6365 cat > conftest.$ac_ext <<EOF | 6183 cat > conftest.$ac_ext <<EOF |
6366 #line 6367 "configure" | 6184 #line 6185 "configure" |
6367 #include "confdefs.h" | 6185 #include "confdefs.h" |
6368 #include <Dt/Dt.h> | 6186 #include <Dt/Dt.h> |
6369 EOF | 6187 EOF |
6370 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6188 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
6371 { (eval echo configure:6372: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6189 { (eval echo configure:6190: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
6372 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 6190 ac_err=`grep -v '^ *+' conftest.out` |
6373 if test -z "$ac_err"; then | 6191 if test -z "$ac_err"; then |
6374 rm -rf conftest* | 6192 rm -rf conftest* |
6375 eval "ac_cv_header_$ac_safe=yes" | 6193 eval "ac_cv_header_$ac_safe=yes" |
6376 else | 6194 else |
6377 echo "$ac_err" >&5 | 6195 echo "$ac_err" >&5 |
6389 with_cde=no | 6207 with_cde=no |
6390 fi | 6208 fi |
6391 } | 6209 } |
6392 test -z "$with_cde" && { | 6210 test -z "$with_cde" && { |
6393 echo $ac_n "checking for DtDndDragStart in -lDtSvc""... $ac_c" 1>&6 | 6211 echo $ac_n "checking for DtDndDragStart in -lDtSvc""... $ac_c" 1>&6 |
6394 echo "configure:6395: checking for DtDndDragStart in -lDtSvc" >&5 | 6212 echo "configure:6213: checking for DtDndDragStart in -lDtSvc" >&5 |
6395 ac_lib_var=`echo DtSvc'_'DtDndDragStart | sed 'y%./+-%__p_%'` | 6213 ac_lib_var=`echo DtSvc'_'DtDndDragStart | sed 'y%./+-%__p_%'` |
6396 | 6214 |
6397 xe_check_libs=" -lDtSvc " | 6215 xe_check_libs=" -lDtSvc " |
6398 cat > conftest.$ac_ext <<EOF | 6216 cat > conftest.$ac_ext <<EOF |
6399 #line 6400 "configure" | 6217 #line 6218 "configure" |
6400 #include "confdefs.h" | 6218 #include "confdefs.h" |
6401 /* Override any gcc2 internal prototype to avoid an error. */ | 6219 /* Override any gcc2 internal prototype to avoid an error. */ |
6402 /* We use char because int might match the return type of a gcc2 | 6220 /* We use char because int might match the return type of a gcc2 |
6403 builtin and then its argument prototype would still apply. */ | 6221 builtin and then its argument prototype would still apply. */ |
6404 char DtDndDragStart(); | 6222 char DtDndDragStart(); |
6405 | 6223 |
6406 int main() { | 6224 int main() { |
6407 DtDndDragStart() | 6225 DtDndDragStart() |
6408 ; return 0; } | 6226 ; return 0; } |
6409 EOF | 6227 EOF |
6410 if { (eval echo configure:6411: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6228 if { (eval echo configure:6229: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
6411 rm -rf conftest* | 6229 rm -rf conftest* |
6412 eval "ac_cv_lib_$ac_lib_var=yes" | 6230 eval "ac_cv_lib_$ac_lib_var=yes" |
6413 else | 6231 else |
6414 echo "configure: failed program was:" >&5 | 6232 echo "configure: failed program was:" >&5 |
6415 cat conftest.$ac_ext >&5 | 6233 cat conftest.$ac_ext >&5 |
6474 dnd_objs="$dnd_objs offix.o" && if test "$extra_verbose" = "yes"; then echo " Appending \"offix.o\" to \$dnd_objs"; fi | 6292 dnd_objs="$dnd_objs offix.o" && if test "$extra_verbose" = "yes"; then echo " Appending \"offix.o\" to \$dnd_objs"; fi |
6475 dragndrop_proto="$dragndrop_proto OffiX" && if test "$extra_verbose" = "yes"; then echo " Appending \"OffiX\" to \$dragndrop_proto"; fi | 6293 dragndrop_proto="$dragndrop_proto OffiX" && if test "$extra_verbose" = "yes"; then echo " Appending \"OffiX\" to \$dragndrop_proto"; fi |
6476 fi | 6294 fi |
6477 | 6295 |
6478 echo $ac_n "checking if drag and drop API is needed""... $ac_c" 1>&6 | 6296 echo $ac_n "checking if drag and drop API is needed""... $ac_c" 1>&6 |
6479 echo "configure:6480: checking if drag and drop API is needed" >&5 | 6297 echo "configure:6298: checking if drag and drop API is needed" >&5 |
6480 if test "$with_dragndrop" != "no" ; then | 6298 if test "$with_dragndrop" != "no" ; then |
6481 if test -n "$dragndrop_proto" ; then | 6299 if test -n "$dragndrop_proto" ; then |
6482 with_dragndrop=yes | 6300 with_dragndrop=yes |
6483 echo "$ac_t""yes (${dragndrop_proto} )" 1>&6 | 6301 echo "$ac_t""yes (${dragndrop_proto} )" 1>&6 |
6484 { test "$extra_verbose" = "yes" && cat << \EOF | 6302 { test "$extra_verbose" = "yes" && cat << \EOF |
6495 echo "$ac_t""no" 1>&6 | 6313 echo "$ac_t""no" 1>&6 |
6496 fi | 6314 fi |
6497 fi | 6315 fi |
6498 | 6316 |
6499 echo "checking for LDAP" 1>&6 | 6317 echo "checking for LDAP" 1>&6 |
6500 echo "configure:6501: checking for LDAP" >&5 | 6318 echo "configure:6319: checking for LDAP" >&5 |
6501 test -z "$with_ldap" && { ac_safe=`echo "ldap.h" | sed 'y%./+-%__p_%'` | 6319 test -z "$with_ldap" && { ac_safe=`echo "ldap.h" | sed 'y%./+-%__p_%'` |
6502 echo $ac_n "checking for ldap.h""... $ac_c" 1>&6 | 6320 echo $ac_n "checking for ldap.h""... $ac_c" 1>&6 |
6503 echo "configure:6504: checking for ldap.h" >&5 | 6321 echo "configure:6322: checking for ldap.h" >&5 |
6504 | 6322 |
6505 cat > conftest.$ac_ext <<EOF | 6323 cat > conftest.$ac_ext <<EOF |
6506 #line 6507 "configure" | 6324 #line 6325 "configure" |
6507 #include "confdefs.h" | 6325 #include "confdefs.h" |
6508 #include <ldap.h> | 6326 #include <ldap.h> |
6509 EOF | 6327 EOF |
6510 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6328 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
6511 { (eval echo configure:6512: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6329 { (eval echo configure:6330: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
6512 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 6330 ac_err=`grep -v '^ *+' conftest.out` |
6513 if test -z "$ac_err"; then | 6331 if test -z "$ac_err"; then |
6514 rm -rf conftest* | 6332 rm -rf conftest* |
6515 eval "ac_cv_header_$ac_safe=yes" | 6333 eval "ac_cv_header_$ac_safe=yes" |
6516 else | 6334 else |
6517 echo "$ac_err" >&5 | 6335 echo "$ac_err" >&5 |
6529 with_ldap=no | 6347 with_ldap=no |
6530 fi | 6348 fi |
6531 } | 6349 } |
6532 test -z "$with_ldap" && { ac_safe=`echo "lber.h" | sed 'y%./+-%__p_%'` | 6350 test -z "$with_ldap" && { ac_safe=`echo "lber.h" | sed 'y%./+-%__p_%'` |
6533 echo $ac_n "checking for lber.h""... $ac_c" 1>&6 | 6351 echo $ac_n "checking for lber.h""... $ac_c" 1>&6 |
6534 echo "configure:6535: checking for lber.h" >&5 | 6352 echo "configure:6353: checking for lber.h" >&5 |
6535 | 6353 |
6536 cat > conftest.$ac_ext <<EOF | 6354 cat > conftest.$ac_ext <<EOF |
6537 #line 6538 "configure" | 6355 #line 6356 "configure" |
6538 #include "confdefs.h" | 6356 #include "confdefs.h" |
6539 #include <lber.h> | 6357 #include <lber.h> |
6540 EOF | 6358 EOF |
6541 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6359 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
6542 { (eval echo configure:6543: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6360 { (eval echo configure:6361: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
6543 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 6361 ac_err=`grep -v '^ *+' conftest.out` |
6544 if test -z "$ac_err"; then | 6362 if test -z "$ac_err"; then |
6545 rm -rf conftest* | 6363 rm -rf conftest* |
6546 eval "ac_cv_header_$ac_safe=yes" | 6364 eval "ac_cv_header_$ac_safe=yes" |
6547 else | 6365 else |
6548 echo "$ac_err" >&5 | 6366 echo "$ac_err" >&5 |
6559 echo "$ac_t""no" 1>&6 | 6377 echo "$ac_t""no" 1>&6 |
6560 with_ldap=no | 6378 with_ldap=no |
6561 fi | 6379 fi |
6562 } | 6380 } |
6563 if test "$with_ldap" != "no"; then | 6381 if test "$with_ldap" != "no"; then |
6564 test -z "$with_umich_ldap" && { | 6382 |
6383 echo $ac_n "checking for ldap_search in -lldap""... $ac_c" 1>&6 | |
6384 echo "configure:6385: checking for ldap_search in -lldap" >&5 | |
6385 ac_lib_var=`echo ldap'_'ldap_search | sed 'y%./+-%__p_%'` | |
6386 | |
6387 xe_check_libs=" -lldap " | |
6388 cat > conftest.$ac_ext <<EOF | |
6389 #line 6390 "configure" | |
6390 #include "confdefs.h" | |
6391 /* Override any gcc2 internal prototype to avoid an error. */ | |
6392 /* We use char because int might match the return type of a gcc2 | |
6393 builtin and then its argument prototype would still apply. */ | |
6394 char ldap_search(); | |
6395 | |
6396 int main() { | |
6397 ldap_search() | |
6398 ; return 0; } | |
6399 EOF | |
6400 if { (eval echo configure:6401: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | |
6401 rm -rf conftest* | |
6402 eval "ac_cv_lib_$ac_lib_var=yes" | |
6403 else | |
6404 echo "configure: failed program was:" >&5 | |
6405 cat conftest.$ac_ext >&5 | |
6406 rm -rf conftest* | |
6407 eval "ac_cv_lib_$ac_lib_var=no" | |
6408 fi | |
6409 rm -f conftest* | |
6410 xe_check_libs="" | |
6411 | |
6412 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes" ; then | |
6413 echo "$ac_t""yes" 1>&6 | |
6414 with_ldap_nolber=yes | |
6415 else | |
6416 echo "$ac_t""no" 1>&6 | |
6417 with_ldap_nolber=no | |
6418 fi | |
6419 | |
6420 | |
6421 test "$with_ldap_nolber" = "no" && { | |
6565 xe_msg_checking="for ldap_open in -lldap" | 6422 xe_msg_checking="for ldap_open in -lldap" |
6566 test -n "-llber" && xe_msg_checking="$xe_msg_checking using extra libs -llber" | 6423 test -n "-llber" && xe_msg_checking="$xe_msg_checking using extra libs -llber" |
6567 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 6424 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
6568 echo "configure:6569: checking "$xe_msg_checking"" >&5 | 6425 echo "configure:6426: checking "$xe_msg_checking"" >&5 |
6569 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` | 6426 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` |
6570 | 6427 |
6571 xe_check_libs=" -lldap -llber" | 6428 xe_check_libs=" -lldap -llber" |
6572 cat > conftest.$ac_ext <<EOF | 6429 cat > conftest.$ac_ext <<EOF |
6573 #line 6574 "configure" | 6430 #line 6431 "configure" |
6574 #include "confdefs.h" | 6431 #include "confdefs.h" |
6575 /* Override any gcc2 internal prototype to avoid an error. */ | 6432 /* Override any gcc2 internal prototype to avoid an error. */ |
6576 /* We use char because int might match the return type of a gcc2 | 6433 /* We use char because int might match the return type of a gcc2 |
6577 builtin and then its argument prototype would still apply. */ | 6434 builtin and then its argument prototype would still apply. */ |
6578 char ldap_open(); | 6435 char ldap_open(); |
6579 | 6436 |
6580 int main() { | 6437 int main() { |
6581 ldap_open() | 6438 ldap_open() |
6582 ; return 0; } | 6439 ; return 0; } |
6583 EOF | 6440 EOF |
6584 if { (eval echo configure:6585: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6441 if { (eval echo configure:6442: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
6585 rm -rf conftest* | 6442 rm -rf conftest* |
6586 eval "ac_cv_lib_$ac_lib_var=yes" | 6443 eval "ac_cv_lib_$ac_lib_var=yes" |
6587 else | 6444 else |
6588 echo "configure: failed program was:" >&5 | 6445 echo "configure: failed program was:" >&5 |
6589 cat conftest.$ac_ext >&5 | 6446 cat conftest.$ac_ext >&5 |
6593 rm -f conftest* | 6450 rm -f conftest* |
6594 xe_check_libs="" | 6451 xe_check_libs="" |
6595 | 6452 |
6596 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes" ; then | 6453 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes" ; then |
6597 echo "$ac_t""yes" 1>&6 | 6454 echo "$ac_t""yes" 1>&6 |
6598 with_umich_ldap=yes | 6455 with_ldap_lber=yes |
6599 else | 6456 else |
6600 echo "$ac_t""no" 1>&6 | 6457 echo "$ac_t""no" 1>&6 |
6601 with_umich_ldap=no | 6458 with_ldap_lber=no |
6602 fi | 6459 fi |
6603 | 6460 |
6604 } | 6461 } |
6605 test "$with_umich_ldap" = "no" && { | 6462 test -z "$with_ldap" -a \( "$with_ldap_lber" = "yes" -o "$with_ldap_nolber" = "yes" \) && with_ldap=yes |
6606 echo $ac_n "checking for ldap_set_option in -lldap10""... $ac_c" 1>&6 | 6463 fi |
6607 echo "configure:6608: checking for ldap_set_option in -lldap10" >&5 | 6464 if test "$with_ldap" = "yes"; then |
6608 ac_lib_var=`echo ldap10'_'ldap_set_option | sed 'y%./+-%__p_%'` | 6465 { test "$extra_verbose" = "yes" && cat << \EOF |
6609 | 6466 Defining HAVE_LDAP |
6610 xe_check_libs=" -lldap10 " | 6467 EOF |
6611 cat > conftest.$ac_ext <<EOF | 6468 cat >> confdefs.h <<\EOF |
6612 #line 6613 "configure" | 6469 #define HAVE_LDAP 1 |
6613 #include "confdefs.h" | 6470 EOF |
6471 } | |
6472 | |
6473 extra_objs="$extra_objs eldap.o" && if test "$extra_verbose" = "yes"; then | |
6474 echo " xemacs will be linked with \"eldap.o\"" | |
6475 fi | |
6476 if test "$with_ldap_nolber" = "yes" ; then | |
6477 LIBS="-lldap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lldap\" to \$LIBS"; fi | |
6478 else | |
6479 LIBS="-llber $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-llber\" to \$LIBS"; fi | |
6480 LIBS="-lldap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lldap\" to \$LIBS"; fi | |
6481 fi | |
6482 for ac_func in ldap_set_option ldap_get_lderrno ldap_result2error ldap_parse_result | |
6483 do | |
6484 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | |
6485 echo "configure:6486: checking for $ac_func" >&5 | |
6486 | |
6487 cat > conftest.$ac_ext <<EOF | |
6488 #line 6489 "configure" | |
6489 #include "confdefs.h" | |
6490 /* System header to define __stub macros and hopefully few prototypes, | |
6491 which can conflict with char $ac_func(); below. */ | |
6492 #include <assert.h> | |
6614 /* Override any gcc2 internal prototype to avoid an error. */ | 6493 /* Override any gcc2 internal prototype to avoid an error. */ |
6615 /* We use char because int might match the return type of a gcc2 | 6494 /* We use char because int might match the return type of a gcc2 |
6616 builtin and then its argument prototype would still apply. */ | 6495 builtin and then its argument prototype would still apply. */ |
6617 char ldap_set_option(); | 6496 char $ac_func(); |
6618 | 6497 |
6619 int main() { | 6498 int main() { |
6620 ldap_set_option() | 6499 |
6500 /* The GNU C library defines this for functions which it implements | |
6501 to always fail with ENOSYS. Some functions are actually named | |
6502 something starting with __ and the normal name is an alias. */ | |
6503 #if defined (__stub_$ac_func) || defined (__stub___$ac_func) | |
6504 choke me | |
6505 #else | |
6506 $ac_func(); | |
6507 #endif | |
6508 | |
6621 ; return 0; } | 6509 ; return 0; } |
6622 EOF | 6510 EOF |
6623 if { (eval echo configure:6624: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6511 if { (eval echo configure:6512: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
6624 rm -rf conftest* | 6512 rm -rf conftest* |
6625 eval "ac_cv_lib_$ac_lib_var=yes" | 6513 eval "ac_cv_func_$ac_func=yes" |
6626 else | 6514 else |
6627 echo "configure: failed program was:" >&5 | 6515 echo "configure: failed program was:" >&5 |
6628 cat conftest.$ac_ext >&5 | 6516 cat conftest.$ac_ext >&5 |
6629 rm -rf conftest* | 6517 rm -rf conftest* |
6630 eval "ac_cv_lib_$ac_lib_var=no" | 6518 eval "ac_cv_func_$ac_func=no" |
6631 fi | 6519 fi |
6632 rm -f conftest* | 6520 rm -f conftest* |
6633 xe_check_libs="" | 6521 |
6634 | 6522 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then |
6635 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes" ; then | |
6636 echo "$ac_t""yes" 1>&6 | 6523 echo "$ac_t""yes" 1>&6 |
6637 with_ns_ldap=yes | 6524 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'` |
6638 else | 6525 { test "$extra_verbose" = "yes" && cat << EOF |
6639 echo "$ac_t""no" 1>&6 | 6526 Defining $ac_tr_func |
6640 with_ns_ldap=no | 6527 EOF |
6641 fi | 6528 cat >> confdefs.h <<EOF |
6642 | 6529 #define $ac_tr_func 1 |
6643 } | 6530 EOF |
6644 test -z "$with_ldap" -a \( "$with_umich_ldap" = "yes" -o "$with_ns_ldap" = "yes" \) && with_ldap=yes | 6531 } |
6645 fi | 6532 |
6646 if test "$with_ldap" = "yes"; then | 6533 else |
6647 { test "$extra_verbose" = "yes" && cat << \EOF | 6534 echo "$ac_t""no" 1>&6 |
6648 Defining HAVE_LDAP | 6535 fi |
6649 EOF | 6536 done |
6650 cat >> confdefs.h <<\EOF | 6537 |
6651 #define HAVE_LDAP 1 | |
6652 EOF | |
6653 } | |
6654 | |
6655 extra_objs="$extra_objs eldap.o" && if test "$extra_verbose" = "yes"; then | |
6656 echo " xemacs will be linked with \"eldap.o\"" | |
6657 fi | |
6658 if test "$with_umich_ldap" = "yes" ; then | |
6659 { test "$extra_verbose" = "yes" && cat << \EOF | |
6660 Defining HAVE_UMICH_LDAP | |
6661 EOF | |
6662 cat >> confdefs.h <<\EOF | |
6663 #define HAVE_UMICH_LDAP 1 | |
6664 EOF | |
6665 } | |
6666 | |
6667 LIBS="-llber $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-llber\" to \$LIBS"; fi | |
6668 LIBS="-lldap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lldap\" to \$LIBS"; fi | |
6669 elif test "$with_ldap" = "yes" -a "$with_ns_ldap" = "yes" ; then | |
6670 { test "$extra_verbose" = "yes" && cat << \EOF | |
6671 Defining HAVE_NS_LDAP | |
6672 EOF | |
6673 cat >> confdefs.h <<\EOF | |
6674 #define HAVE_NS_LDAP 1 | |
6675 EOF | |
6676 } | |
6677 | |
6678 LIBS="-lldap10 $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lldap10\" to \$LIBS"; fi | |
6679 elif test "$with_ldap" = "yes" ; then | |
6680 LIBS="-lldap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lldap\" to \$LIBS"; fi | |
6681 fi | |
6682 fi | 6538 fi |
6683 | 6539 |
6684 | 6540 |
6685 if test "$window_system" != "none"; then | 6541 if test "$window_system" != "none"; then |
6686 echo "checking for graphics libraries" 1>&6 | 6542 echo "checking for graphics libraries" 1>&6 |
6687 echo "configure:6688: checking for graphics libraries" >&5 | 6543 echo "configure:6544: checking for graphics libraries" >&5 |
6688 | 6544 |
6689 xpm_problem="" | 6545 xpm_problem="" |
6690 if test -z "$with_xpm"; then | 6546 if test -z "$with_xpm"; then |
6691 echo $ac_n "checking for Xpm - no older than 3.4f""... $ac_c" 1>&6 | 6547 echo $ac_n "checking for Xpm - no older than 3.4f""... $ac_c" 1>&6 |
6692 echo "configure:6693: checking for Xpm - no older than 3.4f" >&5 | 6548 echo "configure:6549: checking for Xpm - no older than 3.4f" >&5 |
6693 xe_check_libs=-lXpm | 6549 xe_check_libs=-lXpm |
6694 cat > conftest.$ac_ext <<EOF | 6550 cat > conftest.$ac_ext <<EOF |
6695 #line 6696 "configure" | 6551 #line 6552 "configure" |
6696 #include "confdefs.h" | 6552 #include "confdefs.h" |
6697 #include <X11/xpm.h> | 6553 #include <X11/xpm.h> |
6698 int main(int c, char **v) { | 6554 int main(int c, char **v) { |
6699 return c == 1 ? 0 : | 6555 return c == 1 ? 0 : |
6700 XpmIncludeVersion != XpmLibraryVersion() ? 1 : | 6556 XpmIncludeVersion != XpmLibraryVersion() ? 1 : |
6701 XpmIncludeVersion < 30406 ? 2 : 0 ;} | 6557 XpmIncludeVersion < 30406 ? 2 : 0 ;} |
6702 EOF | 6558 EOF |
6703 if { (eval echo configure:6704: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 6559 if { (eval echo configure:6560: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
6704 then | 6560 then |
6705 ./conftest dummy_arg; xpm_status=$?; | 6561 ./conftest dummy_arg; xpm_status=$?; |
6706 if test "$xpm_status" = "0"; then | 6562 if test "$xpm_status" = "0"; then |
6707 with_xpm=yes; | 6563 with_xpm=yes; |
6708 else | 6564 else |
6740 EOF | 6596 EOF |
6741 } | 6597 } |
6742 | 6598 |
6743 libs_x="-lXpm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXpm\" to \$libs_x"; fi | 6599 libs_x="-lXpm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXpm\" to \$libs_x"; fi |
6744 echo $ac_n "checking for \"FOR_MSW\" xpm""... $ac_c" 1>&6 | 6600 echo $ac_n "checking for \"FOR_MSW\" xpm""... $ac_c" 1>&6 |
6745 echo "configure:6746: checking for \"FOR_MSW\" xpm" >&5 | 6601 echo "configure:6602: checking for \"FOR_MSW\" xpm" >&5 |
6746 xe_check_libs=-lXpm | 6602 xe_check_libs=-lXpm |
6747 cat > conftest.$ac_ext <<EOF | 6603 cat > conftest.$ac_ext <<EOF |
6748 #line 6749 "configure" | 6604 #line 6605 "configure" |
6749 #include "confdefs.h" | 6605 #include "confdefs.h" |
6750 | 6606 |
6751 int main() { | 6607 int main() { |
6752 XpmCreatePixmapFromData() | 6608 XpmCreatePixmapFromData() |
6753 ; return 0; } | 6609 ; return 0; } |
6754 EOF | 6610 EOF |
6755 if { (eval echo configure:6756: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6611 if { (eval echo configure:6612: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
6756 rm -rf conftest* | 6612 rm -rf conftest* |
6757 xpm_for_msw=no | 6613 xpm_for_msw=no |
6758 else | 6614 else |
6759 echo "configure: failed program was:" >&5 | 6615 echo "configure: failed program was:" >&5 |
6760 cat conftest.$ac_ext >&5 | 6616 cat conftest.$ac_ext >&5 |
6776 fi | 6632 fi |
6777 fi | 6633 fi |
6778 | 6634 |
6779 test -z "$with_xface" && { ac_safe=`echo "compface.h" | sed 'y%./+-%__p_%'` | 6635 test -z "$with_xface" && { ac_safe=`echo "compface.h" | sed 'y%./+-%__p_%'` |
6780 echo $ac_n "checking for compface.h""... $ac_c" 1>&6 | 6636 echo $ac_n "checking for compface.h""... $ac_c" 1>&6 |
6781 echo "configure:6782: checking for compface.h" >&5 | 6637 echo "configure:6638: checking for compface.h" >&5 |
6782 | 6638 |
6783 cat > conftest.$ac_ext <<EOF | 6639 cat > conftest.$ac_ext <<EOF |
6784 #line 6785 "configure" | 6640 #line 6641 "configure" |
6785 #include "confdefs.h" | 6641 #include "confdefs.h" |
6786 #include <compface.h> | 6642 #include <compface.h> |
6787 EOF | 6643 EOF |
6788 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6644 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
6789 { (eval echo configure:6790: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6645 { (eval echo configure:6646: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
6790 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 6646 ac_err=`grep -v '^ *+' conftest.out` |
6791 if test -z "$ac_err"; then | 6647 if test -z "$ac_err"; then |
6792 rm -rf conftest* | 6648 rm -rf conftest* |
6793 eval "ac_cv_header_$ac_safe=yes" | 6649 eval "ac_cv_header_$ac_safe=yes" |
6794 else | 6650 else |
6795 echo "$ac_err" >&5 | 6651 echo "$ac_err" >&5 |
6807 with_xface=no | 6663 with_xface=no |
6808 fi | 6664 fi |
6809 } | 6665 } |
6810 test -z "$with_xface" && { | 6666 test -z "$with_xface" && { |
6811 echo $ac_n "checking for UnGenFace in -lcompface""... $ac_c" 1>&6 | 6667 echo $ac_n "checking for UnGenFace in -lcompface""... $ac_c" 1>&6 |
6812 echo "configure:6813: checking for UnGenFace in -lcompface" >&5 | 6668 echo "configure:6669: checking for UnGenFace in -lcompface" >&5 |
6813 ac_lib_var=`echo compface'_'UnGenFace | sed 'y%./+-%__p_%'` | 6669 ac_lib_var=`echo compface'_'UnGenFace | sed 'y%./+-%__p_%'` |
6814 | 6670 |
6815 xe_check_libs=" -lcompface " | 6671 xe_check_libs=" -lcompface " |
6816 cat > conftest.$ac_ext <<EOF | 6672 cat > conftest.$ac_ext <<EOF |
6817 #line 6818 "configure" | 6673 #line 6674 "configure" |
6818 #include "confdefs.h" | 6674 #include "confdefs.h" |
6819 /* Override any gcc2 internal prototype to avoid an error. */ | 6675 /* Override any gcc2 internal prototype to avoid an error. */ |
6820 /* We use char because int might match the return type of a gcc2 | 6676 /* We use char because int might match the return type of a gcc2 |
6821 builtin and then its argument prototype would still apply. */ | 6677 builtin and then its argument prototype would still apply. */ |
6822 char UnGenFace(); | 6678 char UnGenFace(); |
6823 | 6679 |
6824 int main() { | 6680 int main() { |
6825 UnGenFace() | 6681 UnGenFace() |
6826 ; return 0; } | 6682 ; return 0; } |
6827 EOF | 6683 EOF |
6828 if { (eval echo configure:6829: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6684 if { (eval echo configure:6685: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
6829 rm -rf conftest* | 6685 rm -rf conftest* |
6830 eval "ac_cv_lib_$ac_lib_var=yes" | 6686 eval "ac_cv_lib_$ac_lib_var=yes" |
6831 else | 6687 else |
6832 echo "configure: failed program was:" >&5 | 6688 echo "configure: failed program was:" >&5 |
6833 cat conftest.$ac_ext >&5 | 6689 cat conftest.$ac_ext >&5 |
6875 fi | 6731 fi |
6876 | 6732 |
6877 if test "$with_png $with_tiff" != "no no"; then | 6733 if test "$with_png $with_tiff" != "no no"; then |
6878 | 6734 |
6879 echo $ac_n "checking for inflate in -lc""... $ac_c" 1>&6 | 6735 echo $ac_n "checking for inflate in -lc""... $ac_c" 1>&6 |
6880 echo "configure:6881: checking for inflate in -lc" >&5 | 6736 echo "configure:6737: checking for inflate in -lc" >&5 |
6881 ac_lib_var=`echo c'_'inflate | sed 'y%./+-%__p_%'` | 6737 ac_lib_var=`echo c'_'inflate | sed 'y%./+-%__p_%'` |
6882 | 6738 |
6883 xe_check_libs=" -lc " | 6739 xe_check_libs=" -lc " |
6884 cat > conftest.$ac_ext <<EOF | 6740 cat > conftest.$ac_ext <<EOF |
6885 #line 6886 "configure" | 6741 #line 6742 "configure" |
6886 #include "confdefs.h" | 6742 #include "confdefs.h" |
6887 /* Override any gcc2 internal prototype to avoid an error. */ | 6743 /* Override any gcc2 internal prototype to avoid an error. */ |
6888 /* We use char because int might match the return type of a gcc2 | 6744 /* We use char because int might match the return type of a gcc2 |
6889 builtin and then its argument prototype would still apply. */ | 6745 builtin and then its argument prototype would still apply. */ |
6890 char inflate(); | 6746 char inflate(); |
6891 | 6747 |
6892 int main() { | 6748 int main() { |
6893 inflate() | 6749 inflate() |
6894 ; return 0; } | 6750 ; return 0; } |
6895 EOF | 6751 EOF |
6896 if { (eval echo configure:6897: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6752 if { (eval echo configure:6753: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
6897 rm -rf conftest* | 6753 rm -rf conftest* |
6898 eval "ac_cv_lib_$ac_lib_var=yes" | 6754 eval "ac_cv_lib_$ac_lib_var=yes" |
6899 else | 6755 else |
6900 echo "configure: failed program was:" >&5 | 6756 echo "configure: failed program was:" >&5 |
6901 cat conftest.$ac_ext >&5 | 6757 cat conftest.$ac_ext >&5 |
6910 : | 6766 : |
6911 else | 6767 else |
6912 echo "$ac_t""no" 1>&6 | 6768 echo "$ac_t""no" 1>&6 |
6913 | 6769 |
6914 echo $ac_n "checking for inflate in -lz""... $ac_c" 1>&6 | 6770 echo $ac_n "checking for inflate in -lz""... $ac_c" 1>&6 |
6915 echo "configure:6916: checking for inflate in -lz" >&5 | 6771 echo "configure:6772: checking for inflate in -lz" >&5 |
6916 ac_lib_var=`echo z'_'inflate | sed 'y%./+-%__p_%'` | 6772 ac_lib_var=`echo z'_'inflate | sed 'y%./+-%__p_%'` |
6917 | 6773 |
6918 xe_check_libs=" -lz " | 6774 xe_check_libs=" -lz " |
6919 cat > conftest.$ac_ext <<EOF | 6775 cat > conftest.$ac_ext <<EOF |
6920 #line 6921 "configure" | 6776 #line 6777 "configure" |
6921 #include "confdefs.h" | 6777 #include "confdefs.h" |
6922 /* Override any gcc2 internal prototype to avoid an error. */ | 6778 /* Override any gcc2 internal prototype to avoid an error. */ |
6923 /* We use char because int might match the return type of a gcc2 | 6779 /* We use char because int might match the return type of a gcc2 |
6924 builtin and then its argument prototype would still apply. */ | 6780 builtin and then its argument prototype would still apply. */ |
6925 char inflate(); | 6781 char inflate(); |
6926 | 6782 |
6927 int main() { | 6783 int main() { |
6928 inflate() | 6784 inflate() |
6929 ; return 0; } | 6785 ; return 0; } |
6930 EOF | 6786 EOF |
6931 if { (eval echo configure:6932: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6787 if { (eval echo configure:6788: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
6932 rm -rf conftest* | 6788 rm -rf conftest* |
6933 eval "ac_cv_lib_$ac_lib_var=yes" | 6789 eval "ac_cv_lib_$ac_lib_var=yes" |
6934 else | 6790 else |
6935 echo "configure: failed program was:" >&5 | 6791 echo "configure: failed program was:" >&5 |
6936 cat conftest.$ac_ext >&5 | 6792 cat conftest.$ac_ext >&5 |
6945 libs_x="-lz $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lz\" to \$libs_x"; fi | 6801 libs_x="-lz $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lz\" to \$libs_x"; fi |
6946 else | 6802 else |
6947 echo "$ac_t""no" 1>&6 | 6803 echo "$ac_t""no" 1>&6 |
6948 | 6804 |
6949 echo $ac_n "checking for inflate in -lgz""... $ac_c" 1>&6 | 6805 echo $ac_n "checking for inflate in -lgz""... $ac_c" 1>&6 |
6950 echo "configure:6951: checking for inflate in -lgz" >&5 | 6806 echo "configure:6807: checking for inflate in -lgz" >&5 |
6951 ac_lib_var=`echo gz'_'inflate | sed 'y%./+-%__p_%'` | 6807 ac_lib_var=`echo gz'_'inflate | sed 'y%./+-%__p_%'` |
6952 | 6808 |
6953 xe_check_libs=" -lgz " | 6809 xe_check_libs=" -lgz " |
6954 cat > conftest.$ac_ext <<EOF | 6810 cat > conftest.$ac_ext <<EOF |
6955 #line 6956 "configure" | 6811 #line 6812 "configure" |
6956 #include "confdefs.h" | 6812 #include "confdefs.h" |
6957 /* Override any gcc2 internal prototype to avoid an error. */ | 6813 /* Override any gcc2 internal prototype to avoid an error. */ |
6958 /* We use char because int might match the return type of a gcc2 | 6814 /* We use char because int might match the return type of a gcc2 |
6959 builtin and then its argument prototype would still apply. */ | 6815 builtin and then its argument prototype would still apply. */ |
6960 char inflate(); | 6816 char inflate(); |
6961 | 6817 |
6962 int main() { | 6818 int main() { |
6963 inflate() | 6819 inflate() |
6964 ; return 0; } | 6820 ; return 0; } |
6965 EOF | 6821 EOF |
6966 if { (eval echo configure:6967: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6822 if { (eval echo configure:6823: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
6967 rm -rf conftest* | 6823 rm -rf conftest* |
6968 eval "ac_cv_lib_$ac_lib_var=yes" | 6824 eval "ac_cv_lib_$ac_lib_var=yes" |
6969 else | 6825 else |
6970 echo "configure: failed program was:" >&5 | 6826 echo "configure: failed program was:" >&5 |
6971 cat conftest.$ac_ext >&5 | 6827 cat conftest.$ac_ext >&5 |
6991 | 6847 |
6992 fi | 6848 fi |
6993 | 6849 |
6994 test -z "$with_jpeg" && { ac_safe=`echo "jpeglib.h" | sed 'y%./+-%__p_%'` | 6850 test -z "$with_jpeg" && { ac_safe=`echo "jpeglib.h" | sed 'y%./+-%__p_%'` |
6995 echo $ac_n "checking for jpeglib.h""... $ac_c" 1>&6 | 6851 echo $ac_n "checking for jpeglib.h""... $ac_c" 1>&6 |
6996 echo "configure:6997: checking for jpeglib.h" >&5 | 6852 echo "configure:6853: checking for jpeglib.h" >&5 |
6997 | 6853 |
6998 cat > conftest.$ac_ext <<EOF | 6854 cat > conftest.$ac_ext <<EOF |
6999 #line 7000 "configure" | 6855 #line 6856 "configure" |
7000 #include "confdefs.h" | 6856 #include "confdefs.h" |
7001 #include <jpeglib.h> | 6857 #include <jpeglib.h> |
7002 EOF | 6858 EOF |
7003 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6859 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
7004 { (eval echo configure:7005: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6860 { (eval echo configure:6861: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
7005 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 6861 ac_err=`grep -v '^ *+' conftest.out` |
7006 if test -z "$ac_err"; then | 6862 if test -z "$ac_err"; then |
7007 rm -rf conftest* | 6863 rm -rf conftest* |
7008 eval "ac_cv_header_$ac_safe=yes" | 6864 eval "ac_cv_header_$ac_safe=yes" |
7009 else | 6865 else |
7010 echo "$ac_err" >&5 | 6866 echo "$ac_err" >&5 |
7022 with_jpeg=no | 6878 with_jpeg=no |
7023 fi | 6879 fi |
7024 } | 6880 } |
7025 test -z "$with_jpeg" && { | 6881 test -z "$with_jpeg" && { |
7026 echo $ac_n "checking for jpeg_destroy_decompress in -ljpeg""... $ac_c" 1>&6 | 6882 echo $ac_n "checking for jpeg_destroy_decompress in -ljpeg""... $ac_c" 1>&6 |
7027 echo "configure:7028: checking for jpeg_destroy_decompress in -ljpeg" >&5 | 6883 echo "configure:6884: checking for jpeg_destroy_decompress in -ljpeg" >&5 |
7028 ac_lib_var=`echo jpeg'_'jpeg_destroy_decompress | sed 'y%./+-%__p_%'` | 6884 ac_lib_var=`echo jpeg'_'jpeg_destroy_decompress | sed 'y%./+-%__p_%'` |
7029 | 6885 |
7030 xe_check_libs=" -ljpeg " | 6886 xe_check_libs=" -ljpeg " |
7031 cat > conftest.$ac_ext <<EOF | 6887 cat > conftest.$ac_ext <<EOF |
7032 #line 7033 "configure" | 6888 #line 6889 "configure" |
7033 #include "confdefs.h" | 6889 #include "confdefs.h" |
7034 /* Override any gcc2 internal prototype to avoid an error. */ | 6890 /* Override any gcc2 internal prototype to avoid an error. */ |
7035 /* We use char because int might match the return type of a gcc2 | 6891 /* We use char because int might match the return type of a gcc2 |
7036 builtin and then its argument prototype would still apply. */ | 6892 builtin and then its argument prototype would still apply. */ |
7037 char jpeg_destroy_decompress(); | 6893 char jpeg_destroy_decompress(); |
7038 | 6894 |
7039 int main() { | 6895 int main() { |
7040 jpeg_destroy_decompress() | 6896 jpeg_destroy_decompress() |
7041 ; return 0; } | 6897 ; return 0; } |
7042 EOF | 6898 EOF |
7043 if { (eval echo configure:7044: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6899 if { (eval echo configure:6900: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
7044 rm -rf conftest* | 6900 rm -rf conftest* |
7045 eval "ac_cv_lib_$ac_lib_var=yes" | 6901 eval "ac_cv_lib_$ac_lib_var=yes" |
7046 else | 6902 else |
7047 echo "configure: failed program was:" >&5 | 6903 echo "configure: failed program was:" >&5 |
7048 cat conftest.$ac_ext >&5 | 6904 cat conftest.$ac_ext >&5 |
7074 libs_x="-ljpeg $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-ljpeg\" to \$libs_x"; fi | 6930 libs_x="-ljpeg $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-ljpeg\" to \$libs_x"; fi |
7075 fi | 6931 fi |
7076 | 6932 |
7077 png_problem="" | 6933 png_problem="" |
7078 test -z "$with_png" && { echo $ac_n "checking for pow""... $ac_c" 1>&6 | 6934 test -z "$with_png" && { echo $ac_n "checking for pow""... $ac_c" 1>&6 |
7079 echo "configure:7080: checking for pow" >&5 | 6935 echo "configure:6936: checking for pow" >&5 |
7080 | 6936 |
7081 cat > conftest.$ac_ext <<EOF | 6937 cat > conftest.$ac_ext <<EOF |
7082 #line 7083 "configure" | 6938 #line 6939 "configure" |
7083 #include "confdefs.h" | 6939 #include "confdefs.h" |
7084 /* System header to define __stub macros and hopefully few prototypes, | 6940 /* System header to define __stub macros and hopefully few prototypes, |
7085 which can conflict with char pow(); below. */ | 6941 which can conflict with char pow(); below. */ |
7086 #include <assert.h> | 6942 #include <assert.h> |
7087 /* Override any gcc2 internal prototype to avoid an error. */ | 6943 /* Override any gcc2 internal prototype to avoid an error. */ |
7100 pow(); | 6956 pow(); |
7101 #endif | 6957 #endif |
7102 | 6958 |
7103 ; return 0; } | 6959 ; return 0; } |
7104 EOF | 6960 EOF |
7105 if { (eval echo configure:7106: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6961 if { (eval echo configure:6962: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
7106 rm -rf conftest* | 6962 rm -rf conftest* |
7107 eval "ac_cv_func_pow=yes" | 6963 eval "ac_cv_func_pow=yes" |
7108 else | 6964 else |
7109 echo "configure: failed program was:" >&5 | 6965 echo "configure: failed program was:" >&5 |
7110 cat conftest.$ac_ext >&5 | 6966 cat conftest.$ac_ext >&5 |
7121 with_png=no | 6977 with_png=no |
7122 fi | 6978 fi |
7123 } | 6979 } |
7124 test -z "$with_png" && { ac_safe=`echo "png.h" | sed 'y%./+-%__p_%'` | 6980 test -z "$with_png" && { ac_safe=`echo "png.h" | sed 'y%./+-%__p_%'` |
7125 echo $ac_n "checking for png.h""... $ac_c" 1>&6 | 6981 echo $ac_n "checking for png.h""... $ac_c" 1>&6 |
7126 echo "configure:7127: checking for png.h" >&5 | 6982 echo "configure:6983: checking for png.h" >&5 |
7127 | 6983 |
7128 cat > conftest.$ac_ext <<EOF | 6984 cat > conftest.$ac_ext <<EOF |
7129 #line 7130 "configure" | 6985 #line 6986 "configure" |
7130 #include "confdefs.h" | 6986 #include "confdefs.h" |
7131 #include <png.h> | 6987 #include <png.h> |
7132 EOF | 6988 EOF |
7133 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6989 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
7134 { (eval echo configure:7135: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6990 { (eval echo configure:6991: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
7135 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 6991 ac_err=`grep -v '^ *+' conftest.out` |
7136 if test -z "$ac_err"; then | 6992 if test -z "$ac_err"; then |
7137 rm -rf conftest* | 6993 rm -rf conftest* |
7138 eval "ac_cv_header_$ac_safe=yes" | 6994 eval "ac_cv_header_$ac_safe=yes" |
7139 else | 6995 else |
7140 echo "$ac_err" >&5 | 6996 echo "$ac_err" >&5 |
7152 with_png=no | 7008 with_png=no |
7153 fi | 7009 fi |
7154 } | 7010 } |
7155 test -z "$with_png" && { | 7011 test -z "$with_png" && { |
7156 echo $ac_n "checking for png_read_image in -lpng""... $ac_c" 1>&6 | 7012 echo $ac_n "checking for png_read_image in -lpng""... $ac_c" 1>&6 |
7157 echo "configure:7158: checking for png_read_image in -lpng" >&5 | 7013 echo "configure:7014: checking for png_read_image in -lpng" >&5 |
7158 ac_lib_var=`echo png'_'png_read_image | sed 'y%./+-%__p_%'` | 7014 ac_lib_var=`echo png'_'png_read_image | sed 'y%./+-%__p_%'` |
7159 | 7015 |
7160 xe_check_libs=" -lpng " | 7016 xe_check_libs=" -lpng " |
7161 cat > conftest.$ac_ext <<EOF | 7017 cat > conftest.$ac_ext <<EOF |
7162 #line 7163 "configure" | 7018 #line 7019 "configure" |
7163 #include "confdefs.h" | 7019 #include "confdefs.h" |
7164 /* Override any gcc2 internal prototype to avoid an error. */ | 7020 /* Override any gcc2 internal prototype to avoid an error. */ |
7165 /* We use char because int might match the return type of a gcc2 | 7021 /* We use char because int might match the return type of a gcc2 |
7166 builtin and then its argument prototype would still apply. */ | 7022 builtin and then its argument prototype would still apply. */ |
7167 char png_read_image(); | 7023 char png_read_image(); |
7168 | 7024 |
7169 int main() { | 7025 int main() { |
7170 png_read_image() | 7026 png_read_image() |
7171 ; return 0; } | 7027 ; return 0; } |
7172 EOF | 7028 EOF |
7173 if { (eval echo configure:7174: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7029 if { (eval echo configure:7030: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
7174 rm -rf conftest* | 7030 rm -rf conftest* |
7175 eval "ac_cv_lib_$ac_lib_var=yes" | 7031 eval "ac_cv_lib_$ac_lib_var=yes" |
7176 else | 7032 else |
7177 echo "configure: failed program was:" >&5 | 7033 echo "configure: failed program was:" >&5 |
7178 cat conftest.$ac_ext >&5 | 7034 cat conftest.$ac_ext >&5 |
7191 fi | 7047 fi |
7192 | 7048 |
7193 } | 7049 } |
7194 if test -z "$with_png"; then | 7050 if test -z "$with_png"; then |
7195 echo $ac_n "checking for workable png version information""... $ac_c" 1>&6 | 7051 echo $ac_n "checking for workable png version information""... $ac_c" 1>&6 |
7196 echo "configure:7197: checking for workable png version information" >&5 | 7052 echo "configure:7053: checking for workable png version information" >&5 |
7197 xe_check_libs="-lpng -lz" | 7053 xe_check_libs="-lpng -lz" |
7198 cat > conftest.$ac_ext <<EOF | 7054 cat > conftest.$ac_ext <<EOF |
7199 #line 7200 "configure" | 7055 #line 7056 "configure" |
7200 #include "confdefs.h" | 7056 #include "confdefs.h" |
7201 #include <png.h> | 7057 #include <png.h> |
7202 int main(int c, char **v) { | 7058 int main(int c, char **v) { |
7203 if (c == 1) return 0; | 7059 if (c == 1) return 0; |
7204 if (strcmp(png_libpng_ver, PNG_LIBPNG_VER_STRING) != 0) return 1; | 7060 if (strcmp(png_libpng_ver, PNG_LIBPNG_VER_STRING) != 0) return 1; |
7205 return (PNG_LIBPNG_VER < 10002) ? 2 : 0 ;} | 7061 return (PNG_LIBPNG_VER < 10002) ? 2 : 0 ;} |
7206 EOF | 7062 EOF |
7207 if { (eval echo configure:7208: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 7063 if { (eval echo configure:7064: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
7208 then | 7064 then |
7209 ./conftest dummy_arg; png_status=$?; | 7065 ./conftest dummy_arg; png_status=$?; |
7210 if test "$png_status" = "0"; then | 7066 if test "$png_status" = "0"; then |
7211 with_png=yes; | 7067 with_png=yes; |
7212 else | 7068 else |
7245 libs_x="-lpng $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lpng\" to \$libs_x"; fi | 7101 libs_x="-lpng $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lpng\" to \$libs_x"; fi |
7246 fi | 7102 fi |
7247 | 7103 |
7248 test -z "$with_tiff" && { ac_safe=`echo "tiffio.h" | sed 'y%./+-%__p_%'` | 7104 test -z "$with_tiff" && { ac_safe=`echo "tiffio.h" | sed 'y%./+-%__p_%'` |
7249 echo $ac_n "checking for tiffio.h""... $ac_c" 1>&6 | 7105 echo $ac_n "checking for tiffio.h""... $ac_c" 1>&6 |
7250 echo "configure:7251: checking for tiffio.h" >&5 | 7106 echo "configure:7107: checking for tiffio.h" >&5 |
7251 | 7107 |
7252 cat > conftest.$ac_ext <<EOF | 7108 cat > conftest.$ac_ext <<EOF |
7253 #line 7254 "configure" | 7109 #line 7110 "configure" |
7254 #include "confdefs.h" | 7110 #include "confdefs.h" |
7255 #include <tiffio.h> | 7111 #include <tiffio.h> |
7256 EOF | 7112 EOF |
7257 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7113 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
7258 { (eval echo configure:7259: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7114 { (eval echo configure:7115: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
7259 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 7115 ac_err=`grep -v '^ *+' conftest.out` |
7260 if test -z "$ac_err"; then | 7116 if test -z "$ac_err"; then |
7261 rm -rf conftest* | 7117 rm -rf conftest* |
7262 eval "ac_cv_header_$ac_safe=yes" | 7118 eval "ac_cv_header_$ac_safe=yes" |
7263 else | 7119 else |
7264 echo "$ac_err" >&5 | 7120 echo "$ac_err" >&5 |
7276 with_tiff=no | 7132 with_tiff=no |
7277 fi | 7133 fi |
7278 } | 7134 } |
7279 test -z "$with_tiff" && { | 7135 test -z "$with_tiff" && { |
7280 echo $ac_n "checking for TIFFClientOpen in -ltiff""... $ac_c" 1>&6 | 7136 echo $ac_n "checking for TIFFClientOpen in -ltiff""... $ac_c" 1>&6 |
7281 echo "configure:7282: checking for TIFFClientOpen in -ltiff" >&5 | 7137 echo "configure:7138: checking for TIFFClientOpen in -ltiff" >&5 |
7282 ac_lib_var=`echo tiff'_'TIFFClientOpen | sed 'y%./+-%__p_%'` | 7138 ac_lib_var=`echo tiff'_'TIFFClientOpen | sed 'y%./+-%__p_%'` |
7283 | 7139 |
7284 xe_check_libs=" -ltiff " | 7140 xe_check_libs=" -ltiff " |
7285 cat > conftest.$ac_ext <<EOF | 7141 cat > conftest.$ac_ext <<EOF |
7286 #line 7287 "configure" | 7142 #line 7143 "configure" |
7287 #include "confdefs.h" | 7143 #include "confdefs.h" |
7288 /* Override any gcc2 internal prototype to avoid an error. */ | 7144 /* Override any gcc2 internal prototype to avoid an error. */ |
7289 /* We use char because int might match the return type of a gcc2 | 7145 /* We use char because int might match the return type of a gcc2 |
7290 builtin and then its argument prototype would still apply. */ | 7146 builtin and then its argument prototype would still apply. */ |
7291 char TIFFClientOpen(); | 7147 char TIFFClientOpen(); |
7292 | 7148 |
7293 int main() { | 7149 int main() { |
7294 TIFFClientOpen() | 7150 TIFFClientOpen() |
7295 ; return 0; } | 7151 ; return 0; } |
7296 EOF | 7152 EOF |
7297 if { (eval echo configure:7298: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7153 if { (eval echo configure:7154: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
7298 rm -rf conftest* | 7154 rm -rf conftest* |
7299 eval "ac_cv_lib_$ac_lib_var=yes" | 7155 eval "ac_cv_lib_$ac_lib_var=yes" |
7300 else | 7156 else |
7301 echo "configure: failed program was:" >&5 | 7157 echo "configure: failed program was:" >&5 |
7302 cat conftest.$ac_ext >&5 | 7158 cat conftest.$ac_ext >&5 |
7331 | 7187 |
7332 | 7188 |
7333 if test "$with_x11" = "yes"; then | 7189 if test "$with_x11" = "yes"; then |
7334 | 7190 |
7335 echo "checking for X11 graphics libraries" 1>&6 | 7191 echo "checking for X11 graphics libraries" 1>&6 |
7336 echo "configure:7337: checking for X11 graphics libraries" >&5 | 7192 echo "configure:7193: checking for X11 graphics libraries" >&5 |
7337 | 7193 |
7338 | 7194 |
7339 echo $ac_n "checking for XawScrollbarSetThumb in -lXaw""... $ac_c" 1>&6 | 7195 echo $ac_n "checking for XawScrollbarSetThumb in -lXaw""... $ac_c" 1>&6 |
7340 echo "configure:7341: checking for XawScrollbarSetThumb in -lXaw" >&5 | 7196 echo "configure:7197: checking for XawScrollbarSetThumb in -lXaw" >&5 |
7341 ac_lib_var=`echo Xaw'_'XawScrollbarSetThumb | sed 'y%./+-%__p_%'` | 7197 ac_lib_var=`echo Xaw'_'XawScrollbarSetThumb | sed 'y%./+-%__p_%'` |
7342 | 7198 |
7343 xe_check_libs=" -lXaw " | 7199 xe_check_libs=" -lXaw " |
7344 cat > conftest.$ac_ext <<EOF | 7200 cat > conftest.$ac_ext <<EOF |
7345 #line 7346 "configure" | 7201 #line 7202 "configure" |
7346 #include "confdefs.h" | 7202 #include "confdefs.h" |
7347 /* Override any gcc2 internal prototype to avoid an error. */ | 7203 /* Override any gcc2 internal prototype to avoid an error. */ |
7348 /* We use char because int might match the return type of a gcc2 | 7204 /* We use char because int might match the return type of a gcc2 |
7349 builtin and then its argument prototype would still apply. */ | 7205 builtin and then its argument prototype would still apply. */ |
7350 char XawScrollbarSetThumb(); | 7206 char XawScrollbarSetThumb(); |
7351 | 7207 |
7352 int main() { | 7208 int main() { |
7353 XawScrollbarSetThumb() | 7209 XawScrollbarSetThumb() |
7354 ; return 0; } | 7210 ; return 0; } |
7355 EOF | 7211 EOF |
7356 if { (eval echo configure:7357: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7212 if { (eval echo configure:7213: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
7357 rm -rf conftest* | 7213 rm -rf conftest* |
7358 eval "ac_cv_lib_$ac_lib_var=yes" | 7214 eval "ac_cv_lib_$ac_lib_var=yes" |
7359 else | 7215 else |
7360 echo "configure: failed program was:" >&5 | 7216 echo "configure: failed program was:" >&5 |
7361 cat conftest.$ac_ext >&5 | 7217 cat conftest.$ac_ext >&5 |
7375 | 7231 |
7376 | 7232 |
7377 | 7233 |
7378 ac_safe=`echo "Xm/Xm.h" | sed 'y%./+-%__p_%'` | 7234 ac_safe=`echo "Xm/Xm.h" | sed 'y%./+-%__p_%'` |
7379 echo $ac_n "checking for Xm/Xm.h""... $ac_c" 1>&6 | 7235 echo $ac_n "checking for Xm/Xm.h""... $ac_c" 1>&6 |
7380 echo "configure:7381: checking for Xm/Xm.h" >&5 | 7236 echo "configure:7237: checking for Xm/Xm.h" >&5 |
7381 | 7237 |
7382 cat > conftest.$ac_ext <<EOF | 7238 cat > conftest.$ac_ext <<EOF |
7383 #line 7384 "configure" | 7239 #line 7240 "configure" |
7384 #include "confdefs.h" | 7240 #include "confdefs.h" |
7385 #include <Xm/Xm.h> | 7241 #include <Xm/Xm.h> |
7386 EOF | 7242 EOF |
7387 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7243 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
7388 { (eval echo configure:7389: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7244 { (eval echo configure:7245: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
7389 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 7245 ac_err=`grep -v '^ *+' conftest.out` |
7390 if test -z "$ac_err"; then | 7246 if test -z "$ac_err"; then |
7391 rm -rf conftest* | 7247 rm -rf conftest* |
7392 eval "ac_cv_header_$ac_safe=yes" | 7248 eval "ac_cv_header_$ac_safe=yes" |
7393 else | 7249 else |
7394 echo "$ac_err" >&5 | 7250 echo "$ac_err" >&5 |
7400 rm -f conftest* | 7256 rm -f conftest* |
7401 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 7257 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
7402 echo "$ac_t""yes" 1>&6 | 7258 echo "$ac_t""yes" 1>&6 |
7403 | 7259 |
7404 echo $ac_n "checking for XmStringFree in -lXm""... $ac_c" 1>&6 | 7260 echo $ac_n "checking for XmStringFree in -lXm""... $ac_c" 1>&6 |
7405 echo "configure:7406: checking for XmStringFree in -lXm" >&5 | 7261 echo "configure:7262: checking for XmStringFree in -lXm" >&5 |
7406 ac_lib_var=`echo Xm'_'XmStringFree | sed 'y%./+-%__p_%'` | 7262 ac_lib_var=`echo Xm'_'XmStringFree | sed 'y%./+-%__p_%'` |
7407 | 7263 |
7408 xe_check_libs=" -lXm " | 7264 xe_check_libs=" -lXm " |
7409 cat > conftest.$ac_ext <<EOF | 7265 cat > conftest.$ac_ext <<EOF |
7410 #line 7411 "configure" | 7266 #line 7267 "configure" |
7411 #include "confdefs.h" | 7267 #include "confdefs.h" |
7412 /* Override any gcc2 internal prototype to avoid an error. */ | 7268 /* Override any gcc2 internal prototype to avoid an error. */ |
7413 /* We use char because int might match the return type of a gcc2 | 7269 /* We use char because int might match the return type of a gcc2 |
7414 builtin and then its argument prototype would still apply. */ | 7270 builtin and then its argument prototype would still apply. */ |
7415 char XmStringFree(); | 7271 char XmStringFree(); |
7416 | 7272 |
7417 int main() { | 7273 int main() { |
7418 XmStringFree() | 7274 XmStringFree() |
7419 ; return 0; } | 7275 ; return 0; } |
7420 EOF | 7276 EOF |
7421 if { (eval echo configure:7422: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7277 if { (eval echo configure:7278: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
7422 rm -rf conftest* | 7278 rm -rf conftest* |
7423 eval "ac_cv_lib_$ac_lib_var=yes" | 7279 eval "ac_cv_lib_$ac_lib_var=yes" |
7424 else | 7280 else |
7425 echo "configure: failed program was:" >&5 | 7281 echo "configure: failed program was:" >&5 |
7426 cat conftest.$ac_ext >&5 | 7282 cat conftest.$ac_ext >&5 |
7445 fi | 7301 fi |
7446 | 7302 |
7447 | 7303 |
7448 if test "$have_motif" = "yes"; then | 7304 if test "$have_motif" = "yes"; then |
7449 echo $ac_n "checking for Lesstif""... $ac_c" 1>&6 | 7305 echo $ac_n "checking for Lesstif""... $ac_c" 1>&6 |
7450 echo "configure:7451: checking for Lesstif" >&5 | 7306 echo "configure:7307: checking for Lesstif" >&5 |
7451 cat > conftest.$ac_ext <<EOF | 7307 cat > conftest.$ac_ext <<EOF |
7452 #line 7453 "configure" | 7308 #line 7309 "configure" |
7453 #include "confdefs.h" | 7309 #include "confdefs.h" |
7454 #include <Xm/Xm.h> | 7310 #include <Xm/Xm.h> |
7455 #ifdef LESSTIF_VERSION | 7311 #ifdef LESSTIF_VERSION |
7456 yes | 7312 yes |
7457 #endif | 7313 #endif |
7710 fi | 7566 fi |
7711 fi | 7567 fi |
7712 | 7568 |
7713 if test "$with_mule" = "yes" ; then | 7569 if test "$with_mule" = "yes" ; then |
7714 echo "checking for Mule-related features" 1>&6 | 7570 echo "checking for Mule-related features" 1>&6 |
7715 echo "configure:7716: checking for Mule-related features" >&5 | 7571 echo "configure:7572: checking for Mule-related features" >&5 |
7716 { test "$extra_verbose" = "yes" && cat << \EOF | 7572 { test "$extra_verbose" = "yes" && cat << \EOF |
7717 Defining MULE | 7573 Defining MULE |
7718 EOF | 7574 EOF |
7719 cat >> confdefs.h <<\EOF | 7575 cat >> confdefs.h <<\EOF |
7720 #define MULE 1 | 7576 #define MULE 1 |
7735 | 7591 |
7736 for ac_hdr in libintl.h | 7592 for ac_hdr in libintl.h |
7737 do | 7593 do |
7738 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 7594 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
7739 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 7595 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
7740 echo "configure:7741: checking for $ac_hdr" >&5 | 7596 echo "configure:7597: checking for $ac_hdr" >&5 |
7741 | 7597 |
7742 cat > conftest.$ac_ext <<EOF | 7598 cat > conftest.$ac_ext <<EOF |
7743 #line 7744 "configure" | 7599 #line 7600 "configure" |
7744 #include "confdefs.h" | 7600 #include "confdefs.h" |
7745 #include <$ac_hdr> | 7601 #include <$ac_hdr> |
7746 EOF | 7602 EOF |
7747 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7603 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
7748 { (eval echo configure:7749: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7604 { (eval echo configure:7605: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
7749 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 7605 ac_err=`grep -v '^ *+' conftest.out` |
7750 if test -z "$ac_err"; then | 7606 if test -z "$ac_err"; then |
7751 rm -rf conftest* | 7607 rm -rf conftest* |
7752 eval "ac_cv_header_$ac_safe=yes" | 7608 eval "ac_cv_header_$ac_safe=yes" |
7753 else | 7609 else |
7754 echo "$ac_err" >&5 | 7610 echo "$ac_err" >&5 |
7774 fi | 7630 fi |
7775 done | 7631 done |
7776 | 7632 |
7777 | 7633 |
7778 echo $ac_n "checking for strerror in -lintl""... $ac_c" 1>&6 | 7634 echo $ac_n "checking for strerror in -lintl""... $ac_c" 1>&6 |
7779 echo "configure:7780: checking for strerror in -lintl" >&5 | 7635 echo "configure:7636: checking for strerror in -lintl" >&5 |
7780 ac_lib_var=`echo intl'_'strerror | sed 'y%./+-%__p_%'` | 7636 ac_lib_var=`echo intl'_'strerror | sed 'y%./+-%__p_%'` |
7781 | 7637 |
7782 xe_check_libs=" -lintl " | 7638 xe_check_libs=" -lintl " |
7783 cat > conftest.$ac_ext <<EOF | 7639 cat > conftest.$ac_ext <<EOF |
7784 #line 7785 "configure" | 7640 #line 7641 "configure" |
7785 #include "confdefs.h" | 7641 #include "confdefs.h" |
7786 /* Override any gcc2 internal prototype to avoid an error. */ | 7642 /* Override any gcc2 internal prototype to avoid an error. */ |
7787 /* We use char because int might match the return type of a gcc2 | 7643 /* We use char because int might match the return type of a gcc2 |
7788 builtin and then its argument prototype would still apply. */ | 7644 builtin and then its argument prototype would still apply. */ |
7789 char strerror(); | 7645 char strerror(); |
7790 | 7646 |
7791 int main() { | 7647 int main() { |
7792 strerror() | 7648 strerror() |
7793 ; return 0; } | 7649 ; return 0; } |
7794 EOF | 7650 EOF |
7795 if { (eval echo configure:7796: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7651 if { (eval echo configure:7652: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
7796 rm -rf conftest* | 7652 rm -rf conftest* |
7797 eval "ac_cv_lib_$ac_lib_var=yes" | 7653 eval "ac_cv_lib_$ac_lib_var=yes" |
7798 else | 7654 else |
7799 echo "configure: failed program was:" >&5 | 7655 echo "configure: failed program was:" >&5 |
7800 cat conftest.$ac_ext >&5 | 7656 cat conftest.$ac_ext >&5 |
7823 fi | 7679 fi |
7824 | 7680 |
7825 | 7681 |
7826 | 7682 |
7827 echo "checking for Mule input methods" 1>&6 | 7683 echo "checking for Mule input methods" 1>&6 |
7828 echo "configure:7829: checking for Mule input methods" >&5 | 7684 echo "configure:7685: checking for Mule input methods" >&5 |
7829 case "$with_xim" in "" | "yes" ) | 7685 case "$with_xim" in "" | "yes" ) |
7830 echo "checking for XIM" 1>&6 | 7686 echo "checking for XIM" 1>&6 |
7831 echo "configure:7832: checking for XIM" >&5 | 7687 echo "configure:7688: checking for XIM" >&5 |
7832 | 7688 |
7833 echo $ac_n "checking for XOpenIM in -lX11""... $ac_c" 1>&6 | 7689 echo $ac_n "checking for XOpenIM in -lX11""... $ac_c" 1>&6 |
7834 echo "configure:7835: checking for XOpenIM in -lX11" >&5 | 7690 echo "configure:7691: checking for XOpenIM in -lX11" >&5 |
7835 ac_lib_var=`echo X11'_'XOpenIM | sed 'y%./+-%__p_%'` | 7691 ac_lib_var=`echo X11'_'XOpenIM | sed 'y%./+-%__p_%'` |
7836 | 7692 |
7837 xe_check_libs=" -lX11 " | 7693 xe_check_libs=" -lX11 " |
7838 cat > conftest.$ac_ext <<EOF | 7694 cat > conftest.$ac_ext <<EOF |
7839 #line 7840 "configure" | 7695 #line 7696 "configure" |
7840 #include "confdefs.h" | 7696 #include "confdefs.h" |
7841 /* Override any gcc2 internal prototype to avoid an error. */ | 7697 /* Override any gcc2 internal prototype to avoid an error. */ |
7842 /* We use char because int might match the return type of a gcc2 | 7698 /* We use char because int might match the return type of a gcc2 |
7843 builtin and then its argument prototype would still apply. */ | 7699 builtin and then its argument prototype would still apply. */ |
7844 char XOpenIM(); | 7700 char XOpenIM(); |
7845 | 7701 |
7846 int main() { | 7702 int main() { |
7847 XOpenIM() | 7703 XOpenIM() |
7848 ; return 0; } | 7704 ; return 0; } |
7849 EOF | 7705 EOF |
7850 if { (eval echo configure:7851: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7706 if { (eval echo configure:7707: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
7851 rm -rf conftest* | 7707 rm -rf conftest* |
7852 eval "ac_cv_lib_$ac_lib_var=yes" | 7708 eval "ac_cv_lib_$ac_lib_var=yes" |
7853 else | 7709 else |
7854 echo "configure: failed program was:" >&5 | 7710 echo "configure: failed program was:" >&5 |
7855 cat conftest.$ac_ext >&5 | 7711 cat conftest.$ac_ext >&5 |
7869 | 7725 |
7870 | 7726 |
7871 if test "$have_motif $have_lesstif" = "yes no"; then | 7727 if test "$have_motif $have_lesstif" = "yes no"; then |
7872 | 7728 |
7873 echo $ac_n "checking for XmImMbLookupString in -lXm""... $ac_c" 1>&6 | 7729 echo $ac_n "checking for XmImMbLookupString in -lXm""... $ac_c" 1>&6 |
7874 echo "configure:7875: checking for XmImMbLookupString in -lXm" >&5 | 7730 echo "configure:7731: checking for XmImMbLookupString in -lXm" >&5 |
7875 ac_lib_var=`echo Xm'_'XmImMbLookupString | sed 'y%./+-%__p_%'` | 7731 ac_lib_var=`echo Xm'_'XmImMbLookupString | sed 'y%./+-%__p_%'` |
7876 | 7732 |
7877 xe_check_libs=" -lXm " | 7733 xe_check_libs=" -lXm " |
7878 cat > conftest.$ac_ext <<EOF | 7734 cat > conftest.$ac_ext <<EOF |
7879 #line 7880 "configure" | 7735 #line 7736 "configure" |
7880 #include "confdefs.h" | 7736 #include "confdefs.h" |
7881 /* Override any gcc2 internal prototype to avoid an error. */ | 7737 /* Override any gcc2 internal prototype to avoid an error. */ |
7882 /* We use char because int might match the return type of a gcc2 | 7738 /* We use char because int might match the return type of a gcc2 |
7883 builtin and then its argument prototype would still apply. */ | 7739 builtin and then its argument prototype would still apply. */ |
7884 char XmImMbLookupString(); | 7740 char XmImMbLookupString(); |
7885 | 7741 |
7886 int main() { | 7742 int main() { |
7887 XmImMbLookupString() | 7743 XmImMbLookupString() |
7888 ; return 0; } | 7744 ; return 0; } |
7889 EOF | 7745 EOF |
7890 if { (eval echo configure:7891: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7746 if { (eval echo configure:7747: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
7891 rm -rf conftest* | 7747 rm -rf conftest* |
7892 eval "ac_cv_lib_$ac_lib_var=yes" | 7748 eval "ac_cv_lib_$ac_lib_var=yes" |
7893 else | 7749 else |
7894 echo "configure: failed program was:" >&5 | 7750 echo "configure: failed program was:" >&5 |
7895 cat conftest.$ac_ext >&5 | 7751 cat conftest.$ac_ext >&5 |
7950 fi | 7806 fi |
7951 fi | 7807 fi |
7952 | 7808 |
7953 if test "$with_xfs" = "yes" ; then | 7809 if test "$with_xfs" = "yes" ; then |
7954 echo "checking for XFontSet" 1>&6 | 7810 echo "checking for XFontSet" 1>&6 |
7955 echo "configure:7956: checking for XFontSet" >&5 | 7811 echo "configure:7812: checking for XFontSet" >&5 |
7956 | 7812 |
7957 echo $ac_n "checking for XmbDrawString in -lX11""... $ac_c" 1>&6 | 7813 echo $ac_n "checking for XmbDrawString in -lX11""... $ac_c" 1>&6 |
7958 echo "configure:7959: checking for XmbDrawString in -lX11" >&5 | 7814 echo "configure:7815: checking for XmbDrawString in -lX11" >&5 |
7959 ac_lib_var=`echo X11'_'XmbDrawString | sed 'y%./+-%__p_%'` | 7815 ac_lib_var=`echo X11'_'XmbDrawString | sed 'y%./+-%__p_%'` |
7960 | 7816 |
7961 xe_check_libs=" -lX11 " | 7817 xe_check_libs=" -lX11 " |
7962 cat > conftest.$ac_ext <<EOF | 7818 cat > conftest.$ac_ext <<EOF |
7963 #line 7964 "configure" | 7819 #line 7820 "configure" |
7964 #include "confdefs.h" | 7820 #include "confdefs.h" |
7965 /* Override any gcc2 internal prototype to avoid an error. */ | 7821 /* Override any gcc2 internal prototype to avoid an error. */ |
7966 /* We use char because int might match the return type of a gcc2 | 7822 /* We use char because int might match the return type of a gcc2 |
7967 builtin and then its argument prototype would still apply. */ | 7823 builtin and then its argument prototype would still apply. */ |
7968 char XmbDrawString(); | 7824 char XmbDrawString(); |
7969 | 7825 |
7970 int main() { | 7826 int main() { |
7971 XmbDrawString() | 7827 XmbDrawString() |
7972 ; return 0; } | 7828 ; return 0; } |
7973 EOF | 7829 EOF |
7974 if { (eval echo configure:7975: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7830 if { (eval echo configure:7831: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
7975 rm -rf conftest* | 7831 rm -rf conftest* |
7976 eval "ac_cv_lib_$ac_lib_var=yes" | 7832 eval "ac_cv_lib_$ac_lib_var=yes" |
7977 else | 7833 else |
7978 echo "configure: failed program was:" >&5 | 7834 echo "configure: failed program was:" >&5 |
7979 cat conftest.$ac_ext >&5 | 7835 cat conftest.$ac_ext >&5 |
8009 fi | 7865 fi |
8010 fi | 7866 fi |
8011 test "$with_wnn6" = "yes" && with_wnn=yes # wnn6 implies wnn support | 7867 test "$with_wnn6" = "yes" && with_wnn=yes # wnn6 implies wnn support |
8012 test -z "$with_wnn" && { ac_safe=`echo "wnn/jllib.h" | sed 'y%./+-%__p_%'` | 7868 test -z "$with_wnn" && { ac_safe=`echo "wnn/jllib.h" | sed 'y%./+-%__p_%'` |
8013 echo $ac_n "checking for wnn/jllib.h""... $ac_c" 1>&6 | 7869 echo $ac_n "checking for wnn/jllib.h""... $ac_c" 1>&6 |
8014 echo "configure:8015: checking for wnn/jllib.h" >&5 | 7870 echo "configure:7871: checking for wnn/jllib.h" >&5 |
8015 | 7871 |
8016 cat > conftest.$ac_ext <<EOF | 7872 cat > conftest.$ac_ext <<EOF |
8017 #line 8018 "configure" | 7873 #line 7874 "configure" |
8018 #include "confdefs.h" | 7874 #include "confdefs.h" |
8019 #include <wnn/jllib.h> | 7875 #include <wnn/jllib.h> |
8020 EOF | 7876 EOF |
8021 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7877 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8022 { (eval echo configure:8023: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7878 { (eval echo configure:7879: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8023 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 7879 ac_err=`grep -v '^ *+' conftest.out` |
8024 if test -z "$ac_err"; then | 7880 if test -z "$ac_err"; then |
8025 rm -rf conftest* | 7881 rm -rf conftest* |
8026 eval "ac_cv_header_$ac_safe=yes" | 7882 eval "ac_cv_header_$ac_safe=yes" |
8027 else | 7883 else |
8028 echo "$ac_err" >&5 | 7884 echo "$ac_err" >&5 |
8042 } | 7898 } |
8043 if test "$with_wnn" != "no"; then | 7899 if test "$with_wnn" != "no"; then |
8044 for ac_func in crypt | 7900 for ac_func in crypt |
8045 do | 7901 do |
8046 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 7902 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
8047 echo "configure:8048: checking for $ac_func" >&5 | 7903 echo "configure:7904: checking for $ac_func" >&5 |
8048 | 7904 |
8049 cat > conftest.$ac_ext <<EOF | 7905 cat > conftest.$ac_ext <<EOF |
8050 #line 8051 "configure" | 7906 #line 7907 "configure" |
8051 #include "confdefs.h" | 7907 #include "confdefs.h" |
8052 /* System header to define __stub macros and hopefully few prototypes, | 7908 /* System header to define __stub macros and hopefully few prototypes, |
8053 which can conflict with char $ac_func(); below. */ | 7909 which can conflict with char $ac_func(); below. */ |
8054 #include <assert.h> | 7910 #include <assert.h> |
8055 /* Override any gcc2 internal prototype to avoid an error. */ | 7911 /* Override any gcc2 internal prototype to avoid an error. */ |
8068 $ac_func(); | 7924 $ac_func(); |
8069 #endif | 7925 #endif |
8070 | 7926 |
8071 ; return 0; } | 7927 ; return 0; } |
8072 EOF | 7928 EOF |
8073 if { (eval echo configure:8074: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7929 if { (eval echo configure:7930: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
8074 rm -rf conftest* | 7930 rm -rf conftest* |
8075 eval "ac_cv_func_$ac_func=yes" | 7931 eval "ac_cv_func_$ac_func=yes" |
8076 else | 7932 else |
8077 echo "configure: failed program was:" >&5 | 7933 echo "configure: failed program was:" >&5 |
8078 cat conftest.$ac_ext >&5 | 7934 cat conftest.$ac_ext >&5 |
8097 fi | 7953 fi |
8098 done | 7954 done |
8099 | 7955 |
8100 test "$ac_cv_func_crypt" != "yes" && { | 7956 test "$ac_cv_func_crypt" != "yes" && { |
8101 echo $ac_n "checking for crypt in -lcrypt""... $ac_c" 1>&6 | 7957 echo $ac_n "checking for crypt in -lcrypt""... $ac_c" 1>&6 |
8102 echo "configure:8103: checking for crypt in -lcrypt" >&5 | 7958 echo "configure:7959: checking for crypt in -lcrypt" >&5 |
8103 ac_lib_var=`echo crypt'_'crypt | sed 'y%./+-%__p_%'` | 7959 ac_lib_var=`echo crypt'_'crypt | sed 'y%./+-%__p_%'` |
8104 | 7960 |
8105 xe_check_libs=" -lcrypt " | 7961 xe_check_libs=" -lcrypt " |
8106 cat > conftest.$ac_ext <<EOF | 7962 cat > conftest.$ac_ext <<EOF |
8107 #line 8108 "configure" | 7963 #line 7964 "configure" |
8108 #include "confdefs.h" | 7964 #include "confdefs.h" |
8109 /* Override any gcc2 internal prototype to avoid an error. */ | 7965 /* Override any gcc2 internal prototype to avoid an error. */ |
8110 /* We use char because int might match the return type of a gcc2 | 7966 /* We use char because int might match the return type of a gcc2 |
8111 builtin and then its argument prototype would still apply. */ | 7967 builtin and then its argument prototype would still apply. */ |
8112 char crypt(); | 7968 char crypt(); |
8113 | 7969 |
8114 int main() { | 7970 int main() { |
8115 crypt() | 7971 crypt() |
8116 ; return 0; } | 7972 ; return 0; } |
8117 EOF | 7973 EOF |
8118 if { (eval echo configure:8119: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7974 if { (eval echo configure:7975: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
8119 rm -rf conftest* | 7975 rm -rf conftest* |
8120 eval "ac_cv_lib_$ac_lib_var=yes" | 7976 eval "ac_cv_lib_$ac_lib_var=yes" |
8121 else | 7977 else |
8122 echo "configure: failed program was:" >&5 | 7978 echo "configure: failed program was:" >&5 |
8123 cat conftest.$ac_ext >&5 | 7979 cat conftest.$ac_ext >&5 |
8148 } | 8004 } |
8149 fi | 8005 fi |
8150 if test -z "$with_wnn" -o "$with_wnn" = "yes"; then | 8006 if test -z "$with_wnn" -o "$with_wnn" = "yes"; then |
8151 | 8007 |
8152 echo $ac_n "checking for jl_dic_list_e in -lwnn""... $ac_c" 1>&6 | 8008 echo $ac_n "checking for jl_dic_list_e in -lwnn""... $ac_c" 1>&6 |
8153 echo "configure:8154: checking for jl_dic_list_e in -lwnn" >&5 | 8009 echo "configure:8010: checking for jl_dic_list_e in -lwnn" >&5 |
8154 ac_lib_var=`echo wnn'_'jl_dic_list_e | sed 'y%./+-%__p_%'` | 8010 ac_lib_var=`echo wnn'_'jl_dic_list_e | sed 'y%./+-%__p_%'` |
8155 | 8011 |
8156 xe_check_libs=" -lwnn " | 8012 xe_check_libs=" -lwnn " |
8157 cat > conftest.$ac_ext <<EOF | 8013 cat > conftest.$ac_ext <<EOF |
8158 #line 8159 "configure" | 8014 #line 8015 "configure" |
8159 #include "confdefs.h" | 8015 #include "confdefs.h" |
8160 /* Override any gcc2 internal prototype to avoid an error. */ | 8016 /* Override any gcc2 internal prototype to avoid an error. */ |
8161 /* We use char because int might match the return type of a gcc2 | 8017 /* We use char because int might match the return type of a gcc2 |
8162 builtin and then its argument prototype would still apply. */ | 8018 builtin and then its argument prototype would still apply. */ |
8163 char jl_dic_list_e(); | 8019 char jl_dic_list_e(); |
8164 | 8020 |
8165 int main() { | 8021 int main() { |
8166 jl_dic_list_e() | 8022 jl_dic_list_e() |
8167 ; return 0; } | 8023 ; return 0; } |
8168 EOF | 8024 EOF |
8169 if { (eval echo configure:8170: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8025 if { (eval echo configure:8026: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
8170 rm -rf conftest* | 8026 rm -rf conftest* |
8171 eval "ac_cv_lib_$ac_lib_var=yes" | 8027 eval "ac_cv_lib_$ac_lib_var=yes" |
8172 else | 8028 else |
8173 echo "configure: failed program was:" >&5 | 8029 echo "configure: failed program was:" >&5 |
8174 cat conftest.$ac_ext >&5 | 8030 cat conftest.$ac_ext >&5 |
8182 echo "$ac_t""yes" 1>&6 | 8038 echo "$ac_t""yes" 1>&6 |
8183 libwnn=wnn | 8039 libwnn=wnn |
8184 else | 8040 else |
8185 echo "$ac_t""no" 1>&6 | 8041 echo "$ac_t""no" 1>&6 |
8186 echo $ac_n "checking for jl_dic_list_e in -lwnn4""... $ac_c" 1>&6 | 8042 echo $ac_n "checking for jl_dic_list_e in -lwnn4""... $ac_c" 1>&6 |
8187 echo "configure:8188: checking for jl_dic_list_e in -lwnn4" >&5 | 8043 echo "configure:8044: checking for jl_dic_list_e in -lwnn4" >&5 |
8188 ac_lib_var=`echo wnn4'_'jl_dic_list_e | sed 'y%./+-%__p_%'` | 8044 ac_lib_var=`echo wnn4'_'jl_dic_list_e | sed 'y%./+-%__p_%'` |
8189 | 8045 |
8190 xe_check_libs=" -lwnn4 " | 8046 xe_check_libs=" -lwnn4 " |
8191 cat > conftest.$ac_ext <<EOF | 8047 cat > conftest.$ac_ext <<EOF |
8192 #line 8193 "configure" | 8048 #line 8049 "configure" |
8193 #include "confdefs.h" | 8049 #include "confdefs.h" |
8194 /* Override any gcc2 internal prototype to avoid an error. */ | 8050 /* Override any gcc2 internal prototype to avoid an error. */ |
8195 /* We use char because int might match the return type of a gcc2 | 8051 /* We use char because int might match the return type of a gcc2 |
8196 builtin and then its argument prototype would still apply. */ | 8052 builtin and then its argument prototype would still apply. */ |
8197 char jl_dic_list_e(); | 8053 char jl_dic_list_e(); |
8198 | 8054 |
8199 int main() { | 8055 int main() { |
8200 jl_dic_list_e() | 8056 jl_dic_list_e() |
8201 ; return 0; } | 8057 ; return 0; } |
8202 EOF | 8058 EOF |
8203 if { (eval echo configure:8204: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8059 if { (eval echo configure:8060: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
8204 rm -rf conftest* | 8060 rm -rf conftest* |
8205 eval "ac_cv_lib_$ac_lib_var=yes" | 8061 eval "ac_cv_lib_$ac_lib_var=yes" |
8206 else | 8062 else |
8207 echo "configure: failed program was:" >&5 | 8063 echo "configure: failed program was:" >&5 |
8208 cat conftest.$ac_ext >&5 | 8064 cat conftest.$ac_ext >&5 |
8216 echo "$ac_t""yes" 1>&6 | 8072 echo "$ac_t""yes" 1>&6 |
8217 libwnn=wnn4 | 8073 libwnn=wnn4 |
8218 else | 8074 else |
8219 echo "$ac_t""no" 1>&6 | 8075 echo "$ac_t""no" 1>&6 |
8220 echo $ac_n "checking for jl_dic_list_e in -lwnn6""... $ac_c" 1>&6 | 8076 echo $ac_n "checking for jl_dic_list_e in -lwnn6""... $ac_c" 1>&6 |
8221 echo "configure:8222: checking for jl_dic_list_e in -lwnn6" >&5 | 8077 echo "configure:8078: checking for jl_dic_list_e in -lwnn6" >&5 |
8222 ac_lib_var=`echo wnn6'_'jl_dic_list_e | sed 'y%./+-%__p_%'` | 8078 ac_lib_var=`echo wnn6'_'jl_dic_list_e | sed 'y%./+-%__p_%'` |
8223 | 8079 |
8224 xe_check_libs=" -lwnn6 " | 8080 xe_check_libs=" -lwnn6 " |
8225 cat > conftest.$ac_ext <<EOF | 8081 cat > conftest.$ac_ext <<EOF |
8226 #line 8227 "configure" | 8082 #line 8083 "configure" |
8227 #include "confdefs.h" | 8083 #include "confdefs.h" |
8228 /* Override any gcc2 internal prototype to avoid an error. */ | 8084 /* Override any gcc2 internal prototype to avoid an error. */ |
8229 /* We use char because int might match the return type of a gcc2 | 8085 /* We use char because int might match the return type of a gcc2 |
8230 builtin and then its argument prototype would still apply. */ | 8086 builtin and then its argument prototype would still apply. */ |
8231 char jl_dic_list_e(); | 8087 char jl_dic_list_e(); |
8232 | 8088 |
8233 int main() { | 8089 int main() { |
8234 jl_dic_list_e() | 8090 jl_dic_list_e() |
8235 ; return 0; } | 8091 ; return 0; } |
8236 EOF | 8092 EOF |
8237 if { (eval echo configure:8238: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8093 if { (eval echo configure:8094: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
8238 rm -rf conftest* | 8094 rm -rf conftest* |
8239 eval "ac_cv_lib_$ac_lib_var=yes" | 8095 eval "ac_cv_lib_$ac_lib_var=yes" |
8240 else | 8096 else |
8241 echo "configure: failed program was:" >&5 | 8097 echo "configure: failed program was:" >&5 |
8242 cat conftest.$ac_ext >&5 | 8098 cat conftest.$ac_ext >&5 |
8250 echo "$ac_t""yes" 1>&6 | 8106 echo "$ac_t""yes" 1>&6 |
8251 libwnn=wnn6 | 8107 libwnn=wnn6 |
8252 else | 8108 else |
8253 echo "$ac_t""no" 1>&6 | 8109 echo "$ac_t""no" 1>&6 |
8254 echo $ac_n "checking for dic_list_e in -lwnn6_fromsrc""... $ac_c" 1>&6 | 8110 echo $ac_n "checking for dic_list_e in -lwnn6_fromsrc""... $ac_c" 1>&6 |
8255 echo "configure:8256: checking for dic_list_e in -lwnn6_fromsrc" >&5 | 8111 echo "configure:8112: checking for dic_list_e in -lwnn6_fromsrc" >&5 |
8256 ac_lib_var=`echo wnn6_fromsrc'_'dic_list_e | sed 'y%./+-%__p_%'` | 8112 ac_lib_var=`echo wnn6_fromsrc'_'dic_list_e | sed 'y%./+-%__p_%'` |
8257 | 8113 |
8258 xe_check_libs=" -lwnn6_fromsrc " | 8114 xe_check_libs=" -lwnn6_fromsrc " |
8259 cat > conftest.$ac_ext <<EOF | 8115 cat > conftest.$ac_ext <<EOF |
8260 #line 8261 "configure" | 8116 #line 8117 "configure" |
8261 #include "confdefs.h" | 8117 #include "confdefs.h" |
8262 /* Override any gcc2 internal prototype to avoid an error. */ | 8118 /* Override any gcc2 internal prototype to avoid an error. */ |
8263 /* We use char because int might match the return type of a gcc2 | 8119 /* We use char because int might match the return type of a gcc2 |
8264 builtin and then its argument prototype would still apply. */ | 8120 builtin and then its argument prototype would still apply. */ |
8265 char dic_list_e(); | 8121 char dic_list_e(); |
8266 | 8122 |
8267 int main() { | 8123 int main() { |
8268 dic_list_e() | 8124 dic_list_e() |
8269 ; return 0; } | 8125 ; return 0; } |
8270 EOF | 8126 EOF |
8271 if { (eval echo configure:8272: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8127 if { (eval echo configure:8128: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
8272 rm -rf conftest* | 8128 rm -rf conftest* |
8273 eval "ac_cv_lib_$ac_lib_var=yes" | 8129 eval "ac_cv_lib_$ac_lib_var=yes" |
8274 else | 8130 else |
8275 echo "configure: failed program was:" >&5 | 8131 echo "configure: failed program was:" >&5 |
8276 cat conftest.$ac_ext >&5 | 8132 cat conftest.$ac_ext >&5 |
8314 echo " xemacs will be linked with \"mule-wnnfns.o\"" | 8170 echo " xemacs will be linked with \"mule-wnnfns.o\"" |
8315 fi | 8171 fi |
8316 if test "$with_wnn6" != "no"; then | 8172 if test "$with_wnn6" != "no"; then |
8317 | 8173 |
8318 echo $ac_n "checking for jl_fi_dic_list in -l$libwnn""... $ac_c" 1>&6 | 8174 echo $ac_n "checking for jl_fi_dic_list in -l$libwnn""... $ac_c" 1>&6 |
8319 echo "configure:8320: checking for jl_fi_dic_list in -l$libwnn" >&5 | 8175 echo "configure:8176: checking for jl_fi_dic_list in -l$libwnn" >&5 |
8320 ac_lib_var=`echo $libwnn'_'jl_fi_dic_list | sed 'y%./+-%__p_%'` | 8176 ac_lib_var=`echo $libwnn'_'jl_fi_dic_list | sed 'y%./+-%__p_%'` |
8321 | 8177 |
8322 xe_check_libs=" -l$libwnn " | 8178 xe_check_libs=" -l$libwnn " |
8323 cat > conftest.$ac_ext <<EOF | 8179 cat > conftest.$ac_ext <<EOF |
8324 #line 8325 "configure" | 8180 #line 8181 "configure" |
8325 #include "confdefs.h" | 8181 #include "confdefs.h" |
8326 /* Override any gcc2 internal prototype to avoid an error. */ | 8182 /* Override any gcc2 internal prototype to avoid an error. */ |
8327 /* We use char because int might match the return type of a gcc2 | 8183 /* We use char because int might match the return type of a gcc2 |
8328 builtin and then its argument prototype would still apply. */ | 8184 builtin and then its argument prototype would still apply. */ |
8329 char jl_fi_dic_list(); | 8185 char jl_fi_dic_list(); |
8330 | 8186 |
8331 int main() { | 8187 int main() { |
8332 jl_fi_dic_list() | 8188 jl_fi_dic_list() |
8333 ; return 0; } | 8189 ; return 0; } |
8334 EOF | 8190 EOF |
8335 if { (eval echo configure:8336: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8191 if { (eval echo configure:8192: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
8336 rm -rf conftest* | 8192 rm -rf conftest* |
8337 eval "ac_cv_lib_$ac_lib_var=yes" | 8193 eval "ac_cv_lib_$ac_lib_var=yes" |
8338 else | 8194 else |
8339 echo "configure: failed program was:" >&5 | 8195 echo "configure: failed program was:" >&5 |
8340 cat conftest.$ac_ext >&5 | 8196 cat conftest.$ac_ext >&5 |
8365 | 8221 |
8366 canna_includes_found=no | 8222 canna_includes_found=no |
8367 if test "$with_canna" != "no"; then | 8223 if test "$with_canna" != "no"; then |
8368 ac_safe=`echo "canna/jrkanji.h" | sed 'y%./+-%__p_%'` | 8224 ac_safe=`echo "canna/jrkanji.h" | sed 'y%./+-%__p_%'` |
8369 echo $ac_n "checking for canna/jrkanji.h""... $ac_c" 1>&6 | 8225 echo $ac_n "checking for canna/jrkanji.h""... $ac_c" 1>&6 |
8370 echo "configure:8371: checking for canna/jrkanji.h" >&5 | 8226 echo "configure:8227: checking for canna/jrkanji.h" >&5 |
8371 | 8227 |
8372 cat > conftest.$ac_ext <<EOF | 8228 cat > conftest.$ac_ext <<EOF |
8373 #line 8374 "configure" | 8229 #line 8230 "configure" |
8374 #include "confdefs.h" | 8230 #include "confdefs.h" |
8375 #include <canna/jrkanji.h> | 8231 #include <canna/jrkanji.h> |
8376 EOF | 8232 EOF |
8377 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8233 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8378 { (eval echo configure:8379: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8234 { (eval echo configure:8235: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8379 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 8235 ac_err=`grep -v '^ *+' conftest.out` |
8380 if test -z "$ac_err"; then | 8236 if test -z "$ac_err"; then |
8381 rm -rf conftest* | 8237 rm -rf conftest* |
8382 eval "ac_cv_header_$ac_safe=yes" | 8238 eval "ac_cv_header_$ac_safe=yes" |
8383 else | 8239 else |
8384 echo "$ac_err" >&5 | 8240 echo "$ac_err" >&5 |
8400 -d "/usr/local/canna/include"; then | 8256 -d "/usr/local/canna/include"; then |
8401 save_c_switch_site="$c_switch_site" | 8257 save_c_switch_site="$c_switch_site" |
8402 c_switch_site="$c_switch_site -I/usr/local/canna/include" | 8258 c_switch_site="$c_switch_site -I/usr/local/canna/include" |
8403 ac_safe=`echo "canna/jrkanji.h" | sed 'y%./+-%__p_%'` | 8259 ac_safe=`echo "canna/jrkanji.h" | sed 'y%./+-%__p_%'` |
8404 echo $ac_n "checking for canna/jrkanji.h""... $ac_c" 1>&6 | 8260 echo $ac_n "checking for canna/jrkanji.h""... $ac_c" 1>&6 |
8405 echo "configure:8406: checking for canna/jrkanji.h" >&5 | 8261 echo "configure:8262: checking for canna/jrkanji.h" >&5 |
8406 | 8262 |
8407 cat > conftest.$ac_ext <<EOF | 8263 cat > conftest.$ac_ext <<EOF |
8408 #line 8409 "configure" | 8264 #line 8265 "configure" |
8409 #include "confdefs.h" | 8265 #include "confdefs.h" |
8410 #include <canna/jrkanji.h> | 8266 #include <canna/jrkanji.h> |
8411 EOF | 8267 EOF |
8412 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8268 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8413 { (eval echo configure:8414: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8269 { (eval echo configure:8270: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8414 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 8270 ac_err=`grep -v '^ *+' conftest.out` |
8415 if test -z "$ac_err"; then | 8271 if test -z "$ac_err"; then |
8416 rm -rf conftest* | 8272 rm -rf conftest* |
8417 eval "ac_cv_header_$ac_safe=yes" | 8273 eval "ac_cv_header_$ac_safe=yes" |
8418 else | 8274 else |
8419 echo "$ac_err" >&5 | 8275 echo "$ac_err" >&5 |
8436 fi | 8292 fi |
8437 fi | 8293 fi |
8438 | 8294 |
8439 test -z "$with_canna" && { ac_safe=`echo "canna/RK.h" | sed 'y%./+-%__p_%'` | 8295 test -z "$with_canna" && { ac_safe=`echo "canna/RK.h" | sed 'y%./+-%__p_%'` |
8440 echo $ac_n "checking for canna/RK.h""... $ac_c" 1>&6 | 8296 echo $ac_n "checking for canna/RK.h""... $ac_c" 1>&6 |
8441 echo "configure:8442: checking for canna/RK.h" >&5 | 8297 echo "configure:8298: checking for canna/RK.h" >&5 |
8442 | 8298 |
8443 cat > conftest.$ac_ext <<EOF | 8299 cat > conftest.$ac_ext <<EOF |
8444 #line 8445 "configure" | 8300 #line 8301 "configure" |
8445 #include "confdefs.h" | 8301 #include "confdefs.h" |
8446 #include <canna/RK.h> | 8302 #include <canna/RK.h> |
8447 EOF | 8303 EOF |
8448 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8304 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8449 { (eval echo configure:8450: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8305 { (eval echo configure:8306: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8450 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 8306 ac_err=`grep -v '^ *+' conftest.out` |
8451 if test -z "$ac_err"; then | 8307 if test -z "$ac_err"; then |
8452 rm -rf conftest* | 8308 rm -rf conftest* |
8453 eval "ac_cv_header_$ac_safe=yes" | 8309 eval "ac_cv_header_$ac_safe=yes" |
8454 else | 8310 else |
8455 echo "$ac_err" >&5 | 8311 echo "$ac_err" >&5 |
8467 with_canna=no | 8323 with_canna=no |
8468 fi | 8324 fi |
8469 } | 8325 } |
8470 test -z "$with_canna" && { | 8326 test -z "$with_canna" && { |
8471 echo $ac_n "checking for RkBgnBun in -lRKC""... $ac_c" 1>&6 | 8327 echo $ac_n "checking for RkBgnBun in -lRKC""... $ac_c" 1>&6 |
8472 echo "configure:8473: checking for RkBgnBun in -lRKC" >&5 | 8328 echo "configure:8329: checking for RkBgnBun in -lRKC" >&5 |
8473 ac_lib_var=`echo RKC'_'RkBgnBun | sed 'y%./+-%__p_%'` | 8329 ac_lib_var=`echo RKC'_'RkBgnBun | sed 'y%./+-%__p_%'` |
8474 | 8330 |
8475 xe_check_libs=" -lRKC " | 8331 xe_check_libs=" -lRKC " |
8476 cat > conftest.$ac_ext <<EOF | 8332 cat > conftest.$ac_ext <<EOF |
8477 #line 8478 "configure" | 8333 #line 8334 "configure" |
8478 #include "confdefs.h" | 8334 #include "confdefs.h" |
8479 /* Override any gcc2 internal prototype to avoid an error. */ | 8335 /* Override any gcc2 internal prototype to avoid an error. */ |
8480 /* We use char because int might match the return type of a gcc2 | 8336 /* We use char because int might match the return type of a gcc2 |
8481 builtin and then its argument prototype would still apply. */ | 8337 builtin and then its argument prototype would still apply. */ |
8482 char RkBgnBun(); | 8338 char RkBgnBun(); |
8483 | 8339 |
8484 int main() { | 8340 int main() { |
8485 RkBgnBun() | 8341 RkBgnBun() |
8486 ; return 0; } | 8342 ; return 0; } |
8487 EOF | 8343 EOF |
8488 if { (eval echo configure:8489: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8344 if { (eval echo configure:8345: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
8489 rm -rf conftest* | 8345 rm -rf conftest* |
8490 eval "ac_cv_lib_$ac_lib_var=yes" | 8346 eval "ac_cv_lib_$ac_lib_var=yes" |
8491 else | 8347 else |
8492 echo "configure: failed program was:" >&5 | 8348 echo "configure: failed program was:" >&5 |
8493 cat conftest.$ac_ext >&5 | 8349 cat conftest.$ac_ext >&5 |
8506 fi | 8362 fi |
8507 | 8363 |
8508 } | 8364 } |
8509 test -z "$with_canna" && { | 8365 test -z "$with_canna" && { |
8510 echo $ac_n "checking for jrKanjiControl in -lcanna""... $ac_c" 1>&6 | 8366 echo $ac_n "checking for jrKanjiControl in -lcanna""... $ac_c" 1>&6 |
8511 echo "configure:8512: checking for jrKanjiControl in -lcanna" >&5 | 8367 echo "configure:8368: checking for jrKanjiControl in -lcanna" >&5 |
8512 ac_lib_var=`echo canna'_'jrKanjiControl | sed 'y%./+-%__p_%'` | 8368 ac_lib_var=`echo canna'_'jrKanjiControl | sed 'y%./+-%__p_%'` |
8513 | 8369 |
8514 xe_check_libs=" -lcanna " | 8370 xe_check_libs=" -lcanna " |
8515 cat > conftest.$ac_ext <<EOF | 8371 cat > conftest.$ac_ext <<EOF |
8516 #line 8517 "configure" | 8372 #line 8373 "configure" |
8517 #include "confdefs.h" | 8373 #include "confdefs.h" |
8518 /* Override any gcc2 internal prototype to avoid an error. */ | 8374 /* Override any gcc2 internal prototype to avoid an error. */ |
8519 /* We use char because int might match the return type of a gcc2 | 8375 /* We use char because int might match the return type of a gcc2 |
8520 builtin and then its argument prototype would still apply. */ | 8376 builtin and then its argument prototype would still apply. */ |
8521 char jrKanjiControl(); | 8377 char jrKanjiControl(); |
8522 | 8378 |
8523 int main() { | 8379 int main() { |
8524 jrKanjiControl() | 8380 jrKanjiControl() |
8525 ; return 0; } | 8381 ; return 0; } |
8526 EOF | 8382 EOF |
8527 if { (eval echo configure:8528: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8383 if { (eval echo configure:8384: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
8528 rm -rf conftest* | 8384 rm -rf conftest* |
8529 eval "ac_cv_lib_$ac_lib_var=yes" | 8385 eval "ac_cv_lib_$ac_lib_var=yes" |
8530 else | 8386 else |
8531 echo "configure: failed program was:" >&5 | 8387 echo "configure: failed program was:" >&5 |
8532 cat conftest.$ac_ext >&5 | 8388 cat conftest.$ac_ext >&5 |
8571 | 8427 |
8572 if test "$need_motif" = "yes" ; then | 8428 if test "$need_motif" = "yes" ; then |
8573 libs_x="-lXm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXm\" to \$libs_x"; fi | 8429 libs_x="-lXm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXm\" to \$libs_x"; fi |
8574 | 8430 |
8575 echo $ac_n "checking for layout_object_getvalue in -li18n""... $ac_c" 1>&6 | 8431 echo $ac_n "checking for layout_object_getvalue in -li18n""... $ac_c" 1>&6 |
8576 echo "configure:8577: checking for layout_object_getvalue in -li18n" >&5 | 8432 echo "configure:8433: checking for layout_object_getvalue in -li18n" >&5 |
8577 ac_lib_var=`echo i18n'_'layout_object_getvalue | sed 'y%./+-%__p_%'` | 8433 ac_lib_var=`echo i18n'_'layout_object_getvalue | sed 'y%./+-%__p_%'` |
8578 | 8434 |
8579 xe_check_libs=" -li18n " | 8435 xe_check_libs=" -li18n " |
8580 cat > conftest.$ac_ext <<EOF | 8436 cat > conftest.$ac_ext <<EOF |
8581 #line 8582 "configure" | 8437 #line 8438 "configure" |
8582 #include "confdefs.h" | 8438 #include "confdefs.h" |
8583 /* Override any gcc2 internal prototype to avoid an error. */ | 8439 /* Override any gcc2 internal prototype to avoid an error. */ |
8584 /* We use char because int might match the return type of a gcc2 | 8440 /* We use char because int might match the return type of a gcc2 |
8585 builtin and then its argument prototype would still apply. */ | 8441 builtin and then its argument prototype would still apply. */ |
8586 char layout_object_getvalue(); | 8442 char layout_object_getvalue(); |
8587 | 8443 |
8588 int main() { | 8444 int main() { |
8589 layout_object_getvalue() | 8445 layout_object_getvalue() |
8590 ; return 0; } | 8446 ; return 0; } |
8591 EOF | 8447 EOF |
8592 if { (eval echo configure:8593: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8448 if { (eval echo configure:8449: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
8593 rm -rf conftest* | 8449 rm -rf conftest* |
8594 eval "ac_cv_lib_$ac_lib_var=yes" | 8450 eval "ac_cv_lib_$ac_lib_var=yes" |
8595 else | 8451 else |
8596 echo "configure: failed program was:" >&5 | 8452 echo "configure: failed program was:" >&5 |
8597 cat conftest.$ac_ext >&5 | 8453 cat conftest.$ac_ext >&5 |
8673 fi | 8529 fi |
8674 | 8530 |
8675 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 | 8531 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 |
8676 do | 8532 do |
8677 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 8533 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
8678 echo "configure:8679: checking for $ac_func" >&5 | 8534 echo "configure:8535: checking for $ac_func" >&5 |
8679 | 8535 |
8680 cat > conftest.$ac_ext <<EOF | 8536 cat > conftest.$ac_ext <<EOF |
8681 #line 8682 "configure" | 8537 #line 8538 "configure" |
8682 #include "confdefs.h" | 8538 #include "confdefs.h" |
8683 /* System header to define __stub macros and hopefully few prototypes, | 8539 /* System header to define __stub macros and hopefully few prototypes, |
8684 which can conflict with char $ac_func(); below. */ | 8540 which can conflict with char $ac_func(); below. */ |
8685 #include <assert.h> | 8541 #include <assert.h> |
8686 /* Override any gcc2 internal prototype to avoid an error. */ | 8542 /* Override any gcc2 internal prototype to avoid an error. */ |
8699 $ac_func(); | 8555 $ac_func(); |
8700 #endif | 8556 #endif |
8701 | 8557 |
8702 ; return 0; } | 8558 ; return 0; } |
8703 EOF | 8559 EOF |
8704 if { (eval echo configure:8705: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8560 if { (eval echo configure:8561: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
8705 rm -rf conftest* | 8561 rm -rf conftest* |
8706 eval "ac_cv_func_$ac_func=yes" | 8562 eval "ac_cv_func_$ac_func=yes" |
8707 else | 8563 else |
8708 echo "configure: failed program was:" >&5 | 8564 echo "configure: failed program was:" >&5 |
8709 cat conftest.$ac_ext >&5 | 8565 cat conftest.$ac_ext >&5 |
8740 echo " xemacs will be linked with \"realpath.o\"" | 8596 echo " xemacs will be linked with \"realpath.o\"" |
8741 fi ;; | 8597 fi ;; |
8742 * ) for ac_func in realpath | 8598 * ) for ac_func in realpath |
8743 do | 8599 do |
8744 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 8600 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
8745 echo "configure:8746: checking for $ac_func" >&5 | 8601 echo "configure:8602: checking for $ac_func" >&5 |
8746 | 8602 |
8747 cat > conftest.$ac_ext <<EOF | 8603 cat > conftest.$ac_ext <<EOF |
8748 #line 8749 "configure" | 8604 #line 8605 "configure" |
8749 #include "confdefs.h" | 8605 #include "confdefs.h" |
8750 /* System header to define __stub macros and hopefully few prototypes, | 8606 /* System header to define __stub macros and hopefully few prototypes, |
8751 which can conflict with char $ac_func(); below. */ | 8607 which can conflict with char $ac_func(); below. */ |
8752 #include <assert.h> | 8608 #include <assert.h> |
8753 /* Override any gcc2 internal prototype to avoid an error. */ | 8609 /* Override any gcc2 internal prototype to avoid an error. */ |
8766 $ac_func(); | 8622 $ac_func(); |
8767 #endif | 8623 #endif |
8768 | 8624 |
8769 ; return 0; } | 8625 ; return 0; } |
8770 EOF | 8626 EOF |
8771 if { (eval echo configure:8772: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8627 if { (eval echo configure:8628: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
8772 rm -rf conftest* | 8628 rm -rf conftest* |
8773 eval "ac_cv_func_$ac_func=yes" | 8629 eval "ac_cv_func_$ac_func=yes" |
8774 else | 8630 else |
8775 echo "configure: failed program was:" >&5 | 8631 echo "configure: failed program was:" >&5 |
8776 cat conftest.$ac_ext >&5 | 8632 cat conftest.$ac_ext >&5 |
8802 esac | 8658 esac |
8803 | 8659 |
8804 for ac_func in getloadavg | 8660 for ac_func in getloadavg |
8805 do | 8661 do |
8806 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 8662 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
8807 echo "configure:8808: checking for $ac_func" >&5 | 8663 echo "configure:8664: checking for $ac_func" >&5 |
8808 | 8664 |
8809 cat > conftest.$ac_ext <<EOF | 8665 cat > conftest.$ac_ext <<EOF |
8810 #line 8811 "configure" | 8666 #line 8667 "configure" |
8811 #include "confdefs.h" | 8667 #include "confdefs.h" |
8812 /* System header to define __stub macros and hopefully few prototypes, | 8668 /* System header to define __stub macros and hopefully few prototypes, |
8813 which can conflict with char $ac_func(); below. */ | 8669 which can conflict with char $ac_func(); below. */ |
8814 #include <assert.h> | 8670 #include <assert.h> |
8815 /* Override any gcc2 internal prototype to avoid an error. */ | 8671 /* Override any gcc2 internal prototype to avoid an error. */ |
8828 $ac_func(); | 8684 $ac_func(); |
8829 #endif | 8685 #endif |
8830 | 8686 |
8831 ; return 0; } | 8687 ; return 0; } |
8832 EOF | 8688 EOF |
8833 if { (eval echo configure:8834: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8689 if { (eval echo configure:8690: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
8834 rm -rf conftest* | 8690 rm -rf conftest* |
8835 eval "ac_cv_func_$ac_func=yes" | 8691 eval "ac_cv_func_$ac_func=yes" |
8836 else | 8692 else |
8837 echo "configure: failed program was:" >&5 | 8693 echo "configure: failed program was:" >&5 |
8838 cat conftest.$ac_ext >&5 | 8694 cat conftest.$ac_ext >&5 |
8864 echo " xemacs will be linked with \"getloadavg.o\"" | 8720 echo " xemacs will be linked with \"getloadavg.o\"" |
8865 fi | 8721 fi |
8866 | 8722 |
8867 | 8723 |
8868 echo $ac_n "checking for kstat_open in -lkstat""... $ac_c" 1>&6 | 8724 echo $ac_n "checking for kstat_open in -lkstat""... $ac_c" 1>&6 |
8869 echo "configure:8870: checking for kstat_open in -lkstat" >&5 | 8725 echo "configure:8726: checking for kstat_open in -lkstat" >&5 |
8870 ac_lib_var=`echo kstat'_'kstat_open | sed 'y%./+-%__p_%'` | 8726 ac_lib_var=`echo kstat'_'kstat_open | sed 'y%./+-%__p_%'` |
8871 | 8727 |
8872 xe_check_libs=" -lkstat " | 8728 xe_check_libs=" -lkstat " |
8873 cat > conftest.$ac_ext <<EOF | 8729 cat > conftest.$ac_ext <<EOF |
8874 #line 8875 "configure" | 8730 #line 8731 "configure" |
8875 #include "confdefs.h" | 8731 #include "confdefs.h" |
8876 /* Override any gcc2 internal prototype to avoid an error. */ | 8732 /* Override any gcc2 internal prototype to avoid an error. */ |
8877 /* We use char because int might match the return type of a gcc2 | 8733 /* We use char because int might match the return type of a gcc2 |
8878 builtin and then its argument prototype would still apply. */ | 8734 builtin and then its argument prototype would still apply. */ |
8879 char kstat_open(); | 8735 char kstat_open(); |
8880 | 8736 |
8881 int main() { | 8737 int main() { |
8882 kstat_open() | 8738 kstat_open() |
8883 ; return 0; } | 8739 ; return 0; } |
8884 EOF | 8740 EOF |
8885 if { (eval echo configure:8886: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8741 if { (eval echo configure:8742: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
8886 rm -rf conftest* | 8742 rm -rf conftest* |
8887 eval "ac_cv_lib_$ac_lib_var=yes" | 8743 eval "ac_cv_lib_$ac_lib_var=yes" |
8888 else | 8744 else |
8889 echo "configure: failed program was:" >&5 | 8745 echo "configure: failed program was:" >&5 |
8890 cat conftest.$ac_ext >&5 | 8746 cat conftest.$ac_ext >&5 |
8914 | 8770 |
8915 | 8771 |
8916 | 8772 |
8917 | 8773 |
8918 echo $ac_n "checking for kvm_read in -lkvm""... $ac_c" 1>&6 | 8774 echo $ac_n "checking for kvm_read in -lkvm""... $ac_c" 1>&6 |
8919 echo "configure:8920: checking for kvm_read in -lkvm" >&5 | 8775 echo "configure:8776: checking for kvm_read in -lkvm" >&5 |
8920 ac_lib_var=`echo kvm'_'kvm_read | sed 'y%./+-%__p_%'` | 8776 ac_lib_var=`echo kvm'_'kvm_read | sed 'y%./+-%__p_%'` |
8921 | 8777 |
8922 xe_check_libs=" -lkvm " | 8778 xe_check_libs=" -lkvm " |
8923 cat > conftest.$ac_ext <<EOF | 8779 cat > conftest.$ac_ext <<EOF |
8924 #line 8925 "configure" | 8780 #line 8781 "configure" |
8925 #include "confdefs.h" | 8781 #include "confdefs.h" |
8926 /* Override any gcc2 internal prototype to avoid an error. */ | 8782 /* Override any gcc2 internal prototype to avoid an error. */ |
8927 /* We use char because int might match the return type of a gcc2 | 8783 /* We use char because int might match the return type of a gcc2 |
8928 builtin and then its argument prototype would still apply. */ | 8784 builtin and then its argument prototype would still apply. */ |
8929 char kvm_read(); | 8785 char kvm_read(); |
8930 | 8786 |
8931 int main() { | 8787 int main() { |
8932 kvm_read() | 8788 kvm_read() |
8933 ; return 0; } | 8789 ; return 0; } |
8934 EOF | 8790 EOF |
8935 if { (eval echo configure:8936: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8791 if { (eval echo configure:8792: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
8936 rm -rf conftest* | 8792 rm -rf conftest* |
8937 eval "ac_cv_lib_$ac_lib_var=yes" | 8793 eval "ac_cv_lib_$ac_lib_var=yes" |
8938 else | 8794 else |
8939 echo "configure: failed program was:" >&5 | 8795 echo "configure: failed program was:" >&5 |
8940 cat conftest.$ac_ext >&5 | 8796 cat conftest.$ac_ext >&5 |
8964 | 8820 |
8965 | 8821 |
8966 fi | 8822 fi |
8967 | 8823 |
8968 echo $ac_n "checking whether netdb declares h_errno""... $ac_c" 1>&6 | 8824 echo $ac_n "checking whether netdb declares h_errno""... $ac_c" 1>&6 |
8969 echo "configure:8970: checking whether netdb declares h_errno" >&5 | 8825 echo "configure:8826: checking whether netdb declares h_errno" >&5 |
8970 cat > conftest.$ac_ext <<EOF | 8826 cat > conftest.$ac_ext <<EOF |
8971 #line 8972 "configure" | 8827 #line 8828 "configure" |
8972 #include "confdefs.h" | 8828 #include "confdefs.h" |
8973 #include <netdb.h> | 8829 #include <netdb.h> |
8974 int main() { | 8830 int main() { |
8975 return h_errno; | 8831 return h_errno; |
8976 ; return 0; } | 8832 ; return 0; } |
8977 EOF | 8833 EOF |
8978 if { (eval echo configure:8979: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8834 if { (eval echo configure:8835: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
8979 rm -rf conftest* | 8835 rm -rf conftest* |
8980 echo "$ac_t""yes" 1>&6 | 8836 echo "$ac_t""yes" 1>&6 |
8981 { test "$extra_verbose" = "yes" && cat << \EOF | 8837 { test "$extra_verbose" = "yes" && cat << \EOF |
8982 Defining HAVE_H_ERRNO | 8838 Defining HAVE_H_ERRNO |
8983 EOF | 8839 EOF |
8993 echo "$ac_t""no" 1>&6 | 8849 echo "$ac_t""no" 1>&6 |
8994 fi | 8850 fi |
8995 rm -f conftest* | 8851 rm -f conftest* |
8996 | 8852 |
8997 echo $ac_n "checking for sigsetjmp""... $ac_c" 1>&6 | 8853 echo $ac_n "checking for sigsetjmp""... $ac_c" 1>&6 |
8998 echo "configure:8999: checking for sigsetjmp" >&5 | 8854 echo "configure:8855: checking for sigsetjmp" >&5 |
8999 cat > conftest.$ac_ext <<EOF | 8855 cat > conftest.$ac_ext <<EOF |
9000 #line 9001 "configure" | 8856 #line 8857 "configure" |
9001 #include "confdefs.h" | 8857 #include "confdefs.h" |
9002 #include <setjmp.h> | 8858 #include <setjmp.h> |
9003 int main() { | 8859 int main() { |
9004 sigjmp_buf bar; sigsetjmp (bar, 0); | 8860 sigjmp_buf bar; sigsetjmp (bar, 0); |
9005 ; return 0; } | 8861 ; return 0; } |
9006 EOF | 8862 EOF |
9007 if { (eval echo configure:9008: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 8863 if { (eval echo configure:8864: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
9008 rm -rf conftest* | 8864 rm -rf conftest* |
9009 echo "$ac_t""yes" 1>&6 | 8865 echo "$ac_t""yes" 1>&6 |
9010 { test "$extra_verbose" = "yes" && cat << \EOF | 8866 { test "$extra_verbose" = "yes" && cat << \EOF |
9011 Defining HAVE_SIGSETJMP | 8867 Defining HAVE_SIGSETJMP |
9012 EOF | 8868 EOF |
9022 echo "$ac_t""no" 1>&6 | 8878 echo "$ac_t""no" 1>&6 |
9023 fi | 8879 fi |
9024 rm -f conftest* | 8880 rm -f conftest* |
9025 | 8881 |
9026 echo $ac_n "checking whether localtime caches TZ""... $ac_c" 1>&6 | 8882 echo $ac_n "checking whether localtime caches TZ""... $ac_c" 1>&6 |
9027 echo "configure:9028: checking whether localtime caches TZ" >&5 | 8883 echo "configure:8884: checking whether localtime caches TZ" >&5 |
9028 | 8884 |
9029 if test "$ac_cv_func_tzset" = "yes"; then | 8885 if test "$ac_cv_func_tzset" = "yes"; then |
9030 cat > conftest.$ac_ext <<EOF | 8886 cat > conftest.$ac_ext <<EOF |
9031 #line 9032 "configure" | 8887 #line 8888 "configure" |
9032 #include "confdefs.h" | 8888 #include "confdefs.h" |
9033 #include <time.h> | 8889 #include <time.h> |
9034 #if STDC_HEADERS | 8890 #if STDC_HEADERS |
9035 # include <stdlib.h> | 8891 # include <stdlib.h> |
9036 #endif | 8892 #endif |
9061 if (localtime (&now)->tm_hour != hour_unset) | 8917 if (localtime (&now)->tm_hour != hour_unset) |
9062 exit (1); | 8918 exit (1); |
9063 exit (0); | 8919 exit (0); |
9064 } | 8920 } |
9065 EOF | 8921 EOF |
9066 if { (eval echo configure:9067: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 8922 if { (eval echo configure:8923: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
9067 then | 8923 then |
9068 emacs_cv_localtime_cache=no | 8924 emacs_cv_localtime_cache=no |
9069 else | 8925 else |
9070 conftest_rc="$?" | 8926 conftest_rc="$?" |
9071 echo "configure: failed program was:" >&5 | 8927 echo "configure: failed program was:" >&5 |
9091 | 8947 |
9092 fi | 8948 fi |
9093 | 8949 |
9094 if test "$HAVE_TIMEVAL" = "yes"; then | 8950 if test "$HAVE_TIMEVAL" = "yes"; then |
9095 echo $ac_n "checking whether gettimeofday accepts one or two arguments""... $ac_c" 1>&6 | 8951 echo $ac_n "checking whether gettimeofday accepts one or two arguments""... $ac_c" 1>&6 |
9096 echo "configure:9097: checking whether gettimeofday accepts one or two arguments" >&5 | 8952 echo "configure:8953: checking whether gettimeofday accepts one or two arguments" >&5 |
9097 cat > conftest.$ac_ext <<EOF | 8953 cat > conftest.$ac_ext <<EOF |
9098 #line 9099 "configure" | 8954 #line 8955 "configure" |
9099 #include "confdefs.h" | 8955 #include "confdefs.h" |
9100 | 8956 |
9101 #ifdef TIME_WITH_SYS_TIME | 8957 #ifdef TIME_WITH_SYS_TIME |
9102 #include <sys/time.h> | 8958 #include <sys/time.h> |
9103 #include <time.h> | 8959 #include <time.h> |
9115 struct timezone dummy; | 8971 struct timezone dummy; |
9116 gettimeofday (&time, &dummy); | 8972 gettimeofday (&time, &dummy); |
9117 | 8973 |
9118 ; return 0; } | 8974 ; return 0; } |
9119 EOF | 8975 EOF |
9120 if { (eval echo configure:9121: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8976 if { (eval echo configure:8977: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
9121 rm -rf conftest* | 8977 rm -rf conftest* |
9122 echo "$ac_t""two" 1>&6 | 8978 echo "$ac_t""two" 1>&6 |
9123 else | 8979 else |
9124 echo "configure: failed program was:" >&5 | 8980 echo "configure: failed program was:" >&5 |
9125 cat conftest.$ac_ext >&5 | 8981 cat conftest.$ac_ext >&5 |
9137 rm -f conftest* | 8993 rm -f conftest* |
9138 fi | 8994 fi |
9139 | 8995 |
9140 | 8996 |
9141 echo $ac_n "checking for inline""... $ac_c" 1>&6 | 8997 echo $ac_n "checking for inline""... $ac_c" 1>&6 |
9142 echo "configure:9143: checking for inline" >&5 | 8998 echo "configure:8999: checking for inline" >&5 |
9143 | 8999 |
9144 ac_cv_c_inline=no | 9000 ac_cv_c_inline=no |
9145 for ac_kw in inline __inline__ __inline; do | 9001 for ac_kw in inline __inline__ __inline; do |
9146 cat > conftest.$ac_ext <<EOF | 9002 cat > conftest.$ac_ext <<EOF |
9147 #line 9148 "configure" | 9003 #line 9004 "configure" |
9148 #include "confdefs.h" | 9004 #include "confdefs.h" |
9149 | 9005 |
9150 int main() { | 9006 int main() { |
9151 } $ac_kw foo() { | 9007 } $ac_kw foo() { |
9152 ; return 0; } | 9008 ; return 0; } |
9153 EOF | 9009 EOF |
9154 if { (eval echo configure:9155: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 9010 if { (eval echo configure:9011: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
9155 rm -rf conftest* | 9011 rm -rf conftest* |
9156 ac_cv_c_inline=$ac_kw; break | 9012 ac_cv_c_inline=$ac_kw; break |
9157 else | 9013 else |
9158 echo "configure: failed program was:" >&5 | 9014 echo "configure: failed program was:" >&5 |
9159 cat conftest.$ac_ext >&5 | 9015 cat conftest.$ac_ext >&5 |
9199 | 9055 |
9200 | 9056 |
9201 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works | 9057 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works |
9202 # for constant arguments. Useless! | 9058 # for constant arguments. Useless! |
9203 echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6 | 9059 echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6 |
9204 echo "configure:9205: checking for working alloca.h" >&5 | 9060 echo "configure:9061: checking for working alloca.h" >&5 |
9205 | 9061 |
9206 cat > conftest.$ac_ext <<EOF | 9062 cat > conftest.$ac_ext <<EOF |
9207 #line 9208 "configure" | 9063 #line 9064 "configure" |
9208 #include "confdefs.h" | 9064 #include "confdefs.h" |
9209 #include <alloca.h> | 9065 #include <alloca.h> |
9210 int main() { | 9066 int main() { |
9211 char *p = alloca(2 * sizeof(int)); | 9067 char *p = alloca(2 * sizeof(int)); |
9212 ; return 0; } | 9068 ; return 0; } |
9213 EOF | 9069 EOF |
9214 if { (eval echo configure:9215: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9070 if { (eval echo configure:9071: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
9215 rm -rf conftest* | 9071 rm -rf conftest* |
9216 ac_cv_header_alloca_h=yes | 9072 ac_cv_header_alloca_h=yes |
9217 else | 9073 else |
9218 echo "configure: failed program was:" >&5 | 9074 echo "configure: failed program was:" >&5 |
9219 cat conftest.$ac_ext >&5 | 9075 cat conftest.$ac_ext >&5 |
9233 } | 9089 } |
9234 | 9090 |
9235 fi | 9091 fi |
9236 | 9092 |
9237 echo $ac_n "checking for alloca""... $ac_c" 1>&6 | 9093 echo $ac_n "checking for alloca""... $ac_c" 1>&6 |
9238 echo "configure:9239: checking for alloca" >&5 | 9094 echo "configure:9095: checking for alloca" >&5 |
9239 | 9095 |
9240 cat > conftest.$ac_ext <<EOF | 9096 cat > conftest.$ac_ext <<EOF |
9241 #line 9242 "configure" | 9097 #line 9098 "configure" |
9242 #include "confdefs.h" | 9098 #include "confdefs.h" |
9243 | 9099 |
9244 #ifdef __GNUC__ | 9100 #ifdef __GNUC__ |
9245 # define alloca __builtin_alloca | 9101 # define alloca __builtin_alloca |
9246 #else | 9102 #else |
9247 # ifdef _MSC_VER | 9103 # if HAVE_ALLOCA_H |
9248 # include <malloc.h> | 9104 # include <alloca.h> |
9249 # define alloca _alloca | |
9250 # else | 9105 # else |
9251 # if HAVE_ALLOCA_H | 9106 # ifdef _AIX |
9252 # include <alloca.h> | 9107 #pragma alloca |
9253 # else | 9108 # else |
9254 # ifdef _AIX | 9109 # ifndef alloca /* predefined by HP cc +Olibcalls */ |
9255 #pragma alloca | |
9256 # else | |
9257 # ifndef alloca /* predefined by HP cc +Olibcalls */ | |
9258 char *alloca (); | 9110 char *alloca (); |
9259 # endif | |
9260 # endif | 9111 # endif |
9261 # endif | 9112 # endif |
9262 # endif | 9113 # endif |
9263 #endif | 9114 #endif |
9264 | 9115 |
9265 int main() { | 9116 int main() { |
9266 char *p = (char *) alloca(1); | 9117 char *p = (char *) alloca(1); |
9267 ; return 0; } | 9118 ; return 0; } |
9268 EOF | 9119 EOF |
9269 if { (eval echo configure:9270: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9120 if { (eval echo configure:9121: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
9270 rm -rf conftest* | 9121 rm -rf conftest* |
9271 ac_cv_func_alloca_works=yes | 9122 ac_cv_func_alloca_works=yes |
9272 else | 9123 else |
9273 echo "configure: failed program was:" >&5 | 9124 echo "configure: failed program was:" >&5 |
9274 cat conftest.$ac_ext >&5 | 9125 cat conftest.$ac_ext >&5 |
9292 if test $ac_cv_func_alloca_works = no; then | 9143 if test $ac_cv_func_alloca_works = no; then |
9293 # The SVR3 libPW and SVR4 libucb both contain incompatible functions | 9144 # The SVR3 libPW and SVR4 libucb both contain incompatible functions |
9294 # that cause trouble. Some versions do not even contain alloca or | 9145 # that cause trouble. Some versions do not even contain alloca or |
9295 # contain a buggy version. If you still want to use their alloca, | 9146 # contain a buggy version. If you still want to use their alloca, |
9296 # use ar to extract alloca.o from them instead of compiling alloca.c. | 9147 # use ar to extract alloca.o from them instead of compiling alloca.c. |
9297 ALLOCA=alloca.${ac_objext} | 9148 ALLOCA=alloca.o |
9298 { test "$extra_verbose" = "yes" && cat << \EOF | 9149 { test "$extra_verbose" = "yes" && cat << \EOF |
9299 Defining C_ALLOCA | 9150 Defining C_ALLOCA |
9300 EOF | 9151 EOF |
9301 cat >> confdefs.h <<\EOF | 9152 cat >> confdefs.h <<\EOF |
9302 #define C_ALLOCA 1 | 9153 #define C_ALLOCA 1 |
9303 EOF | 9154 EOF |
9304 } | 9155 } |
9305 | 9156 |
9306 | 9157 |
9307 echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6 | 9158 echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6 |
9308 echo "configure:9309: checking whether alloca needs Cray hooks" >&5 | 9159 echo "configure:9160: checking whether alloca needs Cray hooks" >&5 |
9309 | 9160 |
9310 cat > conftest.$ac_ext <<EOF | 9161 cat > conftest.$ac_ext <<EOF |
9311 #line 9312 "configure" | 9162 #line 9163 "configure" |
9312 #include "confdefs.h" | 9163 #include "confdefs.h" |
9313 #if defined(CRAY) && ! defined(CRAY2) | 9164 #if defined(CRAY) && ! defined(CRAY2) |
9314 webecray | 9165 webecray |
9315 #else | 9166 #else |
9316 wenotbecray | 9167 wenotbecray |
9330 | 9181 |
9331 echo "$ac_t""$ac_cv_os_cray" 1>&6 | 9182 echo "$ac_t""$ac_cv_os_cray" 1>&6 |
9332 if test $ac_cv_os_cray = yes; then | 9183 if test $ac_cv_os_cray = yes; then |
9333 for ac_func in _getb67 GETB67 getb67; do | 9184 for ac_func in _getb67 GETB67 getb67; do |
9334 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 9185 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
9335 echo "configure:9336: checking for $ac_func" >&5 | 9186 echo "configure:9187: checking for $ac_func" >&5 |
9336 | 9187 |
9337 cat > conftest.$ac_ext <<EOF | 9188 cat > conftest.$ac_ext <<EOF |
9338 #line 9339 "configure" | 9189 #line 9190 "configure" |
9339 #include "confdefs.h" | 9190 #include "confdefs.h" |
9340 /* System header to define __stub macros and hopefully few prototypes, | 9191 /* System header to define __stub macros and hopefully few prototypes, |
9341 which can conflict with char $ac_func(); below. */ | 9192 which can conflict with char $ac_func(); below. */ |
9342 #include <assert.h> | 9193 #include <assert.h> |
9343 /* Override any gcc2 internal prototype to avoid an error. */ | 9194 /* Override any gcc2 internal prototype to avoid an error. */ |
9356 $ac_func(); | 9207 $ac_func(); |
9357 #endif | 9208 #endif |
9358 | 9209 |
9359 ; return 0; } | 9210 ; return 0; } |
9360 EOF | 9211 EOF |
9361 if { (eval echo configure:9362: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9212 if { (eval echo configure:9213: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
9362 rm -rf conftest* | 9213 rm -rf conftest* |
9363 eval "ac_cv_func_$ac_func=yes" | 9214 eval "ac_cv_func_$ac_func=yes" |
9364 else | 9215 else |
9365 echo "configure: failed program was:" >&5 | 9216 echo "configure: failed program was:" >&5 |
9366 cat conftest.$ac_ext >&5 | 9217 cat conftest.$ac_ext >&5 |
9386 | 9237 |
9387 done | 9238 done |
9388 fi | 9239 fi |
9389 | 9240 |
9390 echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6 | 9241 echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6 |
9391 echo "configure:9392: checking stack direction for C alloca" >&5 | 9242 echo "configure:9243: checking stack direction for C alloca" >&5 |
9392 | 9243 |
9393 cat > conftest.$ac_ext <<EOF | 9244 cat > conftest.$ac_ext <<EOF |
9394 #line 9395 "configure" | 9245 #line 9246 "configure" |
9395 #include "confdefs.h" | 9246 #include "confdefs.h" |
9396 find_stack_direction () | 9247 find_stack_direction () |
9397 { | 9248 { |
9398 static char *addr = 0; | 9249 static char *addr = 0; |
9399 auto char dummy; | 9250 auto char dummy; |
9408 main () | 9259 main () |
9409 { | 9260 { |
9410 exit (find_stack_direction() < 0); | 9261 exit (find_stack_direction() < 0); |
9411 } | 9262 } |
9412 EOF | 9263 EOF |
9413 if { (eval echo configure:9414: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 9264 if { (eval echo configure:9265: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
9414 then | 9265 then |
9415 ac_cv_c_stack_direction=1 | 9266 ac_cv_c_stack_direction=1 |
9416 else | 9267 else |
9417 conftest_rc="$?" | 9268 conftest_rc="$?" |
9418 echo "configure: failed program was:" >&5 | 9269 echo "configure: failed program was:" >&5 |
9437 echo " xemacs will be linked with \"$ALLOCA\"" | 9288 echo " xemacs will be linked with \"$ALLOCA\"" |
9438 fi | 9289 fi |
9439 | 9290 |
9440 ac_safe=`echo "vfork.h" | sed 'y%./+-%__p_%'` | 9291 ac_safe=`echo "vfork.h" | sed 'y%./+-%__p_%'` |
9441 echo $ac_n "checking for vfork.h""... $ac_c" 1>&6 | 9292 echo $ac_n "checking for vfork.h""... $ac_c" 1>&6 |
9442 echo "configure:9443: checking for vfork.h" >&5 | 9293 echo "configure:9294: checking for vfork.h" >&5 |
9443 | 9294 |
9444 cat > conftest.$ac_ext <<EOF | 9295 cat > conftest.$ac_ext <<EOF |
9445 #line 9446 "configure" | 9296 #line 9297 "configure" |
9446 #include "confdefs.h" | 9297 #include "confdefs.h" |
9447 #include <vfork.h> | 9298 #include <vfork.h> |
9448 EOF | 9299 EOF |
9449 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9300 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9450 { (eval echo configure:9451: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9301 { (eval echo configure:9302: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9451 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9302 ac_err=`grep -v '^ *+' conftest.out` |
9452 if test -z "$ac_err"; then | 9303 if test -z "$ac_err"; then |
9453 rm -rf conftest* | 9304 rm -rf conftest* |
9454 eval "ac_cv_header_$ac_safe=yes" | 9305 eval "ac_cv_header_$ac_safe=yes" |
9455 else | 9306 else |
9456 echo "$ac_err" >&5 | 9307 echo "$ac_err" >&5 |
9473 else | 9324 else |
9474 echo "$ac_t""no" 1>&6 | 9325 echo "$ac_t""no" 1>&6 |
9475 fi | 9326 fi |
9476 | 9327 |
9477 echo $ac_n "checking for working vfork""... $ac_c" 1>&6 | 9328 echo $ac_n "checking for working vfork""... $ac_c" 1>&6 |
9478 echo "configure:9479: checking for working vfork" >&5 | 9329 echo "configure:9330: checking for working vfork" >&5 |
9479 | 9330 |
9480 cat > conftest.$ac_ext <<EOF | 9331 cat > conftest.$ac_ext <<EOF |
9481 #line 9482 "configure" | 9332 #line 9333 "configure" |
9482 #include "confdefs.h" | 9333 #include "confdefs.h" |
9483 /* Thanks to Paul Eggert for this test. */ | 9334 /* Thanks to Paul Eggert for this test. */ |
9484 #include <stdio.h> | 9335 #include <stdio.h> |
9485 #include <sys/types.h> | 9336 #include <sys/types.h> |
9486 #include <sys/stat.h> | 9337 #include <sys/stat.h> |
9571 || fstat(fileno(stdout), &st) != 0 | 9422 || fstat(fileno(stdout), &st) != 0 |
9572 ); | 9423 ); |
9573 } | 9424 } |
9574 } | 9425 } |
9575 EOF | 9426 EOF |
9576 if { (eval echo configure:9577: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 9427 if { (eval echo configure:9428: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
9577 then | 9428 then |
9578 ac_cv_func_vfork_works=yes | 9429 ac_cv_func_vfork_works=yes |
9579 else | 9430 else |
9580 conftest_rc="$?" | 9431 conftest_rc="$?" |
9581 echo "configure: failed program was:" >&5 | 9432 echo "configure: failed program was:" >&5 |
9597 | 9448 |
9598 fi | 9449 fi |
9599 | 9450 |
9600 | 9451 |
9601 echo $ac_n "checking for working strcoll""... $ac_c" 1>&6 | 9452 echo $ac_n "checking for working strcoll""... $ac_c" 1>&6 |
9602 echo "configure:9603: checking for working strcoll" >&5 | 9453 echo "configure:9454: checking for working strcoll" >&5 |
9603 | 9454 |
9604 cat > conftest.$ac_ext <<EOF | 9455 cat > conftest.$ac_ext <<EOF |
9605 #line 9606 "configure" | 9456 #line 9457 "configure" |
9606 #include "confdefs.h" | 9457 #include "confdefs.h" |
9607 #include <string.h> | 9458 #include <string.h> |
9608 main () | 9459 main () |
9609 { | 9460 { |
9610 exit (strcoll ("abc", "def") >= 0 || | 9461 exit (strcoll ("abc", "def") >= 0 || |
9611 strcoll ("ABC", "DEF") >= 0 || | 9462 strcoll ("ABC", "DEF") >= 0 || |
9612 strcoll ("123", "456") >= 0); | 9463 strcoll ("123", "456") >= 0); |
9613 } | 9464 } |
9614 EOF | 9465 EOF |
9615 if { (eval echo configure:9616: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 9466 if { (eval echo configure:9467: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
9616 then | 9467 then |
9617 ac_cv_func_strcoll_works=yes | 9468 ac_cv_func_strcoll_works=yes |
9618 else | 9469 else |
9619 conftest_rc="$?" | 9470 conftest_rc="$?" |
9620 echo "configure: failed program was:" >&5 | 9471 echo "configure: failed program was:" >&5 |
9638 | 9489 |
9639 | 9490 |
9640 for ac_func in getpgrp | 9491 for ac_func in getpgrp |
9641 do | 9492 do |
9642 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 9493 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
9643 echo "configure:9644: checking for $ac_func" >&5 | 9494 echo "configure:9495: checking for $ac_func" >&5 |
9644 | 9495 |
9645 cat > conftest.$ac_ext <<EOF | 9496 cat > conftest.$ac_ext <<EOF |
9646 #line 9647 "configure" | 9497 #line 9498 "configure" |
9647 #include "confdefs.h" | 9498 #include "confdefs.h" |
9648 /* System header to define __stub macros and hopefully few prototypes, | 9499 /* System header to define __stub macros and hopefully few prototypes, |
9649 which can conflict with char $ac_func(); below. */ | 9500 which can conflict with char $ac_func(); below. */ |
9650 #include <assert.h> | 9501 #include <assert.h> |
9651 /* Override any gcc2 internal prototype to avoid an error. */ | 9502 /* Override any gcc2 internal prototype to avoid an error. */ |
9664 $ac_func(); | 9515 $ac_func(); |
9665 #endif | 9516 #endif |
9666 | 9517 |
9667 ; return 0; } | 9518 ; return 0; } |
9668 EOF | 9519 EOF |
9669 if { (eval echo configure:9670: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9520 if { (eval echo configure:9521: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
9670 rm -rf conftest* | 9521 rm -rf conftest* |
9671 eval "ac_cv_func_$ac_func=yes" | 9522 eval "ac_cv_func_$ac_func=yes" |
9672 else | 9523 else |
9673 echo "configure: failed program was:" >&5 | 9524 echo "configure: failed program was:" >&5 |
9674 cat conftest.$ac_ext >&5 | 9525 cat conftest.$ac_ext >&5 |
9692 echo "$ac_t""no" 1>&6 | 9543 echo "$ac_t""no" 1>&6 |
9693 fi | 9544 fi |
9694 done | 9545 done |
9695 | 9546 |
9696 echo $ac_n "checking whether getpgrp takes no argument""... $ac_c" 1>&6 | 9547 echo $ac_n "checking whether getpgrp takes no argument""... $ac_c" 1>&6 |
9697 echo "configure:9698: checking whether getpgrp takes no argument" >&5 | 9548 echo "configure:9549: checking whether getpgrp takes no argument" >&5 |
9698 | 9549 |
9699 cat > conftest.$ac_ext <<EOF | 9550 cat > conftest.$ac_ext <<EOF |
9700 #line 9701 "configure" | 9551 #line 9552 "configure" |
9701 #include "confdefs.h" | 9552 #include "confdefs.h" |
9702 | 9553 |
9703 /* | 9554 /* |
9704 * If this system has a BSD-style getpgrp(), | 9555 * If this system has a BSD-style getpgrp(), |
9705 * which takes a pid argument, exit unsuccessfully. | 9556 * which takes a pid argument, exit unsuccessfully. |
9750 exit(s>>8); | 9601 exit(s>>8); |
9751 } | 9602 } |
9752 } | 9603 } |
9753 | 9604 |
9754 EOF | 9605 EOF |
9755 if { (eval echo configure:9756: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 9606 if { (eval echo configure:9607: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
9756 then | 9607 then |
9757 ac_cv_func_getpgrp_void=yes | 9608 ac_cv_func_getpgrp_void=yes |
9758 else | 9609 else |
9759 conftest_rc="$?" | 9610 conftest_rc="$?" |
9760 echo "configure: failed program was:" >&5 | 9611 echo "configure: failed program was:" >&5 |
9777 | 9628 |
9778 fi | 9629 fi |
9779 | 9630 |
9780 | 9631 |
9781 echo $ac_n "checking for working mmap""... $ac_c" 1>&6 | 9632 echo $ac_n "checking for working mmap""... $ac_c" 1>&6 |
9782 echo "configure:9783: checking for working mmap" >&5 | 9633 echo "configure:9634: checking for working mmap" >&5 |
9783 case "$opsys" in ultrix* ) have_mmap=no ;; *) | 9634 case "$opsys" in ultrix* ) have_mmap=no ;; *) |
9784 cat > conftest.$ac_ext <<EOF | 9635 cat > conftest.$ac_ext <<EOF |
9785 #line 9786 "configure" | 9636 #line 9637 "configure" |
9786 #include "confdefs.h" | 9637 #include "confdefs.h" |
9787 #include <stdio.h> | 9638 #include <stdio.h> |
9788 #include <unistd.h> | 9639 #include <unistd.h> |
9789 #include <fcntl.h> | 9640 #include <fcntl.h> |
9790 #include <sys/mman.h> | 9641 #include <sys/mman.h> |
9813 return 0; | 9664 return 0; |
9814 perror ("conftest: mmap failed"); | 9665 perror ("conftest: mmap failed"); |
9815 return 1; | 9666 return 1; |
9816 } | 9667 } |
9817 EOF | 9668 EOF |
9818 if { (eval echo configure:9819: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 9669 if { (eval echo configure:9670: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
9819 then | 9670 then |
9820 have_mmap=yes | 9671 have_mmap=yes |
9821 else | 9672 else |
9822 conftest_rc="$?" | 9673 conftest_rc="$?" |
9823 echo "configure: failed program was:" >&5 | 9674 echo "configure: failed program was:" >&5 |
9838 | 9689 |
9839 for ac_hdr in unistd.h | 9690 for ac_hdr in unistd.h |
9840 do | 9691 do |
9841 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 9692 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
9842 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 9693 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
9843 echo "configure:9844: checking for $ac_hdr" >&5 | 9694 echo "configure:9695: checking for $ac_hdr" >&5 |
9844 | 9695 |
9845 cat > conftest.$ac_ext <<EOF | 9696 cat > conftest.$ac_ext <<EOF |
9846 #line 9847 "configure" | 9697 #line 9698 "configure" |
9847 #include "confdefs.h" | 9698 #include "confdefs.h" |
9848 #include <$ac_hdr> | 9699 #include <$ac_hdr> |
9849 EOF | 9700 EOF |
9850 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9701 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; } | 9702 { (eval echo configure:9703: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9852 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9703 ac_err=`grep -v '^ *+' conftest.out` |
9853 if test -z "$ac_err"; then | 9704 if test -z "$ac_err"; then |
9854 rm -rf conftest* | 9705 rm -rf conftest* |
9855 eval "ac_cv_header_$ac_safe=yes" | 9706 eval "ac_cv_header_$ac_safe=yes" |
9856 else | 9707 else |
9857 echo "$ac_err" >&5 | 9708 echo "$ac_err" >&5 |
9878 done | 9729 done |
9879 | 9730 |
9880 for ac_func in getpagesize | 9731 for ac_func in getpagesize |
9881 do | 9732 do |
9882 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 9733 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
9883 echo "configure:9884: checking for $ac_func" >&5 | 9734 echo "configure:9735: checking for $ac_func" >&5 |
9884 | 9735 |
9885 cat > conftest.$ac_ext <<EOF | 9736 cat > conftest.$ac_ext <<EOF |
9886 #line 9887 "configure" | 9737 #line 9738 "configure" |
9887 #include "confdefs.h" | 9738 #include "confdefs.h" |
9888 /* System header to define __stub macros and hopefully few prototypes, | 9739 /* System header to define __stub macros and hopefully few prototypes, |
9889 which can conflict with char $ac_func(); below. */ | 9740 which can conflict with char $ac_func(); below. */ |
9890 #include <assert.h> | 9741 #include <assert.h> |
9891 /* Override any gcc2 internal prototype to avoid an error. */ | 9742 /* Override any gcc2 internal prototype to avoid an error. */ |
9904 $ac_func(); | 9755 $ac_func(); |
9905 #endif | 9756 #endif |
9906 | 9757 |
9907 ; return 0; } | 9758 ; return 0; } |
9908 EOF | 9759 EOF |
9909 if { (eval echo configure:9910: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9760 if { (eval echo configure:9761: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
9910 rm -rf conftest* | 9761 rm -rf conftest* |
9911 eval "ac_cv_func_$ac_func=yes" | 9762 eval "ac_cv_func_$ac_func=yes" |
9912 else | 9763 else |
9913 echo "configure: failed program was:" >&5 | 9764 echo "configure: failed program was:" >&5 |
9914 cat conftest.$ac_ext >&5 | 9765 cat conftest.$ac_ext >&5 |
9932 echo "$ac_t""no" 1>&6 | 9783 echo "$ac_t""no" 1>&6 |
9933 fi | 9784 fi |
9934 done | 9785 done |
9935 | 9786 |
9936 echo $ac_n "checking for working mmap""... $ac_c" 1>&6 | 9787 echo $ac_n "checking for working mmap""... $ac_c" 1>&6 |
9937 echo "configure:9938: checking for working mmap" >&5 | 9788 echo "configure:9789: checking for working mmap" >&5 |
9938 | 9789 |
9939 cat > conftest.$ac_ext <<EOF | 9790 cat > conftest.$ac_ext <<EOF |
9940 #line 9941 "configure" | 9791 #line 9792 "configure" |
9941 #include "confdefs.h" | 9792 #include "confdefs.h" |
9942 | 9793 |
9943 /* Thanks to Mike Haertel and Jim Avera for this test. | 9794 /* Thanks to Mike Haertel and Jim Avera for this test. |
9944 Here is a matrix of mmap possibilities: | 9795 Here is a matrix of mmap possibilities: |
9945 mmap private not fixed | 9796 mmap private not fixed |
10075 unlink("conftestmmap"); | 9926 unlink("conftestmmap"); |
10076 exit(0); | 9927 exit(0); |
10077 } | 9928 } |
10078 | 9929 |
10079 EOF | 9930 EOF |
10080 if { (eval echo configure:10081: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 9931 if { (eval echo configure:9932: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
10081 then | 9932 then |
10082 ac_cv_func_mmap_fixed_mapped=yes | 9933 ac_cv_func_mmap_fixed_mapped=yes |
10083 else | 9934 else |
10084 conftest_rc="$?" | 9935 conftest_rc="$?" |
10085 echo "configure: failed program was:" >&5 | 9936 echo "configure: failed program was:" >&5 |
10113 } | 9964 } |
10114 | 9965 |
10115 | 9966 |
10116 ac_safe=`echo "termios.h" | sed 'y%./+-%__p_%'` | 9967 ac_safe=`echo "termios.h" | sed 'y%./+-%__p_%'` |
10117 echo $ac_n "checking for termios.h""... $ac_c" 1>&6 | 9968 echo $ac_n "checking for termios.h""... $ac_c" 1>&6 |
10118 echo "configure:10119: checking for termios.h" >&5 | 9969 echo "configure:9970: checking for termios.h" >&5 |
10119 | 9970 |
10120 cat > conftest.$ac_ext <<EOF | 9971 cat > conftest.$ac_ext <<EOF |
10121 #line 10122 "configure" | 9972 #line 9973 "configure" |
10122 #include "confdefs.h" | 9973 #include "confdefs.h" |
10123 #include <termios.h> | 9974 #include <termios.h> |
10124 EOF | 9975 EOF |
10125 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9976 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10126 { (eval echo configure:10127: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9977 { (eval echo configure:9978: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10127 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9978 ac_err=`grep -v '^ *+' conftest.out` |
10128 if test -z "$ac_err"; then | 9979 if test -z "$ac_err"; then |
10129 rm -rf conftest* | 9980 rm -rf conftest* |
10130 eval "ac_cv_header_$ac_safe=yes" | 9981 eval "ac_cv_header_$ac_safe=yes" |
10131 else | 9982 else |
10132 echo "$ac_err" >&5 | 9983 echo "$ac_err" >&5 |
10164 | 10015 |
10165 else | 10016 else |
10166 echo "$ac_t""no" 1>&6 | 10017 echo "$ac_t""no" 1>&6 |
10167 ac_safe=`echo "termio.h" | sed 'y%./+-%__p_%'` | 10018 ac_safe=`echo "termio.h" | sed 'y%./+-%__p_%'` |
10168 echo $ac_n "checking for termio.h""... $ac_c" 1>&6 | 10019 echo $ac_n "checking for termio.h""... $ac_c" 1>&6 |
10169 echo "configure:10170: checking for termio.h" >&5 | 10020 echo "configure:10021: checking for termio.h" >&5 |
10170 | 10021 |
10171 cat > conftest.$ac_ext <<EOF | 10022 cat > conftest.$ac_ext <<EOF |
10172 #line 10173 "configure" | 10023 #line 10024 "configure" |
10173 #include "confdefs.h" | 10024 #include "confdefs.h" |
10174 #include <termio.h> | 10025 #include <termio.h> |
10175 EOF | 10026 EOF |
10176 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10027 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10177 { (eval echo configure:10178: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10028 { (eval echo configure:10029: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10178 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10029 ac_err=`grep -v '^ *+' conftest.out` |
10179 if test -z "$ac_err"; then | 10030 if test -z "$ac_err"; then |
10180 rm -rf conftest* | 10031 rm -rf conftest* |
10181 eval "ac_cv_header_$ac_safe=yes" | 10032 eval "ac_cv_header_$ac_safe=yes" |
10182 else | 10033 else |
10183 echo "$ac_err" >&5 | 10034 echo "$ac_err" >&5 |
10204 fi | 10055 fi |
10205 | 10056 |
10206 | 10057 |
10207 | 10058 |
10208 echo $ac_n "checking for socket""... $ac_c" 1>&6 | 10059 echo $ac_n "checking for socket""... $ac_c" 1>&6 |
10209 echo "configure:10210: checking for socket" >&5 | 10060 echo "configure:10061: checking for socket" >&5 |
10210 | 10061 |
10211 cat > conftest.$ac_ext <<EOF | 10062 cat > conftest.$ac_ext <<EOF |
10212 #line 10213 "configure" | 10063 #line 10064 "configure" |
10213 #include "confdefs.h" | 10064 #include "confdefs.h" |
10214 /* System header to define __stub macros and hopefully few prototypes, | 10065 /* System header to define __stub macros and hopefully few prototypes, |
10215 which can conflict with char socket(); below. */ | 10066 which can conflict with char socket(); below. */ |
10216 #include <assert.h> | 10067 #include <assert.h> |
10217 /* Override any gcc2 internal prototype to avoid an error. */ | 10068 /* Override any gcc2 internal prototype to avoid an error. */ |
10230 socket(); | 10081 socket(); |
10231 #endif | 10082 #endif |
10232 | 10083 |
10233 ; return 0; } | 10084 ; return 0; } |
10234 EOF | 10085 EOF |
10235 if { (eval echo configure:10236: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10086 if { (eval echo configure:10087: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
10236 rm -rf conftest* | 10087 rm -rf conftest* |
10237 eval "ac_cv_func_socket=yes" | 10088 eval "ac_cv_func_socket=yes" |
10238 else | 10089 else |
10239 echo "configure: failed program was:" >&5 | 10090 echo "configure: failed program was:" >&5 |
10240 cat conftest.$ac_ext >&5 | 10091 cat conftest.$ac_ext >&5 |
10245 | 10096 |
10246 if eval "test \"`echo '$ac_cv_func_'socket`\" = yes"; then | 10097 if eval "test \"`echo '$ac_cv_func_'socket`\" = yes"; then |
10247 echo "$ac_t""yes" 1>&6 | 10098 echo "$ac_t""yes" 1>&6 |
10248 ac_safe=`echo "netinet/in.h" | sed 'y%./+-%__p_%'` | 10099 ac_safe=`echo "netinet/in.h" | sed 'y%./+-%__p_%'` |
10249 echo $ac_n "checking for netinet/in.h""... $ac_c" 1>&6 | 10100 echo $ac_n "checking for netinet/in.h""... $ac_c" 1>&6 |
10250 echo "configure:10251: checking for netinet/in.h" >&5 | 10101 echo "configure:10102: checking for netinet/in.h" >&5 |
10251 | 10102 |
10252 cat > conftest.$ac_ext <<EOF | 10103 cat > conftest.$ac_ext <<EOF |
10253 #line 10254 "configure" | 10104 #line 10105 "configure" |
10254 #include "confdefs.h" | 10105 #include "confdefs.h" |
10255 #include <netinet/in.h> | 10106 #include <netinet/in.h> |
10256 EOF | 10107 EOF |
10257 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10108 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10258 { (eval echo configure:10259: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10109 { (eval echo configure:10110: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10259 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10110 ac_err=`grep -v '^ *+' conftest.out` |
10260 if test -z "$ac_err"; then | 10111 if test -z "$ac_err"; then |
10261 rm -rf conftest* | 10112 rm -rf conftest* |
10262 eval "ac_cv_header_$ac_safe=yes" | 10113 eval "ac_cv_header_$ac_safe=yes" |
10263 else | 10114 else |
10264 echo "$ac_err" >&5 | 10115 echo "$ac_err" >&5 |
10270 rm -f conftest* | 10121 rm -f conftest* |
10271 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 10122 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
10272 echo "$ac_t""yes" 1>&6 | 10123 echo "$ac_t""yes" 1>&6 |
10273 ac_safe=`echo "arpa/inet.h" | sed 'y%./+-%__p_%'` | 10124 ac_safe=`echo "arpa/inet.h" | sed 'y%./+-%__p_%'` |
10274 echo $ac_n "checking for arpa/inet.h""... $ac_c" 1>&6 | 10125 echo $ac_n "checking for arpa/inet.h""... $ac_c" 1>&6 |
10275 echo "configure:10276: checking for arpa/inet.h" >&5 | 10126 echo "configure:10127: checking for arpa/inet.h" >&5 |
10276 | 10127 |
10277 cat > conftest.$ac_ext <<EOF | 10128 cat > conftest.$ac_ext <<EOF |
10278 #line 10279 "configure" | 10129 #line 10130 "configure" |
10279 #include "confdefs.h" | 10130 #include "confdefs.h" |
10280 #include <arpa/inet.h> | 10131 #include <arpa/inet.h> |
10281 EOF | 10132 EOF |
10282 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10133 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10283 { (eval echo configure:10284: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10134 { (eval echo configure:10135: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10284 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10135 ac_err=`grep -v '^ *+' conftest.out` |
10285 if test -z "$ac_err"; then | 10136 if test -z "$ac_err"; then |
10286 rm -rf conftest* | 10137 rm -rf conftest* |
10287 eval "ac_cv_header_$ac_safe=yes" | 10138 eval "ac_cv_header_$ac_safe=yes" |
10288 else | 10139 else |
10289 echo "$ac_err" >&5 | 10140 echo "$ac_err" >&5 |
10303 #define HAVE_SOCKETS 1 | 10154 #define HAVE_SOCKETS 1 |
10304 EOF | 10155 EOF |
10305 } | 10156 } |
10306 | 10157 |
10307 echo $ac_n "checking "for sun_len member in struct sockaddr_un"""... $ac_c" 1>&6 | 10158 echo $ac_n "checking "for sun_len member in struct sockaddr_un"""... $ac_c" 1>&6 |
10308 echo "configure:10309: checking "for sun_len member in struct sockaddr_un"" >&5 | 10159 echo "configure:10160: checking "for sun_len member in struct sockaddr_un"" >&5 |
10309 cat > conftest.$ac_ext <<EOF | 10160 cat > conftest.$ac_ext <<EOF |
10310 #line 10311 "configure" | 10161 #line 10162 "configure" |
10311 #include "confdefs.h" | 10162 #include "confdefs.h" |
10312 | 10163 |
10313 #include <sys/types.h> | 10164 #include <sys/types.h> |
10314 #include <sys/socket.h> | 10165 #include <sys/socket.h> |
10315 #include <sys/un.h> | 10166 #include <sys/un.h> |
10316 | 10167 |
10317 int main() { | 10168 int main() { |
10318 static struct sockaddr_un x; x.sun_len = 1; | 10169 static struct sockaddr_un x; x.sun_len = 1; |
10319 ; return 0; } | 10170 ; return 0; } |
10320 EOF | 10171 EOF |
10321 if { (eval echo configure:10322: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10172 if { (eval echo configure:10173: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
10322 rm -rf conftest* | 10173 rm -rf conftest* |
10323 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF | 10174 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF |
10324 Defining HAVE_SOCKADDR_SUN_LEN | 10175 Defining HAVE_SOCKADDR_SUN_LEN |
10325 EOF | 10176 EOF |
10326 cat >> confdefs.h <<\EOF | 10177 cat >> confdefs.h <<\EOF |
10334 rm -rf conftest* | 10185 rm -rf conftest* |
10335 echo "$ac_t""no" 1>&6 | 10186 echo "$ac_t""no" 1>&6 |
10336 fi | 10187 fi |
10337 rm -f conftest* | 10188 rm -f conftest* |
10338 echo $ac_n "checking "for ip_mreq struct in netinet/in.h"""... $ac_c" 1>&6 | 10189 echo $ac_n "checking "for ip_mreq struct in netinet/in.h"""... $ac_c" 1>&6 |
10339 echo "configure:10340: checking "for ip_mreq struct in netinet/in.h"" >&5 | 10190 echo "configure:10191: checking "for ip_mreq struct in netinet/in.h"" >&5 |
10340 cat > conftest.$ac_ext <<EOF | 10191 cat > conftest.$ac_ext <<EOF |
10341 #line 10342 "configure" | 10192 #line 10193 "configure" |
10342 #include "confdefs.h" | 10193 #include "confdefs.h" |
10343 | 10194 |
10344 #include <sys/types.h> | 10195 #include <sys/types.h> |
10345 #include <netinet/in.h> | 10196 #include <netinet/in.h> |
10346 | 10197 |
10347 int main() { | 10198 int main() { |
10348 static struct ip_mreq x; | 10199 static struct ip_mreq x; |
10349 ; return 0; } | 10200 ; return 0; } |
10350 EOF | 10201 EOF |
10351 if { (eval echo configure:10352: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10202 if { (eval echo configure:10203: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
10352 rm -rf conftest* | 10203 rm -rf conftest* |
10353 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF | 10204 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF |
10354 Defining HAVE_MULTICAST | 10205 Defining HAVE_MULTICAST |
10355 EOF | 10206 EOF |
10356 cat >> confdefs.h <<\EOF | 10207 cat >> confdefs.h <<\EOF |
10377 echo "$ac_t""no" 1>&6 | 10228 echo "$ac_t""no" 1>&6 |
10378 fi | 10229 fi |
10379 | 10230 |
10380 | 10231 |
10381 echo $ac_n "checking for msgget""... $ac_c" 1>&6 | 10232 echo $ac_n "checking for msgget""... $ac_c" 1>&6 |
10382 echo "configure:10383: checking for msgget" >&5 | 10233 echo "configure:10234: checking for msgget" >&5 |
10383 | 10234 |
10384 cat > conftest.$ac_ext <<EOF | 10235 cat > conftest.$ac_ext <<EOF |
10385 #line 10386 "configure" | 10236 #line 10237 "configure" |
10386 #include "confdefs.h" | 10237 #include "confdefs.h" |
10387 /* System header to define __stub macros and hopefully few prototypes, | 10238 /* System header to define __stub macros and hopefully few prototypes, |
10388 which can conflict with char msgget(); below. */ | 10239 which can conflict with char msgget(); below. */ |
10389 #include <assert.h> | 10240 #include <assert.h> |
10390 /* Override any gcc2 internal prototype to avoid an error. */ | 10241 /* Override any gcc2 internal prototype to avoid an error. */ |
10403 msgget(); | 10254 msgget(); |
10404 #endif | 10255 #endif |
10405 | 10256 |
10406 ; return 0; } | 10257 ; return 0; } |
10407 EOF | 10258 EOF |
10408 if { (eval echo configure:10409: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10259 if { (eval echo configure:10260: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
10409 rm -rf conftest* | 10260 rm -rf conftest* |
10410 eval "ac_cv_func_msgget=yes" | 10261 eval "ac_cv_func_msgget=yes" |
10411 else | 10262 else |
10412 echo "configure: failed program was:" >&5 | 10263 echo "configure: failed program was:" >&5 |
10413 cat conftest.$ac_ext >&5 | 10264 cat conftest.$ac_ext >&5 |
10418 | 10269 |
10419 if eval "test \"`echo '$ac_cv_func_'msgget`\" = yes"; then | 10270 if eval "test \"`echo '$ac_cv_func_'msgget`\" = yes"; then |
10420 echo "$ac_t""yes" 1>&6 | 10271 echo "$ac_t""yes" 1>&6 |
10421 ac_safe=`echo "sys/ipc.h" | sed 'y%./+-%__p_%'` | 10272 ac_safe=`echo "sys/ipc.h" | sed 'y%./+-%__p_%'` |
10422 echo $ac_n "checking for sys/ipc.h""... $ac_c" 1>&6 | 10273 echo $ac_n "checking for sys/ipc.h""... $ac_c" 1>&6 |
10423 echo "configure:10424: checking for sys/ipc.h" >&5 | 10274 echo "configure:10275: checking for sys/ipc.h" >&5 |
10424 | 10275 |
10425 cat > conftest.$ac_ext <<EOF | 10276 cat > conftest.$ac_ext <<EOF |
10426 #line 10427 "configure" | 10277 #line 10278 "configure" |
10427 #include "confdefs.h" | 10278 #include "confdefs.h" |
10428 #include <sys/ipc.h> | 10279 #include <sys/ipc.h> |
10429 EOF | 10280 EOF |
10430 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10281 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10431 { (eval echo configure:10432: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10282 { (eval echo configure:10283: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10432 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10283 ac_err=`grep -v '^ *+' conftest.out` |
10433 if test -z "$ac_err"; then | 10284 if test -z "$ac_err"; then |
10434 rm -rf conftest* | 10285 rm -rf conftest* |
10435 eval "ac_cv_header_$ac_safe=yes" | 10286 eval "ac_cv_header_$ac_safe=yes" |
10436 else | 10287 else |
10437 echo "$ac_err" >&5 | 10288 echo "$ac_err" >&5 |
10443 rm -f conftest* | 10294 rm -f conftest* |
10444 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 10295 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
10445 echo "$ac_t""yes" 1>&6 | 10296 echo "$ac_t""yes" 1>&6 |
10446 ac_safe=`echo "sys/msg.h" | sed 'y%./+-%__p_%'` | 10297 ac_safe=`echo "sys/msg.h" | sed 'y%./+-%__p_%'` |
10447 echo $ac_n "checking for sys/msg.h""... $ac_c" 1>&6 | 10298 echo $ac_n "checking for sys/msg.h""... $ac_c" 1>&6 |
10448 echo "configure:10449: checking for sys/msg.h" >&5 | 10299 echo "configure:10300: checking for sys/msg.h" >&5 |
10449 | 10300 |
10450 cat > conftest.$ac_ext <<EOF | 10301 cat > conftest.$ac_ext <<EOF |
10451 #line 10452 "configure" | 10302 #line 10303 "configure" |
10452 #include "confdefs.h" | 10303 #include "confdefs.h" |
10453 #include <sys/msg.h> | 10304 #include <sys/msg.h> |
10454 EOF | 10305 EOF |
10455 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10306 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10456 { (eval echo configure:10457: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10307 { (eval echo configure:10308: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10457 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10308 ac_err=`grep -v '^ *+' conftest.out` |
10458 if test -z "$ac_err"; then | 10309 if test -z "$ac_err"; then |
10459 rm -rf conftest* | 10310 rm -rf conftest* |
10460 eval "ac_cv_header_$ac_safe=yes" | 10311 eval "ac_cv_header_$ac_safe=yes" |
10461 else | 10312 else |
10462 echo "$ac_err" >&5 | 10313 echo "$ac_err" >&5 |
10489 fi | 10340 fi |
10490 | 10341 |
10491 | 10342 |
10492 ac_safe=`echo "dirent.h" | sed 'y%./+-%__p_%'` | 10343 ac_safe=`echo "dirent.h" | sed 'y%./+-%__p_%'` |
10493 echo $ac_n "checking for dirent.h""... $ac_c" 1>&6 | 10344 echo $ac_n "checking for dirent.h""... $ac_c" 1>&6 |
10494 echo "configure:10495: checking for dirent.h" >&5 | 10345 echo "configure:10346: checking for dirent.h" >&5 |
10495 | 10346 |
10496 cat > conftest.$ac_ext <<EOF | 10347 cat > conftest.$ac_ext <<EOF |
10497 #line 10498 "configure" | 10348 #line 10349 "configure" |
10498 #include "confdefs.h" | 10349 #include "confdefs.h" |
10499 #include <dirent.h> | 10350 #include <dirent.h> |
10500 EOF | 10351 EOF |
10501 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10352 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10502 { (eval echo configure:10503: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10353 { (eval echo configure:10354: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10503 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10354 ac_err=`grep -v '^ *+' conftest.out` |
10504 if test -z "$ac_err"; then | 10355 if test -z "$ac_err"; then |
10505 rm -rf conftest* | 10356 rm -rf conftest* |
10506 eval "ac_cv_header_$ac_safe=yes" | 10357 eval "ac_cv_header_$ac_safe=yes" |
10507 else | 10358 else |
10508 echo "$ac_err" >&5 | 10359 echo "$ac_err" >&5 |
10524 | 10375 |
10525 else | 10376 else |
10526 echo "$ac_t""no" 1>&6 | 10377 echo "$ac_t""no" 1>&6 |
10527 ac_safe=`echo "sys/dir.h" | sed 'y%./+-%__p_%'` | 10378 ac_safe=`echo "sys/dir.h" | sed 'y%./+-%__p_%'` |
10528 echo $ac_n "checking for sys/dir.h""... $ac_c" 1>&6 | 10379 echo $ac_n "checking for sys/dir.h""... $ac_c" 1>&6 |
10529 echo "configure:10530: checking for sys/dir.h" >&5 | 10380 echo "configure:10381: checking for sys/dir.h" >&5 |
10530 | 10381 |
10531 cat > conftest.$ac_ext <<EOF | 10382 cat > conftest.$ac_ext <<EOF |
10532 #line 10533 "configure" | 10383 #line 10384 "configure" |
10533 #include "confdefs.h" | 10384 #include "confdefs.h" |
10534 #include <sys/dir.h> | 10385 #include <sys/dir.h> |
10535 EOF | 10386 EOF |
10536 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10387 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10537 { (eval echo configure:10538: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10388 { (eval echo configure:10389: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10538 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10389 ac_err=`grep -v '^ *+' conftest.out` |
10539 if test -z "$ac_err"; then | 10390 if test -z "$ac_err"; then |
10540 rm -rf conftest* | 10391 rm -rf conftest* |
10541 eval "ac_cv_header_$ac_safe=yes" | 10392 eval "ac_cv_header_$ac_safe=yes" |
10542 else | 10393 else |
10543 echo "$ac_err" >&5 | 10394 echo "$ac_err" >&5 |
10565 fi | 10416 fi |
10566 | 10417 |
10567 | 10418 |
10568 ac_safe=`echo "nlist.h" | sed 'y%./+-%__p_%'` | 10419 ac_safe=`echo "nlist.h" | sed 'y%./+-%__p_%'` |
10569 echo $ac_n "checking for nlist.h""... $ac_c" 1>&6 | 10420 echo $ac_n "checking for nlist.h""... $ac_c" 1>&6 |
10570 echo "configure:10571: checking for nlist.h" >&5 | 10421 echo "configure:10422: checking for nlist.h" >&5 |
10571 | 10422 |
10572 cat > conftest.$ac_ext <<EOF | 10423 cat > conftest.$ac_ext <<EOF |
10573 #line 10574 "configure" | 10424 #line 10425 "configure" |
10574 #include "confdefs.h" | 10425 #include "confdefs.h" |
10575 #include <nlist.h> | 10426 #include <nlist.h> |
10576 EOF | 10427 EOF |
10577 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10428 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10578 { (eval echo configure:10579: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10429 { (eval echo configure:10430: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10579 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10430 ac_err=`grep -v '^ *+' conftest.out` |
10580 if test -z "$ac_err"; then | 10431 if test -z "$ac_err"; then |
10581 rm -rf conftest* | 10432 rm -rf conftest* |
10582 eval "ac_cv_header_$ac_safe=yes" | 10433 eval "ac_cv_header_$ac_safe=yes" |
10583 else | 10434 else |
10584 echo "$ac_err" >&5 | 10435 echo "$ac_err" >&5 |
10603 fi | 10454 fi |
10604 | 10455 |
10605 | 10456 |
10606 | 10457 |
10607 echo "checking "for sound support"" 1>&6 | 10458 echo "checking "for sound support"" 1>&6 |
10608 echo "configure:10609: checking "for sound support"" >&5 | 10459 echo "configure:10460: checking "for sound support"" >&5 |
10609 case "$with_sound" in | 10460 case "$with_sound" in |
10610 native | both ) with_native_sound=yes;; | 10461 native | both ) with_native_sound=yes;; |
10611 nas | no ) with_native_sound=no;; | 10462 nas | no ) with_native_sound=no;; |
10612 esac | 10463 esac |
10613 test -z "$with_native_sound" -a -n "$native_sound_lib" && with_native_sound=yes | 10464 test -z "$with_native_sound" -a -n "$native_sound_lib" && with_native_sound=yes |
10614 | 10465 |
10615 if test "$with_native_sound" != "no"; then | 10466 if test "$with_native_sound" != "no"; then |
10616 if test -n "$native_sound_lib"; then | 10467 if test -n "$native_sound_lib"; then |
10617 ac_safe=`echo "multimedia/audio_device.h" | sed 'y%./+-%__p_%'` | 10468 ac_safe=`echo "multimedia/audio_device.h" | sed 'y%./+-%__p_%'` |
10618 echo $ac_n "checking for multimedia/audio_device.h""... $ac_c" 1>&6 | 10469 echo $ac_n "checking for multimedia/audio_device.h""... $ac_c" 1>&6 |
10619 echo "configure:10620: checking for multimedia/audio_device.h" >&5 | 10470 echo "configure:10471: checking for multimedia/audio_device.h" >&5 |
10620 | 10471 |
10621 cat > conftest.$ac_ext <<EOF | 10472 cat > conftest.$ac_ext <<EOF |
10622 #line 10623 "configure" | 10473 #line 10474 "configure" |
10623 #include "confdefs.h" | 10474 #include "confdefs.h" |
10624 #include <multimedia/audio_device.h> | 10475 #include <multimedia/audio_device.h> |
10625 EOF | 10476 EOF |
10626 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10477 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10627 { (eval echo configure:10628: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10478 { (eval echo configure:10479: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10628 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10479 ac_err=`grep -v '^ *+' conftest.out` |
10629 if test -z "$ac_err"; then | 10480 if test -z "$ac_err"; then |
10630 rm -rf conftest* | 10481 rm -rf conftest* |
10631 eval "ac_cv_header_$ac_safe=yes" | 10482 eval "ac_cv_header_$ac_safe=yes" |
10632 else | 10483 else |
10633 echo "$ac_err" >&5 | 10484 echo "$ac_err" >&5 |
10670 case "$canonical" in | 10521 case "$canonical" in |
10671 *-sgi-* ) | 10522 *-sgi-* ) |
10672 if test -z "$native_sound_lib"; then | 10523 if test -z "$native_sound_lib"; then |
10673 | 10524 |
10674 echo $ac_n "checking for ALopenport in -laudio""... $ac_c" 1>&6 | 10525 echo $ac_n "checking for ALopenport in -laudio""... $ac_c" 1>&6 |
10675 echo "configure:10676: checking for ALopenport in -laudio" >&5 | 10526 echo "configure:10527: checking for ALopenport in -laudio" >&5 |
10676 ac_lib_var=`echo audio'_'ALopenport | sed 'y%./+-%__p_%'` | 10527 ac_lib_var=`echo audio'_'ALopenport | sed 'y%./+-%__p_%'` |
10677 | 10528 |
10678 xe_check_libs=" -laudio " | 10529 xe_check_libs=" -laudio " |
10679 cat > conftest.$ac_ext <<EOF | 10530 cat > conftest.$ac_ext <<EOF |
10680 #line 10681 "configure" | 10531 #line 10532 "configure" |
10681 #include "confdefs.h" | 10532 #include "confdefs.h" |
10682 /* Override any gcc2 internal prototype to avoid an error. */ | 10533 /* Override any gcc2 internal prototype to avoid an error. */ |
10683 /* We use char because int might match the return type of a gcc2 | 10534 /* We use char because int might match the return type of a gcc2 |
10684 builtin and then its argument prototype would still apply. */ | 10535 builtin and then its argument prototype would still apply. */ |
10685 char ALopenport(); | 10536 char ALopenport(); |
10686 | 10537 |
10687 int main() { | 10538 int main() { |
10688 ALopenport() | 10539 ALopenport() |
10689 ; return 0; } | 10540 ; return 0; } |
10690 EOF | 10541 EOF |
10691 if { (eval echo configure:10692: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10542 if { (eval echo configure:10543: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
10692 rm -rf conftest* | 10543 rm -rf conftest* |
10693 eval "ac_cv_lib_$ac_lib_var=yes" | 10544 eval "ac_cv_lib_$ac_lib_var=yes" |
10694 else | 10545 else |
10695 echo "configure: failed program was:" >&5 | 10546 echo "configure: failed program was:" >&5 |
10696 cat conftest.$ac_ext >&5 | 10547 cat conftest.$ac_ext >&5 |
10717 fi ;; | 10568 fi ;; |
10718 hppa*-hp-hpux* ) | 10569 hppa*-hp-hpux* ) |
10719 if test -z "$native_sound_lib"; then | 10570 if test -z "$native_sound_lib"; then |
10720 | 10571 |
10721 echo $ac_n "checking for AOpenAudio in -lAlib""... $ac_c" 1>&6 | 10572 echo $ac_n "checking for AOpenAudio in -lAlib""... $ac_c" 1>&6 |
10722 echo "configure:10723: checking for AOpenAudio in -lAlib" >&5 | 10573 echo "configure:10574: checking for AOpenAudio in -lAlib" >&5 |
10723 ac_lib_var=`echo Alib'_'AOpenAudio | sed 'y%./+-%__p_%'` | 10574 ac_lib_var=`echo Alib'_'AOpenAudio | sed 'y%./+-%__p_%'` |
10724 | 10575 |
10725 xe_check_libs=" -lAlib " | 10576 xe_check_libs=" -lAlib " |
10726 cat > conftest.$ac_ext <<EOF | 10577 cat > conftest.$ac_ext <<EOF |
10727 #line 10728 "configure" | 10578 #line 10579 "configure" |
10728 #include "confdefs.h" | 10579 #include "confdefs.h" |
10729 /* Override any gcc2 internal prototype to avoid an error. */ | 10580 /* Override any gcc2 internal prototype to avoid an error. */ |
10730 /* We use char because int might match the return type of a gcc2 | 10581 /* We use char because int might match the return type of a gcc2 |
10731 builtin and then its argument prototype would still apply. */ | 10582 builtin and then its argument prototype would still apply. */ |
10732 char AOpenAudio(); | 10583 char AOpenAudio(); |
10733 | 10584 |
10734 int main() { | 10585 int main() { |
10735 AOpenAudio() | 10586 AOpenAudio() |
10736 ; return 0; } | 10587 ; return 0; } |
10737 EOF | 10588 EOF |
10738 if { (eval echo configure:10739: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10589 if { (eval echo configure:10590: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
10739 rm -rf conftest* | 10590 rm -rf conftest* |
10740 eval "ac_cv_lib_$ac_lib_var=yes" | 10591 eval "ac_cv_lib_$ac_lib_var=yes" |
10741 else | 10592 else |
10742 echo "configure: failed program was:" >&5 | 10593 echo "configure: failed program was:" >&5 |
10743 cat conftest.$ac_ext >&5 | 10594 cat conftest.$ac_ext >&5 |
10771 | 10622 |
10772 if test -z "$sound_found"; then | 10623 if test -z "$sound_found"; then |
10773 for dir in "machine" "sys" "linux"; do | 10624 for dir in "machine" "sys" "linux"; do |
10774 ac_safe=`echo "${dir}/soundcard.h" | sed 'y%./+-%__p_%'` | 10625 ac_safe=`echo "${dir}/soundcard.h" | sed 'y%./+-%__p_%'` |
10775 echo $ac_n "checking for ${dir}/soundcard.h""... $ac_c" 1>&6 | 10626 echo $ac_n "checking for ${dir}/soundcard.h""... $ac_c" 1>&6 |
10776 echo "configure:10777: checking for ${dir}/soundcard.h" >&5 | 10627 echo "configure:10628: checking for ${dir}/soundcard.h" >&5 |
10777 | 10628 |
10778 cat > conftest.$ac_ext <<EOF | 10629 cat > conftest.$ac_ext <<EOF |
10779 #line 10780 "configure" | 10630 #line 10631 "configure" |
10780 #include "confdefs.h" | 10631 #include "confdefs.h" |
10781 #include <${dir}/soundcard.h> | 10632 #include <${dir}/soundcard.h> |
10782 EOF | 10633 EOF |
10783 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10634 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10784 { (eval echo configure:10785: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10635 { (eval echo configure:10636: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10785 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10636 ac_err=`grep -v '^ *+' conftest.out` |
10786 if test -z "$ac_err"; then | 10637 if test -z "$ac_err"; then |
10787 rm -rf conftest* | 10638 rm -rf conftest* |
10788 eval "ac_cv_header_$ac_safe=yes" | 10639 eval "ac_cv_header_$ac_safe=yes" |
10789 else | 10640 else |
10790 echo "$ac_err" >&5 | 10641 echo "$ac_err" >&5 |
10849 extra_objs="$extra_objs nas.o" && if test "$extra_verbose" = "yes"; then | 10700 extra_objs="$extra_objs nas.o" && if test "$extra_verbose" = "yes"; then |
10850 echo " xemacs will be linked with \"nas.o\"" | 10701 echo " xemacs will be linked with \"nas.o\"" |
10851 fi | 10702 fi |
10852 libs_x="-laudio $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-laudio\" to \$libs_x"; fi | 10703 libs_x="-laudio $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-laudio\" to \$libs_x"; fi |
10853 cat > conftest.$ac_ext <<EOF | 10704 cat > conftest.$ac_ext <<EOF |
10854 #line 10855 "configure" | 10705 #line 10706 "configure" |
10855 #include "confdefs.h" | 10706 #include "confdefs.h" |
10856 #include <audio/Xtutil.h> | 10707 #include <audio/Xtutil.h> |
10857 EOF | 10708 EOF |
10858 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 10709 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
10859 egrep "AuXtErrorJump" >/dev/null 2>&1; then | 10710 egrep "AuXtErrorJump" >/dev/null 2>&1; then |
10876 | 10727 |
10877 test -z "$with_tty" && with_tty=yes | 10728 test -z "$with_tty" && with_tty=yes |
10878 | 10729 |
10879 if test "$with_tty" = "yes" ; then | 10730 if test "$with_tty" = "yes" ; then |
10880 echo "checking for TTY-related features" 1>&6 | 10731 echo "checking for TTY-related features" 1>&6 |
10881 echo "configure:10882: checking for TTY-related features" >&5 | 10732 echo "configure:10733: checking for TTY-related features" >&5 |
10882 { test "$extra_verbose" = "yes" && cat << \EOF | 10733 { test "$extra_verbose" = "yes" && cat << \EOF |
10883 Defining HAVE_TTY | 10734 Defining HAVE_TTY |
10884 EOF | 10735 EOF |
10885 cat >> confdefs.h <<\EOF | 10736 cat >> confdefs.h <<\EOF |
10886 #define HAVE_TTY 1 | 10737 #define HAVE_TTY 1 |
10892 fi | 10743 fi |
10893 | 10744 |
10894 if test -z "$with_ncurses"; then | 10745 if test -z "$with_ncurses"; then |
10895 | 10746 |
10896 echo $ac_n "checking for tgetent in -lncurses""... $ac_c" 1>&6 | 10747 echo $ac_n "checking for tgetent in -lncurses""... $ac_c" 1>&6 |
10897 echo "configure:10898: checking for tgetent in -lncurses" >&5 | 10748 echo "configure:10749: checking for tgetent in -lncurses" >&5 |
10898 ac_lib_var=`echo ncurses'_'tgetent | sed 'y%./+-%__p_%'` | 10749 ac_lib_var=`echo ncurses'_'tgetent | sed 'y%./+-%__p_%'` |
10899 | 10750 |
10900 xe_check_libs=" -lncurses " | 10751 xe_check_libs=" -lncurses " |
10901 cat > conftest.$ac_ext <<EOF | 10752 cat > conftest.$ac_ext <<EOF |
10902 #line 10903 "configure" | 10753 #line 10754 "configure" |
10903 #include "confdefs.h" | 10754 #include "confdefs.h" |
10904 /* Override any gcc2 internal prototype to avoid an error. */ | 10755 /* Override any gcc2 internal prototype to avoid an error. */ |
10905 /* We use char because int might match the return type of a gcc2 | 10756 /* We use char because int might match the return type of a gcc2 |
10906 builtin and then its argument prototype would still apply. */ | 10757 builtin and then its argument prototype would still apply. */ |
10907 char tgetent(); | 10758 char tgetent(); |
10908 | 10759 |
10909 int main() { | 10760 int main() { |
10910 tgetent() | 10761 tgetent() |
10911 ; return 0; } | 10762 ; return 0; } |
10912 EOF | 10763 EOF |
10913 if { (eval echo configure:10914: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10764 if { (eval echo configure:10765: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
10914 rm -rf conftest* | 10765 rm -rf conftest* |
10915 eval "ac_cv_lib_$ac_lib_var=yes" | 10766 eval "ac_cv_lib_$ac_lib_var=yes" |
10916 else | 10767 else |
10917 echo "configure: failed program was:" >&5 | 10768 echo "configure: failed program was:" >&5 |
10918 cat conftest.$ac_ext >&5 | 10769 cat conftest.$ac_ext >&5 |
10941 EOF | 10792 EOF |
10942 } | 10793 } |
10943 | 10794 |
10944 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` | 10795 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` |
10945 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 | 10796 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 |
10946 echo "configure:10947: checking for ncurses/curses.h" >&5 | 10797 echo "configure:10798: checking for ncurses/curses.h" >&5 |
10947 | 10798 |
10948 cat > conftest.$ac_ext <<EOF | 10799 cat > conftest.$ac_ext <<EOF |
10949 #line 10950 "configure" | 10800 #line 10801 "configure" |
10950 #include "confdefs.h" | 10801 #include "confdefs.h" |
10951 #include <ncurses/curses.h> | 10802 #include <ncurses/curses.h> |
10952 EOF | 10803 EOF |
10953 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10804 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10954 { (eval echo configure:10955: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10805 { (eval echo configure:10806: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10955 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10806 ac_err=`grep -v '^ *+' conftest.out` |
10956 if test -z "$ac_err"; then | 10807 if test -z "$ac_err"; then |
10957 rm -rf conftest* | 10808 rm -rf conftest* |
10958 eval "ac_cv_header_$ac_safe=yes" | 10809 eval "ac_cv_header_$ac_safe=yes" |
10959 else | 10810 else |
10960 echo "$ac_err" >&5 | 10811 echo "$ac_err" >&5 |
10971 echo "$ac_t""no" 1>&6 | 10822 echo "$ac_t""no" 1>&6 |
10972 fi | 10823 fi |
10973 | 10824 |
10974 ac_safe=`echo "ncurses/term.h" | sed 'y%./+-%__p_%'` | 10825 ac_safe=`echo "ncurses/term.h" | sed 'y%./+-%__p_%'` |
10975 echo $ac_n "checking for ncurses/term.h""... $ac_c" 1>&6 | 10826 echo $ac_n "checking for ncurses/term.h""... $ac_c" 1>&6 |
10976 echo "configure:10977: checking for ncurses/term.h" >&5 | 10827 echo "configure:10828: checking for ncurses/term.h" >&5 |
10977 | 10828 |
10978 cat > conftest.$ac_ext <<EOF | 10829 cat > conftest.$ac_ext <<EOF |
10979 #line 10980 "configure" | 10830 #line 10831 "configure" |
10980 #include "confdefs.h" | 10831 #include "confdefs.h" |
10981 #include <ncurses/term.h> | 10832 #include <ncurses/term.h> |
10982 EOF | 10833 EOF |
10983 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10834 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10984 { (eval echo configure:10985: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10835 { (eval echo configure:10836: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10985 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10836 ac_err=`grep -v '^ *+' conftest.out` |
10986 if test -z "$ac_err"; then | 10837 if test -z "$ac_err"; then |
10987 rm -rf conftest* | 10838 rm -rf conftest* |
10988 eval "ac_cv_header_$ac_safe=yes" | 10839 eval "ac_cv_header_$ac_safe=yes" |
10989 else | 10840 else |
10990 echo "$ac_err" >&5 | 10841 echo "$ac_err" >&5 |
11009 if test "$ac_cv_header_ncurses_curses_h" != "yes" ; then | 10860 if test "$ac_cv_header_ncurses_curses_h" != "yes" ; then |
11010 save_c_switch_site="$c_switch_site" | 10861 save_c_switch_site="$c_switch_site" |
11011 c_switch_site="$c_switch_site -I/usr/include/ncurses" | 10862 c_switch_site="$c_switch_site -I/usr/include/ncurses" |
11012 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` | 10863 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` |
11013 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 | 10864 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 |
11014 echo "configure:11015: checking for ncurses/curses.h" >&5 | 10865 echo "configure:10866: checking for ncurses/curses.h" >&5 |
11015 | 10866 |
11016 cat > conftest.$ac_ext <<EOF | 10867 cat > conftest.$ac_ext <<EOF |
11017 #line 11018 "configure" | 10868 #line 10869 "configure" |
11018 #include "confdefs.h" | 10869 #include "confdefs.h" |
11019 #include <ncurses/curses.h> | 10870 #include <ncurses/curses.h> |
11020 EOF | 10871 EOF |
11021 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10872 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
11022 { (eval echo configure:11023: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10873 { (eval echo configure:10874: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
11023 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10874 ac_err=`grep -v '^ *+' conftest.out` |
11024 if test -z "$ac_err"; then | 10875 if test -z "$ac_err"; then |
11025 rm -rf conftest* | 10876 rm -rf conftest* |
11026 eval "ac_cv_header_$ac_safe=yes" | 10877 eval "ac_cv_header_$ac_safe=yes" |
11027 else | 10878 else |
11028 echo "$ac_err" >&5 | 10879 echo "$ac_err" >&5 |
11052 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi | 10903 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi |
11053 else | 10904 else |
11054 for lib in curses termlib termcap; do | 10905 for lib in curses termlib termcap; do |
11055 | 10906 |
11056 echo $ac_n "checking for tgetent in -l$lib""... $ac_c" 1>&6 | 10907 echo $ac_n "checking for tgetent in -l$lib""... $ac_c" 1>&6 |
11057 echo "configure:11058: checking for tgetent in -l$lib" >&5 | 10908 echo "configure:10909: checking for tgetent in -l$lib" >&5 |
11058 ac_lib_var=`echo $lib'_'tgetent | sed 'y%./+-%__p_%'` | 10909 ac_lib_var=`echo $lib'_'tgetent | sed 'y%./+-%__p_%'` |
11059 | 10910 |
11060 xe_check_libs=" -l$lib " | 10911 xe_check_libs=" -l$lib " |
11061 cat > conftest.$ac_ext <<EOF | 10912 cat > conftest.$ac_ext <<EOF |
11062 #line 11063 "configure" | 10913 #line 10914 "configure" |
11063 #include "confdefs.h" | 10914 #include "confdefs.h" |
11064 /* Override any gcc2 internal prototype to avoid an error. */ | 10915 /* Override any gcc2 internal prototype to avoid an error. */ |
11065 /* We use char because int might match the return type of a gcc2 | 10916 /* We use char because int might match the return type of a gcc2 |
11066 builtin and then its argument prototype would still apply. */ | 10917 builtin and then its argument prototype would still apply. */ |
11067 char tgetent(); | 10918 char tgetent(); |
11068 | 10919 |
11069 int main() { | 10920 int main() { |
11070 tgetent() | 10921 tgetent() |
11071 ; return 0; } | 10922 ; return 0; } |
11072 EOF | 10923 EOF |
11073 if { (eval echo configure:11074: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10924 if { (eval echo configure:10925: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
11074 rm -rf conftest* | 10925 rm -rf conftest* |
11075 eval "ac_cv_lib_$ac_lib_var=yes" | 10926 eval "ac_cv_lib_$ac_lib_var=yes" |
11076 else | 10927 else |
11077 echo "configure: failed program was:" >&5 | 10928 echo "configure: failed program was:" >&5 |
11078 cat conftest.$ac_ext >&5 | 10929 cat conftest.$ac_ext >&5 |
11099 if test -n "$libs_termcap"; then | 10950 if test -n "$libs_termcap"; then |
11100 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi | 10951 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi |
11101 else | 10952 else |
11102 | 10953 |
11103 echo $ac_n "checking for tgetent in -lcurses""... $ac_c" 1>&6 | 10954 echo $ac_n "checking for tgetent in -lcurses""... $ac_c" 1>&6 |
11104 echo "configure:11105: checking for tgetent in -lcurses" >&5 | 10955 echo "configure:10956: checking for tgetent in -lcurses" >&5 |
11105 ac_lib_var=`echo curses'_'tgetent | sed 'y%./+-%__p_%'` | 10956 ac_lib_var=`echo curses'_'tgetent | sed 'y%./+-%__p_%'` |
11106 | 10957 |
11107 xe_check_libs=" -lcurses " | 10958 xe_check_libs=" -lcurses " |
11108 cat > conftest.$ac_ext <<EOF | 10959 cat > conftest.$ac_ext <<EOF |
11109 #line 11110 "configure" | 10960 #line 10961 "configure" |
11110 #include "confdefs.h" | 10961 #include "confdefs.h" |
11111 /* Override any gcc2 internal prototype to avoid an error. */ | 10962 /* Override any gcc2 internal prototype to avoid an error. */ |
11112 /* We use char because int might match the return type of a gcc2 | 10963 /* We use char because int might match the return type of a gcc2 |
11113 builtin and then its argument prototype would still apply. */ | 10964 builtin and then its argument prototype would still apply. */ |
11114 char tgetent(); | 10965 char tgetent(); |
11115 | 10966 |
11116 int main() { | 10967 int main() { |
11117 tgetent() | 10968 tgetent() |
11118 ; return 0; } | 10969 ; return 0; } |
11119 EOF | 10970 EOF |
11120 if { (eval echo configure:11121: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10971 if { (eval echo configure:10972: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
11121 rm -rf conftest* | 10972 rm -rf conftest* |
11122 eval "ac_cv_lib_$ac_lib_var=yes" | 10973 eval "ac_cv_lib_$ac_lib_var=yes" |
11123 else | 10974 else |
11124 echo "configure: failed program was:" >&5 | 10975 echo "configure: failed program was:" >&5 |
11125 cat conftest.$ac_ext >&5 | 10976 cat conftest.$ac_ext >&5 |
11133 echo "$ac_t""yes" 1>&6 | 10984 echo "$ac_t""yes" 1>&6 |
11134 LIBS="-lcurses $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lcurses\" to \$LIBS"; fi | 10985 LIBS="-lcurses $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lcurses\" to \$LIBS"; fi |
11135 else | 10986 else |
11136 echo "$ac_t""no" 1>&6 | 10987 echo "$ac_t""no" 1>&6 |
11137 echo $ac_n "checking for tgetent in -ltermcap""... $ac_c" 1>&6 | 10988 echo $ac_n "checking for tgetent in -ltermcap""... $ac_c" 1>&6 |
11138 echo "configure:11139: checking for tgetent in -ltermcap" >&5 | 10989 echo "configure:10990: checking for tgetent in -ltermcap" >&5 |
11139 ac_lib_var=`echo termcap'_'tgetent | sed 'y%./+-%__p_%'` | 10990 ac_lib_var=`echo termcap'_'tgetent | sed 'y%./+-%__p_%'` |
11140 | 10991 |
11141 xe_check_libs=" -ltermcap " | 10992 xe_check_libs=" -ltermcap " |
11142 cat > conftest.$ac_ext <<EOF | 10993 cat > conftest.$ac_ext <<EOF |
11143 #line 11144 "configure" | 10994 #line 10995 "configure" |
11144 #include "confdefs.h" | 10995 #include "confdefs.h" |
11145 /* Override any gcc2 internal prototype to avoid an error. */ | 10996 /* Override any gcc2 internal prototype to avoid an error. */ |
11146 /* We use char because int might match the return type of a gcc2 | 10997 /* We use char because int might match the return type of a gcc2 |
11147 builtin and then its argument prototype would still apply. */ | 10998 builtin and then its argument prototype would still apply. */ |
11148 char tgetent(); | 10999 char tgetent(); |
11149 | 11000 |
11150 int main() { | 11001 int main() { |
11151 tgetent() | 11002 tgetent() |
11152 ; return 0; } | 11003 ; return 0; } |
11153 EOF | 11004 EOF |
11154 if { (eval echo configure:11155: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11005 if { (eval echo configure:11006: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
11155 rm -rf conftest* | 11006 rm -rf conftest* |
11156 eval "ac_cv_lib_$ac_lib_var=yes" | 11007 eval "ac_cv_lib_$ac_lib_var=yes" |
11157 else | 11008 else |
11158 echo "configure: failed program was:" >&5 | 11009 echo "configure: failed program was:" >&5 |
11159 cat conftest.$ac_ext >&5 | 11010 cat conftest.$ac_ext >&5 |
11197 } | 11048 } |
11198 | 11049 |
11199 | 11050 |
11200 test -z "$with_gpm" && { ac_safe=`echo "gpm.h" | sed 'y%./+-%__p_%'` | 11051 test -z "$with_gpm" && { ac_safe=`echo "gpm.h" | sed 'y%./+-%__p_%'` |
11201 echo $ac_n "checking for gpm.h""... $ac_c" 1>&6 | 11052 echo $ac_n "checking for gpm.h""... $ac_c" 1>&6 |
11202 echo "configure:11203: checking for gpm.h" >&5 | 11053 echo "configure:11054: checking for gpm.h" >&5 |
11203 | 11054 |
11204 cat > conftest.$ac_ext <<EOF | 11055 cat > conftest.$ac_ext <<EOF |
11205 #line 11206 "configure" | 11056 #line 11057 "configure" |
11206 #include "confdefs.h" | 11057 #include "confdefs.h" |
11207 #include <gpm.h> | 11058 #include <gpm.h> |
11208 EOF | 11059 EOF |
11209 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 11060 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
11210 { (eval echo configure:11211: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 11061 { (eval echo configure:11062: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
11211 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 11062 ac_err=`grep -v '^ *+' conftest.out` |
11212 if test -z "$ac_err"; then | 11063 if test -z "$ac_err"; then |
11213 rm -rf conftest* | 11064 rm -rf conftest* |
11214 eval "ac_cv_header_$ac_safe=yes" | 11065 eval "ac_cv_header_$ac_safe=yes" |
11215 else | 11066 else |
11216 echo "$ac_err" >&5 | 11067 echo "$ac_err" >&5 |
11228 with_gpm=no | 11079 with_gpm=no |
11229 fi | 11080 fi |
11230 } | 11081 } |
11231 test -z "$with_gpm" && { | 11082 test -z "$with_gpm" && { |
11232 echo $ac_n "checking for Gpm_Open in -lgpm""... $ac_c" 1>&6 | 11083 echo $ac_n "checking for Gpm_Open in -lgpm""... $ac_c" 1>&6 |
11233 echo "configure:11234: checking for Gpm_Open in -lgpm" >&5 | 11084 echo "configure:11085: checking for Gpm_Open in -lgpm" >&5 |
11234 ac_lib_var=`echo gpm'_'Gpm_Open | sed 'y%./+-%__p_%'` | 11085 ac_lib_var=`echo gpm'_'Gpm_Open | sed 'y%./+-%__p_%'` |
11235 | 11086 |
11236 xe_check_libs=" -lgpm " | 11087 xe_check_libs=" -lgpm " |
11237 cat > conftest.$ac_ext <<EOF | 11088 cat > conftest.$ac_ext <<EOF |
11238 #line 11239 "configure" | 11089 #line 11090 "configure" |
11239 #include "confdefs.h" | 11090 #include "confdefs.h" |
11240 /* Override any gcc2 internal prototype to avoid an error. */ | 11091 /* Override any gcc2 internal prototype to avoid an error. */ |
11241 /* We use char because int might match the return type of a gcc2 | 11092 /* We use char because int might match the return type of a gcc2 |
11242 builtin and then its argument prototype would still apply. */ | 11093 builtin and then its argument prototype would still apply. */ |
11243 char Gpm_Open(); | 11094 char Gpm_Open(); |
11244 | 11095 |
11245 int main() { | 11096 int main() { |
11246 Gpm_Open() | 11097 Gpm_Open() |
11247 ; return 0; } | 11098 ; return 0; } |
11248 EOF | 11099 EOF |
11249 if { (eval echo configure:11250: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11100 if { (eval echo configure:11101: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
11250 rm -rf conftest* | 11101 rm -rf conftest* |
11251 eval "ac_cv_lib_$ac_lib_var=yes" | 11102 eval "ac_cv_lib_$ac_lib_var=yes" |
11252 else | 11103 else |
11253 echo "configure: failed program was:" >&5 | 11104 echo "configure: failed program was:" >&5 |
11254 cat conftest.$ac_ext >&5 | 11105 cat conftest.$ac_ext >&5 |
11294 fi | 11145 fi |
11295 | 11146 |
11296 | 11147 |
11297 test "$with_database_gnudbm $with_database_dbm $with_database_berkdb" \ | 11148 test "$with_database_gnudbm $with_database_dbm $with_database_berkdb" \ |
11298 != "no no no" && echo "checking for database support" 1>&6 | 11149 != "no no no" && echo "checking for database support" 1>&6 |
11299 echo "configure:11300: checking for database support" >&5 | 11150 echo "configure:11151: checking for database support" >&5 |
11300 | 11151 |
11301 if test "$with_database_gnudbm $with_database_dbm" != "no no"; then | 11152 if test "$with_database_gnudbm $with_database_dbm" != "no no"; then |
11302 ac_safe=`echo "ndbm.h" | sed 'y%./+-%__p_%'` | 11153 ac_safe=`echo "ndbm.h" | sed 'y%./+-%__p_%'` |
11303 echo $ac_n "checking for ndbm.h""... $ac_c" 1>&6 | 11154 echo $ac_n "checking for ndbm.h""... $ac_c" 1>&6 |
11304 echo "configure:11305: checking for ndbm.h" >&5 | 11155 echo "configure:11156: checking for ndbm.h" >&5 |
11305 | 11156 |
11306 cat > conftest.$ac_ext <<EOF | 11157 cat > conftest.$ac_ext <<EOF |
11307 #line 11308 "configure" | 11158 #line 11159 "configure" |
11308 #include "confdefs.h" | 11159 #include "confdefs.h" |
11309 #include <ndbm.h> | 11160 #include <ndbm.h> |
11310 EOF | 11161 EOF |
11311 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 11162 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
11312 { (eval echo configure:11313: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 11163 { (eval echo configure:11164: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
11313 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 11164 ac_err=`grep -v '^ *+' conftest.out` |
11314 if test -z "$ac_err"; then | 11165 if test -z "$ac_err"; then |
11315 rm -rf conftest* | 11166 rm -rf conftest* |
11316 eval "ac_cv_header_$ac_safe=yes" | 11167 eval "ac_cv_header_$ac_safe=yes" |
11317 else | 11168 else |
11318 echo "$ac_err" >&5 | 11169 echo "$ac_err" >&5 |
11337 fi | 11188 fi |
11338 | 11189 |
11339 if test "$with_database_gnudbm" != "no"; then | 11190 if test "$with_database_gnudbm" != "no"; then |
11340 | 11191 |
11341 echo $ac_n "checking for dbm_open in -lgdbm""... $ac_c" 1>&6 | 11192 echo $ac_n "checking for dbm_open in -lgdbm""... $ac_c" 1>&6 |
11342 echo "configure:11343: checking for dbm_open in -lgdbm" >&5 | 11193 echo "configure:11194: checking for dbm_open in -lgdbm" >&5 |
11343 ac_lib_var=`echo gdbm'_'dbm_open | sed 'y%./+-%__p_%'` | 11194 ac_lib_var=`echo gdbm'_'dbm_open | sed 'y%./+-%__p_%'` |
11344 | 11195 |
11345 xe_check_libs=" -lgdbm " | 11196 xe_check_libs=" -lgdbm " |
11346 cat > conftest.$ac_ext <<EOF | 11197 cat > conftest.$ac_ext <<EOF |
11347 #line 11348 "configure" | 11198 #line 11199 "configure" |
11348 #include "confdefs.h" | 11199 #include "confdefs.h" |
11349 /* Override any gcc2 internal prototype to avoid an error. */ | 11200 /* Override any gcc2 internal prototype to avoid an error. */ |
11350 /* We use char because int might match the return type of a gcc2 | 11201 /* We use char because int might match the return type of a gcc2 |
11351 builtin and then its argument prototype would still apply. */ | 11202 builtin and then its argument prototype would still apply. */ |
11352 char dbm_open(); | 11203 char dbm_open(); |
11353 | 11204 |
11354 int main() { | 11205 int main() { |
11355 dbm_open() | 11206 dbm_open() |
11356 ; return 0; } | 11207 ; return 0; } |
11357 EOF | 11208 EOF |
11358 if { (eval echo configure:11359: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11209 if { (eval echo configure:11210: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
11359 rm -rf conftest* | 11210 rm -rf conftest* |
11360 eval "ac_cv_lib_$ac_lib_var=yes" | 11211 eval "ac_cv_lib_$ac_lib_var=yes" |
11361 else | 11212 else |
11362 echo "configure: failed program was:" >&5 | 11213 echo "configure: failed program was:" >&5 |
11363 cat conftest.$ac_ext >&5 | 11214 cat conftest.$ac_ext >&5 |
11381 | 11232 |
11382 fi | 11233 fi |
11383 | 11234 |
11384 if test "$with_database_dbm" != "no"; then | 11235 if test "$with_database_dbm" != "no"; then |
11385 echo $ac_n "checking for dbm_open""... $ac_c" 1>&6 | 11236 echo $ac_n "checking for dbm_open""... $ac_c" 1>&6 |
11386 echo "configure:11387: checking for dbm_open" >&5 | 11237 echo "configure:11238: checking for dbm_open" >&5 |
11387 | 11238 |
11388 cat > conftest.$ac_ext <<EOF | 11239 cat > conftest.$ac_ext <<EOF |
11389 #line 11390 "configure" | 11240 #line 11241 "configure" |
11390 #include "confdefs.h" | 11241 #include "confdefs.h" |
11391 /* System header to define __stub macros and hopefully few prototypes, | 11242 /* System header to define __stub macros and hopefully few prototypes, |
11392 which can conflict with char dbm_open(); below. */ | 11243 which can conflict with char dbm_open(); below. */ |
11393 #include <assert.h> | 11244 #include <assert.h> |
11394 /* Override any gcc2 internal prototype to avoid an error. */ | 11245 /* Override any gcc2 internal prototype to avoid an error. */ |
11407 dbm_open(); | 11258 dbm_open(); |
11408 #endif | 11259 #endif |
11409 | 11260 |
11410 ; return 0; } | 11261 ; return 0; } |
11411 EOF | 11262 EOF |
11412 if { (eval echo configure:11413: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11263 if { (eval echo configure:11264: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
11413 rm -rf conftest* | 11264 rm -rf conftest* |
11414 eval "ac_cv_func_dbm_open=yes" | 11265 eval "ac_cv_func_dbm_open=yes" |
11415 else | 11266 else |
11416 echo "configure: failed program was:" >&5 | 11267 echo "configure: failed program was:" >&5 |
11417 cat conftest.$ac_ext >&5 | 11268 cat conftest.$ac_ext >&5 |
11426 else | 11277 else |
11427 echo "$ac_t""no" 1>&6 | 11278 echo "$ac_t""no" 1>&6 |
11428 | 11279 |
11429 | 11280 |
11430 echo $ac_n "checking for dbm_open in -ldbm""... $ac_c" 1>&6 | 11281 echo $ac_n "checking for dbm_open in -ldbm""... $ac_c" 1>&6 |
11431 echo "configure:11432: checking for dbm_open in -ldbm" >&5 | 11282 echo "configure:11283: checking for dbm_open in -ldbm" >&5 |
11432 ac_lib_var=`echo dbm'_'dbm_open | sed 'y%./+-%__p_%'` | 11283 ac_lib_var=`echo dbm'_'dbm_open | sed 'y%./+-%__p_%'` |
11433 | 11284 |
11434 xe_check_libs=" -ldbm " | 11285 xe_check_libs=" -ldbm " |
11435 cat > conftest.$ac_ext <<EOF | 11286 cat > conftest.$ac_ext <<EOF |
11436 #line 11437 "configure" | 11287 #line 11288 "configure" |
11437 #include "confdefs.h" | 11288 #include "confdefs.h" |
11438 /* Override any gcc2 internal prototype to avoid an error. */ | 11289 /* Override any gcc2 internal prototype to avoid an error. */ |
11439 /* We use char because int might match the return type of a gcc2 | 11290 /* We use char because int might match the return type of a gcc2 |
11440 builtin and then its argument prototype would still apply. */ | 11291 builtin and then its argument prototype would still apply. */ |
11441 char dbm_open(); | 11292 char dbm_open(); |
11442 | 11293 |
11443 int main() { | 11294 int main() { |
11444 dbm_open() | 11295 dbm_open() |
11445 ; return 0; } | 11296 ; return 0; } |
11446 EOF | 11297 EOF |
11447 if { (eval echo configure:11448: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11298 if { (eval echo configure:11299: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
11448 rm -rf conftest* | 11299 rm -rf conftest* |
11449 eval "ac_cv_lib_$ac_lib_var=yes" | 11300 eval "ac_cv_lib_$ac_lib_var=yes" |
11450 else | 11301 else |
11451 echo "configure: failed program was:" >&5 | 11302 echo "configure: failed program was:" >&5 |
11452 cat conftest.$ac_ext >&5 | 11303 cat conftest.$ac_ext >&5 |
11483 } | 11334 } |
11484 | 11335 |
11485 | 11336 |
11486 if test "$with_database_berkdb" != "no"; then | 11337 if test "$with_database_berkdb" != "no"; then |
11487 echo $ac_n "checking for Berkeley db.h""... $ac_c" 1>&6 | 11338 echo $ac_n "checking for Berkeley db.h""... $ac_c" 1>&6 |
11488 echo "configure:11489: checking for Berkeley db.h" >&5 | 11339 echo "configure:11340: checking for Berkeley db.h" >&5 |
11489 for path in "db/db.h" "db.h"; do | 11340 for path in "db/db.h" "db.h"; do |
11490 cat > conftest.$ac_ext <<EOF | 11341 cat > conftest.$ac_ext <<EOF |
11491 #line 11492 "configure" | 11342 #line 11343 "configure" |
11492 #include "confdefs.h" | 11343 #include "confdefs.h" |
11493 #ifdef HAVE_INTTYPES_H | 11344 #ifdef HAVE_INTTYPES_H |
11494 #define __BIT_TYPES_DEFINED__ | 11345 #define __BIT_TYPES_DEFINED__ |
11495 #include <inttypes.h> | 11346 #include <inttypes.h> |
11496 typedef uint8_t u_int8_t; | 11347 typedef uint8_t u_int8_t; |
11504 | 11355 |
11505 int main() { | 11356 int main() { |
11506 | 11357 |
11507 ; return 0; } | 11358 ; return 0; } |
11508 EOF | 11359 EOF |
11509 if { (eval echo configure:11510: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 11360 if { (eval echo configure:11361: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
11510 rm -rf conftest* | 11361 rm -rf conftest* |
11511 db_h_path="$path"; break | 11362 db_h_path="$path"; break |
11512 else | 11363 else |
11513 echo "configure: failed program was:" >&5 | 11364 echo "configure: failed program was:" >&5 |
11514 cat conftest.$ac_ext >&5 | 11365 cat conftest.$ac_ext >&5 |
11520 else echo "$ac_t""$db_h_path" 1>&6 | 11371 else echo "$ac_t""$db_h_path" 1>&6 |
11521 fi | 11372 fi |
11522 | 11373 |
11523 if test "$with_database_berkdb" != "no"; then | 11374 if test "$with_database_berkdb" != "no"; then |
11524 echo $ac_n "checking for Berkeley DB version""... $ac_c" 1>&6 | 11375 echo $ac_n "checking for Berkeley DB version""... $ac_c" 1>&6 |
11525 echo "configure:11526: checking for Berkeley DB version" >&5 | 11376 echo "configure:11377: checking for Berkeley DB version" >&5 |
11526 cat > conftest.$ac_ext <<EOF | 11377 cat > conftest.$ac_ext <<EOF |
11527 #line 11528 "configure" | 11378 #line 11379 "configure" |
11528 #include "confdefs.h" | 11379 #include "confdefs.h" |
11529 #include <$db_h_path> | 11380 #include <$db_h_path> |
11530 #if DB_VERSION_MAJOR > 1 | 11381 #if DB_VERSION_MAJOR > 1 |
11531 yes | 11382 yes |
11532 #endif | 11383 #endif |
11541 echo "$ac_t""1" 1>&6; dbfunc=dbopen | 11392 echo "$ac_t""1" 1>&6; dbfunc=dbopen |
11542 fi | 11393 fi |
11543 rm -f conftest* | 11394 rm -f conftest* |
11544 | 11395 |
11545 echo $ac_n "checking for $dbfunc""... $ac_c" 1>&6 | 11396 echo $ac_n "checking for $dbfunc""... $ac_c" 1>&6 |
11546 echo "configure:11547: checking for $dbfunc" >&5 | 11397 echo "configure:11398: checking for $dbfunc" >&5 |
11547 | 11398 |
11548 cat > conftest.$ac_ext <<EOF | 11399 cat > conftest.$ac_ext <<EOF |
11549 #line 11550 "configure" | 11400 #line 11401 "configure" |
11550 #include "confdefs.h" | 11401 #include "confdefs.h" |
11551 /* System header to define __stub macros and hopefully few prototypes, | 11402 /* System header to define __stub macros and hopefully few prototypes, |
11552 which can conflict with char $dbfunc(); below. */ | 11403 which can conflict with char $dbfunc(); below. */ |
11553 #include <assert.h> | 11404 #include <assert.h> |
11554 /* Override any gcc2 internal prototype to avoid an error. */ | 11405 /* Override any gcc2 internal prototype to avoid an error. */ |
11567 $dbfunc(); | 11418 $dbfunc(); |
11568 #endif | 11419 #endif |
11569 | 11420 |
11570 ; return 0; } | 11421 ; return 0; } |
11571 EOF | 11422 EOF |
11572 if { (eval echo configure:11573: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11423 if { (eval echo configure:11424: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
11573 rm -rf conftest* | 11424 rm -rf conftest* |
11574 eval "ac_cv_func_$dbfunc=yes" | 11425 eval "ac_cv_func_$dbfunc=yes" |
11575 else | 11426 else |
11576 echo "configure: failed program was:" >&5 | 11427 echo "configure: failed program was:" >&5 |
11577 cat conftest.$ac_ext >&5 | 11428 cat conftest.$ac_ext >&5 |
11586 else | 11437 else |
11587 echo "$ac_t""no" 1>&6 | 11438 echo "$ac_t""no" 1>&6 |
11588 | 11439 |
11589 | 11440 |
11590 echo $ac_n "checking for $dbfunc in -ldb""... $ac_c" 1>&6 | 11441 echo $ac_n "checking for $dbfunc in -ldb""... $ac_c" 1>&6 |
11591 echo "configure:11592: checking for $dbfunc in -ldb" >&5 | 11442 echo "configure:11443: checking for $dbfunc in -ldb" >&5 |
11592 ac_lib_var=`echo db'_'$dbfunc | sed 'y%./+-%__p_%'` | 11443 ac_lib_var=`echo db'_'$dbfunc | sed 'y%./+-%__p_%'` |
11593 | 11444 |
11594 xe_check_libs=" -ldb " | 11445 xe_check_libs=" -ldb " |
11595 cat > conftest.$ac_ext <<EOF | 11446 cat > conftest.$ac_ext <<EOF |
11596 #line 11597 "configure" | 11447 #line 11448 "configure" |
11597 #include "confdefs.h" | 11448 #include "confdefs.h" |
11598 /* Override any gcc2 internal prototype to avoid an error. */ | 11449 /* Override any gcc2 internal prototype to avoid an error. */ |
11599 /* We use char because int might match the return type of a gcc2 | 11450 /* We use char because int might match the return type of a gcc2 |
11600 builtin and then its argument prototype would still apply. */ | 11451 builtin and then its argument prototype would still apply. */ |
11601 char $dbfunc(); | 11452 char $dbfunc(); |
11602 | 11453 |
11603 int main() { | 11454 int main() { |
11604 $dbfunc() | 11455 $dbfunc() |
11605 ; return 0; } | 11456 ; return 0; } |
11606 EOF | 11457 EOF |
11607 if { (eval echo configure:11608: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11458 if { (eval echo configure:11459: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
11608 rm -rf conftest* | 11459 rm -rf conftest* |
11609 eval "ac_cv_lib_$ac_lib_var=yes" | 11460 eval "ac_cv_lib_$ac_lib_var=yes" |
11610 else | 11461 else |
11611 echo "configure: failed program was:" >&5 | 11462 echo "configure: failed program was:" >&5 |
11612 cat conftest.$ac_ext >&5 | 11463 cat conftest.$ac_ext >&5 |
11666 fi | 11517 fi |
11667 | 11518 |
11668 if test "$with_socks" = "yes"; then | 11519 if test "$with_socks" = "yes"; then |
11669 | 11520 |
11670 echo $ac_n "checking for SOCKSinit in -lsocks""... $ac_c" 1>&6 | 11521 echo $ac_n "checking for SOCKSinit in -lsocks""... $ac_c" 1>&6 |
11671 echo "configure:11672: checking for SOCKSinit in -lsocks" >&5 | 11522 echo "configure:11523: checking for SOCKSinit in -lsocks" >&5 |
11672 ac_lib_var=`echo socks'_'SOCKSinit | sed 'y%./+-%__p_%'` | 11523 ac_lib_var=`echo socks'_'SOCKSinit | sed 'y%./+-%__p_%'` |
11673 | 11524 |
11674 xe_check_libs=" -lsocks " | 11525 xe_check_libs=" -lsocks " |
11675 cat > conftest.$ac_ext <<EOF | 11526 cat > conftest.$ac_ext <<EOF |
11676 #line 11677 "configure" | 11527 #line 11528 "configure" |
11677 #include "confdefs.h" | 11528 #include "confdefs.h" |
11678 /* Override any gcc2 internal prototype to avoid an error. */ | 11529 /* Override any gcc2 internal prototype to avoid an error. */ |
11679 /* We use char because int might match the return type of a gcc2 | 11530 /* We use char because int might match the return type of a gcc2 |
11680 builtin and then its argument prototype would still apply. */ | 11531 builtin and then its argument prototype would still apply. */ |
11681 char SOCKSinit(); | 11532 char SOCKSinit(); |
11682 | 11533 |
11683 int main() { | 11534 int main() { |
11684 SOCKSinit() | 11535 SOCKSinit() |
11685 ; return 0; } | 11536 ; return 0; } |
11686 EOF | 11537 EOF |
11687 if { (eval echo configure:11688: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11538 if { (eval echo configure:11539: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
11688 rm -rf conftest* | 11539 rm -rf conftest* |
11689 eval "ac_cv_lib_$ac_lib_var=yes" | 11540 eval "ac_cv_lib_$ac_lib_var=yes" |
11690 else | 11541 else |
11691 echo "configure: failed program was:" >&5 | 11542 echo "configure: failed program was:" >&5 |
11692 cat conftest.$ac_ext >&5 | 11543 cat conftest.$ac_ext >&5 |
11739 | 11590 |
11740 for ac_hdr in dlfcn.h | 11591 for ac_hdr in dlfcn.h |
11741 do | 11592 do |
11742 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 11593 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
11743 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 11594 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
11744 echo "configure:11745: checking for $ac_hdr" >&5 | 11595 echo "configure:11596: checking for $ac_hdr" >&5 |
11745 | 11596 |
11746 cat > conftest.$ac_ext <<EOF | 11597 cat > conftest.$ac_ext <<EOF |
11747 #line 11748 "configure" | 11598 #line 11599 "configure" |
11748 #include "confdefs.h" | 11599 #include "confdefs.h" |
11749 #include <$ac_hdr> | 11600 #include <$ac_hdr> |
11750 EOF | 11601 EOF |
11751 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 11602 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
11752 { (eval echo configure:11753: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 11603 { (eval echo configure:11604: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
11753 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 11604 ac_err=`grep -v '^ *+' conftest.out` |
11754 if test -z "$ac_err"; then | 11605 if test -z "$ac_err"; then |
11755 rm -rf conftest* | 11606 rm -rf conftest* |
11756 eval "ac_cv_header_$ac_safe=yes" | 11607 eval "ac_cv_header_$ac_safe=yes" |
11757 else | 11608 else |
11758 echo "$ac_err" >&5 | 11609 echo "$ac_err" >&5 |
11786 fi | 11637 fi |
11787 done | 11638 done |
11788 | 11639 |
11789 test -z "$with_shlib" && test ! -z "$have_dlfcn" && { | 11640 test -z "$with_shlib" && test ! -z "$have_dlfcn" && { |
11790 echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6 | 11641 echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6 |
11791 echo "configure:11792: checking for dlopen in -ldl" >&5 | 11642 echo "configure:11643: checking for dlopen in -ldl" >&5 |
11792 ac_lib_var=`echo dl'_'dlopen | sed 'y%./+-%__p_%'` | 11643 ac_lib_var=`echo dl'_'dlopen | sed 'y%./+-%__p_%'` |
11793 | 11644 |
11794 xe_check_libs=" -ldl " | 11645 xe_check_libs=" -ldl " |
11795 cat > conftest.$ac_ext <<EOF | 11646 cat > conftest.$ac_ext <<EOF |
11796 #line 11797 "configure" | 11647 #line 11648 "configure" |
11797 #include "confdefs.h" | 11648 #include "confdefs.h" |
11798 /* Override any gcc2 internal prototype to avoid an error. */ | 11649 /* Override any gcc2 internal prototype to avoid an error. */ |
11799 /* We use char because int might match the return type of a gcc2 | 11650 /* We use char because int might match the return type of a gcc2 |
11800 builtin and then its argument prototype would still apply. */ | 11651 builtin and then its argument prototype would still apply. */ |
11801 char dlopen(); | 11652 char dlopen(); |
11802 | 11653 |
11803 int main() { | 11654 int main() { |
11804 dlopen() | 11655 dlopen() |
11805 ; return 0; } | 11656 ; return 0; } |
11806 EOF | 11657 EOF |
11807 if { (eval echo configure:11808: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11658 if { (eval echo configure:11659: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
11808 rm -rf conftest* | 11659 rm -rf conftest* |
11809 eval "ac_cv_lib_$ac_lib_var=yes" | 11660 eval "ac_cv_lib_$ac_lib_var=yes" |
11810 else | 11661 else |
11811 echo "configure: failed program was:" >&5 | 11662 echo "configure: failed program was:" >&5 |
11812 cat conftest.$ac_ext >&5 | 11663 cat conftest.$ac_ext >&5 |
11831 fi | 11682 fi |
11832 | 11683 |
11833 } | 11684 } |
11834 test -z "$with_shlib" && test ! -z "$have_dlfcn" && { | 11685 test -z "$with_shlib" && test ! -z "$have_dlfcn" && { |
11835 echo $ac_n "checking for _dlopen in -lc""... $ac_c" 1>&6 | 11686 echo $ac_n "checking for _dlopen in -lc""... $ac_c" 1>&6 |
11836 echo "configure:11837: checking for _dlopen in -lc" >&5 | 11687 echo "configure:11688: checking for _dlopen in -lc" >&5 |
11837 ac_lib_var=`echo c'_'_dlopen | sed 'y%./+-%__p_%'` | 11688 ac_lib_var=`echo c'_'_dlopen | sed 'y%./+-%__p_%'` |
11838 | 11689 |
11839 xe_check_libs=" -lc " | 11690 xe_check_libs=" -lc " |
11840 cat > conftest.$ac_ext <<EOF | 11691 cat > conftest.$ac_ext <<EOF |
11841 #line 11842 "configure" | 11692 #line 11693 "configure" |
11842 #include "confdefs.h" | 11693 #include "confdefs.h" |
11843 /* Override any gcc2 internal prototype to avoid an error. */ | 11694 /* Override any gcc2 internal prototype to avoid an error. */ |
11844 /* We use char because int might match the return type of a gcc2 | 11695 /* We use char because int might match the return type of a gcc2 |
11845 builtin and then its argument prototype would still apply. */ | 11696 builtin and then its argument prototype would still apply. */ |
11846 char _dlopen(); | 11697 char _dlopen(); |
11847 | 11698 |
11848 int main() { | 11699 int main() { |
11849 _dlopen() | 11700 _dlopen() |
11850 ; return 0; } | 11701 ; return 0; } |
11851 EOF | 11702 EOF |
11852 if { (eval echo configure:11853: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11703 if { (eval echo configure:11704: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
11853 rm -rf conftest* | 11704 rm -rf conftest* |
11854 eval "ac_cv_lib_$ac_lib_var=yes" | 11705 eval "ac_cv_lib_$ac_lib_var=yes" |
11855 else | 11706 else |
11856 echo "configure: failed program was:" >&5 | 11707 echo "configure: failed program was:" >&5 |
11857 cat conftest.$ac_ext >&5 | 11708 cat conftest.$ac_ext >&5 |
11876 fi | 11727 fi |
11877 | 11728 |
11878 } | 11729 } |
11879 test -z "$with_shlib" && test ! -z "$have_dlfcn" && { | 11730 test -z "$with_shlib" && test ! -z "$have_dlfcn" && { |
11880 echo $ac_n "checking for dlopen in -lc""... $ac_c" 1>&6 | 11731 echo $ac_n "checking for dlopen in -lc""... $ac_c" 1>&6 |
11881 echo "configure:11882: checking for dlopen in -lc" >&5 | 11732 echo "configure:11733: checking for dlopen in -lc" >&5 |
11882 ac_lib_var=`echo c'_'dlopen | sed 'y%./+-%__p_%'` | 11733 ac_lib_var=`echo c'_'dlopen | sed 'y%./+-%__p_%'` |
11883 | 11734 |
11884 xe_check_libs=" -lc " | 11735 xe_check_libs=" -lc " |
11885 cat > conftest.$ac_ext <<EOF | 11736 cat > conftest.$ac_ext <<EOF |
11886 #line 11887 "configure" | 11737 #line 11738 "configure" |
11887 #include "confdefs.h" | 11738 #include "confdefs.h" |
11888 /* Override any gcc2 internal prototype to avoid an error. */ | 11739 /* Override any gcc2 internal prototype to avoid an error. */ |
11889 /* We use char because int might match the return type of a gcc2 | 11740 /* We use char because int might match the return type of a gcc2 |
11890 builtin and then its argument prototype would still apply. */ | 11741 builtin and then its argument prototype would still apply. */ |
11891 char dlopen(); | 11742 char dlopen(); |
11892 | 11743 |
11893 int main() { | 11744 int main() { |
11894 dlopen() | 11745 dlopen() |
11895 ; return 0; } | 11746 ; return 0; } |
11896 EOF | 11747 EOF |
11897 if { (eval echo configure:11898: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11748 if { (eval echo configure:11749: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
11898 rm -rf conftest* | 11749 rm -rf conftest* |
11899 eval "ac_cv_lib_$ac_lib_var=yes" | 11750 eval "ac_cv_lib_$ac_lib_var=yes" |
11900 else | 11751 else |
11901 echo "configure: failed program was:" >&5 | 11752 echo "configure: failed program was:" >&5 |
11902 cat conftest.$ac_ext >&5 | 11753 cat conftest.$ac_ext >&5 |
11921 fi | 11772 fi |
11922 | 11773 |
11923 } | 11774 } |
11924 test -z "$with_shlib" && { | 11775 test -z "$with_shlib" && { |
11925 echo $ac_n "checking for shl_load in -ldld""... $ac_c" 1>&6 | 11776 echo $ac_n "checking for shl_load in -ldld""... $ac_c" 1>&6 |
11926 echo "configure:11927: checking for shl_load in -ldld" >&5 | 11777 echo "configure:11778: checking for shl_load in -ldld" >&5 |
11927 ac_lib_var=`echo dld'_'shl_load | sed 'y%./+-%__p_%'` | 11778 ac_lib_var=`echo dld'_'shl_load | sed 'y%./+-%__p_%'` |
11928 | 11779 |
11929 xe_check_libs=" -ldld " | 11780 xe_check_libs=" -ldld " |
11930 cat > conftest.$ac_ext <<EOF | 11781 cat > conftest.$ac_ext <<EOF |
11931 #line 11932 "configure" | 11782 #line 11783 "configure" |
11932 #include "confdefs.h" | 11783 #include "confdefs.h" |
11933 /* Override any gcc2 internal prototype to avoid an error. */ | 11784 /* Override any gcc2 internal prototype to avoid an error. */ |
11934 /* We use char because int might match the return type of a gcc2 | 11785 /* We use char because int might match the return type of a gcc2 |
11935 builtin and then its argument prototype would still apply. */ | 11786 builtin and then its argument prototype would still apply. */ |
11936 char shl_load(); | 11787 char shl_load(); |
11937 | 11788 |
11938 int main() { | 11789 int main() { |
11939 shl_load() | 11790 shl_load() |
11940 ; return 0; } | 11791 ; return 0; } |
11941 EOF | 11792 EOF |
11942 if { (eval echo configure:11943: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11793 if { (eval echo configure:11794: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
11943 rm -rf conftest* | 11794 rm -rf conftest* |
11944 eval "ac_cv_lib_$ac_lib_var=yes" | 11795 eval "ac_cv_lib_$ac_lib_var=yes" |
11945 else | 11796 else |
11946 echo "configure: failed program was:" >&5 | 11797 echo "configure: failed program was:" >&5 |
11947 cat conftest.$ac_ext >&5 | 11798 cat conftest.$ac_ext >&5 |
11966 fi | 11817 fi |
11967 | 11818 |
11968 } | 11819 } |
11969 test -z "$with_shlib" && { | 11820 test -z "$with_shlib" && { |
11970 echo $ac_n "checking for dld_init in -ldld""... $ac_c" 1>&6 | 11821 echo $ac_n "checking for dld_init in -ldld""... $ac_c" 1>&6 |
11971 echo "configure:11972: checking for dld_init in -ldld" >&5 | 11822 echo "configure:11823: checking for dld_init in -ldld" >&5 |
11972 ac_lib_var=`echo dld'_'dld_init | sed 'y%./+-%__p_%'` | 11823 ac_lib_var=`echo dld'_'dld_init | sed 'y%./+-%__p_%'` |
11973 | 11824 |
11974 xe_check_libs=" -ldld " | 11825 xe_check_libs=" -ldld " |
11975 cat > conftest.$ac_ext <<EOF | 11826 cat > conftest.$ac_ext <<EOF |
11976 #line 11977 "configure" | 11827 #line 11828 "configure" |
11977 #include "confdefs.h" | 11828 #include "confdefs.h" |
11978 /* Override any gcc2 internal prototype to avoid an error. */ | 11829 /* Override any gcc2 internal prototype to avoid an error. */ |
11979 /* We use char because int might match the return type of a gcc2 | 11830 /* We use char because int might match the return type of a gcc2 |
11980 builtin and then its argument prototype would still apply. */ | 11831 builtin and then its argument prototype would still apply. */ |
11981 char dld_init(); | 11832 char dld_init(); |
11982 | 11833 |
11983 int main() { | 11834 int main() { |
11984 dld_init() | 11835 dld_init() |
11985 ; return 0; } | 11836 ; return 0; } |
11986 EOF | 11837 EOF |
11987 if { (eval echo configure:11988: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11838 if { (eval echo configure:11839: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
11988 rm -rf conftest* | 11839 rm -rf conftest* |
11989 eval "ac_cv_lib_$ac_lib_var=yes" | 11840 eval "ac_cv_lib_$ac_lib_var=yes" |
11990 else | 11841 else |
11991 echo "configure: failed program was:" >&5 | 11842 echo "configure: failed program was:" >&5 |
11992 cat conftest.$ac_ext >&5 | 11843 cat conftest.$ac_ext >&5 |
12021 ld_dynamic_link_flags= | 11872 ld_dynamic_link_flags= |
12022 xehost=$canonical | 11873 xehost=$canonical |
12023 xealias=$internal_configuration | 11874 xealias=$internal_configuration |
12024 | 11875 |
12025 echo "checking how to build dynamic libraries for ${xehost}" 1>&6 | 11876 echo "checking how to build dynamic libraries for ${xehost}" 1>&6 |
12026 echo "configure:12027: checking how to build dynamic libraries for ${xehost}" >&5 | 11877 echo "configure:11878: checking how to build dynamic libraries for ${xehost}" >&5 |
12027 # Transform *-*-linux* to *-*-linux-gnu*, to support old configure scripts. | 11878 # Transform *-*-linux* to *-*-linux-gnu*, to support old configure scripts. |
12028 case "$xehost" in | 11879 case "$xehost" in |
12029 *-*-linux-gnu*) ;; | 11880 *-*-linux-gnu*) ;; |
12030 *-*-linux*) xehost=`echo $xehost | sed 's/^\(.*-.*-linux\)\(.*\)$/\1-gnu\2/'` | 11881 *-*-linux*) xehost=`echo $xehost | sed 's/^\(.*-.*-linux\)\(.*\)$/\1-gnu\2/'` |
12031 esac | 11882 esac |
12049 # Now see if the compiler is really GCC. | 11900 # Now see if the compiler is really GCC. |
12050 if test "$GCC" = "yes"; then | 11901 if test "$GCC" = "yes"; then |
12051 XEGCC=yes | 11902 XEGCC=yes |
12052 else | 11903 else |
12053 echo $ac_n "checking checking whether we are using GNU C""... $ac_c" 1>&6 | 11904 echo $ac_n "checking checking whether we are using GNU C""... $ac_c" 1>&6 |
12054 echo "configure:12055: checking checking whether we are using GNU C" >&5 | 11905 echo "configure:11906: checking checking whether we are using GNU C" >&5 |
12055 cat > conftest.$ac_ext <<EOF | 11906 cat > conftest.$ac_ext <<EOF |
12056 #line 12057 "configure" | 11907 #line 11908 "configure" |
12057 #include "confdefs.h" | 11908 #include "confdefs.h" |
12058 | 11909 |
12059 #ifdef __GNUC__ | 11910 #ifdef __GNUC__ |
12060 yes; | 11911 yes; |
12061 #endif | 11912 #endif |
12073 | 11924 |
12074 echo "$ac_t""${XEGCC}" 1>&6 | 11925 echo "$ac_t""${XEGCC}" 1>&6 |
12075 fi | 11926 fi |
12076 | 11927 |
12077 echo $ac_n "checking how to produce PIC code""... $ac_c" 1>&6 | 11928 echo $ac_n "checking how to produce PIC code""... $ac_c" 1>&6 |
12078 echo "configure:12079: checking how to produce PIC code" >&5 | 11929 echo "configure:11930: checking how to produce PIC code" >&5 |
12079 wl= | 11930 wl= |
12080 | 11931 |
12081 can_build_shared=yes | 11932 can_build_shared=yes |
12082 if test "$XEGCC" = yes; then | 11933 if test "$XEGCC" = yes; then |
12083 wl='-Wl,' | 11934 wl='-Wl,' |
12166 if test -n "$dll_cflags"; then | 12017 if test -n "$dll_cflags"; then |
12167 echo "$ac_t""${dll_cflags}" 1>&6 | 12018 echo "$ac_t""${dll_cflags}" 1>&6 |
12168 | 12019 |
12169 # Check to make sure the dll_cflags actually works. | 12020 # Check to make sure the dll_cflags actually works. |
12170 echo $ac_n "checking if PIC flag ${dll_cflags} really works""... $ac_c" 1>&6 | 12021 echo $ac_n "checking if PIC flag ${dll_cflags} really works""... $ac_c" 1>&6 |
12171 echo "configure:12172: checking if PIC flag ${dll_cflags} really works" >&5 | 12022 echo "configure:12023: checking if PIC flag ${dll_cflags} really works" >&5 |
12172 save_CFLAGS="$CFLAGS" | 12023 save_CFLAGS="$CFLAGS" |
12173 CFLAGS="$CFLAGS $dll_cflags -DPIC" | 12024 CFLAGS="$CFLAGS $dll_cflags -DPIC" |
12174 cat > conftest.$ac_ext <<EOF | 12025 cat > conftest.$ac_ext <<EOF |
12175 #line 12176 "configure" | 12026 #line 12027 "configure" |
12176 #include "confdefs.h" | 12027 #include "confdefs.h" |
12177 | 12028 |
12178 int main() { | 12029 int main() { |
12179 int x=0; | 12030 int x=0; |
12180 ; return 0; } | 12031 ; return 0; } |
12181 EOF | 12032 EOF |
12182 if { (eval echo configure:12183: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 12033 if { (eval echo configure:12034: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
12183 rm -rf conftest* | 12034 rm -rf conftest* |
12184 | 12035 |
12185 # On HP-UX, the stripped-down bundled CC doesn't accept +Z, but also | 12036 # On HP-UX, the stripped-down bundled CC doesn't accept +Z, but also |
12186 # reports no error. So, we need to grep stderr for (Bundled). | 12037 # reports no error. So, we need to grep stderr for (Bundled). |
12187 if grep '(Bundled)' config.log >/dev/null; then | 12038 if grep '(Bundled)' config.log >/dev/null; then |
12208 if test "$can_build_shared" = "yes"; then | 12059 if test "$can_build_shared" = "yes"; then |
12209 cc_produces_so=no | 12060 cc_produces_so=no |
12210 xldf= | 12061 xldf= |
12211 xcldf= | 12062 xcldf= |
12212 echo $ac_n "checking if C compiler can produce shared libraries""... $ac_c" 1>&6 | 12063 echo $ac_n "checking if C compiler can produce shared libraries""... $ac_c" 1>&6 |
12213 echo "configure:12214: checking if C compiler can produce shared libraries" >&5 | 12064 echo "configure:12065: checking if C compiler can produce shared libraries" >&5 |
12214 if test "$XEGCC" = yes; then | 12065 if test "$XEGCC" = yes; then |
12215 xcldf="-shared" | 12066 xcldf="-shared" |
12216 xldf="-shared" | 12067 xldf="-shared" |
12217 else # Not using GCC | 12068 else # Not using GCC |
12218 case "$xehost_os" in | 12069 case "$xehost_os" in |
12259 LDFLAGS="$xcldf $LDFLAGS" | 12110 LDFLAGS="$xcldf $LDFLAGS" |
12260 LIBS= | 12111 LIBS= |
12261 xe_libs= | 12112 xe_libs= |
12262 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' | 12113 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' |
12263 cat > conftest.$ac_ext <<EOF | 12114 cat > conftest.$ac_ext <<EOF |
12264 #line 12265 "configure" | 12115 #line 12116 "configure" |
12265 #include "confdefs.h" | 12116 #include "confdefs.h" |
12266 | 12117 |
12267 int main() { | 12118 int main() { |
12268 int x=0; | 12119 int x=0; |
12269 ; return 0; } | 12120 ; return 0; } |
12270 EOF | 12121 EOF |
12271 if { (eval echo configure:12272: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12122 if { (eval echo configure:12123: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
12272 rm -rf conftest* | 12123 rm -rf conftest* |
12273 cc_produces_so=yes | 12124 cc_produces_so=yes |
12274 else | 12125 else |
12275 echo "configure: failed program was:" >&5 | 12126 echo "configure: failed program was:" >&5 |
12276 cat conftest.$ac_ext >&5 | 12127 cat conftest.$ac_ext >&5 |
12291 if test -z "$LTLD"; then | 12142 if test -z "$LTLD"; then |
12292 ac_prog=ld | 12143 ac_prog=ld |
12293 if test "$XEGCC" = yes; then | 12144 if test "$XEGCC" = yes; then |
12294 # Check if gcc -print-prog-name=ld gives a path. | 12145 # Check if gcc -print-prog-name=ld gives a path. |
12295 echo $ac_n "checking for ld used by GCC""... $ac_c" 1>&6 | 12146 echo $ac_n "checking for ld used by GCC""... $ac_c" 1>&6 |
12296 echo "configure:12297: checking for ld used by GCC" >&5 | 12147 echo "configure:12148: checking for ld used by GCC" >&5 |
12297 ac_prog=`($CC -print-prog-name=ld) 2>&5` | 12148 ac_prog=`($CC -print-prog-name=ld) 2>&5` |
12298 case "$ac_prog" in | 12149 case "$ac_prog" in |
12299 # Accept absolute paths. | 12150 # Accept absolute paths. |
12300 /*) | 12151 /*) |
12301 if test -z "$LTLD"; then | 12152 if test -z "$LTLD"; then |
12316 with_gnu_ld=unknown | 12167 with_gnu_ld=unknown |
12317 ;; | 12168 ;; |
12318 esac | 12169 esac |
12319 else | 12170 else |
12320 echo $ac_n "checking for GNU ld""... $ac_c" 1>&6 | 12171 echo $ac_n "checking for GNU ld""... $ac_c" 1>&6 |
12321 echo "configure:12322: checking for GNU ld" >&5 | 12172 echo "configure:12173: checking for GNU ld" >&5 |
12322 fi | 12173 fi |
12323 | 12174 |
12324 if test -z "$LTLD"; then | 12175 if test -z "$LTLD"; then |
12325 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" | 12176 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" |
12326 for ac_dir in $PATH; do | 12177 for ac_dir in $PATH; do |
12354 | 12205 |
12355 ld_dynamic_link_flags= | 12206 ld_dynamic_link_flags= |
12356 | 12207 |
12357 # Check to see if it really is or isn't GNU ld. | 12208 # Check to see if it really is or isn't GNU ld. |
12358 echo $ac_n "checking if the linker is GNU ld""... $ac_c" 1>&6 | 12209 echo $ac_n "checking if the linker is GNU ld""... $ac_c" 1>&6 |
12359 echo "configure:12360: checking if the linker is GNU ld" >&5 | 12210 echo "configure:12211: checking if the linker is GNU ld" >&5 |
12360 # I'd rather use --version here, but apparently some GNU ld's only accept -v. | 12211 # I'd rather use --version here, but apparently some GNU ld's only accept -v. |
12361 if $LTLD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then | 12212 if $LTLD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then |
12362 xe_gnu_ld=yes | 12213 xe_gnu_ld=yes |
12363 else | 12214 else |
12364 xe_gnu_ld=no | 12215 xe_gnu_ld=no |
12381 can_build_shared=yes | 12232 can_build_shared=yes |
12382 else | 12233 else |
12383 # OK - only NOW do we futz about with ld. | 12234 # OK - only NOW do we futz about with ld. |
12384 # See if the linker supports building shared libraries. | 12235 # See if the linker supports building shared libraries. |
12385 echo $ac_n "checking whether the linker supports shared libraries""... $ac_c" 1>&6 | 12236 echo $ac_n "checking whether the linker supports shared libraries""... $ac_c" 1>&6 |
12386 echo "configure:12387: checking whether the linker supports shared libraries" >&5 | 12237 echo "configure:12238: checking whether the linker supports shared libraries" >&5 |
12387 dll_ld=$CC | 12238 dll_ld=$CC |
12388 dll_ldflags=$LDFLAGS | 12239 dll_ldflags=$LDFLAGS |
12389 ld_shlibs=yes | 12240 ld_shlibs=yes |
12390 can_build_shared=yes | 12241 can_build_shared=yes |
12391 if test "$xe_gnu_ld" = yes && test "$gnu_ld_acts_native" != yes; then | 12242 if test "$xe_gnu_ld" = yes && test "$gnu_ld_acts_native" != yes; then |
12597 INSTALL_ARCH_DEP_SUBDIR="$INSTALL_ARCH_DEP_SUBDIR src" && if test "$extra_verbose" = "yes"; then echo " Appending \"src\" to \$INSTALL_ARCH_DEP_SUBDIR"; fi | 12448 INSTALL_ARCH_DEP_SUBDIR="$INSTALL_ARCH_DEP_SUBDIR src" && if test "$extra_verbose" = "yes"; then echo " Appending \"src\" to \$INSTALL_ARCH_DEP_SUBDIR"; fi |
12598 test ! -z "$DLL_LIB" && LIBS="-l${DLL_LIB} $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-l${DLL_LIB}\" to \$LIBS"; fi | 12449 test ! -z "$DLL_LIB" && LIBS="-l${DLL_LIB} $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-l${DLL_LIB}\" to \$LIBS"; fi |
12599 for ac_func in dlerror _dlerror | 12450 for ac_func in dlerror _dlerror |
12600 do | 12451 do |
12601 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 12452 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
12602 echo "configure:12603: checking for $ac_func" >&5 | 12453 echo "configure:12454: checking for $ac_func" >&5 |
12603 | 12454 |
12604 cat > conftest.$ac_ext <<EOF | 12455 cat > conftest.$ac_ext <<EOF |
12605 #line 12606 "configure" | 12456 #line 12457 "configure" |
12606 #include "confdefs.h" | 12457 #include "confdefs.h" |
12607 /* System header to define __stub macros and hopefully few prototypes, | 12458 /* System header to define __stub macros and hopefully few prototypes, |
12608 which can conflict with char $ac_func(); below. */ | 12459 which can conflict with char $ac_func(); below. */ |
12609 #include <assert.h> | 12460 #include <assert.h> |
12610 /* Override any gcc2 internal prototype to avoid an error. */ | 12461 /* Override any gcc2 internal prototype to avoid an error. */ |
12623 $ac_func(); | 12474 $ac_func(); |
12624 #endif | 12475 #endif |
12625 | 12476 |
12626 ; return 0; } | 12477 ; return 0; } |
12627 EOF | 12478 EOF |
12628 if { (eval echo configure:12629: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12479 if { (eval echo configure:12480: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
12629 rm -rf conftest* | 12480 rm -rf conftest* |
12630 eval "ac_cv_func_$ac_func=yes" | 12481 eval "ac_cv_func_$ac_func=yes" |
12631 else | 12482 else |
12632 echo "configure: failed program was:" >&5 | 12483 echo "configure: failed program was:" >&5 |
12633 cat conftest.$ac_ext >&5 | 12484 cat conftest.$ac_ext >&5 |
12657 with_shlib=no | 12508 with_shlib=no |
12658 fi | 12509 fi |
12659 fi | 12510 fi |
12660 | 12511 |
12661 cat > conftest.$ac_ext <<EOF | 12512 cat > conftest.$ac_ext <<EOF |
12662 #line 12663 "configure" | 12513 #line 12514 "configure" |
12663 #include "confdefs.h" | 12514 #include "confdefs.h" |
12664 int main(int c,char *v[]){return 0;} | 12515 int main(int c,char *v[]){return 0;} |
12665 EOF | 12516 EOF |
12666 if { (eval echo configure:12667: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 12517 if { (eval echo configure:12518: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
12667 then | 12518 then |
12668 : | 12519 : |
12669 else | 12520 else |
12670 conftest_rc="$?" | 12521 conftest_rc="$?" |
12671 echo "configure: failed program was:" >&5 | 12522 echo "configure: failed program was:" >&5 |
13305 | 13156 |
13306 test "$with_database_berkdb" = yes && echo " Compiling in support for Berkeley DB." | 13157 test "$with_database_berkdb" = yes && echo " Compiling in support for Berkeley DB." |
13307 test "$with_database_dbm" = yes && echo " Compiling in support for DBM." | 13158 test "$with_database_dbm" = yes && echo " Compiling in support for DBM." |
13308 test "$with_database_gnudbm" = yes && echo " Compiling in support for GNU DBM." | 13159 test "$with_database_gnudbm" = yes && echo " Compiling in support for GNU DBM." |
13309 | 13160 |
13310 test "$with_umich_ldap" = yes && echo " Compiling in support for LDAP (UMich libs)." | 13161 test "$with_ldap" = yes && echo " Compiling in support for LDAP." |
13311 test "$with_ns_ldap" = yes && echo " Compiling in support for LDAP (Netscape SDK)." | |
13312 test "$with_ldap" = yes -a "$with_umich_ldap" = no -a "$with_ns_ldap" = no && echo " Compiling in support for LDAP (Generic)." | |
13313 | 13162 |
13314 test "$with_ncurses" = yes && echo " Compiling in support for ncurses." | 13163 test "$with_ncurses" = yes && echo " Compiling in support for ncurses." |
13315 test "$with_gpm" = yes && echo " Compiling in support for GPM (General Purpose Mouse)." | 13164 test "$with_gpm" = yes && echo " Compiling in support for GPM (General Purpose Mouse)." |
13316 | 13165 |
13317 test "$with_mule" = yes && echo " Compiling in Mule (multi-lingual) support." | 13166 test "$with_mule" = yes && echo " Compiling in Mule (multi-lingual) support." |
13441 case "\$ac_option" in | 13290 case "\$ac_option" in |
13442 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) | 13291 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) |
13443 echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion" | 13292 echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion" |
13444 exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;; | 13293 exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;; |
13445 -version | --version | --versio | --versi | --vers | --ver | --ve | --v) | 13294 -version | --version | --versio | --versi | --vers | --ver | --ve | --v) |
13446 echo "$CONFIG_STATUS generated by autoconf version 2.13" | 13295 echo "$CONFIG_STATUS generated by autoconf version 2.12" |
13447 exit 0 ;; | 13296 exit 0 ;; |
13448 -help | --help | --hel | --he | --h) | 13297 -help | --help | --hel | --he | --h) |
13449 echo "\$ac_cs_usage"; exit 0 ;; | 13298 echo "\$ac_cs_usage"; exit 0 ;; |
13450 *) echo "\$ac_cs_usage"; exit 1 ;; | 13299 *) echo "\$ac_cs_usage"; exit 1 ;; |
13451 esac | 13300 esac |
13461 # Protect against being on the right side of a sed subst in config.status. | 13310 # Protect against being on the right side of a sed subst in config.status. |
13462 sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g; | 13311 sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g; |
13463 s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF | 13312 s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF |
13464 $ac_vpsub | 13313 $ac_vpsub |
13465 $extrasub | 13314 $extrasub |
13466 s%@SHELL@%$SHELL%g | |
13467 s%@CFLAGS@%$CFLAGS%g | 13315 s%@CFLAGS@%$CFLAGS%g |
13468 s%@CPPFLAGS@%$CPPFLAGS%g | 13316 s%@CPPFLAGS@%$CPPFLAGS%g |
13469 s%@CXXFLAGS@%$CXXFLAGS%g | 13317 s%@CXXFLAGS@%$CXXFLAGS%g |
13470 s%@FFLAGS@%$FFLAGS%g | |
13471 s%@DEFS@%$DEFS%g | 13318 s%@DEFS@%$DEFS%g |
13472 s%@LDFLAGS@%$LDFLAGS%g | 13319 s%@LDFLAGS@%$LDFLAGS%g |
13473 s%@LIBS@%$LIBS%g | 13320 s%@LIBS@%$LIBS%g |
13474 s%@exec_prefix@%$exec_prefix%g | 13321 s%@exec_prefix@%$exec_prefix%g |
13475 s%@prefix@%$prefix%g | 13322 s%@prefix@%$prefix%g |
13495 s%@start_files@%$start_files%g | 13342 s%@start_files@%$start_files%g |
13496 s%@ld@%$ld%g | 13343 s%@ld@%$ld%g |
13497 s%@lib_gcc@%$lib_gcc%g | 13344 s%@lib_gcc@%$lib_gcc%g |
13498 s%@RANLIB@%$RANLIB%g | 13345 s%@RANLIB@%$RANLIB%g |
13499 s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g | 13346 s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g |
13500 s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g | |
13501 s%@INSTALL_DATA@%$INSTALL_DATA%g | 13347 s%@INSTALL_DATA@%$INSTALL_DATA%g |
13502 s%@YACC@%$YACC%g | 13348 s%@YACC@%$YACC%g |
13503 s%@SET_MAKE@%$SET_MAKE%g | 13349 s%@SET_MAKE@%$SET_MAKE%g |
13504 s%@X_CFLAGS@%$X_CFLAGS%g | 13350 s%@X_CFLAGS@%$X_CFLAGS%g |
13505 s%@X_PRE_LIBS@%$X_PRE_LIBS%g | 13351 s%@X_PRE_LIBS@%$X_PRE_LIBS%g |