Mercurial > hg > xemacs-beta
comparison configure @ 177:6075d714658b r20-3b15
Import from CVS: tag r20-3b15
| author | cvs |
|---|---|
| date | Mon, 13 Aug 2007 09:51:16 +0200 |
| parents | 2d532a89d707 |
| children | 9ad43877534d |
comparison
equal
deleted
inserted
replaced
| 176:6866abce6aaf | 177:6075d714658b |
|---|---|
| 301 --with-x (*) Support the X Window System. | 301 --with-x (*) Support the X Window System. |
| 302 --with-x=no Don't support X. | 302 --with-x=no Don't support X. |
| 303 --x-includes=DIR Search for X header files in DIR. | 303 --x-includes=DIR Search for X header files in DIR. |
| 304 --x-libraries=DIR Search for X libraries in DIR. | 304 --x-libraries=DIR Search for X libraries in DIR. |
| 305 --with-toolbars=no Don't compile with any toolbar support. | 305 --with-toolbars=no Don't compile with any toolbar support. |
| 306 --with-wm Compile with realized leader window for proper | |
| 307 creation of the ApplicationIcon with the | |
| 308 WindowMaker windowmanager (SESSION MANAGEMENT). | |
| 306 --with-menubars=TYPE Use TYPE menubars (lucid, motif, or no). The Lucid | 309 --with-menubars=TYPE Use TYPE menubars (lucid, motif, or no). The Lucid |
| 307 widgets emulate Motif (mostly) but are faster. | 310 widgets emulate Motif (mostly) but are faster. |
| 308 *WARNING* The Motif menubar is currently broken. | 311 *WARNING* The Motif menubar is currently broken. |
| 309 --with-scrollbars=TYPE Use TYPE scrollbars | 312 --with-scrollbars=TYPE Use TYPE scrollbars |
| 310 (lucid, motif, athena, athena3d, or no). | 313 (lucid, motif, athena, athena3d, or no). |
| 391 This is beta level code. | 394 This is beta level code. |
| 392 --with-wnn6 (*) Compile with support for WNN version 6 | 395 --with-wnn6 (*) Compile with support for WNN version 6 |
| 393 This is alpha level code. | 396 This is alpha level code. |
| 394 --with-i18n3 Compile with I18N level 3 (support for message | 397 --with-i18n3 Compile with I18N level 3 (support for message |
| 395 translation). This doesn't currently work. | 398 translation). This doesn't currently work. |
| 399 --with-xfs Compile with XFontSet support for bilingual menubar. | |
| 400 Can't use this option with --with-xim=motif or xlib. | |
| 401 And should have --with-menubars=lucid. | |
| 396 | 402 |
| 397 | 403 |
| 398 Debugging options: | 404 Debugging options: |
| 399 | 405 |
| 400 --debug Compile with support for debugging XEmacs. | 406 --debug Compile with support for debugging XEmacs. |
| 425 is system-dependent). | 431 is system-dependent). |
| 426 --with-clash-detection Use lock files to detect multiple edits of the same file. | 432 --with-clash-detection Use lock files to detect multiple edits of the same file. |
| 427 The default is to not do clash detection. | 433 The default is to not do clash detection. |
| 428 --use-system-malloc Force use of the system malloc, rather than GNU | 434 --use-system-malloc Force use of the system malloc, rather than GNU |
| 429 malloc. | 435 malloc. |
| 436 --use-debug-malloc Use the debugging malloc package. | |
| 430 | 437 |
| 431 You may also specify any of the \`path' variables found in | 438 You may also specify any of the \`path' variables found in |
| 432 Makefile.in, including --bindir, --libdir, --lispdir, --datadir, and | 439 Makefile.in, including --bindir, --libdir, --lispdir, --datadir, and |
| 433 so on. Note that we recommend against explicitly setting any of these | 440 so on. Note that we recommend against explicitly setting any of these |
| 434 variables. See the INSTALL file for a complete list plus the reasons | 441 variables. See the INSTALL file for a complete list plus the reasons |
| 507 with_xpm | \ | 514 with_xpm | \ |
| 508 with_xface | \ | 515 with_xface | \ |
| 509 with_jpeg | \ | 516 with_jpeg | \ |
| 510 with_png | \ | 517 with_png | \ |
| 511 with_tiff | \ | 518 with_tiff | \ |
| 519 with_wm | \ | |
| 512 with_xmu | \ | 520 with_xmu | \ |
| 513 with_quantify | \ | 521 with_quantify | \ |
| 514 with_toolbars | \ | 522 with_toolbars | \ |
| 515 with_tty | \ | 523 with_tty | \ |
| 516 with_i18n3 | \ | 524 with_i18n3 | \ |
| 569 fi | 577 fi |
| 570 eval "$opt=\"$val\"" | 578 eval "$opt=\"$val\"" |
| 571 ;; | 579 ;; |
| 572 | 580 |
| 573 rel_alloc | \ | 581 rel_alloc | \ |
| 582 use_debug_malloc | \ | |
| 574 use_system_malloc ) | 583 use_system_malloc ) |
| 575 case "$val" in | 584 case "$val" in |
| 576 y | ye | yes ) val=yes ;; | 585 y | ye | yes ) val=yes ;; |
| 577 n | no ) val=no ;; | 586 n | no ) val=no ;; |
| 578 d | de | def | defa | defau | defaul | default ) | 587 d | de | def | defa | defau | defaul | default ) |
| 638 echo " Use \`$progname --help' to show usage.") >&2 && exit 1 ;; | 647 echo " Use \`$progname --help' to show usage.") >&2 && exit 1 ;; |
| 639 esac | 648 esac |
| 640 eval "$opt=\"$val\"" | 649 eval "$opt=\"$val\"" |
| 641 ;; | 650 ;; |
| 642 | 651 |
| 652 "with_xfs" ) | |
| 653 case "$val" in | |
| 654 y | ye | yes ) val=yes ;; | |
| 655 n | no | non | none ) val=no ;; | |
| 656 * ) (echo "$progname: Usage error:" | |
| 657 echo " " "The \`--$optname' option must have one of these values: | |
| 658 \`yes', or \`no'." | |
| 659 echo " Use \`$progname --help' to show usage.") >&2 && exit 1 ;; | |
| 660 esac | |
| 661 eval "$opt=\"$val\"" | |
| 662 ;; | |
| 663 | |
| 643 "mail_locking" ) | 664 "mail_locking" ) |
| 644 case "$val" in | 665 case "$val" in |
| 645 lockf ) val=lockf ;; | 666 lockf ) val=lockf ;; |
| 646 flock ) val=flock ;; | 667 flock ) val=flock ;; |
| 647 file ) val=file ;; | 668 file ) val=file ;; |
| 823 fi | 844 fi |
| 824 ;; | 845 ;; |
| 825 esac | 846 esac |
| 826 | 847 |
| 827 echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6 | 848 echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6 |
| 828 echo "configure:829: checking whether ln -s works" >&5 | 849 echo "configure:850: checking whether ln -s works" >&5 |
| 829 | 850 |
| 830 rm -f conftestdata | 851 rm -f conftestdata |
| 831 if ln -s X conftestdata 2>/dev/null | 852 if ln -s X conftestdata 2>/dev/null |
| 832 then | 853 then |
| 833 rm -f conftestdata | 854 rm -f conftestdata |
| 999 } | 1020 } |
| 1000 | 1021 |
| 1001 | 1022 |
| 1002 | 1023 |
| 1003 echo "checking "the configuration name"" 1>&6 | 1024 echo "checking "the configuration name"" 1>&6 |
| 1004 echo "configure:1005: checking "the configuration name"" >&5 | 1025 echo "configure:1026: checking "the configuration name"" >&5 |
| 1005 internal_configuration=`echo $configuration | sed 's/-\(energize\|workshop\)//'` | 1026 internal_configuration=`echo $configuration | sed 's/-\(energize\|workshop\)//'` |
| 1006 if canonical=`$srcdir/config.sub "$internal_configuration"` ; then : ; else | 1027 if canonical=`$srcdir/config.sub "$internal_configuration"` ; then : ; else |
| 1007 exit $? | 1028 exit $? |
| 1008 fi | 1029 fi |
| 1009 | 1030 |
| 1399 linux ) ld_call_shared="-Bstatic" ;; | 1420 linux ) ld_call_shared="-Bstatic" ;; |
| 1400 decosf* ) ld_call_shared="-non_shared" ;; | 1421 decosf* ) ld_call_shared="-non_shared" ;; |
| 1401 esac | 1422 esac |
| 1402 fi | 1423 fi |
| 1403 | 1424 |
| 1404 canonical_version=`echo ${version}_${canonical} | sed 'y/.-/__/'` | 1425 stack_trace_eye_catcher=`echo xemacs_${version}_${canonical} | sed 'y/.-/__/'` |
| 1405 { test "$extra_verbose" = "yes" && cat << EOF | 1426 { test "$extra_verbose" = "yes" && cat << EOF |
| 1406 Defining CANONICAL_VERSION = $canonical_version | 1427 Defining STACK_TRACE_EYE_CATCHER = $stack_trace_eye_catcher |
| 1407 EOF | 1428 EOF |
| 1408 cat >> confdefs.h <<EOF | 1429 cat >> confdefs.h <<EOF |
| 1409 #define CANONICAL_VERSION $canonical_version | 1430 #define STACK_TRACE_EYE_CATCHER $stack_trace_eye_catcher |
| 1410 EOF | 1431 EOF |
| 1411 } | 1432 } |
| 1412 | 1433 |
| 1413 | 1434 |
| 1414 machfile="m/${machine}.h" | 1435 machfile="m/${machine}.h" |
| 1453 xe_save_CFLAGS="$CFLAGS" | 1474 xe_save_CFLAGS="$CFLAGS" |
| 1454 | 1475 |
| 1455 # Extract the first word of "gcc", so it can be a program name with args. | 1476 # Extract the first word of "gcc", so it can be a program name with args. |
| 1456 set dummy gcc; ac_word=$2 | 1477 set dummy gcc; ac_word=$2 |
| 1457 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 1478 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
| 1458 echo "configure:1459: checking for $ac_word" >&5 | 1479 echo "configure:1480: checking for $ac_word" >&5 |
| 1459 | 1480 |
| 1460 if test -n "$CC"; then | 1481 if test -n "$CC"; then |
| 1461 ac_cv_prog_CC="$CC" # Let the user override the test. | 1482 ac_cv_prog_CC="$CC" # Let the user override the test. |
| 1462 else | 1483 else |
| 1463 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" | 1484 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" |
| 1479 | 1500 |
| 1480 if test -z "$CC"; then | 1501 if test -z "$CC"; then |
| 1481 # Extract the first word of "cc", so it can be a program name with args. | 1502 # Extract the first word of "cc", so it can be a program name with args. |
| 1482 set dummy cc; ac_word=$2 | 1503 set dummy cc; ac_word=$2 |
| 1483 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 1504 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
| 1484 echo "configure:1485: checking for $ac_word" >&5 | 1505 echo "configure:1506: checking for $ac_word" >&5 |
| 1485 | 1506 |
| 1486 if test -n "$CC"; then | 1507 if test -n "$CC"; then |
| 1487 ac_cv_prog_CC="$CC" # Let the user override the test. | 1508 ac_cv_prog_CC="$CC" # Let the user override the test. |
| 1488 else | 1509 else |
| 1489 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" | 1510 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" |
| 1524 | 1545 |
| 1525 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } | 1546 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } |
| 1526 fi | 1547 fi |
| 1527 | 1548 |
| 1528 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 | 1549 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 |
| 1529 echo "configure:1530: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 | 1550 echo "configure:1551: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 |
| 1530 | 1551 |
| 1531 ac_ext=c | 1552 ac_ext=c |
| 1532 xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS' | 1553 xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS' |
| 1533 xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_switch_x_site $ld_switch_run' | 1554 xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_switch_x_site $ld_switch_run' |
| 1534 xe_libs='$ld_call_shared $xe_check_libs $X_EXTRA_LIBS $libs_x $X_PRE_LIBS $LIBS $libs_machine $libs_system $libs_standard' | 1555 xe_libs='$ld_call_shared $xe_check_libs $X_EXTRA_LIBS $libs_x $X_PRE_LIBS $LIBS $libs_machine $libs_system $libs_standard' |
| 1536 ac_compile='${CC-cc} -c $CFLAGS '"$xe_cppflags"' conftest.$ac_ext 1>&5' | 1557 ac_compile='${CC-cc} -c $CFLAGS '"$xe_cppflags"' conftest.$ac_ext 1>&5' |
| 1537 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' | 1558 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' |
| 1538 cross_compiling=no | 1559 cross_compiling=no |
| 1539 | 1560 |
| 1540 cat > conftest.$ac_ext <<EOF | 1561 cat > conftest.$ac_ext <<EOF |
| 1541 #line 1542 "configure" | 1562 #line 1563 "configure" |
| 1542 #include "confdefs.h" | 1563 #include "confdefs.h" |
| 1543 main(){return(0);} | 1564 main(){return(0);} |
| 1544 EOF | 1565 EOF |
| 1545 if { (eval echo configure:1546: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 1566 if { (eval echo configure:1567: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 1546 ac_cv_prog_cc_works=yes | 1567 ac_cv_prog_cc_works=yes |
| 1547 # If we can't run a trivial program, we are probably using a cross compiler. | 1568 # If we can't run a trivial program, we are probably using a cross compiler. |
| 1548 if (./conftest; exit) 2>/dev/null; then | 1569 if (./conftest; exit) 2>/dev/null; then |
| 1549 ac_cv_prog_cc_cross=no | 1570 ac_cv_prog_cc_cross=no |
| 1550 else | 1571 else |
| 1560 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 | 1581 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 |
| 1561 if test $ac_cv_prog_cc_works = no; then | 1582 if test $ac_cv_prog_cc_works = no; then |
| 1562 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } | 1583 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } |
| 1563 fi | 1584 fi |
| 1564 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 | 1585 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 |
| 1565 echo "configure:1566: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 | 1586 echo "configure:1587: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 |
| 1566 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 | 1587 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 |
| 1567 cross_compiling=$ac_cv_prog_cc_cross | 1588 cross_compiling=$ac_cv_prog_cc_cross |
| 1568 | 1589 |
| 1569 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 | 1590 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 |
| 1570 echo "configure:1571: checking whether we are using GNU C" >&5 | 1591 echo "configure:1592: checking whether we are using GNU C" >&5 |
| 1571 | 1592 |
| 1572 cat > conftest.c <<EOF | 1593 cat > conftest.c <<EOF |
| 1573 #ifdef __GNUC__ | 1594 #ifdef __GNUC__ |
| 1574 yes; | 1595 yes; |
| 1575 #endif | 1596 #endif |
| 1576 EOF | 1597 EOF |
| 1577 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1578: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then | 1598 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1599: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then |
| 1578 ac_cv_prog_gcc=yes | 1599 ac_cv_prog_gcc=yes |
| 1579 else | 1600 else |
| 1580 ac_cv_prog_gcc=no | 1601 ac_cv_prog_gcc=no |
| 1581 fi | 1602 fi |
| 1582 | 1603 |
| 1586 GCC=yes | 1607 GCC=yes |
| 1587 ac_test_CFLAGS="${CFLAGS+set}" | 1608 ac_test_CFLAGS="${CFLAGS+set}" |
| 1588 ac_save_CFLAGS="$CFLAGS" | 1609 ac_save_CFLAGS="$CFLAGS" |
| 1589 CFLAGS= | 1610 CFLAGS= |
| 1590 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 | 1611 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 |
| 1591 echo "configure:1592: checking whether ${CC-cc} accepts -g" >&5 | 1612 echo "configure:1613: checking whether ${CC-cc} accepts -g" >&5 |
| 1592 | 1613 |
| 1593 echo 'void f(){}' > conftest.c | 1614 echo 'void f(){}' > conftest.c |
| 1594 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then | 1615 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then |
| 1595 ac_cv_prog_cc_g=yes | 1616 ac_cv_prog_cc_g=yes |
| 1596 else | 1617 else |
| 1615 if test "$with_gcc" = "no" -a "$GCC" = "yes"; then | 1636 if test "$with_gcc" = "no" -a "$GCC" = "yes"; then |
| 1616 CC=${NON_GNU_CC-cc} | 1637 CC=${NON_GNU_CC-cc} |
| 1617 # Extract the first word of "gcc", so it can be a program name with args. | 1638 # Extract the first word of "gcc", so it can be a program name with args. |
| 1618 set dummy gcc; ac_word=$2 | 1639 set dummy gcc; ac_word=$2 |
| 1619 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 1640 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
| 1620 echo "configure:1621: checking for $ac_word" >&5 | 1641 echo "configure:1642: checking for $ac_word" >&5 |
| 1621 | 1642 |
| 1622 if test -n "$CC"; then | 1643 if test -n "$CC"; then |
| 1623 ac_cv_prog_CC="$CC" # Let the user override the test. | 1644 ac_cv_prog_CC="$CC" # Let the user override the test. |
| 1624 else | 1645 else |
| 1625 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" | 1646 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" |
| 1641 | 1662 |
| 1642 if test -z "$CC"; then | 1663 if test -z "$CC"; then |
| 1643 # Extract the first word of "cc", so it can be a program name with args. | 1664 # Extract the first word of "cc", so it can be a program name with args. |
| 1644 set dummy cc; ac_word=$2 | 1665 set dummy cc; ac_word=$2 |
| 1645 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 1666 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
| 1646 echo "configure:1647: checking for $ac_word" >&5 | 1667 echo "configure:1668: checking for $ac_word" >&5 |
| 1647 | 1668 |
| 1648 if test -n "$CC"; then | 1669 if test -n "$CC"; then |
| 1649 ac_cv_prog_CC="$CC" # Let the user override the test. | 1670 ac_cv_prog_CC="$CC" # Let the user override the test. |
| 1650 else | 1671 else |
| 1651 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" | 1672 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" |
| 1686 | 1707 |
| 1687 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } | 1708 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } |
| 1688 fi | 1709 fi |
| 1689 | 1710 |
| 1690 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 | 1711 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 |
| 1691 echo "configure:1692: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 | 1712 echo "configure:1713: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 |
| 1692 | 1713 |
| 1693 ac_ext=c | 1714 ac_ext=c |
| 1694 xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS' | 1715 xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS' |
| 1695 xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_switch_x_site $ld_switch_run' | 1716 xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_switch_x_site $ld_switch_run' |
| 1696 xe_libs='$ld_call_shared $xe_check_libs $X_EXTRA_LIBS $libs_x $X_PRE_LIBS $LIBS $libs_machine $libs_system $libs_standard' | 1717 xe_libs='$ld_call_shared $xe_check_libs $X_EXTRA_LIBS $libs_x $X_PRE_LIBS $LIBS $libs_machine $libs_system $libs_standard' |
| 1698 ac_compile='${CC-cc} -c $CFLAGS '"$xe_cppflags"' conftest.$ac_ext 1>&5' | 1719 ac_compile='${CC-cc} -c $CFLAGS '"$xe_cppflags"' conftest.$ac_ext 1>&5' |
| 1699 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' | 1720 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' |
| 1700 cross_compiling=no | 1721 cross_compiling=no |
| 1701 | 1722 |
| 1702 cat > conftest.$ac_ext <<EOF | 1723 cat > conftest.$ac_ext <<EOF |
| 1703 #line 1704 "configure" | 1724 #line 1725 "configure" |
| 1704 #include "confdefs.h" | 1725 #include "confdefs.h" |
| 1705 main(){return(0);} | 1726 main(){return(0);} |
| 1706 EOF | 1727 EOF |
| 1707 if { (eval echo configure:1708: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 1728 if { (eval echo configure:1729: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 1708 ac_cv_prog_cc_works=yes | 1729 ac_cv_prog_cc_works=yes |
| 1709 # If we can't run a trivial program, we are probably using a cross compiler. | 1730 # If we can't run a trivial program, we are probably using a cross compiler. |
| 1710 if (./conftest; exit) 2>/dev/null; then | 1731 if (./conftest; exit) 2>/dev/null; then |
| 1711 ac_cv_prog_cc_cross=no | 1732 ac_cv_prog_cc_cross=no |
| 1712 else | 1733 else |
| 1722 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 | 1743 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 |
| 1723 if test $ac_cv_prog_cc_works = no; then | 1744 if test $ac_cv_prog_cc_works = no; then |
| 1724 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } | 1745 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } |
| 1725 fi | 1746 fi |
| 1726 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 | 1747 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 |
| 1727 echo "configure:1728: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 | 1748 echo "configure:1749: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 |
| 1728 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 | 1749 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 |
| 1729 cross_compiling=$ac_cv_prog_cc_cross | 1750 cross_compiling=$ac_cv_prog_cc_cross |
| 1730 | 1751 |
| 1731 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 | 1752 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 |
| 1732 echo "configure:1733: checking whether we are using GNU C" >&5 | 1753 echo "configure:1754: checking whether we are using GNU C" >&5 |
| 1733 | 1754 |
| 1734 cat > conftest.c <<EOF | 1755 cat > conftest.c <<EOF |
| 1735 #ifdef __GNUC__ | 1756 #ifdef __GNUC__ |
| 1736 yes; | 1757 yes; |
| 1737 #endif | 1758 #endif |
| 1738 EOF | 1759 EOF |
| 1739 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1740: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then | 1760 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1761: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then |
| 1740 ac_cv_prog_gcc=yes | 1761 ac_cv_prog_gcc=yes |
| 1741 else | 1762 else |
| 1742 ac_cv_prog_gcc=no | 1763 ac_cv_prog_gcc=no |
| 1743 fi | 1764 fi |
| 1744 | 1765 |
| 1748 GCC=yes | 1769 GCC=yes |
| 1749 ac_test_CFLAGS="${CFLAGS+set}" | 1770 ac_test_CFLAGS="${CFLAGS+set}" |
| 1750 ac_save_CFLAGS="$CFLAGS" | 1771 ac_save_CFLAGS="$CFLAGS" |
| 1751 CFLAGS= | 1772 CFLAGS= |
| 1752 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 | 1773 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 |
| 1753 echo "configure:1754: checking whether ${CC-cc} accepts -g" >&5 | 1774 echo "configure:1775: checking whether ${CC-cc} accepts -g" >&5 |
| 1754 | 1775 |
| 1755 echo 'void f(){}' > conftest.c | 1776 echo 'void f(){}' > conftest.c |
| 1756 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then | 1777 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then |
| 1757 ac_cv_prog_cc_g=yes | 1778 ac_cv_prog_cc_g=yes |
| 1758 else | 1779 else |
| 1777 elif test "$with_gcc" = "yes" -a "$GCC" != "yes" ; then | 1798 elif test "$with_gcc" = "yes" -a "$GCC" != "yes" ; then |
| 1778 CC=gcc | 1799 CC=gcc |
| 1779 # Extract the first word of "gcc", so it can be a program name with args. | 1800 # Extract the first word of "gcc", so it can be a program name with args. |
| 1780 set dummy gcc; ac_word=$2 | 1801 set dummy gcc; ac_word=$2 |
| 1781 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 1802 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
| 1782 echo "configure:1783: checking for $ac_word" >&5 | 1803 echo "configure:1804: checking for $ac_word" >&5 |
| 1783 | 1804 |
| 1784 if test -n "$CC"; then | 1805 if test -n "$CC"; then |
| 1785 ac_cv_prog_CC="$CC" # Let the user override the test. | 1806 ac_cv_prog_CC="$CC" # Let the user override the test. |
| 1786 else | 1807 else |
| 1787 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" | 1808 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" |
| 1803 | 1824 |
| 1804 if test -z "$CC"; then | 1825 if test -z "$CC"; then |
| 1805 # Extract the first word of "cc", so it can be a program name with args. | 1826 # Extract the first word of "cc", so it can be a program name with args. |
| 1806 set dummy cc; ac_word=$2 | 1827 set dummy cc; ac_word=$2 |
| 1807 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 1828 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
| 1808 echo "configure:1809: checking for $ac_word" >&5 | 1829 echo "configure:1830: checking for $ac_word" >&5 |
| 1809 | 1830 |
| 1810 if test -n "$CC"; then | 1831 if test -n "$CC"; then |
| 1811 ac_cv_prog_CC="$CC" # Let the user override the test. | 1832 ac_cv_prog_CC="$CC" # Let the user override the test. |
| 1812 else | 1833 else |
| 1813 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" | 1834 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" |
| 1848 | 1869 |
| 1849 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } | 1870 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } |
| 1850 fi | 1871 fi |
| 1851 | 1872 |
| 1852 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 | 1873 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 |
| 1853 echo "configure:1854: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 | 1874 echo "configure:1875: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 |
| 1854 | 1875 |
| 1855 ac_ext=c | 1876 ac_ext=c |
| 1856 xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS' | 1877 xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS' |
| 1857 xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_switch_x_site $ld_switch_run' | 1878 xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_switch_x_site $ld_switch_run' |
| 1858 xe_libs='$ld_call_shared $xe_check_libs $X_EXTRA_LIBS $libs_x $X_PRE_LIBS $LIBS $libs_machine $libs_system $libs_standard' | 1879 xe_libs='$ld_call_shared $xe_check_libs $X_EXTRA_LIBS $libs_x $X_PRE_LIBS $LIBS $libs_machine $libs_system $libs_standard' |
| 1860 ac_compile='${CC-cc} -c $CFLAGS '"$xe_cppflags"' conftest.$ac_ext 1>&5' | 1881 ac_compile='${CC-cc} -c $CFLAGS '"$xe_cppflags"' conftest.$ac_ext 1>&5' |
| 1861 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' | 1882 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' |
| 1862 cross_compiling=no | 1883 cross_compiling=no |
| 1863 | 1884 |
| 1864 cat > conftest.$ac_ext <<EOF | 1885 cat > conftest.$ac_ext <<EOF |
| 1865 #line 1866 "configure" | 1886 #line 1887 "configure" |
| 1866 #include "confdefs.h" | 1887 #include "confdefs.h" |
| 1867 main(){return(0);} | 1888 main(){return(0);} |
| 1868 EOF | 1889 EOF |
| 1869 if { (eval echo configure:1870: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 1890 if { (eval echo configure:1891: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 1870 ac_cv_prog_cc_works=yes | 1891 ac_cv_prog_cc_works=yes |
| 1871 # If we can't run a trivial program, we are probably using a cross compiler. | 1892 # If we can't run a trivial program, we are probably using a cross compiler. |
| 1872 if (./conftest; exit) 2>/dev/null; then | 1893 if (./conftest; exit) 2>/dev/null; then |
| 1873 ac_cv_prog_cc_cross=no | 1894 ac_cv_prog_cc_cross=no |
| 1874 else | 1895 else |
| 1884 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 | 1905 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 |
| 1885 if test $ac_cv_prog_cc_works = no; then | 1906 if test $ac_cv_prog_cc_works = no; then |
| 1886 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } | 1907 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } |
| 1887 fi | 1908 fi |
| 1888 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 | 1909 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 |
| 1889 echo "configure:1890: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 | 1910 echo "configure:1911: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 |
| 1890 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 | 1911 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 |
| 1891 cross_compiling=$ac_cv_prog_cc_cross | 1912 cross_compiling=$ac_cv_prog_cc_cross |
| 1892 | 1913 |
| 1893 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 | 1914 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 |
| 1894 echo "configure:1895: checking whether we are using GNU C" >&5 | 1915 echo "configure:1916: checking whether we are using GNU C" >&5 |
| 1895 | 1916 |
| 1896 cat > conftest.c <<EOF | 1917 cat > conftest.c <<EOF |
| 1897 #ifdef __GNUC__ | 1918 #ifdef __GNUC__ |
| 1898 yes; | 1919 yes; |
| 1899 #endif | 1920 #endif |
| 1900 EOF | 1921 EOF |
| 1901 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1902: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then | 1922 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1923: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then |
| 1902 ac_cv_prog_gcc=yes | 1923 ac_cv_prog_gcc=yes |
| 1903 else | 1924 else |
| 1904 ac_cv_prog_gcc=no | 1925 ac_cv_prog_gcc=no |
| 1905 fi | 1926 fi |
| 1906 | 1927 |
| 1910 GCC=yes | 1931 GCC=yes |
| 1911 ac_test_CFLAGS="${CFLAGS+set}" | 1932 ac_test_CFLAGS="${CFLAGS+set}" |
| 1912 ac_save_CFLAGS="$CFLAGS" | 1933 ac_save_CFLAGS="$CFLAGS" |
| 1913 CFLAGS= | 1934 CFLAGS= |
| 1914 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 | 1935 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 |
| 1915 echo "configure:1916: checking whether ${CC-cc} accepts -g" >&5 | 1936 echo "configure:1937: checking whether ${CC-cc} accepts -g" >&5 |
| 1916 | 1937 |
| 1917 echo 'void f(){}' > conftest.c | 1938 echo 'void f(){}' > conftest.c |
| 1918 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then | 1939 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then |
| 1919 ac_cv_prog_cc_g=yes | 1940 ac_cv_prog_cc_g=yes |
| 1920 else | 1941 else |
| 1943 test -n "$CPP" -a -d "$CPP" && CPP= | 1964 test -n "$CPP" -a -d "$CPP" && CPP= |
| 1944 | 1965 |
| 1945 test -n "$NON_GNU_CPP" -a "$GCC" != "yes" -a -z "$CPP" && CPP="$NON_GNU_CPP" | 1966 test -n "$NON_GNU_CPP" -a "$GCC" != "yes" -a -z "$CPP" && CPP="$NON_GNU_CPP" |
| 1946 | 1967 |
| 1947 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6 | 1968 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6 |
| 1948 echo "configure:1949: checking how to run the C preprocessor" >&5 | 1969 echo "configure:1970: checking how to run the C preprocessor" >&5 |
| 1949 # On Suns, sometimes $CPP names a directory. | 1970 # On Suns, sometimes $CPP names a directory. |
| 1950 if test -n "$CPP" && test -d "$CPP"; then | 1971 if test -n "$CPP" && test -d "$CPP"; then |
| 1951 CPP= | 1972 CPP= |
| 1952 fi | 1973 fi |
| 1953 if test -z "$CPP"; then | 1974 if test -z "$CPP"; then |
| 1956 # substituted into the Makefile and "${CC-cc}" will confuse make. | 1977 # substituted into the Makefile and "${CC-cc}" will confuse make. |
| 1957 CPP="${CC-cc} -E" | 1978 CPP="${CC-cc} -E" |
| 1958 # On the NeXT, cc -E runs the code through the compiler's parser, | 1979 # On the NeXT, cc -E runs the code through the compiler's parser, |
| 1959 # not just through cpp. | 1980 # not just through cpp. |
| 1960 cat > conftest.$ac_ext <<EOF | 1981 cat > conftest.$ac_ext <<EOF |
| 1961 #line 1962 "configure" | 1982 #line 1983 "configure" |
| 1962 #include "confdefs.h" | 1983 #include "confdefs.h" |
| 1963 #include <assert.h> | 1984 #include <assert.h> |
| 1964 Syntax Error | 1985 Syntax Error |
| 1965 EOF | 1986 EOF |
| 1966 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 1987 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 1967 { (eval echo configure:1968: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 1988 { (eval echo configure:1989: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 1968 ac_err=`grep -v '^ *+' conftest.out` | 1989 ac_err=`grep -v '^ *+' conftest.out` |
| 1969 if test -z "$ac_err"; then | 1990 if test -z "$ac_err"; then |
| 1970 : | 1991 : |
| 1971 else | 1992 else |
| 1972 echo "$ac_err" >&5 | 1993 echo "$ac_err" >&5 |
| 1973 echo "configure: failed program was:" >&5 | 1994 echo "configure: failed program was:" >&5 |
| 1974 cat conftest.$ac_ext >&5 | 1995 cat conftest.$ac_ext >&5 |
| 1975 rm -rf conftest* | 1996 rm -rf conftest* |
| 1976 CPP="${CC-cc} -E -traditional-cpp" | 1997 CPP="${CC-cc} -E -traditional-cpp" |
| 1977 cat > conftest.$ac_ext <<EOF | 1998 cat > conftest.$ac_ext <<EOF |
| 1978 #line 1979 "configure" | 1999 #line 2000 "configure" |
| 1979 #include "confdefs.h" | 2000 #include "confdefs.h" |
| 1980 #include <assert.h> | 2001 #include <assert.h> |
| 1981 Syntax Error | 2002 Syntax Error |
| 1982 EOF | 2003 EOF |
| 1983 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 2004 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 1984 { (eval echo configure:1985: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 2005 { (eval echo configure:2006: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 1985 ac_err=`grep -v '^ *+' conftest.out` | 2006 ac_err=`grep -v '^ *+' conftest.out` |
| 1986 if test -z "$ac_err"; then | 2007 if test -z "$ac_err"; then |
| 1987 : | 2008 : |
| 1988 else | 2009 else |
| 1989 echo "$ac_err" >&5 | 2010 echo "$ac_err" >&5 |
| 2002 fi | 2023 fi |
| 2003 echo "$ac_t""$CPP" 1>&6 | 2024 echo "$ac_t""$CPP" 1>&6 |
| 2004 | 2025 |
| 2005 | 2026 |
| 2006 echo $ac_n "checking for AIX""... $ac_c" 1>&6 | 2027 echo $ac_n "checking for AIX""... $ac_c" 1>&6 |
| 2007 echo "configure:2008: checking for AIX" >&5 | 2028 echo "configure:2029: checking for AIX" >&5 |
| 2008 cat > conftest.$ac_ext <<EOF | 2029 cat > conftest.$ac_ext <<EOF |
| 2009 #line 2010 "configure" | 2030 #line 2031 "configure" |
| 2010 #include "confdefs.h" | 2031 #include "confdefs.h" |
| 2011 #ifdef _AIX | 2032 #ifdef _AIX |
| 2012 yes | 2033 yes |
| 2013 #endif | 2034 #endif |
| 2014 | 2035 |
| 2031 rm -f conftest* | 2052 rm -f conftest* |
| 2032 | 2053 |
| 2033 | 2054 |
| 2034 | 2055 |
| 2035 echo $ac_n "checking whether we are using SunPro C""... $ac_c" 1>&6 | 2056 echo $ac_n "checking whether we are using SunPro C""... $ac_c" 1>&6 |
| 2036 echo "configure:2037: checking whether we are using SunPro C" >&5 | 2057 echo "configure:2058: checking whether we are using SunPro C" >&5 |
| 2037 cat > conftest.$ac_ext <<EOF | 2058 cat > conftest.$ac_ext <<EOF |
| 2038 #line 2039 "configure" | 2059 #line 2060 "configure" |
| 2039 #include "confdefs.h" | 2060 #include "confdefs.h" |
| 2040 | 2061 |
| 2041 int main() { | 2062 int main() { |
| 2042 #ifndef __SUNPRO_C | 2063 #ifndef __SUNPRO_C |
| 2043 #error Not a SunPro compiler :-( | 2064 #error Not a SunPro compiler :-( |
| 2044 ******* ======= ******** &&&&&&&& | 2065 ******* ======= ******** &&&&&&&& |
| 2045 #endif | 2066 #endif |
| 2046 | 2067 |
| 2047 ; return 0; } | 2068 ; return 0; } |
| 2048 EOF | 2069 EOF |
| 2049 if { (eval echo configure:2050: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 2070 if { (eval echo configure:2071: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| 2050 rm -rf conftest* | 2071 rm -rf conftest* |
| 2051 __sunpro_c=yes | 2072 __sunpro_c=yes |
| 2052 else | 2073 else |
| 2053 echo "configure: failed program was:" >&5 | 2074 echo "configure: failed program was:" >&5 |
| 2054 cat conftest.$ac_ext >&5 | 2075 cat conftest.$ac_ext >&5 |
| 2331 test -n "$unexec" && extra_objs="$extra_objs $unexec" && if test "$extra_verbose" = "yes"; then | 2352 test -n "$unexec" && extra_objs="$extra_objs $unexec" && if test "$extra_verbose" = "yes"; then |
| 2332 echo " xemacs will be linked with \"$unexec\"" | 2353 echo " xemacs will be linked with \"$unexec\"" |
| 2333 fi | 2354 fi |
| 2334 | 2355 |
| 2335 echo $ac_n "checking for dynodump""... $ac_c" 1>&6 | 2356 echo $ac_n "checking for dynodump""... $ac_c" 1>&6 |
| 2336 echo "configure:2337: checking for dynodump" >&5 | 2357 echo "configure:2358: checking for dynodump" >&5 |
| 2337 if test "$unexec" != "unexsol2.o"; then | 2358 if test "$unexec" != "unexsol2.o"; then |
| 2338 echo "$ac_t""no" 1>&6 | 2359 echo "$ac_t""no" 1>&6 |
| 2339 else | 2360 else |
| 2340 echo "$ac_t""yes" 1>&6 | 2361 echo "$ac_t""yes" 1>&6 |
| 2341 { test "$extra_verbose" = "yes" && cat << \EOF | 2362 { test "$extra_verbose" = "yes" && cat << \EOF |
| 2402 esac | 2423 esac |
| 2403 fi | 2424 fi |
| 2404 | 2425 |
| 2405 if test "$add_runtime_path" = "yes"; then | 2426 if test "$add_runtime_path" = "yes"; then |
| 2406 echo $ac_n "checking "for runtime libraries flag"""... $ac_c" 1>&6 | 2427 echo $ac_n "checking "for runtime libraries flag"""... $ac_c" 1>&6 |
| 2407 echo "configure:2408: checking "for runtime libraries flag"" >&5 | 2428 echo "configure:2429: checking "for runtime libraries flag"" >&5 |
| 2408 dash_r="" | 2429 dash_r="" |
| 2409 for try_dash_r in "-R" "-R " "-rpath "; do | 2430 for try_dash_r in "-R" "-R " "-rpath "; do |
| 2410 xe_check_libs="${try_dash_r}/no/such/file-or-directory" | 2431 xe_check_libs="${try_dash_r}/no/such/file-or-directory" |
| 2411 cat > conftest.$ac_ext <<EOF | 2432 cat > conftest.$ac_ext <<EOF |
| 2412 #line 2413 "configure" | 2433 #line 2434 "configure" |
| 2413 #include "confdefs.h" | 2434 #include "confdefs.h" |
| 2414 | 2435 |
| 2415 int main() { | 2436 int main() { |
| 2416 | 2437 |
| 2417 ; return 0; } | 2438 ; return 0; } |
| 2418 EOF | 2439 EOF |
| 2419 if { (eval echo configure:2420: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 2440 if { (eval echo configure:2441: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 2420 rm -rf conftest* | 2441 rm -rf conftest* |
| 2421 dash_r="$try_dash_r" | 2442 dash_r="$try_dash_r" |
| 2422 else | 2443 else |
| 2423 echo "configure: failed program was:" >&5 | 2444 echo "configure: failed program was:" >&5 |
| 2424 cat conftest.$ac_ext >&5 | 2445 cat conftest.$ac_ext >&5 |
| 2497 | 2518 |
| 2498 GNU_MALLOC=yes | 2519 GNU_MALLOC=yes |
| 2499 if test "$system_malloc" = "yes" ; then | 2520 if test "$system_malloc" = "yes" ; then |
| 2500 GNU_MALLOC=no | 2521 GNU_MALLOC=no |
| 2501 GNU_MALLOC_reason=" | 2522 GNU_MALLOC_reason=" |
| 2502 (The GNU allocators don't work with this system configuration.)" | 2523 (The GNU allocators don't work with this system configuration)." |
| 2503 elif test "$use_system_malloc" = "yes" ; then | 2524 elif test "$use_system_malloc" = "yes" ; then |
| 2504 GNU_MALLOC=no | 2525 GNU_MALLOC=no |
| 2505 GNU_MALLOC_reason=" | 2526 GNU_MALLOC_reason=" |
| 2506 (User chose not to use GNU allocators.)" | 2527 (User chose not to use GNU allocators)." |
| 2528 elif test "$use_debug_malloc" = "yes" ; then | |
| 2529 GNU_MALLOC=no | |
| 2530 GNU_MALLOC_reason=" | |
| 2531 (User chose to use Debugging Malloc)." | |
| 2507 fi | 2532 fi |
| 2508 | 2533 |
| 2509 | 2534 |
| 2510 # Extract the first word of "ranlib", so it can be a program name with args. | 2535 # Extract the first word of "ranlib", so it can be a program name with args. |
| 2511 set dummy ranlib; ac_word=$2 | 2536 set dummy ranlib; ac_word=$2 |
| 2512 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 2537 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
| 2513 echo "configure:2514: checking for $ac_word" >&5 | 2538 echo "configure:2539: checking for $ac_word" >&5 |
| 2514 | 2539 |
| 2515 if test -n "$RANLIB"; then | 2540 if test -n "$RANLIB"; then |
| 2516 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. | 2541 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. |
| 2517 else | 2542 else |
| 2518 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" | 2543 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" |
| 2561 # AIX /bin/install | 2586 # AIX /bin/install |
| 2562 # AFS /usr/afsws/bin/install, which mishandles nonexistent args | 2587 # AFS /usr/afsws/bin/install, which mishandles nonexistent args |
| 2563 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" | 2588 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" |
| 2564 # ./install, which can be erroneously created by make from ./install.sh. | 2589 # ./install, which can be erroneously created by make from ./install.sh. |
| 2565 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 | 2590 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 |
| 2566 echo "configure:2567: checking for a BSD compatible install" >&5 | 2591 echo "configure:2592: checking for a BSD compatible install" >&5 |
| 2567 if test -z "$INSTALL"; then | 2592 if test -z "$INSTALL"; then |
| 2568 | 2593 |
| 2569 IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS="${IFS}:" | 2594 IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS="${IFS}:" |
| 2570 for ac_dir in $PATH; do | 2595 for ac_dir in $PATH; do |
| 2571 # Account for people who put trailing slashes in PATH elements. | 2596 # Account for people who put trailing slashes in PATH elements. |
| 2612 for ac_prog in 'bison -y' byacc | 2637 for ac_prog in 'bison -y' byacc |
| 2613 do | 2638 do |
| 2614 # Extract the first word of "$ac_prog", so it can be a program name with args. | 2639 # Extract the first word of "$ac_prog", so it can be a program name with args. |
| 2615 set dummy $ac_prog; ac_word=$2 | 2640 set dummy $ac_prog; ac_word=$2 |
| 2616 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 2641 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
| 2617 echo "configure:2618: checking for $ac_word" >&5 | 2642 echo "configure:2643: checking for $ac_word" >&5 |
| 2618 | 2643 |
| 2619 if test -n "$YACC"; then | 2644 if test -n "$YACC"; then |
| 2620 ac_cv_prog_YACC="$YACC" # Let the user override the test. | 2645 ac_cv_prog_YACC="$YACC" # Let the user override the test. |
| 2621 else | 2646 else |
| 2622 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" | 2647 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" |
| 2643 | 2668 |
| 2644 for ac_hdr in mach/mach.h sys/stropts.h sys/timeb.h sys/time.h unistd.h | 2669 for ac_hdr in mach/mach.h sys/stropts.h sys/timeb.h sys/time.h unistd.h |
| 2645 do | 2670 do |
| 2646 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 2671 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
| 2647 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 2672 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
| 2648 echo "configure:2649: checking for $ac_hdr" >&5 | 2673 echo "configure:2674: checking for $ac_hdr" >&5 |
| 2649 | 2674 |
| 2650 cat > conftest.$ac_ext <<EOF | 2675 cat > conftest.$ac_ext <<EOF |
| 2651 #line 2652 "configure" | 2676 #line 2677 "configure" |
| 2652 #include "confdefs.h" | 2677 #include "confdefs.h" |
| 2653 #include <$ac_hdr> | 2678 #include <$ac_hdr> |
| 2654 EOF | 2679 EOF |
| 2655 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 2680 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 2656 { (eval echo configure:2657: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 2681 { (eval echo configure:2682: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 2657 ac_err=`grep -v '^ *+' conftest.out` | 2682 ac_err=`grep -v '^ *+' conftest.out` |
| 2658 if test -z "$ac_err"; then | 2683 if test -z "$ac_err"; then |
| 2659 rm -rf conftest* | 2684 rm -rf conftest* |
| 2660 eval "ac_cv_header_$ac_safe=yes" | 2685 eval "ac_cv_header_$ac_safe=yes" |
| 2661 else | 2686 else |
| 2684 | 2709 |
| 2685 for ac_hdr in utime.h locale.h libgen.h fcntl.h ulimit.h | 2710 for ac_hdr in utime.h locale.h libgen.h fcntl.h ulimit.h |
| 2686 do | 2711 do |
| 2687 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 2712 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
| 2688 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 2713 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
| 2689 echo "configure:2690: checking for $ac_hdr" >&5 | 2714 echo "configure:2715: checking for $ac_hdr" >&5 |
| 2690 | 2715 |
| 2691 cat > conftest.$ac_ext <<EOF | 2716 cat > conftest.$ac_ext <<EOF |
| 2692 #line 2693 "configure" | 2717 #line 2718 "configure" |
| 2693 #include "confdefs.h" | 2718 #include "confdefs.h" |
| 2694 #include <$ac_hdr> | 2719 #include <$ac_hdr> |
| 2695 EOF | 2720 EOF |
| 2696 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 2721 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 2697 { (eval echo configure:2698: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 2722 { (eval echo configure:2723: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 2698 ac_err=`grep -v '^ *+' conftest.out` | 2723 ac_err=`grep -v '^ *+' conftest.out` |
| 2699 if test -z "$ac_err"; then | 2724 if test -z "$ac_err"; then |
| 2700 rm -rf conftest* | 2725 rm -rf conftest* |
| 2701 eval "ac_cv_header_$ac_safe=yes" | 2726 eval "ac_cv_header_$ac_safe=yes" |
| 2702 else | 2727 else |
| 2725 | 2750 |
| 2726 for ac_hdr in linux/version.h kstat.h sys/pstat.h inttypes.h limits.h | 2751 for ac_hdr in linux/version.h kstat.h sys/pstat.h inttypes.h limits.h |
| 2727 do | 2752 do |
| 2728 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 2753 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
| 2729 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 2754 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
| 2730 echo "configure:2731: checking for $ac_hdr" >&5 | 2755 echo "configure:2756: checking for $ac_hdr" >&5 |
| 2731 | 2756 |
| 2732 cat > conftest.$ac_ext <<EOF | 2757 cat > conftest.$ac_ext <<EOF |
| 2733 #line 2734 "configure" | 2758 #line 2759 "configure" |
| 2734 #include "confdefs.h" | 2759 #include "confdefs.h" |
| 2735 #include <$ac_hdr> | 2760 #include <$ac_hdr> |
| 2736 EOF | 2761 EOF |
| 2737 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 2762 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 2738 { (eval echo configure:2739: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 2763 { (eval echo configure:2764: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 2739 ac_err=`grep -v '^ *+' conftest.out` | 2764 ac_err=`grep -v '^ *+' conftest.out` |
| 2740 if test -z "$ac_err"; then | 2765 if test -z "$ac_err"; then |
| 2741 rm -rf conftest* | 2766 rm -rf conftest* |
| 2742 eval "ac_cv_header_$ac_safe=yes" | 2767 eval "ac_cv_header_$ac_safe=yes" |
| 2743 else | 2768 else |
| 2763 echo "$ac_t""no" 1>&6 | 2788 echo "$ac_t""no" 1>&6 |
| 2764 fi | 2789 fi |
| 2765 done | 2790 done |
| 2766 | 2791 |
| 2767 echo $ac_n "checking for sys/wait.h that is POSIX.1 compatible""... $ac_c" 1>&6 | 2792 echo $ac_n "checking for sys/wait.h that is POSIX.1 compatible""... $ac_c" 1>&6 |
| 2768 echo "configure:2769: checking for sys/wait.h that is POSIX.1 compatible" >&5 | 2793 echo "configure:2794: checking for sys/wait.h that is POSIX.1 compatible" >&5 |
| 2769 | 2794 |
| 2770 cat > conftest.$ac_ext <<EOF | 2795 cat > conftest.$ac_ext <<EOF |
| 2771 #line 2772 "configure" | 2796 #line 2797 "configure" |
| 2772 #include "confdefs.h" | 2797 #include "confdefs.h" |
| 2773 #include <sys/types.h> | 2798 #include <sys/types.h> |
| 2774 #include <sys/wait.h> | 2799 #include <sys/wait.h> |
| 2775 #ifndef WEXITSTATUS | 2800 #ifndef WEXITSTATUS |
| 2776 #define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8) | 2801 #define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8) |
| 2782 int s; | 2807 int s; |
| 2783 wait (&s); | 2808 wait (&s); |
| 2784 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1; | 2809 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1; |
| 2785 ; return 0; } | 2810 ; return 0; } |
| 2786 EOF | 2811 EOF |
| 2787 if { (eval echo configure:2788: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 2812 if { (eval echo configure:2813: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| 2788 rm -rf conftest* | 2813 rm -rf conftest* |
| 2789 ac_cv_header_sys_wait_h=yes | 2814 ac_cv_header_sys_wait_h=yes |
| 2790 else | 2815 else |
| 2791 echo "configure: failed program was:" >&5 | 2816 echo "configure: failed program was:" >&5 |
| 2792 cat conftest.$ac_ext >&5 | 2817 cat conftest.$ac_ext >&5 |
| 2806 } | 2831 } |
| 2807 | 2832 |
| 2808 fi | 2833 fi |
| 2809 | 2834 |
| 2810 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6 | 2835 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6 |
| 2811 echo "configure:2812: checking for ANSI C header files" >&5 | 2836 echo "configure:2837: checking for ANSI C header files" >&5 |
| 2812 | 2837 |
| 2813 cat > conftest.$ac_ext <<EOF | 2838 cat > conftest.$ac_ext <<EOF |
| 2814 #line 2815 "configure" | 2839 #line 2840 "configure" |
| 2815 #include "confdefs.h" | 2840 #include "confdefs.h" |
| 2816 #include <stdlib.h> | 2841 #include <stdlib.h> |
| 2817 #include <stdarg.h> | 2842 #include <stdarg.h> |
| 2818 #include <string.h> | 2843 #include <string.h> |
| 2819 #include <float.h> | 2844 #include <float.h> |
| 2820 EOF | 2845 EOF |
| 2821 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 2846 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 2822 { (eval echo configure:2823: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 2847 { (eval echo configure:2848: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 2823 ac_err=`grep -v '^ *+' conftest.out` | 2848 ac_err=`grep -v '^ *+' conftest.out` |
| 2824 if test -z "$ac_err"; then | 2849 if test -z "$ac_err"; then |
| 2825 rm -rf conftest* | 2850 rm -rf conftest* |
| 2826 ac_cv_header_stdc=yes | 2851 ac_cv_header_stdc=yes |
| 2827 else | 2852 else |
| 2834 rm -f conftest* | 2859 rm -f conftest* |
| 2835 | 2860 |
| 2836 if test $ac_cv_header_stdc = yes; then | 2861 if test $ac_cv_header_stdc = yes; then |
| 2837 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. | 2862 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. |
| 2838 cat > conftest.$ac_ext <<EOF | 2863 cat > conftest.$ac_ext <<EOF |
| 2839 #line 2840 "configure" | 2864 #line 2865 "configure" |
| 2840 #include "confdefs.h" | 2865 #include "confdefs.h" |
| 2841 #include <string.h> | 2866 #include <string.h> |
| 2842 EOF | 2867 EOF |
| 2843 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 2868 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
| 2844 egrep "memchr" >/dev/null 2>&1; then | 2869 egrep "memchr" >/dev/null 2>&1; then |
| 2852 fi | 2877 fi |
| 2853 | 2878 |
| 2854 if test $ac_cv_header_stdc = yes; then | 2879 if test $ac_cv_header_stdc = yes; then |
| 2855 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. | 2880 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. |
| 2856 cat > conftest.$ac_ext <<EOF | 2881 cat > conftest.$ac_ext <<EOF |
| 2857 #line 2858 "configure" | 2882 #line 2883 "configure" |
| 2858 #include "confdefs.h" | 2883 #include "confdefs.h" |
| 2859 #include <stdlib.h> | 2884 #include <stdlib.h> |
| 2860 EOF | 2885 EOF |
| 2861 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 2886 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
| 2862 egrep "free" >/dev/null 2>&1; then | 2887 egrep "free" >/dev/null 2>&1; then |
| 2870 fi | 2895 fi |
| 2871 | 2896 |
| 2872 if test $ac_cv_header_stdc = yes; then | 2897 if test $ac_cv_header_stdc = yes; then |
| 2873 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. | 2898 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. |
| 2874 cat > conftest.$ac_ext <<EOF | 2899 cat > conftest.$ac_ext <<EOF |
| 2875 #line 2876 "configure" | 2900 #line 2901 "configure" |
| 2876 #include "confdefs.h" | 2901 #include "confdefs.h" |
| 2877 #include <ctype.h> | 2902 #include <ctype.h> |
| 2878 #define ISLOWER(c) ('a' <= (c) && (c) <= 'z') | 2903 #define ISLOWER(c) ('a' <= (c) && (c) <= 'z') |
| 2879 #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) | 2904 #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) |
| 2880 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) | 2905 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) |
| 2881 int main () { int i; for (i = 0; i < 256; i++) | 2906 int main () { int i; for (i = 0; i < 256; i++) |
| 2882 if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2); | 2907 if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2); |
| 2883 exit (0); } | 2908 exit (0); } |
| 2884 | 2909 |
| 2885 EOF | 2910 EOF |
| 2886 if { (eval echo configure:2887: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 | 2911 if { (eval echo configure:2912: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 |
| 2887 then | 2912 then |
| 2888 : | 2913 : |
| 2889 else | 2914 else |
| 2890 echo "configure: failed program was:" >&5 | 2915 echo "configure: failed program was:" >&5 |
| 2891 cat conftest.$ac_ext >&5 | 2916 cat conftest.$ac_ext >&5 |
| 2906 } | 2931 } |
| 2907 | 2932 |
| 2908 fi | 2933 fi |
| 2909 | 2934 |
| 2910 echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6 | 2935 echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6 |
| 2911 echo "configure:2912: checking whether time.h and sys/time.h may both be included" >&5 | 2936 echo "configure:2937: checking whether time.h and sys/time.h may both be included" >&5 |
| 2912 | 2937 |
| 2913 cat > conftest.$ac_ext <<EOF | 2938 cat > conftest.$ac_ext <<EOF |
| 2914 #line 2915 "configure" | 2939 #line 2940 "configure" |
| 2915 #include "confdefs.h" | 2940 #include "confdefs.h" |
| 2916 #include <sys/types.h> | 2941 #include <sys/types.h> |
| 2917 #include <sys/time.h> | 2942 #include <sys/time.h> |
| 2918 #include <time.h> | 2943 #include <time.h> |
| 2919 int main() { | 2944 int main() { |
| 2920 struct tm *tp; | 2945 struct tm *tp; |
| 2921 ; return 0; } | 2946 ; return 0; } |
| 2922 EOF | 2947 EOF |
| 2923 if { (eval echo configure:2924: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 2948 if { (eval echo configure:2949: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| 2924 rm -rf conftest* | 2949 rm -rf conftest* |
| 2925 ac_cv_header_time=yes | 2950 ac_cv_header_time=yes |
| 2926 else | 2951 else |
| 2927 echo "configure: failed program was:" >&5 | 2952 echo "configure: failed program was:" >&5 |
| 2928 cat conftest.$ac_ext >&5 | 2953 cat conftest.$ac_ext >&5 |
| 2942 } | 2967 } |
| 2943 | 2968 |
| 2944 fi | 2969 fi |
| 2945 | 2970 |
| 2946 echo $ac_n "checking for sys_siglist declaration in signal.h or unistd.h""... $ac_c" 1>&6 | 2971 echo $ac_n "checking for sys_siglist declaration in signal.h or unistd.h""... $ac_c" 1>&6 |
| 2947 echo "configure:2948: checking for sys_siglist declaration in signal.h or unistd.h" >&5 | 2972 echo "configure:2973: checking for sys_siglist declaration in signal.h or unistd.h" >&5 |
| 2948 | 2973 |
| 2949 cat > conftest.$ac_ext <<EOF | 2974 cat > conftest.$ac_ext <<EOF |
| 2950 #line 2951 "configure" | 2975 #line 2976 "configure" |
| 2951 #include "confdefs.h" | 2976 #include "confdefs.h" |
| 2952 #include <sys/types.h> | 2977 #include <sys/types.h> |
| 2953 #include <signal.h> | 2978 #include <signal.h> |
| 2954 /* NetBSD declares sys_siglist in unistd.h. */ | 2979 /* NetBSD declares sys_siglist in unistd.h. */ |
| 2955 #ifdef HAVE_UNISTD_H | 2980 #ifdef HAVE_UNISTD_H |
| 2957 #endif | 2982 #endif |
| 2958 int main() { | 2983 int main() { |
| 2959 char *msg = *(sys_siglist + 1); | 2984 char *msg = *(sys_siglist + 1); |
| 2960 ; return 0; } | 2985 ; return 0; } |
| 2961 EOF | 2986 EOF |
| 2962 if { (eval echo configure:2963: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 2987 if { (eval echo configure:2988: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| 2963 rm -rf conftest* | 2988 rm -rf conftest* |
| 2964 ac_cv_decl_sys_siglist=yes | 2989 ac_cv_decl_sys_siglist=yes |
| 2965 else | 2990 else |
| 2966 echo "configure: failed program was:" >&5 | 2991 echo "configure: failed program was:" >&5 |
| 2967 cat conftest.$ac_ext >&5 | 2992 cat conftest.$ac_ext >&5 |
| 2982 | 3007 |
| 2983 fi | 3008 fi |
| 2984 | 3009 |
| 2985 | 3010 |
| 2986 echo $ac_n "checking for struct utimbuf""... $ac_c" 1>&6 | 3011 echo $ac_n "checking for struct utimbuf""... $ac_c" 1>&6 |
| 2987 echo "configure:2988: checking for struct utimbuf" >&5 | 3012 echo "configure:3013: checking for struct utimbuf" >&5 |
| 2988 cat > conftest.$ac_ext <<EOF | 3013 cat > conftest.$ac_ext <<EOF |
| 2989 #line 2990 "configure" | 3014 #line 3015 "configure" |
| 2990 #include "confdefs.h" | 3015 #include "confdefs.h" |
| 2991 #ifdef TIME_WITH_SYS_TIME | 3016 #ifdef TIME_WITH_SYS_TIME |
| 2992 #include <sys/time.h> | 3017 #include <sys/time.h> |
| 2993 #include <time.h> | 3018 #include <time.h> |
| 2994 #else | 3019 #else |
| 3003 #endif | 3028 #endif |
| 3004 int main() { | 3029 int main() { |
| 3005 static struct utimbuf x; x.actime = x.modtime; | 3030 static struct utimbuf x; x.actime = x.modtime; |
| 3006 ; return 0; } | 3031 ; return 0; } |
| 3007 EOF | 3032 EOF |
| 3008 if { (eval echo configure:3009: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3033 if { (eval echo configure:3034: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| 3009 rm -rf conftest* | 3034 rm -rf conftest* |
| 3010 echo "$ac_t""yes" 1>&6 | 3035 echo "$ac_t""yes" 1>&6 |
| 3011 { test "$extra_verbose" = "yes" && cat << \EOF | 3036 { test "$extra_verbose" = "yes" && cat << \EOF |
| 3012 Defining HAVE_STRUCT_UTIMBUF | 3037 Defining HAVE_STRUCT_UTIMBUF |
| 3013 EOF | 3038 EOF |
| 3023 echo "$ac_t""no" 1>&6 | 3048 echo "$ac_t""no" 1>&6 |
| 3024 fi | 3049 fi |
| 3025 rm -f conftest* | 3050 rm -f conftest* |
| 3026 | 3051 |
| 3027 echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6 | 3052 echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6 |
| 3028 echo "configure:3029: checking return type of signal handlers" >&5 | 3053 echo "configure:3054: checking return type of signal handlers" >&5 |
| 3029 | 3054 |
| 3030 cat > conftest.$ac_ext <<EOF | 3055 cat > conftest.$ac_ext <<EOF |
| 3031 #line 3032 "configure" | 3056 #line 3057 "configure" |
| 3032 #include "confdefs.h" | 3057 #include "confdefs.h" |
| 3033 #include <sys/types.h> | 3058 #include <sys/types.h> |
| 3034 #include <signal.h> | 3059 #include <signal.h> |
| 3035 #ifdef signal | 3060 #ifdef signal |
| 3036 #undef signal | 3061 #undef signal |
| 3043 | 3068 |
| 3044 int main() { | 3069 int main() { |
| 3045 int i; | 3070 int i; |
| 3046 ; return 0; } | 3071 ; return 0; } |
| 3047 EOF | 3072 EOF |
| 3048 if { (eval echo configure:3049: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3073 if { (eval echo configure:3074: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| 3049 rm -rf conftest* | 3074 rm -rf conftest* |
| 3050 ac_cv_type_signal=void | 3075 ac_cv_type_signal=void |
| 3051 else | 3076 else |
| 3052 echo "configure: failed program was:" >&5 | 3077 echo "configure: failed program was:" >&5 |
| 3053 cat conftest.$ac_ext >&5 | 3078 cat conftest.$ac_ext >&5 |
| 3065 EOF | 3090 EOF |
| 3066 } | 3091 } |
| 3067 | 3092 |
| 3068 | 3093 |
| 3069 echo $ac_n "checking for size_t""... $ac_c" 1>&6 | 3094 echo $ac_n "checking for size_t""... $ac_c" 1>&6 |
| 3070 echo "configure:3071: checking for size_t" >&5 | 3095 echo "configure:3096: checking for size_t" >&5 |
| 3071 | 3096 |
| 3072 cat > conftest.$ac_ext <<EOF | 3097 cat > conftest.$ac_ext <<EOF |
| 3073 #line 3074 "configure" | 3098 #line 3099 "configure" |
| 3074 #include "confdefs.h" | 3099 #include "confdefs.h" |
| 3075 #include <sys/types.h> | 3100 #include <sys/types.h> |
| 3076 #if STDC_HEADERS | 3101 #if STDC_HEADERS |
| 3077 #include <stdlib.h> | 3102 #include <stdlib.h> |
| 3078 #include <stddef.h> | 3103 #include <stddef.h> |
| 3099 } | 3124 } |
| 3100 | 3125 |
| 3101 fi | 3126 fi |
| 3102 | 3127 |
| 3103 echo $ac_n "checking for pid_t""... $ac_c" 1>&6 | 3128 echo $ac_n "checking for pid_t""... $ac_c" 1>&6 |
| 3104 echo "configure:3105: checking for pid_t" >&5 | 3129 echo "configure:3130: checking for pid_t" >&5 |
| 3105 | 3130 |
| 3106 cat > conftest.$ac_ext <<EOF | 3131 cat > conftest.$ac_ext <<EOF |
| 3107 #line 3108 "configure" | 3132 #line 3133 "configure" |
| 3108 #include "confdefs.h" | 3133 #include "confdefs.h" |
| 3109 #include <sys/types.h> | 3134 #include <sys/types.h> |
| 3110 #if STDC_HEADERS | 3135 #if STDC_HEADERS |
| 3111 #include <stdlib.h> | 3136 #include <stdlib.h> |
| 3112 #include <stddef.h> | 3137 #include <stddef.h> |
| 3133 } | 3158 } |
| 3134 | 3159 |
| 3135 fi | 3160 fi |
| 3136 | 3161 |
| 3137 echo $ac_n "checking for uid_t in sys/types.h""... $ac_c" 1>&6 | 3162 echo $ac_n "checking for uid_t in sys/types.h""... $ac_c" 1>&6 |
| 3138 echo "configure:3139: checking for uid_t in sys/types.h" >&5 | 3163 echo "configure:3164: checking for uid_t in sys/types.h" >&5 |
| 3139 | 3164 |
| 3140 cat > conftest.$ac_ext <<EOF | 3165 cat > conftest.$ac_ext <<EOF |
| 3141 #line 3142 "configure" | 3166 #line 3167 "configure" |
| 3142 #include "confdefs.h" | 3167 #include "confdefs.h" |
| 3143 #include <sys/types.h> | 3168 #include <sys/types.h> |
| 3144 EOF | 3169 EOF |
| 3145 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 3170 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
| 3146 egrep "uid_t" >/dev/null 2>&1; then | 3171 egrep "uid_t" >/dev/null 2>&1; then |
| 3172 } | 3197 } |
| 3173 | 3198 |
| 3174 fi | 3199 fi |
| 3175 | 3200 |
| 3176 echo $ac_n "checking for mode_t""... $ac_c" 1>&6 | 3201 echo $ac_n "checking for mode_t""... $ac_c" 1>&6 |
| 3177 echo "configure:3178: checking for mode_t" >&5 | 3202 echo "configure:3203: checking for mode_t" >&5 |
| 3178 | 3203 |
| 3179 cat > conftest.$ac_ext <<EOF | 3204 cat > conftest.$ac_ext <<EOF |
| 3180 #line 3181 "configure" | 3205 #line 3206 "configure" |
| 3181 #include "confdefs.h" | 3206 #include "confdefs.h" |
| 3182 #include <sys/types.h> | 3207 #include <sys/types.h> |
| 3183 #if STDC_HEADERS | 3208 #if STDC_HEADERS |
| 3184 #include <stdlib.h> | 3209 #include <stdlib.h> |
| 3185 #include <stddef.h> | 3210 #include <stddef.h> |
| 3206 } | 3231 } |
| 3207 | 3232 |
| 3208 fi | 3233 fi |
| 3209 | 3234 |
| 3210 echo $ac_n "checking for off_t""... $ac_c" 1>&6 | 3235 echo $ac_n "checking for off_t""... $ac_c" 1>&6 |
| 3211 echo "configure:3212: checking for off_t" >&5 | 3236 echo "configure:3237: checking for off_t" >&5 |
| 3212 | 3237 |
| 3213 cat > conftest.$ac_ext <<EOF | 3238 cat > conftest.$ac_ext <<EOF |
| 3214 #line 3215 "configure" | 3239 #line 3240 "configure" |
| 3215 #include "confdefs.h" | 3240 #include "confdefs.h" |
| 3216 #include <sys/types.h> | 3241 #include <sys/types.h> |
| 3217 #if STDC_HEADERS | 3242 #if STDC_HEADERS |
| 3218 #include <stdlib.h> | 3243 #include <stdlib.h> |
| 3219 #include <stddef.h> | 3244 #include <stddef.h> |
| 3241 | 3266 |
| 3242 fi | 3267 fi |
| 3243 | 3268 |
| 3244 | 3269 |
| 3245 echo $ac_n "checking for struct timeval""... $ac_c" 1>&6 | 3270 echo $ac_n "checking for struct timeval""... $ac_c" 1>&6 |
| 3246 echo "configure:3247: checking for struct timeval" >&5 | 3271 echo "configure:3272: checking for struct timeval" >&5 |
| 3247 cat > conftest.$ac_ext <<EOF | 3272 cat > conftest.$ac_ext <<EOF |
| 3248 #line 3249 "configure" | 3273 #line 3274 "configure" |
| 3249 #include "confdefs.h" | 3274 #include "confdefs.h" |
| 3250 #ifdef TIME_WITH_SYS_TIME | 3275 #ifdef TIME_WITH_SYS_TIME |
| 3251 #include <sys/time.h> | 3276 #include <sys/time.h> |
| 3252 #include <time.h> | 3277 #include <time.h> |
| 3253 #else | 3278 #else |
| 3259 #endif | 3284 #endif |
| 3260 int main() { | 3285 int main() { |
| 3261 static struct timeval x; x.tv_sec = x.tv_usec; | 3286 static struct timeval x; x.tv_sec = x.tv_usec; |
| 3262 ; return 0; } | 3287 ; return 0; } |
| 3263 EOF | 3288 EOF |
| 3264 if { (eval echo configure:3265: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3289 if { (eval echo configure:3290: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| 3265 rm -rf conftest* | 3290 rm -rf conftest* |
| 3266 echo "$ac_t""yes" 1>&6 | 3291 echo "$ac_t""yes" 1>&6 |
| 3267 HAVE_TIMEVAL=yes | 3292 HAVE_TIMEVAL=yes |
| 3268 { test "$extra_verbose" = "yes" && cat << \EOF | 3293 { test "$extra_verbose" = "yes" && cat << \EOF |
| 3269 Defining HAVE_TIMEVAL | 3294 Defining HAVE_TIMEVAL |
| 3281 HAVE_TIMEVAL=no | 3306 HAVE_TIMEVAL=no |
| 3282 fi | 3307 fi |
| 3283 rm -f conftest* | 3308 rm -f conftest* |
| 3284 | 3309 |
| 3285 echo $ac_n "checking whether struct tm is in sys/time.h or time.h""... $ac_c" 1>&6 | 3310 echo $ac_n "checking whether struct tm is in sys/time.h or time.h""... $ac_c" 1>&6 |
| 3286 echo "configure:3287: checking whether struct tm is in sys/time.h or time.h" >&5 | 3311 echo "configure:3312: checking whether struct tm is in sys/time.h or time.h" >&5 |
| 3287 | 3312 |
| 3288 cat > conftest.$ac_ext <<EOF | 3313 cat > conftest.$ac_ext <<EOF |
| 3289 #line 3290 "configure" | 3314 #line 3315 "configure" |
| 3290 #include "confdefs.h" | 3315 #include "confdefs.h" |
| 3291 #include <sys/types.h> | 3316 #include <sys/types.h> |
| 3292 #include <time.h> | 3317 #include <time.h> |
| 3293 int main() { | 3318 int main() { |
| 3294 struct tm *tp; tp->tm_sec; | 3319 struct tm *tp; tp->tm_sec; |
| 3295 ; return 0; } | 3320 ; return 0; } |
| 3296 EOF | 3321 EOF |
| 3297 if { (eval echo configure:3298: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3322 if { (eval echo configure:3323: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| 3298 rm -rf conftest* | 3323 rm -rf conftest* |
| 3299 ac_cv_struct_tm=time.h | 3324 ac_cv_struct_tm=time.h |
| 3300 else | 3325 else |
| 3301 echo "configure: failed program was:" >&5 | 3326 echo "configure: failed program was:" >&5 |
| 3302 cat conftest.$ac_ext >&5 | 3327 cat conftest.$ac_ext >&5 |
| 3316 } | 3341 } |
| 3317 | 3342 |
| 3318 fi | 3343 fi |
| 3319 | 3344 |
| 3320 echo $ac_n "checking for tm_zone in struct tm""... $ac_c" 1>&6 | 3345 echo $ac_n "checking for tm_zone in struct tm""... $ac_c" 1>&6 |
| 3321 echo "configure:3322: checking for tm_zone in struct tm" >&5 | 3346 echo "configure:3347: checking for tm_zone in struct tm" >&5 |
| 3322 | 3347 |
| 3323 cat > conftest.$ac_ext <<EOF | 3348 cat > conftest.$ac_ext <<EOF |
| 3324 #line 3325 "configure" | 3349 #line 3350 "configure" |
| 3325 #include "confdefs.h" | 3350 #include "confdefs.h" |
| 3326 #include <sys/types.h> | 3351 #include <sys/types.h> |
| 3327 #include <$ac_cv_struct_tm> | 3352 #include <$ac_cv_struct_tm> |
| 3328 int main() { | 3353 int main() { |
| 3329 struct tm tm; tm.tm_zone; | 3354 struct tm tm; tm.tm_zone; |
| 3330 ; return 0; } | 3355 ; return 0; } |
| 3331 EOF | 3356 EOF |
| 3332 if { (eval echo configure:3333: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3357 if { (eval echo configure:3358: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| 3333 rm -rf conftest* | 3358 rm -rf conftest* |
| 3334 ac_cv_struct_tm_zone=yes | 3359 ac_cv_struct_tm_zone=yes |
| 3335 else | 3360 else |
| 3336 echo "configure: failed program was:" >&5 | 3361 echo "configure: failed program was:" >&5 |
| 3337 cat conftest.$ac_ext >&5 | 3362 cat conftest.$ac_ext >&5 |
| 3350 EOF | 3375 EOF |
| 3351 } | 3376 } |
| 3352 | 3377 |
| 3353 else | 3378 else |
| 3354 echo $ac_n "checking for tzname""... $ac_c" 1>&6 | 3379 echo $ac_n "checking for tzname""... $ac_c" 1>&6 |
| 3355 echo "configure:3356: checking for tzname" >&5 | 3380 echo "configure:3381: checking for tzname" >&5 |
| 3356 | 3381 |
| 3357 cat > conftest.$ac_ext <<EOF | 3382 cat > conftest.$ac_ext <<EOF |
| 3358 #line 3359 "configure" | 3383 #line 3384 "configure" |
| 3359 #include "confdefs.h" | 3384 #include "confdefs.h" |
| 3360 #include <time.h> | 3385 #include <time.h> |
| 3361 #ifndef tzname /* For SGI. */ | 3386 #ifndef tzname /* For SGI. */ |
| 3362 extern char *tzname[]; /* RS6000 and others reject char **tzname. */ | 3387 extern char *tzname[]; /* RS6000 and others reject char **tzname. */ |
| 3363 #endif | 3388 #endif |
| 3364 int main() { | 3389 int main() { |
| 3365 atoi(*tzname); | 3390 atoi(*tzname); |
| 3366 ; return 0; } | 3391 ; return 0; } |
| 3367 EOF | 3392 EOF |
| 3368 if { (eval echo configure:3369: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 3393 if { (eval echo configure:3394: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 3369 rm -rf conftest* | 3394 rm -rf conftest* |
| 3370 ac_cv_var_tzname=yes | 3395 ac_cv_var_tzname=yes |
| 3371 else | 3396 else |
| 3372 echo "configure: failed program was:" >&5 | 3397 echo "configure: failed program was:" >&5 |
| 3373 cat conftest.$ac_ext >&5 | 3398 cat conftest.$ac_ext >&5 |
| 3389 fi | 3414 fi |
| 3390 fi | 3415 fi |
| 3391 | 3416 |
| 3392 | 3417 |
| 3393 echo $ac_n "checking for working const""... $ac_c" 1>&6 | 3418 echo $ac_n "checking for working const""... $ac_c" 1>&6 |
| 3394 echo "configure:3395: checking for working const" >&5 | 3419 echo "configure:3420: checking for working const" >&5 |
| 3395 | 3420 |
| 3396 cat > conftest.$ac_ext <<EOF | 3421 cat > conftest.$ac_ext <<EOF |
| 3397 #line 3398 "configure" | 3422 #line 3423 "configure" |
| 3398 #include "confdefs.h" | 3423 #include "confdefs.h" |
| 3399 | 3424 |
| 3400 int main() { | 3425 int main() { |
| 3401 | 3426 |
| 3402 /* Ultrix mips cc rejects this. */ | 3427 /* Ultrix mips cc rejects this. */ |
| 3441 const int foo = 10; | 3466 const int foo = 10; |
| 3442 } | 3467 } |
| 3443 | 3468 |
| 3444 ; return 0; } | 3469 ; return 0; } |
| 3445 EOF | 3470 EOF |
| 3446 if { (eval echo configure:3447: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3471 if { (eval echo configure:3472: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| 3447 rm -rf conftest* | 3472 rm -rf conftest* |
| 3448 ac_cv_c_const=yes | 3473 ac_cv_c_const=yes |
| 3449 else | 3474 else |
| 3450 echo "configure: failed program was:" >&5 | 3475 echo "configure: failed program was:" >&5 |
| 3451 cat conftest.$ac_ext >&5 | 3476 cat conftest.$ac_ext >&5 |
| 3466 | 3491 |
| 3467 fi | 3492 fi |
| 3468 | 3493 |
| 3469 | 3494 |
| 3470 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6 | 3495 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6 |
| 3471 echo "configure:3472: checking whether ${MAKE-make} sets \${MAKE}" >&5 | 3496 echo "configure:3497: checking whether ${MAKE-make} sets \${MAKE}" >&5 |
| 3472 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'` | 3497 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'` |
| 3473 | 3498 |
| 3474 cat > conftestmake <<\EOF | 3499 cat > conftestmake <<\EOF |
| 3475 all: | 3500 all: |
| 3476 @echo 'ac_maketemp="${MAKE}"' | 3501 @echo 'ac_maketemp="${MAKE}"' |
| 3491 SET_MAKE="MAKE=${MAKE-make}" | 3516 SET_MAKE="MAKE=${MAKE-make}" |
| 3492 fi | 3517 fi |
| 3493 | 3518 |
| 3494 | 3519 |
| 3495 echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6 | 3520 echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6 |
| 3496 echo "configure:3497: checking whether byte ordering is bigendian" >&5 | 3521 echo "configure:3522: checking whether byte ordering is bigendian" >&5 |
| 3497 | 3522 |
| 3498 ac_cv_c_bigendian=unknown | 3523 ac_cv_c_bigendian=unknown |
| 3499 # See if sys/param.h defines the BYTE_ORDER macro. | 3524 # See if sys/param.h defines the BYTE_ORDER macro. |
| 3500 cat > conftest.$ac_ext <<EOF | 3525 cat > conftest.$ac_ext <<EOF |
| 3501 #line 3502 "configure" | 3526 #line 3527 "configure" |
| 3502 #include "confdefs.h" | 3527 #include "confdefs.h" |
| 3503 #include <sys/types.h> | 3528 #include <sys/types.h> |
| 3504 #include <sys/param.h> | 3529 #include <sys/param.h> |
| 3505 int main() { | 3530 int main() { |
| 3506 | 3531 |
| 3507 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN | 3532 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN |
| 3508 bogus endian macros | 3533 bogus endian macros |
| 3509 #endif | 3534 #endif |
| 3510 ; return 0; } | 3535 ; return 0; } |
| 3511 EOF | 3536 EOF |
| 3512 if { (eval echo configure:3513: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3537 if { (eval echo configure:3538: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| 3513 rm -rf conftest* | 3538 rm -rf conftest* |
| 3514 # It does; now see whether it defined to BIG_ENDIAN or not. | 3539 # It does; now see whether it defined to BIG_ENDIAN or not. |
| 3515 cat > conftest.$ac_ext <<EOF | 3540 cat > conftest.$ac_ext <<EOF |
| 3516 #line 3517 "configure" | 3541 #line 3542 "configure" |
| 3517 #include "confdefs.h" | 3542 #include "confdefs.h" |
| 3518 #include <sys/types.h> | 3543 #include <sys/types.h> |
| 3519 #include <sys/param.h> | 3544 #include <sys/param.h> |
| 3520 int main() { | 3545 int main() { |
| 3521 | 3546 |
| 3522 #if BYTE_ORDER != BIG_ENDIAN | 3547 #if BYTE_ORDER != BIG_ENDIAN |
| 3523 not big endian | 3548 not big endian |
| 3524 #endif | 3549 #endif |
| 3525 ; return 0; } | 3550 ; return 0; } |
| 3526 EOF | 3551 EOF |
| 3527 if { (eval echo configure:3528: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3552 if { (eval echo configure:3553: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| 3528 rm -rf conftest* | 3553 rm -rf conftest* |
| 3529 ac_cv_c_bigendian=yes | 3554 ac_cv_c_bigendian=yes |
| 3530 else | 3555 else |
| 3531 echo "configure: failed program was:" >&5 | 3556 echo "configure: failed program was:" >&5 |
| 3532 cat conftest.$ac_ext >&5 | 3557 cat conftest.$ac_ext >&5 |
| 3539 cat conftest.$ac_ext >&5 | 3564 cat conftest.$ac_ext >&5 |
| 3540 fi | 3565 fi |
| 3541 rm -f conftest* | 3566 rm -f conftest* |
| 3542 if test $ac_cv_c_bigendian = unknown; then | 3567 if test $ac_cv_c_bigendian = unknown; then |
| 3543 cat > conftest.$ac_ext <<EOF | 3568 cat > conftest.$ac_ext <<EOF |
| 3544 #line 3545 "configure" | 3569 #line 3570 "configure" |
| 3545 #include "confdefs.h" | 3570 #include "confdefs.h" |
| 3546 main () { | 3571 main () { |
| 3547 /* Are we little or big endian? From Harbison&Steele. */ | 3572 /* Are we little or big endian? From Harbison&Steele. */ |
| 3548 union | 3573 union |
| 3549 { | 3574 { |
| 3552 } u; | 3577 } u; |
| 3553 u.l = 1; | 3578 u.l = 1; |
| 3554 exit (u.c[sizeof (long) - 1] == 1); | 3579 exit (u.c[sizeof (long) - 1] == 1); |
| 3555 } | 3580 } |
| 3556 EOF | 3581 EOF |
| 3557 if { (eval echo configure:3558: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 | 3582 if { (eval echo configure:3583: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 |
| 3558 then | 3583 then |
| 3559 ac_cv_c_bigendian=no | 3584 ac_cv_c_bigendian=no |
| 3560 else | 3585 else |
| 3561 echo "configure: failed program was:" >&5 | 3586 echo "configure: failed program was:" >&5 |
| 3562 cat conftest.$ac_ext >&5 | 3587 cat conftest.$ac_ext >&5 |
| 3578 | 3603 |
| 3579 fi | 3604 fi |
| 3580 | 3605 |
| 3581 | 3606 |
| 3582 echo $ac_n "checking size of short""... $ac_c" 1>&6 | 3607 echo $ac_n "checking size of short""... $ac_c" 1>&6 |
| 3583 echo "configure:3584: checking size of short" >&5 | 3608 echo "configure:3609: checking size of short" >&5 |
| 3584 | 3609 |
| 3585 cat > conftest.$ac_ext <<EOF | 3610 cat > conftest.$ac_ext <<EOF |
| 3586 #line 3587 "configure" | 3611 #line 3612 "configure" |
| 3587 #include "confdefs.h" | 3612 #include "confdefs.h" |
| 3588 #include <stdio.h> | 3613 #include <stdio.h> |
| 3589 main() | 3614 main() |
| 3590 { | 3615 { |
| 3591 FILE *f=fopen("conftestval", "w"); | 3616 FILE *f=fopen("conftestval", "w"); |
| 3592 if (!f) exit(1); | 3617 if (!f) exit(1); |
| 3593 fprintf(f, "%d\n", sizeof(short)); | 3618 fprintf(f, "%d\n", sizeof(short)); |
| 3594 exit(0); | 3619 exit(0); |
| 3595 } | 3620 } |
| 3596 EOF | 3621 EOF |
| 3597 if { (eval echo configure:3598: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 | 3622 if { (eval echo configure:3623: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 |
| 3598 then | 3623 then |
| 3599 ac_cv_sizeof_short=`cat conftestval` | 3624 ac_cv_sizeof_short=`cat conftestval` |
| 3600 else | 3625 else |
| 3601 echo "configure: failed program was:" >&5 | 3626 echo "configure: failed program was:" >&5 |
| 3602 cat conftest.$ac_ext >&5 | 3627 cat conftest.$ac_ext >&5 |
| 3619 echo "*** PANIC *** Configure tests are not working - compiler is broken." | 3644 echo "*** PANIC *** Configure tests are not working - compiler is broken." |
| 3620 echo "*** PANIC *** Please examine config.log for compilation errors." | 3645 echo "*** PANIC *** Please examine config.log for compilation errors." |
| 3621 exit 1 | 3646 exit 1 |
| 3622 fi | 3647 fi |
| 3623 echo $ac_n "checking size of int""... $ac_c" 1>&6 | 3648 echo $ac_n "checking size of int""... $ac_c" 1>&6 |
| 3624 echo "configure:3625: checking size of int" >&5 | 3649 echo "configure:3650: checking size of int" >&5 |
| 3625 | 3650 |
| 3626 cat > conftest.$ac_ext <<EOF | 3651 cat > conftest.$ac_ext <<EOF |
| 3627 #line 3628 "configure" | 3652 #line 3653 "configure" |
| 3628 #include "confdefs.h" | 3653 #include "confdefs.h" |
| 3629 #include <stdio.h> | 3654 #include <stdio.h> |
| 3630 main() | 3655 main() |
| 3631 { | 3656 { |
| 3632 FILE *f=fopen("conftestval", "w"); | 3657 FILE *f=fopen("conftestval", "w"); |
| 3633 if (!f) exit(1); | 3658 if (!f) exit(1); |
| 3634 fprintf(f, "%d\n", sizeof(int)); | 3659 fprintf(f, "%d\n", sizeof(int)); |
| 3635 exit(0); | 3660 exit(0); |
| 3636 } | 3661 } |
| 3637 EOF | 3662 EOF |
| 3638 if { (eval echo configure:3639: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 | 3663 if { (eval echo configure:3664: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 |
| 3639 then | 3664 then |
| 3640 ac_cv_sizeof_int=`cat conftestval` | 3665 ac_cv_sizeof_int=`cat conftestval` |
| 3641 else | 3666 else |
| 3642 echo "configure: failed program was:" >&5 | 3667 echo "configure: failed program was:" >&5 |
| 3643 cat conftest.$ac_ext >&5 | 3668 cat conftest.$ac_ext >&5 |
| 3654 EOF | 3679 EOF |
| 3655 } | 3680 } |
| 3656 | 3681 |
| 3657 | 3682 |
| 3658 echo $ac_n "checking size of long""... $ac_c" 1>&6 | 3683 echo $ac_n "checking size of long""... $ac_c" 1>&6 |
| 3659 echo "configure:3660: checking size of long" >&5 | 3684 echo "configure:3685: checking size of long" >&5 |
| 3660 | 3685 |
| 3661 cat > conftest.$ac_ext <<EOF | 3686 cat > conftest.$ac_ext <<EOF |
| 3662 #line 3663 "configure" | 3687 #line 3688 "configure" |
| 3663 #include "confdefs.h" | 3688 #include "confdefs.h" |
| 3664 #include <stdio.h> | 3689 #include <stdio.h> |
| 3665 main() | 3690 main() |
| 3666 { | 3691 { |
| 3667 FILE *f=fopen("conftestval", "w"); | 3692 FILE *f=fopen("conftestval", "w"); |
| 3668 if (!f) exit(1); | 3693 if (!f) exit(1); |
| 3669 fprintf(f, "%d\n", sizeof(long)); | 3694 fprintf(f, "%d\n", sizeof(long)); |
| 3670 exit(0); | 3695 exit(0); |
| 3671 } | 3696 } |
| 3672 EOF | 3697 EOF |
| 3673 if { (eval echo configure:3674: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 | 3698 if { (eval echo configure:3699: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 |
| 3674 then | 3699 then |
| 3675 ac_cv_sizeof_long=`cat conftestval` | 3700 ac_cv_sizeof_long=`cat conftestval` |
| 3676 else | 3701 else |
| 3677 echo "configure: failed program was:" >&5 | 3702 echo "configure: failed program was:" >&5 |
| 3678 cat conftest.$ac_ext >&5 | 3703 cat conftest.$ac_ext >&5 |
| 3689 EOF | 3714 EOF |
| 3690 } | 3715 } |
| 3691 | 3716 |
| 3692 | 3717 |
| 3693 echo $ac_n "checking size of long long""... $ac_c" 1>&6 | 3718 echo $ac_n "checking size of long long""... $ac_c" 1>&6 |
| 3694 echo "configure:3695: checking size of long long" >&5 | 3719 echo "configure:3720: checking size of long long" >&5 |
| 3695 | 3720 |
| 3696 cat > conftest.$ac_ext <<EOF | 3721 cat > conftest.$ac_ext <<EOF |
| 3697 #line 3698 "configure" | 3722 #line 3723 "configure" |
| 3698 #include "confdefs.h" | 3723 #include "confdefs.h" |
| 3699 #include <stdio.h> | 3724 #include <stdio.h> |
| 3700 main() | 3725 main() |
| 3701 { | 3726 { |
| 3702 FILE *f=fopen("conftestval", "w"); | 3727 FILE *f=fopen("conftestval", "w"); |
| 3703 if (!f) exit(1); | 3728 if (!f) exit(1); |
| 3704 fprintf(f, "%d\n", sizeof(long long)); | 3729 fprintf(f, "%d\n", sizeof(long long)); |
| 3705 exit(0); | 3730 exit(0); |
| 3706 } | 3731 } |
| 3707 EOF | 3732 EOF |
| 3708 if { (eval echo configure:3709: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 | 3733 if { (eval echo configure:3734: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 |
| 3709 then | 3734 then |
| 3710 ac_cv_sizeof_long_long=`cat conftestval` | 3735 ac_cv_sizeof_long_long=`cat conftestval` |
| 3711 else | 3736 else |
| 3712 echo "configure: failed program was:" >&5 | 3737 echo "configure: failed program was:" >&5 |
| 3713 cat conftest.$ac_ext >&5 | 3738 cat conftest.$ac_ext >&5 |
| 3724 EOF | 3749 EOF |
| 3725 } | 3750 } |
| 3726 | 3751 |
| 3727 | 3752 |
| 3728 echo $ac_n "checking size of void *""... $ac_c" 1>&6 | 3753 echo $ac_n "checking size of void *""... $ac_c" 1>&6 |
| 3729 echo "configure:3730: checking size of void *" >&5 | 3754 echo "configure:3755: checking size of void *" >&5 |
| 3730 | 3755 |
| 3731 cat > conftest.$ac_ext <<EOF | 3756 cat > conftest.$ac_ext <<EOF |
| 3732 #line 3733 "configure" | 3757 #line 3758 "configure" |
| 3733 #include "confdefs.h" | 3758 #include "confdefs.h" |
| 3734 #include <stdio.h> | 3759 #include <stdio.h> |
| 3735 main() | 3760 main() |
| 3736 { | 3761 { |
| 3737 FILE *f=fopen("conftestval", "w"); | 3762 FILE *f=fopen("conftestval", "w"); |
| 3738 if (!f) exit(1); | 3763 if (!f) exit(1); |
| 3739 fprintf(f, "%d\n", sizeof(void *)); | 3764 fprintf(f, "%d\n", sizeof(void *)); |
| 3740 exit(0); | 3765 exit(0); |
| 3741 } | 3766 } |
| 3742 EOF | 3767 EOF |
| 3743 if { (eval echo configure:3744: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 | 3768 if { (eval echo configure:3769: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 |
| 3744 then | 3769 then |
| 3745 ac_cv_sizeof_void_p=`cat conftestval` | 3770 ac_cv_sizeof_void_p=`cat conftestval` |
| 3746 else | 3771 else |
| 3747 echo "configure: failed program was:" >&5 | 3772 echo "configure: failed program was:" >&5 |
| 3748 cat conftest.$ac_ext >&5 | 3773 cat conftest.$ac_ext >&5 |
| 3760 } | 3785 } |
| 3761 | 3786 |
| 3762 | 3787 |
| 3763 | 3788 |
| 3764 echo $ac_n "checking for long file names""... $ac_c" 1>&6 | 3789 echo $ac_n "checking for long file names""... $ac_c" 1>&6 |
| 3765 echo "configure:3766: checking for long file names" >&5 | 3790 echo "configure:3791: checking for long file names" >&5 |
| 3766 | 3791 |
| 3767 ac_cv_sys_long_file_names=yes | 3792 ac_cv_sys_long_file_names=yes |
| 3768 # Test for long file names in all the places we know might matter: | 3793 # Test for long file names in all the places we know might matter: |
| 3769 # . the current directory, where building will happen | 3794 # . the current directory, where building will happen |
| 3770 # $prefix/lib where we will be installing things | 3795 # $prefix/lib where we will be installing things |
| 3807 fi | 3832 fi |
| 3808 | 3833 |
| 3809 | 3834 |
| 3810 | 3835 |
| 3811 echo $ac_n "checking for sqrt in -lm""... $ac_c" 1>&6 | 3836 echo $ac_n "checking for sqrt in -lm""... $ac_c" 1>&6 |
| 3812 echo "configure:3813: checking for sqrt in -lm" >&5 | 3837 echo "configure:3838: checking for sqrt in -lm" >&5 |
| 3813 ac_lib_var=`echo m'_'sqrt | sed 'y%./+-%__p_%'` | 3838 ac_lib_var=`echo m'_'sqrt | sed 'y%./+-%__p_%'` |
| 3814 | 3839 |
| 3815 xe_check_libs=" -lm " | 3840 xe_check_libs=" -lm " |
| 3816 cat > conftest.$ac_ext <<EOF | 3841 cat > conftest.$ac_ext <<EOF |
| 3817 #line 3818 "configure" | 3842 #line 3843 "configure" |
| 3818 #include "confdefs.h" | 3843 #include "confdefs.h" |
| 3819 /* Override any gcc2 internal prototype to avoid an error. */ | 3844 /* Override any gcc2 internal prototype to avoid an error. */ |
| 3820 /* We use char because int might match the return type of a gcc2 | 3845 /* We use char because int might match the return type of a gcc2 |
| 3821 builtin and then its argument prototype would still apply. */ | 3846 builtin and then its argument prototype would still apply. */ |
| 3822 char sqrt(); | 3847 char sqrt(); |
| 3823 | 3848 |
| 3824 int main() { | 3849 int main() { |
| 3825 sqrt() | 3850 sqrt() |
| 3826 ; return 0; } | 3851 ; return 0; } |
| 3827 EOF | 3852 EOF |
| 3828 if { (eval echo configure:3829: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 3853 if { (eval echo configure:3854: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 3829 rm -rf conftest* | 3854 rm -rf conftest* |
| 3830 eval "ac_cv_lib_$ac_lib_var=yes" | 3855 eval "ac_cv_lib_$ac_lib_var=yes" |
| 3831 else | 3856 else |
| 3832 echo "configure: failed program was:" >&5 | 3857 echo "configure: failed program was:" >&5 |
| 3833 cat conftest.$ac_ext >&5 | 3858 cat conftest.$ac_ext >&5 |
| 3855 echo "$ac_t""no" 1>&6 | 3880 echo "$ac_t""no" 1>&6 |
| 3856 fi | 3881 fi |
| 3857 | 3882 |
| 3858 | 3883 |
| 3859 | 3884 |
| 3860 | |
| 3861 { test "$extra_verbose" = "yes" && cat << \EOF | 3885 { test "$extra_verbose" = "yes" && cat << \EOF |
| 3862 Defining LISP_FLOAT_TYPE | 3886 Defining LISP_FLOAT_TYPE |
| 3863 EOF | 3887 EOF |
| 3864 cat >> confdefs.h <<\EOF | 3888 cat >> confdefs.h <<\EOF |
| 3865 #define LISP_FLOAT_TYPE 1 | 3889 #define LISP_FLOAT_TYPE 1 |
| 3866 EOF | 3890 EOF |
| 3867 } | 3891 } |
| 3868 | 3892 |
| 3869 | 3893 |
| 3870 echo "checking type of mail spool file locking" 1>&6 | 3894 echo "checking type of mail spool file locking" 1>&6 |
| 3871 echo "configure:3872: checking type of mail spool file locking" >&5 | 3895 echo "configure:3896: checking type of mail spool file locking" >&5 |
| 3872 test -z "$mail_locking" -a "$mail_use_flock" = "yes" && mail_locking=flock | 3896 test -z "$mail_locking" -a "$mail_use_flock" = "yes" && mail_locking=flock |
| 3873 test -z "$mail_locking" -a "$mail_use_lockf" = "yes" && mail_locking=lockf | 3897 test -z "$mail_locking" -a "$mail_use_lockf" = "yes" && mail_locking=lockf |
| 3874 if test "$mail_locking" = "lockf"; then { test "$extra_verbose" = "yes" && cat << \EOF | 3898 if test "$mail_locking" = "lockf"; then { test "$extra_verbose" = "yes" && cat << \EOF |
| 3875 Defining REAL_MAIL_USE_LOCKF | 3899 Defining REAL_MAIL_USE_LOCKF |
| 3876 EOF | 3900 EOF |
| 3890 else mail_locking="dot-locking" | 3914 else mail_locking="dot-locking" |
| 3891 fi | 3915 fi |
| 3892 | 3916 |
| 3893 | 3917 |
| 3894 echo $ac_n "checking for kstat_open in -lkstat""... $ac_c" 1>&6 | 3918 echo $ac_n "checking for kstat_open in -lkstat""... $ac_c" 1>&6 |
| 3895 echo "configure:3896: checking for kstat_open in -lkstat" >&5 | 3919 echo "configure:3920: checking for kstat_open in -lkstat" >&5 |
| 3896 ac_lib_var=`echo kstat'_'kstat_open | sed 'y%./+-%__p_%'` | 3920 ac_lib_var=`echo kstat'_'kstat_open | sed 'y%./+-%__p_%'` |
| 3897 | 3921 |
| 3898 xe_check_libs=" -lkstat " | 3922 xe_check_libs=" -lkstat " |
| 3899 cat > conftest.$ac_ext <<EOF | 3923 cat > conftest.$ac_ext <<EOF |
| 3900 #line 3901 "configure" | 3924 #line 3925 "configure" |
| 3901 #include "confdefs.h" | 3925 #include "confdefs.h" |
| 3902 /* Override any gcc2 internal prototype to avoid an error. */ | 3926 /* Override any gcc2 internal prototype to avoid an error. */ |
| 3903 /* We use char because int might match the return type of a gcc2 | 3927 /* We use char because int might match the return type of a gcc2 |
| 3904 builtin and then its argument prototype would still apply. */ | 3928 builtin and then its argument prototype would still apply. */ |
| 3905 char kstat_open(); | 3929 char kstat_open(); |
| 3906 | 3930 |
| 3907 int main() { | 3931 int main() { |
| 3908 kstat_open() | 3932 kstat_open() |
| 3909 ; return 0; } | 3933 ; return 0; } |
| 3910 EOF | 3934 EOF |
| 3911 if { (eval echo configure:3912: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 3935 if { (eval echo configure:3936: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 3912 rm -rf conftest* | 3936 rm -rf conftest* |
| 3913 eval "ac_cv_lib_$ac_lib_var=yes" | 3937 eval "ac_cv_lib_$ac_lib_var=yes" |
| 3914 else | 3938 else |
| 3915 echo "configure: failed program was:" >&5 | 3939 echo "configure: failed program was:" >&5 |
| 3916 cat conftest.$ac_ext >&5 | 3940 cat conftest.$ac_ext >&5 |
| 3940 | 3964 |
| 3941 | 3965 |
| 3942 | 3966 |
| 3943 | 3967 |
| 3944 echo $ac_n "checking for kvm_read in -lkvm""... $ac_c" 1>&6 | 3968 echo $ac_n "checking for kvm_read in -lkvm""... $ac_c" 1>&6 |
| 3945 echo "configure:3946: checking for kvm_read in -lkvm" >&5 | 3969 echo "configure:3970: checking for kvm_read in -lkvm" >&5 |
| 3946 ac_lib_var=`echo kvm'_'kvm_read | sed 'y%./+-%__p_%'` | 3970 ac_lib_var=`echo kvm'_'kvm_read | sed 'y%./+-%__p_%'` |
| 3947 | 3971 |
| 3948 xe_check_libs=" -lkvm " | 3972 xe_check_libs=" -lkvm " |
| 3949 cat > conftest.$ac_ext <<EOF | 3973 cat > conftest.$ac_ext <<EOF |
| 3950 #line 3951 "configure" | 3974 #line 3975 "configure" |
| 3951 #include "confdefs.h" | 3975 #include "confdefs.h" |
| 3952 /* Override any gcc2 internal prototype to avoid an error. */ | 3976 /* Override any gcc2 internal prototype to avoid an error. */ |
| 3953 /* We use char because int might match the return type of a gcc2 | 3977 /* We use char because int might match the return type of a gcc2 |
| 3954 builtin and then its argument prototype would still apply. */ | 3978 builtin and then its argument prototype would still apply. */ |
| 3955 char kvm_read(); | 3979 char kvm_read(); |
| 3956 | 3980 |
| 3957 int main() { | 3981 int main() { |
| 3958 kvm_read() | 3982 kvm_read() |
| 3959 ; return 0; } | 3983 ; return 0; } |
| 3960 EOF | 3984 EOF |
| 3961 if { (eval echo configure:3962: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 3985 if { (eval echo configure:3986: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 3962 rm -rf conftest* | 3986 rm -rf conftest* |
| 3963 eval "ac_cv_lib_$ac_lib_var=yes" | 3987 eval "ac_cv_lib_$ac_lib_var=yes" |
| 3964 else | 3988 else |
| 3965 echo "configure: failed program was:" >&5 | 3989 echo "configure: failed program was:" >&5 |
| 3966 cat conftest.$ac_ext >&5 | 3990 cat conftest.$ac_ext >&5 |
| 3990 | 4014 |
| 3991 | 4015 |
| 3992 | 4016 |
| 3993 | 4017 |
| 3994 echo $ac_n "checking for cma_open in -lpthreads""... $ac_c" 1>&6 | 4018 echo $ac_n "checking for cma_open in -lpthreads""... $ac_c" 1>&6 |
| 3995 echo "configure:3996: checking for cma_open in -lpthreads" >&5 | 4019 echo "configure:4020: checking for cma_open in -lpthreads" >&5 |
| 3996 ac_lib_var=`echo pthreads'_'cma_open | sed 'y%./+-%__p_%'` | 4020 ac_lib_var=`echo pthreads'_'cma_open | sed 'y%./+-%__p_%'` |
| 3997 | 4021 |
| 3998 xe_check_libs=" -lpthreads " | 4022 xe_check_libs=" -lpthreads " |
| 3999 cat > conftest.$ac_ext <<EOF | 4023 cat > conftest.$ac_ext <<EOF |
| 4000 #line 4001 "configure" | 4024 #line 4025 "configure" |
| 4001 #include "confdefs.h" | 4025 #include "confdefs.h" |
| 4002 /* Override any gcc2 internal prototype to avoid an error. */ | 4026 /* Override any gcc2 internal prototype to avoid an error. */ |
| 4003 /* We use char because int might match the return type of a gcc2 | 4027 /* We use char because int might match the return type of a gcc2 |
| 4004 builtin and then its argument prototype would still apply. */ | 4028 builtin and then its argument prototype would still apply. */ |
| 4005 char cma_open(); | 4029 char cma_open(); |
| 4006 | 4030 |
| 4007 int main() { | 4031 int main() { |
| 4008 cma_open() | 4032 cma_open() |
| 4009 ; return 0; } | 4033 ; return 0; } |
| 4010 EOF | 4034 EOF |
| 4011 if { (eval echo configure:4012: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4035 if { (eval echo configure:4036: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 4012 rm -rf conftest* | 4036 rm -rf conftest* |
| 4013 eval "ac_cv_lib_$ac_lib_var=yes" | 4037 eval "ac_cv_lib_$ac_lib_var=yes" |
| 4014 else | 4038 else |
| 4015 echo "configure: failed program was:" >&5 | 4039 echo "configure: failed program was:" >&5 |
| 4016 cat conftest.$ac_ext >&5 | 4040 cat conftest.$ac_ext >&5 |
| 4042 if test "$ac_cv_lib_pthreads_cma_open" = "yes"; then | 4066 if test "$ac_cv_lib_pthreads_cma_open" = "yes"; then |
| 4043 case "$opsys" in decosf*) c_switch_site="$c_switch_site -threads";; esac | 4067 case "$opsys" in decosf*) c_switch_site="$c_switch_site -threads";; esac |
| 4044 fi | 4068 fi |
| 4045 | 4069 |
| 4046 echo $ac_n "checking whether the -xildoff compiler flag is required""... $ac_c" 1>&6 | 4070 echo $ac_n "checking whether the -xildoff compiler flag is required""... $ac_c" 1>&6 |
| 4047 echo "configure:4048: checking whether the -xildoff compiler flag is required" >&5 | 4071 echo "configure:4072: checking whether the -xildoff compiler flag is required" >&5 |
| 4048 if ${CC-cc} '-###' -xildon no_such_file.c 2>&1 | grep '^[^ ]*/ild ' > /dev/null ; then | 4072 if ${CC-cc} '-###' -xildon no_such_file.c 2>&1 | grep '^[^ ]*/ild ' > /dev/null ; then |
| 4049 if ${CC-cc} '-###' -xildoff no_such_file.c 2>&1 | grep '^[^ ]*/ild ' > /dev/null ; | 4073 if ${CC-cc} '-###' -xildoff no_such_file.c 2>&1 | grep '^[^ ]*/ild ' > /dev/null ; |
| 4050 then echo "$ac_t""no" 1>&6; | 4074 then echo "$ac_t""no" 1>&6; |
| 4051 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 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 |
| 4052 fi | 4076 fi |
| 4053 else echo "$ac_t""no" 1>&6 | 4077 else echo "$ac_t""no" 1>&6 |
| 4054 fi | 4078 fi |
| 4055 | 4079 |
| 4056 if test "$opsys" = "sol2" && test "$OS_RELEASE" -ge 56; then | 4080 if test "$opsys" = "sol2" && test "$OS_RELEASE" -ge 56; then |
| 4057 echo $ac_n "checking for \"-z ignore\" linker flag""... $ac_c" 1>&6 | 4081 echo $ac_n "checking for \"-z ignore\" linker flag""... $ac_c" 1>&6 |
| 4058 echo "configure:4059: checking for \"-z ignore\" linker flag" >&5 | 4082 echo "configure:4083: checking for \"-z ignore\" linker flag" >&5 |
| 4059 case "`ld -h 2>&1`" in | 4083 case "`ld -h 2>&1`" in |
| 4060 *-z\ ignore\|record* ) echo "$ac_t""yes" 1>&6 | 4084 *-z\ ignore\|record* ) echo "$ac_t""yes" 1>&6 |
| 4061 ld_switch_site="-z ignore $ld_switch_site" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-z ignore\" to \$ld_switch_site"; fi ;; | 4085 ld_switch_site="-z ignore $ld_switch_site" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-z ignore\" to \$ld_switch_site"; fi ;; |
| 4062 *) echo "$ac_t""no" 1>&6 ;; | 4086 *) echo "$ac_t""no" 1>&6 ;; |
| 4063 esac | 4087 esac |
| 4064 fi | 4088 fi |
| 4065 | 4089 |
| 4066 | 4090 |
| 4067 echo "checking "for specified window system"" 1>&6 | 4091 echo "checking "for specified window system"" 1>&6 |
| 4068 echo "configure:4069: checking "for specified window system"" >&5 | 4092 echo "configure:4093: checking "for specified window system"" >&5 |
| 4069 | 4093 |
| 4070 if test "$x_includes $x_libraries" = "NONE NONE"; then | 4094 if test "$x_includes $x_libraries" = "NONE NONE"; then |
| 4071 if test -n "$OPENWINHOME" \ | 4095 if test -n "$OPENWINHOME" \ |
| 4072 -a "$OPENWINHOME" != "/usr/openwin" \ | 4096 -a "$OPENWINHOME" != "/usr/openwin" \ |
| 4073 -a -d "$OPENWINHOME"; then | 4097 -a -d "$OPENWINHOME"; then |
| 4084 # If we find X, set shell vars x_includes and x_libraries to the | 4108 # If we find X, set shell vars x_includes and x_libraries to the |
| 4085 # paths, otherwise set no_x=yes. | 4109 # paths, otherwise set no_x=yes. |
| 4086 # Uses ac_ vars as temps to allow command line to override cache and checks. | 4110 # Uses ac_ vars as temps to allow command line to override cache and checks. |
| 4087 # --without-x overrides everything else, but does not touch the cache. | 4111 # --without-x overrides everything else, but does not touch the cache. |
| 4088 echo $ac_n "checking for X""... $ac_c" 1>&6 | 4112 echo $ac_n "checking for X""... $ac_c" 1>&6 |
| 4089 echo "configure:4090: checking for X" >&5 | 4113 echo "configure:4114: checking for X" >&5 |
| 4090 | 4114 |
| 4091 # Check whether --with-x or --without-x was given. | 4115 # Check whether --with-x or --without-x was given. |
| 4092 if test "${with_x+set}" = set; then | 4116 if test "${with_x+set}" = set; then |
| 4093 withval="$with_x" | 4117 withval="$with_x" |
| 4094 : | 4118 : |
| 4144 # Guess where to find include files, by looking for this one X11 .h file. | 4168 # Guess where to find include files, by looking for this one X11 .h file. |
| 4145 test -z "$x_direct_test_include" && x_direct_test_include=X11/Intrinsic.h | 4169 test -z "$x_direct_test_include" && x_direct_test_include=X11/Intrinsic.h |
| 4146 | 4170 |
| 4147 # First, try using that file with no special directory specified. | 4171 # First, try using that file with no special directory specified. |
| 4148 cat > conftest.$ac_ext <<EOF | 4172 cat > conftest.$ac_ext <<EOF |
| 4149 #line 4150 "configure" | 4173 #line 4174 "configure" |
| 4150 #include "confdefs.h" | 4174 #include "confdefs.h" |
| 4151 #include <$x_direct_test_include> | 4175 #include <$x_direct_test_include> |
| 4152 EOF | 4176 EOF |
| 4153 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 4177 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 4154 { (eval echo configure:4155: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 4178 { (eval echo configure:4179: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 4155 ac_err=`grep -v '^ *+' conftest.out` | 4179 ac_err=`grep -v '^ *+' conftest.out` |
| 4156 if test -z "$ac_err"; then | 4180 if test -z "$ac_err"; then |
| 4157 rm -rf conftest* | 4181 rm -rf conftest* |
| 4158 # We can compile using X headers with no special include directory. | 4182 # We can compile using X headers with no special include directory. |
| 4159 ac_x_includes= | 4183 ac_x_includes= |
| 4218 # See if we find them without any special options. | 4242 # See if we find them without any special options. |
| 4219 # Don't add to $LIBS permanently. | 4243 # Don't add to $LIBS permanently. |
| 4220 ac_save_LIBS="$LIBS" | 4244 ac_save_LIBS="$LIBS" |
| 4221 LIBS="-l$x_direct_test_library $LIBS" | 4245 LIBS="-l$x_direct_test_library $LIBS" |
| 4222 cat > conftest.$ac_ext <<EOF | 4246 cat > conftest.$ac_ext <<EOF |
| 4223 #line 4224 "configure" | 4247 #line 4248 "configure" |
| 4224 #include "confdefs.h" | 4248 #include "confdefs.h" |
| 4225 | 4249 |
| 4226 int main() { | 4250 int main() { |
| 4227 ${x_direct_test_function}() | 4251 ${x_direct_test_function}() |
| 4228 ; return 0; } | 4252 ; return 0; } |
| 4229 EOF | 4253 EOF |
| 4230 if { (eval echo configure:4231: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4254 if { (eval echo configure:4255: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 4231 rm -rf conftest* | 4255 rm -rf conftest* |
| 4232 LIBS="$ac_save_LIBS" | 4256 LIBS="$ac_save_LIBS" |
| 4233 # We can link X programs with no special library path. | 4257 # We can link X programs with no special library path. |
| 4234 ac_x_libraries= | 4258 ac_x_libraries= |
| 4235 else | 4259 else |
| 4334 # For Solaris; some versions of Sun CC require a space after -R and | 4358 # For Solaris; some versions of Sun CC require a space after -R and |
| 4335 # others require no space. Words are not sufficient . . . . | 4359 # others require no space. Words are not sufficient . . . . |
| 4336 case "`(uname -sr) 2>/dev/null`" in | 4360 case "`(uname -sr) 2>/dev/null`" in |
| 4337 "SunOS 5"*) | 4361 "SunOS 5"*) |
| 4338 echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6 | 4362 echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6 |
| 4339 echo "configure:4340: checking whether -R must be followed by a space" >&5 | 4363 echo "configure:4364: checking whether -R must be followed by a space" >&5 |
| 4340 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS -R$x_libraries" | 4364 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS -R$x_libraries" |
| 4341 cat > conftest.$ac_ext <<EOF | 4365 cat > conftest.$ac_ext <<EOF |
| 4342 #line 4343 "configure" | 4366 #line 4367 "configure" |
| 4343 #include "confdefs.h" | 4367 #include "confdefs.h" |
| 4344 | 4368 |
| 4345 int main() { | 4369 int main() { |
| 4346 | 4370 |
| 4347 ; return 0; } | 4371 ; return 0; } |
| 4348 EOF | 4372 EOF |
| 4349 if { (eval echo configure:4350: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4373 if { (eval echo configure:4374: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 4350 rm -rf conftest* | 4374 rm -rf conftest* |
| 4351 ac_R_nospace=yes | 4375 ac_R_nospace=yes |
| 4352 else | 4376 else |
| 4353 echo "configure: failed program was:" >&5 | 4377 echo "configure: failed program was:" >&5 |
| 4354 cat conftest.$ac_ext >&5 | 4378 cat conftest.$ac_ext >&5 |
| 4360 echo "$ac_t""no" 1>&6 | 4384 echo "$ac_t""no" 1>&6 |
| 4361 X_LIBS="$X_LIBS -R$x_libraries" | 4385 X_LIBS="$X_LIBS -R$x_libraries" |
| 4362 else | 4386 else |
| 4363 LIBS="$ac_xsave_LIBS -R $x_libraries" | 4387 LIBS="$ac_xsave_LIBS -R $x_libraries" |
| 4364 cat > conftest.$ac_ext <<EOF | 4388 cat > conftest.$ac_ext <<EOF |
| 4365 #line 4366 "configure" | 4389 #line 4390 "configure" |
| 4366 #include "confdefs.h" | 4390 #include "confdefs.h" |
| 4367 | 4391 |
| 4368 int main() { | 4392 int main() { |
| 4369 | 4393 |
| 4370 ; return 0; } | 4394 ; return 0; } |
| 4371 EOF | 4395 EOF |
| 4372 if { (eval echo configure:4373: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4396 if { (eval echo configure:4397: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 4373 rm -rf conftest* | 4397 rm -rf conftest* |
| 4374 ac_R_space=yes | 4398 ac_R_space=yes |
| 4375 else | 4399 else |
| 4376 echo "configure: failed program was:" >&5 | 4400 echo "configure: failed program was:" >&5 |
| 4377 cat conftest.$ac_ext >&5 | 4401 cat conftest.$ac_ext >&5 |
| 4403 if test "$with_dnet" = "no" ; then | 4427 if test "$with_dnet" = "no" ; then |
| 4404 ac_cv_lib_dnet_dnet_ntoa=no | 4428 ac_cv_lib_dnet_dnet_ntoa=no |
| 4405 else | 4429 else |
| 4406 | 4430 |
| 4407 echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6 | 4431 echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6 |
| 4408 echo "configure:4409: checking for dnet_ntoa in -ldnet" >&5 | 4432 echo "configure:4433: checking for dnet_ntoa in -ldnet" >&5 |
| 4409 ac_lib_var=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'` | 4433 ac_lib_var=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'` |
| 4410 | 4434 |
| 4411 xe_check_libs=" -ldnet " | 4435 xe_check_libs=" -ldnet " |
| 4412 cat > conftest.$ac_ext <<EOF | 4436 cat > conftest.$ac_ext <<EOF |
| 4413 #line 4414 "configure" | 4437 #line 4438 "configure" |
| 4414 #include "confdefs.h" | 4438 #include "confdefs.h" |
| 4415 /* Override any gcc2 internal prototype to avoid an error. */ | 4439 /* Override any gcc2 internal prototype to avoid an error. */ |
| 4416 /* We use char because int might match the return type of a gcc2 | 4440 /* We use char because int might match the return type of a gcc2 |
| 4417 builtin and then its argument prototype would still apply. */ | 4441 builtin and then its argument prototype would still apply. */ |
| 4418 char dnet_ntoa(); | 4442 char dnet_ntoa(); |
| 4419 | 4443 |
| 4420 int main() { | 4444 int main() { |
| 4421 dnet_ntoa() | 4445 dnet_ntoa() |
| 4422 ; return 0; } | 4446 ; return 0; } |
| 4423 EOF | 4447 EOF |
| 4424 if { (eval echo configure:4425: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4448 if { (eval echo configure:4449: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 4425 rm -rf conftest* | 4449 rm -rf conftest* |
| 4426 eval "ac_cv_lib_$ac_lib_var=yes" | 4450 eval "ac_cv_lib_$ac_lib_var=yes" |
| 4427 else | 4451 else |
| 4428 echo "configure: failed program was:" >&5 | 4452 echo "configure: failed program was:" >&5 |
| 4429 cat conftest.$ac_ext >&5 | 4453 cat conftest.$ac_ext >&5 |
| 4443 fi | 4467 fi |
| 4444 | 4468 |
| 4445 if test $ac_cv_lib_dnet_dnet_ntoa = no; then | 4469 if test $ac_cv_lib_dnet_dnet_ntoa = no; then |
| 4446 | 4470 |
| 4447 echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6 | 4471 echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6 |
| 4448 echo "configure:4449: checking for dnet_ntoa in -ldnet_stub" >&5 | 4472 echo "configure:4473: checking for dnet_ntoa in -ldnet_stub" >&5 |
| 4449 ac_lib_var=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'` | 4473 ac_lib_var=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'` |
| 4450 | 4474 |
| 4451 xe_check_libs=" -ldnet_stub " | 4475 xe_check_libs=" -ldnet_stub " |
| 4452 cat > conftest.$ac_ext <<EOF | 4476 cat > conftest.$ac_ext <<EOF |
| 4453 #line 4454 "configure" | 4477 #line 4478 "configure" |
| 4454 #include "confdefs.h" | 4478 #include "confdefs.h" |
| 4455 /* Override any gcc2 internal prototype to avoid an error. */ | 4479 /* Override any gcc2 internal prototype to avoid an error. */ |
| 4456 /* We use char because int might match the return type of a gcc2 | 4480 /* We use char because int might match the return type of a gcc2 |
| 4457 builtin and then its argument prototype would still apply. */ | 4481 builtin and then its argument prototype would still apply. */ |
| 4458 char dnet_ntoa(); | 4482 char dnet_ntoa(); |
| 4459 | 4483 |
| 4460 int main() { | 4484 int main() { |
| 4461 dnet_ntoa() | 4485 dnet_ntoa() |
| 4462 ; return 0; } | 4486 ; return 0; } |
| 4463 EOF | 4487 EOF |
| 4464 if { (eval echo configure:4465: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4488 if { (eval echo configure:4489: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 4465 rm -rf conftest* | 4489 rm -rf conftest* |
| 4466 eval "ac_cv_lib_$ac_lib_var=yes" | 4490 eval "ac_cv_lib_$ac_lib_var=yes" |
| 4467 else | 4491 else |
| 4468 echo "configure: failed program was:" >&5 | 4492 echo "configure: failed program was:" >&5 |
| 4469 cat conftest.$ac_ext >&5 | 4493 cat conftest.$ac_ext >&5 |
| 4488 # chad@anasazi.com says the Pyramis MIS-ES running DC/OSx (SVR4) | 4512 # chad@anasazi.com says the Pyramis MIS-ES running DC/OSx (SVR4) |
| 4489 # needs -lnsl. | 4513 # needs -lnsl. |
| 4490 # The nsl library prevents programs from opening the X display | 4514 # The nsl library prevents programs from opening the X display |
| 4491 # on Irix 5.2, according to dickey@clark.net. | 4515 # on Irix 5.2, according to dickey@clark.net. |
| 4492 echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6 | 4516 echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6 |
| 4493 echo "configure:4494: checking for gethostbyname" >&5 | 4517 echo "configure:4518: checking for gethostbyname" >&5 |
| 4494 | 4518 |
| 4495 cat > conftest.$ac_ext <<EOF | 4519 cat > conftest.$ac_ext <<EOF |
| 4496 #line 4497 "configure" | 4520 #line 4521 "configure" |
| 4497 #include "confdefs.h" | 4521 #include "confdefs.h" |
| 4498 /* System header to define __stub macros and hopefully few prototypes, | 4522 /* System header to define __stub macros and hopefully few prototypes, |
| 4499 which can conflict with char gethostbyname(); below. */ | 4523 which can conflict with char gethostbyname(); below. */ |
| 4500 #include <assert.h> | 4524 #include <assert.h> |
| 4501 /* Override any gcc2 internal prototype to avoid an error. */ | 4525 /* Override any gcc2 internal prototype to avoid an error. */ |
| 4514 gethostbyname(); | 4538 gethostbyname(); |
| 4515 #endif | 4539 #endif |
| 4516 | 4540 |
| 4517 ; return 0; } | 4541 ; return 0; } |
| 4518 EOF | 4542 EOF |
| 4519 if { (eval echo configure:4520: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4543 if { (eval echo configure:4544: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 4520 rm -rf conftest* | 4544 rm -rf conftest* |
| 4521 eval "ac_cv_func_gethostbyname=yes" | 4545 eval "ac_cv_func_gethostbyname=yes" |
| 4522 else | 4546 else |
| 4523 echo "configure: failed program was:" >&5 | 4547 echo "configure: failed program was:" >&5 |
| 4524 cat conftest.$ac_ext >&5 | 4548 cat conftest.$ac_ext >&5 |
| 4535 fi | 4559 fi |
| 4536 | 4560 |
| 4537 if test $ac_cv_func_gethostbyname = no; then | 4561 if test $ac_cv_func_gethostbyname = no; then |
| 4538 | 4562 |
| 4539 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6 | 4563 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6 |
| 4540 echo "configure:4541: checking for gethostbyname in -lnsl" >&5 | 4564 echo "configure:4565: checking for gethostbyname in -lnsl" >&5 |
| 4541 ac_lib_var=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'` | 4565 ac_lib_var=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'` |
| 4542 | 4566 |
| 4543 xe_check_libs=" -lnsl " | 4567 xe_check_libs=" -lnsl " |
| 4544 cat > conftest.$ac_ext <<EOF | 4568 cat > conftest.$ac_ext <<EOF |
| 4545 #line 4546 "configure" | 4569 #line 4570 "configure" |
| 4546 #include "confdefs.h" | 4570 #include "confdefs.h" |
| 4547 /* Override any gcc2 internal prototype to avoid an error. */ | 4571 /* Override any gcc2 internal prototype to avoid an error. */ |
| 4548 /* We use char because int might match the return type of a gcc2 | 4572 /* We use char because int might match the return type of a gcc2 |
| 4549 builtin and then its argument prototype would still apply. */ | 4573 builtin and then its argument prototype would still apply. */ |
| 4550 char gethostbyname(); | 4574 char gethostbyname(); |
| 4551 | 4575 |
| 4552 int main() { | 4576 int main() { |
| 4553 gethostbyname() | 4577 gethostbyname() |
| 4554 ; return 0; } | 4578 ; return 0; } |
| 4555 EOF | 4579 EOF |
| 4556 if { (eval echo configure:4557: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4580 if { (eval echo configure:4581: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 4557 rm -rf conftest* | 4581 rm -rf conftest* |
| 4558 eval "ac_cv_lib_$ac_lib_var=yes" | 4582 eval "ac_cv_lib_$ac_lib_var=yes" |
| 4559 else | 4583 else |
| 4560 echo "configure: failed program was:" >&5 | 4584 echo "configure: failed program was:" >&5 |
| 4561 cat conftest.$ac_ext >&5 | 4585 cat conftest.$ac_ext >&5 |
| 4581 # on later versions), says simon@lia.di.epfl.ch: it contains | 4605 # on later versions), says simon@lia.di.epfl.ch: it contains |
| 4582 # gethostby* variants that don't use the nameserver (or something). | 4606 # gethostby* variants that don't use the nameserver (or something). |
| 4583 # -lsocket must be given before -lnsl if both are needed. | 4607 # -lsocket must be given before -lnsl if both are needed. |
| 4584 # We assume that if connect needs -lnsl, so does gethostbyname. | 4608 # We assume that if connect needs -lnsl, so does gethostbyname. |
| 4585 echo $ac_n "checking for connect""... $ac_c" 1>&6 | 4609 echo $ac_n "checking for connect""... $ac_c" 1>&6 |
| 4586 echo "configure:4587: checking for connect" >&5 | 4610 echo "configure:4611: checking for connect" >&5 |
| 4587 | 4611 |
| 4588 cat > conftest.$ac_ext <<EOF | 4612 cat > conftest.$ac_ext <<EOF |
| 4589 #line 4590 "configure" | 4613 #line 4614 "configure" |
| 4590 #include "confdefs.h" | 4614 #include "confdefs.h" |
| 4591 /* System header to define __stub macros and hopefully few prototypes, | 4615 /* System header to define __stub macros and hopefully few prototypes, |
| 4592 which can conflict with char connect(); below. */ | 4616 which can conflict with char connect(); below. */ |
| 4593 #include <assert.h> | 4617 #include <assert.h> |
| 4594 /* Override any gcc2 internal prototype to avoid an error. */ | 4618 /* Override any gcc2 internal prototype to avoid an error. */ |
| 4607 connect(); | 4631 connect(); |
| 4608 #endif | 4632 #endif |
| 4609 | 4633 |
| 4610 ; return 0; } | 4634 ; return 0; } |
| 4611 EOF | 4635 EOF |
| 4612 if { (eval echo configure:4613: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4636 if { (eval echo configure:4637: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 4613 rm -rf conftest* | 4637 rm -rf conftest* |
| 4614 eval "ac_cv_func_connect=yes" | 4638 eval "ac_cv_func_connect=yes" |
| 4615 else | 4639 else |
| 4616 echo "configure: failed program was:" >&5 | 4640 echo "configure: failed program was:" >&5 |
| 4617 cat conftest.$ac_ext >&5 | 4641 cat conftest.$ac_ext >&5 |
| 4630 if test $ac_cv_func_connect = no; then | 4654 if test $ac_cv_func_connect = no; then |
| 4631 | 4655 |
| 4632 xe_msg_checking="for connect in -lsocket" | 4656 xe_msg_checking="for connect in -lsocket" |
| 4633 test -n "$X_EXTRA_LIBS" && xe_msg_checking="$xe_msg_checking using extra libs $X_EXTRA_LIBS" | 4657 test -n "$X_EXTRA_LIBS" && xe_msg_checking="$xe_msg_checking using extra libs $X_EXTRA_LIBS" |
| 4634 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 4658 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
| 4635 echo "configure:4636: checking "$xe_msg_checking"" >&5 | 4659 echo "configure:4660: checking "$xe_msg_checking"" >&5 |
| 4636 ac_lib_var=`echo socket'_'connect | sed 'y%./+-%__p_%'` | 4660 ac_lib_var=`echo socket'_'connect | sed 'y%./+-%__p_%'` |
| 4637 | 4661 |
| 4638 xe_check_libs=" -lsocket $X_EXTRA_LIBS" | 4662 xe_check_libs=" -lsocket $X_EXTRA_LIBS" |
| 4639 cat > conftest.$ac_ext <<EOF | 4663 cat > conftest.$ac_ext <<EOF |
| 4640 #line 4641 "configure" | 4664 #line 4665 "configure" |
| 4641 #include "confdefs.h" | 4665 #include "confdefs.h" |
| 4642 /* Override any gcc2 internal prototype to avoid an error. */ | 4666 /* Override any gcc2 internal prototype to avoid an error. */ |
| 4643 /* We use char because int might match the return type of a gcc2 | 4667 /* We use char because int might match the return type of a gcc2 |
| 4644 builtin and then its argument prototype would still apply. */ | 4668 builtin and then its argument prototype would still apply. */ |
| 4645 char connect(); | 4669 char connect(); |
| 4646 | 4670 |
| 4647 int main() { | 4671 int main() { |
| 4648 connect() | 4672 connect() |
| 4649 ; return 0; } | 4673 ; return 0; } |
| 4650 EOF | 4674 EOF |
| 4651 if { (eval echo configure:4652: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4675 if { (eval echo configure:4676: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 4652 rm -rf conftest* | 4676 rm -rf conftest* |
| 4653 eval "ac_cv_lib_$ac_lib_var=yes" | 4677 eval "ac_cv_lib_$ac_lib_var=yes" |
| 4654 else | 4678 else |
| 4655 echo "configure: failed program was:" >&5 | 4679 echo "configure: failed program was:" >&5 |
| 4656 cat conftest.$ac_ext >&5 | 4680 cat conftest.$ac_ext >&5 |
| 4670 | 4694 |
| 4671 fi | 4695 fi |
| 4672 | 4696 |
| 4673 # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX. | 4697 # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX. |
| 4674 echo $ac_n "checking for remove""... $ac_c" 1>&6 | 4698 echo $ac_n "checking for remove""... $ac_c" 1>&6 |
| 4675 echo "configure:4676: checking for remove" >&5 | 4699 echo "configure:4700: checking for remove" >&5 |
| 4676 | 4700 |
| 4677 cat > conftest.$ac_ext <<EOF | 4701 cat > conftest.$ac_ext <<EOF |
| 4678 #line 4679 "configure" | 4702 #line 4703 "configure" |
| 4679 #include "confdefs.h" | 4703 #include "confdefs.h" |
| 4680 /* System header to define __stub macros and hopefully few prototypes, | 4704 /* System header to define __stub macros and hopefully few prototypes, |
| 4681 which can conflict with char remove(); below. */ | 4705 which can conflict with char remove(); below. */ |
| 4682 #include <assert.h> | 4706 #include <assert.h> |
| 4683 /* Override any gcc2 internal prototype to avoid an error. */ | 4707 /* Override any gcc2 internal prototype to avoid an error. */ |
| 4696 remove(); | 4720 remove(); |
| 4697 #endif | 4721 #endif |
| 4698 | 4722 |
| 4699 ; return 0; } | 4723 ; return 0; } |
| 4700 EOF | 4724 EOF |
| 4701 if { (eval echo configure:4702: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4725 if { (eval echo configure:4726: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 4702 rm -rf conftest* | 4726 rm -rf conftest* |
| 4703 eval "ac_cv_func_remove=yes" | 4727 eval "ac_cv_func_remove=yes" |
| 4704 else | 4728 else |
| 4705 echo "configure: failed program was:" >&5 | 4729 echo "configure: failed program was:" >&5 |
| 4706 cat conftest.$ac_ext >&5 | 4730 cat conftest.$ac_ext >&5 |
| 4717 fi | 4741 fi |
| 4718 | 4742 |
| 4719 if test $ac_cv_func_remove = no; then | 4743 if test $ac_cv_func_remove = no; then |
| 4720 | 4744 |
| 4721 echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6 | 4745 echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6 |
| 4722 echo "configure:4723: checking for remove in -lposix" >&5 | 4746 echo "configure:4747: checking for remove in -lposix" >&5 |
| 4723 ac_lib_var=`echo posix'_'remove | sed 'y%./+-%__p_%'` | 4747 ac_lib_var=`echo posix'_'remove | sed 'y%./+-%__p_%'` |
| 4724 | 4748 |
| 4725 xe_check_libs=" -lposix " | 4749 xe_check_libs=" -lposix " |
| 4726 cat > conftest.$ac_ext <<EOF | 4750 cat > conftest.$ac_ext <<EOF |
| 4727 #line 4728 "configure" | 4751 #line 4752 "configure" |
| 4728 #include "confdefs.h" | 4752 #include "confdefs.h" |
| 4729 /* Override any gcc2 internal prototype to avoid an error. */ | 4753 /* Override any gcc2 internal prototype to avoid an error. */ |
| 4730 /* We use char because int might match the return type of a gcc2 | 4754 /* We use char because int might match the return type of a gcc2 |
| 4731 builtin and then its argument prototype would still apply. */ | 4755 builtin and then its argument prototype would still apply. */ |
| 4732 char remove(); | 4756 char remove(); |
| 4733 | 4757 |
| 4734 int main() { | 4758 int main() { |
| 4735 remove() | 4759 remove() |
| 4736 ; return 0; } | 4760 ; return 0; } |
| 4737 EOF | 4761 EOF |
| 4738 if { (eval echo configure:4739: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4762 if { (eval echo configure:4763: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 4739 rm -rf conftest* | 4763 rm -rf conftest* |
| 4740 eval "ac_cv_lib_$ac_lib_var=yes" | 4764 eval "ac_cv_lib_$ac_lib_var=yes" |
| 4741 else | 4765 else |
| 4742 echo "configure: failed program was:" >&5 | 4766 echo "configure: failed program was:" >&5 |
| 4743 cat conftest.$ac_ext >&5 | 4767 cat conftest.$ac_ext >&5 |
| 4757 | 4781 |
| 4758 fi | 4782 fi |
| 4759 | 4783 |
| 4760 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay. | 4784 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay. |
| 4761 echo $ac_n "checking for shmat""... $ac_c" 1>&6 | 4785 echo $ac_n "checking for shmat""... $ac_c" 1>&6 |
| 4762 echo "configure:4763: checking for shmat" >&5 | 4786 echo "configure:4787: checking for shmat" >&5 |
| 4763 | 4787 |
| 4764 cat > conftest.$ac_ext <<EOF | 4788 cat > conftest.$ac_ext <<EOF |
| 4765 #line 4766 "configure" | 4789 #line 4790 "configure" |
| 4766 #include "confdefs.h" | 4790 #include "confdefs.h" |
| 4767 /* System header to define __stub macros and hopefully few prototypes, | 4791 /* System header to define __stub macros and hopefully few prototypes, |
| 4768 which can conflict with char shmat(); below. */ | 4792 which can conflict with char shmat(); below. */ |
| 4769 #include <assert.h> | 4793 #include <assert.h> |
| 4770 /* Override any gcc2 internal prototype to avoid an error. */ | 4794 /* Override any gcc2 internal prototype to avoid an error. */ |
| 4783 shmat(); | 4807 shmat(); |
| 4784 #endif | 4808 #endif |
| 4785 | 4809 |
| 4786 ; return 0; } | 4810 ; return 0; } |
| 4787 EOF | 4811 EOF |
| 4788 if { (eval echo configure:4789: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4812 if { (eval echo configure:4813: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 4789 rm -rf conftest* | 4813 rm -rf conftest* |
| 4790 eval "ac_cv_func_shmat=yes" | 4814 eval "ac_cv_func_shmat=yes" |
| 4791 else | 4815 else |
| 4792 echo "configure: failed program was:" >&5 | 4816 echo "configure: failed program was:" >&5 |
| 4793 cat conftest.$ac_ext >&5 | 4817 cat conftest.$ac_ext >&5 |
| 4804 fi | 4828 fi |
| 4805 | 4829 |
| 4806 if test $ac_cv_func_shmat = no; then | 4830 if test $ac_cv_func_shmat = no; then |
| 4807 | 4831 |
| 4808 echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6 | 4832 echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6 |
| 4809 echo "configure:4810: checking for shmat in -lipc" >&5 | 4833 echo "configure:4834: checking for shmat in -lipc" >&5 |
| 4810 ac_lib_var=`echo ipc'_'shmat | sed 'y%./+-%__p_%'` | 4834 ac_lib_var=`echo ipc'_'shmat | sed 'y%./+-%__p_%'` |
| 4811 | 4835 |
| 4812 xe_check_libs=" -lipc " | 4836 xe_check_libs=" -lipc " |
| 4813 cat > conftest.$ac_ext <<EOF | 4837 cat > conftest.$ac_ext <<EOF |
| 4814 #line 4815 "configure" | 4838 #line 4839 "configure" |
| 4815 #include "confdefs.h" | 4839 #include "confdefs.h" |
| 4816 /* Override any gcc2 internal prototype to avoid an error. */ | 4840 /* Override any gcc2 internal prototype to avoid an error. */ |
| 4817 /* We use char because int might match the return type of a gcc2 | 4841 /* We use char because int might match the return type of a gcc2 |
| 4818 builtin and then its argument prototype would still apply. */ | 4842 builtin and then its argument prototype would still apply. */ |
| 4819 char shmat(); | 4843 char shmat(); |
| 4820 | 4844 |
| 4821 int main() { | 4845 int main() { |
| 4822 shmat() | 4846 shmat() |
| 4823 ; return 0; } | 4847 ; return 0; } |
| 4824 EOF | 4848 EOF |
| 4825 if { (eval echo configure:4826: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4849 if { (eval echo configure:4850: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 4826 rm -rf conftest* | 4850 rm -rf conftest* |
| 4827 eval "ac_cv_lib_$ac_lib_var=yes" | 4851 eval "ac_cv_lib_$ac_lib_var=yes" |
| 4828 else | 4852 else |
| 4829 echo "configure: failed program was:" >&5 | 4853 echo "configure: failed program was:" >&5 |
| 4830 cat conftest.$ac_ext >&5 | 4854 cat conftest.$ac_ext >&5 |
| 4854 # These have to be linked with before -lX11, unlike the other | 4878 # These have to be linked with before -lX11, unlike the other |
| 4855 # libraries we check for below, so use a different variable. | 4879 # libraries we check for below, so use a different variable. |
| 4856 # --interran@uluru.Stanford.EDU, kb@cs.umb.edu. | 4880 # --interran@uluru.Stanford.EDU, kb@cs.umb.edu. |
| 4857 | 4881 |
| 4858 echo $ac_n "checking for IceConnectionNumber in -lICE""... $ac_c" 1>&6 | 4882 echo $ac_n "checking for IceConnectionNumber in -lICE""... $ac_c" 1>&6 |
| 4859 echo "configure:4860: checking for IceConnectionNumber in -lICE" >&5 | 4883 echo "configure:4884: checking for IceConnectionNumber in -lICE" >&5 |
| 4860 ac_lib_var=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'` | 4884 ac_lib_var=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'` |
| 4861 | 4885 |
| 4862 xe_check_libs=" -lICE " | 4886 xe_check_libs=" -lICE " |
| 4863 cat > conftest.$ac_ext <<EOF | 4887 cat > conftest.$ac_ext <<EOF |
| 4864 #line 4865 "configure" | 4888 #line 4889 "configure" |
| 4865 #include "confdefs.h" | 4889 #include "confdefs.h" |
| 4866 /* Override any gcc2 internal prototype to avoid an error. */ | 4890 /* Override any gcc2 internal prototype to avoid an error. */ |
| 4867 /* We use char because int might match the return type of a gcc2 | 4891 /* We use char because int might match the return type of a gcc2 |
| 4868 builtin and then its argument prototype would still apply. */ | 4892 builtin and then its argument prototype would still apply. */ |
| 4869 char IceConnectionNumber(); | 4893 char IceConnectionNumber(); |
| 4870 | 4894 |
| 4871 int main() { | 4895 int main() { |
| 4872 IceConnectionNumber() | 4896 IceConnectionNumber() |
| 4873 ; return 0; } | 4897 ; return 0; } |
| 4874 EOF | 4898 EOF |
| 4875 if { (eval echo configure:4876: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4899 if { (eval echo configure:4900: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 4876 rm -rf conftest* | 4900 rm -rf conftest* |
| 4877 eval "ac_cv_lib_$ac_lib_var=yes" | 4901 eval "ac_cv_lib_$ac_lib_var=yes" |
| 4878 else | 4902 else |
| 4879 echo "configure: failed program was:" >&5 | 4903 echo "configure: failed program was:" >&5 |
| 4880 cat conftest.$ac_ext >&5 | 4904 cat conftest.$ac_ext >&5 |
| 5003 for var in x_libraries x_includes X_CFLAGS X_LIBS X_PRE_LIBS X_EXTRA_LIBS; do eval "echo \"$var = '\$$var'\""; done | 5027 for var in x_libraries x_includes X_CFLAGS X_LIBS X_PRE_LIBS X_EXTRA_LIBS; do eval "echo \"$var = '\$$var'\""; done |
| 5004 echo | 5028 echo |
| 5005 fi | 5029 fi |
| 5006 | 5030 |
| 5007 echo "checking for X defines extracted by xmkmf" 1>&6 | 5031 echo "checking for X defines extracted by xmkmf" 1>&6 |
| 5008 echo "configure:5009: checking for X defines extracted by xmkmf" >&5 | 5032 echo "configure:5033: checking for X defines extracted by xmkmf" >&5 |
| 5009 rm -fr conftestdir | 5033 rm -fr conftestdir |
| 5010 if mkdir conftestdir; then | 5034 if mkdir conftestdir; then |
| 5011 cd conftestdir | 5035 cd conftestdir |
| 5012 cat > Imakefile <<'EOF' | 5036 cat > Imakefile <<'EOF' |
| 5013 xetest: | 5037 xetest: |
| 5035 done | 5059 done |
| 5036 fi | 5060 fi |
| 5037 | 5061 |
| 5038 ac_safe=`echo "X11/Intrinsic.h" | sed 'y%./+-%__p_%'` | 5062 ac_safe=`echo "X11/Intrinsic.h" | sed 'y%./+-%__p_%'` |
| 5039 echo $ac_n "checking for X11/Intrinsic.h""... $ac_c" 1>&6 | 5063 echo $ac_n "checking for X11/Intrinsic.h""... $ac_c" 1>&6 |
| 5040 echo "configure:5041: checking for X11/Intrinsic.h" >&5 | 5064 echo "configure:5065: checking for X11/Intrinsic.h" >&5 |
| 5041 | 5065 |
| 5042 cat > conftest.$ac_ext <<EOF | 5066 cat > conftest.$ac_ext <<EOF |
| 5043 #line 5044 "configure" | 5067 #line 5068 "configure" |
| 5044 #include "confdefs.h" | 5068 #include "confdefs.h" |
| 5045 #include <X11/Intrinsic.h> | 5069 #include <X11/Intrinsic.h> |
| 5046 EOF | 5070 EOF |
| 5047 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 5071 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 5048 { (eval echo configure:5049: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 5072 { (eval echo configure:5073: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 5049 ac_err=`grep -v '^ *+' conftest.out` | 5073 ac_err=`grep -v '^ *+' conftest.out` |
| 5050 if test -z "$ac_err"; then | 5074 if test -z "$ac_err"; then |
| 5051 rm -rf conftest* | 5075 rm -rf conftest* |
| 5052 eval "ac_cv_header_$ac_safe=yes" | 5076 eval "ac_cv_header_$ac_safe=yes" |
| 5053 else | 5077 else |
| 5067 fi | 5091 fi |
| 5068 | 5092 |
| 5069 | 5093 |
| 5070 | 5094 |
| 5071 echo $ac_n "checking for XOpenDisplay in -lX11""... $ac_c" 1>&6 | 5095 echo $ac_n "checking for XOpenDisplay in -lX11""... $ac_c" 1>&6 |
| 5072 echo "configure:5073: checking for XOpenDisplay in -lX11" >&5 | 5096 echo "configure:5097: checking for XOpenDisplay in -lX11" >&5 |
| 5073 ac_lib_var=`echo X11'_'XOpenDisplay | sed 'y%./+-%__p_%'` | 5097 ac_lib_var=`echo X11'_'XOpenDisplay | sed 'y%./+-%__p_%'` |
| 5074 | 5098 |
| 5075 xe_check_libs=" -lX11 " | 5099 xe_check_libs=" -lX11 " |
| 5076 cat > conftest.$ac_ext <<EOF | 5100 cat > conftest.$ac_ext <<EOF |
| 5077 #line 5078 "configure" | 5101 #line 5102 "configure" |
| 5078 #include "confdefs.h" | 5102 #include "confdefs.h" |
| 5079 /* Override any gcc2 internal prototype to avoid an error. */ | 5103 /* Override any gcc2 internal prototype to avoid an error. */ |
| 5080 /* We use char because int might match the return type of a gcc2 | 5104 /* We use char because int might match the return type of a gcc2 |
| 5081 builtin and then its argument prototype would still apply. */ | 5105 builtin and then its argument prototype would still apply. */ |
| 5082 char XOpenDisplay(); | 5106 char XOpenDisplay(); |
| 5083 | 5107 |
| 5084 int main() { | 5108 int main() { |
| 5085 XOpenDisplay() | 5109 XOpenDisplay() |
| 5086 ; return 0; } | 5110 ; return 0; } |
| 5087 EOF | 5111 EOF |
| 5088 if { (eval echo configure:5089: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 5112 if { (eval echo configure:5113: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 5089 rm -rf conftest* | 5113 rm -rf conftest* |
| 5090 eval "ac_cv_lib_$ac_lib_var=yes" | 5114 eval "ac_cv_lib_$ac_lib_var=yes" |
| 5091 else | 5115 else |
| 5092 echo "configure: failed program was:" >&5 | 5116 echo "configure: failed program was:" >&5 |
| 5093 cat conftest.$ac_ext >&5 | 5117 cat conftest.$ac_ext >&5 |
| 5108 if test "$have_lib_x11" != "yes"; then | 5132 if test "$have_lib_x11" != "yes"; then |
| 5109 | 5133 |
| 5110 xe_msg_checking="for XGetFontProperty in -lX11" | 5134 xe_msg_checking="for XGetFontProperty in -lX11" |
| 5111 test -n "-b i486-linuxaout" && xe_msg_checking="$xe_msg_checking using extra libs -b i486-linuxaout" | 5135 test -n "-b i486-linuxaout" && xe_msg_checking="$xe_msg_checking using extra libs -b i486-linuxaout" |
| 5112 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 5136 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
| 5113 echo "configure:5114: checking "$xe_msg_checking"" >&5 | 5137 echo "configure:5138: checking "$xe_msg_checking"" >&5 |
| 5114 ac_lib_var=`echo X11'_'XGetFontProperty | sed 'y%./+-%__p_%'` | 5138 ac_lib_var=`echo X11'_'XGetFontProperty | sed 'y%./+-%__p_%'` |
| 5115 | 5139 |
| 5116 xe_check_libs=" -lX11 -b i486-linuxaout" | 5140 xe_check_libs=" -lX11 -b i486-linuxaout" |
| 5117 cat > conftest.$ac_ext <<EOF | 5141 cat > conftest.$ac_ext <<EOF |
| 5118 #line 5119 "configure" | 5142 #line 5143 "configure" |
| 5119 #include "confdefs.h" | 5143 #include "confdefs.h" |
| 5120 /* Override any gcc2 internal prototype to avoid an error. */ | 5144 /* Override any gcc2 internal prototype to avoid an error. */ |
| 5121 /* We use char because int might match the return type of a gcc2 | 5145 /* We use char because int might match the return type of a gcc2 |
| 5122 builtin and then its argument prototype would still apply. */ | 5146 builtin and then its argument prototype would still apply. */ |
| 5123 char XGetFontProperty(); | 5147 char XGetFontProperty(); |
| 5124 | 5148 |
| 5125 int main() { | 5149 int main() { |
| 5126 XGetFontProperty() | 5150 XGetFontProperty() |
| 5127 ; return 0; } | 5151 ; return 0; } |
| 5128 EOF | 5152 EOF |
| 5129 if { (eval echo configure:5130: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 5153 if { (eval echo configure:5154: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 5130 rm -rf conftest* | 5154 rm -rf conftest* |
| 5131 eval "ac_cv_lib_$ac_lib_var=yes" | 5155 eval "ac_cv_lib_$ac_lib_var=yes" |
| 5132 else | 5156 else |
| 5133 echo "configure: failed program was:" >&5 | 5157 echo "configure: failed program was:" >&5 |
| 5134 cat conftest.$ac_ext >&5 | 5158 cat conftest.$ac_ext >&5 |
| 5151 libs_x="-lX11" | 5175 libs_x="-lX11" |
| 5152 test "$extra_verbose" = "yes" && echo " Setting libs_x to \"-lX11\"" | 5176 test "$extra_verbose" = "yes" && echo " Setting libs_x to \"-lX11\"" |
| 5153 | 5177 |
| 5154 | 5178 |
| 5155 echo $ac_n "checking for XShapeSelectInput in -lXext""... $ac_c" 1>&6 | 5179 echo $ac_n "checking for XShapeSelectInput in -lXext""... $ac_c" 1>&6 |
| 5156 echo "configure:5157: checking for XShapeSelectInput in -lXext" >&5 | 5180 echo "configure:5181: checking for XShapeSelectInput in -lXext" >&5 |
| 5157 ac_lib_var=`echo Xext'_'XShapeSelectInput | sed 'y%./+-%__p_%'` | 5181 ac_lib_var=`echo Xext'_'XShapeSelectInput | sed 'y%./+-%__p_%'` |
| 5158 | 5182 |
| 5159 xe_check_libs=" -lXext " | 5183 xe_check_libs=" -lXext " |
| 5160 cat > conftest.$ac_ext <<EOF | 5184 cat > conftest.$ac_ext <<EOF |
| 5161 #line 5162 "configure" | 5185 #line 5186 "configure" |
| 5162 #include "confdefs.h" | 5186 #include "confdefs.h" |
| 5163 /* Override any gcc2 internal prototype to avoid an error. */ | 5187 /* Override any gcc2 internal prototype to avoid an error. */ |
| 5164 /* We use char because int might match the return type of a gcc2 | 5188 /* We use char because int might match the return type of a gcc2 |
| 5165 builtin and then its argument prototype would still apply. */ | 5189 builtin and then its argument prototype would still apply. */ |
| 5166 char XShapeSelectInput(); | 5190 char XShapeSelectInput(); |
| 5167 | 5191 |
| 5168 int main() { | 5192 int main() { |
| 5169 XShapeSelectInput() | 5193 XShapeSelectInput() |
| 5170 ; return 0; } | 5194 ; return 0; } |
| 5171 EOF | 5195 EOF |
| 5172 if { (eval echo configure:5173: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 5196 if { (eval echo configure:5197: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 5173 rm -rf conftest* | 5197 rm -rf conftest* |
| 5174 eval "ac_cv_lib_$ac_lib_var=yes" | 5198 eval "ac_cv_lib_$ac_lib_var=yes" |
| 5175 else | 5199 else |
| 5176 echo "configure: failed program was:" >&5 | 5200 echo "configure: failed program was:" >&5 |
| 5177 cat conftest.$ac_ext >&5 | 5201 cat conftest.$ac_ext >&5 |
| 5190 | 5214 |
| 5191 | 5215 |
| 5192 | 5216 |
| 5193 | 5217 |
| 5194 echo $ac_n "checking for XtOpenDisplay in -lXt""... $ac_c" 1>&6 | 5218 echo $ac_n "checking for XtOpenDisplay in -lXt""... $ac_c" 1>&6 |
| 5195 echo "configure:5196: checking for XtOpenDisplay in -lXt" >&5 | 5219 echo "configure:5220: checking for XtOpenDisplay in -lXt" >&5 |
| 5196 ac_lib_var=`echo Xt'_'XtOpenDisplay | sed 'y%./+-%__p_%'` | 5220 ac_lib_var=`echo Xt'_'XtOpenDisplay | sed 'y%./+-%__p_%'` |
| 5197 | 5221 |
| 5198 xe_check_libs=" -lXt " | 5222 xe_check_libs=" -lXt " |
| 5199 cat > conftest.$ac_ext <<EOF | 5223 cat > conftest.$ac_ext <<EOF |
| 5200 #line 5201 "configure" | 5224 #line 5225 "configure" |
| 5201 #include "confdefs.h" | 5225 #include "confdefs.h" |
| 5202 /* Override any gcc2 internal prototype to avoid an error. */ | 5226 /* Override any gcc2 internal prototype to avoid an error. */ |
| 5203 /* We use char because int might match the return type of a gcc2 | 5227 /* We use char because int might match the return type of a gcc2 |
| 5204 builtin and then its argument prototype would still apply. */ | 5228 builtin and then its argument prototype would still apply. */ |
| 5205 char XtOpenDisplay(); | 5229 char XtOpenDisplay(); |
| 5206 | 5230 |
| 5207 int main() { | 5231 int main() { |
| 5208 XtOpenDisplay() | 5232 XtOpenDisplay() |
| 5209 ; return 0; } | 5233 ; return 0; } |
| 5210 EOF | 5234 EOF |
| 5211 if { (eval echo configure:5212: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 5235 if { (eval echo configure:5236: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 5212 rm -rf conftest* | 5236 rm -rf conftest* |
| 5213 eval "ac_cv_lib_$ac_lib_var=yes" | 5237 eval "ac_cv_lib_$ac_lib_var=yes" |
| 5214 else | 5238 else |
| 5215 echo "configure: failed program was:" >&5 | 5239 echo "configure: failed program was:" >&5 |
| 5216 cat conftest.$ac_ext >&5 | 5240 cat conftest.$ac_ext >&5 |
| 5229 fi | 5253 fi |
| 5230 | 5254 |
| 5231 | 5255 |
| 5232 | 5256 |
| 5233 echo $ac_n "checking the version of X11 being used""... $ac_c" 1>&6 | 5257 echo $ac_n "checking the version of X11 being used""... $ac_c" 1>&6 |
| 5234 echo "configure:5235: checking the version of X11 being used" >&5 | 5258 echo "configure:5259: checking the version of X11 being used" >&5 |
| 5235 cat > conftest.$ac_ext <<EOF | 5259 cat > conftest.$ac_ext <<EOF |
| 5236 #line 5237 "configure" | 5260 #line 5261 "configure" |
| 5237 #include "confdefs.h" | 5261 #include "confdefs.h" |
| 5238 #include <X11/Intrinsic.h> | 5262 #include <X11/Intrinsic.h> |
| 5239 main(int c, char* v[]) { return c>1 ? XlibSpecificationRelease : 0; } | 5263 main(int c, char* v[]) { return c>1 ? XlibSpecificationRelease : 0; } |
| 5240 EOF | 5264 EOF |
| 5241 if { (eval echo configure:5242: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 | 5265 if { (eval echo configure:5266: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 |
| 5242 then | 5266 then |
| 5243 ./conftest foobar; x11_release=$? | 5267 ./conftest foobar; x11_release=$? |
| 5244 else | 5268 else |
| 5245 echo "configure: failed program was:" >&5 | 5269 echo "configure: failed program was:" >&5 |
| 5246 cat conftest.$ac_ext >&5 | 5270 cat conftest.$ac_ext >&5 |
| 5260 | 5284 |
| 5261 for ac_hdr in X11/Xlocale.h | 5285 for ac_hdr in X11/Xlocale.h |
| 5262 do | 5286 do |
| 5263 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 5287 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
| 5264 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 5288 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
| 5265 echo "configure:5266: checking for $ac_hdr" >&5 | 5289 echo "configure:5290: checking for $ac_hdr" >&5 |
| 5266 | 5290 |
| 5267 cat > conftest.$ac_ext <<EOF | 5291 cat > conftest.$ac_ext <<EOF |
| 5268 #line 5269 "configure" | 5292 #line 5293 "configure" |
| 5269 #include "confdefs.h" | 5293 #include "confdefs.h" |
| 5270 #include <$ac_hdr> | 5294 #include <$ac_hdr> |
| 5271 EOF | 5295 EOF |
| 5272 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 5296 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 5273 { (eval echo configure:5274: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 5297 { (eval echo configure:5298: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 5274 ac_err=`grep -v '^ *+' conftest.out` | 5298 ac_err=`grep -v '^ *+' conftest.out` |
| 5275 if test -z "$ac_err"; then | 5299 if test -z "$ac_err"; then |
| 5276 rm -rf conftest* | 5300 rm -rf conftest* |
| 5277 eval "ac_cv_header_$ac_safe=yes" | 5301 eval "ac_cv_header_$ac_safe=yes" |
| 5278 else | 5302 else |
| 5299 fi | 5323 fi |
| 5300 done | 5324 done |
| 5301 | 5325 |
| 5302 | 5326 |
| 5303 echo $ac_n "checking for XFree86""... $ac_c" 1>&6 | 5327 echo $ac_n "checking for XFree86""... $ac_c" 1>&6 |
| 5304 echo "configure:5305: checking for XFree86" >&5 | 5328 echo "configure:5329: checking for XFree86" >&5 |
| 5305 if test -d "/usr/X386/include" -o \ | 5329 if test -d "/usr/X386/include" -o \ |
| 5306 -f "/etc/XF86Config" -o \ | 5330 -f "/etc/XF86Config" -o \ |
| 5307 -f "/etc/X11/XF86Config" -o \ | 5331 -f "/etc/X11/XF86Config" -o \ |
| 5308 -f "/usr/X11R6/lib/X11/XF86Config"; then | 5332 -f "/usr/X11R6/lib/X11/XF86Config"; then |
| 5309 echo "$ac_t""yes" 1>&6 | 5333 echo "$ac_t""yes" 1>&6 |
| 5319 echo "$ac_t""no" 1>&6 | 5343 echo "$ac_t""no" 1>&6 |
| 5320 fi | 5344 fi |
| 5321 | 5345 |
| 5322 test -z "$with_xmu" && { | 5346 test -z "$with_xmu" && { |
| 5323 echo $ac_n "checking for XmuReadBitmapDataFromFile in -lXmu""... $ac_c" 1>&6 | 5347 echo $ac_n "checking for XmuReadBitmapDataFromFile in -lXmu""... $ac_c" 1>&6 |
| 5324 echo "configure:5325: checking for XmuReadBitmapDataFromFile in -lXmu" >&5 | 5348 echo "configure:5349: checking for XmuReadBitmapDataFromFile in -lXmu" >&5 |
| 5325 ac_lib_var=`echo Xmu'_'XmuReadBitmapDataFromFile | sed 'y%./+-%__p_%'` | 5349 ac_lib_var=`echo Xmu'_'XmuReadBitmapDataFromFile | sed 'y%./+-%__p_%'` |
| 5326 | 5350 |
| 5327 xe_check_libs=" -lXmu " | 5351 xe_check_libs=" -lXmu " |
| 5328 cat > conftest.$ac_ext <<EOF | 5352 cat > conftest.$ac_ext <<EOF |
| 5329 #line 5330 "configure" | 5353 #line 5354 "configure" |
| 5330 #include "confdefs.h" | 5354 #include "confdefs.h" |
| 5331 /* Override any gcc2 internal prototype to avoid an error. */ | 5355 /* Override any gcc2 internal prototype to avoid an error. */ |
| 5332 /* We use char because int might match the return type of a gcc2 | 5356 /* We use char because int might match the return type of a gcc2 |
| 5333 builtin and then its argument prototype would still apply. */ | 5357 builtin and then its argument prototype would still apply. */ |
| 5334 char XmuReadBitmapDataFromFile(); | 5358 char XmuReadBitmapDataFromFile(); |
| 5335 | 5359 |
| 5336 int main() { | 5360 int main() { |
| 5337 XmuReadBitmapDataFromFile() | 5361 XmuReadBitmapDataFromFile() |
| 5338 ; return 0; } | 5362 ; return 0; } |
| 5339 EOF | 5363 EOF |
| 5340 if { (eval echo configure:5341: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 5364 if { (eval echo configure:5365: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 5341 rm -rf conftest* | 5365 rm -rf conftest* |
| 5342 eval "ac_cv_lib_$ac_lib_var=yes" | 5366 eval "ac_cv_lib_$ac_lib_var=yes" |
| 5343 else | 5367 else |
| 5344 echo "configure: failed program was:" >&5 | 5368 echo "configure: failed program was:" >&5 |
| 5345 cat conftest.$ac_ext >&5 | 5369 cat conftest.$ac_ext >&5 |
| 5365 else libs_x="-lXmu $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXmu\" to \$libs_x"; fi | 5389 else libs_x="-lXmu $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXmu\" to \$libs_x"; fi |
| 5366 fi | 5390 fi |
| 5367 | 5391 |
| 5368 | 5392 |
| 5369 echo $ac_n "checking for main in -lXbsd""... $ac_c" 1>&6 | 5393 echo $ac_n "checking for main in -lXbsd""... $ac_c" 1>&6 |
| 5370 echo "configure:5371: checking for main in -lXbsd" >&5 | 5394 echo "configure:5395: checking for main in -lXbsd" >&5 |
| 5371 ac_lib_var=`echo Xbsd'_'main | sed 'y%./+-%__p_%'` | 5395 ac_lib_var=`echo Xbsd'_'main | sed 'y%./+-%__p_%'` |
| 5372 | 5396 |
| 5373 xe_check_libs=" -lXbsd " | 5397 xe_check_libs=" -lXbsd " |
| 5374 cat > conftest.$ac_ext <<EOF | 5398 cat > conftest.$ac_ext <<EOF |
| 5375 #line 5376 "configure" | 5399 #line 5400 "configure" |
| 5376 #include "confdefs.h" | 5400 #include "confdefs.h" |
| 5377 | 5401 |
| 5378 int main() { | 5402 int main() { |
| 5379 main() | 5403 main() |
| 5380 ; return 0; } | 5404 ; return 0; } |
| 5381 EOF | 5405 EOF |
| 5382 if { (eval echo configure:5383: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 5406 if { (eval echo configure:5407: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 5383 rm -rf conftest* | 5407 rm -rf conftest* |
| 5384 eval "ac_cv_lib_$ac_lib_var=yes" | 5408 eval "ac_cv_lib_$ac_lib_var=yes" |
| 5385 else | 5409 else |
| 5386 echo "configure: failed program was:" >&5 | 5410 echo "configure: failed program was:" >&5 |
| 5387 cat conftest.$ac_ext >&5 | 5411 cat conftest.$ac_ext >&5 |
| 5400 | 5424 |
| 5401 | 5425 |
| 5402 | 5426 |
| 5403 | 5427 |
| 5404 echo $ac_n "checking for XawScrollbarSetThumb in -lXaw""... $ac_c" 1>&6 | 5428 echo $ac_n "checking for XawScrollbarSetThumb in -lXaw""... $ac_c" 1>&6 |
| 5405 echo "configure:5406: checking for XawScrollbarSetThumb in -lXaw" >&5 | 5429 echo "configure:5430: checking for XawScrollbarSetThumb in -lXaw" >&5 |
| 5406 ac_lib_var=`echo Xaw'_'XawScrollbarSetThumb | sed 'y%./+-%__p_%'` | 5430 ac_lib_var=`echo Xaw'_'XawScrollbarSetThumb | sed 'y%./+-%__p_%'` |
| 5407 | 5431 |
| 5408 xe_check_libs=" -lXaw " | 5432 xe_check_libs=" -lXaw " |
| 5409 cat > conftest.$ac_ext <<EOF | 5433 cat > conftest.$ac_ext <<EOF |
| 5410 #line 5411 "configure" | 5434 #line 5435 "configure" |
| 5411 #include "confdefs.h" | 5435 #include "confdefs.h" |
| 5412 /* Override any gcc2 internal prototype to avoid an error. */ | 5436 /* Override any gcc2 internal prototype to avoid an error. */ |
| 5413 /* We use char because int might match the return type of a gcc2 | 5437 /* We use char because int might match the return type of a gcc2 |
| 5414 builtin and then its argument prototype would still apply. */ | 5438 builtin and then its argument prototype would still apply. */ |
| 5415 char XawScrollbarSetThumb(); | 5439 char XawScrollbarSetThumb(); |
| 5416 | 5440 |
| 5417 int main() { | 5441 int main() { |
| 5418 XawScrollbarSetThumb() | 5442 XawScrollbarSetThumb() |
| 5419 ; return 0; } | 5443 ; return 0; } |
| 5420 EOF | 5444 EOF |
| 5421 if { (eval echo configure:5422: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 5445 if { (eval echo configure:5446: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 5422 rm -rf conftest* | 5446 rm -rf conftest* |
| 5423 eval "ac_cv_lib_$ac_lib_var=yes" | 5447 eval "ac_cv_lib_$ac_lib_var=yes" |
| 5424 else | 5448 else |
| 5425 echo "configure: failed program was:" >&5 | 5449 echo "configure: failed program was:" >&5 |
| 5426 cat conftest.$ac_ext >&5 | 5450 cat conftest.$ac_ext >&5 |
| 5440 | 5464 |
| 5441 | 5465 |
| 5442 if test "$have_xaw" = "yes"; then | 5466 if test "$have_xaw" = "yes"; then |
| 5443 ac_safe=`echo "X11/Xaw/Reports.h" | sed 'y%./+-%__p_%'` | 5467 ac_safe=`echo "X11/Xaw/Reports.h" | sed 'y%./+-%__p_%'` |
| 5444 echo $ac_n "checking for X11/Xaw/Reports.h""... $ac_c" 1>&6 | 5468 echo $ac_n "checking for X11/Xaw/Reports.h""... $ac_c" 1>&6 |
| 5445 echo "configure:5446: checking for X11/Xaw/Reports.h" >&5 | 5469 echo "configure:5470: checking for X11/Xaw/Reports.h" >&5 |
| 5446 | 5470 |
| 5447 cat > conftest.$ac_ext <<EOF | 5471 cat > conftest.$ac_ext <<EOF |
| 5448 #line 5449 "configure" | 5472 #line 5473 "configure" |
| 5449 #include "confdefs.h" | 5473 #include "confdefs.h" |
| 5450 #include <X11/Xaw/Reports.h> | 5474 #include <X11/Xaw/Reports.h> |
| 5451 EOF | 5475 EOF |
| 5452 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 5476 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 5453 { (eval echo configure:5454: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 5477 { (eval echo configure:5478: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 5454 ac_err=`grep -v '^ *+' conftest.out` | 5478 ac_err=`grep -v '^ *+' conftest.out` |
| 5455 if test -z "$ac_err"; then | 5479 if test -z "$ac_err"; then |
| 5456 rm -rf conftest* | 5480 rm -rf conftest* |
| 5457 eval "ac_cv_header_$ac_safe=yes" | 5481 eval "ac_cv_header_$ac_safe=yes" |
| 5458 else | 5482 else |
| 5479 | 5503 |
| 5480 if test "$window_system" = "none" ; then | 5504 if test "$window_system" = "none" ; then |
| 5481 if test "$with_tty" = "no" ; then | 5505 if test "$with_tty" = "no" ; then |
| 5482 { echo "configure: error: No window system support and no TTY support - Unable to proceed." 1>&2; exit 1; } | 5506 { echo "configure: error: No window system support and no TTY support - Unable to proceed." 1>&2; exit 1; } |
| 5483 fi | 5507 fi |
| 5484 for feature in tooltalk cde offix \ | 5508 for feature in tooltalk cde offix wm \ |
| 5485 menubars scrollbars toolbars dialogs xim xmu \ | 5509 menubars scrollbars toolbars dialogs xim xmu \ |
| 5486 tiff png jpeg gif compface xpm | 5510 tiff png jpeg gif compface xpm |
| 5487 do | 5511 do |
| 5488 if eval "test -n \"\$with_${feature}\" -a \"\$with_${feature}\" != no" ; then | 5512 if eval "test -n \"\$with_${feature}\" -a \"\$with_${feature}\" != no" ; then |
| 5489 echo "configure: warning: --with-$feature ignored: Not valid without X support" 1>&2 | 5513 echo "configure: warning: --with-$feature ignored: Not valid without X support" 1>&2 |
| 5504 case "$x_libraries" in *X11R4* ) | 5528 case "$x_libraries" in *X11R4* ) |
| 5505 test "$opsys" = "hpux9" && opsysfile="s/hpux9-x11r4.h" | 5529 test "$opsys" = "hpux9" && opsysfile="s/hpux9-x11r4.h" |
| 5506 test "$opsys" = "hpux9-shr" && opsysfile="s/hpux9shxr4.h" | 5530 test "$opsys" = "hpux9-shr" && opsysfile="s/hpux9shxr4.h" |
| 5507 esac | 5531 esac |
| 5508 | 5532 |
| 5533 echo "checking for WindowMaker option" 1>&6 | |
| 5534 echo "configure:5535: checking for WindowMaker option" >&5; | |
| 5535 if test "$with_wm" = "yes"; then | |
| 5536 { test "$extra_verbose" = "yes" && cat << \EOF | |
| 5537 Defining HAVE_WINDOWMAKER | |
| 5538 EOF | |
| 5539 cat >> confdefs.h <<\EOF | |
| 5540 #define HAVE_WINDOWMAKER 1 | |
| 5541 EOF | |
| 5542 } | |
| 5543 | |
| 5544 fi | |
| 5545 | |
| 5509 test -z "$with_xauth" && test "$window_system" = "none" && with_xauth=no | 5546 test -z "$with_xauth" && test "$window_system" = "none" && with_xauth=no |
| 5510 test -z "$with_xauth" && { ac_safe=`echo "X11/Xauth.h" | sed 'y%./+-%__p_%'` | 5547 test -z "$with_xauth" && { ac_safe=`echo "X11/Xauth.h" | sed 'y%./+-%__p_%'` |
| 5511 echo $ac_n "checking for X11/Xauth.h""... $ac_c" 1>&6 | 5548 echo $ac_n "checking for X11/Xauth.h""... $ac_c" 1>&6 |
| 5512 echo "configure:5513: checking for X11/Xauth.h" >&5 | 5549 echo "configure:5550: checking for X11/Xauth.h" >&5 |
| 5513 | 5550 |
| 5514 cat > conftest.$ac_ext <<EOF | 5551 cat > conftest.$ac_ext <<EOF |
| 5515 #line 5516 "configure" | 5552 #line 5553 "configure" |
| 5516 #include "confdefs.h" | 5553 #include "confdefs.h" |
| 5517 #include <X11/Xauth.h> | 5554 #include <X11/Xauth.h> |
| 5518 EOF | 5555 EOF |
| 5519 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 5556 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 5520 { (eval echo configure:5521: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 5557 { (eval echo configure:5558: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 5521 ac_err=`grep -v '^ *+' conftest.out` | 5558 ac_err=`grep -v '^ *+' conftest.out` |
| 5522 if test -z "$ac_err"; then | 5559 if test -z "$ac_err"; then |
| 5523 rm -rf conftest* | 5560 rm -rf conftest* |
| 5524 eval "ac_cv_header_$ac_safe=yes" | 5561 eval "ac_cv_header_$ac_safe=yes" |
| 5525 else | 5562 else |
| 5538 with_xauth=no | 5575 with_xauth=no |
| 5539 fi | 5576 fi |
| 5540 } | 5577 } |
| 5541 test -z "$with_xauth" && { | 5578 test -z "$with_xauth" && { |
| 5542 echo $ac_n "checking for XauGetAuthByAddr in -lXau""... $ac_c" 1>&6 | 5579 echo $ac_n "checking for XauGetAuthByAddr in -lXau""... $ac_c" 1>&6 |
| 5543 echo "configure:5544: checking for XauGetAuthByAddr in -lXau" >&5 | 5580 echo "configure:5581: checking for XauGetAuthByAddr in -lXau" >&5 |
| 5544 ac_lib_var=`echo Xau'_'XauGetAuthByAddr | sed 'y%./+-%__p_%'` | 5581 ac_lib_var=`echo Xau'_'XauGetAuthByAddr | sed 'y%./+-%__p_%'` |
| 5545 | 5582 |
| 5546 xe_check_libs=" -lXau " | 5583 xe_check_libs=" -lXau " |
| 5547 cat > conftest.$ac_ext <<EOF | 5584 cat > conftest.$ac_ext <<EOF |
| 5548 #line 5549 "configure" | 5585 #line 5586 "configure" |
| 5549 #include "confdefs.h" | 5586 #include "confdefs.h" |
| 5550 /* Override any gcc2 internal prototype to avoid an error. */ | 5587 /* Override any gcc2 internal prototype to avoid an error. */ |
| 5551 /* We use char because int might match the return type of a gcc2 | 5588 /* We use char because int might match the return type of a gcc2 |
| 5552 builtin and then its argument prototype would still apply. */ | 5589 builtin and then its argument prototype would still apply. */ |
| 5553 char XauGetAuthByAddr(); | 5590 char XauGetAuthByAddr(); |
| 5554 | 5591 |
| 5555 int main() { | 5592 int main() { |
| 5556 XauGetAuthByAddr() | 5593 XauGetAuthByAddr() |
| 5557 ; return 0; } | 5594 ; return 0; } |
| 5558 EOF | 5595 EOF |
| 5559 if { (eval echo configure:5560: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 5596 if { (eval echo configure:5597: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 5560 rm -rf conftest* | 5597 rm -rf conftest* |
| 5561 eval "ac_cv_lib_$ac_lib_var=yes" | 5598 eval "ac_cv_lib_$ac_lib_var=yes" |
| 5562 else | 5599 else |
| 5563 echo "configure: failed program was:" >&5 | 5600 echo "configure: failed program was:" >&5 |
| 5564 cat conftest.$ac_ext >&5 | 5601 cat conftest.$ac_ext >&5 |
| 5595 fi | 5632 fi |
| 5596 | 5633 |
| 5597 | 5634 |
| 5598 test -z "$with_offix" && { ac_safe=`echo "OffiX/DragAndDrop.h" | sed 'y%./+-%__p_%'` | 5635 test -z "$with_offix" && { ac_safe=`echo "OffiX/DragAndDrop.h" | sed 'y%./+-%__p_%'` |
| 5599 echo $ac_n "checking for OffiX/DragAndDrop.h""... $ac_c" 1>&6 | 5636 echo $ac_n "checking for OffiX/DragAndDrop.h""... $ac_c" 1>&6 |
| 5600 echo "configure:5601: checking for OffiX/DragAndDrop.h" >&5 | 5637 echo "configure:5638: checking for OffiX/DragAndDrop.h" >&5 |
| 5601 | 5638 |
| 5602 cat > conftest.$ac_ext <<EOF | 5639 cat > conftest.$ac_ext <<EOF |
| 5603 #line 5604 "configure" | 5640 #line 5641 "configure" |
| 5604 #include "confdefs.h" | 5641 #include "confdefs.h" |
| 5605 #include <OffiX/DragAndDrop.h> | 5642 #include <OffiX/DragAndDrop.h> |
| 5606 EOF | 5643 EOF |
| 5607 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 5644 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 5608 { (eval echo configure:5609: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 5645 { (eval echo configure:5646: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 5609 ac_err=`grep -v '^ *+' conftest.out` | 5646 ac_err=`grep -v '^ *+' conftest.out` |
| 5610 if test -z "$ac_err"; then | 5647 if test -z "$ac_err"; then |
| 5611 rm -rf conftest* | 5648 rm -rf conftest* |
| 5612 eval "ac_cv_header_$ac_safe=yes" | 5649 eval "ac_cv_header_$ac_safe=yes" |
| 5613 else | 5650 else |
| 5626 with_offix=no | 5663 with_offix=no |
| 5627 fi | 5664 fi |
| 5628 } | 5665 } |
| 5629 test -z "$with_offix" && { | 5666 test -z "$with_offix" && { |
| 5630 echo $ac_n "checking for DndInitialize in -lDnd""... $ac_c" 1>&6 | 5667 echo $ac_n "checking for DndInitialize in -lDnd""... $ac_c" 1>&6 |
| 5631 echo "configure:5632: checking for DndInitialize in -lDnd" >&5 | 5668 echo "configure:5669: checking for DndInitialize in -lDnd" >&5 |
| 5632 ac_lib_var=`echo Dnd'_'DndInitialize | sed 'y%./+-%__p_%'` | 5669 ac_lib_var=`echo Dnd'_'DndInitialize | sed 'y%./+-%__p_%'` |
| 5633 | 5670 |
| 5634 xe_check_libs=" -lDnd " | 5671 xe_check_libs=" -lDnd " |
| 5635 cat > conftest.$ac_ext <<EOF | 5672 cat > conftest.$ac_ext <<EOF |
| 5636 #line 5637 "configure" | 5673 #line 5674 "configure" |
| 5637 #include "confdefs.h" | 5674 #include "confdefs.h" |
| 5638 /* Override any gcc2 internal prototype to avoid an error. */ | 5675 /* Override any gcc2 internal prototype to avoid an error. */ |
| 5639 /* We use char because int might match the return type of a gcc2 | 5676 /* We use char because int might match the return type of a gcc2 |
| 5640 builtin and then its argument prototype would still apply. */ | 5677 builtin and then its argument prototype would still apply. */ |
| 5641 char DndInitialize(); | 5678 char DndInitialize(); |
| 5642 | 5679 |
| 5643 int main() { | 5680 int main() { |
| 5644 DndInitialize() | 5681 DndInitialize() |
| 5645 ; return 0; } | 5682 ; return 0; } |
| 5646 EOF | 5683 EOF |
| 5647 if { (eval echo configure:5648: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 5684 if { (eval echo configure:5685: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 5648 rm -rf conftest* | 5685 rm -rf conftest* |
| 5649 eval "ac_cv_lib_$ac_lib_var=yes" | 5686 eval "ac_cv_lib_$ac_lib_var=yes" |
| 5650 else | 5687 else |
| 5651 echo "configure: failed program was:" >&5 | 5688 echo "configure: failed program was:" >&5 |
| 5652 cat conftest.$ac_ext >&5 | 5689 cat conftest.$ac_ext >&5 |
| 5681 test "$with_cde" = "yes" && with_tooltalk=yes # CDE requires tooltalk | 5718 test "$with_cde" = "yes" && with_tooltalk=yes # CDE requires tooltalk |
| 5682 if test "$with_tooltalk" != "no" ; then | 5719 if test "$with_tooltalk" != "no" ; then |
| 5683 for dir in "" "Tt/" "desktop/" ; do | 5720 for dir in "" "Tt/" "desktop/" ; do |
| 5684 ac_safe=`echo "${dir}tt_c.h" | sed 'y%./+-%__p_%'` | 5721 ac_safe=`echo "${dir}tt_c.h" | sed 'y%./+-%__p_%'` |
| 5685 echo $ac_n "checking for ${dir}tt_c.h""... $ac_c" 1>&6 | 5722 echo $ac_n "checking for ${dir}tt_c.h""... $ac_c" 1>&6 |
| 5686 echo "configure:5687: checking for ${dir}tt_c.h" >&5 | 5723 echo "configure:5724: checking for ${dir}tt_c.h" >&5 |
| 5687 | 5724 |
| 5688 cat > conftest.$ac_ext <<EOF | 5725 cat > conftest.$ac_ext <<EOF |
| 5689 #line 5690 "configure" | 5726 #line 5727 "configure" |
| 5690 #include "confdefs.h" | 5727 #include "confdefs.h" |
| 5691 #include <${dir}tt_c.h> | 5728 #include <${dir}tt_c.h> |
| 5692 EOF | 5729 EOF |
| 5693 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 5730 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 5694 { (eval echo configure:5695: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 5731 { (eval echo configure:5732: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 5695 ac_err=`grep -v '^ *+' conftest.out` | 5732 ac_err=`grep -v '^ *+' conftest.out` |
| 5696 if test -z "$ac_err"; then | 5733 if test -z "$ac_err"; then |
| 5697 rm -rf conftest* | 5734 rm -rf conftest* |
| 5698 eval "ac_cv_header_$ac_safe=yes" | 5735 eval "ac_cv_header_$ac_safe=yes" |
| 5699 else | 5736 else |
| 5718 for extra_libs in "" "-lI18N -lce" "-lcxx"; do | 5755 for extra_libs in "" "-lI18N -lce" "-lcxx"; do |
| 5719 | 5756 |
| 5720 xe_msg_checking="for tt_message_create in -ltt" | 5757 xe_msg_checking="for tt_message_create in -ltt" |
| 5721 test -n "$extra_libs" && xe_msg_checking="$xe_msg_checking using extra libs $extra_libs" | 5758 test -n "$extra_libs" && xe_msg_checking="$xe_msg_checking using extra libs $extra_libs" |
| 5722 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 5759 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
| 5723 echo "configure:5724: checking "$xe_msg_checking"" >&5 | 5760 echo "configure:5761: checking "$xe_msg_checking"" >&5 |
| 5724 ac_lib_var=`echo tt'_'tt_message_create | sed 'y%./+-%__p_%'` | 5761 ac_lib_var=`echo tt'_'tt_message_create | sed 'y%./+-%__p_%'` |
| 5725 | 5762 |
| 5726 xe_check_libs=" -ltt $extra_libs" | 5763 xe_check_libs=" -ltt $extra_libs" |
| 5727 cat > conftest.$ac_ext <<EOF | 5764 cat > conftest.$ac_ext <<EOF |
| 5728 #line 5729 "configure" | 5765 #line 5766 "configure" |
| 5729 #include "confdefs.h" | 5766 #include "confdefs.h" |
| 5730 /* Override any gcc2 internal prototype to avoid an error. */ | 5767 /* Override any gcc2 internal prototype to avoid an error. */ |
| 5731 /* We use char because int might match the return type of a gcc2 | 5768 /* We use char because int might match the return type of a gcc2 |
| 5732 builtin and then its argument prototype would still apply. */ | 5769 builtin and then its argument prototype would still apply. */ |
| 5733 char tt_message_create(); | 5770 char tt_message_create(); |
| 5734 | 5771 |
| 5735 int main() { | 5772 int main() { |
| 5736 tt_message_create() | 5773 tt_message_create() |
| 5737 ; return 0; } | 5774 ; return 0; } |
| 5738 EOF | 5775 EOF |
| 5739 if { (eval echo configure:5740: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 5776 if { (eval echo configure:5777: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 5740 rm -rf conftest* | 5777 rm -rf conftest* |
| 5741 eval "ac_cv_lib_$ac_lib_var=yes" | 5778 eval "ac_cv_lib_$ac_lib_var=yes" |
| 5742 else | 5779 else |
| 5743 echo "configure: failed program was:" >&5 | 5780 echo "configure: failed program was:" >&5 |
| 5744 cat conftest.$ac_ext >&5 | 5781 cat conftest.$ac_ext >&5 |
| 5783 fi | 5820 fi |
| 5784 fi | 5821 fi |
| 5785 | 5822 |
| 5786 test -z "$with_cde" && { ac_safe=`echo "Dt/Dt.h" | sed 'y%./+-%__p_%'` | 5823 test -z "$with_cde" && { ac_safe=`echo "Dt/Dt.h" | sed 'y%./+-%__p_%'` |
| 5787 echo $ac_n "checking for Dt/Dt.h""... $ac_c" 1>&6 | 5824 echo $ac_n "checking for Dt/Dt.h""... $ac_c" 1>&6 |
| 5788 echo "configure:5789: checking for Dt/Dt.h" >&5 | 5825 echo "configure:5826: checking for Dt/Dt.h" >&5 |
| 5789 | 5826 |
| 5790 cat > conftest.$ac_ext <<EOF | 5827 cat > conftest.$ac_ext <<EOF |
| 5791 #line 5792 "configure" | 5828 #line 5829 "configure" |
| 5792 #include "confdefs.h" | 5829 #include "confdefs.h" |
| 5793 #include <Dt/Dt.h> | 5830 #include <Dt/Dt.h> |
| 5794 EOF | 5831 EOF |
| 5795 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 5832 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 5796 { (eval echo configure:5797: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 5833 { (eval echo configure:5834: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 5797 ac_err=`grep -v '^ *+' conftest.out` | 5834 ac_err=`grep -v '^ *+' conftest.out` |
| 5798 if test -z "$ac_err"; then | 5835 if test -z "$ac_err"; then |
| 5799 rm -rf conftest* | 5836 rm -rf conftest* |
| 5800 eval "ac_cv_header_$ac_safe=yes" | 5837 eval "ac_cv_header_$ac_safe=yes" |
| 5801 else | 5838 else |
| 5814 with_cde=no | 5851 with_cde=no |
| 5815 fi | 5852 fi |
| 5816 } | 5853 } |
| 5817 test -z "$with_cde" && { | 5854 test -z "$with_cde" && { |
| 5818 echo $ac_n "checking for DtDndDragStart in -lDtSvc""... $ac_c" 1>&6 | 5855 echo $ac_n "checking for DtDndDragStart in -lDtSvc""... $ac_c" 1>&6 |
| 5819 echo "configure:5820: checking for DtDndDragStart in -lDtSvc" >&5 | 5856 echo "configure:5857: checking for DtDndDragStart in -lDtSvc" >&5 |
| 5820 ac_lib_var=`echo DtSvc'_'DtDndDragStart | sed 'y%./+-%__p_%'` | 5857 ac_lib_var=`echo DtSvc'_'DtDndDragStart | sed 'y%./+-%__p_%'` |
| 5821 | 5858 |
| 5822 xe_check_libs=" -lDtSvc " | 5859 xe_check_libs=" -lDtSvc " |
| 5823 cat > conftest.$ac_ext <<EOF | 5860 cat > conftest.$ac_ext <<EOF |
| 5824 #line 5825 "configure" | 5861 #line 5862 "configure" |
| 5825 #include "confdefs.h" | 5862 #include "confdefs.h" |
| 5826 /* Override any gcc2 internal prototype to avoid an error. */ | 5863 /* Override any gcc2 internal prototype to avoid an error. */ |
| 5827 /* We use char because int might match the return type of a gcc2 | 5864 /* We use char because int might match the return type of a gcc2 |
| 5828 builtin and then its argument prototype would still apply. */ | 5865 builtin and then its argument prototype would still apply. */ |
| 5829 char DtDndDragStart(); | 5866 char DtDndDragStart(); |
| 5830 | 5867 |
| 5831 int main() { | 5868 int main() { |
| 5832 DtDndDragStart() | 5869 DtDndDragStart() |
| 5833 ; return 0; } | 5870 ; return 0; } |
| 5834 EOF | 5871 EOF |
| 5835 if { (eval echo configure:5836: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 5872 if { (eval echo configure:5873: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 5836 rm -rf conftest* | 5873 rm -rf conftest* |
| 5837 eval "ac_cv_lib_$ac_lib_var=yes" | 5874 eval "ac_cv_lib_$ac_lib_var=yes" |
| 5838 else | 5875 else |
| 5839 echo "configure: failed program was:" >&5 | 5876 echo "configure: failed program was:" >&5 |
| 5840 cat conftest.$ac_ext >&5 | 5877 cat conftest.$ac_ext >&5 |
| 5877 EOF | 5914 EOF |
| 5878 } | 5915 } |
| 5879 | 5916 |
| 5880 | 5917 |
| 5881 echo $ac_n "checking for main in -lenergize""... $ac_c" 1>&6 | 5918 echo $ac_n "checking for main in -lenergize""... $ac_c" 1>&6 |
| 5882 echo "configure:5883: checking for main in -lenergize" >&5 | 5919 echo "configure:5920: checking for main in -lenergize" >&5 |
| 5883 ac_lib_var=`echo energize'_'main | sed 'y%./+-%__p_%'` | 5920 ac_lib_var=`echo energize'_'main | sed 'y%./+-%__p_%'` |
| 5884 | 5921 |
| 5885 xe_check_libs=" -lenergize " | 5922 xe_check_libs=" -lenergize " |
| 5886 cat > conftest.$ac_ext <<EOF | 5923 cat > conftest.$ac_ext <<EOF |
| 5887 #line 5888 "configure" | 5924 #line 5925 "configure" |
| 5888 #include "confdefs.h" | 5925 #include "confdefs.h" |
| 5889 | 5926 |
| 5890 int main() { | 5927 int main() { |
| 5891 main() | 5928 main() |
| 5892 ; return 0; } | 5929 ; return 0; } |
| 5893 EOF | 5930 EOF |
| 5894 if { (eval echo configure:5895: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 5931 if { (eval echo configure:5932: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 5895 rm -rf conftest* | 5932 rm -rf conftest* |
| 5896 eval "ac_cv_lib_$ac_lib_var=yes" | 5933 eval "ac_cv_lib_$ac_lib_var=yes" |
| 5897 else | 5934 else |
| 5898 echo "configure: failed program was:" >&5 | 5935 echo "configure: failed program was:" >&5 |
| 5899 cat conftest.$ac_ext >&5 | 5936 cat conftest.$ac_ext >&5 |
| 5921 | 5958 |
| 5922 | 5959 |
| 5923 if test -z "$energize_version"; then | 5960 if test -z "$energize_version"; then |
| 5924 | 5961 |
| 5925 echo $ac_n "checking for main in -lconn""... $ac_c" 1>&6 | 5962 echo $ac_n "checking for main in -lconn""... $ac_c" 1>&6 |
| 5926 echo "configure:5927: checking for main in -lconn" >&5 | 5963 echo "configure:5964: checking for main in -lconn" >&5 |
| 5927 ac_lib_var=`echo conn'_'main | sed 'y%./+-%__p_%'` | 5964 ac_lib_var=`echo conn'_'main | sed 'y%./+-%__p_%'` |
| 5928 | 5965 |
| 5929 xe_check_libs=" -lconn " | 5966 xe_check_libs=" -lconn " |
| 5930 cat > conftest.$ac_ext <<EOF | 5967 cat > conftest.$ac_ext <<EOF |
| 5931 #line 5932 "configure" | 5968 #line 5969 "configure" |
| 5932 #include "confdefs.h" | 5969 #include "confdefs.h" |
| 5933 | 5970 |
| 5934 int main() { | 5971 int main() { |
| 5935 main() | 5972 main() |
| 5936 ; return 0; } | 5973 ; return 0; } |
| 5937 EOF | 5974 EOF |
| 5938 if { (eval echo configure:5939: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 5975 if { (eval echo configure:5976: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 5939 rm -rf conftest* | 5976 rm -rf conftest* |
| 5940 eval "ac_cv_lib_$ac_lib_var=yes" | 5977 eval "ac_cv_lib_$ac_lib_var=yes" |
| 5941 else | 5978 else |
| 5942 echo "configure: failed program was:" >&5 | 5979 echo "configure: failed program was:" >&5 |
| 5943 cat conftest.$ac_ext >&5 | 5980 cat conftest.$ac_ext >&5 |
| 5966 | 6003 |
| 5967 | 6004 |
| 5968 fi | 6005 fi |
| 5969 ac_safe=`echo "editorconn.h" | sed 'y%./+-%__p_%'` | 6006 ac_safe=`echo "editorconn.h" | sed 'y%./+-%__p_%'` |
| 5970 echo $ac_n "checking for editorconn.h""... $ac_c" 1>&6 | 6007 echo $ac_n "checking for editorconn.h""... $ac_c" 1>&6 |
| 5971 echo "configure:5972: checking for editorconn.h" >&5 | 6008 echo "configure:6009: checking for editorconn.h" >&5 |
| 5972 | 6009 |
| 5973 cat > conftest.$ac_ext <<EOF | 6010 cat > conftest.$ac_ext <<EOF |
| 5974 #line 5975 "configure" | 6011 #line 6012 "configure" |
| 5975 #include "confdefs.h" | 6012 #include "confdefs.h" |
| 5976 #include <editorconn.h> | 6013 #include <editorconn.h> |
| 5977 EOF | 6014 EOF |
| 5978 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6015 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 5979 { (eval echo configure:5980: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6016 { (eval echo configure:6017: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 5980 ac_err=`grep -v '^ *+' conftest.out` | 6017 ac_err=`grep -v '^ *+' conftest.out` |
| 5981 if test -z "$ac_err"; then | 6018 if test -z "$ac_err"; then |
| 5982 rm -rf conftest* | 6019 rm -rf conftest* |
| 5983 eval "ac_cv_header_$ac_safe=yes" | 6020 eval "ac_cv_header_$ac_safe=yes" |
| 5984 else | 6021 else |
| 6016 | 6053 |
| 6017 fi | 6054 fi |
| 6018 | 6055 |
| 6019 | 6056 |
| 6020 echo "checking for graphics libraries" 1>&6 | 6057 echo "checking for graphics libraries" 1>&6 |
| 6021 echo "configure:6022: checking for graphics libraries" >&5 | 6058 echo "configure:6059: checking for graphics libraries" >&5 |
| 6022 test -z "$with_gif" && with_gif=yes; | 6059 test -z "$with_gif" && with_gif=yes; |
| 6023 if test "$with_gif" = "yes"; then | 6060 if test "$with_gif" = "yes"; then |
| 6024 { test "$extra_verbose" = "yes" && cat << \EOF | 6061 { test "$extra_verbose" = "yes" && cat << \EOF |
| 6025 Defining HAVE_GIF | 6062 Defining HAVE_GIF |
| 6026 EOF | 6063 EOF |
| 6033 echo " xemacs will be linked with \"dgif_lib.o gif_err.o gifalloc.o\"" | 6070 echo " xemacs will be linked with \"dgif_lib.o gif_err.o gifalloc.o\"" |
| 6034 fi | 6071 fi |
| 6035 fi | 6072 fi |
| 6036 | 6073 |
| 6037 echo $ac_n "checking for Xpm - no older than 3.4f""... $ac_c" 1>&6 | 6074 echo $ac_n "checking for Xpm - no older than 3.4f""... $ac_c" 1>&6 |
| 6038 echo "configure:6039: checking for Xpm - no older than 3.4f" >&5 | 6075 echo "configure:6076: checking for Xpm - no older than 3.4f" >&5 |
| 6039 xe_check_libs=-lXpm | 6076 xe_check_libs=-lXpm |
| 6040 test -z "$with_xpm" && { cat > conftest.$ac_ext <<EOF | 6077 test -z "$with_xpm" && { cat > conftest.$ac_ext <<EOF |
| 6041 #line 6042 "configure" | 6078 #line 6079 "configure" |
| 6042 #include "confdefs.h" | 6079 #include "confdefs.h" |
| 6043 #include <X11/xpm.h> | 6080 #include <X11/xpm.h> |
| 6044 int main(int c, char **v) { | 6081 int main(int c, char **v) { |
| 6045 return c == 1 ? 0 : | 6082 return c == 1 ? 0 : |
| 6046 XpmIncludeVersion != XpmLibraryVersion() ? 1 : | 6083 XpmIncludeVersion != XpmLibraryVersion() ? 1 : |
| 6047 XpmIncludeVersion < 30406 ? 2 : | 6084 XpmIncludeVersion < 30406 ? 2 : |
| 6048 0 ; | 6085 0 ; |
| 6049 } | 6086 } |
| 6050 EOF | 6087 EOF |
| 6051 if { (eval echo configure:6052: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 | 6088 if { (eval echo configure:6089: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 |
| 6052 then | 6089 then |
| 6053 ./conftest foobar; xpm_status=$?; | 6090 ./conftest foobar; xpm_status=$?; |
| 6054 if test "$xpm_status" = "0"; then with_xpm=yes; else with_xpm=no; fi; | 6091 if test "$xpm_status" = "0"; then with_xpm=yes; else with_xpm=no; fi; |
| 6055 else | 6092 else |
| 6056 echo "configure: failed program was:" >&5 | 6093 echo "configure: failed program was:" >&5 |
| 6084 libs_x="-lXpm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXpm\" to \$libs_x"; fi | 6121 libs_x="-lXpm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXpm\" to \$libs_x"; fi |
| 6085 fi | 6122 fi |
| 6086 | 6123 |
| 6087 test -z "$with_xface" && { ac_safe=`echo "compface.h" | sed 'y%./+-%__p_%'` | 6124 test -z "$with_xface" && { ac_safe=`echo "compface.h" | sed 'y%./+-%__p_%'` |
| 6088 echo $ac_n "checking for compface.h""... $ac_c" 1>&6 | 6125 echo $ac_n "checking for compface.h""... $ac_c" 1>&6 |
| 6089 echo "configure:6090: checking for compface.h" >&5 | 6126 echo "configure:6127: checking for compface.h" >&5 |
| 6090 | 6127 |
| 6091 cat > conftest.$ac_ext <<EOF | 6128 cat > conftest.$ac_ext <<EOF |
| 6092 #line 6093 "configure" | 6129 #line 6130 "configure" |
| 6093 #include "confdefs.h" | 6130 #include "confdefs.h" |
| 6094 #include <compface.h> | 6131 #include <compface.h> |
| 6095 EOF | 6132 EOF |
| 6096 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6133 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 6097 { (eval echo configure:6098: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6134 { (eval echo configure:6135: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 6098 ac_err=`grep -v '^ *+' conftest.out` | 6135 ac_err=`grep -v '^ *+' conftest.out` |
| 6099 if test -z "$ac_err"; then | 6136 if test -z "$ac_err"; then |
| 6100 rm -rf conftest* | 6137 rm -rf conftest* |
| 6101 eval "ac_cv_header_$ac_safe=yes" | 6138 eval "ac_cv_header_$ac_safe=yes" |
| 6102 else | 6139 else |
| 6115 with_xface=no | 6152 with_xface=no |
| 6116 fi | 6153 fi |
| 6117 } | 6154 } |
| 6118 test -z "$with_xface" && { | 6155 test -z "$with_xface" && { |
| 6119 echo $ac_n "checking for UnGenFace in -lcompface""... $ac_c" 1>&6 | 6156 echo $ac_n "checking for UnGenFace in -lcompface""... $ac_c" 1>&6 |
| 6120 echo "configure:6121: checking for UnGenFace in -lcompface" >&5 | 6157 echo "configure:6158: checking for UnGenFace in -lcompface" >&5 |
| 6121 ac_lib_var=`echo compface'_'UnGenFace | sed 'y%./+-%__p_%'` | 6158 ac_lib_var=`echo compface'_'UnGenFace | sed 'y%./+-%__p_%'` |
| 6122 | 6159 |
| 6123 xe_check_libs=" -lcompface " | 6160 xe_check_libs=" -lcompface " |
| 6124 cat > conftest.$ac_ext <<EOF | 6161 cat > conftest.$ac_ext <<EOF |
| 6125 #line 6126 "configure" | 6162 #line 6163 "configure" |
| 6126 #include "confdefs.h" | 6163 #include "confdefs.h" |
| 6127 /* Override any gcc2 internal prototype to avoid an error. */ | 6164 /* Override any gcc2 internal prototype to avoid an error. */ |
| 6128 /* We use char because int might match the return type of a gcc2 | 6165 /* We use char because int might match the return type of a gcc2 |
| 6129 builtin and then its argument prototype would still apply. */ | 6166 builtin and then its argument prototype would still apply. */ |
| 6130 char UnGenFace(); | 6167 char UnGenFace(); |
| 6131 | 6168 |
| 6132 int main() { | 6169 int main() { |
| 6133 UnGenFace() | 6170 UnGenFace() |
| 6134 ; return 0; } | 6171 ; return 0; } |
| 6135 EOF | 6172 EOF |
| 6136 if { (eval echo configure:6137: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 6173 if { (eval echo configure:6174: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 6137 rm -rf conftest* | 6174 rm -rf conftest* |
| 6138 eval "ac_cv_lib_$ac_lib_var=yes" | 6175 eval "ac_cv_lib_$ac_lib_var=yes" |
| 6139 else | 6176 else |
| 6140 echo "configure: failed program was:" >&5 | 6177 echo "configure: failed program was:" >&5 |
| 6141 cat conftest.$ac_ext >&5 | 6178 cat conftest.$ac_ext >&5 |
| 6167 libs_x="-lcompface $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lcompface\" to \$libs_x"; fi | 6204 libs_x="-lcompface $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lcompface\" to \$libs_x"; fi |
| 6168 fi | 6205 fi |
| 6169 | 6206 |
| 6170 test -z "$with_jpeg" && { ac_safe=`echo "jpeglib.h" | sed 'y%./+-%__p_%'` | 6207 test -z "$with_jpeg" && { ac_safe=`echo "jpeglib.h" | sed 'y%./+-%__p_%'` |
| 6171 echo $ac_n "checking for jpeglib.h""... $ac_c" 1>&6 | 6208 echo $ac_n "checking for jpeglib.h""... $ac_c" 1>&6 |
| 6172 echo "configure:6173: checking for jpeglib.h" >&5 | 6209 echo "configure:6210: checking for jpeglib.h" >&5 |
| 6173 | 6210 |
| 6174 cat > conftest.$ac_ext <<EOF | 6211 cat > conftest.$ac_ext <<EOF |
| 6175 #line 6176 "configure" | 6212 #line 6213 "configure" |
| 6176 #include "confdefs.h" | 6213 #include "confdefs.h" |
| 6177 #include <jpeglib.h> | 6214 #include <jpeglib.h> |
| 6178 EOF | 6215 EOF |
| 6179 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6216 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 6180 { (eval echo configure:6181: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6217 { (eval echo configure:6218: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 6181 ac_err=`grep -v '^ *+' conftest.out` | 6218 ac_err=`grep -v '^ *+' conftest.out` |
| 6182 if test -z "$ac_err"; then | 6219 if test -z "$ac_err"; then |
| 6183 rm -rf conftest* | 6220 rm -rf conftest* |
| 6184 eval "ac_cv_header_$ac_safe=yes" | 6221 eval "ac_cv_header_$ac_safe=yes" |
| 6185 else | 6222 else |
| 6198 with_jpeg=no | 6235 with_jpeg=no |
| 6199 fi | 6236 fi |
| 6200 } | 6237 } |
| 6201 test -z "$with_jpeg" && { | 6238 test -z "$with_jpeg" && { |
| 6202 echo $ac_n "checking for jpeg_destroy_decompress in -ljpeg""... $ac_c" 1>&6 | 6239 echo $ac_n "checking for jpeg_destroy_decompress in -ljpeg""... $ac_c" 1>&6 |
| 6203 echo "configure:6204: checking for jpeg_destroy_decompress in -ljpeg" >&5 | 6240 echo "configure:6241: checking for jpeg_destroy_decompress in -ljpeg" >&5 |
| 6204 ac_lib_var=`echo jpeg'_'jpeg_destroy_decompress | sed 'y%./+-%__p_%'` | 6241 ac_lib_var=`echo jpeg'_'jpeg_destroy_decompress | sed 'y%./+-%__p_%'` |
| 6205 | 6242 |
| 6206 xe_check_libs=" -ljpeg " | 6243 xe_check_libs=" -ljpeg " |
| 6207 cat > conftest.$ac_ext <<EOF | 6244 cat > conftest.$ac_ext <<EOF |
| 6208 #line 6209 "configure" | 6245 #line 6246 "configure" |
| 6209 #include "confdefs.h" | 6246 #include "confdefs.h" |
| 6210 /* Override any gcc2 internal prototype to avoid an error. */ | 6247 /* Override any gcc2 internal prototype to avoid an error. */ |
| 6211 /* We use char because int might match the return type of a gcc2 | 6248 /* We use char because int might match the return type of a gcc2 |
| 6212 builtin and then its argument prototype would still apply. */ | 6249 builtin and then its argument prototype would still apply. */ |
| 6213 char jpeg_destroy_decompress(); | 6250 char jpeg_destroy_decompress(); |
| 6214 | 6251 |
| 6215 int main() { | 6252 int main() { |
| 6216 jpeg_destroy_decompress() | 6253 jpeg_destroy_decompress() |
| 6217 ; return 0; } | 6254 ; return 0; } |
| 6218 EOF | 6255 EOF |
| 6219 if { (eval echo configure:6220: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 6256 if { (eval echo configure:6257: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 6220 rm -rf conftest* | 6257 rm -rf conftest* |
| 6221 eval "ac_cv_lib_$ac_lib_var=yes" | 6258 eval "ac_cv_lib_$ac_lib_var=yes" |
| 6222 else | 6259 else |
| 6223 echo "configure: failed program was:" >&5 | 6260 echo "configure: failed program was:" >&5 |
| 6224 cat conftest.$ac_ext >&5 | 6261 cat conftest.$ac_ext >&5 |
| 6250 libs_x="-ljpeg $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-ljpeg\" to \$libs_x"; fi | 6287 libs_x="-ljpeg $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-ljpeg\" to \$libs_x"; fi |
| 6251 fi | 6288 fi |
| 6252 | 6289 |
| 6253 test -z "$with_png" && { ac_safe=`echo "png.h" | sed 'y%./+-%__p_%'` | 6290 test -z "$with_png" && { ac_safe=`echo "png.h" | sed 'y%./+-%__p_%'` |
| 6254 echo $ac_n "checking for png.h""... $ac_c" 1>&6 | 6291 echo $ac_n "checking for png.h""... $ac_c" 1>&6 |
| 6255 echo "configure:6256: checking for png.h" >&5 | 6292 echo "configure:6293: checking for png.h" >&5 |
| 6256 | 6293 |
| 6257 cat > conftest.$ac_ext <<EOF | 6294 cat > conftest.$ac_ext <<EOF |
| 6258 #line 6259 "configure" | 6295 #line 6296 "configure" |
| 6259 #include "confdefs.h" | 6296 #include "confdefs.h" |
| 6260 #include <png.h> | 6297 #include <png.h> |
| 6261 EOF | 6298 EOF |
| 6262 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6299 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 6263 { (eval echo configure:6264: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6300 { (eval echo configure:6301: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 6264 ac_err=`grep -v '^ *+' conftest.out` | 6301 ac_err=`grep -v '^ *+' conftest.out` |
| 6265 if test -z "$ac_err"; then | 6302 if test -z "$ac_err"; then |
| 6266 rm -rf conftest* | 6303 rm -rf conftest* |
| 6267 eval "ac_cv_header_$ac_safe=yes" | 6304 eval "ac_cv_header_$ac_safe=yes" |
| 6268 else | 6305 else |
| 6280 echo "$ac_t""no" 1>&6 | 6317 echo "$ac_t""no" 1>&6 |
| 6281 with_png=no | 6318 with_png=no |
| 6282 fi | 6319 fi |
| 6283 } | 6320 } |
| 6284 test -z "$with_png" && { echo $ac_n "checking for pow""... $ac_c" 1>&6 | 6321 test -z "$with_png" && { echo $ac_n "checking for pow""... $ac_c" 1>&6 |
| 6285 echo "configure:6286: checking for pow" >&5 | 6322 echo "configure:6323: checking for pow" >&5 |
| 6286 | 6323 |
| 6287 cat > conftest.$ac_ext <<EOF | 6324 cat > conftest.$ac_ext <<EOF |
| 6288 #line 6289 "configure" | 6325 #line 6326 "configure" |
| 6289 #include "confdefs.h" | 6326 #include "confdefs.h" |
| 6290 /* System header to define __stub macros and hopefully few prototypes, | 6327 /* System header to define __stub macros and hopefully few prototypes, |
| 6291 which can conflict with char pow(); below. */ | 6328 which can conflict with char pow(); below. */ |
| 6292 #include <assert.h> | 6329 #include <assert.h> |
| 6293 /* Override any gcc2 internal prototype to avoid an error. */ | 6330 /* Override any gcc2 internal prototype to avoid an error. */ |
| 6306 pow(); | 6343 pow(); |
| 6307 #endif | 6344 #endif |
| 6308 | 6345 |
| 6309 ; return 0; } | 6346 ; return 0; } |
| 6310 EOF | 6347 EOF |
| 6311 if { (eval echo configure:6312: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 6348 if { (eval echo configure:6349: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 6312 rm -rf conftest* | 6349 rm -rf conftest* |
| 6313 eval "ac_cv_func_pow=yes" | 6350 eval "ac_cv_func_pow=yes" |
| 6314 else | 6351 else |
| 6315 echo "configure: failed program was:" >&5 | 6352 echo "configure: failed program was:" >&5 |
| 6316 cat conftest.$ac_ext >&5 | 6353 cat conftest.$ac_ext >&5 |
| 6331 for extra_libs in "" "-lz" "-lgz"; do | 6368 for extra_libs in "" "-lz" "-lgz"; do |
| 6332 | 6369 |
| 6333 xe_msg_checking="for png_read_image in -lpng" | 6370 xe_msg_checking="for png_read_image in -lpng" |
| 6334 test -n "$extra_libs" && xe_msg_checking="$xe_msg_checking using extra libs $extra_libs" | 6371 test -n "$extra_libs" && xe_msg_checking="$xe_msg_checking using extra libs $extra_libs" |
| 6335 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 6372 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
| 6336 echo "configure:6337: checking "$xe_msg_checking"" >&5 | 6373 echo "configure:6374: checking "$xe_msg_checking"" >&5 |
| 6337 ac_lib_var=`echo png'_'png_read_image | sed 'y%./+-%__p_%'` | 6374 ac_lib_var=`echo png'_'png_read_image | sed 'y%./+-%__p_%'` |
| 6338 | 6375 |
| 6339 xe_check_libs=" -lpng $extra_libs" | 6376 xe_check_libs=" -lpng $extra_libs" |
| 6340 cat > conftest.$ac_ext <<EOF | 6377 cat > conftest.$ac_ext <<EOF |
| 6341 #line 6342 "configure" | 6378 #line 6379 "configure" |
| 6342 #include "confdefs.h" | 6379 #include "confdefs.h" |
| 6343 /* Override any gcc2 internal prototype to avoid an error. */ | 6380 /* Override any gcc2 internal prototype to avoid an error. */ |
| 6344 /* We use char because int might match the return type of a gcc2 | 6381 /* We use char because int might match the return type of a gcc2 |
| 6345 builtin and then its argument prototype would still apply. */ | 6382 builtin and then its argument prototype would still apply. */ |
| 6346 char png_read_image(); | 6383 char png_read_image(); |
| 6347 | 6384 |
| 6348 int main() { | 6385 int main() { |
| 6349 png_read_image() | 6386 png_read_image() |
| 6350 ; return 0; } | 6387 ; return 0; } |
| 6351 EOF | 6388 EOF |
| 6352 if { (eval echo configure:6353: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 6389 if { (eval echo configure:6390: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 6353 rm -rf conftest* | 6390 rm -rf conftest* |
| 6354 eval "ac_cv_lib_$ac_lib_var=yes" | 6391 eval "ac_cv_lib_$ac_lib_var=yes" |
| 6355 else | 6392 else |
| 6356 echo "configure: failed program was:" >&5 | 6393 echo "configure: failed program was:" >&5 |
| 6357 cat conftest.$ac_ext >&5 | 6394 cat conftest.$ac_ext >&5 |
| 6397 libs_x="-ltiff $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-ltiff\" to \$libs_x"; fi | 6434 libs_x="-ltiff $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-ltiff\" to \$libs_x"; fi |
| 6398 fi | 6435 fi |
| 6399 | 6436 |
| 6400 ac_safe=`echo "Xm/Xm.h" | sed 'y%./+-%__p_%'` | 6437 ac_safe=`echo "Xm/Xm.h" | sed 'y%./+-%__p_%'` |
| 6401 echo $ac_n "checking for Xm/Xm.h""... $ac_c" 1>&6 | 6438 echo $ac_n "checking for Xm/Xm.h""... $ac_c" 1>&6 |
| 6402 echo "configure:6403: checking for Xm/Xm.h" >&5 | 6439 echo "configure:6440: checking for Xm/Xm.h" >&5 |
| 6403 | 6440 |
| 6404 cat > conftest.$ac_ext <<EOF | 6441 cat > conftest.$ac_ext <<EOF |
| 6405 #line 6406 "configure" | 6442 #line 6443 "configure" |
| 6406 #include "confdefs.h" | 6443 #include "confdefs.h" |
| 6407 #include <Xm/Xm.h> | 6444 #include <Xm/Xm.h> |
| 6408 EOF | 6445 EOF |
| 6409 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6446 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 6410 { (eval echo configure:6411: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6447 { (eval echo configure:6448: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 6411 ac_err=`grep -v '^ *+' conftest.out` | 6448 ac_err=`grep -v '^ *+' conftest.out` |
| 6412 if test -z "$ac_err"; then | 6449 if test -z "$ac_err"; then |
| 6413 rm -rf conftest* | 6450 rm -rf conftest* |
| 6414 eval "ac_cv_header_$ac_safe=yes" | 6451 eval "ac_cv_header_$ac_safe=yes" |
| 6415 else | 6452 else |
| 6422 rm -f conftest* | 6459 rm -f conftest* |
| 6423 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 6460 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
| 6424 echo "$ac_t""yes" 1>&6 | 6461 echo "$ac_t""yes" 1>&6 |
| 6425 | 6462 |
| 6426 echo $ac_n "checking for XmStringFree in -lXm""... $ac_c" 1>&6 | 6463 echo $ac_n "checking for XmStringFree in -lXm""... $ac_c" 1>&6 |
| 6427 echo "configure:6428: checking for XmStringFree in -lXm" >&5 | 6464 echo "configure:6465: checking for XmStringFree in -lXm" >&5 |
| 6428 ac_lib_var=`echo Xm'_'XmStringFree | sed 'y%./+-%__p_%'` | 6465 ac_lib_var=`echo Xm'_'XmStringFree | sed 'y%./+-%__p_%'` |
| 6429 | 6466 |
| 6430 xe_check_libs=" -lXm " | 6467 xe_check_libs=" -lXm " |
| 6431 cat > conftest.$ac_ext <<EOF | 6468 cat > conftest.$ac_ext <<EOF |
| 6432 #line 6433 "configure" | 6469 #line 6470 "configure" |
| 6433 #include "confdefs.h" | 6470 #include "confdefs.h" |
| 6434 /* Override any gcc2 internal prototype to avoid an error. */ | 6471 /* Override any gcc2 internal prototype to avoid an error. */ |
| 6435 /* We use char because int might match the return type of a gcc2 | 6472 /* We use char because int might match the return type of a gcc2 |
| 6436 builtin and then its argument prototype would still apply. */ | 6473 builtin and then its argument prototype would still apply. */ |
| 6437 char XmStringFree(); | 6474 char XmStringFree(); |
| 6438 | 6475 |
| 6439 int main() { | 6476 int main() { |
| 6440 XmStringFree() | 6477 XmStringFree() |
| 6441 ; return 0; } | 6478 ; return 0; } |
| 6442 EOF | 6479 EOF |
| 6443 if { (eval echo configure:6444: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 6480 if { (eval echo configure:6481: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 6444 rm -rf conftest* | 6481 rm -rf conftest* |
| 6445 eval "ac_cv_lib_$ac_lib_var=yes" | 6482 eval "ac_cv_lib_$ac_lib_var=yes" |
| 6446 else | 6483 else |
| 6447 echo "configure: failed program was:" >&5 | 6484 echo "configure: failed program was:" >&5 |
| 6448 cat conftest.$ac_ext >&5 | 6485 cat conftest.$ac_ext >&5 |
| 6686 | 6723 |
| 6687 test -z "$with_mule" && with_mule=no | 6724 test -z "$with_mule" && with_mule=no |
| 6688 | 6725 |
| 6689 if test "$with_mule" = "yes" ; then | 6726 if test "$with_mule" = "yes" ; then |
| 6690 echo "checking for Mule-related features" 1>&6 | 6727 echo "checking for Mule-related features" 1>&6 |
| 6691 echo "configure:6692: checking for Mule-related features" >&5 | 6728 echo "configure:6729: checking for Mule-related features" >&5 |
| 6692 { test "$extra_verbose" = "yes" && cat << \EOF | 6729 { test "$extra_verbose" = "yes" && cat << \EOF |
| 6693 Defining MULE | 6730 Defining MULE |
| 6694 EOF | 6731 EOF |
| 6695 cat >> confdefs.h <<\EOF | 6732 cat >> confdefs.h <<\EOF |
| 6696 #define MULE 1 | 6733 #define MULE 1 |
| 6703 | 6740 |
| 6704 for ac_hdr in libintl.h | 6741 for ac_hdr in libintl.h |
| 6705 do | 6742 do |
| 6706 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 6743 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
| 6707 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 6744 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
| 6708 echo "configure:6709: checking for $ac_hdr" >&5 | 6745 echo "configure:6746: checking for $ac_hdr" >&5 |
| 6709 | 6746 |
| 6710 cat > conftest.$ac_ext <<EOF | 6747 cat > conftest.$ac_ext <<EOF |
| 6711 #line 6712 "configure" | 6748 #line 6749 "configure" |
| 6712 #include "confdefs.h" | 6749 #include "confdefs.h" |
| 6713 #include <$ac_hdr> | 6750 #include <$ac_hdr> |
| 6714 EOF | 6751 EOF |
| 6715 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6752 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 6716 { (eval echo configure:6717: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6753 { (eval echo configure:6754: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 6717 ac_err=`grep -v '^ *+' conftest.out` | 6754 ac_err=`grep -v '^ *+' conftest.out` |
| 6718 if test -z "$ac_err"; then | 6755 if test -z "$ac_err"; then |
| 6719 rm -rf conftest* | 6756 rm -rf conftest* |
| 6720 eval "ac_cv_header_$ac_safe=yes" | 6757 eval "ac_cv_header_$ac_safe=yes" |
| 6721 else | 6758 else |
| 6742 fi | 6779 fi |
| 6743 done | 6780 done |
| 6744 | 6781 |
| 6745 | 6782 |
| 6746 echo $ac_n "checking for strerror in -lintl""... $ac_c" 1>&6 | 6783 echo $ac_n "checking for strerror in -lintl""... $ac_c" 1>&6 |
| 6747 echo "configure:6748: checking for strerror in -lintl" >&5 | 6784 echo "configure:6785: checking for strerror in -lintl" >&5 |
| 6748 ac_lib_var=`echo intl'_'strerror | sed 'y%./+-%__p_%'` | 6785 ac_lib_var=`echo intl'_'strerror | sed 'y%./+-%__p_%'` |
| 6749 | 6786 |
| 6750 xe_check_libs=" -lintl " | 6787 xe_check_libs=" -lintl " |
| 6751 cat > conftest.$ac_ext <<EOF | 6788 cat > conftest.$ac_ext <<EOF |
| 6752 #line 6753 "configure" | 6789 #line 6790 "configure" |
| 6753 #include "confdefs.h" | 6790 #include "confdefs.h" |
| 6754 /* Override any gcc2 internal prototype to avoid an error. */ | 6791 /* Override any gcc2 internal prototype to avoid an error. */ |
| 6755 /* We use char because int might match the return type of a gcc2 | 6792 /* We use char because int might match the return type of a gcc2 |
| 6756 builtin and then its argument prototype would still apply. */ | 6793 builtin and then its argument prototype would still apply. */ |
| 6757 char strerror(); | 6794 char strerror(); |
| 6758 | 6795 |
| 6759 int main() { | 6796 int main() { |
| 6760 strerror() | 6797 strerror() |
| 6761 ; return 0; } | 6798 ; return 0; } |
| 6762 EOF | 6799 EOF |
| 6763 if { (eval echo configure:6764: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 6800 if { (eval echo configure:6801: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 6764 rm -rf conftest* | 6801 rm -rf conftest* |
| 6765 eval "ac_cv_lib_$ac_lib_var=yes" | 6802 eval "ac_cv_lib_$ac_lib_var=yes" |
| 6766 else | 6803 else |
| 6767 echo "configure: failed program was:" >&5 | 6804 echo "configure: failed program was:" >&5 |
| 6768 cat conftest.$ac_ext >&5 | 6805 cat conftest.$ac_ext >&5 |
| 6791 fi | 6828 fi |
| 6792 | 6829 |
| 6793 | 6830 |
| 6794 | 6831 |
| 6795 echo "checking for Mule input methods" 1>&6 | 6832 echo "checking for Mule input methods" 1>&6 |
| 6796 echo "configure:6797: checking for Mule input methods" >&5 | 6833 echo "configure:6834: checking for Mule input methods" >&5 |
| 6797 test -z "$with_xim" -a "$opsys" != "sol2" && with_xim=no | 6834 test -z "$with_xim" -a "$opsys" != "sol2" && with_xim=no |
| 6798 case "$with_xim" in "" | "yes" ) | 6835 case "$with_xim" in "" | "yes" ) |
| 6799 echo "checking for XIM" 1>&6 | 6836 echo "checking for XIM" 1>&6 |
| 6800 echo "configure:6801: checking for XIM" >&5 | 6837 echo "configure:6838: checking for XIM" >&5 |
| 6801 | 6838 |
| 6802 echo $ac_n "checking for XmImMbLookupString in -lXm""... $ac_c" 1>&6 | 6839 echo $ac_n "checking for XmImMbLookupString in -lXm""... $ac_c" 1>&6 |
| 6803 echo "configure:6804: checking for XmImMbLookupString in -lXm" >&5 | 6840 echo "configure:6841: checking for XmImMbLookupString in -lXm" >&5 |
| 6804 ac_lib_var=`echo Xm'_'XmImMbLookupString | sed 'y%./+-%__p_%'` | 6841 ac_lib_var=`echo Xm'_'XmImMbLookupString | sed 'y%./+-%__p_%'` |
| 6805 | 6842 |
| 6806 xe_check_libs=" -lXm " | 6843 xe_check_libs=" -lXm " |
| 6807 cat > conftest.$ac_ext <<EOF | 6844 cat > conftest.$ac_ext <<EOF |
| 6808 #line 6809 "configure" | 6845 #line 6846 "configure" |
| 6809 #include "confdefs.h" | 6846 #include "confdefs.h" |
| 6810 /* Override any gcc2 internal prototype to avoid an error. */ | 6847 /* Override any gcc2 internal prototype to avoid an error. */ |
| 6811 /* We use char because int might match the return type of a gcc2 | 6848 /* We use char because int might match the return type of a gcc2 |
| 6812 builtin and then its argument prototype would still apply. */ | 6849 builtin and then its argument prototype would still apply. */ |
| 6813 char XmImMbLookupString(); | 6850 char XmImMbLookupString(); |
| 6814 | 6851 |
| 6815 int main() { | 6852 int main() { |
| 6816 XmImMbLookupString() | 6853 XmImMbLookupString() |
| 6817 ; return 0; } | 6854 ; return 0; } |
| 6818 EOF | 6855 EOF |
| 6819 if { (eval echo configure:6820: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 6856 if { (eval echo configure:6857: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 6820 rm -rf conftest* | 6857 rm -rf conftest* |
| 6821 eval "ac_cv_lib_$ac_lib_var=yes" | 6858 eval "ac_cv_lib_$ac_lib_var=yes" |
| 6822 else | 6859 else |
| 6823 echo "configure: failed program was:" >&5 | 6860 echo "configure: failed program was:" >&5 |
| 6824 cat conftest.$ac_ext >&5 | 6861 cat conftest.$ac_ext >&5 |
| 6872 need_motif=yes | 6909 need_motif=yes |
| 6873 extra_objs="$extra_objs input-method-motif.o" && if test "$extra_verbose" = "yes"; then | 6910 extra_objs="$extra_objs input-method-motif.o" && if test "$extra_verbose" = "yes"; then |
| 6874 echo " xemacs will be linked with \"input-method-motif.o\"" | 6911 echo " xemacs will be linked with \"input-method-motif.o\"" |
| 6875 fi | 6912 fi |
| 6876 fi | 6913 fi |
| 6914 if test "$with_xfs" = "yes"; then | |
| 6915 with_xfs=no | |
| 6916 fi | |
| 6917 else case "$with_xfs" in "yes" ) | |
| 6918 echo "checking for XFontSet" 1>&6 | |
| 6919 echo "configure:6920: checking for XFontSet" >&5 | |
| 6920 | |
| 6921 echo $ac_n "checking for XmbDrawString in -lX11""... $ac_c" 1>&6 | |
| 6922 echo "configure:6923: checking for XmbDrawString in -lX11" >&5 | |
| 6923 ac_lib_var=`echo X11'_'XmbDrawString | sed 'y%./+-%__p_%'` | |
| 6924 | |
| 6925 xe_check_libs=" -lX11 " | |
| 6926 cat > conftest.$ac_ext <<EOF | |
| 6927 #line 6928 "configure" | |
| 6928 #include "confdefs.h" | |
| 6929 /* Override any gcc2 internal prototype to avoid an error. */ | |
| 6930 /* We use char because int might match the return type of a gcc2 | |
| 6931 builtin and then its argument prototype would still apply. */ | |
| 6932 char XmbDrawString(); | |
| 6933 | |
| 6934 int main() { | |
| 6935 XmbDrawString() | |
| 6936 ; return 0; } | |
| 6937 EOF | |
| 6938 if { (eval echo configure:6939: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | |
| 6939 rm -rf conftest* | |
| 6940 eval "ac_cv_lib_$ac_lib_var=yes" | |
| 6941 else | |
| 6942 echo "configure: failed program was:" >&5 | |
| 6943 cat conftest.$ac_ext >&5 | |
| 6944 rm -rf conftest* | |
| 6945 eval "ac_cv_lib_$ac_lib_var=no" | |
| 6946 fi | |
| 6947 rm -f conftest* | |
| 6948 xe_check_libs="" | |
| 6949 | |
| 6950 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes" ; then | |
| 6951 echo "$ac_t""yes" 1>&6 | |
| 6952 : | |
| 6953 else | |
| 6954 echo "$ac_t""no" 1>&6 | |
| 6955 with_xfs=no | |
| 6956 fi | |
| 6957 | |
| 6958 | |
| 6959 esac | |
| 6960 if test "$with_xfs" = "yes" && test "$with_menubars" = "lucid"; then | |
| 6961 { test "$extra_verbose" = "yes" && cat << \EOF | |
| 6962 Defining USE_XFONTSET | |
| 6963 EOF | |
| 6964 cat >> confdefs.h <<\EOF | |
| 6965 #define USE_XFONTSET 1 | |
| 6966 EOF | |
| 6967 } | |
| 6968 | |
| 6969 extra_objs="$extra_objs input-method-xfs.o" && if test "$extra_verbose" = "yes"; then | |
| 6970 echo " xemacs will be linked with \"input-method-xfs.o\"" | |
| 6971 fi | |
| 6972 fi | |
| 6877 fi | 6973 fi |
| 6878 test "$with_wnn6" = "yes" && with_wnn=yes # wnn6 implies wnn support | 6974 test "$with_wnn6" = "yes" && with_wnn=yes # wnn6 implies wnn support |
| 6879 test -z "$with_wnn" && { ac_safe=`echo "wnn/jllib.h" | sed 'y%./+-%__p_%'` | 6975 test -z "$with_wnn" && { ac_safe=`echo "wnn/jllib.h" | sed 'y%./+-%__p_%'` |
| 6880 echo $ac_n "checking for wnn/jllib.h""... $ac_c" 1>&6 | 6976 echo $ac_n "checking for wnn/jllib.h""... $ac_c" 1>&6 |
| 6881 echo "configure:6882: checking for wnn/jllib.h" >&5 | 6977 echo "configure:6978: checking for wnn/jllib.h" >&5 |
| 6882 | 6978 |
| 6883 cat > conftest.$ac_ext <<EOF | 6979 cat > conftest.$ac_ext <<EOF |
| 6884 #line 6885 "configure" | 6980 #line 6981 "configure" |
| 6885 #include "confdefs.h" | 6981 #include "confdefs.h" |
| 6886 #include <wnn/jllib.h> | 6982 #include <wnn/jllib.h> |
| 6887 EOF | 6983 EOF |
| 6888 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6984 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 6889 { (eval echo configure:6890: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6985 { (eval echo configure:6986: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 6890 ac_err=`grep -v '^ *+' conftest.out` | 6986 ac_err=`grep -v '^ *+' conftest.out` |
| 6891 if test -z "$ac_err"; then | 6987 if test -z "$ac_err"; then |
| 6892 rm -rf conftest* | 6988 rm -rf conftest* |
| 6893 eval "ac_cv_header_$ac_safe=yes" | 6989 eval "ac_cv_header_$ac_safe=yes" |
| 6894 else | 6990 else |
| 6909 } | 7005 } |
| 6910 if test "$with_wnn" != "no"; then | 7006 if test "$with_wnn" != "no"; then |
| 6911 for ac_func in crypt | 7007 for ac_func in crypt |
| 6912 do | 7008 do |
| 6913 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 7009 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
| 6914 echo "configure:6915: checking for $ac_func" >&5 | 7010 echo "configure:7011: checking for $ac_func" >&5 |
| 6915 | 7011 |
| 6916 cat > conftest.$ac_ext <<EOF | 7012 cat > conftest.$ac_ext <<EOF |
| 6917 #line 6918 "configure" | 7013 #line 7014 "configure" |
| 6918 #include "confdefs.h" | 7014 #include "confdefs.h" |
| 6919 /* System header to define __stub macros and hopefully few prototypes, | 7015 /* System header to define __stub macros and hopefully few prototypes, |
| 6920 which can conflict with char $ac_func(); below. */ | 7016 which can conflict with char $ac_func(); below. */ |
| 6921 #include <assert.h> | 7017 #include <assert.h> |
| 6922 /* Override any gcc2 internal prototype to avoid an error. */ | 7018 /* Override any gcc2 internal prototype to avoid an error. */ |
| 6935 $ac_func(); | 7031 $ac_func(); |
| 6936 #endif | 7032 #endif |
| 6937 | 7033 |
| 6938 ; return 0; } | 7034 ; return 0; } |
| 6939 EOF | 7035 EOF |
| 6940 if { (eval echo configure:6941: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 7036 if { (eval echo configure:7037: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 6941 rm -rf conftest* | 7037 rm -rf conftest* |
| 6942 eval "ac_cv_func_$ac_func=yes" | 7038 eval "ac_cv_func_$ac_func=yes" |
| 6943 else | 7039 else |
| 6944 echo "configure: failed program was:" >&5 | 7040 echo "configure: failed program was:" >&5 |
| 6945 cat conftest.$ac_ext >&5 | 7041 cat conftest.$ac_ext >&5 |
| 6964 fi | 7060 fi |
| 6965 done | 7061 done |
| 6966 | 7062 |
| 6967 test "$ac_cv_func_crypt" != "yes" && { | 7063 test "$ac_cv_func_crypt" != "yes" && { |
| 6968 echo $ac_n "checking for crypt in -lcrypt""... $ac_c" 1>&6 | 7064 echo $ac_n "checking for crypt in -lcrypt""... $ac_c" 1>&6 |
| 6969 echo "configure:6970: checking for crypt in -lcrypt" >&5 | 7065 echo "configure:7066: checking for crypt in -lcrypt" >&5 |
| 6970 ac_lib_var=`echo crypt'_'crypt | sed 'y%./+-%__p_%'` | 7066 ac_lib_var=`echo crypt'_'crypt | sed 'y%./+-%__p_%'` |
| 6971 | 7067 |
| 6972 xe_check_libs=" -lcrypt " | 7068 xe_check_libs=" -lcrypt " |
| 6973 cat > conftest.$ac_ext <<EOF | 7069 cat > conftest.$ac_ext <<EOF |
| 6974 #line 6975 "configure" | 7070 #line 7071 "configure" |
| 6975 #include "confdefs.h" | 7071 #include "confdefs.h" |
| 6976 /* Override any gcc2 internal prototype to avoid an error. */ | 7072 /* Override any gcc2 internal prototype to avoid an error. */ |
| 6977 /* We use char because int might match the return type of a gcc2 | 7073 /* We use char because int might match the return type of a gcc2 |
| 6978 builtin and then its argument prototype would still apply. */ | 7074 builtin and then its argument prototype would still apply. */ |
| 6979 char crypt(); | 7075 char crypt(); |
| 6980 | 7076 |
| 6981 int main() { | 7077 int main() { |
| 6982 crypt() | 7078 crypt() |
| 6983 ; return 0; } | 7079 ; return 0; } |
| 6984 EOF | 7080 EOF |
| 6985 if { (eval echo configure:6986: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 7081 if { (eval echo configure:7082: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 6986 rm -rf conftest* | 7082 rm -rf conftest* |
| 6987 eval "ac_cv_lib_$ac_lib_var=yes" | 7083 eval "ac_cv_lib_$ac_lib_var=yes" |
| 6988 else | 7084 else |
| 6989 echo "configure: failed program was:" >&5 | 7085 echo "configure: failed program was:" >&5 |
| 6990 cat conftest.$ac_ext >&5 | 7086 cat conftest.$ac_ext >&5 |
| 7014 | 7110 |
| 7015 } | 7111 } |
| 7016 fi | 7112 fi |
| 7017 test -z "$with_wnn" && { | 7113 test -z "$with_wnn" && { |
| 7018 echo $ac_n "checking for jl_dic_list_e in -lwnn""... $ac_c" 1>&6 | 7114 echo $ac_n "checking for jl_dic_list_e in -lwnn""... $ac_c" 1>&6 |
| 7019 echo "configure:7020: checking for jl_dic_list_e in -lwnn" >&5 | 7115 echo "configure:7116: checking for jl_dic_list_e in -lwnn" >&5 |
| 7020 ac_lib_var=`echo wnn'_'jl_dic_list_e | sed 'y%./+-%__p_%'` | 7116 ac_lib_var=`echo wnn'_'jl_dic_list_e | sed 'y%./+-%__p_%'` |
| 7021 | 7117 |
| 7022 xe_check_libs=" -lwnn " | 7118 xe_check_libs=" -lwnn " |
| 7023 cat > conftest.$ac_ext <<EOF | 7119 cat > conftest.$ac_ext <<EOF |
| 7024 #line 7025 "configure" | 7120 #line 7121 "configure" |
| 7025 #include "confdefs.h" | 7121 #include "confdefs.h" |
| 7026 /* Override any gcc2 internal prototype to avoid an error. */ | 7122 /* Override any gcc2 internal prototype to avoid an error. */ |
| 7027 /* We use char because int might match the return type of a gcc2 | 7123 /* We use char because int might match the return type of a gcc2 |
| 7028 builtin and then its argument prototype would still apply. */ | 7124 builtin and then its argument prototype would still apply. */ |
| 7029 char jl_dic_list_e(); | 7125 char jl_dic_list_e(); |
| 7030 | 7126 |
| 7031 int main() { | 7127 int main() { |
| 7032 jl_dic_list_e() | 7128 jl_dic_list_e() |
| 7033 ; return 0; } | 7129 ; return 0; } |
| 7034 EOF | 7130 EOF |
| 7035 if { (eval echo configure:7036: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 7131 if { (eval echo configure:7132: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 7036 rm -rf conftest* | 7132 rm -rf conftest* |
| 7037 eval "ac_cv_lib_$ac_lib_var=yes" | 7133 eval "ac_cv_lib_$ac_lib_var=yes" |
| 7038 else | 7134 else |
| 7039 echo "configure: failed program was:" >&5 | 7135 echo "configure: failed program was:" >&5 |
| 7040 cat conftest.$ac_ext >&5 | 7136 cat conftest.$ac_ext >&5 |
| 7067 extra_objs="$extra_objs mule-wnnfns.o" && if test "$extra_verbose" = "yes"; then | 7163 extra_objs="$extra_objs mule-wnnfns.o" && if test "$extra_verbose" = "yes"; then |
| 7068 echo " xemacs will be linked with \"mule-wnnfns.o\"" | 7164 echo " xemacs will be linked with \"mule-wnnfns.o\"" |
| 7069 fi | 7165 fi |
| 7070 | 7166 |
| 7071 echo $ac_n "checking for jl_fi_dic_list in -lwnn""... $ac_c" 1>&6 | 7167 echo $ac_n "checking for jl_fi_dic_list in -lwnn""... $ac_c" 1>&6 |
| 7072 echo "configure:7073: checking for jl_fi_dic_list in -lwnn" >&5 | 7168 echo "configure:7169: checking for jl_fi_dic_list in -lwnn" >&5 |
| 7073 ac_lib_var=`echo wnn'_'jl_fi_dic_list | sed 'y%./+-%__p_%'` | 7169 ac_lib_var=`echo wnn'_'jl_fi_dic_list | sed 'y%./+-%__p_%'` |
| 7074 | 7170 |
| 7075 xe_check_libs=" -lwnn " | 7171 xe_check_libs=" -lwnn " |
| 7076 cat > conftest.$ac_ext <<EOF | 7172 cat > conftest.$ac_ext <<EOF |
| 7077 #line 7078 "configure" | 7173 #line 7174 "configure" |
| 7078 #include "confdefs.h" | 7174 #include "confdefs.h" |
| 7079 /* Override any gcc2 internal prototype to avoid an error. */ | 7175 /* Override any gcc2 internal prototype to avoid an error. */ |
| 7080 /* We use char because int might match the return type of a gcc2 | 7176 /* We use char because int might match the return type of a gcc2 |
| 7081 builtin and then its argument prototype would still apply. */ | 7177 builtin and then its argument prototype would still apply. */ |
| 7082 char jl_fi_dic_list(); | 7178 char jl_fi_dic_list(); |
| 7083 | 7179 |
| 7084 int main() { | 7180 int main() { |
| 7085 jl_fi_dic_list() | 7181 jl_fi_dic_list() |
| 7086 ; return 0; } | 7182 ; return 0; } |
| 7087 EOF | 7183 EOF |
| 7088 if { (eval echo configure:7089: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 7184 if { (eval echo configure:7185: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 7089 rm -rf conftest* | 7185 rm -rf conftest* |
| 7090 eval "ac_cv_lib_$ac_lib_var=yes" | 7186 eval "ac_cv_lib_$ac_lib_var=yes" |
| 7091 else | 7187 else |
| 7092 echo "configure: failed program was:" >&5 | 7188 echo "configure: failed program was:" >&5 |
| 7093 cat conftest.$ac_ext >&5 | 7189 cat conftest.$ac_ext >&5 |
| 7115 | 7211 |
| 7116 fi | 7212 fi |
| 7117 | 7213 |
| 7118 test -z "$with_canna" && { ac_safe=`echo "canna/RK.h" | sed 'y%./+-%__p_%'` | 7214 test -z "$with_canna" && { ac_safe=`echo "canna/RK.h" | sed 'y%./+-%__p_%'` |
| 7119 echo $ac_n "checking for canna/RK.h""... $ac_c" 1>&6 | 7215 echo $ac_n "checking for canna/RK.h""... $ac_c" 1>&6 |
| 7120 echo "configure:7121: checking for canna/RK.h" >&5 | 7216 echo "configure:7217: checking for canna/RK.h" >&5 |
| 7121 | 7217 |
| 7122 cat > conftest.$ac_ext <<EOF | 7218 cat > conftest.$ac_ext <<EOF |
| 7123 #line 7124 "configure" | 7219 #line 7220 "configure" |
| 7124 #include "confdefs.h" | 7220 #include "confdefs.h" |
| 7125 #include <canna/RK.h> | 7221 #include <canna/RK.h> |
| 7126 EOF | 7222 EOF |
| 7127 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7223 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 7128 { (eval echo configure:7129: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7224 { (eval echo configure:7225: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 7129 ac_err=`grep -v '^ *+' conftest.out` | 7225 ac_err=`grep -v '^ *+' conftest.out` |
| 7130 if test -z "$ac_err"; then | 7226 if test -z "$ac_err"; then |
| 7131 rm -rf conftest* | 7227 rm -rf conftest* |
| 7132 eval "ac_cv_header_$ac_safe=yes" | 7228 eval "ac_cv_header_$ac_safe=yes" |
| 7133 else | 7229 else |
| 7146 with_canna=no | 7242 with_canna=no |
| 7147 fi | 7243 fi |
| 7148 } | 7244 } |
| 7149 test -z "$with_canna" && { | 7245 test -z "$with_canna" && { |
| 7150 echo $ac_n "checking for RkBgnBun in -lRKC""... $ac_c" 1>&6 | 7246 echo $ac_n "checking for RkBgnBun in -lRKC""... $ac_c" 1>&6 |
| 7151 echo "configure:7152: checking for RkBgnBun in -lRKC" >&5 | 7247 echo "configure:7248: checking for RkBgnBun in -lRKC" >&5 |
| 7152 ac_lib_var=`echo RKC'_'RkBgnBun | sed 'y%./+-%__p_%'` | 7248 ac_lib_var=`echo RKC'_'RkBgnBun | sed 'y%./+-%__p_%'` |
| 7153 | 7249 |
| 7154 xe_check_libs=" -lRKC " | 7250 xe_check_libs=" -lRKC " |
| 7155 cat > conftest.$ac_ext <<EOF | 7251 cat > conftest.$ac_ext <<EOF |
| 7156 #line 7157 "configure" | 7252 #line 7253 "configure" |
| 7157 #include "confdefs.h" | 7253 #include "confdefs.h" |
| 7158 /* Override any gcc2 internal prototype to avoid an error. */ | 7254 /* Override any gcc2 internal prototype to avoid an error. */ |
| 7159 /* We use char because int might match the return type of a gcc2 | 7255 /* We use char because int might match the return type of a gcc2 |
| 7160 builtin and then its argument prototype would still apply. */ | 7256 builtin and then its argument prototype would still apply. */ |
| 7161 char RkBgnBun(); | 7257 char RkBgnBun(); |
| 7162 | 7258 |
| 7163 int main() { | 7259 int main() { |
| 7164 RkBgnBun() | 7260 RkBgnBun() |
| 7165 ; return 0; } | 7261 ; return 0; } |
| 7166 EOF | 7262 EOF |
| 7167 if { (eval echo configure:7168: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 7263 if { (eval echo configure:7264: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 7168 rm -rf conftest* | 7264 rm -rf conftest* |
| 7169 eval "ac_cv_lib_$ac_lib_var=yes" | 7265 eval "ac_cv_lib_$ac_lib_var=yes" |
| 7170 else | 7266 else |
| 7171 echo "configure: failed program was:" >&5 | 7267 echo "configure: failed program was:" >&5 |
| 7172 cat conftest.$ac_ext >&5 | 7268 cat conftest.$ac_ext >&5 |
| 7185 fi | 7281 fi |
| 7186 | 7282 |
| 7187 } | 7283 } |
| 7188 test -z "$with_canna" && { | 7284 test -z "$with_canna" && { |
| 7189 echo $ac_n "checking for jrKanjiControl in -lcanna""... $ac_c" 1>&6 | 7285 echo $ac_n "checking for jrKanjiControl in -lcanna""... $ac_c" 1>&6 |
| 7190 echo "configure:7191: checking for jrKanjiControl in -lcanna" >&5 | 7286 echo "configure:7287: checking for jrKanjiControl in -lcanna" >&5 |
| 7191 ac_lib_var=`echo canna'_'jrKanjiControl | sed 'y%./+-%__p_%'` | 7287 ac_lib_var=`echo canna'_'jrKanjiControl | sed 'y%./+-%__p_%'` |
| 7192 | 7288 |
| 7193 xe_check_libs=" -lcanna " | 7289 xe_check_libs=" -lcanna " |
| 7194 cat > conftest.$ac_ext <<EOF | 7290 cat > conftest.$ac_ext <<EOF |
| 7195 #line 7196 "configure" | 7291 #line 7292 "configure" |
| 7196 #include "confdefs.h" | 7292 #include "confdefs.h" |
| 7197 /* Override any gcc2 internal prototype to avoid an error. */ | 7293 /* Override any gcc2 internal prototype to avoid an error. */ |
| 7198 /* We use char because int might match the return type of a gcc2 | 7294 /* We use char because int might match the return type of a gcc2 |
| 7199 builtin and then its argument prototype would still apply. */ | 7295 builtin and then its argument prototype would still apply. */ |
| 7200 char jrKanjiControl(); | 7296 char jrKanjiControl(); |
| 7201 | 7297 |
| 7202 int main() { | 7298 int main() { |
| 7203 jrKanjiControl() | 7299 jrKanjiControl() |
| 7204 ; return 0; } | 7300 ; return 0; } |
| 7205 EOF | 7301 EOF |
| 7206 if { (eval echo configure:7207: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 7302 if { (eval echo configure:7303: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 7207 rm -rf conftest* | 7303 rm -rf conftest* |
| 7208 eval "ac_cv_lib_$ac_lib_var=yes" | 7304 eval "ac_cv_lib_$ac_lib_var=yes" |
| 7209 else | 7305 else |
| 7210 echo "configure: failed program was:" >&5 | 7306 echo "configure: failed program was:" >&5 |
| 7211 cat conftest.$ac_ext >&5 | 7307 cat conftest.$ac_ext >&5 |
| 7301 fi | 7397 fi |
| 7302 | 7398 |
| 7303 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 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 |
| 7304 do | 7400 do |
| 7305 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 7401 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
| 7306 echo "configure:7307: checking for $ac_func" >&5 | 7402 echo "configure:7403: checking for $ac_func" >&5 |
| 7307 | 7403 |
| 7308 cat > conftest.$ac_ext <<EOF | 7404 cat > conftest.$ac_ext <<EOF |
| 7309 #line 7310 "configure" | 7405 #line 7406 "configure" |
| 7310 #include "confdefs.h" | 7406 #include "confdefs.h" |
| 7311 /* System header to define __stub macros and hopefully few prototypes, | 7407 /* System header to define __stub macros and hopefully few prototypes, |
| 7312 which can conflict with char $ac_func(); below. */ | 7408 which can conflict with char $ac_func(); below. */ |
| 7313 #include <assert.h> | 7409 #include <assert.h> |
| 7314 /* Override any gcc2 internal prototype to avoid an error. */ | 7410 /* Override any gcc2 internal prototype to avoid an error. */ |
| 7327 $ac_func(); | 7423 $ac_func(); |
| 7328 #endif | 7424 #endif |
| 7329 | 7425 |
| 7330 ; return 0; } | 7426 ; return 0; } |
| 7331 EOF | 7427 EOF |
| 7332 if { (eval echo configure:7333: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 7428 if { (eval echo configure:7429: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 7333 rm -rf conftest* | 7429 rm -rf conftest* |
| 7334 eval "ac_cv_func_$ac_func=yes" | 7430 eval "ac_cv_func_$ac_func=yes" |
| 7335 else | 7431 else |
| 7336 echo "configure: failed program was:" >&5 | 7432 echo "configure: failed program was:" >&5 |
| 7337 cat conftest.$ac_ext >&5 | 7433 cat conftest.$ac_ext >&5 |
| 7364 fi ;; | 7460 fi ;; |
| 7365 * ) | 7461 * ) |
| 7366 for ac_func in realpath | 7462 for ac_func in realpath |
| 7367 do | 7463 do |
| 7368 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 7464 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
| 7369 echo "configure:7370: checking for $ac_func" >&5 | 7465 echo "configure:7466: checking for $ac_func" >&5 |
| 7370 | 7466 |
| 7371 cat > conftest.$ac_ext <<EOF | 7467 cat > conftest.$ac_ext <<EOF |
| 7372 #line 7373 "configure" | 7468 #line 7469 "configure" |
| 7373 #include "confdefs.h" | 7469 #include "confdefs.h" |
| 7374 /* System header to define __stub macros and hopefully few prototypes, | 7470 /* System header to define __stub macros and hopefully few prototypes, |
| 7375 which can conflict with char $ac_func(); below. */ | 7471 which can conflict with char $ac_func(); below. */ |
| 7376 #include <assert.h> | 7472 #include <assert.h> |
| 7377 /* Override any gcc2 internal prototype to avoid an error. */ | 7473 /* Override any gcc2 internal prototype to avoid an error. */ |
| 7390 $ac_func(); | 7486 $ac_func(); |
| 7391 #endif | 7487 #endif |
| 7392 | 7488 |
| 7393 ; return 0; } | 7489 ; return 0; } |
| 7394 EOF | 7490 EOF |
| 7395 if { (eval echo configure:7396: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 7491 if { (eval echo configure:7492: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 7396 rm -rf conftest* | 7492 rm -rf conftest* |
| 7397 eval "ac_cv_func_$ac_func=yes" | 7493 eval "ac_cv_func_$ac_func=yes" |
| 7398 else | 7494 else |
| 7399 echo "configure: failed program was:" >&5 | 7495 echo "configure: failed program was:" >&5 |
| 7400 cat conftest.$ac_ext >&5 | 7496 cat conftest.$ac_ext >&5 |
| 7423 echo " xemacs will be linked with \"realpath.o\"" | 7519 echo " xemacs will be linked with \"realpath.o\"" |
| 7424 fi ;; | 7520 fi ;; |
| 7425 esac | 7521 esac |
| 7426 | 7522 |
| 7427 echo $ac_n "checking whether netdb declares h_errno""... $ac_c" 1>&6 | 7523 echo $ac_n "checking whether netdb declares h_errno""... $ac_c" 1>&6 |
| 7428 echo "configure:7429: checking whether netdb declares h_errno" >&5 | 7524 echo "configure:7525: checking whether netdb declares h_errno" >&5 |
| 7429 cat > conftest.$ac_ext <<EOF | 7525 cat > conftest.$ac_ext <<EOF |
| 7430 #line 7431 "configure" | 7526 #line 7527 "configure" |
| 7431 #include "confdefs.h" | 7527 #include "confdefs.h" |
| 7432 #include <netdb.h> | 7528 #include <netdb.h> |
| 7433 int main() { | 7529 int main() { |
| 7434 return h_errno; | 7530 return h_errno; |
| 7435 ; return 0; } | 7531 ; return 0; } |
| 7436 EOF | 7532 EOF |
| 7437 if { (eval echo configure:7438: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 7533 if { (eval echo configure:7534: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 7438 rm -rf conftest* | 7534 rm -rf conftest* |
| 7439 echo "$ac_t""yes" 1>&6 | 7535 echo "$ac_t""yes" 1>&6 |
| 7440 { test "$extra_verbose" = "yes" && cat << \EOF | 7536 { test "$extra_verbose" = "yes" && cat << \EOF |
| 7441 Defining HAVE_H_ERRNO | 7537 Defining HAVE_H_ERRNO |
| 7442 EOF | 7538 EOF |
| 7452 echo "$ac_t""no" 1>&6 | 7548 echo "$ac_t""no" 1>&6 |
| 7453 fi | 7549 fi |
| 7454 rm -f conftest* | 7550 rm -f conftest* |
| 7455 | 7551 |
| 7456 echo $ac_n "checking for sigsetjmp""... $ac_c" 1>&6 | 7552 echo $ac_n "checking for sigsetjmp""... $ac_c" 1>&6 |
| 7457 echo "configure:7458: checking for sigsetjmp" >&5 | 7553 echo "configure:7554: checking for sigsetjmp" >&5 |
| 7458 cat > conftest.$ac_ext <<EOF | 7554 cat > conftest.$ac_ext <<EOF |
| 7459 #line 7460 "configure" | 7555 #line 7556 "configure" |
| 7460 #include "confdefs.h" | 7556 #include "confdefs.h" |
| 7461 #include <setjmp.h> | 7557 #include <setjmp.h> |
| 7462 int main() { | 7558 int main() { |
| 7463 sigjmp_buf bar; sigsetjmp (bar, 0); | 7559 sigjmp_buf bar; sigsetjmp (bar, 0); |
| 7464 ; return 0; } | 7560 ; return 0; } |
| 7465 EOF | 7561 EOF |
| 7466 if { (eval echo configure:7467: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 7562 if { (eval echo configure:7563: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| 7467 rm -rf conftest* | 7563 rm -rf conftest* |
| 7468 echo "$ac_t""yes" 1>&6 | 7564 echo "$ac_t""yes" 1>&6 |
| 7469 { test "$extra_verbose" = "yes" && cat << \EOF | 7565 { test "$extra_verbose" = "yes" && cat << \EOF |
| 7470 Defining HAVE_SIGSETJMP | 7566 Defining HAVE_SIGSETJMP |
| 7471 EOF | 7567 EOF |
| 7481 echo "$ac_t""no" 1>&6 | 7577 echo "$ac_t""no" 1>&6 |
| 7482 fi | 7578 fi |
| 7483 rm -f conftest* | 7579 rm -f conftest* |
| 7484 | 7580 |
| 7485 echo $ac_n "checking whether localtime caches TZ""... $ac_c" 1>&6 | 7581 echo $ac_n "checking whether localtime caches TZ""... $ac_c" 1>&6 |
| 7486 echo "configure:7487: checking whether localtime caches TZ" >&5 | 7582 echo "configure:7583: checking whether localtime caches TZ" >&5 |
| 7487 | 7583 |
| 7488 if test "$ac_cv_func_tzset" = "yes"; then | 7584 if test "$ac_cv_func_tzset" = "yes"; then |
| 7489 cat > conftest.$ac_ext <<EOF | 7585 cat > conftest.$ac_ext <<EOF |
| 7490 #line 7491 "configure" | 7586 #line 7587 "configure" |
| 7491 #include "confdefs.h" | 7587 #include "confdefs.h" |
| 7492 #include <time.h> | 7588 #include <time.h> |
| 7493 #if STDC_HEADERS | 7589 #if STDC_HEADERS |
| 7494 # include <stdlib.h> | 7590 # include <stdlib.h> |
| 7495 #endif | 7591 #endif |
| 7520 if (localtime (&now)->tm_hour != hour_unset) | 7616 if (localtime (&now)->tm_hour != hour_unset) |
| 7521 exit (1); | 7617 exit (1); |
| 7522 exit (0); | 7618 exit (0); |
| 7523 } | 7619 } |
| 7524 EOF | 7620 EOF |
| 7525 if { (eval echo configure:7526: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 | 7621 if { (eval echo configure:7622: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 |
| 7526 then | 7622 then |
| 7527 emacs_cv_localtime_cache=no | 7623 emacs_cv_localtime_cache=no |
| 7528 else | 7624 else |
| 7529 echo "configure: failed program was:" >&5 | 7625 echo "configure: failed program was:" >&5 |
| 7530 cat conftest.$ac_ext >&5 | 7626 cat conftest.$ac_ext >&5 |
| 7549 | 7645 |
| 7550 fi | 7646 fi |
| 7551 | 7647 |
| 7552 if test "$HAVE_TIMEVAL" = "yes"; then | 7648 if test "$HAVE_TIMEVAL" = "yes"; then |
| 7553 echo $ac_n "checking whether gettimeofday cannot accept two arguments""... $ac_c" 1>&6 | 7649 echo $ac_n "checking whether gettimeofday cannot accept two arguments""... $ac_c" 1>&6 |
| 7554 echo "configure:7555: checking whether gettimeofday cannot accept two arguments" >&5 | 7650 echo "configure:7651: checking whether gettimeofday cannot accept two arguments" >&5 |
| 7555 cat > conftest.$ac_ext <<EOF | 7651 cat > conftest.$ac_ext <<EOF |
| 7556 #line 7557 "configure" | 7652 #line 7653 "configure" |
| 7557 #include "confdefs.h" | 7653 #include "confdefs.h" |
| 7558 | 7654 |
| 7559 #ifdef TIME_WITH_SYS_TIME | 7655 #ifdef TIME_WITH_SYS_TIME |
| 7560 #include <sys/time.h> | 7656 #include <sys/time.h> |
| 7561 #include <time.h> | 7657 #include <time.h> |
| 7573 struct timezone dummy; | 7669 struct timezone dummy; |
| 7574 gettimeofday (&time, &dummy); | 7670 gettimeofday (&time, &dummy); |
| 7575 | 7671 |
| 7576 ; return 0; } | 7672 ; return 0; } |
| 7577 EOF | 7673 EOF |
| 7578 if { (eval echo configure:7579: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 7674 if { (eval echo configure:7675: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 7579 rm -rf conftest* | 7675 rm -rf conftest* |
| 7580 echo "$ac_t""no" 1>&6 | 7676 echo "$ac_t""no" 1>&6 |
| 7581 else | 7677 else |
| 7582 echo "configure: failed program was:" >&5 | 7678 echo "configure: failed program was:" >&5 |
| 7583 cat conftest.$ac_ext >&5 | 7679 cat conftest.$ac_ext >&5 |
| 7595 rm -f conftest* | 7691 rm -f conftest* |
| 7596 fi | 7692 fi |
| 7597 | 7693 |
| 7598 | 7694 |
| 7599 echo $ac_n "checking for inline""... $ac_c" 1>&6 | 7695 echo $ac_n "checking for inline""... $ac_c" 1>&6 |
| 7600 echo "configure:7601: checking for inline" >&5 | 7696 echo "configure:7697: checking for inline" >&5 |
| 7601 | 7697 |
| 7602 ac_cv_c_inline=no | 7698 ac_cv_c_inline=no |
| 7603 for ac_kw in inline __inline__ __inline; do | 7699 for ac_kw in inline __inline__ __inline; do |
| 7604 cat > conftest.$ac_ext <<EOF | 7700 cat > conftest.$ac_ext <<EOF |
| 7605 #line 7606 "configure" | 7701 #line 7702 "configure" |
| 7606 #include "confdefs.h" | 7702 #include "confdefs.h" |
| 7607 | 7703 |
| 7608 int main() { | 7704 int main() { |
| 7609 } $ac_kw foo() { | 7705 } $ac_kw foo() { |
| 7610 ; return 0; } | 7706 ; return 0; } |
| 7611 EOF | 7707 EOF |
| 7612 if { (eval echo configure:7613: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 7708 if { (eval echo configure:7709: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| 7613 rm -rf conftest* | 7709 rm -rf conftest* |
| 7614 ac_cv_c_inline=$ac_kw; break | 7710 ac_cv_c_inline=$ac_kw; break |
| 7615 else | 7711 else |
| 7616 echo "configure: failed program was:" >&5 | 7712 echo "configure: failed program was:" >&5 |
| 7617 cat conftest.$ac_ext >&5 | 7713 cat conftest.$ac_ext >&5 |
| 7653 test "$GCC" = "yes" && extra_objs="$extra_objs inline.o" && if test "$extra_verbose" = "yes"; then | 7749 test "$GCC" = "yes" && extra_objs="$extra_objs inline.o" && if test "$extra_verbose" = "yes"; then |
| 7654 echo " xemacs will be linked with \"inline.o\"" | 7750 echo " xemacs will be linked with \"inline.o\"" |
| 7655 fi | 7751 fi |
| 7656 fi | 7752 fi |
| 7657 | 7753 |
| 7658 case "$opsys" in hpux* ) | |
| 7659 echo $ac_n "checking for alloca""... $ac_c" 1>&6 | |
| 7660 echo "configure:7661: checking for alloca" >&5 | |
| 7661 | |
| 7662 cat > conftest.$ac_ext <<EOF | |
| 7663 #line 7664 "configure" | |
| 7664 #include "confdefs.h" | |
| 7665 /* System header to define __stub macros and hopefully few prototypes, | |
| 7666 which can conflict with char alloca(); below. */ | |
| 7667 #include <assert.h> | |
| 7668 /* Override any gcc2 internal prototype to avoid an error. */ | |
| 7669 /* We use char because int might match the return type of a gcc2 | |
| 7670 builtin and then its argument prototype would still apply. */ | |
| 7671 char alloca(); | |
| 7672 | |
| 7673 int main() { | |
| 7674 | |
| 7675 /* The GNU C library defines this for functions which it implements | |
| 7676 to always fail with ENOSYS. Some functions are actually named | |
| 7677 something starting with __ and the normal name is an alias. */ | |
| 7678 #if defined (__stub_alloca) || defined (__stub___alloca) | |
| 7679 choke me | |
| 7680 #else | |
| 7681 alloca(); | |
| 7682 #endif | |
| 7683 | |
| 7684 ; return 0; } | |
| 7685 EOF | |
| 7686 if { (eval echo configure:7687: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | |
| 7687 rm -rf conftest* | |
| 7688 eval "ac_cv_func_alloca=yes" | |
| 7689 else | |
| 7690 echo "configure: failed program was:" >&5 | |
| 7691 cat conftest.$ac_ext >&5 | |
| 7692 rm -rf conftest* | |
| 7693 eval "ac_cv_func_alloca=no" | |
| 7694 fi | |
| 7695 rm -f conftest* | |
| 7696 | |
| 7697 if eval "test \"`echo '$ac_cv_func_'alloca`\" = yes"; then | |
| 7698 echo "$ac_t""yes" 1>&6 | |
| 7699 : | |
| 7700 else | |
| 7701 echo "$ac_t""no" 1>&6 | |
| 7702 | |
| 7703 echo $ac_n "checking for alloca in -lPW""... $ac_c" 1>&6 | |
| 7704 echo "configure:7705: checking for alloca in -lPW" >&5 | |
| 7705 ac_lib_var=`echo PW'_'alloca | sed 'y%./+-%__p_%'` | |
| 7706 | |
| 7707 xe_check_libs=" -lPW " | |
| 7708 cat > conftest.$ac_ext <<EOF | |
| 7709 #line 7710 "configure" | |
| 7710 #include "confdefs.h" | |
| 7711 /* Override any gcc2 internal prototype to avoid an error. */ | |
| 7712 /* We use char because int might match the return type of a gcc2 | |
| 7713 builtin and then its argument prototype would still apply. */ | |
| 7714 char alloca(); | |
| 7715 | |
| 7716 int main() { | |
| 7717 alloca() | |
| 7718 ; return 0; } | |
| 7719 EOF | |
| 7720 if { (eval echo configure:7721: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | |
| 7721 rm -rf conftest* | |
| 7722 eval "ac_cv_lib_$ac_lib_var=yes" | |
| 7723 else | |
| 7724 echo "configure: failed program was:" >&5 | |
| 7725 cat conftest.$ac_ext >&5 | |
| 7726 rm -rf conftest* | |
| 7727 eval "ac_cv_lib_$ac_lib_var=no" | |
| 7728 fi | |
| 7729 rm -f conftest* | |
| 7730 xe_check_libs="" | |
| 7731 | |
| 7732 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes" ; then | |
| 7733 echo "$ac_t""yes" 1>&6 | |
| 7734 ac_tr_lib=HAVE_LIB`echo PW | sed -e 's/[^a-zA-Z0-9_]/_/g' \ | |
| 7735 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'` | |
| 7736 { test "$extra_verbose" = "yes" && cat << EOF | |
| 7737 Defining $ac_tr_lib | |
| 7738 EOF | |
| 7739 cat >> confdefs.h <<EOF | |
| 7740 #define $ac_tr_lib 1 | |
| 7741 EOF | |
| 7742 } | |
| 7743 | |
| 7744 LIBS="-lPW $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lPW\" to \$LIBS"; fi | |
| 7745 | |
| 7746 else | |
| 7747 echo "$ac_t""no" 1>&6 | |
| 7748 fi | |
| 7749 | |
| 7750 | |
| 7751 fi | |
| 7752 | |
| 7753 esac | |
| 7754 | 7754 |
| 7755 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works | 7755 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works |
| 7756 # for constant arguments. Useless! | 7756 # for constant arguments. Useless! |
| 7757 echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6 | 7757 echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6 |
| 7758 echo "configure:7759: checking for working alloca.h" >&5 | 7758 echo "configure:7759: checking for working alloca.h" >&5 |
| 10261 cat >> confdefs.h <<\EOF | 10261 cat >> confdefs.h <<\EOF |
| 10262 #define USE_SYSTEM_MALLOC 1 | 10262 #define USE_SYSTEM_MALLOC 1 |
| 10263 EOF | 10263 EOF |
| 10264 } | 10264 } |
| 10265 | 10265 |
| 10266 elif test "$use_debug_malloc" = "yes"; then { test "$extra_verbose" = "yes" && cat << \EOF | |
| 10267 Defining USE_DEBUG_MALLOC | |
| 10268 EOF | |
| 10269 cat >> confdefs.h <<\EOF | |
| 10270 #define USE_DEBUG_MALLOC 1 | |
| 10271 EOF | |
| 10272 } | |
| 10273 | |
| 10274 { test "$extra_verbose" = "yes" && cat << \EOF | |
| 10275 Defining USE_SYSTEM_MALLOC | |
| 10276 EOF | |
| 10277 cat >> confdefs.h <<\EOF | |
| 10278 #define USE_SYSTEM_MALLOC 1 | |
| 10279 EOF | |
| 10280 } | |
| 10281 | |
| 10266 fi | 10282 fi |
| 10267 test "$with_i18n3" = "yes" && { test "$extra_verbose" = "yes" && cat << \EOF | 10283 test "$with_i18n3" = "yes" && { test "$extra_verbose" = "yes" && cat << \EOF |
| 10268 Defining I18N3 | 10284 Defining I18N3 |
| 10269 EOF | 10285 EOF |
| 10270 cat >> confdefs.h <<\EOF | 10286 cat >> confdefs.h <<\EOF |
| 10436 | 10452 |
| 10437 test "$with_mule" = yes && echo " Compiling in Mule (multi-lingual) support." | 10453 test "$with_mule" = yes && echo " Compiling in Mule (multi-lingual) support." |
| 10438 test "$with_xim" != no && echo " Compiling in XIM (X11R5+ I18N input method) support." | 10454 test "$with_xim" != no && echo " Compiling in XIM (X11R5+ I18N input method) support." |
| 10439 test "$with_xim" = motif && echo " Using Motif to provide XIM support." | 10455 test "$with_xim" = motif && echo " Using Motif to provide XIM support." |
| 10440 test "$with_xim" = xlib && echo " Using raw Xlib to provide XIM support." | 10456 test "$with_xim" = xlib && echo " Using raw Xlib to provide XIM support." |
| 10457 test "$with_xfs" = yes && echo " Using XFontSet to provide bilingual menubar." | |
| 10441 test "$with_canna" = yes && echo " Compiling in support for Canna on Mule." | 10458 test "$with_canna" = yes && echo " Compiling in support for Canna on Mule." |
| 10442 if test "$with_wnn" = yes; then | 10459 if test "$with_wnn" = yes; then |
| 10443 echo " Compiling in support for the WNN input method on Mule." | 10460 echo " Compiling in support for the WNN input method on Mule." |
| 10444 test "$with_wnn6" = yes && echo " Using WNN version 6." | 10461 test "$with_wnn6" = yes && echo " Using WNN version 6." |
| 10445 fi | 10462 fi |
| 10448 test "$with_cde" = yes && echo " Compiling in support for CDE." | 10465 test "$with_cde" = yes && echo " Compiling in support for CDE." |
| 10449 test "$with_tooltalk" = yes && echo " Compiling in support for ToolTalk." | 10466 test "$with_tooltalk" = yes && echo " Compiling in support for ToolTalk." |
| 10450 test "$with_offix" = yes && echo " Compiling in support for OffiX." | 10467 test "$with_offix" = yes && echo " Compiling in support for OffiX." |
| 10451 test "$with_workshop" = yes && echo " Compiling in support for Sun WorkShop." | 10468 test "$with_workshop" = yes && echo " Compiling in support for Sun WorkShop." |
| 10452 test "$with_energize" = yes && echo " Compiling in support for Lucid Energize (doesn't currently work)." | 10469 test "$with_energize" = yes && echo " Compiling in support for Lucid Energize (doesn't currently work)." |
| 10470 test "$with_wm" = yes && echo " Compiling in support for WindowMaker." | |
| 10453 case "$with_menubars" in | 10471 case "$with_menubars" in |
| 10454 lucid ) echo " Using Lucid menubars." ;; | 10472 lucid ) echo " Using Lucid menubars." ;; |
| 10455 motif ) echo " Using Motif menubars." | 10473 motif ) echo " Using Motif menubars." |
| 10456 echo " *WARNING* The Motif menubar implementation is currently buggy." | 10474 echo " *WARNING* The Motif menubar implementation is currently buggy." |
| 10457 echo " We recommend using the Lucid menubar instead." | 10475 echo " We recommend using the Lucid menubar instead." |
