Mercurial > hg > xemacs-beta
comparison configure @ 185:3d6bfa290dbd r20-3b19
Import from CVS: tag r20-3b19
| author | cvs |
|---|---|
| date | Mon, 13 Aug 2007 09:55:28 +0200 |
| parents | e121b013d1f0 |
| children | b405438285a2 |
comparison
equal
deleted
inserted
replaced
| 184:bcd2674570bf | 185:3d6bfa290dbd |
|---|---|
| 59 target=NONE | 59 target=NONE |
| 60 verbose= | 60 verbose= |
| 61 x_includes=NONE | 61 x_includes=NONE |
| 62 x_libraries=NONE | 62 x_libraries=NONE |
| 63 CDPATH=.; export CDPATH | 63 CDPATH=.; export CDPATH |
| 64 package_path=NONE | |
| 64 | 65 |
| 65 if test -n "$ZSH_VERSION"; then | 66 if test -n "$ZSH_VERSION"; then |
| 66 setopt NO_BAD_PATTERN NO_BANG_HIST NO_BG_NICE NO_EQUALS NO_FUNCTION_ARGZERO | 67 setopt NO_BAD_PATTERN NO_BANG_HIST NO_BG_NICE NO_EQUALS NO_FUNCTION_ARGZERO |
| 67 setopt GLOB_SUBST NO_HUP INTERACTIVE_COMMENTS KSH_ARRAYS NO_MULTIOS NO_NOMATCH | 68 setopt GLOB_SUBST NO_HUP INTERACTIVE_COMMENTS KSH_ARRAYS NO_MULTIOS NO_NOMATCH |
| 68 setopt RM_STAR_SILENT POSIX_BUILTINS SH_FILE_EXPANSION SH_GLOB SH_OPTION_LETTERS | 69 setopt RM_STAR_SILENT POSIX_BUILTINS SH_FILE_EXPANSION SH_GLOB SH_OPTION_LETTERS |
| 371 --with-hesiod support Hesiod to get the POP server host | 372 --with-hesiod support Hesiod to get the POP server host |
| 372 --with-dnet (*) Compile with support for DECnet. | 373 --with-dnet (*) Compile with support for DECnet. |
| 373 --mail-locking=TYPE (*) Specify the locking to be used by movemail to prevent | 374 --mail-locking=TYPE (*) Specify the locking to be used by movemail to prevent |
| 374 concurrent updates of mail spool files. Valid types | 375 concurrent updates of mail spool files. Valid types |
| 375 are \`lockf', \`flock', and \`file'. | 376 are \`lockf', \`flock', and \`file'. |
| 377 --package-path=PATH A list of blank separated directories for finding | |
| 378 packages to dump with xemacs. | |
| 379 Defaults to \`$prefix/lib/xemacs/packages ~/.xemacs' | |
| 376 | 380 |
| 377 Internationalization options: | 381 Internationalization options: |
| 378 | 382 |
| 379 --with-mule Compile with Mule (MUlti-Lingual Emacs) support, | 383 --with-mule Compile with Mule (MUlti-Lingual Emacs) support, |
| 380 needed to suport non-Latin-1 (including Asian) languages. | 384 needed to suport non-Latin-1 (including Asian) languages. |
| 842 fi | 846 fi |
| 843 ;; | 847 ;; |
| 844 esac | 848 esac |
| 845 | 849 |
| 846 echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6 | 850 echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6 |
| 847 echo "configure:848: checking whether ln -s works" >&5 | 851 echo "configure:852: checking whether ln -s works" >&5 |
| 848 | 852 |
| 849 rm -f conftestdata | 853 rm -f conftestdata |
| 850 if ln -s X conftestdata 2>/dev/null | 854 if ln -s X conftestdata 2>/dev/null |
| 851 then | 855 then |
| 852 rm -f conftestdata | 856 rm -f conftestdata |
| 1019 } | 1023 } |
| 1020 | 1024 |
| 1021 | 1025 |
| 1022 | 1026 |
| 1023 echo "checking "the configuration name"" 1>&6 | 1027 echo "checking "the configuration name"" 1>&6 |
| 1024 echo "configure:1025: checking "the configuration name"" >&5 | 1028 echo "configure:1029: checking "the configuration name"" >&5 |
| 1025 internal_configuration=`echo $configuration | sed 's/-\(energize\|workshop\)//'` | 1029 internal_configuration=`echo $configuration | sed 's/-\(energize\|workshop\)//'` |
| 1026 if canonical=`$srcdir/config.sub "$internal_configuration"` ; then : ; else | 1030 if canonical=`$srcdir/config.sub "$internal_configuration"` ; then : ; else |
| 1027 exit $? | 1031 exit $? |
| 1028 fi | 1032 fi |
| 1029 | 1033 |
| 1473 xe_save_CFLAGS="$CFLAGS" | 1477 xe_save_CFLAGS="$CFLAGS" |
| 1474 | 1478 |
| 1475 # Extract the first word of "gcc", so it can be a program name with args. | 1479 # Extract the first word of "gcc", so it can be a program name with args. |
| 1476 set dummy gcc; ac_word=$2 | 1480 set dummy gcc; ac_word=$2 |
| 1477 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 1481 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
| 1478 echo "configure:1479: checking for $ac_word" >&5 | 1482 echo "configure:1483: checking for $ac_word" >&5 |
| 1479 | 1483 |
| 1480 if test -n "$CC"; then | 1484 if test -n "$CC"; then |
| 1481 ac_cv_prog_CC="$CC" # Let the user override the test. | 1485 ac_cv_prog_CC="$CC" # Let the user override the test. |
| 1482 else | 1486 else |
| 1483 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" | 1487 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" |
| 1499 | 1503 |
| 1500 if test -z "$CC"; then | 1504 if test -z "$CC"; then |
| 1501 # Extract the first word of "cc", so it can be a program name with args. | 1505 # Extract the first word of "cc", so it can be a program name with args. |
| 1502 set dummy cc; ac_word=$2 | 1506 set dummy cc; ac_word=$2 |
| 1503 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 1507 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
| 1504 echo "configure:1505: checking for $ac_word" >&5 | 1508 echo "configure:1509: checking for $ac_word" >&5 |
| 1505 | 1509 |
| 1506 if test -n "$CC"; then | 1510 if test -n "$CC"; then |
| 1507 ac_cv_prog_CC="$CC" # Let the user override the test. | 1511 ac_cv_prog_CC="$CC" # Let the user override the test. |
| 1508 else | 1512 else |
| 1509 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" | 1513 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" |
| 1544 | 1548 |
| 1545 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } | 1549 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } |
| 1546 fi | 1550 fi |
| 1547 | 1551 |
| 1548 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 | 1552 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 |
| 1549 echo "configure:1550: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 | 1553 echo "configure:1554: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 |
| 1550 | 1554 |
| 1551 ac_ext=c | 1555 ac_ext=c |
| 1552 xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS' | 1556 xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS' |
| 1553 xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_switch_x_site $ld_switch_run' | 1557 xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_switch_x_site $ld_switch_run' |
| 1554 xe_libs='$ld_call_shared $xe_check_libs $X_EXTRA_LIBS $libs_x $X_PRE_LIBS $LIBS $libs_machine $libs_system $libs_standard' | 1558 xe_libs='$ld_call_shared $xe_check_libs $X_EXTRA_LIBS $libs_x $X_PRE_LIBS $LIBS $libs_machine $libs_system $libs_standard' |
| 1556 ac_compile='${CC-cc} -c $CFLAGS '"$xe_cppflags"' conftest.$ac_ext 1>&5' | 1560 ac_compile='${CC-cc} -c $CFLAGS '"$xe_cppflags"' conftest.$ac_ext 1>&5' |
| 1557 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' | 1561 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' |
| 1558 cross_compiling=no | 1562 cross_compiling=no |
| 1559 | 1563 |
| 1560 cat > conftest.$ac_ext <<EOF | 1564 cat > conftest.$ac_ext <<EOF |
| 1561 #line 1562 "configure" | 1565 #line 1566 "configure" |
| 1562 #include "confdefs.h" | 1566 #include "confdefs.h" |
| 1563 main(){return(0);} | 1567 main(){return(0);} |
| 1564 EOF | 1568 EOF |
| 1565 if { (eval echo configure:1566: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 1569 if { (eval echo configure:1570: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 1566 ac_cv_prog_cc_works=yes | 1570 ac_cv_prog_cc_works=yes |
| 1567 # If we can't run a trivial program, we are probably using a cross compiler. | 1571 # If we can't run a trivial program, we are probably using a cross compiler. |
| 1568 if (./conftest; exit) 2>/dev/null; then | 1572 if (./conftest; exit) 2>/dev/null; then |
| 1569 ac_cv_prog_cc_cross=no | 1573 ac_cv_prog_cc_cross=no |
| 1570 else | 1574 else |
| 1580 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 | 1584 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 |
| 1581 if test $ac_cv_prog_cc_works = no; then | 1585 if test $ac_cv_prog_cc_works = no; then |
| 1582 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } | 1586 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } |
| 1583 fi | 1587 fi |
| 1584 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 | 1588 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 |
| 1585 echo "configure:1586: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 | 1589 echo "configure:1590: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 |
| 1586 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 | 1590 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 |
| 1587 cross_compiling=$ac_cv_prog_cc_cross | 1591 cross_compiling=$ac_cv_prog_cc_cross |
| 1588 | 1592 |
| 1589 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 | 1593 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 |
| 1590 echo "configure:1591: checking whether we are using GNU C" >&5 | 1594 echo "configure:1595: checking whether we are using GNU C" >&5 |
| 1591 | 1595 |
| 1592 cat > conftest.c <<EOF | 1596 cat > conftest.c <<EOF |
| 1593 #ifdef __GNUC__ | 1597 #ifdef __GNUC__ |
| 1594 yes; | 1598 yes; |
| 1595 #endif | 1599 #endif |
| 1596 EOF | 1600 EOF |
| 1597 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1598: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then | 1601 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1602: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then |
| 1598 ac_cv_prog_gcc=yes | 1602 ac_cv_prog_gcc=yes |
| 1599 else | 1603 else |
| 1600 ac_cv_prog_gcc=no | 1604 ac_cv_prog_gcc=no |
| 1601 fi | 1605 fi |
| 1602 | 1606 |
| 1606 GCC=yes | 1610 GCC=yes |
| 1607 ac_test_CFLAGS="${CFLAGS+set}" | 1611 ac_test_CFLAGS="${CFLAGS+set}" |
| 1608 ac_save_CFLAGS="$CFLAGS" | 1612 ac_save_CFLAGS="$CFLAGS" |
| 1609 CFLAGS= | 1613 CFLAGS= |
| 1610 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 | 1614 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 |
| 1611 echo "configure:1612: checking whether ${CC-cc} accepts -g" >&5 | 1615 echo "configure:1616: checking whether ${CC-cc} accepts -g" >&5 |
| 1612 | 1616 |
| 1613 echo 'void f(){}' > conftest.c | 1617 echo 'void f(){}' > conftest.c |
| 1614 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then | 1618 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then |
| 1615 ac_cv_prog_cc_g=yes | 1619 ac_cv_prog_cc_g=yes |
| 1616 else | 1620 else |
| 1635 if test "$with_gcc" = "no" -a "$GCC" = "yes"; then | 1639 if test "$with_gcc" = "no" -a "$GCC" = "yes"; then |
| 1636 CC=${NON_GNU_CC-cc} | 1640 CC=${NON_GNU_CC-cc} |
| 1637 # Extract the first word of "gcc", so it can be a program name with args. | 1641 # Extract the first word of "gcc", so it can be a program name with args. |
| 1638 set dummy gcc; ac_word=$2 | 1642 set dummy gcc; ac_word=$2 |
| 1639 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 1643 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
| 1640 echo "configure:1641: checking for $ac_word" >&5 | 1644 echo "configure:1645: checking for $ac_word" >&5 |
| 1641 | 1645 |
| 1642 if test -n "$CC"; then | 1646 if test -n "$CC"; then |
| 1643 ac_cv_prog_CC="$CC" # Let the user override the test. | 1647 ac_cv_prog_CC="$CC" # Let the user override the test. |
| 1644 else | 1648 else |
| 1645 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" | 1649 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" |
| 1661 | 1665 |
| 1662 if test -z "$CC"; then | 1666 if test -z "$CC"; then |
| 1663 # Extract the first word of "cc", so it can be a program name with args. | 1667 # Extract the first word of "cc", so it can be a program name with args. |
| 1664 set dummy cc; ac_word=$2 | 1668 set dummy cc; ac_word=$2 |
| 1665 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 1669 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
| 1666 echo "configure:1667: checking for $ac_word" >&5 | 1670 echo "configure:1671: checking for $ac_word" >&5 |
| 1667 | 1671 |
| 1668 if test -n "$CC"; then | 1672 if test -n "$CC"; then |
| 1669 ac_cv_prog_CC="$CC" # Let the user override the test. | 1673 ac_cv_prog_CC="$CC" # Let the user override the test. |
| 1670 else | 1674 else |
| 1671 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" | 1675 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" |
| 1706 | 1710 |
| 1707 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } | 1711 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } |
| 1708 fi | 1712 fi |
| 1709 | 1713 |
| 1710 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 | 1714 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 |
| 1711 echo "configure:1712: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 | 1715 echo "configure:1716: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 |
| 1712 | 1716 |
| 1713 ac_ext=c | 1717 ac_ext=c |
| 1714 xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS' | 1718 xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS' |
| 1715 xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_switch_x_site $ld_switch_run' | 1719 xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_switch_x_site $ld_switch_run' |
| 1716 xe_libs='$ld_call_shared $xe_check_libs $X_EXTRA_LIBS $libs_x $X_PRE_LIBS $LIBS $libs_machine $libs_system $libs_standard' | 1720 xe_libs='$ld_call_shared $xe_check_libs $X_EXTRA_LIBS $libs_x $X_PRE_LIBS $LIBS $libs_machine $libs_system $libs_standard' |
| 1718 ac_compile='${CC-cc} -c $CFLAGS '"$xe_cppflags"' conftest.$ac_ext 1>&5' | 1722 ac_compile='${CC-cc} -c $CFLAGS '"$xe_cppflags"' conftest.$ac_ext 1>&5' |
| 1719 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' | 1723 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' |
| 1720 cross_compiling=no | 1724 cross_compiling=no |
| 1721 | 1725 |
| 1722 cat > conftest.$ac_ext <<EOF | 1726 cat > conftest.$ac_ext <<EOF |
| 1723 #line 1724 "configure" | 1727 #line 1728 "configure" |
| 1724 #include "confdefs.h" | 1728 #include "confdefs.h" |
| 1725 main(){return(0);} | 1729 main(){return(0);} |
| 1726 EOF | 1730 EOF |
| 1727 if { (eval echo configure:1728: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 1731 if { (eval echo configure:1732: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 1728 ac_cv_prog_cc_works=yes | 1732 ac_cv_prog_cc_works=yes |
| 1729 # If we can't run a trivial program, we are probably using a cross compiler. | 1733 # If we can't run a trivial program, we are probably using a cross compiler. |
| 1730 if (./conftest; exit) 2>/dev/null; then | 1734 if (./conftest; exit) 2>/dev/null; then |
| 1731 ac_cv_prog_cc_cross=no | 1735 ac_cv_prog_cc_cross=no |
| 1732 else | 1736 else |
| 1742 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 | 1746 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 |
| 1743 if test $ac_cv_prog_cc_works = no; then | 1747 if test $ac_cv_prog_cc_works = no; then |
| 1744 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } | 1748 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } |
| 1745 fi | 1749 fi |
| 1746 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 | 1750 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 |
| 1747 echo "configure:1748: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 | 1751 echo "configure:1752: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 |
| 1748 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 | 1752 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 |
| 1749 cross_compiling=$ac_cv_prog_cc_cross | 1753 cross_compiling=$ac_cv_prog_cc_cross |
| 1750 | 1754 |
| 1751 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 | 1755 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 |
| 1752 echo "configure:1753: checking whether we are using GNU C" >&5 | 1756 echo "configure:1757: checking whether we are using GNU C" >&5 |
| 1753 | 1757 |
| 1754 cat > conftest.c <<EOF | 1758 cat > conftest.c <<EOF |
| 1755 #ifdef __GNUC__ | 1759 #ifdef __GNUC__ |
| 1756 yes; | 1760 yes; |
| 1757 #endif | 1761 #endif |
| 1758 EOF | 1762 EOF |
| 1759 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1760: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then | 1763 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1764: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then |
| 1760 ac_cv_prog_gcc=yes | 1764 ac_cv_prog_gcc=yes |
| 1761 else | 1765 else |
| 1762 ac_cv_prog_gcc=no | 1766 ac_cv_prog_gcc=no |
| 1763 fi | 1767 fi |
| 1764 | 1768 |
| 1768 GCC=yes | 1772 GCC=yes |
| 1769 ac_test_CFLAGS="${CFLAGS+set}" | 1773 ac_test_CFLAGS="${CFLAGS+set}" |
| 1770 ac_save_CFLAGS="$CFLAGS" | 1774 ac_save_CFLAGS="$CFLAGS" |
| 1771 CFLAGS= | 1775 CFLAGS= |
| 1772 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 | 1776 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 |
| 1773 echo "configure:1774: checking whether ${CC-cc} accepts -g" >&5 | 1777 echo "configure:1778: checking whether ${CC-cc} accepts -g" >&5 |
| 1774 | 1778 |
| 1775 echo 'void f(){}' > conftest.c | 1779 echo 'void f(){}' > conftest.c |
| 1776 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then | 1780 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then |
| 1777 ac_cv_prog_cc_g=yes | 1781 ac_cv_prog_cc_g=yes |
| 1778 else | 1782 else |
| 1797 elif test "$with_gcc" = "yes" -a "$GCC" != "yes" ; then | 1801 elif test "$with_gcc" = "yes" -a "$GCC" != "yes" ; then |
| 1798 CC=gcc | 1802 CC=gcc |
| 1799 # Extract the first word of "gcc", so it can be a program name with args. | 1803 # Extract the first word of "gcc", so it can be a program name with args. |
| 1800 set dummy gcc; ac_word=$2 | 1804 set dummy gcc; ac_word=$2 |
| 1801 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 1805 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
| 1802 echo "configure:1803: checking for $ac_word" >&5 | 1806 echo "configure:1807: checking for $ac_word" >&5 |
| 1803 | 1807 |
| 1804 if test -n "$CC"; then | 1808 if test -n "$CC"; then |
| 1805 ac_cv_prog_CC="$CC" # Let the user override the test. | 1809 ac_cv_prog_CC="$CC" # Let the user override the test. |
| 1806 else | 1810 else |
| 1807 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" | 1811 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" |
| 1823 | 1827 |
| 1824 if test -z "$CC"; then | 1828 if test -z "$CC"; then |
| 1825 # Extract the first word of "cc", so it can be a program name with args. | 1829 # Extract the first word of "cc", so it can be a program name with args. |
| 1826 set dummy cc; ac_word=$2 | 1830 set dummy cc; ac_word=$2 |
| 1827 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 1831 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
| 1828 echo "configure:1829: checking for $ac_word" >&5 | 1832 echo "configure:1833: checking for $ac_word" >&5 |
| 1829 | 1833 |
| 1830 if test -n "$CC"; then | 1834 if test -n "$CC"; then |
| 1831 ac_cv_prog_CC="$CC" # Let the user override the test. | 1835 ac_cv_prog_CC="$CC" # Let the user override the test. |
| 1832 else | 1836 else |
| 1833 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" | 1837 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" |
| 1868 | 1872 |
| 1869 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } | 1873 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } |
| 1870 fi | 1874 fi |
| 1871 | 1875 |
| 1872 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 | 1876 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 |
| 1873 echo "configure:1874: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 | 1877 echo "configure:1878: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 |
| 1874 | 1878 |
| 1875 ac_ext=c | 1879 ac_ext=c |
| 1876 xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS' | 1880 xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS' |
| 1877 xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_switch_x_site $ld_switch_run' | 1881 xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_switch_x_site $ld_switch_run' |
| 1878 xe_libs='$ld_call_shared $xe_check_libs $X_EXTRA_LIBS $libs_x $X_PRE_LIBS $LIBS $libs_machine $libs_system $libs_standard' | 1882 xe_libs='$ld_call_shared $xe_check_libs $X_EXTRA_LIBS $libs_x $X_PRE_LIBS $LIBS $libs_machine $libs_system $libs_standard' |
| 1880 ac_compile='${CC-cc} -c $CFLAGS '"$xe_cppflags"' conftest.$ac_ext 1>&5' | 1884 ac_compile='${CC-cc} -c $CFLAGS '"$xe_cppflags"' conftest.$ac_ext 1>&5' |
| 1881 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' | 1885 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' |
| 1882 cross_compiling=no | 1886 cross_compiling=no |
| 1883 | 1887 |
| 1884 cat > conftest.$ac_ext <<EOF | 1888 cat > conftest.$ac_ext <<EOF |
| 1885 #line 1886 "configure" | 1889 #line 1890 "configure" |
| 1886 #include "confdefs.h" | 1890 #include "confdefs.h" |
| 1887 main(){return(0);} | 1891 main(){return(0);} |
| 1888 EOF | 1892 EOF |
| 1889 if { (eval echo configure:1890: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 1893 if { (eval echo configure:1894: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 1890 ac_cv_prog_cc_works=yes | 1894 ac_cv_prog_cc_works=yes |
| 1891 # If we can't run a trivial program, we are probably using a cross compiler. | 1895 # If we can't run a trivial program, we are probably using a cross compiler. |
| 1892 if (./conftest; exit) 2>/dev/null; then | 1896 if (./conftest; exit) 2>/dev/null; then |
| 1893 ac_cv_prog_cc_cross=no | 1897 ac_cv_prog_cc_cross=no |
| 1894 else | 1898 else |
| 1904 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 | 1908 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 |
| 1905 if test $ac_cv_prog_cc_works = no; then | 1909 if test $ac_cv_prog_cc_works = no; then |
| 1906 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } | 1910 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } |
| 1907 fi | 1911 fi |
| 1908 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 | 1912 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 |
| 1909 echo "configure:1910: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 | 1913 echo "configure:1914: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 |
| 1910 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 | 1914 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 |
| 1911 cross_compiling=$ac_cv_prog_cc_cross | 1915 cross_compiling=$ac_cv_prog_cc_cross |
| 1912 | 1916 |
| 1913 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 | 1917 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 |
| 1914 echo "configure:1915: checking whether we are using GNU C" >&5 | 1918 echo "configure:1919: checking whether we are using GNU C" >&5 |
| 1915 | 1919 |
| 1916 cat > conftest.c <<EOF | 1920 cat > conftest.c <<EOF |
| 1917 #ifdef __GNUC__ | 1921 #ifdef __GNUC__ |
| 1918 yes; | 1922 yes; |
| 1919 #endif | 1923 #endif |
| 1920 EOF | 1924 EOF |
| 1921 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1922: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then | 1925 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1926: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then |
| 1922 ac_cv_prog_gcc=yes | 1926 ac_cv_prog_gcc=yes |
| 1923 else | 1927 else |
| 1924 ac_cv_prog_gcc=no | 1928 ac_cv_prog_gcc=no |
| 1925 fi | 1929 fi |
| 1926 | 1930 |
| 1930 GCC=yes | 1934 GCC=yes |
| 1931 ac_test_CFLAGS="${CFLAGS+set}" | 1935 ac_test_CFLAGS="${CFLAGS+set}" |
| 1932 ac_save_CFLAGS="$CFLAGS" | 1936 ac_save_CFLAGS="$CFLAGS" |
| 1933 CFLAGS= | 1937 CFLAGS= |
| 1934 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 | 1938 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 |
| 1935 echo "configure:1936: checking whether ${CC-cc} accepts -g" >&5 | 1939 echo "configure:1940: checking whether ${CC-cc} accepts -g" >&5 |
| 1936 | 1940 |
| 1937 echo 'void f(){}' > conftest.c | 1941 echo 'void f(){}' > conftest.c |
| 1938 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then | 1942 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then |
| 1939 ac_cv_prog_cc_g=yes | 1943 ac_cv_prog_cc_g=yes |
| 1940 else | 1944 else |
| 1963 test -n "$CPP" -a -d "$CPP" && CPP= | 1967 test -n "$CPP" -a -d "$CPP" && CPP= |
| 1964 | 1968 |
| 1965 test -n "$NON_GNU_CPP" -a "$GCC" != "yes" -a -z "$CPP" && CPP="$NON_GNU_CPP" | 1969 test -n "$NON_GNU_CPP" -a "$GCC" != "yes" -a -z "$CPP" && CPP="$NON_GNU_CPP" |
| 1966 | 1970 |
| 1967 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6 | 1971 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6 |
| 1968 echo "configure:1969: checking how to run the C preprocessor" >&5 | 1972 echo "configure:1973: checking how to run the C preprocessor" >&5 |
| 1969 # On Suns, sometimes $CPP names a directory. | 1973 # On Suns, sometimes $CPP names a directory. |
| 1970 if test -n "$CPP" && test -d "$CPP"; then | 1974 if test -n "$CPP" && test -d "$CPP"; then |
| 1971 CPP= | 1975 CPP= |
| 1972 fi | 1976 fi |
| 1973 if test -z "$CPP"; then | 1977 if test -z "$CPP"; then |
| 1976 # substituted into the Makefile and "${CC-cc}" will confuse make. | 1980 # substituted into the Makefile and "${CC-cc}" will confuse make. |
| 1977 CPP="${CC-cc} -E" | 1981 CPP="${CC-cc} -E" |
| 1978 # On the NeXT, cc -E runs the code through the compiler's parser, | 1982 # On the NeXT, cc -E runs the code through the compiler's parser, |
| 1979 # not just through cpp. | 1983 # not just through cpp. |
| 1980 cat > conftest.$ac_ext <<EOF | 1984 cat > conftest.$ac_ext <<EOF |
| 1981 #line 1982 "configure" | 1985 #line 1986 "configure" |
| 1982 #include "confdefs.h" | 1986 #include "confdefs.h" |
| 1983 #include <assert.h> | 1987 #include <assert.h> |
| 1984 Syntax Error | 1988 Syntax Error |
| 1985 EOF | 1989 EOF |
| 1986 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 1990 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 1987 { (eval echo configure:1988: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 1991 { (eval echo configure:1992: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 1988 ac_err=`grep -v '^ *+' conftest.out` | 1992 ac_err=`grep -v '^ *+' conftest.out` |
| 1989 if test -z "$ac_err"; then | 1993 if test -z "$ac_err"; then |
| 1990 : | 1994 : |
| 1991 else | 1995 else |
| 1992 echo "$ac_err" >&5 | 1996 echo "$ac_err" >&5 |
| 1993 echo "configure: failed program was:" >&5 | 1997 echo "configure: failed program was:" >&5 |
| 1994 cat conftest.$ac_ext >&5 | 1998 cat conftest.$ac_ext >&5 |
| 1995 rm -rf conftest* | 1999 rm -rf conftest* |
| 1996 CPP="${CC-cc} -E -traditional-cpp" | 2000 CPP="${CC-cc} -E -traditional-cpp" |
| 1997 cat > conftest.$ac_ext <<EOF | 2001 cat > conftest.$ac_ext <<EOF |
| 1998 #line 1999 "configure" | 2002 #line 2003 "configure" |
| 1999 #include "confdefs.h" | 2003 #include "confdefs.h" |
| 2000 #include <assert.h> | 2004 #include <assert.h> |
| 2001 Syntax Error | 2005 Syntax Error |
| 2002 EOF | 2006 EOF |
| 2003 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 2007 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 2004 { (eval echo configure:2005: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 2008 { (eval echo configure:2009: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 2005 ac_err=`grep -v '^ *+' conftest.out` | 2009 ac_err=`grep -v '^ *+' conftest.out` |
| 2006 if test -z "$ac_err"; then | 2010 if test -z "$ac_err"; then |
| 2007 : | 2011 : |
| 2008 else | 2012 else |
| 2009 echo "$ac_err" >&5 | 2013 echo "$ac_err" >&5 |
| 2022 fi | 2026 fi |
| 2023 echo "$ac_t""$CPP" 1>&6 | 2027 echo "$ac_t""$CPP" 1>&6 |
| 2024 | 2028 |
| 2025 | 2029 |
| 2026 echo $ac_n "checking for AIX""... $ac_c" 1>&6 | 2030 echo $ac_n "checking for AIX""... $ac_c" 1>&6 |
| 2027 echo "configure:2028: checking for AIX" >&5 | 2031 echo "configure:2032: checking for AIX" >&5 |
| 2028 cat > conftest.$ac_ext <<EOF | 2032 cat > conftest.$ac_ext <<EOF |
| 2029 #line 2030 "configure" | 2033 #line 2034 "configure" |
| 2030 #include "confdefs.h" | 2034 #include "confdefs.h" |
| 2031 #ifdef _AIX | 2035 #ifdef _AIX |
| 2032 yes | 2036 yes |
| 2033 #endif | 2037 #endif |
| 2034 | 2038 |
| 2051 rm -f conftest* | 2055 rm -f conftest* |
| 2052 | 2056 |
| 2053 | 2057 |
| 2054 | 2058 |
| 2055 echo $ac_n "checking whether we are using SunPro C""... $ac_c" 1>&6 | 2059 echo $ac_n "checking whether we are using SunPro C""... $ac_c" 1>&6 |
| 2056 echo "configure:2057: checking whether we are using SunPro C" >&5 | 2060 echo "configure:2061: checking whether we are using SunPro C" >&5 |
| 2057 cat > conftest.$ac_ext <<EOF | 2061 cat > conftest.$ac_ext <<EOF |
| 2058 #line 2059 "configure" | 2062 #line 2063 "configure" |
| 2059 #include "confdefs.h" | 2063 #include "confdefs.h" |
| 2060 | 2064 |
| 2061 int main() { | 2065 int main() { |
| 2062 #ifndef __SUNPRO_C | 2066 #ifndef __SUNPRO_C |
| 2063 #error Not a SunPro compiler :-( | 2067 #error Not a SunPro compiler :-( |
| 2064 ******* ======= ******** &&&&&&&& | 2068 ******* ======= ******** &&&&&&&& |
| 2065 #endif | 2069 #endif |
| 2066 | 2070 |
| 2067 ; return 0; } | 2071 ; return 0; } |
| 2068 EOF | 2072 EOF |
| 2069 if { (eval echo configure:2070: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 2073 if { (eval echo configure:2074: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| 2070 rm -rf conftest* | 2074 rm -rf conftest* |
| 2071 __sunpro_c=yes | 2075 __sunpro_c=yes |
| 2072 else | 2076 else |
| 2073 echo "configure: failed program was:" >&5 | 2077 echo "configure: failed program was:" >&5 |
| 2074 cat conftest.$ac_ext >&5 | 2078 cat conftest.$ac_ext >&5 |
| 2351 test -n "$unexec" && extra_objs="$extra_objs $unexec" && if test "$extra_verbose" = "yes"; then | 2355 test -n "$unexec" && extra_objs="$extra_objs $unexec" && if test "$extra_verbose" = "yes"; then |
| 2352 echo " xemacs will be linked with \"$unexec\"" | 2356 echo " xemacs will be linked with \"$unexec\"" |
| 2353 fi | 2357 fi |
| 2354 | 2358 |
| 2355 echo $ac_n "checking for dynodump""... $ac_c" 1>&6 | 2359 echo $ac_n "checking for dynodump""... $ac_c" 1>&6 |
| 2356 echo "configure:2357: checking for dynodump" >&5 | 2360 echo "configure:2361: checking for dynodump" >&5 |
| 2357 if test "$unexec" != "unexsol2.o"; then | 2361 if test "$unexec" != "unexsol2.o"; then |
| 2358 echo "$ac_t""no" 1>&6 | 2362 echo "$ac_t""no" 1>&6 |
| 2359 else | 2363 else |
| 2360 echo "$ac_t""yes" 1>&6 | 2364 echo "$ac_t""yes" 1>&6 |
| 2361 { test "$extra_verbose" = "yes" && cat << \EOF | 2365 { test "$extra_verbose" = "yes" && cat << \EOF |
| 2422 esac | 2426 esac |
| 2423 fi | 2427 fi |
| 2424 | 2428 |
| 2425 if test "$add_runtime_path" = "yes"; then | 2429 if test "$add_runtime_path" = "yes"; then |
| 2426 echo $ac_n "checking "for runtime libraries flag"""... $ac_c" 1>&6 | 2430 echo $ac_n "checking "for runtime libraries flag"""... $ac_c" 1>&6 |
| 2427 echo "configure:2428: checking "for runtime libraries flag"" >&5 | 2431 echo "configure:2432: checking "for runtime libraries flag"" >&5 |
| 2428 dash_r="" | 2432 dash_r="" |
| 2429 for try_dash_r in "-R" "-R " "-rpath "; do | 2433 for try_dash_r in "-R" "-R " "-rpath "; do |
| 2430 xe_check_libs="${try_dash_r}/no/such/file-or-directory" | 2434 xe_check_libs="${try_dash_r}/no/such/file-or-directory" |
| 2431 cat > conftest.$ac_ext <<EOF | 2435 cat > conftest.$ac_ext <<EOF |
| 2432 #line 2433 "configure" | 2436 #line 2437 "configure" |
| 2433 #include "confdefs.h" | 2437 #include "confdefs.h" |
| 2434 | 2438 |
| 2435 int main() { | 2439 int main() { |
| 2436 | 2440 |
| 2437 ; return 0; } | 2441 ; return 0; } |
| 2438 EOF | 2442 EOF |
| 2439 if { (eval echo configure:2440: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 2443 if { (eval echo configure:2444: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 2440 rm -rf conftest* | 2444 rm -rf conftest* |
| 2441 dash_r="$try_dash_r" | 2445 dash_r="$try_dash_r" |
| 2442 else | 2446 else |
| 2443 echo "configure: failed program was:" >&5 | 2447 echo "configure: failed program was:" >&5 |
| 2444 cat conftest.$ac_ext >&5 | 2448 cat conftest.$ac_ext >&5 |
| 2532 | 2536 |
| 2533 | 2537 |
| 2534 # Extract the first word of "ranlib", so it can be a program name with args. | 2538 # Extract the first word of "ranlib", so it can be a program name with args. |
| 2535 set dummy ranlib; ac_word=$2 | 2539 set dummy ranlib; ac_word=$2 |
| 2536 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 2540 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
| 2537 echo "configure:2538: checking for $ac_word" >&5 | 2541 echo "configure:2542: checking for $ac_word" >&5 |
| 2538 | 2542 |
| 2539 if test -n "$RANLIB"; then | 2543 if test -n "$RANLIB"; then |
| 2540 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. | 2544 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. |
| 2541 else | 2545 else |
| 2542 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" | 2546 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" |
| 2585 # AIX /bin/install | 2589 # AIX /bin/install |
| 2586 # AFS /usr/afsws/bin/install, which mishandles nonexistent args | 2590 # AFS /usr/afsws/bin/install, which mishandles nonexistent args |
| 2587 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" | 2591 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" |
| 2588 # ./install, which can be erroneously created by make from ./install.sh. | 2592 # ./install, which can be erroneously created by make from ./install.sh. |
| 2589 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 | 2593 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 |
| 2590 echo "configure:2591: checking for a BSD compatible install" >&5 | 2594 echo "configure:2595: checking for a BSD compatible install" >&5 |
| 2591 if test -z "$INSTALL"; then | 2595 if test -z "$INSTALL"; then |
| 2592 | 2596 |
| 2593 IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS="${IFS}:" | 2597 IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS="${IFS}:" |
| 2594 for ac_dir in $PATH; do | 2598 for ac_dir in $PATH; do |
| 2595 # Account for people who put trailing slashes in PATH elements. | 2599 # Account for people who put trailing slashes in PATH elements. |
| 2636 for ac_prog in 'bison -y' byacc | 2640 for ac_prog in 'bison -y' byacc |
| 2637 do | 2641 do |
| 2638 # Extract the first word of "$ac_prog", so it can be a program name with args. | 2642 # Extract the first word of "$ac_prog", so it can be a program name with args. |
| 2639 set dummy $ac_prog; ac_word=$2 | 2643 set dummy $ac_prog; ac_word=$2 |
| 2640 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 2644 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
| 2641 echo "configure:2642: checking for $ac_word" >&5 | 2645 echo "configure:2646: checking for $ac_word" >&5 |
| 2642 | 2646 |
| 2643 if test -n "$YACC"; then | 2647 if test -n "$YACC"; then |
| 2644 ac_cv_prog_YACC="$YACC" # Let the user override the test. | 2648 ac_cv_prog_YACC="$YACC" # Let the user override the test. |
| 2645 else | 2649 else |
| 2646 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" | 2650 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" |
| 2667 | 2671 |
| 2668 for ac_hdr in mach/mach.h sys/stropts.h sys/timeb.h sys/time.h unistd.h | 2672 for ac_hdr in mach/mach.h sys/stropts.h sys/timeb.h sys/time.h unistd.h |
| 2669 do | 2673 do |
| 2670 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 2674 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
| 2671 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 2675 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
| 2672 echo "configure:2673: checking for $ac_hdr" >&5 | 2676 echo "configure:2677: checking for $ac_hdr" >&5 |
| 2673 | 2677 |
| 2674 cat > conftest.$ac_ext <<EOF | 2678 cat > conftest.$ac_ext <<EOF |
| 2675 #line 2676 "configure" | 2679 #line 2680 "configure" |
| 2676 #include "confdefs.h" | 2680 #include "confdefs.h" |
| 2677 #include <$ac_hdr> | 2681 #include <$ac_hdr> |
| 2678 EOF | 2682 EOF |
| 2679 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 2683 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 2680 { (eval echo configure:2681: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 2684 { (eval echo configure:2685: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 2681 ac_err=`grep -v '^ *+' conftest.out` | 2685 ac_err=`grep -v '^ *+' conftest.out` |
| 2682 if test -z "$ac_err"; then | 2686 if test -z "$ac_err"; then |
| 2683 rm -rf conftest* | 2687 rm -rf conftest* |
| 2684 eval "ac_cv_header_$ac_safe=yes" | 2688 eval "ac_cv_header_$ac_safe=yes" |
| 2685 else | 2689 else |
| 2708 | 2712 |
| 2709 for ac_hdr in utime.h locale.h libgen.h fcntl.h ulimit.h | 2713 for ac_hdr in utime.h locale.h libgen.h fcntl.h ulimit.h |
| 2710 do | 2714 do |
| 2711 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 2715 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
| 2712 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 2716 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
| 2713 echo "configure:2714: checking for $ac_hdr" >&5 | 2717 echo "configure:2718: checking for $ac_hdr" >&5 |
| 2714 | 2718 |
| 2715 cat > conftest.$ac_ext <<EOF | 2719 cat > conftest.$ac_ext <<EOF |
| 2716 #line 2717 "configure" | 2720 #line 2721 "configure" |
| 2717 #include "confdefs.h" | 2721 #include "confdefs.h" |
| 2718 #include <$ac_hdr> | 2722 #include <$ac_hdr> |
| 2719 EOF | 2723 EOF |
| 2720 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 2724 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 2721 { (eval echo configure:2722: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 2725 { (eval echo configure:2726: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 2722 ac_err=`grep -v '^ *+' conftest.out` | 2726 ac_err=`grep -v '^ *+' conftest.out` |
| 2723 if test -z "$ac_err"; then | 2727 if test -z "$ac_err"; then |
| 2724 rm -rf conftest* | 2728 rm -rf conftest* |
| 2725 eval "ac_cv_header_$ac_safe=yes" | 2729 eval "ac_cv_header_$ac_safe=yes" |
| 2726 else | 2730 else |
| 2749 | 2753 |
| 2750 for ac_hdr in linux/version.h kstat.h sys/pstat.h inttypes.h limits.h | 2754 for ac_hdr in linux/version.h kstat.h sys/pstat.h inttypes.h limits.h |
| 2751 do | 2755 do |
| 2752 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 2756 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
| 2753 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 2757 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
| 2754 echo "configure:2755: checking for $ac_hdr" >&5 | 2758 echo "configure:2759: checking for $ac_hdr" >&5 |
| 2755 | 2759 |
| 2756 cat > conftest.$ac_ext <<EOF | 2760 cat > conftest.$ac_ext <<EOF |
| 2757 #line 2758 "configure" | 2761 #line 2762 "configure" |
| 2758 #include "confdefs.h" | 2762 #include "confdefs.h" |
| 2759 #include <$ac_hdr> | 2763 #include <$ac_hdr> |
| 2760 EOF | 2764 EOF |
| 2761 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 2765 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 2762 { (eval echo configure:2763: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 2766 { (eval echo configure:2767: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 2763 ac_err=`grep -v '^ *+' conftest.out` | 2767 ac_err=`grep -v '^ *+' conftest.out` |
| 2764 if test -z "$ac_err"; then | 2768 if test -z "$ac_err"; then |
| 2765 rm -rf conftest* | 2769 rm -rf conftest* |
| 2766 eval "ac_cv_header_$ac_safe=yes" | 2770 eval "ac_cv_header_$ac_safe=yes" |
| 2767 else | 2771 else |
| 2787 echo "$ac_t""no" 1>&6 | 2791 echo "$ac_t""no" 1>&6 |
| 2788 fi | 2792 fi |
| 2789 done | 2793 done |
| 2790 | 2794 |
| 2791 echo $ac_n "checking for sys/wait.h that is POSIX.1 compatible""... $ac_c" 1>&6 | 2795 echo $ac_n "checking for sys/wait.h that is POSIX.1 compatible""... $ac_c" 1>&6 |
| 2792 echo "configure:2793: checking for sys/wait.h that is POSIX.1 compatible" >&5 | 2796 echo "configure:2797: checking for sys/wait.h that is POSIX.1 compatible" >&5 |
| 2793 | 2797 |
| 2794 cat > conftest.$ac_ext <<EOF | 2798 cat > conftest.$ac_ext <<EOF |
| 2795 #line 2796 "configure" | 2799 #line 2800 "configure" |
| 2796 #include "confdefs.h" | 2800 #include "confdefs.h" |
| 2797 #include <sys/types.h> | 2801 #include <sys/types.h> |
| 2798 #include <sys/wait.h> | 2802 #include <sys/wait.h> |
| 2799 #ifndef WEXITSTATUS | 2803 #ifndef WEXITSTATUS |
| 2800 #define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8) | 2804 #define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8) |
| 2806 int s; | 2810 int s; |
| 2807 wait (&s); | 2811 wait (&s); |
| 2808 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1; | 2812 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1; |
| 2809 ; return 0; } | 2813 ; return 0; } |
| 2810 EOF | 2814 EOF |
| 2811 if { (eval echo configure:2812: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 2815 if { (eval echo configure:2816: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| 2812 rm -rf conftest* | 2816 rm -rf conftest* |
| 2813 ac_cv_header_sys_wait_h=yes | 2817 ac_cv_header_sys_wait_h=yes |
| 2814 else | 2818 else |
| 2815 echo "configure: failed program was:" >&5 | 2819 echo "configure: failed program was:" >&5 |
| 2816 cat conftest.$ac_ext >&5 | 2820 cat conftest.$ac_ext >&5 |
| 2830 } | 2834 } |
| 2831 | 2835 |
| 2832 fi | 2836 fi |
| 2833 | 2837 |
| 2834 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6 | 2838 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6 |
| 2835 echo "configure:2836: checking for ANSI C header files" >&5 | 2839 echo "configure:2840: checking for ANSI C header files" >&5 |
| 2836 | 2840 |
| 2837 cat > conftest.$ac_ext <<EOF | 2841 cat > conftest.$ac_ext <<EOF |
| 2838 #line 2839 "configure" | 2842 #line 2843 "configure" |
| 2839 #include "confdefs.h" | 2843 #include "confdefs.h" |
| 2840 #include <stdlib.h> | 2844 #include <stdlib.h> |
| 2841 #include <stdarg.h> | 2845 #include <stdarg.h> |
| 2842 #include <string.h> | 2846 #include <string.h> |
| 2843 #include <float.h> | 2847 #include <float.h> |
| 2844 EOF | 2848 EOF |
| 2845 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 2849 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 2846 { (eval echo configure:2847: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 2850 { (eval echo configure:2851: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 2847 ac_err=`grep -v '^ *+' conftest.out` | 2851 ac_err=`grep -v '^ *+' conftest.out` |
| 2848 if test -z "$ac_err"; then | 2852 if test -z "$ac_err"; then |
| 2849 rm -rf conftest* | 2853 rm -rf conftest* |
| 2850 ac_cv_header_stdc=yes | 2854 ac_cv_header_stdc=yes |
| 2851 else | 2855 else |
| 2858 rm -f conftest* | 2862 rm -f conftest* |
| 2859 | 2863 |
| 2860 if test $ac_cv_header_stdc = yes; then | 2864 if test $ac_cv_header_stdc = yes; then |
| 2861 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. | 2865 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. |
| 2862 cat > conftest.$ac_ext <<EOF | 2866 cat > conftest.$ac_ext <<EOF |
| 2863 #line 2864 "configure" | 2867 #line 2868 "configure" |
| 2864 #include "confdefs.h" | 2868 #include "confdefs.h" |
| 2865 #include <string.h> | 2869 #include <string.h> |
| 2866 EOF | 2870 EOF |
| 2867 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 2871 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
| 2868 egrep "memchr" >/dev/null 2>&1; then | 2872 egrep "memchr" >/dev/null 2>&1; then |
| 2876 fi | 2880 fi |
| 2877 | 2881 |
| 2878 if test $ac_cv_header_stdc = yes; then | 2882 if test $ac_cv_header_stdc = yes; then |
| 2879 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. | 2883 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. |
| 2880 cat > conftest.$ac_ext <<EOF | 2884 cat > conftest.$ac_ext <<EOF |
| 2881 #line 2882 "configure" | 2885 #line 2886 "configure" |
| 2882 #include "confdefs.h" | 2886 #include "confdefs.h" |
| 2883 #include <stdlib.h> | 2887 #include <stdlib.h> |
| 2884 EOF | 2888 EOF |
| 2885 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 2889 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
| 2886 egrep "free" >/dev/null 2>&1; then | 2890 egrep "free" >/dev/null 2>&1; then |
| 2894 fi | 2898 fi |
| 2895 | 2899 |
| 2896 if test $ac_cv_header_stdc = yes; then | 2900 if test $ac_cv_header_stdc = yes; then |
| 2897 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. | 2901 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. |
| 2898 cat > conftest.$ac_ext <<EOF | 2902 cat > conftest.$ac_ext <<EOF |
| 2899 #line 2900 "configure" | 2903 #line 2904 "configure" |
| 2900 #include "confdefs.h" | 2904 #include "confdefs.h" |
| 2901 #include <ctype.h> | 2905 #include <ctype.h> |
| 2902 #define ISLOWER(c) ('a' <= (c) && (c) <= 'z') | 2906 #define ISLOWER(c) ('a' <= (c) && (c) <= 'z') |
| 2903 #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) | 2907 #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) |
| 2904 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) | 2908 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) |
| 2905 int main () { int i; for (i = 0; i < 256; i++) | 2909 int main () { int i; for (i = 0; i < 256; i++) |
| 2906 if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2); | 2910 if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2); |
| 2907 exit (0); } | 2911 exit (0); } |
| 2908 | 2912 |
| 2909 EOF | 2913 EOF |
| 2910 if { (eval echo configure:2911: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 | 2914 if { (eval echo configure:2915: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 |
| 2911 then | 2915 then |
| 2912 : | 2916 : |
| 2913 else | 2917 else |
| 2914 echo "configure: failed program was:" >&5 | 2918 echo "configure: failed program was:" >&5 |
| 2915 cat conftest.$ac_ext >&5 | 2919 cat conftest.$ac_ext >&5 |
| 2930 } | 2934 } |
| 2931 | 2935 |
| 2932 fi | 2936 fi |
| 2933 | 2937 |
| 2934 echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6 | 2938 echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6 |
| 2935 echo "configure:2936: checking whether time.h and sys/time.h may both be included" >&5 | 2939 echo "configure:2940: checking whether time.h and sys/time.h may both be included" >&5 |
| 2936 | 2940 |
| 2937 cat > conftest.$ac_ext <<EOF | 2941 cat > conftest.$ac_ext <<EOF |
| 2938 #line 2939 "configure" | 2942 #line 2943 "configure" |
| 2939 #include "confdefs.h" | 2943 #include "confdefs.h" |
| 2940 #include <sys/types.h> | 2944 #include <sys/types.h> |
| 2941 #include <sys/time.h> | 2945 #include <sys/time.h> |
| 2942 #include <time.h> | 2946 #include <time.h> |
| 2943 int main() { | 2947 int main() { |
| 2944 struct tm *tp; | 2948 struct tm *tp; |
| 2945 ; return 0; } | 2949 ; return 0; } |
| 2946 EOF | 2950 EOF |
| 2947 if { (eval echo configure:2948: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 2951 if { (eval echo configure:2952: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| 2948 rm -rf conftest* | 2952 rm -rf conftest* |
| 2949 ac_cv_header_time=yes | 2953 ac_cv_header_time=yes |
| 2950 else | 2954 else |
| 2951 echo "configure: failed program was:" >&5 | 2955 echo "configure: failed program was:" >&5 |
| 2952 cat conftest.$ac_ext >&5 | 2956 cat conftest.$ac_ext >&5 |
| 2966 } | 2970 } |
| 2967 | 2971 |
| 2968 fi | 2972 fi |
| 2969 | 2973 |
| 2970 echo $ac_n "checking for sys_siglist declaration in signal.h or unistd.h""... $ac_c" 1>&6 | 2974 echo $ac_n "checking for sys_siglist declaration in signal.h or unistd.h""... $ac_c" 1>&6 |
| 2971 echo "configure:2972: checking for sys_siglist declaration in signal.h or unistd.h" >&5 | 2975 echo "configure:2976: checking for sys_siglist declaration in signal.h or unistd.h" >&5 |
| 2972 | 2976 |
| 2973 cat > conftest.$ac_ext <<EOF | 2977 cat > conftest.$ac_ext <<EOF |
| 2974 #line 2975 "configure" | 2978 #line 2979 "configure" |
| 2975 #include "confdefs.h" | 2979 #include "confdefs.h" |
| 2976 #include <sys/types.h> | 2980 #include <sys/types.h> |
| 2977 #include <signal.h> | 2981 #include <signal.h> |
| 2978 /* NetBSD declares sys_siglist in unistd.h. */ | 2982 /* NetBSD declares sys_siglist in unistd.h. */ |
| 2979 #ifdef HAVE_UNISTD_H | 2983 #ifdef HAVE_UNISTD_H |
| 2981 #endif | 2985 #endif |
| 2982 int main() { | 2986 int main() { |
| 2983 char *msg = *(sys_siglist + 1); | 2987 char *msg = *(sys_siglist + 1); |
| 2984 ; return 0; } | 2988 ; return 0; } |
| 2985 EOF | 2989 EOF |
| 2986 if { (eval echo configure:2987: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 2990 if { (eval echo configure:2991: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| 2987 rm -rf conftest* | 2991 rm -rf conftest* |
| 2988 ac_cv_decl_sys_siglist=yes | 2992 ac_cv_decl_sys_siglist=yes |
| 2989 else | 2993 else |
| 2990 echo "configure: failed program was:" >&5 | 2994 echo "configure: failed program was:" >&5 |
| 2991 cat conftest.$ac_ext >&5 | 2995 cat conftest.$ac_ext >&5 |
| 3006 | 3010 |
| 3007 fi | 3011 fi |
| 3008 | 3012 |
| 3009 | 3013 |
| 3010 echo $ac_n "checking for struct utimbuf""... $ac_c" 1>&6 | 3014 echo $ac_n "checking for struct utimbuf""... $ac_c" 1>&6 |
| 3011 echo "configure:3012: checking for struct utimbuf" >&5 | 3015 echo "configure:3016: checking for struct utimbuf" >&5 |
| 3012 cat > conftest.$ac_ext <<EOF | 3016 cat > conftest.$ac_ext <<EOF |
| 3013 #line 3014 "configure" | 3017 #line 3018 "configure" |
| 3014 #include "confdefs.h" | 3018 #include "confdefs.h" |
| 3015 #ifdef TIME_WITH_SYS_TIME | 3019 #ifdef TIME_WITH_SYS_TIME |
| 3016 #include <sys/time.h> | 3020 #include <sys/time.h> |
| 3017 #include <time.h> | 3021 #include <time.h> |
| 3018 #else | 3022 #else |
| 3027 #endif | 3031 #endif |
| 3028 int main() { | 3032 int main() { |
| 3029 static struct utimbuf x; x.actime = x.modtime; | 3033 static struct utimbuf x; x.actime = x.modtime; |
| 3030 ; return 0; } | 3034 ; return 0; } |
| 3031 EOF | 3035 EOF |
| 3032 if { (eval echo configure:3033: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3036 if { (eval echo configure:3037: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| 3033 rm -rf conftest* | 3037 rm -rf conftest* |
| 3034 echo "$ac_t""yes" 1>&6 | 3038 echo "$ac_t""yes" 1>&6 |
| 3035 { test "$extra_verbose" = "yes" && cat << \EOF | 3039 { test "$extra_verbose" = "yes" && cat << \EOF |
| 3036 Defining HAVE_STRUCT_UTIMBUF | 3040 Defining HAVE_STRUCT_UTIMBUF |
| 3037 EOF | 3041 EOF |
| 3047 echo "$ac_t""no" 1>&6 | 3051 echo "$ac_t""no" 1>&6 |
| 3048 fi | 3052 fi |
| 3049 rm -f conftest* | 3053 rm -f conftest* |
| 3050 | 3054 |
| 3051 echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6 | 3055 echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6 |
| 3052 echo "configure:3053: checking return type of signal handlers" >&5 | 3056 echo "configure:3057: checking return type of signal handlers" >&5 |
| 3053 | 3057 |
| 3054 cat > conftest.$ac_ext <<EOF | 3058 cat > conftest.$ac_ext <<EOF |
| 3055 #line 3056 "configure" | 3059 #line 3060 "configure" |
| 3056 #include "confdefs.h" | 3060 #include "confdefs.h" |
| 3057 #include <sys/types.h> | 3061 #include <sys/types.h> |
| 3058 #include <signal.h> | 3062 #include <signal.h> |
| 3059 #ifdef signal | 3063 #ifdef signal |
| 3060 #undef signal | 3064 #undef signal |
| 3067 | 3071 |
| 3068 int main() { | 3072 int main() { |
| 3069 int i; | 3073 int i; |
| 3070 ; return 0; } | 3074 ; return 0; } |
| 3071 EOF | 3075 EOF |
| 3072 if { (eval echo configure:3073: \"$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 |
| 3073 rm -rf conftest* | 3077 rm -rf conftest* |
| 3074 ac_cv_type_signal=void | 3078 ac_cv_type_signal=void |
| 3075 else | 3079 else |
| 3076 echo "configure: failed program was:" >&5 | 3080 echo "configure: failed program was:" >&5 |
| 3077 cat conftest.$ac_ext >&5 | 3081 cat conftest.$ac_ext >&5 |
| 3089 EOF | 3093 EOF |
| 3090 } | 3094 } |
| 3091 | 3095 |
| 3092 | 3096 |
| 3093 echo $ac_n "checking for size_t""... $ac_c" 1>&6 | 3097 echo $ac_n "checking for size_t""... $ac_c" 1>&6 |
| 3094 echo "configure:3095: checking for size_t" >&5 | 3098 echo "configure:3099: checking for size_t" >&5 |
| 3095 | 3099 |
| 3096 cat > conftest.$ac_ext <<EOF | 3100 cat > conftest.$ac_ext <<EOF |
| 3097 #line 3098 "configure" | 3101 #line 3102 "configure" |
| 3098 #include "confdefs.h" | 3102 #include "confdefs.h" |
| 3099 #include <sys/types.h> | 3103 #include <sys/types.h> |
| 3100 #if STDC_HEADERS | 3104 #if STDC_HEADERS |
| 3101 #include <stdlib.h> | 3105 #include <stdlib.h> |
| 3102 #include <stddef.h> | 3106 #include <stddef.h> |
| 3123 } | 3127 } |
| 3124 | 3128 |
| 3125 fi | 3129 fi |
| 3126 | 3130 |
| 3127 echo $ac_n "checking for pid_t""... $ac_c" 1>&6 | 3131 echo $ac_n "checking for pid_t""... $ac_c" 1>&6 |
| 3128 echo "configure:3129: checking for pid_t" >&5 | 3132 echo "configure:3133: checking for pid_t" >&5 |
| 3129 | 3133 |
| 3130 cat > conftest.$ac_ext <<EOF | 3134 cat > conftest.$ac_ext <<EOF |
| 3131 #line 3132 "configure" | 3135 #line 3136 "configure" |
| 3132 #include "confdefs.h" | 3136 #include "confdefs.h" |
| 3133 #include <sys/types.h> | 3137 #include <sys/types.h> |
| 3134 #if STDC_HEADERS | 3138 #if STDC_HEADERS |
| 3135 #include <stdlib.h> | 3139 #include <stdlib.h> |
| 3136 #include <stddef.h> | 3140 #include <stddef.h> |
| 3157 } | 3161 } |
| 3158 | 3162 |
| 3159 fi | 3163 fi |
| 3160 | 3164 |
| 3161 echo $ac_n "checking for uid_t in sys/types.h""... $ac_c" 1>&6 | 3165 echo $ac_n "checking for uid_t in sys/types.h""... $ac_c" 1>&6 |
| 3162 echo "configure:3163: checking for uid_t in sys/types.h" >&5 | 3166 echo "configure:3167: checking for uid_t in sys/types.h" >&5 |
| 3163 | 3167 |
| 3164 cat > conftest.$ac_ext <<EOF | 3168 cat > conftest.$ac_ext <<EOF |
| 3165 #line 3166 "configure" | 3169 #line 3170 "configure" |
| 3166 #include "confdefs.h" | 3170 #include "confdefs.h" |
| 3167 #include <sys/types.h> | 3171 #include <sys/types.h> |
| 3168 EOF | 3172 EOF |
| 3169 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 3173 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
| 3170 egrep "uid_t" >/dev/null 2>&1; then | 3174 egrep "uid_t" >/dev/null 2>&1; then |
| 3196 } | 3200 } |
| 3197 | 3201 |
| 3198 fi | 3202 fi |
| 3199 | 3203 |
| 3200 echo $ac_n "checking for mode_t""... $ac_c" 1>&6 | 3204 echo $ac_n "checking for mode_t""... $ac_c" 1>&6 |
| 3201 echo "configure:3202: checking for mode_t" >&5 | 3205 echo "configure:3206: checking for mode_t" >&5 |
| 3202 | 3206 |
| 3203 cat > conftest.$ac_ext <<EOF | 3207 cat > conftest.$ac_ext <<EOF |
| 3204 #line 3205 "configure" | 3208 #line 3209 "configure" |
| 3205 #include "confdefs.h" | 3209 #include "confdefs.h" |
| 3206 #include <sys/types.h> | 3210 #include <sys/types.h> |
| 3207 #if STDC_HEADERS | 3211 #if STDC_HEADERS |
| 3208 #include <stdlib.h> | 3212 #include <stdlib.h> |
| 3209 #include <stddef.h> | 3213 #include <stddef.h> |
| 3230 } | 3234 } |
| 3231 | 3235 |
| 3232 fi | 3236 fi |
| 3233 | 3237 |
| 3234 echo $ac_n "checking for off_t""... $ac_c" 1>&6 | 3238 echo $ac_n "checking for off_t""... $ac_c" 1>&6 |
| 3235 echo "configure:3236: checking for off_t" >&5 | 3239 echo "configure:3240: checking for off_t" >&5 |
| 3236 | 3240 |
| 3237 cat > conftest.$ac_ext <<EOF | 3241 cat > conftest.$ac_ext <<EOF |
| 3238 #line 3239 "configure" | 3242 #line 3243 "configure" |
| 3239 #include "confdefs.h" | 3243 #include "confdefs.h" |
| 3240 #include <sys/types.h> | 3244 #include <sys/types.h> |
| 3241 #if STDC_HEADERS | 3245 #if STDC_HEADERS |
| 3242 #include <stdlib.h> | 3246 #include <stdlib.h> |
| 3243 #include <stddef.h> | 3247 #include <stddef.h> |
| 3265 | 3269 |
| 3266 fi | 3270 fi |
| 3267 | 3271 |
| 3268 | 3272 |
| 3269 echo $ac_n "checking for struct timeval""... $ac_c" 1>&6 | 3273 echo $ac_n "checking for struct timeval""... $ac_c" 1>&6 |
| 3270 echo "configure:3271: checking for struct timeval" >&5 | 3274 echo "configure:3275: checking for struct timeval" >&5 |
| 3271 cat > conftest.$ac_ext <<EOF | 3275 cat > conftest.$ac_ext <<EOF |
| 3272 #line 3273 "configure" | 3276 #line 3277 "configure" |
| 3273 #include "confdefs.h" | 3277 #include "confdefs.h" |
| 3274 #ifdef TIME_WITH_SYS_TIME | 3278 #ifdef TIME_WITH_SYS_TIME |
| 3275 #include <sys/time.h> | 3279 #include <sys/time.h> |
| 3276 #include <time.h> | 3280 #include <time.h> |
| 3277 #else | 3281 #else |
| 3283 #endif | 3287 #endif |
| 3284 int main() { | 3288 int main() { |
| 3285 static struct timeval x; x.tv_sec = x.tv_usec; | 3289 static struct timeval x; x.tv_sec = x.tv_usec; |
| 3286 ; return 0; } | 3290 ; return 0; } |
| 3287 EOF | 3291 EOF |
| 3288 if { (eval echo configure:3289: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3292 if { (eval echo configure:3293: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| 3289 rm -rf conftest* | 3293 rm -rf conftest* |
| 3290 echo "$ac_t""yes" 1>&6 | 3294 echo "$ac_t""yes" 1>&6 |
| 3291 HAVE_TIMEVAL=yes | 3295 HAVE_TIMEVAL=yes |
| 3292 { test "$extra_verbose" = "yes" && cat << \EOF | 3296 { test "$extra_verbose" = "yes" && cat << \EOF |
| 3293 Defining HAVE_TIMEVAL | 3297 Defining HAVE_TIMEVAL |
| 3305 HAVE_TIMEVAL=no | 3309 HAVE_TIMEVAL=no |
| 3306 fi | 3310 fi |
| 3307 rm -f conftest* | 3311 rm -f conftest* |
| 3308 | 3312 |
| 3309 echo $ac_n "checking whether struct tm is in sys/time.h or time.h""... $ac_c" 1>&6 | 3313 echo $ac_n "checking whether struct tm is in sys/time.h or time.h""... $ac_c" 1>&6 |
| 3310 echo "configure:3311: checking whether struct tm is in sys/time.h or time.h" >&5 | 3314 echo "configure:3315: checking whether struct tm is in sys/time.h or time.h" >&5 |
| 3311 | 3315 |
| 3312 cat > conftest.$ac_ext <<EOF | 3316 cat > conftest.$ac_ext <<EOF |
| 3313 #line 3314 "configure" | 3317 #line 3318 "configure" |
| 3314 #include "confdefs.h" | 3318 #include "confdefs.h" |
| 3315 #include <sys/types.h> | 3319 #include <sys/types.h> |
| 3316 #include <time.h> | 3320 #include <time.h> |
| 3317 int main() { | 3321 int main() { |
| 3318 struct tm *tp; tp->tm_sec; | 3322 struct tm *tp; tp->tm_sec; |
| 3319 ; return 0; } | 3323 ; return 0; } |
| 3320 EOF | 3324 EOF |
| 3321 if { (eval echo configure:3322: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3325 if { (eval echo configure:3326: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| 3322 rm -rf conftest* | 3326 rm -rf conftest* |
| 3323 ac_cv_struct_tm=time.h | 3327 ac_cv_struct_tm=time.h |
| 3324 else | 3328 else |
| 3325 echo "configure: failed program was:" >&5 | 3329 echo "configure: failed program was:" >&5 |
| 3326 cat conftest.$ac_ext >&5 | 3330 cat conftest.$ac_ext >&5 |
| 3340 } | 3344 } |
| 3341 | 3345 |
| 3342 fi | 3346 fi |
| 3343 | 3347 |
| 3344 echo $ac_n "checking for tm_zone in struct tm""... $ac_c" 1>&6 | 3348 echo $ac_n "checking for tm_zone in struct tm""... $ac_c" 1>&6 |
| 3345 echo "configure:3346: checking for tm_zone in struct tm" >&5 | 3349 echo "configure:3350: checking for tm_zone in struct tm" >&5 |
| 3346 | 3350 |
| 3347 cat > conftest.$ac_ext <<EOF | 3351 cat > conftest.$ac_ext <<EOF |
| 3348 #line 3349 "configure" | 3352 #line 3353 "configure" |
| 3349 #include "confdefs.h" | 3353 #include "confdefs.h" |
| 3350 #include <sys/types.h> | 3354 #include <sys/types.h> |
| 3351 #include <$ac_cv_struct_tm> | 3355 #include <$ac_cv_struct_tm> |
| 3352 int main() { | 3356 int main() { |
| 3353 struct tm tm; tm.tm_zone; | 3357 struct tm tm; tm.tm_zone; |
| 3354 ; return 0; } | 3358 ; return 0; } |
| 3355 EOF | 3359 EOF |
| 3356 if { (eval echo configure:3357: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3360 if { (eval echo configure:3361: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| 3357 rm -rf conftest* | 3361 rm -rf conftest* |
| 3358 ac_cv_struct_tm_zone=yes | 3362 ac_cv_struct_tm_zone=yes |
| 3359 else | 3363 else |
| 3360 echo "configure: failed program was:" >&5 | 3364 echo "configure: failed program was:" >&5 |
| 3361 cat conftest.$ac_ext >&5 | 3365 cat conftest.$ac_ext >&5 |
| 3374 EOF | 3378 EOF |
| 3375 } | 3379 } |
| 3376 | 3380 |
| 3377 else | 3381 else |
| 3378 echo $ac_n "checking for tzname""... $ac_c" 1>&6 | 3382 echo $ac_n "checking for tzname""... $ac_c" 1>&6 |
| 3379 echo "configure:3380: checking for tzname" >&5 | 3383 echo "configure:3384: checking for tzname" >&5 |
| 3380 | 3384 |
| 3381 cat > conftest.$ac_ext <<EOF | 3385 cat > conftest.$ac_ext <<EOF |
| 3382 #line 3383 "configure" | 3386 #line 3387 "configure" |
| 3383 #include "confdefs.h" | 3387 #include "confdefs.h" |
| 3384 #include <time.h> | 3388 #include <time.h> |
| 3385 #ifndef tzname /* For SGI. */ | 3389 #ifndef tzname /* For SGI. */ |
| 3386 extern char *tzname[]; /* RS6000 and others reject char **tzname. */ | 3390 extern char *tzname[]; /* RS6000 and others reject char **tzname. */ |
| 3387 #endif | 3391 #endif |
| 3388 int main() { | 3392 int main() { |
| 3389 atoi(*tzname); | 3393 atoi(*tzname); |
| 3390 ; return 0; } | 3394 ; return 0; } |
| 3391 EOF | 3395 EOF |
| 3392 if { (eval echo configure:3393: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 3396 if { (eval echo configure:3397: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 3393 rm -rf conftest* | 3397 rm -rf conftest* |
| 3394 ac_cv_var_tzname=yes | 3398 ac_cv_var_tzname=yes |
| 3395 else | 3399 else |
| 3396 echo "configure: failed program was:" >&5 | 3400 echo "configure: failed program was:" >&5 |
| 3397 cat conftest.$ac_ext >&5 | 3401 cat conftest.$ac_ext >&5 |
| 3413 fi | 3417 fi |
| 3414 fi | 3418 fi |
| 3415 | 3419 |
| 3416 | 3420 |
| 3417 echo $ac_n "checking for working const""... $ac_c" 1>&6 | 3421 echo $ac_n "checking for working const""... $ac_c" 1>&6 |
| 3418 echo "configure:3419: checking for working const" >&5 | 3422 echo "configure:3423: checking for working const" >&5 |
| 3419 | 3423 |
| 3420 cat > conftest.$ac_ext <<EOF | 3424 cat > conftest.$ac_ext <<EOF |
| 3421 #line 3422 "configure" | 3425 #line 3426 "configure" |
| 3422 #include "confdefs.h" | 3426 #include "confdefs.h" |
| 3423 | 3427 |
| 3424 int main() { | 3428 int main() { |
| 3425 | 3429 |
| 3426 /* Ultrix mips cc rejects this. */ | 3430 /* Ultrix mips cc rejects this. */ |
| 3465 const int foo = 10; | 3469 const int foo = 10; |
| 3466 } | 3470 } |
| 3467 | 3471 |
| 3468 ; return 0; } | 3472 ; return 0; } |
| 3469 EOF | 3473 EOF |
| 3470 if { (eval echo configure:3471: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3474 if { (eval echo configure:3475: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| 3471 rm -rf conftest* | 3475 rm -rf conftest* |
| 3472 ac_cv_c_const=yes | 3476 ac_cv_c_const=yes |
| 3473 else | 3477 else |
| 3474 echo "configure: failed program was:" >&5 | 3478 echo "configure: failed program was:" >&5 |
| 3475 cat conftest.$ac_ext >&5 | 3479 cat conftest.$ac_ext >&5 |
| 3490 | 3494 |
| 3491 fi | 3495 fi |
| 3492 | 3496 |
| 3493 | 3497 |
| 3494 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6 | 3498 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6 |
| 3495 echo "configure:3496: checking whether ${MAKE-make} sets \${MAKE}" >&5 | 3499 echo "configure:3500: checking whether ${MAKE-make} sets \${MAKE}" >&5 |
| 3496 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'` | 3500 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'` |
| 3497 | 3501 |
| 3498 cat > conftestmake <<\EOF | 3502 cat > conftestmake <<\EOF |
| 3499 all: | 3503 all: |
| 3500 @echo 'ac_maketemp="${MAKE}"' | 3504 @echo 'ac_maketemp="${MAKE}"' |
| 3515 SET_MAKE="MAKE=${MAKE-make}" | 3519 SET_MAKE="MAKE=${MAKE-make}" |
| 3516 fi | 3520 fi |
| 3517 | 3521 |
| 3518 | 3522 |
| 3519 echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6 | 3523 echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6 |
| 3520 echo "configure:3521: checking whether byte ordering is bigendian" >&5 | 3524 echo "configure:3525: checking whether byte ordering is bigendian" >&5 |
| 3521 | 3525 |
| 3522 ac_cv_c_bigendian=unknown | 3526 ac_cv_c_bigendian=unknown |
| 3523 # See if sys/param.h defines the BYTE_ORDER macro. | 3527 # See if sys/param.h defines the BYTE_ORDER macro. |
| 3524 cat > conftest.$ac_ext <<EOF | 3528 cat > conftest.$ac_ext <<EOF |
| 3525 #line 3526 "configure" | 3529 #line 3530 "configure" |
| 3526 #include "confdefs.h" | 3530 #include "confdefs.h" |
| 3527 #include <sys/types.h> | 3531 #include <sys/types.h> |
| 3528 #include <sys/param.h> | 3532 #include <sys/param.h> |
| 3529 int main() { | 3533 int main() { |
| 3530 | 3534 |
| 3531 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN | 3535 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN |
| 3532 bogus endian macros | 3536 bogus endian macros |
| 3533 #endif | 3537 #endif |
| 3534 ; return 0; } | 3538 ; return 0; } |
| 3535 EOF | 3539 EOF |
| 3536 if { (eval echo configure:3537: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3540 if { (eval echo configure:3541: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| 3537 rm -rf conftest* | 3541 rm -rf conftest* |
| 3538 # It does; now see whether it defined to BIG_ENDIAN or not. | 3542 # It does; now see whether it defined to BIG_ENDIAN or not. |
| 3539 cat > conftest.$ac_ext <<EOF | 3543 cat > conftest.$ac_ext <<EOF |
| 3540 #line 3541 "configure" | 3544 #line 3545 "configure" |
| 3541 #include "confdefs.h" | 3545 #include "confdefs.h" |
| 3542 #include <sys/types.h> | 3546 #include <sys/types.h> |
| 3543 #include <sys/param.h> | 3547 #include <sys/param.h> |
| 3544 int main() { | 3548 int main() { |
| 3545 | 3549 |
| 3546 #if BYTE_ORDER != BIG_ENDIAN | 3550 #if BYTE_ORDER != BIG_ENDIAN |
| 3547 not big endian | 3551 not big endian |
| 3548 #endif | 3552 #endif |
| 3549 ; return 0; } | 3553 ; return 0; } |
| 3550 EOF | 3554 EOF |
| 3551 if { (eval echo configure:3552: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3555 if { (eval echo configure:3556: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| 3552 rm -rf conftest* | 3556 rm -rf conftest* |
| 3553 ac_cv_c_bigendian=yes | 3557 ac_cv_c_bigendian=yes |
| 3554 else | 3558 else |
| 3555 echo "configure: failed program was:" >&5 | 3559 echo "configure: failed program was:" >&5 |
| 3556 cat conftest.$ac_ext >&5 | 3560 cat conftest.$ac_ext >&5 |
| 3563 cat conftest.$ac_ext >&5 | 3567 cat conftest.$ac_ext >&5 |
| 3564 fi | 3568 fi |
| 3565 rm -f conftest* | 3569 rm -f conftest* |
| 3566 if test $ac_cv_c_bigendian = unknown; then | 3570 if test $ac_cv_c_bigendian = unknown; then |
| 3567 cat > conftest.$ac_ext <<EOF | 3571 cat > conftest.$ac_ext <<EOF |
| 3568 #line 3569 "configure" | 3572 #line 3573 "configure" |
| 3569 #include "confdefs.h" | 3573 #include "confdefs.h" |
| 3570 main () { | 3574 main () { |
| 3571 /* Are we little or big endian? From Harbison&Steele. */ | 3575 /* Are we little or big endian? From Harbison&Steele. */ |
| 3572 union | 3576 union |
| 3573 { | 3577 { |
| 3576 } u; | 3580 } u; |
| 3577 u.l = 1; | 3581 u.l = 1; |
| 3578 exit (u.c[sizeof (long) - 1] == 1); | 3582 exit (u.c[sizeof (long) - 1] == 1); |
| 3579 } | 3583 } |
| 3580 EOF | 3584 EOF |
| 3581 if { (eval echo configure:3582: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 | 3585 if { (eval echo configure:3586: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 |
| 3582 then | 3586 then |
| 3583 ac_cv_c_bigendian=no | 3587 ac_cv_c_bigendian=no |
| 3584 else | 3588 else |
| 3585 echo "configure: failed program was:" >&5 | 3589 echo "configure: failed program was:" >&5 |
| 3586 cat conftest.$ac_ext >&5 | 3590 cat conftest.$ac_ext >&5 |
| 3602 | 3606 |
| 3603 fi | 3607 fi |
| 3604 | 3608 |
| 3605 | 3609 |
| 3606 echo $ac_n "checking size of short""... $ac_c" 1>&6 | 3610 echo $ac_n "checking size of short""... $ac_c" 1>&6 |
| 3607 echo "configure:3608: checking size of short" >&5 | 3611 echo "configure:3612: checking size of short" >&5 |
| 3608 | 3612 |
| 3609 cat > conftest.$ac_ext <<EOF | 3613 cat > conftest.$ac_ext <<EOF |
| 3610 #line 3611 "configure" | 3614 #line 3615 "configure" |
| 3611 #include "confdefs.h" | 3615 #include "confdefs.h" |
| 3612 #include <stdio.h> | 3616 #include <stdio.h> |
| 3613 main() | 3617 main() |
| 3614 { | 3618 { |
| 3615 FILE *f=fopen("conftestval", "w"); | 3619 FILE *f=fopen("conftestval", "w"); |
| 3616 if (!f) exit(1); | 3620 if (!f) exit(1); |
| 3617 fprintf(f, "%d\n", sizeof(short)); | 3621 fprintf(f, "%d\n", sizeof(short)); |
| 3618 exit(0); | 3622 exit(0); |
| 3619 } | 3623 } |
| 3620 EOF | 3624 EOF |
| 3621 if { (eval echo configure:3622: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 | 3625 if { (eval echo configure:3626: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 |
| 3622 then | 3626 then |
| 3623 ac_cv_sizeof_short=`cat conftestval` | 3627 ac_cv_sizeof_short=`cat conftestval` |
| 3624 else | 3628 else |
| 3625 echo "configure: failed program was:" >&5 | 3629 echo "configure: failed program was:" >&5 |
| 3626 cat conftest.$ac_ext >&5 | 3630 cat conftest.$ac_ext >&5 |
| 3643 echo "*** PANIC *** Configure tests are not working - compiler is broken." | 3647 echo "*** PANIC *** Configure tests are not working - compiler is broken." |
| 3644 echo "*** PANIC *** Please examine config.log for compilation errors." | 3648 echo "*** PANIC *** Please examine config.log for compilation errors." |
| 3645 exit 1 | 3649 exit 1 |
| 3646 fi | 3650 fi |
| 3647 echo $ac_n "checking size of int""... $ac_c" 1>&6 | 3651 echo $ac_n "checking size of int""... $ac_c" 1>&6 |
| 3648 echo "configure:3649: checking size of int" >&5 | 3652 echo "configure:3653: checking size of int" >&5 |
| 3649 | 3653 |
| 3650 cat > conftest.$ac_ext <<EOF | 3654 cat > conftest.$ac_ext <<EOF |
| 3651 #line 3652 "configure" | 3655 #line 3656 "configure" |
| 3652 #include "confdefs.h" | 3656 #include "confdefs.h" |
| 3653 #include <stdio.h> | 3657 #include <stdio.h> |
| 3654 main() | 3658 main() |
| 3655 { | 3659 { |
| 3656 FILE *f=fopen("conftestval", "w"); | 3660 FILE *f=fopen("conftestval", "w"); |
| 3657 if (!f) exit(1); | 3661 if (!f) exit(1); |
| 3658 fprintf(f, "%d\n", sizeof(int)); | 3662 fprintf(f, "%d\n", sizeof(int)); |
| 3659 exit(0); | 3663 exit(0); |
| 3660 } | 3664 } |
| 3661 EOF | 3665 EOF |
| 3662 if { (eval echo configure:3663: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 | 3666 if { (eval echo configure:3667: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 |
| 3663 then | 3667 then |
| 3664 ac_cv_sizeof_int=`cat conftestval` | 3668 ac_cv_sizeof_int=`cat conftestval` |
| 3665 else | 3669 else |
| 3666 echo "configure: failed program was:" >&5 | 3670 echo "configure: failed program was:" >&5 |
| 3667 cat conftest.$ac_ext >&5 | 3671 cat conftest.$ac_ext >&5 |
| 3678 EOF | 3682 EOF |
| 3679 } | 3683 } |
| 3680 | 3684 |
| 3681 | 3685 |
| 3682 echo $ac_n "checking size of long""... $ac_c" 1>&6 | 3686 echo $ac_n "checking size of long""... $ac_c" 1>&6 |
| 3683 echo "configure:3684: checking size of long" >&5 | 3687 echo "configure:3688: checking size of long" >&5 |
| 3684 | 3688 |
| 3685 cat > conftest.$ac_ext <<EOF | 3689 cat > conftest.$ac_ext <<EOF |
| 3686 #line 3687 "configure" | 3690 #line 3691 "configure" |
| 3687 #include "confdefs.h" | 3691 #include "confdefs.h" |
| 3688 #include <stdio.h> | 3692 #include <stdio.h> |
| 3689 main() | 3693 main() |
| 3690 { | 3694 { |
| 3691 FILE *f=fopen("conftestval", "w"); | 3695 FILE *f=fopen("conftestval", "w"); |
| 3692 if (!f) exit(1); | 3696 if (!f) exit(1); |
| 3693 fprintf(f, "%d\n", sizeof(long)); | 3697 fprintf(f, "%d\n", sizeof(long)); |
| 3694 exit(0); | 3698 exit(0); |
| 3695 } | 3699 } |
| 3696 EOF | 3700 EOF |
| 3697 if { (eval echo configure:3698: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 | 3701 if { (eval echo configure:3702: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 |
| 3698 then | 3702 then |
| 3699 ac_cv_sizeof_long=`cat conftestval` | 3703 ac_cv_sizeof_long=`cat conftestval` |
| 3700 else | 3704 else |
| 3701 echo "configure: failed program was:" >&5 | 3705 echo "configure: failed program was:" >&5 |
| 3702 cat conftest.$ac_ext >&5 | 3706 cat conftest.$ac_ext >&5 |
| 3713 EOF | 3717 EOF |
| 3714 } | 3718 } |
| 3715 | 3719 |
| 3716 | 3720 |
| 3717 echo $ac_n "checking size of long long""... $ac_c" 1>&6 | 3721 echo $ac_n "checking size of long long""... $ac_c" 1>&6 |
| 3718 echo "configure:3719: checking size of long long" >&5 | 3722 echo "configure:3723: checking size of long long" >&5 |
| 3719 | 3723 |
| 3720 cat > conftest.$ac_ext <<EOF | 3724 cat > conftest.$ac_ext <<EOF |
| 3721 #line 3722 "configure" | 3725 #line 3726 "configure" |
| 3722 #include "confdefs.h" | 3726 #include "confdefs.h" |
| 3723 #include <stdio.h> | 3727 #include <stdio.h> |
| 3724 main() | 3728 main() |
| 3725 { | 3729 { |
| 3726 FILE *f=fopen("conftestval", "w"); | 3730 FILE *f=fopen("conftestval", "w"); |
| 3727 if (!f) exit(1); | 3731 if (!f) exit(1); |
| 3728 fprintf(f, "%d\n", sizeof(long long)); | 3732 fprintf(f, "%d\n", sizeof(long long)); |
| 3729 exit(0); | 3733 exit(0); |
| 3730 } | 3734 } |
| 3731 EOF | 3735 EOF |
| 3732 if { (eval echo configure:3733: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 | 3736 if { (eval echo configure:3737: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 |
| 3733 then | 3737 then |
| 3734 ac_cv_sizeof_long_long=`cat conftestval` | 3738 ac_cv_sizeof_long_long=`cat conftestval` |
| 3735 else | 3739 else |
| 3736 echo "configure: failed program was:" >&5 | 3740 echo "configure: failed program was:" >&5 |
| 3737 cat conftest.$ac_ext >&5 | 3741 cat conftest.$ac_ext >&5 |
| 3748 EOF | 3752 EOF |
| 3749 } | 3753 } |
| 3750 | 3754 |
| 3751 | 3755 |
| 3752 echo $ac_n "checking size of void *""... $ac_c" 1>&6 | 3756 echo $ac_n "checking size of void *""... $ac_c" 1>&6 |
| 3753 echo "configure:3754: checking size of void *" >&5 | 3757 echo "configure:3758: checking size of void *" >&5 |
| 3754 | 3758 |
| 3755 cat > conftest.$ac_ext <<EOF | 3759 cat > conftest.$ac_ext <<EOF |
| 3756 #line 3757 "configure" | 3760 #line 3761 "configure" |
| 3757 #include "confdefs.h" | 3761 #include "confdefs.h" |
| 3758 #include <stdio.h> | 3762 #include <stdio.h> |
| 3759 main() | 3763 main() |
| 3760 { | 3764 { |
| 3761 FILE *f=fopen("conftestval", "w"); | 3765 FILE *f=fopen("conftestval", "w"); |
| 3762 if (!f) exit(1); | 3766 if (!f) exit(1); |
| 3763 fprintf(f, "%d\n", sizeof(void *)); | 3767 fprintf(f, "%d\n", sizeof(void *)); |
| 3764 exit(0); | 3768 exit(0); |
| 3765 } | 3769 } |
| 3766 EOF | 3770 EOF |
| 3767 if { (eval echo configure:3768: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 | 3771 if { (eval echo configure:3772: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 |
| 3768 then | 3772 then |
| 3769 ac_cv_sizeof_void_p=`cat conftestval` | 3773 ac_cv_sizeof_void_p=`cat conftestval` |
| 3770 else | 3774 else |
| 3771 echo "configure: failed program was:" >&5 | 3775 echo "configure: failed program was:" >&5 |
| 3772 cat conftest.$ac_ext >&5 | 3776 cat conftest.$ac_ext >&5 |
| 3784 } | 3788 } |
| 3785 | 3789 |
| 3786 | 3790 |
| 3787 | 3791 |
| 3788 echo $ac_n "checking for long file names""... $ac_c" 1>&6 | 3792 echo $ac_n "checking for long file names""... $ac_c" 1>&6 |
| 3789 echo "configure:3790: checking for long file names" >&5 | 3793 echo "configure:3794: checking for long file names" >&5 |
| 3790 | 3794 |
| 3791 ac_cv_sys_long_file_names=yes | 3795 ac_cv_sys_long_file_names=yes |
| 3792 # Test for long file names in all the places we know might matter: | 3796 # Test for long file names in all the places we know might matter: |
| 3793 # . the current directory, where building will happen | 3797 # . the current directory, where building will happen |
| 3794 # $prefix/lib where we will be installing things | 3798 # $prefix/lib where we will be installing things |
| 3831 fi | 3835 fi |
| 3832 | 3836 |
| 3833 | 3837 |
| 3834 | 3838 |
| 3835 echo $ac_n "checking for sqrt in -lm""... $ac_c" 1>&6 | 3839 echo $ac_n "checking for sqrt in -lm""... $ac_c" 1>&6 |
| 3836 echo "configure:3837: checking for sqrt in -lm" >&5 | 3840 echo "configure:3841: checking for sqrt in -lm" >&5 |
| 3837 ac_lib_var=`echo m'_'sqrt | sed 'y%./+-%__p_%'` | 3841 ac_lib_var=`echo m'_'sqrt | sed 'y%./+-%__p_%'` |
| 3838 | 3842 |
| 3839 xe_check_libs=" -lm " | 3843 xe_check_libs=" -lm " |
| 3840 cat > conftest.$ac_ext <<EOF | 3844 cat > conftest.$ac_ext <<EOF |
| 3841 #line 3842 "configure" | 3845 #line 3846 "configure" |
| 3842 #include "confdefs.h" | 3846 #include "confdefs.h" |
| 3843 /* Override any gcc2 internal prototype to avoid an error. */ | 3847 /* Override any gcc2 internal prototype to avoid an error. */ |
| 3844 /* We use char because int might match the return type of a gcc2 | 3848 /* We use char because int might match the return type of a gcc2 |
| 3845 builtin and then its argument prototype would still apply. */ | 3849 builtin and then its argument prototype would still apply. */ |
| 3846 char sqrt(); | 3850 char sqrt(); |
| 3847 | 3851 |
| 3848 int main() { | 3852 int main() { |
| 3849 sqrt() | 3853 sqrt() |
| 3850 ; return 0; } | 3854 ; return 0; } |
| 3851 EOF | 3855 EOF |
| 3852 if { (eval echo configure:3853: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 3856 if { (eval echo configure:3857: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 3853 rm -rf conftest* | 3857 rm -rf conftest* |
| 3854 eval "ac_cv_lib_$ac_lib_var=yes" | 3858 eval "ac_cv_lib_$ac_lib_var=yes" |
| 3855 else | 3859 else |
| 3856 echo "configure: failed program was:" >&5 | 3860 echo "configure: failed program was:" >&5 |
| 3857 cat conftest.$ac_ext >&5 | 3861 cat conftest.$ac_ext >&5 |
| 3889 EOF | 3893 EOF |
| 3890 } | 3894 } |
| 3891 | 3895 |
| 3892 | 3896 |
| 3893 echo "checking type of mail spool file locking" 1>&6 | 3897 echo "checking type of mail spool file locking" 1>&6 |
| 3894 echo "configure:3895: checking type of mail spool file locking" >&5 | 3898 echo "configure:3899: checking type of mail spool file locking" >&5 |
| 3895 test -z "$mail_locking" -a "$mail_use_flock" = "yes" && mail_locking=flock | 3899 test -z "$mail_locking" -a "$mail_use_flock" = "yes" && mail_locking=flock |
| 3896 test -z "$mail_locking" -a "$mail_use_lockf" = "yes" && mail_locking=lockf | 3900 test -z "$mail_locking" -a "$mail_use_lockf" = "yes" && mail_locking=lockf |
| 3897 if test "$mail_locking" = "lockf"; then { test "$extra_verbose" = "yes" && cat << \EOF | 3901 if test "$mail_locking" = "lockf"; then { test "$extra_verbose" = "yes" && cat << \EOF |
| 3898 Defining REAL_MAIL_USE_LOCKF | 3902 Defining REAL_MAIL_USE_LOCKF |
| 3899 EOF | 3903 EOF |
| 3913 else mail_locking="dot-locking" | 3917 else mail_locking="dot-locking" |
| 3914 fi | 3918 fi |
| 3915 | 3919 |
| 3916 | 3920 |
| 3917 echo $ac_n "checking for kstat_open in -lkstat""... $ac_c" 1>&6 | 3921 echo $ac_n "checking for kstat_open in -lkstat""... $ac_c" 1>&6 |
| 3918 echo "configure:3919: checking for kstat_open in -lkstat" >&5 | 3922 echo "configure:3923: checking for kstat_open in -lkstat" >&5 |
| 3919 ac_lib_var=`echo kstat'_'kstat_open | sed 'y%./+-%__p_%'` | 3923 ac_lib_var=`echo kstat'_'kstat_open | sed 'y%./+-%__p_%'` |
| 3920 | 3924 |
| 3921 xe_check_libs=" -lkstat " | 3925 xe_check_libs=" -lkstat " |
| 3922 cat > conftest.$ac_ext <<EOF | 3926 cat > conftest.$ac_ext <<EOF |
| 3923 #line 3924 "configure" | 3927 #line 3928 "configure" |
| 3924 #include "confdefs.h" | 3928 #include "confdefs.h" |
| 3925 /* Override any gcc2 internal prototype to avoid an error. */ | 3929 /* Override any gcc2 internal prototype to avoid an error. */ |
| 3926 /* We use char because int might match the return type of a gcc2 | 3930 /* We use char because int might match the return type of a gcc2 |
| 3927 builtin and then its argument prototype would still apply. */ | 3931 builtin and then its argument prototype would still apply. */ |
| 3928 char kstat_open(); | 3932 char kstat_open(); |
| 3929 | 3933 |
| 3930 int main() { | 3934 int main() { |
| 3931 kstat_open() | 3935 kstat_open() |
| 3932 ; return 0; } | 3936 ; return 0; } |
| 3933 EOF | 3937 EOF |
| 3934 if { (eval echo configure:3935: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 3938 if { (eval echo configure:3939: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 3935 rm -rf conftest* | 3939 rm -rf conftest* |
| 3936 eval "ac_cv_lib_$ac_lib_var=yes" | 3940 eval "ac_cv_lib_$ac_lib_var=yes" |
| 3937 else | 3941 else |
| 3938 echo "configure: failed program was:" >&5 | 3942 echo "configure: failed program was:" >&5 |
| 3939 cat conftest.$ac_ext >&5 | 3943 cat conftest.$ac_ext >&5 |
| 3963 | 3967 |
| 3964 | 3968 |
| 3965 | 3969 |
| 3966 | 3970 |
| 3967 echo $ac_n "checking for kvm_read in -lkvm""... $ac_c" 1>&6 | 3971 echo $ac_n "checking for kvm_read in -lkvm""... $ac_c" 1>&6 |
| 3968 echo "configure:3969: checking for kvm_read in -lkvm" >&5 | 3972 echo "configure:3973: checking for kvm_read in -lkvm" >&5 |
| 3969 ac_lib_var=`echo kvm'_'kvm_read | sed 'y%./+-%__p_%'` | 3973 ac_lib_var=`echo kvm'_'kvm_read | sed 'y%./+-%__p_%'` |
| 3970 | 3974 |
| 3971 xe_check_libs=" -lkvm " | 3975 xe_check_libs=" -lkvm " |
| 3972 cat > conftest.$ac_ext <<EOF | 3976 cat > conftest.$ac_ext <<EOF |
| 3973 #line 3974 "configure" | 3977 #line 3978 "configure" |
| 3974 #include "confdefs.h" | 3978 #include "confdefs.h" |
| 3975 /* Override any gcc2 internal prototype to avoid an error. */ | 3979 /* Override any gcc2 internal prototype to avoid an error. */ |
| 3976 /* We use char because int might match the return type of a gcc2 | 3980 /* We use char because int might match the return type of a gcc2 |
| 3977 builtin and then its argument prototype would still apply. */ | 3981 builtin and then its argument prototype would still apply. */ |
| 3978 char kvm_read(); | 3982 char kvm_read(); |
| 3979 | 3983 |
| 3980 int main() { | 3984 int main() { |
| 3981 kvm_read() | 3985 kvm_read() |
| 3982 ; return 0; } | 3986 ; return 0; } |
| 3983 EOF | 3987 EOF |
| 3984 if { (eval echo configure:3985: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 3988 if { (eval echo configure:3989: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 3985 rm -rf conftest* | 3989 rm -rf conftest* |
| 3986 eval "ac_cv_lib_$ac_lib_var=yes" | 3990 eval "ac_cv_lib_$ac_lib_var=yes" |
| 3987 else | 3991 else |
| 3988 echo "configure: failed program was:" >&5 | 3992 echo "configure: failed program was:" >&5 |
| 3989 cat conftest.$ac_ext >&5 | 3993 cat conftest.$ac_ext >&5 |
| 4013 | 4017 |
| 4014 | 4018 |
| 4015 | 4019 |
| 4016 | 4020 |
| 4017 echo $ac_n "checking for cma_open in -lpthreads""... $ac_c" 1>&6 | 4021 echo $ac_n "checking for cma_open in -lpthreads""... $ac_c" 1>&6 |
| 4018 echo "configure:4019: checking for cma_open in -lpthreads" >&5 | 4022 echo "configure:4023: checking for cma_open in -lpthreads" >&5 |
| 4019 ac_lib_var=`echo pthreads'_'cma_open | sed 'y%./+-%__p_%'` | 4023 ac_lib_var=`echo pthreads'_'cma_open | sed 'y%./+-%__p_%'` |
| 4020 | 4024 |
| 4021 xe_check_libs=" -lpthreads " | 4025 xe_check_libs=" -lpthreads " |
| 4022 cat > conftest.$ac_ext <<EOF | 4026 cat > conftest.$ac_ext <<EOF |
| 4023 #line 4024 "configure" | 4027 #line 4028 "configure" |
| 4024 #include "confdefs.h" | 4028 #include "confdefs.h" |
| 4025 /* Override any gcc2 internal prototype to avoid an error. */ | 4029 /* Override any gcc2 internal prototype to avoid an error. */ |
| 4026 /* We use char because int might match the return type of a gcc2 | 4030 /* We use char because int might match the return type of a gcc2 |
| 4027 builtin and then its argument prototype would still apply. */ | 4031 builtin and then its argument prototype would still apply. */ |
| 4028 char cma_open(); | 4032 char cma_open(); |
| 4029 | 4033 |
| 4030 int main() { | 4034 int main() { |
| 4031 cma_open() | 4035 cma_open() |
| 4032 ; return 0; } | 4036 ; return 0; } |
| 4033 EOF | 4037 EOF |
| 4034 if { (eval echo configure:4035: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4038 if { (eval echo configure:4039: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 4035 rm -rf conftest* | 4039 rm -rf conftest* |
| 4036 eval "ac_cv_lib_$ac_lib_var=yes" | 4040 eval "ac_cv_lib_$ac_lib_var=yes" |
| 4037 else | 4041 else |
| 4038 echo "configure: failed program was:" >&5 | 4042 echo "configure: failed program was:" >&5 |
| 4039 cat conftest.$ac_ext >&5 | 4043 cat conftest.$ac_ext >&5 |
| 4065 if test "$ac_cv_lib_pthreads_cma_open" = "yes"; then | 4069 if test "$ac_cv_lib_pthreads_cma_open" = "yes"; then |
| 4066 case "$opsys" in decosf*) c_switch_site="$c_switch_site -threads";; esac | 4070 case "$opsys" in decosf*) c_switch_site="$c_switch_site -threads";; esac |
| 4067 fi | 4071 fi |
| 4068 | 4072 |
| 4069 echo $ac_n "checking whether the -xildoff compiler flag is required""... $ac_c" 1>&6 | 4073 echo $ac_n "checking whether the -xildoff compiler flag is required""... $ac_c" 1>&6 |
| 4070 echo "configure:4071: checking whether the -xildoff compiler flag is required" >&5 | 4074 echo "configure:4075: checking whether the -xildoff compiler flag is required" >&5 |
| 4071 if ${CC-cc} '-###' -xildon no_such_file.c 2>&1 | grep '^[^ ]*/ild ' > /dev/null ; then | 4075 if ${CC-cc} '-###' -xildon no_such_file.c 2>&1 | grep '^[^ ]*/ild ' > /dev/null ; then |
| 4072 if ${CC-cc} '-###' -xildoff no_such_file.c 2>&1 | grep '^[^ ]*/ild ' > /dev/null ; | 4076 if ${CC-cc} '-###' -xildoff no_such_file.c 2>&1 | grep '^[^ ]*/ild ' > /dev/null ; |
| 4073 then echo "$ac_t""no" 1>&6; | 4077 then echo "$ac_t""no" 1>&6; |
| 4074 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 | 4078 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 |
| 4075 fi | 4079 fi |
| 4076 else echo "$ac_t""no" 1>&6 | 4080 else echo "$ac_t""no" 1>&6 |
| 4077 fi | 4081 fi |
| 4078 | 4082 |
| 4079 if test "$opsys" = "sol2" && test "$OS_RELEASE" -ge 56; then | 4083 if test "$opsys" = "sol2" && test "$OS_RELEASE" -ge 56; then |
| 4080 echo $ac_n "checking for \"-z ignore\" linker flag""... $ac_c" 1>&6 | 4084 echo $ac_n "checking for \"-z ignore\" linker flag""... $ac_c" 1>&6 |
| 4081 echo "configure:4082: checking for \"-z ignore\" linker flag" >&5 | 4085 echo "configure:4086: checking for \"-z ignore\" linker flag" >&5 |
| 4082 case "`ld -h 2>&1`" in | 4086 case "`ld -h 2>&1`" in |
| 4083 *-z\ ignore\|record* ) echo "$ac_t""yes" 1>&6 | 4087 *-z\ ignore\|record* ) echo "$ac_t""yes" 1>&6 |
| 4084 ld_switch_site="-z ignore $ld_switch_site" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-z ignore\" to \$ld_switch_site"; fi ;; | 4088 ld_switch_site="-z ignore $ld_switch_site" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-z ignore\" to \$ld_switch_site"; fi ;; |
| 4085 *) echo "$ac_t""no" 1>&6 ;; | 4089 *) echo "$ac_t""no" 1>&6 ;; |
| 4086 esac | 4090 esac |
| 4087 fi | 4091 fi |
| 4088 | 4092 |
| 4089 | 4093 |
| 4090 echo "checking "for specified window system"" 1>&6 | 4094 echo "checking "for specified window system"" 1>&6 |
| 4091 echo "configure:4092: checking "for specified window system"" >&5 | 4095 echo "configure:4096: checking "for specified window system"" >&5 |
| 4092 | 4096 |
| 4093 if test "$x_includes $x_libraries" = "NONE NONE"; then | 4097 if test "$x_includes $x_libraries" = "NONE NONE"; then |
| 4094 if test -n "$OPENWINHOME" \ | 4098 if test -n "$OPENWINHOME" \ |
| 4095 -a "$OPENWINHOME" != "/usr/openwin" \ | 4099 -a "$OPENWINHOME" != "/usr/openwin" \ |
| 4096 -a -d "$OPENWINHOME"; then | 4100 -a -d "$OPENWINHOME"; then |
| 4107 # If we find X, set shell vars x_includes and x_libraries to the | 4111 # If we find X, set shell vars x_includes and x_libraries to the |
| 4108 # paths, otherwise set no_x=yes. | 4112 # paths, otherwise set no_x=yes. |
| 4109 # Uses ac_ vars as temps to allow command line to override cache and checks. | 4113 # Uses ac_ vars as temps to allow command line to override cache and checks. |
| 4110 # --without-x overrides everything else, but does not touch the cache. | 4114 # --without-x overrides everything else, but does not touch the cache. |
| 4111 echo $ac_n "checking for X""... $ac_c" 1>&6 | 4115 echo $ac_n "checking for X""... $ac_c" 1>&6 |
| 4112 echo "configure:4113: checking for X" >&5 | 4116 echo "configure:4117: checking for X" >&5 |
| 4113 | 4117 |
| 4114 # Check whether --with-x or --without-x was given. | 4118 # Check whether --with-x or --without-x was given. |
| 4115 if test "${with_x+set}" = set; then | 4119 if test "${with_x+set}" = set; then |
| 4116 withval="$with_x" | 4120 withval="$with_x" |
| 4117 : | 4121 : |
| 4167 # Guess where to find include files, by looking for this one X11 .h file. | 4171 # Guess where to find include files, by looking for this one X11 .h file. |
| 4168 test -z "$x_direct_test_include" && x_direct_test_include=X11/Intrinsic.h | 4172 test -z "$x_direct_test_include" && x_direct_test_include=X11/Intrinsic.h |
| 4169 | 4173 |
| 4170 # First, try using that file with no special directory specified. | 4174 # First, try using that file with no special directory specified. |
| 4171 cat > conftest.$ac_ext <<EOF | 4175 cat > conftest.$ac_ext <<EOF |
| 4172 #line 4173 "configure" | 4176 #line 4177 "configure" |
| 4173 #include "confdefs.h" | 4177 #include "confdefs.h" |
| 4174 #include <$x_direct_test_include> | 4178 #include <$x_direct_test_include> |
| 4175 EOF | 4179 EOF |
| 4176 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 4180 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 4177 { (eval echo configure:4178: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 4181 { (eval echo configure:4182: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 4178 ac_err=`grep -v '^ *+' conftest.out` | 4182 ac_err=`grep -v '^ *+' conftest.out` |
| 4179 if test -z "$ac_err"; then | 4183 if test -z "$ac_err"; then |
| 4180 rm -rf conftest* | 4184 rm -rf conftest* |
| 4181 # We can compile using X headers with no special include directory. | 4185 # We can compile using X headers with no special include directory. |
| 4182 ac_x_includes= | 4186 ac_x_includes= |
| 4241 # See if we find them without any special options. | 4245 # See if we find them without any special options. |
| 4242 # Don't add to $LIBS permanently. | 4246 # Don't add to $LIBS permanently. |
| 4243 ac_save_LIBS="$LIBS" | 4247 ac_save_LIBS="$LIBS" |
| 4244 LIBS="-l$x_direct_test_library $LIBS" | 4248 LIBS="-l$x_direct_test_library $LIBS" |
| 4245 cat > conftest.$ac_ext <<EOF | 4249 cat > conftest.$ac_ext <<EOF |
| 4246 #line 4247 "configure" | 4250 #line 4251 "configure" |
| 4247 #include "confdefs.h" | 4251 #include "confdefs.h" |
| 4248 | 4252 |
| 4249 int main() { | 4253 int main() { |
| 4250 ${x_direct_test_function}() | 4254 ${x_direct_test_function}() |
| 4251 ; return 0; } | 4255 ; return 0; } |
| 4252 EOF | 4256 EOF |
| 4253 if { (eval echo configure:4254: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4257 if { (eval echo configure:4258: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 4254 rm -rf conftest* | 4258 rm -rf conftest* |
| 4255 LIBS="$ac_save_LIBS" | 4259 LIBS="$ac_save_LIBS" |
| 4256 # We can link X programs with no special library path. | 4260 # We can link X programs with no special library path. |
| 4257 ac_x_libraries= | 4261 ac_x_libraries= |
| 4258 else | 4262 else |
| 4357 # For Solaris; some versions of Sun CC require a space after -R and | 4361 # For Solaris; some versions of Sun CC require a space after -R and |
| 4358 # others require no space. Words are not sufficient . . . . | 4362 # others require no space. Words are not sufficient . . . . |
| 4359 case "`(uname -sr) 2>/dev/null`" in | 4363 case "`(uname -sr) 2>/dev/null`" in |
| 4360 "SunOS 5"*) | 4364 "SunOS 5"*) |
| 4361 echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6 | 4365 echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6 |
| 4362 echo "configure:4363: checking whether -R must be followed by a space" >&5 | 4366 echo "configure:4367: checking whether -R must be followed by a space" >&5 |
| 4363 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS -R$x_libraries" | 4367 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS -R$x_libraries" |
| 4364 cat > conftest.$ac_ext <<EOF | 4368 cat > conftest.$ac_ext <<EOF |
| 4365 #line 4366 "configure" | 4369 #line 4370 "configure" |
| 4366 #include "confdefs.h" | 4370 #include "confdefs.h" |
| 4367 | 4371 |
| 4368 int main() { | 4372 int main() { |
| 4369 | 4373 |
| 4370 ; return 0; } | 4374 ; return 0; } |
| 4371 EOF | 4375 EOF |
| 4372 if { (eval echo configure:4373: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4376 if { (eval echo configure:4377: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 4373 rm -rf conftest* | 4377 rm -rf conftest* |
| 4374 ac_R_nospace=yes | 4378 ac_R_nospace=yes |
| 4375 else | 4379 else |
| 4376 echo "configure: failed program was:" >&5 | 4380 echo "configure: failed program was:" >&5 |
| 4377 cat conftest.$ac_ext >&5 | 4381 cat conftest.$ac_ext >&5 |
| 4383 echo "$ac_t""no" 1>&6 | 4387 echo "$ac_t""no" 1>&6 |
| 4384 X_LIBS="$X_LIBS -R$x_libraries" | 4388 X_LIBS="$X_LIBS -R$x_libraries" |
| 4385 else | 4389 else |
| 4386 LIBS="$ac_xsave_LIBS -R $x_libraries" | 4390 LIBS="$ac_xsave_LIBS -R $x_libraries" |
| 4387 cat > conftest.$ac_ext <<EOF | 4391 cat > conftest.$ac_ext <<EOF |
| 4388 #line 4389 "configure" | 4392 #line 4393 "configure" |
| 4389 #include "confdefs.h" | 4393 #include "confdefs.h" |
| 4390 | 4394 |
| 4391 int main() { | 4395 int main() { |
| 4392 | 4396 |
| 4393 ; return 0; } | 4397 ; return 0; } |
| 4394 EOF | 4398 EOF |
| 4395 if { (eval echo configure:4396: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4399 if { (eval echo configure:4400: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 4396 rm -rf conftest* | 4400 rm -rf conftest* |
| 4397 ac_R_space=yes | 4401 ac_R_space=yes |
| 4398 else | 4402 else |
| 4399 echo "configure: failed program was:" >&5 | 4403 echo "configure: failed program was:" >&5 |
| 4400 cat conftest.$ac_ext >&5 | 4404 cat conftest.$ac_ext >&5 |
| 4426 if test "$with_dnet" = "no" ; then | 4430 if test "$with_dnet" = "no" ; then |
| 4427 ac_cv_lib_dnet_dnet_ntoa=no | 4431 ac_cv_lib_dnet_dnet_ntoa=no |
| 4428 else | 4432 else |
| 4429 | 4433 |
| 4430 echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6 | 4434 echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6 |
| 4431 echo "configure:4432: checking for dnet_ntoa in -ldnet" >&5 | 4435 echo "configure:4436: checking for dnet_ntoa in -ldnet" >&5 |
| 4432 ac_lib_var=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'` | 4436 ac_lib_var=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'` |
| 4433 | 4437 |
| 4434 xe_check_libs=" -ldnet " | 4438 xe_check_libs=" -ldnet " |
| 4435 cat > conftest.$ac_ext <<EOF | 4439 cat > conftest.$ac_ext <<EOF |
| 4436 #line 4437 "configure" | 4440 #line 4441 "configure" |
| 4437 #include "confdefs.h" | 4441 #include "confdefs.h" |
| 4438 /* Override any gcc2 internal prototype to avoid an error. */ | 4442 /* Override any gcc2 internal prototype to avoid an error. */ |
| 4439 /* We use char because int might match the return type of a gcc2 | 4443 /* We use char because int might match the return type of a gcc2 |
| 4440 builtin and then its argument prototype would still apply. */ | 4444 builtin and then its argument prototype would still apply. */ |
| 4441 char dnet_ntoa(); | 4445 char dnet_ntoa(); |
| 4442 | 4446 |
| 4443 int main() { | 4447 int main() { |
| 4444 dnet_ntoa() | 4448 dnet_ntoa() |
| 4445 ; return 0; } | 4449 ; return 0; } |
| 4446 EOF | 4450 EOF |
| 4447 if { (eval echo configure:4448: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4451 if { (eval echo configure:4452: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 4448 rm -rf conftest* | 4452 rm -rf conftest* |
| 4449 eval "ac_cv_lib_$ac_lib_var=yes" | 4453 eval "ac_cv_lib_$ac_lib_var=yes" |
| 4450 else | 4454 else |
| 4451 echo "configure: failed program was:" >&5 | 4455 echo "configure: failed program was:" >&5 |
| 4452 cat conftest.$ac_ext >&5 | 4456 cat conftest.$ac_ext >&5 |
| 4466 fi | 4470 fi |
| 4467 | 4471 |
| 4468 if test $ac_cv_lib_dnet_dnet_ntoa = no; then | 4472 if test $ac_cv_lib_dnet_dnet_ntoa = no; then |
| 4469 | 4473 |
| 4470 echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6 | 4474 echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6 |
| 4471 echo "configure:4472: checking for dnet_ntoa in -ldnet_stub" >&5 | 4475 echo "configure:4476: checking for dnet_ntoa in -ldnet_stub" >&5 |
| 4472 ac_lib_var=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'` | 4476 ac_lib_var=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'` |
| 4473 | 4477 |
| 4474 xe_check_libs=" -ldnet_stub " | 4478 xe_check_libs=" -ldnet_stub " |
| 4475 cat > conftest.$ac_ext <<EOF | 4479 cat > conftest.$ac_ext <<EOF |
| 4476 #line 4477 "configure" | 4480 #line 4481 "configure" |
| 4477 #include "confdefs.h" | 4481 #include "confdefs.h" |
| 4478 /* Override any gcc2 internal prototype to avoid an error. */ | 4482 /* Override any gcc2 internal prototype to avoid an error. */ |
| 4479 /* We use char because int might match the return type of a gcc2 | 4483 /* We use char because int might match the return type of a gcc2 |
| 4480 builtin and then its argument prototype would still apply. */ | 4484 builtin and then its argument prototype would still apply. */ |
| 4481 char dnet_ntoa(); | 4485 char dnet_ntoa(); |
| 4482 | 4486 |
| 4483 int main() { | 4487 int main() { |
| 4484 dnet_ntoa() | 4488 dnet_ntoa() |
| 4485 ; return 0; } | 4489 ; return 0; } |
| 4486 EOF | 4490 EOF |
| 4487 if { (eval echo configure:4488: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4491 if { (eval echo configure:4492: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 4488 rm -rf conftest* | 4492 rm -rf conftest* |
| 4489 eval "ac_cv_lib_$ac_lib_var=yes" | 4493 eval "ac_cv_lib_$ac_lib_var=yes" |
| 4490 else | 4494 else |
| 4491 echo "configure: failed program was:" >&5 | 4495 echo "configure: failed program was:" >&5 |
| 4492 cat conftest.$ac_ext >&5 | 4496 cat conftest.$ac_ext >&5 |
| 4511 # chad@anasazi.com says the Pyramis MIS-ES running DC/OSx (SVR4) | 4515 # chad@anasazi.com says the Pyramis MIS-ES running DC/OSx (SVR4) |
| 4512 # needs -lnsl. | 4516 # needs -lnsl. |
| 4513 # The nsl library prevents programs from opening the X display | 4517 # The nsl library prevents programs from opening the X display |
| 4514 # on Irix 5.2, according to dickey@clark.net. | 4518 # on Irix 5.2, according to dickey@clark.net. |
| 4515 echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6 | 4519 echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6 |
| 4516 echo "configure:4517: checking for gethostbyname" >&5 | 4520 echo "configure:4521: checking for gethostbyname" >&5 |
| 4517 | 4521 |
| 4518 cat > conftest.$ac_ext <<EOF | 4522 cat > conftest.$ac_ext <<EOF |
| 4519 #line 4520 "configure" | 4523 #line 4524 "configure" |
| 4520 #include "confdefs.h" | 4524 #include "confdefs.h" |
| 4521 /* System header to define __stub macros and hopefully few prototypes, | 4525 /* System header to define __stub macros and hopefully few prototypes, |
| 4522 which can conflict with char gethostbyname(); below. */ | 4526 which can conflict with char gethostbyname(); below. */ |
| 4523 #include <assert.h> | 4527 #include <assert.h> |
| 4524 /* Override any gcc2 internal prototype to avoid an error. */ | 4528 /* Override any gcc2 internal prototype to avoid an error. */ |
| 4537 gethostbyname(); | 4541 gethostbyname(); |
| 4538 #endif | 4542 #endif |
| 4539 | 4543 |
| 4540 ; return 0; } | 4544 ; return 0; } |
| 4541 EOF | 4545 EOF |
| 4542 if { (eval echo configure:4543: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4546 if { (eval echo configure:4547: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 4543 rm -rf conftest* | 4547 rm -rf conftest* |
| 4544 eval "ac_cv_func_gethostbyname=yes" | 4548 eval "ac_cv_func_gethostbyname=yes" |
| 4545 else | 4549 else |
| 4546 echo "configure: failed program was:" >&5 | 4550 echo "configure: failed program was:" >&5 |
| 4547 cat conftest.$ac_ext >&5 | 4551 cat conftest.$ac_ext >&5 |
| 4558 fi | 4562 fi |
| 4559 | 4563 |
| 4560 if test $ac_cv_func_gethostbyname = no; then | 4564 if test $ac_cv_func_gethostbyname = no; then |
| 4561 | 4565 |
| 4562 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6 | 4566 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6 |
| 4563 echo "configure:4564: checking for gethostbyname in -lnsl" >&5 | 4567 echo "configure:4568: checking for gethostbyname in -lnsl" >&5 |
| 4564 ac_lib_var=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'` | 4568 ac_lib_var=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'` |
| 4565 | 4569 |
| 4566 xe_check_libs=" -lnsl " | 4570 xe_check_libs=" -lnsl " |
| 4567 cat > conftest.$ac_ext <<EOF | 4571 cat > conftest.$ac_ext <<EOF |
| 4568 #line 4569 "configure" | 4572 #line 4573 "configure" |
| 4569 #include "confdefs.h" | 4573 #include "confdefs.h" |
| 4570 /* Override any gcc2 internal prototype to avoid an error. */ | 4574 /* Override any gcc2 internal prototype to avoid an error. */ |
| 4571 /* We use char because int might match the return type of a gcc2 | 4575 /* We use char because int might match the return type of a gcc2 |
| 4572 builtin and then its argument prototype would still apply. */ | 4576 builtin and then its argument prototype would still apply. */ |
| 4573 char gethostbyname(); | 4577 char gethostbyname(); |
| 4574 | 4578 |
| 4575 int main() { | 4579 int main() { |
| 4576 gethostbyname() | 4580 gethostbyname() |
| 4577 ; return 0; } | 4581 ; return 0; } |
| 4578 EOF | 4582 EOF |
| 4579 if { (eval echo configure:4580: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4583 if { (eval echo configure:4584: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 4580 rm -rf conftest* | 4584 rm -rf conftest* |
| 4581 eval "ac_cv_lib_$ac_lib_var=yes" | 4585 eval "ac_cv_lib_$ac_lib_var=yes" |
| 4582 else | 4586 else |
| 4583 echo "configure: failed program was:" >&5 | 4587 echo "configure: failed program was:" >&5 |
| 4584 cat conftest.$ac_ext >&5 | 4588 cat conftest.$ac_ext >&5 |
| 4604 # on later versions), says simon@lia.di.epfl.ch: it contains | 4608 # on later versions), says simon@lia.di.epfl.ch: it contains |
| 4605 # gethostby* variants that don't use the nameserver (or something). | 4609 # gethostby* variants that don't use the nameserver (or something). |
| 4606 # -lsocket must be given before -lnsl if both are needed. | 4610 # -lsocket must be given before -lnsl if both are needed. |
| 4607 # We assume that if connect needs -lnsl, so does gethostbyname. | 4611 # We assume that if connect needs -lnsl, so does gethostbyname. |
| 4608 echo $ac_n "checking for connect""... $ac_c" 1>&6 | 4612 echo $ac_n "checking for connect""... $ac_c" 1>&6 |
| 4609 echo "configure:4610: checking for connect" >&5 | 4613 echo "configure:4614: checking for connect" >&5 |
| 4610 | 4614 |
| 4611 cat > conftest.$ac_ext <<EOF | 4615 cat > conftest.$ac_ext <<EOF |
| 4612 #line 4613 "configure" | 4616 #line 4617 "configure" |
| 4613 #include "confdefs.h" | 4617 #include "confdefs.h" |
| 4614 /* System header to define __stub macros and hopefully few prototypes, | 4618 /* System header to define __stub macros and hopefully few prototypes, |
| 4615 which can conflict with char connect(); below. */ | 4619 which can conflict with char connect(); below. */ |
| 4616 #include <assert.h> | 4620 #include <assert.h> |
| 4617 /* Override any gcc2 internal prototype to avoid an error. */ | 4621 /* Override any gcc2 internal prototype to avoid an error. */ |
| 4630 connect(); | 4634 connect(); |
| 4631 #endif | 4635 #endif |
| 4632 | 4636 |
| 4633 ; return 0; } | 4637 ; return 0; } |
| 4634 EOF | 4638 EOF |
| 4635 if { (eval echo configure:4636: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4639 if { (eval echo configure:4640: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 4636 rm -rf conftest* | 4640 rm -rf conftest* |
| 4637 eval "ac_cv_func_connect=yes" | 4641 eval "ac_cv_func_connect=yes" |
| 4638 else | 4642 else |
| 4639 echo "configure: failed program was:" >&5 | 4643 echo "configure: failed program was:" >&5 |
| 4640 cat conftest.$ac_ext >&5 | 4644 cat conftest.$ac_ext >&5 |
| 4653 if test $ac_cv_func_connect = no; then | 4657 if test $ac_cv_func_connect = no; then |
| 4654 | 4658 |
| 4655 xe_msg_checking="for connect in -lsocket" | 4659 xe_msg_checking="for connect in -lsocket" |
| 4656 test -n "$X_EXTRA_LIBS" && xe_msg_checking="$xe_msg_checking using extra libs $X_EXTRA_LIBS" | 4660 test -n "$X_EXTRA_LIBS" && xe_msg_checking="$xe_msg_checking using extra libs $X_EXTRA_LIBS" |
| 4657 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 4661 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
| 4658 echo "configure:4659: checking "$xe_msg_checking"" >&5 | 4662 echo "configure:4663: checking "$xe_msg_checking"" >&5 |
| 4659 ac_lib_var=`echo socket'_'connect | sed 'y%./+-%__p_%'` | 4663 ac_lib_var=`echo socket'_'connect | sed 'y%./+-%__p_%'` |
| 4660 | 4664 |
| 4661 xe_check_libs=" -lsocket $X_EXTRA_LIBS" | 4665 xe_check_libs=" -lsocket $X_EXTRA_LIBS" |
| 4662 cat > conftest.$ac_ext <<EOF | 4666 cat > conftest.$ac_ext <<EOF |
| 4663 #line 4664 "configure" | 4667 #line 4668 "configure" |
| 4664 #include "confdefs.h" | 4668 #include "confdefs.h" |
| 4665 /* Override any gcc2 internal prototype to avoid an error. */ | 4669 /* Override any gcc2 internal prototype to avoid an error. */ |
| 4666 /* We use char because int might match the return type of a gcc2 | 4670 /* We use char because int might match the return type of a gcc2 |
| 4667 builtin and then its argument prototype would still apply. */ | 4671 builtin and then its argument prototype would still apply. */ |
| 4668 char connect(); | 4672 char connect(); |
| 4669 | 4673 |
| 4670 int main() { | 4674 int main() { |
| 4671 connect() | 4675 connect() |
| 4672 ; return 0; } | 4676 ; return 0; } |
| 4673 EOF | 4677 EOF |
| 4674 if { (eval echo configure:4675: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4678 if { (eval echo configure:4679: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 4675 rm -rf conftest* | 4679 rm -rf conftest* |
| 4676 eval "ac_cv_lib_$ac_lib_var=yes" | 4680 eval "ac_cv_lib_$ac_lib_var=yes" |
| 4677 else | 4681 else |
| 4678 echo "configure: failed program was:" >&5 | 4682 echo "configure: failed program was:" >&5 |
| 4679 cat conftest.$ac_ext >&5 | 4683 cat conftest.$ac_ext >&5 |
| 4693 | 4697 |
| 4694 fi | 4698 fi |
| 4695 | 4699 |
| 4696 # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX. | 4700 # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX. |
| 4697 echo $ac_n "checking for remove""... $ac_c" 1>&6 | 4701 echo $ac_n "checking for remove""... $ac_c" 1>&6 |
| 4698 echo "configure:4699: checking for remove" >&5 | 4702 echo "configure:4703: checking for remove" >&5 |
| 4699 | 4703 |
| 4700 cat > conftest.$ac_ext <<EOF | 4704 cat > conftest.$ac_ext <<EOF |
| 4701 #line 4702 "configure" | 4705 #line 4706 "configure" |
| 4702 #include "confdefs.h" | 4706 #include "confdefs.h" |
| 4703 /* System header to define __stub macros and hopefully few prototypes, | 4707 /* System header to define __stub macros and hopefully few prototypes, |
| 4704 which can conflict with char remove(); below. */ | 4708 which can conflict with char remove(); below. */ |
| 4705 #include <assert.h> | 4709 #include <assert.h> |
| 4706 /* Override any gcc2 internal prototype to avoid an error. */ | 4710 /* Override any gcc2 internal prototype to avoid an error. */ |
| 4719 remove(); | 4723 remove(); |
| 4720 #endif | 4724 #endif |
| 4721 | 4725 |
| 4722 ; return 0; } | 4726 ; return 0; } |
| 4723 EOF | 4727 EOF |
| 4724 if { (eval echo configure:4725: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4728 if { (eval echo configure:4729: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 4725 rm -rf conftest* | 4729 rm -rf conftest* |
| 4726 eval "ac_cv_func_remove=yes" | 4730 eval "ac_cv_func_remove=yes" |
| 4727 else | 4731 else |
| 4728 echo "configure: failed program was:" >&5 | 4732 echo "configure: failed program was:" >&5 |
| 4729 cat conftest.$ac_ext >&5 | 4733 cat conftest.$ac_ext >&5 |
| 4740 fi | 4744 fi |
| 4741 | 4745 |
| 4742 if test $ac_cv_func_remove = no; then | 4746 if test $ac_cv_func_remove = no; then |
| 4743 | 4747 |
| 4744 echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6 | 4748 echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6 |
| 4745 echo "configure:4746: checking for remove in -lposix" >&5 | 4749 echo "configure:4750: checking for remove in -lposix" >&5 |
| 4746 ac_lib_var=`echo posix'_'remove | sed 'y%./+-%__p_%'` | 4750 ac_lib_var=`echo posix'_'remove | sed 'y%./+-%__p_%'` |
| 4747 | 4751 |
| 4748 xe_check_libs=" -lposix " | 4752 xe_check_libs=" -lposix " |
| 4749 cat > conftest.$ac_ext <<EOF | 4753 cat > conftest.$ac_ext <<EOF |
| 4750 #line 4751 "configure" | 4754 #line 4755 "configure" |
| 4751 #include "confdefs.h" | 4755 #include "confdefs.h" |
| 4752 /* Override any gcc2 internal prototype to avoid an error. */ | 4756 /* Override any gcc2 internal prototype to avoid an error. */ |
| 4753 /* We use char because int might match the return type of a gcc2 | 4757 /* We use char because int might match the return type of a gcc2 |
| 4754 builtin and then its argument prototype would still apply. */ | 4758 builtin and then its argument prototype would still apply. */ |
| 4755 char remove(); | 4759 char remove(); |
| 4756 | 4760 |
| 4757 int main() { | 4761 int main() { |
| 4758 remove() | 4762 remove() |
| 4759 ; return 0; } | 4763 ; return 0; } |
| 4760 EOF | 4764 EOF |
| 4761 if { (eval echo configure:4762: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4765 if { (eval echo configure:4766: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 4762 rm -rf conftest* | 4766 rm -rf conftest* |
| 4763 eval "ac_cv_lib_$ac_lib_var=yes" | 4767 eval "ac_cv_lib_$ac_lib_var=yes" |
| 4764 else | 4768 else |
| 4765 echo "configure: failed program was:" >&5 | 4769 echo "configure: failed program was:" >&5 |
| 4766 cat conftest.$ac_ext >&5 | 4770 cat conftest.$ac_ext >&5 |
| 4780 | 4784 |
| 4781 fi | 4785 fi |
| 4782 | 4786 |
| 4783 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay. | 4787 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay. |
| 4784 echo $ac_n "checking for shmat""... $ac_c" 1>&6 | 4788 echo $ac_n "checking for shmat""... $ac_c" 1>&6 |
| 4785 echo "configure:4786: checking for shmat" >&5 | 4789 echo "configure:4790: checking for shmat" >&5 |
| 4786 | 4790 |
| 4787 cat > conftest.$ac_ext <<EOF | 4791 cat > conftest.$ac_ext <<EOF |
| 4788 #line 4789 "configure" | 4792 #line 4793 "configure" |
| 4789 #include "confdefs.h" | 4793 #include "confdefs.h" |
| 4790 /* System header to define __stub macros and hopefully few prototypes, | 4794 /* System header to define __stub macros and hopefully few prototypes, |
| 4791 which can conflict with char shmat(); below. */ | 4795 which can conflict with char shmat(); below. */ |
| 4792 #include <assert.h> | 4796 #include <assert.h> |
| 4793 /* Override any gcc2 internal prototype to avoid an error. */ | 4797 /* Override any gcc2 internal prototype to avoid an error. */ |
| 4806 shmat(); | 4810 shmat(); |
| 4807 #endif | 4811 #endif |
| 4808 | 4812 |
| 4809 ; return 0; } | 4813 ; return 0; } |
| 4810 EOF | 4814 EOF |
| 4811 if { (eval echo configure:4812: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4815 if { (eval echo configure:4816: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 4812 rm -rf conftest* | 4816 rm -rf conftest* |
| 4813 eval "ac_cv_func_shmat=yes" | 4817 eval "ac_cv_func_shmat=yes" |
| 4814 else | 4818 else |
| 4815 echo "configure: failed program was:" >&5 | 4819 echo "configure: failed program was:" >&5 |
| 4816 cat conftest.$ac_ext >&5 | 4820 cat conftest.$ac_ext >&5 |
| 4827 fi | 4831 fi |
| 4828 | 4832 |
| 4829 if test $ac_cv_func_shmat = no; then | 4833 if test $ac_cv_func_shmat = no; then |
| 4830 | 4834 |
| 4831 echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6 | 4835 echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6 |
| 4832 echo "configure:4833: checking for shmat in -lipc" >&5 | 4836 echo "configure:4837: checking for shmat in -lipc" >&5 |
| 4833 ac_lib_var=`echo ipc'_'shmat | sed 'y%./+-%__p_%'` | 4837 ac_lib_var=`echo ipc'_'shmat | sed 'y%./+-%__p_%'` |
| 4834 | 4838 |
| 4835 xe_check_libs=" -lipc " | 4839 xe_check_libs=" -lipc " |
| 4836 cat > conftest.$ac_ext <<EOF | 4840 cat > conftest.$ac_ext <<EOF |
| 4837 #line 4838 "configure" | 4841 #line 4842 "configure" |
| 4838 #include "confdefs.h" | 4842 #include "confdefs.h" |
| 4839 /* Override any gcc2 internal prototype to avoid an error. */ | 4843 /* Override any gcc2 internal prototype to avoid an error. */ |
| 4840 /* We use char because int might match the return type of a gcc2 | 4844 /* We use char because int might match the return type of a gcc2 |
| 4841 builtin and then its argument prototype would still apply. */ | 4845 builtin and then its argument prototype would still apply. */ |
| 4842 char shmat(); | 4846 char shmat(); |
| 4843 | 4847 |
| 4844 int main() { | 4848 int main() { |
| 4845 shmat() | 4849 shmat() |
| 4846 ; return 0; } | 4850 ; return 0; } |
| 4847 EOF | 4851 EOF |
| 4848 if { (eval echo configure:4849: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4852 if { (eval echo configure:4853: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 4849 rm -rf conftest* | 4853 rm -rf conftest* |
| 4850 eval "ac_cv_lib_$ac_lib_var=yes" | 4854 eval "ac_cv_lib_$ac_lib_var=yes" |
| 4851 else | 4855 else |
| 4852 echo "configure: failed program was:" >&5 | 4856 echo "configure: failed program was:" >&5 |
| 4853 cat conftest.$ac_ext >&5 | 4857 cat conftest.$ac_ext >&5 |
| 4877 # These have to be linked with before -lX11, unlike the other | 4881 # These have to be linked with before -lX11, unlike the other |
| 4878 # libraries we check for below, so use a different variable. | 4882 # libraries we check for below, so use a different variable. |
| 4879 # --interran@uluru.Stanford.EDU, kb@cs.umb.edu. | 4883 # --interran@uluru.Stanford.EDU, kb@cs.umb.edu. |
| 4880 | 4884 |
| 4881 echo $ac_n "checking for IceConnectionNumber in -lICE""... $ac_c" 1>&6 | 4885 echo $ac_n "checking for IceConnectionNumber in -lICE""... $ac_c" 1>&6 |
| 4882 echo "configure:4883: checking for IceConnectionNumber in -lICE" >&5 | 4886 echo "configure:4887: checking for IceConnectionNumber in -lICE" >&5 |
| 4883 ac_lib_var=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'` | 4887 ac_lib_var=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'` |
| 4884 | 4888 |
| 4885 xe_check_libs=" -lICE " | 4889 xe_check_libs=" -lICE " |
| 4886 cat > conftest.$ac_ext <<EOF | 4890 cat > conftest.$ac_ext <<EOF |
| 4887 #line 4888 "configure" | 4891 #line 4892 "configure" |
| 4888 #include "confdefs.h" | 4892 #include "confdefs.h" |
| 4889 /* Override any gcc2 internal prototype to avoid an error. */ | 4893 /* Override any gcc2 internal prototype to avoid an error. */ |
| 4890 /* We use char because int might match the return type of a gcc2 | 4894 /* We use char because int might match the return type of a gcc2 |
| 4891 builtin and then its argument prototype would still apply. */ | 4895 builtin and then its argument prototype would still apply. */ |
| 4892 char IceConnectionNumber(); | 4896 char IceConnectionNumber(); |
| 4893 | 4897 |
| 4894 int main() { | 4898 int main() { |
| 4895 IceConnectionNumber() | 4899 IceConnectionNumber() |
| 4896 ; return 0; } | 4900 ; return 0; } |
| 4897 EOF | 4901 EOF |
| 4898 if { (eval echo configure:4899: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4902 if { (eval echo configure:4903: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 4899 rm -rf conftest* | 4903 rm -rf conftest* |
| 4900 eval "ac_cv_lib_$ac_lib_var=yes" | 4904 eval "ac_cv_lib_$ac_lib_var=yes" |
| 4901 else | 4905 else |
| 4902 echo "configure: failed program was:" >&5 | 4906 echo "configure: failed program was:" >&5 |
| 4903 cat conftest.$ac_ext >&5 | 4907 cat conftest.$ac_ext >&5 |
| 5026 for var in x_libraries x_includes X_CFLAGS X_LIBS X_PRE_LIBS X_EXTRA_LIBS; do eval "echo \"$var = '\$$var'\""; done | 5030 for var in x_libraries x_includes X_CFLAGS X_LIBS X_PRE_LIBS X_EXTRA_LIBS; do eval "echo \"$var = '\$$var'\""; done |
| 5027 echo | 5031 echo |
| 5028 fi | 5032 fi |
| 5029 | 5033 |
| 5030 echo "checking for X defines extracted by xmkmf" 1>&6 | 5034 echo "checking for X defines extracted by xmkmf" 1>&6 |
| 5031 echo "configure:5032: checking for X defines extracted by xmkmf" >&5 | 5035 echo "configure:5036: checking for X defines extracted by xmkmf" >&5 |
| 5032 rm -fr conftestdir | 5036 rm -fr conftestdir |
| 5033 if mkdir conftestdir; then | 5037 if mkdir conftestdir; then |
| 5034 cd conftestdir | 5038 cd conftestdir |
| 5035 cat > Imakefile <<'EOF' | 5039 cat > Imakefile <<'EOF' |
| 5036 xetest: | 5040 xetest: |
| 5058 done | 5062 done |
| 5059 fi | 5063 fi |
| 5060 | 5064 |
| 5061 ac_safe=`echo "X11/Intrinsic.h" | sed 'y%./+-%__p_%'` | 5065 ac_safe=`echo "X11/Intrinsic.h" | sed 'y%./+-%__p_%'` |
| 5062 echo $ac_n "checking for X11/Intrinsic.h""... $ac_c" 1>&6 | 5066 echo $ac_n "checking for X11/Intrinsic.h""... $ac_c" 1>&6 |
| 5063 echo "configure:5064: checking for X11/Intrinsic.h" >&5 | 5067 echo "configure:5068: checking for X11/Intrinsic.h" >&5 |
| 5064 | 5068 |
| 5065 cat > conftest.$ac_ext <<EOF | 5069 cat > conftest.$ac_ext <<EOF |
| 5066 #line 5067 "configure" | 5070 #line 5071 "configure" |
| 5067 #include "confdefs.h" | 5071 #include "confdefs.h" |
| 5068 #include <X11/Intrinsic.h> | 5072 #include <X11/Intrinsic.h> |
| 5069 EOF | 5073 EOF |
| 5070 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 5074 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 5071 { (eval echo configure:5072: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 5075 { (eval echo configure:5076: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 5072 ac_err=`grep -v '^ *+' conftest.out` | 5076 ac_err=`grep -v '^ *+' conftest.out` |
| 5073 if test -z "$ac_err"; then | 5077 if test -z "$ac_err"; then |
| 5074 rm -rf conftest* | 5078 rm -rf conftest* |
| 5075 eval "ac_cv_header_$ac_safe=yes" | 5079 eval "ac_cv_header_$ac_safe=yes" |
| 5076 else | 5080 else |
| 5090 fi | 5094 fi |
| 5091 | 5095 |
| 5092 | 5096 |
| 5093 | 5097 |
| 5094 echo $ac_n "checking for XOpenDisplay in -lX11""... $ac_c" 1>&6 | 5098 echo $ac_n "checking for XOpenDisplay in -lX11""... $ac_c" 1>&6 |
| 5095 echo "configure:5096: checking for XOpenDisplay in -lX11" >&5 | 5099 echo "configure:5100: checking for XOpenDisplay in -lX11" >&5 |
| 5096 ac_lib_var=`echo X11'_'XOpenDisplay | sed 'y%./+-%__p_%'` | 5100 ac_lib_var=`echo X11'_'XOpenDisplay | sed 'y%./+-%__p_%'` |
| 5097 | 5101 |
| 5098 xe_check_libs=" -lX11 " | 5102 xe_check_libs=" -lX11 " |
| 5099 cat > conftest.$ac_ext <<EOF | 5103 cat > conftest.$ac_ext <<EOF |
| 5100 #line 5101 "configure" | 5104 #line 5105 "configure" |
| 5101 #include "confdefs.h" | 5105 #include "confdefs.h" |
| 5102 /* Override any gcc2 internal prototype to avoid an error. */ | 5106 /* Override any gcc2 internal prototype to avoid an error. */ |
| 5103 /* We use char because int might match the return type of a gcc2 | 5107 /* We use char because int might match the return type of a gcc2 |
| 5104 builtin and then its argument prototype would still apply. */ | 5108 builtin and then its argument prototype would still apply. */ |
| 5105 char XOpenDisplay(); | 5109 char XOpenDisplay(); |
| 5106 | 5110 |
| 5107 int main() { | 5111 int main() { |
| 5108 XOpenDisplay() | 5112 XOpenDisplay() |
| 5109 ; return 0; } | 5113 ; return 0; } |
| 5110 EOF | 5114 EOF |
| 5111 if { (eval echo configure:5112: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 5115 if { (eval echo configure:5116: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 5112 rm -rf conftest* | 5116 rm -rf conftest* |
| 5113 eval "ac_cv_lib_$ac_lib_var=yes" | 5117 eval "ac_cv_lib_$ac_lib_var=yes" |
| 5114 else | 5118 else |
| 5115 echo "configure: failed program was:" >&5 | 5119 echo "configure: failed program was:" >&5 |
| 5116 cat conftest.$ac_ext >&5 | 5120 cat conftest.$ac_ext >&5 |
| 5131 if test "$have_lib_x11" != "yes"; then | 5135 if test "$have_lib_x11" != "yes"; then |
| 5132 | 5136 |
| 5133 xe_msg_checking="for XGetFontProperty in -lX11" | 5137 xe_msg_checking="for XGetFontProperty in -lX11" |
| 5134 test -n "-b i486-linuxaout" && xe_msg_checking="$xe_msg_checking using extra libs -b i486-linuxaout" | 5138 test -n "-b i486-linuxaout" && xe_msg_checking="$xe_msg_checking using extra libs -b i486-linuxaout" |
| 5135 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 5139 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
| 5136 echo "configure:5137: checking "$xe_msg_checking"" >&5 | 5140 echo "configure:5141: checking "$xe_msg_checking"" >&5 |
| 5137 ac_lib_var=`echo X11'_'XGetFontProperty | sed 'y%./+-%__p_%'` | 5141 ac_lib_var=`echo X11'_'XGetFontProperty | sed 'y%./+-%__p_%'` |
| 5138 | 5142 |
| 5139 xe_check_libs=" -lX11 -b i486-linuxaout" | 5143 xe_check_libs=" -lX11 -b i486-linuxaout" |
| 5140 cat > conftest.$ac_ext <<EOF | 5144 cat > conftest.$ac_ext <<EOF |
| 5141 #line 5142 "configure" | 5145 #line 5146 "configure" |
| 5142 #include "confdefs.h" | 5146 #include "confdefs.h" |
| 5143 /* Override any gcc2 internal prototype to avoid an error. */ | 5147 /* Override any gcc2 internal prototype to avoid an error. */ |
| 5144 /* We use char because int might match the return type of a gcc2 | 5148 /* We use char because int might match the return type of a gcc2 |
| 5145 builtin and then its argument prototype would still apply. */ | 5149 builtin and then its argument prototype would still apply. */ |
| 5146 char XGetFontProperty(); | 5150 char XGetFontProperty(); |
| 5147 | 5151 |
| 5148 int main() { | 5152 int main() { |
| 5149 XGetFontProperty() | 5153 XGetFontProperty() |
| 5150 ; return 0; } | 5154 ; return 0; } |
| 5151 EOF | 5155 EOF |
| 5152 if { (eval echo configure:5153: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 5156 if { (eval echo configure:5157: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 5153 rm -rf conftest* | 5157 rm -rf conftest* |
| 5154 eval "ac_cv_lib_$ac_lib_var=yes" | 5158 eval "ac_cv_lib_$ac_lib_var=yes" |
| 5155 else | 5159 else |
| 5156 echo "configure: failed program was:" >&5 | 5160 echo "configure: failed program was:" >&5 |
| 5157 cat conftest.$ac_ext >&5 | 5161 cat conftest.$ac_ext >&5 |
| 5174 libs_x="-lX11" | 5178 libs_x="-lX11" |
| 5175 test "$extra_verbose" = "yes" && echo " Setting libs_x to \"-lX11\"" | 5179 test "$extra_verbose" = "yes" && echo " Setting libs_x to \"-lX11\"" |
| 5176 | 5180 |
| 5177 | 5181 |
| 5178 echo $ac_n "checking for XShapeSelectInput in -lXext""... $ac_c" 1>&6 | 5182 echo $ac_n "checking for XShapeSelectInput in -lXext""... $ac_c" 1>&6 |
| 5179 echo "configure:5180: checking for XShapeSelectInput in -lXext" >&5 | 5183 echo "configure:5184: checking for XShapeSelectInput in -lXext" >&5 |
| 5180 ac_lib_var=`echo Xext'_'XShapeSelectInput | sed 'y%./+-%__p_%'` | 5184 ac_lib_var=`echo Xext'_'XShapeSelectInput | sed 'y%./+-%__p_%'` |
| 5181 | 5185 |
| 5182 xe_check_libs=" -lXext " | 5186 xe_check_libs=" -lXext " |
| 5183 cat > conftest.$ac_ext <<EOF | 5187 cat > conftest.$ac_ext <<EOF |
| 5184 #line 5185 "configure" | 5188 #line 5189 "configure" |
| 5185 #include "confdefs.h" | 5189 #include "confdefs.h" |
| 5186 /* Override any gcc2 internal prototype to avoid an error. */ | 5190 /* Override any gcc2 internal prototype to avoid an error. */ |
| 5187 /* We use char because int might match the return type of a gcc2 | 5191 /* We use char because int might match the return type of a gcc2 |
| 5188 builtin and then its argument prototype would still apply. */ | 5192 builtin and then its argument prototype would still apply. */ |
| 5189 char XShapeSelectInput(); | 5193 char XShapeSelectInput(); |
| 5190 | 5194 |
| 5191 int main() { | 5195 int main() { |
| 5192 XShapeSelectInput() | 5196 XShapeSelectInput() |
| 5193 ; return 0; } | 5197 ; return 0; } |
| 5194 EOF | 5198 EOF |
| 5195 if { (eval echo configure:5196: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 5199 if { (eval echo configure:5200: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 5196 rm -rf conftest* | 5200 rm -rf conftest* |
| 5197 eval "ac_cv_lib_$ac_lib_var=yes" | 5201 eval "ac_cv_lib_$ac_lib_var=yes" |
| 5198 else | 5202 else |
| 5199 echo "configure: failed program was:" >&5 | 5203 echo "configure: failed program was:" >&5 |
| 5200 cat conftest.$ac_ext >&5 | 5204 cat conftest.$ac_ext >&5 |
| 5213 | 5217 |
| 5214 | 5218 |
| 5215 | 5219 |
| 5216 | 5220 |
| 5217 echo $ac_n "checking for XtOpenDisplay in -lXt""... $ac_c" 1>&6 | 5221 echo $ac_n "checking for XtOpenDisplay in -lXt""... $ac_c" 1>&6 |
| 5218 echo "configure:5219: checking for XtOpenDisplay in -lXt" >&5 | 5222 echo "configure:5223: checking for XtOpenDisplay in -lXt" >&5 |
| 5219 ac_lib_var=`echo Xt'_'XtOpenDisplay | sed 'y%./+-%__p_%'` | 5223 ac_lib_var=`echo Xt'_'XtOpenDisplay | sed 'y%./+-%__p_%'` |
| 5220 | 5224 |
| 5221 xe_check_libs=" -lXt " | 5225 xe_check_libs=" -lXt " |
| 5222 cat > conftest.$ac_ext <<EOF | 5226 cat > conftest.$ac_ext <<EOF |
| 5223 #line 5224 "configure" | 5227 #line 5228 "configure" |
| 5224 #include "confdefs.h" | 5228 #include "confdefs.h" |
| 5225 /* Override any gcc2 internal prototype to avoid an error. */ | 5229 /* Override any gcc2 internal prototype to avoid an error. */ |
| 5226 /* We use char because int might match the return type of a gcc2 | 5230 /* We use char because int might match the return type of a gcc2 |
| 5227 builtin and then its argument prototype would still apply. */ | 5231 builtin and then its argument prototype would still apply. */ |
| 5228 char XtOpenDisplay(); | 5232 char XtOpenDisplay(); |
| 5229 | 5233 |
| 5230 int main() { | 5234 int main() { |
| 5231 XtOpenDisplay() | 5235 XtOpenDisplay() |
| 5232 ; return 0; } | 5236 ; return 0; } |
| 5233 EOF | 5237 EOF |
| 5234 if { (eval echo configure:5235: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 5238 if { (eval echo configure:5239: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 5235 rm -rf conftest* | 5239 rm -rf conftest* |
| 5236 eval "ac_cv_lib_$ac_lib_var=yes" | 5240 eval "ac_cv_lib_$ac_lib_var=yes" |
| 5237 else | 5241 else |
| 5238 echo "configure: failed program was:" >&5 | 5242 echo "configure: failed program was:" >&5 |
| 5239 cat conftest.$ac_ext >&5 | 5243 cat conftest.$ac_ext >&5 |
| 5252 fi | 5256 fi |
| 5253 | 5257 |
| 5254 | 5258 |
| 5255 | 5259 |
| 5256 echo $ac_n "checking the version of X11 being used""... $ac_c" 1>&6 | 5260 echo $ac_n "checking the version of X11 being used""... $ac_c" 1>&6 |
| 5257 echo "configure:5258: checking the version of X11 being used" >&5 | 5261 echo "configure:5262: checking the version of X11 being used" >&5 |
| 5258 cat > conftest.$ac_ext <<EOF | 5262 cat > conftest.$ac_ext <<EOF |
| 5259 #line 5260 "configure" | 5263 #line 5264 "configure" |
| 5260 #include "confdefs.h" | 5264 #include "confdefs.h" |
| 5261 #include <X11/Intrinsic.h> | 5265 #include <X11/Intrinsic.h> |
| 5262 main(int c, char* v[]) { return c>1 ? XlibSpecificationRelease : 0; } | 5266 main(int c, char* v[]) { return c>1 ? XlibSpecificationRelease : 0; } |
| 5263 EOF | 5267 EOF |
| 5264 if { (eval echo configure:5265: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 | 5268 if { (eval echo configure:5269: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 |
| 5265 then | 5269 then |
| 5266 ./conftest foobar; x11_release=$? | 5270 ./conftest foobar; x11_release=$? |
| 5267 else | 5271 else |
| 5268 echo "configure: failed program was:" >&5 | 5272 echo "configure: failed program was:" >&5 |
| 5269 cat conftest.$ac_ext >&5 | 5273 cat conftest.$ac_ext >&5 |
| 5283 | 5287 |
| 5284 for ac_hdr in X11/Xlocale.h | 5288 for ac_hdr in X11/Xlocale.h |
| 5285 do | 5289 do |
| 5286 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 5290 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
| 5287 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 5291 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
| 5288 echo "configure:5289: checking for $ac_hdr" >&5 | 5292 echo "configure:5293: checking for $ac_hdr" >&5 |
| 5289 | 5293 |
| 5290 cat > conftest.$ac_ext <<EOF | 5294 cat > conftest.$ac_ext <<EOF |
| 5291 #line 5292 "configure" | 5295 #line 5296 "configure" |
| 5292 #include "confdefs.h" | 5296 #include "confdefs.h" |
| 5293 #include <$ac_hdr> | 5297 #include <$ac_hdr> |
| 5294 EOF | 5298 EOF |
| 5295 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 5299 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 5296 { (eval echo configure:5297: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 5300 { (eval echo configure:5301: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 5297 ac_err=`grep -v '^ *+' conftest.out` | 5301 ac_err=`grep -v '^ *+' conftest.out` |
| 5298 if test -z "$ac_err"; then | 5302 if test -z "$ac_err"; then |
| 5299 rm -rf conftest* | 5303 rm -rf conftest* |
| 5300 eval "ac_cv_header_$ac_safe=yes" | 5304 eval "ac_cv_header_$ac_safe=yes" |
| 5301 else | 5305 else |
| 5322 fi | 5326 fi |
| 5323 done | 5327 done |
| 5324 | 5328 |
| 5325 | 5329 |
| 5326 echo $ac_n "checking for XFree86""... $ac_c" 1>&6 | 5330 echo $ac_n "checking for XFree86""... $ac_c" 1>&6 |
| 5327 echo "configure:5328: checking for XFree86" >&5 | 5331 echo "configure:5332: checking for XFree86" >&5 |
| 5328 if test -d "/usr/X386/include" -o \ | 5332 if test -d "/usr/X386/include" -o \ |
| 5329 -f "/etc/XF86Config" -o \ | 5333 -f "/etc/XF86Config" -o \ |
| 5330 -f "/etc/X11/XF86Config" -o \ | 5334 -f "/etc/X11/XF86Config" -o \ |
| 5331 -f "/usr/X11R6/lib/X11/XF86Config"; then | 5335 -f "/usr/X11R6/lib/X11/XF86Config"; then |
| 5332 echo "$ac_t""yes" 1>&6 | 5336 echo "$ac_t""yes" 1>&6 |
| 5342 echo "$ac_t""no" 1>&6 | 5346 echo "$ac_t""no" 1>&6 |
| 5343 fi | 5347 fi |
| 5344 | 5348 |
| 5345 test -z "$with_xmu" && { | 5349 test -z "$with_xmu" && { |
| 5346 echo $ac_n "checking for XmuReadBitmapDataFromFile in -lXmu""... $ac_c" 1>&6 | 5350 echo $ac_n "checking for XmuReadBitmapDataFromFile in -lXmu""... $ac_c" 1>&6 |
| 5347 echo "configure:5348: checking for XmuReadBitmapDataFromFile in -lXmu" >&5 | 5351 echo "configure:5352: checking for XmuReadBitmapDataFromFile in -lXmu" >&5 |
| 5348 ac_lib_var=`echo Xmu'_'XmuReadBitmapDataFromFile | sed 'y%./+-%__p_%'` | 5352 ac_lib_var=`echo Xmu'_'XmuReadBitmapDataFromFile | sed 'y%./+-%__p_%'` |
| 5349 | 5353 |
| 5350 xe_check_libs=" -lXmu " | 5354 xe_check_libs=" -lXmu " |
| 5351 cat > conftest.$ac_ext <<EOF | 5355 cat > conftest.$ac_ext <<EOF |
| 5352 #line 5353 "configure" | 5356 #line 5357 "configure" |
| 5353 #include "confdefs.h" | 5357 #include "confdefs.h" |
| 5354 /* Override any gcc2 internal prototype to avoid an error. */ | 5358 /* Override any gcc2 internal prototype to avoid an error. */ |
| 5355 /* We use char because int might match the return type of a gcc2 | 5359 /* We use char because int might match the return type of a gcc2 |
| 5356 builtin and then its argument prototype would still apply. */ | 5360 builtin and then its argument prototype would still apply. */ |
| 5357 char XmuReadBitmapDataFromFile(); | 5361 char XmuReadBitmapDataFromFile(); |
| 5358 | 5362 |
| 5359 int main() { | 5363 int main() { |
| 5360 XmuReadBitmapDataFromFile() | 5364 XmuReadBitmapDataFromFile() |
| 5361 ; return 0; } | 5365 ; return 0; } |
| 5362 EOF | 5366 EOF |
| 5363 if { (eval echo configure:5364: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 5367 if { (eval echo configure:5368: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 5364 rm -rf conftest* | 5368 rm -rf conftest* |
| 5365 eval "ac_cv_lib_$ac_lib_var=yes" | 5369 eval "ac_cv_lib_$ac_lib_var=yes" |
| 5366 else | 5370 else |
| 5367 echo "configure: failed program was:" >&5 | 5371 echo "configure: failed program was:" >&5 |
| 5368 cat conftest.$ac_ext >&5 | 5372 cat conftest.$ac_ext >&5 |
| 5379 echo "$ac_t""no" 1>&6 | 5383 echo "$ac_t""no" 1>&6 |
| 5380 with_xmu=no | 5384 with_xmu=no |
| 5381 fi | 5385 fi |
| 5382 | 5386 |
| 5383 } | 5387 } |
| 5384 if test "$with_xmu" = "no" | 5388 if test "$with_xmu" = "no"; then |
| 5385 then extra_objs="$extra_objs xmu.o" && if test "$extra_verbose" = "yes"; then | 5389 extra_objs="$extra_objs xmu.o" && if test "$extra_verbose" = "yes"; then |
| 5386 echo " xemacs will be linked with \"xmu.o\"" | 5390 echo " xemacs will be linked with \"xmu.o\"" |
| 5387 fi | 5391 fi |
| 5388 else libs_x="-lXmu $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXmu\" to \$libs_x"; fi | 5392 else |
| 5393 libs_x="-lXmu $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXmu\" to \$libs_x"; fi | |
| 5394 { test "$extra_verbose" = "yes" && cat << \EOF | |
| 5395 Defining HAVE_XMU | |
| 5396 EOF | |
| 5397 cat >> confdefs.h <<\EOF | |
| 5398 #define HAVE_XMU 1 | |
| 5399 EOF | |
| 5400 } | |
| 5401 | |
| 5389 fi | 5402 fi |
| 5390 | 5403 |
| 5391 | 5404 |
| 5392 echo $ac_n "checking for main in -lXbsd""... $ac_c" 1>&6 | 5405 echo $ac_n "checking for main in -lXbsd""... $ac_c" 1>&6 |
| 5393 echo "configure:5394: checking for main in -lXbsd" >&5 | 5406 echo "configure:5407: checking for main in -lXbsd" >&5 |
| 5394 ac_lib_var=`echo Xbsd'_'main | sed 'y%./+-%__p_%'` | 5407 ac_lib_var=`echo Xbsd'_'main | sed 'y%./+-%__p_%'` |
| 5395 | 5408 |
| 5396 xe_check_libs=" -lXbsd " | 5409 xe_check_libs=" -lXbsd " |
| 5397 cat > conftest.$ac_ext <<EOF | 5410 cat > conftest.$ac_ext <<EOF |
| 5398 #line 5399 "configure" | 5411 #line 5412 "configure" |
| 5399 #include "confdefs.h" | 5412 #include "confdefs.h" |
| 5400 | 5413 |
| 5401 int main() { | 5414 int main() { |
| 5402 main() | 5415 main() |
| 5403 ; return 0; } | 5416 ; return 0; } |
| 5404 EOF | 5417 EOF |
| 5405 if { (eval echo configure:5406: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 5418 if { (eval echo configure:5419: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 5406 rm -rf conftest* | 5419 rm -rf conftest* |
| 5407 eval "ac_cv_lib_$ac_lib_var=yes" | 5420 eval "ac_cv_lib_$ac_lib_var=yes" |
| 5408 else | 5421 else |
| 5409 echo "configure: failed program was:" >&5 | 5422 echo "configure: failed program was:" >&5 |
| 5410 cat conftest.$ac_ext >&5 | 5423 cat conftest.$ac_ext >&5 |
| 5423 | 5436 |
| 5424 | 5437 |
| 5425 | 5438 |
| 5426 | 5439 |
| 5427 echo $ac_n "checking for XawScrollbarSetThumb in -lXaw""... $ac_c" 1>&6 | 5440 echo $ac_n "checking for XawScrollbarSetThumb in -lXaw""... $ac_c" 1>&6 |
| 5428 echo "configure:5429: checking for XawScrollbarSetThumb in -lXaw" >&5 | 5441 echo "configure:5442: checking for XawScrollbarSetThumb in -lXaw" >&5 |
| 5429 ac_lib_var=`echo Xaw'_'XawScrollbarSetThumb | sed 'y%./+-%__p_%'` | 5442 ac_lib_var=`echo Xaw'_'XawScrollbarSetThumb | sed 'y%./+-%__p_%'` |
| 5430 | 5443 |
| 5431 xe_check_libs=" -lXaw " | 5444 xe_check_libs=" -lXaw " |
| 5432 cat > conftest.$ac_ext <<EOF | 5445 cat > conftest.$ac_ext <<EOF |
| 5433 #line 5434 "configure" | 5446 #line 5447 "configure" |
| 5434 #include "confdefs.h" | 5447 #include "confdefs.h" |
| 5435 /* Override any gcc2 internal prototype to avoid an error. */ | 5448 /* Override any gcc2 internal prototype to avoid an error. */ |
| 5436 /* We use char because int might match the return type of a gcc2 | 5449 /* We use char because int might match the return type of a gcc2 |
| 5437 builtin and then its argument prototype would still apply. */ | 5450 builtin and then its argument prototype would still apply. */ |
| 5438 char XawScrollbarSetThumb(); | 5451 char XawScrollbarSetThumb(); |
| 5439 | 5452 |
| 5440 int main() { | 5453 int main() { |
| 5441 XawScrollbarSetThumb() | 5454 XawScrollbarSetThumb() |
| 5442 ; return 0; } | 5455 ; return 0; } |
| 5443 EOF | 5456 EOF |
| 5444 if { (eval echo configure:5445: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 5457 if { (eval echo configure:5458: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 5445 rm -rf conftest* | 5458 rm -rf conftest* |
| 5446 eval "ac_cv_lib_$ac_lib_var=yes" | 5459 eval "ac_cv_lib_$ac_lib_var=yes" |
| 5447 else | 5460 else |
| 5448 echo "configure: failed program was:" >&5 | 5461 echo "configure: failed program was:" >&5 |
| 5449 cat conftest.$ac_ext >&5 | 5462 cat conftest.$ac_ext >&5 |
| 5463 | 5476 |
| 5464 | 5477 |
| 5465 if test "$have_xaw" = "yes"; then | 5478 if test "$have_xaw" = "yes"; then |
| 5466 ac_safe=`echo "X11/Xaw/Reports.h" | sed 'y%./+-%__p_%'` | 5479 ac_safe=`echo "X11/Xaw/Reports.h" | sed 'y%./+-%__p_%'` |
| 5467 echo $ac_n "checking for X11/Xaw/Reports.h""... $ac_c" 1>&6 | 5480 echo $ac_n "checking for X11/Xaw/Reports.h""... $ac_c" 1>&6 |
| 5468 echo "configure:5469: checking for X11/Xaw/Reports.h" >&5 | 5481 echo "configure:5482: checking for X11/Xaw/Reports.h" >&5 |
| 5469 | 5482 |
| 5470 cat > conftest.$ac_ext <<EOF | 5483 cat > conftest.$ac_ext <<EOF |
| 5471 #line 5472 "configure" | 5484 #line 5485 "configure" |
| 5472 #include "confdefs.h" | 5485 #include "confdefs.h" |
| 5473 #include <X11/Xaw/Reports.h> | 5486 #include <X11/Xaw/Reports.h> |
| 5474 EOF | 5487 EOF |
| 5475 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 5488 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 5476 { (eval echo configure:5477: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 5489 { (eval echo configure:5490: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 5477 ac_err=`grep -v '^ *+' conftest.out` | 5490 ac_err=`grep -v '^ *+' conftest.out` |
| 5478 if test -z "$ac_err"; then | 5491 if test -z "$ac_err"; then |
| 5479 rm -rf conftest* | 5492 rm -rf conftest* |
| 5480 eval "ac_cv_header_$ac_safe=yes" | 5493 eval "ac_cv_header_$ac_safe=yes" |
| 5481 else | 5494 else |
| 5528 test "$opsys" = "hpux9" && opsysfile="s/hpux9-x11r4.h" | 5541 test "$opsys" = "hpux9" && opsysfile="s/hpux9-x11r4.h" |
| 5529 test "$opsys" = "hpux9-shr" && opsysfile="s/hpux9shxr4.h" | 5542 test "$opsys" = "hpux9-shr" && opsysfile="s/hpux9shxr4.h" |
| 5530 esac | 5543 esac |
| 5531 | 5544 |
| 5532 echo "checking for session-management option" 1>&6 | 5545 echo "checking for session-management option" 1>&6 |
| 5533 echo "configure:5534: checking for session-management option" >&5; | 5546 echo "configure:5547: checking for session-management option" >&5; |
| 5534 if test "$with_session" != "no"; then | 5547 if test "$with_session" != "no"; then |
| 5535 { test "$extra_verbose" = "yes" && cat << \EOF | 5548 { test "$extra_verbose" = "yes" && cat << \EOF |
| 5536 Defining HAVE_SESSION | 5549 Defining HAVE_SESSION |
| 5537 EOF | 5550 EOF |
| 5538 cat >> confdefs.h <<\EOF | 5551 cat >> confdefs.h <<\EOF |
| 5543 fi | 5556 fi |
| 5544 | 5557 |
| 5545 test -z "$with_xauth" && test "$window_system" = "none" && with_xauth=no | 5558 test -z "$with_xauth" && test "$window_system" = "none" && with_xauth=no |
| 5546 test -z "$with_xauth" && { ac_safe=`echo "X11/Xauth.h" | sed 'y%./+-%__p_%'` | 5559 test -z "$with_xauth" && { ac_safe=`echo "X11/Xauth.h" | sed 'y%./+-%__p_%'` |
| 5547 echo $ac_n "checking for X11/Xauth.h""... $ac_c" 1>&6 | 5560 echo $ac_n "checking for X11/Xauth.h""... $ac_c" 1>&6 |
| 5548 echo "configure:5549: checking for X11/Xauth.h" >&5 | 5561 echo "configure:5562: checking for X11/Xauth.h" >&5 |
| 5549 | 5562 |
| 5550 cat > conftest.$ac_ext <<EOF | 5563 cat > conftest.$ac_ext <<EOF |
| 5551 #line 5552 "configure" | 5564 #line 5565 "configure" |
| 5552 #include "confdefs.h" | 5565 #include "confdefs.h" |
| 5553 #include <X11/Xauth.h> | 5566 #include <X11/Xauth.h> |
| 5554 EOF | 5567 EOF |
| 5555 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 5568 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 5556 { (eval echo configure:5557: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 5569 { (eval echo configure:5570: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 5557 ac_err=`grep -v '^ *+' conftest.out` | 5570 ac_err=`grep -v '^ *+' conftest.out` |
| 5558 if test -z "$ac_err"; then | 5571 if test -z "$ac_err"; then |
| 5559 rm -rf conftest* | 5572 rm -rf conftest* |
| 5560 eval "ac_cv_header_$ac_safe=yes" | 5573 eval "ac_cv_header_$ac_safe=yes" |
| 5561 else | 5574 else |
| 5574 with_xauth=no | 5587 with_xauth=no |
| 5575 fi | 5588 fi |
| 5576 } | 5589 } |
| 5577 test -z "$with_xauth" && { | 5590 test -z "$with_xauth" && { |
| 5578 echo $ac_n "checking for XauGetAuthByAddr in -lXau""... $ac_c" 1>&6 | 5591 echo $ac_n "checking for XauGetAuthByAddr in -lXau""... $ac_c" 1>&6 |
| 5579 echo "configure:5580: checking for XauGetAuthByAddr in -lXau" >&5 | 5592 echo "configure:5593: checking for XauGetAuthByAddr in -lXau" >&5 |
| 5580 ac_lib_var=`echo Xau'_'XauGetAuthByAddr | sed 'y%./+-%__p_%'` | 5593 ac_lib_var=`echo Xau'_'XauGetAuthByAddr | sed 'y%./+-%__p_%'` |
| 5581 | 5594 |
| 5582 xe_check_libs=" -lXau " | 5595 xe_check_libs=" -lXau " |
| 5583 cat > conftest.$ac_ext <<EOF | 5596 cat > conftest.$ac_ext <<EOF |
| 5584 #line 5585 "configure" | 5597 #line 5598 "configure" |
| 5585 #include "confdefs.h" | 5598 #include "confdefs.h" |
| 5586 /* Override any gcc2 internal prototype to avoid an error. */ | 5599 /* Override any gcc2 internal prototype to avoid an error. */ |
| 5587 /* We use char because int might match the return type of a gcc2 | 5600 /* We use char because int might match the return type of a gcc2 |
| 5588 builtin and then its argument prototype would still apply. */ | 5601 builtin and then its argument prototype would still apply. */ |
| 5589 char XauGetAuthByAddr(); | 5602 char XauGetAuthByAddr(); |
| 5590 | 5603 |
| 5591 int main() { | 5604 int main() { |
| 5592 XauGetAuthByAddr() | 5605 XauGetAuthByAddr() |
| 5593 ; return 0; } | 5606 ; return 0; } |
| 5594 EOF | 5607 EOF |
| 5595 if { (eval echo configure:5596: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 5608 if { (eval echo configure:5609: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 5596 rm -rf conftest* | 5609 rm -rf conftest* |
| 5597 eval "ac_cv_lib_$ac_lib_var=yes" | 5610 eval "ac_cv_lib_$ac_lib_var=yes" |
| 5598 else | 5611 else |
| 5599 echo "configure: failed program was:" >&5 | 5612 echo "configure: failed program was:" >&5 |
| 5600 cat conftest.$ac_ext >&5 | 5613 cat conftest.$ac_ext >&5 |
| 5631 fi | 5644 fi |
| 5632 | 5645 |
| 5633 | 5646 |
| 5634 test -z "$with_offix" && { ac_safe=`echo "OffiX/DragAndDrop.h" | sed 'y%./+-%__p_%'` | 5647 test -z "$with_offix" && { ac_safe=`echo "OffiX/DragAndDrop.h" | sed 'y%./+-%__p_%'` |
| 5635 echo $ac_n "checking for OffiX/DragAndDrop.h""... $ac_c" 1>&6 | 5648 echo $ac_n "checking for OffiX/DragAndDrop.h""... $ac_c" 1>&6 |
| 5636 echo "configure:5637: checking for OffiX/DragAndDrop.h" >&5 | 5649 echo "configure:5650: checking for OffiX/DragAndDrop.h" >&5 |
| 5637 | 5650 |
| 5638 cat > conftest.$ac_ext <<EOF | 5651 cat > conftest.$ac_ext <<EOF |
| 5639 #line 5640 "configure" | 5652 #line 5653 "configure" |
| 5640 #include "confdefs.h" | 5653 #include "confdefs.h" |
| 5641 #include <OffiX/DragAndDrop.h> | 5654 #include <OffiX/DragAndDrop.h> |
| 5642 EOF | 5655 EOF |
| 5643 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 5656 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 5644 { (eval echo configure:5645: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 5657 { (eval echo configure:5658: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 5645 ac_err=`grep -v '^ *+' conftest.out` | 5658 ac_err=`grep -v '^ *+' conftest.out` |
| 5646 if test -z "$ac_err"; then | 5659 if test -z "$ac_err"; then |
| 5647 rm -rf conftest* | 5660 rm -rf conftest* |
| 5648 eval "ac_cv_header_$ac_safe=yes" | 5661 eval "ac_cv_header_$ac_safe=yes" |
| 5649 else | 5662 else |
| 5662 with_offix=no | 5675 with_offix=no |
| 5663 fi | 5676 fi |
| 5664 } | 5677 } |
| 5665 test -z "$with_offix" && { | 5678 test -z "$with_offix" && { |
| 5666 echo $ac_n "checking for DndInitialize in -lDnd""... $ac_c" 1>&6 | 5679 echo $ac_n "checking for DndInitialize in -lDnd""... $ac_c" 1>&6 |
| 5667 echo "configure:5668: checking for DndInitialize in -lDnd" >&5 | 5680 echo "configure:5681: checking for DndInitialize in -lDnd" >&5 |
| 5668 ac_lib_var=`echo Dnd'_'DndInitialize | sed 'y%./+-%__p_%'` | 5681 ac_lib_var=`echo Dnd'_'DndInitialize | sed 'y%./+-%__p_%'` |
| 5669 | 5682 |
| 5670 xe_check_libs=" -lDnd " | 5683 xe_check_libs=" -lDnd " |
| 5671 cat > conftest.$ac_ext <<EOF | 5684 cat > conftest.$ac_ext <<EOF |
| 5672 #line 5673 "configure" | 5685 #line 5686 "configure" |
| 5673 #include "confdefs.h" | 5686 #include "confdefs.h" |
| 5674 /* Override any gcc2 internal prototype to avoid an error. */ | 5687 /* Override any gcc2 internal prototype to avoid an error. */ |
| 5675 /* We use char because int might match the return type of a gcc2 | 5688 /* We use char because int might match the return type of a gcc2 |
| 5676 builtin and then its argument prototype would still apply. */ | 5689 builtin and then its argument prototype would still apply. */ |
| 5677 char DndInitialize(); | 5690 char DndInitialize(); |
| 5678 | 5691 |
| 5679 int main() { | 5692 int main() { |
| 5680 DndInitialize() | 5693 DndInitialize() |
| 5681 ; return 0; } | 5694 ; return 0; } |
| 5682 EOF | 5695 EOF |
| 5683 if { (eval echo configure:5684: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 5696 if { (eval echo configure:5697: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 5684 rm -rf conftest* | 5697 rm -rf conftest* |
| 5685 eval "ac_cv_lib_$ac_lib_var=yes" | 5698 eval "ac_cv_lib_$ac_lib_var=yes" |
| 5686 else | 5699 else |
| 5687 echo "configure: failed program was:" >&5 | 5700 echo "configure: failed program was:" >&5 |
| 5688 cat conftest.$ac_ext >&5 | 5701 cat conftest.$ac_ext >&5 |
| 5717 test "$with_cde" = "yes" && with_tooltalk=yes # CDE requires tooltalk | 5730 test "$with_cde" = "yes" && with_tooltalk=yes # CDE requires tooltalk |
| 5718 if test "$with_tooltalk" != "no" ; then | 5731 if test "$with_tooltalk" != "no" ; then |
| 5719 for dir in "" "Tt/" "desktop/" ; do | 5732 for dir in "" "Tt/" "desktop/" ; do |
| 5720 ac_safe=`echo "${dir}tt_c.h" | sed 'y%./+-%__p_%'` | 5733 ac_safe=`echo "${dir}tt_c.h" | sed 'y%./+-%__p_%'` |
| 5721 echo $ac_n "checking for ${dir}tt_c.h""... $ac_c" 1>&6 | 5734 echo $ac_n "checking for ${dir}tt_c.h""... $ac_c" 1>&6 |
| 5722 echo "configure:5723: checking for ${dir}tt_c.h" >&5 | 5735 echo "configure:5736: checking for ${dir}tt_c.h" >&5 |
| 5723 | 5736 |
| 5724 cat > conftest.$ac_ext <<EOF | 5737 cat > conftest.$ac_ext <<EOF |
| 5725 #line 5726 "configure" | 5738 #line 5739 "configure" |
| 5726 #include "confdefs.h" | 5739 #include "confdefs.h" |
| 5727 #include <${dir}tt_c.h> | 5740 #include <${dir}tt_c.h> |
| 5728 EOF | 5741 EOF |
| 5729 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 5742 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 5730 { (eval echo configure:5731: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 5743 { (eval echo configure:5744: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 5731 ac_err=`grep -v '^ *+' conftest.out` | 5744 ac_err=`grep -v '^ *+' conftest.out` |
| 5732 if test -z "$ac_err"; then | 5745 if test -z "$ac_err"; then |
| 5733 rm -rf conftest* | 5746 rm -rf conftest* |
| 5734 eval "ac_cv_header_$ac_safe=yes" | 5747 eval "ac_cv_header_$ac_safe=yes" |
| 5735 else | 5748 else |
| 5754 for extra_libs in "" "-lI18N -lce" "-lcxx"; do | 5767 for extra_libs in "" "-lI18N -lce" "-lcxx"; do |
| 5755 | 5768 |
| 5756 xe_msg_checking="for tt_message_create in -ltt" | 5769 xe_msg_checking="for tt_message_create in -ltt" |
| 5757 test -n "$extra_libs" && xe_msg_checking="$xe_msg_checking using extra libs $extra_libs" | 5770 test -n "$extra_libs" && xe_msg_checking="$xe_msg_checking using extra libs $extra_libs" |
| 5758 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 5771 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
| 5759 echo "configure:5760: checking "$xe_msg_checking"" >&5 | 5772 echo "configure:5773: checking "$xe_msg_checking"" >&5 |
| 5760 ac_lib_var=`echo tt'_'tt_message_create | sed 'y%./+-%__p_%'` | 5773 ac_lib_var=`echo tt'_'tt_message_create | sed 'y%./+-%__p_%'` |
| 5761 | 5774 |
| 5762 xe_check_libs=" -ltt $extra_libs" | 5775 xe_check_libs=" -ltt $extra_libs" |
| 5763 cat > conftest.$ac_ext <<EOF | 5776 cat > conftest.$ac_ext <<EOF |
| 5764 #line 5765 "configure" | 5777 #line 5778 "configure" |
| 5765 #include "confdefs.h" | 5778 #include "confdefs.h" |
| 5766 /* Override any gcc2 internal prototype to avoid an error. */ | 5779 /* Override any gcc2 internal prototype to avoid an error. */ |
| 5767 /* We use char because int might match the return type of a gcc2 | 5780 /* We use char because int might match the return type of a gcc2 |
| 5768 builtin and then its argument prototype would still apply. */ | 5781 builtin and then its argument prototype would still apply. */ |
| 5769 char tt_message_create(); | 5782 char tt_message_create(); |
| 5770 | 5783 |
| 5771 int main() { | 5784 int main() { |
| 5772 tt_message_create() | 5785 tt_message_create() |
| 5773 ; return 0; } | 5786 ; return 0; } |
| 5774 EOF | 5787 EOF |
| 5775 if { (eval echo configure:5776: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 5788 if { (eval echo configure:5789: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 5776 rm -rf conftest* | 5789 rm -rf conftest* |
| 5777 eval "ac_cv_lib_$ac_lib_var=yes" | 5790 eval "ac_cv_lib_$ac_lib_var=yes" |
| 5778 else | 5791 else |
| 5779 echo "configure: failed program was:" >&5 | 5792 echo "configure: failed program was:" >&5 |
| 5780 cat conftest.$ac_ext >&5 | 5793 cat conftest.$ac_ext >&5 |
| 5819 fi | 5832 fi |
| 5820 fi | 5833 fi |
| 5821 | 5834 |
| 5822 test -z "$with_cde" && { ac_safe=`echo "Dt/Dt.h" | sed 'y%./+-%__p_%'` | 5835 test -z "$with_cde" && { ac_safe=`echo "Dt/Dt.h" | sed 'y%./+-%__p_%'` |
| 5823 echo $ac_n "checking for Dt/Dt.h""... $ac_c" 1>&6 | 5836 echo $ac_n "checking for Dt/Dt.h""... $ac_c" 1>&6 |
| 5824 echo "configure:5825: checking for Dt/Dt.h" >&5 | 5837 echo "configure:5838: checking for Dt/Dt.h" >&5 |
| 5825 | 5838 |
| 5826 cat > conftest.$ac_ext <<EOF | 5839 cat > conftest.$ac_ext <<EOF |
| 5827 #line 5828 "configure" | 5840 #line 5841 "configure" |
| 5828 #include "confdefs.h" | 5841 #include "confdefs.h" |
| 5829 #include <Dt/Dt.h> | 5842 #include <Dt/Dt.h> |
| 5830 EOF | 5843 EOF |
| 5831 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 5844 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 5832 { (eval echo configure:5833: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 5845 { (eval echo configure:5846: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 5833 ac_err=`grep -v '^ *+' conftest.out` | 5846 ac_err=`grep -v '^ *+' conftest.out` |
| 5834 if test -z "$ac_err"; then | 5847 if test -z "$ac_err"; then |
| 5835 rm -rf conftest* | 5848 rm -rf conftest* |
| 5836 eval "ac_cv_header_$ac_safe=yes" | 5849 eval "ac_cv_header_$ac_safe=yes" |
| 5837 else | 5850 else |
| 5850 with_cde=no | 5863 with_cde=no |
| 5851 fi | 5864 fi |
| 5852 } | 5865 } |
| 5853 test -z "$with_cde" && { | 5866 test -z "$with_cde" && { |
| 5854 echo $ac_n "checking for DtDndDragStart in -lDtSvc""... $ac_c" 1>&6 | 5867 echo $ac_n "checking for DtDndDragStart in -lDtSvc""... $ac_c" 1>&6 |
| 5855 echo "configure:5856: checking for DtDndDragStart in -lDtSvc" >&5 | 5868 echo "configure:5869: checking for DtDndDragStart in -lDtSvc" >&5 |
| 5856 ac_lib_var=`echo DtSvc'_'DtDndDragStart | sed 'y%./+-%__p_%'` | 5869 ac_lib_var=`echo DtSvc'_'DtDndDragStart | sed 'y%./+-%__p_%'` |
| 5857 | 5870 |
| 5858 xe_check_libs=" -lDtSvc " | 5871 xe_check_libs=" -lDtSvc " |
| 5859 cat > conftest.$ac_ext <<EOF | 5872 cat > conftest.$ac_ext <<EOF |
| 5860 #line 5861 "configure" | 5873 #line 5874 "configure" |
| 5861 #include "confdefs.h" | 5874 #include "confdefs.h" |
| 5862 /* Override any gcc2 internal prototype to avoid an error. */ | 5875 /* Override any gcc2 internal prototype to avoid an error. */ |
| 5863 /* We use char because int might match the return type of a gcc2 | 5876 /* We use char because int might match the return type of a gcc2 |
| 5864 builtin and then its argument prototype would still apply. */ | 5877 builtin and then its argument prototype would still apply. */ |
| 5865 char DtDndDragStart(); | 5878 char DtDndDragStart(); |
| 5866 | 5879 |
| 5867 int main() { | 5880 int main() { |
| 5868 DtDndDragStart() | 5881 DtDndDragStart() |
| 5869 ; return 0; } | 5882 ; return 0; } |
| 5870 EOF | 5883 EOF |
| 5871 if { (eval echo configure:5872: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 5884 if { (eval echo configure:5885: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 5872 rm -rf conftest* | 5885 rm -rf conftest* |
| 5873 eval "ac_cv_lib_$ac_lib_var=yes" | 5886 eval "ac_cv_lib_$ac_lib_var=yes" |
| 5874 else | 5887 else |
| 5875 echo "configure: failed program was:" >&5 | 5888 echo "configure: failed program was:" >&5 |
| 5876 cat conftest.$ac_ext >&5 | 5889 cat conftest.$ac_ext >&5 |
| 5913 EOF | 5926 EOF |
| 5914 } | 5927 } |
| 5915 | 5928 |
| 5916 | 5929 |
| 5917 echo $ac_n "checking for main in -lenergize""... $ac_c" 1>&6 | 5930 echo $ac_n "checking for main in -lenergize""... $ac_c" 1>&6 |
| 5918 echo "configure:5919: checking for main in -lenergize" >&5 | 5931 echo "configure:5932: checking for main in -lenergize" >&5 |
| 5919 ac_lib_var=`echo energize'_'main | sed 'y%./+-%__p_%'` | 5932 ac_lib_var=`echo energize'_'main | sed 'y%./+-%__p_%'` |
| 5920 | 5933 |
| 5921 xe_check_libs=" -lenergize " | 5934 xe_check_libs=" -lenergize " |
| 5922 cat > conftest.$ac_ext <<EOF | 5935 cat > conftest.$ac_ext <<EOF |
| 5923 #line 5924 "configure" | 5936 #line 5937 "configure" |
| 5924 #include "confdefs.h" | 5937 #include "confdefs.h" |
| 5925 | 5938 |
| 5926 int main() { | 5939 int main() { |
| 5927 main() | 5940 main() |
| 5928 ; return 0; } | 5941 ; return 0; } |
| 5929 EOF | 5942 EOF |
| 5930 if { (eval echo configure:5931: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 5943 if { (eval echo configure:5944: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 5931 rm -rf conftest* | 5944 rm -rf conftest* |
| 5932 eval "ac_cv_lib_$ac_lib_var=yes" | 5945 eval "ac_cv_lib_$ac_lib_var=yes" |
| 5933 else | 5946 else |
| 5934 echo "configure: failed program was:" >&5 | 5947 echo "configure: failed program was:" >&5 |
| 5935 cat conftest.$ac_ext >&5 | 5948 cat conftest.$ac_ext >&5 |
| 5957 | 5970 |
| 5958 | 5971 |
| 5959 if test -z "$energize_version"; then | 5972 if test -z "$energize_version"; then |
| 5960 | 5973 |
| 5961 echo $ac_n "checking for main in -lconn""... $ac_c" 1>&6 | 5974 echo $ac_n "checking for main in -lconn""... $ac_c" 1>&6 |
| 5962 echo "configure:5963: checking for main in -lconn" >&5 | 5975 echo "configure:5976: checking for main in -lconn" >&5 |
| 5963 ac_lib_var=`echo conn'_'main | sed 'y%./+-%__p_%'` | 5976 ac_lib_var=`echo conn'_'main | sed 'y%./+-%__p_%'` |
| 5964 | 5977 |
| 5965 xe_check_libs=" -lconn " | 5978 xe_check_libs=" -lconn " |
| 5966 cat > conftest.$ac_ext <<EOF | 5979 cat > conftest.$ac_ext <<EOF |
| 5967 #line 5968 "configure" | 5980 #line 5981 "configure" |
| 5968 #include "confdefs.h" | 5981 #include "confdefs.h" |
| 5969 | 5982 |
| 5970 int main() { | 5983 int main() { |
| 5971 main() | 5984 main() |
| 5972 ; return 0; } | 5985 ; return 0; } |
| 5973 EOF | 5986 EOF |
| 5974 if { (eval echo configure:5975: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 5987 if { (eval echo configure:5988: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 5975 rm -rf conftest* | 5988 rm -rf conftest* |
| 5976 eval "ac_cv_lib_$ac_lib_var=yes" | 5989 eval "ac_cv_lib_$ac_lib_var=yes" |
| 5977 else | 5990 else |
| 5978 echo "configure: failed program was:" >&5 | 5991 echo "configure: failed program was:" >&5 |
| 5979 cat conftest.$ac_ext >&5 | 5992 cat conftest.$ac_ext >&5 |
| 6002 | 6015 |
| 6003 | 6016 |
| 6004 fi | 6017 fi |
| 6005 ac_safe=`echo "editorconn.h" | sed 'y%./+-%__p_%'` | 6018 ac_safe=`echo "editorconn.h" | sed 'y%./+-%__p_%'` |
| 6006 echo $ac_n "checking for editorconn.h""... $ac_c" 1>&6 | 6019 echo $ac_n "checking for editorconn.h""... $ac_c" 1>&6 |
| 6007 echo "configure:6008: checking for editorconn.h" >&5 | 6020 echo "configure:6021: checking for editorconn.h" >&5 |
| 6008 | 6021 |
| 6009 cat > conftest.$ac_ext <<EOF | 6022 cat > conftest.$ac_ext <<EOF |
| 6010 #line 6011 "configure" | 6023 #line 6024 "configure" |
| 6011 #include "confdefs.h" | 6024 #include "confdefs.h" |
| 6012 #include <editorconn.h> | 6025 #include <editorconn.h> |
| 6013 EOF | 6026 EOF |
| 6014 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6027 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 6015 { (eval echo configure:6016: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6028 { (eval echo configure:6029: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 6016 ac_err=`grep -v '^ *+' conftest.out` | 6029 ac_err=`grep -v '^ *+' conftest.out` |
| 6017 if test -z "$ac_err"; then | 6030 if test -z "$ac_err"; then |
| 6018 rm -rf conftest* | 6031 rm -rf conftest* |
| 6019 eval "ac_cv_header_$ac_safe=yes" | 6032 eval "ac_cv_header_$ac_safe=yes" |
| 6020 else | 6033 else |
| 6052 | 6065 |
| 6053 fi | 6066 fi |
| 6054 | 6067 |
| 6055 | 6068 |
| 6056 echo "checking for graphics libraries" 1>&6 | 6069 echo "checking for graphics libraries" 1>&6 |
| 6057 echo "configure:6058: checking for graphics libraries" >&5 | 6070 echo "configure:6071: checking for graphics libraries" >&5 |
| 6058 test -z "$with_gif" && with_gif=yes; | 6071 test -z "$with_gif" && with_gif=yes; |
| 6059 if test "$with_gif" = "yes"; then | 6072 if test "$with_gif" = "yes"; then |
| 6060 { test "$extra_verbose" = "yes" && cat << \EOF | 6073 { test "$extra_verbose" = "yes" && cat << \EOF |
| 6061 Defining HAVE_GIF | 6074 Defining HAVE_GIF |
| 6062 EOF | 6075 EOF |
| 6069 echo " xemacs will be linked with \"dgif_lib.o gif_err.o gifalloc.o\"" | 6082 echo " xemacs will be linked with \"dgif_lib.o gif_err.o gifalloc.o\"" |
| 6070 fi | 6083 fi |
| 6071 fi | 6084 fi |
| 6072 | 6085 |
| 6073 echo $ac_n "checking for Xpm - no older than 3.4f""... $ac_c" 1>&6 | 6086 echo $ac_n "checking for Xpm - no older than 3.4f""... $ac_c" 1>&6 |
| 6074 echo "configure:6075: checking for Xpm - no older than 3.4f" >&5 | 6087 echo "configure:6088: checking for Xpm - no older than 3.4f" >&5 |
| 6075 xe_check_libs=-lXpm | 6088 xe_check_libs=-lXpm |
| 6076 test -z "$with_xpm" && { cat > conftest.$ac_ext <<EOF | 6089 test -z "$with_xpm" && { cat > conftest.$ac_ext <<EOF |
| 6077 #line 6078 "configure" | 6090 #line 6091 "configure" |
| 6078 #include "confdefs.h" | 6091 #include "confdefs.h" |
| 6079 #include <X11/xpm.h> | 6092 #include <X11/xpm.h> |
| 6080 int main(int c, char **v) { | 6093 int main(int c, char **v) { |
| 6081 return c == 1 ? 0 : | 6094 return c == 1 ? 0 : |
| 6082 XpmIncludeVersion != XpmLibraryVersion() ? 1 : | 6095 XpmIncludeVersion != XpmLibraryVersion() ? 1 : |
| 6083 XpmIncludeVersion < 30406 ? 2 : | 6096 XpmIncludeVersion < 30406 ? 2 : |
| 6084 0 ; | 6097 0 ; |
| 6085 } | 6098 } |
| 6086 EOF | 6099 EOF |
| 6087 if { (eval echo configure:6088: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 | 6100 if { (eval echo configure:6101: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 |
| 6088 then | 6101 then |
| 6089 ./conftest foobar; xpm_status=$?; | 6102 ./conftest foobar; xpm_status=$?; |
| 6090 if test "$xpm_status" = "0"; then with_xpm=yes; else with_xpm=no; fi; | 6103 if test "$xpm_status" = "0"; then with_xpm=yes; else with_xpm=no; fi; |
| 6091 else | 6104 else |
| 6092 echo "configure: failed program was:" >&5 | 6105 echo "configure: failed program was:" >&5 |
| 6120 libs_x="-lXpm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXpm\" to \$libs_x"; fi | 6133 libs_x="-lXpm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXpm\" to \$libs_x"; fi |
| 6121 fi | 6134 fi |
| 6122 | 6135 |
| 6123 test -z "$with_xface" && { ac_safe=`echo "compface.h" | sed 'y%./+-%__p_%'` | 6136 test -z "$with_xface" && { ac_safe=`echo "compface.h" | sed 'y%./+-%__p_%'` |
| 6124 echo $ac_n "checking for compface.h""... $ac_c" 1>&6 | 6137 echo $ac_n "checking for compface.h""... $ac_c" 1>&6 |
| 6125 echo "configure:6126: checking for compface.h" >&5 | 6138 echo "configure:6139: checking for compface.h" >&5 |
| 6126 | 6139 |
| 6127 cat > conftest.$ac_ext <<EOF | 6140 cat > conftest.$ac_ext <<EOF |
| 6128 #line 6129 "configure" | 6141 #line 6142 "configure" |
| 6129 #include "confdefs.h" | 6142 #include "confdefs.h" |
| 6130 #include <compface.h> | 6143 #include <compface.h> |
| 6131 EOF | 6144 EOF |
| 6132 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6145 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 6133 { (eval echo configure:6134: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6146 { (eval echo configure:6147: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 6134 ac_err=`grep -v '^ *+' conftest.out` | 6147 ac_err=`grep -v '^ *+' conftest.out` |
| 6135 if test -z "$ac_err"; then | 6148 if test -z "$ac_err"; then |
| 6136 rm -rf conftest* | 6149 rm -rf conftest* |
| 6137 eval "ac_cv_header_$ac_safe=yes" | 6150 eval "ac_cv_header_$ac_safe=yes" |
| 6138 else | 6151 else |
| 6151 with_xface=no | 6164 with_xface=no |
| 6152 fi | 6165 fi |
| 6153 } | 6166 } |
| 6154 test -z "$with_xface" && { | 6167 test -z "$with_xface" && { |
| 6155 echo $ac_n "checking for UnGenFace in -lcompface""... $ac_c" 1>&6 | 6168 echo $ac_n "checking for UnGenFace in -lcompface""... $ac_c" 1>&6 |
| 6156 echo "configure:6157: checking for UnGenFace in -lcompface" >&5 | 6169 echo "configure:6170: checking for UnGenFace in -lcompface" >&5 |
| 6157 ac_lib_var=`echo compface'_'UnGenFace | sed 'y%./+-%__p_%'` | 6170 ac_lib_var=`echo compface'_'UnGenFace | sed 'y%./+-%__p_%'` |
| 6158 | 6171 |
| 6159 xe_check_libs=" -lcompface " | 6172 xe_check_libs=" -lcompface " |
| 6160 cat > conftest.$ac_ext <<EOF | 6173 cat > conftest.$ac_ext <<EOF |
| 6161 #line 6162 "configure" | 6174 #line 6175 "configure" |
| 6162 #include "confdefs.h" | 6175 #include "confdefs.h" |
| 6163 /* Override any gcc2 internal prototype to avoid an error. */ | 6176 /* Override any gcc2 internal prototype to avoid an error. */ |
| 6164 /* We use char because int might match the return type of a gcc2 | 6177 /* We use char because int might match the return type of a gcc2 |
| 6165 builtin and then its argument prototype would still apply. */ | 6178 builtin and then its argument prototype would still apply. */ |
| 6166 char UnGenFace(); | 6179 char UnGenFace(); |
| 6167 | 6180 |
| 6168 int main() { | 6181 int main() { |
| 6169 UnGenFace() | 6182 UnGenFace() |
| 6170 ; return 0; } | 6183 ; return 0; } |
| 6171 EOF | 6184 EOF |
| 6172 if { (eval echo configure:6173: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 6185 if { (eval echo configure:6186: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 6173 rm -rf conftest* | 6186 rm -rf conftest* |
| 6174 eval "ac_cv_lib_$ac_lib_var=yes" | 6187 eval "ac_cv_lib_$ac_lib_var=yes" |
| 6175 else | 6188 else |
| 6176 echo "configure: failed program was:" >&5 | 6189 echo "configure: failed program was:" >&5 |
| 6177 cat conftest.$ac_ext >&5 | 6190 cat conftest.$ac_ext >&5 |
| 6203 libs_x="-lcompface $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lcompface\" to \$libs_x"; fi | 6216 libs_x="-lcompface $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lcompface\" to \$libs_x"; fi |
| 6204 fi | 6217 fi |
| 6205 | 6218 |
| 6206 test -z "$with_jpeg" && { ac_safe=`echo "jpeglib.h" | sed 'y%./+-%__p_%'` | 6219 test -z "$with_jpeg" && { ac_safe=`echo "jpeglib.h" | sed 'y%./+-%__p_%'` |
| 6207 echo $ac_n "checking for jpeglib.h""... $ac_c" 1>&6 | 6220 echo $ac_n "checking for jpeglib.h""... $ac_c" 1>&6 |
| 6208 echo "configure:6209: checking for jpeglib.h" >&5 | 6221 echo "configure:6222: checking for jpeglib.h" >&5 |
| 6209 | 6222 |
| 6210 cat > conftest.$ac_ext <<EOF | 6223 cat > conftest.$ac_ext <<EOF |
| 6211 #line 6212 "configure" | 6224 #line 6225 "configure" |
| 6212 #include "confdefs.h" | 6225 #include "confdefs.h" |
| 6213 #include <jpeglib.h> | 6226 #include <jpeglib.h> |
| 6214 EOF | 6227 EOF |
| 6215 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6228 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 6216 { (eval echo configure:6217: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6229 { (eval echo configure:6230: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 6217 ac_err=`grep -v '^ *+' conftest.out` | 6230 ac_err=`grep -v '^ *+' conftest.out` |
| 6218 if test -z "$ac_err"; then | 6231 if test -z "$ac_err"; then |
| 6219 rm -rf conftest* | 6232 rm -rf conftest* |
| 6220 eval "ac_cv_header_$ac_safe=yes" | 6233 eval "ac_cv_header_$ac_safe=yes" |
| 6221 else | 6234 else |
| 6234 with_jpeg=no | 6247 with_jpeg=no |
| 6235 fi | 6248 fi |
| 6236 } | 6249 } |
| 6237 test -z "$with_jpeg" && { | 6250 test -z "$with_jpeg" && { |
| 6238 echo $ac_n "checking for jpeg_destroy_decompress in -ljpeg""... $ac_c" 1>&6 | 6251 echo $ac_n "checking for jpeg_destroy_decompress in -ljpeg""... $ac_c" 1>&6 |
| 6239 echo "configure:6240: checking for jpeg_destroy_decompress in -ljpeg" >&5 | 6252 echo "configure:6253: checking for jpeg_destroy_decompress in -ljpeg" >&5 |
| 6240 ac_lib_var=`echo jpeg'_'jpeg_destroy_decompress | sed 'y%./+-%__p_%'` | 6253 ac_lib_var=`echo jpeg'_'jpeg_destroy_decompress | sed 'y%./+-%__p_%'` |
| 6241 | 6254 |
| 6242 xe_check_libs=" -ljpeg " | 6255 xe_check_libs=" -ljpeg " |
| 6243 cat > conftest.$ac_ext <<EOF | 6256 cat > conftest.$ac_ext <<EOF |
| 6244 #line 6245 "configure" | 6257 #line 6258 "configure" |
| 6245 #include "confdefs.h" | 6258 #include "confdefs.h" |
| 6246 /* Override any gcc2 internal prototype to avoid an error. */ | 6259 /* Override any gcc2 internal prototype to avoid an error. */ |
| 6247 /* We use char because int might match the return type of a gcc2 | 6260 /* We use char because int might match the return type of a gcc2 |
| 6248 builtin and then its argument prototype would still apply. */ | 6261 builtin and then its argument prototype would still apply. */ |
| 6249 char jpeg_destroy_decompress(); | 6262 char jpeg_destroy_decompress(); |
| 6250 | 6263 |
| 6251 int main() { | 6264 int main() { |
| 6252 jpeg_destroy_decompress() | 6265 jpeg_destroy_decompress() |
| 6253 ; return 0; } | 6266 ; return 0; } |
| 6254 EOF | 6267 EOF |
| 6255 if { (eval echo configure:6256: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 6268 if { (eval echo configure:6269: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 6256 rm -rf conftest* | 6269 rm -rf conftest* |
| 6257 eval "ac_cv_lib_$ac_lib_var=yes" | 6270 eval "ac_cv_lib_$ac_lib_var=yes" |
| 6258 else | 6271 else |
| 6259 echo "configure: failed program was:" >&5 | 6272 echo "configure: failed program was:" >&5 |
| 6260 cat conftest.$ac_ext >&5 | 6273 cat conftest.$ac_ext >&5 |
| 6286 libs_x="-ljpeg $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-ljpeg\" to \$libs_x"; fi | 6299 libs_x="-ljpeg $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-ljpeg\" to \$libs_x"; fi |
| 6287 fi | 6300 fi |
| 6288 | 6301 |
| 6289 test -z "$with_png" && { ac_safe=`echo "png.h" | sed 'y%./+-%__p_%'` | 6302 test -z "$with_png" && { ac_safe=`echo "png.h" | sed 'y%./+-%__p_%'` |
| 6290 echo $ac_n "checking for png.h""... $ac_c" 1>&6 | 6303 echo $ac_n "checking for png.h""... $ac_c" 1>&6 |
| 6291 echo "configure:6292: checking for png.h" >&5 | 6304 echo "configure:6305: checking for png.h" >&5 |
| 6292 | 6305 |
| 6293 cat > conftest.$ac_ext <<EOF | 6306 cat > conftest.$ac_ext <<EOF |
| 6294 #line 6295 "configure" | 6307 #line 6308 "configure" |
| 6295 #include "confdefs.h" | 6308 #include "confdefs.h" |
| 6296 #include <png.h> | 6309 #include <png.h> |
| 6297 EOF | 6310 EOF |
| 6298 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6311 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 6299 { (eval echo configure:6300: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6312 { (eval echo configure:6313: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 6300 ac_err=`grep -v '^ *+' conftest.out` | 6313 ac_err=`grep -v '^ *+' conftest.out` |
| 6301 if test -z "$ac_err"; then | 6314 if test -z "$ac_err"; then |
| 6302 rm -rf conftest* | 6315 rm -rf conftest* |
| 6303 eval "ac_cv_header_$ac_safe=yes" | 6316 eval "ac_cv_header_$ac_safe=yes" |
| 6304 else | 6317 else |
| 6316 echo "$ac_t""no" 1>&6 | 6329 echo "$ac_t""no" 1>&6 |
| 6317 with_png=no | 6330 with_png=no |
| 6318 fi | 6331 fi |
| 6319 } | 6332 } |
| 6320 test -z "$with_png" && { echo $ac_n "checking for pow""... $ac_c" 1>&6 | 6333 test -z "$with_png" && { echo $ac_n "checking for pow""... $ac_c" 1>&6 |
| 6321 echo "configure:6322: checking for pow" >&5 | 6334 echo "configure:6335: checking for pow" >&5 |
| 6322 | 6335 |
| 6323 cat > conftest.$ac_ext <<EOF | 6336 cat > conftest.$ac_ext <<EOF |
| 6324 #line 6325 "configure" | 6337 #line 6338 "configure" |
| 6325 #include "confdefs.h" | 6338 #include "confdefs.h" |
| 6326 /* System header to define __stub macros and hopefully few prototypes, | 6339 /* System header to define __stub macros and hopefully few prototypes, |
| 6327 which can conflict with char pow(); below. */ | 6340 which can conflict with char pow(); below. */ |
| 6328 #include <assert.h> | 6341 #include <assert.h> |
| 6329 /* Override any gcc2 internal prototype to avoid an error. */ | 6342 /* Override any gcc2 internal prototype to avoid an error. */ |
| 6342 pow(); | 6355 pow(); |
| 6343 #endif | 6356 #endif |
| 6344 | 6357 |
| 6345 ; return 0; } | 6358 ; return 0; } |
| 6346 EOF | 6359 EOF |
| 6347 if { (eval echo configure:6348: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 6360 if { (eval echo configure:6361: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 6348 rm -rf conftest* | 6361 rm -rf conftest* |
| 6349 eval "ac_cv_func_pow=yes" | 6362 eval "ac_cv_func_pow=yes" |
| 6350 else | 6363 else |
| 6351 echo "configure: failed program was:" >&5 | 6364 echo "configure: failed program was:" >&5 |
| 6352 cat conftest.$ac_ext >&5 | 6365 cat conftest.$ac_ext >&5 |
| 6367 for extra_libs in "" "-lz" "-lgz"; do | 6380 for extra_libs in "" "-lz" "-lgz"; do |
| 6368 | 6381 |
| 6369 xe_msg_checking="for png_read_image in -lpng" | 6382 xe_msg_checking="for png_read_image in -lpng" |
| 6370 test -n "$extra_libs" && xe_msg_checking="$xe_msg_checking using extra libs $extra_libs" | 6383 test -n "$extra_libs" && xe_msg_checking="$xe_msg_checking using extra libs $extra_libs" |
| 6371 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 6384 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
| 6372 echo "configure:6373: checking "$xe_msg_checking"" >&5 | 6385 echo "configure:6386: checking "$xe_msg_checking"" >&5 |
| 6373 ac_lib_var=`echo png'_'png_read_image | sed 'y%./+-%__p_%'` | 6386 ac_lib_var=`echo png'_'png_read_image | sed 'y%./+-%__p_%'` |
| 6374 | 6387 |
| 6375 xe_check_libs=" -lpng $extra_libs" | 6388 xe_check_libs=" -lpng $extra_libs" |
| 6376 cat > conftest.$ac_ext <<EOF | 6389 cat > conftest.$ac_ext <<EOF |
| 6377 #line 6378 "configure" | 6390 #line 6391 "configure" |
| 6378 #include "confdefs.h" | 6391 #include "confdefs.h" |
| 6379 /* Override any gcc2 internal prototype to avoid an error. */ | 6392 /* Override any gcc2 internal prototype to avoid an error. */ |
| 6380 /* We use char because int might match the return type of a gcc2 | 6393 /* We use char because int might match the return type of a gcc2 |
| 6381 builtin and then its argument prototype would still apply. */ | 6394 builtin and then its argument prototype would still apply. */ |
| 6382 char png_read_image(); | 6395 char png_read_image(); |
| 6383 | 6396 |
| 6384 int main() { | 6397 int main() { |
| 6385 png_read_image() | 6398 png_read_image() |
| 6386 ; return 0; } | 6399 ; return 0; } |
| 6387 EOF | 6400 EOF |
| 6388 if { (eval echo configure:6389: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 6401 if { (eval echo configure:6402: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 6389 rm -rf conftest* | 6402 rm -rf conftest* |
| 6390 eval "ac_cv_lib_$ac_lib_var=yes" | 6403 eval "ac_cv_lib_$ac_lib_var=yes" |
| 6391 else | 6404 else |
| 6392 echo "configure: failed program was:" >&5 | 6405 echo "configure: failed program was:" >&5 |
| 6393 cat conftest.$ac_ext >&5 | 6406 cat conftest.$ac_ext >&5 |
| 6433 libs_x="-ltiff $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-ltiff\" to \$libs_x"; fi | 6446 libs_x="-ltiff $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-ltiff\" to \$libs_x"; fi |
| 6434 fi | 6447 fi |
| 6435 | 6448 |
| 6436 ac_safe=`echo "Xm/Xm.h" | sed 'y%./+-%__p_%'` | 6449 ac_safe=`echo "Xm/Xm.h" | sed 'y%./+-%__p_%'` |
| 6437 echo $ac_n "checking for Xm/Xm.h""... $ac_c" 1>&6 | 6450 echo $ac_n "checking for Xm/Xm.h""... $ac_c" 1>&6 |
| 6438 echo "configure:6439: checking for Xm/Xm.h" >&5 | 6451 echo "configure:6452: checking for Xm/Xm.h" >&5 |
| 6439 | 6452 |
| 6440 cat > conftest.$ac_ext <<EOF | 6453 cat > conftest.$ac_ext <<EOF |
| 6441 #line 6442 "configure" | 6454 #line 6455 "configure" |
| 6442 #include "confdefs.h" | 6455 #include "confdefs.h" |
| 6443 #include <Xm/Xm.h> | 6456 #include <Xm/Xm.h> |
| 6444 EOF | 6457 EOF |
| 6445 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6458 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 6446 { (eval echo configure:6447: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6459 { (eval echo configure:6460: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 6447 ac_err=`grep -v '^ *+' conftest.out` | 6460 ac_err=`grep -v '^ *+' conftest.out` |
| 6448 if test -z "$ac_err"; then | 6461 if test -z "$ac_err"; then |
| 6449 rm -rf conftest* | 6462 rm -rf conftest* |
| 6450 eval "ac_cv_header_$ac_safe=yes" | 6463 eval "ac_cv_header_$ac_safe=yes" |
| 6451 else | 6464 else |
| 6458 rm -f conftest* | 6471 rm -f conftest* |
| 6459 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 6472 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
| 6460 echo "$ac_t""yes" 1>&6 | 6473 echo "$ac_t""yes" 1>&6 |
| 6461 | 6474 |
| 6462 echo $ac_n "checking for XmStringFree in -lXm""... $ac_c" 1>&6 | 6475 echo $ac_n "checking for XmStringFree in -lXm""... $ac_c" 1>&6 |
| 6463 echo "configure:6464: checking for XmStringFree in -lXm" >&5 | 6476 echo "configure:6477: checking for XmStringFree in -lXm" >&5 |
| 6464 ac_lib_var=`echo Xm'_'XmStringFree | sed 'y%./+-%__p_%'` | 6477 ac_lib_var=`echo Xm'_'XmStringFree | sed 'y%./+-%__p_%'` |
| 6465 | 6478 |
| 6466 xe_check_libs=" -lXm " | 6479 xe_check_libs=" -lXm " |
| 6467 cat > conftest.$ac_ext <<EOF | 6480 cat > conftest.$ac_ext <<EOF |
| 6468 #line 6469 "configure" | 6481 #line 6482 "configure" |
| 6469 #include "confdefs.h" | 6482 #include "confdefs.h" |
| 6470 /* Override any gcc2 internal prototype to avoid an error. */ | 6483 /* Override any gcc2 internal prototype to avoid an error. */ |
| 6471 /* We use char because int might match the return type of a gcc2 | 6484 /* We use char because int might match the return type of a gcc2 |
| 6472 builtin and then its argument prototype would still apply. */ | 6485 builtin and then its argument prototype would still apply. */ |
| 6473 char XmStringFree(); | 6486 char XmStringFree(); |
| 6474 | 6487 |
| 6475 int main() { | 6488 int main() { |
| 6476 XmStringFree() | 6489 XmStringFree() |
| 6477 ; return 0; } | 6490 ; return 0; } |
| 6478 EOF | 6491 EOF |
| 6479 if { (eval echo configure:6480: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 6492 if { (eval echo configure:6493: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 6480 rm -rf conftest* | 6493 rm -rf conftest* |
| 6481 eval "ac_cv_lib_$ac_lib_var=yes" | 6494 eval "ac_cv_lib_$ac_lib_var=yes" |
| 6482 else | 6495 else |
| 6483 echo "configure: failed program was:" >&5 | 6496 echo "configure: failed program was:" >&5 |
| 6484 cat conftest.$ac_ext >&5 | 6497 cat conftest.$ac_ext >&5 |
| 6722 | 6735 |
| 6723 test -z "$with_mule" && with_mule=no | 6736 test -z "$with_mule" && with_mule=no |
| 6724 | 6737 |
| 6725 if test "$with_mule" = "yes" ; then | 6738 if test "$with_mule" = "yes" ; then |
| 6726 echo "checking for Mule-related features" 1>&6 | 6739 echo "checking for Mule-related features" 1>&6 |
| 6727 echo "configure:6728: checking for Mule-related features" >&5 | 6740 echo "configure:6741: checking for Mule-related features" >&5 |
| 6728 { test "$extra_verbose" = "yes" && cat << \EOF | 6741 { test "$extra_verbose" = "yes" && cat << \EOF |
| 6729 Defining MULE | 6742 Defining MULE |
| 6730 EOF | 6743 EOF |
| 6731 cat >> confdefs.h <<\EOF | 6744 cat >> confdefs.h <<\EOF |
| 6732 #define MULE 1 | 6745 #define MULE 1 |
| 6739 | 6752 |
| 6740 for ac_hdr in libintl.h | 6753 for ac_hdr in libintl.h |
| 6741 do | 6754 do |
| 6742 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 6755 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
| 6743 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 6756 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
| 6744 echo "configure:6745: checking for $ac_hdr" >&5 | 6757 echo "configure:6758: checking for $ac_hdr" >&5 |
| 6745 | 6758 |
| 6746 cat > conftest.$ac_ext <<EOF | 6759 cat > conftest.$ac_ext <<EOF |
| 6747 #line 6748 "configure" | 6760 #line 6761 "configure" |
| 6748 #include "confdefs.h" | 6761 #include "confdefs.h" |
| 6749 #include <$ac_hdr> | 6762 #include <$ac_hdr> |
| 6750 EOF | 6763 EOF |
| 6751 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6764 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 6752 { (eval echo configure:6753: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6765 { (eval echo configure:6766: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 6753 ac_err=`grep -v '^ *+' conftest.out` | 6766 ac_err=`grep -v '^ *+' conftest.out` |
| 6754 if test -z "$ac_err"; then | 6767 if test -z "$ac_err"; then |
| 6755 rm -rf conftest* | 6768 rm -rf conftest* |
| 6756 eval "ac_cv_header_$ac_safe=yes" | 6769 eval "ac_cv_header_$ac_safe=yes" |
| 6757 else | 6770 else |
| 6778 fi | 6791 fi |
| 6779 done | 6792 done |
| 6780 | 6793 |
| 6781 | 6794 |
| 6782 echo $ac_n "checking for strerror in -lintl""... $ac_c" 1>&6 | 6795 echo $ac_n "checking for strerror in -lintl""... $ac_c" 1>&6 |
| 6783 echo "configure:6784: checking for strerror in -lintl" >&5 | 6796 echo "configure:6797: checking for strerror in -lintl" >&5 |
| 6784 ac_lib_var=`echo intl'_'strerror | sed 'y%./+-%__p_%'` | 6797 ac_lib_var=`echo intl'_'strerror | sed 'y%./+-%__p_%'` |
| 6785 | 6798 |
| 6786 xe_check_libs=" -lintl " | 6799 xe_check_libs=" -lintl " |
| 6787 cat > conftest.$ac_ext <<EOF | 6800 cat > conftest.$ac_ext <<EOF |
| 6788 #line 6789 "configure" | 6801 #line 6802 "configure" |
| 6789 #include "confdefs.h" | 6802 #include "confdefs.h" |
| 6790 /* Override any gcc2 internal prototype to avoid an error. */ | 6803 /* Override any gcc2 internal prototype to avoid an error. */ |
| 6791 /* We use char because int might match the return type of a gcc2 | 6804 /* We use char because int might match the return type of a gcc2 |
| 6792 builtin and then its argument prototype would still apply. */ | 6805 builtin and then its argument prototype would still apply. */ |
| 6793 char strerror(); | 6806 char strerror(); |
| 6794 | 6807 |
| 6795 int main() { | 6808 int main() { |
| 6796 strerror() | 6809 strerror() |
| 6797 ; return 0; } | 6810 ; return 0; } |
| 6798 EOF | 6811 EOF |
| 6799 if { (eval echo configure:6800: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 6812 if { (eval echo configure:6813: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 6800 rm -rf conftest* | 6813 rm -rf conftest* |
| 6801 eval "ac_cv_lib_$ac_lib_var=yes" | 6814 eval "ac_cv_lib_$ac_lib_var=yes" |
| 6802 else | 6815 else |
| 6803 echo "configure: failed program was:" >&5 | 6816 echo "configure: failed program was:" >&5 |
| 6804 cat conftest.$ac_ext >&5 | 6817 cat conftest.$ac_ext >&5 |
| 6827 fi | 6840 fi |
| 6828 | 6841 |
| 6829 | 6842 |
| 6830 | 6843 |
| 6831 echo "checking for Mule input methods" 1>&6 | 6844 echo "checking for Mule input methods" 1>&6 |
| 6832 echo "configure:6833: checking for Mule input methods" >&5 | 6845 echo "configure:6846: checking for Mule input methods" >&5 |
| 6833 test -z "$with_xim" -a "$opsys" != "sol2" && with_xim=no | 6846 test -z "$with_xim" -a "$opsys" != "sol2" && with_xim=no |
| 6834 case "$with_xim" in "" | "yes" ) | 6847 case "$with_xim" in "" | "yes" ) |
| 6835 echo "checking for XIM" 1>&6 | 6848 echo "checking for XIM" 1>&6 |
| 6836 echo "configure:6837: checking for XIM" >&5 | 6849 echo "configure:6850: checking for XIM" >&5 |
| 6837 | 6850 |
| 6838 echo $ac_n "checking for XmImMbLookupString in -lXm""... $ac_c" 1>&6 | 6851 echo $ac_n "checking for XmImMbLookupString in -lXm""... $ac_c" 1>&6 |
| 6839 echo "configure:6840: checking for XmImMbLookupString in -lXm" >&5 | 6852 echo "configure:6853: checking for XmImMbLookupString in -lXm" >&5 |
| 6840 ac_lib_var=`echo Xm'_'XmImMbLookupString | sed 'y%./+-%__p_%'` | 6853 ac_lib_var=`echo Xm'_'XmImMbLookupString | sed 'y%./+-%__p_%'` |
| 6841 | 6854 |
| 6842 xe_check_libs=" -lXm " | 6855 xe_check_libs=" -lXm " |
| 6843 cat > conftest.$ac_ext <<EOF | 6856 cat > conftest.$ac_ext <<EOF |
| 6844 #line 6845 "configure" | 6857 #line 6858 "configure" |
| 6845 #include "confdefs.h" | 6858 #include "confdefs.h" |
| 6846 /* Override any gcc2 internal prototype to avoid an error. */ | 6859 /* Override any gcc2 internal prototype to avoid an error. */ |
| 6847 /* We use char because int might match the return type of a gcc2 | 6860 /* We use char because int might match the return type of a gcc2 |
| 6848 builtin and then its argument prototype would still apply. */ | 6861 builtin and then its argument prototype would still apply. */ |
| 6849 char XmImMbLookupString(); | 6862 char XmImMbLookupString(); |
| 6850 | 6863 |
| 6851 int main() { | 6864 int main() { |
| 6852 XmImMbLookupString() | 6865 XmImMbLookupString() |
| 6853 ; return 0; } | 6866 ; return 0; } |
| 6854 EOF | 6867 EOF |
| 6855 if { (eval echo configure:6856: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 6868 if { (eval echo configure:6869: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 6856 rm -rf conftest* | 6869 rm -rf conftest* |
| 6857 eval "ac_cv_lib_$ac_lib_var=yes" | 6870 eval "ac_cv_lib_$ac_lib_var=yes" |
| 6858 else | 6871 else |
| 6859 echo "configure: failed program was:" >&5 | 6872 echo "configure: failed program was:" >&5 |
| 6860 cat conftest.$ac_ext >&5 | 6873 cat conftest.$ac_ext >&5 |
| 6913 if test "$with_xfs" = "yes"; then | 6926 if test "$with_xfs" = "yes"; then |
| 6914 with_xfs=no | 6927 with_xfs=no |
| 6915 fi | 6928 fi |
| 6916 else case "$with_xfs" in "yes" ) | 6929 else case "$with_xfs" in "yes" ) |
| 6917 echo "checking for XFontSet" 1>&6 | 6930 echo "checking for XFontSet" 1>&6 |
| 6918 echo "configure:6919: checking for XFontSet" >&5 | 6931 echo "configure:6932: checking for XFontSet" >&5 |
| 6919 | 6932 |
| 6920 echo $ac_n "checking for XmbDrawString in -lX11""... $ac_c" 1>&6 | 6933 echo $ac_n "checking for XmbDrawString in -lX11""... $ac_c" 1>&6 |
| 6921 echo "configure:6922: checking for XmbDrawString in -lX11" >&5 | 6934 echo "configure:6935: checking for XmbDrawString in -lX11" >&5 |
| 6922 ac_lib_var=`echo X11'_'XmbDrawString | sed 'y%./+-%__p_%'` | 6935 ac_lib_var=`echo X11'_'XmbDrawString | sed 'y%./+-%__p_%'` |
| 6923 | 6936 |
| 6924 xe_check_libs=" -lX11 " | 6937 xe_check_libs=" -lX11 " |
| 6925 cat > conftest.$ac_ext <<EOF | 6938 cat > conftest.$ac_ext <<EOF |
| 6926 #line 6927 "configure" | 6939 #line 6940 "configure" |
| 6927 #include "confdefs.h" | 6940 #include "confdefs.h" |
| 6928 /* Override any gcc2 internal prototype to avoid an error. */ | 6941 /* Override any gcc2 internal prototype to avoid an error. */ |
| 6929 /* We use char because int might match the return type of a gcc2 | 6942 /* We use char because int might match the return type of a gcc2 |
| 6930 builtin and then its argument prototype would still apply. */ | 6943 builtin and then its argument prototype would still apply. */ |
| 6931 char XmbDrawString(); | 6944 char XmbDrawString(); |
| 6932 | 6945 |
| 6933 int main() { | 6946 int main() { |
| 6934 XmbDrawString() | 6947 XmbDrawString() |
| 6935 ; return 0; } | 6948 ; return 0; } |
| 6936 EOF | 6949 EOF |
| 6937 if { (eval echo configure:6938: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 6950 if { (eval echo configure:6951: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 6938 rm -rf conftest* | 6951 rm -rf conftest* |
| 6939 eval "ac_cv_lib_$ac_lib_var=yes" | 6952 eval "ac_cv_lib_$ac_lib_var=yes" |
| 6940 else | 6953 else |
| 6941 echo "configure: failed program was:" >&5 | 6954 echo "configure: failed program was:" >&5 |
| 6942 cat conftest.$ac_ext >&5 | 6955 cat conftest.$ac_ext >&5 |
| 6971 fi | 6984 fi |
| 6972 fi | 6985 fi |
| 6973 test "$with_wnn6" = "yes" && with_wnn=yes # wnn6 implies wnn support | 6986 test "$with_wnn6" = "yes" && with_wnn=yes # wnn6 implies wnn support |
| 6974 test -z "$with_wnn" && { ac_safe=`echo "wnn/jllib.h" | sed 'y%./+-%__p_%'` | 6987 test -z "$with_wnn" && { ac_safe=`echo "wnn/jllib.h" | sed 'y%./+-%__p_%'` |
| 6975 echo $ac_n "checking for wnn/jllib.h""... $ac_c" 1>&6 | 6988 echo $ac_n "checking for wnn/jllib.h""... $ac_c" 1>&6 |
| 6976 echo "configure:6977: checking for wnn/jllib.h" >&5 | 6989 echo "configure:6990: checking for wnn/jllib.h" >&5 |
| 6977 | 6990 |
| 6978 cat > conftest.$ac_ext <<EOF | 6991 cat > conftest.$ac_ext <<EOF |
| 6979 #line 6980 "configure" | 6992 #line 6993 "configure" |
| 6980 #include "confdefs.h" | 6993 #include "confdefs.h" |
| 6981 #include <wnn/jllib.h> | 6994 #include <wnn/jllib.h> |
| 6982 EOF | 6995 EOF |
| 6983 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" |
| 6984 { (eval echo configure:6985: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6997 { (eval echo configure:6998: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 6985 ac_err=`grep -v '^ *+' conftest.out` | 6998 ac_err=`grep -v '^ *+' conftest.out` |
| 6986 if test -z "$ac_err"; then | 6999 if test -z "$ac_err"; then |
| 6987 rm -rf conftest* | 7000 rm -rf conftest* |
| 6988 eval "ac_cv_header_$ac_safe=yes" | 7001 eval "ac_cv_header_$ac_safe=yes" |
| 6989 else | 7002 else |
| 7004 } | 7017 } |
| 7005 if test "$with_wnn" != "no"; then | 7018 if test "$with_wnn" != "no"; then |
| 7006 for ac_func in crypt | 7019 for ac_func in crypt |
| 7007 do | 7020 do |
| 7008 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 7021 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
| 7009 echo "configure:7010: checking for $ac_func" >&5 | 7022 echo "configure:7023: checking for $ac_func" >&5 |
| 7010 | 7023 |
| 7011 cat > conftest.$ac_ext <<EOF | 7024 cat > conftest.$ac_ext <<EOF |
| 7012 #line 7013 "configure" | 7025 #line 7026 "configure" |
| 7013 #include "confdefs.h" | 7026 #include "confdefs.h" |
| 7014 /* System header to define __stub macros and hopefully few prototypes, | 7027 /* System header to define __stub macros and hopefully few prototypes, |
| 7015 which can conflict with char $ac_func(); below. */ | 7028 which can conflict with char $ac_func(); below. */ |
| 7016 #include <assert.h> | 7029 #include <assert.h> |
| 7017 /* Override any gcc2 internal prototype to avoid an error. */ | 7030 /* Override any gcc2 internal prototype to avoid an error. */ |
| 7030 $ac_func(); | 7043 $ac_func(); |
| 7031 #endif | 7044 #endif |
| 7032 | 7045 |
| 7033 ; return 0; } | 7046 ; return 0; } |
| 7034 EOF | 7047 EOF |
| 7035 if { (eval echo configure:7036: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 7048 if { (eval echo configure:7049: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 7036 rm -rf conftest* | 7049 rm -rf conftest* |
| 7037 eval "ac_cv_func_$ac_func=yes" | 7050 eval "ac_cv_func_$ac_func=yes" |
| 7038 else | 7051 else |
| 7039 echo "configure: failed program was:" >&5 | 7052 echo "configure: failed program was:" >&5 |
| 7040 cat conftest.$ac_ext >&5 | 7053 cat conftest.$ac_ext >&5 |
| 7059 fi | 7072 fi |
| 7060 done | 7073 done |
| 7061 | 7074 |
| 7062 test "$ac_cv_func_crypt" != "yes" && { | 7075 test "$ac_cv_func_crypt" != "yes" && { |
| 7063 echo $ac_n "checking for crypt in -lcrypt""... $ac_c" 1>&6 | 7076 echo $ac_n "checking for crypt in -lcrypt""... $ac_c" 1>&6 |
| 7064 echo "configure:7065: checking for crypt in -lcrypt" >&5 | 7077 echo "configure:7078: checking for crypt in -lcrypt" >&5 |
| 7065 ac_lib_var=`echo crypt'_'crypt | sed 'y%./+-%__p_%'` | 7078 ac_lib_var=`echo crypt'_'crypt | sed 'y%./+-%__p_%'` |
| 7066 | 7079 |
| 7067 xe_check_libs=" -lcrypt " | 7080 xe_check_libs=" -lcrypt " |
| 7068 cat > conftest.$ac_ext <<EOF | 7081 cat > conftest.$ac_ext <<EOF |
| 7069 #line 7070 "configure" | 7082 #line 7083 "configure" |
| 7070 #include "confdefs.h" | 7083 #include "confdefs.h" |
| 7071 /* Override any gcc2 internal prototype to avoid an error. */ | 7084 /* Override any gcc2 internal prototype to avoid an error. */ |
| 7072 /* We use char because int might match the return type of a gcc2 | 7085 /* We use char because int might match the return type of a gcc2 |
| 7073 builtin and then its argument prototype would still apply. */ | 7086 builtin and then its argument prototype would still apply. */ |
| 7074 char crypt(); | 7087 char crypt(); |
| 7075 | 7088 |
| 7076 int main() { | 7089 int main() { |
| 7077 crypt() | 7090 crypt() |
| 7078 ; return 0; } | 7091 ; return 0; } |
| 7079 EOF | 7092 EOF |
| 7080 if { (eval echo configure:7081: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 7093 if { (eval echo configure:7094: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 7081 rm -rf conftest* | 7094 rm -rf conftest* |
| 7082 eval "ac_cv_lib_$ac_lib_var=yes" | 7095 eval "ac_cv_lib_$ac_lib_var=yes" |
| 7083 else | 7096 else |
| 7084 echo "configure: failed program was:" >&5 | 7097 echo "configure: failed program was:" >&5 |
| 7085 cat conftest.$ac_ext >&5 | 7098 cat conftest.$ac_ext >&5 |
| 7109 | 7122 |
| 7110 } | 7123 } |
| 7111 fi | 7124 fi |
| 7112 test -z "$with_wnn" && { | 7125 test -z "$with_wnn" && { |
| 7113 echo $ac_n "checking for jl_dic_list_e in -lwnn""... $ac_c" 1>&6 | 7126 echo $ac_n "checking for jl_dic_list_e in -lwnn""... $ac_c" 1>&6 |
| 7114 echo "configure:7115: checking for jl_dic_list_e in -lwnn" >&5 | 7127 echo "configure:7128: checking for jl_dic_list_e in -lwnn" >&5 |
| 7115 ac_lib_var=`echo wnn'_'jl_dic_list_e | sed 'y%./+-%__p_%'` | 7128 ac_lib_var=`echo wnn'_'jl_dic_list_e | sed 'y%./+-%__p_%'` |
| 7116 | 7129 |
| 7117 xe_check_libs=" -lwnn " | 7130 xe_check_libs=" -lwnn " |
| 7118 cat > conftest.$ac_ext <<EOF | 7131 cat > conftest.$ac_ext <<EOF |
| 7119 #line 7120 "configure" | 7132 #line 7133 "configure" |
| 7120 #include "confdefs.h" | 7133 #include "confdefs.h" |
| 7121 /* Override any gcc2 internal prototype to avoid an error. */ | 7134 /* Override any gcc2 internal prototype to avoid an error. */ |
| 7122 /* We use char because int might match the return type of a gcc2 | 7135 /* We use char because int might match the return type of a gcc2 |
| 7123 builtin and then its argument prototype would still apply. */ | 7136 builtin and then its argument prototype would still apply. */ |
| 7124 char jl_dic_list_e(); | 7137 char jl_dic_list_e(); |
| 7125 | 7138 |
| 7126 int main() { | 7139 int main() { |
| 7127 jl_dic_list_e() | 7140 jl_dic_list_e() |
| 7128 ; return 0; } | 7141 ; return 0; } |
| 7129 EOF | 7142 EOF |
| 7130 if { (eval echo configure:7131: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 7143 if { (eval echo configure:7144: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 7131 rm -rf conftest* | 7144 rm -rf conftest* |
| 7132 eval "ac_cv_lib_$ac_lib_var=yes" | 7145 eval "ac_cv_lib_$ac_lib_var=yes" |
| 7133 else | 7146 else |
| 7134 echo "configure: failed program was:" >&5 | 7147 echo "configure: failed program was:" >&5 |
| 7135 cat conftest.$ac_ext >&5 | 7148 cat conftest.$ac_ext >&5 |
| 7162 extra_objs="$extra_objs mule-wnnfns.o" && if test "$extra_verbose" = "yes"; then | 7175 extra_objs="$extra_objs mule-wnnfns.o" && if test "$extra_verbose" = "yes"; then |
| 7163 echo " xemacs will be linked with \"mule-wnnfns.o\"" | 7176 echo " xemacs will be linked with \"mule-wnnfns.o\"" |
| 7164 fi | 7177 fi |
| 7165 | 7178 |
| 7166 echo $ac_n "checking for jl_fi_dic_list in -lwnn""... $ac_c" 1>&6 | 7179 echo $ac_n "checking for jl_fi_dic_list in -lwnn""... $ac_c" 1>&6 |
| 7167 echo "configure:7168: checking for jl_fi_dic_list in -lwnn" >&5 | 7180 echo "configure:7181: checking for jl_fi_dic_list in -lwnn" >&5 |
| 7168 ac_lib_var=`echo wnn'_'jl_fi_dic_list | sed 'y%./+-%__p_%'` | 7181 ac_lib_var=`echo wnn'_'jl_fi_dic_list | sed 'y%./+-%__p_%'` |
| 7169 | 7182 |
| 7170 xe_check_libs=" -lwnn " | 7183 xe_check_libs=" -lwnn " |
| 7171 cat > conftest.$ac_ext <<EOF | 7184 cat > conftest.$ac_ext <<EOF |
| 7172 #line 7173 "configure" | 7185 #line 7186 "configure" |
| 7173 #include "confdefs.h" | 7186 #include "confdefs.h" |
| 7174 /* Override any gcc2 internal prototype to avoid an error. */ | 7187 /* Override any gcc2 internal prototype to avoid an error. */ |
| 7175 /* We use char because int might match the return type of a gcc2 | 7188 /* We use char because int might match the return type of a gcc2 |
| 7176 builtin and then its argument prototype would still apply. */ | 7189 builtin and then its argument prototype would still apply. */ |
| 7177 char jl_fi_dic_list(); | 7190 char jl_fi_dic_list(); |
| 7178 | 7191 |
| 7179 int main() { | 7192 int main() { |
| 7180 jl_fi_dic_list() | 7193 jl_fi_dic_list() |
| 7181 ; return 0; } | 7194 ; return 0; } |
| 7182 EOF | 7195 EOF |
| 7183 if { (eval echo configure:7184: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 7196 if { (eval echo configure:7197: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 7184 rm -rf conftest* | 7197 rm -rf conftest* |
| 7185 eval "ac_cv_lib_$ac_lib_var=yes" | 7198 eval "ac_cv_lib_$ac_lib_var=yes" |
| 7186 else | 7199 else |
| 7187 echo "configure: failed program was:" >&5 | 7200 echo "configure: failed program was:" >&5 |
| 7188 cat conftest.$ac_ext >&5 | 7201 cat conftest.$ac_ext >&5 |
| 7210 | 7223 |
| 7211 fi | 7224 fi |
| 7212 | 7225 |
| 7213 test -z "$with_canna" && { ac_safe=`echo "canna/RK.h" | sed 'y%./+-%__p_%'` | 7226 test -z "$with_canna" && { ac_safe=`echo "canna/RK.h" | sed 'y%./+-%__p_%'` |
| 7214 echo $ac_n "checking for canna/RK.h""... $ac_c" 1>&6 | 7227 echo $ac_n "checking for canna/RK.h""... $ac_c" 1>&6 |
| 7215 echo "configure:7216: checking for canna/RK.h" >&5 | 7228 echo "configure:7229: checking for canna/RK.h" >&5 |
| 7216 | 7229 |
| 7217 cat > conftest.$ac_ext <<EOF | 7230 cat > conftest.$ac_ext <<EOF |
| 7218 #line 7219 "configure" | 7231 #line 7232 "configure" |
| 7219 #include "confdefs.h" | 7232 #include "confdefs.h" |
| 7220 #include <canna/RK.h> | 7233 #include <canna/RK.h> |
| 7221 EOF | 7234 EOF |
| 7222 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7235 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 7223 { (eval echo configure:7224: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7236 { (eval echo configure:7237: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 7224 ac_err=`grep -v '^ *+' conftest.out` | 7237 ac_err=`grep -v '^ *+' conftest.out` |
| 7225 if test -z "$ac_err"; then | 7238 if test -z "$ac_err"; then |
| 7226 rm -rf conftest* | 7239 rm -rf conftest* |
| 7227 eval "ac_cv_header_$ac_safe=yes" | 7240 eval "ac_cv_header_$ac_safe=yes" |
| 7228 else | 7241 else |
| 7241 with_canna=no | 7254 with_canna=no |
| 7242 fi | 7255 fi |
| 7243 } | 7256 } |
| 7244 test -z "$with_canna" && { | 7257 test -z "$with_canna" && { |
| 7245 echo $ac_n "checking for RkBgnBun in -lRKC""... $ac_c" 1>&6 | 7258 echo $ac_n "checking for RkBgnBun in -lRKC""... $ac_c" 1>&6 |
| 7246 echo "configure:7247: checking for RkBgnBun in -lRKC" >&5 | 7259 echo "configure:7260: checking for RkBgnBun in -lRKC" >&5 |
| 7247 ac_lib_var=`echo RKC'_'RkBgnBun | sed 'y%./+-%__p_%'` | 7260 ac_lib_var=`echo RKC'_'RkBgnBun | sed 'y%./+-%__p_%'` |
| 7248 | 7261 |
| 7249 xe_check_libs=" -lRKC " | 7262 xe_check_libs=" -lRKC " |
| 7250 cat > conftest.$ac_ext <<EOF | 7263 cat > conftest.$ac_ext <<EOF |
| 7251 #line 7252 "configure" | 7264 #line 7265 "configure" |
| 7252 #include "confdefs.h" | 7265 #include "confdefs.h" |
| 7253 /* Override any gcc2 internal prototype to avoid an error. */ | 7266 /* Override any gcc2 internal prototype to avoid an error. */ |
| 7254 /* We use char because int might match the return type of a gcc2 | 7267 /* We use char because int might match the return type of a gcc2 |
| 7255 builtin and then its argument prototype would still apply. */ | 7268 builtin and then its argument prototype would still apply. */ |
| 7256 char RkBgnBun(); | 7269 char RkBgnBun(); |
| 7257 | 7270 |
| 7258 int main() { | 7271 int main() { |
| 7259 RkBgnBun() | 7272 RkBgnBun() |
| 7260 ; return 0; } | 7273 ; return 0; } |
| 7261 EOF | 7274 EOF |
| 7262 if { (eval echo configure:7263: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 7275 if { (eval echo configure:7276: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 7263 rm -rf conftest* | 7276 rm -rf conftest* |
| 7264 eval "ac_cv_lib_$ac_lib_var=yes" | 7277 eval "ac_cv_lib_$ac_lib_var=yes" |
| 7265 else | 7278 else |
| 7266 echo "configure: failed program was:" >&5 | 7279 echo "configure: failed program was:" >&5 |
| 7267 cat conftest.$ac_ext >&5 | 7280 cat conftest.$ac_ext >&5 |
| 7280 fi | 7293 fi |
| 7281 | 7294 |
| 7282 } | 7295 } |
| 7283 test -z "$with_canna" && { | 7296 test -z "$with_canna" && { |
| 7284 echo $ac_n "checking for jrKanjiControl in -lcanna""... $ac_c" 1>&6 | 7297 echo $ac_n "checking for jrKanjiControl in -lcanna""... $ac_c" 1>&6 |
| 7285 echo "configure:7286: checking for jrKanjiControl in -lcanna" >&5 | 7298 echo "configure:7299: checking for jrKanjiControl in -lcanna" >&5 |
| 7286 ac_lib_var=`echo canna'_'jrKanjiControl | sed 'y%./+-%__p_%'` | 7299 ac_lib_var=`echo canna'_'jrKanjiControl | sed 'y%./+-%__p_%'` |
| 7287 | 7300 |
| 7288 xe_check_libs=" -lcanna " | 7301 xe_check_libs=" -lcanna " |
| 7289 cat > conftest.$ac_ext <<EOF | 7302 cat > conftest.$ac_ext <<EOF |
| 7290 #line 7291 "configure" | 7303 #line 7304 "configure" |
| 7291 #include "confdefs.h" | 7304 #include "confdefs.h" |
| 7292 /* Override any gcc2 internal prototype to avoid an error. */ | 7305 /* Override any gcc2 internal prototype to avoid an error. */ |
| 7293 /* We use char because int might match the return type of a gcc2 | 7306 /* We use char because int might match the return type of a gcc2 |
| 7294 builtin and then its argument prototype would still apply. */ | 7307 builtin and then its argument prototype would still apply. */ |
| 7295 char jrKanjiControl(); | 7308 char jrKanjiControl(); |
| 7296 | 7309 |
| 7297 int main() { | 7310 int main() { |
| 7298 jrKanjiControl() | 7311 jrKanjiControl() |
| 7299 ; return 0; } | 7312 ; return 0; } |
| 7300 EOF | 7313 EOF |
| 7301 if { (eval echo configure:7302: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 7314 if { (eval echo configure:7315: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 7302 rm -rf conftest* | 7315 rm -rf conftest* |
| 7303 eval "ac_cv_lib_$ac_lib_var=yes" | 7316 eval "ac_cv_lib_$ac_lib_var=yes" |
| 7304 else | 7317 else |
| 7305 echo "configure: failed program was:" >&5 | 7318 echo "configure: failed program was:" >&5 |
| 7306 cat conftest.$ac_ext >&5 | 7319 cat conftest.$ac_ext >&5 |
| 7396 fi | 7409 fi |
| 7397 | 7410 |
| 7398 for ac_func in acosh asinh atanh 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 strcasecmp strerror tzset ulimit usleep utimes waitpid | 7411 for ac_func in acosh asinh atanh 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 strcasecmp strerror tzset ulimit usleep utimes waitpid |
| 7399 do | 7412 do |
| 7400 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 7413 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
| 7401 echo "configure:7402: checking for $ac_func" >&5 | 7414 echo "configure:7415: checking for $ac_func" >&5 |
| 7402 | 7415 |
| 7403 cat > conftest.$ac_ext <<EOF | 7416 cat > conftest.$ac_ext <<EOF |
| 7404 #line 7405 "configure" | 7417 #line 7418 "configure" |
| 7405 #include "confdefs.h" | 7418 #include "confdefs.h" |
| 7406 /* System header to define __stub macros and hopefully few prototypes, | 7419 /* System header to define __stub macros and hopefully few prototypes, |
| 7407 which can conflict with char $ac_func(); below. */ | 7420 which can conflict with char $ac_func(); below. */ |
| 7408 #include <assert.h> | 7421 #include <assert.h> |
| 7409 /* Override any gcc2 internal prototype to avoid an error. */ | 7422 /* Override any gcc2 internal prototype to avoid an error. */ |
| 7422 $ac_func(); | 7435 $ac_func(); |
| 7423 #endif | 7436 #endif |
| 7424 | 7437 |
| 7425 ; return 0; } | 7438 ; return 0; } |
| 7426 EOF | 7439 EOF |
| 7427 if { (eval echo configure:7428: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 7440 if { (eval echo configure:7441: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 7428 rm -rf conftest* | 7441 rm -rf conftest* |
| 7429 eval "ac_cv_func_$ac_func=yes" | 7442 eval "ac_cv_func_$ac_func=yes" |
| 7430 else | 7443 else |
| 7431 echo "configure: failed program was:" >&5 | 7444 echo "configure: failed program was:" >&5 |
| 7432 cat conftest.$ac_ext >&5 | 7445 cat conftest.$ac_ext >&5 |
| 7459 fi ;; | 7472 fi ;; |
| 7460 * ) | 7473 * ) |
| 7461 for ac_func in realpath | 7474 for ac_func in realpath |
| 7462 do | 7475 do |
| 7463 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 7476 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
| 7464 echo "configure:7465: checking for $ac_func" >&5 | 7477 echo "configure:7478: checking for $ac_func" >&5 |
| 7465 | 7478 |
| 7466 cat > conftest.$ac_ext <<EOF | 7479 cat > conftest.$ac_ext <<EOF |
| 7467 #line 7468 "configure" | 7480 #line 7481 "configure" |
| 7468 #include "confdefs.h" | 7481 #include "confdefs.h" |
| 7469 /* System header to define __stub macros and hopefully few prototypes, | 7482 /* System header to define __stub macros and hopefully few prototypes, |
| 7470 which can conflict with char $ac_func(); below. */ | 7483 which can conflict with char $ac_func(); below. */ |
| 7471 #include <assert.h> | 7484 #include <assert.h> |
| 7472 /* Override any gcc2 internal prototype to avoid an error. */ | 7485 /* Override any gcc2 internal prototype to avoid an error. */ |
| 7485 $ac_func(); | 7498 $ac_func(); |
| 7486 #endif | 7499 #endif |
| 7487 | 7500 |
| 7488 ; return 0; } | 7501 ; return 0; } |
| 7489 EOF | 7502 EOF |
| 7490 if { (eval echo configure:7491: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 7503 if { (eval echo configure:7504: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 7491 rm -rf conftest* | 7504 rm -rf conftest* |
| 7492 eval "ac_cv_func_$ac_func=yes" | 7505 eval "ac_cv_func_$ac_func=yes" |
| 7493 else | 7506 else |
| 7494 echo "configure: failed program was:" >&5 | 7507 echo "configure: failed program was:" >&5 |
| 7495 cat conftest.$ac_ext >&5 | 7508 cat conftest.$ac_ext >&5 |
| 7518 echo " xemacs will be linked with \"realpath.o\"" | 7531 echo " xemacs will be linked with \"realpath.o\"" |
| 7519 fi ;; | 7532 fi ;; |
| 7520 esac | 7533 esac |
| 7521 | 7534 |
| 7522 echo $ac_n "checking whether netdb declares h_errno""... $ac_c" 1>&6 | 7535 echo $ac_n "checking whether netdb declares h_errno""... $ac_c" 1>&6 |
| 7523 echo "configure:7524: checking whether netdb declares h_errno" >&5 | 7536 echo "configure:7537: checking whether netdb declares h_errno" >&5 |
| 7524 cat > conftest.$ac_ext <<EOF | 7537 cat > conftest.$ac_ext <<EOF |
| 7525 #line 7526 "configure" | 7538 #line 7539 "configure" |
| 7526 #include "confdefs.h" | 7539 #include "confdefs.h" |
| 7527 #include <netdb.h> | 7540 #include <netdb.h> |
| 7528 int main() { | 7541 int main() { |
| 7529 return h_errno; | 7542 return h_errno; |
| 7530 ; return 0; } | 7543 ; return 0; } |
| 7531 EOF | 7544 EOF |
| 7532 if { (eval echo configure:7533: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 7545 if { (eval echo configure:7546: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 7533 rm -rf conftest* | 7546 rm -rf conftest* |
| 7534 echo "$ac_t""yes" 1>&6 | 7547 echo "$ac_t""yes" 1>&6 |
| 7535 { test "$extra_verbose" = "yes" && cat << \EOF | 7548 { test "$extra_verbose" = "yes" && cat << \EOF |
| 7536 Defining HAVE_H_ERRNO | 7549 Defining HAVE_H_ERRNO |
| 7537 EOF | 7550 EOF |
| 7547 echo "$ac_t""no" 1>&6 | 7560 echo "$ac_t""no" 1>&6 |
| 7548 fi | 7561 fi |
| 7549 rm -f conftest* | 7562 rm -f conftest* |
| 7550 | 7563 |
| 7551 echo $ac_n "checking for sigsetjmp""... $ac_c" 1>&6 | 7564 echo $ac_n "checking for sigsetjmp""... $ac_c" 1>&6 |
| 7552 echo "configure:7553: checking for sigsetjmp" >&5 | 7565 echo "configure:7566: checking for sigsetjmp" >&5 |
| 7553 cat > conftest.$ac_ext <<EOF | 7566 cat > conftest.$ac_ext <<EOF |
| 7554 #line 7555 "configure" | 7567 #line 7568 "configure" |
| 7555 #include "confdefs.h" | 7568 #include "confdefs.h" |
| 7556 #include <setjmp.h> | 7569 #include <setjmp.h> |
| 7557 int main() { | 7570 int main() { |
| 7558 sigjmp_buf bar; sigsetjmp (bar, 0); | 7571 sigjmp_buf bar; sigsetjmp (bar, 0); |
| 7559 ; return 0; } | 7572 ; return 0; } |
| 7560 EOF | 7573 EOF |
| 7561 if { (eval echo configure:7562: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 7574 if { (eval echo configure:7575: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| 7562 rm -rf conftest* | 7575 rm -rf conftest* |
| 7563 echo "$ac_t""yes" 1>&6 | 7576 echo "$ac_t""yes" 1>&6 |
| 7564 { test "$extra_verbose" = "yes" && cat << \EOF | 7577 { test "$extra_verbose" = "yes" && cat << \EOF |
| 7565 Defining HAVE_SIGSETJMP | 7578 Defining HAVE_SIGSETJMP |
| 7566 EOF | 7579 EOF |
| 7576 echo "$ac_t""no" 1>&6 | 7589 echo "$ac_t""no" 1>&6 |
| 7577 fi | 7590 fi |
| 7578 rm -f conftest* | 7591 rm -f conftest* |
| 7579 | 7592 |
| 7580 echo $ac_n "checking whether localtime caches TZ""... $ac_c" 1>&6 | 7593 echo $ac_n "checking whether localtime caches TZ""... $ac_c" 1>&6 |
| 7581 echo "configure:7582: checking whether localtime caches TZ" >&5 | 7594 echo "configure:7595: checking whether localtime caches TZ" >&5 |
| 7582 | 7595 |
| 7583 if test "$ac_cv_func_tzset" = "yes"; then | 7596 if test "$ac_cv_func_tzset" = "yes"; then |
| 7584 cat > conftest.$ac_ext <<EOF | 7597 cat > conftest.$ac_ext <<EOF |
| 7585 #line 7586 "configure" | 7598 #line 7599 "configure" |
| 7586 #include "confdefs.h" | 7599 #include "confdefs.h" |
| 7587 #include <time.h> | 7600 #include <time.h> |
| 7588 #if STDC_HEADERS | 7601 #if STDC_HEADERS |
| 7589 # include <stdlib.h> | 7602 # include <stdlib.h> |
| 7590 #endif | 7603 #endif |
| 7615 if (localtime (&now)->tm_hour != hour_unset) | 7628 if (localtime (&now)->tm_hour != hour_unset) |
| 7616 exit (1); | 7629 exit (1); |
| 7617 exit (0); | 7630 exit (0); |
| 7618 } | 7631 } |
| 7619 EOF | 7632 EOF |
| 7620 if { (eval echo configure:7621: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 | 7633 if { (eval echo configure:7634: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 |
| 7621 then | 7634 then |
| 7622 emacs_cv_localtime_cache=no | 7635 emacs_cv_localtime_cache=no |
| 7623 else | 7636 else |
| 7624 echo "configure: failed program was:" >&5 | 7637 echo "configure: failed program was:" >&5 |
| 7625 cat conftest.$ac_ext >&5 | 7638 cat conftest.$ac_ext >&5 |
| 7644 | 7657 |
| 7645 fi | 7658 fi |
| 7646 | 7659 |
| 7647 if test "$HAVE_TIMEVAL" = "yes"; then | 7660 if test "$HAVE_TIMEVAL" = "yes"; then |
| 7648 echo $ac_n "checking whether gettimeofday cannot accept two arguments""... $ac_c" 1>&6 | 7661 echo $ac_n "checking whether gettimeofday cannot accept two arguments""... $ac_c" 1>&6 |
| 7649 echo "configure:7650: checking whether gettimeofday cannot accept two arguments" >&5 | 7662 echo "configure:7663: checking whether gettimeofday cannot accept two arguments" >&5 |
| 7650 cat > conftest.$ac_ext <<EOF | 7663 cat > conftest.$ac_ext <<EOF |
| 7651 #line 7652 "configure" | 7664 #line 7665 "configure" |
| 7652 #include "confdefs.h" | 7665 #include "confdefs.h" |
| 7653 | 7666 |
| 7654 #ifdef TIME_WITH_SYS_TIME | 7667 #ifdef TIME_WITH_SYS_TIME |
| 7655 #include <sys/time.h> | 7668 #include <sys/time.h> |
| 7656 #include <time.h> | 7669 #include <time.h> |
| 7668 struct timezone dummy; | 7681 struct timezone dummy; |
| 7669 gettimeofday (&time, &dummy); | 7682 gettimeofday (&time, &dummy); |
| 7670 | 7683 |
| 7671 ; return 0; } | 7684 ; return 0; } |
| 7672 EOF | 7685 EOF |
| 7673 if { (eval echo configure:7674: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 7686 if { (eval echo configure:7687: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 7674 rm -rf conftest* | 7687 rm -rf conftest* |
| 7675 echo "$ac_t""no" 1>&6 | 7688 echo "$ac_t""no" 1>&6 |
| 7676 else | 7689 else |
| 7677 echo "configure: failed program was:" >&5 | 7690 echo "configure: failed program was:" >&5 |
| 7678 cat conftest.$ac_ext >&5 | 7691 cat conftest.$ac_ext >&5 |
| 7690 rm -f conftest* | 7703 rm -f conftest* |
| 7691 fi | 7704 fi |
| 7692 | 7705 |
| 7693 | 7706 |
| 7694 echo $ac_n "checking for inline""... $ac_c" 1>&6 | 7707 echo $ac_n "checking for inline""... $ac_c" 1>&6 |
| 7695 echo "configure:7696: checking for inline" >&5 | 7708 echo "configure:7709: checking for inline" >&5 |
| 7696 | 7709 |
| 7697 ac_cv_c_inline=no | 7710 ac_cv_c_inline=no |
| 7698 for ac_kw in inline __inline__ __inline; do | 7711 for ac_kw in inline __inline__ __inline; do |
| 7699 cat > conftest.$ac_ext <<EOF | 7712 cat > conftest.$ac_ext <<EOF |
| 7700 #line 7701 "configure" | 7713 #line 7714 "configure" |
| 7701 #include "confdefs.h" | 7714 #include "confdefs.h" |
| 7702 | 7715 |
| 7703 int main() { | 7716 int main() { |
| 7704 } $ac_kw foo() { | 7717 } $ac_kw foo() { |
| 7705 ; return 0; } | 7718 ; return 0; } |
| 7706 EOF | 7719 EOF |
| 7707 if { (eval echo configure:7708: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 7720 if { (eval echo configure:7721: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| 7708 rm -rf conftest* | 7721 rm -rf conftest* |
| 7709 ac_cv_c_inline=$ac_kw; break | 7722 ac_cv_c_inline=$ac_kw; break |
| 7710 else | 7723 else |
| 7711 echo "configure: failed program was:" >&5 | 7724 echo "configure: failed program was:" >&5 |
| 7712 cat conftest.$ac_ext >&5 | 7725 cat conftest.$ac_ext >&5 |
| 7752 | 7765 |
| 7753 | 7766 |
| 7754 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works | 7767 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works |
| 7755 # for constant arguments. Useless! | 7768 # for constant arguments. Useless! |
| 7756 echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6 | 7769 echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6 |
| 7757 echo "configure:7758: checking for working alloca.h" >&5 | 7770 echo "configure:7771: checking for working alloca.h" >&5 |
| 7758 | 7771 |
| 7759 cat > conftest.$ac_ext <<EOF | 7772 cat > conftest.$ac_ext <<EOF |
| 7760 #line 7761 "configure" | 7773 #line 7774 "configure" |
| 7761 #include "confdefs.h" | 7774 #include "confdefs.h" |
| 7762 #include <alloca.h> | 7775 #include <alloca.h> |
| 7763 int main() { | 7776 int main() { |
| 7764 char *p = alloca(2 * sizeof(int)); | 7777 char *p = alloca(2 * sizeof(int)); |
| 7765 ; return 0; } | 7778 ; return 0; } |
| 7766 EOF | 7779 EOF |
| 7767 if { (eval echo configure:7768: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 7780 if { (eval echo configure:7781: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 7768 rm -rf conftest* | 7781 rm -rf conftest* |
| 7769 ac_cv_header_alloca_h=yes | 7782 ac_cv_header_alloca_h=yes |
| 7770 else | 7783 else |
| 7771 echo "configure: failed program was:" >&5 | 7784 echo "configure: failed program was:" >&5 |
| 7772 cat conftest.$ac_ext >&5 | 7785 cat conftest.$ac_ext >&5 |
| 7786 } | 7799 } |
| 7787 | 7800 |
| 7788 fi | 7801 fi |
| 7789 | 7802 |
| 7790 echo $ac_n "checking for alloca""... $ac_c" 1>&6 | 7803 echo $ac_n "checking for alloca""... $ac_c" 1>&6 |
| 7791 echo "configure:7792: checking for alloca" >&5 | 7804 echo "configure:7805: checking for alloca" >&5 |
| 7792 | 7805 |
| 7793 cat > conftest.$ac_ext <<EOF | 7806 cat > conftest.$ac_ext <<EOF |
| 7794 #line 7795 "configure" | 7807 #line 7808 "configure" |
| 7795 #include "confdefs.h" | 7808 #include "confdefs.h" |
| 7796 | 7809 |
| 7797 #ifdef __GNUC__ | 7810 #ifdef __GNUC__ |
| 7798 # define alloca __builtin_alloca | 7811 # define alloca __builtin_alloca |
| 7799 #else | 7812 #else |
| 7812 | 7825 |
| 7813 int main() { | 7826 int main() { |
| 7814 char *p = (char *) alloca(1); | 7827 char *p = (char *) alloca(1); |
| 7815 ; return 0; } | 7828 ; return 0; } |
| 7816 EOF | 7829 EOF |
| 7817 if { (eval echo configure:7818: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 7830 if { (eval echo configure:7831: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 7818 rm -rf conftest* | 7831 rm -rf conftest* |
| 7819 ac_cv_func_alloca_works=yes | 7832 ac_cv_func_alloca_works=yes |
| 7820 else | 7833 else |
| 7821 echo "configure: failed program was:" >&5 | 7834 echo "configure: failed program was:" >&5 |
| 7822 cat conftest.$ac_ext >&5 | 7835 cat conftest.$ac_ext >&5 |
| 7851 EOF | 7864 EOF |
| 7852 } | 7865 } |
| 7853 | 7866 |
| 7854 | 7867 |
| 7855 echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6 | 7868 echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6 |
| 7856 echo "configure:7857: checking whether alloca needs Cray hooks" >&5 | 7869 echo "configure:7870: checking whether alloca needs Cray hooks" >&5 |
| 7857 | 7870 |
| 7858 cat > conftest.$ac_ext <<EOF | 7871 cat > conftest.$ac_ext <<EOF |
| 7859 #line 7860 "configure" | 7872 #line 7873 "configure" |
| 7860 #include "confdefs.h" | 7873 #include "confdefs.h" |
| 7861 #if defined(CRAY) && ! defined(CRAY2) | 7874 #if defined(CRAY) && ! defined(CRAY2) |
| 7862 webecray | 7875 webecray |
| 7863 #else | 7876 #else |
| 7864 wenotbecray | 7877 wenotbecray |
| 7878 | 7891 |
| 7879 echo "$ac_t""$ac_cv_os_cray" 1>&6 | 7892 echo "$ac_t""$ac_cv_os_cray" 1>&6 |
| 7880 if test $ac_cv_os_cray = yes; then | 7893 if test $ac_cv_os_cray = yes; then |
| 7881 for ac_func in _getb67 GETB67 getb67; do | 7894 for ac_func in _getb67 GETB67 getb67; do |
| 7882 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 7895 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
| 7883 echo "configure:7884: checking for $ac_func" >&5 | 7896 echo "configure:7897: checking for $ac_func" >&5 |
| 7884 | 7897 |
| 7885 cat > conftest.$ac_ext <<EOF | 7898 cat > conftest.$ac_ext <<EOF |
| 7886 #line 7887 "configure" | 7899 #line 7900 "configure" |
| 7887 #include "confdefs.h" | 7900 #include "confdefs.h" |
| 7888 /* System header to define __stub macros and hopefully few prototypes, | 7901 /* System header to define __stub macros and hopefully few prototypes, |
| 7889 which can conflict with char $ac_func(); below. */ | 7902 which can conflict with char $ac_func(); below. */ |
| 7890 #include <assert.h> | 7903 #include <assert.h> |
| 7891 /* Override any gcc2 internal prototype to avoid an error. */ | 7904 /* Override any gcc2 internal prototype to avoid an error. */ |
| 7904 $ac_func(); | 7917 $ac_func(); |
| 7905 #endif | 7918 #endif |
| 7906 | 7919 |
| 7907 ; return 0; } | 7920 ; return 0; } |
| 7908 EOF | 7921 EOF |
| 7909 if { (eval echo configure:7910: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 7922 if { (eval echo configure:7923: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 7910 rm -rf conftest* | 7923 rm -rf conftest* |
| 7911 eval "ac_cv_func_$ac_func=yes" | 7924 eval "ac_cv_func_$ac_func=yes" |
| 7912 else | 7925 else |
| 7913 echo "configure: failed program was:" >&5 | 7926 echo "configure: failed program was:" >&5 |
| 7914 cat conftest.$ac_ext >&5 | 7927 cat conftest.$ac_ext >&5 |
| 7934 | 7947 |
| 7935 done | 7948 done |
| 7936 fi | 7949 fi |
| 7937 | 7950 |
| 7938 echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6 | 7951 echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6 |
| 7939 echo "configure:7940: checking stack direction for C alloca" >&5 | 7952 echo "configure:7953: checking stack direction for C alloca" >&5 |
| 7940 | 7953 |
| 7941 cat > conftest.$ac_ext <<EOF | 7954 cat > conftest.$ac_ext <<EOF |
| 7942 #line 7943 "configure" | 7955 #line 7956 "configure" |
| 7943 #include "confdefs.h" | 7956 #include "confdefs.h" |
| 7944 find_stack_direction () | 7957 find_stack_direction () |
| 7945 { | 7958 { |
| 7946 static char *addr = 0; | 7959 static char *addr = 0; |
| 7947 auto char dummy; | 7960 auto char dummy; |
| 7956 main () | 7969 main () |
| 7957 { | 7970 { |
| 7958 exit (find_stack_direction() < 0); | 7971 exit (find_stack_direction() < 0); |
| 7959 } | 7972 } |
| 7960 EOF | 7973 EOF |
| 7961 if { (eval echo configure:7962: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 | 7974 if { (eval echo configure:7975: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 |
| 7962 then | 7975 then |
| 7963 ac_cv_c_stack_direction=1 | 7976 ac_cv_c_stack_direction=1 |
| 7964 else | 7977 else |
| 7965 echo "configure: failed program was:" >&5 | 7978 echo "configure: failed program was:" >&5 |
| 7966 cat conftest.$ac_ext >&5 | 7979 cat conftest.$ac_ext >&5 |
| 7984 echo " xemacs will be linked with \"$ALLOCA\"" | 7997 echo " xemacs will be linked with \"$ALLOCA\"" |
| 7985 fi | 7998 fi |
| 7986 | 7999 |
| 7987 ac_safe=`echo "vfork.h" | sed 'y%./+-%__p_%'` | 8000 ac_safe=`echo "vfork.h" | sed 'y%./+-%__p_%'` |
| 7988 echo $ac_n "checking for vfork.h""... $ac_c" 1>&6 | 8001 echo $ac_n "checking for vfork.h""... $ac_c" 1>&6 |
| 7989 echo "configure:7990: checking for vfork.h" >&5 | 8002 echo "configure:8003: checking for vfork.h" >&5 |
| 7990 | 8003 |
| 7991 cat > conftest.$ac_ext <<EOF | 8004 cat > conftest.$ac_ext <<EOF |
| 7992 #line 7993 "configure" | 8005 #line 8006 "configure" |
| 7993 #include "confdefs.h" | 8006 #include "confdefs.h" |
| 7994 #include <vfork.h> | 8007 #include <vfork.h> |
| 7995 EOF | 8008 EOF |
| 7996 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8009 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 7997 { (eval echo configure:7998: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8010 { (eval echo configure:8011: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 7998 ac_err=`grep -v '^ *+' conftest.out` | 8011 ac_err=`grep -v '^ *+' conftest.out` |
| 7999 if test -z "$ac_err"; then | 8012 if test -z "$ac_err"; then |
| 8000 rm -rf conftest* | 8013 rm -rf conftest* |
| 8001 eval "ac_cv_header_$ac_safe=yes" | 8014 eval "ac_cv_header_$ac_safe=yes" |
| 8002 else | 8015 else |
| 8020 else | 8033 else |
| 8021 echo "$ac_t""no" 1>&6 | 8034 echo "$ac_t""no" 1>&6 |
| 8022 fi | 8035 fi |
| 8023 | 8036 |
| 8024 echo $ac_n "checking for working vfork""... $ac_c" 1>&6 | 8037 echo $ac_n "checking for working vfork""... $ac_c" 1>&6 |
| 8025 echo "configure:8026: checking for working vfork" >&5 | 8038 echo "configure:8039: checking for working vfork" >&5 |
| 8026 | 8039 |
| 8027 cat > conftest.$ac_ext <<EOF | 8040 cat > conftest.$ac_ext <<EOF |
| 8028 #line 8029 "configure" | 8041 #line 8042 "configure" |
| 8029 #include "confdefs.h" | 8042 #include "confdefs.h" |
| 8030 /* Thanks to Paul Eggert for this test. */ | 8043 /* Thanks to Paul Eggert for this test. */ |
| 8031 #include <stdio.h> | 8044 #include <stdio.h> |
| 8032 #include <sys/types.h> | 8045 #include <sys/types.h> |
| 8033 #include <sys/stat.h> | 8046 #include <sys/stat.h> |
| 8118 || fstat(fileno(stdout), &st) != 0 | 8131 || fstat(fileno(stdout), &st) != 0 |
| 8119 ); | 8132 ); |
| 8120 } | 8133 } |
| 8121 } | 8134 } |
| 8122 EOF | 8135 EOF |
| 8123 if { (eval echo configure:8124: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 | 8136 if { (eval echo configure:8137: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 |
| 8124 then | 8137 then |
| 8125 ac_cv_func_vfork_works=yes | 8138 ac_cv_func_vfork_works=yes |
| 8126 else | 8139 else |
| 8127 echo "configure: failed program was:" >&5 | 8140 echo "configure: failed program was:" >&5 |
| 8128 cat conftest.$ac_ext >&5 | 8141 cat conftest.$ac_ext >&5 |
| 8143 | 8156 |
| 8144 fi | 8157 fi |
| 8145 | 8158 |
| 8146 | 8159 |
| 8147 echo $ac_n "checking for working strcoll""... $ac_c" 1>&6 | 8160 echo $ac_n "checking for working strcoll""... $ac_c" 1>&6 |
| 8148 echo "configure:8149: checking for working strcoll" >&5 | 8161 echo "configure:8162: checking for working strcoll" >&5 |
| 8149 | 8162 |
| 8150 cat > conftest.$ac_ext <<EOF | 8163 cat > conftest.$ac_ext <<EOF |
| 8151 #line 8152 "configure" | 8164 #line 8165 "configure" |
| 8152 #include "confdefs.h" | 8165 #include "confdefs.h" |
| 8153 #include <string.h> | 8166 #include <string.h> |
| 8154 main () | 8167 main () |
| 8155 { | 8168 { |
| 8156 exit (strcoll ("abc", "def") >= 0 || | 8169 exit (strcoll ("abc", "def") >= 0 || |
| 8157 strcoll ("ABC", "DEF") >= 0 || | 8170 strcoll ("ABC", "DEF") >= 0 || |
| 8158 strcoll ("123", "456") >= 0); | 8171 strcoll ("123", "456") >= 0); |
| 8159 } | 8172 } |
| 8160 EOF | 8173 EOF |
| 8161 if { (eval echo configure:8162: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 | 8174 if { (eval echo configure:8175: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 |
| 8162 then | 8175 then |
| 8163 ac_cv_func_strcoll_works=yes | 8176 ac_cv_func_strcoll_works=yes |
| 8164 else | 8177 else |
| 8165 echo "configure: failed program was:" >&5 | 8178 echo "configure: failed program was:" >&5 |
| 8166 cat conftest.$ac_ext >&5 | 8179 cat conftest.$ac_ext >&5 |
| 8183 | 8196 |
| 8184 | 8197 |
| 8185 for ac_func in getpgrp | 8198 for ac_func in getpgrp |
| 8186 do | 8199 do |
| 8187 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 8200 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
| 8188 echo "configure:8189: checking for $ac_func" >&5 | 8201 echo "configure:8202: checking for $ac_func" >&5 |
| 8189 | 8202 |
| 8190 cat > conftest.$ac_ext <<EOF | 8203 cat > conftest.$ac_ext <<EOF |
| 8191 #line 8192 "configure" | 8204 #line 8205 "configure" |
| 8192 #include "confdefs.h" | 8205 #include "confdefs.h" |
| 8193 /* System header to define __stub macros and hopefully few prototypes, | 8206 /* System header to define __stub macros and hopefully few prototypes, |
| 8194 which can conflict with char $ac_func(); below. */ | 8207 which can conflict with char $ac_func(); below. */ |
| 8195 #include <assert.h> | 8208 #include <assert.h> |
| 8196 /* Override any gcc2 internal prototype to avoid an error. */ | 8209 /* Override any gcc2 internal prototype to avoid an error. */ |
| 8209 $ac_func(); | 8222 $ac_func(); |
| 8210 #endif | 8223 #endif |
| 8211 | 8224 |
| 8212 ; return 0; } | 8225 ; return 0; } |
| 8213 EOF | 8226 EOF |
| 8214 if { (eval echo configure:8215: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 8227 if { (eval echo configure:8228: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 8215 rm -rf conftest* | 8228 rm -rf conftest* |
| 8216 eval "ac_cv_func_$ac_func=yes" | 8229 eval "ac_cv_func_$ac_func=yes" |
| 8217 else | 8230 else |
| 8218 echo "configure: failed program was:" >&5 | 8231 echo "configure: failed program was:" >&5 |
| 8219 cat conftest.$ac_ext >&5 | 8232 cat conftest.$ac_ext >&5 |
| 8237 echo "$ac_t""no" 1>&6 | 8250 echo "$ac_t""no" 1>&6 |
| 8238 fi | 8251 fi |
| 8239 done | 8252 done |
| 8240 | 8253 |
| 8241 echo $ac_n "checking whether getpgrp takes no argument""... $ac_c" 1>&6 | 8254 echo $ac_n "checking whether getpgrp takes no argument""... $ac_c" 1>&6 |
| 8242 echo "configure:8243: checking whether getpgrp takes no argument" >&5 | 8255 echo "configure:8256: checking whether getpgrp takes no argument" >&5 |
| 8243 | 8256 |
| 8244 cat > conftest.$ac_ext <<EOF | 8257 cat > conftest.$ac_ext <<EOF |
| 8245 #line 8246 "configure" | 8258 #line 8259 "configure" |
| 8246 #include "confdefs.h" | 8259 #include "confdefs.h" |
| 8247 | 8260 |
| 8248 /* | 8261 /* |
| 8249 * If this system has a BSD-style getpgrp(), | 8262 * If this system has a BSD-style getpgrp(), |
| 8250 * which takes a pid argument, exit unsuccessfully. | 8263 * which takes a pid argument, exit unsuccessfully. |
| 8295 exit(s>>8); | 8308 exit(s>>8); |
| 8296 } | 8309 } |
| 8297 } | 8310 } |
| 8298 | 8311 |
| 8299 EOF | 8312 EOF |
| 8300 if { (eval echo configure:8301: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 | 8313 if { (eval echo configure:8314: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 |
| 8301 then | 8314 then |
| 8302 ac_cv_func_getpgrp_void=yes | 8315 ac_cv_func_getpgrp_void=yes |
| 8303 else | 8316 else |
| 8304 echo "configure: failed program was:" >&5 | 8317 echo "configure: failed program was:" >&5 |
| 8305 cat conftest.$ac_ext >&5 | 8318 cat conftest.$ac_ext >&5 |
| 8321 | 8334 |
| 8322 fi | 8335 fi |
| 8323 | 8336 |
| 8324 | 8337 |
| 8325 echo $ac_n "checking for working mmap""... $ac_c" 1>&6 | 8338 echo $ac_n "checking for working mmap""... $ac_c" 1>&6 |
| 8326 echo "configure:8327: checking for working mmap" >&5 | 8339 echo "configure:8340: checking for working mmap" >&5 |
| 8327 case "$opsys" in ultrix* ) have_mmap=no ;; *) | 8340 case "$opsys" in ultrix* ) have_mmap=no ;; *) |
| 8328 cat > conftest.$ac_ext <<EOF | 8341 cat > conftest.$ac_ext <<EOF |
| 8329 #line 8330 "configure" | 8342 #line 8343 "configure" |
| 8330 #include "confdefs.h" | 8343 #include "confdefs.h" |
| 8331 #include <stdio.h> | 8344 #include <stdio.h> |
| 8332 #include <unistd.h> | 8345 #include <unistd.h> |
| 8333 #include <fcntl.h> | 8346 #include <fcntl.h> |
| 8334 #include <sys/mman.h> | 8347 #include <sys/mman.h> |
| 8357 return 0; | 8370 return 0; |
| 8358 perror ("conftest: mmap failed"); | 8371 perror ("conftest: mmap failed"); |
| 8359 return 1; | 8372 return 1; |
| 8360 } | 8373 } |
| 8361 EOF | 8374 EOF |
| 8362 if { (eval echo configure:8363: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 | 8375 if { (eval echo configure:8376: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 |
| 8363 then | 8376 then |
| 8364 have_mmap=yes | 8377 have_mmap=yes |
| 8365 else | 8378 else |
| 8366 echo "configure: failed program was:" >&5 | 8379 echo "configure: failed program was:" >&5 |
| 8367 cat conftest.$ac_ext >&5 | 8380 cat conftest.$ac_ext >&5 |
| 8391 } | 8404 } |
| 8392 | 8405 |
| 8393 | 8406 |
| 8394 ac_safe=`echo "termios.h" | sed 'y%./+-%__p_%'` | 8407 ac_safe=`echo "termios.h" | sed 'y%./+-%__p_%'` |
| 8395 echo $ac_n "checking for termios.h""... $ac_c" 1>&6 | 8408 echo $ac_n "checking for termios.h""... $ac_c" 1>&6 |
| 8396 echo "configure:8397: checking for termios.h" >&5 | 8409 echo "configure:8410: checking for termios.h" >&5 |
| 8397 | 8410 |
| 8398 cat > conftest.$ac_ext <<EOF | 8411 cat > conftest.$ac_ext <<EOF |
| 8399 #line 8400 "configure" | 8412 #line 8413 "configure" |
| 8400 #include "confdefs.h" | 8413 #include "confdefs.h" |
| 8401 #include <termios.h> | 8414 #include <termios.h> |
| 8402 EOF | 8415 EOF |
| 8403 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8416 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 8404 { (eval echo configure:8405: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8417 { (eval echo configure:8418: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 8405 ac_err=`grep -v '^ *+' conftest.out` | 8418 ac_err=`grep -v '^ *+' conftest.out` |
| 8406 if test -z "$ac_err"; then | 8419 if test -z "$ac_err"; then |
| 8407 rm -rf conftest* | 8420 rm -rf conftest* |
| 8408 eval "ac_cv_header_$ac_safe=yes" | 8421 eval "ac_cv_header_$ac_safe=yes" |
| 8409 else | 8422 else |
| 8442 | 8455 |
| 8443 else | 8456 else |
| 8444 echo "$ac_t""no" 1>&6 | 8457 echo "$ac_t""no" 1>&6 |
| 8445 ac_safe=`echo "termio.h" | sed 'y%./+-%__p_%'` | 8458 ac_safe=`echo "termio.h" | sed 'y%./+-%__p_%'` |
| 8446 echo $ac_n "checking for termio.h""... $ac_c" 1>&6 | 8459 echo $ac_n "checking for termio.h""... $ac_c" 1>&6 |
| 8447 echo "configure:8448: checking for termio.h" >&5 | 8460 echo "configure:8461: checking for termio.h" >&5 |
| 8448 | 8461 |
| 8449 cat > conftest.$ac_ext <<EOF | 8462 cat > conftest.$ac_ext <<EOF |
| 8450 #line 8451 "configure" | 8463 #line 8464 "configure" |
| 8451 #include "confdefs.h" | 8464 #include "confdefs.h" |
| 8452 #include <termio.h> | 8465 #include <termio.h> |
| 8453 EOF | 8466 EOF |
| 8454 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8467 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 8455 { (eval echo configure:8456: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8468 { (eval echo configure:8469: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 8456 ac_err=`grep -v '^ *+' conftest.out` | 8469 ac_err=`grep -v '^ *+' conftest.out` |
| 8457 if test -z "$ac_err"; then | 8470 if test -z "$ac_err"; then |
| 8458 rm -rf conftest* | 8471 rm -rf conftest* |
| 8459 eval "ac_cv_header_$ac_safe=yes" | 8472 eval "ac_cv_header_$ac_safe=yes" |
| 8460 else | 8473 else |
| 8482 fi | 8495 fi |
| 8483 | 8496 |
| 8484 | 8497 |
| 8485 | 8498 |
| 8486 echo $ac_n "checking for socket""... $ac_c" 1>&6 | 8499 echo $ac_n "checking for socket""... $ac_c" 1>&6 |
| 8487 echo "configure:8488: checking for socket" >&5 | 8500 echo "configure:8501: checking for socket" >&5 |
| 8488 | 8501 |
| 8489 cat > conftest.$ac_ext <<EOF | 8502 cat > conftest.$ac_ext <<EOF |
| 8490 #line 8491 "configure" | 8503 #line 8504 "configure" |
| 8491 #include "confdefs.h" | 8504 #include "confdefs.h" |
| 8492 /* System header to define __stub macros and hopefully few prototypes, | 8505 /* System header to define __stub macros and hopefully few prototypes, |
| 8493 which can conflict with char socket(); below. */ | 8506 which can conflict with char socket(); below. */ |
| 8494 #include <assert.h> | 8507 #include <assert.h> |
| 8495 /* Override any gcc2 internal prototype to avoid an error. */ | 8508 /* Override any gcc2 internal prototype to avoid an error. */ |
| 8508 socket(); | 8521 socket(); |
| 8509 #endif | 8522 #endif |
| 8510 | 8523 |
| 8511 ; return 0; } | 8524 ; return 0; } |
| 8512 EOF | 8525 EOF |
| 8513 if { (eval echo configure:8514: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 8526 if { (eval echo configure:8527: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 8514 rm -rf conftest* | 8527 rm -rf conftest* |
| 8515 eval "ac_cv_func_socket=yes" | 8528 eval "ac_cv_func_socket=yes" |
| 8516 else | 8529 else |
| 8517 echo "configure: failed program was:" >&5 | 8530 echo "configure: failed program was:" >&5 |
| 8518 cat conftest.$ac_ext >&5 | 8531 cat conftest.$ac_ext >&5 |
| 8523 | 8536 |
| 8524 if eval "test \"`echo '$ac_cv_func_'socket`\" = yes"; then | 8537 if eval "test \"`echo '$ac_cv_func_'socket`\" = yes"; then |
| 8525 echo "$ac_t""yes" 1>&6 | 8538 echo "$ac_t""yes" 1>&6 |
| 8526 ac_safe=`echo "netinet/in.h" | sed 'y%./+-%__p_%'` | 8539 ac_safe=`echo "netinet/in.h" | sed 'y%./+-%__p_%'` |
| 8527 echo $ac_n "checking for netinet/in.h""... $ac_c" 1>&6 | 8540 echo $ac_n "checking for netinet/in.h""... $ac_c" 1>&6 |
| 8528 echo "configure:8529: checking for netinet/in.h" >&5 | 8541 echo "configure:8542: checking for netinet/in.h" >&5 |
| 8529 | 8542 |
| 8530 cat > conftest.$ac_ext <<EOF | 8543 cat > conftest.$ac_ext <<EOF |
| 8531 #line 8532 "configure" | 8544 #line 8545 "configure" |
| 8532 #include "confdefs.h" | 8545 #include "confdefs.h" |
| 8533 #include <netinet/in.h> | 8546 #include <netinet/in.h> |
| 8534 EOF | 8547 EOF |
| 8535 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8548 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 8536 { (eval echo configure:8537: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8549 { (eval echo configure:8550: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 8537 ac_err=`grep -v '^ *+' conftest.out` | 8550 ac_err=`grep -v '^ *+' conftest.out` |
| 8538 if test -z "$ac_err"; then | 8551 if test -z "$ac_err"; then |
| 8539 rm -rf conftest* | 8552 rm -rf conftest* |
| 8540 eval "ac_cv_header_$ac_safe=yes" | 8553 eval "ac_cv_header_$ac_safe=yes" |
| 8541 else | 8554 else |
| 8548 rm -f conftest* | 8561 rm -f conftest* |
| 8549 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 8562 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
| 8550 echo "$ac_t""yes" 1>&6 | 8563 echo "$ac_t""yes" 1>&6 |
| 8551 ac_safe=`echo "arpa/inet.h" | sed 'y%./+-%__p_%'` | 8564 ac_safe=`echo "arpa/inet.h" | sed 'y%./+-%__p_%'` |
| 8552 echo $ac_n "checking for arpa/inet.h""... $ac_c" 1>&6 | 8565 echo $ac_n "checking for arpa/inet.h""... $ac_c" 1>&6 |
| 8553 echo "configure:8554: checking for arpa/inet.h" >&5 | 8566 echo "configure:8567: checking for arpa/inet.h" >&5 |
| 8554 | 8567 |
| 8555 cat > conftest.$ac_ext <<EOF | 8568 cat > conftest.$ac_ext <<EOF |
| 8556 #line 8557 "configure" | 8569 #line 8570 "configure" |
| 8557 #include "confdefs.h" | 8570 #include "confdefs.h" |
| 8558 #include <arpa/inet.h> | 8571 #include <arpa/inet.h> |
| 8559 EOF | 8572 EOF |
| 8560 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8573 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 8561 { (eval echo configure:8562: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8574 { (eval echo configure:8575: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 8562 ac_err=`grep -v '^ *+' conftest.out` | 8575 ac_err=`grep -v '^ *+' conftest.out` |
| 8563 if test -z "$ac_err"; then | 8576 if test -z "$ac_err"; then |
| 8564 rm -rf conftest* | 8577 rm -rf conftest* |
| 8565 eval "ac_cv_header_$ac_safe=yes" | 8578 eval "ac_cv_header_$ac_safe=yes" |
| 8566 else | 8579 else |
| 8581 #define HAVE_SOCKETS 1 | 8594 #define HAVE_SOCKETS 1 |
| 8582 EOF | 8595 EOF |
| 8583 } | 8596 } |
| 8584 | 8597 |
| 8585 echo $ac_n "checking "for sun_len member in struct sockaddr_un"""... $ac_c" 1>&6 | 8598 echo $ac_n "checking "for sun_len member in struct sockaddr_un"""... $ac_c" 1>&6 |
| 8586 echo "configure:8587: checking "for sun_len member in struct sockaddr_un"" >&5 | 8599 echo "configure:8600: checking "for sun_len member in struct sockaddr_un"" >&5 |
| 8587 cat > conftest.$ac_ext <<EOF | 8600 cat > conftest.$ac_ext <<EOF |
| 8588 #line 8589 "configure" | 8601 #line 8602 "configure" |
| 8589 #include "confdefs.h" | 8602 #include "confdefs.h" |
| 8590 | 8603 |
| 8591 #include <sys/types.h> | 8604 #include <sys/types.h> |
| 8592 #include <sys/socket.h> | 8605 #include <sys/socket.h> |
| 8593 #include <sys/un.h> | 8606 #include <sys/un.h> |
| 8594 | 8607 |
| 8595 int main() { | 8608 int main() { |
| 8596 static struct sockaddr_un x; x.sun_len = 1; | 8609 static struct sockaddr_un x; x.sun_len = 1; |
| 8597 ; return 0; } | 8610 ; return 0; } |
| 8598 EOF | 8611 EOF |
| 8599 if { (eval echo configure:8600: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 8612 if { (eval echo configure:8613: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 8600 rm -rf conftest* | 8613 rm -rf conftest* |
| 8601 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF | 8614 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF |
| 8602 Defining HAVE_SOCKADDR_SUN_LEN | 8615 Defining HAVE_SOCKADDR_SUN_LEN |
| 8603 EOF | 8616 EOF |
| 8604 cat >> confdefs.h <<\EOF | 8617 cat >> confdefs.h <<\EOF |
| 8625 echo "$ac_t""no" 1>&6 | 8638 echo "$ac_t""no" 1>&6 |
| 8626 fi | 8639 fi |
| 8627 | 8640 |
| 8628 | 8641 |
| 8629 echo $ac_n "checking for msgget""... $ac_c" 1>&6 | 8642 echo $ac_n "checking for msgget""... $ac_c" 1>&6 |
| 8630 echo "configure:8631: checking for msgget" >&5 | 8643 echo "configure:8644: checking for msgget" >&5 |
| 8631 | 8644 |
| 8632 cat > conftest.$ac_ext <<EOF | 8645 cat > conftest.$ac_ext <<EOF |
| 8633 #line 8634 "configure" | 8646 #line 8647 "configure" |
| 8634 #include "confdefs.h" | 8647 #include "confdefs.h" |
| 8635 /* System header to define __stub macros and hopefully few prototypes, | 8648 /* System header to define __stub macros and hopefully few prototypes, |
| 8636 which can conflict with char msgget(); below. */ | 8649 which can conflict with char msgget(); below. */ |
| 8637 #include <assert.h> | 8650 #include <assert.h> |
| 8638 /* Override any gcc2 internal prototype to avoid an error. */ | 8651 /* Override any gcc2 internal prototype to avoid an error. */ |
| 8651 msgget(); | 8664 msgget(); |
| 8652 #endif | 8665 #endif |
| 8653 | 8666 |
| 8654 ; return 0; } | 8667 ; return 0; } |
| 8655 EOF | 8668 EOF |
| 8656 if { (eval echo configure:8657: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 8669 if { (eval echo configure:8670: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 8657 rm -rf conftest* | 8670 rm -rf conftest* |
| 8658 eval "ac_cv_func_msgget=yes" | 8671 eval "ac_cv_func_msgget=yes" |
| 8659 else | 8672 else |
| 8660 echo "configure: failed program was:" >&5 | 8673 echo "configure: failed program was:" >&5 |
| 8661 cat conftest.$ac_ext >&5 | 8674 cat conftest.$ac_ext >&5 |
| 8666 | 8679 |
| 8667 if eval "test \"`echo '$ac_cv_func_'msgget`\" = yes"; then | 8680 if eval "test \"`echo '$ac_cv_func_'msgget`\" = yes"; then |
| 8668 echo "$ac_t""yes" 1>&6 | 8681 echo "$ac_t""yes" 1>&6 |
| 8669 ac_safe=`echo "sys/ipc.h" | sed 'y%./+-%__p_%'` | 8682 ac_safe=`echo "sys/ipc.h" | sed 'y%./+-%__p_%'` |
| 8670 echo $ac_n "checking for sys/ipc.h""... $ac_c" 1>&6 | 8683 echo $ac_n "checking for sys/ipc.h""... $ac_c" 1>&6 |
| 8671 echo "configure:8672: checking for sys/ipc.h" >&5 | 8684 echo "configure:8685: checking for sys/ipc.h" >&5 |
| 8672 | 8685 |
| 8673 cat > conftest.$ac_ext <<EOF | 8686 cat > conftest.$ac_ext <<EOF |
| 8674 #line 8675 "configure" | 8687 #line 8688 "configure" |
| 8675 #include "confdefs.h" | 8688 #include "confdefs.h" |
| 8676 #include <sys/ipc.h> | 8689 #include <sys/ipc.h> |
| 8677 EOF | 8690 EOF |
| 8678 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8691 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 8679 { (eval echo configure:8680: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8692 { (eval echo configure:8693: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 8680 ac_err=`grep -v '^ *+' conftest.out` | 8693 ac_err=`grep -v '^ *+' conftest.out` |
| 8681 if test -z "$ac_err"; then | 8694 if test -z "$ac_err"; then |
| 8682 rm -rf conftest* | 8695 rm -rf conftest* |
| 8683 eval "ac_cv_header_$ac_safe=yes" | 8696 eval "ac_cv_header_$ac_safe=yes" |
| 8684 else | 8697 else |
| 8691 rm -f conftest* | 8704 rm -f conftest* |
| 8692 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 8705 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
| 8693 echo "$ac_t""yes" 1>&6 | 8706 echo "$ac_t""yes" 1>&6 |
| 8694 ac_safe=`echo "sys/msg.h" | sed 'y%./+-%__p_%'` | 8707 ac_safe=`echo "sys/msg.h" | sed 'y%./+-%__p_%'` |
| 8695 echo $ac_n "checking for sys/msg.h""... $ac_c" 1>&6 | 8708 echo $ac_n "checking for sys/msg.h""... $ac_c" 1>&6 |
| 8696 echo "configure:8697: checking for sys/msg.h" >&5 | 8709 echo "configure:8710: checking for sys/msg.h" >&5 |
| 8697 | 8710 |
| 8698 cat > conftest.$ac_ext <<EOF | 8711 cat > conftest.$ac_ext <<EOF |
| 8699 #line 8700 "configure" | 8712 #line 8713 "configure" |
| 8700 #include "confdefs.h" | 8713 #include "confdefs.h" |
| 8701 #include <sys/msg.h> | 8714 #include <sys/msg.h> |
| 8702 EOF | 8715 EOF |
| 8703 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8716 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 8704 { (eval echo configure:8705: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8717 { (eval echo configure:8718: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 8705 ac_err=`grep -v '^ *+' conftest.out` | 8718 ac_err=`grep -v '^ *+' conftest.out` |
| 8706 if test -z "$ac_err"; then | 8719 if test -z "$ac_err"; then |
| 8707 rm -rf conftest* | 8720 rm -rf conftest* |
| 8708 eval "ac_cv_header_$ac_safe=yes" | 8721 eval "ac_cv_header_$ac_safe=yes" |
| 8709 else | 8722 else |
| 8737 fi | 8750 fi |
| 8738 | 8751 |
| 8739 | 8752 |
| 8740 ac_safe=`echo "dirent.h" | sed 'y%./+-%__p_%'` | 8753 ac_safe=`echo "dirent.h" | sed 'y%./+-%__p_%'` |
| 8741 echo $ac_n "checking for dirent.h""... $ac_c" 1>&6 | 8754 echo $ac_n "checking for dirent.h""... $ac_c" 1>&6 |
| 8742 echo "configure:8743: checking for dirent.h" >&5 | 8755 echo "configure:8756: checking for dirent.h" >&5 |
| 8743 | 8756 |
| 8744 cat > conftest.$ac_ext <<EOF | 8757 cat > conftest.$ac_ext <<EOF |
| 8745 #line 8746 "configure" | 8758 #line 8759 "configure" |
| 8746 #include "confdefs.h" | 8759 #include "confdefs.h" |
| 8747 #include <dirent.h> | 8760 #include <dirent.h> |
| 8748 EOF | 8761 EOF |
| 8749 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8762 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 8750 { (eval echo configure:8751: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8763 { (eval echo configure:8764: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 8751 ac_err=`grep -v '^ *+' conftest.out` | 8764 ac_err=`grep -v '^ *+' conftest.out` |
| 8752 if test -z "$ac_err"; then | 8765 if test -z "$ac_err"; then |
| 8753 rm -rf conftest* | 8766 rm -rf conftest* |
| 8754 eval "ac_cv_header_$ac_safe=yes" | 8767 eval "ac_cv_header_$ac_safe=yes" |
| 8755 else | 8768 else |
| 8772 | 8785 |
| 8773 else | 8786 else |
| 8774 echo "$ac_t""no" 1>&6 | 8787 echo "$ac_t""no" 1>&6 |
| 8775 ac_safe=`echo "sys/dir.h" | sed 'y%./+-%__p_%'` | 8788 ac_safe=`echo "sys/dir.h" | sed 'y%./+-%__p_%'` |
| 8776 echo $ac_n "checking for sys/dir.h""... $ac_c" 1>&6 | 8789 echo $ac_n "checking for sys/dir.h""... $ac_c" 1>&6 |
| 8777 echo "configure:8778: checking for sys/dir.h" >&5 | 8790 echo "configure:8791: checking for sys/dir.h" >&5 |
| 8778 | 8791 |
| 8779 cat > conftest.$ac_ext <<EOF | 8792 cat > conftest.$ac_ext <<EOF |
| 8780 #line 8781 "configure" | 8793 #line 8794 "configure" |
| 8781 #include "confdefs.h" | 8794 #include "confdefs.h" |
| 8782 #include <sys/dir.h> | 8795 #include <sys/dir.h> |
| 8783 EOF | 8796 EOF |
| 8784 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8797 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 8785 { (eval echo configure:8786: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8798 { (eval echo configure:8799: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 8786 ac_err=`grep -v '^ *+' conftest.out` | 8799 ac_err=`grep -v '^ *+' conftest.out` |
| 8787 if test -z "$ac_err"; then | 8800 if test -z "$ac_err"; then |
| 8788 rm -rf conftest* | 8801 rm -rf conftest* |
| 8789 eval "ac_cv_header_$ac_safe=yes" | 8802 eval "ac_cv_header_$ac_safe=yes" |
| 8790 else | 8803 else |
| 8813 fi | 8826 fi |
| 8814 | 8827 |
| 8815 | 8828 |
| 8816 ac_safe=`echo "nlist.h" | sed 'y%./+-%__p_%'` | 8829 ac_safe=`echo "nlist.h" | sed 'y%./+-%__p_%'` |
| 8817 echo $ac_n "checking for nlist.h""... $ac_c" 1>&6 | 8830 echo $ac_n "checking for nlist.h""... $ac_c" 1>&6 |
| 8818 echo "configure:8819: checking for nlist.h" >&5 | 8831 echo "configure:8832: checking for nlist.h" >&5 |
| 8819 | 8832 |
| 8820 cat > conftest.$ac_ext <<EOF | 8833 cat > conftest.$ac_ext <<EOF |
| 8821 #line 8822 "configure" | 8834 #line 8835 "configure" |
| 8822 #include "confdefs.h" | 8835 #include "confdefs.h" |
| 8823 #include <nlist.h> | 8836 #include <nlist.h> |
| 8824 EOF | 8837 EOF |
| 8825 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8838 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 8826 { (eval echo configure:8827: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8839 { (eval echo configure:8840: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 8827 ac_err=`grep -v '^ *+' conftest.out` | 8840 ac_err=`grep -v '^ *+' conftest.out` |
| 8828 if test -z "$ac_err"; then | 8841 if test -z "$ac_err"; then |
| 8829 rm -rf conftest* | 8842 rm -rf conftest* |
| 8830 eval "ac_cv_header_$ac_safe=yes" | 8843 eval "ac_cv_header_$ac_safe=yes" |
| 8831 else | 8844 else |
| 8862 break; fi | 8875 break; fi |
| 8863 done | 8876 done |
| 8864 | 8877 |
| 8865 | 8878 |
| 8866 echo "checking "for sound support"" 1>&6 | 8879 echo "checking "for sound support"" 1>&6 |
| 8867 echo "configure:8868: checking "for sound support"" >&5 | 8880 echo "configure:8881: checking "for sound support"" >&5 |
| 8868 case "$with_sound" in | 8881 case "$with_sound" in |
| 8869 native | both ) with_native_sound=yes;; | 8882 native | both ) with_native_sound=yes;; |
| 8870 nas | no ) with_native_sound=no;; | 8883 nas | no ) with_native_sound=no;; |
| 8871 esac | 8884 esac |
| 8872 test -z "$with_native_sound" -a -n "$native_sound_lib" && with_native_sound=yes | 8885 test -z "$with_native_sound" -a -n "$native_sound_lib" && with_native_sound=yes |
| 8873 | 8886 |
| 8874 if test "$with_native_sound" != "no"; then | 8887 if test "$with_native_sound" != "no"; then |
| 8875 if test -n "$native_sound_lib"; then | 8888 if test -n "$native_sound_lib"; then |
| 8876 ac_safe=`echo "multimedia/audio_device.h" | sed 'y%./+-%__p_%'` | 8889 ac_safe=`echo "multimedia/audio_device.h" | sed 'y%./+-%__p_%'` |
| 8877 echo $ac_n "checking for multimedia/audio_device.h""... $ac_c" 1>&6 | 8890 echo $ac_n "checking for multimedia/audio_device.h""... $ac_c" 1>&6 |
| 8878 echo "configure:8879: checking for multimedia/audio_device.h" >&5 | 8891 echo "configure:8892: checking for multimedia/audio_device.h" >&5 |
| 8879 | 8892 |
| 8880 cat > conftest.$ac_ext <<EOF | 8893 cat > conftest.$ac_ext <<EOF |
| 8881 #line 8882 "configure" | 8894 #line 8895 "configure" |
| 8882 #include "confdefs.h" | 8895 #include "confdefs.h" |
| 8883 #include <multimedia/audio_device.h> | 8896 #include <multimedia/audio_device.h> |
| 8884 EOF | 8897 EOF |
| 8885 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8898 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 8886 { (eval echo configure:8887: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8899 { (eval echo configure:8900: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 8887 ac_err=`grep -v '^ *+' conftest.out` | 8900 ac_err=`grep -v '^ *+' conftest.out` |
| 8888 if test -z "$ac_err"; then | 8901 if test -z "$ac_err"; then |
| 8889 rm -rf conftest* | 8902 rm -rf conftest* |
| 8890 eval "ac_cv_header_$ac_safe=yes" | 8903 eval "ac_cv_header_$ac_safe=yes" |
| 8891 else | 8904 else |
| 8929 case "$canonical" in | 8942 case "$canonical" in |
| 8930 *-sgi-* ) | 8943 *-sgi-* ) |
| 8931 if test -z "$native_sound_lib"; then | 8944 if test -z "$native_sound_lib"; then |
| 8932 | 8945 |
| 8933 echo $ac_n "checking for ALopenport in -laudio""... $ac_c" 1>&6 | 8946 echo $ac_n "checking for ALopenport in -laudio""... $ac_c" 1>&6 |
| 8934 echo "configure:8935: checking for ALopenport in -laudio" >&5 | 8947 echo "configure:8948: checking for ALopenport in -laudio" >&5 |
| 8935 ac_lib_var=`echo audio'_'ALopenport | sed 'y%./+-%__p_%'` | 8948 ac_lib_var=`echo audio'_'ALopenport | sed 'y%./+-%__p_%'` |
| 8936 | 8949 |
| 8937 xe_check_libs=" -laudio " | 8950 xe_check_libs=" -laudio " |
| 8938 cat > conftest.$ac_ext <<EOF | 8951 cat > conftest.$ac_ext <<EOF |
| 8939 #line 8940 "configure" | 8952 #line 8953 "configure" |
| 8940 #include "confdefs.h" | 8953 #include "confdefs.h" |
| 8941 /* Override any gcc2 internal prototype to avoid an error. */ | 8954 /* Override any gcc2 internal prototype to avoid an error. */ |
| 8942 /* We use char because int might match the return type of a gcc2 | 8955 /* We use char because int might match the return type of a gcc2 |
| 8943 builtin and then its argument prototype would still apply. */ | 8956 builtin and then its argument prototype would still apply. */ |
| 8944 char ALopenport(); | 8957 char ALopenport(); |
| 8945 | 8958 |
| 8946 int main() { | 8959 int main() { |
| 8947 ALopenport() | 8960 ALopenport() |
| 8948 ; return 0; } | 8961 ; return 0; } |
| 8949 EOF | 8962 EOF |
| 8950 if { (eval echo configure:8951: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 8963 if { (eval echo configure:8964: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 8951 rm -rf conftest* | 8964 rm -rf conftest* |
| 8952 eval "ac_cv_lib_$ac_lib_var=yes" | 8965 eval "ac_cv_lib_$ac_lib_var=yes" |
| 8953 else | 8966 else |
| 8954 echo "configure: failed program was:" >&5 | 8967 echo "configure: failed program was:" >&5 |
| 8955 cat conftest.$ac_ext >&5 | 8968 cat conftest.$ac_ext >&5 |
| 8976 fi ;; | 8989 fi ;; |
| 8977 hppa*-hp-hpux* ) | 8990 hppa*-hp-hpux* ) |
| 8978 if test -z "$native_sound_lib"; then | 8991 if test -z "$native_sound_lib"; then |
| 8979 | 8992 |
| 8980 echo $ac_n "checking for AOpenAudio in -lAlib""... $ac_c" 1>&6 | 8993 echo $ac_n "checking for AOpenAudio in -lAlib""... $ac_c" 1>&6 |
| 8981 echo "configure:8982: checking for AOpenAudio in -lAlib" >&5 | 8994 echo "configure:8995: checking for AOpenAudio in -lAlib" >&5 |
| 8982 ac_lib_var=`echo Alib'_'AOpenAudio | sed 'y%./+-%__p_%'` | 8995 ac_lib_var=`echo Alib'_'AOpenAudio | sed 'y%./+-%__p_%'` |
| 8983 | 8996 |
| 8984 xe_check_libs=" -lAlib " | 8997 xe_check_libs=" -lAlib " |
| 8985 cat > conftest.$ac_ext <<EOF | 8998 cat > conftest.$ac_ext <<EOF |
| 8986 #line 8987 "configure" | 8999 #line 9000 "configure" |
| 8987 #include "confdefs.h" | 9000 #include "confdefs.h" |
| 8988 /* Override any gcc2 internal prototype to avoid an error. */ | 9001 /* Override any gcc2 internal prototype to avoid an error. */ |
| 8989 /* We use char because int might match the return type of a gcc2 | 9002 /* We use char because int might match the return type of a gcc2 |
| 8990 builtin and then its argument prototype would still apply. */ | 9003 builtin and then its argument prototype would still apply. */ |
| 8991 char AOpenAudio(); | 9004 char AOpenAudio(); |
| 8992 | 9005 |
| 8993 int main() { | 9006 int main() { |
| 8994 AOpenAudio() | 9007 AOpenAudio() |
| 8995 ; return 0; } | 9008 ; return 0; } |
| 8996 EOF | 9009 EOF |
| 8997 if { (eval echo configure:8998: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 9010 if { (eval echo configure:9011: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 8998 rm -rf conftest* | 9011 rm -rf conftest* |
| 8999 eval "ac_cv_lib_$ac_lib_var=yes" | 9012 eval "ac_cv_lib_$ac_lib_var=yes" |
| 9000 else | 9013 else |
| 9001 echo "configure: failed program was:" >&5 | 9014 echo "configure: failed program was:" >&5 |
| 9002 cat conftest.$ac_ext >&5 | 9015 cat conftest.$ac_ext >&5 |
| 9030 | 9043 |
| 9031 if test -z "$sound_found"; then | 9044 if test -z "$sound_found"; then |
| 9032 for dir in "machine" "sys" "linux"; do | 9045 for dir in "machine" "sys" "linux"; do |
| 9033 ac_safe=`echo "${dir}/soundcard.h" | sed 'y%./+-%__p_%'` | 9046 ac_safe=`echo "${dir}/soundcard.h" | sed 'y%./+-%__p_%'` |
| 9034 echo $ac_n "checking for ${dir}/soundcard.h""... $ac_c" 1>&6 | 9047 echo $ac_n "checking for ${dir}/soundcard.h""... $ac_c" 1>&6 |
| 9035 echo "configure:9036: checking for ${dir}/soundcard.h" >&5 | 9048 echo "configure:9049: checking for ${dir}/soundcard.h" >&5 |
| 9036 | 9049 |
| 9037 cat > conftest.$ac_ext <<EOF | 9050 cat > conftest.$ac_ext <<EOF |
| 9038 #line 9039 "configure" | 9051 #line 9052 "configure" |
| 9039 #include "confdefs.h" | 9052 #include "confdefs.h" |
| 9040 #include <${dir}/soundcard.h> | 9053 #include <${dir}/soundcard.h> |
| 9041 EOF | 9054 EOF |
| 9042 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9055 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 9043 { (eval echo configure:9044: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9056 { (eval echo configure:9057: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 9044 ac_err=`grep -v '^ *+' conftest.out` | 9057 ac_err=`grep -v '^ *+' conftest.out` |
| 9045 if test -z "$ac_err"; then | 9058 if test -z "$ac_err"; then |
| 9046 rm -rf conftest* | 9059 rm -rf conftest* |
| 9047 eval "ac_cv_header_$ac_safe=yes" | 9060 eval "ac_cv_header_$ac_safe=yes" |
| 9048 else | 9061 else |
| 9108 extra_objs="$extra_objs nas.o" && if test "$extra_verbose" = "yes"; then | 9121 extra_objs="$extra_objs nas.o" && if test "$extra_verbose" = "yes"; then |
| 9109 echo " xemacs will be linked with \"nas.o\"" | 9122 echo " xemacs will be linked with \"nas.o\"" |
| 9110 fi | 9123 fi |
| 9111 LIBS="-laudio $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-laudio\" to \$LIBS"; fi | 9124 LIBS="-laudio $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-laudio\" to \$LIBS"; fi |
| 9112 cat > conftest.$ac_ext <<EOF | 9125 cat > conftest.$ac_ext <<EOF |
| 9113 #line 9114 "configure" | 9126 #line 9127 "configure" |
| 9114 #include "confdefs.h" | 9127 #include "confdefs.h" |
| 9115 #include <audio/Xtutil.h> | 9128 #include <audio/Xtutil.h> |
| 9116 EOF | 9129 EOF |
| 9117 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 9130 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
| 9118 egrep "AuXtErrorJump" >/dev/null 2>&1; then | 9131 egrep "AuXtErrorJump" >/dev/null 2>&1; then |
| 9135 | 9148 |
| 9136 test -z "$with_tty" && with_tty=yes | 9149 test -z "$with_tty" && with_tty=yes |
| 9137 | 9150 |
| 9138 if test "$with_tty" = "yes" ; then | 9151 if test "$with_tty" = "yes" ; then |
| 9139 echo "checking for TTY-related features" 1>&6 | 9152 echo "checking for TTY-related features" 1>&6 |
| 9140 echo "configure:9141: checking for TTY-related features" >&5 | 9153 echo "configure:9154: checking for TTY-related features" >&5 |
| 9141 { test "$extra_verbose" = "yes" && cat << \EOF | 9154 { test "$extra_verbose" = "yes" && cat << \EOF |
| 9142 Defining HAVE_TTY | 9155 Defining HAVE_TTY |
| 9143 EOF | 9156 EOF |
| 9144 cat >> confdefs.h <<\EOF | 9157 cat >> confdefs.h <<\EOF |
| 9145 #define HAVE_TTY 1 | 9158 #define HAVE_TTY 1 |
| 9151 fi | 9164 fi |
| 9152 | 9165 |
| 9153 if test -z "$with_ncurses"; then | 9166 if test -z "$with_ncurses"; then |
| 9154 | 9167 |
| 9155 echo $ac_n "checking for tgetent in -lncurses""... $ac_c" 1>&6 | 9168 echo $ac_n "checking for tgetent in -lncurses""... $ac_c" 1>&6 |
| 9156 echo "configure:9157: checking for tgetent in -lncurses" >&5 | 9169 echo "configure:9170: checking for tgetent in -lncurses" >&5 |
| 9157 ac_lib_var=`echo ncurses'_'tgetent | sed 'y%./+-%__p_%'` | 9170 ac_lib_var=`echo ncurses'_'tgetent | sed 'y%./+-%__p_%'` |
| 9158 | 9171 |
| 9159 xe_check_libs=" -lncurses " | 9172 xe_check_libs=" -lncurses " |
| 9160 cat > conftest.$ac_ext <<EOF | 9173 cat > conftest.$ac_ext <<EOF |
| 9161 #line 9162 "configure" | 9174 #line 9175 "configure" |
| 9162 #include "confdefs.h" | 9175 #include "confdefs.h" |
| 9163 /* Override any gcc2 internal prototype to avoid an error. */ | 9176 /* Override any gcc2 internal prototype to avoid an error. */ |
| 9164 /* We use char because int might match the return type of a gcc2 | 9177 /* We use char because int might match the return type of a gcc2 |
| 9165 builtin and then its argument prototype would still apply. */ | 9178 builtin and then its argument prototype would still apply. */ |
| 9166 char tgetent(); | 9179 char tgetent(); |
| 9167 | 9180 |
| 9168 int main() { | 9181 int main() { |
| 9169 tgetent() | 9182 tgetent() |
| 9170 ; return 0; } | 9183 ; return 0; } |
| 9171 EOF | 9184 EOF |
| 9172 if { (eval echo configure:9173: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 9185 if { (eval echo configure:9186: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 9173 rm -rf conftest* | 9186 rm -rf conftest* |
| 9174 eval "ac_cv_lib_$ac_lib_var=yes" | 9187 eval "ac_cv_lib_$ac_lib_var=yes" |
| 9175 else | 9188 else |
| 9176 echo "configure: failed program was:" >&5 | 9189 echo "configure: failed program was:" >&5 |
| 9177 cat conftest.$ac_ext >&5 | 9190 cat conftest.$ac_ext >&5 |
| 9200 EOF | 9213 EOF |
| 9201 } | 9214 } |
| 9202 | 9215 |
| 9203 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` | 9216 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` |
| 9204 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 | 9217 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 |
| 9205 echo "configure:9206: checking for ncurses/curses.h" >&5 | 9218 echo "configure:9219: checking for ncurses/curses.h" >&5 |
| 9206 | 9219 |
| 9207 cat > conftest.$ac_ext <<EOF | 9220 cat > conftest.$ac_ext <<EOF |
| 9208 #line 9209 "configure" | 9221 #line 9222 "configure" |
| 9209 #include "confdefs.h" | 9222 #include "confdefs.h" |
| 9210 #include <ncurses/curses.h> | 9223 #include <ncurses/curses.h> |
| 9211 EOF | 9224 EOF |
| 9212 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9225 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 9213 { (eval echo configure:9214: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9226 { (eval echo configure:9227: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 9214 ac_err=`grep -v '^ *+' conftest.out` | 9227 ac_err=`grep -v '^ *+' conftest.out` |
| 9215 if test -z "$ac_err"; then | 9228 if test -z "$ac_err"; then |
| 9216 rm -rf conftest* | 9229 rm -rf conftest* |
| 9217 eval "ac_cv_header_$ac_safe=yes" | 9230 eval "ac_cv_header_$ac_safe=yes" |
| 9218 else | 9231 else |
| 9230 echo "$ac_t""no" 1>&6 | 9243 echo "$ac_t""no" 1>&6 |
| 9231 fi | 9244 fi |
| 9232 | 9245 |
| 9233 ac_safe=`echo "ncurses/term.h" | sed 'y%./+-%__p_%'` | 9246 ac_safe=`echo "ncurses/term.h" | sed 'y%./+-%__p_%'` |
| 9234 echo $ac_n "checking for ncurses/term.h""... $ac_c" 1>&6 | 9247 echo $ac_n "checking for ncurses/term.h""... $ac_c" 1>&6 |
| 9235 echo "configure:9236: checking for ncurses/term.h" >&5 | 9248 echo "configure:9249: checking for ncurses/term.h" >&5 |
| 9236 | 9249 |
| 9237 cat > conftest.$ac_ext <<EOF | 9250 cat > conftest.$ac_ext <<EOF |
| 9238 #line 9239 "configure" | 9251 #line 9252 "configure" |
| 9239 #include "confdefs.h" | 9252 #include "confdefs.h" |
| 9240 #include <ncurses/term.h> | 9253 #include <ncurses/term.h> |
| 9241 EOF | 9254 EOF |
| 9242 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9255 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 9243 { (eval echo configure:9244: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9256 { (eval echo configure:9257: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 9244 ac_err=`grep -v '^ *+' conftest.out` | 9257 ac_err=`grep -v '^ *+' conftest.out` |
| 9245 if test -z "$ac_err"; then | 9258 if test -z "$ac_err"; then |
| 9246 rm -rf conftest* | 9259 rm -rf conftest* |
| 9247 eval "ac_cv_header_$ac_safe=yes" | 9260 eval "ac_cv_header_$ac_safe=yes" |
| 9248 else | 9261 else |
| 9268 if test "$ac_cv_header_ncurses_curses_h" != "yes" ; then | 9281 if test "$ac_cv_header_ncurses_curses_h" != "yes" ; then |
| 9269 save_c_switch_site="$c_switch_site" | 9282 save_c_switch_site="$c_switch_site" |
| 9270 c_switch_site="$c_switch_site -I/usr/include/ncurses" | 9283 c_switch_site="$c_switch_site -I/usr/include/ncurses" |
| 9271 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` | 9284 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` |
| 9272 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 | 9285 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 |
| 9273 echo "configure:9274: checking for ncurses/curses.h" >&5 | 9286 echo "configure:9287: checking for ncurses/curses.h" >&5 |
| 9274 | 9287 |
| 9275 cat > conftest.$ac_ext <<EOF | 9288 cat > conftest.$ac_ext <<EOF |
| 9276 #line 9277 "configure" | 9289 #line 9290 "configure" |
| 9277 #include "confdefs.h" | 9290 #include "confdefs.h" |
| 9278 #include <ncurses/curses.h> | 9291 #include <ncurses/curses.h> |
| 9279 EOF | 9292 EOF |
| 9280 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9293 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 9281 { (eval echo configure:9282: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9294 { (eval echo configure:9295: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 9282 ac_err=`grep -v '^ *+' conftest.out` | 9295 ac_err=`grep -v '^ *+' conftest.out` |
| 9283 if test -z "$ac_err"; then | 9296 if test -z "$ac_err"; then |
| 9284 rm -rf conftest* | 9297 rm -rf conftest* |
| 9285 eval "ac_cv_header_$ac_safe=yes" | 9298 eval "ac_cv_header_$ac_safe=yes" |
| 9286 else | 9299 else |
| 9311 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi | 9324 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi |
| 9312 else | 9325 else |
| 9313 for lib in curses termlib termcap; do | 9326 for lib in curses termlib termcap; do |
| 9314 | 9327 |
| 9315 echo $ac_n "checking for tgetent in -l$lib""... $ac_c" 1>&6 | 9328 echo $ac_n "checking for tgetent in -l$lib""... $ac_c" 1>&6 |
| 9316 echo "configure:9317: checking for tgetent in -l$lib" >&5 | 9329 echo "configure:9330: checking for tgetent in -l$lib" >&5 |
| 9317 ac_lib_var=`echo $lib'_'tgetent | sed 'y%./+-%__p_%'` | 9330 ac_lib_var=`echo $lib'_'tgetent | sed 'y%./+-%__p_%'` |
| 9318 | 9331 |
| 9319 xe_check_libs=" -l$lib " | 9332 xe_check_libs=" -l$lib " |
| 9320 cat > conftest.$ac_ext <<EOF | 9333 cat > conftest.$ac_ext <<EOF |
| 9321 #line 9322 "configure" | 9334 #line 9335 "configure" |
| 9322 #include "confdefs.h" | 9335 #include "confdefs.h" |
| 9323 /* Override any gcc2 internal prototype to avoid an error. */ | 9336 /* Override any gcc2 internal prototype to avoid an error. */ |
| 9324 /* We use char because int might match the return type of a gcc2 | 9337 /* We use char because int might match the return type of a gcc2 |
| 9325 builtin and then its argument prototype would still apply. */ | 9338 builtin and then its argument prototype would still apply. */ |
| 9326 char tgetent(); | 9339 char tgetent(); |
| 9327 | 9340 |
| 9328 int main() { | 9341 int main() { |
| 9329 tgetent() | 9342 tgetent() |
| 9330 ; return 0; } | 9343 ; return 0; } |
| 9331 EOF | 9344 EOF |
| 9332 if { (eval echo configure:9333: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 9345 if { (eval echo configure:9346: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 9333 rm -rf conftest* | 9346 rm -rf conftest* |
| 9334 eval "ac_cv_lib_$ac_lib_var=yes" | 9347 eval "ac_cv_lib_$ac_lib_var=yes" |
| 9335 else | 9348 else |
| 9336 echo "configure: failed program was:" >&5 | 9349 echo "configure: failed program was:" >&5 |
| 9337 cat conftest.$ac_ext >&5 | 9350 cat conftest.$ac_ext >&5 |
| 9358 if test -n "$libs_termcap"; then | 9371 if test -n "$libs_termcap"; then |
| 9359 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi | 9372 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi |
| 9360 else | 9373 else |
| 9361 | 9374 |
| 9362 echo $ac_n "checking for tgetent in -lcurses""... $ac_c" 1>&6 | 9375 echo $ac_n "checking for tgetent in -lcurses""... $ac_c" 1>&6 |
| 9363 echo "configure:9364: checking for tgetent in -lcurses" >&5 | 9376 echo "configure:9377: checking for tgetent in -lcurses" >&5 |
| 9364 ac_lib_var=`echo curses'_'tgetent | sed 'y%./+-%__p_%'` | 9377 ac_lib_var=`echo curses'_'tgetent | sed 'y%./+-%__p_%'` |
| 9365 | 9378 |
| 9366 xe_check_libs=" -lcurses " | 9379 xe_check_libs=" -lcurses " |
| 9367 cat > conftest.$ac_ext <<EOF | 9380 cat > conftest.$ac_ext <<EOF |
| 9368 #line 9369 "configure" | 9381 #line 9382 "configure" |
| 9369 #include "confdefs.h" | 9382 #include "confdefs.h" |
| 9370 /* Override any gcc2 internal prototype to avoid an error. */ | 9383 /* Override any gcc2 internal prototype to avoid an error. */ |
| 9371 /* We use char because int might match the return type of a gcc2 | 9384 /* We use char because int might match the return type of a gcc2 |
| 9372 builtin and then its argument prototype would still apply. */ | 9385 builtin and then its argument prototype would still apply. */ |
| 9373 char tgetent(); | 9386 char tgetent(); |
| 9374 | 9387 |
| 9375 int main() { | 9388 int main() { |
| 9376 tgetent() | 9389 tgetent() |
| 9377 ; return 0; } | 9390 ; return 0; } |
| 9378 EOF | 9391 EOF |
| 9379 if { (eval echo configure:9380: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 9392 if { (eval echo configure:9393: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 9380 rm -rf conftest* | 9393 rm -rf conftest* |
| 9381 eval "ac_cv_lib_$ac_lib_var=yes" | 9394 eval "ac_cv_lib_$ac_lib_var=yes" |
| 9382 else | 9395 else |
| 9383 echo "configure: failed program was:" >&5 | 9396 echo "configure: failed program was:" >&5 |
| 9384 cat conftest.$ac_ext >&5 | 9397 cat conftest.$ac_ext >&5 |
| 9392 echo "$ac_t""yes" 1>&6 | 9405 echo "$ac_t""yes" 1>&6 |
| 9393 LIBS="-lcurses $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lcurses\" to \$LIBS"; fi | 9406 LIBS="-lcurses $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lcurses\" to \$LIBS"; fi |
| 9394 else | 9407 else |
| 9395 echo "$ac_t""no" 1>&6 | 9408 echo "$ac_t""no" 1>&6 |
| 9396 echo $ac_n "checking for tgetent in -ltermcap""... $ac_c" 1>&6 | 9409 echo $ac_n "checking for tgetent in -ltermcap""... $ac_c" 1>&6 |
| 9397 echo "configure:9398: checking for tgetent in -ltermcap" >&5 | 9410 echo "configure:9411: checking for tgetent in -ltermcap" >&5 |
| 9398 ac_lib_var=`echo termcap'_'tgetent | sed 'y%./+-%__p_%'` | 9411 ac_lib_var=`echo termcap'_'tgetent | sed 'y%./+-%__p_%'` |
| 9399 | 9412 |
| 9400 xe_check_libs=" -ltermcap " | 9413 xe_check_libs=" -ltermcap " |
| 9401 cat > conftest.$ac_ext <<EOF | 9414 cat > conftest.$ac_ext <<EOF |
| 9402 #line 9403 "configure" | 9415 #line 9416 "configure" |
| 9403 #include "confdefs.h" | 9416 #include "confdefs.h" |
| 9404 /* Override any gcc2 internal prototype to avoid an error. */ | 9417 /* Override any gcc2 internal prototype to avoid an error. */ |
| 9405 /* We use char because int might match the return type of a gcc2 | 9418 /* We use char because int might match the return type of a gcc2 |
| 9406 builtin and then its argument prototype would still apply. */ | 9419 builtin and then its argument prototype would still apply. */ |
| 9407 char tgetent(); | 9420 char tgetent(); |
| 9408 | 9421 |
| 9409 int main() { | 9422 int main() { |
| 9410 tgetent() | 9423 tgetent() |
| 9411 ; return 0; } | 9424 ; return 0; } |
| 9412 EOF | 9425 EOF |
| 9413 if { (eval echo configure:9414: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 9426 if { (eval echo configure:9427: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 9414 rm -rf conftest* | 9427 rm -rf conftest* |
| 9415 eval "ac_cv_lib_$ac_lib_var=yes" | 9428 eval "ac_cv_lib_$ac_lib_var=yes" |
| 9416 else | 9429 else |
| 9417 echo "configure: failed program was:" >&5 | 9430 echo "configure: failed program was:" >&5 |
| 9418 cat conftest.$ac_ext >&5 | 9431 cat conftest.$ac_ext >&5 |
| 9456 } | 9469 } |
| 9457 | 9470 |
| 9458 | 9471 |
| 9459 test -z "$with_gpm" && { ac_safe=`echo "gpm.h" | sed 'y%./+-%__p_%'` | 9472 test -z "$with_gpm" && { ac_safe=`echo "gpm.h" | sed 'y%./+-%__p_%'` |
| 9460 echo $ac_n "checking for gpm.h""... $ac_c" 1>&6 | 9473 echo $ac_n "checking for gpm.h""... $ac_c" 1>&6 |
| 9461 echo "configure:9462: checking for gpm.h" >&5 | 9474 echo "configure:9475: checking for gpm.h" >&5 |
| 9462 | 9475 |
| 9463 cat > conftest.$ac_ext <<EOF | 9476 cat > conftest.$ac_ext <<EOF |
| 9464 #line 9465 "configure" | 9477 #line 9478 "configure" |
| 9465 #include "confdefs.h" | 9478 #include "confdefs.h" |
| 9466 #include <gpm.h> | 9479 #include <gpm.h> |
| 9467 EOF | 9480 EOF |
| 9468 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9481 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 9469 { (eval echo configure:9470: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9482 { (eval echo configure:9483: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 9470 ac_err=`grep -v '^ *+' conftest.out` | 9483 ac_err=`grep -v '^ *+' conftest.out` |
| 9471 if test -z "$ac_err"; then | 9484 if test -z "$ac_err"; then |
| 9472 rm -rf conftest* | 9485 rm -rf conftest* |
| 9473 eval "ac_cv_header_$ac_safe=yes" | 9486 eval "ac_cv_header_$ac_safe=yes" |
| 9474 else | 9487 else |
| 9487 with_gpm=no | 9500 with_gpm=no |
| 9488 fi | 9501 fi |
| 9489 } | 9502 } |
| 9490 test -z "$with_gpm" && { | 9503 test -z "$with_gpm" && { |
| 9491 echo $ac_n "checking for Gpm_Open in -lgpm""... $ac_c" 1>&6 | 9504 echo $ac_n "checking for Gpm_Open in -lgpm""... $ac_c" 1>&6 |
| 9492 echo "configure:9493: checking for Gpm_Open in -lgpm" >&5 | 9505 echo "configure:9506: checking for Gpm_Open in -lgpm" >&5 |
| 9493 ac_lib_var=`echo gpm'_'Gpm_Open | sed 'y%./+-%__p_%'` | 9506 ac_lib_var=`echo gpm'_'Gpm_Open | sed 'y%./+-%__p_%'` |
| 9494 | 9507 |
| 9495 xe_check_libs=" -lgpm " | 9508 xe_check_libs=" -lgpm " |
| 9496 cat > conftest.$ac_ext <<EOF | 9509 cat > conftest.$ac_ext <<EOF |
| 9497 #line 9498 "configure" | 9510 #line 9511 "configure" |
| 9498 #include "confdefs.h" | 9511 #include "confdefs.h" |
| 9499 /* Override any gcc2 internal prototype to avoid an error. */ | 9512 /* Override any gcc2 internal prototype to avoid an error. */ |
| 9500 /* We use char because int might match the return type of a gcc2 | 9513 /* We use char because int might match the return type of a gcc2 |
| 9501 builtin and then its argument prototype would still apply. */ | 9514 builtin and then its argument prototype would still apply. */ |
| 9502 char Gpm_Open(); | 9515 char Gpm_Open(); |
| 9503 | 9516 |
| 9504 int main() { | 9517 int main() { |
| 9505 Gpm_Open() | 9518 Gpm_Open() |
| 9506 ; return 0; } | 9519 ; return 0; } |
| 9507 EOF | 9520 EOF |
| 9508 if { (eval echo configure:9509: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 9521 if { (eval echo configure:9522: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 9509 rm -rf conftest* | 9522 rm -rf conftest* |
| 9510 eval "ac_cv_lib_$ac_lib_var=yes" | 9523 eval "ac_cv_lib_$ac_lib_var=yes" |
| 9511 else | 9524 else |
| 9512 echo "configure: failed program was:" >&5 | 9525 echo "configure: failed program was:" >&5 |
| 9513 cat conftest.$ac_ext >&5 | 9526 cat conftest.$ac_ext >&5 |
| 9552 echo " xemacs will be linked with \"event-unixoid.o\"" | 9565 echo " xemacs will be linked with \"event-unixoid.o\"" |
| 9553 fi | 9566 fi |
| 9554 | 9567 |
| 9555 | 9568 |
| 9556 echo "checking for database support" 1>&6 | 9569 echo "checking for database support" 1>&6 |
| 9557 echo "configure:9558: checking for database support" >&5 | 9570 echo "configure:9571: checking for database support" >&5 |
| 9558 | 9571 |
| 9559 if test "$with_database_gnudbm" != "no"; then | 9572 if test "$with_database_gnudbm" != "no"; then |
| 9560 | 9573 |
| 9561 echo $ac_n "checking for dbm_open in -lgdbm""... $ac_c" 1>&6 | 9574 echo $ac_n "checking for dbm_open in -lgdbm""... $ac_c" 1>&6 |
| 9562 echo "configure:9563: checking for dbm_open in -lgdbm" >&5 | 9575 echo "configure:9576: checking for dbm_open in -lgdbm" >&5 |
| 9563 ac_lib_var=`echo gdbm'_'dbm_open | sed 'y%./+-%__p_%'` | 9576 ac_lib_var=`echo gdbm'_'dbm_open | sed 'y%./+-%__p_%'` |
| 9564 | 9577 |
| 9565 xe_check_libs=" -lgdbm " | 9578 xe_check_libs=" -lgdbm " |
| 9566 cat > conftest.$ac_ext <<EOF | 9579 cat > conftest.$ac_ext <<EOF |
| 9567 #line 9568 "configure" | 9580 #line 9581 "configure" |
| 9568 #include "confdefs.h" | 9581 #include "confdefs.h" |
| 9569 /* Override any gcc2 internal prototype to avoid an error. */ | 9582 /* Override any gcc2 internal prototype to avoid an error. */ |
| 9570 /* We use char because int might match the return type of a gcc2 | 9583 /* We use char because int might match the return type of a gcc2 |
| 9571 builtin and then its argument prototype would still apply. */ | 9584 builtin and then its argument prototype would still apply. */ |
| 9572 char dbm_open(); | 9585 char dbm_open(); |
| 9573 | 9586 |
| 9574 int main() { | 9587 int main() { |
| 9575 dbm_open() | 9588 dbm_open() |
| 9576 ; return 0; } | 9589 ; return 0; } |
| 9577 EOF | 9590 EOF |
| 9578 if { (eval echo configure:9579: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 9591 if { (eval echo configure:9592: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 9579 rm -rf conftest* | 9592 rm -rf conftest* |
| 9580 eval "ac_cv_lib_$ac_lib_var=yes" | 9593 eval "ac_cv_lib_$ac_lib_var=yes" |
| 9581 else | 9594 else |
| 9582 echo "configure: failed program was:" >&5 | 9595 echo "configure: failed program was:" >&5 |
| 9583 cat conftest.$ac_ext >&5 | 9596 cat conftest.$ac_ext >&5 |
| 9595 fi | 9608 fi |
| 9596 | 9609 |
| 9597 | 9610 |
| 9598 if test "$with_database_gnudbm" != "yes"; then | 9611 if test "$with_database_gnudbm" != "yes"; then |
| 9599 echo $ac_n "checking for dbm_open""... $ac_c" 1>&6 | 9612 echo $ac_n "checking for dbm_open""... $ac_c" 1>&6 |
| 9600 echo "configure:9601: checking for dbm_open" >&5 | 9613 echo "configure:9614: checking for dbm_open" >&5 |
| 9601 | 9614 |
| 9602 cat > conftest.$ac_ext <<EOF | 9615 cat > conftest.$ac_ext <<EOF |
| 9603 #line 9604 "configure" | 9616 #line 9617 "configure" |
| 9604 #include "confdefs.h" | 9617 #include "confdefs.h" |
| 9605 /* System header to define __stub macros and hopefully few prototypes, | 9618 /* System header to define __stub macros and hopefully few prototypes, |
| 9606 which can conflict with char dbm_open(); below. */ | 9619 which can conflict with char dbm_open(); below. */ |
| 9607 #include <assert.h> | 9620 #include <assert.h> |
| 9608 /* Override any gcc2 internal prototype to avoid an error. */ | 9621 /* Override any gcc2 internal prototype to avoid an error. */ |
| 9621 dbm_open(); | 9634 dbm_open(); |
| 9622 #endif | 9635 #endif |
| 9623 | 9636 |
| 9624 ; return 0; } | 9637 ; return 0; } |
| 9625 EOF | 9638 EOF |
| 9626 if { (eval echo configure:9627: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 9639 if { (eval echo configure:9640: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 9627 rm -rf conftest* | 9640 rm -rf conftest* |
| 9628 eval "ac_cv_func_dbm_open=yes" | 9641 eval "ac_cv_func_dbm_open=yes" |
| 9629 else | 9642 else |
| 9630 echo "configure: failed program was:" >&5 | 9643 echo "configure: failed program was:" >&5 |
| 9631 cat conftest.$ac_ext >&5 | 9644 cat conftest.$ac_ext >&5 |
| 9657 fi | 9670 fi |
| 9658 fi | 9671 fi |
| 9659 | 9672 |
| 9660 if test "$with_database_dbm" != "no"; then | 9673 if test "$with_database_dbm" != "no"; then |
| 9661 echo $ac_n "checking for dbm_open""... $ac_c" 1>&6 | 9674 echo $ac_n "checking for dbm_open""... $ac_c" 1>&6 |
| 9662 echo "configure:9663: checking for dbm_open" >&5 | 9675 echo "configure:9676: checking for dbm_open" >&5 |
| 9663 | 9676 |
| 9664 cat > conftest.$ac_ext <<EOF | 9677 cat > conftest.$ac_ext <<EOF |
| 9665 #line 9666 "configure" | 9678 #line 9679 "configure" |
| 9666 #include "confdefs.h" | 9679 #include "confdefs.h" |
| 9667 /* System header to define __stub macros and hopefully few prototypes, | 9680 /* System header to define __stub macros and hopefully few prototypes, |
| 9668 which can conflict with char dbm_open(); below. */ | 9681 which can conflict with char dbm_open(); below. */ |
| 9669 #include <assert.h> | 9682 #include <assert.h> |
| 9670 /* Override any gcc2 internal prototype to avoid an error. */ | 9683 /* Override any gcc2 internal prototype to avoid an error. */ |
| 9683 dbm_open(); | 9696 dbm_open(); |
| 9684 #endif | 9697 #endif |
| 9685 | 9698 |
| 9686 ; return 0; } | 9699 ; return 0; } |
| 9687 EOF | 9700 EOF |
| 9688 if { (eval echo configure:9689: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 9701 if { (eval echo configure:9702: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 9689 rm -rf conftest* | 9702 rm -rf conftest* |
| 9690 eval "ac_cv_func_dbm_open=yes" | 9703 eval "ac_cv_func_dbm_open=yes" |
| 9691 else | 9704 else |
| 9692 echo "configure: failed program was:" >&5 | 9705 echo "configure: failed program was:" >&5 |
| 9693 cat conftest.$ac_ext >&5 | 9706 cat conftest.$ac_ext >&5 |
| 9704 fi | 9717 fi |
| 9705 | 9718 |
| 9706 if test "$need_libdbm" != "no"; then | 9719 if test "$need_libdbm" != "no"; then |
| 9707 | 9720 |
| 9708 echo $ac_n "checking for dbm_open in -ldbm""... $ac_c" 1>&6 | 9721 echo $ac_n "checking for dbm_open in -ldbm""... $ac_c" 1>&6 |
| 9709 echo "configure:9710: checking for dbm_open in -ldbm" >&5 | 9722 echo "configure:9723: checking for dbm_open in -ldbm" >&5 |
| 9710 ac_lib_var=`echo dbm'_'dbm_open | sed 'y%./+-%__p_%'` | 9723 ac_lib_var=`echo dbm'_'dbm_open | sed 'y%./+-%__p_%'` |
| 9711 | 9724 |
| 9712 xe_check_libs=" -ldbm " | 9725 xe_check_libs=" -ldbm " |
| 9713 cat > conftest.$ac_ext <<EOF | 9726 cat > conftest.$ac_ext <<EOF |
| 9714 #line 9715 "configure" | 9727 #line 9728 "configure" |
| 9715 #include "confdefs.h" | 9728 #include "confdefs.h" |
| 9716 /* Override any gcc2 internal prototype to avoid an error. */ | 9729 /* Override any gcc2 internal prototype to avoid an error. */ |
| 9717 /* We use char because int might match the return type of a gcc2 | 9730 /* We use char because int might match the return type of a gcc2 |
| 9718 builtin and then its argument prototype would still apply. */ | 9731 builtin and then its argument prototype would still apply. */ |
| 9719 char dbm_open(); | 9732 char dbm_open(); |
| 9720 | 9733 |
| 9721 int main() { | 9734 int main() { |
| 9722 dbm_open() | 9735 dbm_open() |
| 9723 ; return 0; } | 9736 ; return 0; } |
| 9724 EOF | 9737 EOF |
| 9725 if { (eval echo configure:9726: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 9738 if { (eval echo configure:9739: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 9726 rm -rf conftest* | 9739 rm -rf conftest* |
| 9727 eval "ac_cv_lib_$ac_lib_var=yes" | 9740 eval "ac_cv_lib_$ac_lib_var=yes" |
| 9728 else | 9741 else |
| 9729 echo "configure: failed program was:" >&5 | 9742 echo "configure: failed program was:" >&5 |
| 9730 cat conftest.$ac_ext >&5 | 9743 cat conftest.$ac_ext >&5 |
| 9757 fi | 9770 fi |
| 9758 fi | 9771 fi |
| 9759 | 9772 |
| 9760 if test "$with_database_berkdb" != "no"; then | 9773 if test "$with_database_berkdb" != "no"; then |
| 9761 echo $ac_n "checking for dbopen""... $ac_c" 1>&6 | 9774 echo $ac_n "checking for dbopen""... $ac_c" 1>&6 |
| 9762 echo "configure:9763: checking for dbopen" >&5 | 9775 echo "configure:9776: checking for dbopen" >&5 |
| 9763 | 9776 |
| 9764 cat > conftest.$ac_ext <<EOF | 9777 cat > conftest.$ac_ext <<EOF |
| 9765 #line 9766 "configure" | 9778 #line 9779 "configure" |
| 9766 #include "confdefs.h" | 9779 #include "confdefs.h" |
| 9767 /* System header to define __stub macros and hopefully few prototypes, | 9780 /* System header to define __stub macros and hopefully few prototypes, |
| 9768 which can conflict with char dbopen(); below. */ | 9781 which can conflict with char dbopen(); below. */ |
| 9769 #include <assert.h> | 9782 #include <assert.h> |
| 9770 /* Override any gcc2 internal prototype to avoid an error. */ | 9783 /* Override any gcc2 internal prototype to avoid an error. */ |
| 9783 dbopen(); | 9796 dbopen(); |
| 9784 #endif | 9797 #endif |
| 9785 | 9798 |
| 9786 ; return 0; } | 9799 ; return 0; } |
| 9787 EOF | 9800 EOF |
| 9788 if { (eval echo configure:9789: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 9801 if { (eval echo configure:9802: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 9789 rm -rf conftest* | 9802 rm -rf conftest* |
| 9790 eval "ac_cv_func_dbopen=yes" | 9803 eval "ac_cv_func_dbopen=yes" |
| 9791 else | 9804 else |
| 9792 echo "configure: failed program was:" >&5 | 9805 echo "configure: failed program was:" >&5 |
| 9793 cat conftest.$ac_ext >&5 | 9806 cat conftest.$ac_ext >&5 |
| 9804 fi | 9817 fi |
| 9805 | 9818 |
| 9806 if test "$need_libdb" != "no"; then | 9819 if test "$need_libdb" != "no"; then |
| 9807 | 9820 |
| 9808 echo $ac_n "checking for dbopen in -ldb""... $ac_c" 1>&6 | 9821 echo $ac_n "checking for dbopen in -ldb""... $ac_c" 1>&6 |
| 9809 echo "configure:9810: checking for dbopen in -ldb" >&5 | 9822 echo "configure:9823: checking for dbopen in -ldb" >&5 |
| 9810 ac_lib_var=`echo db'_'dbopen | sed 'y%./+-%__p_%'` | 9823 ac_lib_var=`echo db'_'dbopen | sed 'y%./+-%__p_%'` |
| 9811 | 9824 |
| 9812 xe_check_libs=" -ldb " | 9825 xe_check_libs=" -ldb " |
| 9813 cat > conftest.$ac_ext <<EOF | 9826 cat > conftest.$ac_ext <<EOF |
| 9814 #line 9815 "configure" | 9827 #line 9828 "configure" |
| 9815 #include "confdefs.h" | 9828 #include "confdefs.h" |
| 9816 /* Override any gcc2 internal prototype to avoid an error. */ | 9829 /* Override any gcc2 internal prototype to avoid an error. */ |
| 9817 /* We use char because int might match the return type of a gcc2 | 9830 /* We use char because int might match the return type of a gcc2 |
| 9818 builtin and then its argument prototype would still apply. */ | 9831 builtin and then its argument prototype would still apply. */ |
| 9819 char dbopen(); | 9832 char dbopen(); |
| 9820 | 9833 |
| 9821 int main() { | 9834 int main() { |
| 9822 dbopen() | 9835 dbopen() |
| 9823 ; return 0; } | 9836 ; return 0; } |
| 9824 EOF | 9837 EOF |
| 9825 if { (eval echo configure:9826: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 9838 if { (eval echo configure:9839: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 9826 rm -rf conftest* | 9839 rm -rf conftest* |
| 9827 eval "ac_cv_lib_$ac_lib_var=yes" | 9840 eval "ac_cv_lib_$ac_lib_var=yes" |
| 9828 else | 9841 else |
| 9829 echo "configure: failed program was:" >&5 | 9842 echo "configure: failed program was:" >&5 |
| 9830 cat conftest.$ac_ext >&5 | 9843 cat conftest.$ac_ext >&5 |
| 9844 | 9857 |
| 9845 fi | 9858 fi |
| 9846 if test "$with_database_berkdb" = "yes"; then | 9859 if test "$with_database_berkdb" = "yes"; then |
| 9847 for path in "db/db.h" "db.h"; do | 9860 for path in "db/db.h" "db.h"; do |
| 9848 cat > conftest.$ac_ext <<EOF | 9861 cat > conftest.$ac_ext <<EOF |
| 9849 #line 9850 "configure" | 9862 #line 9863 "configure" |
| 9850 #include "confdefs.h" | 9863 #include "confdefs.h" |
| 9851 #ifdef HAVE_INTTYPES_H | 9864 #ifdef HAVE_INTTYPES_H |
| 9852 #define __BIT_TYPES_DEFINED__ | 9865 #define __BIT_TYPES_DEFINED__ |
| 9853 #include <inttypes.h> | 9866 #include <inttypes.h> |
| 9854 typedef uint8_t u_int8_t; | 9867 typedef uint8_t u_int8_t; |
| 9867 | 9880 |
| 9868 int main() { | 9881 int main() { |
| 9869 | 9882 |
| 9870 ; return 0; } | 9883 ; return 0; } |
| 9871 EOF | 9884 EOF |
| 9872 if { (eval echo configure:9873: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 9885 if { (eval echo configure:9886: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| 9873 rm -rf conftest* | 9886 rm -rf conftest* |
| 9874 db_h_path="$path"; break | 9887 db_h_path="$path"; break |
| 9875 else | 9888 else |
| 9876 echo "configure: failed program was:" >&5 | 9889 echo "configure: failed program was:" >&5 |
| 9877 cat conftest.$ac_ext >&5 | 9890 cat conftest.$ac_ext >&5 |
| 9919 fi | 9932 fi |
| 9920 | 9933 |
| 9921 if test "$with_socks" = "yes"; then | 9934 if test "$with_socks" = "yes"; then |
| 9922 | 9935 |
| 9923 echo $ac_n "checking for SOCKSinit in -lsocks""... $ac_c" 1>&6 | 9936 echo $ac_n "checking for SOCKSinit in -lsocks""... $ac_c" 1>&6 |
| 9924 echo "configure:9925: checking for SOCKSinit in -lsocks" >&5 | 9937 echo "configure:9938: checking for SOCKSinit in -lsocks" >&5 |
| 9925 ac_lib_var=`echo socks'_'SOCKSinit | sed 'y%./+-%__p_%'` | 9938 ac_lib_var=`echo socks'_'SOCKSinit | sed 'y%./+-%__p_%'` |
| 9926 | 9939 |
| 9927 xe_check_libs=" -lsocks " | 9940 xe_check_libs=" -lsocks " |
| 9928 cat > conftest.$ac_ext <<EOF | 9941 cat > conftest.$ac_ext <<EOF |
| 9929 #line 9930 "configure" | 9942 #line 9943 "configure" |
| 9930 #include "confdefs.h" | 9943 #include "confdefs.h" |
| 9931 /* Override any gcc2 internal prototype to avoid an error. */ | 9944 /* Override any gcc2 internal prototype to avoid an error. */ |
| 9932 /* We use char because int might match the return type of a gcc2 | 9945 /* We use char because int might match the return type of a gcc2 |
| 9933 builtin and then its argument prototype would still apply. */ | 9946 builtin and then its argument prototype would still apply. */ |
| 9934 char SOCKSinit(); | 9947 char SOCKSinit(); |
| 9935 | 9948 |
| 9936 int main() { | 9949 int main() { |
| 9937 SOCKSinit() | 9950 SOCKSinit() |
| 9938 ; return 0; } | 9951 ; return 0; } |
| 9939 EOF | 9952 EOF |
| 9940 if { (eval echo configure:9941: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 9953 if { (eval echo configure:9954: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 9941 rm -rf conftest* | 9954 rm -rf conftest* |
| 9942 eval "ac_cv_lib_$ac_lib_var=yes" | 9955 eval "ac_cv_lib_$ac_lib_var=yes" |
| 9943 else | 9956 else |
| 9944 echo "configure: failed program was:" >&5 | 9957 echo "configure: failed program was:" >&5 |
| 9945 cat conftest.$ac_ext >&5 | 9958 cat conftest.$ac_ext >&5 |
| 10151 | 10164 |
| 10152 | 10165 |
| 10153 | 10166 |
| 10154 | 10167 |
| 10155 | 10168 |
| 10156 if test -n "$package_path"; then | 10169 if test "x${package_path}" = "xNONE" ; then |
| 10157 package_path=`echo $package_path | sed 'y/ /:/'` | 10170 package_path="${prefix}/lib/xemacs/packages:~/.xemacs" |
| 10158 { test "$extra_verbose" = "yes" && cat << EOF | 10171 fi |
| 10172 package_path=`echo $package_path | sed 'y/ /:/'` | |
| 10173 { test "$extra_verbose" = "yes" && cat << EOF | |
| 10159 Defining PACKAGE_PATH = "$package_path" | 10174 Defining PACKAGE_PATH = "$package_path" |
| 10160 EOF | 10175 EOF |
| 10161 cat >> confdefs.h <<EOF | 10176 cat >> confdefs.h <<EOF |
| 10162 #define PACKAGE_PATH "$package_path" | 10177 #define PACKAGE_PATH "$package_path" |
| 10163 EOF | 10178 EOF |
| 10164 } | 10179 } |
| 10165 | 10180 |
| 10166 fi | |
| 10167 | 10181 |
| 10168 { test "$extra_verbose" = "yes" && cat << EOF | 10182 { test "$extra_verbose" = "yes" && cat << EOF |
| 10169 Defining EMACS_CONFIGURATION = "$canonical" | 10183 Defining EMACS_CONFIGURATION = "$canonical" |
| 10170 EOF | 10184 EOF |
| 10171 cat >> confdefs.h <<EOF | 10185 cat >> confdefs.h <<EOF |
