Mercurial > hg > xemacs-beta
comparison configure @ 335:54f7aa390f4f r21-0-65
Import from CVS: tag r21-0-65
| author | cvs |
|---|---|
| date | Mon, 13 Aug 2007 10:50:39 +0200 |
| parents | 4f79e16b1112 |
| children | 8bec6624d99b |
comparison
equal
deleted
inserted
replaced
| 334:58353925ad93 | 335:54f7aa390f4f |
|---|---|
| 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 | 10 |
| 196 ac_cpp='$CPP '"$xe_cppflags" | 196 ac_cpp='$CPP '"$xe_cppflags" |
| 197 ac_compile='${CC-cc} -c $CFLAGS '"$xe_cppflags"' conftest.$ac_ext 1>&5' | 197 ac_compile='${CC-cc} -c $CFLAGS '"$xe_cppflags"' conftest.$ac_ext 1>&5' |
| 198 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' | 198 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' |
| 199 cross_compiling=no | 199 cross_compiling=no |
| 200 | 200 |
| 201 ac_exeext= | |
| 202 ac_objext=o | |
| 203 if (echo "testing\c"; echo 1,2,3) | grep c >/dev/null; then | 201 if (echo "testing\c"; echo 1,2,3) | grep c >/dev/null; then |
| 204 # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu. | 202 # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu. |
| 205 if (echo -n testing; echo 1,2,3) | sed s/-n/xn/ | grep xn >/dev/null; then | 203 if (echo -n testing; echo 1,2,3) | sed s/-n/xn/ | grep xn >/dev/null; then |
| 206 ac_n= ac_c=' | 204 ac_n= ac_c=' |
| 207 ' ac_t=' ' | 205 ' ac_t=' ' |
| 743 ;; | 741 ;; |
| 744 esac | 742 esac |
| 745 | 743 |
| 746 if test -z "$configuration"; then | 744 if test -z "$configuration"; then |
| 747 echo $ac_n "checking "host system type"""... $ac_c" 1>&6 | 745 echo $ac_n "checking "host system type"""... $ac_c" 1>&6 |
| 748 echo "configure:749: checking "host system type"" >&5 | 746 echo "configure:747: checking "host system type"" >&5 |
| 749 if configuration=`${CONFIG_SHELL-/bin/sh} $srcdir/config.guess | \ | 747 if configuration=`${CONFIG_SHELL-/bin/sh} $srcdir/config.guess | \ |
| 750 sed 's/^\([^-][^-]*-[^-][^-]*-[^-][^-]*\)-.*$/\1/'` ; then | 748 sed 's/^\([^-][^-]*-[^-][^-]*-[^-][^-]*\)-.*$/\1/'` ; then |
| 751 echo "$ac_t""$configuration" 1>&6 | 749 echo "$ac_t""$configuration" 1>&6 |
| 752 else | 750 else |
| 753 echo "$ac_t""unknown" 1>&6 | 751 echo "$ac_t""unknown" 1>&6 |
| 757 echo " Use \`$progname --help' to show usage.") >&2 && exit 1 | 755 echo " Use \`$progname --help' to show usage.") >&2 && exit 1 |
| 758 fi | 756 fi |
| 759 fi | 757 fi |
| 760 | 758 |
| 761 echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6 | 759 echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6 |
| 762 echo "configure:763: checking whether ln -s works" >&5 | 760 echo "configure:761: checking whether ln -s works" >&5 |
| 763 | 761 |
| 764 rm -f conftestdata | 762 rm -f conftestdata |
| 765 if ln -s X conftestdata 2>/dev/null | 763 if ln -s X conftestdata 2>/dev/null |
| 766 then | 764 then |
| 767 rm -f conftestdata | 765 rm -f conftestdata |
| 982 } | 980 } |
| 983 | 981 |
| 984 | 982 |
| 985 | 983 |
| 986 echo "checking "the configuration name"" 1>&6 | 984 echo "checking "the configuration name"" 1>&6 |
| 987 echo "configure:988: checking "the configuration name"" >&5 | 985 echo "configure:986: checking "the configuration name"" >&5 |
| 988 internal_configuration=`echo $configuration | sed 's/-\(workshop\)//'` | 986 internal_configuration=`echo $configuration | sed 's/-\(workshop\)//'` |
| 989 if canonical=`$srcdir/config.sub "$internal_configuration"` ; then : ; else | 987 if canonical=`$srcdir/config.sub "$internal_configuration"` ; then : ; else |
| 990 exit $? | 988 exit $? |
| 991 fi | 989 fi |
| 992 | 990 |
| 1475 xe_save_CFLAGS="$CFLAGS" | 1473 xe_save_CFLAGS="$CFLAGS" |
| 1476 | 1474 |
| 1477 # Extract the first word of "gcc", so it can be a program name with args. | 1475 # Extract the first word of "gcc", so it can be a program name with args. |
| 1478 set dummy gcc; ac_word=$2 | 1476 set dummy gcc; ac_word=$2 |
| 1479 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 1477 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
| 1480 echo "configure:1481: checking for $ac_word" >&5 | 1478 echo "configure:1479: checking for $ac_word" >&5 |
| 1481 | 1479 |
| 1482 if test -n "$CC"; then | 1480 if test -n "$CC"; then |
| 1483 ac_cv_prog_CC="$CC" # Let the user override the test. | 1481 ac_cv_prog_CC="$CC" # Let the user override the test. |
| 1484 else | 1482 else |
| 1485 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | 1483 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" |
| 1486 ac_dummy="$PATH" | 1484 for ac_dir in $PATH; do |
| 1487 for ac_dir in $ac_dummy; do | |
| 1488 test -z "$ac_dir" && ac_dir=. | 1485 test -z "$ac_dir" && ac_dir=. |
| 1489 if test -f $ac_dir/$ac_word; then | 1486 if test -f $ac_dir/$ac_word; then |
| 1490 ac_cv_prog_CC="gcc" | 1487 ac_cv_prog_CC="gcc" |
| 1491 break | 1488 break |
| 1492 fi | 1489 fi |
| 1502 | 1499 |
| 1503 if test -z "$CC"; then | 1500 if test -z "$CC"; then |
| 1504 # Extract the first word of "cc", so it can be a program name with args. | 1501 # Extract the first word of "cc", so it can be a program name with args. |
| 1505 set dummy cc; ac_word=$2 | 1502 set dummy cc; ac_word=$2 |
| 1506 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 1503 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
| 1507 echo "configure:1508: checking for $ac_word" >&5 | 1504 echo "configure:1505: checking for $ac_word" >&5 |
| 1508 | 1505 |
| 1509 if test -n "$CC"; then | 1506 if test -n "$CC"; then |
| 1510 ac_cv_prog_CC="$CC" # Let the user override the test. | 1507 ac_cv_prog_CC="$CC" # Let the user override the test. |
| 1511 else | 1508 else |
| 1512 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | 1509 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" |
| 1513 ac_prog_rejected=no | 1510 ac_prog_rejected=no |
| 1514 ac_dummy="$PATH" | 1511 for ac_dir in $PATH; do |
| 1515 for ac_dir in $ac_dummy; do | |
| 1516 test -z "$ac_dir" && ac_dir=. | 1512 test -z "$ac_dir" && ac_dir=. |
| 1517 if test -f $ac_dir/$ac_word; then | 1513 if test -f $ac_dir/$ac_word; then |
| 1518 if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then | 1514 if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then |
| 1519 ac_prog_rejected=yes | 1515 ac_prog_rejected=yes |
| 1520 continue | 1516 continue |
| 1544 echo "$ac_t""$CC" 1>&6 | 1540 echo "$ac_t""$CC" 1>&6 |
| 1545 else | 1541 else |
| 1546 echo "$ac_t""no" 1>&6 | 1542 echo "$ac_t""no" 1>&6 |
| 1547 fi | 1543 fi |
| 1548 | 1544 |
| 1549 if test -z "$CC"; then | |
| 1550 case "`uname -s`" in | |
| 1551 *win32* | *WIN32*) | |
| 1552 # Extract the first word of "cl", so it can be a program name with args. | |
| 1553 set dummy cl; ac_word=$2 | |
| 1554 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | |
| 1555 echo "configure:1556: checking for $ac_word" >&5 | |
| 1556 | |
| 1557 if test -n "$CC"; then | |
| 1558 ac_cv_prog_CC="$CC" # Let the user override the test. | |
| 1559 else | |
| 1560 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | |
| 1561 ac_dummy="$PATH" | |
| 1562 for ac_dir in $ac_dummy; do | |
| 1563 test -z "$ac_dir" && ac_dir=. | |
| 1564 if test -f $ac_dir/$ac_word; then | |
| 1565 ac_cv_prog_CC="cl" | |
| 1566 break | |
| 1567 fi | |
| 1568 done | |
| 1569 IFS="$ac_save_ifs" | |
| 1570 fi | |
| 1571 CC="$ac_cv_prog_CC" | |
| 1572 if test -n "$CC"; then | |
| 1573 echo "$ac_t""$CC" 1>&6 | |
| 1574 else | |
| 1575 echo "$ac_t""no" 1>&6 | |
| 1576 fi | |
| 1577 ;; | |
| 1578 esac | |
| 1579 fi | |
| 1580 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } | 1545 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } |
| 1581 fi | 1546 fi |
| 1582 | 1547 |
| 1583 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 | 1548 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 |
| 1584 echo "configure:1585: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 | 1549 echo "configure:1550: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 |
| 1585 | 1550 |
| 1586 ac_ext=c | 1551 ac_ext=c |
| 1587 xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS' | 1552 xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS' |
| 1588 xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_switch_x_site $ld_switch_run' | 1553 xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_switch_x_site $ld_switch_run' |
| 1589 xe_libs='$ld_call_shared $xe_check_libs $X_EXTRA_LIBS $libs_x $X_PRE_LIBS $LIBS $libs_machine $libs_system $libs_standard' | 1554 xe_libs='$ld_call_shared $xe_check_libs $X_EXTRA_LIBS $libs_x $X_PRE_LIBS $LIBS $libs_machine $libs_system $libs_standard' |
| 1590 ac_cpp='$CPP '"$xe_cppflags" | 1555 ac_cpp='$CPP '"$xe_cppflags" |
| 1591 ac_compile='${CC-cc} -c $CFLAGS '"$xe_cppflags"' conftest.$ac_ext 1>&5' | 1556 ac_compile='${CC-cc} -c $CFLAGS '"$xe_cppflags"' conftest.$ac_ext 1>&5' |
| 1592 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' | 1557 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' |
| 1593 cross_compiling=no | 1558 cross_compiling=no |
| 1594 | 1559 |
| 1595 cat > conftest.$ac_ext << EOF | 1560 cat > conftest.$ac_ext <<EOF |
| 1596 | 1561 #line 1562 "configure" |
| 1597 #line 1598 "configure" | 1562 #include "confdefs.h" |
| 1598 #include "confdefs.h" | |
| 1599 | |
| 1600 main(){return(0);} | 1563 main(){return(0);} |
| 1601 EOF | 1564 EOF |
| 1602 if { (eval echo configure:1603: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 1565 if { (eval echo configure:1566: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 1603 ac_cv_prog_cc_works=yes | 1566 ac_cv_prog_cc_works=yes |
| 1604 # If we can't run a trivial program, we are probably using a cross compiler. | 1567 # If we can't run a trivial program, we are probably using a cross compiler. |
| 1605 if (./conftest; exit) 2>/dev/null; then | 1568 if (./conftest; exit) 2>/dev/null; then |
| 1606 ac_cv_prog_cc_cross=no | 1569 ac_cv_prog_cc_cross=no |
| 1607 else | 1570 else |
| 1611 echo "configure: failed program was:" >&5 | 1574 echo "configure: failed program was:" >&5 |
| 1612 cat conftest.$ac_ext >&5 | 1575 cat conftest.$ac_ext >&5 |
| 1613 ac_cv_prog_cc_works=no | 1576 ac_cv_prog_cc_works=no |
| 1614 fi | 1577 fi |
| 1615 rm -fr conftest* | 1578 rm -fr conftest* |
| 1616 ac_ext=c | |
| 1617 xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS' | |
| 1618 xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_switch_x_site $ld_switch_run' | |
| 1619 xe_libs='$ld_call_shared $xe_check_libs $X_EXTRA_LIBS $libs_x $X_PRE_LIBS $LIBS $libs_machine $libs_system $libs_standard' | |
| 1620 ac_cpp='$CPP '"$xe_cppflags" | |
| 1621 ac_compile='${CC-cc} -c $CFLAGS '"$xe_cppflags"' conftest.$ac_ext 1>&5' | |
| 1622 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' | |
| 1623 cross_compiling=no | |
| 1624 | 1579 |
| 1625 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 | 1580 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 |
| 1626 if test $ac_cv_prog_cc_works = no; then | 1581 if test $ac_cv_prog_cc_works = no; then |
| 1627 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } | 1582 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } |
| 1628 fi | 1583 fi |
| 1629 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 | 1584 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 |
| 1630 echo "configure:1631: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 | 1585 echo "configure:1586: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 |
| 1631 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 | 1586 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 |
| 1632 cross_compiling=$ac_cv_prog_cc_cross | 1587 cross_compiling=$ac_cv_prog_cc_cross |
| 1633 | 1588 |
| 1634 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 | 1589 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 |
| 1635 echo "configure:1636: checking whether we are using GNU C" >&5 | 1590 echo "configure:1591: checking whether we are using GNU C" >&5 |
| 1636 | 1591 |
| 1637 cat > conftest.c <<EOF | 1592 cat > conftest.c <<EOF |
| 1638 #ifdef __GNUC__ | 1593 #ifdef __GNUC__ |
| 1639 yes; | 1594 yes; |
| 1640 #endif | 1595 #endif |
| 1641 EOF | 1596 EOF |
| 1642 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1643: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then | 1597 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1598: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then |
| 1643 ac_cv_prog_gcc=yes | 1598 ac_cv_prog_gcc=yes |
| 1644 else | 1599 else |
| 1645 ac_cv_prog_gcc=no | 1600 ac_cv_prog_gcc=no |
| 1646 fi | 1601 fi |
| 1647 | 1602 |
| 1648 echo "$ac_t""$ac_cv_prog_gcc" 1>&6 | 1603 echo "$ac_t""$ac_cv_prog_gcc" 1>&6 |
| 1649 | 1604 |
| 1650 if test $ac_cv_prog_gcc = yes; then | 1605 if test $ac_cv_prog_gcc = yes; then |
| 1651 GCC=yes | 1606 GCC=yes |
| 1652 else | 1607 ac_test_CFLAGS="${CFLAGS+set}" |
| 1653 GCC= | 1608 ac_save_CFLAGS="$CFLAGS" |
| 1654 fi | 1609 CFLAGS= |
| 1655 | 1610 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 |
| 1656 ac_test_CFLAGS="${CFLAGS+set}" | 1611 echo "configure:1612: checking whether ${CC-cc} accepts -g" >&5 |
| 1657 ac_save_CFLAGS="$CFLAGS" | |
| 1658 CFLAGS= | |
| 1659 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 | |
| 1660 echo "configure:1661: checking whether ${CC-cc} accepts -g" >&5 | |
| 1661 | 1612 |
| 1662 echo 'void f(){}' > conftest.c | 1613 echo 'void f(){}' > conftest.c |
| 1663 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then | 1614 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then |
| 1664 ac_cv_prog_cc_g=yes | 1615 ac_cv_prog_cc_g=yes |
| 1665 else | 1616 else |
| 1667 fi | 1618 fi |
| 1668 rm -f conftest* | 1619 rm -f conftest* |
| 1669 | 1620 |
| 1670 | 1621 |
| 1671 echo "$ac_t""$ac_cv_prog_cc_g" 1>&6 | 1622 echo "$ac_t""$ac_cv_prog_cc_g" 1>&6 |
| 1672 if test "$ac_test_CFLAGS" = set; then | 1623 if test "$ac_test_CFLAGS" = set; then |
| 1673 CFLAGS="$ac_save_CFLAGS" | 1624 CFLAGS="$ac_save_CFLAGS" |
| 1674 elif test $ac_cv_prog_cc_g = yes; then | 1625 elif test $ac_cv_prog_cc_g = yes; then |
| 1675 if test "$GCC" = yes; then | |
| 1676 CFLAGS="-g -O2" | 1626 CFLAGS="-g -O2" |
| 1677 else | 1627 else |
| 1678 CFLAGS="-g" | 1628 CFLAGS="-O2" |
| 1679 fi | 1629 fi |
| 1680 else | 1630 else |
| 1681 if test "$GCC" = yes; then | 1631 GCC= |
| 1682 CFLAGS="-O2" | 1632 test "${CFLAGS+set}" = set || CFLAGS="-g" |
| 1683 else | |
| 1684 CFLAGS= | |
| 1685 fi | |
| 1686 fi | 1633 fi |
| 1687 | 1634 |
| 1688 if test "$with_gcc" = "no" -a "$GCC" = "yes"; then | 1635 if test "$with_gcc" = "no" -a "$GCC" = "yes"; then |
| 1689 CC=${NON_GNU_CC-cc} | 1636 CC=${NON_GNU_CC-cc} |
| 1690 # Extract the first word of "gcc", so it can be a program name with args. | 1637 # Extract the first word of "gcc", so it can be a program name with args. |
| 1691 set dummy gcc; ac_word=$2 | 1638 set dummy gcc; ac_word=$2 |
| 1692 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 1639 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
| 1693 echo "configure:1694: checking for $ac_word" >&5 | 1640 echo "configure:1641: checking for $ac_word" >&5 |
| 1694 | 1641 |
| 1695 if test -n "$CC"; then | 1642 if test -n "$CC"; then |
| 1696 ac_cv_prog_CC="$CC" # Let the user override the test. | 1643 ac_cv_prog_CC="$CC" # Let the user override the test. |
| 1697 else | 1644 else |
| 1698 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | 1645 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" |
| 1699 ac_dummy="$PATH" | 1646 for ac_dir in $PATH; do |
| 1700 for ac_dir in $ac_dummy; do | |
| 1701 test -z "$ac_dir" && ac_dir=. | 1647 test -z "$ac_dir" && ac_dir=. |
| 1702 if test -f $ac_dir/$ac_word; then | 1648 if test -f $ac_dir/$ac_word; then |
| 1703 ac_cv_prog_CC="gcc" | 1649 ac_cv_prog_CC="gcc" |
| 1704 break | 1650 break |
| 1705 fi | 1651 fi |
| 1715 | 1661 |
| 1716 if test -z "$CC"; then | 1662 if test -z "$CC"; then |
| 1717 # Extract the first word of "cc", so it can be a program name with args. | 1663 # Extract the first word of "cc", so it can be a program name with args. |
| 1718 set dummy cc; ac_word=$2 | 1664 set dummy cc; ac_word=$2 |
| 1719 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 1665 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
| 1720 echo "configure:1721: checking for $ac_word" >&5 | 1666 echo "configure:1667: checking for $ac_word" >&5 |
| 1721 | 1667 |
| 1722 if test -n "$CC"; then | 1668 if test -n "$CC"; then |
| 1723 ac_cv_prog_CC="$CC" # Let the user override the test. | 1669 ac_cv_prog_CC="$CC" # Let the user override the test. |
| 1724 else | 1670 else |
| 1725 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | 1671 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" |
| 1726 ac_prog_rejected=no | 1672 ac_prog_rejected=no |
| 1727 ac_dummy="$PATH" | 1673 for ac_dir in $PATH; do |
| 1728 for ac_dir in $ac_dummy; do | |
| 1729 test -z "$ac_dir" && ac_dir=. | 1674 test -z "$ac_dir" && ac_dir=. |
| 1730 if test -f $ac_dir/$ac_word; then | 1675 if test -f $ac_dir/$ac_word; then |
| 1731 if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then | 1676 if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then |
| 1732 ac_prog_rejected=yes | 1677 ac_prog_rejected=yes |
| 1733 continue | 1678 continue |
| 1757 echo "$ac_t""$CC" 1>&6 | 1702 echo "$ac_t""$CC" 1>&6 |
| 1758 else | 1703 else |
| 1759 echo "$ac_t""no" 1>&6 | 1704 echo "$ac_t""no" 1>&6 |
| 1760 fi | 1705 fi |
| 1761 | 1706 |
| 1762 if test -z "$CC"; then | |
| 1763 case "`uname -s`" in | |
| 1764 *win32* | *WIN32*) | |
| 1765 # Extract the first word of "cl", so it can be a program name with args. | |
| 1766 set dummy cl; ac_word=$2 | |
| 1767 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | |
| 1768 echo "configure:1769: checking for $ac_word" >&5 | |
| 1769 | |
| 1770 if test -n "$CC"; then | |
| 1771 ac_cv_prog_CC="$CC" # Let the user override the test. | |
| 1772 else | |
| 1773 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | |
| 1774 ac_dummy="$PATH" | |
| 1775 for ac_dir in $ac_dummy; do | |
| 1776 test -z "$ac_dir" && ac_dir=. | |
| 1777 if test -f $ac_dir/$ac_word; then | |
| 1778 ac_cv_prog_CC="cl" | |
| 1779 break | |
| 1780 fi | |
| 1781 done | |
| 1782 IFS="$ac_save_ifs" | |
| 1783 fi | |
| 1784 CC="$ac_cv_prog_CC" | |
| 1785 if test -n "$CC"; then | |
| 1786 echo "$ac_t""$CC" 1>&6 | |
| 1787 else | |
| 1788 echo "$ac_t""no" 1>&6 | |
| 1789 fi | |
| 1790 ;; | |
| 1791 esac | |
| 1792 fi | |
| 1793 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } | 1707 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } |
| 1794 fi | 1708 fi |
| 1795 | 1709 |
| 1796 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 | 1710 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 |
| 1797 echo "configure:1798: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 | 1711 echo "configure:1712: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 |
| 1798 | 1712 |
| 1799 ac_ext=c | 1713 ac_ext=c |
| 1800 xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS' | 1714 xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS' |
| 1801 xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_switch_x_site $ld_switch_run' | 1715 xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_switch_x_site $ld_switch_run' |
| 1802 xe_libs='$ld_call_shared $xe_check_libs $X_EXTRA_LIBS $libs_x $X_PRE_LIBS $LIBS $libs_machine $libs_system $libs_standard' | 1716 xe_libs='$ld_call_shared $xe_check_libs $X_EXTRA_LIBS $libs_x $X_PRE_LIBS $LIBS $libs_machine $libs_system $libs_standard' |
| 1803 ac_cpp='$CPP '"$xe_cppflags" | 1717 ac_cpp='$CPP '"$xe_cppflags" |
| 1804 ac_compile='${CC-cc} -c $CFLAGS '"$xe_cppflags"' conftest.$ac_ext 1>&5' | 1718 ac_compile='${CC-cc} -c $CFLAGS '"$xe_cppflags"' conftest.$ac_ext 1>&5' |
| 1805 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' | 1719 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' |
| 1806 cross_compiling=no | 1720 cross_compiling=no |
| 1807 | 1721 |
| 1808 cat > conftest.$ac_ext << EOF | 1722 cat > conftest.$ac_ext <<EOF |
| 1809 | 1723 #line 1724 "configure" |
| 1810 #line 1811 "configure" | 1724 #include "confdefs.h" |
| 1811 #include "confdefs.h" | |
| 1812 | |
| 1813 main(){return(0);} | 1725 main(){return(0);} |
| 1814 EOF | 1726 EOF |
| 1815 if { (eval echo configure:1816: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 1727 if { (eval echo configure:1728: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 1816 ac_cv_prog_cc_works=yes | 1728 ac_cv_prog_cc_works=yes |
| 1817 # If we can't run a trivial program, we are probably using a cross compiler. | 1729 # If we can't run a trivial program, we are probably using a cross compiler. |
| 1818 if (./conftest; exit) 2>/dev/null; then | 1730 if (./conftest; exit) 2>/dev/null; then |
| 1819 ac_cv_prog_cc_cross=no | 1731 ac_cv_prog_cc_cross=no |
| 1820 else | 1732 else |
| 1824 echo "configure: failed program was:" >&5 | 1736 echo "configure: failed program was:" >&5 |
| 1825 cat conftest.$ac_ext >&5 | 1737 cat conftest.$ac_ext >&5 |
| 1826 ac_cv_prog_cc_works=no | 1738 ac_cv_prog_cc_works=no |
| 1827 fi | 1739 fi |
| 1828 rm -fr conftest* | 1740 rm -fr conftest* |
| 1829 ac_ext=c | |
| 1830 xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS' | |
| 1831 xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_switch_x_site $ld_switch_run' | |
| 1832 xe_libs='$ld_call_shared $xe_check_libs $X_EXTRA_LIBS $libs_x $X_PRE_LIBS $LIBS $libs_machine $libs_system $libs_standard' | |
| 1833 ac_cpp='$CPP '"$xe_cppflags" | |
| 1834 ac_compile='${CC-cc} -c $CFLAGS '"$xe_cppflags"' conftest.$ac_ext 1>&5' | |
| 1835 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' | |
| 1836 cross_compiling=no | |
| 1837 | 1741 |
| 1838 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 | 1742 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 |
| 1839 if test $ac_cv_prog_cc_works = no; then | 1743 if test $ac_cv_prog_cc_works = no; then |
| 1840 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } | 1744 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } |
| 1841 fi | 1745 fi |
| 1842 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 | 1746 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 |
| 1843 echo "configure:1844: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 | 1747 echo "configure:1748: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 |
| 1844 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 | 1748 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 |
| 1845 cross_compiling=$ac_cv_prog_cc_cross | 1749 cross_compiling=$ac_cv_prog_cc_cross |
| 1846 | 1750 |
| 1847 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 | 1751 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 |
| 1848 echo "configure:1849: checking whether we are using GNU C" >&5 | 1752 echo "configure:1753: checking whether we are using GNU C" >&5 |
| 1849 | 1753 |
| 1850 cat > conftest.c <<EOF | 1754 cat > conftest.c <<EOF |
| 1851 #ifdef __GNUC__ | 1755 #ifdef __GNUC__ |
| 1852 yes; | 1756 yes; |
| 1853 #endif | 1757 #endif |
| 1854 EOF | 1758 EOF |
| 1855 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1856: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then | 1759 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1760: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then |
| 1856 ac_cv_prog_gcc=yes | 1760 ac_cv_prog_gcc=yes |
| 1857 else | 1761 else |
| 1858 ac_cv_prog_gcc=no | 1762 ac_cv_prog_gcc=no |
| 1859 fi | 1763 fi |
| 1860 | 1764 |
| 1861 echo "$ac_t""$ac_cv_prog_gcc" 1>&6 | 1765 echo "$ac_t""$ac_cv_prog_gcc" 1>&6 |
| 1862 | 1766 |
| 1863 if test $ac_cv_prog_gcc = yes; then | 1767 if test $ac_cv_prog_gcc = yes; then |
| 1864 GCC=yes | 1768 GCC=yes |
| 1865 else | 1769 ac_test_CFLAGS="${CFLAGS+set}" |
| 1866 GCC= | 1770 ac_save_CFLAGS="$CFLAGS" |
| 1867 fi | 1771 CFLAGS= |
| 1868 | 1772 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 |
| 1869 ac_test_CFLAGS="${CFLAGS+set}" | 1773 echo "configure:1774: checking whether ${CC-cc} accepts -g" >&5 |
| 1870 ac_save_CFLAGS="$CFLAGS" | |
| 1871 CFLAGS= | |
| 1872 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 | |
| 1873 echo "configure:1874: checking whether ${CC-cc} accepts -g" >&5 | |
| 1874 | 1774 |
| 1875 echo 'void f(){}' > conftest.c | 1775 echo 'void f(){}' > conftest.c |
| 1876 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then | 1776 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then |
| 1877 ac_cv_prog_cc_g=yes | 1777 ac_cv_prog_cc_g=yes |
| 1878 else | 1778 else |
| 1880 fi | 1780 fi |
| 1881 rm -f conftest* | 1781 rm -f conftest* |
| 1882 | 1782 |
| 1883 | 1783 |
| 1884 echo "$ac_t""$ac_cv_prog_cc_g" 1>&6 | 1784 echo "$ac_t""$ac_cv_prog_cc_g" 1>&6 |
| 1885 if test "$ac_test_CFLAGS" = set; then | 1785 if test "$ac_test_CFLAGS" = set; then |
| 1886 CFLAGS="$ac_save_CFLAGS" | 1786 CFLAGS="$ac_save_CFLAGS" |
| 1887 elif test $ac_cv_prog_cc_g = yes; then | 1787 elif test $ac_cv_prog_cc_g = yes; then |
| 1888 if test "$GCC" = yes; then | |
| 1889 CFLAGS="-g -O2" | 1788 CFLAGS="-g -O2" |
| 1890 else | 1789 else |
| 1891 CFLAGS="-g" | 1790 CFLAGS="-O2" |
| 1892 fi | 1791 fi |
| 1893 else | 1792 else |
| 1894 if test "$GCC" = yes; then | 1793 GCC= |
| 1895 CFLAGS="-O2" | 1794 test "${CFLAGS+set}" = set || CFLAGS="-g" |
| 1896 else | |
| 1897 CFLAGS= | |
| 1898 fi | |
| 1899 fi | 1795 fi |
| 1900 | 1796 |
| 1901 elif test "$with_gcc" = "yes" -a "$GCC" != "yes" ; then | 1797 elif test "$with_gcc" = "yes" -a "$GCC" != "yes" ; then |
| 1902 CC=gcc | 1798 CC=gcc |
| 1903 # Extract the first word of "gcc", so it can be a program name with args. | 1799 # Extract the first word of "gcc", so it can be a program name with args. |
| 1904 set dummy gcc; ac_word=$2 | 1800 set dummy gcc; ac_word=$2 |
| 1905 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 1801 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
| 1906 echo "configure:1907: checking for $ac_word" >&5 | 1802 echo "configure:1803: checking for $ac_word" >&5 |
| 1907 | 1803 |
| 1908 if test -n "$CC"; then | 1804 if test -n "$CC"; then |
| 1909 ac_cv_prog_CC="$CC" # Let the user override the test. | 1805 ac_cv_prog_CC="$CC" # Let the user override the test. |
| 1910 else | 1806 else |
| 1911 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | 1807 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" |
| 1912 ac_dummy="$PATH" | 1808 for ac_dir in $PATH; do |
| 1913 for ac_dir in $ac_dummy; do | |
| 1914 test -z "$ac_dir" && ac_dir=. | 1809 test -z "$ac_dir" && ac_dir=. |
| 1915 if test -f $ac_dir/$ac_word; then | 1810 if test -f $ac_dir/$ac_word; then |
| 1916 ac_cv_prog_CC="gcc" | 1811 ac_cv_prog_CC="gcc" |
| 1917 break | 1812 break |
| 1918 fi | 1813 fi |
| 1928 | 1823 |
| 1929 if test -z "$CC"; then | 1824 if test -z "$CC"; then |
| 1930 # Extract the first word of "cc", so it can be a program name with args. | 1825 # Extract the first word of "cc", so it can be a program name with args. |
| 1931 set dummy cc; ac_word=$2 | 1826 set dummy cc; ac_word=$2 |
| 1932 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 1827 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
| 1933 echo "configure:1934: checking for $ac_word" >&5 | 1828 echo "configure:1829: checking for $ac_word" >&5 |
| 1934 | 1829 |
| 1935 if test -n "$CC"; then | 1830 if test -n "$CC"; then |
| 1936 ac_cv_prog_CC="$CC" # Let the user override the test. | 1831 ac_cv_prog_CC="$CC" # Let the user override the test. |
| 1937 else | 1832 else |
| 1938 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | 1833 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" |
| 1939 ac_prog_rejected=no | 1834 ac_prog_rejected=no |
| 1940 ac_dummy="$PATH" | 1835 for ac_dir in $PATH; do |
| 1941 for ac_dir in $ac_dummy; do | |
| 1942 test -z "$ac_dir" && ac_dir=. | 1836 test -z "$ac_dir" && ac_dir=. |
| 1943 if test -f $ac_dir/$ac_word; then | 1837 if test -f $ac_dir/$ac_word; then |
| 1944 if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then | 1838 if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then |
| 1945 ac_prog_rejected=yes | 1839 ac_prog_rejected=yes |
| 1946 continue | 1840 continue |
| 1970 echo "$ac_t""$CC" 1>&6 | 1864 echo "$ac_t""$CC" 1>&6 |
| 1971 else | 1865 else |
| 1972 echo "$ac_t""no" 1>&6 | 1866 echo "$ac_t""no" 1>&6 |
| 1973 fi | 1867 fi |
| 1974 | 1868 |
| 1975 if test -z "$CC"; then | |
| 1976 case "`uname -s`" in | |
| 1977 *win32* | *WIN32*) | |
| 1978 # Extract the first word of "cl", so it can be a program name with args. | |
| 1979 set dummy cl; ac_word=$2 | |
| 1980 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | |
| 1981 echo "configure:1982: checking for $ac_word" >&5 | |
| 1982 | |
| 1983 if test -n "$CC"; then | |
| 1984 ac_cv_prog_CC="$CC" # Let the user override the test. | |
| 1985 else | |
| 1986 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | |
| 1987 ac_dummy="$PATH" | |
| 1988 for ac_dir in $ac_dummy; do | |
| 1989 test -z "$ac_dir" && ac_dir=. | |
| 1990 if test -f $ac_dir/$ac_word; then | |
| 1991 ac_cv_prog_CC="cl" | |
| 1992 break | |
| 1993 fi | |
| 1994 done | |
| 1995 IFS="$ac_save_ifs" | |
| 1996 fi | |
| 1997 CC="$ac_cv_prog_CC" | |
| 1998 if test -n "$CC"; then | |
| 1999 echo "$ac_t""$CC" 1>&6 | |
| 2000 else | |
| 2001 echo "$ac_t""no" 1>&6 | |
| 2002 fi | |
| 2003 ;; | |
| 2004 esac | |
| 2005 fi | |
| 2006 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } | 1869 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } |
| 2007 fi | 1870 fi |
| 2008 | 1871 |
| 2009 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 | 1872 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 |
| 2010 echo "configure:2011: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 | 1873 echo "configure:1874: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 |
| 2011 | 1874 |
| 2012 ac_ext=c | 1875 ac_ext=c |
| 2013 xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS' | 1876 xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS' |
| 2014 xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_switch_x_site $ld_switch_run' | 1877 xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_switch_x_site $ld_switch_run' |
| 2015 xe_libs='$ld_call_shared $xe_check_libs $X_EXTRA_LIBS $libs_x $X_PRE_LIBS $LIBS $libs_machine $libs_system $libs_standard' | 1878 xe_libs='$ld_call_shared $xe_check_libs $X_EXTRA_LIBS $libs_x $X_PRE_LIBS $LIBS $libs_machine $libs_system $libs_standard' |
| 2016 ac_cpp='$CPP '"$xe_cppflags" | 1879 ac_cpp='$CPP '"$xe_cppflags" |
| 2017 ac_compile='${CC-cc} -c $CFLAGS '"$xe_cppflags"' conftest.$ac_ext 1>&5' | 1880 ac_compile='${CC-cc} -c $CFLAGS '"$xe_cppflags"' conftest.$ac_ext 1>&5' |
| 2018 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' | 1881 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' |
| 2019 cross_compiling=no | 1882 cross_compiling=no |
| 2020 | 1883 |
| 2021 cat > conftest.$ac_ext << EOF | 1884 cat > conftest.$ac_ext <<EOF |
| 2022 | 1885 #line 1886 "configure" |
| 2023 #line 2024 "configure" | 1886 #include "confdefs.h" |
| 2024 #include "confdefs.h" | |
| 2025 | |
| 2026 main(){return(0);} | 1887 main(){return(0);} |
| 2027 EOF | 1888 EOF |
| 2028 if { (eval echo configure:2029: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 1889 if { (eval echo configure:1890: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 2029 ac_cv_prog_cc_works=yes | 1890 ac_cv_prog_cc_works=yes |
| 2030 # If we can't run a trivial program, we are probably using a cross compiler. | 1891 # If we can't run a trivial program, we are probably using a cross compiler. |
| 2031 if (./conftest; exit) 2>/dev/null; then | 1892 if (./conftest; exit) 2>/dev/null; then |
| 2032 ac_cv_prog_cc_cross=no | 1893 ac_cv_prog_cc_cross=no |
| 2033 else | 1894 else |
| 2037 echo "configure: failed program was:" >&5 | 1898 echo "configure: failed program was:" >&5 |
| 2038 cat conftest.$ac_ext >&5 | 1899 cat conftest.$ac_ext >&5 |
| 2039 ac_cv_prog_cc_works=no | 1900 ac_cv_prog_cc_works=no |
| 2040 fi | 1901 fi |
| 2041 rm -fr conftest* | 1902 rm -fr conftest* |
| 2042 ac_ext=c | |
| 2043 xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS' | |
| 2044 xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_switch_x_site $ld_switch_run' | |
| 2045 xe_libs='$ld_call_shared $xe_check_libs $X_EXTRA_LIBS $libs_x $X_PRE_LIBS $LIBS $libs_machine $libs_system $libs_standard' | |
| 2046 ac_cpp='$CPP '"$xe_cppflags" | |
| 2047 ac_compile='${CC-cc} -c $CFLAGS '"$xe_cppflags"' conftest.$ac_ext 1>&5' | |
| 2048 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' | |
| 2049 cross_compiling=no | |
| 2050 | 1903 |
| 2051 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 | 1904 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 |
| 2052 if test $ac_cv_prog_cc_works = no; then | 1905 if test $ac_cv_prog_cc_works = no; then |
| 2053 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } | 1906 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } |
| 2054 fi | 1907 fi |
| 2055 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 | 1908 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 |
| 2056 echo "configure:2057: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 | 1909 echo "configure:1910: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 |
| 2057 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 | 1910 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 |
| 2058 cross_compiling=$ac_cv_prog_cc_cross | 1911 cross_compiling=$ac_cv_prog_cc_cross |
| 2059 | 1912 |
| 2060 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 | 1913 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 |
| 2061 echo "configure:2062: checking whether we are using GNU C" >&5 | 1914 echo "configure:1915: checking whether we are using GNU C" >&5 |
| 2062 | 1915 |
| 2063 cat > conftest.c <<EOF | 1916 cat > conftest.c <<EOF |
| 2064 #ifdef __GNUC__ | 1917 #ifdef __GNUC__ |
| 2065 yes; | 1918 yes; |
| 2066 #endif | 1919 #endif |
| 2067 EOF | 1920 EOF |
| 2068 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:2069: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then | 1921 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1922: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then |
| 2069 ac_cv_prog_gcc=yes | 1922 ac_cv_prog_gcc=yes |
| 2070 else | 1923 else |
| 2071 ac_cv_prog_gcc=no | 1924 ac_cv_prog_gcc=no |
| 2072 fi | 1925 fi |
| 2073 | 1926 |
| 2074 echo "$ac_t""$ac_cv_prog_gcc" 1>&6 | 1927 echo "$ac_t""$ac_cv_prog_gcc" 1>&6 |
| 2075 | 1928 |
| 2076 if test $ac_cv_prog_gcc = yes; then | 1929 if test $ac_cv_prog_gcc = yes; then |
| 2077 GCC=yes | 1930 GCC=yes |
| 2078 else | 1931 ac_test_CFLAGS="${CFLAGS+set}" |
| 2079 GCC= | 1932 ac_save_CFLAGS="$CFLAGS" |
| 2080 fi | 1933 CFLAGS= |
| 2081 | 1934 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 |
| 2082 ac_test_CFLAGS="${CFLAGS+set}" | 1935 echo "configure:1936: checking whether ${CC-cc} accepts -g" >&5 |
| 2083 ac_save_CFLAGS="$CFLAGS" | |
| 2084 CFLAGS= | |
| 2085 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 | |
| 2086 echo "configure:2087: checking whether ${CC-cc} accepts -g" >&5 | |
| 2087 | 1936 |
| 2088 echo 'void f(){}' > conftest.c | 1937 echo 'void f(){}' > conftest.c |
| 2089 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then | 1938 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then |
| 2090 ac_cv_prog_cc_g=yes | 1939 ac_cv_prog_cc_g=yes |
| 2091 else | 1940 else |
| 2093 fi | 1942 fi |
| 2094 rm -f conftest* | 1943 rm -f conftest* |
| 2095 | 1944 |
| 2096 | 1945 |
| 2097 echo "$ac_t""$ac_cv_prog_cc_g" 1>&6 | 1946 echo "$ac_t""$ac_cv_prog_cc_g" 1>&6 |
| 2098 if test "$ac_test_CFLAGS" = set; then | 1947 if test "$ac_test_CFLAGS" = set; then |
| 2099 CFLAGS="$ac_save_CFLAGS" | 1948 CFLAGS="$ac_save_CFLAGS" |
| 2100 elif test $ac_cv_prog_cc_g = yes; then | 1949 elif test $ac_cv_prog_cc_g = yes; then |
| 2101 if test "$GCC" = yes; then | |
| 2102 CFLAGS="-g -O2" | 1950 CFLAGS="-g -O2" |
| 2103 else | 1951 else |
| 2104 CFLAGS="-g" | 1952 CFLAGS="-O2" |
| 2105 fi | 1953 fi |
| 2106 else | 1954 else |
| 2107 if test "$GCC" = yes; then | 1955 GCC= |
| 2108 CFLAGS="-O2" | 1956 test "${CFLAGS+set}" = set || CFLAGS="-g" |
| 2109 else | |
| 2110 CFLAGS= | |
| 2111 fi | |
| 2112 fi | 1957 fi |
| 2113 | 1958 |
| 2114 fi | 1959 fi |
| 2115 CFLAGS="$xe_save_CFLAGS" | 1960 CFLAGS="$xe_save_CFLAGS" |
| 2116 | 1961 |
| 2118 test -n "$CPP" -a -d "$CPP" && CPP= | 1963 test -n "$CPP" -a -d "$CPP" && CPP= |
| 2119 | 1964 |
| 2120 test -n "$NON_GNU_CPP" -a "$GCC" != "yes" -a -z "$CPP" && CPP="$NON_GNU_CPP" | 1965 test -n "$NON_GNU_CPP" -a "$GCC" != "yes" -a -z "$CPP" && CPP="$NON_GNU_CPP" |
| 2121 | 1966 |
| 2122 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6 | 1967 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6 |
| 2123 echo "configure:2124: checking how to run the C preprocessor" >&5 | 1968 echo "configure:1969: checking how to run the C preprocessor" >&5 |
| 2124 # On Suns, sometimes $CPP names a directory. | 1969 # On Suns, sometimes $CPP names a directory. |
| 2125 if test -n "$CPP" && test -d "$CPP"; then | 1970 if test -n "$CPP" && test -d "$CPP"; then |
| 2126 CPP= | 1971 CPP= |
| 2127 fi | 1972 fi |
| 2128 if test -z "$CPP"; then | 1973 if test -z "$CPP"; then |
| 2131 # substituted into the Makefile and "${CC-cc}" will confuse make. | 1976 # substituted into the Makefile and "${CC-cc}" will confuse make. |
| 2132 CPP="${CC-cc} -E" | 1977 CPP="${CC-cc} -E" |
| 2133 # On the NeXT, cc -E runs the code through the compiler's parser, | 1978 # On the NeXT, cc -E runs the code through the compiler's parser, |
| 2134 # not just through cpp. | 1979 # not just through cpp. |
| 2135 cat > conftest.$ac_ext <<EOF | 1980 cat > conftest.$ac_ext <<EOF |
| 2136 #line 2137 "configure" | 1981 #line 1982 "configure" |
| 2137 #include "confdefs.h" | 1982 #include "confdefs.h" |
| 2138 #include <assert.h> | 1983 #include <assert.h> |
| 2139 Syntax Error | 1984 Syntax Error |
| 2140 EOF | 1985 EOF |
| 2141 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 1986 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 2142 { (eval echo configure:2143: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 1987 { (eval echo configure:1988: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 2143 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 1988 ac_err=`grep -v '^ *+' conftest.out` |
| 2144 if test -z "$ac_err"; then | 1989 if test -z "$ac_err"; then |
| 2145 : | 1990 : |
| 2146 else | 1991 else |
| 2147 echo "$ac_err" >&5 | 1992 echo "$ac_err" >&5 |
| 2148 echo "configure: failed program was:" >&5 | 1993 echo "configure: failed program was:" >&5 |
| 2149 cat conftest.$ac_ext >&5 | 1994 cat conftest.$ac_ext >&5 |
| 2150 rm -rf conftest* | 1995 rm -rf conftest* |
| 2151 CPP="${CC-cc} -E -traditional-cpp" | 1996 CPP="${CC-cc} -E -traditional-cpp" |
| 2152 cat > conftest.$ac_ext <<EOF | 1997 cat > conftest.$ac_ext <<EOF |
| 2153 #line 2154 "configure" | 1998 #line 1999 "configure" |
| 2154 #include "confdefs.h" | 1999 #include "confdefs.h" |
| 2155 #include <assert.h> | 2000 #include <assert.h> |
| 2156 Syntax Error | 2001 Syntax Error |
| 2157 EOF | 2002 EOF |
| 2158 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 2003 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 2159 { (eval echo configure:2160: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 2004 { (eval echo configure:2005: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 2160 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 2005 ac_err=`grep -v '^ *+' conftest.out` |
| 2161 if test -z "$ac_err"; then | 2006 if test -z "$ac_err"; then |
| 2162 : | 2007 : |
| 2163 else | 2008 else |
| 2164 echo "$ac_err" >&5 | 2009 echo "$ac_err" >&5 |
| 2165 echo "configure: failed program was:" >&5 | 2010 echo "configure: failed program was:" >&5 |
| 2166 cat conftest.$ac_ext >&5 | 2011 cat conftest.$ac_ext >&5 |
| 2167 rm -rf conftest* | 2012 rm -rf conftest* |
| 2168 CPP="${CC-cc} -nologo -E" | |
| 2169 cat > conftest.$ac_ext <<EOF | |
| 2170 #line 2171 "configure" | |
| 2171 #include "confdefs.h" | |
| 2172 #include <assert.h> | |
| 2173 Syntax Error | |
| 2174 EOF | |
| 2175 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | |
| 2176 { (eval echo configure:2177: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | |
| 2177 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | |
| 2178 if test -z "$ac_err"; then | |
| 2179 : | |
| 2180 else | |
| 2181 echo "$ac_err" >&5 | |
| 2182 echo "configure: failed program was:" >&5 | |
| 2183 cat conftest.$ac_ext >&5 | |
| 2184 rm -rf conftest* | |
| 2185 CPP=/lib/cpp | 2013 CPP=/lib/cpp |
| 2186 fi | |
| 2187 rm -f conftest* | |
| 2188 fi | 2014 fi |
| 2189 rm -f conftest* | 2015 rm -f conftest* |
| 2190 fi | 2016 fi |
| 2191 rm -f conftest* | 2017 rm -f conftest* |
| 2192 ac_cv_prog_CPP="$CPP" | 2018 ac_cv_prog_CPP="$CPP" |
| 2196 fi | 2022 fi |
| 2197 echo "$ac_t""$CPP" 1>&6 | 2023 echo "$ac_t""$CPP" 1>&6 |
| 2198 | 2024 |
| 2199 | 2025 |
| 2200 echo $ac_n "checking for AIX""... $ac_c" 1>&6 | 2026 echo $ac_n "checking for AIX""... $ac_c" 1>&6 |
| 2201 echo "configure:2202: checking for AIX" >&5 | 2027 echo "configure:2028: checking for AIX" >&5 |
| 2202 cat > conftest.$ac_ext <<EOF | 2028 cat > conftest.$ac_ext <<EOF |
| 2203 #line 2204 "configure" | 2029 #line 2030 "configure" |
| 2204 #include "confdefs.h" | 2030 #include "confdefs.h" |
| 2205 #ifdef _AIX | 2031 #ifdef _AIX |
| 2206 yes | 2032 yes |
| 2207 #endif | 2033 #endif |
| 2208 | 2034 |
| 2225 rm -f conftest* | 2051 rm -f conftest* |
| 2226 | 2052 |
| 2227 | 2053 |
| 2228 | 2054 |
| 2229 echo $ac_n "checking for GNU libc""... $ac_c" 1>&6 | 2055 echo $ac_n "checking for GNU libc""... $ac_c" 1>&6 |
| 2230 echo "configure:2231: checking for GNU libc" >&5 | 2056 echo "configure:2057: checking for GNU libc" >&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 #include <features.h> | 2060 #include <features.h> |
| 2235 int main() { | 2061 int main() { |
| 2236 | 2062 |
| 2237 #if ! (defined __GLIBC__ || defined __GNU_LIBRARY__) | 2063 #if ! (defined __GLIBC__ || defined __GNU_LIBRARY__) |
| 2239 ******* ======= ******** &&&&&&&& | 2065 ******* ======= ******** &&&&&&&& |
| 2240 #endif | 2066 #endif |
| 2241 | 2067 |
| 2242 ; return 0; } | 2068 ; return 0; } |
| 2243 EOF | 2069 EOF |
| 2244 if { (eval echo configure:2245: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 2070 if { (eval echo configure:2071: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| 2245 rm -rf conftest* | 2071 rm -rf conftest* |
| 2246 have_glibc=yes | 2072 have_glibc=yes |
| 2247 else | 2073 else |
| 2248 echo "configure: failed program was:" >&5 | 2074 echo "configure: failed program was:" >&5 |
| 2249 cat conftest.$ac_ext >&5 | 2075 cat conftest.$ac_ext >&5 |
| 2261 } | 2087 } |
| 2262 | 2088 |
| 2263 | 2089 |
| 2264 | 2090 |
| 2265 cat > conftest.$ac_ext <<EOF | 2091 cat > conftest.$ac_ext <<EOF |
| 2266 #line 2267 "configure" | 2092 #line 2093 "configure" |
| 2267 #include "confdefs.h" | 2093 #include "confdefs.h" |
| 2268 int main () { | 2094 int main () { |
| 2269 #if defined __SUNPRO_C | 2095 #if defined __SUNPRO_C |
| 2270 return 11; | 2096 return 11; |
| 2271 #elif defined __DECC | 2097 #elif defined __DECC |
| 2273 #else | 2099 #else |
| 2274 return 0; | 2100 return 0; |
| 2275 #endif | 2101 #endif |
| 2276 } | 2102 } |
| 2277 EOF | 2103 EOF |
| 2278 if { (eval echo configure:2279: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 2104 if { (eval echo configure:2105: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
| 2279 then | 2105 then |
| 2280 : | 2106 : |
| 2281 else | 2107 else |
| 2282 conftest_rc="$?" | 2108 conftest_rc="$?" |
| 2283 echo "configure: failed program was:" >&5 | 2109 echo "configure: failed program was:" >&5 |
| 2543 test -n "$unexec" && extra_objs="$extra_objs $unexec" && if test "$extra_verbose" = "yes"; then | 2369 test -n "$unexec" && extra_objs="$extra_objs $unexec" && if test "$extra_verbose" = "yes"; then |
| 2544 echo " xemacs will be linked with \"$unexec\"" | 2370 echo " xemacs will be linked with \"$unexec\"" |
| 2545 fi | 2371 fi |
| 2546 | 2372 |
| 2547 echo $ac_n "checking for dynodump""... $ac_c" 1>&6 | 2373 echo $ac_n "checking for dynodump""... $ac_c" 1>&6 |
| 2548 echo "configure:2549: checking for dynodump" >&5 | 2374 echo "configure:2375: checking for dynodump" >&5 |
| 2549 if test "$unexec" != "unexsol2.o"; then | 2375 if test "$unexec" != "unexsol2.o"; then |
| 2550 echo "$ac_t""no" 1>&6 | 2376 echo "$ac_t""no" 1>&6 |
| 2551 else | 2377 else |
| 2552 echo "$ac_t""yes" 1>&6 | 2378 echo "$ac_t""yes" 1>&6 |
| 2553 { test "$extra_verbose" = "yes" && cat << \EOF | 2379 { test "$extra_verbose" = "yes" && cat << \EOF |
| 2581 for f in "/usr/lpp/X11/bin/smt.exp" "/usr/bin/X11/smt.exp"; do | 2407 for f in "/usr/lpp/X11/bin/smt.exp" "/usr/bin/X11/smt.exp"; do |
| 2582 if test -r "$f"; then start_flags="${start_flags},-bI:${f}"; break; fi | 2408 if test -r "$f"; then start_flags="${start_flags},-bI:${f}"; break; fi |
| 2583 done | 2409 done |
| 2584 | 2410 |
| 2585 echo $ac_n "checking for terminateAndUnload in -lC""... $ac_c" 1>&6 | 2411 echo $ac_n "checking for terminateAndUnload in -lC""... $ac_c" 1>&6 |
| 2586 echo "configure:2587: checking for terminateAndUnload in -lC" >&5 | 2412 echo "configure:2413: checking for terminateAndUnload in -lC" >&5 |
| 2587 ac_lib_var=`echo C'_'terminateAndUnload | sed 'y%./+-%__p_%'` | 2413 ac_lib_var=`echo C'_'terminateAndUnload | sed 'y%./+-%__p_%'` |
| 2588 | 2414 |
| 2589 xe_check_libs=" -lC " | 2415 xe_check_libs=" -lC " |
| 2590 cat > conftest.$ac_ext <<EOF | 2416 cat > conftest.$ac_ext <<EOF |
| 2591 #line 2592 "configure" | 2417 #line 2418 "configure" |
| 2592 #include "confdefs.h" | 2418 #include "confdefs.h" |
| 2593 /* Override any gcc2 internal prototype to avoid an error. */ | 2419 /* Override any gcc2 internal prototype to avoid an error. */ |
| 2594 /* We use char because int might match the return type of a gcc2 | 2420 /* We use char because int might match the return type of a gcc2 |
| 2595 builtin and then its argument prototype would still apply. */ | 2421 builtin and then its argument prototype would still apply. */ |
| 2596 char terminateAndUnload(); | 2422 char terminateAndUnload(); |
| 2597 | 2423 |
| 2598 int main() { | 2424 int main() { |
| 2599 terminateAndUnload() | 2425 terminateAndUnload() |
| 2600 ; return 0; } | 2426 ; return 0; } |
| 2601 EOF | 2427 EOF |
| 2602 if { (eval echo configure:2603: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 2428 if { (eval echo configure:2429: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 2603 rm -rf conftest* | 2429 rm -rf conftest* |
| 2604 eval "ac_cv_lib_$ac_lib_var=yes" | 2430 eval "ac_cv_lib_$ac_lib_var=yes" |
| 2605 else | 2431 else |
| 2606 echo "configure: failed program was:" >&5 | 2432 echo "configure: failed program was:" >&5 |
| 2607 cat conftest.$ac_ext >&5 | 2433 cat conftest.$ac_ext >&5 |
| 2681 esac | 2507 esac |
| 2682 fi | 2508 fi |
| 2683 | 2509 |
| 2684 if test "$add_runtime_path" = "yes"; then | 2510 if test "$add_runtime_path" = "yes"; then |
| 2685 echo $ac_n "checking "for runtime libraries flag"""... $ac_c" 1>&6 | 2511 echo $ac_n "checking "for runtime libraries flag"""... $ac_c" 1>&6 |
| 2686 echo "configure:2687: checking "for runtime libraries flag"" >&5 | 2512 echo "configure:2513: checking "for runtime libraries flag"" >&5 |
| 2687 case "$opsys" in | 2513 case "$opsys" in |
| 2688 sol2 ) dash_r="-R" ;; | 2514 sol2 ) dash_r="-R" ;; |
| 2689 decosf* | linux* | irix*) dash_r="-rpath " ;; | 2515 decosf* | linux* | irix*) dash_r="-rpath " ;; |
| 2690 *) | 2516 *) |
| 2691 dash_r="" | 2517 dash_r="" |
| 2703 esac | 2529 esac |
| 2704 shift | 2530 shift |
| 2705 done | 2531 done |
| 2706 fi | 2532 fi |
| 2707 cat > conftest.$ac_ext <<EOF | 2533 cat > conftest.$ac_ext <<EOF |
| 2708 #line 2709 "configure" | 2534 #line 2535 "configure" |
| 2709 #include "confdefs.h" | 2535 #include "confdefs.h" |
| 2710 | 2536 |
| 2711 int main() { | 2537 int main() { |
| 2712 | 2538 |
| 2713 ; return 0; } | 2539 ; return 0; } |
| 2714 EOF | 2540 EOF |
| 2715 if { (eval echo configure:2716: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 2541 if { (eval echo configure:2542: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 2716 rm -rf conftest* | 2542 rm -rf conftest* |
| 2717 dash_r="$try_dash_r" | 2543 dash_r="$try_dash_r" |
| 2718 else | 2544 else |
| 2719 echo "configure: failed program was:" >&5 | 2545 echo "configure: failed program was:" >&5 |
| 2720 cat conftest.$ac_ext >&5 | 2546 cat conftest.$ac_ext >&5 |
| 2811 else | 2637 else |
| 2812 doug_lea_malloc=no | 2638 doug_lea_malloc=no |
| 2813 fi | 2639 fi |
| 2814 after_morecore_hook_exists=yes | 2640 after_morecore_hook_exists=yes |
| 2815 echo $ac_n "checking for malloc_get_state""... $ac_c" 1>&6 | 2641 echo $ac_n "checking for malloc_get_state""... $ac_c" 1>&6 |
| 2816 echo "configure:2817: checking for malloc_get_state" >&5 | 2642 echo "configure:2643: checking for malloc_get_state" >&5 |
| 2817 | 2643 |
| 2818 cat > conftest.$ac_ext <<EOF | 2644 cat > conftest.$ac_ext <<EOF |
| 2819 #line 2820 "configure" | 2645 #line 2646 "configure" |
| 2820 #include "confdefs.h" | 2646 #include "confdefs.h" |
| 2821 /* System header to define __stub macros and hopefully few prototypes, | 2647 /* System header to define __stub macros and hopefully few prototypes, |
| 2822 which can conflict with char malloc_get_state(); below. */ | 2648 which can conflict with char malloc_get_state(); below. */ |
| 2823 #include <assert.h> | 2649 #include <assert.h> |
| 2824 /* Override any gcc2 internal prototype to avoid an error. */ | 2650 /* Override any gcc2 internal prototype to avoid an error. */ |
| 2837 malloc_get_state(); | 2663 malloc_get_state(); |
| 2838 #endif | 2664 #endif |
| 2839 | 2665 |
| 2840 ; return 0; } | 2666 ; return 0; } |
| 2841 EOF | 2667 EOF |
| 2842 if { (eval echo configure:2843: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 2668 if { (eval echo configure:2669: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 2843 rm -rf conftest* | 2669 rm -rf conftest* |
| 2844 eval "ac_cv_func_malloc_get_state=yes" | 2670 eval "ac_cv_func_malloc_get_state=yes" |
| 2845 else | 2671 else |
| 2846 echo "configure: failed program was:" >&5 | 2672 echo "configure: failed program was:" >&5 |
| 2847 cat conftest.$ac_ext >&5 | 2673 cat conftest.$ac_ext >&5 |
| 2857 echo "$ac_t""no" 1>&6 | 2683 echo "$ac_t""no" 1>&6 |
| 2858 doug_lea_malloc=no | 2684 doug_lea_malloc=no |
| 2859 fi | 2685 fi |
| 2860 | 2686 |
| 2861 echo $ac_n "checking for malloc_set_state""... $ac_c" 1>&6 | 2687 echo $ac_n "checking for malloc_set_state""... $ac_c" 1>&6 |
| 2862 echo "configure:2863: checking for malloc_set_state" >&5 | 2688 echo "configure:2689: checking for malloc_set_state" >&5 |
| 2863 | 2689 |
| 2864 cat > conftest.$ac_ext <<EOF | 2690 cat > conftest.$ac_ext <<EOF |
| 2865 #line 2866 "configure" | 2691 #line 2692 "configure" |
| 2866 #include "confdefs.h" | 2692 #include "confdefs.h" |
| 2867 /* System header to define __stub macros and hopefully few prototypes, | 2693 /* System header to define __stub macros and hopefully few prototypes, |
| 2868 which can conflict with char malloc_set_state(); below. */ | 2694 which can conflict with char malloc_set_state(); below. */ |
| 2869 #include <assert.h> | 2695 #include <assert.h> |
| 2870 /* Override any gcc2 internal prototype to avoid an error. */ | 2696 /* Override any gcc2 internal prototype to avoid an error. */ |
| 2883 malloc_set_state(); | 2709 malloc_set_state(); |
| 2884 #endif | 2710 #endif |
| 2885 | 2711 |
| 2886 ; return 0; } | 2712 ; return 0; } |
| 2887 EOF | 2713 EOF |
| 2888 if { (eval echo configure:2889: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 2714 if { (eval echo configure:2715: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 2889 rm -rf conftest* | 2715 rm -rf conftest* |
| 2890 eval "ac_cv_func_malloc_set_state=yes" | 2716 eval "ac_cv_func_malloc_set_state=yes" |
| 2891 else | 2717 else |
| 2892 echo "configure: failed program was:" >&5 | 2718 echo "configure: failed program was:" >&5 |
| 2893 cat conftest.$ac_ext >&5 | 2719 cat conftest.$ac_ext >&5 |
| 2903 echo "$ac_t""no" 1>&6 | 2729 echo "$ac_t""no" 1>&6 |
| 2904 doug_lea_malloc=no | 2730 doug_lea_malloc=no |
| 2905 fi | 2731 fi |
| 2906 | 2732 |
| 2907 echo $ac_n "checking whether __after_morecore_hook exists""... $ac_c" 1>&6 | 2733 echo $ac_n "checking whether __after_morecore_hook exists""... $ac_c" 1>&6 |
| 2908 echo "configure:2909: checking whether __after_morecore_hook exists" >&5 | 2734 echo "configure:2735: checking whether __after_morecore_hook exists" >&5 |
| 2909 cat > conftest.$ac_ext <<EOF | 2735 cat > conftest.$ac_ext <<EOF |
| 2910 #line 2911 "configure" | 2736 #line 2737 "configure" |
| 2911 #include "confdefs.h" | 2737 #include "confdefs.h" |
| 2912 extern void (* __after_morecore_hook)(); | 2738 extern void (* __after_morecore_hook)(); |
| 2913 int main() { | 2739 int main() { |
| 2914 __after_morecore_hook = 0 | 2740 __after_morecore_hook = 0 |
| 2915 ; return 0; } | 2741 ; return 0; } |
| 2916 EOF | 2742 EOF |
| 2917 if { (eval echo configure:2918: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 2743 if { (eval echo configure:2744: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 2918 rm -rf conftest* | 2744 rm -rf conftest* |
| 2919 echo "$ac_t""yes" 1>&6 | 2745 echo "$ac_t""yes" 1>&6 |
| 2920 else | 2746 else |
| 2921 echo "configure: failed program was:" >&5 | 2747 echo "configure: failed program was:" >&5 |
| 2922 cat conftest.$ac_ext >&5 | 2748 cat conftest.$ac_ext >&5 |
| 2971 | 2797 |
| 2972 | 2798 |
| 2973 # Extract the first word of "ranlib", so it can be a program name with args. | 2799 # Extract the first word of "ranlib", so it can be a program name with args. |
| 2974 set dummy ranlib; ac_word=$2 | 2800 set dummy ranlib; ac_word=$2 |
| 2975 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 2801 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
| 2976 echo "configure:2977: checking for $ac_word" >&5 | 2802 echo "configure:2803: checking for $ac_word" >&5 |
| 2977 | 2803 |
| 2978 if test -n "$RANLIB"; then | 2804 if test -n "$RANLIB"; then |
| 2979 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. | 2805 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. |
| 2980 else | 2806 else |
| 2981 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | 2807 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" |
| 2982 ac_dummy="$PATH" | 2808 for ac_dir in $PATH; do |
| 2983 for ac_dir in $ac_dummy; do | |
| 2984 test -z "$ac_dir" && ac_dir=. | 2809 test -z "$ac_dir" && ac_dir=. |
| 2985 if test -f $ac_dir/$ac_word; then | 2810 if test -f $ac_dir/$ac_word; then |
| 2986 ac_cv_prog_RANLIB="ranlib" | 2811 ac_cv_prog_RANLIB="ranlib" |
| 2987 break | 2812 break |
| 2988 fi | 2813 fi |
| 3021 # incompatible versions: | 2846 # incompatible versions: |
| 3022 # SysV /etc/install, /usr/sbin/install | 2847 # SysV /etc/install, /usr/sbin/install |
| 3023 # SunOS /usr/etc/install | 2848 # SunOS /usr/etc/install |
| 3024 # IRIX /sbin/install | 2849 # IRIX /sbin/install |
| 3025 # AIX /bin/install | 2850 # AIX /bin/install |
| 3026 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag | |
| 3027 # AFS /usr/afsws/bin/install, which mishandles nonexistent args | 2851 # AFS /usr/afsws/bin/install, which mishandles nonexistent args |
| 3028 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" | 2852 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" |
| 3029 # ./install, which can be erroneously created by make from ./install.sh. | 2853 # ./install, which can be erroneously created by make from ./install.sh. |
| 3030 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 | 2854 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 |
| 3031 echo "configure:3032: checking for a BSD compatible install" >&5 | 2855 echo "configure:2856: checking for a BSD compatible install" >&5 |
| 3032 if test -z "$INSTALL"; then | 2856 if test -z "$INSTALL"; then |
| 3033 | 2857 |
| 3034 IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS=":" | 2858 IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS="${IFS}:" |
| 3035 for ac_dir in $PATH; do | 2859 for ac_dir in $PATH; do |
| 3036 # Account for people who put trailing slashes in PATH elements. | 2860 # Account for people who put trailing slashes in PATH elements. |
| 3037 case "$ac_dir/" in | 2861 case "$ac_dir/" in |
| 3038 /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;; | 2862 /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;; |
| 3039 *) | 2863 *) |
| 3040 # OSF1 and SCO ODT 3.0 have their own names for install. | 2864 # OSF1 and SCO ODT 3.0 have their own names for install. |
| 3041 # Don't use installbsd from OSF since it installs stuff as root | 2865 for ac_prog in ginstall installbsd scoinst install; do |
| 3042 # by default. | |
| 3043 for ac_prog in ginstall scoinst install; do | |
| 3044 if test -f $ac_dir/$ac_prog; then | 2866 if test -f $ac_dir/$ac_prog; then |
| 3045 if test $ac_prog = install && | 2867 if test $ac_prog = install && |
| 3046 grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then | 2868 grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then |
| 3047 # AIX install. It has an incompatible calling convention. | 2869 # AIX install. It has an incompatible calling convention. |
| 2870 # OSF/1 installbsd also uses dspmsg, but is usable. | |
| 3048 : | 2871 : |
| 3049 else | 2872 else |
| 3050 ac_cv_path_install="$ac_dir/$ac_prog -c" | 2873 ac_cv_path_install="$ac_dir/$ac_prog -c" |
| 3051 break 2 | 2874 break 2 |
| 3052 fi | 2875 fi |
| 3071 | 2894 |
| 3072 # Use test -z because SunOS4 sh mishandles braces in ${var-val}. | 2895 # Use test -z because SunOS4 sh mishandles braces in ${var-val}. |
| 3073 # It thinks the first close brace ends the variable substitution. | 2896 # It thinks the first close brace ends the variable substitution. |
| 3074 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' | 2897 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' |
| 3075 | 2898 |
| 3076 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}' | |
| 3077 | |
| 3078 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' | 2899 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' |
| 3079 | 2900 |
| 3080 for ac_prog in 'bison -y' byacc | 2901 for ac_prog in 'bison -y' byacc |
| 3081 do | 2902 do |
| 3082 # Extract the first word of "$ac_prog", so it can be a program name with args. | 2903 # Extract the first word of "$ac_prog", so it can be a program name with args. |
| 3083 set dummy $ac_prog; ac_word=$2 | 2904 set dummy $ac_prog; ac_word=$2 |
| 3084 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 2905 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
| 3085 echo "configure:3086: checking for $ac_word" >&5 | 2906 echo "configure:2907: checking for $ac_word" >&5 |
| 3086 | 2907 |
| 3087 if test -n "$YACC"; then | 2908 if test -n "$YACC"; then |
| 3088 ac_cv_prog_YACC="$YACC" # Let the user override the test. | 2909 ac_cv_prog_YACC="$YACC" # Let the user override the test. |
| 3089 else | 2910 else |
| 3090 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | 2911 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" |
| 3091 ac_dummy="$PATH" | 2912 for ac_dir in $PATH; do |
| 3092 for ac_dir in $ac_dummy; do | |
| 3093 test -z "$ac_dir" && ac_dir=. | 2913 test -z "$ac_dir" && ac_dir=. |
| 3094 if test -f $ac_dir/$ac_word; then | 2914 if test -f $ac_dir/$ac_word; then |
| 3095 ac_cv_prog_YACC="$ac_prog" | 2915 ac_cv_prog_YACC="$ac_prog" |
| 3096 break | 2916 break |
| 3097 fi | 2917 fi |
| 3112 | 2932 |
| 3113 for ac_hdr in mach/mach.h sys/stropts.h sys/timeb.h sys/time.h unistd.h | 2933 for ac_hdr in mach/mach.h sys/stropts.h sys/timeb.h sys/time.h unistd.h |
| 3114 do | 2934 do |
| 3115 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 2935 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
| 3116 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 2936 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
| 3117 echo "configure:3118: checking for $ac_hdr" >&5 | 2937 echo "configure:2938: checking for $ac_hdr" >&5 |
| 3118 | 2938 |
| 3119 cat > conftest.$ac_ext <<EOF | 2939 cat > conftest.$ac_ext <<EOF |
| 3120 #line 3121 "configure" | 2940 #line 2941 "configure" |
| 3121 #include "confdefs.h" | 2941 #include "confdefs.h" |
| 3122 #include <$ac_hdr> | 2942 #include <$ac_hdr> |
| 3123 EOF | 2943 EOF |
| 3124 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 2944 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 3125 { (eval echo configure:3126: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 2945 { (eval echo configure:2946: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 3126 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 2946 ac_err=`grep -v '^ *+' conftest.out` |
| 3127 if test -z "$ac_err"; then | 2947 if test -z "$ac_err"; then |
| 3128 rm -rf conftest* | 2948 rm -rf conftest* |
| 3129 eval "ac_cv_header_$ac_safe=yes" | 2949 eval "ac_cv_header_$ac_safe=yes" |
| 3130 else | 2950 else |
| 3131 echo "$ac_err" >&5 | 2951 echo "$ac_err" >&5 |
| 3153 | 2973 |
| 3154 for ac_hdr in utime.h locale.h libgen.h fcntl.h ulimit.h cygwin/version.h | 2974 for ac_hdr in utime.h locale.h libgen.h fcntl.h ulimit.h cygwin/version.h |
| 3155 do | 2975 do |
| 3156 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 2976 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
| 3157 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 2977 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
| 3158 echo "configure:3159: checking for $ac_hdr" >&5 | 2978 echo "configure:2979: checking for $ac_hdr" >&5 |
| 3159 | 2979 |
| 3160 cat > conftest.$ac_ext <<EOF | 2980 cat > conftest.$ac_ext <<EOF |
| 3161 #line 3162 "configure" | 2981 #line 2982 "configure" |
| 3162 #include "confdefs.h" | 2982 #include "confdefs.h" |
| 3163 #include <$ac_hdr> | 2983 #include <$ac_hdr> |
| 3164 EOF | 2984 EOF |
| 3165 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 2985 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 3166 { (eval echo configure:3167: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 2986 { (eval echo configure:2987: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 3167 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 2987 ac_err=`grep -v '^ *+' conftest.out` |
| 3168 if test -z "$ac_err"; then | 2988 if test -z "$ac_err"; then |
| 3169 rm -rf conftest* | 2989 rm -rf conftest* |
| 3170 eval "ac_cv_header_$ac_safe=yes" | 2990 eval "ac_cv_header_$ac_safe=yes" |
| 3171 else | 2991 else |
| 3172 echo "$ac_err" >&5 | 2992 echo "$ac_err" >&5 |
| 3194 | 3014 |
| 3195 for ac_hdr in linux/version.h kstat.h sys/pstat.h inttypes.h sys/un.h a.out.h | 3015 for ac_hdr in linux/version.h kstat.h sys/pstat.h inttypes.h sys/un.h a.out.h |
| 3196 do | 3016 do |
| 3197 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 3017 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
| 3198 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 3018 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
| 3199 echo "configure:3200: checking for $ac_hdr" >&5 | 3019 echo "configure:3020: checking for $ac_hdr" >&5 |
| 3200 | 3020 |
| 3201 cat > conftest.$ac_ext <<EOF | 3021 cat > conftest.$ac_ext <<EOF |
| 3202 #line 3203 "configure" | 3022 #line 3023 "configure" |
| 3203 #include "confdefs.h" | 3023 #include "confdefs.h" |
| 3204 #include <$ac_hdr> | 3024 #include <$ac_hdr> |
| 3205 EOF | 3025 EOF |
| 3206 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 3026 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 3207 { (eval echo configure:3208: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 3027 { (eval echo configure:3028: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 3208 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 3028 ac_err=`grep -v '^ *+' conftest.out` |
| 3209 if test -z "$ac_err"; then | 3029 if test -z "$ac_err"; then |
| 3210 rm -rf conftest* | 3030 rm -rf conftest* |
| 3211 eval "ac_cv_header_$ac_safe=yes" | 3031 eval "ac_cv_header_$ac_safe=yes" |
| 3212 else | 3032 else |
| 3213 echo "$ac_err" >&5 | 3033 echo "$ac_err" >&5 |
| 3232 echo "$ac_t""no" 1>&6 | 3052 echo "$ac_t""no" 1>&6 |
| 3233 fi | 3053 fi |
| 3234 done | 3054 done |
| 3235 | 3055 |
| 3236 echo $ac_n "checking for sys/wait.h that is POSIX.1 compatible""... $ac_c" 1>&6 | 3056 echo $ac_n "checking for sys/wait.h that is POSIX.1 compatible""... $ac_c" 1>&6 |
| 3237 echo "configure:3238: checking for sys/wait.h that is POSIX.1 compatible" >&5 | 3057 echo "configure:3058: checking for sys/wait.h that is POSIX.1 compatible" >&5 |
| 3238 | 3058 |
| 3239 cat > conftest.$ac_ext <<EOF | 3059 cat > conftest.$ac_ext <<EOF |
| 3240 #line 3241 "configure" | 3060 #line 3061 "configure" |
| 3241 #include "confdefs.h" | 3061 #include "confdefs.h" |
| 3242 #include <sys/types.h> | 3062 #include <sys/types.h> |
| 3243 #include <sys/wait.h> | 3063 #include <sys/wait.h> |
| 3244 #ifndef WEXITSTATUS | 3064 #ifndef WEXITSTATUS |
| 3245 #define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8) | 3065 #define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8) |
| 3251 int s; | 3071 int s; |
| 3252 wait (&s); | 3072 wait (&s); |
| 3253 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1; | 3073 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1; |
| 3254 ; return 0; } | 3074 ; return 0; } |
| 3255 EOF | 3075 EOF |
| 3256 if { (eval echo configure:3257: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3076 if { (eval echo configure:3077: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| 3257 rm -rf conftest* | 3077 rm -rf conftest* |
| 3258 ac_cv_header_sys_wait_h=yes | 3078 ac_cv_header_sys_wait_h=yes |
| 3259 else | 3079 else |
| 3260 echo "configure: failed program was:" >&5 | 3080 echo "configure: failed program was:" >&5 |
| 3261 cat conftest.$ac_ext >&5 | 3081 cat conftest.$ac_ext >&5 |
| 3275 } | 3095 } |
| 3276 | 3096 |
| 3277 fi | 3097 fi |
| 3278 | 3098 |
| 3279 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6 | 3099 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6 |
| 3280 echo "configure:3281: checking for ANSI C header files" >&5 | 3100 echo "configure:3101: checking for ANSI C header files" >&5 |
| 3281 | 3101 |
| 3282 cat > conftest.$ac_ext <<EOF | 3102 cat > conftest.$ac_ext <<EOF |
| 3283 #line 3284 "configure" | 3103 #line 3104 "configure" |
| 3284 #include "confdefs.h" | 3104 #include "confdefs.h" |
| 3285 #include <stdlib.h> | 3105 #include <stdlib.h> |
| 3286 #include <stdarg.h> | 3106 #include <stdarg.h> |
| 3287 #include <string.h> | 3107 #include <string.h> |
| 3288 #include <float.h> | 3108 #include <float.h> |
| 3289 EOF | 3109 EOF |
| 3290 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 3110 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 3291 { (eval echo configure:3292: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 3111 { (eval echo configure:3112: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 3292 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 3112 ac_err=`grep -v '^ *+' conftest.out` |
| 3293 if test -z "$ac_err"; then | 3113 if test -z "$ac_err"; then |
| 3294 rm -rf conftest* | 3114 rm -rf conftest* |
| 3295 ac_cv_header_stdc=yes | 3115 ac_cv_header_stdc=yes |
| 3296 else | 3116 else |
| 3297 echo "$ac_err" >&5 | 3117 echo "$ac_err" >&5 |
| 3303 rm -f conftest* | 3123 rm -f conftest* |
| 3304 | 3124 |
| 3305 if test $ac_cv_header_stdc = yes; then | 3125 if test $ac_cv_header_stdc = yes; then |
| 3306 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. | 3126 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. |
| 3307 cat > conftest.$ac_ext <<EOF | 3127 cat > conftest.$ac_ext <<EOF |
| 3308 #line 3309 "configure" | 3128 #line 3129 "configure" |
| 3309 #include "confdefs.h" | 3129 #include "confdefs.h" |
| 3310 #include <string.h> | 3130 #include <string.h> |
| 3311 EOF | 3131 EOF |
| 3312 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 3132 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
| 3313 egrep "memchr" >/dev/null 2>&1; then | 3133 egrep "memchr" >/dev/null 2>&1; then |
| 3321 fi | 3141 fi |
| 3322 | 3142 |
| 3323 if test $ac_cv_header_stdc = yes; then | 3143 if test $ac_cv_header_stdc = yes; then |
| 3324 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. | 3144 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. |
| 3325 cat > conftest.$ac_ext <<EOF | 3145 cat > conftest.$ac_ext <<EOF |
| 3326 #line 3327 "configure" | 3146 #line 3147 "configure" |
| 3327 #include "confdefs.h" | 3147 #include "confdefs.h" |
| 3328 #include <stdlib.h> | 3148 #include <stdlib.h> |
| 3329 EOF | 3149 EOF |
| 3330 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 3150 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
| 3331 egrep "free" >/dev/null 2>&1; then | 3151 egrep "free" >/dev/null 2>&1; then |
| 3339 fi | 3159 fi |
| 3340 | 3160 |
| 3341 if test $ac_cv_header_stdc = yes; then | 3161 if test $ac_cv_header_stdc = yes; then |
| 3342 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. | 3162 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. |
| 3343 cat > conftest.$ac_ext <<EOF | 3163 cat > conftest.$ac_ext <<EOF |
| 3344 #line 3345 "configure" | 3164 #line 3165 "configure" |
| 3345 #include "confdefs.h" | 3165 #include "confdefs.h" |
| 3346 #include <ctype.h> | 3166 #include <ctype.h> |
| 3347 #define ISLOWER(c) ('a' <= (c) && (c) <= 'z') | 3167 #define ISLOWER(c) ('a' <= (c) && (c) <= 'z') |
| 3348 #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) | 3168 #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) |
| 3349 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) | 3169 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) |
| 3350 int main () { int i; for (i = 0; i < 256; i++) | 3170 int main () { int i; for (i = 0; i < 256; i++) |
| 3351 if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2); | 3171 if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2); |
| 3352 exit (0); } | 3172 exit (0); } |
| 3353 | 3173 |
| 3354 EOF | 3174 EOF |
| 3355 if { (eval echo configure:3356: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 3175 if { (eval echo configure:3176: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
| 3356 then | 3176 then |
| 3357 : | 3177 : |
| 3358 else | 3178 else |
| 3359 conftest_rc="$?" | 3179 conftest_rc="$?" |
| 3360 echo "configure: failed program was:" >&5 | 3180 echo "configure: failed program was:" >&5 |
| 3376 } | 3196 } |
| 3377 | 3197 |
| 3378 fi | 3198 fi |
| 3379 | 3199 |
| 3380 echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6 | 3200 echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6 |
| 3381 echo "configure:3382: checking whether time.h and sys/time.h may both be included" >&5 | 3201 echo "configure:3202: checking whether time.h and sys/time.h may both be included" >&5 |
| 3382 | 3202 |
| 3383 cat > conftest.$ac_ext <<EOF | 3203 cat > conftest.$ac_ext <<EOF |
| 3384 #line 3385 "configure" | 3204 #line 3205 "configure" |
| 3385 #include "confdefs.h" | 3205 #include "confdefs.h" |
| 3386 #include <sys/types.h> | 3206 #include <sys/types.h> |
| 3387 #include <sys/time.h> | 3207 #include <sys/time.h> |
| 3388 #include <time.h> | 3208 #include <time.h> |
| 3389 int main() { | 3209 int main() { |
| 3390 struct tm *tp; | 3210 struct tm *tp; |
| 3391 ; return 0; } | 3211 ; return 0; } |
| 3392 EOF | 3212 EOF |
| 3393 if { (eval echo configure:3394: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3213 if { (eval echo configure:3214: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| 3394 rm -rf conftest* | 3214 rm -rf conftest* |
| 3395 ac_cv_header_time=yes | 3215 ac_cv_header_time=yes |
| 3396 else | 3216 else |
| 3397 echo "configure: failed program was:" >&5 | 3217 echo "configure: failed program was:" >&5 |
| 3398 cat conftest.$ac_ext >&5 | 3218 cat conftest.$ac_ext >&5 |
| 3412 } | 3232 } |
| 3413 | 3233 |
| 3414 fi | 3234 fi |
| 3415 | 3235 |
| 3416 echo $ac_n "checking for sys_siglist declaration in signal.h or unistd.h""... $ac_c" 1>&6 | 3236 echo $ac_n "checking for sys_siglist declaration in signal.h or unistd.h""... $ac_c" 1>&6 |
| 3417 echo "configure:3418: checking for sys_siglist declaration in signal.h or unistd.h" >&5 | 3237 echo "configure:3238: checking for sys_siglist declaration in signal.h or unistd.h" >&5 |
| 3418 | 3238 |
| 3419 cat > conftest.$ac_ext <<EOF | 3239 cat > conftest.$ac_ext <<EOF |
| 3420 #line 3421 "configure" | 3240 #line 3241 "configure" |
| 3421 #include "confdefs.h" | 3241 #include "confdefs.h" |
| 3422 #include <sys/types.h> | 3242 #include <sys/types.h> |
| 3423 #include <signal.h> | 3243 #include <signal.h> |
| 3424 /* NetBSD declares sys_siglist in unistd.h. */ | 3244 /* NetBSD declares sys_siglist in unistd.h. */ |
| 3425 #ifdef HAVE_UNISTD_H | 3245 #ifdef HAVE_UNISTD_H |
| 3427 #endif | 3247 #endif |
| 3428 int main() { | 3248 int main() { |
| 3429 char *msg = *(sys_siglist + 1); | 3249 char *msg = *(sys_siglist + 1); |
| 3430 ; return 0; } | 3250 ; return 0; } |
| 3431 EOF | 3251 EOF |
| 3432 if { (eval echo configure:3433: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3252 if { (eval echo configure:3253: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| 3433 rm -rf conftest* | 3253 rm -rf conftest* |
| 3434 ac_cv_decl_sys_siglist=yes | 3254 ac_cv_decl_sys_siglist=yes |
| 3435 else | 3255 else |
| 3436 echo "configure: failed program was:" >&5 | 3256 echo "configure: failed program was:" >&5 |
| 3437 cat conftest.$ac_ext >&5 | 3257 cat conftest.$ac_ext >&5 |
| 3452 | 3272 |
| 3453 fi | 3273 fi |
| 3454 | 3274 |
| 3455 | 3275 |
| 3456 echo $ac_n "checking for struct utimbuf""... $ac_c" 1>&6 | 3276 echo $ac_n "checking for struct utimbuf""... $ac_c" 1>&6 |
| 3457 echo "configure:3458: checking for struct utimbuf" >&5 | 3277 echo "configure:3278: checking for struct utimbuf" >&5 |
| 3458 cat > conftest.$ac_ext <<EOF | 3278 cat > conftest.$ac_ext <<EOF |
| 3459 #line 3460 "configure" | 3279 #line 3280 "configure" |
| 3460 #include "confdefs.h" | 3280 #include "confdefs.h" |
| 3461 #ifdef TIME_WITH_SYS_TIME | 3281 #ifdef TIME_WITH_SYS_TIME |
| 3462 #include <sys/time.h> | 3282 #include <sys/time.h> |
| 3463 #include <time.h> | 3283 #include <time.h> |
| 3464 #else | 3284 #else |
| 3473 #endif | 3293 #endif |
| 3474 int main() { | 3294 int main() { |
| 3475 static struct utimbuf x; x.actime = x.modtime; | 3295 static struct utimbuf x; x.actime = x.modtime; |
| 3476 ; return 0; } | 3296 ; return 0; } |
| 3477 EOF | 3297 EOF |
| 3478 if { (eval echo configure:3479: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3298 if { (eval echo configure:3299: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| 3479 rm -rf conftest* | 3299 rm -rf conftest* |
| 3480 echo "$ac_t""yes" 1>&6 | 3300 echo "$ac_t""yes" 1>&6 |
| 3481 { test "$extra_verbose" = "yes" && cat << \EOF | 3301 { test "$extra_verbose" = "yes" && cat << \EOF |
| 3482 Defining HAVE_STRUCT_UTIMBUF | 3302 Defining HAVE_STRUCT_UTIMBUF |
| 3483 EOF | 3303 EOF |
| 3493 echo "$ac_t""no" 1>&6 | 3313 echo "$ac_t""no" 1>&6 |
| 3494 fi | 3314 fi |
| 3495 rm -f conftest* | 3315 rm -f conftest* |
| 3496 | 3316 |
| 3497 echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6 | 3317 echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6 |
| 3498 echo "configure:3499: checking return type of signal handlers" >&5 | 3318 echo "configure:3319: checking return type of signal handlers" >&5 |
| 3499 | 3319 |
| 3500 cat > conftest.$ac_ext <<EOF | 3320 cat > conftest.$ac_ext <<EOF |
| 3501 #line 3502 "configure" | 3321 #line 3322 "configure" |
| 3502 #include "confdefs.h" | 3322 #include "confdefs.h" |
| 3503 #include <sys/types.h> | 3323 #include <sys/types.h> |
| 3504 #include <signal.h> | 3324 #include <signal.h> |
| 3505 #ifdef signal | 3325 #ifdef signal |
| 3506 #undef signal | 3326 #undef signal |
| 3513 | 3333 |
| 3514 int main() { | 3334 int main() { |
| 3515 int i; | 3335 int i; |
| 3516 ; return 0; } | 3336 ; return 0; } |
| 3517 EOF | 3337 EOF |
| 3518 if { (eval echo configure:3519: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3338 if { (eval echo configure:3339: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| 3519 rm -rf conftest* | 3339 rm -rf conftest* |
| 3520 ac_cv_type_signal=void | 3340 ac_cv_type_signal=void |
| 3521 else | 3341 else |
| 3522 echo "configure: failed program was:" >&5 | 3342 echo "configure: failed program was:" >&5 |
| 3523 cat conftest.$ac_ext >&5 | 3343 cat conftest.$ac_ext >&5 |
| 3535 EOF | 3355 EOF |
| 3536 } | 3356 } |
| 3537 | 3357 |
| 3538 | 3358 |
| 3539 echo $ac_n "checking for size_t""... $ac_c" 1>&6 | 3359 echo $ac_n "checking for size_t""... $ac_c" 1>&6 |
| 3540 echo "configure:3541: checking for size_t" >&5 | 3360 echo "configure:3361: checking for size_t" >&5 |
| 3541 | 3361 |
| 3542 cat > conftest.$ac_ext <<EOF | 3362 cat > conftest.$ac_ext <<EOF |
| 3543 #line 3544 "configure" | 3363 #line 3364 "configure" |
| 3544 #include "confdefs.h" | 3364 #include "confdefs.h" |
| 3545 #include <sys/types.h> | 3365 #include <sys/types.h> |
| 3546 #if STDC_HEADERS | 3366 #if STDC_HEADERS |
| 3547 #include <stdlib.h> | 3367 #include <stdlib.h> |
| 3548 #include <stddef.h> | 3368 #include <stddef.h> |
| 3549 #endif | 3369 #endif |
| 3550 EOF | 3370 EOF |
| 3551 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 3371 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
| 3552 egrep "(^|[^a-zA-Z_0-9])size_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then | 3372 egrep "size_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then |
| 3553 rm -rf conftest* | 3373 rm -rf conftest* |
| 3554 ac_cv_type_size_t=yes | 3374 ac_cv_type_size_t=yes |
| 3555 else | 3375 else |
| 3556 rm -rf conftest* | 3376 rm -rf conftest* |
| 3557 ac_cv_type_size_t=no | 3377 ac_cv_type_size_t=no |
| 3569 } | 3389 } |
| 3570 | 3390 |
| 3571 fi | 3391 fi |
| 3572 | 3392 |
| 3573 echo $ac_n "checking for pid_t""... $ac_c" 1>&6 | 3393 echo $ac_n "checking for pid_t""... $ac_c" 1>&6 |
| 3574 echo "configure:3575: checking for pid_t" >&5 | 3394 echo "configure:3395: checking for pid_t" >&5 |
| 3575 | 3395 |
| 3576 cat > conftest.$ac_ext <<EOF | 3396 cat > conftest.$ac_ext <<EOF |
| 3577 #line 3578 "configure" | 3397 #line 3398 "configure" |
| 3578 #include "confdefs.h" | 3398 #include "confdefs.h" |
| 3579 #include <sys/types.h> | 3399 #include <sys/types.h> |
| 3580 #if STDC_HEADERS | 3400 #if STDC_HEADERS |
| 3581 #include <stdlib.h> | 3401 #include <stdlib.h> |
| 3582 #include <stddef.h> | 3402 #include <stddef.h> |
| 3583 #endif | 3403 #endif |
| 3584 EOF | 3404 EOF |
| 3585 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 3405 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
| 3586 egrep "(^|[^a-zA-Z_0-9])pid_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then | 3406 egrep "pid_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then |
| 3587 rm -rf conftest* | 3407 rm -rf conftest* |
| 3588 ac_cv_type_pid_t=yes | 3408 ac_cv_type_pid_t=yes |
| 3589 else | 3409 else |
| 3590 rm -rf conftest* | 3410 rm -rf conftest* |
| 3591 ac_cv_type_pid_t=no | 3411 ac_cv_type_pid_t=no |
| 3603 } | 3423 } |
| 3604 | 3424 |
| 3605 fi | 3425 fi |
| 3606 | 3426 |
| 3607 echo $ac_n "checking for uid_t in sys/types.h""... $ac_c" 1>&6 | 3427 echo $ac_n "checking for uid_t in sys/types.h""... $ac_c" 1>&6 |
| 3608 echo "configure:3609: checking for uid_t in sys/types.h" >&5 | 3428 echo "configure:3429: checking for uid_t in sys/types.h" >&5 |
| 3609 | 3429 |
| 3610 cat > conftest.$ac_ext <<EOF | 3430 cat > conftest.$ac_ext <<EOF |
| 3611 #line 3612 "configure" | 3431 #line 3432 "configure" |
| 3612 #include "confdefs.h" | 3432 #include "confdefs.h" |
| 3613 #include <sys/types.h> | 3433 #include <sys/types.h> |
| 3614 EOF | 3434 EOF |
| 3615 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 3435 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
| 3616 egrep "uid_t" >/dev/null 2>&1; then | 3436 egrep "uid_t" >/dev/null 2>&1; then |
| 3642 } | 3462 } |
| 3643 | 3463 |
| 3644 fi | 3464 fi |
| 3645 | 3465 |
| 3646 echo $ac_n "checking for mode_t""... $ac_c" 1>&6 | 3466 echo $ac_n "checking for mode_t""... $ac_c" 1>&6 |
| 3647 echo "configure:3648: checking for mode_t" >&5 | 3467 echo "configure:3468: checking for mode_t" >&5 |
| 3648 | 3468 |
| 3649 cat > conftest.$ac_ext <<EOF | 3469 cat > conftest.$ac_ext <<EOF |
| 3650 #line 3651 "configure" | 3470 #line 3471 "configure" |
| 3651 #include "confdefs.h" | 3471 #include "confdefs.h" |
| 3652 #include <sys/types.h> | 3472 #include <sys/types.h> |
| 3653 #if STDC_HEADERS | 3473 #if STDC_HEADERS |
| 3654 #include <stdlib.h> | 3474 #include <stdlib.h> |
| 3655 #include <stddef.h> | 3475 #include <stddef.h> |
| 3656 #endif | 3476 #endif |
| 3657 EOF | 3477 EOF |
| 3658 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 3478 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
| 3659 egrep "(^|[^a-zA-Z_0-9])mode_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then | 3479 egrep "mode_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then |
| 3660 rm -rf conftest* | 3480 rm -rf conftest* |
| 3661 ac_cv_type_mode_t=yes | 3481 ac_cv_type_mode_t=yes |
| 3662 else | 3482 else |
| 3663 rm -rf conftest* | 3483 rm -rf conftest* |
| 3664 ac_cv_type_mode_t=no | 3484 ac_cv_type_mode_t=no |
| 3676 } | 3496 } |
| 3677 | 3497 |
| 3678 fi | 3498 fi |
| 3679 | 3499 |
| 3680 echo $ac_n "checking for off_t""... $ac_c" 1>&6 | 3500 echo $ac_n "checking for off_t""... $ac_c" 1>&6 |
| 3681 echo "configure:3682: checking for off_t" >&5 | 3501 echo "configure:3502: checking for off_t" >&5 |
| 3682 | 3502 |
| 3683 cat > conftest.$ac_ext <<EOF | 3503 cat > conftest.$ac_ext <<EOF |
| 3684 #line 3685 "configure" | 3504 #line 3505 "configure" |
| 3685 #include "confdefs.h" | 3505 #include "confdefs.h" |
| 3686 #include <sys/types.h> | 3506 #include <sys/types.h> |
| 3687 #if STDC_HEADERS | 3507 #if STDC_HEADERS |
| 3688 #include <stdlib.h> | 3508 #include <stdlib.h> |
| 3689 #include <stddef.h> | 3509 #include <stddef.h> |
| 3690 #endif | 3510 #endif |
| 3691 EOF | 3511 EOF |
| 3692 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 3512 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
| 3693 egrep "(^|[^a-zA-Z_0-9])off_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then | 3513 egrep "off_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then |
| 3694 rm -rf conftest* | 3514 rm -rf conftest* |
| 3695 ac_cv_type_off_t=yes | 3515 ac_cv_type_off_t=yes |
| 3696 else | 3516 else |
| 3697 rm -rf conftest* | 3517 rm -rf conftest* |
| 3698 ac_cv_type_off_t=no | 3518 ac_cv_type_off_t=no |
| 3711 | 3531 |
| 3712 fi | 3532 fi |
| 3713 | 3533 |
| 3714 | 3534 |
| 3715 echo $ac_n "checking for struct timeval""... $ac_c" 1>&6 | 3535 echo $ac_n "checking for struct timeval""... $ac_c" 1>&6 |
| 3716 echo "configure:3717: checking for struct timeval" >&5 | 3536 echo "configure:3537: checking for struct timeval" >&5 |
| 3717 cat > conftest.$ac_ext <<EOF | 3537 cat > conftest.$ac_ext <<EOF |
| 3718 #line 3719 "configure" | 3538 #line 3539 "configure" |
| 3719 #include "confdefs.h" | 3539 #include "confdefs.h" |
| 3720 #ifdef TIME_WITH_SYS_TIME | 3540 #ifdef TIME_WITH_SYS_TIME |
| 3721 #include <sys/time.h> | 3541 #include <sys/time.h> |
| 3722 #include <time.h> | 3542 #include <time.h> |
| 3723 #else | 3543 #else |
| 3729 #endif | 3549 #endif |
| 3730 int main() { | 3550 int main() { |
| 3731 static struct timeval x; x.tv_sec = x.tv_usec; | 3551 static struct timeval x; x.tv_sec = x.tv_usec; |
| 3732 ; return 0; } | 3552 ; return 0; } |
| 3733 EOF | 3553 EOF |
| 3734 if { (eval echo configure:3735: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3554 if { (eval echo configure:3555: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| 3735 rm -rf conftest* | 3555 rm -rf conftest* |
| 3736 echo "$ac_t""yes" 1>&6 | 3556 echo "$ac_t""yes" 1>&6 |
| 3737 HAVE_TIMEVAL=yes | 3557 HAVE_TIMEVAL=yes |
| 3738 { test "$extra_verbose" = "yes" && cat << \EOF | 3558 { test "$extra_verbose" = "yes" && cat << \EOF |
| 3739 Defining HAVE_TIMEVAL | 3559 Defining HAVE_TIMEVAL |
| 3751 HAVE_TIMEVAL=no | 3571 HAVE_TIMEVAL=no |
| 3752 fi | 3572 fi |
| 3753 rm -f conftest* | 3573 rm -f conftest* |
| 3754 | 3574 |
| 3755 echo $ac_n "checking whether struct tm is in sys/time.h or time.h""... $ac_c" 1>&6 | 3575 echo $ac_n "checking whether struct tm is in sys/time.h or time.h""... $ac_c" 1>&6 |
| 3756 echo "configure:3757: checking whether struct tm is in sys/time.h or time.h" >&5 | 3576 echo "configure:3577: checking whether struct tm is in sys/time.h or time.h" >&5 |
| 3757 | 3577 |
| 3758 cat > conftest.$ac_ext <<EOF | 3578 cat > conftest.$ac_ext <<EOF |
| 3759 #line 3760 "configure" | 3579 #line 3580 "configure" |
| 3760 #include "confdefs.h" | 3580 #include "confdefs.h" |
| 3761 #include <sys/types.h> | 3581 #include <sys/types.h> |
| 3762 #include <time.h> | 3582 #include <time.h> |
| 3763 int main() { | 3583 int main() { |
| 3764 struct tm *tp; tp->tm_sec; | 3584 struct tm *tp; tp->tm_sec; |
| 3765 ; return 0; } | 3585 ; return 0; } |
| 3766 EOF | 3586 EOF |
| 3767 if { (eval echo configure:3768: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3587 if { (eval echo configure:3588: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| 3768 rm -rf conftest* | 3588 rm -rf conftest* |
| 3769 ac_cv_struct_tm=time.h | 3589 ac_cv_struct_tm=time.h |
| 3770 else | 3590 else |
| 3771 echo "configure: failed program was:" >&5 | 3591 echo "configure: failed program was:" >&5 |
| 3772 cat conftest.$ac_ext >&5 | 3592 cat conftest.$ac_ext >&5 |
| 3786 } | 3606 } |
| 3787 | 3607 |
| 3788 fi | 3608 fi |
| 3789 | 3609 |
| 3790 echo $ac_n "checking for tm_zone in struct tm""... $ac_c" 1>&6 | 3610 echo $ac_n "checking for tm_zone in struct tm""... $ac_c" 1>&6 |
| 3791 echo "configure:3792: checking for tm_zone in struct tm" >&5 | 3611 echo "configure:3612: checking for tm_zone in struct tm" >&5 |
| 3792 | 3612 |
| 3793 cat > conftest.$ac_ext <<EOF | 3613 cat > conftest.$ac_ext <<EOF |
| 3794 #line 3795 "configure" | 3614 #line 3615 "configure" |
| 3795 #include "confdefs.h" | 3615 #include "confdefs.h" |
| 3796 #include <sys/types.h> | 3616 #include <sys/types.h> |
| 3797 #include <$ac_cv_struct_tm> | 3617 #include <$ac_cv_struct_tm> |
| 3798 int main() { | 3618 int main() { |
| 3799 struct tm tm; tm.tm_zone; | 3619 struct tm tm; tm.tm_zone; |
| 3800 ; return 0; } | 3620 ; return 0; } |
| 3801 EOF | 3621 EOF |
| 3802 if { (eval echo configure:3803: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3622 if { (eval echo configure:3623: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| 3803 rm -rf conftest* | 3623 rm -rf conftest* |
| 3804 ac_cv_struct_tm_zone=yes | 3624 ac_cv_struct_tm_zone=yes |
| 3805 else | 3625 else |
| 3806 echo "configure: failed program was:" >&5 | 3626 echo "configure: failed program was:" >&5 |
| 3807 cat conftest.$ac_ext >&5 | 3627 cat conftest.$ac_ext >&5 |
| 3820 EOF | 3640 EOF |
| 3821 } | 3641 } |
| 3822 | 3642 |
| 3823 else | 3643 else |
| 3824 echo $ac_n "checking for tzname""... $ac_c" 1>&6 | 3644 echo $ac_n "checking for tzname""... $ac_c" 1>&6 |
| 3825 echo "configure:3826: checking for tzname" >&5 | 3645 echo "configure:3646: checking for tzname" >&5 |
| 3826 | 3646 |
| 3827 cat > conftest.$ac_ext <<EOF | 3647 cat > conftest.$ac_ext <<EOF |
| 3828 #line 3829 "configure" | 3648 #line 3649 "configure" |
| 3829 #include "confdefs.h" | 3649 #include "confdefs.h" |
| 3830 #include <time.h> | 3650 #include <time.h> |
| 3831 #ifndef tzname /* For SGI. */ | 3651 #ifndef tzname /* For SGI. */ |
| 3832 extern char *tzname[]; /* RS6000 and others reject char **tzname. */ | 3652 extern char *tzname[]; /* RS6000 and others reject char **tzname. */ |
| 3833 #endif | 3653 #endif |
| 3834 int main() { | 3654 int main() { |
| 3835 atoi(*tzname); | 3655 atoi(*tzname); |
| 3836 ; return 0; } | 3656 ; return 0; } |
| 3837 EOF | 3657 EOF |
| 3838 if { (eval echo configure:3839: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 3658 if { (eval echo configure:3659: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 3839 rm -rf conftest* | 3659 rm -rf conftest* |
| 3840 ac_cv_var_tzname=yes | 3660 ac_cv_var_tzname=yes |
| 3841 else | 3661 else |
| 3842 echo "configure: failed program was:" >&5 | 3662 echo "configure: failed program was:" >&5 |
| 3843 cat conftest.$ac_ext >&5 | 3663 cat conftest.$ac_ext >&5 |
| 3859 fi | 3679 fi |
| 3860 fi | 3680 fi |
| 3861 | 3681 |
| 3862 | 3682 |
| 3863 echo $ac_n "checking for working const""... $ac_c" 1>&6 | 3683 echo $ac_n "checking for working const""... $ac_c" 1>&6 |
| 3864 echo "configure:3865: checking for working const" >&5 | 3684 echo "configure:3685: checking for working const" >&5 |
| 3865 | 3685 |
| 3866 cat > conftest.$ac_ext <<EOF | 3686 cat > conftest.$ac_ext <<EOF |
| 3867 #line 3868 "configure" | 3687 #line 3688 "configure" |
| 3868 #include "confdefs.h" | 3688 #include "confdefs.h" |
| 3869 | 3689 |
| 3870 int main() { | 3690 int main() { |
| 3871 | 3691 |
| 3872 /* Ultrix mips cc rejects this. */ | 3692 /* Ultrix mips cc rejects this. */ |
| 3911 const int foo = 10; | 3731 const int foo = 10; |
| 3912 } | 3732 } |
| 3913 | 3733 |
| 3914 ; return 0; } | 3734 ; return 0; } |
| 3915 EOF | 3735 EOF |
| 3916 if { (eval echo configure:3917: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3736 if { (eval echo configure:3737: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| 3917 rm -rf conftest* | 3737 rm -rf conftest* |
| 3918 ac_cv_c_const=yes | 3738 ac_cv_c_const=yes |
| 3919 else | 3739 else |
| 3920 echo "configure: failed program was:" >&5 | 3740 echo "configure: failed program was:" >&5 |
| 3921 cat conftest.$ac_ext >&5 | 3741 cat conftest.$ac_ext >&5 |
| 3936 | 3756 |
| 3937 fi | 3757 fi |
| 3938 | 3758 |
| 3939 | 3759 |
| 3940 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6 | 3760 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6 |
| 3941 echo "configure:3942: checking whether ${MAKE-make} sets \${MAKE}" >&5 | 3761 echo "configure:3762: checking whether ${MAKE-make} sets \${MAKE}" >&5 |
| 3942 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'` | 3762 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'` |
| 3943 | 3763 |
| 3944 cat > conftestmake <<\EOF | 3764 cat > conftestmake <<\EOF |
| 3945 all: | 3765 all: |
| 3946 @echo 'ac_maketemp="${MAKE}"' | 3766 @echo 'ac_maketemp="${MAKE}"' |
| 3961 SET_MAKE="MAKE=${MAKE-make}" | 3781 SET_MAKE="MAKE=${MAKE-make}" |
| 3962 fi | 3782 fi |
| 3963 | 3783 |
| 3964 | 3784 |
| 3965 echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6 | 3785 echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6 |
| 3966 echo "configure:3967: checking whether byte ordering is bigendian" >&5 | 3786 echo "configure:3787: checking whether byte ordering is bigendian" >&5 |
| 3967 | 3787 |
| 3968 ac_cv_c_bigendian=unknown | 3788 ac_cv_c_bigendian=unknown |
| 3969 # See if sys/param.h defines the BYTE_ORDER macro. | 3789 # See if sys/param.h defines the BYTE_ORDER macro. |
| 3970 cat > conftest.$ac_ext <<EOF | 3790 cat > conftest.$ac_ext <<EOF |
| 3971 #line 3972 "configure" | 3791 #line 3792 "configure" |
| 3972 #include "confdefs.h" | 3792 #include "confdefs.h" |
| 3973 #include <sys/types.h> | 3793 #include <sys/types.h> |
| 3974 #include <sys/param.h> | 3794 #include <sys/param.h> |
| 3975 int main() { | 3795 int main() { |
| 3976 | 3796 |
| 3977 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN | 3797 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN |
| 3978 bogus endian macros | 3798 bogus endian macros |
| 3979 #endif | 3799 #endif |
| 3980 ; return 0; } | 3800 ; return 0; } |
| 3981 EOF | 3801 EOF |
| 3982 if { (eval echo configure:3983: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3802 if { (eval echo configure:3803: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| 3983 rm -rf conftest* | 3803 rm -rf conftest* |
| 3984 # It does; now see whether it defined to BIG_ENDIAN or not. | 3804 # It does; now see whether it defined to BIG_ENDIAN or not. |
| 3985 cat > conftest.$ac_ext <<EOF | 3805 cat > conftest.$ac_ext <<EOF |
| 3986 #line 3987 "configure" | 3806 #line 3807 "configure" |
| 3987 #include "confdefs.h" | 3807 #include "confdefs.h" |
| 3988 #include <sys/types.h> | 3808 #include <sys/types.h> |
| 3989 #include <sys/param.h> | 3809 #include <sys/param.h> |
| 3990 int main() { | 3810 int main() { |
| 3991 | 3811 |
| 3992 #if BYTE_ORDER != BIG_ENDIAN | 3812 #if BYTE_ORDER != BIG_ENDIAN |
| 3993 not big endian | 3813 not big endian |
| 3994 #endif | 3814 #endif |
| 3995 ; return 0; } | 3815 ; return 0; } |
| 3996 EOF | 3816 EOF |
| 3997 if { (eval echo configure:3998: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3817 if { (eval echo configure:3818: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| 3998 rm -rf conftest* | 3818 rm -rf conftest* |
| 3999 ac_cv_c_bigendian=yes | 3819 ac_cv_c_bigendian=yes |
| 4000 else | 3820 else |
| 4001 echo "configure: failed program was:" >&5 | 3821 echo "configure: failed program was:" >&5 |
| 4002 cat conftest.$ac_ext >&5 | 3822 cat conftest.$ac_ext >&5 |
| 4009 cat conftest.$ac_ext >&5 | 3829 cat conftest.$ac_ext >&5 |
| 4010 fi | 3830 fi |
| 4011 rm -f conftest* | 3831 rm -f conftest* |
| 4012 if test $ac_cv_c_bigendian = unknown; then | 3832 if test $ac_cv_c_bigendian = unknown; then |
| 4013 cat > conftest.$ac_ext <<EOF | 3833 cat > conftest.$ac_ext <<EOF |
| 4014 #line 4015 "configure" | 3834 #line 3835 "configure" |
| 4015 #include "confdefs.h" | 3835 #include "confdefs.h" |
| 4016 main () { | 3836 main () { |
| 4017 /* Are we little or big endian? From Harbison&Steele. */ | 3837 /* Are we little or big endian? From Harbison&Steele. */ |
| 4018 union | 3838 union |
| 4019 { | 3839 { |
| 4022 } u; | 3842 } u; |
| 4023 u.l = 1; | 3843 u.l = 1; |
| 4024 exit (u.c[sizeof (long) - 1] == 1); | 3844 exit (u.c[sizeof (long) - 1] == 1); |
| 4025 } | 3845 } |
| 4026 EOF | 3846 EOF |
| 4027 if { (eval echo configure:4028: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 3847 if { (eval echo configure:3848: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
| 4028 then | 3848 then |
| 4029 ac_cv_c_bigendian=no | 3849 ac_cv_c_bigendian=no |
| 4030 else | 3850 else |
| 4031 conftest_rc="$?" | 3851 conftest_rc="$?" |
| 4032 echo "configure: failed program was:" >&5 | 3852 echo "configure: failed program was:" >&5 |
| 4049 | 3869 |
| 4050 fi | 3870 fi |
| 4051 | 3871 |
| 4052 | 3872 |
| 4053 echo $ac_n "checking size of short""... $ac_c" 1>&6 | 3873 echo $ac_n "checking size of short""... $ac_c" 1>&6 |
| 4054 echo "configure:4055: checking size of short" >&5 | 3874 echo "configure:3875: checking size of short" >&5 |
| 4055 | 3875 |
| 4056 cat > conftest.$ac_ext <<EOF | 3876 cat > conftest.$ac_ext <<EOF |
| 4057 #line 4058 "configure" | 3877 #line 3878 "configure" |
| 4058 #include "confdefs.h" | 3878 #include "confdefs.h" |
| 4059 #include <stdio.h> | 3879 #include <stdio.h> |
| 4060 main() | 3880 main() |
| 4061 { | 3881 { |
| 4062 FILE *f=fopen("conftestval", "w"); | 3882 FILE *f=fopen("conftestval", "w"); |
| 4063 if (!f) exit(1); | 3883 if (!f) exit(1); |
| 4064 fprintf(f, "%d\n", sizeof(short)); | 3884 fprintf(f, "%d\n", sizeof(short)); |
| 4065 exit(0); | 3885 exit(0); |
| 4066 } | 3886 } |
| 4067 EOF | 3887 EOF |
| 4068 if { (eval echo configure:4069: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 3888 if { (eval echo configure:3889: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
| 4069 then | 3889 then |
| 4070 ac_cv_sizeof_short=`cat conftestval` | 3890 ac_cv_sizeof_short=`cat conftestval` |
| 4071 else | 3891 else |
| 4072 conftest_rc="$?" | 3892 conftest_rc="$?" |
| 4073 echo "configure: failed program was:" >&5 | 3893 echo "configure: failed program was:" >&5 |
| 4091 echo "*** PANIC *** Configure tests are not working - compiler is broken." | 3911 echo "*** PANIC *** Configure tests are not working - compiler is broken." |
| 4092 echo "*** PANIC *** Please examine config.log for compilation errors." | 3912 echo "*** PANIC *** Please examine config.log for compilation errors." |
| 4093 exit 1 | 3913 exit 1 |
| 4094 fi | 3914 fi |
| 4095 echo $ac_n "checking size of int""... $ac_c" 1>&6 | 3915 echo $ac_n "checking size of int""... $ac_c" 1>&6 |
| 4096 echo "configure:4097: checking size of int" >&5 | 3916 echo "configure:3917: checking size of int" >&5 |
| 4097 | 3917 |
| 4098 cat > conftest.$ac_ext <<EOF | 3918 cat > conftest.$ac_ext <<EOF |
| 4099 #line 4100 "configure" | 3919 #line 3920 "configure" |
| 4100 #include "confdefs.h" | 3920 #include "confdefs.h" |
| 4101 #include <stdio.h> | 3921 #include <stdio.h> |
| 4102 main() | 3922 main() |
| 4103 { | 3923 { |
| 4104 FILE *f=fopen("conftestval", "w"); | 3924 FILE *f=fopen("conftestval", "w"); |
| 4105 if (!f) exit(1); | 3925 if (!f) exit(1); |
| 4106 fprintf(f, "%d\n", sizeof(int)); | 3926 fprintf(f, "%d\n", sizeof(int)); |
| 4107 exit(0); | 3927 exit(0); |
| 4108 } | 3928 } |
| 4109 EOF | 3929 EOF |
| 4110 if { (eval echo configure:4111: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 3930 if { (eval echo configure:3931: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
| 4111 then | 3931 then |
| 4112 ac_cv_sizeof_int=`cat conftestval` | 3932 ac_cv_sizeof_int=`cat conftestval` |
| 4113 else | 3933 else |
| 4114 conftest_rc="$?" | 3934 conftest_rc="$?" |
| 4115 echo "configure: failed program was:" >&5 | 3935 echo "configure: failed program was:" >&5 |
| 4127 EOF | 3947 EOF |
| 4128 } | 3948 } |
| 4129 | 3949 |
| 4130 | 3950 |
| 4131 echo $ac_n "checking size of long""... $ac_c" 1>&6 | 3951 echo $ac_n "checking size of long""... $ac_c" 1>&6 |
| 4132 echo "configure:4133: checking size of long" >&5 | 3952 echo "configure:3953: checking size of long" >&5 |
| 4133 | 3953 |
| 4134 cat > conftest.$ac_ext <<EOF | 3954 cat > conftest.$ac_ext <<EOF |
| 4135 #line 4136 "configure" | 3955 #line 3956 "configure" |
| 4136 #include "confdefs.h" | 3956 #include "confdefs.h" |
| 4137 #include <stdio.h> | 3957 #include <stdio.h> |
| 4138 main() | 3958 main() |
| 4139 { | 3959 { |
| 4140 FILE *f=fopen("conftestval", "w"); | 3960 FILE *f=fopen("conftestval", "w"); |
| 4141 if (!f) exit(1); | 3961 if (!f) exit(1); |
| 4142 fprintf(f, "%d\n", sizeof(long)); | 3962 fprintf(f, "%d\n", sizeof(long)); |
| 4143 exit(0); | 3963 exit(0); |
| 4144 } | 3964 } |
| 4145 EOF | 3965 EOF |
| 4146 if { (eval echo configure:4147: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 3966 if { (eval echo configure:3967: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
| 4147 then | 3967 then |
| 4148 ac_cv_sizeof_long=`cat conftestval` | 3968 ac_cv_sizeof_long=`cat conftestval` |
| 4149 else | 3969 else |
| 4150 conftest_rc="$?" | 3970 conftest_rc="$?" |
| 4151 echo "configure: failed program was:" >&5 | 3971 echo "configure: failed program was:" >&5 |
| 4163 EOF | 3983 EOF |
| 4164 } | 3984 } |
| 4165 | 3985 |
| 4166 | 3986 |
| 4167 echo $ac_n "checking size of long long""... $ac_c" 1>&6 | 3987 echo $ac_n "checking size of long long""... $ac_c" 1>&6 |
| 4168 echo "configure:4169: checking size of long long" >&5 | 3988 echo "configure:3989: checking size of long long" >&5 |
| 4169 | 3989 |
| 4170 cat > conftest.$ac_ext <<EOF | 3990 cat > conftest.$ac_ext <<EOF |
| 4171 #line 4172 "configure" | 3991 #line 3992 "configure" |
| 4172 #include "confdefs.h" | 3992 #include "confdefs.h" |
| 4173 #include <stdio.h> | 3993 #include <stdio.h> |
| 4174 main() | 3994 main() |
| 4175 { | 3995 { |
| 4176 FILE *f=fopen("conftestval", "w"); | 3996 FILE *f=fopen("conftestval", "w"); |
| 4177 if (!f) exit(1); | 3997 if (!f) exit(1); |
| 4178 fprintf(f, "%d\n", sizeof(long long)); | 3998 fprintf(f, "%d\n", sizeof(long long)); |
| 4179 exit(0); | 3999 exit(0); |
| 4180 } | 4000 } |
| 4181 EOF | 4001 EOF |
| 4182 if { (eval echo configure:4183: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 4002 if { (eval echo configure:4003: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
| 4183 then | 4003 then |
| 4184 ac_cv_sizeof_long_long=`cat conftestval` | 4004 ac_cv_sizeof_long_long=`cat conftestval` |
| 4185 else | 4005 else |
| 4186 conftest_rc="$?" | 4006 conftest_rc="$?" |
| 4187 echo "configure: failed program was:" >&5 | 4007 echo "configure: failed program was:" >&5 |
| 4199 EOF | 4019 EOF |
| 4200 } | 4020 } |
| 4201 | 4021 |
| 4202 | 4022 |
| 4203 echo $ac_n "checking size of void *""... $ac_c" 1>&6 | 4023 echo $ac_n "checking size of void *""... $ac_c" 1>&6 |
| 4204 echo "configure:4205: checking size of void *" >&5 | 4024 echo "configure:4025: checking size of void *" >&5 |
| 4205 | 4025 |
| 4206 cat > conftest.$ac_ext <<EOF | 4026 cat > conftest.$ac_ext <<EOF |
| 4207 #line 4208 "configure" | 4027 #line 4028 "configure" |
| 4208 #include "confdefs.h" | 4028 #include "confdefs.h" |
| 4209 #include <stdio.h> | 4029 #include <stdio.h> |
| 4210 main() | 4030 main() |
| 4211 { | 4031 { |
| 4212 FILE *f=fopen("conftestval", "w"); | 4032 FILE *f=fopen("conftestval", "w"); |
| 4213 if (!f) exit(1); | 4033 if (!f) exit(1); |
| 4214 fprintf(f, "%d\n", sizeof(void *)); | 4034 fprintf(f, "%d\n", sizeof(void *)); |
| 4215 exit(0); | 4035 exit(0); |
| 4216 } | 4036 } |
| 4217 EOF | 4037 EOF |
| 4218 if { (eval echo configure:4219: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 4038 if { (eval echo configure:4039: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
| 4219 then | 4039 then |
| 4220 ac_cv_sizeof_void_p=`cat conftestval` | 4040 ac_cv_sizeof_void_p=`cat conftestval` |
| 4221 else | 4041 else |
| 4222 conftest_rc="$?" | 4042 conftest_rc="$?" |
| 4223 echo "configure: failed program was:" >&5 | 4043 echo "configure: failed program was:" >&5 |
| 4236 } | 4056 } |
| 4237 | 4057 |
| 4238 | 4058 |
| 4239 | 4059 |
| 4240 echo $ac_n "checking for long file names""... $ac_c" 1>&6 | 4060 echo $ac_n "checking for long file names""... $ac_c" 1>&6 |
| 4241 echo "configure:4242: checking for long file names" >&5 | 4061 echo "configure:4062: checking for long file names" >&5 |
| 4242 | 4062 |
| 4243 ac_cv_sys_long_file_names=yes | 4063 ac_cv_sys_long_file_names=yes |
| 4244 # Test for long file names in all the places we know might matter: | 4064 # Test for long file names in all the places we know might matter: |
| 4245 # . the current directory, where building will happen | 4065 # . the current directory, where building will happen |
| 4246 # $prefix/lib where we will be installing things | 4066 # $prefix/lib where we will be installing things |
| 4283 fi | 4103 fi |
| 4284 | 4104 |
| 4285 | 4105 |
| 4286 | 4106 |
| 4287 echo $ac_n "checking for sin in -lm""... $ac_c" 1>&6 | 4107 echo $ac_n "checking for sin in -lm""... $ac_c" 1>&6 |
| 4288 echo "configure:4289: checking for sin in -lm" >&5 | 4108 echo "configure:4109: checking for sin in -lm" >&5 |
| 4289 ac_lib_var=`echo m'_'sin | sed 'y%./+-%__p_%'` | 4109 ac_lib_var=`echo m'_'sin | sed 'y%./+-%__p_%'` |
| 4290 | 4110 |
| 4291 xe_check_libs=" -lm " | 4111 xe_check_libs=" -lm " |
| 4292 cat > conftest.$ac_ext <<EOF | 4112 cat > conftest.$ac_ext <<EOF |
| 4293 #line 4294 "configure" | 4113 #line 4114 "configure" |
| 4294 #include "confdefs.h" | 4114 #include "confdefs.h" |
| 4295 /* Override any gcc2 internal prototype to avoid an error. */ | 4115 /* Override any gcc2 internal prototype to avoid an error. */ |
| 4296 /* We use char because int might match the return type of a gcc2 | 4116 /* We use char because int might match the return type of a gcc2 |
| 4297 builtin and then its argument prototype would still apply. */ | 4117 builtin and then its argument prototype would still apply. */ |
| 4298 char sin(); | 4118 char sin(); |
| 4299 | 4119 |
| 4300 int main() { | 4120 int main() { |
| 4301 sin() | 4121 sin() |
| 4302 ; return 0; } | 4122 ; return 0; } |
| 4303 EOF | 4123 EOF |
| 4304 if { (eval echo configure:4305: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4124 if { (eval echo configure:4125: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 4305 rm -rf conftest* | 4125 rm -rf conftest* |
| 4306 eval "ac_cv_lib_$ac_lib_var=yes" | 4126 eval "ac_cv_lib_$ac_lib_var=yes" |
| 4307 else | 4127 else |
| 4308 echo "configure: failed program was:" >&5 | 4128 echo "configure: failed program was:" >&5 |
| 4309 cat conftest.$ac_ext >&5 | 4129 cat conftest.$ac_ext >&5 |
| 4341 EOF | 4161 EOF |
| 4342 } | 4162 } |
| 4343 | 4163 |
| 4344 | 4164 |
| 4345 cat > conftest.$ac_ext <<EOF | 4165 cat > conftest.$ac_ext <<EOF |
| 4346 #line 4347 "configure" | 4166 #line 4167 "configure" |
| 4347 #include "confdefs.h" | 4167 #include "confdefs.h" |
| 4348 #include <math.h> | 4168 #include <math.h> |
| 4349 int main() { | 4169 int main() { |
| 4350 return atanh(1.0) + asinh(1.0) + acosh(1.0); | 4170 return atanh(1.0) + asinh(1.0) + acosh(1.0); |
| 4351 ; return 0; } | 4171 ; return 0; } |
| 4352 EOF | 4172 EOF |
| 4353 if { (eval echo configure:4354: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4173 if { (eval echo configure:4174: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 4354 rm -rf conftest* | 4174 rm -rf conftest* |
| 4355 { test "$extra_verbose" = "yes" && cat << \EOF | 4175 { test "$extra_verbose" = "yes" && cat << \EOF |
| 4356 Defining HAVE_INVERSE_HYPERBOLIC | 4176 Defining HAVE_INVERSE_HYPERBOLIC |
| 4357 EOF | 4177 EOF |
| 4358 cat >> confdefs.h <<\EOF | 4178 cat >> confdefs.h <<\EOF |
| 4365 cat conftest.$ac_ext >&5 | 4185 cat conftest.$ac_ext >&5 |
| 4366 fi | 4186 fi |
| 4367 rm -f conftest* | 4187 rm -f conftest* |
| 4368 | 4188 |
| 4369 echo "checking type of mail spool file locking" 1>&6 | 4189 echo "checking type of mail spool file locking" 1>&6 |
| 4370 echo "configure:4371: checking type of mail spool file locking" >&5 | 4190 echo "configure:4191: checking type of mail spool file locking" >&5 |
| 4371 test -z "$mail_locking" -a "$mail_use_flock" = "yes" && mail_locking=flock | 4191 test -z "$mail_locking" -a "$mail_use_flock" = "yes" && mail_locking=flock |
| 4372 test -z "$mail_locking" -a "$mail_use_lockf" = "yes" && mail_locking=lockf | 4192 test -z "$mail_locking" -a "$mail_use_lockf" = "yes" && mail_locking=lockf |
| 4373 if test "$mail_locking" = "lockf"; then { test "$extra_verbose" = "yes" && cat << \EOF | 4193 if test "$mail_locking" = "lockf"; then { test "$extra_verbose" = "yes" && cat << \EOF |
| 4374 Defining REAL_MAIL_USE_LOCKF | 4194 Defining REAL_MAIL_USE_LOCKF |
| 4375 EOF | 4195 EOF |
| 4389 else mail_locking="dot-locking" | 4209 else mail_locking="dot-locking" |
| 4390 fi | 4210 fi |
| 4391 | 4211 |
| 4392 | 4212 |
| 4393 echo $ac_n "checking for kstat_open in -lkstat""... $ac_c" 1>&6 | 4213 echo $ac_n "checking for kstat_open in -lkstat""... $ac_c" 1>&6 |
| 4394 echo "configure:4395: checking for kstat_open in -lkstat" >&5 | 4214 echo "configure:4215: checking for kstat_open in -lkstat" >&5 |
| 4395 ac_lib_var=`echo kstat'_'kstat_open | sed 'y%./+-%__p_%'` | 4215 ac_lib_var=`echo kstat'_'kstat_open | sed 'y%./+-%__p_%'` |
| 4396 | 4216 |
| 4397 xe_check_libs=" -lkstat " | 4217 xe_check_libs=" -lkstat " |
| 4398 cat > conftest.$ac_ext <<EOF | 4218 cat > conftest.$ac_ext <<EOF |
| 4399 #line 4400 "configure" | 4219 #line 4220 "configure" |
| 4400 #include "confdefs.h" | 4220 #include "confdefs.h" |
| 4401 /* Override any gcc2 internal prototype to avoid an error. */ | 4221 /* Override any gcc2 internal prototype to avoid an error. */ |
| 4402 /* We use char because int might match the return type of a gcc2 | 4222 /* We use char because int might match the return type of a gcc2 |
| 4403 builtin and then its argument prototype would still apply. */ | 4223 builtin and then its argument prototype would still apply. */ |
| 4404 char kstat_open(); | 4224 char kstat_open(); |
| 4405 | 4225 |
| 4406 int main() { | 4226 int main() { |
| 4407 kstat_open() | 4227 kstat_open() |
| 4408 ; return 0; } | 4228 ; return 0; } |
| 4409 EOF | 4229 EOF |
| 4410 if { (eval echo configure:4411: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4230 if { (eval echo configure:4231: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 4411 rm -rf conftest* | 4231 rm -rf conftest* |
| 4412 eval "ac_cv_lib_$ac_lib_var=yes" | 4232 eval "ac_cv_lib_$ac_lib_var=yes" |
| 4413 else | 4233 else |
| 4414 echo "configure: failed program was:" >&5 | 4234 echo "configure: failed program was:" >&5 |
| 4415 cat conftest.$ac_ext >&5 | 4235 cat conftest.$ac_ext >&5 |
| 4439 | 4259 |
| 4440 | 4260 |
| 4441 | 4261 |
| 4442 | 4262 |
| 4443 echo $ac_n "checking for kvm_read in -lkvm""... $ac_c" 1>&6 | 4263 echo $ac_n "checking for kvm_read in -lkvm""... $ac_c" 1>&6 |
| 4444 echo "configure:4445: checking for kvm_read in -lkvm" >&5 | 4264 echo "configure:4265: checking for kvm_read in -lkvm" >&5 |
| 4445 ac_lib_var=`echo kvm'_'kvm_read | sed 'y%./+-%__p_%'` | 4265 ac_lib_var=`echo kvm'_'kvm_read | sed 'y%./+-%__p_%'` |
| 4446 | 4266 |
| 4447 xe_check_libs=" -lkvm " | 4267 xe_check_libs=" -lkvm " |
| 4448 cat > conftest.$ac_ext <<EOF | 4268 cat > conftest.$ac_ext <<EOF |
| 4449 #line 4450 "configure" | 4269 #line 4270 "configure" |
| 4450 #include "confdefs.h" | 4270 #include "confdefs.h" |
| 4451 /* Override any gcc2 internal prototype to avoid an error. */ | 4271 /* Override any gcc2 internal prototype to avoid an error. */ |
| 4452 /* We use char because int might match the return type of a gcc2 | 4272 /* We use char because int might match the return type of a gcc2 |
| 4453 builtin and then its argument prototype would still apply. */ | 4273 builtin and then its argument prototype would still apply. */ |
| 4454 char kvm_read(); | 4274 char kvm_read(); |
| 4455 | 4275 |
| 4456 int main() { | 4276 int main() { |
| 4457 kvm_read() | 4277 kvm_read() |
| 4458 ; return 0; } | 4278 ; return 0; } |
| 4459 EOF | 4279 EOF |
| 4460 if { (eval echo configure:4461: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4280 if { (eval echo configure:4281: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 4461 rm -rf conftest* | 4281 rm -rf conftest* |
| 4462 eval "ac_cv_lib_$ac_lib_var=yes" | 4282 eval "ac_cv_lib_$ac_lib_var=yes" |
| 4463 else | 4283 else |
| 4464 echo "configure: failed program was:" >&5 | 4284 echo "configure: failed program was:" >&5 |
| 4465 cat conftest.$ac_ext >&5 | 4285 cat conftest.$ac_ext >&5 |
| 4490 | 4310 |
| 4491 | 4311 |
| 4492 case "$opsys" in decosf*) | 4312 case "$opsys" in decosf*) |
| 4493 | 4313 |
| 4494 echo $ac_n "checking for cma_open in -lpthreads""... $ac_c" 1>&6 | 4314 echo $ac_n "checking for cma_open in -lpthreads""... $ac_c" 1>&6 |
| 4495 echo "configure:4496: checking for cma_open in -lpthreads" >&5 | 4315 echo "configure:4316: checking for cma_open in -lpthreads" >&5 |
| 4496 ac_lib_var=`echo pthreads'_'cma_open | sed 'y%./+-%__p_%'` | 4316 ac_lib_var=`echo pthreads'_'cma_open | sed 'y%./+-%__p_%'` |
| 4497 | 4317 |
| 4498 xe_check_libs=" -lpthreads " | 4318 xe_check_libs=" -lpthreads " |
| 4499 cat > conftest.$ac_ext <<EOF | 4319 cat > conftest.$ac_ext <<EOF |
| 4500 #line 4501 "configure" | 4320 #line 4321 "configure" |
| 4501 #include "confdefs.h" | 4321 #include "confdefs.h" |
| 4502 /* Override any gcc2 internal prototype to avoid an error. */ | 4322 /* Override any gcc2 internal prototype to avoid an error. */ |
| 4503 /* We use char because int might match the return type of a gcc2 | 4323 /* We use char because int might match the return type of a gcc2 |
| 4504 builtin and then its argument prototype would still apply. */ | 4324 builtin and then its argument prototype would still apply. */ |
| 4505 char cma_open(); | 4325 char cma_open(); |
| 4506 | 4326 |
| 4507 int main() { | 4327 int main() { |
| 4508 cma_open() | 4328 cma_open() |
| 4509 ; return 0; } | 4329 ; return 0; } |
| 4510 EOF | 4330 EOF |
| 4511 if { (eval echo configure:4512: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4331 if { (eval echo configure:4332: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 4512 rm -rf conftest* | 4332 rm -rf conftest* |
| 4513 eval "ac_cv_lib_$ac_lib_var=yes" | 4333 eval "ac_cv_lib_$ac_lib_var=yes" |
| 4514 else | 4334 else |
| 4515 echo "configure: failed program was:" >&5 | 4335 echo "configure: failed program was:" >&5 |
| 4516 cat conftest.$ac_ext >&5 | 4336 cat conftest.$ac_ext >&5 |
| 4542 test "$ac_cv_lib_pthreads_cma_open" = "yes" && \ | 4362 test "$ac_cv_lib_pthreads_cma_open" = "yes" && \ |
| 4543 c_switch_site="$c_switch_site -threads" ;; | 4363 c_switch_site="$c_switch_site -threads" ;; |
| 4544 esac | 4364 esac |
| 4545 | 4365 |
| 4546 echo $ac_n "checking whether the -xildoff compiler flag is required""... $ac_c" 1>&6 | 4366 echo $ac_n "checking whether the -xildoff compiler flag is required""... $ac_c" 1>&6 |
| 4547 echo "configure:4548: checking whether the -xildoff compiler flag is required" >&5 | 4367 echo "configure:4368: checking whether the -xildoff compiler flag is required" >&5 |
| 4548 if ${CC-cc} '-###' -xildon no_such_file.c 2>&1 | grep '^[^ ]*/ild ' > /dev/null ; then | 4368 if ${CC-cc} '-###' -xildon no_such_file.c 2>&1 | grep '^[^ ]*/ild ' > /dev/null ; then |
| 4549 if ${CC-cc} '-###' -xildoff no_such_file.c 2>&1 | grep '^[^ ]*/ild ' > /dev/null ; | 4369 if ${CC-cc} '-###' -xildoff no_such_file.c 2>&1 | grep '^[^ ]*/ild ' > /dev/null ; |
| 4550 then echo "$ac_t""no" 1>&6; | 4370 then echo "$ac_t""no" 1>&6; |
| 4551 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 | 4371 else echo "$ac_t""yes" 1>&6; ld_switch_site="$ld_switch_site -xildoff" && if test "$extra_verbose" = "yes"; then echo " Appending \"-xildoff\" to \$ld_switch_site"; fi |
| 4552 fi | 4372 fi |
| 4553 else echo "$ac_t""no" 1>&6 | 4373 else echo "$ac_t""no" 1>&6 |
| 4554 fi | 4374 fi |
| 4555 | 4375 |
| 4556 if test "$opsys" = "sol2" && test "$OS_RELEASE" -ge 56; then | 4376 if test "$opsys" = "sol2" && test "$OS_RELEASE" -ge 56; then |
| 4557 echo $ac_n "checking for \"-z ignore\" linker flag""... $ac_c" 1>&6 | 4377 echo $ac_n "checking for \"-z ignore\" linker flag""... $ac_c" 1>&6 |
| 4558 echo "configure:4559: checking for \"-z ignore\" linker flag" >&5 | 4378 echo "configure:4379: checking for \"-z ignore\" linker flag" >&5 |
| 4559 case "`ld -h 2>&1`" in | 4379 case "`ld -h 2>&1`" in |
| 4560 *-z\ ignore\|record* ) echo "$ac_t""yes" 1>&6 | 4380 *-z\ ignore\|record* ) echo "$ac_t""yes" 1>&6 |
| 4561 ld_switch_site="-z ignore $ld_switch_site" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-z ignore\" to \$ld_switch_site"; fi ;; | 4381 ld_switch_site="-z ignore $ld_switch_site" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-z ignore\" to \$ld_switch_site"; fi ;; |
| 4562 *) echo "$ac_t""no" 1>&6 ;; | 4382 *) echo "$ac_t""no" 1>&6 ;; |
| 4563 esac | 4383 esac |
| 4564 fi | 4384 fi |
| 4565 | 4385 |
| 4566 | 4386 |
| 4567 echo "checking "for specified window system"" 1>&6 | 4387 echo "checking "for specified window system"" 1>&6 |
| 4568 echo "configure:4569: checking "for specified window system"" >&5 | 4388 echo "configure:4389: checking "for specified window system"" >&5 |
| 4569 | 4389 |
| 4570 if test "$with_x11" != "no"; then | 4390 if test "$with_x11" != "no"; then |
| 4571 test "$x_includes $x_libraries" != "NONE NONE" && \ | 4391 test "$x_includes $x_libraries" != "NONE NONE" && \ |
| 4572 window_system=x11 with_x11=yes | 4392 window_system=x11 with_x11=yes |
| 4573 | 4393 |
| 4596 # If we find X, set shell vars x_includes and x_libraries to the | 4416 # If we find X, set shell vars x_includes and x_libraries to the |
| 4597 # paths, otherwise set no_x=yes. | 4417 # paths, otherwise set no_x=yes. |
| 4598 # Uses ac_ vars as temps to allow command line to override cache and checks. | 4418 # Uses ac_ vars as temps to allow command line to override cache and checks. |
| 4599 # --without-x overrides everything else, but does not touch the cache. | 4419 # --without-x overrides everything else, but does not touch the cache. |
| 4600 echo $ac_n "checking for X""... $ac_c" 1>&6 | 4420 echo $ac_n "checking for X""... $ac_c" 1>&6 |
| 4601 echo "configure:4602: checking for X" >&5 | 4421 echo "configure:4422: checking for X" >&5 |
| 4602 | 4422 |
| 4603 # Check whether --with-x or --without-x was given. | 4423 # Check whether --with-x or --without-x was given. |
| 4604 if test "${with_x+set}" = set; then | 4424 if test "${with_x+set}" = set; then |
| 4605 withval="$with_x" | 4425 withval="$with_x" |
| 4606 : | 4426 : |
| 4656 # Guess where to find include files, by looking for this one X11 .h file. | 4476 # Guess where to find include files, by looking for this one X11 .h file. |
| 4657 test -z "$x_direct_test_include" && x_direct_test_include=X11/Intrinsic.h | 4477 test -z "$x_direct_test_include" && x_direct_test_include=X11/Intrinsic.h |
| 4658 | 4478 |
| 4659 # First, try using that file with no special directory specified. | 4479 # First, try using that file with no special directory specified. |
| 4660 cat > conftest.$ac_ext <<EOF | 4480 cat > conftest.$ac_ext <<EOF |
| 4661 #line 4662 "configure" | 4481 #line 4482 "configure" |
| 4662 #include "confdefs.h" | 4482 #include "confdefs.h" |
| 4663 #include <$x_direct_test_include> | 4483 #include <$x_direct_test_include> |
| 4664 EOF | 4484 EOF |
| 4665 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 4485 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 4666 { (eval echo configure:4667: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 4486 { (eval echo configure:4487: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 4667 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 4487 ac_err=`grep -v '^ *+' conftest.out` |
| 4668 if test -z "$ac_err"; then | 4488 if test -z "$ac_err"; then |
| 4669 rm -rf conftest* | 4489 rm -rf conftest* |
| 4670 # We can compile using X headers with no special include directory. | 4490 # We can compile using X headers with no special include directory. |
| 4671 ac_x_includes= | 4491 ac_x_includes= |
| 4672 else | 4492 else |
| 4730 # See if we find them without any special options. | 4550 # See if we find them without any special options. |
| 4731 # Don't add to $LIBS permanently. | 4551 # Don't add to $LIBS permanently. |
| 4732 ac_save_LIBS="$LIBS" | 4552 ac_save_LIBS="$LIBS" |
| 4733 LIBS="-l$x_direct_test_library $LIBS" | 4553 LIBS="-l$x_direct_test_library $LIBS" |
| 4734 cat > conftest.$ac_ext <<EOF | 4554 cat > conftest.$ac_ext <<EOF |
| 4735 #line 4736 "configure" | 4555 #line 4556 "configure" |
| 4736 #include "confdefs.h" | 4556 #include "confdefs.h" |
| 4737 | 4557 |
| 4738 int main() { | 4558 int main() { |
| 4739 ${x_direct_test_function}() | 4559 ${x_direct_test_function}() |
| 4740 ; return 0; } | 4560 ; return 0; } |
| 4741 EOF | 4561 EOF |
| 4742 if { (eval echo configure:4743: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4562 if { (eval echo configure:4563: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 4743 rm -rf conftest* | 4563 rm -rf conftest* |
| 4744 LIBS="$ac_save_LIBS" | 4564 LIBS="$ac_save_LIBS" |
| 4745 # We can link X programs with no special library path. | 4565 # We can link X programs with no special library path. |
| 4746 ac_x_libraries= | 4566 ac_x_libraries= |
| 4747 else | 4567 else |
| 4846 # For Solaris; some versions of Sun CC require a space after -R and | 4666 # For Solaris; some versions of Sun CC require a space after -R and |
| 4847 # others require no space. Words are not sufficient . . . . | 4667 # others require no space. Words are not sufficient . . . . |
| 4848 case "`(uname -sr) 2>/dev/null`" in | 4668 case "`(uname -sr) 2>/dev/null`" in |
| 4849 "SunOS 5"*) | 4669 "SunOS 5"*) |
| 4850 echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6 | 4670 echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6 |
| 4851 echo "configure:4852: checking whether -R must be followed by a space" >&5 | 4671 echo "configure:4672: checking whether -R must be followed by a space" >&5 |
| 4852 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS -R$x_libraries" | 4672 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS -R$x_libraries" |
| 4853 cat > conftest.$ac_ext <<EOF | 4673 cat > conftest.$ac_ext <<EOF |
| 4854 #line 4855 "configure" | 4674 #line 4675 "configure" |
| 4855 #include "confdefs.h" | 4675 #include "confdefs.h" |
| 4856 | 4676 |
| 4857 int main() { | 4677 int main() { |
| 4858 | 4678 |
| 4859 ; return 0; } | 4679 ; return 0; } |
| 4860 EOF | 4680 EOF |
| 4861 if { (eval echo configure:4862: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4681 if { (eval echo configure:4682: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 4862 rm -rf conftest* | 4682 rm -rf conftest* |
| 4863 ac_R_nospace=yes | 4683 ac_R_nospace=yes |
| 4864 else | 4684 else |
| 4865 echo "configure: failed program was:" >&5 | 4685 echo "configure: failed program was:" >&5 |
| 4866 cat conftest.$ac_ext >&5 | 4686 cat conftest.$ac_ext >&5 |
| 4872 echo "$ac_t""no" 1>&6 | 4692 echo "$ac_t""no" 1>&6 |
| 4873 X_LIBS="$X_LIBS -R$x_libraries" | 4693 X_LIBS="$X_LIBS -R$x_libraries" |
| 4874 else | 4694 else |
| 4875 LIBS="$ac_xsave_LIBS -R $x_libraries" | 4695 LIBS="$ac_xsave_LIBS -R $x_libraries" |
| 4876 cat > conftest.$ac_ext <<EOF | 4696 cat > conftest.$ac_ext <<EOF |
| 4877 #line 4878 "configure" | 4697 #line 4698 "configure" |
| 4878 #include "confdefs.h" | 4698 #include "confdefs.h" |
| 4879 | 4699 |
| 4880 int main() { | 4700 int main() { |
| 4881 | 4701 |
| 4882 ; return 0; } | 4702 ; return 0; } |
| 4883 EOF | 4703 EOF |
| 4884 if { (eval echo configure:4885: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4704 if { (eval echo configure:4705: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 4885 rm -rf conftest* | 4705 rm -rf conftest* |
| 4886 ac_R_space=yes | 4706 ac_R_space=yes |
| 4887 else | 4707 else |
| 4888 echo "configure: failed program was:" >&5 | 4708 echo "configure: failed program was:" >&5 |
| 4889 cat conftest.$ac_ext >&5 | 4709 cat conftest.$ac_ext >&5 |
| 4915 if test "$with_dnet" = "no" ; then | 4735 if test "$with_dnet" = "no" ; then |
| 4916 ac_cv_lib_dnet_dnet_ntoa=no | 4736 ac_cv_lib_dnet_dnet_ntoa=no |
| 4917 else | 4737 else |
| 4918 | 4738 |
| 4919 echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6 | 4739 echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6 |
| 4920 echo "configure:4921: checking for dnet_ntoa in -ldnet" >&5 | 4740 echo "configure:4741: checking for dnet_ntoa in -ldnet" >&5 |
| 4921 ac_lib_var=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'` | 4741 ac_lib_var=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'` |
| 4922 | 4742 |
| 4923 xe_check_libs=" -ldnet " | 4743 xe_check_libs=" -ldnet " |
| 4924 cat > conftest.$ac_ext <<EOF | 4744 cat > conftest.$ac_ext <<EOF |
| 4925 #line 4926 "configure" | 4745 #line 4746 "configure" |
| 4926 #include "confdefs.h" | 4746 #include "confdefs.h" |
| 4927 /* Override any gcc2 internal prototype to avoid an error. */ | 4747 /* Override any gcc2 internal prototype to avoid an error. */ |
| 4928 /* We use char because int might match the return type of a gcc2 | 4748 /* We use char because int might match the return type of a gcc2 |
| 4929 builtin and then its argument prototype would still apply. */ | 4749 builtin and then its argument prototype would still apply. */ |
| 4930 char dnet_ntoa(); | 4750 char dnet_ntoa(); |
| 4931 | 4751 |
| 4932 int main() { | 4752 int main() { |
| 4933 dnet_ntoa() | 4753 dnet_ntoa() |
| 4934 ; return 0; } | 4754 ; return 0; } |
| 4935 EOF | 4755 EOF |
| 4936 if { (eval echo configure:4937: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4756 if { (eval echo configure:4757: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 4937 rm -rf conftest* | 4757 rm -rf conftest* |
| 4938 eval "ac_cv_lib_$ac_lib_var=yes" | 4758 eval "ac_cv_lib_$ac_lib_var=yes" |
| 4939 else | 4759 else |
| 4940 echo "configure: failed program was:" >&5 | 4760 echo "configure: failed program was:" >&5 |
| 4941 cat conftest.$ac_ext >&5 | 4761 cat conftest.$ac_ext >&5 |
| 4955 fi | 4775 fi |
| 4956 | 4776 |
| 4957 if test $ac_cv_lib_dnet_dnet_ntoa = no; then | 4777 if test $ac_cv_lib_dnet_dnet_ntoa = no; then |
| 4958 | 4778 |
| 4959 echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6 | 4779 echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6 |
| 4960 echo "configure:4961: checking for dnet_ntoa in -ldnet_stub" >&5 | 4780 echo "configure:4781: checking for dnet_ntoa in -ldnet_stub" >&5 |
| 4961 ac_lib_var=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'` | 4781 ac_lib_var=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'` |
| 4962 | 4782 |
| 4963 xe_check_libs=" -ldnet_stub " | 4783 xe_check_libs=" -ldnet_stub " |
| 4964 cat > conftest.$ac_ext <<EOF | 4784 cat > conftest.$ac_ext <<EOF |
| 4965 #line 4966 "configure" | 4785 #line 4786 "configure" |
| 4966 #include "confdefs.h" | 4786 #include "confdefs.h" |
| 4967 /* Override any gcc2 internal prototype to avoid an error. */ | 4787 /* Override any gcc2 internal prototype to avoid an error. */ |
| 4968 /* We use char because int might match the return type of a gcc2 | 4788 /* We use char because int might match the return type of a gcc2 |
| 4969 builtin and then its argument prototype would still apply. */ | 4789 builtin and then its argument prototype would still apply. */ |
| 4970 char dnet_ntoa(); | 4790 char dnet_ntoa(); |
| 4971 | 4791 |
| 4972 int main() { | 4792 int main() { |
| 4973 dnet_ntoa() | 4793 dnet_ntoa() |
| 4974 ; return 0; } | 4794 ; return 0; } |
| 4975 EOF | 4795 EOF |
| 4976 if { (eval echo configure:4977: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4796 if { (eval echo configure:4797: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 4977 rm -rf conftest* | 4797 rm -rf conftest* |
| 4978 eval "ac_cv_lib_$ac_lib_var=yes" | 4798 eval "ac_cv_lib_$ac_lib_var=yes" |
| 4979 else | 4799 else |
| 4980 echo "configure: failed program was:" >&5 | 4800 echo "configure: failed program was:" >&5 |
| 4981 cat conftest.$ac_ext >&5 | 4801 cat conftest.$ac_ext >&5 |
| 5000 # chad@anasazi.com says the Pyramis MIS-ES running DC/OSx (SVR4) | 4820 # chad@anasazi.com says the Pyramis MIS-ES running DC/OSx (SVR4) |
| 5001 # needs -lnsl. | 4821 # needs -lnsl. |
| 5002 # The nsl library prevents programs from opening the X display | 4822 # The nsl library prevents programs from opening the X display |
| 5003 # on Irix 5.2, according to dickey@clark.net. | 4823 # on Irix 5.2, according to dickey@clark.net. |
| 5004 echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6 | 4824 echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6 |
| 5005 echo "configure:5006: checking for gethostbyname" >&5 | 4825 echo "configure:4826: checking for gethostbyname" >&5 |
| 5006 | 4826 |
| 5007 cat > conftest.$ac_ext <<EOF | 4827 cat > conftest.$ac_ext <<EOF |
| 5008 #line 5009 "configure" | 4828 #line 4829 "configure" |
| 5009 #include "confdefs.h" | 4829 #include "confdefs.h" |
| 5010 /* System header to define __stub macros and hopefully few prototypes, | 4830 /* System header to define __stub macros and hopefully few prototypes, |
| 5011 which can conflict with char gethostbyname(); below. */ | 4831 which can conflict with char gethostbyname(); below. */ |
| 5012 #include <assert.h> | 4832 #include <assert.h> |
| 5013 /* Override any gcc2 internal prototype to avoid an error. */ | 4833 /* Override any gcc2 internal prototype to avoid an error. */ |
| 5026 gethostbyname(); | 4846 gethostbyname(); |
| 5027 #endif | 4847 #endif |
| 5028 | 4848 |
| 5029 ; return 0; } | 4849 ; return 0; } |
| 5030 EOF | 4850 EOF |
| 5031 if { (eval echo configure:5032: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4851 if { (eval echo configure:4852: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 5032 rm -rf conftest* | 4852 rm -rf conftest* |
| 5033 eval "ac_cv_func_gethostbyname=yes" | 4853 eval "ac_cv_func_gethostbyname=yes" |
| 5034 else | 4854 else |
| 5035 echo "configure: failed program was:" >&5 | 4855 echo "configure: failed program was:" >&5 |
| 5036 cat conftest.$ac_ext >&5 | 4856 cat conftest.$ac_ext >&5 |
| 5047 fi | 4867 fi |
| 5048 | 4868 |
| 5049 if test $ac_cv_func_gethostbyname = no; then | 4869 if test $ac_cv_func_gethostbyname = no; then |
| 5050 | 4870 |
| 5051 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6 | 4871 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6 |
| 5052 echo "configure:5053: checking for gethostbyname in -lnsl" >&5 | 4872 echo "configure:4873: checking for gethostbyname in -lnsl" >&5 |
| 5053 ac_lib_var=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'` | 4873 ac_lib_var=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'` |
| 5054 | 4874 |
| 5055 xe_check_libs=" -lnsl " | 4875 xe_check_libs=" -lnsl " |
| 5056 cat > conftest.$ac_ext <<EOF | 4876 cat > conftest.$ac_ext <<EOF |
| 5057 #line 5058 "configure" | 4877 #line 4878 "configure" |
| 5058 #include "confdefs.h" | 4878 #include "confdefs.h" |
| 5059 /* Override any gcc2 internal prototype to avoid an error. */ | 4879 /* Override any gcc2 internal prototype to avoid an error. */ |
| 5060 /* We use char because int might match the return type of a gcc2 | 4880 /* We use char because int might match the return type of a gcc2 |
| 5061 builtin and then its argument prototype would still apply. */ | 4881 builtin and then its argument prototype would still apply. */ |
| 5062 char gethostbyname(); | 4882 char gethostbyname(); |
| 5063 | 4883 |
| 5064 int main() { | 4884 int main() { |
| 5065 gethostbyname() | 4885 gethostbyname() |
| 5066 ; return 0; } | 4886 ; return 0; } |
| 5067 EOF | 4887 EOF |
| 5068 if { (eval echo configure:5069: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4888 if { (eval echo configure:4889: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 5069 rm -rf conftest* | 4889 rm -rf conftest* |
| 5070 eval "ac_cv_lib_$ac_lib_var=yes" | 4890 eval "ac_cv_lib_$ac_lib_var=yes" |
| 5071 else | 4891 else |
| 5072 echo "configure: failed program was:" >&5 | 4892 echo "configure: failed program was:" >&5 |
| 5073 cat conftest.$ac_ext >&5 | 4893 cat conftest.$ac_ext >&5 |
| 5093 # on later versions), says simon@lia.di.epfl.ch: it contains | 4913 # on later versions), says simon@lia.di.epfl.ch: it contains |
| 5094 # gethostby* variants that don't use the nameserver (or something). | 4914 # gethostby* variants that don't use the nameserver (or something). |
| 5095 # -lsocket must be given before -lnsl if both are needed. | 4915 # -lsocket must be given before -lnsl if both are needed. |
| 5096 # We assume that if connect needs -lnsl, so does gethostbyname. | 4916 # We assume that if connect needs -lnsl, so does gethostbyname. |
| 5097 echo $ac_n "checking for connect""... $ac_c" 1>&6 | 4917 echo $ac_n "checking for connect""... $ac_c" 1>&6 |
| 5098 echo "configure:5099: checking for connect" >&5 | 4918 echo "configure:4919: checking for connect" >&5 |
| 5099 | 4919 |
| 5100 cat > conftest.$ac_ext <<EOF | 4920 cat > conftest.$ac_ext <<EOF |
| 5101 #line 5102 "configure" | 4921 #line 4922 "configure" |
| 5102 #include "confdefs.h" | 4922 #include "confdefs.h" |
| 5103 /* System header to define __stub macros and hopefully few prototypes, | 4923 /* System header to define __stub macros and hopefully few prototypes, |
| 5104 which can conflict with char connect(); below. */ | 4924 which can conflict with char connect(); below. */ |
| 5105 #include <assert.h> | 4925 #include <assert.h> |
| 5106 /* Override any gcc2 internal prototype to avoid an error. */ | 4926 /* Override any gcc2 internal prototype to avoid an error. */ |
| 5119 connect(); | 4939 connect(); |
| 5120 #endif | 4940 #endif |
| 5121 | 4941 |
| 5122 ; return 0; } | 4942 ; return 0; } |
| 5123 EOF | 4943 EOF |
| 5124 if { (eval echo configure:5125: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4944 if { (eval echo configure:4945: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 5125 rm -rf conftest* | 4945 rm -rf conftest* |
| 5126 eval "ac_cv_func_connect=yes" | 4946 eval "ac_cv_func_connect=yes" |
| 5127 else | 4947 else |
| 5128 echo "configure: failed program was:" >&5 | 4948 echo "configure: failed program was:" >&5 |
| 5129 cat conftest.$ac_ext >&5 | 4949 cat conftest.$ac_ext >&5 |
| 5142 if test $ac_cv_func_connect = no; then | 4962 if test $ac_cv_func_connect = no; then |
| 5143 | 4963 |
| 5144 xe_msg_checking="for connect in -lsocket" | 4964 xe_msg_checking="for connect in -lsocket" |
| 5145 test -n "$X_EXTRA_LIBS" && xe_msg_checking="$xe_msg_checking using extra libs $X_EXTRA_LIBS" | 4965 test -n "$X_EXTRA_LIBS" && xe_msg_checking="$xe_msg_checking using extra libs $X_EXTRA_LIBS" |
| 5146 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 4966 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
| 5147 echo "configure:5148: checking "$xe_msg_checking"" >&5 | 4967 echo "configure:4968: checking "$xe_msg_checking"" >&5 |
| 5148 ac_lib_var=`echo socket'_'connect | sed 'y%./+-%__p_%'` | 4968 ac_lib_var=`echo socket'_'connect | sed 'y%./+-%__p_%'` |
| 5149 | 4969 |
| 5150 xe_check_libs=" -lsocket $X_EXTRA_LIBS" | 4970 xe_check_libs=" -lsocket $X_EXTRA_LIBS" |
| 5151 cat > conftest.$ac_ext <<EOF | 4971 cat > conftest.$ac_ext <<EOF |
| 5152 #line 5153 "configure" | 4972 #line 4973 "configure" |
| 5153 #include "confdefs.h" | 4973 #include "confdefs.h" |
| 5154 /* Override any gcc2 internal prototype to avoid an error. */ | 4974 /* Override any gcc2 internal prototype to avoid an error. */ |
| 5155 /* We use char because int might match the return type of a gcc2 | 4975 /* We use char because int might match the return type of a gcc2 |
| 5156 builtin and then its argument prototype would still apply. */ | 4976 builtin and then its argument prototype would still apply. */ |
| 5157 char connect(); | 4977 char connect(); |
| 5158 | 4978 |
| 5159 int main() { | 4979 int main() { |
| 5160 connect() | 4980 connect() |
| 5161 ; return 0; } | 4981 ; return 0; } |
| 5162 EOF | 4982 EOF |
| 5163 if { (eval echo configure:5164: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4983 if { (eval echo configure:4984: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 5164 rm -rf conftest* | 4984 rm -rf conftest* |
| 5165 eval "ac_cv_lib_$ac_lib_var=yes" | 4985 eval "ac_cv_lib_$ac_lib_var=yes" |
| 5166 else | 4986 else |
| 5167 echo "configure: failed program was:" >&5 | 4987 echo "configure: failed program was:" >&5 |
| 5168 cat conftest.$ac_ext >&5 | 4988 cat conftest.$ac_ext >&5 |
| 5182 | 5002 |
| 5183 fi | 5003 fi |
| 5184 | 5004 |
| 5185 # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX. | 5005 # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX. |
| 5186 echo $ac_n "checking for remove""... $ac_c" 1>&6 | 5006 echo $ac_n "checking for remove""... $ac_c" 1>&6 |
| 5187 echo "configure:5188: checking for remove" >&5 | 5007 echo "configure:5008: checking for remove" >&5 |
| 5188 | 5008 |
| 5189 cat > conftest.$ac_ext <<EOF | 5009 cat > conftest.$ac_ext <<EOF |
| 5190 #line 5191 "configure" | 5010 #line 5011 "configure" |
| 5191 #include "confdefs.h" | 5011 #include "confdefs.h" |
| 5192 /* System header to define __stub macros and hopefully few prototypes, | 5012 /* System header to define __stub macros and hopefully few prototypes, |
| 5193 which can conflict with char remove(); below. */ | 5013 which can conflict with char remove(); below. */ |
| 5194 #include <assert.h> | 5014 #include <assert.h> |
| 5195 /* Override any gcc2 internal prototype to avoid an error. */ | 5015 /* Override any gcc2 internal prototype to avoid an error. */ |
| 5208 remove(); | 5028 remove(); |
| 5209 #endif | 5029 #endif |
| 5210 | 5030 |
| 5211 ; return 0; } | 5031 ; return 0; } |
| 5212 EOF | 5032 EOF |
| 5213 if { (eval echo configure:5214: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5033 if { (eval echo configure:5034: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 5214 rm -rf conftest* | 5034 rm -rf conftest* |
| 5215 eval "ac_cv_func_remove=yes" | 5035 eval "ac_cv_func_remove=yes" |
| 5216 else | 5036 else |
| 5217 echo "configure: failed program was:" >&5 | 5037 echo "configure: failed program was:" >&5 |
| 5218 cat conftest.$ac_ext >&5 | 5038 cat conftest.$ac_ext >&5 |
| 5229 fi | 5049 fi |
| 5230 | 5050 |
| 5231 if test $ac_cv_func_remove = no; then | 5051 if test $ac_cv_func_remove = no; then |
| 5232 | 5052 |
| 5233 echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6 | 5053 echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6 |
| 5234 echo "configure:5235: checking for remove in -lposix" >&5 | 5054 echo "configure:5055: checking for remove in -lposix" >&5 |
| 5235 ac_lib_var=`echo posix'_'remove | sed 'y%./+-%__p_%'` | 5055 ac_lib_var=`echo posix'_'remove | sed 'y%./+-%__p_%'` |
| 5236 | 5056 |
| 5237 xe_check_libs=" -lposix " | 5057 xe_check_libs=" -lposix " |
| 5238 cat > conftest.$ac_ext <<EOF | 5058 cat > conftest.$ac_ext <<EOF |
| 5239 #line 5240 "configure" | 5059 #line 5060 "configure" |
| 5240 #include "confdefs.h" | 5060 #include "confdefs.h" |
| 5241 /* Override any gcc2 internal prototype to avoid an error. */ | 5061 /* Override any gcc2 internal prototype to avoid an error. */ |
| 5242 /* We use char because int might match the return type of a gcc2 | 5062 /* We use char because int might match the return type of a gcc2 |
| 5243 builtin and then its argument prototype would still apply. */ | 5063 builtin and then its argument prototype would still apply. */ |
| 5244 char remove(); | 5064 char remove(); |
| 5245 | 5065 |
| 5246 int main() { | 5066 int main() { |
| 5247 remove() | 5067 remove() |
| 5248 ; return 0; } | 5068 ; return 0; } |
| 5249 EOF | 5069 EOF |
| 5250 if { (eval echo configure:5251: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5070 if { (eval echo configure:5071: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 5251 rm -rf conftest* | 5071 rm -rf conftest* |
| 5252 eval "ac_cv_lib_$ac_lib_var=yes" | 5072 eval "ac_cv_lib_$ac_lib_var=yes" |
| 5253 else | 5073 else |
| 5254 echo "configure: failed program was:" >&5 | 5074 echo "configure: failed program was:" >&5 |
| 5255 cat conftest.$ac_ext >&5 | 5075 cat conftest.$ac_ext >&5 |
| 5269 | 5089 |
| 5270 fi | 5090 fi |
| 5271 | 5091 |
| 5272 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay. | 5092 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay. |
| 5273 echo $ac_n "checking for shmat""... $ac_c" 1>&6 | 5093 echo $ac_n "checking for shmat""... $ac_c" 1>&6 |
| 5274 echo "configure:5275: checking for shmat" >&5 | 5094 echo "configure:5095: checking for shmat" >&5 |
| 5275 | 5095 |
| 5276 cat > conftest.$ac_ext <<EOF | 5096 cat > conftest.$ac_ext <<EOF |
| 5277 #line 5278 "configure" | 5097 #line 5098 "configure" |
| 5278 #include "confdefs.h" | 5098 #include "confdefs.h" |
| 5279 /* System header to define __stub macros and hopefully few prototypes, | 5099 /* System header to define __stub macros and hopefully few prototypes, |
| 5280 which can conflict with char shmat(); below. */ | 5100 which can conflict with char shmat(); below. */ |
| 5281 #include <assert.h> | 5101 #include <assert.h> |
| 5282 /* Override any gcc2 internal prototype to avoid an error. */ | 5102 /* Override any gcc2 internal prototype to avoid an error. */ |
| 5295 shmat(); | 5115 shmat(); |
| 5296 #endif | 5116 #endif |
| 5297 | 5117 |
| 5298 ; return 0; } | 5118 ; return 0; } |
| 5299 EOF | 5119 EOF |
| 5300 if { (eval echo configure:5301: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5120 if { (eval echo configure:5121: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 5301 rm -rf conftest* | 5121 rm -rf conftest* |
| 5302 eval "ac_cv_func_shmat=yes" | 5122 eval "ac_cv_func_shmat=yes" |
| 5303 else | 5123 else |
| 5304 echo "configure: failed program was:" >&5 | 5124 echo "configure: failed program was:" >&5 |
| 5305 cat conftest.$ac_ext >&5 | 5125 cat conftest.$ac_ext >&5 |
| 5316 fi | 5136 fi |
| 5317 | 5137 |
| 5318 if test $ac_cv_func_shmat = no; then | 5138 if test $ac_cv_func_shmat = no; then |
| 5319 | 5139 |
| 5320 echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6 | 5140 echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6 |
| 5321 echo "configure:5322: checking for shmat in -lipc" >&5 | 5141 echo "configure:5142: checking for shmat in -lipc" >&5 |
| 5322 ac_lib_var=`echo ipc'_'shmat | sed 'y%./+-%__p_%'` | 5142 ac_lib_var=`echo ipc'_'shmat | sed 'y%./+-%__p_%'` |
| 5323 | 5143 |
| 5324 xe_check_libs=" -lipc " | 5144 xe_check_libs=" -lipc " |
| 5325 cat > conftest.$ac_ext <<EOF | 5145 cat > conftest.$ac_ext <<EOF |
| 5326 #line 5327 "configure" | 5146 #line 5147 "configure" |
| 5327 #include "confdefs.h" | 5147 #include "confdefs.h" |
| 5328 /* Override any gcc2 internal prototype to avoid an error. */ | 5148 /* Override any gcc2 internal prototype to avoid an error. */ |
| 5329 /* We use char because int might match the return type of a gcc2 | 5149 /* We use char because int might match the return type of a gcc2 |
| 5330 builtin and then its argument prototype would still apply. */ | 5150 builtin and then its argument prototype would still apply. */ |
| 5331 char shmat(); | 5151 char shmat(); |
| 5332 | 5152 |
| 5333 int main() { | 5153 int main() { |
| 5334 shmat() | 5154 shmat() |
| 5335 ; return 0; } | 5155 ; return 0; } |
| 5336 EOF | 5156 EOF |
| 5337 if { (eval echo configure:5338: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5157 if { (eval echo configure:5158: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 5338 rm -rf conftest* | 5158 rm -rf conftest* |
| 5339 eval "ac_cv_lib_$ac_lib_var=yes" | 5159 eval "ac_cv_lib_$ac_lib_var=yes" |
| 5340 else | 5160 else |
| 5341 echo "configure: failed program was:" >&5 | 5161 echo "configure: failed program was:" >&5 |
| 5342 cat conftest.$ac_ext >&5 | 5162 cat conftest.$ac_ext >&5 |
| 5365 # we get undefined symbols. So assume we have SM if we have ICE. | 5185 # we get undefined symbols. So assume we have SM if we have ICE. |
| 5366 # These have to be linked with before -lX11, unlike the other | 5186 # These have to be linked with before -lX11, unlike the other |
| 5367 # libraries we check for below, so use a different variable. | 5187 # libraries we check for below, so use a different variable. |
| 5368 # --interran@uluru.Stanford.EDU, kb@cs.umb.edu. | 5188 # --interran@uluru.Stanford.EDU, kb@cs.umb.edu. |
| 5369 | 5189 |
| 5370 xe_msg_checking="for IceConnectionNumber in -lICE" | 5190 echo $ac_n "checking for IceConnectionNumber in -lICE""... $ac_c" 1>&6 |
| 5371 test -n "$X_EXTRA_LIBS" && xe_msg_checking="$xe_msg_checking using extra libs $X_EXTRA_LIBS" | 5191 echo "configure:5192: checking for IceConnectionNumber in -lICE" >&5 |
| 5372 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | |
| 5373 echo "configure:5374: checking "$xe_msg_checking"" >&5 | |
| 5374 ac_lib_var=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'` | 5192 ac_lib_var=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'` |
| 5375 | 5193 |
| 5376 xe_check_libs=" -lICE $X_EXTRA_LIBS" | 5194 xe_check_libs=" -lICE " |
| 5377 cat > conftest.$ac_ext <<EOF | 5195 cat > conftest.$ac_ext <<EOF |
| 5378 #line 5379 "configure" | 5196 #line 5197 "configure" |
| 5379 #include "confdefs.h" | 5197 #include "confdefs.h" |
| 5380 /* Override any gcc2 internal prototype to avoid an error. */ | 5198 /* Override any gcc2 internal prototype to avoid an error. */ |
| 5381 /* We use char because int might match the return type of a gcc2 | 5199 /* We use char because int might match the return type of a gcc2 |
| 5382 builtin and then its argument prototype would still apply. */ | 5200 builtin and then its argument prototype would still apply. */ |
| 5383 char IceConnectionNumber(); | 5201 char IceConnectionNumber(); |
| 5384 | 5202 |
| 5385 int main() { | 5203 int main() { |
| 5386 IceConnectionNumber() | 5204 IceConnectionNumber() |
| 5387 ; return 0; } | 5205 ; return 0; } |
| 5388 EOF | 5206 EOF |
| 5389 if { (eval echo configure:5390: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5207 if { (eval echo configure:5208: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 5390 rm -rf conftest* | 5208 rm -rf conftest* |
| 5391 eval "ac_cv_lib_$ac_lib_var=yes" | 5209 eval "ac_cv_lib_$ac_lib_var=yes" |
| 5392 else | 5210 else |
| 5393 echo "configure: failed program was:" >&5 | 5211 echo "configure: failed program was:" >&5 |
| 5394 cat conftest.$ac_ext >&5 | 5212 cat conftest.$ac_ext >&5 |
| 5553 EOF | 5371 EOF |
| 5554 } | 5372 } |
| 5555 | 5373 |
| 5556 | 5374 |
| 5557 echo "checking for X defines extracted by xmkmf" 1>&6 | 5375 echo "checking for X defines extracted by xmkmf" 1>&6 |
| 5558 echo "configure:5559: checking for X defines extracted by xmkmf" >&5 | 5376 echo "configure:5377: checking for X defines extracted by xmkmf" >&5 |
| 5559 rm -fr conftestdir | 5377 rm -fr conftestdir |
| 5560 if mkdir conftestdir; then | 5378 if mkdir conftestdir; then |
| 5561 cd conftestdir | 5379 cd conftestdir |
| 5562 cat > Imakefile <<'EOF' | 5380 cat > Imakefile <<'EOF' |
| 5563 xetest: | 5381 xetest: |
| 5585 done | 5403 done |
| 5586 fi | 5404 fi |
| 5587 | 5405 |
| 5588 ac_safe=`echo "X11/Intrinsic.h" | sed 'y%./+-%__p_%'` | 5406 ac_safe=`echo "X11/Intrinsic.h" | sed 'y%./+-%__p_%'` |
| 5589 echo $ac_n "checking for X11/Intrinsic.h""... $ac_c" 1>&6 | 5407 echo $ac_n "checking for X11/Intrinsic.h""... $ac_c" 1>&6 |
| 5590 echo "configure:5591: checking for X11/Intrinsic.h" >&5 | 5408 echo "configure:5409: checking for X11/Intrinsic.h" >&5 |
| 5591 | 5409 |
| 5592 cat > conftest.$ac_ext <<EOF | 5410 cat > conftest.$ac_ext <<EOF |
| 5593 #line 5594 "configure" | 5411 #line 5412 "configure" |
| 5594 #include "confdefs.h" | 5412 #include "confdefs.h" |
| 5595 #include <X11/Intrinsic.h> | 5413 #include <X11/Intrinsic.h> |
| 5596 EOF | 5414 EOF |
| 5597 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 5415 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 5598 { (eval echo configure:5599: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 5416 { (eval echo configure:5417: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 5599 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 5417 ac_err=`grep -v '^ *+' conftest.out` |
| 5600 if test -z "$ac_err"; then | 5418 if test -z "$ac_err"; then |
| 5601 rm -rf conftest* | 5419 rm -rf conftest* |
| 5602 eval "ac_cv_header_$ac_safe=yes" | 5420 eval "ac_cv_header_$ac_safe=yes" |
| 5603 else | 5421 else |
| 5604 echo "$ac_err" >&5 | 5422 echo "$ac_err" >&5 |
| 5617 fi | 5435 fi |
| 5618 | 5436 |
| 5619 | 5437 |
| 5620 | 5438 |
| 5621 echo $ac_n "checking for XOpenDisplay in -lX11""... $ac_c" 1>&6 | 5439 echo $ac_n "checking for XOpenDisplay in -lX11""... $ac_c" 1>&6 |
| 5622 echo "configure:5623: checking for XOpenDisplay in -lX11" >&5 | 5440 echo "configure:5441: checking for XOpenDisplay in -lX11" >&5 |
| 5623 ac_lib_var=`echo X11'_'XOpenDisplay | sed 'y%./+-%__p_%'` | 5441 ac_lib_var=`echo X11'_'XOpenDisplay | sed 'y%./+-%__p_%'` |
| 5624 | 5442 |
| 5625 xe_check_libs=" -lX11 " | 5443 xe_check_libs=" -lX11 " |
| 5626 cat > conftest.$ac_ext <<EOF | 5444 cat > conftest.$ac_ext <<EOF |
| 5627 #line 5628 "configure" | 5445 #line 5446 "configure" |
| 5628 #include "confdefs.h" | 5446 #include "confdefs.h" |
| 5629 /* Override any gcc2 internal prototype to avoid an error. */ | 5447 /* Override any gcc2 internal prototype to avoid an error. */ |
| 5630 /* We use char because int might match the return type of a gcc2 | 5448 /* We use char because int might match the return type of a gcc2 |
| 5631 builtin and then its argument prototype would still apply. */ | 5449 builtin and then its argument prototype would still apply. */ |
| 5632 char XOpenDisplay(); | 5450 char XOpenDisplay(); |
| 5633 | 5451 |
| 5634 int main() { | 5452 int main() { |
| 5635 XOpenDisplay() | 5453 XOpenDisplay() |
| 5636 ; return 0; } | 5454 ; return 0; } |
| 5637 EOF | 5455 EOF |
| 5638 if { (eval echo configure:5639: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5456 if { (eval echo configure:5457: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 5639 rm -rf conftest* | 5457 rm -rf conftest* |
| 5640 eval "ac_cv_lib_$ac_lib_var=yes" | 5458 eval "ac_cv_lib_$ac_lib_var=yes" |
| 5641 else | 5459 else |
| 5642 echo "configure: failed program was:" >&5 | 5460 echo "configure: failed program was:" >&5 |
| 5643 cat conftest.$ac_ext >&5 | 5461 cat conftest.$ac_ext >&5 |
| 5658 if test "$have_lib_x11" != "yes"; then | 5476 if test "$have_lib_x11" != "yes"; then |
| 5659 | 5477 |
| 5660 xe_msg_checking="for XGetFontProperty in -lX11" | 5478 xe_msg_checking="for XGetFontProperty in -lX11" |
| 5661 test -n "-b i486-linuxaout" && xe_msg_checking="$xe_msg_checking using extra libs -b i486-linuxaout" | 5479 test -n "-b i486-linuxaout" && xe_msg_checking="$xe_msg_checking using extra libs -b i486-linuxaout" |
| 5662 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 5480 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
| 5663 echo "configure:5664: checking "$xe_msg_checking"" >&5 | 5481 echo "configure:5482: checking "$xe_msg_checking"" >&5 |
| 5664 ac_lib_var=`echo X11'_'XGetFontProperty | sed 'y%./+-%__p_%'` | 5482 ac_lib_var=`echo X11'_'XGetFontProperty | sed 'y%./+-%__p_%'` |
| 5665 | 5483 |
| 5666 xe_check_libs=" -lX11 -b i486-linuxaout" | 5484 xe_check_libs=" -lX11 -b i486-linuxaout" |
| 5667 cat > conftest.$ac_ext <<EOF | 5485 cat > conftest.$ac_ext <<EOF |
| 5668 #line 5669 "configure" | 5486 #line 5487 "configure" |
| 5669 #include "confdefs.h" | 5487 #include "confdefs.h" |
| 5670 /* Override any gcc2 internal prototype to avoid an error. */ | 5488 /* Override any gcc2 internal prototype to avoid an error. */ |
| 5671 /* We use char because int might match the return type of a gcc2 | 5489 /* We use char because int might match the return type of a gcc2 |
| 5672 builtin and then its argument prototype would still apply. */ | 5490 builtin and then its argument prototype would still apply. */ |
| 5673 char XGetFontProperty(); | 5491 char XGetFontProperty(); |
| 5674 | 5492 |
| 5675 int main() { | 5493 int main() { |
| 5676 XGetFontProperty() | 5494 XGetFontProperty() |
| 5677 ; return 0; } | 5495 ; return 0; } |
| 5678 EOF | 5496 EOF |
| 5679 if { (eval echo configure:5680: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5497 if { (eval echo configure:5498: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 5680 rm -rf conftest* | 5498 rm -rf conftest* |
| 5681 eval "ac_cv_lib_$ac_lib_var=yes" | 5499 eval "ac_cv_lib_$ac_lib_var=yes" |
| 5682 else | 5500 else |
| 5683 echo "configure: failed program was:" >&5 | 5501 echo "configure: failed program was:" >&5 |
| 5684 cat conftest.$ac_ext >&5 | 5502 cat conftest.$ac_ext >&5 |
| 5701 libs_x="-lX11" | 5519 libs_x="-lX11" |
| 5702 test "$extra_verbose" = "yes" && echo " Setting libs_x to \"-lX11\"" | 5520 test "$extra_verbose" = "yes" && echo " Setting libs_x to \"-lX11\"" |
| 5703 | 5521 |
| 5704 | 5522 |
| 5705 echo $ac_n "checking for XShapeSelectInput in -lXext""... $ac_c" 1>&6 | 5523 echo $ac_n "checking for XShapeSelectInput in -lXext""... $ac_c" 1>&6 |
| 5706 echo "configure:5707: checking for XShapeSelectInput in -lXext" >&5 | 5524 echo "configure:5525: checking for XShapeSelectInput in -lXext" >&5 |
| 5707 ac_lib_var=`echo Xext'_'XShapeSelectInput | sed 'y%./+-%__p_%'` | 5525 ac_lib_var=`echo Xext'_'XShapeSelectInput | sed 'y%./+-%__p_%'` |
| 5708 | 5526 |
| 5709 xe_check_libs=" -lXext " | 5527 xe_check_libs=" -lXext " |
| 5710 cat > conftest.$ac_ext <<EOF | 5528 cat > conftest.$ac_ext <<EOF |
| 5711 #line 5712 "configure" | 5529 #line 5530 "configure" |
| 5712 #include "confdefs.h" | 5530 #include "confdefs.h" |
| 5713 /* Override any gcc2 internal prototype to avoid an error. */ | 5531 /* Override any gcc2 internal prototype to avoid an error. */ |
| 5714 /* We use char because int might match the return type of a gcc2 | 5532 /* We use char because int might match the return type of a gcc2 |
| 5715 builtin and then its argument prototype would still apply. */ | 5533 builtin and then its argument prototype would still apply. */ |
| 5716 char XShapeSelectInput(); | 5534 char XShapeSelectInput(); |
| 5717 | 5535 |
| 5718 int main() { | 5536 int main() { |
| 5719 XShapeSelectInput() | 5537 XShapeSelectInput() |
| 5720 ; return 0; } | 5538 ; return 0; } |
| 5721 EOF | 5539 EOF |
| 5722 if { (eval echo configure:5723: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5540 if { (eval echo configure:5541: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 5723 rm -rf conftest* | 5541 rm -rf conftest* |
| 5724 eval "ac_cv_lib_$ac_lib_var=yes" | 5542 eval "ac_cv_lib_$ac_lib_var=yes" |
| 5725 else | 5543 else |
| 5726 echo "configure: failed program was:" >&5 | 5544 echo "configure: failed program was:" >&5 |
| 5727 cat conftest.$ac_ext >&5 | 5545 cat conftest.$ac_ext >&5 |
| 5740 | 5558 |
| 5741 | 5559 |
| 5742 | 5560 |
| 5743 | 5561 |
| 5744 echo $ac_n "checking for XtOpenDisplay in -lXt""... $ac_c" 1>&6 | 5562 echo $ac_n "checking for XtOpenDisplay in -lXt""... $ac_c" 1>&6 |
| 5745 echo "configure:5746: checking for XtOpenDisplay in -lXt" >&5 | 5563 echo "configure:5564: checking for XtOpenDisplay in -lXt" >&5 |
| 5746 ac_lib_var=`echo Xt'_'XtOpenDisplay | sed 'y%./+-%__p_%'` | 5564 ac_lib_var=`echo Xt'_'XtOpenDisplay | sed 'y%./+-%__p_%'` |
| 5747 | 5565 |
| 5748 xe_check_libs=" -lXt " | 5566 xe_check_libs=" -lXt " |
| 5749 cat > conftest.$ac_ext <<EOF | 5567 cat > conftest.$ac_ext <<EOF |
| 5750 #line 5751 "configure" | 5568 #line 5569 "configure" |
| 5751 #include "confdefs.h" | 5569 #include "confdefs.h" |
| 5752 /* Override any gcc2 internal prototype to avoid an error. */ | 5570 /* Override any gcc2 internal prototype to avoid an error. */ |
| 5753 /* We use char because int might match the return type of a gcc2 | 5571 /* We use char because int might match the return type of a gcc2 |
| 5754 builtin and then its argument prototype would still apply. */ | 5572 builtin and then its argument prototype would still apply. */ |
| 5755 char XtOpenDisplay(); | 5573 char XtOpenDisplay(); |
| 5756 | 5574 |
| 5757 int main() { | 5575 int main() { |
| 5758 XtOpenDisplay() | 5576 XtOpenDisplay() |
| 5759 ; return 0; } | 5577 ; return 0; } |
| 5760 EOF | 5578 EOF |
| 5761 if { (eval echo configure:5762: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5579 if { (eval echo configure:5580: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 5762 rm -rf conftest* | 5580 rm -rf conftest* |
| 5763 eval "ac_cv_lib_$ac_lib_var=yes" | 5581 eval "ac_cv_lib_$ac_lib_var=yes" |
| 5764 else | 5582 else |
| 5765 echo "configure: failed program was:" >&5 | 5583 echo "configure: failed program was:" >&5 |
| 5766 cat conftest.$ac_ext >&5 | 5584 cat conftest.$ac_ext >&5 |
| 5779 fi | 5597 fi |
| 5780 | 5598 |
| 5781 | 5599 |
| 5782 | 5600 |
| 5783 echo $ac_n "checking the version of X11 being used""... $ac_c" 1>&6 | 5601 echo $ac_n "checking the version of X11 being used""... $ac_c" 1>&6 |
| 5784 echo "configure:5785: checking the version of X11 being used" >&5 | 5602 echo "configure:5603: checking the version of X11 being used" >&5 |
| 5785 cat > conftest.$ac_ext <<EOF | 5603 cat > conftest.$ac_ext <<EOF |
| 5786 #line 5787 "configure" | 5604 #line 5605 "configure" |
| 5787 #include "confdefs.h" | 5605 #include "confdefs.h" |
| 5788 #include <X11/Intrinsic.h> | 5606 #include <X11/Intrinsic.h> |
| 5789 int main(int c, char *v[]) { return c>1 ? XlibSpecificationRelease : 0; } | 5607 int main(int c, char *v[]) { return c>1 ? XlibSpecificationRelease : 0; } |
| 5790 EOF | 5608 EOF |
| 5791 if { (eval echo configure:5792: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 5609 if { (eval echo configure:5610: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
| 5792 then | 5610 then |
| 5793 ./conftest foobar; x11_release=$? | 5611 ./conftest foobar; x11_release=$? |
| 5794 else | 5612 else |
| 5795 conftest_rc="$?" | 5613 conftest_rc="$?" |
| 5796 echo "configure: failed program was:" >&5 | 5614 echo "configure: failed program was:" >&5 |
| 5811 | 5629 |
| 5812 for ac_hdr in X11/Xlocale.h | 5630 for ac_hdr in X11/Xlocale.h |
| 5813 do | 5631 do |
| 5814 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 5632 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
| 5815 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 5633 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
| 5816 echo "configure:5817: checking for $ac_hdr" >&5 | 5634 echo "configure:5635: checking for $ac_hdr" >&5 |
| 5817 | 5635 |
| 5818 cat > conftest.$ac_ext <<EOF | 5636 cat > conftest.$ac_ext <<EOF |
| 5819 #line 5820 "configure" | 5637 #line 5638 "configure" |
| 5820 #include "confdefs.h" | 5638 #include "confdefs.h" |
| 5821 #include <$ac_hdr> | 5639 #include <$ac_hdr> |
| 5822 EOF | 5640 EOF |
| 5823 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 5641 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 5824 { (eval echo configure:5825: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 5642 { (eval echo configure:5643: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 5825 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 5643 ac_err=`grep -v '^ *+' conftest.out` |
| 5826 if test -z "$ac_err"; then | 5644 if test -z "$ac_err"; then |
| 5827 rm -rf conftest* | 5645 rm -rf conftest* |
| 5828 eval "ac_cv_header_$ac_safe=yes" | 5646 eval "ac_cv_header_$ac_safe=yes" |
| 5829 else | 5647 else |
| 5830 echo "$ac_err" >&5 | 5648 echo "$ac_err" >&5 |
| 5850 fi | 5668 fi |
| 5851 done | 5669 done |
| 5852 | 5670 |
| 5853 | 5671 |
| 5854 echo $ac_n "checking for XFree86""... $ac_c" 1>&6 | 5672 echo $ac_n "checking for XFree86""... $ac_c" 1>&6 |
| 5855 echo "configure:5856: checking for XFree86" >&5 | 5673 echo "configure:5674: checking for XFree86" >&5 |
| 5856 if test -d "/usr/X386/include" -o \ | 5674 if test -d "/usr/X386/include" -o \ |
| 5857 -f "/etc/XF86Config" -o \ | 5675 -f "/etc/XF86Config" -o \ |
| 5858 -f "/etc/X11/XF86Config" -o \ | 5676 -f "/etc/X11/XF86Config" -o \ |
| 5859 -f "/usr/X11R6/lib/X11/XF86Config"; then | 5677 -f "/usr/X11R6/lib/X11/XF86Config"; then |
| 5860 echo "$ac_t""yes" 1>&6 | 5678 echo "$ac_t""yes" 1>&6 |
| 5870 echo "$ac_t""no" 1>&6 | 5688 echo "$ac_t""no" 1>&6 |
| 5871 fi | 5689 fi |
| 5872 | 5690 |
| 5873 test -z "$with_xmu" && { | 5691 test -z "$with_xmu" && { |
| 5874 echo $ac_n "checking for XmuReadBitmapDataFromFile in -lXmu""... $ac_c" 1>&6 | 5692 echo $ac_n "checking for XmuReadBitmapDataFromFile in -lXmu""... $ac_c" 1>&6 |
| 5875 echo "configure:5876: checking for XmuReadBitmapDataFromFile in -lXmu" >&5 | 5693 echo "configure:5694: checking for XmuReadBitmapDataFromFile in -lXmu" >&5 |
| 5876 ac_lib_var=`echo Xmu'_'XmuReadBitmapDataFromFile | sed 'y%./+-%__p_%'` | 5694 ac_lib_var=`echo Xmu'_'XmuReadBitmapDataFromFile | sed 'y%./+-%__p_%'` |
| 5877 | 5695 |
| 5878 xe_check_libs=" -lXmu " | 5696 xe_check_libs=" -lXmu " |
| 5879 cat > conftest.$ac_ext <<EOF | 5697 cat > conftest.$ac_ext <<EOF |
| 5880 #line 5881 "configure" | 5698 #line 5699 "configure" |
| 5881 #include "confdefs.h" | 5699 #include "confdefs.h" |
| 5882 /* Override any gcc2 internal prototype to avoid an error. */ | 5700 /* Override any gcc2 internal prototype to avoid an error. */ |
| 5883 /* We use char because int might match the return type of a gcc2 | 5701 /* We use char because int might match the return type of a gcc2 |
| 5884 builtin and then its argument prototype would still apply. */ | 5702 builtin and then its argument prototype would still apply. */ |
| 5885 char XmuReadBitmapDataFromFile(); | 5703 char XmuReadBitmapDataFromFile(); |
| 5886 | 5704 |
| 5887 int main() { | 5705 int main() { |
| 5888 XmuReadBitmapDataFromFile() | 5706 XmuReadBitmapDataFromFile() |
| 5889 ; return 0; } | 5707 ; return 0; } |
| 5890 EOF | 5708 EOF |
| 5891 if { (eval echo configure:5892: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5709 if { (eval echo configure:5710: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 5892 rm -rf conftest* | 5710 rm -rf conftest* |
| 5893 eval "ac_cv_lib_$ac_lib_var=yes" | 5711 eval "ac_cv_lib_$ac_lib_var=yes" |
| 5894 else | 5712 else |
| 5895 echo "configure: failed program was:" >&5 | 5713 echo "configure: failed program was:" >&5 |
| 5896 cat conftest.$ac_ext >&5 | 5714 cat conftest.$ac_ext >&5 |
| 5925 | 5743 |
| 5926 fi | 5744 fi |
| 5927 | 5745 |
| 5928 | 5746 |
| 5929 echo $ac_n "checking for main in -lXbsd""... $ac_c" 1>&6 | 5747 echo $ac_n "checking for main in -lXbsd""... $ac_c" 1>&6 |
| 5930 echo "configure:5931: checking for main in -lXbsd" >&5 | 5748 echo "configure:5749: checking for main in -lXbsd" >&5 |
| 5931 ac_lib_var=`echo Xbsd'_'main | sed 'y%./+-%__p_%'` | 5749 ac_lib_var=`echo Xbsd'_'main | sed 'y%./+-%__p_%'` |
| 5932 | 5750 |
| 5933 xe_check_libs=" -lXbsd " | 5751 xe_check_libs=" -lXbsd " |
| 5934 cat > conftest.$ac_ext <<EOF | 5752 cat > conftest.$ac_ext <<EOF |
| 5935 #line 5936 "configure" | 5753 #line 5754 "configure" |
| 5936 #include "confdefs.h" | 5754 #include "confdefs.h" |
| 5937 | 5755 |
| 5938 int main() { | 5756 int main() { |
| 5939 main() | 5757 main() |
| 5940 ; return 0; } | 5758 ; return 0; } |
| 5941 EOF | 5759 EOF |
| 5942 if { (eval echo configure:5943: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5760 if { (eval echo configure:5761: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 5943 rm -rf conftest* | 5761 rm -rf conftest* |
| 5944 eval "ac_cv_lib_$ac_lib_var=yes" | 5762 eval "ac_cv_lib_$ac_lib_var=yes" |
| 5945 else | 5763 else |
| 5946 echo "configure: failed program was:" >&5 | 5764 echo "configure: failed program was:" >&5 |
| 5947 cat conftest.$ac_ext >&5 | 5765 cat conftest.$ac_ext >&5 |
| 5974 fi | 5792 fi |
| 5975 | 5793 |
| 5976 fi | 5794 fi |
| 5977 if test "$with_msw" != "no"; then | 5795 if test "$with_msw" != "no"; then |
| 5978 echo "checking for MS-Windows" 1>&6 | 5796 echo "checking for MS-Windows" 1>&6 |
| 5979 echo "configure:5980: checking for MS-Windows" >&5 | 5797 echo "configure:5798: checking for MS-Windows" >&5 |
| 5980 | 5798 |
| 5981 echo $ac_n "checking for main in -lgdi32""... $ac_c" 1>&6 | 5799 echo $ac_n "checking for main in -lgdi32""... $ac_c" 1>&6 |
| 5982 echo "configure:5983: checking for main in -lgdi32" >&5 | 5800 echo "configure:5801: checking for main in -lgdi32" >&5 |
| 5983 ac_lib_var=`echo gdi32'_'main | sed 'y%./+-%__p_%'` | 5801 ac_lib_var=`echo gdi32'_'main | sed 'y%./+-%__p_%'` |
| 5984 | 5802 |
| 5985 xe_check_libs=" -lgdi32 " | 5803 xe_check_libs=" -lgdi32 " |
| 5986 cat > conftest.$ac_ext <<EOF | 5804 cat > conftest.$ac_ext <<EOF |
| 5987 #line 5988 "configure" | 5805 #line 5806 "configure" |
| 5988 #include "confdefs.h" | 5806 #include "confdefs.h" |
| 5989 | 5807 |
| 5990 int main() { | 5808 int main() { |
| 5991 main() | 5809 main() |
| 5992 ; return 0; } | 5810 ; return 0; } |
| 5993 EOF | 5811 EOF |
| 5994 if { (eval echo configure:5995: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5812 if { (eval echo configure:5813: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 5995 rm -rf conftest* | 5813 rm -rf conftest* |
| 5996 eval "ac_cv_lib_$ac_lib_var=yes" | 5814 eval "ac_cv_lib_$ac_lib_var=yes" |
| 5997 else | 5815 else |
| 5998 echo "configure: failed program was:" >&5 | 5816 echo "configure: failed program was:" >&5 |
| 5999 cat conftest.$ac_ext >&5 | 5817 cat conftest.$ac_ext >&5 |
| 6054 test "$with_dialogs" != "no" && extra_objs="$extra_objs dialog-msw.o" && if test "$extra_verbose" = "yes"; then | 5872 test "$with_dialogs" != "no" && extra_objs="$extra_objs dialog-msw.o" && if test "$extra_verbose" = "yes"; then |
| 6055 echo " xemacs will be linked with \"dialog-msw.o\"" | 5873 echo " xemacs will be linked with \"dialog-msw.o\"" |
| 6056 fi | 5874 fi |
| 6057 fi | 5875 fi |
| 6058 cat > conftest.$ac_ext <<EOF | 5876 cat > conftest.$ac_ext <<EOF |
| 6059 #line 6060 "configure" | 5877 #line 5878 "configure" |
| 6060 #include "confdefs.h" | 5878 #include "confdefs.h" |
| 6061 #include <fcntl.h> | 5879 #include <fcntl.h> |
| 6062 int main() { return (open("/dev/windows", O_RDONLY, 0) > 0)? 0 : 1; } | 5880 int main() { return (open("/dev/windows", O_RDONLY, 0) > 0)? 0 : 1; } |
| 6063 EOF | 5881 EOF |
| 6064 if { (eval echo configure:6065: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 5882 if { (eval echo configure:5883: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
| 6065 then | 5883 then |
| 6066 { test "$extra_verbose" = "yes" && cat << \EOF | 5884 { test "$extra_verbose" = "yes" && cat << \EOF |
| 6067 Defining HAVE_MSG_SELECT | 5885 Defining HAVE_MSG_SELECT |
| 6068 EOF | 5886 EOF |
| 6069 cat >> confdefs.h <<\EOF | 5887 cat >> confdefs.h <<\EOF |
| 6138 test "$opsys" = "hpux9" && opsysfile="s/hpux9-x11r4.h" | 5956 test "$opsys" = "hpux9" && opsysfile="s/hpux9-x11r4.h" |
| 6139 test "$opsys" = "hpux9-shr" && opsysfile="s/hpux9shxr4.h" | 5957 test "$opsys" = "hpux9-shr" && opsysfile="s/hpux9shxr4.h" |
| 6140 esac | 5958 esac |
| 6141 | 5959 |
| 6142 echo "checking for session-management option" 1>&6 | 5960 echo "checking for session-management option" 1>&6 |
| 6143 echo "configure:6144: checking for session-management option" >&5; | 5961 echo "configure:5962: checking for session-management option" >&5; |
| 6144 if test "$with_session" != "no"; then | 5962 if test "$with_session" != "no"; then |
| 6145 { test "$extra_verbose" = "yes" && cat << \EOF | 5963 { test "$extra_verbose" = "yes" && cat << \EOF |
| 6146 Defining HAVE_SESSION | 5964 Defining HAVE_SESSION |
| 6147 EOF | 5965 EOF |
| 6148 cat >> confdefs.h <<\EOF | 5966 cat >> confdefs.h <<\EOF |
| 6153 fi | 5971 fi |
| 6154 | 5972 |
| 6155 test -z "$with_xauth" && test "$window_system" = "none" && with_xauth=no | 5973 test -z "$with_xauth" && test "$window_system" = "none" && with_xauth=no |
| 6156 test -z "$with_xauth" && { ac_safe=`echo "X11/Xauth.h" | sed 'y%./+-%__p_%'` | 5974 test -z "$with_xauth" && { ac_safe=`echo "X11/Xauth.h" | sed 'y%./+-%__p_%'` |
| 6157 echo $ac_n "checking for X11/Xauth.h""... $ac_c" 1>&6 | 5975 echo $ac_n "checking for X11/Xauth.h""... $ac_c" 1>&6 |
| 6158 echo "configure:6159: checking for X11/Xauth.h" >&5 | 5976 echo "configure:5977: checking for X11/Xauth.h" >&5 |
| 6159 | 5977 |
| 6160 cat > conftest.$ac_ext <<EOF | 5978 cat > conftest.$ac_ext <<EOF |
| 6161 #line 6162 "configure" | 5979 #line 5980 "configure" |
| 6162 #include "confdefs.h" | 5980 #include "confdefs.h" |
| 6163 #include <X11/Xauth.h> | 5981 #include <X11/Xauth.h> |
| 6164 EOF | 5982 EOF |
| 6165 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 5983 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 6166 { (eval echo configure:6167: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 5984 { (eval echo configure:5985: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 6167 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 5985 ac_err=`grep -v '^ *+' conftest.out` |
| 6168 if test -z "$ac_err"; then | 5986 if test -z "$ac_err"; then |
| 6169 rm -rf conftest* | 5987 rm -rf conftest* |
| 6170 eval "ac_cv_header_$ac_safe=yes" | 5988 eval "ac_cv_header_$ac_safe=yes" |
| 6171 else | 5989 else |
| 6172 echo "$ac_err" >&5 | 5990 echo "$ac_err" >&5 |
| 6184 with_xauth=no | 6002 with_xauth=no |
| 6185 fi | 6003 fi |
| 6186 } | 6004 } |
| 6187 test -z "$with_xauth" && { | 6005 test -z "$with_xauth" && { |
| 6188 echo $ac_n "checking for XauGetAuthByAddr in -lXau""... $ac_c" 1>&6 | 6006 echo $ac_n "checking for XauGetAuthByAddr in -lXau""... $ac_c" 1>&6 |
| 6189 echo "configure:6190: checking for XauGetAuthByAddr in -lXau" >&5 | 6007 echo "configure:6008: checking for XauGetAuthByAddr in -lXau" >&5 |
| 6190 ac_lib_var=`echo Xau'_'XauGetAuthByAddr | sed 'y%./+-%__p_%'` | 6008 ac_lib_var=`echo Xau'_'XauGetAuthByAddr | sed 'y%./+-%__p_%'` |
| 6191 | 6009 |
| 6192 xe_check_libs=" -lXau " | 6010 xe_check_libs=" -lXau " |
| 6193 cat > conftest.$ac_ext <<EOF | 6011 cat > conftest.$ac_ext <<EOF |
| 6194 #line 6195 "configure" | 6012 #line 6013 "configure" |
| 6195 #include "confdefs.h" | 6013 #include "confdefs.h" |
| 6196 /* Override any gcc2 internal prototype to avoid an error. */ | 6014 /* Override any gcc2 internal prototype to avoid an error. */ |
| 6197 /* We use char because int might match the return type of a gcc2 | 6015 /* We use char because int might match the return type of a gcc2 |
| 6198 builtin and then its argument prototype would still apply. */ | 6016 builtin and then its argument prototype would still apply. */ |
| 6199 char XauGetAuthByAddr(); | 6017 char XauGetAuthByAddr(); |
| 6200 | 6018 |
| 6201 int main() { | 6019 int main() { |
| 6202 XauGetAuthByAddr() | 6020 XauGetAuthByAddr() |
| 6203 ; return 0; } | 6021 ; return 0; } |
| 6204 EOF | 6022 EOF |
| 6205 if { (eval echo configure:6206: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6023 if { (eval echo configure:6024: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 6206 rm -rf conftest* | 6024 rm -rf conftest* |
| 6207 eval "ac_cv_lib_$ac_lib_var=yes" | 6025 eval "ac_cv_lib_$ac_lib_var=yes" |
| 6208 else | 6026 else |
| 6209 echo "configure: failed program was:" >&5 | 6027 echo "configure: failed program was:" >&5 |
| 6210 cat conftest.$ac_ext >&5 | 6028 cat conftest.$ac_ext >&5 |
| 6245 | 6063 |
| 6246 if test "$with_tooltalk" != "no" ; then | 6064 if test "$with_tooltalk" != "no" ; then |
| 6247 for dir in "" "Tt/" "desktop/" ; do | 6065 for dir in "" "Tt/" "desktop/" ; do |
| 6248 ac_safe=`echo "${dir}tt_c.h" | sed 'y%./+-%__p_%'` | 6066 ac_safe=`echo "${dir}tt_c.h" | sed 'y%./+-%__p_%'` |
| 6249 echo $ac_n "checking for ${dir}tt_c.h""... $ac_c" 1>&6 | 6067 echo $ac_n "checking for ${dir}tt_c.h""... $ac_c" 1>&6 |
| 6250 echo "configure:6251: checking for ${dir}tt_c.h" >&5 | 6068 echo "configure:6069: checking for ${dir}tt_c.h" >&5 |
| 6251 | 6069 |
| 6252 cat > conftest.$ac_ext <<EOF | 6070 cat > conftest.$ac_ext <<EOF |
| 6253 #line 6254 "configure" | 6071 #line 6072 "configure" |
| 6254 #include "confdefs.h" | 6072 #include "confdefs.h" |
| 6255 #include <${dir}tt_c.h> | 6073 #include <${dir}tt_c.h> |
| 6256 EOF | 6074 EOF |
| 6257 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6075 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 6258 { (eval echo configure:6259: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6076 { (eval echo configure:6077: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 6259 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 6077 ac_err=`grep -v '^ *+' conftest.out` |
| 6260 if test -z "$ac_err"; then | 6078 if test -z "$ac_err"; then |
| 6261 rm -rf conftest* | 6079 rm -rf conftest* |
| 6262 eval "ac_cv_header_$ac_safe=yes" | 6080 eval "ac_cv_header_$ac_safe=yes" |
| 6263 else | 6081 else |
| 6264 echo "$ac_err" >&5 | 6082 echo "$ac_err" >&5 |
| 6289 for extra_libs in "" "-lI18N -lce" "-lcxx"; do | 6107 for extra_libs in "" "-lI18N -lce" "-lcxx"; do |
| 6290 | 6108 |
| 6291 xe_msg_checking="for tt_message_create in -ltt" | 6109 xe_msg_checking="for tt_message_create in -ltt" |
| 6292 test -n "$extra_libs" && xe_msg_checking="$xe_msg_checking using extra libs $extra_libs" | 6110 test -n "$extra_libs" && xe_msg_checking="$xe_msg_checking using extra libs $extra_libs" |
| 6293 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 6111 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
| 6294 echo "configure:6295: checking "$xe_msg_checking"" >&5 | 6112 echo "configure:6113: checking "$xe_msg_checking"" >&5 |
| 6295 ac_lib_var=`echo tt'_'tt_message_create | sed 'y%./+-%__p_%'` | 6113 ac_lib_var=`echo tt'_'tt_message_create | sed 'y%./+-%__p_%'` |
| 6296 | 6114 |
| 6297 xe_check_libs=" -ltt $extra_libs" | 6115 xe_check_libs=" -ltt $extra_libs" |
| 6298 cat > conftest.$ac_ext <<EOF | 6116 cat > conftest.$ac_ext <<EOF |
| 6299 #line 6300 "configure" | 6117 #line 6118 "configure" |
| 6300 #include "confdefs.h" | 6118 #include "confdefs.h" |
| 6301 /* Override any gcc2 internal prototype to avoid an error. */ | 6119 /* Override any gcc2 internal prototype to avoid an error. */ |
| 6302 /* We use char because int might match the return type of a gcc2 | 6120 /* We use char because int might match the return type of a gcc2 |
| 6303 builtin and then its argument prototype would still apply. */ | 6121 builtin and then its argument prototype would still apply. */ |
| 6304 char tt_message_create(); | 6122 char tt_message_create(); |
| 6305 | 6123 |
| 6306 int main() { | 6124 int main() { |
| 6307 tt_message_create() | 6125 tt_message_create() |
| 6308 ; return 0; } | 6126 ; return 0; } |
| 6309 EOF | 6127 EOF |
| 6310 if { (eval echo configure:6311: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6128 if { (eval echo configure:6129: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 6311 rm -rf conftest* | 6129 rm -rf conftest* |
| 6312 eval "ac_cv_lib_$ac_lib_var=yes" | 6130 eval "ac_cv_lib_$ac_lib_var=yes" |
| 6313 else | 6131 else |
| 6314 echo "configure: failed program was:" >&5 | 6132 echo "configure: failed program was:" >&5 |
| 6315 cat conftest.$ac_ext >&5 | 6133 cat conftest.$ac_ext >&5 |
| 6362 fi | 6180 fi |
| 6363 fi | 6181 fi |
| 6364 | 6182 |
| 6365 test -z "$with_cde" && { ac_safe=`echo "Dt/Dt.h" | sed 'y%./+-%__p_%'` | 6183 test -z "$with_cde" && { ac_safe=`echo "Dt/Dt.h" | sed 'y%./+-%__p_%'` |
| 6366 echo $ac_n "checking for Dt/Dt.h""... $ac_c" 1>&6 | 6184 echo $ac_n "checking for Dt/Dt.h""... $ac_c" 1>&6 |
| 6367 echo "configure:6368: checking for Dt/Dt.h" >&5 | 6185 echo "configure:6186: checking for Dt/Dt.h" >&5 |
| 6368 | 6186 |
| 6369 cat > conftest.$ac_ext <<EOF | 6187 cat > conftest.$ac_ext <<EOF |
| 6370 #line 6371 "configure" | 6188 #line 6189 "configure" |
| 6371 #include "confdefs.h" | 6189 #include "confdefs.h" |
| 6372 #include <Dt/Dt.h> | 6190 #include <Dt/Dt.h> |
| 6373 EOF | 6191 EOF |
| 6374 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6192 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 6375 { (eval echo configure:6376: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6193 { (eval echo configure:6194: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 6376 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 6194 ac_err=`grep -v '^ *+' conftest.out` |
| 6377 if test -z "$ac_err"; then | 6195 if test -z "$ac_err"; then |
| 6378 rm -rf conftest* | 6196 rm -rf conftest* |
| 6379 eval "ac_cv_header_$ac_safe=yes" | 6197 eval "ac_cv_header_$ac_safe=yes" |
| 6380 else | 6198 else |
| 6381 echo "$ac_err" >&5 | 6199 echo "$ac_err" >&5 |
| 6393 with_cde=no | 6211 with_cde=no |
| 6394 fi | 6212 fi |
| 6395 } | 6213 } |
| 6396 test -z "$with_cde" && { | 6214 test -z "$with_cde" && { |
| 6397 echo $ac_n "checking for DtDndDragStart in -lDtSvc""... $ac_c" 1>&6 | 6215 echo $ac_n "checking for DtDndDragStart in -lDtSvc""... $ac_c" 1>&6 |
| 6398 echo "configure:6399: checking for DtDndDragStart in -lDtSvc" >&5 | 6216 echo "configure:6217: checking for DtDndDragStart in -lDtSvc" >&5 |
| 6399 ac_lib_var=`echo DtSvc'_'DtDndDragStart | sed 'y%./+-%__p_%'` | 6217 ac_lib_var=`echo DtSvc'_'DtDndDragStart | sed 'y%./+-%__p_%'` |
| 6400 | 6218 |
| 6401 xe_check_libs=" -lDtSvc " | 6219 xe_check_libs=" -lDtSvc " |
| 6402 cat > conftest.$ac_ext <<EOF | 6220 cat > conftest.$ac_ext <<EOF |
| 6403 #line 6404 "configure" | 6221 #line 6222 "configure" |
| 6404 #include "confdefs.h" | 6222 #include "confdefs.h" |
| 6405 /* Override any gcc2 internal prototype to avoid an error. */ | 6223 /* Override any gcc2 internal prototype to avoid an error. */ |
| 6406 /* We use char because int might match the return type of a gcc2 | 6224 /* We use char because int might match the return type of a gcc2 |
| 6407 builtin and then its argument prototype would still apply. */ | 6225 builtin and then its argument prototype would still apply. */ |
| 6408 char DtDndDragStart(); | 6226 char DtDndDragStart(); |
| 6409 | 6227 |
| 6410 int main() { | 6228 int main() { |
| 6411 DtDndDragStart() | 6229 DtDndDragStart() |
| 6412 ; return 0; } | 6230 ; return 0; } |
| 6413 EOF | 6231 EOF |
| 6414 if { (eval echo configure:6415: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6232 if { (eval echo configure:6233: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 6415 rm -rf conftest* | 6233 rm -rf conftest* |
| 6416 eval "ac_cv_lib_$ac_lib_var=yes" | 6234 eval "ac_cv_lib_$ac_lib_var=yes" |
| 6417 else | 6235 else |
| 6418 echo "configure: failed program was:" >&5 | 6236 echo "configure: failed program was:" >&5 |
| 6419 cat conftest.$ac_ext >&5 | 6237 cat conftest.$ac_ext >&5 |
| 6478 dnd_objs="$dnd_objs offix.o" && if test "$extra_verbose" = "yes"; then echo " Appending \"offix.o\" to \$dnd_objs"; fi | 6296 dnd_objs="$dnd_objs offix.o" && if test "$extra_verbose" = "yes"; then echo " Appending \"offix.o\" to \$dnd_objs"; fi |
| 6479 dragndrop_proto="$dragndrop_proto OffiX" && if test "$extra_verbose" = "yes"; then echo " Appending \"OffiX\" to \$dragndrop_proto"; fi | 6297 dragndrop_proto="$dragndrop_proto OffiX" && if test "$extra_verbose" = "yes"; then echo " Appending \"OffiX\" to \$dragndrop_proto"; fi |
| 6480 fi | 6298 fi |
| 6481 | 6299 |
| 6482 echo $ac_n "checking if drag and drop API is needed""... $ac_c" 1>&6 | 6300 echo $ac_n "checking if drag and drop API is needed""... $ac_c" 1>&6 |
| 6483 echo "configure:6484: checking if drag and drop API is needed" >&5 | 6301 echo "configure:6302: checking if drag and drop API is needed" >&5 |
| 6484 if test "$with_dragndrop" != "no" ; then | 6302 if test "$with_dragndrop" != "no" ; then |
| 6485 if test -n "$dragndrop_proto" ; then | 6303 if test -n "$dragndrop_proto" ; then |
| 6486 with_dragndrop=yes | 6304 with_dragndrop=yes |
| 6487 echo "$ac_t""yes (${dragndrop_proto} )" 1>&6 | 6305 echo "$ac_t""yes (${dragndrop_proto} )" 1>&6 |
| 6488 { test "$extra_verbose" = "yes" && cat << \EOF | 6306 { test "$extra_verbose" = "yes" && cat << \EOF |
| 6499 echo "$ac_t""no" 1>&6 | 6317 echo "$ac_t""no" 1>&6 |
| 6500 fi | 6318 fi |
| 6501 fi | 6319 fi |
| 6502 | 6320 |
| 6503 echo "checking for LDAP" 1>&6 | 6321 echo "checking for LDAP" 1>&6 |
| 6504 echo "configure:6505: checking for LDAP" >&5 | 6322 echo "configure:6323: checking for LDAP" >&5 |
| 6505 test -z "$with_ldap" && { ac_safe=`echo "ldap.h" | sed 'y%./+-%__p_%'` | 6323 test -z "$with_ldap" && { ac_safe=`echo "ldap.h" | sed 'y%./+-%__p_%'` |
| 6506 echo $ac_n "checking for ldap.h""... $ac_c" 1>&6 | 6324 echo $ac_n "checking for ldap.h""... $ac_c" 1>&6 |
| 6507 echo "configure:6508: checking for ldap.h" >&5 | 6325 echo "configure:6326: checking for ldap.h" >&5 |
| 6508 | 6326 |
| 6509 cat > conftest.$ac_ext <<EOF | 6327 cat > conftest.$ac_ext <<EOF |
| 6510 #line 6511 "configure" | 6328 #line 6329 "configure" |
| 6511 #include "confdefs.h" | 6329 #include "confdefs.h" |
| 6512 #include <ldap.h> | 6330 #include <ldap.h> |
| 6513 EOF | 6331 EOF |
| 6514 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6332 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 6515 { (eval echo configure:6516: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6333 { (eval echo configure:6334: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 6516 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 6334 ac_err=`grep -v '^ *+' conftest.out` |
| 6517 if test -z "$ac_err"; then | 6335 if test -z "$ac_err"; then |
| 6518 rm -rf conftest* | 6336 rm -rf conftest* |
| 6519 eval "ac_cv_header_$ac_safe=yes" | 6337 eval "ac_cv_header_$ac_safe=yes" |
| 6520 else | 6338 else |
| 6521 echo "$ac_err" >&5 | 6339 echo "$ac_err" >&5 |
| 6533 with_ldap=no | 6351 with_ldap=no |
| 6534 fi | 6352 fi |
| 6535 } | 6353 } |
| 6536 test -z "$with_ldap" && { ac_safe=`echo "lber.h" | sed 'y%./+-%__p_%'` | 6354 test -z "$with_ldap" && { ac_safe=`echo "lber.h" | sed 'y%./+-%__p_%'` |
| 6537 echo $ac_n "checking for lber.h""... $ac_c" 1>&6 | 6355 echo $ac_n "checking for lber.h""... $ac_c" 1>&6 |
| 6538 echo "configure:6539: checking for lber.h" >&5 | 6356 echo "configure:6357: checking for lber.h" >&5 |
| 6539 | 6357 |
| 6540 cat > conftest.$ac_ext <<EOF | 6358 cat > conftest.$ac_ext <<EOF |
| 6541 #line 6542 "configure" | 6359 #line 6360 "configure" |
| 6542 #include "confdefs.h" | 6360 #include "confdefs.h" |
| 6543 #include <lber.h> | 6361 #include <lber.h> |
| 6544 EOF | 6362 EOF |
| 6545 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6363 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 6546 { (eval echo configure:6547: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6364 { (eval echo configure:6365: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 6547 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 6365 ac_err=`grep -v '^ *+' conftest.out` |
| 6548 if test -z "$ac_err"; then | 6366 if test -z "$ac_err"; then |
| 6549 rm -rf conftest* | 6367 rm -rf conftest* |
| 6550 eval "ac_cv_header_$ac_safe=yes" | 6368 eval "ac_cv_header_$ac_safe=yes" |
| 6551 else | 6369 else |
| 6552 echo "$ac_err" >&5 | 6370 echo "$ac_err" >&5 |
| 6567 if test "$with_ldap" != "no"; then | 6385 if test "$with_ldap" != "no"; then |
| 6568 test -z "$with_umich_ldap" && { | 6386 test -z "$with_umich_ldap" && { |
| 6569 xe_msg_checking="for ldap_open in -lldap" | 6387 xe_msg_checking="for ldap_open in -lldap" |
| 6570 test -n "-llber" && xe_msg_checking="$xe_msg_checking using extra libs -llber" | 6388 test -n "-llber" && xe_msg_checking="$xe_msg_checking using extra libs -llber" |
| 6571 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 6389 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
| 6572 echo "configure:6573: checking "$xe_msg_checking"" >&5 | 6390 echo "configure:6391: checking "$xe_msg_checking"" >&5 |
| 6573 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` | 6391 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` |
| 6574 | 6392 |
| 6575 xe_check_libs=" -lldap -llber" | 6393 xe_check_libs=" -lldap -llber" |
| 6576 cat > conftest.$ac_ext <<EOF | 6394 cat > conftest.$ac_ext <<EOF |
| 6577 #line 6578 "configure" | 6395 #line 6396 "configure" |
| 6578 #include "confdefs.h" | 6396 #include "confdefs.h" |
| 6579 /* Override any gcc2 internal prototype to avoid an error. */ | 6397 /* Override any gcc2 internal prototype to avoid an error. */ |
| 6580 /* We use char because int might match the return type of a gcc2 | 6398 /* We use char because int might match the return type of a gcc2 |
| 6581 builtin and then its argument prototype would still apply. */ | 6399 builtin and then its argument prototype would still apply. */ |
| 6582 char ldap_open(); | 6400 char ldap_open(); |
| 6583 | 6401 |
| 6584 int main() { | 6402 int main() { |
| 6585 ldap_open() | 6403 ldap_open() |
| 6586 ; return 0; } | 6404 ; return 0; } |
| 6587 EOF | 6405 EOF |
| 6588 if { (eval echo configure:6589: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6406 if { (eval echo configure:6407: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 6589 rm -rf conftest* | 6407 rm -rf conftest* |
| 6590 eval "ac_cv_lib_$ac_lib_var=yes" | 6408 eval "ac_cv_lib_$ac_lib_var=yes" |
| 6591 else | 6409 else |
| 6592 echo "configure: failed program was:" >&5 | 6410 echo "configure: failed program was:" >&5 |
| 6593 cat conftest.$ac_ext >&5 | 6411 cat conftest.$ac_ext >&5 |
| 6606 fi | 6424 fi |
| 6607 | 6425 |
| 6608 } | 6426 } |
| 6609 test "$with_umich_ldap" = "no" && { | 6427 test "$with_umich_ldap" = "no" && { |
| 6610 echo $ac_n "checking for ldap_set_option in -lldap10""... $ac_c" 1>&6 | 6428 echo $ac_n "checking for ldap_set_option in -lldap10""... $ac_c" 1>&6 |
| 6611 echo "configure:6612: checking for ldap_set_option in -lldap10" >&5 | 6429 echo "configure:6430: checking for ldap_set_option in -lldap10" >&5 |
| 6612 ac_lib_var=`echo ldap10'_'ldap_set_option | sed 'y%./+-%__p_%'` | 6430 ac_lib_var=`echo ldap10'_'ldap_set_option | sed 'y%./+-%__p_%'` |
| 6613 | 6431 |
| 6614 xe_check_libs=" -lldap10 " | 6432 xe_check_libs=" -lldap10 " |
| 6615 cat > conftest.$ac_ext <<EOF | 6433 cat > conftest.$ac_ext <<EOF |
| 6616 #line 6617 "configure" | 6434 #line 6435 "configure" |
| 6617 #include "confdefs.h" | 6435 #include "confdefs.h" |
| 6618 /* Override any gcc2 internal prototype to avoid an error. */ | 6436 /* Override any gcc2 internal prototype to avoid an error. */ |
| 6619 /* We use char because int might match the return type of a gcc2 | 6437 /* We use char because int might match the return type of a gcc2 |
| 6620 builtin and then its argument prototype would still apply. */ | 6438 builtin and then its argument prototype would still apply. */ |
| 6621 char ldap_set_option(); | 6439 char ldap_set_option(); |
| 6622 | 6440 |
| 6623 int main() { | 6441 int main() { |
| 6624 ldap_set_option() | 6442 ldap_set_option() |
| 6625 ; return 0; } | 6443 ; return 0; } |
| 6626 EOF | 6444 EOF |
| 6627 if { (eval echo configure:6628: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6445 if { (eval echo configure:6446: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 6628 rm -rf conftest* | 6446 rm -rf conftest* |
| 6629 eval "ac_cv_lib_$ac_lib_var=yes" | 6447 eval "ac_cv_lib_$ac_lib_var=yes" |
| 6630 else | 6448 else |
| 6631 echo "configure: failed program was:" >&5 | 6449 echo "configure: failed program was:" >&5 |
| 6632 cat conftest.$ac_ext >&5 | 6450 cat conftest.$ac_ext >&5 |
| 6686 fi | 6504 fi |
| 6687 | 6505 |
| 6688 | 6506 |
| 6689 if test "$window_system" != "none"; then | 6507 if test "$window_system" != "none"; then |
| 6690 echo "checking for graphics libraries" 1>&6 | 6508 echo "checking for graphics libraries" 1>&6 |
| 6691 echo "configure:6692: checking for graphics libraries" >&5 | 6509 echo "configure:6510: checking for graphics libraries" >&5 |
| 6692 | 6510 |
| 6693 xpm_problem="" | 6511 xpm_problem="" |
| 6694 if test -z "$with_xpm"; then | 6512 if test -z "$with_xpm"; then |
| 6695 echo $ac_n "checking for Xpm - no older than 3.4f""... $ac_c" 1>&6 | 6513 echo $ac_n "checking for Xpm - no older than 3.4f""... $ac_c" 1>&6 |
| 6696 echo "configure:6697: checking for Xpm - no older than 3.4f" >&5 | 6514 echo "configure:6515: checking for Xpm - no older than 3.4f" >&5 |
| 6697 xe_check_libs=-lXpm | 6515 xe_check_libs=-lXpm |
| 6698 cat > conftest.$ac_ext <<EOF | 6516 cat > conftest.$ac_ext <<EOF |
| 6699 #line 6700 "configure" | 6517 #line 6518 "configure" |
| 6700 #include "confdefs.h" | 6518 #include "confdefs.h" |
| 6701 #include <X11/xpm.h> | 6519 #include <X11/xpm.h> |
| 6702 int main(int c, char **v) { | 6520 int main(int c, char **v) { |
| 6703 return c == 1 ? 0 : | 6521 return c == 1 ? 0 : |
| 6704 XpmIncludeVersion != XpmLibraryVersion() ? 1 : | 6522 XpmIncludeVersion != XpmLibraryVersion() ? 1 : |
| 6705 XpmIncludeVersion < 30406 ? 2 : 0 ;} | 6523 XpmIncludeVersion < 30406 ? 2 : 0 ;} |
| 6706 EOF | 6524 EOF |
| 6707 if { (eval echo configure:6708: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 6525 if { (eval echo configure:6526: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
| 6708 then | 6526 then |
| 6709 ./conftest dummy_arg; xpm_status=$?; | 6527 ./conftest dummy_arg; xpm_status=$?; |
| 6710 if test "$xpm_status" = "0"; then | 6528 if test "$xpm_status" = "0"; then |
| 6711 with_xpm=yes; | 6529 with_xpm=yes; |
| 6712 else | 6530 else |
| 6744 EOF | 6562 EOF |
| 6745 } | 6563 } |
| 6746 | 6564 |
| 6747 libs_x="-lXpm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXpm\" to \$libs_x"; fi | 6565 libs_x="-lXpm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXpm\" to \$libs_x"; fi |
| 6748 echo $ac_n "checking for \"FOR_MSW\" xpm""... $ac_c" 1>&6 | 6566 echo $ac_n "checking for \"FOR_MSW\" xpm""... $ac_c" 1>&6 |
| 6749 echo "configure:6750: checking for \"FOR_MSW\" xpm" >&5 | 6567 echo "configure:6568: checking for \"FOR_MSW\" xpm" >&5 |
| 6750 xe_check_libs=-lXpm | 6568 xe_check_libs=-lXpm |
| 6751 cat > conftest.$ac_ext <<EOF | 6569 cat > conftest.$ac_ext <<EOF |
| 6752 #line 6753 "configure" | 6570 #line 6571 "configure" |
| 6753 #include "confdefs.h" | 6571 #include "confdefs.h" |
| 6754 | 6572 |
| 6755 int main() { | 6573 int main() { |
| 6756 XpmCreatePixmapFromData() | 6574 XpmCreatePixmapFromData() |
| 6757 ; return 0; } | 6575 ; return 0; } |
| 6758 EOF | 6576 EOF |
| 6759 if { (eval echo configure:6760: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6577 if { (eval echo configure:6578: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 6760 rm -rf conftest* | 6578 rm -rf conftest* |
| 6761 xpm_for_msw=no | 6579 xpm_for_msw=no |
| 6762 else | 6580 else |
| 6763 echo "configure: failed program was:" >&5 | 6581 echo "configure: failed program was:" >&5 |
| 6764 cat conftest.$ac_ext >&5 | 6582 cat conftest.$ac_ext >&5 |
| 6796 fi | 6614 fi |
| 6797 | 6615 |
| 6798 if test "$with_png $with_tiff" != "no no"; then | 6616 if test "$with_png $with_tiff" != "no no"; then |
| 6799 | 6617 |
| 6800 echo $ac_n "checking for inflate in -lc""... $ac_c" 1>&6 | 6618 echo $ac_n "checking for inflate in -lc""... $ac_c" 1>&6 |
| 6801 echo "configure:6802: checking for inflate in -lc" >&5 | 6619 echo "configure:6620: checking for inflate in -lc" >&5 |
| 6802 ac_lib_var=`echo c'_'inflate | sed 'y%./+-%__p_%'` | 6620 ac_lib_var=`echo c'_'inflate | sed 'y%./+-%__p_%'` |
| 6803 | 6621 |
| 6804 xe_check_libs=" -lc " | 6622 xe_check_libs=" -lc " |
| 6805 cat > conftest.$ac_ext <<EOF | 6623 cat > conftest.$ac_ext <<EOF |
| 6806 #line 6807 "configure" | 6624 #line 6625 "configure" |
| 6807 #include "confdefs.h" | 6625 #include "confdefs.h" |
| 6808 /* Override any gcc2 internal prototype to avoid an error. */ | 6626 /* Override any gcc2 internal prototype to avoid an error. */ |
| 6809 /* We use char because int might match the return type of a gcc2 | 6627 /* We use char because int might match the return type of a gcc2 |
| 6810 builtin and then its argument prototype would still apply. */ | 6628 builtin and then its argument prototype would still apply. */ |
| 6811 char inflate(); | 6629 char inflate(); |
| 6812 | 6630 |
| 6813 int main() { | 6631 int main() { |
| 6814 inflate() | 6632 inflate() |
| 6815 ; return 0; } | 6633 ; return 0; } |
| 6816 EOF | 6634 EOF |
| 6817 if { (eval echo configure:6818: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6635 if { (eval echo configure:6636: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 6818 rm -rf conftest* | 6636 rm -rf conftest* |
| 6819 eval "ac_cv_lib_$ac_lib_var=yes" | 6637 eval "ac_cv_lib_$ac_lib_var=yes" |
| 6820 else | 6638 else |
| 6821 echo "configure: failed program was:" >&5 | 6639 echo "configure: failed program was:" >&5 |
| 6822 cat conftest.$ac_ext >&5 | 6640 cat conftest.$ac_ext >&5 |
| 6831 : | 6649 : |
| 6832 else | 6650 else |
| 6833 echo "$ac_t""no" 1>&6 | 6651 echo "$ac_t""no" 1>&6 |
| 6834 | 6652 |
| 6835 echo $ac_n "checking for inflate in -lz""... $ac_c" 1>&6 | 6653 echo $ac_n "checking for inflate in -lz""... $ac_c" 1>&6 |
| 6836 echo "configure:6837: checking for inflate in -lz" >&5 | 6654 echo "configure:6655: checking for inflate in -lz" >&5 |
| 6837 ac_lib_var=`echo z'_'inflate | sed 'y%./+-%__p_%'` | 6655 ac_lib_var=`echo z'_'inflate | sed 'y%./+-%__p_%'` |
| 6838 | 6656 |
| 6839 xe_check_libs=" -lz " | 6657 xe_check_libs=" -lz " |
| 6840 cat > conftest.$ac_ext <<EOF | 6658 cat > conftest.$ac_ext <<EOF |
| 6841 #line 6842 "configure" | 6659 #line 6660 "configure" |
| 6842 #include "confdefs.h" | 6660 #include "confdefs.h" |
| 6843 /* Override any gcc2 internal prototype to avoid an error. */ | 6661 /* Override any gcc2 internal prototype to avoid an error. */ |
| 6844 /* We use char because int might match the return type of a gcc2 | 6662 /* We use char because int might match the return type of a gcc2 |
| 6845 builtin and then its argument prototype would still apply. */ | 6663 builtin and then its argument prototype would still apply. */ |
| 6846 char inflate(); | 6664 char inflate(); |
| 6847 | 6665 |
| 6848 int main() { | 6666 int main() { |
| 6849 inflate() | 6667 inflate() |
| 6850 ; return 0; } | 6668 ; return 0; } |
| 6851 EOF | 6669 EOF |
| 6852 if { (eval echo configure:6853: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6670 if { (eval echo configure:6671: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 6853 rm -rf conftest* | 6671 rm -rf conftest* |
| 6854 eval "ac_cv_lib_$ac_lib_var=yes" | 6672 eval "ac_cv_lib_$ac_lib_var=yes" |
| 6855 else | 6673 else |
| 6856 echo "configure: failed program was:" >&5 | 6674 echo "configure: failed program was:" >&5 |
| 6857 cat conftest.$ac_ext >&5 | 6675 cat conftest.$ac_ext >&5 |
| 6866 libs_x="-lz $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lz\" to \$libs_x"; fi | 6684 libs_x="-lz $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lz\" to \$libs_x"; fi |
| 6867 else | 6685 else |
| 6868 echo "$ac_t""no" 1>&6 | 6686 echo "$ac_t""no" 1>&6 |
| 6869 | 6687 |
| 6870 echo $ac_n "checking for inflate in -lgz""... $ac_c" 1>&6 | 6688 echo $ac_n "checking for inflate in -lgz""... $ac_c" 1>&6 |
| 6871 echo "configure:6872: checking for inflate in -lgz" >&5 | 6689 echo "configure:6690: checking for inflate in -lgz" >&5 |
| 6872 ac_lib_var=`echo gz'_'inflate | sed 'y%./+-%__p_%'` | 6690 ac_lib_var=`echo gz'_'inflate | sed 'y%./+-%__p_%'` |
| 6873 | 6691 |
| 6874 xe_check_libs=" -lgz " | 6692 xe_check_libs=" -lgz " |
| 6875 cat > conftest.$ac_ext <<EOF | 6693 cat > conftest.$ac_ext <<EOF |
| 6876 #line 6877 "configure" | 6694 #line 6695 "configure" |
| 6877 #include "confdefs.h" | 6695 #include "confdefs.h" |
| 6878 /* Override any gcc2 internal prototype to avoid an error. */ | 6696 /* Override any gcc2 internal prototype to avoid an error. */ |
| 6879 /* We use char because int might match the return type of a gcc2 | 6697 /* We use char because int might match the return type of a gcc2 |
| 6880 builtin and then its argument prototype would still apply. */ | 6698 builtin and then its argument prototype would still apply. */ |
| 6881 char inflate(); | 6699 char inflate(); |
| 6882 | 6700 |
| 6883 int main() { | 6701 int main() { |
| 6884 inflate() | 6702 inflate() |
| 6885 ; return 0; } | 6703 ; return 0; } |
| 6886 EOF | 6704 EOF |
| 6887 if { (eval echo configure:6888: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6705 if { (eval echo configure:6706: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 6888 rm -rf conftest* | 6706 rm -rf conftest* |
| 6889 eval "ac_cv_lib_$ac_lib_var=yes" | 6707 eval "ac_cv_lib_$ac_lib_var=yes" |
| 6890 else | 6708 else |
| 6891 echo "configure: failed program was:" >&5 | 6709 echo "configure: failed program was:" >&5 |
| 6892 cat conftest.$ac_ext >&5 | 6710 cat conftest.$ac_ext >&5 |
| 6912 | 6730 |
| 6913 fi | 6731 fi |
| 6914 | 6732 |
| 6915 test -z "$with_jpeg" && { ac_safe=`echo "jpeglib.h" | sed 'y%./+-%__p_%'` | 6733 test -z "$with_jpeg" && { ac_safe=`echo "jpeglib.h" | sed 'y%./+-%__p_%'` |
| 6916 echo $ac_n "checking for jpeglib.h""... $ac_c" 1>&6 | 6734 echo $ac_n "checking for jpeglib.h""... $ac_c" 1>&6 |
| 6917 echo "configure:6918: checking for jpeglib.h" >&5 | 6735 echo "configure:6736: checking for jpeglib.h" >&5 |
| 6918 | 6736 |
| 6919 cat > conftest.$ac_ext <<EOF | 6737 cat > conftest.$ac_ext <<EOF |
| 6920 #line 6921 "configure" | 6738 #line 6739 "configure" |
| 6921 #include "confdefs.h" | 6739 #include "confdefs.h" |
| 6922 #include <jpeglib.h> | 6740 #include <jpeglib.h> |
| 6923 EOF | 6741 EOF |
| 6924 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6742 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 6925 { (eval echo configure:6926: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6743 { (eval echo configure:6744: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 6926 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 6744 ac_err=`grep -v '^ *+' conftest.out` |
| 6927 if test -z "$ac_err"; then | 6745 if test -z "$ac_err"; then |
| 6928 rm -rf conftest* | 6746 rm -rf conftest* |
| 6929 eval "ac_cv_header_$ac_safe=yes" | 6747 eval "ac_cv_header_$ac_safe=yes" |
| 6930 else | 6748 else |
| 6931 echo "$ac_err" >&5 | 6749 echo "$ac_err" >&5 |
| 6943 with_jpeg=no | 6761 with_jpeg=no |
| 6944 fi | 6762 fi |
| 6945 } | 6763 } |
| 6946 test -z "$with_jpeg" && { | 6764 test -z "$with_jpeg" && { |
| 6947 echo $ac_n "checking for jpeg_destroy_decompress in -ljpeg""... $ac_c" 1>&6 | 6765 echo $ac_n "checking for jpeg_destroy_decompress in -ljpeg""... $ac_c" 1>&6 |
| 6948 echo "configure:6949: checking for jpeg_destroy_decompress in -ljpeg" >&5 | 6766 echo "configure:6767: checking for jpeg_destroy_decompress in -ljpeg" >&5 |
| 6949 ac_lib_var=`echo jpeg'_'jpeg_destroy_decompress | sed 'y%./+-%__p_%'` | 6767 ac_lib_var=`echo jpeg'_'jpeg_destroy_decompress | sed 'y%./+-%__p_%'` |
| 6950 | 6768 |
| 6951 xe_check_libs=" -ljpeg " | 6769 xe_check_libs=" -ljpeg " |
| 6952 cat > conftest.$ac_ext <<EOF | 6770 cat > conftest.$ac_ext <<EOF |
| 6953 #line 6954 "configure" | 6771 #line 6772 "configure" |
| 6954 #include "confdefs.h" | 6772 #include "confdefs.h" |
| 6955 /* Override any gcc2 internal prototype to avoid an error. */ | 6773 /* Override any gcc2 internal prototype to avoid an error. */ |
| 6956 /* We use char because int might match the return type of a gcc2 | 6774 /* We use char because int might match the return type of a gcc2 |
| 6957 builtin and then its argument prototype would still apply. */ | 6775 builtin and then its argument prototype would still apply. */ |
| 6958 char jpeg_destroy_decompress(); | 6776 char jpeg_destroy_decompress(); |
| 6959 | 6777 |
| 6960 int main() { | 6778 int main() { |
| 6961 jpeg_destroy_decompress() | 6779 jpeg_destroy_decompress() |
| 6962 ; return 0; } | 6780 ; return 0; } |
| 6963 EOF | 6781 EOF |
| 6964 if { (eval echo configure:6965: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6782 if { (eval echo configure:6783: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 6965 rm -rf conftest* | 6783 rm -rf conftest* |
| 6966 eval "ac_cv_lib_$ac_lib_var=yes" | 6784 eval "ac_cv_lib_$ac_lib_var=yes" |
| 6967 else | 6785 else |
| 6968 echo "configure: failed program was:" >&5 | 6786 echo "configure: failed program was:" >&5 |
| 6969 cat conftest.$ac_ext >&5 | 6787 cat conftest.$ac_ext >&5 |
| 6995 libs_x="-ljpeg $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-ljpeg\" to \$libs_x"; fi | 6813 libs_x="-ljpeg $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-ljpeg\" to \$libs_x"; fi |
| 6996 fi | 6814 fi |
| 6997 | 6815 |
| 6998 png_problem="" | 6816 png_problem="" |
| 6999 test -z "$with_png" && { echo $ac_n "checking for pow""... $ac_c" 1>&6 | 6817 test -z "$with_png" && { echo $ac_n "checking for pow""... $ac_c" 1>&6 |
| 7000 echo "configure:7001: checking for pow" >&5 | 6818 echo "configure:6819: checking for pow" >&5 |
| 7001 | 6819 |
| 7002 cat > conftest.$ac_ext <<EOF | 6820 cat > conftest.$ac_ext <<EOF |
| 7003 #line 7004 "configure" | 6821 #line 6822 "configure" |
| 7004 #include "confdefs.h" | 6822 #include "confdefs.h" |
| 7005 /* System header to define __stub macros and hopefully few prototypes, | 6823 /* System header to define __stub macros and hopefully few prototypes, |
| 7006 which can conflict with char pow(); below. */ | 6824 which can conflict with char pow(); below. */ |
| 7007 #include <assert.h> | 6825 #include <assert.h> |
| 7008 /* Override any gcc2 internal prototype to avoid an error. */ | 6826 /* Override any gcc2 internal prototype to avoid an error. */ |
| 7021 pow(); | 6839 pow(); |
| 7022 #endif | 6840 #endif |
| 7023 | 6841 |
| 7024 ; return 0; } | 6842 ; return 0; } |
| 7025 EOF | 6843 EOF |
| 7026 if { (eval echo configure:7027: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6844 if { (eval echo configure:6845: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 7027 rm -rf conftest* | 6845 rm -rf conftest* |
| 7028 eval "ac_cv_func_pow=yes" | 6846 eval "ac_cv_func_pow=yes" |
| 7029 else | 6847 else |
| 7030 echo "configure: failed program was:" >&5 | 6848 echo "configure: failed program was:" >&5 |
| 7031 cat conftest.$ac_ext >&5 | 6849 cat conftest.$ac_ext >&5 |
| 7042 with_png=no | 6860 with_png=no |
| 7043 fi | 6861 fi |
| 7044 } | 6862 } |
| 7045 test -z "$with_png" && { ac_safe=`echo "png.h" | sed 'y%./+-%__p_%'` | 6863 test -z "$with_png" && { ac_safe=`echo "png.h" | sed 'y%./+-%__p_%'` |
| 7046 echo $ac_n "checking for png.h""... $ac_c" 1>&6 | 6864 echo $ac_n "checking for png.h""... $ac_c" 1>&6 |
| 7047 echo "configure:7048: checking for png.h" >&5 | 6865 echo "configure:6866: checking for png.h" >&5 |
| 7048 | 6866 |
| 7049 cat > conftest.$ac_ext <<EOF | 6867 cat > conftest.$ac_ext <<EOF |
| 7050 #line 7051 "configure" | 6868 #line 6869 "configure" |
| 7051 #include "confdefs.h" | 6869 #include "confdefs.h" |
| 7052 #include <png.h> | 6870 #include <png.h> |
| 7053 EOF | 6871 EOF |
| 7054 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6872 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 7055 { (eval echo configure:7056: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6873 { (eval echo configure:6874: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 7056 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 6874 ac_err=`grep -v '^ *+' conftest.out` |
| 7057 if test -z "$ac_err"; then | 6875 if test -z "$ac_err"; then |
| 7058 rm -rf conftest* | 6876 rm -rf conftest* |
| 7059 eval "ac_cv_header_$ac_safe=yes" | 6877 eval "ac_cv_header_$ac_safe=yes" |
| 7060 else | 6878 else |
| 7061 echo "$ac_err" >&5 | 6879 echo "$ac_err" >&5 |
| 7073 with_png=no | 6891 with_png=no |
| 7074 fi | 6892 fi |
| 7075 } | 6893 } |
| 7076 test -z "$with_png" && { | 6894 test -z "$with_png" && { |
| 7077 echo $ac_n "checking for png_read_image in -lpng""... $ac_c" 1>&6 | 6895 echo $ac_n "checking for png_read_image in -lpng""... $ac_c" 1>&6 |
| 7078 echo "configure:7079: checking for png_read_image in -lpng" >&5 | 6896 echo "configure:6897: checking for png_read_image in -lpng" >&5 |
| 7079 ac_lib_var=`echo png'_'png_read_image | sed 'y%./+-%__p_%'` | 6897 ac_lib_var=`echo png'_'png_read_image | sed 'y%./+-%__p_%'` |
| 7080 | 6898 |
| 7081 xe_check_libs=" -lpng " | 6899 xe_check_libs=" -lpng " |
| 7082 cat > conftest.$ac_ext <<EOF | 6900 cat > conftest.$ac_ext <<EOF |
| 7083 #line 7084 "configure" | 6901 #line 6902 "configure" |
| 7084 #include "confdefs.h" | 6902 #include "confdefs.h" |
| 7085 /* Override any gcc2 internal prototype to avoid an error. */ | 6903 /* Override any gcc2 internal prototype to avoid an error. */ |
| 7086 /* We use char because int might match the return type of a gcc2 | 6904 /* We use char because int might match the return type of a gcc2 |
| 7087 builtin and then its argument prototype would still apply. */ | 6905 builtin and then its argument prototype would still apply. */ |
| 7088 char png_read_image(); | 6906 char png_read_image(); |
| 7089 | 6907 |
| 7090 int main() { | 6908 int main() { |
| 7091 png_read_image() | 6909 png_read_image() |
| 7092 ; return 0; } | 6910 ; return 0; } |
| 7093 EOF | 6911 EOF |
| 7094 if { (eval echo configure:7095: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6912 if { (eval echo configure:6913: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 7095 rm -rf conftest* | 6913 rm -rf conftest* |
| 7096 eval "ac_cv_lib_$ac_lib_var=yes" | 6914 eval "ac_cv_lib_$ac_lib_var=yes" |
| 7097 else | 6915 else |
| 7098 echo "configure: failed program was:" >&5 | 6916 echo "configure: failed program was:" >&5 |
| 7099 cat conftest.$ac_ext >&5 | 6917 cat conftest.$ac_ext >&5 |
| 7112 fi | 6930 fi |
| 7113 | 6931 |
| 7114 } | 6932 } |
| 7115 if test -z "$with_png"; then | 6933 if test -z "$with_png"; then |
| 7116 echo $ac_n "checking for workable png version information""... $ac_c" 1>&6 | 6934 echo $ac_n "checking for workable png version information""... $ac_c" 1>&6 |
| 7117 echo "configure:7118: checking for workable png version information" >&5 | 6935 echo "configure:6936: checking for workable png version information" >&5 |
| 7118 xe_check_libs="-lpng -lz" | 6936 xe_check_libs="-lpng -lz" |
| 7119 cat > conftest.$ac_ext <<EOF | 6937 cat > conftest.$ac_ext <<EOF |
| 7120 #line 7121 "configure" | 6938 #line 6939 "configure" |
| 7121 #include "confdefs.h" | 6939 #include "confdefs.h" |
| 7122 #include <png.h> | 6940 #include <png.h> |
| 7123 int main(int c, char **v) { | 6941 int main(int c, char **v) { |
| 7124 if (c == 1) return 0; | 6942 if (c == 1) return 0; |
| 7125 if (strcmp(png_libpng_ver, PNG_LIBPNG_VER_STRING) != 0) return 1; | 6943 if (strcmp(png_libpng_ver, PNG_LIBPNG_VER_STRING) != 0) return 1; |
| 7126 return (PNG_LIBPNG_VER < 10002) ? 2 : 0 ;} | 6944 return (PNG_LIBPNG_VER < 10002) ? 2 : 0 ;} |
| 7127 EOF | 6945 EOF |
| 7128 if { (eval echo configure:7129: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 6946 if { (eval echo configure:6947: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
| 7129 then | 6947 then |
| 7130 ./conftest dummy_arg; png_status=$?; | 6948 ./conftest dummy_arg; png_status=$?; |
| 7131 if test "$png_status" = "0"; then | 6949 if test "$png_status" = "0"; then |
| 7132 with_png=yes; | 6950 with_png=yes; |
| 7133 else | 6951 else |
| 7166 libs_x="-lpng $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lpng\" to \$libs_x"; fi | 6984 libs_x="-lpng $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lpng\" to \$libs_x"; fi |
| 7167 fi | 6985 fi |
| 7168 | 6986 |
| 7169 test -z "$with_tiff" && { ac_safe=`echo "tiffio.h" | sed 'y%./+-%__p_%'` | 6987 test -z "$with_tiff" && { ac_safe=`echo "tiffio.h" | sed 'y%./+-%__p_%'` |
| 7170 echo $ac_n "checking for tiffio.h""... $ac_c" 1>&6 | 6988 echo $ac_n "checking for tiffio.h""... $ac_c" 1>&6 |
| 7171 echo "configure:7172: checking for tiffio.h" >&5 | 6989 echo "configure:6990: checking for tiffio.h" >&5 |
| 7172 | 6990 |
| 7173 cat > conftest.$ac_ext <<EOF | 6991 cat > conftest.$ac_ext <<EOF |
| 7174 #line 7175 "configure" | 6992 #line 6993 "configure" |
| 7175 #include "confdefs.h" | 6993 #include "confdefs.h" |
| 7176 #include <tiffio.h> | 6994 #include <tiffio.h> |
| 7177 EOF | 6995 EOF |
| 7178 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6996 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 7179 { (eval echo configure:7180: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6997 { (eval echo configure:6998: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 7180 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 6998 ac_err=`grep -v '^ *+' conftest.out` |
| 7181 if test -z "$ac_err"; then | 6999 if test -z "$ac_err"; then |
| 7182 rm -rf conftest* | 7000 rm -rf conftest* |
| 7183 eval "ac_cv_header_$ac_safe=yes" | 7001 eval "ac_cv_header_$ac_safe=yes" |
| 7184 else | 7002 else |
| 7185 echo "$ac_err" >&5 | 7003 echo "$ac_err" >&5 |
| 7197 with_tiff=no | 7015 with_tiff=no |
| 7198 fi | 7016 fi |
| 7199 } | 7017 } |
| 7200 test -z "$with_tiff" && { | 7018 test -z "$with_tiff" && { |
| 7201 echo $ac_n "checking for TIFFClientOpen in -ltiff""... $ac_c" 1>&6 | 7019 echo $ac_n "checking for TIFFClientOpen in -ltiff""... $ac_c" 1>&6 |
| 7202 echo "configure:7203: checking for TIFFClientOpen in -ltiff" >&5 | 7020 echo "configure:7021: checking for TIFFClientOpen in -ltiff" >&5 |
| 7203 ac_lib_var=`echo tiff'_'TIFFClientOpen | sed 'y%./+-%__p_%'` | 7021 ac_lib_var=`echo tiff'_'TIFFClientOpen | sed 'y%./+-%__p_%'` |
| 7204 | 7022 |
| 7205 xe_check_libs=" -ltiff " | 7023 xe_check_libs=" -ltiff " |
| 7206 cat > conftest.$ac_ext <<EOF | 7024 cat > conftest.$ac_ext <<EOF |
| 7207 #line 7208 "configure" | 7025 #line 7026 "configure" |
| 7208 #include "confdefs.h" | 7026 #include "confdefs.h" |
| 7209 /* Override any gcc2 internal prototype to avoid an error. */ | 7027 /* Override any gcc2 internal prototype to avoid an error. */ |
| 7210 /* We use char because int might match the return type of a gcc2 | 7028 /* We use char because int might match the return type of a gcc2 |
| 7211 builtin and then its argument prototype would still apply. */ | 7029 builtin and then its argument prototype would still apply. */ |
| 7212 char TIFFClientOpen(); | 7030 char TIFFClientOpen(); |
| 7213 | 7031 |
| 7214 int main() { | 7032 int main() { |
| 7215 TIFFClientOpen() | 7033 TIFFClientOpen() |
| 7216 ; return 0; } | 7034 ; return 0; } |
| 7217 EOF | 7035 EOF |
| 7218 if { (eval echo configure:7219: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7036 if { (eval echo configure:7037: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 7219 rm -rf conftest* | 7037 rm -rf conftest* |
| 7220 eval "ac_cv_lib_$ac_lib_var=yes" | 7038 eval "ac_cv_lib_$ac_lib_var=yes" |
| 7221 else | 7039 else |
| 7222 echo "configure: failed program was:" >&5 | 7040 echo "configure: failed program was:" >&5 |
| 7223 cat conftest.$ac_ext >&5 | 7041 cat conftest.$ac_ext >&5 |
| 7252 | 7070 |
| 7253 | 7071 |
| 7254 if test "$with_x11" = "yes"; then | 7072 if test "$with_x11" = "yes"; then |
| 7255 | 7073 |
| 7256 echo "checking for X11 graphics libraries" 1>&6 | 7074 echo "checking for X11 graphics libraries" 1>&6 |
| 7257 echo "configure:7258: checking for X11 graphics libraries" >&5 | 7075 echo "configure:7076: checking for X11 graphics libraries" >&5 |
| 7258 | 7076 |
| 7259 test -z "$with_xface" && { ac_safe=`echo "compface.h" | sed 'y%./+-%__p_%'` | 7077 test -z "$with_xface" && { ac_safe=`echo "compface.h" | sed 'y%./+-%__p_%'` |
| 7260 echo $ac_n "checking for compface.h""... $ac_c" 1>&6 | 7078 echo $ac_n "checking for compface.h""... $ac_c" 1>&6 |
| 7261 echo "configure:7262: checking for compface.h" >&5 | 7079 echo "configure:7080: checking for compface.h" >&5 |
| 7262 | 7080 |
| 7263 cat > conftest.$ac_ext <<EOF | 7081 cat > conftest.$ac_ext <<EOF |
| 7264 #line 7265 "configure" | 7082 #line 7083 "configure" |
| 7265 #include "confdefs.h" | 7083 #include "confdefs.h" |
| 7266 #include <compface.h> | 7084 #include <compface.h> |
| 7267 EOF | 7085 EOF |
| 7268 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7086 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 7269 { (eval echo configure:7270: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7087 { (eval echo configure:7088: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 7270 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 7088 ac_err=`grep -v '^ *+' conftest.out` |
| 7271 if test -z "$ac_err"; then | 7089 if test -z "$ac_err"; then |
| 7272 rm -rf conftest* | 7090 rm -rf conftest* |
| 7273 eval "ac_cv_header_$ac_safe=yes" | 7091 eval "ac_cv_header_$ac_safe=yes" |
| 7274 else | 7092 else |
| 7275 echo "$ac_err" >&5 | 7093 echo "$ac_err" >&5 |
| 7287 with_xface=no | 7105 with_xface=no |
| 7288 fi | 7106 fi |
| 7289 } | 7107 } |
| 7290 test -z "$with_xface" && { | 7108 test -z "$with_xface" && { |
| 7291 echo $ac_n "checking for UnGenFace in -lcompface""... $ac_c" 1>&6 | 7109 echo $ac_n "checking for UnGenFace in -lcompface""... $ac_c" 1>&6 |
| 7292 echo "configure:7293: checking for UnGenFace in -lcompface" >&5 | 7110 echo "configure:7111: checking for UnGenFace in -lcompface" >&5 |
| 7293 ac_lib_var=`echo compface'_'UnGenFace | sed 'y%./+-%__p_%'` | 7111 ac_lib_var=`echo compface'_'UnGenFace | sed 'y%./+-%__p_%'` |
| 7294 | 7112 |
| 7295 xe_check_libs=" -lcompface " | 7113 xe_check_libs=" -lcompface " |
| 7296 cat > conftest.$ac_ext <<EOF | 7114 cat > conftest.$ac_ext <<EOF |
| 7297 #line 7298 "configure" | 7115 #line 7116 "configure" |
| 7298 #include "confdefs.h" | 7116 #include "confdefs.h" |
| 7299 /* Override any gcc2 internal prototype to avoid an error. */ | 7117 /* Override any gcc2 internal prototype to avoid an error. */ |
| 7300 /* We use char because int might match the return type of a gcc2 | 7118 /* We use char because int might match the return type of a gcc2 |
| 7301 builtin and then its argument prototype would still apply. */ | 7119 builtin and then its argument prototype would still apply. */ |
| 7302 char UnGenFace(); | 7120 char UnGenFace(); |
| 7303 | 7121 |
| 7304 int main() { | 7122 int main() { |
| 7305 UnGenFace() | 7123 UnGenFace() |
| 7306 ; return 0; } | 7124 ; return 0; } |
| 7307 EOF | 7125 EOF |
| 7308 if { (eval echo configure:7309: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7126 if { (eval echo configure:7127: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 7309 rm -rf conftest* | 7127 rm -rf conftest* |
| 7310 eval "ac_cv_lib_$ac_lib_var=yes" | 7128 eval "ac_cv_lib_$ac_lib_var=yes" |
| 7311 else | 7129 else |
| 7312 echo "configure: failed program was:" >&5 | 7130 echo "configure: failed program was:" >&5 |
| 7313 cat conftest.$ac_ext >&5 | 7131 cat conftest.$ac_ext >&5 |
| 7339 libs_x="-lcompface $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lcompface\" to \$libs_x"; fi | 7157 libs_x="-lcompface $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lcompface\" to \$libs_x"; fi |
| 7340 fi | 7158 fi |
| 7341 | 7159 |
| 7342 | 7160 |
| 7343 echo $ac_n "checking for XawScrollbarSetThumb in -lXaw""... $ac_c" 1>&6 | 7161 echo $ac_n "checking for XawScrollbarSetThumb in -lXaw""... $ac_c" 1>&6 |
| 7344 echo "configure:7345: checking for XawScrollbarSetThumb in -lXaw" >&5 | 7162 echo "configure:7163: checking for XawScrollbarSetThumb in -lXaw" >&5 |
| 7345 ac_lib_var=`echo Xaw'_'XawScrollbarSetThumb | sed 'y%./+-%__p_%'` | 7163 ac_lib_var=`echo Xaw'_'XawScrollbarSetThumb | sed 'y%./+-%__p_%'` |
| 7346 | 7164 |
| 7347 xe_check_libs=" -lXaw " | 7165 xe_check_libs=" -lXaw " |
| 7348 cat > conftest.$ac_ext <<EOF | 7166 cat > conftest.$ac_ext <<EOF |
| 7349 #line 7350 "configure" | 7167 #line 7168 "configure" |
| 7350 #include "confdefs.h" | 7168 #include "confdefs.h" |
| 7351 /* Override any gcc2 internal prototype to avoid an error. */ | 7169 /* Override any gcc2 internal prototype to avoid an error. */ |
| 7352 /* We use char because int might match the return type of a gcc2 | 7170 /* We use char because int might match the return type of a gcc2 |
| 7353 builtin and then its argument prototype would still apply. */ | 7171 builtin and then its argument prototype would still apply. */ |
| 7354 char XawScrollbarSetThumb(); | 7172 char XawScrollbarSetThumb(); |
| 7355 | 7173 |
| 7356 int main() { | 7174 int main() { |
| 7357 XawScrollbarSetThumb() | 7175 XawScrollbarSetThumb() |
| 7358 ; return 0; } | 7176 ; return 0; } |
| 7359 EOF | 7177 EOF |
| 7360 if { (eval echo configure:7361: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7178 if { (eval echo configure:7179: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 7361 rm -rf conftest* | 7179 rm -rf conftest* |
| 7362 eval "ac_cv_lib_$ac_lib_var=yes" | 7180 eval "ac_cv_lib_$ac_lib_var=yes" |
| 7363 else | 7181 else |
| 7364 echo "configure: failed program was:" >&5 | 7182 echo "configure: failed program was:" >&5 |
| 7365 cat conftest.$ac_ext >&5 | 7183 cat conftest.$ac_ext >&5 |
| 7379 | 7197 |
| 7380 | 7198 |
| 7381 | 7199 |
| 7382 ac_safe=`echo "Xm/Xm.h" | sed 'y%./+-%__p_%'` | 7200 ac_safe=`echo "Xm/Xm.h" | sed 'y%./+-%__p_%'` |
| 7383 echo $ac_n "checking for Xm/Xm.h""... $ac_c" 1>&6 | 7201 echo $ac_n "checking for Xm/Xm.h""... $ac_c" 1>&6 |
| 7384 echo "configure:7385: checking for Xm/Xm.h" >&5 | 7202 echo "configure:7203: checking for Xm/Xm.h" >&5 |
| 7385 | 7203 |
| 7386 cat > conftest.$ac_ext <<EOF | 7204 cat > conftest.$ac_ext <<EOF |
| 7387 #line 7388 "configure" | 7205 #line 7206 "configure" |
| 7388 #include "confdefs.h" | 7206 #include "confdefs.h" |
| 7389 #include <Xm/Xm.h> | 7207 #include <Xm/Xm.h> |
| 7390 EOF | 7208 EOF |
| 7391 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7209 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 7392 { (eval echo configure:7393: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7210 { (eval echo configure:7211: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 7393 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 7211 ac_err=`grep -v '^ *+' conftest.out` |
| 7394 if test -z "$ac_err"; then | 7212 if test -z "$ac_err"; then |
| 7395 rm -rf conftest* | 7213 rm -rf conftest* |
| 7396 eval "ac_cv_header_$ac_safe=yes" | 7214 eval "ac_cv_header_$ac_safe=yes" |
| 7397 else | 7215 else |
| 7398 echo "$ac_err" >&5 | 7216 echo "$ac_err" >&5 |
| 7404 rm -f conftest* | 7222 rm -f conftest* |
| 7405 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 7223 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
| 7406 echo "$ac_t""yes" 1>&6 | 7224 echo "$ac_t""yes" 1>&6 |
| 7407 | 7225 |
| 7408 echo $ac_n "checking for XmStringFree in -lXm""... $ac_c" 1>&6 | 7226 echo $ac_n "checking for XmStringFree in -lXm""... $ac_c" 1>&6 |
| 7409 echo "configure:7410: checking for XmStringFree in -lXm" >&5 | 7227 echo "configure:7228: checking for XmStringFree in -lXm" >&5 |
| 7410 ac_lib_var=`echo Xm'_'XmStringFree | sed 'y%./+-%__p_%'` | 7228 ac_lib_var=`echo Xm'_'XmStringFree | sed 'y%./+-%__p_%'` |
| 7411 | 7229 |
| 7412 xe_check_libs=" -lXm " | 7230 xe_check_libs=" -lXm " |
| 7413 cat > conftest.$ac_ext <<EOF | 7231 cat > conftest.$ac_ext <<EOF |
| 7414 #line 7415 "configure" | 7232 #line 7233 "configure" |
| 7415 #include "confdefs.h" | 7233 #include "confdefs.h" |
| 7416 /* Override any gcc2 internal prototype to avoid an error. */ | 7234 /* Override any gcc2 internal prototype to avoid an error. */ |
| 7417 /* We use char because int might match the return type of a gcc2 | 7235 /* We use char because int might match the return type of a gcc2 |
| 7418 builtin and then its argument prototype would still apply. */ | 7236 builtin and then its argument prototype would still apply. */ |
| 7419 char XmStringFree(); | 7237 char XmStringFree(); |
| 7420 | 7238 |
| 7421 int main() { | 7239 int main() { |
| 7422 XmStringFree() | 7240 XmStringFree() |
| 7423 ; return 0; } | 7241 ; return 0; } |
| 7424 EOF | 7242 EOF |
| 7425 if { (eval echo configure:7426: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7243 if { (eval echo configure:7244: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 7426 rm -rf conftest* | 7244 rm -rf conftest* |
| 7427 eval "ac_cv_lib_$ac_lib_var=yes" | 7245 eval "ac_cv_lib_$ac_lib_var=yes" |
| 7428 else | 7246 else |
| 7429 echo "configure: failed program was:" >&5 | 7247 echo "configure: failed program was:" >&5 |
| 7430 cat conftest.$ac_ext >&5 | 7248 cat conftest.$ac_ext >&5 |
| 7449 fi | 7267 fi |
| 7450 | 7268 |
| 7451 | 7269 |
| 7452 if test "$have_motif" = "yes"; then | 7270 if test "$have_motif" = "yes"; then |
| 7453 echo $ac_n "checking for Lesstif""... $ac_c" 1>&6 | 7271 echo $ac_n "checking for Lesstif""... $ac_c" 1>&6 |
| 7454 echo "configure:7455: checking for Lesstif" >&5 | 7272 echo "configure:7273: checking for Lesstif" >&5 |
| 7455 cat > conftest.$ac_ext <<EOF | 7273 cat > conftest.$ac_ext <<EOF |
| 7456 #line 7457 "configure" | 7274 #line 7275 "configure" |
| 7457 #include "confdefs.h" | 7275 #include "confdefs.h" |
| 7458 #include <Xm/Xm.h> | 7276 #include <Xm/Xm.h> |
| 7459 #ifdef LESSTIF_VERSION | 7277 #ifdef LESSTIF_VERSION |
| 7460 yes | 7278 yes |
| 7461 #endif | 7279 #endif |
| 7735 fi | 7553 fi |
| 7736 fi | 7554 fi |
| 7737 | 7555 |
| 7738 if test "$with_mule" = "yes" ; then | 7556 if test "$with_mule" = "yes" ; then |
| 7739 echo "checking for Mule-related features" 1>&6 | 7557 echo "checking for Mule-related features" 1>&6 |
| 7740 echo "configure:7741: checking for Mule-related features" >&5 | 7558 echo "configure:7559: checking for Mule-related features" >&5 |
| 7741 { test "$extra_verbose" = "yes" && cat << \EOF | 7559 { test "$extra_verbose" = "yes" && cat << \EOF |
| 7742 Defining MULE | 7560 Defining MULE |
| 7743 EOF | 7561 EOF |
| 7744 cat >> confdefs.h <<\EOF | 7562 cat >> confdefs.h <<\EOF |
| 7745 #define MULE 1 | 7563 #define MULE 1 |
| 7760 | 7578 |
| 7761 for ac_hdr in libintl.h | 7579 for ac_hdr in libintl.h |
| 7762 do | 7580 do |
| 7763 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 7581 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
| 7764 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 7582 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
| 7765 echo "configure:7766: checking for $ac_hdr" >&5 | 7583 echo "configure:7584: checking for $ac_hdr" >&5 |
| 7766 | 7584 |
| 7767 cat > conftest.$ac_ext <<EOF | 7585 cat > conftest.$ac_ext <<EOF |
| 7768 #line 7769 "configure" | 7586 #line 7587 "configure" |
| 7769 #include "confdefs.h" | 7587 #include "confdefs.h" |
| 7770 #include <$ac_hdr> | 7588 #include <$ac_hdr> |
| 7771 EOF | 7589 EOF |
| 7772 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7590 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 7773 { (eval echo configure:7774: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7591 { (eval echo configure:7592: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 7774 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 7592 ac_err=`grep -v '^ *+' conftest.out` |
| 7775 if test -z "$ac_err"; then | 7593 if test -z "$ac_err"; then |
| 7776 rm -rf conftest* | 7594 rm -rf conftest* |
| 7777 eval "ac_cv_header_$ac_safe=yes" | 7595 eval "ac_cv_header_$ac_safe=yes" |
| 7778 else | 7596 else |
| 7779 echo "$ac_err" >&5 | 7597 echo "$ac_err" >&5 |
| 7799 fi | 7617 fi |
| 7800 done | 7618 done |
| 7801 | 7619 |
| 7802 | 7620 |
| 7803 echo $ac_n "checking for strerror in -lintl""... $ac_c" 1>&6 | 7621 echo $ac_n "checking for strerror in -lintl""... $ac_c" 1>&6 |
| 7804 echo "configure:7805: checking for strerror in -lintl" >&5 | 7622 echo "configure:7623: checking for strerror in -lintl" >&5 |
| 7805 ac_lib_var=`echo intl'_'strerror | sed 'y%./+-%__p_%'` | 7623 ac_lib_var=`echo intl'_'strerror | sed 'y%./+-%__p_%'` |
| 7806 | 7624 |
| 7807 xe_check_libs=" -lintl " | 7625 xe_check_libs=" -lintl " |
| 7808 cat > conftest.$ac_ext <<EOF | 7626 cat > conftest.$ac_ext <<EOF |
| 7809 #line 7810 "configure" | 7627 #line 7628 "configure" |
| 7810 #include "confdefs.h" | 7628 #include "confdefs.h" |
| 7811 /* Override any gcc2 internal prototype to avoid an error. */ | 7629 /* Override any gcc2 internal prototype to avoid an error. */ |
| 7812 /* We use char because int might match the return type of a gcc2 | 7630 /* We use char because int might match the return type of a gcc2 |
| 7813 builtin and then its argument prototype would still apply. */ | 7631 builtin and then its argument prototype would still apply. */ |
| 7814 char strerror(); | 7632 char strerror(); |
| 7815 | 7633 |
| 7816 int main() { | 7634 int main() { |
| 7817 strerror() | 7635 strerror() |
| 7818 ; return 0; } | 7636 ; return 0; } |
| 7819 EOF | 7637 EOF |
| 7820 if { (eval echo configure:7821: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7638 if { (eval echo configure:7639: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 7821 rm -rf conftest* | 7639 rm -rf conftest* |
| 7822 eval "ac_cv_lib_$ac_lib_var=yes" | 7640 eval "ac_cv_lib_$ac_lib_var=yes" |
| 7823 else | 7641 else |
| 7824 echo "configure: failed program was:" >&5 | 7642 echo "configure: failed program was:" >&5 |
| 7825 cat conftest.$ac_ext >&5 | 7643 cat conftest.$ac_ext >&5 |
| 7848 fi | 7666 fi |
| 7849 | 7667 |
| 7850 | 7668 |
| 7851 | 7669 |
| 7852 echo "checking for Mule input methods" 1>&6 | 7670 echo "checking for Mule input methods" 1>&6 |
| 7853 echo "configure:7854: checking for Mule input methods" >&5 | 7671 echo "configure:7672: checking for Mule input methods" >&5 |
| 7854 case "$with_xim" in "" | "yes" ) | 7672 case "$with_xim" in "" | "yes" ) |
| 7855 echo "checking for XIM" 1>&6 | 7673 echo "checking for XIM" 1>&6 |
| 7856 echo "configure:7857: checking for XIM" >&5 | 7674 echo "configure:7675: checking for XIM" >&5 |
| 7857 | 7675 |
| 7858 echo $ac_n "checking for XOpenIM in -lX11""... $ac_c" 1>&6 | 7676 echo $ac_n "checking for XOpenIM in -lX11""... $ac_c" 1>&6 |
| 7859 echo "configure:7860: checking for XOpenIM in -lX11" >&5 | 7677 echo "configure:7678: checking for XOpenIM in -lX11" >&5 |
| 7860 ac_lib_var=`echo X11'_'XOpenIM | sed 'y%./+-%__p_%'` | 7678 ac_lib_var=`echo X11'_'XOpenIM | sed 'y%./+-%__p_%'` |
| 7861 | 7679 |
| 7862 xe_check_libs=" -lX11 " | 7680 xe_check_libs=" -lX11 " |
| 7863 cat > conftest.$ac_ext <<EOF | 7681 cat > conftest.$ac_ext <<EOF |
| 7864 #line 7865 "configure" | 7682 #line 7683 "configure" |
| 7865 #include "confdefs.h" | 7683 #include "confdefs.h" |
| 7866 /* Override any gcc2 internal prototype to avoid an error. */ | 7684 /* Override any gcc2 internal prototype to avoid an error. */ |
| 7867 /* We use char because int might match the return type of a gcc2 | 7685 /* We use char because int might match the return type of a gcc2 |
| 7868 builtin and then its argument prototype would still apply. */ | 7686 builtin and then its argument prototype would still apply. */ |
| 7869 char XOpenIM(); | 7687 char XOpenIM(); |
| 7870 | 7688 |
| 7871 int main() { | 7689 int main() { |
| 7872 XOpenIM() | 7690 XOpenIM() |
| 7873 ; return 0; } | 7691 ; return 0; } |
| 7874 EOF | 7692 EOF |
| 7875 if { (eval echo configure:7876: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7693 if { (eval echo configure:7694: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 7876 rm -rf conftest* | 7694 rm -rf conftest* |
| 7877 eval "ac_cv_lib_$ac_lib_var=yes" | 7695 eval "ac_cv_lib_$ac_lib_var=yes" |
| 7878 else | 7696 else |
| 7879 echo "configure: failed program was:" >&5 | 7697 echo "configure: failed program was:" >&5 |
| 7880 cat conftest.$ac_ext >&5 | 7698 cat conftest.$ac_ext >&5 |
| 7894 | 7712 |
| 7895 | 7713 |
| 7896 if test "$have_motif $have_lesstif" = "yes no"; then | 7714 if test "$have_motif $have_lesstif" = "yes no"; then |
| 7897 | 7715 |
| 7898 echo $ac_n "checking for XmImMbLookupString in -lXm""... $ac_c" 1>&6 | 7716 echo $ac_n "checking for XmImMbLookupString in -lXm""... $ac_c" 1>&6 |
| 7899 echo "configure:7900: checking for XmImMbLookupString in -lXm" >&5 | 7717 echo "configure:7718: checking for XmImMbLookupString in -lXm" >&5 |
| 7900 ac_lib_var=`echo Xm'_'XmImMbLookupString | sed 'y%./+-%__p_%'` | 7718 ac_lib_var=`echo Xm'_'XmImMbLookupString | sed 'y%./+-%__p_%'` |
| 7901 | 7719 |
| 7902 xe_check_libs=" -lXm " | 7720 xe_check_libs=" -lXm " |
| 7903 cat > conftest.$ac_ext <<EOF | 7721 cat > conftest.$ac_ext <<EOF |
| 7904 #line 7905 "configure" | 7722 #line 7723 "configure" |
| 7905 #include "confdefs.h" | 7723 #include "confdefs.h" |
| 7906 /* Override any gcc2 internal prototype to avoid an error. */ | 7724 /* Override any gcc2 internal prototype to avoid an error. */ |
| 7907 /* We use char because int might match the return type of a gcc2 | 7725 /* We use char because int might match the return type of a gcc2 |
| 7908 builtin and then its argument prototype would still apply. */ | 7726 builtin and then its argument prototype would still apply. */ |
| 7909 char XmImMbLookupString(); | 7727 char XmImMbLookupString(); |
| 7910 | 7728 |
| 7911 int main() { | 7729 int main() { |
| 7912 XmImMbLookupString() | 7730 XmImMbLookupString() |
| 7913 ; return 0; } | 7731 ; return 0; } |
| 7914 EOF | 7732 EOF |
| 7915 if { (eval echo configure:7916: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7733 if { (eval echo configure:7734: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 7916 rm -rf conftest* | 7734 rm -rf conftest* |
| 7917 eval "ac_cv_lib_$ac_lib_var=yes" | 7735 eval "ac_cv_lib_$ac_lib_var=yes" |
| 7918 else | 7736 else |
| 7919 echo "configure: failed program was:" >&5 | 7737 echo "configure: failed program was:" >&5 |
| 7920 cat conftest.$ac_ext >&5 | 7738 cat conftest.$ac_ext >&5 |
| 7975 fi | 7793 fi |
| 7976 fi | 7794 fi |
| 7977 | 7795 |
| 7978 if test "$with_xfs" = "yes" ; then | 7796 if test "$with_xfs" = "yes" ; then |
| 7979 echo "checking for XFontSet" 1>&6 | 7797 echo "checking for XFontSet" 1>&6 |
| 7980 echo "configure:7981: checking for XFontSet" >&5 | 7798 echo "configure:7799: checking for XFontSet" >&5 |
| 7981 | 7799 |
| 7982 echo $ac_n "checking for XmbDrawString in -lX11""... $ac_c" 1>&6 | 7800 echo $ac_n "checking for XmbDrawString in -lX11""... $ac_c" 1>&6 |
| 7983 echo "configure:7984: checking for XmbDrawString in -lX11" >&5 | 7801 echo "configure:7802: checking for XmbDrawString in -lX11" >&5 |
| 7984 ac_lib_var=`echo X11'_'XmbDrawString | sed 'y%./+-%__p_%'` | 7802 ac_lib_var=`echo X11'_'XmbDrawString | sed 'y%./+-%__p_%'` |
| 7985 | 7803 |
| 7986 xe_check_libs=" -lX11 " | 7804 xe_check_libs=" -lX11 " |
| 7987 cat > conftest.$ac_ext <<EOF | 7805 cat > conftest.$ac_ext <<EOF |
| 7988 #line 7989 "configure" | 7806 #line 7807 "configure" |
| 7989 #include "confdefs.h" | 7807 #include "confdefs.h" |
| 7990 /* Override any gcc2 internal prototype to avoid an error. */ | 7808 /* Override any gcc2 internal prototype to avoid an error. */ |
| 7991 /* We use char because int might match the return type of a gcc2 | 7809 /* We use char because int might match the return type of a gcc2 |
| 7992 builtin and then its argument prototype would still apply. */ | 7810 builtin and then its argument prototype would still apply. */ |
| 7993 char XmbDrawString(); | 7811 char XmbDrawString(); |
| 7994 | 7812 |
| 7995 int main() { | 7813 int main() { |
| 7996 XmbDrawString() | 7814 XmbDrawString() |
| 7997 ; return 0; } | 7815 ; return 0; } |
| 7998 EOF | 7816 EOF |
| 7999 if { (eval echo configure:8000: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7817 if { (eval echo configure:7818: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 8000 rm -rf conftest* | 7818 rm -rf conftest* |
| 8001 eval "ac_cv_lib_$ac_lib_var=yes" | 7819 eval "ac_cv_lib_$ac_lib_var=yes" |
| 8002 else | 7820 else |
| 8003 echo "configure: failed program was:" >&5 | 7821 echo "configure: failed program was:" >&5 |
| 8004 cat conftest.$ac_ext >&5 | 7822 cat conftest.$ac_ext >&5 |
| 8034 fi | 7852 fi |
| 8035 fi | 7853 fi |
| 8036 test "$with_wnn6" = "yes" && with_wnn=yes # wnn6 implies wnn support | 7854 test "$with_wnn6" = "yes" && with_wnn=yes # wnn6 implies wnn support |
| 8037 test -z "$with_wnn" && { ac_safe=`echo "wnn/jllib.h" | sed 'y%./+-%__p_%'` | 7855 test -z "$with_wnn" && { ac_safe=`echo "wnn/jllib.h" | sed 'y%./+-%__p_%'` |
| 8038 echo $ac_n "checking for wnn/jllib.h""... $ac_c" 1>&6 | 7856 echo $ac_n "checking for wnn/jllib.h""... $ac_c" 1>&6 |
| 8039 echo "configure:8040: checking for wnn/jllib.h" >&5 | 7857 echo "configure:7858: checking for wnn/jllib.h" >&5 |
| 8040 | 7858 |
| 8041 cat > conftest.$ac_ext <<EOF | 7859 cat > conftest.$ac_ext <<EOF |
| 8042 #line 8043 "configure" | 7860 #line 7861 "configure" |
| 8043 #include "confdefs.h" | 7861 #include "confdefs.h" |
| 8044 #include <wnn/jllib.h> | 7862 #include <wnn/jllib.h> |
| 8045 EOF | 7863 EOF |
| 8046 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7864 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 8047 { (eval echo configure:8048: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7865 { (eval echo configure:7866: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 8048 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 7866 ac_err=`grep -v '^ *+' conftest.out` |
| 8049 if test -z "$ac_err"; then | 7867 if test -z "$ac_err"; then |
| 8050 rm -rf conftest* | 7868 rm -rf conftest* |
| 8051 eval "ac_cv_header_$ac_safe=yes" | 7869 eval "ac_cv_header_$ac_safe=yes" |
| 8052 else | 7870 else |
| 8053 echo "$ac_err" >&5 | 7871 echo "$ac_err" >&5 |
| 8067 } | 7885 } |
| 8068 if test "$with_wnn" != "no"; then | 7886 if test "$with_wnn" != "no"; then |
| 8069 for ac_func in crypt | 7887 for ac_func in crypt |
| 8070 do | 7888 do |
| 8071 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 7889 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
| 8072 echo "configure:8073: checking for $ac_func" >&5 | 7890 echo "configure:7891: checking for $ac_func" >&5 |
| 8073 | 7891 |
| 8074 cat > conftest.$ac_ext <<EOF | 7892 cat > conftest.$ac_ext <<EOF |
| 8075 #line 8076 "configure" | 7893 #line 7894 "configure" |
| 8076 #include "confdefs.h" | 7894 #include "confdefs.h" |
| 8077 /* System header to define __stub macros and hopefully few prototypes, | 7895 /* System header to define __stub macros and hopefully few prototypes, |
| 8078 which can conflict with char $ac_func(); below. */ | 7896 which can conflict with char $ac_func(); below. */ |
| 8079 #include <assert.h> | 7897 #include <assert.h> |
| 8080 /* Override any gcc2 internal prototype to avoid an error. */ | 7898 /* Override any gcc2 internal prototype to avoid an error. */ |
| 8093 $ac_func(); | 7911 $ac_func(); |
| 8094 #endif | 7912 #endif |
| 8095 | 7913 |
| 8096 ; return 0; } | 7914 ; return 0; } |
| 8097 EOF | 7915 EOF |
| 8098 if { (eval echo configure:8099: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7916 if { (eval echo configure:7917: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 8099 rm -rf conftest* | 7917 rm -rf conftest* |
| 8100 eval "ac_cv_func_$ac_func=yes" | 7918 eval "ac_cv_func_$ac_func=yes" |
| 8101 else | 7919 else |
| 8102 echo "configure: failed program was:" >&5 | 7920 echo "configure: failed program was:" >&5 |
| 8103 cat conftest.$ac_ext >&5 | 7921 cat conftest.$ac_ext >&5 |
| 8122 fi | 7940 fi |
| 8123 done | 7941 done |
| 8124 | 7942 |
| 8125 test "$ac_cv_func_crypt" != "yes" && { | 7943 test "$ac_cv_func_crypt" != "yes" && { |
| 8126 echo $ac_n "checking for crypt in -lcrypt""... $ac_c" 1>&6 | 7944 echo $ac_n "checking for crypt in -lcrypt""... $ac_c" 1>&6 |
| 8127 echo "configure:8128: checking for crypt in -lcrypt" >&5 | 7945 echo "configure:7946: checking for crypt in -lcrypt" >&5 |
| 8128 ac_lib_var=`echo crypt'_'crypt | sed 'y%./+-%__p_%'` | 7946 ac_lib_var=`echo crypt'_'crypt | sed 'y%./+-%__p_%'` |
| 8129 | 7947 |
| 8130 xe_check_libs=" -lcrypt " | 7948 xe_check_libs=" -lcrypt " |
| 8131 cat > conftest.$ac_ext <<EOF | 7949 cat > conftest.$ac_ext <<EOF |
| 8132 #line 8133 "configure" | 7950 #line 7951 "configure" |
| 8133 #include "confdefs.h" | 7951 #include "confdefs.h" |
| 8134 /* Override any gcc2 internal prototype to avoid an error. */ | 7952 /* Override any gcc2 internal prototype to avoid an error. */ |
| 8135 /* We use char because int might match the return type of a gcc2 | 7953 /* We use char because int might match the return type of a gcc2 |
| 8136 builtin and then its argument prototype would still apply. */ | 7954 builtin and then its argument prototype would still apply. */ |
| 8137 char crypt(); | 7955 char crypt(); |
| 8138 | 7956 |
| 8139 int main() { | 7957 int main() { |
| 8140 crypt() | 7958 crypt() |
| 8141 ; return 0; } | 7959 ; return 0; } |
| 8142 EOF | 7960 EOF |
| 8143 if { (eval echo configure:8144: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7961 if { (eval echo configure:7962: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 8144 rm -rf conftest* | 7962 rm -rf conftest* |
| 8145 eval "ac_cv_lib_$ac_lib_var=yes" | 7963 eval "ac_cv_lib_$ac_lib_var=yes" |
| 8146 else | 7964 else |
| 8147 echo "configure: failed program was:" >&5 | 7965 echo "configure: failed program was:" >&5 |
| 8148 cat conftest.$ac_ext >&5 | 7966 cat conftest.$ac_ext >&5 |
| 8173 } | 7991 } |
| 8174 fi | 7992 fi |
| 8175 if test -z "$with_wnn" -o "$with_wnn" = "yes"; then | 7993 if test -z "$with_wnn" -o "$with_wnn" = "yes"; then |
| 8176 | 7994 |
| 8177 echo $ac_n "checking for jl_dic_list_e in -lwnn""... $ac_c" 1>&6 | 7995 echo $ac_n "checking for jl_dic_list_e in -lwnn""... $ac_c" 1>&6 |
| 8178 echo "configure:8179: checking for jl_dic_list_e in -lwnn" >&5 | 7996 echo "configure:7997: checking for jl_dic_list_e in -lwnn" >&5 |
| 8179 ac_lib_var=`echo wnn'_'jl_dic_list_e | sed 'y%./+-%__p_%'` | 7997 ac_lib_var=`echo wnn'_'jl_dic_list_e | sed 'y%./+-%__p_%'` |
| 8180 | 7998 |
| 8181 xe_check_libs=" -lwnn " | 7999 xe_check_libs=" -lwnn " |
| 8182 cat > conftest.$ac_ext <<EOF | 8000 cat > conftest.$ac_ext <<EOF |
| 8183 #line 8184 "configure" | 8001 #line 8002 "configure" |
| 8184 #include "confdefs.h" | 8002 #include "confdefs.h" |
| 8185 /* Override any gcc2 internal prototype to avoid an error. */ | 8003 /* Override any gcc2 internal prototype to avoid an error. */ |
| 8186 /* We use char because int might match the return type of a gcc2 | 8004 /* We use char because int might match the return type of a gcc2 |
| 8187 builtin and then its argument prototype would still apply. */ | 8005 builtin and then its argument prototype would still apply. */ |
| 8188 char jl_dic_list_e(); | 8006 char jl_dic_list_e(); |
| 8189 | 8007 |
| 8190 int main() { | 8008 int main() { |
| 8191 jl_dic_list_e() | 8009 jl_dic_list_e() |
| 8192 ; return 0; } | 8010 ; return 0; } |
| 8193 EOF | 8011 EOF |
| 8194 if { (eval echo configure:8195: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8012 if { (eval echo configure:8013: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 8195 rm -rf conftest* | 8013 rm -rf conftest* |
| 8196 eval "ac_cv_lib_$ac_lib_var=yes" | 8014 eval "ac_cv_lib_$ac_lib_var=yes" |
| 8197 else | 8015 else |
| 8198 echo "configure: failed program was:" >&5 | 8016 echo "configure: failed program was:" >&5 |
| 8199 cat conftest.$ac_ext >&5 | 8017 cat conftest.$ac_ext >&5 |
| 8207 echo "$ac_t""yes" 1>&6 | 8025 echo "$ac_t""yes" 1>&6 |
| 8208 libwnn=wnn | 8026 libwnn=wnn |
| 8209 else | 8027 else |
| 8210 echo "$ac_t""no" 1>&6 | 8028 echo "$ac_t""no" 1>&6 |
| 8211 echo $ac_n "checking for jl_dic_list_e in -lwnn4""... $ac_c" 1>&6 | 8029 echo $ac_n "checking for jl_dic_list_e in -lwnn4""... $ac_c" 1>&6 |
| 8212 echo "configure:8213: checking for jl_dic_list_e in -lwnn4" >&5 | 8030 echo "configure:8031: checking for jl_dic_list_e in -lwnn4" >&5 |
| 8213 ac_lib_var=`echo wnn4'_'jl_dic_list_e | sed 'y%./+-%__p_%'` | 8031 ac_lib_var=`echo wnn4'_'jl_dic_list_e | sed 'y%./+-%__p_%'` |
| 8214 | 8032 |
| 8215 xe_check_libs=" -lwnn4 " | 8033 xe_check_libs=" -lwnn4 " |
| 8216 cat > conftest.$ac_ext <<EOF | 8034 cat > conftest.$ac_ext <<EOF |
| 8217 #line 8218 "configure" | 8035 #line 8036 "configure" |
| 8218 #include "confdefs.h" | 8036 #include "confdefs.h" |
| 8219 /* Override any gcc2 internal prototype to avoid an error. */ | 8037 /* Override any gcc2 internal prototype to avoid an error. */ |
| 8220 /* We use char because int might match the return type of a gcc2 | 8038 /* We use char because int might match the return type of a gcc2 |
| 8221 builtin and then its argument prototype would still apply. */ | 8039 builtin and then its argument prototype would still apply. */ |
| 8222 char jl_dic_list_e(); | 8040 char jl_dic_list_e(); |
| 8223 | 8041 |
| 8224 int main() { | 8042 int main() { |
| 8225 jl_dic_list_e() | 8043 jl_dic_list_e() |
| 8226 ; return 0; } | 8044 ; return 0; } |
| 8227 EOF | 8045 EOF |
| 8228 if { (eval echo configure:8229: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8046 if { (eval echo configure:8047: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 8229 rm -rf conftest* | 8047 rm -rf conftest* |
| 8230 eval "ac_cv_lib_$ac_lib_var=yes" | 8048 eval "ac_cv_lib_$ac_lib_var=yes" |
| 8231 else | 8049 else |
| 8232 echo "configure: failed program was:" >&5 | 8050 echo "configure: failed program was:" >&5 |
| 8233 cat conftest.$ac_ext >&5 | 8051 cat conftest.$ac_ext >&5 |
| 8241 echo "$ac_t""yes" 1>&6 | 8059 echo "$ac_t""yes" 1>&6 |
| 8242 libwnn=wnn4 | 8060 libwnn=wnn4 |
| 8243 else | 8061 else |
| 8244 echo "$ac_t""no" 1>&6 | 8062 echo "$ac_t""no" 1>&6 |
| 8245 echo $ac_n "checking for jl_dic_list_e in -lwnn6""... $ac_c" 1>&6 | 8063 echo $ac_n "checking for jl_dic_list_e in -lwnn6""... $ac_c" 1>&6 |
| 8246 echo "configure:8247: checking for jl_dic_list_e in -lwnn6" >&5 | 8064 echo "configure:8065: checking for jl_dic_list_e in -lwnn6" >&5 |
| 8247 ac_lib_var=`echo wnn6'_'jl_dic_list_e | sed 'y%./+-%__p_%'` | 8065 ac_lib_var=`echo wnn6'_'jl_dic_list_e | sed 'y%./+-%__p_%'` |
| 8248 | 8066 |
| 8249 xe_check_libs=" -lwnn6 " | 8067 xe_check_libs=" -lwnn6 " |
| 8250 cat > conftest.$ac_ext <<EOF | 8068 cat > conftest.$ac_ext <<EOF |
| 8251 #line 8252 "configure" | 8069 #line 8070 "configure" |
| 8252 #include "confdefs.h" | 8070 #include "confdefs.h" |
| 8253 /* Override any gcc2 internal prototype to avoid an error. */ | 8071 /* Override any gcc2 internal prototype to avoid an error. */ |
| 8254 /* We use char because int might match the return type of a gcc2 | 8072 /* We use char because int might match the return type of a gcc2 |
| 8255 builtin and then its argument prototype would still apply. */ | 8073 builtin and then its argument prototype would still apply. */ |
| 8256 char jl_dic_list_e(); | 8074 char jl_dic_list_e(); |
| 8257 | 8075 |
| 8258 int main() { | 8076 int main() { |
| 8259 jl_dic_list_e() | 8077 jl_dic_list_e() |
| 8260 ; return 0; } | 8078 ; return 0; } |
| 8261 EOF | 8079 EOF |
| 8262 if { (eval echo configure:8263: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8080 if { (eval echo configure:8081: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 8263 rm -rf conftest* | 8081 rm -rf conftest* |
| 8264 eval "ac_cv_lib_$ac_lib_var=yes" | 8082 eval "ac_cv_lib_$ac_lib_var=yes" |
| 8265 else | 8083 else |
| 8266 echo "configure: failed program was:" >&5 | 8084 echo "configure: failed program was:" >&5 |
| 8267 cat conftest.$ac_ext >&5 | 8085 cat conftest.$ac_ext >&5 |
| 8275 echo "$ac_t""yes" 1>&6 | 8093 echo "$ac_t""yes" 1>&6 |
| 8276 libwnn=wnn6 | 8094 libwnn=wnn6 |
| 8277 else | 8095 else |
| 8278 echo "$ac_t""no" 1>&6 | 8096 echo "$ac_t""no" 1>&6 |
| 8279 echo $ac_n "checking for dic_list_e in -lwnn6_fromsrc""... $ac_c" 1>&6 | 8097 echo $ac_n "checking for dic_list_e in -lwnn6_fromsrc""... $ac_c" 1>&6 |
| 8280 echo "configure:8281: checking for dic_list_e in -lwnn6_fromsrc" >&5 | 8098 echo "configure:8099: checking for dic_list_e in -lwnn6_fromsrc" >&5 |
| 8281 ac_lib_var=`echo wnn6_fromsrc'_'dic_list_e | sed 'y%./+-%__p_%'` | 8099 ac_lib_var=`echo wnn6_fromsrc'_'dic_list_e | sed 'y%./+-%__p_%'` |
| 8282 | 8100 |
| 8283 xe_check_libs=" -lwnn6_fromsrc " | 8101 xe_check_libs=" -lwnn6_fromsrc " |
| 8284 cat > conftest.$ac_ext <<EOF | 8102 cat > conftest.$ac_ext <<EOF |
| 8285 #line 8286 "configure" | 8103 #line 8104 "configure" |
| 8286 #include "confdefs.h" | 8104 #include "confdefs.h" |
| 8287 /* Override any gcc2 internal prototype to avoid an error. */ | 8105 /* Override any gcc2 internal prototype to avoid an error. */ |
| 8288 /* We use char because int might match the return type of a gcc2 | 8106 /* We use char because int might match the return type of a gcc2 |
| 8289 builtin and then its argument prototype would still apply. */ | 8107 builtin and then its argument prototype would still apply. */ |
| 8290 char dic_list_e(); | 8108 char dic_list_e(); |
| 8291 | 8109 |
| 8292 int main() { | 8110 int main() { |
| 8293 dic_list_e() | 8111 dic_list_e() |
| 8294 ; return 0; } | 8112 ; return 0; } |
| 8295 EOF | 8113 EOF |
| 8296 if { (eval echo configure:8297: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8114 if { (eval echo configure:8115: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 8297 rm -rf conftest* | 8115 rm -rf conftest* |
| 8298 eval "ac_cv_lib_$ac_lib_var=yes" | 8116 eval "ac_cv_lib_$ac_lib_var=yes" |
| 8299 else | 8117 else |
| 8300 echo "configure: failed program was:" >&5 | 8118 echo "configure: failed program was:" >&5 |
| 8301 cat conftest.$ac_ext >&5 | 8119 cat conftest.$ac_ext >&5 |
| 8339 echo " xemacs will be linked with \"mule-wnnfns.o\"" | 8157 echo " xemacs will be linked with \"mule-wnnfns.o\"" |
| 8340 fi | 8158 fi |
| 8341 if test "$with_wnn6" != "no"; then | 8159 if test "$with_wnn6" != "no"; then |
| 8342 | 8160 |
| 8343 echo $ac_n "checking for jl_fi_dic_list in -l$libwnn""... $ac_c" 1>&6 | 8161 echo $ac_n "checking for jl_fi_dic_list in -l$libwnn""... $ac_c" 1>&6 |
| 8344 echo "configure:8345: checking for jl_fi_dic_list in -l$libwnn" >&5 | 8162 echo "configure:8163: checking for jl_fi_dic_list in -l$libwnn" >&5 |
| 8345 ac_lib_var=`echo $libwnn'_'jl_fi_dic_list | sed 'y%./+-%__p_%'` | 8163 ac_lib_var=`echo $libwnn'_'jl_fi_dic_list | sed 'y%./+-%__p_%'` |
| 8346 | 8164 |
| 8347 xe_check_libs=" -l$libwnn " | 8165 xe_check_libs=" -l$libwnn " |
| 8348 cat > conftest.$ac_ext <<EOF | 8166 cat > conftest.$ac_ext <<EOF |
| 8349 #line 8350 "configure" | 8167 #line 8168 "configure" |
| 8350 #include "confdefs.h" | 8168 #include "confdefs.h" |
| 8351 /* Override any gcc2 internal prototype to avoid an error. */ | 8169 /* Override any gcc2 internal prototype to avoid an error. */ |
| 8352 /* We use char because int might match the return type of a gcc2 | 8170 /* We use char because int might match the return type of a gcc2 |
| 8353 builtin and then its argument prototype would still apply. */ | 8171 builtin and then its argument prototype would still apply. */ |
| 8354 char jl_fi_dic_list(); | 8172 char jl_fi_dic_list(); |
| 8355 | 8173 |
| 8356 int main() { | 8174 int main() { |
| 8357 jl_fi_dic_list() | 8175 jl_fi_dic_list() |
| 8358 ; return 0; } | 8176 ; return 0; } |
| 8359 EOF | 8177 EOF |
| 8360 if { (eval echo configure:8361: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8178 if { (eval echo configure:8179: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 8361 rm -rf conftest* | 8179 rm -rf conftest* |
| 8362 eval "ac_cv_lib_$ac_lib_var=yes" | 8180 eval "ac_cv_lib_$ac_lib_var=yes" |
| 8363 else | 8181 else |
| 8364 echo "configure: failed program was:" >&5 | 8182 echo "configure: failed program was:" >&5 |
| 8365 cat conftest.$ac_ext >&5 | 8183 cat conftest.$ac_ext >&5 |
| 8390 | 8208 |
| 8391 canna_includes_found=no | 8209 canna_includes_found=no |
| 8392 if test "$with_canna" != "no"; then | 8210 if test "$with_canna" != "no"; then |
| 8393 ac_safe=`echo "canna/jrkanji.h" | sed 'y%./+-%__p_%'` | 8211 ac_safe=`echo "canna/jrkanji.h" | sed 'y%./+-%__p_%'` |
| 8394 echo $ac_n "checking for canna/jrkanji.h""... $ac_c" 1>&6 | 8212 echo $ac_n "checking for canna/jrkanji.h""... $ac_c" 1>&6 |
| 8395 echo "configure:8396: checking for canna/jrkanji.h" >&5 | 8213 echo "configure:8214: checking for canna/jrkanji.h" >&5 |
| 8396 | 8214 |
| 8397 cat > conftest.$ac_ext <<EOF | 8215 cat > conftest.$ac_ext <<EOF |
| 8398 #line 8399 "configure" | 8216 #line 8217 "configure" |
| 8399 #include "confdefs.h" | 8217 #include "confdefs.h" |
| 8400 #include <canna/jrkanji.h> | 8218 #include <canna/jrkanji.h> |
| 8401 EOF | 8219 EOF |
| 8402 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8220 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 8403 { (eval echo configure:8404: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8221 { (eval echo configure:8222: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 8404 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 8222 ac_err=`grep -v '^ *+' conftest.out` |
| 8405 if test -z "$ac_err"; then | 8223 if test -z "$ac_err"; then |
| 8406 rm -rf conftest* | 8224 rm -rf conftest* |
| 8407 eval "ac_cv_header_$ac_safe=yes" | 8225 eval "ac_cv_header_$ac_safe=yes" |
| 8408 else | 8226 else |
| 8409 echo "$ac_err" >&5 | 8227 echo "$ac_err" >&5 |
| 8425 -d "/usr/local/canna/include"; then | 8243 -d "/usr/local/canna/include"; then |
| 8426 save_c_switch_site="$c_switch_site" | 8244 save_c_switch_site="$c_switch_site" |
| 8427 c_switch_site="$c_switch_site -I/usr/local/canna/include" | 8245 c_switch_site="$c_switch_site -I/usr/local/canna/include" |
| 8428 ac_safe=`echo "canna/jrkanji.h" | sed 'y%./+-%__p_%'` | 8246 ac_safe=`echo "canna/jrkanji.h" | sed 'y%./+-%__p_%'` |
| 8429 echo $ac_n "checking for canna/jrkanji.h""... $ac_c" 1>&6 | 8247 echo $ac_n "checking for canna/jrkanji.h""... $ac_c" 1>&6 |
| 8430 echo "configure:8431: checking for canna/jrkanji.h" >&5 | 8248 echo "configure:8249: checking for canna/jrkanji.h" >&5 |
| 8431 | 8249 |
| 8432 cat > conftest.$ac_ext <<EOF | 8250 cat > conftest.$ac_ext <<EOF |
| 8433 #line 8434 "configure" | 8251 #line 8252 "configure" |
| 8434 #include "confdefs.h" | 8252 #include "confdefs.h" |
| 8435 #include <canna/jrkanji.h> | 8253 #include <canna/jrkanji.h> |
| 8436 EOF | 8254 EOF |
| 8437 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8255 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 8438 { (eval echo configure:8439: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8256 { (eval echo configure:8257: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 8439 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 8257 ac_err=`grep -v '^ *+' conftest.out` |
| 8440 if test -z "$ac_err"; then | 8258 if test -z "$ac_err"; then |
| 8441 rm -rf conftest* | 8259 rm -rf conftest* |
| 8442 eval "ac_cv_header_$ac_safe=yes" | 8260 eval "ac_cv_header_$ac_safe=yes" |
| 8443 else | 8261 else |
| 8444 echo "$ac_err" >&5 | 8262 echo "$ac_err" >&5 |
| 8461 fi | 8279 fi |
| 8462 fi | 8280 fi |
| 8463 | 8281 |
| 8464 test -z "$with_canna" && { ac_safe=`echo "canna/RK.h" | sed 'y%./+-%__p_%'` | 8282 test -z "$with_canna" && { ac_safe=`echo "canna/RK.h" | sed 'y%./+-%__p_%'` |
| 8465 echo $ac_n "checking for canna/RK.h""... $ac_c" 1>&6 | 8283 echo $ac_n "checking for canna/RK.h""... $ac_c" 1>&6 |
| 8466 echo "configure:8467: checking for canna/RK.h" >&5 | 8284 echo "configure:8285: checking for canna/RK.h" >&5 |
| 8467 | 8285 |
| 8468 cat > conftest.$ac_ext <<EOF | 8286 cat > conftest.$ac_ext <<EOF |
| 8469 #line 8470 "configure" | 8287 #line 8288 "configure" |
| 8470 #include "confdefs.h" | 8288 #include "confdefs.h" |
| 8471 #include <canna/RK.h> | 8289 #include <canna/RK.h> |
| 8472 EOF | 8290 EOF |
| 8473 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8291 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 8474 { (eval echo configure:8475: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8292 { (eval echo configure:8293: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 8475 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 8293 ac_err=`grep -v '^ *+' conftest.out` |
| 8476 if test -z "$ac_err"; then | 8294 if test -z "$ac_err"; then |
| 8477 rm -rf conftest* | 8295 rm -rf conftest* |
| 8478 eval "ac_cv_header_$ac_safe=yes" | 8296 eval "ac_cv_header_$ac_safe=yes" |
| 8479 else | 8297 else |
| 8480 echo "$ac_err" >&5 | 8298 echo "$ac_err" >&5 |
| 8492 with_canna=no | 8310 with_canna=no |
| 8493 fi | 8311 fi |
| 8494 } | 8312 } |
| 8495 test -z "$with_canna" && { | 8313 test -z "$with_canna" && { |
| 8496 echo $ac_n "checking for RkBgnBun in -lRKC""... $ac_c" 1>&6 | 8314 echo $ac_n "checking for RkBgnBun in -lRKC""... $ac_c" 1>&6 |
| 8497 echo "configure:8498: checking for RkBgnBun in -lRKC" >&5 | 8315 echo "configure:8316: checking for RkBgnBun in -lRKC" >&5 |
| 8498 ac_lib_var=`echo RKC'_'RkBgnBun | sed 'y%./+-%__p_%'` | 8316 ac_lib_var=`echo RKC'_'RkBgnBun | sed 'y%./+-%__p_%'` |
| 8499 | 8317 |
| 8500 xe_check_libs=" -lRKC " | 8318 xe_check_libs=" -lRKC " |
| 8501 cat > conftest.$ac_ext <<EOF | 8319 cat > conftest.$ac_ext <<EOF |
| 8502 #line 8503 "configure" | 8320 #line 8321 "configure" |
| 8503 #include "confdefs.h" | 8321 #include "confdefs.h" |
| 8504 /* Override any gcc2 internal prototype to avoid an error. */ | 8322 /* Override any gcc2 internal prototype to avoid an error. */ |
| 8505 /* We use char because int might match the return type of a gcc2 | 8323 /* We use char because int might match the return type of a gcc2 |
| 8506 builtin and then its argument prototype would still apply. */ | 8324 builtin and then its argument prototype would still apply. */ |
| 8507 char RkBgnBun(); | 8325 char RkBgnBun(); |
| 8508 | 8326 |
| 8509 int main() { | 8327 int main() { |
| 8510 RkBgnBun() | 8328 RkBgnBun() |
| 8511 ; return 0; } | 8329 ; return 0; } |
| 8512 EOF | 8330 EOF |
| 8513 if { (eval echo configure:8514: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8331 if { (eval echo configure:8332: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 8514 rm -rf conftest* | 8332 rm -rf conftest* |
| 8515 eval "ac_cv_lib_$ac_lib_var=yes" | 8333 eval "ac_cv_lib_$ac_lib_var=yes" |
| 8516 else | 8334 else |
| 8517 echo "configure: failed program was:" >&5 | 8335 echo "configure: failed program was:" >&5 |
| 8518 cat conftest.$ac_ext >&5 | 8336 cat conftest.$ac_ext >&5 |
| 8531 fi | 8349 fi |
| 8532 | 8350 |
| 8533 } | 8351 } |
| 8534 test -z "$with_canna" && { | 8352 test -z "$with_canna" && { |
| 8535 echo $ac_n "checking for jrKanjiControl in -lcanna""... $ac_c" 1>&6 | 8353 echo $ac_n "checking for jrKanjiControl in -lcanna""... $ac_c" 1>&6 |
| 8536 echo "configure:8537: checking for jrKanjiControl in -lcanna" >&5 | 8354 echo "configure:8355: checking for jrKanjiControl in -lcanna" >&5 |
| 8537 ac_lib_var=`echo canna'_'jrKanjiControl | sed 'y%./+-%__p_%'` | 8355 ac_lib_var=`echo canna'_'jrKanjiControl | sed 'y%./+-%__p_%'` |
| 8538 | 8356 |
| 8539 xe_check_libs=" -lcanna " | 8357 xe_check_libs=" -lcanna " |
| 8540 cat > conftest.$ac_ext <<EOF | 8358 cat > conftest.$ac_ext <<EOF |
| 8541 #line 8542 "configure" | 8359 #line 8360 "configure" |
| 8542 #include "confdefs.h" | 8360 #include "confdefs.h" |
| 8543 /* Override any gcc2 internal prototype to avoid an error. */ | 8361 /* Override any gcc2 internal prototype to avoid an error. */ |
| 8544 /* We use char because int might match the return type of a gcc2 | 8362 /* We use char because int might match the return type of a gcc2 |
| 8545 builtin and then its argument prototype would still apply. */ | 8363 builtin and then its argument prototype would still apply. */ |
| 8546 char jrKanjiControl(); | 8364 char jrKanjiControl(); |
| 8547 | 8365 |
| 8548 int main() { | 8366 int main() { |
| 8549 jrKanjiControl() | 8367 jrKanjiControl() |
| 8550 ; return 0; } | 8368 ; return 0; } |
| 8551 EOF | 8369 EOF |
| 8552 if { (eval echo configure:8553: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8370 if { (eval echo configure:8371: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 8553 rm -rf conftest* | 8371 rm -rf conftest* |
| 8554 eval "ac_cv_lib_$ac_lib_var=yes" | 8372 eval "ac_cv_lib_$ac_lib_var=yes" |
| 8555 else | 8373 else |
| 8556 echo "configure: failed program was:" >&5 | 8374 echo "configure: failed program was:" >&5 |
| 8557 cat conftest.$ac_ext >&5 | 8375 cat conftest.$ac_ext >&5 |
| 8596 | 8414 |
| 8597 if test "$need_motif" = "yes" ; then | 8415 if test "$need_motif" = "yes" ; then |
| 8598 libs_x="-lXm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXm\" to \$libs_x"; fi | 8416 libs_x="-lXm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXm\" to \$libs_x"; fi |
| 8599 | 8417 |
| 8600 echo $ac_n "checking for layout_object_getvalue in -li18n""... $ac_c" 1>&6 | 8418 echo $ac_n "checking for layout_object_getvalue in -li18n""... $ac_c" 1>&6 |
| 8601 echo "configure:8602: checking for layout_object_getvalue in -li18n" >&5 | 8419 echo "configure:8420: checking for layout_object_getvalue in -li18n" >&5 |
| 8602 ac_lib_var=`echo i18n'_'layout_object_getvalue | sed 'y%./+-%__p_%'` | 8420 ac_lib_var=`echo i18n'_'layout_object_getvalue | sed 'y%./+-%__p_%'` |
| 8603 | 8421 |
| 8604 xe_check_libs=" -li18n " | 8422 xe_check_libs=" -li18n " |
| 8605 cat > conftest.$ac_ext <<EOF | 8423 cat > conftest.$ac_ext <<EOF |
| 8606 #line 8607 "configure" | 8424 #line 8425 "configure" |
| 8607 #include "confdefs.h" | 8425 #include "confdefs.h" |
| 8608 /* Override any gcc2 internal prototype to avoid an error. */ | 8426 /* Override any gcc2 internal prototype to avoid an error. */ |
| 8609 /* We use char because int might match the return type of a gcc2 | 8427 /* We use char because int might match the return type of a gcc2 |
| 8610 builtin and then its argument prototype would still apply. */ | 8428 builtin and then its argument prototype would still apply. */ |
| 8611 char layout_object_getvalue(); | 8429 char layout_object_getvalue(); |
| 8612 | 8430 |
| 8613 int main() { | 8431 int main() { |
| 8614 layout_object_getvalue() | 8432 layout_object_getvalue() |
| 8615 ; return 0; } | 8433 ; return 0; } |
| 8616 EOF | 8434 EOF |
| 8617 if { (eval echo configure:8618: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8435 if { (eval echo configure:8436: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 8618 rm -rf conftest* | 8436 rm -rf conftest* |
| 8619 eval "ac_cv_lib_$ac_lib_var=yes" | 8437 eval "ac_cv_lib_$ac_lib_var=yes" |
| 8620 else | 8438 else |
| 8621 echo "configure: failed program was:" >&5 | 8439 echo "configure: failed program was:" >&5 |
| 8622 cat conftest.$ac_ext >&5 | 8440 cat conftest.$ac_ext >&5 |
| 8698 fi | 8516 fi |
| 8699 | 8517 |
| 8700 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 | 8518 for ac_func in cbrt closedir dup2 eaccess fmod fpathconf frexp ftime gethostname getpagesize gettimeofday getcwd getwd logb lrand48 matherr mkdir mktime perror poll random rename res_init rint rmdir select setitimer setpgid setlocale setsid sigblock sighold sigprocmask snprintf strcasecmp strerror tzset ulimit usleep utimes waitpid vsnprintf |
| 8701 do | 8519 do |
| 8702 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 8520 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
| 8703 echo "configure:8704: checking for $ac_func" >&5 | 8521 echo "configure:8522: checking for $ac_func" >&5 |
| 8704 | 8522 |
| 8705 cat > conftest.$ac_ext <<EOF | 8523 cat > conftest.$ac_ext <<EOF |
| 8706 #line 8707 "configure" | 8524 #line 8525 "configure" |
| 8707 #include "confdefs.h" | 8525 #include "confdefs.h" |
| 8708 /* System header to define __stub macros and hopefully few prototypes, | 8526 /* System header to define __stub macros and hopefully few prototypes, |
| 8709 which can conflict with char $ac_func(); below. */ | 8527 which can conflict with char $ac_func(); below. */ |
| 8710 #include <assert.h> | 8528 #include <assert.h> |
| 8711 /* Override any gcc2 internal prototype to avoid an error. */ | 8529 /* Override any gcc2 internal prototype to avoid an error. */ |
| 8724 $ac_func(); | 8542 $ac_func(); |
| 8725 #endif | 8543 #endif |
| 8726 | 8544 |
| 8727 ; return 0; } | 8545 ; return 0; } |
| 8728 EOF | 8546 EOF |
| 8729 if { (eval echo configure:8730: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8547 if { (eval echo configure:8548: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 8730 rm -rf conftest* | 8548 rm -rf conftest* |
| 8731 eval "ac_cv_func_$ac_func=yes" | 8549 eval "ac_cv_func_$ac_func=yes" |
| 8732 else | 8550 else |
| 8733 echo "configure: failed program was:" >&5 | 8551 echo "configure: failed program was:" >&5 |
| 8734 cat conftest.$ac_ext >&5 | 8552 cat conftest.$ac_ext >&5 |
| 8765 echo " xemacs will be linked with \"realpath.o\"" | 8583 echo " xemacs will be linked with \"realpath.o\"" |
| 8766 fi ;; | 8584 fi ;; |
| 8767 * ) for ac_func in realpath | 8585 * ) for ac_func in realpath |
| 8768 do | 8586 do |
| 8769 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 8587 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
| 8770 echo "configure:8771: checking for $ac_func" >&5 | 8588 echo "configure:8589: checking for $ac_func" >&5 |
| 8771 | 8589 |
| 8772 cat > conftest.$ac_ext <<EOF | 8590 cat > conftest.$ac_ext <<EOF |
| 8773 #line 8774 "configure" | 8591 #line 8592 "configure" |
| 8774 #include "confdefs.h" | 8592 #include "confdefs.h" |
| 8775 /* System header to define __stub macros and hopefully few prototypes, | 8593 /* System header to define __stub macros and hopefully few prototypes, |
| 8776 which can conflict with char $ac_func(); below. */ | 8594 which can conflict with char $ac_func(); below. */ |
| 8777 #include <assert.h> | 8595 #include <assert.h> |
| 8778 /* Override any gcc2 internal prototype to avoid an error. */ | 8596 /* Override any gcc2 internal prototype to avoid an error. */ |
| 8791 $ac_func(); | 8609 $ac_func(); |
| 8792 #endif | 8610 #endif |
| 8793 | 8611 |
| 8794 ; return 0; } | 8612 ; return 0; } |
| 8795 EOF | 8613 EOF |
| 8796 if { (eval echo configure:8797: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8614 if { (eval echo configure:8615: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 8797 rm -rf conftest* | 8615 rm -rf conftest* |
| 8798 eval "ac_cv_func_$ac_func=yes" | 8616 eval "ac_cv_func_$ac_func=yes" |
| 8799 else | 8617 else |
| 8800 echo "configure: failed program was:" >&5 | 8618 echo "configure: failed program was:" >&5 |
| 8801 cat conftest.$ac_ext >&5 | 8619 cat conftest.$ac_ext >&5 |
| 8825 fi ;; | 8643 fi ;; |
| 8826 esac ;; | 8644 esac ;; |
| 8827 esac | 8645 esac |
| 8828 | 8646 |
| 8829 echo $ac_n "checking whether netdb declares h_errno""... $ac_c" 1>&6 | 8647 echo $ac_n "checking whether netdb declares h_errno""... $ac_c" 1>&6 |
| 8830 echo "configure:8831: checking whether netdb declares h_errno" >&5 | 8648 echo "configure:8649: checking whether netdb declares h_errno" >&5 |
| 8831 cat > conftest.$ac_ext <<EOF | 8649 cat > conftest.$ac_ext <<EOF |
| 8832 #line 8833 "configure" | 8650 #line 8651 "configure" |
| 8833 #include "confdefs.h" | 8651 #include "confdefs.h" |
| 8834 #include <netdb.h> | 8652 #include <netdb.h> |
| 8835 int main() { | 8653 int main() { |
| 8836 return h_errno; | 8654 return h_errno; |
| 8837 ; return 0; } | 8655 ; return 0; } |
| 8838 EOF | 8656 EOF |
| 8839 if { (eval echo configure:8840: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8657 if { (eval echo configure:8658: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 8840 rm -rf conftest* | 8658 rm -rf conftest* |
| 8841 echo "$ac_t""yes" 1>&6 | 8659 echo "$ac_t""yes" 1>&6 |
| 8842 { test "$extra_verbose" = "yes" && cat << \EOF | 8660 { test "$extra_verbose" = "yes" && cat << \EOF |
| 8843 Defining HAVE_H_ERRNO | 8661 Defining HAVE_H_ERRNO |
| 8844 EOF | 8662 EOF |
| 8854 echo "$ac_t""no" 1>&6 | 8672 echo "$ac_t""no" 1>&6 |
| 8855 fi | 8673 fi |
| 8856 rm -f conftest* | 8674 rm -f conftest* |
| 8857 | 8675 |
| 8858 echo $ac_n "checking for sigsetjmp""... $ac_c" 1>&6 | 8676 echo $ac_n "checking for sigsetjmp""... $ac_c" 1>&6 |
| 8859 echo "configure:8860: checking for sigsetjmp" >&5 | 8677 echo "configure:8678: checking for sigsetjmp" >&5 |
| 8860 cat > conftest.$ac_ext <<EOF | 8678 cat > conftest.$ac_ext <<EOF |
| 8861 #line 8862 "configure" | 8679 #line 8680 "configure" |
| 8862 #include "confdefs.h" | 8680 #include "confdefs.h" |
| 8863 #include <setjmp.h> | 8681 #include <setjmp.h> |
| 8864 int main() { | 8682 int main() { |
| 8865 sigjmp_buf bar; sigsetjmp (bar, 0); | 8683 sigjmp_buf bar; sigsetjmp (bar, 0); |
| 8866 ; return 0; } | 8684 ; return 0; } |
| 8867 EOF | 8685 EOF |
| 8868 if { (eval echo configure:8869: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 8686 if { (eval echo configure:8687: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| 8869 rm -rf conftest* | 8687 rm -rf conftest* |
| 8870 echo "$ac_t""yes" 1>&6 | 8688 echo "$ac_t""yes" 1>&6 |
| 8871 { test "$extra_verbose" = "yes" && cat << \EOF | 8689 { test "$extra_verbose" = "yes" && cat << \EOF |
| 8872 Defining HAVE_SIGSETJMP | 8690 Defining HAVE_SIGSETJMP |
| 8873 EOF | 8691 EOF |
| 8883 echo "$ac_t""no" 1>&6 | 8701 echo "$ac_t""no" 1>&6 |
| 8884 fi | 8702 fi |
| 8885 rm -f conftest* | 8703 rm -f conftest* |
| 8886 | 8704 |
| 8887 echo $ac_n "checking whether localtime caches TZ""... $ac_c" 1>&6 | 8705 echo $ac_n "checking whether localtime caches TZ""... $ac_c" 1>&6 |
| 8888 echo "configure:8889: checking whether localtime caches TZ" >&5 | 8706 echo "configure:8707: checking whether localtime caches TZ" >&5 |
| 8889 | 8707 |
| 8890 if test "$ac_cv_func_tzset" = "yes"; then | 8708 if test "$ac_cv_func_tzset" = "yes"; then |
| 8891 cat > conftest.$ac_ext <<EOF | 8709 cat > conftest.$ac_ext <<EOF |
| 8892 #line 8893 "configure" | 8710 #line 8711 "configure" |
| 8893 #include "confdefs.h" | 8711 #include "confdefs.h" |
| 8894 #include <time.h> | 8712 #include <time.h> |
| 8895 #if STDC_HEADERS | 8713 #if STDC_HEADERS |
| 8896 # include <stdlib.h> | 8714 # include <stdlib.h> |
| 8897 #endif | 8715 #endif |
| 8922 if (localtime (&now)->tm_hour != hour_unset) | 8740 if (localtime (&now)->tm_hour != hour_unset) |
| 8923 exit (1); | 8741 exit (1); |
| 8924 exit (0); | 8742 exit (0); |
| 8925 } | 8743 } |
| 8926 EOF | 8744 EOF |
| 8927 if { (eval echo configure:8928: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 8745 if { (eval echo configure:8746: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
| 8928 then | 8746 then |
| 8929 emacs_cv_localtime_cache=no | 8747 emacs_cv_localtime_cache=no |
| 8930 else | 8748 else |
| 8931 conftest_rc="$?" | 8749 conftest_rc="$?" |
| 8932 echo "configure: failed program was:" >&5 | 8750 echo "configure: failed program was:" >&5 |
| 8952 | 8770 |
| 8953 fi | 8771 fi |
| 8954 | 8772 |
| 8955 if test "$HAVE_TIMEVAL" = "yes"; then | 8773 if test "$HAVE_TIMEVAL" = "yes"; then |
| 8956 echo $ac_n "checking whether gettimeofday accepts one or two arguments""... $ac_c" 1>&6 | 8774 echo $ac_n "checking whether gettimeofday accepts one or two arguments""... $ac_c" 1>&6 |
| 8957 echo "configure:8958: checking whether gettimeofday accepts one or two arguments" >&5 | 8775 echo "configure:8776: checking whether gettimeofday accepts one or two arguments" >&5 |
| 8958 cat > conftest.$ac_ext <<EOF | 8776 cat > conftest.$ac_ext <<EOF |
| 8959 #line 8960 "configure" | 8777 #line 8778 "configure" |
| 8960 #include "confdefs.h" | 8778 #include "confdefs.h" |
| 8961 | 8779 |
| 8962 #ifdef TIME_WITH_SYS_TIME | 8780 #ifdef TIME_WITH_SYS_TIME |
| 8963 #include <sys/time.h> | 8781 #include <sys/time.h> |
| 8964 #include <time.h> | 8782 #include <time.h> |
| 8976 struct timezone dummy; | 8794 struct timezone dummy; |
| 8977 gettimeofday (&time, &dummy); | 8795 gettimeofday (&time, &dummy); |
| 8978 | 8796 |
| 8979 ; return 0; } | 8797 ; return 0; } |
| 8980 EOF | 8798 EOF |
| 8981 if { (eval echo configure:8982: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8799 if { (eval echo configure:8800: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 8982 rm -rf conftest* | 8800 rm -rf conftest* |
| 8983 echo "$ac_t""two" 1>&6 | 8801 echo "$ac_t""two" 1>&6 |
| 8984 else | 8802 else |
| 8985 echo "configure: failed program was:" >&5 | 8803 echo "configure: failed program was:" >&5 |
| 8986 cat conftest.$ac_ext >&5 | 8804 cat conftest.$ac_ext >&5 |
| 8998 rm -f conftest* | 8816 rm -f conftest* |
| 8999 fi | 8817 fi |
| 9000 | 8818 |
| 9001 | 8819 |
| 9002 echo $ac_n "checking for inline""... $ac_c" 1>&6 | 8820 echo $ac_n "checking for inline""... $ac_c" 1>&6 |
| 9003 echo "configure:9004: checking for inline" >&5 | 8821 echo "configure:8822: checking for inline" >&5 |
| 9004 | 8822 |
| 9005 ac_cv_c_inline=no | 8823 ac_cv_c_inline=no |
| 9006 for ac_kw in inline __inline__ __inline; do | 8824 for ac_kw in inline __inline__ __inline; do |
| 9007 cat > conftest.$ac_ext <<EOF | 8825 cat > conftest.$ac_ext <<EOF |
| 9008 #line 9009 "configure" | 8826 #line 8827 "configure" |
| 9009 #include "confdefs.h" | 8827 #include "confdefs.h" |
| 9010 | 8828 |
| 9011 int main() { | 8829 int main() { |
| 9012 } $ac_kw foo() { | 8830 } $ac_kw foo() { |
| 9013 ; return 0; } | 8831 ; return 0; } |
| 9014 EOF | 8832 EOF |
| 9015 if { (eval echo configure:9016: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 8833 if { (eval echo configure:8834: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| 9016 rm -rf conftest* | 8834 rm -rf conftest* |
| 9017 ac_cv_c_inline=$ac_kw; break | 8835 ac_cv_c_inline=$ac_kw; break |
| 9018 else | 8836 else |
| 9019 echo "configure: failed program was:" >&5 | 8837 echo "configure: failed program was:" >&5 |
| 9020 cat conftest.$ac_ext >&5 | 8838 cat conftest.$ac_ext >&5 |
| 9060 | 8878 |
| 9061 | 8879 |
| 9062 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works | 8880 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works |
| 9063 # for constant arguments. Useless! | 8881 # for constant arguments. Useless! |
| 9064 echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6 | 8882 echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6 |
| 9065 echo "configure:9066: checking for working alloca.h" >&5 | 8883 echo "configure:8884: checking for working alloca.h" >&5 |
| 9066 | 8884 |
| 9067 cat > conftest.$ac_ext <<EOF | 8885 cat > conftest.$ac_ext <<EOF |
| 9068 #line 9069 "configure" | 8886 #line 8887 "configure" |
| 9069 #include "confdefs.h" | 8887 #include "confdefs.h" |
| 9070 #include <alloca.h> | 8888 #include <alloca.h> |
| 9071 int main() { | 8889 int main() { |
| 9072 char *p = alloca(2 * sizeof(int)); | 8890 char *p = alloca(2 * sizeof(int)); |
| 9073 ; return 0; } | 8891 ; return 0; } |
| 9074 EOF | 8892 EOF |
| 9075 if { (eval echo configure:9076: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8893 if { (eval echo configure:8894: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 9076 rm -rf conftest* | 8894 rm -rf conftest* |
| 9077 ac_cv_header_alloca_h=yes | 8895 ac_cv_header_alloca_h=yes |
| 9078 else | 8896 else |
| 9079 echo "configure: failed program was:" >&5 | 8897 echo "configure: failed program was:" >&5 |
| 9080 cat conftest.$ac_ext >&5 | 8898 cat conftest.$ac_ext >&5 |
| 9094 } | 8912 } |
| 9095 | 8913 |
| 9096 fi | 8914 fi |
| 9097 | 8915 |
| 9098 echo $ac_n "checking for alloca""... $ac_c" 1>&6 | 8916 echo $ac_n "checking for alloca""... $ac_c" 1>&6 |
| 9099 echo "configure:9100: checking for alloca" >&5 | 8917 echo "configure:8918: checking for alloca" >&5 |
| 9100 | 8918 |
| 9101 cat > conftest.$ac_ext <<EOF | 8919 cat > conftest.$ac_ext <<EOF |
| 9102 #line 9103 "configure" | 8920 #line 8921 "configure" |
| 9103 #include "confdefs.h" | 8921 #include "confdefs.h" |
| 9104 | 8922 |
| 9105 #ifdef __GNUC__ | 8923 #ifdef __GNUC__ |
| 9106 # define alloca __builtin_alloca | 8924 # define alloca __builtin_alloca |
| 9107 #else | 8925 #else |
| 9108 # ifdef _MSC_VER | 8926 # if HAVE_ALLOCA_H |
| 9109 # include <malloc.h> | 8927 # include <alloca.h> |
| 9110 # define alloca _alloca | |
| 9111 # else | 8928 # else |
| 9112 # if HAVE_ALLOCA_H | 8929 # ifdef _AIX |
| 9113 # include <alloca.h> | 8930 #pragma alloca |
| 9114 # else | 8931 # else |
| 9115 # ifdef _AIX | 8932 # ifndef alloca /* predefined by HP cc +Olibcalls */ |
| 9116 #pragma alloca | |
| 9117 # else | |
| 9118 # ifndef alloca /* predefined by HP cc +Olibcalls */ | |
| 9119 char *alloca (); | 8933 char *alloca (); |
| 9120 # endif | |
| 9121 # endif | 8934 # endif |
| 9122 # endif | 8935 # endif |
| 9123 # endif | 8936 # endif |
| 9124 #endif | 8937 #endif |
| 9125 | 8938 |
| 9126 int main() { | 8939 int main() { |
| 9127 char *p = (char *) alloca(1); | 8940 char *p = (char *) alloca(1); |
| 9128 ; return 0; } | 8941 ; return 0; } |
| 9129 EOF | 8942 EOF |
| 9130 if { (eval echo configure:9131: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8943 if { (eval echo configure:8944: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 9131 rm -rf conftest* | 8944 rm -rf conftest* |
| 9132 ac_cv_func_alloca_works=yes | 8945 ac_cv_func_alloca_works=yes |
| 9133 else | 8946 else |
| 9134 echo "configure: failed program was:" >&5 | 8947 echo "configure: failed program was:" >&5 |
| 9135 cat conftest.$ac_ext >&5 | 8948 cat conftest.$ac_ext >&5 |
| 9153 if test $ac_cv_func_alloca_works = no; then | 8966 if test $ac_cv_func_alloca_works = no; then |
| 9154 # The SVR3 libPW and SVR4 libucb both contain incompatible functions | 8967 # The SVR3 libPW and SVR4 libucb both contain incompatible functions |
| 9155 # that cause trouble. Some versions do not even contain alloca or | 8968 # that cause trouble. Some versions do not even contain alloca or |
| 9156 # contain a buggy version. If you still want to use their alloca, | 8969 # contain a buggy version. If you still want to use their alloca, |
| 9157 # use ar to extract alloca.o from them instead of compiling alloca.c. | 8970 # use ar to extract alloca.o from them instead of compiling alloca.c. |
| 9158 ALLOCA=alloca.${ac_objext} | 8971 ALLOCA=alloca.o |
| 9159 { test "$extra_verbose" = "yes" && cat << \EOF | 8972 { test "$extra_verbose" = "yes" && cat << \EOF |
| 9160 Defining C_ALLOCA | 8973 Defining C_ALLOCA |
| 9161 EOF | 8974 EOF |
| 9162 cat >> confdefs.h <<\EOF | 8975 cat >> confdefs.h <<\EOF |
| 9163 #define C_ALLOCA 1 | 8976 #define C_ALLOCA 1 |
| 9164 EOF | 8977 EOF |
| 9165 } | 8978 } |
| 9166 | 8979 |
| 9167 | 8980 |
| 9168 echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6 | 8981 echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6 |
| 9169 echo "configure:9170: checking whether alloca needs Cray hooks" >&5 | 8982 echo "configure:8983: checking whether alloca needs Cray hooks" >&5 |
| 9170 | 8983 |
| 9171 cat > conftest.$ac_ext <<EOF | 8984 cat > conftest.$ac_ext <<EOF |
| 9172 #line 9173 "configure" | 8985 #line 8986 "configure" |
| 9173 #include "confdefs.h" | 8986 #include "confdefs.h" |
| 9174 #if defined(CRAY) && ! defined(CRAY2) | 8987 #if defined(CRAY) && ! defined(CRAY2) |
| 9175 webecray | 8988 webecray |
| 9176 #else | 8989 #else |
| 9177 wenotbecray | 8990 wenotbecray |
| 9191 | 9004 |
| 9192 echo "$ac_t""$ac_cv_os_cray" 1>&6 | 9005 echo "$ac_t""$ac_cv_os_cray" 1>&6 |
| 9193 if test $ac_cv_os_cray = yes; then | 9006 if test $ac_cv_os_cray = yes; then |
| 9194 for ac_func in _getb67 GETB67 getb67; do | 9007 for ac_func in _getb67 GETB67 getb67; do |
| 9195 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 9008 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
| 9196 echo "configure:9197: checking for $ac_func" >&5 | 9009 echo "configure:9010: checking for $ac_func" >&5 |
| 9197 | 9010 |
| 9198 cat > conftest.$ac_ext <<EOF | 9011 cat > conftest.$ac_ext <<EOF |
| 9199 #line 9200 "configure" | 9012 #line 9013 "configure" |
| 9200 #include "confdefs.h" | 9013 #include "confdefs.h" |
| 9201 /* System header to define __stub macros and hopefully few prototypes, | 9014 /* System header to define __stub macros and hopefully few prototypes, |
| 9202 which can conflict with char $ac_func(); below. */ | 9015 which can conflict with char $ac_func(); below. */ |
| 9203 #include <assert.h> | 9016 #include <assert.h> |
| 9204 /* Override any gcc2 internal prototype to avoid an error. */ | 9017 /* Override any gcc2 internal prototype to avoid an error. */ |
| 9217 $ac_func(); | 9030 $ac_func(); |
| 9218 #endif | 9031 #endif |
| 9219 | 9032 |
| 9220 ; return 0; } | 9033 ; return 0; } |
| 9221 EOF | 9034 EOF |
| 9222 if { (eval echo configure:9223: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9035 if { (eval echo configure:9036: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 9223 rm -rf conftest* | 9036 rm -rf conftest* |
| 9224 eval "ac_cv_func_$ac_func=yes" | 9037 eval "ac_cv_func_$ac_func=yes" |
| 9225 else | 9038 else |
| 9226 echo "configure: failed program was:" >&5 | 9039 echo "configure: failed program was:" >&5 |
| 9227 cat conftest.$ac_ext >&5 | 9040 cat conftest.$ac_ext >&5 |
| 9247 | 9060 |
| 9248 done | 9061 done |
| 9249 fi | 9062 fi |
| 9250 | 9063 |
| 9251 echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6 | 9064 echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6 |
| 9252 echo "configure:9253: checking stack direction for C alloca" >&5 | 9065 echo "configure:9066: checking stack direction for C alloca" >&5 |
| 9253 | 9066 |
| 9254 cat > conftest.$ac_ext <<EOF | 9067 cat > conftest.$ac_ext <<EOF |
| 9255 #line 9256 "configure" | 9068 #line 9069 "configure" |
| 9256 #include "confdefs.h" | 9069 #include "confdefs.h" |
| 9257 find_stack_direction () | 9070 find_stack_direction () |
| 9258 { | 9071 { |
| 9259 static char *addr = 0; | 9072 static char *addr = 0; |
| 9260 auto char dummy; | 9073 auto char dummy; |
| 9269 main () | 9082 main () |
| 9270 { | 9083 { |
| 9271 exit (find_stack_direction() < 0); | 9084 exit (find_stack_direction() < 0); |
| 9272 } | 9085 } |
| 9273 EOF | 9086 EOF |
| 9274 if { (eval echo configure:9275: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 9087 if { (eval echo configure:9088: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
| 9275 then | 9088 then |
| 9276 ac_cv_c_stack_direction=1 | 9089 ac_cv_c_stack_direction=1 |
| 9277 else | 9090 else |
| 9278 conftest_rc="$?" | 9091 conftest_rc="$?" |
| 9279 echo "configure: failed program was:" >&5 | 9092 echo "configure: failed program was:" >&5 |
| 9298 echo " xemacs will be linked with \"$ALLOCA\"" | 9111 echo " xemacs will be linked with \"$ALLOCA\"" |
| 9299 fi | 9112 fi |
| 9300 | 9113 |
| 9301 ac_safe=`echo "vfork.h" | sed 'y%./+-%__p_%'` | 9114 ac_safe=`echo "vfork.h" | sed 'y%./+-%__p_%'` |
| 9302 echo $ac_n "checking for vfork.h""... $ac_c" 1>&6 | 9115 echo $ac_n "checking for vfork.h""... $ac_c" 1>&6 |
| 9303 echo "configure:9304: checking for vfork.h" >&5 | 9116 echo "configure:9117: checking for vfork.h" >&5 |
| 9304 | 9117 |
| 9305 cat > conftest.$ac_ext <<EOF | 9118 cat > conftest.$ac_ext <<EOF |
| 9306 #line 9307 "configure" | 9119 #line 9120 "configure" |
| 9307 #include "confdefs.h" | 9120 #include "confdefs.h" |
| 9308 #include <vfork.h> | 9121 #include <vfork.h> |
| 9309 EOF | 9122 EOF |
| 9310 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9123 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 9311 { (eval echo configure:9312: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9124 { (eval echo configure:9125: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 9312 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9125 ac_err=`grep -v '^ *+' conftest.out` |
| 9313 if test -z "$ac_err"; then | 9126 if test -z "$ac_err"; then |
| 9314 rm -rf conftest* | 9127 rm -rf conftest* |
| 9315 eval "ac_cv_header_$ac_safe=yes" | 9128 eval "ac_cv_header_$ac_safe=yes" |
| 9316 else | 9129 else |
| 9317 echo "$ac_err" >&5 | 9130 echo "$ac_err" >&5 |
| 9334 else | 9147 else |
| 9335 echo "$ac_t""no" 1>&6 | 9148 echo "$ac_t""no" 1>&6 |
| 9336 fi | 9149 fi |
| 9337 | 9150 |
| 9338 echo $ac_n "checking for working vfork""... $ac_c" 1>&6 | 9151 echo $ac_n "checking for working vfork""... $ac_c" 1>&6 |
| 9339 echo "configure:9340: checking for working vfork" >&5 | 9152 echo "configure:9153: checking for working vfork" >&5 |
| 9340 | 9153 |
| 9341 cat > conftest.$ac_ext <<EOF | 9154 cat > conftest.$ac_ext <<EOF |
| 9342 #line 9343 "configure" | 9155 #line 9156 "configure" |
| 9343 #include "confdefs.h" | 9156 #include "confdefs.h" |
| 9344 /* Thanks to Paul Eggert for this test. */ | 9157 /* Thanks to Paul Eggert for this test. */ |
| 9345 #include <stdio.h> | 9158 #include <stdio.h> |
| 9346 #include <sys/types.h> | 9159 #include <sys/types.h> |
| 9347 #include <sys/stat.h> | 9160 #include <sys/stat.h> |
| 9432 || fstat(fileno(stdout), &st) != 0 | 9245 || fstat(fileno(stdout), &st) != 0 |
| 9433 ); | 9246 ); |
| 9434 } | 9247 } |
| 9435 } | 9248 } |
| 9436 EOF | 9249 EOF |
| 9437 if { (eval echo configure:9438: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 9250 if { (eval echo configure:9251: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
| 9438 then | 9251 then |
| 9439 ac_cv_func_vfork_works=yes | 9252 ac_cv_func_vfork_works=yes |
| 9440 else | 9253 else |
| 9441 conftest_rc="$?" | 9254 conftest_rc="$?" |
| 9442 echo "configure: failed program was:" >&5 | 9255 echo "configure: failed program was:" >&5 |
| 9458 | 9271 |
| 9459 fi | 9272 fi |
| 9460 | 9273 |
| 9461 | 9274 |
| 9462 echo $ac_n "checking for working strcoll""... $ac_c" 1>&6 | 9275 echo $ac_n "checking for working strcoll""... $ac_c" 1>&6 |
| 9463 echo "configure:9464: checking for working strcoll" >&5 | 9276 echo "configure:9277: checking for working strcoll" >&5 |
| 9464 | 9277 |
| 9465 cat > conftest.$ac_ext <<EOF | 9278 cat > conftest.$ac_ext <<EOF |
| 9466 #line 9467 "configure" | 9279 #line 9280 "configure" |
| 9467 #include "confdefs.h" | 9280 #include "confdefs.h" |
| 9468 #include <string.h> | 9281 #include <string.h> |
| 9469 main () | 9282 main () |
| 9470 { | 9283 { |
| 9471 exit (strcoll ("abc", "def") >= 0 || | 9284 exit (strcoll ("abc", "def") >= 0 || |
| 9472 strcoll ("ABC", "DEF") >= 0 || | 9285 strcoll ("ABC", "DEF") >= 0 || |
| 9473 strcoll ("123", "456") >= 0); | 9286 strcoll ("123", "456") >= 0); |
| 9474 } | 9287 } |
| 9475 EOF | 9288 EOF |
| 9476 if { (eval echo configure:9477: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 9289 if { (eval echo configure:9290: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
| 9477 then | 9290 then |
| 9478 ac_cv_func_strcoll_works=yes | 9291 ac_cv_func_strcoll_works=yes |
| 9479 else | 9292 else |
| 9480 conftest_rc="$?" | 9293 conftest_rc="$?" |
| 9481 echo "configure: failed program was:" >&5 | 9294 echo "configure: failed program was:" >&5 |
| 9499 | 9312 |
| 9500 | 9313 |
| 9501 for ac_func in getpgrp | 9314 for ac_func in getpgrp |
| 9502 do | 9315 do |
| 9503 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 9316 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
| 9504 echo "configure:9505: checking for $ac_func" >&5 | 9317 echo "configure:9318: checking for $ac_func" >&5 |
| 9505 | 9318 |
| 9506 cat > conftest.$ac_ext <<EOF | 9319 cat > conftest.$ac_ext <<EOF |
| 9507 #line 9508 "configure" | 9320 #line 9321 "configure" |
| 9508 #include "confdefs.h" | 9321 #include "confdefs.h" |
| 9509 /* System header to define __stub macros and hopefully few prototypes, | 9322 /* System header to define __stub macros and hopefully few prototypes, |
| 9510 which can conflict with char $ac_func(); below. */ | 9323 which can conflict with char $ac_func(); below. */ |
| 9511 #include <assert.h> | 9324 #include <assert.h> |
| 9512 /* Override any gcc2 internal prototype to avoid an error. */ | 9325 /* Override any gcc2 internal prototype to avoid an error. */ |
| 9525 $ac_func(); | 9338 $ac_func(); |
| 9526 #endif | 9339 #endif |
| 9527 | 9340 |
| 9528 ; return 0; } | 9341 ; return 0; } |
| 9529 EOF | 9342 EOF |
| 9530 if { (eval echo configure:9531: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9343 if { (eval echo configure:9344: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 9531 rm -rf conftest* | 9344 rm -rf conftest* |
| 9532 eval "ac_cv_func_$ac_func=yes" | 9345 eval "ac_cv_func_$ac_func=yes" |
| 9533 else | 9346 else |
| 9534 echo "configure: failed program was:" >&5 | 9347 echo "configure: failed program was:" >&5 |
| 9535 cat conftest.$ac_ext >&5 | 9348 cat conftest.$ac_ext >&5 |
| 9553 echo "$ac_t""no" 1>&6 | 9366 echo "$ac_t""no" 1>&6 |
| 9554 fi | 9367 fi |
| 9555 done | 9368 done |
| 9556 | 9369 |
| 9557 echo $ac_n "checking whether getpgrp takes no argument""... $ac_c" 1>&6 | 9370 echo $ac_n "checking whether getpgrp takes no argument""... $ac_c" 1>&6 |
| 9558 echo "configure:9559: checking whether getpgrp takes no argument" >&5 | 9371 echo "configure:9372: checking whether getpgrp takes no argument" >&5 |
| 9559 | 9372 |
| 9560 cat > conftest.$ac_ext <<EOF | 9373 cat > conftest.$ac_ext <<EOF |
| 9561 #line 9562 "configure" | 9374 #line 9375 "configure" |
| 9562 #include "confdefs.h" | 9375 #include "confdefs.h" |
| 9563 | 9376 |
| 9564 /* | 9377 /* |
| 9565 * If this system has a BSD-style getpgrp(), | 9378 * If this system has a BSD-style getpgrp(), |
| 9566 * which takes a pid argument, exit unsuccessfully. | 9379 * which takes a pid argument, exit unsuccessfully. |
| 9611 exit(s>>8); | 9424 exit(s>>8); |
| 9612 } | 9425 } |
| 9613 } | 9426 } |
| 9614 | 9427 |
| 9615 EOF | 9428 EOF |
| 9616 if { (eval echo configure:9617: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 9429 if { (eval echo configure:9430: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
| 9617 then | 9430 then |
| 9618 ac_cv_func_getpgrp_void=yes | 9431 ac_cv_func_getpgrp_void=yes |
| 9619 else | 9432 else |
| 9620 conftest_rc="$?" | 9433 conftest_rc="$?" |
| 9621 echo "configure: failed program was:" >&5 | 9434 echo "configure: failed program was:" >&5 |
| 9638 | 9451 |
| 9639 fi | 9452 fi |
| 9640 | 9453 |
| 9641 | 9454 |
| 9642 echo $ac_n "checking for working mmap""... $ac_c" 1>&6 | 9455 echo $ac_n "checking for working mmap""... $ac_c" 1>&6 |
| 9643 echo "configure:9644: checking for working mmap" >&5 | 9456 echo "configure:9457: checking for working mmap" >&5 |
| 9644 case "$opsys" in ultrix* ) have_mmap=no ;; *) | 9457 case "$opsys" in ultrix* ) have_mmap=no ;; *) |
| 9645 cat > conftest.$ac_ext <<EOF | 9458 cat > conftest.$ac_ext <<EOF |
| 9646 #line 9647 "configure" | 9459 #line 9460 "configure" |
| 9647 #include "confdefs.h" | 9460 #include "confdefs.h" |
| 9648 #include <stdio.h> | 9461 #include <stdio.h> |
| 9649 #include <unistd.h> | 9462 #include <unistd.h> |
| 9650 #include <fcntl.h> | 9463 #include <fcntl.h> |
| 9651 #include <sys/mman.h> | 9464 #include <sys/mman.h> |
| 9674 return 0; | 9487 return 0; |
| 9675 perror ("conftest: mmap failed"); | 9488 perror ("conftest: mmap failed"); |
| 9676 return 1; | 9489 return 1; |
| 9677 } | 9490 } |
| 9678 EOF | 9491 EOF |
| 9679 if { (eval echo configure:9680: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 9492 if { (eval echo configure:9493: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
| 9680 then | 9493 then |
| 9681 have_mmap=yes | 9494 have_mmap=yes |
| 9682 else | 9495 else |
| 9683 conftest_rc="$?" | 9496 conftest_rc="$?" |
| 9684 echo "configure: failed program was:" >&5 | 9497 echo "configure: failed program was:" >&5 |
| 9699 | 9512 |
| 9700 for ac_hdr in unistd.h | 9513 for ac_hdr in unistd.h |
| 9701 do | 9514 do |
| 9702 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 9515 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
| 9703 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 9516 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
| 9704 echo "configure:9705: checking for $ac_hdr" >&5 | 9517 echo "configure:9518: checking for $ac_hdr" >&5 |
| 9705 | 9518 |
| 9706 cat > conftest.$ac_ext <<EOF | 9519 cat > conftest.$ac_ext <<EOF |
| 9707 #line 9708 "configure" | 9520 #line 9521 "configure" |
| 9708 #include "confdefs.h" | 9521 #include "confdefs.h" |
| 9709 #include <$ac_hdr> | 9522 #include <$ac_hdr> |
| 9710 EOF | 9523 EOF |
| 9711 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9524 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 9712 { (eval echo configure:9713: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9525 { (eval echo configure:9526: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 9713 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9526 ac_err=`grep -v '^ *+' conftest.out` |
| 9714 if test -z "$ac_err"; then | 9527 if test -z "$ac_err"; then |
| 9715 rm -rf conftest* | 9528 rm -rf conftest* |
| 9716 eval "ac_cv_header_$ac_safe=yes" | 9529 eval "ac_cv_header_$ac_safe=yes" |
| 9717 else | 9530 else |
| 9718 echo "$ac_err" >&5 | 9531 echo "$ac_err" >&5 |
| 9739 done | 9552 done |
| 9740 | 9553 |
| 9741 for ac_func in getpagesize | 9554 for ac_func in getpagesize |
| 9742 do | 9555 do |
| 9743 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 9556 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
| 9744 echo "configure:9745: checking for $ac_func" >&5 | 9557 echo "configure:9558: checking for $ac_func" >&5 |
| 9745 | 9558 |
| 9746 cat > conftest.$ac_ext <<EOF | 9559 cat > conftest.$ac_ext <<EOF |
| 9747 #line 9748 "configure" | 9560 #line 9561 "configure" |
| 9748 #include "confdefs.h" | 9561 #include "confdefs.h" |
| 9749 /* System header to define __stub macros and hopefully few prototypes, | 9562 /* System header to define __stub macros and hopefully few prototypes, |
| 9750 which can conflict with char $ac_func(); below. */ | 9563 which can conflict with char $ac_func(); below. */ |
| 9751 #include <assert.h> | 9564 #include <assert.h> |
| 9752 /* Override any gcc2 internal prototype to avoid an error. */ | 9565 /* Override any gcc2 internal prototype to avoid an error. */ |
| 9765 $ac_func(); | 9578 $ac_func(); |
| 9766 #endif | 9579 #endif |
| 9767 | 9580 |
| 9768 ; return 0; } | 9581 ; return 0; } |
| 9769 EOF | 9582 EOF |
| 9770 if { (eval echo configure:9771: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9583 if { (eval echo configure:9584: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 9771 rm -rf conftest* | 9584 rm -rf conftest* |
| 9772 eval "ac_cv_func_$ac_func=yes" | 9585 eval "ac_cv_func_$ac_func=yes" |
| 9773 else | 9586 else |
| 9774 echo "configure: failed program was:" >&5 | 9587 echo "configure: failed program was:" >&5 |
| 9775 cat conftest.$ac_ext >&5 | 9588 cat conftest.$ac_ext >&5 |
| 9793 echo "$ac_t""no" 1>&6 | 9606 echo "$ac_t""no" 1>&6 |
| 9794 fi | 9607 fi |
| 9795 done | 9608 done |
| 9796 | 9609 |
| 9797 echo $ac_n "checking for working mmap""... $ac_c" 1>&6 | 9610 echo $ac_n "checking for working mmap""... $ac_c" 1>&6 |
| 9798 echo "configure:9799: checking for working mmap" >&5 | 9611 echo "configure:9612: checking for working mmap" >&5 |
| 9799 | 9612 |
| 9800 cat > conftest.$ac_ext <<EOF | 9613 cat > conftest.$ac_ext <<EOF |
| 9801 #line 9802 "configure" | 9614 #line 9615 "configure" |
| 9802 #include "confdefs.h" | 9615 #include "confdefs.h" |
| 9803 | 9616 |
| 9804 /* Thanks to Mike Haertel and Jim Avera for this test. | 9617 /* Thanks to Mike Haertel and Jim Avera for this test. |
| 9805 Here is a matrix of mmap possibilities: | 9618 Here is a matrix of mmap possibilities: |
| 9806 mmap private not fixed | 9619 mmap private not fixed |
| 9936 unlink("conftestmmap"); | 9749 unlink("conftestmmap"); |
| 9937 exit(0); | 9750 exit(0); |
| 9938 } | 9751 } |
| 9939 | 9752 |
| 9940 EOF | 9753 EOF |
| 9941 if { (eval echo configure:9942: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 9754 if { (eval echo configure:9755: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
| 9942 then | 9755 then |
| 9943 ac_cv_func_mmap_fixed_mapped=yes | 9756 ac_cv_func_mmap_fixed_mapped=yes |
| 9944 else | 9757 else |
| 9945 conftest_rc="$?" | 9758 conftest_rc="$?" |
| 9946 echo "configure: failed program was:" >&5 | 9759 echo "configure: failed program was:" >&5 |
| 9974 } | 9787 } |
| 9975 | 9788 |
| 9976 | 9789 |
| 9977 ac_safe=`echo "termios.h" | sed 'y%./+-%__p_%'` | 9790 ac_safe=`echo "termios.h" | sed 'y%./+-%__p_%'` |
| 9978 echo $ac_n "checking for termios.h""... $ac_c" 1>&6 | 9791 echo $ac_n "checking for termios.h""... $ac_c" 1>&6 |
| 9979 echo "configure:9980: checking for termios.h" >&5 | 9792 echo "configure:9793: checking for termios.h" >&5 |
| 9980 | 9793 |
| 9981 cat > conftest.$ac_ext <<EOF | 9794 cat > conftest.$ac_ext <<EOF |
| 9982 #line 9983 "configure" | 9795 #line 9796 "configure" |
| 9983 #include "confdefs.h" | 9796 #include "confdefs.h" |
| 9984 #include <termios.h> | 9797 #include <termios.h> |
| 9985 EOF | 9798 EOF |
| 9986 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9799 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 9987 { (eval echo configure:9988: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9800 { (eval echo configure:9801: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 9988 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9801 ac_err=`grep -v '^ *+' conftest.out` |
| 9989 if test -z "$ac_err"; then | 9802 if test -z "$ac_err"; then |
| 9990 rm -rf conftest* | 9803 rm -rf conftest* |
| 9991 eval "ac_cv_header_$ac_safe=yes" | 9804 eval "ac_cv_header_$ac_safe=yes" |
| 9992 else | 9805 else |
| 9993 echo "$ac_err" >&5 | 9806 echo "$ac_err" >&5 |
| 10025 | 9838 |
| 10026 else | 9839 else |
| 10027 echo "$ac_t""no" 1>&6 | 9840 echo "$ac_t""no" 1>&6 |
| 10028 ac_safe=`echo "termio.h" | sed 'y%./+-%__p_%'` | 9841 ac_safe=`echo "termio.h" | sed 'y%./+-%__p_%'` |
| 10029 echo $ac_n "checking for termio.h""... $ac_c" 1>&6 | 9842 echo $ac_n "checking for termio.h""... $ac_c" 1>&6 |
| 10030 echo "configure:10031: checking for termio.h" >&5 | 9843 echo "configure:9844: checking for termio.h" >&5 |
| 10031 | 9844 |
| 10032 cat > conftest.$ac_ext <<EOF | 9845 cat > conftest.$ac_ext <<EOF |
| 10033 #line 10034 "configure" | 9846 #line 9847 "configure" |
| 10034 #include "confdefs.h" | 9847 #include "confdefs.h" |
| 10035 #include <termio.h> | 9848 #include <termio.h> |
| 10036 EOF | 9849 EOF |
| 10037 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9850 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 10038 { (eval echo configure:10039: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9851 { (eval echo configure:9852: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 10039 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9852 ac_err=`grep -v '^ *+' conftest.out` |
| 10040 if test -z "$ac_err"; then | 9853 if test -z "$ac_err"; then |
| 10041 rm -rf conftest* | 9854 rm -rf conftest* |
| 10042 eval "ac_cv_header_$ac_safe=yes" | 9855 eval "ac_cv_header_$ac_safe=yes" |
| 10043 else | 9856 else |
| 10044 echo "$ac_err" >&5 | 9857 echo "$ac_err" >&5 |
| 10065 fi | 9878 fi |
| 10066 | 9879 |
| 10067 | 9880 |
| 10068 | 9881 |
| 10069 echo $ac_n "checking for socket""... $ac_c" 1>&6 | 9882 echo $ac_n "checking for socket""... $ac_c" 1>&6 |
| 10070 echo "configure:10071: checking for socket" >&5 | 9883 echo "configure:9884: checking for socket" >&5 |
| 10071 | 9884 |
| 10072 cat > conftest.$ac_ext <<EOF | 9885 cat > conftest.$ac_ext <<EOF |
| 10073 #line 10074 "configure" | 9886 #line 9887 "configure" |
| 10074 #include "confdefs.h" | 9887 #include "confdefs.h" |
| 10075 /* System header to define __stub macros and hopefully few prototypes, | 9888 /* System header to define __stub macros and hopefully few prototypes, |
| 10076 which can conflict with char socket(); below. */ | 9889 which can conflict with char socket(); below. */ |
| 10077 #include <assert.h> | 9890 #include <assert.h> |
| 10078 /* Override any gcc2 internal prototype to avoid an error. */ | 9891 /* Override any gcc2 internal prototype to avoid an error. */ |
| 10091 socket(); | 9904 socket(); |
| 10092 #endif | 9905 #endif |
| 10093 | 9906 |
| 10094 ; return 0; } | 9907 ; return 0; } |
| 10095 EOF | 9908 EOF |
| 10096 if { (eval echo configure:10097: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9909 if { (eval echo configure:9910: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 10097 rm -rf conftest* | 9910 rm -rf conftest* |
| 10098 eval "ac_cv_func_socket=yes" | 9911 eval "ac_cv_func_socket=yes" |
| 10099 else | 9912 else |
| 10100 echo "configure: failed program was:" >&5 | 9913 echo "configure: failed program was:" >&5 |
| 10101 cat conftest.$ac_ext >&5 | 9914 cat conftest.$ac_ext >&5 |
| 10106 | 9919 |
| 10107 if eval "test \"`echo '$ac_cv_func_'socket`\" = yes"; then | 9920 if eval "test \"`echo '$ac_cv_func_'socket`\" = yes"; then |
| 10108 echo "$ac_t""yes" 1>&6 | 9921 echo "$ac_t""yes" 1>&6 |
| 10109 ac_safe=`echo "netinet/in.h" | sed 'y%./+-%__p_%'` | 9922 ac_safe=`echo "netinet/in.h" | sed 'y%./+-%__p_%'` |
| 10110 echo $ac_n "checking for netinet/in.h""... $ac_c" 1>&6 | 9923 echo $ac_n "checking for netinet/in.h""... $ac_c" 1>&6 |
| 10111 echo "configure:10112: checking for netinet/in.h" >&5 | 9924 echo "configure:9925: checking for netinet/in.h" >&5 |
| 10112 | 9925 |
| 10113 cat > conftest.$ac_ext <<EOF | 9926 cat > conftest.$ac_ext <<EOF |
| 10114 #line 10115 "configure" | 9927 #line 9928 "configure" |
| 10115 #include "confdefs.h" | 9928 #include "confdefs.h" |
| 10116 #include <netinet/in.h> | 9929 #include <netinet/in.h> |
| 10117 EOF | 9930 EOF |
| 10118 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9931 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 10119 { (eval echo configure:10120: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9932 { (eval echo configure:9933: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 10120 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9933 ac_err=`grep -v '^ *+' conftest.out` |
| 10121 if test -z "$ac_err"; then | 9934 if test -z "$ac_err"; then |
| 10122 rm -rf conftest* | 9935 rm -rf conftest* |
| 10123 eval "ac_cv_header_$ac_safe=yes" | 9936 eval "ac_cv_header_$ac_safe=yes" |
| 10124 else | 9937 else |
| 10125 echo "$ac_err" >&5 | 9938 echo "$ac_err" >&5 |
| 10131 rm -f conftest* | 9944 rm -f conftest* |
| 10132 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 9945 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
| 10133 echo "$ac_t""yes" 1>&6 | 9946 echo "$ac_t""yes" 1>&6 |
| 10134 ac_safe=`echo "arpa/inet.h" | sed 'y%./+-%__p_%'` | 9947 ac_safe=`echo "arpa/inet.h" | sed 'y%./+-%__p_%'` |
| 10135 echo $ac_n "checking for arpa/inet.h""... $ac_c" 1>&6 | 9948 echo $ac_n "checking for arpa/inet.h""... $ac_c" 1>&6 |
| 10136 echo "configure:10137: checking for arpa/inet.h" >&5 | 9949 echo "configure:9950: checking for arpa/inet.h" >&5 |
| 10137 | 9950 |
| 10138 cat > conftest.$ac_ext <<EOF | 9951 cat > conftest.$ac_ext <<EOF |
| 10139 #line 10140 "configure" | 9952 #line 9953 "configure" |
| 10140 #include "confdefs.h" | 9953 #include "confdefs.h" |
| 10141 #include <arpa/inet.h> | 9954 #include <arpa/inet.h> |
| 10142 EOF | 9955 EOF |
| 10143 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9956 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 10144 { (eval echo configure:10145: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9957 { (eval echo configure:9958: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 10145 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9958 ac_err=`grep -v '^ *+' conftest.out` |
| 10146 if test -z "$ac_err"; then | 9959 if test -z "$ac_err"; then |
| 10147 rm -rf conftest* | 9960 rm -rf conftest* |
| 10148 eval "ac_cv_header_$ac_safe=yes" | 9961 eval "ac_cv_header_$ac_safe=yes" |
| 10149 else | 9962 else |
| 10150 echo "$ac_err" >&5 | 9963 echo "$ac_err" >&5 |
| 10164 #define HAVE_SOCKETS 1 | 9977 #define HAVE_SOCKETS 1 |
| 10165 EOF | 9978 EOF |
| 10166 } | 9979 } |
| 10167 | 9980 |
| 10168 echo $ac_n "checking "for sun_len member in struct sockaddr_un"""... $ac_c" 1>&6 | 9981 echo $ac_n "checking "for sun_len member in struct sockaddr_un"""... $ac_c" 1>&6 |
| 10169 echo "configure:10170: checking "for sun_len member in struct sockaddr_un"" >&5 | 9982 echo "configure:9983: checking "for sun_len member in struct sockaddr_un"" >&5 |
| 10170 cat > conftest.$ac_ext <<EOF | 9983 cat > conftest.$ac_ext <<EOF |
| 10171 #line 10172 "configure" | 9984 #line 9985 "configure" |
| 10172 #include "confdefs.h" | 9985 #include "confdefs.h" |
| 10173 | 9986 |
| 10174 #include <sys/types.h> | 9987 #include <sys/types.h> |
| 10175 #include <sys/socket.h> | 9988 #include <sys/socket.h> |
| 10176 #include <sys/un.h> | 9989 #include <sys/un.h> |
| 10177 | 9990 |
| 10178 int main() { | 9991 int main() { |
| 10179 static struct sockaddr_un x; x.sun_len = 1; | 9992 static struct sockaddr_un x; x.sun_len = 1; |
| 10180 ; return 0; } | 9993 ; return 0; } |
| 10181 EOF | 9994 EOF |
| 10182 if { (eval echo configure:10183: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9995 if { (eval echo configure:9996: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 10183 rm -rf conftest* | 9996 rm -rf conftest* |
| 10184 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF | 9997 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF |
| 10185 Defining HAVE_SOCKADDR_SUN_LEN | 9998 Defining HAVE_SOCKADDR_SUN_LEN |
| 10186 EOF | 9999 EOF |
| 10187 cat >> confdefs.h <<\EOF | 10000 cat >> confdefs.h <<\EOF |
| 10195 rm -rf conftest* | 10008 rm -rf conftest* |
| 10196 echo "$ac_t""no" 1>&6 | 10009 echo "$ac_t""no" 1>&6 |
| 10197 fi | 10010 fi |
| 10198 rm -f conftest* | 10011 rm -f conftest* |
| 10199 echo $ac_n "checking "for ip_mreq struct in netinet/in.h"""... $ac_c" 1>&6 | 10012 echo $ac_n "checking "for ip_mreq struct in netinet/in.h"""... $ac_c" 1>&6 |
| 10200 echo "configure:10201: checking "for ip_mreq struct in netinet/in.h"" >&5 | 10013 echo "configure:10014: checking "for ip_mreq struct in netinet/in.h"" >&5 |
| 10201 cat > conftest.$ac_ext <<EOF | 10014 cat > conftest.$ac_ext <<EOF |
| 10202 #line 10203 "configure" | 10015 #line 10016 "configure" |
| 10203 #include "confdefs.h" | 10016 #include "confdefs.h" |
| 10204 | 10017 |
| 10205 #include <sys/types.h> | 10018 #include <sys/types.h> |
| 10206 #include <netinet/in.h> | 10019 #include <netinet/in.h> |
| 10207 | 10020 |
| 10208 int main() { | 10021 int main() { |
| 10209 static struct ip_mreq x; | 10022 static struct ip_mreq x; |
| 10210 ; return 0; } | 10023 ; return 0; } |
| 10211 EOF | 10024 EOF |
| 10212 if { (eval echo configure:10213: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10025 if { (eval echo configure:10026: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 10213 rm -rf conftest* | 10026 rm -rf conftest* |
| 10214 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF | 10027 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF |
| 10215 Defining HAVE_MULTICAST | 10028 Defining HAVE_MULTICAST |
| 10216 EOF | 10029 EOF |
| 10217 cat >> confdefs.h <<\EOF | 10030 cat >> confdefs.h <<\EOF |
| 10238 echo "$ac_t""no" 1>&6 | 10051 echo "$ac_t""no" 1>&6 |
| 10239 fi | 10052 fi |
| 10240 | 10053 |
| 10241 | 10054 |
| 10242 echo $ac_n "checking for msgget""... $ac_c" 1>&6 | 10055 echo $ac_n "checking for msgget""... $ac_c" 1>&6 |
| 10243 echo "configure:10244: checking for msgget" >&5 | 10056 echo "configure:10057: checking for msgget" >&5 |
| 10244 | 10057 |
| 10245 cat > conftest.$ac_ext <<EOF | 10058 cat > conftest.$ac_ext <<EOF |
| 10246 #line 10247 "configure" | 10059 #line 10060 "configure" |
| 10247 #include "confdefs.h" | 10060 #include "confdefs.h" |
| 10248 /* System header to define __stub macros and hopefully few prototypes, | 10061 /* System header to define __stub macros and hopefully few prototypes, |
| 10249 which can conflict with char msgget(); below. */ | 10062 which can conflict with char msgget(); below. */ |
| 10250 #include <assert.h> | 10063 #include <assert.h> |
| 10251 /* Override any gcc2 internal prototype to avoid an error. */ | 10064 /* Override any gcc2 internal prototype to avoid an error. */ |
| 10264 msgget(); | 10077 msgget(); |
| 10265 #endif | 10078 #endif |
| 10266 | 10079 |
| 10267 ; return 0; } | 10080 ; return 0; } |
| 10268 EOF | 10081 EOF |
| 10269 if { (eval echo configure:10270: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10082 if { (eval echo configure:10083: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 10270 rm -rf conftest* | 10083 rm -rf conftest* |
| 10271 eval "ac_cv_func_msgget=yes" | 10084 eval "ac_cv_func_msgget=yes" |
| 10272 else | 10085 else |
| 10273 echo "configure: failed program was:" >&5 | 10086 echo "configure: failed program was:" >&5 |
| 10274 cat conftest.$ac_ext >&5 | 10087 cat conftest.$ac_ext >&5 |
| 10279 | 10092 |
| 10280 if eval "test \"`echo '$ac_cv_func_'msgget`\" = yes"; then | 10093 if eval "test \"`echo '$ac_cv_func_'msgget`\" = yes"; then |
| 10281 echo "$ac_t""yes" 1>&6 | 10094 echo "$ac_t""yes" 1>&6 |
| 10282 ac_safe=`echo "sys/ipc.h" | sed 'y%./+-%__p_%'` | 10095 ac_safe=`echo "sys/ipc.h" | sed 'y%./+-%__p_%'` |
| 10283 echo $ac_n "checking for sys/ipc.h""... $ac_c" 1>&6 | 10096 echo $ac_n "checking for sys/ipc.h""... $ac_c" 1>&6 |
| 10284 echo "configure:10285: checking for sys/ipc.h" >&5 | 10097 echo "configure:10098: checking for sys/ipc.h" >&5 |
| 10285 | 10098 |
| 10286 cat > conftest.$ac_ext <<EOF | 10099 cat > conftest.$ac_ext <<EOF |
| 10287 #line 10288 "configure" | 10100 #line 10101 "configure" |
| 10288 #include "confdefs.h" | 10101 #include "confdefs.h" |
| 10289 #include <sys/ipc.h> | 10102 #include <sys/ipc.h> |
| 10290 EOF | 10103 EOF |
| 10291 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10104 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 10292 { (eval echo configure:10293: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10105 { (eval echo configure:10106: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 10293 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10106 ac_err=`grep -v '^ *+' conftest.out` |
| 10294 if test -z "$ac_err"; then | 10107 if test -z "$ac_err"; then |
| 10295 rm -rf conftest* | 10108 rm -rf conftest* |
| 10296 eval "ac_cv_header_$ac_safe=yes" | 10109 eval "ac_cv_header_$ac_safe=yes" |
| 10297 else | 10110 else |
| 10298 echo "$ac_err" >&5 | 10111 echo "$ac_err" >&5 |
| 10304 rm -f conftest* | 10117 rm -f conftest* |
| 10305 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 10118 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
| 10306 echo "$ac_t""yes" 1>&6 | 10119 echo "$ac_t""yes" 1>&6 |
| 10307 ac_safe=`echo "sys/msg.h" | sed 'y%./+-%__p_%'` | 10120 ac_safe=`echo "sys/msg.h" | sed 'y%./+-%__p_%'` |
| 10308 echo $ac_n "checking for sys/msg.h""... $ac_c" 1>&6 | 10121 echo $ac_n "checking for sys/msg.h""... $ac_c" 1>&6 |
| 10309 echo "configure:10310: checking for sys/msg.h" >&5 | 10122 echo "configure:10123: checking for sys/msg.h" >&5 |
| 10310 | 10123 |
| 10311 cat > conftest.$ac_ext <<EOF | 10124 cat > conftest.$ac_ext <<EOF |
| 10312 #line 10313 "configure" | 10125 #line 10126 "configure" |
| 10313 #include "confdefs.h" | 10126 #include "confdefs.h" |
| 10314 #include <sys/msg.h> | 10127 #include <sys/msg.h> |
| 10315 EOF | 10128 EOF |
| 10316 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10129 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 10317 { (eval echo configure:10318: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10130 { (eval echo configure:10131: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 10318 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10131 ac_err=`grep -v '^ *+' conftest.out` |
| 10319 if test -z "$ac_err"; then | 10132 if test -z "$ac_err"; then |
| 10320 rm -rf conftest* | 10133 rm -rf conftest* |
| 10321 eval "ac_cv_header_$ac_safe=yes" | 10134 eval "ac_cv_header_$ac_safe=yes" |
| 10322 else | 10135 else |
| 10323 echo "$ac_err" >&5 | 10136 echo "$ac_err" >&5 |
| 10350 fi | 10163 fi |
| 10351 | 10164 |
| 10352 | 10165 |
| 10353 ac_safe=`echo "dirent.h" | sed 'y%./+-%__p_%'` | 10166 ac_safe=`echo "dirent.h" | sed 'y%./+-%__p_%'` |
| 10354 echo $ac_n "checking for dirent.h""... $ac_c" 1>&6 | 10167 echo $ac_n "checking for dirent.h""... $ac_c" 1>&6 |
| 10355 echo "configure:10356: checking for dirent.h" >&5 | 10168 echo "configure:10169: checking for dirent.h" >&5 |
| 10356 | 10169 |
| 10357 cat > conftest.$ac_ext <<EOF | 10170 cat > conftest.$ac_ext <<EOF |
| 10358 #line 10359 "configure" | 10171 #line 10172 "configure" |
| 10359 #include "confdefs.h" | 10172 #include "confdefs.h" |
| 10360 #include <dirent.h> | 10173 #include <dirent.h> |
| 10361 EOF | 10174 EOF |
| 10362 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10175 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 10363 { (eval echo configure:10364: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10176 { (eval echo configure:10177: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 10364 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10177 ac_err=`grep -v '^ *+' conftest.out` |
| 10365 if test -z "$ac_err"; then | 10178 if test -z "$ac_err"; then |
| 10366 rm -rf conftest* | 10179 rm -rf conftest* |
| 10367 eval "ac_cv_header_$ac_safe=yes" | 10180 eval "ac_cv_header_$ac_safe=yes" |
| 10368 else | 10181 else |
| 10369 echo "$ac_err" >&5 | 10182 echo "$ac_err" >&5 |
| 10385 | 10198 |
| 10386 else | 10199 else |
| 10387 echo "$ac_t""no" 1>&6 | 10200 echo "$ac_t""no" 1>&6 |
| 10388 ac_safe=`echo "sys/dir.h" | sed 'y%./+-%__p_%'` | 10201 ac_safe=`echo "sys/dir.h" | sed 'y%./+-%__p_%'` |
| 10389 echo $ac_n "checking for sys/dir.h""... $ac_c" 1>&6 | 10202 echo $ac_n "checking for sys/dir.h""... $ac_c" 1>&6 |
| 10390 echo "configure:10391: checking for sys/dir.h" >&5 | 10203 echo "configure:10204: checking for sys/dir.h" >&5 |
| 10391 | 10204 |
| 10392 cat > conftest.$ac_ext <<EOF | 10205 cat > conftest.$ac_ext <<EOF |
| 10393 #line 10394 "configure" | 10206 #line 10207 "configure" |
| 10394 #include "confdefs.h" | 10207 #include "confdefs.h" |
| 10395 #include <sys/dir.h> | 10208 #include <sys/dir.h> |
| 10396 EOF | 10209 EOF |
| 10397 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10210 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 10398 { (eval echo configure:10399: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10211 { (eval echo configure:10212: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 10399 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10212 ac_err=`grep -v '^ *+' conftest.out` |
| 10400 if test -z "$ac_err"; then | 10213 if test -z "$ac_err"; then |
| 10401 rm -rf conftest* | 10214 rm -rf conftest* |
| 10402 eval "ac_cv_header_$ac_safe=yes" | 10215 eval "ac_cv_header_$ac_safe=yes" |
| 10403 else | 10216 else |
| 10404 echo "$ac_err" >&5 | 10217 echo "$ac_err" >&5 |
| 10426 fi | 10239 fi |
| 10427 | 10240 |
| 10428 | 10241 |
| 10429 ac_safe=`echo "nlist.h" | sed 'y%./+-%__p_%'` | 10242 ac_safe=`echo "nlist.h" | sed 'y%./+-%__p_%'` |
| 10430 echo $ac_n "checking for nlist.h""... $ac_c" 1>&6 | 10243 echo $ac_n "checking for nlist.h""... $ac_c" 1>&6 |
| 10431 echo "configure:10432: checking for nlist.h" >&5 | 10244 echo "configure:10245: checking for nlist.h" >&5 |
| 10432 | 10245 |
| 10433 cat > conftest.$ac_ext <<EOF | 10246 cat > conftest.$ac_ext <<EOF |
| 10434 #line 10435 "configure" | 10247 #line 10248 "configure" |
| 10435 #include "confdefs.h" | 10248 #include "confdefs.h" |
| 10436 #include <nlist.h> | 10249 #include <nlist.h> |
| 10437 EOF | 10250 EOF |
| 10438 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10251 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 10439 { (eval echo configure:10440: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10252 { (eval echo configure:10253: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 10440 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10253 ac_err=`grep -v '^ *+' conftest.out` |
| 10441 if test -z "$ac_err"; then | 10254 if test -z "$ac_err"; then |
| 10442 rm -rf conftest* | 10255 rm -rf conftest* |
| 10443 eval "ac_cv_header_$ac_safe=yes" | 10256 eval "ac_cv_header_$ac_safe=yes" |
| 10444 else | 10257 else |
| 10445 echo "$ac_err" >&5 | 10258 echo "$ac_err" >&5 |
| 10464 fi | 10277 fi |
| 10465 | 10278 |
| 10466 | 10279 |
| 10467 | 10280 |
| 10468 echo "checking "for sound support"" 1>&6 | 10281 echo "checking "for sound support"" 1>&6 |
| 10469 echo "configure:10470: checking "for sound support"" >&5 | 10282 echo "configure:10283: checking "for sound support"" >&5 |
| 10470 case "$with_sound" in | 10283 case "$with_sound" in |
| 10471 native | both ) with_native_sound=yes;; | 10284 native | both ) with_native_sound=yes;; |
| 10472 nas | no ) with_native_sound=no;; | 10285 nas | no ) with_native_sound=no;; |
| 10473 esac | 10286 esac |
| 10474 test -z "$with_native_sound" -a -n "$native_sound_lib" && with_native_sound=yes | 10287 test -z "$with_native_sound" -a -n "$native_sound_lib" && with_native_sound=yes |
| 10475 | 10288 |
| 10476 if test "$with_native_sound" != "no"; then | 10289 if test "$with_native_sound" != "no"; then |
| 10477 if test -n "$native_sound_lib"; then | 10290 if test -n "$native_sound_lib"; then |
| 10478 ac_safe=`echo "multimedia/audio_device.h" | sed 'y%./+-%__p_%'` | 10291 ac_safe=`echo "multimedia/audio_device.h" | sed 'y%./+-%__p_%'` |
| 10479 echo $ac_n "checking for multimedia/audio_device.h""... $ac_c" 1>&6 | 10292 echo $ac_n "checking for multimedia/audio_device.h""... $ac_c" 1>&6 |
| 10480 echo "configure:10481: checking for multimedia/audio_device.h" >&5 | 10293 echo "configure:10294: checking for multimedia/audio_device.h" >&5 |
| 10481 | 10294 |
| 10482 cat > conftest.$ac_ext <<EOF | 10295 cat > conftest.$ac_ext <<EOF |
| 10483 #line 10484 "configure" | 10296 #line 10297 "configure" |
| 10484 #include "confdefs.h" | 10297 #include "confdefs.h" |
| 10485 #include <multimedia/audio_device.h> | 10298 #include <multimedia/audio_device.h> |
| 10486 EOF | 10299 EOF |
| 10487 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10300 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 10488 { (eval echo configure:10489: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10301 { (eval echo configure:10302: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 10489 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10302 ac_err=`grep -v '^ *+' conftest.out` |
| 10490 if test -z "$ac_err"; then | 10303 if test -z "$ac_err"; then |
| 10491 rm -rf conftest* | 10304 rm -rf conftest* |
| 10492 eval "ac_cv_header_$ac_safe=yes" | 10305 eval "ac_cv_header_$ac_safe=yes" |
| 10493 else | 10306 else |
| 10494 echo "$ac_err" >&5 | 10307 echo "$ac_err" >&5 |
| 10531 case "$canonical" in | 10344 case "$canonical" in |
| 10532 *-sgi-* ) | 10345 *-sgi-* ) |
| 10533 if test -z "$native_sound_lib"; then | 10346 if test -z "$native_sound_lib"; then |
| 10534 | 10347 |
| 10535 echo $ac_n "checking for ALopenport in -laudio""... $ac_c" 1>&6 | 10348 echo $ac_n "checking for ALopenport in -laudio""... $ac_c" 1>&6 |
| 10536 echo "configure:10537: checking for ALopenport in -laudio" >&5 | 10349 echo "configure:10350: checking for ALopenport in -laudio" >&5 |
| 10537 ac_lib_var=`echo audio'_'ALopenport | sed 'y%./+-%__p_%'` | 10350 ac_lib_var=`echo audio'_'ALopenport | sed 'y%./+-%__p_%'` |
| 10538 | 10351 |
| 10539 xe_check_libs=" -laudio " | 10352 xe_check_libs=" -laudio " |
| 10540 cat > conftest.$ac_ext <<EOF | 10353 cat > conftest.$ac_ext <<EOF |
| 10541 #line 10542 "configure" | 10354 #line 10355 "configure" |
| 10542 #include "confdefs.h" | 10355 #include "confdefs.h" |
| 10543 /* Override any gcc2 internal prototype to avoid an error. */ | 10356 /* Override any gcc2 internal prototype to avoid an error. */ |
| 10544 /* We use char because int might match the return type of a gcc2 | 10357 /* We use char because int might match the return type of a gcc2 |
| 10545 builtin and then its argument prototype would still apply. */ | 10358 builtin and then its argument prototype would still apply. */ |
| 10546 char ALopenport(); | 10359 char ALopenport(); |
| 10547 | 10360 |
| 10548 int main() { | 10361 int main() { |
| 10549 ALopenport() | 10362 ALopenport() |
| 10550 ; return 0; } | 10363 ; return 0; } |
| 10551 EOF | 10364 EOF |
| 10552 if { (eval echo configure:10553: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10365 if { (eval echo configure:10366: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 10553 rm -rf conftest* | 10366 rm -rf conftest* |
| 10554 eval "ac_cv_lib_$ac_lib_var=yes" | 10367 eval "ac_cv_lib_$ac_lib_var=yes" |
| 10555 else | 10368 else |
| 10556 echo "configure: failed program was:" >&5 | 10369 echo "configure: failed program was:" >&5 |
| 10557 cat conftest.$ac_ext >&5 | 10370 cat conftest.$ac_ext >&5 |
| 10578 fi ;; | 10391 fi ;; |
| 10579 hppa*-hp-hpux* ) | 10392 hppa*-hp-hpux* ) |
| 10580 if test -z "$native_sound_lib"; then | 10393 if test -z "$native_sound_lib"; then |
| 10581 | 10394 |
| 10582 echo $ac_n "checking for AOpenAudio in -lAlib""... $ac_c" 1>&6 | 10395 echo $ac_n "checking for AOpenAudio in -lAlib""... $ac_c" 1>&6 |
| 10583 echo "configure:10584: checking for AOpenAudio in -lAlib" >&5 | 10396 echo "configure:10397: checking for AOpenAudio in -lAlib" >&5 |
| 10584 ac_lib_var=`echo Alib'_'AOpenAudio | sed 'y%./+-%__p_%'` | 10397 ac_lib_var=`echo Alib'_'AOpenAudio | sed 'y%./+-%__p_%'` |
| 10585 | 10398 |
| 10586 xe_check_libs=" -lAlib " | 10399 xe_check_libs=" -lAlib " |
| 10587 cat > conftest.$ac_ext <<EOF | 10400 cat > conftest.$ac_ext <<EOF |
| 10588 #line 10589 "configure" | 10401 #line 10402 "configure" |
| 10589 #include "confdefs.h" | 10402 #include "confdefs.h" |
| 10590 /* Override any gcc2 internal prototype to avoid an error. */ | 10403 /* Override any gcc2 internal prototype to avoid an error. */ |
| 10591 /* We use char because int might match the return type of a gcc2 | 10404 /* We use char because int might match the return type of a gcc2 |
| 10592 builtin and then its argument prototype would still apply. */ | 10405 builtin and then its argument prototype would still apply. */ |
| 10593 char AOpenAudio(); | 10406 char AOpenAudio(); |
| 10594 | 10407 |
| 10595 int main() { | 10408 int main() { |
| 10596 AOpenAudio() | 10409 AOpenAudio() |
| 10597 ; return 0; } | 10410 ; return 0; } |
| 10598 EOF | 10411 EOF |
| 10599 if { (eval echo configure:10600: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10412 if { (eval echo configure:10413: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 10600 rm -rf conftest* | 10413 rm -rf conftest* |
| 10601 eval "ac_cv_lib_$ac_lib_var=yes" | 10414 eval "ac_cv_lib_$ac_lib_var=yes" |
| 10602 else | 10415 else |
| 10603 echo "configure: failed program was:" >&5 | 10416 echo "configure: failed program was:" >&5 |
| 10604 cat conftest.$ac_ext >&5 | 10417 cat conftest.$ac_ext >&5 |
| 10632 | 10445 |
| 10633 if test -z "$sound_found"; then | 10446 if test -z "$sound_found"; then |
| 10634 for dir in "machine" "sys" "linux"; do | 10447 for dir in "machine" "sys" "linux"; do |
| 10635 ac_safe=`echo "${dir}/soundcard.h" | sed 'y%./+-%__p_%'` | 10448 ac_safe=`echo "${dir}/soundcard.h" | sed 'y%./+-%__p_%'` |
| 10636 echo $ac_n "checking for ${dir}/soundcard.h""... $ac_c" 1>&6 | 10449 echo $ac_n "checking for ${dir}/soundcard.h""... $ac_c" 1>&6 |
| 10637 echo "configure:10638: checking for ${dir}/soundcard.h" >&5 | 10450 echo "configure:10451: checking for ${dir}/soundcard.h" >&5 |
| 10638 | 10451 |
| 10639 cat > conftest.$ac_ext <<EOF | 10452 cat > conftest.$ac_ext <<EOF |
| 10640 #line 10641 "configure" | 10453 #line 10454 "configure" |
| 10641 #include "confdefs.h" | 10454 #include "confdefs.h" |
| 10642 #include <${dir}/soundcard.h> | 10455 #include <${dir}/soundcard.h> |
| 10643 EOF | 10456 EOF |
| 10644 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10457 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 10645 { (eval echo configure:10646: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10458 { (eval echo configure:10459: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 10646 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10459 ac_err=`grep -v '^ *+' conftest.out` |
| 10647 if test -z "$ac_err"; then | 10460 if test -z "$ac_err"; then |
| 10648 rm -rf conftest* | 10461 rm -rf conftest* |
| 10649 eval "ac_cv_header_$ac_safe=yes" | 10462 eval "ac_cv_header_$ac_safe=yes" |
| 10650 else | 10463 else |
| 10651 echo "$ac_err" >&5 | 10464 echo "$ac_err" >&5 |
| 10710 extra_objs="$extra_objs nas.o" && if test "$extra_verbose" = "yes"; then | 10523 extra_objs="$extra_objs nas.o" && if test "$extra_verbose" = "yes"; then |
| 10711 echo " xemacs will be linked with \"nas.o\"" | 10524 echo " xemacs will be linked with \"nas.o\"" |
| 10712 fi | 10525 fi |
| 10713 libs_x="-laudio $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-laudio\" to \$libs_x"; fi | 10526 libs_x="-laudio $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-laudio\" to \$libs_x"; fi |
| 10714 cat > conftest.$ac_ext <<EOF | 10527 cat > conftest.$ac_ext <<EOF |
| 10715 #line 10716 "configure" | 10528 #line 10529 "configure" |
| 10716 #include "confdefs.h" | 10529 #include "confdefs.h" |
| 10717 #include <audio/Xtutil.h> | 10530 #include <audio/Xtutil.h> |
| 10718 EOF | 10531 EOF |
| 10719 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 10532 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
| 10720 egrep "AuXtErrorJump" >/dev/null 2>&1; then | 10533 egrep "AuXtErrorJump" >/dev/null 2>&1; then |
| 10737 | 10550 |
| 10738 test -z "$with_tty" && with_tty=yes | 10551 test -z "$with_tty" && with_tty=yes |
| 10739 | 10552 |
| 10740 if test "$with_tty" = "yes" ; then | 10553 if test "$with_tty" = "yes" ; then |
| 10741 echo "checking for TTY-related features" 1>&6 | 10554 echo "checking for TTY-related features" 1>&6 |
| 10742 echo "configure:10743: checking for TTY-related features" >&5 | 10555 echo "configure:10556: checking for TTY-related features" >&5 |
| 10743 { test "$extra_verbose" = "yes" && cat << \EOF | 10556 { test "$extra_verbose" = "yes" && cat << \EOF |
| 10744 Defining HAVE_TTY | 10557 Defining HAVE_TTY |
| 10745 EOF | 10558 EOF |
| 10746 cat >> confdefs.h <<\EOF | 10559 cat >> confdefs.h <<\EOF |
| 10747 #define HAVE_TTY 1 | 10560 #define HAVE_TTY 1 |
| 10753 fi | 10566 fi |
| 10754 | 10567 |
| 10755 if test -z "$with_ncurses"; then | 10568 if test -z "$with_ncurses"; then |
| 10756 | 10569 |
| 10757 echo $ac_n "checking for tgetent in -lncurses""... $ac_c" 1>&6 | 10570 echo $ac_n "checking for tgetent in -lncurses""... $ac_c" 1>&6 |
| 10758 echo "configure:10759: checking for tgetent in -lncurses" >&5 | 10571 echo "configure:10572: checking for tgetent in -lncurses" >&5 |
| 10759 ac_lib_var=`echo ncurses'_'tgetent | sed 'y%./+-%__p_%'` | 10572 ac_lib_var=`echo ncurses'_'tgetent | sed 'y%./+-%__p_%'` |
| 10760 | 10573 |
| 10761 xe_check_libs=" -lncurses " | 10574 xe_check_libs=" -lncurses " |
| 10762 cat > conftest.$ac_ext <<EOF | 10575 cat > conftest.$ac_ext <<EOF |
| 10763 #line 10764 "configure" | 10576 #line 10577 "configure" |
| 10764 #include "confdefs.h" | 10577 #include "confdefs.h" |
| 10765 /* Override any gcc2 internal prototype to avoid an error. */ | 10578 /* Override any gcc2 internal prototype to avoid an error. */ |
| 10766 /* We use char because int might match the return type of a gcc2 | 10579 /* We use char because int might match the return type of a gcc2 |
| 10767 builtin and then its argument prototype would still apply. */ | 10580 builtin and then its argument prototype would still apply. */ |
| 10768 char tgetent(); | 10581 char tgetent(); |
| 10769 | 10582 |
| 10770 int main() { | 10583 int main() { |
| 10771 tgetent() | 10584 tgetent() |
| 10772 ; return 0; } | 10585 ; return 0; } |
| 10773 EOF | 10586 EOF |
| 10774 if { (eval echo configure:10775: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10587 if { (eval echo configure:10588: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 10775 rm -rf conftest* | 10588 rm -rf conftest* |
| 10776 eval "ac_cv_lib_$ac_lib_var=yes" | 10589 eval "ac_cv_lib_$ac_lib_var=yes" |
| 10777 else | 10590 else |
| 10778 echo "configure: failed program was:" >&5 | 10591 echo "configure: failed program was:" >&5 |
| 10779 cat conftest.$ac_ext >&5 | 10592 cat conftest.$ac_ext >&5 |
| 10802 EOF | 10615 EOF |
| 10803 } | 10616 } |
| 10804 | 10617 |
| 10805 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` | 10618 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` |
| 10806 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 | 10619 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 |
| 10807 echo "configure:10808: checking for ncurses/curses.h" >&5 | 10620 echo "configure:10621: checking for ncurses/curses.h" >&5 |
| 10808 | 10621 |
| 10809 cat > conftest.$ac_ext <<EOF | 10622 cat > conftest.$ac_ext <<EOF |
| 10810 #line 10811 "configure" | 10623 #line 10624 "configure" |
| 10811 #include "confdefs.h" | 10624 #include "confdefs.h" |
| 10812 #include <ncurses/curses.h> | 10625 #include <ncurses/curses.h> |
| 10813 EOF | 10626 EOF |
| 10814 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10627 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 10815 { (eval echo configure:10816: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10628 { (eval echo configure:10629: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 10816 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10629 ac_err=`grep -v '^ *+' conftest.out` |
| 10817 if test -z "$ac_err"; then | 10630 if test -z "$ac_err"; then |
| 10818 rm -rf conftest* | 10631 rm -rf conftest* |
| 10819 eval "ac_cv_header_$ac_safe=yes" | 10632 eval "ac_cv_header_$ac_safe=yes" |
| 10820 else | 10633 else |
| 10821 echo "$ac_err" >&5 | 10634 echo "$ac_err" >&5 |
| 10832 echo "$ac_t""no" 1>&6 | 10645 echo "$ac_t""no" 1>&6 |
| 10833 fi | 10646 fi |
| 10834 | 10647 |
| 10835 ac_safe=`echo "ncurses/term.h" | sed 'y%./+-%__p_%'` | 10648 ac_safe=`echo "ncurses/term.h" | sed 'y%./+-%__p_%'` |
| 10836 echo $ac_n "checking for ncurses/term.h""... $ac_c" 1>&6 | 10649 echo $ac_n "checking for ncurses/term.h""... $ac_c" 1>&6 |
| 10837 echo "configure:10838: checking for ncurses/term.h" >&5 | 10650 echo "configure:10651: checking for ncurses/term.h" >&5 |
| 10838 | 10651 |
| 10839 cat > conftest.$ac_ext <<EOF | 10652 cat > conftest.$ac_ext <<EOF |
| 10840 #line 10841 "configure" | 10653 #line 10654 "configure" |
| 10841 #include "confdefs.h" | 10654 #include "confdefs.h" |
| 10842 #include <ncurses/term.h> | 10655 #include <ncurses/term.h> |
| 10843 EOF | 10656 EOF |
| 10844 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10657 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 10845 { (eval echo configure:10846: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10658 { (eval echo configure:10659: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 10846 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10659 ac_err=`grep -v '^ *+' conftest.out` |
| 10847 if test -z "$ac_err"; then | 10660 if test -z "$ac_err"; then |
| 10848 rm -rf conftest* | 10661 rm -rf conftest* |
| 10849 eval "ac_cv_header_$ac_safe=yes" | 10662 eval "ac_cv_header_$ac_safe=yes" |
| 10850 else | 10663 else |
| 10851 echo "$ac_err" >&5 | 10664 echo "$ac_err" >&5 |
| 10870 if test "$ac_cv_header_ncurses_curses_h" != "yes" ; then | 10683 if test "$ac_cv_header_ncurses_curses_h" != "yes" ; then |
| 10871 save_c_switch_site="$c_switch_site" | 10684 save_c_switch_site="$c_switch_site" |
| 10872 c_switch_site="$c_switch_site -I/usr/include/ncurses" | 10685 c_switch_site="$c_switch_site -I/usr/include/ncurses" |
| 10873 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` | 10686 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` |
| 10874 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 | 10687 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 |
| 10875 echo "configure:10876: checking for ncurses/curses.h" >&5 | 10688 echo "configure:10689: checking for ncurses/curses.h" >&5 |
| 10876 | 10689 |
| 10877 cat > conftest.$ac_ext <<EOF | 10690 cat > conftest.$ac_ext <<EOF |
| 10878 #line 10879 "configure" | 10691 #line 10692 "configure" |
| 10879 #include "confdefs.h" | 10692 #include "confdefs.h" |
| 10880 #include <ncurses/curses.h> | 10693 #include <ncurses/curses.h> |
| 10881 EOF | 10694 EOF |
| 10882 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10695 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 10883 { (eval echo configure:10884: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10696 { (eval echo configure:10697: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 10884 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10697 ac_err=`grep -v '^ *+' conftest.out` |
| 10885 if test -z "$ac_err"; then | 10698 if test -z "$ac_err"; then |
| 10886 rm -rf conftest* | 10699 rm -rf conftest* |
| 10887 eval "ac_cv_header_$ac_safe=yes" | 10700 eval "ac_cv_header_$ac_safe=yes" |
| 10888 else | 10701 else |
| 10889 echo "$ac_err" >&5 | 10702 echo "$ac_err" >&5 |
| 10913 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi | 10726 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi |
| 10914 else | 10727 else |
| 10915 for lib in curses termlib termcap; do | 10728 for lib in curses termlib termcap; do |
| 10916 | 10729 |
| 10917 echo $ac_n "checking for tgetent in -l$lib""... $ac_c" 1>&6 | 10730 echo $ac_n "checking for tgetent in -l$lib""... $ac_c" 1>&6 |
| 10918 echo "configure:10919: checking for tgetent in -l$lib" >&5 | 10731 echo "configure:10732: checking for tgetent in -l$lib" >&5 |
| 10919 ac_lib_var=`echo $lib'_'tgetent | sed 'y%./+-%__p_%'` | 10732 ac_lib_var=`echo $lib'_'tgetent | sed 'y%./+-%__p_%'` |
| 10920 | 10733 |
| 10921 xe_check_libs=" -l$lib " | 10734 xe_check_libs=" -l$lib " |
| 10922 cat > conftest.$ac_ext <<EOF | 10735 cat > conftest.$ac_ext <<EOF |
| 10923 #line 10924 "configure" | 10736 #line 10737 "configure" |
| 10924 #include "confdefs.h" | 10737 #include "confdefs.h" |
| 10925 /* Override any gcc2 internal prototype to avoid an error. */ | 10738 /* Override any gcc2 internal prototype to avoid an error. */ |
| 10926 /* We use char because int might match the return type of a gcc2 | 10739 /* We use char because int might match the return type of a gcc2 |
| 10927 builtin and then its argument prototype would still apply. */ | 10740 builtin and then its argument prototype would still apply. */ |
| 10928 char tgetent(); | 10741 char tgetent(); |
| 10929 | 10742 |
| 10930 int main() { | 10743 int main() { |
| 10931 tgetent() | 10744 tgetent() |
| 10932 ; return 0; } | 10745 ; return 0; } |
| 10933 EOF | 10746 EOF |
| 10934 if { (eval echo configure:10935: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10747 if { (eval echo configure:10748: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 10935 rm -rf conftest* | 10748 rm -rf conftest* |
| 10936 eval "ac_cv_lib_$ac_lib_var=yes" | 10749 eval "ac_cv_lib_$ac_lib_var=yes" |
| 10937 else | 10750 else |
| 10938 echo "configure: failed program was:" >&5 | 10751 echo "configure: failed program was:" >&5 |
| 10939 cat conftest.$ac_ext >&5 | 10752 cat conftest.$ac_ext >&5 |
| 10960 if test -n "$libs_termcap"; then | 10773 if test -n "$libs_termcap"; then |
| 10961 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi | 10774 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi |
| 10962 else | 10775 else |
| 10963 | 10776 |
| 10964 echo $ac_n "checking for tgetent in -lcurses""... $ac_c" 1>&6 | 10777 echo $ac_n "checking for tgetent in -lcurses""... $ac_c" 1>&6 |
| 10965 echo "configure:10966: checking for tgetent in -lcurses" >&5 | 10778 echo "configure:10779: checking for tgetent in -lcurses" >&5 |
| 10966 ac_lib_var=`echo curses'_'tgetent | sed 'y%./+-%__p_%'` | 10779 ac_lib_var=`echo curses'_'tgetent | sed 'y%./+-%__p_%'` |
| 10967 | 10780 |
| 10968 xe_check_libs=" -lcurses " | 10781 xe_check_libs=" -lcurses " |
| 10969 cat > conftest.$ac_ext <<EOF | 10782 cat > conftest.$ac_ext <<EOF |
| 10970 #line 10971 "configure" | 10783 #line 10784 "configure" |
| 10971 #include "confdefs.h" | 10784 #include "confdefs.h" |
| 10972 /* Override any gcc2 internal prototype to avoid an error. */ | 10785 /* Override any gcc2 internal prototype to avoid an error. */ |
| 10973 /* We use char because int might match the return type of a gcc2 | 10786 /* We use char because int might match the return type of a gcc2 |
| 10974 builtin and then its argument prototype would still apply. */ | 10787 builtin and then its argument prototype would still apply. */ |
| 10975 char tgetent(); | 10788 char tgetent(); |
| 10976 | 10789 |
| 10977 int main() { | 10790 int main() { |
| 10978 tgetent() | 10791 tgetent() |
| 10979 ; return 0; } | 10792 ; return 0; } |
| 10980 EOF | 10793 EOF |
| 10981 if { (eval echo configure:10982: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10794 if { (eval echo configure:10795: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 10982 rm -rf conftest* | 10795 rm -rf conftest* |
| 10983 eval "ac_cv_lib_$ac_lib_var=yes" | 10796 eval "ac_cv_lib_$ac_lib_var=yes" |
| 10984 else | 10797 else |
| 10985 echo "configure: failed program was:" >&5 | 10798 echo "configure: failed program was:" >&5 |
| 10986 cat conftest.$ac_ext >&5 | 10799 cat conftest.$ac_ext >&5 |
| 10994 echo "$ac_t""yes" 1>&6 | 10807 echo "$ac_t""yes" 1>&6 |
| 10995 LIBS="-lcurses $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lcurses\" to \$LIBS"; fi | 10808 LIBS="-lcurses $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lcurses\" to \$LIBS"; fi |
| 10996 else | 10809 else |
| 10997 echo "$ac_t""no" 1>&6 | 10810 echo "$ac_t""no" 1>&6 |
| 10998 echo $ac_n "checking for tgetent in -ltermcap""... $ac_c" 1>&6 | 10811 echo $ac_n "checking for tgetent in -ltermcap""... $ac_c" 1>&6 |
| 10999 echo "configure:11000: checking for tgetent in -ltermcap" >&5 | 10812 echo "configure:10813: checking for tgetent in -ltermcap" >&5 |
| 11000 ac_lib_var=`echo termcap'_'tgetent | sed 'y%./+-%__p_%'` | 10813 ac_lib_var=`echo termcap'_'tgetent | sed 'y%./+-%__p_%'` |
| 11001 | 10814 |
| 11002 xe_check_libs=" -ltermcap " | 10815 xe_check_libs=" -ltermcap " |
| 11003 cat > conftest.$ac_ext <<EOF | 10816 cat > conftest.$ac_ext <<EOF |
| 11004 #line 11005 "configure" | 10817 #line 10818 "configure" |
| 11005 #include "confdefs.h" | 10818 #include "confdefs.h" |
| 11006 /* Override any gcc2 internal prototype to avoid an error. */ | 10819 /* Override any gcc2 internal prototype to avoid an error. */ |
| 11007 /* We use char because int might match the return type of a gcc2 | 10820 /* We use char because int might match the return type of a gcc2 |
| 11008 builtin and then its argument prototype would still apply. */ | 10821 builtin and then its argument prototype would still apply. */ |
| 11009 char tgetent(); | 10822 char tgetent(); |
| 11010 | 10823 |
| 11011 int main() { | 10824 int main() { |
| 11012 tgetent() | 10825 tgetent() |
| 11013 ; return 0; } | 10826 ; return 0; } |
| 11014 EOF | 10827 EOF |
| 11015 if { (eval echo configure:11016: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10828 if { (eval echo configure:10829: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 11016 rm -rf conftest* | 10829 rm -rf conftest* |
| 11017 eval "ac_cv_lib_$ac_lib_var=yes" | 10830 eval "ac_cv_lib_$ac_lib_var=yes" |
| 11018 else | 10831 else |
| 11019 echo "configure: failed program was:" >&5 | 10832 echo "configure: failed program was:" >&5 |
| 11020 cat conftest.$ac_ext >&5 | 10833 cat conftest.$ac_ext >&5 |
| 11058 } | 10871 } |
| 11059 | 10872 |
| 11060 | 10873 |
| 11061 test -z "$with_gpm" && { ac_safe=`echo "gpm.h" | sed 'y%./+-%__p_%'` | 10874 test -z "$with_gpm" && { ac_safe=`echo "gpm.h" | sed 'y%./+-%__p_%'` |
| 11062 echo $ac_n "checking for gpm.h""... $ac_c" 1>&6 | 10875 echo $ac_n "checking for gpm.h""... $ac_c" 1>&6 |
| 11063 echo "configure:11064: checking for gpm.h" >&5 | 10876 echo "configure:10877: checking for gpm.h" >&5 |
| 11064 | 10877 |
| 11065 cat > conftest.$ac_ext <<EOF | 10878 cat > conftest.$ac_ext <<EOF |
| 11066 #line 11067 "configure" | 10879 #line 10880 "configure" |
| 11067 #include "confdefs.h" | 10880 #include "confdefs.h" |
| 11068 #include <gpm.h> | 10881 #include <gpm.h> |
| 11069 EOF | 10882 EOF |
| 11070 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10883 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 11071 { (eval echo configure:11072: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10884 { (eval echo configure:10885: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 11072 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10885 ac_err=`grep -v '^ *+' conftest.out` |
| 11073 if test -z "$ac_err"; then | 10886 if test -z "$ac_err"; then |
| 11074 rm -rf conftest* | 10887 rm -rf conftest* |
| 11075 eval "ac_cv_header_$ac_safe=yes" | 10888 eval "ac_cv_header_$ac_safe=yes" |
| 11076 else | 10889 else |
| 11077 echo "$ac_err" >&5 | 10890 echo "$ac_err" >&5 |
| 11089 with_gpm=no | 10902 with_gpm=no |
| 11090 fi | 10903 fi |
| 11091 } | 10904 } |
| 11092 test -z "$with_gpm" && { | 10905 test -z "$with_gpm" && { |
| 11093 echo $ac_n "checking for Gpm_Open in -lgpm""... $ac_c" 1>&6 | 10906 echo $ac_n "checking for Gpm_Open in -lgpm""... $ac_c" 1>&6 |
| 11094 echo "configure:11095: checking for Gpm_Open in -lgpm" >&5 | 10907 echo "configure:10908: checking for Gpm_Open in -lgpm" >&5 |
| 11095 ac_lib_var=`echo gpm'_'Gpm_Open | sed 'y%./+-%__p_%'` | 10908 ac_lib_var=`echo gpm'_'Gpm_Open | sed 'y%./+-%__p_%'` |
| 11096 | 10909 |
| 11097 xe_check_libs=" -lgpm " | 10910 xe_check_libs=" -lgpm " |
| 11098 cat > conftest.$ac_ext <<EOF | 10911 cat > conftest.$ac_ext <<EOF |
| 11099 #line 11100 "configure" | 10912 #line 10913 "configure" |
| 11100 #include "confdefs.h" | 10913 #include "confdefs.h" |
| 11101 /* Override any gcc2 internal prototype to avoid an error. */ | 10914 /* Override any gcc2 internal prototype to avoid an error. */ |
| 11102 /* We use char because int might match the return type of a gcc2 | 10915 /* We use char because int might match the return type of a gcc2 |
| 11103 builtin and then its argument prototype would still apply. */ | 10916 builtin and then its argument prototype would still apply. */ |
| 11104 char Gpm_Open(); | 10917 char Gpm_Open(); |
| 11105 | 10918 |
| 11106 int main() { | 10919 int main() { |
| 11107 Gpm_Open() | 10920 Gpm_Open() |
| 11108 ; return 0; } | 10921 ; return 0; } |
| 11109 EOF | 10922 EOF |
| 11110 if { (eval echo configure:11111: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10923 if { (eval echo configure:10924: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 11111 rm -rf conftest* | 10924 rm -rf conftest* |
| 11112 eval "ac_cv_lib_$ac_lib_var=yes" | 10925 eval "ac_cv_lib_$ac_lib_var=yes" |
| 11113 else | 10926 else |
| 11114 echo "configure: failed program was:" >&5 | 10927 echo "configure: failed program was:" >&5 |
| 11115 cat conftest.$ac_ext >&5 | 10928 cat conftest.$ac_ext >&5 |
| 11154 echo " xemacs will be linked with \"event-unixoid.o\"" | 10967 echo " xemacs will be linked with \"event-unixoid.o\"" |
| 11155 fi | 10968 fi |
| 11156 | 10969 |
| 11157 | 10970 |
| 11158 echo "checking for database support" 1>&6 | 10971 echo "checking for database support" 1>&6 |
| 11159 echo "configure:11160: checking for database support" >&5 | 10972 echo "configure:10973: checking for database support" >&5 |
| 11160 | 10973 |
| 11161 if test "$with_database_gnudbm $with_database_dbm" != "no no"; then | 10974 if test "$with_database_gnudbm $with_database_dbm" != "no no"; then |
| 11162 ac_safe=`echo "ndbm.h" | sed 'y%./+-%__p_%'` | 10975 ac_safe=`echo "ndbm.h" | sed 'y%./+-%__p_%'` |
| 11163 echo $ac_n "checking for ndbm.h""... $ac_c" 1>&6 | 10976 echo $ac_n "checking for ndbm.h""... $ac_c" 1>&6 |
| 11164 echo "configure:11165: checking for ndbm.h" >&5 | 10977 echo "configure:10978: checking for ndbm.h" >&5 |
| 11165 | 10978 |
| 11166 cat > conftest.$ac_ext <<EOF | 10979 cat > conftest.$ac_ext <<EOF |
| 11167 #line 11168 "configure" | 10980 #line 10981 "configure" |
| 11168 #include "confdefs.h" | 10981 #include "confdefs.h" |
| 11169 #include <ndbm.h> | 10982 #include <ndbm.h> |
| 11170 EOF | 10983 EOF |
| 11171 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10984 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 11172 { (eval echo configure:11173: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10985 { (eval echo configure:10986: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 11173 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10986 ac_err=`grep -v '^ *+' conftest.out` |
| 11174 if test -z "$ac_err"; then | 10987 if test -z "$ac_err"; then |
| 11175 rm -rf conftest* | 10988 rm -rf conftest* |
| 11176 eval "ac_cv_header_$ac_safe=yes" | 10989 eval "ac_cv_header_$ac_safe=yes" |
| 11177 else | 10990 else |
| 11178 echo "$ac_err" >&5 | 10991 echo "$ac_err" >&5 |
| 11197 fi | 11010 fi |
| 11198 | 11011 |
| 11199 if test "$with_database_gnudbm" != "no"; then | 11012 if test "$with_database_gnudbm" != "no"; then |
| 11200 | 11013 |
| 11201 echo $ac_n "checking for dbm_open in -lgdbm""... $ac_c" 1>&6 | 11014 echo $ac_n "checking for dbm_open in -lgdbm""... $ac_c" 1>&6 |
| 11202 echo "configure:11203: checking for dbm_open in -lgdbm" >&5 | 11015 echo "configure:11016: checking for dbm_open in -lgdbm" >&5 |
| 11203 ac_lib_var=`echo gdbm'_'dbm_open | sed 'y%./+-%__p_%'` | 11016 ac_lib_var=`echo gdbm'_'dbm_open | sed 'y%./+-%__p_%'` |
| 11204 | 11017 |
| 11205 xe_check_libs=" -lgdbm " | 11018 xe_check_libs=" -lgdbm " |
| 11206 cat > conftest.$ac_ext <<EOF | 11019 cat > conftest.$ac_ext <<EOF |
| 11207 #line 11208 "configure" | 11020 #line 11021 "configure" |
| 11208 #include "confdefs.h" | 11021 #include "confdefs.h" |
| 11209 /* Override any gcc2 internal prototype to avoid an error. */ | 11022 /* Override any gcc2 internal prototype to avoid an error. */ |
| 11210 /* We use char because int might match the return type of a gcc2 | 11023 /* We use char because int might match the return type of a gcc2 |
| 11211 builtin and then its argument prototype would still apply. */ | 11024 builtin and then its argument prototype would still apply. */ |
| 11212 char dbm_open(); | 11025 char dbm_open(); |
| 11213 | 11026 |
| 11214 int main() { | 11027 int main() { |
| 11215 dbm_open() | 11028 dbm_open() |
| 11216 ; return 0; } | 11029 ; return 0; } |
| 11217 EOF | 11030 EOF |
| 11218 if { (eval echo configure:11219: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11031 if { (eval echo configure:11032: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 11219 rm -rf conftest* | 11032 rm -rf conftest* |
| 11220 eval "ac_cv_lib_$ac_lib_var=yes" | 11033 eval "ac_cv_lib_$ac_lib_var=yes" |
| 11221 else | 11034 else |
| 11222 echo "configure: failed program was:" >&5 | 11035 echo "configure: failed program was:" >&5 |
| 11223 cat conftest.$ac_ext >&5 | 11036 cat conftest.$ac_ext >&5 |
| 11241 | 11054 |
| 11242 fi | 11055 fi |
| 11243 | 11056 |
| 11244 if test "$with_database_dbm" != "no"; then | 11057 if test "$with_database_dbm" != "no"; then |
| 11245 echo $ac_n "checking for dbm_open""... $ac_c" 1>&6 | 11058 echo $ac_n "checking for dbm_open""... $ac_c" 1>&6 |
| 11246 echo "configure:11247: checking for dbm_open" >&5 | 11059 echo "configure:11060: checking for dbm_open" >&5 |
| 11247 | 11060 |
| 11248 cat > conftest.$ac_ext <<EOF | 11061 cat > conftest.$ac_ext <<EOF |
| 11249 #line 11250 "configure" | 11062 #line 11063 "configure" |
| 11250 #include "confdefs.h" | 11063 #include "confdefs.h" |
| 11251 /* System header to define __stub macros and hopefully few prototypes, | 11064 /* System header to define __stub macros and hopefully few prototypes, |
| 11252 which can conflict with char dbm_open(); below. */ | 11065 which can conflict with char dbm_open(); below. */ |
| 11253 #include <assert.h> | 11066 #include <assert.h> |
| 11254 /* Override any gcc2 internal prototype to avoid an error. */ | 11067 /* Override any gcc2 internal prototype to avoid an error. */ |
| 11267 dbm_open(); | 11080 dbm_open(); |
| 11268 #endif | 11081 #endif |
| 11269 | 11082 |
| 11270 ; return 0; } | 11083 ; return 0; } |
| 11271 EOF | 11084 EOF |
| 11272 if { (eval echo configure:11273: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11085 if { (eval echo configure:11086: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 11273 rm -rf conftest* | 11086 rm -rf conftest* |
| 11274 eval "ac_cv_func_dbm_open=yes" | 11087 eval "ac_cv_func_dbm_open=yes" |
| 11275 else | 11088 else |
| 11276 echo "configure: failed program was:" >&5 | 11089 echo "configure: failed program was:" >&5 |
| 11277 cat conftest.$ac_ext >&5 | 11090 cat conftest.$ac_ext >&5 |
| 11286 else | 11099 else |
| 11287 echo "$ac_t""no" 1>&6 | 11100 echo "$ac_t""no" 1>&6 |
| 11288 | 11101 |
| 11289 | 11102 |
| 11290 echo $ac_n "checking for dbm_open in -ldbm""... $ac_c" 1>&6 | 11103 echo $ac_n "checking for dbm_open in -ldbm""... $ac_c" 1>&6 |
| 11291 echo "configure:11292: checking for dbm_open in -ldbm" >&5 | 11104 echo "configure:11105: checking for dbm_open in -ldbm" >&5 |
| 11292 ac_lib_var=`echo dbm'_'dbm_open | sed 'y%./+-%__p_%'` | 11105 ac_lib_var=`echo dbm'_'dbm_open | sed 'y%./+-%__p_%'` |
| 11293 | 11106 |
| 11294 xe_check_libs=" -ldbm " | 11107 xe_check_libs=" -ldbm " |
| 11295 cat > conftest.$ac_ext <<EOF | 11108 cat > conftest.$ac_ext <<EOF |
| 11296 #line 11297 "configure" | 11109 #line 11110 "configure" |
| 11297 #include "confdefs.h" | 11110 #include "confdefs.h" |
| 11298 /* Override any gcc2 internal prototype to avoid an error. */ | 11111 /* Override any gcc2 internal prototype to avoid an error. */ |
| 11299 /* We use char because int might match the return type of a gcc2 | 11112 /* We use char because int might match the return type of a gcc2 |
| 11300 builtin and then its argument prototype would still apply. */ | 11113 builtin and then its argument prototype would still apply. */ |
| 11301 char dbm_open(); | 11114 char dbm_open(); |
| 11302 | 11115 |
| 11303 int main() { | 11116 int main() { |
| 11304 dbm_open() | 11117 dbm_open() |
| 11305 ; return 0; } | 11118 ; return 0; } |
| 11306 EOF | 11119 EOF |
| 11307 if { (eval echo configure:11308: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11120 if { (eval echo configure:11121: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 11308 rm -rf conftest* | 11121 rm -rf conftest* |
| 11309 eval "ac_cv_lib_$ac_lib_var=yes" | 11122 eval "ac_cv_lib_$ac_lib_var=yes" |
| 11310 else | 11123 else |
| 11311 echo "configure: failed program was:" >&5 | 11124 echo "configure: failed program was:" >&5 |
| 11312 cat conftest.$ac_ext >&5 | 11125 cat conftest.$ac_ext >&5 |
| 11344 | 11157 |
| 11345 fi | 11158 fi |
| 11346 | 11159 |
| 11347 if test "$with_database_berkdb" != "no"; then | 11160 if test "$with_database_berkdb" != "no"; then |
| 11348 echo $ac_n "checking for Berkeley db.h""... $ac_c" 1>&6 | 11161 echo $ac_n "checking for Berkeley db.h""... $ac_c" 1>&6 |
| 11349 echo "configure:11350: checking for Berkeley db.h" >&5 | 11162 echo "configure:11163: checking for Berkeley db.h" >&5 |
| 11350 for path in "db/db.h" "db.h"; do | 11163 for path in "db/db.h" "db.h"; do |
| 11351 cat > conftest.$ac_ext <<EOF | 11164 cat > conftest.$ac_ext <<EOF |
| 11352 #line 11353 "configure" | 11165 #line 11166 "configure" |
| 11353 #include "confdefs.h" | 11166 #include "confdefs.h" |
| 11354 #ifdef HAVE_INTTYPES_H | 11167 #ifdef HAVE_INTTYPES_H |
| 11355 #define __BIT_TYPES_DEFINED__ | 11168 #define __BIT_TYPES_DEFINED__ |
| 11356 #include <inttypes.h> | 11169 #include <inttypes.h> |
| 11357 typedef uint8_t u_int8_t; | 11170 typedef uint8_t u_int8_t; |
| 11365 | 11178 |
| 11366 int main() { | 11179 int main() { |
| 11367 | 11180 |
| 11368 ; return 0; } | 11181 ; return 0; } |
| 11369 EOF | 11182 EOF |
| 11370 if { (eval echo configure:11371: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 11183 if { (eval echo configure:11184: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| 11371 rm -rf conftest* | 11184 rm -rf conftest* |
| 11372 db_h_path="$path"; break | 11185 db_h_path="$path"; break |
| 11373 else | 11186 else |
| 11374 echo "configure: failed program was:" >&5 | 11187 echo "configure: failed program was:" >&5 |
| 11375 cat conftest.$ac_ext >&5 | 11188 cat conftest.$ac_ext >&5 |
| 11381 else echo "$ac_t""$db_h_path" 1>&6 | 11194 else echo "$ac_t""$db_h_path" 1>&6 |
| 11382 fi | 11195 fi |
| 11383 | 11196 |
| 11384 if test "$with_database_berkdb" != "no"; then | 11197 if test "$with_database_berkdb" != "no"; then |
| 11385 echo $ac_n "checking for Berkeley DB version""... $ac_c" 1>&6 | 11198 echo $ac_n "checking for Berkeley DB version""... $ac_c" 1>&6 |
| 11386 echo "configure:11387: checking for Berkeley DB version" >&5 | 11199 echo "configure:11200: checking for Berkeley DB version" >&5 |
| 11387 cat > conftest.$ac_ext <<EOF | 11200 cat > conftest.$ac_ext <<EOF |
| 11388 #line 11389 "configure" | 11201 #line 11202 "configure" |
| 11389 #include "confdefs.h" | 11202 #include "confdefs.h" |
| 11390 #include <$db_h_path> | 11203 #include <$db_h_path> |
| 11391 #if DB_VERSION_MAJOR > 1 | 11204 #if DB_VERSION_MAJOR > 1 |
| 11392 yes | 11205 yes |
| 11393 #endif | 11206 #endif |
| 11402 echo "$ac_t""1" 1>&6; dbfunc=dbopen | 11215 echo "$ac_t""1" 1>&6; dbfunc=dbopen |
| 11403 fi | 11216 fi |
| 11404 rm -f conftest* | 11217 rm -f conftest* |
| 11405 | 11218 |
| 11406 echo $ac_n "checking for $dbfunc""... $ac_c" 1>&6 | 11219 echo $ac_n "checking for $dbfunc""... $ac_c" 1>&6 |
| 11407 echo "configure:11408: checking for $dbfunc" >&5 | 11220 echo "configure:11221: checking for $dbfunc" >&5 |
| 11408 | 11221 |
| 11409 cat > conftest.$ac_ext <<EOF | 11222 cat > conftest.$ac_ext <<EOF |
| 11410 #line 11411 "configure" | 11223 #line 11224 "configure" |
| 11411 #include "confdefs.h" | 11224 #include "confdefs.h" |
| 11412 /* System header to define __stub macros and hopefully few prototypes, | 11225 /* System header to define __stub macros and hopefully few prototypes, |
| 11413 which can conflict with char $dbfunc(); below. */ | 11226 which can conflict with char $dbfunc(); below. */ |
| 11414 #include <assert.h> | 11227 #include <assert.h> |
| 11415 /* Override any gcc2 internal prototype to avoid an error. */ | 11228 /* Override any gcc2 internal prototype to avoid an error. */ |
| 11428 $dbfunc(); | 11241 $dbfunc(); |
| 11429 #endif | 11242 #endif |
| 11430 | 11243 |
| 11431 ; return 0; } | 11244 ; return 0; } |
| 11432 EOF | 11245 EOF |
| 11433 if { (eval echo configure:11434: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11246 if { (eval echo configure:11247: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 11434 rm -rf conftest* | 11247 rm -rf conftest* |
| 11435 eval "ac_cv_func_$dbfunc=yes" | 11248 eval "ac_cv_func_$dbfunc=yes" |
| 11436 else | 11249 else |
| 11437 echo "configure: failed program was:" >&5 | 11250 echo "configure: failed program was:" >&5 |
| 11438 cat conftest.$ac_ext >&5 | 11251 cat conftest.$ac_ext >&5 |
| 11447 else | 11260 else |
| 11448 echo "$ac_t""no" 1>&6 | 11261 echo "$ac_t""no" 1>&6 |
| 11449 | 11262 |
| 11450 | 11263 |
| 11451 echo $ac_n "checking for $dbfunc in -ldb""... $ac_c" 1>&6 | 11264 echo $ac_n "checking for $dbfunc in -ldb""... $ac_c" 1>&6 |
| 11452 echo "configure:11453: checking for $dbfunc in -ldb" >&5 | 11265 echo "configure:11266: checking for $dbfunc in -ldb" >&5 |
| 11453 ac_lib_var=`echo db'_'$dbfunc | sed 'y%./+-%__p_%'` | 11266 ac_lib_var=`echo db'_'$dbfunc | sed 'y%./+-%__p_%'` |
| 11454 | 11267 |
| 11455 xe_check_libs=" -ldb " | 11268 xe_check_libs=" -ldb " |
| 11456 cat > conftest.$ac_ext <<EOF | 11269 cat > conftest.$ac_ext <<EOF |
| 11457 #line 11458 "configure" | 11270 #line 11271 "configure" |
| 11458 #include "confdefs.h" | 11271 #include "confdefs.h" |
| 11459 /* Override any gcc2 internal prototype to avoid an error. */ | 11272 /* Override any gcc2 internal prototype to avoid an error. */ |
| 11460 /* We use char because int might match the return type of a gcc2 | 11273 /* We use char because int might match the return type of a gcc2 |
| 11461 builtin and then its argument prototype would still apply. */ | 11274 builtin and then its argument prototype would still apply. */ |
| 11462 char $dbfunc(); | 11275 char $dbfunc(); |
| 11463 | 11276 |
| 11464 int main() { | 11277 int main() { |
| 11465 $dbfunc() | 11278 $dbfunc() |
| 11466 ; return 0; } | 11279 ; return 0; } |
| 11467 EOF | 11280 EOF |
| 11468 if { (eval echo configure:11469: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11281 if { (eval echo configure:11282: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 11469 rm -rf conftest* | 11282 rm -rf conftest* |
| 11470 eval "ac_cv_lib_$ac_lib_var=yes" | 11283 eval "ac_cv_lib_$ac_lib_var=yes" |
| 11471 else | 11284 else |
| 11472 echo "configure: failed program was:" >&5 | 11285 echo "configure: failed program was:" >&5 |
| 11473 cat conftest.$ac_ext >&5 | 11286 cat conftest.$ac_ext >&5 |
| 11527 fi | 11340 fi |
| 11528 | 11341 |
| 11529 if test "$with_socks" = "yes"; then | 11342 if test "$with_socks" = "yes"; then |
| 11530 | 11343 |
| 11531 echo $ac_n "checking for SOCKSinit in -lsocks""... $ac_c" 1>&6 | 11344 echo $ac_n "checking for SOCKSinit in -lsocks""... $ac_c" 1>&6 |
| 11532 echo "configure:11533: checking for SOCKSinit in -lsocks" >&5 | 11345 echo "configure:11346: checking for SOCKSinit in -lsocks" >&5 |
| 11533 ac_lib_var=`echo socks'_'SOCKSinit | sed 'y%./+-%__p_%'` | 11346 ac_lib_var=`echo socks'_'SOCKSinit | sed 'y%./+-%__p_%'` |
| 11534 | 11347 |
| 11535 xe_check_libs=" -lsocks " | 11348 xe_check_libs=" -lsocks " |
| 11536 cat > conftest.$ac_ext <<EOF | 11349 cat > conftest.$ac_ext <<EOF |
| 11537 #line 11538 "configure" | 11350 #line 11351 "configure" |
| 11538 #include "confdefs.h" | 11351 #include "confdefs.h" |
| 11539 /* Override any gcc2 internal prototype to avoid an error. */ | 11352 /* Override any gcc2 internal prototype to avoid an error. */ |
| 11540 /* We use char because int might match the return type of a gcc2 | 11353 /* We use char because int might match the return type of a gcc2 |
| 11541 builtin and then its argument prototype would still apply. */ | 11354 builtin and then its argument prototype would still apply. */ |
| 11542 char SOCKSinit(); | 11355 char SOCKSinit(); |
| 11543 | 11356 |
| 11544 int main() { | 11357 int main() { |
| 11545 SOCKSinit() | 11358 SOCKSinit() |
| 11546 ; return 0; } | 11359 ; return 0; } |
| 11547 EOF | 11360 EOF |
| 11548 if { (eval echo configure:11549: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11361 if { (eval echo configure:11362: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 11549 rm -rf conftest* | 11362 rm -rf conftest* |
| 11550 eval "ac_cv_lib_$ac_lib_var=yes" | 11363 eval "ac_cv_lib_$ac_lib_var=yes" |
| 11551 else | 11364 else |
| 11552 echo "configure: failed program was:" >&5 | 11365 echo "configure: failed program was:" >&5 |
| 11553 cat conftest.$ac_ext >&5 | 11366 cat conftest.$ac_ext >&5 |
| 11602 | 11415 |
| 11603 for ac_hdr in dlfcn.h | 11416 for ac_hdr in dlfcn.h |
| 11604 do | 11417 do |
| 11605 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 11418 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
| 11606 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 11419 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
| 11607 echo "configure:11608: checking for $ac_hdr" >&5 | 11420 echo "configure:11421: checking for $ac_hdr" >&5 |
| 11608 | 11421 |
| 11609 cat > conftest.$ac_ext <<EOF | 11422 cat > conftest.$ac_ext <<EOF |
| 11610 #line 11611 "configure" | 11423 #line 11424 "configure" |
| 11611 #include "confdefs.h" | 11424 #include "confdefs.h" |
| 11612 #include <$ac_hdr> | 11425 #include <$ac_hdr> |
| 11613 EOF | 11426 EOF |
| 11614 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 11427 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 11615 { (eval echo configure:11616: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 11428 { (eval echo configure:11429: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 11616 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 11429 ac_err=`grep -v '^ *+' conftest.out` |
| 11617 if test -z "$ac_err"; then | 11430 if test -z "$ac_err"; then |
| 11618 rm -rf conftest* | 11431 rm -rf conftest* |
| 11619 eval "ac_cv_header_$ac_safe=yes" | 11432 eval "ac_cv_header_$ac_safe=yes" |
| 11620 else | 11433 else |
| 11621 echo "$ac_err" >&5 | 11434 echo "$ac_err" >&5 |
| 11641 fi | 11454 fi |
| 11642 done | 11455 done |
| 11643 | 11456 |
| 11644 test -z "$with_shlib" && test ! -z "$have_dlfcn" && { | 11457 test -z "$with_shlib" && test ! -z "$have_dlfcn" && { |
| 11645 echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6 | 11458 echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6 |
| 11646 echo "configure:11647: checking for dlopen in -ldl" >&5 | 11459 echo "configure:11460: checking for dlopen in -ldl" >&5 |
| 11647 ac_lib_var=`echo dl'_'dlopen | sed 'y%./+-%__p_%'` | 11460 ac_lib_var=`echo dl'_'dlopen | sed 'y%./+-%__p_%'` |
| 11648 | 11461 |
| 11649 xe_check_libs=" -ldl " | 11462 xe_check_libs=" -ldl " |
| 11650 cat > conftest.$ac_ext <<EOF | 11463 cat > conftest.$ac_ext <<EOF |
| 11651 #line 11652 "configure" | 11464 #line 11465 "configure" |
| 11652 #include "confdefs.h" | 11465 #include "confdefs.h" |
| 11653 /* Override any gcc2 internal prototype to avoid an error. */ | 11466 /* Override any gcc2 internal prototype to avoid an error. */ |
| 11654 /* We use char because int might match the return type of a gcc2 | 11467 /* We use char because int might match the return type of a gcc2 |
| 11655 builtin and then its argument prototype would still apply. */ | 11468 builtin and then its argument prototype would still apply. */ |
| 11656 char dlopen(); | 11469 char dlopen(); |
| 11657 | 11470 |
| 11658 int main() { | 11471 int main() { |
| 11659 dlopen() | 11472 dlopen() |
| 11660 ; return 0; } | 11473 ; return 0; } |
| 11661 EOF | 11474 EOF |
| 11662 if { (eval echo configure:11663: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11475 if { (eval echo configure:11476: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 11663 rm -rf conftest* | 11476 rm -rf conftest* |
| 11664 eval "ac_cv_lib_$ac_lib_var=yes" | 11477 eval "ac_cv_lib_$ac_lib_var=yes" |
| 11665 else | 11478 else |
| 11666 echo "configure: failed program was:" >&5 | 11479 echo "configure: failed program was:" >&5 |
| 11667 cat conftest.$ac_ext >&5 | 11480 cat conftest.$ac_ext >&5 |
| 11686 fi | 11499 fi |
| 11687 | 11500 |
| 11688 } | 11501 } |
| 11689 test -z "$with_shlib" && test ! -z "$have_dlfcn" && { | 11502 test -z "$with_shlib" && test ! -z "$have_dlfcn" && { |
| 11690 echo $ac_n "checking for _dlopen in -lc""... $ac_c" 1>&6 | 11503 echo $ac_n "checking for _dlopen in -lc""... $ac_c" 1>&6 |
| 11691 echo "configure:11692: checking for _dlopen in -lc" >&5 | 11504 echo "configure:11505: checking for _dlopen in -lc" >&5 |
| 11692 ac_lib_var=`echo c'_'_dlopen | sed 'y%./+-%__p_%'` | 11505 ac_lib_var=`echo c'_'_dlopen | sed 'y%./+-%__p_%'` |
| 11693 | 11506 |
| 11694 xe_check_libs=" -lc " | 11507 xe_check_libs=" -lc " |
| 11695 cat > conftest.$ac_ext <<EOF | 11508 cat > conftest.$ac_ext <<EOF |
| 11696 #line 11697 "configure" | 11509 #line 11510 "configure" |
| 11697 #include "confdefs.h" | 11510 #include "confdefs.h" |
| 11698 /* Override any gcc2 internal prototype to avoid an error. */ | 11511 /* Override any gcc2 internal prototype to avoid an error. */ |
| 11699 /* We use char because int might match the return type of a gcc2 | 11512 /* We use char because int might match the return type of a gcc2 |
| 11700 builtin and then its argument prototype would still apply. */ | 11513 builtin and then its argument prototype would still apply. */ |
| 11701 char _dlopen(); | 11514 char _dlopen(); |
| 11702 | 11515 |
| 11703 int main() { | 11516 int main() { |
| 11704 _dlopen() | 11517 _dlopen() |
| 11705 ; return 0; } | 11518 ; return 0; } |
| 11706 EOF | 11519 EOF |
| 11707 if { (eval echo configure:11708: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11520 if { (eval echo configure:11521: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 11708 rm -rf conftest* | 11521 rm -rf conftest* |
| 11709 eval "ac_cv_lib_$ac_lib_var=yes" | 11522 eval "ac_cv_lib_$ac_lib_var=yes" |
| 11710 else | 11523 else |
| 11711 echo "configure: failed program was:" >&5 | 11524 echo "configure: failed program was:" >&5 |
| 11712 cat conftest.$ac_ext >&5 | 11525 cat conftest.$ac_ext >&5 |
| 11731 fi | 11544 fi |
| 11732 | 11545 |
| 11733 } | 11546 } |
| 11734 test -z "$with_shlib" && test ! -z "$have_dlfcn" && { | 11547 test -z "$with_shlib" && test ! -z "$have_dlfcn" && { |
| 11735 echo $ac_n "checking for dlopen in -lc""... $ac_c" 1>&6 | 11548 echo $ac_n "checking for dlopen in -lc""... $ac_c" 1>&6 |
| 11736 echo "configure:11737: checking for dlopen in -lc" >&5 | 11549 echo "configure:11550: checking for dlopen in -lc" >&5 |
| 11737 ac_lib_var=`echo c'_'dlopen | sed 'y%./+-%__p_%'` | 11550 ac_lib_var=`echo c'_'dlopen | sed 'y%./+-%__p_%'` |
| 11738 | 11551 |
| 11739 xe_check_libs=" -lc " | 11552 xe_check_libs=" -lc " |
| 11740 cat > conftest.$ac_ext <<EOF | 11553 cat > conftest.$ac_ext <<EOF |
| 11741 #line 11742 "configure" | 11554 #line 11555 "configure" |
| 11742 #include "confdefs.h" | 11555 #include "confdefs.h" |
| 11743 /* Override any gcc2 internal prototype to avoid an error. */ | 11556 /* Override any gcc2 internal prototype to avoid an error. */ |
| 11744 /* We use char because int might match the return type of a gcc2 | 11557 /* We use char because int might match the return type of a gcc2 |
| 11745 builtin and then its argument prototype would still apply. */ | 11558 builtin and then its argument prototype would still apply. */ |
| 11746 char dlopen(); | 11559 char dlopen(); |
| 11747 | 11560 |
| 11748 int main() { | 11561 int main() { |
| 11749 dlopen() | 11562 dlopen() |
| 11750 ; return 0; } | 11563 ; return 0; } |
| 11751 EOF | 11564 EOF |
| 11752 if { (eval echo configure:11753: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11565 if { (eval echo configure:11566: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 11753 rm -rf conftest* | 11566 rm -rf conftest* |
| 11754 eval "ac_cv_lib_$ac_lib_var=yes" | 11567 eval "ac_cv_lib_$ac_lib_var=yes" |
| 11755 else | 11568 else |
| 11756 echo "configure: failed program was:" >&5 | 11569 echo "configure: failed program was:" >&5 |
| 11757 cat conftest.$ac_ext >&5 | 11570 cat conftest.$ac_ext >&5 |
| 11776 fi | 11589 fi |
| 11777 | 11590 |
| 11778 } | 11591 } |
| 11779 test -z "$with_shlib" && { | 11592 test -z "$with_shlib" && { |
| 11780 echo $ac_n "checking for shl_load in -ldld""... $ac_c" 1>&6 | 11593 echo $ac_n "checking for shl_load in -ldld""... $ac_c" 1>&6 |
| 11781 echo "configure:11782: checking for shl_load in -ldld" >&5 | 11594 echo "configure:11595: checking for shl_load in -ldld" >&5 |
| 11782 ac_lib_var=`echo dld'_'shl_load | sed 'y%./+-%__p_%'` | 11595 ac_lib_var=`echo dld'_'shl_load | sed 'y%./+-%__p_%'` |
| 11783 | 11596 |
| 11784 xe_check_libs=" -ldld " | 11597 xe_check_libs=" -ldld " |
| 11785 cat > conftest.$ac_ext <<EOF | 11598 cat > conftest.$ac_ext <<EOF |
| 11786 #line 11787 "configure" | 11599 #line 11600 "configure" |
| 11787 #include "confdefs.h" | 11600 #include "confdefs.h" |
| 11788 /* Override any gcc2 internal prototype to avoid an error. */ | 11601 /* Override any gcc2 internal prototype to avoid an error. */ |
| 11789 /* We use char because int might match the return type of a gcc2 | 11602 /* We use char because int might match the return type of a gcc2 |
| 11790 builtin and then its argument prototype would still apply. */ | 11603 builtin and then its argument prototype would still apply. */ |
| 11791 char shl_load(); | 11604 char shl_load(); |
| 11792 | 11605 |
| 11793 int main() { | 11606 int main() { |
| 11794 shl_load() | 11607 shl_load() |
| 11795 ; return 0; } | 11608 ; return 0; } |
| 11796 EOF | 11609 EOF |
| 11797 if { (eval echo configure:11798: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11610 if { (eval echo configure:11611: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 11798 rm -rf conftest* | 11611 rm -rf conftest* |
| 11799 eval "ac_cv_lib_$ac_lib_var=yes" | 11612 eval "ac_cv_lib_$ac_lib_var=yes" |
| 11800 else | 11613 else |
| 11801 echo "configure: failed program was:" >&5 | 11614 echo "configure: failed program was:" >&5 |
| 11802 cat conftest.$ac_ext >&5 | 11615 cat conftest.$ac_ext >&5 |
| 11821 fi | 11634 fi |
| 11822 | 11635 |
| 11823 } | 11636 } |
| 11824 test -z "$with_shlib" && { | 11637 test -z "$with_shlib" && { |
| 11825 echo $ac_n "checking for dld_init in -ldld""... $ac_c" 1>&6 | 11638 echo $ac_n "checking for dld_init in -ldld""... $ac_c" 1>&6 |
| 11826 echo "configure:11827: checking for dld_init in -ldld" >&5 | 11639 echo "configure:11640: checking for dld_init in -ldld" >&5 |
| 11827 ac_lib_var=`echo dld'_'dld_init | sed 'y%./+-%__p_%'` | 11640 ac_lib_var=`echo dld'_'dld_init | sed 'y%./+-%__p_%'` |
| 11828 | 11641 |
| 11829 xe_check_libs=" -ldld " | 11642 xe_check_libs=" -ldld " |
| 11830 cat > conftest.$ac_ext <<EOF | 11643 cat > conftest.$ac_ext <<EOF |
| 11831 #line 11832 "configure" | 11644 #line 11645 "configure" |
| 11832 #include "confdefs.h" | 11645 #include "confdefs.h" |
| 11833 /* Override any gcc2 internal prototype to avoid an error. */ | 11646 /* Override any gcc2 internal prototype to avoid an error. */ |
| 11834 /* We use char because int might match the return type of a gcc2 | 11647 /* We use char because int might match the return type of a gcc2 |
| 11835 builtin and then its argument prototype would still apply. */ | 11648 builtin and then its argument prototype would still apply. */ |
| 11836 char dld_init(); | 11649 char dld_init(); |
| 11837 | 11650 |
| 11838 int main() { | 11651 int main() { |
| 11839 dld_init() | 11652 dld_init() |
| 11840 ; return 0; } | 11653 ; return 0; } |
| 11841 EOF | 11654 EOF |
| 11842 if { (eval echo configure:11843: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11655 if { (eval echo configure:11656: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 11843 rm -rf conftest* | 11656 rm -rf conftest* |
| 11844 eval "ac_cv_lib_$ac_lib_var=yes" | 11657 eval "ac_cv_lib_$ac_lib_var=yes" |
| 11845 else | 11658 else |
| 11846 echo "configure: failed program was:" >&5 | 11659 echo "configure: failed program was:" >&5 |
| 11847 cat conftest.$ac_ext >&5 | 11660 cat conftest.$ac_ext >&5 |
| 11887 dll_lflags="-shared" | 11700 dll_lflags="-shared" |
| 11888 dll_cflags="-r" | 11701 dll_cflags="-r" |
| 11889 dll_oflags="-o " | 11702 dll_oflags="-o " |
| 11890 | 11703 |
| 11891 echo $ac_n "checking how to build a shared library""... $ac_c" 1>&6 | 11704 echo $ac_n "checking how to build a shared library""... $ac_c" 1>&6 |
| 11892 echo "configure:11893: checking how to build a shared library" >&5 | 11705 echo "configure:11706: checking how to build a shared library" >&5 |
| 11893 case `uname -rs` in | 11706 case `uname -rs` in |
| 11894 UNIX_SV*|UNIX_System_V*) | 11707 UNIX_SV*|UNIX_System_V*) |
| 11895 dll_lflags="-G" | 11708 dll_lflags="-G" |
| 11896 dll_cflags=-Kpic | 11709 dll_cflags=-Kpic |
| 11897 dll_ld="ld" | 11710 dll_ld="ld" |
| 11978 | 11791 |
| 11979 | 11792 |
| 11980 for ac_func in dlerror | 11793 for ac_func in dlerror |
| 11981 do | 11794 do |
| 11982 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 11795 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
| 11983 echo "configure:11984: checking for $ac_func" >&5 | 11796 echo "configure:11797: checking for $ac_func" >&5 |
| 11984 | 11797 |
| 11985 cat > conftest.$ac_ext <<EOF | 11798 cat > conftest.$ac_ext <<EOF |
| 11986 #line 11987 "configure" | 11799 #line 11800 "configure" |
| 11987 #include "confdefs.h" | 11800 #include "confdefs.h" |
| 11988 /* System header to define __stub macros and hopefully few prototypes, | 11801 /* System header to define __stub macros and hopefully few prototypes, |
| 11989 which can conflict with char $ac_func(); below. */ | 11802 which can conflict with char $ac_func(); below. */ |
| 11990 #include <assert.h> | 11803 #include <assert.h> |
| 11991 /* Override any gcc2 internal prototype to avoid an error. */ | 11804 /* Override any gcc2 internal prototype to avoid an error. */ |
| 12004 $ac_func(); | 11817 $ac_func(); |
| 12005 #endif | 11818 #endif |
| 12006 | 11819 |
| 12007 ; return 0; } | 11820 ; return 0; } |
| 12008 EOF | 11821 EOF |
| 12009 if { (eval echo configure:12010: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11822 if { (eval echo configure:11823: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 12010 rm -rf conftest* | 11823 rm -rf conftest* |
| 12011 eval "ac_cv_func_$ac_func=yes" | 11824 eval "ac_cv_func_$ac_func=yes" |
| 12012 else | 11825 else |
| 12013 echo "configure: failed program was:" >&5 | 11826 echo "configure: failed program was:" >&5 |
| 12014 cat conftest.$ac_ext >&5 | 11827 cat conftest.$ac_ext >&5 |
| 12040 *) ;; | 11853 *) ;; |
| 12041 esac | 11854 esac |
| 12042 fi | 11855 fi |
| 12043 | 11856 |
| 12044 cat > conftest.$ac_ext <<EOF | 11857 cat > conftest.$ac_ext <<EOF |
| 12045 #line 12046 "configure" | 11858 #line 11859 "configure" |
| 12046 #include "confdefs.h" | 11859 #include "confdefs.h" |
| 12047 int main(int c,char *v[]){return 0;} | 11860 int main(int c,char *v[]){return 0;} |
| 12048 EOF | 11861 EOF |
| 12049 if { (eval echo configure:12050: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 11862 if { (eval echo configure:11863: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
| 12050 then | 11863 then |
| 12051 : | 11864 : |
| 12052 else | 11865 else |
| 12053 conftest_rc="$?" | 11866 conftest_rc="$?" |
| 12054 echo "configure: failed program was:" >&5 | 11867 echo "configure: failed program was:" >&5 |
| 12683 athena3d ) echo " Using Athena-3d scrollbars." ;; | 12496 athena3d ) echo " Using Athena-3d scrollbars." ;; |
| 12684 esac | 12497 esac |
| 12685 case "$with_dialogs" in | 12498 case "$with_dialogs" in |
| 12686 motif ) | 12499 motif ) |
| 12687 echo " Using Motif dialog boxes." | 12500 echo " Using Motif dialog boxes." |
| 12688 if test "$unexec" = "unexaix.o" -a `uname -v` = 4 -a `uname -r` -ge 3; then | 12501 if test "$unexec" = "unexaix.o"; then if test "`uname -v`" = 4 -a "`uname -r`" -ge 3; then |
| 12689 echo " *WARNING* The Motif dialog boxes cause problems on AIX 4.3 and higher." | 12502 echo " *WARNING* The Motif dialog boxes cause problems on AIX 4.3 and higher." |
| 12690 echo " We recommend using the Athena dialog boxes instead." | 12503 echo " We recommend using the Athena dialog boxes instead." |
| 12691 echo " Install libXaw and re-run configure with --with-dialogs='athena'." | 12504 echo " Install libXaw and re-run configure with --with-dialogs='athena'." |
| 12692 echo " Read the PROBLEMS file for more information." | 12505 echo " Read the PROBLEMS file for more information." |
| 12693 fi | 12506 fi; fi |
| 12694 ;; | 12507 ;; |
| 12695 athena ) echo " Using Athena dialog boxes." ;; | 12508 athena ) echo " Using Athena dialog boxes." ;; |
| 12696 athena3d ) echo " Using Athena-3d dialog boxes." ;; | 12509 athena3d ) echo " Using Athena-3d dialog boxes." ;; |
| 12697 esac | 12510 esac |
| 12698 test "$with_shlib" = "yes" && echo " Compiling in DLL support." | 12511 test "$with_shlib" = "yes" && echo " Compiling in DLL support." |
| 12782 case "\$ac_option" in | 12595 case "\$ac_option" in |
| 12783 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) | 12596 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) |
| 12784 echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion" | 12597 echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion" |
| 12785 exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;; | 12598 exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;; |
| 12786 -version | --version | --versio | --versi | --vers | --ver | --ve | --v) | 12599 -version | --version | --versio | --versi | --vers | --ver | --ve | --v) |
| 12787 echo "$CONFIG_STATUS generated by autoconf version 2.13" | 12600 echo "$CONFIG_STATUS generated by autoconf version 2.12" |
| 12788 exit 0 ;; | 12601 exit 0 ;; |
| 12789 -help | --help | --hel | --he | --h) | 12602 -help | --help | --hel | --he | --h) |
| 12790 echo "\$ac_cs_usage"; exit 0 ;; | 12603 echo "\$ac_cs_usage"; exit 0 ;; |
| 12791 *) echo "\$ac_cs_usage"; exit 1 ;; | 12604 *) echo "\$ac_cs_usage"; exit 1 ;; |
| 12792 esac | 12605 esac |
| 12802 # Protect against being on the right side of a sed subst in config.status. | 12615 # Protect against being on the right side of a sed subst in config.status. |
| 12803 sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g; | 12616 sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g; |
| 12804 s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF | 12617 s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF |
| 12805 $ac_vpsub | 12618 $ac_vpsub |
| 12806 $extrasub | 12619 $extrasub |
| 12807 s%@SHELL@%$SHELL%g | |
| 12808 s%@CFLAGS@%$CFLAGS%g | 12620 s%@CFLAGS@%$CFLAGS%g |
| 12809 s%@CPPFLAGS@%$CPPFLAGS%g | 12621 s%@CPPFLAGS@%$CPPFLAGS%g |
| 12810 s%@CXXFLAGS@%$CXXFLAGS%g | 12622 s%@CXXFLAGS@%$CXXFLAGS%g |
| 12811 s%@FFLAGS@%$FFLAGS%g | |
| 12812 s%@DEFS@%$DEFS%g | 12623 s%@DEFS@%$DEFS%g |
| 12813 s%@LDFLAGS@%$LDFLAGS%g | 12624 s%@LDFLAGS@%$LDFLAGS%g |
| 12814 s%@LIBS@%$LIBS%g | 12625 s%@LIBS@%$LIBS%g |
| 12815 s%@exec_prefix@%$exec_prefix%g | 12626 s%@exec_prefix@%$exec_prefix%g |
| 12816 s%@prefix@%$prefix%g | 12627 s%@prefix@%$prefix%g |
| 12836 s%@start_files@%$start_files%g | 12647 s%@start_files@%$start_files%g |
| 12837 s%@ld@%$ld%g | 12648 s%@ld@%$ld%g |
| 12838 s%@lib_gcc@%$lib_gcc%g | 12649 s%@lib_gcc@%$lib_gcc%g |
| 12839 s%@RANLIB@%$RANLIB%g | 12650 s%@RANLIB@%$RANLIB%g |
| 12840 s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g | 12651 s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g |
| 12841 s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g | |
| 12842 s%@INSTALL_DATA@%$INSTALL_DATA%g | 12652 s%@INSTALL_DATA@%$INSTALL_DATA%g |
| 12843 s%@YACC@%$YACC%g | 12653 s%@YACC@%$YACC%g |
| 12844 s%@SET_MAKE@%$SET_MAKE%g | 12654 s%@SET_MAKE@%$SET_MAKE%g |
| 12845 s%@X_CFLAGS@%$X_CFLAGS%g | 12655 s%@X_CFLAGS@%$X_CFLAGS%g |
| 12846 s%@X_PRE_LIBS@%$X_PRE_LIBS%g | 12656 s%@X_PRE_LIBS@%$X_PRE_LIBS%g |
