Mercurial > hg > xemacs-beta
comparison configure @ 284:558f606b08ae r21-0b40
Import from CVS: tag r21-0b40
| author | cvs |
|---|---|
| date | Mon, 13 Aug 2007 10:34:13 +0200 |
| parents | c42ec1d1cded |
| children | 57709be46d1b |
comparison
equal
deleted
inserted
replaced
| 283:fa3d41851a08 | 284:558f606b08ae |
|---|---|
| 41 ### If configure fails after disturbing the status quo, | 41 ### If configure fails after disturbing the status quo, |
| 42 ### config.status is removed. | 42 ### config.status is removed. |
| 43 | 43 |
| 44 ac_help="$ac_help | 44 ac_help="$ac_help |
| 45 --with-x use the X Window System" | 45 --with-x use the X Window System" |
| 46 | |
| 47 | |
| 48 | |
| 49 if test -n "$ZSH_VERSION"; then | |
| 50 setopt NO_BAD_PATTERN NO_BANG_HIST NO_BG_NICE NO_EQUALS NO_FUNCTION_ARGZERO | |
| 51 setopt GLOB_SUBST NO_HUP INTERACTIVE_COMMENTS KSH_ARRAYS NO_MULTIOS NO_NOMATCH | |
| 52 setopt RM_STAR_SILENT POSIX_BUILTINS SH_FILE_EXPANSION SH_GLOB SH_OPTION_LETTERS | |
| 53 setopt SH_WORD_SPLIT BSD_ECHO IGNORE_BRACES | |
| 54 if test -n "$CDPATH"; then CDPATH="."; export CDPATH; fi | |
| 55 elif test -n "$BASH_VERSION"; then | |
| 56 set -o posix | |
| 57 unset CDPATH | |
| 58 else | |
| 59 if test -n "$CDPATH"; then CDPATH="."; export CDPATH; fi | |
| 60 fi | |
| 46 | 61 |
| 47 exec_prefix=NONE | 62 exec_prefix=NONE |
| 48 host=NONE | 63 host=NONE |
| 49 no_create= | 64 no_create= |
| 50 nonopt=NONE | 65 nonopt=NONE |
| 58 srcdir= | 73 srcdir= |
| 59 target=NONE | 74 target=NONE |
| 60 verbose= | 75 verbose= |
| 61 x_includes=NONE | 76 x_includes=NONE |
| 62 x_libraries=NONE | 77 x_libraries=NONE |
| 63 CDPATH=.; export CDPATH | |
| 64 | |
| 65 if test -n "$ZSH_VERSION"; then | |
| 66 setopt NO_BAD_PATTERN NO_BANG_HIST NO_BG_NICE NO_EQUALS NO_FUNCTION_ARGZERO | |
| 67 setopt GLOB_SUBST NO_HUP INTERACTIVE_COMMENTS KSH_ARRAYS NO_MULTIOS NO_NOMATCH | |
| 68 setopt RM_STAR_SILENT POSIX_BUILTINS SH_FILE_EXPANSION SH_GLOB SH_OPTION_LETTERS | |
| 69 setopt SH_WORD_SPLIT BSD_ECHO IGNORE_BRACES | |
| 70 fi | |
| 71 | 78 |
| 72 bindir='${exec_prefix}/bin' | 79 bindir='${exec_prefix}/bin' |
| 73 sbindir='${exec_prefix}/sbin' | 80 sbindir='${exec_prefix}/sbin' |
| 74 libexecdir='${exec_prefix}/libexec' | 81 libexecdir='${exec_prefix}/libexec' |
| 75 datadir='${prefix}/share' | 82 datadir='${prefix}/share' |
| 690 use_indexed_lrecord_implementation="$gung_ho" | 697 use_indexed_lrecord_implementation="$gung_ho" |
| 691 fi | 698 fi |
| 692 if test "$use_minimal_tagbits" = "no"; then | 699 if test "$use_minimal_tagbits" = "no"; then |
| 693 test "$with_dlmalloc" = "yes" && \ | 700 test "$with_dlmalloc" = "yes" && \ |
| 694 (echo "$progname: Usage error:" | 701 (echo "$progname: Usage error:" |
| 695 echo " " --with-dlmalloc=yes requires --use-minimal-tagbits=yes | 702 echo " " "--with-dlmalloc requires --use-minimal-tagbits" |
| 696 echo " Use \`$progname --help' to show usage.") >&2 && exit 1 | 703 echo " Use \`$progname --help' to show usage.") >&2 && exit 1 |
| 697 with_dlmalloc=no | 704 with_dlmalloc=no |
| 698 fi | 705 fi |
| 706 | |
| 707 | |
| 708 | |
| 709 if test "$with_cde $with_tooltalk" = "yes no"; then | |
| 710 (echo "$progname: Usage error:" | |
| 711 echo " " "--with-cde requires --with-tooltalk" | |
| 712 echo " Use \`$progname --help' to show usage.") >&2 && exit 1 | |
| 713 elif test "$with_tooltalk" = "no" ; then with_cde=no | |
| 714 elif test "$with_cde" = "yes"; then with_tooltalk=yes | |
| 715 fi | |
| 716 | |
| 699 | 717 |
| 700 if test "$run_in_place" = "yes"; then | 718 if test "$run_in_place" = "yes"; then |
| 701 echo "configure: warning: "The --run-in-place option is ignored because it is unnecessary."" 1>&2 | 719 echo "configure: warning: "The --run-in-place option is ignored because it is unnecessary."" 1>&2 |
| 702 fi | 720 fi |
| 703 | 721 |
| 735 ;; | 753 ;; |
| 736 esac | 754 esac |
| 737 | 755 |
| 738 if test -z "$configuration"; then | 756 if test -z "$configuration"; then |
| 739 echo $ac_n "checking "host system type"""... $ac_c" 1>&6 | 757 echo $ac_n "checking "host system type"""... $ac_c" 1>&6 |
| 740 echo "configure:741: checking "host system type"" >&5 | 758 echo "configure:759: checking "host system type"" >&5 |
| 741 if configuration=`${CONFIG_SHELL-/bin/sh} $srcdir/config.guess | \ | 759 if configuration=`${CONFIG_SHELL-/bin/sh} $srcdir/config.guess | \ |
| 742 sed 's/^\([^-][^-]*-[^-][^-]*-[^-][^-]*\)-.*$/\1/'` ; then | 760 sed 's/^\([^-][^-]*-[^-][^-]*-[^-][^-]*\)-.*$/\1/'` ; then |
| 743 echo "$ac_t""$configuration" 1>&6 | 761 echo "$ac_t""$configuration" 1>&6 |
| 744 else | 762 else |
| 745 echo "$ac_t""unknown" 1>&6 | 763 echo "$ac_t""unknown" 1>&6 |
| 749 echo " Use \`$progname --help' to show usage.") >&2 && exit 1 | 767 echo " Use \`$progname --help' to show usage.") >&2 && exit 1 |
| 750 fi | 768 fi |
| 751 fi | 769 fi |
| 752 | 770 |
| 753 echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6 | 771 echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6 |
| 754 echo "configure:755: checking whether ln -s works" >&5 | 772 echo "configure:773: checking whether ln -s works" >&5 |
| 755 | 773 |
| 756 rm -f conftestdata | 774 rm -f conftestdata |
| 757 if ln -s X conftestdata 2>/dev/null | 775 if ln -s X conftestdata 2>/dev/null |
| 758 then | 776 then |
| 759 rm -f conftestdata | 777 rm -f conftestdata |
| 965 } | 983 } |
| 966 | 984 |
| 967 | 985 |
| 968 | 986 |
| 969 echo "checking "the configuration name"" 1>&6 | 987 echo "checking "the configuration name"" 1>&6 |
| 970 echo "configure:971: checking "the configuration name"" >&5 | 988 echo "configure:989: checking "the configuration name"" >&5 |
| 971 internal_configuration=`echo $configuration | sed 's/-\(workshop\)//'` | 989 internal_configuration=`echo $configuration | sed 's/-\(workshop\)//'` |
| 972 if canonical=`$srcdir/config.sub "$internal_configuration"` ; then : ; else | 990 if canonical=`$srcdir/config.sub "$internal_configuration"` ; then : ; else |
| 973 exit $? | 991 exit $? |
| 974 fi | 992 fi |
| 975 | 993 |
| 1385 machfile="m/${machine}.h" | 1403 machfile="m/${machine}.h" |
| 1386 opsysfile="s/${opsys}.h" | 1404 opsysfile="s/${opsys}.h" |
| 1387 | 1405 |
| 1388 | 1406 |
| 1389 test "$with_sparcworks" = "yes" && with_workshop=yes # compatibility alias | 1407 test "$with_sparcworks" = "yes" && with_workshop=yes # compatibility alias |
| 1408 if test "$with_workshop $with_tooltalk" = "yes no"; then | |
| 1409 (echo "$progname: Usage error:" | |
| 1410 echo " " "--with-workshop requires --with-tooltalk" | |
| 1411 echo " Use \`$progname --help' to show usage.") >&2 && exit 1 | |
| 1412 elif test "$with_tooltalk" = "no" ; then with_workshop=no | |
| 1413 elif test "$with_workshop" = "yes"; then with_tooltalk=yes | |
| 1414 fi | |
| 1415 | |
| 1390 if test "$with_workshop" = "yes"; then | 1416 if test "$with_workshop" = "yes"; then |
| 1391 { test "$extra_verbose" = "yes" && cat << \EOF | 1417 { test "$extra_verbose" = "yes" && cat << \EOF |
| 1392 Defining SUNPRO | 1418 Defining SUNPRO |
| 1393 EOF | 1419 EOF |
| 1394 cat >> confdefs.h <<\EOF | 1420 cat >> confdefs.h <<\EOF |
| 1397 } | 1423 } |
| 1398 | 1424 |
| 1399 extra_objs="$extra_objs sunpro.o" && if test "$extra_verbose" = "yes"; then | 1425 extra_objs="$extra_objs sunpro.o" && if test "$extra_verbose" = "yes"; then |
| 1400 echo " xemacs will be linked with \"sunpro.o\"" | 1426 echo " xemacs will be linked with \"sunpro.o\"" |
| 1401 fi | 1427 fi |
| 1402 with_tooltalk=yes | |
| 1403 fi | 1428 fi |
| 1404 | 1429 |
| 1405 if test "$with_clash_detection" = "yes"; then | 1430 if test "$with_clash_detection" = "yes"; then |
| 1406 { test "$extra_verbose" = "yes" && cat << \EOF | 1431 { test "$extra_verbose" = "yes" && cat << \EOF |
| 1407 Defining CLASH_DETECTION | 1432 Defining CLASH_DETECTION |
| 1429 xe_save_CFLAGS="$CFLAGS" | 1454 xe_save_CFLAGS="$CFLAGS" |
| 1430 | 1455 |
| 1431 # Extract the first word of "gcc", so it can be a program name with args. | 1456 # Extract the first word of "gcc", so it can be a program name with args. |
| 1432 set dummy gcc; ac_word=$2 | 1457 set dummy gcc; ac_word=$2 |
| 1433 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 1458 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
| 1434 echo "configure:1435: checking for $ac_word" >&5 | 1459 echo "configure:1460: checking for $ac_word" >&5 |
| 1435 | 1460 |
| 1436 if test -n "$CC"; then | 1461 if test -n "$CC"; then |
| 1437 ac_cv_prog_CC="$CC" # Let the user override the test. | 1462 ac_cv_prog_CC="$CC" # Let the user override the test. |
| 1438 else | 1463 else |
| 1439 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" | 1464 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" |
| 1455 | 1480 |
| 1456 if test -z "$CC"; then | 1481 if test -z "$CC"; then |
| 1457 # Extract the first word of "cc", so it can be a program name with args. | 1482 # Extract the first word of "cc", so it can be a program name with args. |
| 1458 set dummy cc; ac_word=$2 | 1483 set dummy cc; ac_word=$2 |
| 1459 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 1484 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
| 1460 echo "configure:1461: checking for $ac_word" >&5 | 1485 echo "configure:1486: checking for $ac_word" >&5 |
| 1461 | 1486 |
| 1462 if test -n "$CC"; then | 1487 if test -n "$CC"; then |
| 1463 ac_cv_prog_CC="$CC" # Let the user override the test. | 1488 ac_cv_prog_CC="$CC" # Let the user override the test. |
| 1464 else | 1489 else |
| 1465 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" | 1490 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" |
| 1500 | 1525 |
| 1501 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } | 1526 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } |
| 1502 fi | 1527 fi |
| 1503 | 1528 |
| 1504 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 | 1529 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 |
| 1505 echo "configure:1506: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 | 1530 echo "configure:1531: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 |
| 1506 | 1531 |
| 1507 ac_ext=c | 1532 ac_ext=c |
| 1508 xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS' | 1533 xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS' |
| 1509 xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_switch_x_site $ld_switch_run' | 1534 xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_switch_x_site $ld_switch_run' |
| 1510 xe_libs='$ld_call_shared $xe_check_libs $X_EXTRA_LIBS $libs_x $X_PRE_LIBS $LIBS $libs_machine $libs_system $libs_standard' | 1535 xe_libs='$ld_call_shared $xe_check_libs $X_EXTRA_LIBS $libs_x $X_PRE_LIBS $LIBS $libs_machine $libs_system $libs_standard' |
| 1512 ac_compile='${CC-cc} -c $CFLAGS '"$xe_cppflags"' conftest.$ac_ext 1>&5' | 1537 ac_compile='${CC-cc} -c $CFLAGS '"$xe_cppflags"' conftest.$ac_ext 1>&5' |
| 1513 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' | 1538 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' |
| 1514 cross_compiling=no | 1539 cross_compiling=no |
| 1515 | 1540 |
| 1516 cat > conftest.$ac_ext <<EOF | 1541 cat > conftest.$ac_ext <<EOF |
| 1517 #line 1518 "configure" | 1542 #line 1543 "configure" |
| 1518 #include "confdefs.h" | 1543 #include "confdefs.h" |
| 1519 main(){return(0);} | 1544 main(){return(0);} |
| 1520 EOF | 1545 EOF |
| 1521 if { (eval echo configure:1522: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 1546 if { (eval echo configure:1547: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 1522 ac_cv_prog_cc_works=yes | 1547 ac_cv_prog_cc_works=yes |
| 1523 # If we can't run a trivial program, we are probably using a cross compiler. | 1548 # If we can't run a trivial program, we are probably using a cross compiler. |
| 1524 if (./conftest; exit) 2>/dev/null; then | 1549 if (./conftest; exit) 2>/dev/null; then |
| 1525 ac_cv_prog_cc_cross=no | 1550 ac_cv_prog_cc_cross=no |
| 1526 else | 1551 else |
| 1536 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 | 1561 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 |
| 1537 if test $ac_cv_prog_cc_works = no; then | 1562 if test $ac_cv_prog_cc_works = no; then |
| 1538 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } | 1563 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } |
| 1539 fi | 1564 fi |
| 1540 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 | 1565 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 |
| 1541 echo "configure:1542: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 | 1566 echo "configure:1567: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 |
| 1542 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 | 1567 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 |
| 1543 cross_compiling=$ac_cv_prog_cc_cross | 1568 cross_compiling=$ac_cv_prog_cc_cross |
| 1544 | 1569 |
| 1545 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 | 1570 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 |
| 1546 echo "configure:1547: checking whether we are using GNU C" >&5 | 1571 echo "configure:1572: checking whether we are using GNU C" >&5 |
| 1547 | 1572 |
| 1548 cat > conftest.c <<EOF | 1573 cat > conftest.c <<EOF |
| 1549 #ifdef __GNUC__ | 1574 #ifdef __GNUC__ |
| 1550 yes; | 1575 yes; |
| 1551 #endif | 1576 #endif |
| 1552 EOF | 1577 EOF |
| 1553 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1554: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then | 1578 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1579: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then |
| 1554 ac_cv_prog_gcc=yes | 1579 ac_cv_prog_gcc=yes |
| 1555 else | 1580 else |
| 1556 ac_cv_prog_gcc=no | 1581 ac_cv_prog_gcc=no |
| 1557 fi | 1582 fi |
| 1558 | 1583 |
| 1562 GCC=yes | 1587 GCC=yes |
| 1563 ac_test_CFLAGS="${CFLAGS+set}" | 1588 ac_test_CFLAGS="${CFLAGS+set}" |
| 1564 ac_save_CFLAGS="$CFLAGS" | 1589 ac_save_CFLAGS="$CFLAGS" |
| 1565 CFLAGS= | 1590 CFLAGS= |
| 1566 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 | 1591 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 |
| 1567 echo "configure:1568: checking whether ${CC-cc} accepts -g" >&5 | 1592 echo "configure:1593: checking whether ${CC-cc} accepts -g" >&5 |
| 1568 | 1593 |
| 1569 echo 'void f(){}' > conftest.c | 1594 echo 'void f(){}' > conftest.c |
| 1570 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then | 1595 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then |
| 1571 ac_cv_prog_cc_g=yes | 1596 ac_cv_prog_cc_g=yes |
| 1572 else | 1597 else |
| 1591 if test "$with_gcc" = "no" -a "$GCC" = "yes"; then | 1616 if test "$with_gcc" = "no" -a "$GCC" = "yes"; then |
| 1592 CC=${NON_GNU_CC-cc} | 1617 CC=${NON_GNU_CC-cc} |
| 1593 # Extract the first word of "gcc", so it can be a program name with args. | 1618 # Extract the first word of "gcc", so it can be a program name with args. |
| 1594 set dummy gcc; ac_word=$2 | 1619 set dummy gcc; ac_word=$2 |
| 1595 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 1620 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
| 1596 echo "configure:1597: checking for $ac_word" >&5 | 1621 echo "configure:1622: checking for $ac_word" >&5 |
| 1597 | 1622 |
| 1598 if test -n "$CC"; then | 1623 if test -n "$CC"; then |
| 1599 ac_cv_prog_CC="$CC" # Let the user override the test. | 1624 ac_cv_prog_CC="$CC" # Let the user override the test. |
| 1600 else | 1625 else |
| 1601 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" | 1626 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" |
| 1617 | 1642 |
| 1618 if test -z "$CC"; then | 1643 if test -z "$CC"; then |
| 1619 # Extract the first word of "cc", so it can be a program name with args. | 1644 # Extract the first word of "cc", so it can be a program name with args. |
| 1620 set dummy cc; ac_word=$2 | 1645 set dummy cc; ac_word=$2 |
| 1621 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 1646 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
| 1622 echo "configure:1623: checking for $ac_word" >&5 | 1647 echo "configure:1648: checking for $ac_word" >&5 |
| 1623 | 1648 |
| 1624 if test -n "$CC"; then | 1649 if test -n "$CC"; then |
| 1625 ac_cv_prog_CC="$CC" # Let the user override the test. | 1650 ac_cv_prog_CC="$CC" # Let the user override the test. |
| 1626 else | 1651 else |
| 1627 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" | 1652 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" |
| 1662 | 1687 |
| 1663 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } | 1688 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } |
| 1664 fi | 1689 fi |
| 1665 | 1690 |
| 1666 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 | 1691 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 |
| 1667 echo "configure:1668: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 | 1692 echo "configure:1693: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 |
| 1668 | 1693 |
| 1669 ac_ext=c | 1694 ac_ext=c |
| 1670 xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS' | 1695 xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS' |
| 1671 xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_switch_x_site $ld_switch_run' | 1696 xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_switch_x_site $ld_switch_run' |
| 1672 xe_libs='$ld_call_shared $xe_check_libs $X_EXTRA_LIBS $libs_x $X_PRE_LIBS $LIBS $libs_machine $libs_system $libs_standard' | 1697 xe_libs='$ld_call_shared $xe_check_libs $X_EXTRA_LIBS $libs_x $X_PRE_LIBS $LIBS $libs_machine $libs_system $libs_standard' |
| 1674 ac_compile='${CC-cc} -c $CFLAGS '"$xe_cppflags"' conftest.$ac_ext 1>&5' | 1699 ac_compile='${CC-cc} -c $CFLAGS '"$xe_cppflags"' conftest.$ac_ext 1>&5' |
| 1675 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' | 1700 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' |
| 1676 cross_compiling=no | 1701 cross_compiling=no |
| 1677 | 1702 |
| 1678 cat > conftest.$ac_ext <<EOF | 1703 cat > conftest.$ac_ext <<EOF |
| 1679 #line 1680 "configure" | 1704 #line 1705 "configure" |
| 1680 #include "confdefs.h" | 1705 #include "confdefs.h" |
| 1681 main(){return(0);} | 1706 main(){return(0);} |
| 1682 EOF | 1707 EOF |
| 1683 if { (eval echo configure:1684: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 1708 if { (eval echo configure:1709: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 1684 ac_cv_prog_cc_works=yes | 1709 ac_cv_prog_cc_works=yes |
| 1685 # If we can't run a trivial program, we are probably using a cross compiler. | 1710 # If we can't run a trivial program, we are probably using a cross compiler. |
| 1686 if (./conftest; exit) 2>/dev/null; then | 1711 if (./conftest; exit) 2>/dev/null; then |
| 1687 ac_cv_prog_cc_cross=no | 1712 ac_cv_prog_cc_cross=no |
| 1688 else | 1713 else |
| 1698 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 | 1723 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 |
| 1699 if test $ac_cv_prog_cc_works = no; then | 1724 if test $ac_cv_prog_cc_works = no; then |
| 1700 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } | 1725 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } |
| 1701 fi | 1726 fi |
| 1702 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 | 1727 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 |
| 1703 echo "configure:1704: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 | 1728 echo "configure:1729: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 |
| 1704 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 | 1729 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 |
| 1705 cross_compiling=$ac_cv_prog_cc_cross | 1730 cross_compiling=$ac_cv_prog_cc_cross |
| 1706 | 1731 |
| 1707 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 | 1732 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 |
| 1708 echo "configure:1709: checking whether we are using GNU C" >&5 | 1733 echo "configure:1734: checking whether we are using GNU C" >&5 |
| 1709 | 1734 |
| 1710 cat > conftest.c <<EOF | 1735 cat > conftest.c <<EOF |
| 1711 #ifdef __GNUC__ | 1736 #ifdef __GNUC__ |
| 1712 yes; | 1737 yes; |
| 1713 #endif | 1738 #endif |
| 1714 EOF | 1739 EOF |
| 1715 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1716: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then | 1740 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1741: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then |
| 1716 ac_cv_prog_gcc=yes | 1741 ac_cv_prog_gcc=yes |
| 1717 else | 1742 else |
| 1718 ac_cv_prog_gcc=no | 1743 ac_cv_prog_gcc=no |
| 1719 fi | 1744 fi |
| 1720 | 1745 |
| 1724 GCC=yes | 1749 GCC=yes |
| 1725 ac_test_CFLAGS="${CFLAGS+set}" | 1750 ac_test_CFLAGS="${CFLAGS+set}" |
| 1726 ac_save_CFLAGS="$CFLAGS" | 1751 ac_save_CFLAGS="$CFLAGS" |
| 1727 CFLAGS= | 1752 CFLAGS= |
| 1728 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 | 1753 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 |
| 1729 echo "configure:1730: checking whether ${CC-cc} accepts -g" >&5 | 1754 echo "configure:1755: checking whether ${CC-cc} accepts -g" >&5 |
| 1730 | 1755 |
| 1731 echo 'void f(){}' > conftest.c | 1756 echo 'void f(){}' > conftest.c |
| 1732 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then | 1757 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then |
| 1733 ac_cv_prog_cc_g=yes | 1758 ac_cv_prog_cc_g=yes |
| 1734 else | 1759 else |
| 1753 elif test "$with_gcc" = "yes" -a "$GCC" != "yes" ; then | 1778 elif test "$with_gcc" = "yes" -a "$GCC" != "yes" ; then |
| 1754 CC=gcc | 1779 CC=gcc |
| 1755 # Extract the first word of "gcc", so it can be a program name with args. | 1780 # Extract the first word of "gcc", so it can be a program name with args. |
| 1756 set dummy gcc; ac_word=$2 | 1781 set dummy gcc; ac_word=$2 |
| 1757 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 1782 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
| 1758 echo "configure:1759: checking for $ac_word" >&5 | 1783 echo "configure:1784: checking for $ac_word" >&5 |
| 1759 | 1784 |
| 1760 if test -n "$CC"; then | 1785 if test -n "$CC"; then |
| 1761 ac_cv_prog_CC="$CC" # Let the user override the test. | 1786 ac_cv_prog_CC="$CC" # Let the user override the test. |
| 1762 else | 1787 else |
| 1763 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" | 1788 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" |
| 1779 | 1804 |
| 1780 if test -z "$CC"; then | 1805 if test -z "$CC"; then |
| 1781 # Extract the first word of "cc", so it can be a program name with args. | 1806 # Extract the first word of "cc", so it can be a program name with args. |
| 1782 set dummy cc; ac_word=$2 | 1807 set dummy cc; ac_word=$2 |
| 1783 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 1808 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
| 1784 echo "configure:1785: checking for $ac_word" >&5 | 1809 echo "configure:1810: checking for $ac_word" >&5 |
| 1785 | 1810 |
| 1786 if test -n "$CC"; then | 1811 if test -n "$CC"; then |
| 1787 ac_cv_prog_CC="$CC" # Let the user override the test. | 1812 ac_cv_prog_CC="$CC" # Let the user override the test. |
| 1788 else | 1813 else |
| 1789 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" | 1814 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" |
| 1824 | 1849 |
| 1825 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } | 1850 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } |
| 1826 fi | 1851 fi |
| 1827 | 1852 |
| 1828 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 | 1853 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 |
| 1829 echo "configure:1830: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 | 1854 echo "configure:1855: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 |
| 1830 | 1855 |
| 1831 ac_ext=c | 1856 ac_ext=c |
| 1832 xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS' | 1857 xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS' |
| 1833 xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_switch_x_site $ld_switch_run' | 1858 xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_switch_x_site $ld_switch_run' |
| 1834 xe_libs='$ld_call_shared $xe_check_libs $X_EXTRA_LIBS $libs_x $X_PRE_LIBS $LIBS $libs_machine $libs_system $libs_standard' | 1859 xe_libs='$ld_call_shared $xe_check_libs $X_EXTRA_LIBS $libs_x $X_PRE_LIBS $LIBS $libs_machine $libs_system $libs_standard' |
| 1836 ac_compile='${CC-cc} -c $CFLAGS '"$xe_cppflags"' conftest.$ac_ext 1>&5' | 1861 ac_compile='${CC-cc} -c $CFLAGS '"$xe_cppflags"' conftest.$ac_ext 1>&5' |
| 1837 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' | 1862 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' |
| 1838 cross_compiling=no | 1863 cross_compiling=no |
| 1839 | 1864 |
| 1840 cat > conftest.$ac_ext <<EOF | 1865 cat > conftest.$ac_ext <<EOF |
| 1841 #line 1842 "configure" | 1866 #line 1867 "configure" |
| 1842 #include "confdefs.h" | 1867 #include "confdefs.h" |
| 1843 main(){return(0);} | 1868 main(){return(0);} |
| 1844 EOF | 1869 EOF |
| 1845 if { (eval echo configure:1846: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 1870 if { (eval echo configure:1871: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 1846 ac_cv_prog_cc_works=yes | 1871 ac_cv_prog_cc_works=yes |
| 1847 # If we can't run a trivial program, we are probably using a cross compiler. | 1872 # If we can't run a trivial program, we are probably using a cross compiler. |
| 1848 if (./conftest; exit) 2>/dev/null; then | 1873 if (./conftest; exit) 2>/dev/null; then |
| 1849 ac_cv_prog_cc_cross=no | 1874 ac_cv_prog_cc_cross=no |
| 1850 else | 1875 else |
| 1860 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 | 1885 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 |
| 1861 if test $ac_cv_prog_cc_works = no; then | 1886 if test $ac_cv_prog_cc_works = no; then |
| 1862 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } | 1887 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } |
| 1863 fi | 1888 fi |
| 1864 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 | 1889 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 |
| 1865 echo "configure:1866: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 | 1890 echo "configure:1891: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 |
| 1866 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 | 1891 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 |
| 1867 cross_compiling=$ac_cv_prog_cc_cross | 1892 cross_compiling=$ac_cv_prog_cc_cross |
| 1868 | 1893 |
| 1869 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 | 1894 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 |
| 1870 echo "configure:1871: checking whether we are using GNU C" >&5 | 1895 echo "configure:1896: checking whether we are using GNU C" >&5 |
| 1871 | 1896 |
| 1872 cat > conftest.c <<EOF | 1897 cat > conftest.c <<EOF |
| 1873 #ifdef __GNUC__ | 1898 #ifdef __GNUC__ |
| 1874 yes; | 1899 yes; |
| 1875 #endif | 1900 #endif |
| 1876 EOF | 1901 EOF |
| 1877 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1878: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then | 1902 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1903: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then |
| 1878 ac_cv_prog_gcc=yes | 1903 ac_cv_prog_gcc=yes |
| 1879 else | 1904 else |
| 1880 ac_cv_prog_gcc=no | 1905 ac_cv_prog_gcc=no |
| 1881 fi | 1906 fi |
| 1882 | 1907 |
| 1886 GCC=yes | 1911 GCC=yes |
| 1887 ac_test_CFLAGS="${CFLAGS+set}" | 1912 ac_test_CFLAGS="${CFLAGS+set}" |
| 1888 ac_save_CFLAGS="$CFLAGS" | 1913 ac_save_CFLAGS="$CFLAGS" |
| 1889 CFLAGS= | 1914 CFLAGS= |
| 1890 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 | 1915 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 |
| 1891 echo "configure:1892: checking whether ${CC-cc} accepts -g" >&5 | 1916 echo "configure:1917: checking whether ${CC-cc} accepts -g" >&5 |
| 1892 | 1917 |
| 1893 echo 'void f(){}' > conftest.c | 1918 echo 'void f(){}' > conftest.c |
| 1894 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then | 1919 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then |
| 1895 ac_cv_prog_cc_g=yes | 1920 ac_cv_prog_cc_g=yes |
| 1896 else | 1921 else |
| 1919 test -n "$CPP" -a -d "$CPP" && CPP= | 1944 test -n "$CPP" -a -d "$CPP" && CPP= |
| 1920 | 1945 |
| 1921 test -n "$NON_GNU_CPP" -a "$GCC" != "yes" -a -z "$CPP" && CPP="$NON_GNU_CPP" | 1946 test -n "$NON_GNU_CPP" -a "$GCC" != "yes" -a -z "$CPP" && CPP="$NON_GNU_CPP" |
| 1922 | 1947 |
| 1923 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6 | 1948 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6 |
| 1924 echo "configure:1925: checking how to run the C preprocessor" >&5 | 1949 echo "configure:1950: checking how to run the C preprocessor" >&5 |
| 1925 # On Suns, sometimes $CPP names a directory. | 1950 # On Suns, sometimes $CPP names a directory. |
| 1926 if test -n "$CPP" && test -d "$CPP"; then | 1951 if test -n "$CPP" && test -d "$CPP"; then |
| 1927 CPP= | 1952 CPP= |
| 1928 fi | 1953 fi |
| 1929 if test -z "$CPP"; then | 1954 if test -z "$CPP"; then |
| 1932 # substituted into the Makefile and "${CC-cc}" will confuse make. | 1957 # substituted into the Makefile and "${CC-cc}" will confuse make. |
| 1933 CPP="${CC-cc} -E" | 1958 CPP="${CC-cc} -E" |
| 1934 # On the NeXT, cc -E runs the code through the compiler's parser, | 1959 # On the NeXT, cc -E runs the code through the compiler's parser, |
| 1935 # not just through cpp. | 1960 # not just through cpp. |
| 1936 cat > conftest.$ac_ext <<EOF | 1961 cat > conftest.$ac_ext <<EOF |
| 1937 #line 1938 "configure" | 1962 #line 1963 "configure" |
| 1938 #include "confdefs.h" | 1963 #include "confdefs.h" |
| 1939 #include <assert.h> | 1964 #include <assert.h> |
| 1940 Syntax Error | 1965 Syntax Error |
| 1941 EOF | 1966 EOF |
| 1942 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 1967 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 1943 { (eval echo configure:1944: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 1968 { (eval echo configure:1969: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 1944 ac_err=`grep -v '^ *+' conftest.out` | 1969 ac_err=`grep -v '^ *+' conftest.out` |
| 1945 if test -z "$ac_err"; then | 1970 if test -z "$ac_err"; then |
| 1946 : | 1971 : |
| 1947 else | 1972 else |
| 1948 echo "$ac_err" >&5 | 1973 echo "$ac_err" >&5 |
| 1949 echo "configure: failed program was:" >&5 | 1974 echo "configure: failed program was:" >&5 |
| 1950 cat conftest.$ac_ext >&5 | 1975 cat conftest.$ac_ext >&5 |
| 1951 rm -rf conftest* | 1976 rm -rf conftest* |
| 1952 CPP="${CC-cc} -E -traditional-cpp" | 1977 CPP="${CC-cc} -E -traditional-cpp" |
| 1953 cat > conftest.$ac_ext <<EOF | 1978 cat > conftest.$ac_ext <<EOF |
| 1954 #line 1955 "configure" | 1979 #line 1980 "configure" |
| 1955 #include "confdefs.h" | 1980 #include "confdefs.h" |
| 1956 #include <assert.h> | 1981 #include <assert.h> |
| 1957 Syntax Error | 1982 Syntax Error |
| 1958 EOF | 1983 EOF |
| 1959 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 1984 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 1960 { (eval echo configure:1961: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 1985 { (eval echo configure:1986: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 1961 ac_err=`grep -v '^ *+' conftest.out` | 1986 ac_err=`grep -v '^ *+' conftest.out` |
| 1962 if test -z "$ac_err"; then | 1987 if test -z "$ac_err"; then |
| 1963 : | 1988 : |
| 1964 else | 1989 else |
| 1965 echo "$ac_err" >&5 | 1990 echo "$ac_err" >&5 |
| 1978 fi | 2003 fi |
| 1979 echo "$ac_t""$CPP" 1>&6 | 2004 echo "$ac_t""$CPP" 1>&6 |
| 1980 | 2005 |
| 1981 | 2006 |
| 1982 echo $ac_n "checking for AIX""... $ac_c" 1>&6 | 2007 echo $ac_n "checking for AIX""... $ac_c" 1>&6 |
| 1983 echo "configure:1984: checking for AIX" >&5 | 2008 echo "configure:2009: checking for AIX" >&5 |
| 1984 cat > conftest.$ac_ext <<EOF | 2009 cat > conftest.$ac_ext <<EOF |
| 1985 #line 1986 "configure" | 2010 #line 2011 "configure" |
| 1986 #include "confdefs.h" | 2011 #include "confdefs.h" |
| 1987 #ifdef _AIX | 2012 #ifdef _AIX |
| 1988 yes | 2013 yes |
| 1989 #endif | 2014 #endif |
| 1990 | 2015 |
| 2007 rm -f conftest* | 2032 rm -f conftest* |
| 2008 | 2033 |
| 2009 | 2034 |
| 2010 | 2035 |
| 2011 echo $ac_n "checking for GNU libc""... $ac_c" 1>&6 | 2036 echo $ac_n "checking for GNU libc""... $ac_c" 1>&6 |
| 2012 echo "configure:2013: checking for GNU libc" >&5 | 2037 echo "configure:2038: checking for GNU libc" >&5 |
| 2013 cat > conftest.$ac_ext <<EOF | 2038 cat > conftest.$ac_ext <<EOF |
| 2014 #line 2015 "configure" | 2039 #line 2040 "configure" |
| 2015 #include "confdefs.h" | 2040 #include "confdefs.h" |
| 2016 #include <features.h> | 2041 #include <features.h> |
| 2017 int main() { | 2042 int main() { |
| 2018 | 2043 |
| 2019 #if ! (defined __GLIBC__ || defined __GNU_LIBRARY__) | 2044 #if ! (defined __GLIBC__ || defined __GNU_LIBRARY__) |
| 2021 ******* ======= ******** &&&&&&&& | 2046 ******* ======= ******** &&&&&&&& |
| 2022 #endif | 2047 #endif |
| 2023 | 2048 |
| 2024 ; return 0; } | 2049 ; return 0; } |
| 2025 EOF | 2050 EOF |
| 2026 if { (eval echo configure:2027: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 2051 if { (eval echo configure:2052: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| 2027 rm -rf conftest* | 2052 rm -rf conftest* |
| 2028 have_glibc=yes | 2053 have_glibc=yes |
| 2029 else | 2054 else |
| 2030 echo "configure: failed program was:" >&5 | 2055 echo "configure: failed program was:" >&5 |
| 2031 cat conftest.$ac_ext >&5 | 2056 cat conftest.$ac_ext >&5 |
| 2042 EOF | 2067 EOF |
| 2043 } | 2068 } |
| 2044 | 2069 |
| 2045 | 2070 |
| 2046 echo $ac_n "checking whether we are using SunPro C""... $ac_c" 1>&6 | 2071 echo $ac_n "checking whether we are using SunPro C""... $ac_c" 1>&6 |
| 2047 echo "configure:2048: checking whether we are using SunPro C" >&5 | 2072 echo "configure:2073: checking whether we are using SunPro C" >&5 |
| 2048 cat > conftest.$ac_ext <<EOF | 2073 cat > conftest.$ac_ext <<EOF |
| 2049 #line 2050 "configure" | 2074 #line 2075 "configure" |
| 2050 #include "confdefs.h" | 2075 #include "confdefs.h" |
| 2051 | 2076 |
| 2052 int main() { | 2077 int main() { |
| 2053 #ifndef __SUNPRO_C | 2078 #ifndef __SUNPRO_C |
| 2054 #error Not a SunPro compiler :-( | 2079 #error Not a SunPro compiler :-( |
| 2055 ******* ======= ******** &&&&&&&& | 2080 ******* ======= ******** &&&&&&&& |
| 2056 #endif | 2081 #endif |
| 2057 | 2082 |
| 2058 ; return 0; } | 2083 ; return 0; } |
| 2059 EOF | 2084 EOF |
| 2060 if { (eval echo configure:2061: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 2085 if { (eval echo configure:2086: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| 2061 rm -rf conftest* | 2086 rm -rf conftest* |
| 2062 __sunpro_c=yes | 2087 __sunpro_c=yes |
| 2063 else | 2088 else |
| 2064 echo "configure: failed program was:" >&5 | 2089 echo "configure: failed program was:" >&5 |
| 2065 cat conftest.$ac_ext >&5 | 2090 cat conftest.$ac_ext >&5 |
| 2075 | 2100 |
| 2076 tempcname="conftest.c" | 2101 tempcname="conftest.c" |
| 2077 | 2102 |
| 2078 | 2103 |
| 2079 | 2104 |
| 2080 | 2105 cat > $tempcname <<EOF |
| 2081 | |
| 2082 | |
| 2083 echo > $tempcname | |
| 2084 | |
| 2085 echo ' | |
| 2086 #define NOT_C_CODE | 2106 #define NOT_C_CODE |
| 2087 #define C_SWITCH_SITE | 2107 #define C_SWITCH_SITE |
| 2088 #define C_SWITCH_X_SITE | 2108 #define C_SWITCH_X_SITE |
| 2089 #define LD_SWITCH_SITE | 2109 #define LD_SWITCH_SITE |
| 2090 #define LD_SWITCH_X_SITE | 2110 #define LD_SWITCH_X_SITE |
| 2091 #define LD_SWITCH_X_SITE_AUX | 2111 #define LD_SWITCH_X_SITE_AUX |
| 2092 #define OS_RELEASE '$os_release' | 2112 #define OS_RELEASE $os_release |
| 2093 #include "'$srcdir'/src/'$opsysfile'" | 2113 #include "$srcdir/src/$opsysfile" |
| 2094 #include "'$srcdir'/src/'$machfile'" | 2114 #include "$srcdir/src/$machfile" |
| 2095 | 2115 |
| 2096 #ifndef LIBS_MACHINE | 2116 #ifndef LIBS_MACHINE |
| 2097 #define LIBS_MACHINE | 2117 #define LIBS_MACHINE |
| 2098 #endif | 2118 #endif |
| 2099 configure___ libs_machine=LIBS_MACHINE | 2119 configure___ libs_machine=LIBS_MACHINE |
| 2112 #define LIB_STANDARD | 2132 #define LIB_STANDARD |
| 2113 #endif | 2133 #endif |
| 2114 configure___ libs_standard=LIB_STANDARD | 2134 configure___ libs_standard=LIB_STANDARD |
| 2115 | 2135 |
| 2116 | 2136 |
| 2117 ' >> $tempcname | |
| 2118 echo ' | |
| 2119 | |
| 2120 #ifndef OBJECTS_MACHINE | 2137 #ifndef OBJECTS_MACHINE |
| 2121 #define OBJECTS_MACHINE | 2138 #define OBJECTS_MACHINE |
| 2122 #endif | 2139 #endif |
| 2123 configure___ objects_machine=OBJECTS_MACHINE | 2140 configure___ objects_machine=OBJECTS_MACHINE |
| 2124 | 2141 |
| 2160 #define LD_SWITCH_SHARED "-c" | 2177 #define LD_SWITCH_SHARED "-c" |
| 2161 #endif | 2178 #endif |
| 2162 configure___ ld_switch_shared=LD_SWITCH_SHARED | 2179 configure___ ld_switch_shared=LD_SWITCH_SHARED |
| 2163 | 2180 |
| 2164 | 2181 |
| 2165 ' >> $tempcname | |
| 2166 echo ' | |
| 2167 | |
| 2168 #ifdef ORDINARY_LINK | 2182 #ifdef ORDINARY_LINK |
| 2169 #define LD "$(CC) $(CFLAGS)" | 2183 #define LD "\$(CC) \$(CFLAGS)" |
| 2170 #else /* no ORDINARY LINK */ | 2184 #else /* no ORDINARY LINK */ |
| 2171 #ifdef COFF_ENCAPSULATE | 2185 #ifdef COFF_ENCAPSULATE |
| 2172 #define LD "$(CC) -nostdlib" | 2186 #define LD "\$(CC) -nostdlib" |
| 2173 #else /* not COFF_ENCAPSULATE */ | 2187 #else /* not COFF_ENCAPSULATE */ |
| 2174 #ifdef LINKER | 2188 #ifdef LINKER |
| 2175 #define LD LINKER | 2189 #define LD LINKER |
| 2176 #else /* ! defined (LINKER) */ | 2190 #else /* ! defined (LINKER) */ |
| 2177 #define LD "ld" | 2191 #define LD "ld" |
| 2188 #ifndef LD_TEXT_START_ADDR | 2202 #ifndef LD_TEXT_START_ADDR |
| 2189 #define LD_TEXT_START_ADDR | 2203 #define LD_TEXT_START_ADDR |
| 2190 #endif | 2204 #endif |
| 2191 configure___ ld_text_start_addr=LD_TEXT_START_ADDR | 2205 configure___ ld_text_start_addr=LD_TEXT_START_ADDR |
| 2192 | 2206 |
| 2193 | |
| 2194 ' >> $tempcname | |
| 2195 echo ' | |
| 2196 | 2207 |
| 2197 #if ! defined (ORDINARY_LINK) && !defined (START_FILES) | 2208 #if ! defined (ORDINARY_LINK) && !defined (START_FILES) |
| 2198 #ifdef NO_REMAP | 2209 #ifdef NO_REMAP |
| 2199 #ifdef COFF_ENCAPSULATE | 2210 #ifdef COFF_ENCAPSULATE |
| 2200 #define START_FILES "pre-crt0.o /usr/local/lib/gcc-crt0.o" | 2211 #define START_FILES "pre-crt0.o /usr/local/lib/gcc-crt0.o" |
| 2238 configure___ mail_use_lockf=yes | 2249 configure___ mail_use_lockf=yes |
| 2239 #else | 2250 #else |
| 2240 configure___ mail_use_lockf=no | 2251 configure___ mail_use_lockf=no |
| 2241 #endif | 2252 #endif |
| 2242 | 2253 |
| 2243 | 2254 EOF |
| 2244 ' >> $tempcname | 2255 |
| 2245 CPP=`eval "echo $CPP"` | 2256 CPP=`eval "echo $CPP"` |
| 2246 eval `$CPP -Isrc $tempcname \ | 2257 eval `$CPP -Isrc $tempcname \ |
| 2247 | sed -n -e "s/[ ]*=[ \"]*/='/" -e "s/[ \"]*\$/'/" -e "s/^configure___//p"` | 2258 | sed -n -e "s/[ ]*=[ \"]*/='/" -e "s/[ \"]*\$/'/" -e "s/^configure___//p"` |
| 2248 | 2259 |
| 2249 rm $tempcname | 2260 rm $tempcname |
| 2329 test -n "$unexec" && extra_objs="$extra_objs $unexec" && if test "$extra_verbose" = "yes"; then | 2340 test -n "$unexec" && extra_objs="$extra_objs $unexec" && if test "$extra_verbose" = "yes"; then |
| 2330 echo " xemacs will be linked with \"$unexec\"" | 2341 echo " xemacs will be linked with \"$unexec\"" |
| 2331 fi | 2342 fi |
| 2332 | 2343 |
| 2333 echo $ac_n "checking for dynodump""... $ac_c" 1>&6 | 2344 echo $ac_n "checking for dynodump""... $ac_c" 1>&6 |
| 2334 echo "configure:2335: checking for dynodump" >&5 | 2345 echo "configure:2346: checking for dynodump" >&5 |
| 2335 if test "$unexec" != "unexsol2.o"; then | 2346 if test "$unexec" != "unexsol2.o"; then |
| 2336 echo "$ac_t""no" 1>&6 | 2347 echo "$ac_t""no" 1>&6 |
| 2337 else | 2348 else |
| 2338 echo "$ac_t""yes" 1>&6 | 2349 echo "$ac_t""yes" 1>&6 |
| 2339 { test "$extra_verbose" = "yes" && cat << \EOF | 2350 { test "$extra_verbose" = "yes" && cat << \EOF |
| 2429 esac | 2440 esac |
| 2430 fi | 2441 fi |
| 2431 | 2442 |
| 2432 if test "$add_runtime_path" = "yes"; then | 2443 if test "$add_runtime_path" = "yes"; then |
| 2433 echo $ac_n "checking "for runtime libraries flag"""... $ac_c" 1>&6 | 2444 echo $ac_n "checking "for runtime libraries flag"""... $ac_c" 1>&6 |
| 2434 echo "configure:2435: checking "for runtime libraries flag"" >&5 | 2445 echo "configure:2446: checking "for runtime libraries flag"" >&5 |
| 2435 dash_r="" | 2446 dash_r="" |
| 2436 for try_dash_r in "-R" "-R " "-rpath "; do | 2447 for try_dash_r in "-R" "-R " "-rpath "; do |
| 2437 xe_check_libs="${try_dash_r}/no/such/file-or-directory" | 2448 xe_check_libs="${try_dash_r}/no/such/file-or-directory" |
| 2438 | 2449 |
| 2439 if test "$GCC" = "yes"; then | 2450 if test "$GCC" = "yes"; then |
| 2447 esac | 2458 esac |
| 2448 shift | 2459 shift |
| 2449 done | 2460 done |
| 2450 fi | 2461 fi |
| 2451 cat > conftest.$ac_ext <<EOF | 2462 cat > conftest.$ac_ext <<EOF |
| 2452 #line 2453 "configure" | 2463 #line 2464 "configure" |
| 2453 #include "confdefs.h" | 2464 #include "confdefs.h" |
| 2454 | 2465 |
| 2455 int main() { | 2466 int main() { |
| 2456 | 2467 |
| 2457 ; return 0; } | 2468 ; return 0; } |
| 2458 EOF | 2469 EOF |
| 2459 if { (eval echo configure:2460: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 2470 if { (eval echo configure:2471: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 2460 rm -rf conftest* | 2471 rm -rf conftest* |
| 2461 dash_r="$try_dash_r" | 2472 dash_r="$try_dash_r" |
| 2462 else | 2473 else |
| 2463 echo "configure: failed program was:" >&5 | 2474 echo "configure: failed program was:" >&5 |
| 2464 cat conftest.$ac_ext >&5 | 2475 cat conftest.$ac_ext >&5 |
| 2554 else | 2565 else |
| 2555 doug_lea_malloc=no | 2566 doug_lea_malloc=no |
| 2556 fi | 2567 fi |
| 2557 after_morecore_hook_exists=yes | 2568 after_morecore_hook_exists=yes |
| 2558 echo $ac_n "checking for malloc_get_state""... $ac_c" 1>&6 | 2569 echo $ac_n "checking for malloc_get_state""... $ac_c" 1>&6 |
| 2559 echo "configure:2560: checking for malloc_get_state" >&5 | 2570 echo "configure:2571: checking for malloc_get_state" >&5 |
| 2560 | 2571 |
| 2561 cat > conftest.$ac_ext <<EOF | 2572 cat > conftest.$ac_ext <<EOF |
| 2562 #line 2563 "configure" | 2573 #line 2574 "configure" |
| 2563 #include "confdefs.h" | 2574 #include "confdefs.h" |
| 2564 /* System header to define __stub macros and hopefully few prototypes, | 2575 /* System header to define __stub macros and hopefully few prototypes, |
| 2565 which can conflict with char malloc_get_state(); below. */ | 2576 which can conflict with char malloc_get_state(); below. */ |
| 2566 #include <assert.h> | 2577 #include <assert.h> |
| 2567 /* Override any gcc2 internal prototype to avoid an error. */ | 2578 /* Override any gcc2 internal prototype to avoid an error. */ |
| 2580 malloc_get_state(); | 2591 malloc_get_state(); |
| 2581 #endif | 2592 #endif |
| 2582 | 2593 |
| 2583 ; return 0; } | 2594 ; return 0; } |
| 2584 EOF | 2595 EOF |
| 2585 if { (eval echo configure:2586: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 2596 if { (eval echo configure:2597: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 2586 rm -rf conftest* | 2597 rm -rf conftest* |
| 2587 eval "ac_cv_func_malloc_get_state=yes" | 2598 eval "ac_cv_func_malloc_get_state=yes" |
| 2588 else | 2599 else |
| 2589 echo "configure: failed program was:" >&5 | 2600 echo "configure: failed program was:" >&5 |
| 2590 cat conftest.$ac_ext >&5 | 2601 cat conftest.$ac_ext >&5 |
| 2600 echo "$ac_t""no" 1>&6 | 2611 echo "$ac_t""no" 1>&6 |
| 2601 doug_lea_malloc=no | 2612 doug_lea_malloc=no |
| 2602 fi | 2613 fi |
| 2603 | 2614 |
| 2604 echo $ac_n "checking for malloc_set_state""... $ac_c" 1>&6 | 2615 echo $ac_n "checking for malloc_set_state""... $ac_c" 1>&6 |
| 2605 echo "configure:2606: checking for malloc_set_state" >&5 | 2616 echo "configure:2617: checking for malloc_set_state" >&5 |
| 2606 | 2617 |
| 2607 cat > conftest.$ac_ext <<EOF | 2618 cat > conftest.$ac_ext <<EOF |
| 2608 #line 2609 "configure" | 2619 #line 2620 "configure" |
| 2609 #include "confdefs.h" | 2620 #include "confdefs.h" |
| 2610 /* System header to define __stub macros and hopefully few prototypes, | 2621 /* System header to define __stub macros and hopefully few prototypes, |
| 2611 which can conflict with char malloc_set_state(); below. */ | 2622 which can conflict with char malloc_set_state(); below. */ |
| 2612 #include <assert.h> | 2623 #include <assert.h> |
| 2613 /* Override any gcc2 internal prototype to avoid an error. */ | 2624 /* Override any gcc2 internal prototype to avoid an error. */ |
| 2626 malloc_set_state(); | 2637 malloc_set_state(); |
| 2627 #endif | 2638 #endif |
| 2628 | 2639 |
| 2629 ; return 0; } | 2640 ; return 0; } |
| 2630 EOF | 2641 EOF |
| 2631 if { (eval echo configure:2632: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 2642 if { (eval echo configure:2643: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 2632 rm -rf conftest* | 2643 rm -rf conftest* |
| 2633 eval "ac_cv_func_malloc_set_state=yes" | 2644 eval "ac_cv_func_malloc_set_state=yes" |
| 2634 else | 2645 else |
| 2635 echo "configure: failed program was:" >&5 | 2646 echo "configure: failed program was:" >&5 |
| 2636 cat conftest.$ac_ext >&5 | 2647 cat conftest.$ac_ext >&5 |
| 2646 echo "$ac_t""no" 1>&6 | 2657 echo "$ac_t""no" 1>&6 |
| 2647 doug_lea_malloc=no | 2658 doug_lea_malloc=no |
| 2648 fi | 2659 fi |
| 2649 | 2660 |
| 2650 echo $ac_n "checking whether __after_morecore_hook exists""... $ac_c" 1>&6 | 2661 echo $ac_n "checking whether __after_morecore_hook exists""... $ac_c" 1>&6 |
| 2651 echo "configure:2652: checking whether __after_morecore_hook exists" >&5 | 2662 echo "configure:2663: checking whether __after_morecore_hook exists" >&5 |
| 2652 cat > conftest.$ac_ext <<EOF | 2663 cat > conftest.$ac_ext <<EOF |
| 2653 #line 2654 "configure" | 2664 #line 2665 "configure" |
| 2654 #include "confdefs.h" | 2665 #include "confdefs.h" |
| 2655 extern void (* __after_morecore_hook)(); | 2666 extern void (* __after_morecore_hook)(); |
| 2656 int main() { | 2667 int main() { |
| 2657 __after_morecore_hook = 0 | 2668 __after_morecore_hook = 0 |
| 2658 ; return 0; } | 2669 ; return 0; } |
| 2659 EOF | 2670 EOF |
| 2660 if { (eval echo configure:2661: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 2671 if { (eval echo configure:2672: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 2661 rm -rf conftest* | 2672 rm -rf conftest* |
| 2662 echo "$ac_t""yes" 1>&6 | 2673 echo "$ac_t""yes" 1>&6 |
| 2663 else | 2674 else |
| 2664 echo "configure: failed program was:" >&5 | 2675 echo "configure: failed program was:" >&5 |
| 2665 cat conftest.$ac_ext >&5 | 2676 cat conftest.$ac_ext >&5 |
| 2714 | 2725 |
| 2715 | 2726 |
| 2716 # Extract the first word of "ranlib", so it can be a program name with args. | 2727 # Extract the first word of "ranlib", so it can be a program name with args. |
| 2717 set dummy ranlib; ac_word=$2 | 2728 set dummy ranlib; ac_word=$2 |
| 2718 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 2729 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
| 2719 echo "configure:2720: checking for $ac_word" >&5 | 2730 echo "configure:2731: checking for $ac_word" >&5 |
| 2720 | 2731 |
| 2721 if test -n "$RANLIB"; then | 2732 if test -n "$RANLIB"; then |
| 2722 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. | 2733 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. |
| 2723 else | 2734 else |
| 2724 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" | 2735 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" |
| 2767 # AIX /bin/install | 2778 # AIX /bin/install |
| 2768 # AFS /usr/afsws/bin/install, which mishandles nonexistent args | 2779 # AFS /usr/afsws/bin/install, which mishandles nonexistent args |
| 2769 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" | 2780 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" |
| 2770 # ./install, which can be erroneously created by make from ./install.sh. | 2781 # ./install, which can be erroneously created by make from ./install.sh. |
| 2771 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 | 2782 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 |
| 2772 echo "configure:2773: checking for a BSD compatible install" >&5 | 2783 echo "configure:2784: checking for a BSD compatible install" >&5 |
| 2773 if test -z "$INSTALL"; then | 2784 if test -z "$INSTALL"; then |
| 2774 | 2785 |
| 2775 IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS="${IFS}:" | 2786 IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS="${IFS}:" |
| 2776 for ac_dir in $PATH; do | 2787 for ac_dir in $PATH; do |
| 2777 # Account for people who put trailing slashes in PATH elements. | 2788 # Account for people who put trailing slashes in PATH elements. |
| 2818 for ac_prog in 'bison -y' byacc | 2829 for ac_prog in 'bison -y' byacc |
| 2819 do | 2830 do |
| 2820 # Extract the first word of "$ac_prog", so it can be a program name with args. | 2831 # Extract the first word of "$ac_prog", so it can be a program name with args. |
| 2821 set dummy $ac_prog; ac_word=$2 | 2832 set dummy $ac_prog; ac_word=$2 |
| 2822 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 2833 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
| 2823 echo "configure:2824: checking for $ac_word" >&5 | 2834 echo "configure:2835: checking for $ac_word" >&5 |
| 2824 | 2835 |
| 2825 if test -n "$YACC"; then | 2836 if test -n "$YACC"; then |
| 2826 ac_cv_prog_YACC="$YACC" # Let the user override the test. | 2837 ac_cv_prog_YACC="$YACC" # Let the user override the test. |
| 2827 else | 2838 else |
| 2828 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" | 2839 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" |
| 2849 | 2860 |
| 2850 for ac_hdr in mach/mach.h sys/stropts.h sys/timeb.h sys/time.h unistd.h | 2861 for ac_hdr in mach/mach.h sys/stropts.h sys/timeb.h sys/time.h unistd.h |
| 2851 do | 2862 do |
| 2852 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 2863 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
| 2853 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 2864 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
| 2854 echo "configure:2855: checking for $ac_hdr" >&5 | 2865 echo "configure:2866: checking for $ac_hdr" >&5 |
| 2855 | 2866 |
| 2856 cat > conftest.$ac_ext <<EOF | 2867 cat > conftest.$ac_ext <<EOF |
| 2857 #line 2858 "configure" | 2868 #line 2869 "configure" |
| 2858 #include "confdefs.h" | 2869 #include "confdefs.h" |
| 2859 #include <$ac_hdr> | 2870 #include <$ac_hdr> |
| 2860 EOF | 2871 EOF |
| 2861 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 2872 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 2862 { (eval echo configure:2863: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 2873 { (eval echo configure:2874: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 2863 ac_err=`grep -v '^ *+' conftest.out` | 2874 ac_err=`grep -v '^ *+' conftest.out` |
| 2864 if test -z "$ac_err"; then | 2875 if test -z "$ac_err"; then |
| 2865 rm -rf conftest* | 2876 rm -rf conftest* |
| 2866 eval "ac_cv_header_$ac_safe=yes" | 2877 eval "ac_cv_header_$ac_safe=yes" |
| 2867 else | 2878 else |
| 2890 | 2901 |
| 2891 for ac_hdr in utime.h locale.h libgen.h fcntl.h ulimit.h | 2902 for ac_hdr in utime.h locale.h libgen.h fcntl.h ulimit.h |
| 2892 do | 2903 do |
| 2893 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 2904 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
| 2894 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 2905 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
| 2895 echo "configure:2896: checking for $ac_hdr" >&5 | 2906 echo "configure:2907: checking for $ac_hdr" >&5 |
| 2896 | 2907 |
| 2897 cat > conftest.$ac_ext <<EOF | 2908 cat > conftest.$ac_ext <<EOF |
| 2898 #line 2899 "configure" | 2909 #line 2910 "configure" |
| 2899 #include "confdefs.h" | 2910 #include "confdefs.h" |
| 2900 #include <$ac_hdr> | 2911 #include <$ac_hdr> |
| 2901 EOF | 2912 EOF |
| 2902 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 2913 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 2903 { (eval echo configure:2904: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 2914 { (eval echo configure:2915: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 2904 ac_err=`grep -v '^ *+' conftest.out` | 2915 ac_err=`grep -v '^ *+' conftest.out` |
| 2905 if test -z "$ac_err"; then | 2916 if test -z "$ac_err"; then |
| 2906 rm -rf conftest* | 2917 rm -rf conftest* |
| 2907 eval "ac_cv_header_$ac_safe=yes" | 2918 eval "ac_cv_header_$ac_safe=yes" |
| 2908 else | 2919 else |
| 2931 | 2942 |
| 2932 for ac_hdr in linux/version.h kstat.h sys/pstat.h inttypes.h sys/un.h a.out.h | 2943 for ac_hdr in linux/version.h kstat.h sys/pstat.h inttypes.h sys/un.h a.out.h |
| 2933 do | 2944 do |
| 2934 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 2945 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
| 2935 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 2946 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
| 2936 echo "configure:2937: checking for $ac_hdr" >&5 | 2947 echo "configure:2948: checking for $ac_hdr" >&5 |
| 2937 | 2948 |
| 2938 cat > conftest.$ac_ext <<EOF | 2949 cat > conftest.$ac_ext <<EOF |
| 2939 #line 2940 "configure" | 2950 #line 2951 "configure" |
| 2940 #include "confdefs.h" | 2951 #include "confdefs.h" |
| 2941 #include <$ac_hdr> | 2952 #include <$ac_hdr> |
| 2942 EOF | 2953 EOF |
| 2943 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 2954 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 2944 { (eval echo configure:2945: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 2955 { (eval echo configure:2956: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 2945 ac_err=`grep -v '^ *+' conftest.out` | 2956 ac_err=`grep -v '^ *+' conftest.out` |
| 2946 if test -z "$ac_err"; then | 2957 if test -z "$ac_err"; then |
| 2947 rm -rf conftest* | 2958 rm -rf conftest* |
| 2948 eval "ac_cv_header_$ac_safe=yes" | 2959 eval "ac_cv_header_$ac_safe=yes" |
| 2949 else | 2960 else |
| 2969 echo "$ac_t""no" 1>&6 | 2980 echo "$ac_t""no" 1>&6 |
| 2970 fi | 2981 fi |
| 2971 done | 2982 done |
| 2972 | 2983 |
| 2973 echo $ac_n "checking for sys/wait.h that is POSIX.1 compatible""... $ac_c" 1>&6 | 2984 echo $ac_n "checking for sys/wait.h that is POSIX.1 compatible""... $ac_c" 1>&6 |
| 2974 echo "configure:2975: checking for sys/wait.h that is POSIX.1 compatible" >&5 | 2985 echo "configure:2986: checking for sys/wait.h that is POSIX.1 compatible" >&5 |
| 2975 | 2986 |
| 2976 cat > conftest.$ac_ext <<EOF | 2987 cat > conftest.$ac_ext <<EOF |
| 2977 #line 2978 "configure" | 2988 #line 2989 "configure" |
| 2978 #include "confdefs.h" | 2989 #include "confdefs.h" |
| 2979 #include <sys/types.h> | 2990 #include <sys/types.h> |
| 2980 #include <sys/wait.h> | 2991 #include <sys/wait.h> |
| 2981 #ifndef WEXITSTATUS | 2992 #ifndef WEXITSTATUS |
| 2982 #define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8) | 2993 #define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8) |
| 2988 int s; | 2999 int s; |
| 2989 wait (&s); | 3000 wait (&s); |
| 2990 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1; | 3001 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1; |
| 2991 ; return 0; } | 3002 ; return 0; } |
| 2992 EOF | 3003 EOF |
| 2993 if { (eval echo configure:2994: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3004 if { (eval echo configure:3005: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| 2994 rm -rf conftest* | 3005 rm -rf conftest* |
| 2995 ac_cv_header_sys_wait_h=yes | 3006 ac_cv_header_sys_wait_h=yes |
| 2996 else | 3007 else |
| 2997 echo "configure: failed program was:" >&5 | 3008 echo "configure: failed program was:" >&5 |
| 2998 cat conftest.$ac_ext >&5 | 3009 cat conftest.$ac_ext >&5 |
| 3012 } | 3023 } |
| 3013 | 3024 |
| 3014 fi | 3025 fi |
| 3015 | 3026 |
| 3016 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6 | 3027 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6 |
| 3017 echo "configure:3018: checking for ANSI C header files" >&5 | 3028 echo "configure:3029: checking for ANSI C header files" >&5 |
| 3018 | 3029 |
| 3019 cat > conftest.$ac_ext <<EOF | 3030 cat > conftest.$ac_ext <<EOF |
| 3020 #line 3021 "configure" | 3031 #line 3032 "configure" |
| 3021 #include "confdefs.h" | 3032 #include "confdefs.h" |
| 3022 #include <stdlib.h> | 3033 #include <stdlib.h> |
| 3023 #include <stdarg.h> | 3034 #include <stdarg.h> |
| 3024 #include <string.h> | 3035 #include <string.h> |
| 3025 #include <float.h> | 3036 #include <float.h> |
| 3026 EOF | 3037 EOF |
| 3027 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 3038 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 3028 { (eval echo configure:3029: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 3039 { (eval echo configure:3040: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 3029 ac_err=`grep -v '^ *+' conftest.out` | 3040 ac_err=`grep -v '^ *+' conftest.out` |
| 3030 if test -z "$ac_err"; then | 3041 if test -z "$ac_err"; then |
| 3031 rm -rf conftest* | 3042 rm -rf conftest* |
| 3032 ac_cv_header_stdc=yes | 3043 ac_cv_header_stdc=yes |
| 3033 else | 3044 else |
| 3040 rm -f conftest* | 3051 rm -f conftest* |
| 3041 | 3052 |
| 3042 if test $ac_cv_header_stdc = yes; then | 3053 if test $ac_cv_header_stdc = yes; then |
| 3043 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. | 3054 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. |
| 3044 cat > conftest.$ac_ext <<EOF | 3055 cat > conftest.$ac_ext <<EOF |
| 3045 #line 3046 "configure" | 3056 #line 3057 "configure" |
| 3046 #include "confdefs.h" | 3057 #include "confdefs.h" |
| 3047 #include <string.h> | 3058 #include <string.h> |
| 3048 EOF | 3059 EOF |
| 3049 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 3060 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
| 3050 egrep "memchr" >/dev/null 2>&1; then | 3061 egrep "memchr" >/dev/null 2>&1; then |
| 3058 fi | 3069 fi |
| 3059 | 3070 |
| 3060 if test $ac_cv_header_stdc = yes; then | 3071 if test $ac_cv_header_stdc = yes; then |
| 3061 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. | 3072 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. |
| 3062 cat > conftest.$ac_ext <<EOF | 3073 cat > conftest.$ac_ext <<EOF |
| 3063 #line 3064 "configure" | 3074 #line 3075 "configure" |
| 3064 #include "confdefs.h" | 3075 #include "confdefs.h" |
| 3065 #include <stdlib.h> | 3076 #include <stdlib.h> |
| 3066 EOF | 3077 EOF |
| 3067 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 3078 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
| 3068 egrep "free" >/dev/null 2>&1; then | 3079 egrep "free" >/dev/null 2>&1; then |
| 3076 fi | 3087 fi |
| 3077 | 3088 |
| 3078 if test $ac_cv_header_stdc = yes; then | 3089 if test $ac_cv_header_stdc = yes; then |
| 3079 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. | 3090 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. |
| 3080 cat > conftest.$ac_ext <<EOF | 3091 cat > conftest.$ac_ext <<EOF |
| 3081 #line 3082 "configure" | 3092 #line 3093 "configure" |
| 3082 #include "confdefs.h" | 3093 #include "confdefs.h" |
| 3083 #include <ctype.h> | 3094 #include <ctype.h> |
| 3084 #define ISLOWER(c) ('a' <= (c) && (c) <= 'z') | 3095 #define ISLOWER(c) ('a' <= (c) && (c) <= 'z') |
| 3085 #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) | 3096 #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) |
| 3086 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) | 3097 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) |
| 3087 int main () { int i; for (i = 0; i < 256; i++) | 3098 int main () { int i; for (i = 0; i < 256; i++) |
| 3088 if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2); | 3099 if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2); |
| 3089 exit (0); } | 3100 exit (0); } |
| 3090 | 3101 |
| 3091 EOF | 3102 EOF |
| 3092 if { (eval echo configure:3093: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 | 3103 if { (eval echo configure:3104: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 |
| 3093 then | 3104 then |
| 3094 : | 3105 : |
| 3095 else | 3106 else |
| 3096 echo "configure: failed program was:" >&5 | 3107 echo "configure: failed program was:" >&5 |
| 3097 cat conftest.$ac_ext >&5 | 3108 cat conftest.$ac_ext >&5 |
| 3112 } | 3123 } |
| 3113 | 3124 |
| 3114 fi | 3125 fi |
| 3115 | 3126 |
| 3116 echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6 | 3127 echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6 |
| 3117 echo "configure:3118: checking whether time.h and sys/time.h may both be included" >&5 | 3128 echo "configure:3129: checking whether time.h and sys/time.h may both be included" >&5 |
| 3118 | 3129 |
| 3119 cat > conftest.$ac_ext <<EOF | 3130 cat > conftest.$ac_ext <<EOF |
| 3120 #line 3121 "configure" | 3131 #line 3132 "configure" |
| 3121 #include "confdefs.h" | 3132 #include "confdefs.h" |
| 3122 #include <sys/types.h> | 3133 #include <sys/types.h> |
| 3123 #include <sys/time.h> | 3134 #include <sys/time.h> |
| 3124 #include <time.h> | 3135 #include <time.h> |
| 3125 int main() { | 3136 int main() { |
| 3126 struct tm *tp; | 3137 struct tm *tp; |
| 3127 ; return 0; } | 3138 ; return 0; } |
| 3128 EOF | 3139 EOF |
| 3129 if { (eval echo configure:3130: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3140 if { (eval echo configure:3141: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| 3130 rm -rf conftest* | 3141 rm -rf conftest* |
| 3131 ac_cv_header_time=yes | 3142 ac_cv_header_time=yes |
| 3132 else | 3143 else |
| 3133 echo "configure: failed program was:" >&5 | 3144 echo "configure: failed program was:" >&5 |
| 3134 cat conftest.$ac_ext >&5 | 3145 cat conftest.$ac_ext >&5 |
| 3148 } | 3159 } |
| 3149 | 3160 |
| 3150 fi | 3161 fi |
| 3151 | 3162 |
| 3152 echo $ac_n "checking for sys_siglist declaration in signal.h or unistd.h""... $ac_c" 1>&6 | 3163 echo $ac_n "checking for sys_siglist declaration in signal.h or unistd.h""... $ac_c" 1>&6 |
| 3153 echo "configure:3154: checking for sys_siglist declaration in signal.h or unistd.h" >&5 | 3164 echo "configure:3165: checking for sys_siglist declaration in signal.h or unistd.h" >&5 |
| 3154 | 3165 |
| 3155 cat > conftest.$ac_ext <<EOF | 3166 cat > conftest.$ac_ext <<EOF |
| 3156 #line 3157 "configure" | 3167 #line 3168 "configure" |
| 3157 #include "confdefs.h" | 3168 #include "confdefs.h" |
| 3158 #include <sys/types.h> | 3169 #include <sys/types.h> |
| 3159 #include <signal.h> | 3170 #include <signal.h> |
| 3160 /* NetBSD declares sys_siglist in unistd.h. */ | 3171 /* NetBSD declares sys_siglist in unistd.h. */ |
| 3161 #ifdef HAVE_UNISTD_H | 3172 #ifdef HAVE_UNISTD_H |
| 3163 #endif | 3174 #endif |
| 3164 int main() { | 3175 int main() { |
| 3165 char *msg = *(sys_siglist + 1); | 3176 char *msg = *(sys_siglist + 1); |
| 3166 ; return 0; } | 3177 ; return 0; } |
| 3167 EOF | 3178 EOF |
| 3168 if { (eval echo configure:3169: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3179 if { (eval echo configure:3180: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| 3169 rm -rf conftest* | 3180 rm -rf conftest* |
| 3170 ac_cv_decl_sys_siglist=yes | 3181 ac_cv_decl_sys_siglist=yes |
| 3171 else | 3182 else |
| 3172 echo "configure: failed program was:" >&5 | 3183 echo "configure: failed program was:" >&5 |
| 3173 cat conftest.$ac_ext >&5 | 3184 cat conftest.$ac_ext >&5 |
| 3188 | 3199 |
| 3189 fi | 3200 fi |
| 3190 | 3201 |
| 3191 | 3202 |
| 3192 echo $ac_n "checking for struct utimbuf""... $ac_c" 1>&6 | 3203 echo $ac_n "checking for struct utimbuf""... $ac_c" 1>&6 |
| 3193 echo "configure:3194: checking for struct utimbuf" >&5 | 3204 echo "configure:3205: checking for struct utimbuf" >&5 |
| 3194 cat > conftest.$ac_ext <<EOF | 3205 cat > conftest.$ac_ext <<EOF |
| 3195 #line 3196 "configure" | 3206 #line 3207 "configure" |
| 3196 #include "confdefs.h" | 3207 #include "confdefs.h" |
| 3197 #ifdef TIME_WITH_SYS_TIME | 3208 #ifdef TIME_WITH_SYS_TIME |
| 3198 #include <sys/time.h> | 3209 #include <sys/time.h> |
| 3199 #include <time.h> | 3210 #include <time.h> |
| 3200 #else | 3211 #else |
| 3209 #endif | 3220 #endif |
| 3210 int main() { | 3221 int main() { |
| 3211 static struct utimbuf x; x.actime = x.modtime; | 3222 static struct utimbuf x; x.actime = x.modtime; |
| 3212 ; return 0; } | 3223 ; return 0; } |
| 3213 EOF | 3224 EOF |
| 3214 if { (eval echo configure:3215: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3225 if { (eval echo configure:3226: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| 3215 rm -rf conftest* | 3226 rm -rf conftest* |
| 3216 echo "$ac_t""yes" 1>&6 | 3227 echo "$ac_t""yes" 1>&6 |
| 3217 { test "$extra_verbose" = "yes" && cat << \EOF | 3228 { test "$extra_verbose" = "yes" && cat << \EOF |
| 3218 Defining HAVE_STRUCT_UTIMBUF | 3229 Defining HAVE_STRUCT_UTIMBUF |
| 3219 EOF | 3230 EOF |
| 3229 echo "$ac_t""no" 1>&6 | 3240 echo "$ac_t""no" 1>&6 |
| 3230 fi | 3241 fi |
| 3231 rm -f conftest* | 3242 rm -f conftest* |
| 3232 | 3243 |
| 3233 echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6 | 3244 echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6 |
| 3234 echo "configure:3235: checking return type of signal handlers" >&5 | 3245 echo "configure:3246: checking return type of signal handlers" >&5 |
| 3235 | 3246 |
| 3236 cat > conftest.$ac_ext <<EOF | 3247 cat > conftest.$ac_ext <<EOF |
| 3237 #line 3238 "configure" | 3248 #line 3249 "configure" |
| 3238 #include "confdefs.h" | 3249 #include "confdefs.h" |
| 3239 #include <sys/types.h> | 3250 #include <sys/types.h> |
| 3240 #include <signal.h> | 3251 #include <signal.h> |
| 3241 #ifdef signal | 3252 #ifdef signal |
| 3242 #undef signal | 3253 #undef signal |
| 3249 | 3260 |
| 3250 int main() { | 3261 int main() { |
| 3251 int i; | 3262 int i; |
| 3252 ; return 0; } | 3263 ; return 0; } |
| 3253 EOF | 3264 EOF |
| 3254 if { (eval echo configure:3255: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3265 if { (eval echo configure:3266: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| 3255 rm -rf conftest* | 3266 rm -rf conftest* |
| 3256 ac_cv_type_signal=void | 3267 ac_cv_type_signal=void |
| 3257 else | 3268 else |
| 3258 echo "configure: failed program was:" >&5 | 3269 echo "configure: failed program was:" >&5 |
| 3259 cat conftest.$ac_ext >&5 | 3270 cat conftest.$ac_ext >&5 |
| 3271 EOF | 3282 EOF |
| 3272 } | 3283 } |
| 3273 | 3284 |
| 3274 | 3285 |
| 3275 echo $ac_n "checking for size_t""... $ac_c" 1>&6 | 3286 echo $ac_n "checking for size_t""... $ac_c" 1>&6 |
| 3276 echo "configure:3277: checking for size_t" >&5 | 3287 echo "configure:3288: checking for size_t" >&5 |
| 3277 | 3288 |
| 3278 cat > conftest.$ac_ext <<EOF | 3289 cat > conftest.$ac_ext <<EOF |
| 3279 #line 3280 "configure" | 3290 #line 3291 "configure" |
| 3280 #include "confdefs.h" | 3291 #include "confdefs.h" |
| 3281 #include <sys/types.h> | 3292 #include <sys/types.h> |
| 3282 #if STDC_HEADERS | 3293 #if STDC_HEADERS |
| 3283 #include <stdlib.h> | 3294 #include <stdlib.h> |
| 3284 #include <stddef.h> | 3295 #include <stddef.h> |
| 3305 } | 3316 } |
| 3306 | 3317 |
| 3307 fi | 3318 fi |
| 3308 | 3319 |
| 3309 echo $ac_n "checking for pid_t""... $ac_c" 1>&6 | 3320 echo $ac_n "checking for pid_t""... $ac_c" 1>&6 |
| 3310 echo "configure:3311: checking for pid_t" >&5 | 3321 echo "configure:3322: checking for pid_t" >&5 |
| 3311 | 3322 |
| 3312 cat > conftest.$ac_ext <<EOF | 3323 cat > conftest.$ac_ext <<EOF |
| 3313 #line 3314 "configure" | 3324 #line 3325 "configure" |
| 3314 #include "confdefs.h" | 3325 #include "confdefs.h" |
| 3315 #include <sys/types.h> | 3326 #include <sys/types.h> |
| 3316 #if STDC_HEADERS | 3327 #if STDC_HEADERS |
| 3317 #include <stdlib.h> | 3328 #include <stdlib.h> |
| 3318 #include <stddef.h> | 3329 #include <stddef.h> |
| 3339 } | 3350 } |
| 3340 | 3351 |
| 3341 fi | 3352 fi |
| 3342 | 3353 |
| 3343 echo $ac_n "checking for uid_t in sys/types.h""... $ac_c" 1>&6 | 3354 echo $ac_n "checking for uid_t in sys/types.h""... $ac_c" 1>&6 |
| 3344 echo "configure:3345: checking for uid_t in sys/types.h" >&5 | 3355 echo "configure:3356: checking for uid_t in sys/types.h" >&5 |
| 3345 | 3356 |
| 3346 cat > conftest.$ac_ext <<EOF | 3357 cat > conftest.$ac_ext <<EOF |
| 3347 #line 3348 "configure" | 3358 #line 3359 "configure" |
| 3348 #include "confdefs.h" | 3359 #include "confdefs.h" |
| 3349 #include <sys/types.h> | 3360 #include <sys/types.h> |
| 3350 EOF | 3361 EOF |
| 3351 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 3362 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
| 3352 egrep "uid_t" >/dev/null 2>&1; then | 3363 egrep "uid_t" >/dev/null 2>&1; then |
| 3378 } | 3389 } |
| 3379 | 3390 |
| 3380 fi | 3391 fi |
| 3381 | 3392 |
| 3382 echo $ac_n "checking for mode_t""... $ac_c" 1>&6 | 3393 echo $ac_n "checking for mode_t""... $ac_c" 1>&6 |
| 3383 echo "configure:3384: checking for mode_t" >&5 | 3394 echo "configure:3395: checking for mode_t" >&5 |
| 3384 | 3395 |
| 3385 cat > conftest.$ac_ext <<EOF | 3396 cat > conftest.$ac_ext <<EOF |
| 3386 #line 3387 "configure" | 3397 #line 3398 "configure" |
| 3387 #include "confdefs.h" | 3398 #include "confdefs.h" |
| 3388 #include <sys/types.h> | 3399 #include <sys/types.h> |
| 3389 #if STDC_HEADERS | 3400 #if STDC_HEADERS |
| 3390 #include <stdlib.h> | 3401 #include <stdlib.h> |
| 3391 #include <stddef.h> | 3402 #include <stddef.h> |
| 3412 } | 3423 } |
| 3413 | 3424 |
| 3414 fi | 3425 fi |
| 3415 | 3426 |
| 3416 echo $ac_n "checking for off_t""... $ac_c" 1>&6 | 3427 echo $ac_n "checking for off_t""... $ac_c" 1>&6 |
| 3417 echo "configure:3418: checking for off_t" >&5 | 3428 echo "configure:3429: checking for off_t" >&5 |
| 3418 | 3429 |
| 3419 cat > conftest.$ac_ext <<EOF | 3430 cat > conftest.$ac_ext <<EOF |
| 3420 #line 3421 "configure" | 3431 #line 3432 "configure" |
| 3421 #include "confdefs.h" | 3432 #include "confdefs.h" |
| 3422 #include <sys/types.h> | 3433 #include <sys/types.h> |
| 3423 #if STDC_HEADERS | 3434 #if STDC_HEADERS |
| 3424 #include <stdlib.h> | 3435 #include <stdlib.h> |
| 3425 #include <stddef.h> | 3436 #include <stddef.h> |
| 3447 | 3458 |
| 3448 fi | 3459 fi |
| 3449 | 3460 |
| 3450 | 3461 |
| 3451 echo $ac_n "checking for struct timeval""... $ac_c" 1>&6 | 3462 echo $ac_n "checking for struct timeval""... $ac_c" 1>&6 |
| 3452 echo "configure:3453: checking for struct timeval" >&5 | 3463 echo "configure:3464: checking for struct timeval" >&5 |
| 3453 cat > conftest.$ac_ext <<EOF | 3464 cat > conftest.$ac_ext <<EOF |
| 3454 #line 3455 "configure" | 3465 #line 3466 "configure" |
| 3455 #include "confdefs.h" | 3466 #include "confdefs.h" |
| 3456 #ifdef TIME_WITH_SYS_TIME | 3467 #ifdef TIME_WITH_SYS_TIME |
| 3457 #include <sys/time.h> | 3468 #include <sys/time.h> |
| 3458 #include <time.h> | 3469 #include <time.h> |
| 3459 #else | 3470 #else |
| 3465 #endif | 3476 #endif |
| 3466 int main() { | 3477 int main() { |
| 3467 static struct timeval x; x.tv_sec = x.tv_usec; | 3478 static struct timeval x; x.tv_sec = x.tv_usec; |
| 3468 ; return 0; } | 3479 ; return 0; } |
| 3469 EOF | 3480 EOF |
| 3470 if { (eval echo configure:3471: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3481 if { (eval echo configure:3482: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| 3471 rm -rf conftest* | 3482 rm -rf conftest* |
| 3472 echo "$ac_t""yes" 1>&6 | 3483 echo "$ac_t""yes" 1>&6 |
| 3473 HAVE_TIMEVAL=yes | 3484 HAVE_TIMEVAL=yes |
| 3474 { test "$extra_verbose" = "yes" && cat << \EOF | 3485 { test "$extra_verbose" = "yes" && cat << \EOF |
| 3475 Defining HAVE_TIMEVAL | 3486 Defining HAVE_TIMEVAL |
| 3487 HAVE_TIMEVAL=no | 3498 HAVE_TIMEVAL=no |
| 3488 fi | 3499 fi |
| 3489 rm -f conftest* | 3500 rm -f conftest* |
| 3490 | 3501 |
| 3491 echo $ac_n "checking whether struct tm is in sys/time.h or time.h""... $ac_c" 1>&6 | 3502 echo $ac_n "checking whether struct tm is in sys/time.h or time.h""... $ac_c" 1>&6 |
| 3492 echo "configure:3493: checking whether struct tm is in sys/time.h or time.h" >&5 | 3503 echo "configure:3504: checking whether struct tm is in sys/time.h or time.h" >&5 |
| 3493 | 3504 |
| 3494 cat > conftest.$ac_ext <<EOF | 3505 cat > conftest.$ac_ext <<EOF |
| 3495 #line 3496 "configure" | 3506 #line 3507 "configure" |
| 3496 #include "confdefs.h" | 3507 #include "confdefs.h" |
| 3497 #include <sys/types.h> | 3508 #include <sys/types.h> |
| 3498 #include <time.h> | 3509 #include <time.h> |
| 3499 int main() { | 3510 int main() { |
| 3500 struct tm *tp; tp->tm_sec; | 3511 struct tm *tp; tp->tm_sec; |
| 3501 ; return 0; } | 3512 ; return 0; } |
| 3502 EOF | 3513 EOF |
| 3503 if { (eval echo configure:3504: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3514 if { (eval echo configure:3515: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| 3504 rm -rf conftest* | 3515 rm -rf conftest* |
| 3505 ac_cv_struct_tm=time.h | 3516 ac_cv_struct_tm=time.h |
| 3506 else | 3517 else |
| 3507 echo "configure: failed program was:" >&5 | 3518 echo "configure: failed program was:" >&5 |
| 3508 cat conftest.$ac_ext >&5 | 3519 cat conftest.$ac_ext >&5 |
| 3522 } | 3533 } |
| 3523 | 3534 |
| 3524 fi | 3535 fi |
| 3525 | 3536 |
| 3526 echo $ac_n "checking for tm_zone in struct tm""... $ac_c" 1>&6 | 3537 echo $ac_n "checking for tm_zone in struct tm""... $ac_c" 1>&6 |
| 3527 echo "configure:3528: checking for tm_zone in struct tm" >&5 | 3538 echo "configure:3539: checking for tm_zone in struct tm" >&5 |
| 3528 | 3539 |
| 3529 cat > conftest.$ac_ext <<EOF | 3540 cat > conftest.$ac_ext <<EOF |
| 3530 #line 3531 "configure" | 3541 #line 3542 "configure" |
| 3531 #include "confdefs.h" | 3542 #include "confdefs.h" |
| 3532 #include <sys/types.h> | 3543 #include <sys/types.h> |
| 3533 #include <$ac_cv_struct_tm> | 3544 #include <$ac_cv_struct_tm> |
| 3534 int main() { | 3545 int main() { |
| 3535 struct tm tm; tm.tm_zone; | 3546 struct tm tm; tm.tm_zone; |
| 3536 ; return 0; } | 3547 ; return 0; } |
| 3537 EOF | 3548 EOF |
| 3538 if { (eval echo configure:3539: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3549 if { (eval echo configure:3550: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| 3539 rm -rf conftest* | 3550 rm -rf conftest* |
| 3540 ac_cv_struct_tm_zone=yes | 3551 ac_cv_struct_tm_zone=yes |
| 3541 else | 3552 else |
| 3542 echo "configure: failed program was:" >&5 | 3553 echo "configure: failed program was:" >&5 |
| 3543 cat conftest.$ac_ext >&5 | 3554 cat conftest.$ac_ext >&5 |
| 3556 EOF | 3567 EOF |
| 3557 } | 3568 } |
| 3558 | 3569 |
| 3559 else | 3570 else |
| 3560 echo $ac_n "checking for tzname""... $ac_c" 1>&6 | 3571 echo $ac_n "checking for tzname""... $ac_c" 1>&6 |
| 3561 echo "configure:3562: checking for tzname" >&5 | 3572 echo "configure:3573: checking for tzname" >&5 |
| 3562 | 3573 |
| 3563 cat > conftest.$ac_ext <<EOF | 3574 cat > conftest.$ac_ext <<EOF |
| 3564 #line 3565 "configure" | 3575 #line 3576 "configure" |
| 3565 #include "confdefs.h" | 3576 #include "confdefs.h" |
| 3566 #include <time.h> | 3577 #include <time.h> |
| 3567 #ifndef tzname /* For SGI. */ | 3578 #ifndef tzname /* For SGI. */ |
| 3568 extern char *tzname[]; /* RS6000 and others reject char **tzname. */ | 3579 extern char *tzname[]; /* RS6000 and others reject char **tzname. */ |
| 3569 #endif | 3580 #endif |
| 3570 int main() { | 3581 int main() { |
| 3571 atoi(*tzname); | 3582 atoi(*tzname); |
| 3572 ; return 0; } | 3583 ; return 0; } |
| 3573 EOF | 3584 EOF |
| 3574 if { (eval echo configure:3575: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 3585 if { (eval echo configure:3586: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 3575 rm -rf conftest* | 3586 rm -rf conftest* |
| 3576 ac_cv_var_tzname=yes | 3587 ac_cv_var_tzname=yes |
| 3577 else | 3588 else |
| 3578 echo "configure: failed program was:" >&5 | 3589 echo "configure: failed program was:" >&5 |
| 3579 cat conftest.$ac_ext >&5 | 3590 cat conftest.$ac_ext >&5 |
| 3595 fi | 3606 fi |
| 3596 fi | 3607 fi |
| 3597 | 3608 |
| 3598 | 3609 |
| 3599 echo $ac_n "checking for working const""... $ac_c" 1>&6 | 3610 echo $ac_n "checking for working const""... $ac_c" 1>&6 |
| 3600 echo "configure:3601: checking for working const" >&5 | 3611 echo "configure:3612: checking for working const" >&5 |
| 3601 | 3612 |
| 3602 cat > conftest.$ac_ext <<EOF | 3613 cat > conftest.$ac_ext <<EOF |
| 3603 #line 3604 "configure" | 3614 #line 3615 "configure" |
| 3604 #include "confdefs.h" | 3615 #include "confdefs.h" |
| 3605 | 3616 |
| 3606 int main() { | 3617 int main() { |
| 3607 | 3618 |
| 3608 /* Ultrix mips cc rejects this. */ | 3619 /* Ultrix mips cc rejects this. */ |
| 3647 const int foo = 10; | 3658 const int foo = 10; |
| 3648 } | 3659 } |
| 3649 | 3660 |
| 3650 ; return 0; } | 3661 ; return 0; } |
| 3651 EOF | 3662 EOF |
| 3652 if { (eval echo configure:3653: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3663 if { (eval echo configure:3664: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| 3653 rm -rf conftest* | 3664 rm -rf conftest* |
| 3654 ac_cv_c_const=yes | 3665 ac_cv_c_const=yes |
| 3655 else | 3666 else |
| 3656 echo "configure: failed program was:" >&5 | 3667 echo "configure: failed program was:" >&5 |
| 3657 cat conftest.$ac_ext >&5 | 3668 cat conftest.$ac_ext >&5 |
| 3672 | 3683 |
| 3673 fi | 3684 fi |
| 3674 | 3685 |
| 3675 | 3686 |
| 3676 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6 | 3687 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6 |
| 3677 echo "configure:3678: checking whether ${MAKE-make} sets \${MAKE}" >&5 | 3688 echo "configure:3689: checking whether ${MAKE-make} sets \${MAKE}" >&5 |
| 3678 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'` | 3689 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'` |
| 3679 | 3690 |
| 3680 cat > conftestmake <<\EOF | 3691 cat > conftestmake <<\EOF |
| 3681 all: | 3692 all: |
| 3682 @echo 'ac_maketemp="${MAKE}"' | 3693 @echo 'ac_maketemp="${MAKE}"' |
| 3697 SET_MAKE="MAKE=${MAKE-make}" | 3708 SET_MAKE="MAKE=${MAKE-make}" |
| 3698 fi | 3709 fi |
| 3699 | 3710 |
| 3700 | 3711 |
| 3701 echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6 | 3712 echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6 |
| 3702 echo "configure:3703: checking whether byte ordering is bigendian" >&5 | 3713 echo "configure:3714: checking whether byte ordering is bigendian" >&5 |
| 3703 | 3714 |
| 3704 ac_cv_c_bigendian=unknown | 3715 ac_cv_c_bigendian=unknown |
| 3705 # See if sys/param.h defines the BYTE_ORDER macro. | 3716 # See if sys/param.h defines the BYTE_ORDER macro. |
| 3706 cat > conftest.$ac_ext <<EOF | 3717 cat > conftest.$ac_ext <<EOF |
| 3707 #line 3708 "configure" | 3718 #line 3719 "configure" |
| 3708 #include "confdefs.h" | 3719 #include "confdefs.h" |
| 3709 #include <sys/types.h> | 3720 #include <sys/types.h> |
| 3710 #include <sys/param.h> | 3721 #include <sys/param.h> |
| 3711 int main() { | 3722 int main() { |
| 3712 | 3723 |
| 3713 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN | 3724 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN |
| 3714 bogus endian macros | 3725 bogus endian macros |
| 3715 #endif | 3726 #endif |
| 3716 ; return 0; } | 3727 ; return 0; } |
| 3717 EOF | 3728 EOF |
| 3718 if { (eval echo configure:3719: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3729 if { (eval echo configure:3730: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| 3719 rm -rf conftest* | 3730 rm -rf conftest* |
| 3720 # It does; now see whether it defined to BIG_ENDIAN or not. | 3731 # It does; now see whether it defined to BIG_ENDIAN or not. |
| 3721 cat > conftest.$ac_ext <<EOF | 3732 cat > conftest.$ac_ext <<EOF |
| 3722 #line 3723 "configure" | 3733 #line 3734 "configure" |
| 3723 #include "confdefs.h" | 3734 #include "confdefs.h" |
| 3724 #include <sys/types.h> | 3735 #include <sys/types.h> |
| 3725 #include <sys/param.h> | 3736 #include <sys/param.h> |
| 3726 int main() { | 3737 int main() { |
| 3727 | 3738 |
| 3728 #if BYTE_ORDER != BIG_ENDIAN | 3739 #if BYTE_ORDER != BIG_ENDIAN |
| 3729 not big endian | 3740 not big endian |
| 3730 #endif | 3741 #endif |
| 3731 ; return 0; } | 3742 ; return 0; } |
| 3732 EOF | 3743 EOF |
| 3733 if { (eval echo configure:3734: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3744 if { (eval echo configure:3745: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| 3734 rm -rf conftest* | 3745 rm -rf conftest* |
| 3735 ac_cv_c_bigendian=yes | 3746 ac_cv_c_bigendian=yes |
| 3736 else | 3747 else |
| 3737 echo "configure: failed program was:" >&5 | 3748 echo "configure: failed program was:" >&5 |
| 3738 cat conftest.$ac_ext >&5 | 3749 cat conftest.$ac_ext >&5 |
| 3745 cat conftest.$ac_ext >&5 | 3756 cat conftest.$ac_ext >&5 |
| 3746 fi | 3757 fi |
| 3747 rm -f conftest* | 3758 rm -f conftest* |
| 3748 if test $ac_cv_c_bigendian = unknown; then | 3759 if test $ac_cv_c_bigendian = unknown; then |
| 3749 cat > conftest.$ac_ext <<EOF | 3760 cat > conftest.$ac_ext <<EOF |
| 3750 #line 3751 "configure" | 3761 #line 3762 "configure" |
| 3751 #include "confdefs.h" | 3762 #include "confdefs.h" |
| 3752 main () { | 3763 main () { |
| 3753 /* Are we little or big endian? From Harbison&Steele. */ | 3764 /* Are we little or big endian? From Harbison&Steele. */ |
| 3754 union | 3765 union |
| 3755 { | 3766 { |
| 3758 } u; | 3769 } u; |
| 3759 u.l = 1; | 3770 u.l = 1; |
| 3760 exit (u.c[sizeof (long) - 1] == 1); | 3771 exit (u.c[sizeof (long) - 1] == 1); |
| 3761 } | 3772 } |
| 3762 EOF | 3773 EOF |
| 3763 if { (eval echo configure:3764: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 | 3774 if { (eval echo configure:3775: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 |
| 3764 then | 3775 then |
| 3765 ac_cv_c_bigendian=no | 3776 ac_cv_c_bigendian=no |
| 3766 else | 3777 else |
| 3767 echo "configure: failed program was:" >&5 | 3778 echo "configure: failed program was:" >&5 |
| 3768 cat conftest.$ac_ext >&5 | 3779 cat conftest.$ac_ext >&5 |
| 3784 | 3795 |
| 3785 fi | 3796 fi |
| 3786 | 3797 |
| 3787 | 3798 |
| 3788 echo $ac_n "checking size of short""... $ac_c" 1>&6 | 3799 echo $ac_n "checking size of short""... $ac_c" 1>&6 |
| 3789 echo "configure:3790: checking size of short" >&5 | 3800 echo "configure:3801: checking size of short" >&5 |
| 3790 | 3801 |
| 3791 cat > conftest.$ac_ext <<EOF | 3802 cat > conftest.$ac_ext <<EOF |
| 3792 #line 3793 "configure" | 3803 #line 3804 "configure" |
| 3793 #include "confdefs.h" | 3804 #include "confdefs.h" |
| 3794 #include <stdio.h> | 3805 #include <stdio.h> |
| 3795 main() | 3806 main() |
| 3796 { | 3807 { |
| 3797 FILE *f=fopen("conftestval", "w"); | 3808 FILE *f=fopen("conftestval", "w"); |
| 3798 if (!f) exit(1); | 3809 if (!f) exit(1); |
| 3799 fprintf(f, "%d\n", sizeof(short)); | 3810 fprintf(f, "%d\n", sizeof(short)); |
| 3800 exit(0); | 3811 exit(0); |
| 3801 } | 3812 } |
| 3802 EOF | 3813 EOF |
| 3803 if { (eval echo configure:3804: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 | 3814 if { (eval echo configure:3815: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 |
| 3804 then | 3815 then |
| 3805 ac_cv_sizeof_short=`cat conftestval` | 3816 ac_cv_sizeof_short=`cat conftestval` |
| 3806 else | 3817 else |
| 3807 echo "configure: failed program was:" >&5 | 3818 echo "configure: failed program was:" >&5 |
| 3808 cat conftest.$ac_ext >&5 | 3819 cat conftest.$ac_ext >&5 |
| 3825 echo "*** PANIC *** Configure tests are not working - compiler is broken." | 3836 echo "*** PANIC *** Configure tests are not working - compiler is broken." |
| 3826 echo "*** PANIC *** Please examine config.log for compilation errors." | 3837 echo "*** PANIC *** Please examine config.log for compilation errors." |
| 3827 exit 1 | 3838 exit 1 |
| 3828 fi | 3839 fi |
| 3829 echo $ac_n "checking size of int""... $ac_c" 1>&6 | 3840 echo $ac_n "checking size of int""... $ac_c" 1>&6 |
| 3830 echo "configure:3831: checking size of int" >&5 | 3841 echo "configure:3842: checking size of int" >&5 |
| 3831 | 3842 |
| 3832 cat > conftest.$ac_ext <<EOF | 3843 cat > conftest.$ac_ext <<EOF |
| 3833 #line 3834 "configure" | 3844 #line 3845 "configure" |
| 3834 #include "confdefs.h" | 3845 #include "confdefs.h" |
| 3835 #include <stdio.h> | 3846 #include <stdio.h> |
| 3836 main() | 3847 main() |
| 3837 { | 3848 { |
| 3838 FILE *f=fopen("conftestval", "w"); | 3849 FILE *f=fopen("conftestval", "w"); |
| 3839 if (!f) exit(1); | 3850 if (!f) exit(1); |
| 3840 fprintf(f, "%d\n", sizeof(int)); | 3851 fprintf(f, "%d\n", sizeof(int)); |
| 3841 exit(0); | 3852 exit(0); |
| 3842 } | 3853 } |
| 3843 EOF | 3854 EOF |
| 3844 if { (eval echo configure:3845: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 | 3855 if { (eval echo configure:3856: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 |
| 3845 then | 3856 then |
| 3846 ac_cv_sizeof_int=`cat conftestval` | 3857 ac_cv_sizeof_int=`cat conftestval` |
| 3847 else | 3858 else |
| 3848 echo "configure: failed program was:" >&5 | 3859 echo "configure: failed program was:" >&5 |
| 3849 cat conftest.$ac_ext >&5 | 3860 cat conftest.$ac_ext >&5 |
| 3860 EOF | 3871 EOF |
| 3861 } | 3872 } |
| 3862 | 3873 |
| 3863 | 3874 |
| 3864 echo $ac_n "checking size of long""... $ac_c" 1>&6 | 3875 echo $ac_n "checking size of long""... $ac_c" 1>&6 |
| 3865 echo "configure:3866: checking size of long" >&5 | 3876 echo "configure:3877: checking size of long" >&5 |
| 3866 | 3877 |
| 3867 cat > conftest.$ac_ext <<EOF | 3878 cat > conftest.$ac_ext <<EOF |
| 3868 #line 3869 "configure" | 3879 #line 3880 "configure" |
| 3869 #include "confdefs.h" | 3880 #include "confdefs.h" |
| 3870 #include <stdio.h> | 3881 #include <stdio.h> |
| 3871 main() | 3882 main() |
| 3872 { | 3883 { |
| 3873 FILE *f=fopen("conftestval", "w"); | 3884 FILE *f=fopen("conftestval", "w"); |
| 3874 if (!f) exit(1); | 3885 if (!f) exit(1); |
| 3875 fprintf(f, "%d\n", sizeof(long)); | 3886 fprintf(f, "%d\n", sizeof(long)); |
| 3876 exit(0); | 3887 exit(0); |
| 3877 } | 3888 } |
| 3878 EOF | 3889 EOF |
| 3879 if { (eval echo configure:3880: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 | 3890 if { (eval echo configure:3891: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 |
| 3880 then | 3891 then |
| 3881 ac_cv_sizeof_long=`cat conftestval` | 3892 ac_cv_sizeof_long=`cat conftestval` |
| 3882 else | 3893 else |
| 3883 echo "configure: failed program was:" >&5 | 3894 echo "configure: failed program was:" >&5 |
| 3884 cat conftest.$ac_ext >&5 | 3895 cat conftest.$ac_ext >&5 |
| 3895 EOF | 3906 EOF |
| 3896 } | 3907 } |
| 3897 | 3908 |
| 3898 | 3909 |
| 3899 echo $ac_n "checking size of long long""... $ac_c" 1>&6 | 3910 echo $ac_n "checking size of long long""... $ac_c" 1>&6 |
| 3900 echo "configure:3901: checking size of long long" >&5 | 3911 echo "configure:3912: checking size of long long" >&5 |
| 3901 | 3912 |
| 3902 cat > conftest.$ac_ext <<EOF | 3913 cat > conftest.$ac_ext <<EOF |
| 3903 #line 3904 "configure" | 3914 #line 3915 "configure" |
| 3904 #include "confdefs.h" | 3915 #include "confdefs.h" |
| 3905 #include <stdio.h> | 3916 #include <stdio.h> |
| 3906 main() | 3917 main() |
| 3907 { | 3918 { |
| 3908 FILE *f=fopen("conftestval", "w"); | 3919 FILE *f=fopen("conftestval", "w"); |
| 3909 if (!f) exit(1); | 3920 if (!f) exit(1); |
| 3910 fprintf(f, "%d\n", sizeof(long long)); | 3921 fprintf(f, "%d\n", sizeof(long long)); |
| 3911 exit(0); | 3922 exit(0); |
| 3912 } | 3923 } |
| 3913 EOF | 3924 EOF |
| 3914 if { (eval echo configure:3915: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 | 3925 if { (eval echo configure:3926: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 |
| 3915 then | 3926 then |
| 3916 ac_cv_sizeof_long_long=`cat conftestval` | 3927 ac_cv_sizeof_long_long=`cat conftestval` |
| 3917 else | 3928 else |
| 3918 echo "configure: failed program was:" >&5 | 3929 echo "configure: failed program was:" >&5 |
| 3919 cat conftest.$ac_ext >&5 | 3930 cat conftest.$ac_ext >&5 |
| 3930 EOF | 3941 EOF |
| 3931 } | 3942 } |
| 3932 | 3943 |
| 3933 | 3944 |
| 3934 echo $ac_n "checking size of void *""... $ac_c" 1>&6 | 3945 echo $ac_n "checking size of void *""... $ac_c" 1>&6 |
| 3935 echo "configure:3936: checking size of void *" >&5 | 3946 echo "configure:3947: checking size of void *" >&5 |
| 3936 | 3947 |
| 3937 cat > conftest.$ac_ext <<EOF | 3948 cat > conftest.$ac_ext <<EOF |
| 3938 #line 3939 "configure" | 3949 #line 3950 "configure" |
| 3939 #include "confdefs.h" | 3950 #include "confdefs.h" |
| 3940 #include <stdio.h> | 3951 #include <stdio.h> |
| 3941 main() | 3952 main() |
| 3942 { | 3953 { |
| 3943 FILE *f=fopen("conftestval", "w"); | 3954 FILE *f=fopen("conftestval", "w"); |
| 3944 if (!f) exit(1); | 3955 if (!f) exit(1); |
| 3945 fprintf(f, "%d\n", sizeof(void *)); | 3956 fprintf(f, "%d\n", sizeof(void *)); |
| 3946 exit(0); | 3957 exit(0); |
| 3947 } | 3958 } |
| 3948 EOF | 3959 EOF |
| 3949 if { (eval echo configure:3950: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 | 3960 if { (eval echo configure:3961: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 |
| 3950 then | 3961 then |
| 3951 ac_cv_sizeof_void_p=`cat conftestval` | 3962 ac_cv_sizeof_void_p=`cat conftestval` |
| 3952 else | 3963 else |
| 3953 echo "configure: failed program was:" >&5 | 3964 echo "configure: failed program was:" >&5 |
| 3954 cat conftest.$ac_ext >&5 | 3965 cat conftest.$ac_ext >&5 |
| 3966 } | 3977 } |
| 3967 | 3978 |
| 3968 | 3979 |
| 3969 | 3980 |
| 3970 echo $ac_n "checking for long file names""... $ac_c" 1>&6 | 3981 echo $ac_n "checking for long file names""... $ac_c" 1>&6 |
| 3971 echo "configure:3972: checking for long file names" >&5 | 3982 echo "configure:3983: checking for long file names" >&5 |
| 3972 | 3983 |
| 3973 ac_cv_sys_long_file_names=yes | 3984 ac_cv_sys_long_file_names=yes |
| 3974 # Test for long file names in all the places we know might matter: | 3985 # Test for long file names in all the places we know might matter: |
| 3975 # . the current directory, where building will happen | 3986 # . the current directory, where building will happen |
| 3976 # $prefix/lib where we will be installing things | 3987 # $prefix/lib where we will be installing things |
| 4013 fi | 4024 fi |
| 4014 | 4025 |
| 4015 | 4026 |
| 4016 | 4027 |
| 4017 echo $ac_n "checking for sin in -lm""... $ac_c" 1>&6 | 4028 echo $ac_n "checking for sin in -lm""... $ac_c" 1>&6 |
| 4018 echo "configure:4019: checking for sin in -lm" >&5 | 4029 echo "configure:4030: checking for sin in -lm" >&5 |
| 4019 ac_lib_var=`echo m'_'sin | sed 'y%./+-%__p_%'` | 4030 ac_lib_var=`echo m'_'sin | sed 'y%./+-%__p_%'` |
| 4020 | 4031 |
| 4021 xe_check_libs=" -lm " | 4032 xe_check_libs=" -lm " |
| 4022 cat > conftest.$ac_ext <<EOF | 4033 cat > conftest.$ac_ext <<EOF |
| 4023 #line 4024 "configure" | 4034 #line 4035 "configure" |
| 4024 #include "confdefs.h" | 4035 #include "confdefs.h" |
| 4025 /* Override any gcc2 internal prototype to avoid an error. */ | 4036 /* Override any gcc2 internal prototype to avoid an error. */ |
| 4026 /* We use char because int might match the return type of a gcc2 | 4037 /* We use char because int might match the return type of a gcc2 |
| 4027 builtin and then its argument prototype would still apply. */ | 4038 builtin and then its argument prototype would still apply. */ |
| 4028 char sin(); | 4039 char sin(); |
| 4029 | 4040 |
| 4030 int main() { | 4041 int main() { |
| 4031 sin() | 4042 sin() |
| 4032 ; return 0; } | 4043 ; return 0; } |
| 4033 EOF | 4044 EOF |
| 4034 if { (eval echo configure:4035: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4045 if { (eval echo configure:4046: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 4035 rm -rf conftest* | 4046 rm -rf conftest* |
| 4036 eval "ac_cv_lib_$ac_lib_var=yes" | 4047 eval "ac_cv_lib_$ac_lib_var=yes" |
| 4037 else | 4048 else |
| 4038 echo "configure: failed program was:" >&5 | 4049 echo "configure: failed program was:" >&5 |
| 4039 cat conftest.$ac_ext >&5 | 4050 cat conftest.$ac_ext >&5 |
| 4071 EOF | 4082 EOF |
| 4072 } | 4083 } |
| 4073 | 4084 |
| 4074 | 4085 |
| 4075 cat > conftest.$ac_ext <<EOF | 4086 cat > conftest.$ac_ext <<EOF |
| 4076 #line 4077 "configure" | 4087 #line 4088 "configure" |
| 4077 #include "confdefs.h" | 4088 #include "confdefs.h" |
| 4078 #include <math.h> | 4089 #include <math.h> |
| 4079 int main() { | 4090 int main() { |
| 4080 return atanh(1.0) + asinh(1.0) + acosh(1.0); | 4091 return atanh(1.0) + asinh(1.0) + acosh(1.0); |
| 4081 ; return 0; } | 4092 ; return 0; } |
| 4082 EOF | 4093 EOF |
| 4083 if { (eval echo configure:4084: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4094 if { (eval echo configure:4095: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 4084 rm -rf conftest* | 4095 rm -rf conftest* |
| 4085 { test "$extra_verbose" = "yes" && cat << \EOF | 4096 { test "$extra_verbose" = "yes" && cat << \EOF |
| 4086 Defining HAVE_INVERSE_HYPERBOLIC | 4097 Defining HAVE_INVERSE_HYPERBOLIC |
| 4087 EOF | 4098 EOF |
| 4088 cat >> confdefs.h <<\EOF | 4099 cat >> confdefs.h <<\EOF |
| 4095 cat conftest.$ac_ext >&5 | 4106 cat conftest.$ac_ext >&5 |
| 4096 fi | 4107 fi |
| 4097 rm -f conftest* | 4108 rm -f conftest* |
| 4098 | 4109 |
| 4099 echo "checking type of mail spool file locking" 1>&6 | 4110 echo "checking type of mail spool file locking" 1>&6 |
| 4100 echo "configure:4101: checking type of mail spool file locking" >&5 | 4111 echo "configure:4112: checking type of mail spool file locking" >&5 |
| 4101 test -z "$mail_locking" -a "$mail_use_flock" = "yes" && mail_locking=flock | 4112 test -z "$mail_locking" -a "$mail_use_flock" = "yes" && mail_locking=flock |
| 4102 test -z "$mail_locking" -a "$mail_use_lockf" = "yes" && mail_locking=lockf | 4113 test -z "$mail_locking" -a "$mail_use_lockf" = "yes" && mail_locking=lockf |
| 4103 if test "$mail_locking" = "lockf"; then { test "$extra_verbose" = "yes" && cat << \EOF | 4114 if test "$mail_locking" = "lockf"; then { test "$extra_verbose" = "yes" && cat << \EOF |
| 4104 Defining REAL_MAIL_USE_LOCKF | 4115 Defining REAL_MAIL_USE_LOCKF |
| 4105 EOF | 4116 EOF |
| 4119 else mail_locking="dot-locking" | 4130 else mail_locking="dot-locking" |
| 4120 fi | 4131 fi |
| 4121 | 4132 |
| 4122 | 4133 |
| 4123 echo $ac_n "checking for kstat_open in -lkstat""... $ac_c" 1>&6 | 4134 echo $ac_n "checking for kstat_open in -lkstat""... $ac_c" 1>&6 |
| 4124 echo "configure:4125: checking for kstat_open in -lkstat" >&5 | 4135 echo "configure:4136: checking for kstat_open in -lkstat" >&5 |
| 4125 ac_lib_var=`echo kstat'_'kstat_open | sed 'y%./+-%__p_%'` | 4136 ac_lib_var=`echo kstat'_'kstat_open | sed 'y%./+-%__p_%'` |
| 4126 | 4137 |
| 4127 xe_check_libs=" -lkstat " | 4138 xe_check_libs=" -lkstat " |
| 4128 cat > conftest.$ac_ext <<EOF | 4139 cat > conftest.$ac_ext <<EOF |
| 4129 #line 4130 "configure" | 4140 #line 4141 "configure" |
| 4130 #include "confdefs.h" | 4141 #include "confdefs.h" |
| 4131 /* Override any gcc2 internal prototype to avoid an error. */ | 4142 /* Override any gcc2 internal prototype to avoid an error. */ |
| 4132 /* We use char because int might match the return type of a gcc2 | 4143 /* We use char because int might match the return type of a gcc2 |
| 4133 builtin and then its argument prototype would still apply. */ | 4144 builtin and then its argument prototype would still apply. */ |
| 4134 char kstat_open(); | 4145 char kstat_open(); |
| 4135 | 4146 |
| 4136 int main() { | 4147 int main() { |
| 4137 kstat_open() | 4148 kstat_open() |
| 4138 ; return 0; } | 4149 ; return 0; } |
| 4139 EOF | 4150 EOF |
| 4140 if { (eval echo configure:4141: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4151 if { (eval echo configure:4152: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 4141 rm -rf conftest* | 4152 rm -rf conftest* |
| 4142 eval "ac_cv_lib_$ac_lib_var=yes" | 4153 eval "ac_cv_lib_$ac_lib_var=yes" |
| 4143 else | 4154 else |
| 4144 echo "configure: failed program was:" >&5 | 4155 echo "configure: failed program was:" >&5 |
| 4145 cat conftest.$ac_ext >&5 | 4156 cat conftest.$ac_ext >&5 |
| 4169 | 4180 |
| 4170 | 4181 |
| 4171 | 4182 |
| 4172 | 4183 |
| 4173 echo $ac_n "checking for kvm_read in -lkvm""... $ac_c" 1>&6 | 4184 echo $ac_n "checking for kvm_read in -lkvm""... $ac_c" 1>&6 |
| 4174 echo "configure:4175: checking for kvm_read in -lkvm" >&5 | 4185 echo "configure:4186: checking for kvm_read in -lkvm" >&5 |
| 4175 ac_lib_var=`echo kvm'_'kvm_read | sed 'y%./+-%__p_%'` | 4186 ac_lib_var=`echo kvm'_'kvm_read | sed 'y%./+-%__p_%'` |
| 4176 | 4187 |
| 4177 xe_check_libs=" -lkvm " | 4188 xe_check_libs=" -lkvm " |
| 4178 cat > conftest.$ac_ext <<EOF | 4189 cat > conftest.$ac_ext <<EOF |
| 4179 #line 4180 "configure" | 4190 #line 4191 "configure" |
| 4180 #include "confdefs.h" | 4191 #include "confdefs.h" |
| 4181 /* Override any gcc2 internal prototype to avoid an error. */ | 4192 /* Override any gcc2 internal prototype to avoid an error. */ |
| 4182 /* We use char because int might match the return type of a gcc2 | 4193 /* We use char because int might match the return type of a gcc2 |
| 4183 builtin and then its argument prototype would still apply. */ | 4194 builtin and then its argument prototype would still apply. */ |
| 4184 char kvm_read(); | 4195 char kvm_read(); |
| 4185 | 4196 |
| 4186 int main() { | 4197 int main() { |
| 4187 kvm_read() | 4198 kvm_read() |
| 4188 ; return 0; } | 4199 ; return 0; } |
| 4189 EOF | 4200 EOF |
| 4190 if { (eval echo configure:4191: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4201 if { (eval echo configure:4202: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 4191 rm -rf conftest* | 4202 rm -rf conftest* |
| 4192 eval "ac_cv_lib_$ac_lib_var=yes" | 4203 eval "ac_cv_lib_$ac_lib_var=yes" |
| 4193 else | 4204 else |
| 4194 echo "configure: failed program was:" >&5 | 4205 echo "configure: failed program was:" >&5 |
| 4195 cat conftest.$ac_ext >&5 | 4206 cat conftest.$ac_ext >&5 |
| 4220 | 4231 |
| 4221 | 4232 |
| 4222 case "$opsys" in decosf*) | 4233 case "$opsys" in decosf*) |
| 4223 | 4234 |
| 4224 echo $ac_n "checking for cma_open in -lpthreads""... $ac_c" 1>&6 | 4235 echo $ac_n "checking for cma_open in -lpthreads""... $ac_c" 1>&6 |
| 4225 echo "configure:4226: checking for cma_open in -lpthreads" >&5 | 4236 echo "configure:4237: checking for cma_open in -lpthreads" >&5 |
| 4226 ac_lib_var=`echo pthreads'_'cma_open | sed 'y%./+-%__p_%'` | 4237 ac_lib_var=`echo pthreads'_'cma_open | sed 'y%./+-%__p_%'` |
| 4227 | 4238 |
| 4228 xe_check_libs=" -lpthreads " | 4239 xe_check_libs=" -lpthreads " |
| 4229 cat > conftest.$ac_ext <<EOF | 4240 cat > conftest.$ac_ext <<EOF |
| 4230 #line 4231 "configure" | 4241 #line 4242 "configure" |
| 4231 #include "confdefs.h" | 4242 #include "confdefs.h" |
| 4232 /* Override any gcc2 internal prototype to avoid an error. */ | 4243 /* Override any gcc2 internal prototype to avoid an error. */ |
| 4233 /* We use char because int might match the return type of a gcc2 | 4244 /* We use char because int might match the return type of a gcc2 |
| 4234 builtin and then its argument prototype would still apply. */ | 4245 builtin and then its argument prototype would still apply. */ |
| 4235 char cma_open(); | 4246 char cma_open(); |
| 4236 | 4247 |
| 4237 int main() { | 4248 int main() { |
| 4238 cma_open() | 4249 cma_open() |
| 4239 ; return 0; } | 4250 ; return 0; } |
| 4240 EOF | 4251 EOF |
| 4241 if { (eval echo configure:4242: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4252 if { (eval echo configure:4253: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 4242 rm -rf conftest* | 4253 rm -rf conftest* |
| 4243 eval "ac_cv_lib_$ac_lib_var=yes" | 4254 eval "ac_cv_lib_$ac_lib_var=yes" |
| 4244 else | 4255 else |
| 4245 echo "configure: failed program was:" >&5 | 4256 echo "configure: failed program was:" >&5 |
| 4246 cat conftest.$ac_ext >&5 | 4257 cat conftest.$ac_ext >&5 |
| 4272 test "$ac_cv_lib_pthreads_cma_open" = "yes" && \ | 4283 test "$ac_cv_lib_pthreads_cma_open" = "yes" && \ |
| 4273 c_switch_site="$c_switch_site -threads" ;; | 4284 c_switch_site="$c_switch_site -threads" ;; |
| 4274 esac | 4285 esac |
| 4275 | 4286 |
| 4276 echo $ac_n "checking whether the -xildoff compiler flag is required""... $ac_c" 1>&6 | 4287 echo $ac_n "checking whether the -xildoff compiler flag is required""... $ac_c" 1>&6 |
| 4277 echo "configure:4278: checking whether the -xildoff compiler flag is required" >&5 | 4288 echo "configure:4289: checking whether the -xildoff compiler flag is required" >&5 |
| 4278 if ${CC-cc} '-###' -xildon no_such_file.c 2>&1 | grep '^[^ ]*/ild ' > /dev/null ; then | 4289 if ${CC-cc} '-###' -xildon no_such_file.c 2>&1 | grep '^[^ ]*/ild ' > /dev/null ; then |
| 4279 if ${CC-cc} '-###' -xildoff no_such_file.c 2>&1 | grep '^[^ ]*/ild ' > /dev/null ; | 4290 if ${CC-cc} '-###' -xildoff no_such_file.c 2>&1 | grep '^[^ ]*/ild ' > /dev/null ; |
| 4280 then echo "$ac_t""no" 1>&6; | 4291 then echo "$ac_t""no" 1>&6; |
| 4281 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 | 4292 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 |
| 4282 fi | 4293 fi |
| 4283 else echo "$ac_t""no" 1>&6 | 4294 else echo "$ac_t""no" 1>&6 |
| 4284 fi | 4295 fi |
| 4285 | 4296 |
| 4286 if test "$opsys" = "sol2" && test "$OS_RELEASE" -ge 56; then | 4297 if test "$opsys" = "sol2" && test "$OS_RELEASE" -ge 56; then |
| 4287 echo $ac_n "checking for \"-z ignore\" linker flag""... $ac_c" 1>&6 | 4298 echo $ac_n "checking for \"-z ignore\" linker flag""... $ac_c" 1>&6 |
| 4288 echo "configure:4289: checking for \"-z ignore\" linker flag" >&5 | 4299 echo "configure:4300: checking for \"-z ignore\" linker flag" >&5 |
| 4289 case "`ld -h 2>&1`" in | 4300 case "`ld -h 2>&1`" in |
| 4290 *-z\ ignore\|record* ) echo "$ac_t""yes" 1>&6 | 4301 *-z\ ignore\|record* ) echo "$ac_t""yes" 1>&6 |
| 4291 ld_switch_site="-z ignore $ld_switch_site" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-z ignore\" to \$ld_switch_site"; fi ;; | 4302 ld_switch_site="-z ignore $ld_switch_site" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-z ignore\" to \$ld_switch_site"; fi ;; |
| 4292 *) echo "$ac_t""no" 1>&6 ;; | 4303 *) echo "$ac_t""no" 1>&6 ;; |
| 4293 esac | 4304 esac |
| 4294 fi | 4305 fi |
| 4295 | 4306 |
| 4296 | 4307 |
| 4297 echo "checking "for specified window system"" 1>&6 | 4308 echo "checking "for specified window system"" 1>&6 |
| 4298 echo "configure:4299: checking "for specified window system"" >&5 | 4309 echo "configure:4310: checking "for specified window system"" >&5 |
| 4299 | 4310 |
| 4300 if test "$with_x11" != "no"; then | 4311 if test "$with_x11" != "no"; then |
| 4301 test "$x_includes $x_libraries" != "NONE NONE" && \ | 4312 test "$x_includes $x_libraries" != "NONE NONE" && \ |
| 4302 window_system=x11 with_x11=yes | 4313 window_system=x11 with_x11=yes |
| 4303 | 4314 |
| 4326 # If we find X, set shell vars x_includes and x_libraries to the | 4337 # If we find X, set shell vars x_includes and x_libraries to the |
| 4327 # paths, otherwise set no_x=yes. | 4338 # paths, otherwise set no_x=yes. |
| 4328 # Uses ac_ vars as temps to allow command line to override cache and checks. | 4339 # Uses ac_ vars as temps to allow command line to override cache and checks. |
| 4329 # --without-x overrides everything else, but does not touch the cache. | 4340 # --without-x overrides everything else, but does not touch the cache. |
| 4330 echo $ac_n "checking for X""... $ac_c" 1>&6 | 4341 echo $ac_n "checking for X""... $ac_c" 1>&6 |
| 4331 echo "configure:4332: checking for X" >&5 | 4342 echo "configure:4343: checking for X" >&5 |
| 4332 | 4343 |
| 4333 # Check whether --with-x or --without-x was given. | 4344 # Check whether --with-x or --without-x was given. |
| 4334 if test "${with_x+set}" = set; then | 4345 if test "${with_x+set}" = set; then |
| 4335 withval="$with_x" | 4346 withval="$with_x" |
| 4336 : | 4347 : |
| 4386 # Guess where to find include files, by looking for this one X11 .h file. | 4397 # Guess where to find include files, by looking for this one X11 .h file. |
| 4387 test -z "$x_direct_test_include" && x_direct_test_include=X11/Intrinsic.h | 4398 test -z "$x_direct_test_include" && x_direct_test_include=X11/Intrinsic.h |
| 4388 | 4399 |
| 4389 # First, try using that file with no special directory specified. | 4400 # First, try using that file with no special directory specified. |
| 4390 cat > conftest.$ac_ext <<EOF | 4401 cat > conftest.$ac_ext <<EOF |
| 4391 #line 4392 "configure" | 4402 #line 4403 "configure" |
| 4392 #include "confdefs.h" | 4403 #include "confdefs.h" |
| 4393 #include <$x_direct_test_include> | 4404 #include <$x_direct_test_include> |
| 4394 EOF | 4405 EOF |
| 4395 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 4406 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 4396 { (eval echo configure:4397: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 4407 { (eval echo configure:4408: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 4397 ac_err=`grep -v '^ *+' conftest.out` | 4408 ac_err=`grep -v '^ *+' conftest.out` |
| 4398 if test -z "$ac_err"; then | 4409 if test -z "$ac_err"; then |
| 4399 rm -rf conftest* | 4410 rm -rf conftest* |
| 4400 # We can compile using X headers with no special include directory. | 4411 # We can compile using X headers with no special include directory. |
| 4401 ac_x_includes= | 4412 ac_x_includes= |
| 4460 # See if we find them without any special options. | 4471 # See if we find them without any special options. |
| 4461 # Don't add to $LIBS permanently. | 4472 # Don't add to $LIBS permanently. |
| 4462 ac_save_LIBS="$LIBS" | 4473 ac_save_LIBS="$LIBS" |
| 4463 LIBS="-l$x_direct_test_library $LIBS" | 4474 LIBS="-l$x_direct_test_library $LIBS" |
| 4464 cat > conftest.$ac_ext <<EOF | 4475 cat > conftest.$ac_ext <<EOF |
| 4465 #line 4466 "configure" | 4476 #line 4477 "configure" |
| 4466 #include "confdefs.h" | 4477 #include "confdefs.h" |
| 4467 | 4478 |
| 4468 int main() { | 4479 int main() { |
| 4469 ${x_direct_test_function}() | 4480 ${x_direct_test_function}() |
| 4470 ; return 0; } | 4481 ; return 0; } |
| 4471 EOF | 4482 EOF |
| 4472 if { (eval echo configure:4473: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4483 if { (eval echo configure:4484: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 4473 rm -rf conftest* | 4484 rm -rf conftest* |
| 4474 LIBS="$ac_save_LIBS" | 4485 LIBS="$ac_save_LIBS" |
| 4475 # We can link X programs with no special library path. | 4486 # We can link X programs with no special library path. |
| 4476 ac_x_libraries= | 4487 ac_x_libraries= |
| 4477 else | 4488 else |
| 4576 # For Solaris; some versions of Sun CC require a space after -R and | 4587 # For Solaris; some versions of Sun CC require a space after -R and |
| 4577 # others require no space. Words are not sufficient . . . . | 4588 # others require no space. Words are not sufficient . . . . |
| 4578 case "`(uname -sr) 2>/dev/null`" in | 4589 case "`(uname -sr) 2>/dev/null`" in |
| 4579 "SunOS 5"*) | 4590 "SunOS 5"*) |
| 4580 echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6 | 4591 echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6 |
| 4581 echo "configure:4582: checking whether -R must be followed by a space" >&5 | 4592 echo "configure:4593: checking whether -R must be followed by a space" >&5 |
| 4582 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS -R$x_libraries" | 4593 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS -R$x_libraries" |
| 4583 cat > conftest.$ac_ext <<EOF | 4594 cat > conftest.$ac_ext <<EOF |
| 4584 #line 4585 "configure" | 4595 #line 4596 "configure" |
| 4585 #include "confdefs.h" | 4596 #include "confdefs.h" |
| 4586 | 4597 |
| 4587 int main() { | 4598 int main() { |
| 4588 | 4599 |
| 4589 ; return 0; } | 4600 ; return 0; } |
| 4590 EOF | 4601 EOF |
| 4591 if { (eval echo configure:4592: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4602 if { (eval echo configure:4603: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 4592 rm -rf conftest* | 4603 rm -rf conftest* |
| 4593 ac_R_nospace=yes | 4604 ac_R_nospace=yes |
| 4594 else | 4605 else |
| 4595 echo "configure: failed program was:" >&5 | 4606 echo "configure: failed program was:" >&5 |
| 4596 cat conftest.$ac_ext >&5 | 4607 cat conftest.$ac_ext >&5 |
| 4602 echo "$ac_t""no" 1>&6 | 4613 echo "$ac_t""no" 1>&6 |
| 4603 X_LIBS="$X_LIBS -R$x_libraries" | 4614 X_LIBS="$X_LIBS -R$x_libraries" |
| 4604 else | 4615 else |
| 4605 LIBS="$ac_xsave_LIBS -R $x_libraries" | 4616 LIBS="$ac_xsave_LIBS -R $x_libraries" |
| 4606 cat > conftest.$ac_ext <<EOF | 4617 cat > conftest.$ac_ext <<EOF |
| 4607 #line 4608 "configure" | 4618 #line 4619 "configure" |
| 4608 #include "confdefs.h" | 4619 #include "confdefs.h" |
| 4609 | 4620 |
| 4610 int main() { | 4621 int main() { |
| 4611 | 4622 |
| 4612 ; return 0; } | 4623 ; return 0; } |
| 4613 EOF | 4624 EOF |
| 4614 if { (eval echo configure:4615: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4625 if { (eval echo configure:4626: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 4615 rm -rf conftest* | 4626 rm -rf conftest* |
| 4616 ac_R_space=yes | 4627 ac_R_space=yes |
| 4617 else | 4628 else |
| 4618 echo "configure: failed program was:" >&5 | 4629 echo "configure: failed program was:" >&5 |
| 4619 cat conftest.$ac_ext >&5 | 4630 cat conftest.$ac_ext >&5 |
| 4645 if test "$with_dnet" = "no" ; then | 4656 if test "$with_dnet" = "no" ; then |
| 4646 ac_cv_lib_dnet_dnet_ntoa=no | 4657 ac_cv_lib_dnet_dnet_ntoa=no |
| 4647 else | 4658 else |
| 4648 | 4659 |
| 4649 echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6 | 4660 echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6 |
| 4650 echo "configure:4651: checking for dnet_ntoa in -ldnet" >&5 | 4661 echo "configure:4662: checking for dnet_ntoa in -ldnet" >&5 |
| 4651 ac_lib_var=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'` | 4662 ac_lib_var=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'` |
| 4652 | 4663 |
| 4653 xe_check_libs=" -ldnet " | 4664 xe_check_libs=" -ldnet " |
| 4654 cat > conftest.$ac_ext <<EOF | 4665 cat > conftest.$ac_ext <<EOF |
| 4655 #line 4656 "configure" | 4666 #line 4667 "configure" |
| 4656 #include "confdefs.h" | 4667 #include "confdefs.h" |
| 4657 /* Override any gcc2 internal prototype to avoid an error. */ | 4668 /* Override any gcc2 internal prototype to avoid an error. */ |
| 4658 /* We use char because int might match the return type of a gcc2 | 4669 /* We use char because int might match the return type of a gcc2 |
| 4659 builtin and then its argument prototype would still apply. */ | 4670 builtin and then its argument prototype would still apply. */ |
| 4660 char dnet_ntoa(); | 4671 char dnet_ntoa(); |
| 4661 | 4672 |
| 4662 int main() { | 4673 int main() { |
| 4663 dnet_ntoa() | 4674 dnet_ntoa() |
| 4664 ; return 0; } | 4675 ; return 0; } |
| 4665 EOF | 4676 EOF |
| 4666 if { (eval echo configure:4667: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4677 if { (eval echo configure:4678: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 4667 rm -rf conftest* | 4678 rm -rf conftest* |
| 4668 eval "ac_cv_lib_$ac_lib_var=yes" | 4679 eval "ac_cv_lib_$ac_lib_var=yes" |
| 4669 else | 4680 else |
| 4670 echo "configure: failed program was:" >&5 | 4681 echo "configure: failed program was:" >&5 |
| 4671 cat conftest.$ac_ext >&5 | 4682 cat conftest.$ac_ext >&5 |
| 4685 fi | 4696 fi |
| 4686 | 4697 |
| 4687 if test $ac_cv_lib_dnet_dnet_ntoa = no; then | 4698 if test $ac_cv_lib_dnet_dnet_ntoa = no; then |
| 4688 | 4699 |
| 4689 echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6 | 4700 echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6 |
| 4690 echo "configure:4691: checking for dnet_ntoa in -ldnet_stub" >&5 | 4701 echo "configure:4702: checking for dnet_ntoa in -ldnet_stub" >&5 |
| 4691 ac_lib_var=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'` | 4702 ac_lib_var=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'` |
| 4692 | 4703 |
| 4693 xe_check_libs=" -ldnet_stub " | 4704 xe_check_libs=" -ldnet_stub " |
| 4694 cat > conftest.$ac_ext <<EOF | 4705 cat > conftest.$ac_ext <<EOF |
| 4695 #line 4696 "configure" | 4706 #line 4707 "configure" |
| 4696 #include "confdefs.h" | 4707 #include "confdefs.h" |
| 4697 /* Override any gcc2 internal prototype to avoid an error. */ | 4708 /* Override any gcc2 internal prototype to avoid an error. */ |
| 4698 /* We use char because int might match the return type of a gcc2 | 4709 /* We use char because int might match the return type of a gcc2 |
| 4699 builtin and then its argument prototype would still apply. */ | 4710 builtin and then its argument prototype would still apply. */ |
| 4700 char dnet_ntoa(); | 4711 char dnet_ntoa(); |
| 4701 | 4712 |
| 4702 int main() { | 4713 int main() { |
| 4703 dnet_ntoa() | 4714 dnet_ntoa() |
| 4704 ; return 0; } | 4715 ; return 0; } |
| 4705 EOF | 4716 EOF |
| 4706 if { (eval echo configure:4707: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4717 if { (eval echo configure:4718: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 4707 rm -rf conftest* | 4718 rm -rf conftest* |
| 4708 eval "ac_cv_lib_$ac_lib_var=yes" | 4719 eval "ac_cv_lib_$ac_lib_var=yes" |
| 4709 else | 4720 else |
| 4710 echo "configure: failed program was:" >&5 | 4721 echo "configure: failed program was:" >&5 |
| 4711 cat conftest.$ac_ext >&5 | 4722 cat conftest.$ac_ext >&5 |
| 4730 # chad@anasazi.com says the Pyramis MIS-ES running DC/OSx (SVR4) | 4741 # chad@anasazi.com says the Pyramis MIS-ES running DC/OSx (SVR4) |
| 4731 # needs -lnsl. | 4742 # needs -lnsl. |
| 4732 # The nsl library prevents programs from opening the X display | 4743 # The nsl library prevents programs from opening the X display |
| 4733 # on Irix 5.2, according to dickey@clark.net. | 4744 # on Irix 5.2, according to dickey@clark.net. |
| 4734 echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6 | 4745 echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6 |
| 4735 echo "configure:4736: checking for gethostbyname" >&5 | 4746 echo "configure:4747: checking for gethostbyname" >&5 |
| 4736 | 4747 |
| 4737 cat > conftest.$ac_ext <<EOF | 4748 cat > conftest.$ac_ext <<EOF |
| 4738 #line 4739 "configure" | 4749 #line 4750 "configure" |
| 4739 #include "confdefs.h" | 4750 #include "confdefs.h" |
| 4740 /* System header to define __stub macros and hopefully few prototypes, | 4751 /* System header to define __stub macros and hopefully few prototypes, |
| 4741 which can conflict with char gethostbyname(); below. */ | 4752 which can conflict with char gethostbyname(); below. */ |
| 4742 #include <assert.h> | 4753 #include <assert.h> |
| 4743 /* Override any gcc2 internal prototype to avoid an error. */ | 4754 /* Override any gcc2 internal prototype to avoid an error. */ |
| 4756 gethostbyname(); | 4767 gethostbyname(); |
| 4757 #endif | 4768 #endif |
| 4758 | 4769 |
| 4759 ; return 0; } | 4770 ; return 0; } |
| 4760 EOF | 4771 EOF |
| 4761 if { (eval echo configure:4762: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4772 if { (eval echo configure:4773: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 4762 rm -rf conftest* | 4773 rm -rf conftest* |
| 4763 eval "ac_cv_func_gethostbyname=yes" | 4774 eval "ac_cv_func_gethostbyname=yes" |
| 4764 else | 4775 else |
| 4765 echo "configure: failed program was:" >&5 | 4776 echo "configure: failed program was:" >&5 |
| 4766 cat conftest.$ac_ext >&5 | 4777 cat conftest.$ac_ext >&5 |
| 4777 fi | 4788 fi |
| 4778 | 4789 |
| 4779 if test $ac_cv_func_gethostbyname = no; then | 4790 if test $ac_cv_func_gethostbyname = no; then |
| 4780 | 4791 |
| 4781 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6 | 4792 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6 |
| 4782 echo "configure:4783: checking for gethostbyname in -lnsl" >&5 | 4793 echo "configure:4794: checking for gethostbyname in -lnsl" >&5 |
| 4783 ac_lib_var=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'` | 4794 ac_lib_var=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'` |
| 4784 | 4795 |
| 4785 xe_check_libs=" -lnsl " | 4796 xe_check_libs=" -lnsl " |
| 4786 cat > conftest.$ac_ext <<EOF | 4797 cat > conftest.$ac_ext <<EOF |
| 4787 #line 4788 "configure" | 4798 #line 4799 "configure" |
| 4788 #include "confdefs.h" | 4799 #include "confdefs.h" |
| 4789 /* Override any gcc2 internal prototype to avoid an error. */ | 4800 /* Override any gcc2 internal prototype to avoid an error. */ |
| 4790 /* We use char because int might match the return type of a gcc2 | 4801 /* We use char because int might match the return type of a gcc2 |
| 4791 builtin and then its argument prototype would still apply. */ | 4802 builtin and then its argument prototype would still apply. */ |
| 4792 char gethostbyname(); | 4803 char gethostbyname(); |
| 4793 | 4804 |
| 4794 int main() { | 4805 int main() { |
| 4795 gethostbyname() | 4806 gethostbyname() |
| 4796 ; return 0; } | 4807 ; return 0; } |
| 4797 EOF | 4808 EOF |
| 4798 if { (eval echo configure:4799: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4809 if { (eval echo configure:4810: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 4799 rm -rf conftest* | 4810 rm -rf conftest* |
| 4800 eval "ac_cv_lib_$ac_lib_var=yes" | 4811 eval "ac_cv_lib_$ac_lib_var=yes" |
| 4801 else | 4812 else |
| 4802 echo "configure: failed program was:" >&5 | 4813 echo "configure: failed program was:" >&5 |
| 4803 cat conftest.$ac_ext >&5 | 4814 cat conftest.$ac_ext >&5 |
| 4823 # on later versions), says simon@lia.di.epfl.ch: it contains | 4834 # on later versions), says simon@lia.di.epfl.ch: it contains |
| 4824 # gethostby* variants that don't use the nameserver (or something). | 4835 # gethostby* variants that don't use the nameserver (or something). |
| 4825 # -lsocket must be given before -lnsl if both are needed. | 4836 # -lsocket must be given before -lnsl if both are needed. |
| 4826 # We assume that if connect needs -lnsl, so does gethostbyname. | 4837 # We assume that if connect needs -lnsl, so does gethostbyname. |
| 4827 echo $ac_n "checking for connect""... $ac_c" 1>&6 | 4838 echo $ac_n "checking for connect""... $ac_c" 1>&6 |
| 4828 echo "configure:4829: checking for connect" >&5 | 4839 echo "configure:4840: checking for connect" >&5 |
| 4829 | 4840 |
| 4830 cat > conftest.$ac_ext <<EOF | 4841 cat > conftest.$ac_ext <<EOF |
| 4831 #line 4832 "configure" | 4842 #line 4843 "configure" |
| 4832 #include "confdefs.h" | 4843 #include "confdefs.h" |
| 4833 /* System header to define __stub macros and hopefully few prototypes, | 4844 /* System header to define __stub macros and hopefully few prototypes, |
| 4834 which can conflict with char connect(); below. */ | 4845 which can conflict with char connect(); below. */ |
| 4835 #include <assert.h> | 4846 #include <assert.h> |
| 4836 /* Override any gcc2 internal prototype to avoid an error. */ | 4847 /* Override any gcc2 internal prototype to avoid an error. */ |
| 4849 connect(); | 4860 connect(); |
| 4850 #endif | 4861 #endif |
| 4851 | 4862 |
| 4852 ; return 0; } | 4863 ; return 0; } |
| 4853 EOF | 4864 EOF |
| 4854 if { (eval echo configure:4855: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4865 if { (eval echo configure:4866: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 4855 rm -rf conftest* | 4866 rm -rf conftest* |
| 4856 eval "ac_cv_func_connect=yes" | 4867 eval "ac_cv_func_connect=yes" |
| 4857 else | 4868 else |
| 4858 echo "configure: failed program was:" >&5 | 4869 echo "configure: failed program was:" >&5 |
| 4859 cat conftest.$ac_ext >&5 | 4870 cat conftest.$ac_ext >&5 |
| 4872 if test $ac_cv_func_connect = no; then | 4883 if test $ac_cv_func_connect = no; then |
| 4873 | 4884 |
| 4874 xe_msg_checking="for connect in -lsocket" | 4885 xe_msg_checking="for connect in -lsocket" |
| 4875 test -n "$X_EXTRA_LIBS" && xe_msg_checking="$xe_msg_checking using extra libs $X_EXTRA_LIBS" | 4886 test -n "$X_EXTRA_LIBS" && xe_msg_checking="$xe_msg_checking using extra libs $X_EXTRA_LIBS" |
| 4876 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 4887 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
| 4877 echo "configure:4878: checking "$xe_msg_checking"" >&5 | 4888 echo "configure:4889: checking "$xe_msg_checking"" >&5 |
| 4878 ac_lib_var=`echo socket'_'connect | sed 'y%./+-%__p_%'` | 4889 ac_lib_var=`echo socket'_'connect | sed 'y%./+-%__p_%'` |
| 4879 | 4890 |
| 4880 xe_check_libs=" -lsocket $X_EXTRA_LIBS" | 4891 xe_check_libs=" -lsocket $X_EXTRA_LIBS" |
| 4881 cat > conftest.$ac_ext <<EOF | 4892 cat > conftest.$ac_ext <<EOF |
| 4882 #line 4883 "configure" | 4893 #line 4894 "configure" |
| 4883 #include "confdefs.h" | 4894 #include "confdefs.h" |
| 4884 /* Override any gcc2 internal prototype to avoid an error. */ | 4895 /* Override any gcc2 internal prototype to avoid an error. */ |
| 4885 /* We use char because int might match the return type of a gcc2 | 4896 /* We use char because int might match the return type of a gcc2 |
| 4886 builtin and then its argument prototype would still apply. */ | 4897 builtin and then its argument prototype would still apply. */ |
| 4887 char connect(); | 4898 char connect(); |
| 4888 | 4899 |
| 4889 int main() { | 4900 int main() { |
| 4890 connect() | 4901 connect() |
| 4891 ; return 0; } | 4902 ; return 0; } |
| 4892 EOF | 4903 EOF |
| 4893 if { (eval echo configure:4894: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4904 if { (eval echo configure:4905: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 4894 rm -rf conftest* | 4905 rm -rf conftest* |
| 4895 eval "ac_cv_lib_$ac_lib_var=yes" | 4906 eval "ac_cv_lib_$ac_lib_var=yes" |
| 4896 else | 4907 else |
| 4897 echo "configure: failed program was:" >&5 | 4908 echo "configure: failed program was:" >&5 |
| 4898 cat conftest.$ac_ext >&5 | 4909 cat conftest.$ac_ext >&5 |
| 4912 | 4923 |
| 4913 fi | 4924 fi |
| 4914 | 4925 |
| 4915 # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX. | 4926 # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX. |
| 4916 echo $ac_n "checking for remove""... $ac_c" 1>&6 | 4927 echo $ac_n "checking for remove""... $ac_c" 1>&6 |
| 4917 echo "configure:4918: checking for remove" >&5 | 4928 echo "configure:4929: checking for remove" >&5 |
| 4918 | 4929 |
| 4919 cat > conftest.$ac_ext <<EOF | 4930 cat > conftest.$ac_ext <<EOF |
| 4920 #line 4921 "configure" | 4931 #line 4932 "configure" |
| 4921 #include "confdefs.h" | 4932 #include "confdefs.h" |
| 4922 /* System header to define __stub macros and hopefully few prototypes, | 4933 /* System header to define __stub macros and hopefully few prototypes, |
| 4923 which can conflict with char remove(); below. */ | 4934 which can conflict with char remove(); below. */ |
| 4924 #include <assert.h> | 4935 #include <assert.h> |
| 4925 /* Override any gcc2 internal prototype to avoid an error. */ | 4936 /* Override any gcc2 internal prototype to avoid an error. */ |
| 4938 remove(); | 4949 remove(); |
| 4939 #endif | 4950 #endif |
| 4940 | 4951 |
| 4941 ; return 0; } | 4952 ; return 0; } |
| 4942 EOF | 4953 EOF |
| 4943 if { (eval echo configure:4944: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4954 if { (eval echo configure:4955: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 4944 rm -rf conftest* | 4955 rm -rf conftest* |
| 4945 eval "ac_cv_func_remove=yes" | 4956 eval "ac_cv_func_remove=yes" |
| 4946 else | 4957 else |
| 4947 echo "configure: failed program was:" >&5 | 4958 echo "configure: failed program was:" >&5 |
| 4948 cat conftest.$ac_ext >&5 | 4959 cat conftest.$ac_ext >&5 |
| 4959 fi | 4970 fi |
| 4960 | 4971 |
| 4961 if test $ac_cv_func_remove = no; then | 4972 if test $ac_cv_func_remove = no; then |
| 4962 | 4973 |
| 4963 echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6 | 4974 echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6 |
| 4964 echo "configure:4965: checking for remove in -lposix" >&5 | 4975 echo "configure:4976: checking for remove in -lposix" >&5 |
| 4965 ac_lib_var=`echo posix'_'remove | sed 'y%./+-%__p_%'` | 4976 ac_lib_var=`echo posix'_'remove | sed 'y%./+-%__p_%'` |
| 4966 | 4977 |
| 4967 xe_check_libs=" -lposix " | 4978 xe_check_libs=" -lposix " |
| 4968 cat > conftest.$ac_ext <<EOF | 4979 cat > conftest.$ac_ext <<EOF |
| 4969 #line 4970 "configure" | 4980 #line 4981 "configure" |
| 4970 #include "confdefs.h" | 4981 #include "confdefs.h" |
| 4971 /* Override any gcc2 internal prototype to avoid an error. */ | 4982 /* Override any gcc2 internal prototype to avoid an error. */ |
| 4972 /* We use char because int might match the return type of a gcc2 | 4983 /* We use char because int might match the return type of a gcc2 |
| 4973 builtin and then its argument prototype would still apply. */ | 4984 builtin and then its argument prototype would still apply. */ |
| 4974 char remove(); | 4985 char remove(); |
| 4975 | 4986 |
| 4976 int main() { | 4987 int main() { |
| 4977 remove() | 4988 remove() |
| 4978 ; return 0; } | 4989 ; return 0; } |
| 4979 EOF | 4990 EOF |
| 4980 if { (eval echo configure:4981: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4991 if { (eval echo configure:4992: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 4981 rm -rf conftest* | 4992 rm -rf conftest* |
| 4982 eval "ac_cv_lib_$ac_lib_var=yes" | 4993 eval "ac_cv_lib_$ac_lib_var=yes" |
| 4983 else | 4994 else |
| 4984 echo "configure: failed program was:" >&5 | 4995 echo "configure: failed program was:" >&5 |
| 4985 cat conftest.$ac_ext >&5 | 4996 cat conftest.$ac_ext >&5 |
| 4999 | 5010 |
| 5000 fi | 5011 fi |
| 5001 | 5012 |
| 5002 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay. | 5013 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay. |
| 5003 echo $ac_n "checking for shmat""... $ac_c" 1>&6 | 5014 echo $ac_n "checking for shmat""... $ac_c" 1>&6 |
| 5004 echo "configure:5005: checking for shmat" >&5 | 5015 echo "configure:5016: checking for shmat" >&5 |
| 5005 | 5016 |
| 5006 cat > conftest.$ac_ext <<EOF | 5017 cat > conftest.$ac_ext <<EOF |
| 5007 #line 5008 "configure" | 5018 #line 5019 "configure" |
| 5008 #include "confdefs.h" | 5019 #include "confdefs.h" |
| 5009 /* System header to define __stub macros and hopefully few prototypes, | 5020 /* System header to define __stub macros and hopefully few prototypes, |
| 5010 which can conflict with char shmat(); below. */ | 5021 which can conflict with char shmat(); below. */ |
| 5011 #include <assert.h> | 5022 #include <assert.h> |
| 5012 /* Override any gcc2 internal prototype to avoid an error. */ | 5023 /* Override any gcc2 internal prototype to avoid an error. */ |
| 5025 shmat(); | 5036 shmat(); |
| 5026 #endif | 5037 #endif |
| 5027 | 5038 |
| 5028 ; return 0; } | 5039 ; return 0; } |
| 5029 EOF | 5040 EOF |
| 5030 if { (eval echo configure:5031: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 5041 if { (eval echo configure:5042: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 5031 rm -rf conftest* | 5042 rm -rf conftest* |
| 5032 eval "ac_cv_func_shmat=yes" | 5043 eval "ac_cv_func_shmat=yes" |
| 5033 else | 5044 else |
| 5034 echo "configure: failed program was:" >&5 | 5045 echo "configure: failed program was:" >&5 |
| 5035 cat conftest.$ac_ext >&5 | 5046 cat conftest.$ac_ext >&5 |
| 5046 fi | 5057 fi |
| 5047 | 5058 |
| 5048 if test $ac_cv_func_shmat = no; then | 5059 if test $ac_cv_func_shmat = no; then |
| 5049 | 5060 |
| 5050 echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6 | 5061 echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6 |
| 5051 echo "configure:5052: checking for shmat in -lipc" >&5 | 5062 echo "configure:5063: checking for shmat in -lipc" >&5 |
| 5052 ac_lib_var=`echo ipc'_'shmat | sed 'y%./+-%__p_%'` | 5063 ac_lib_var=`echo ipc'_'shmat | sed 'y%./+-%__p_%'` |
| 5053 | 5064 |
| 5054 xe_check_libs=" -lipc " | 5065 xe_check_libs=" -lipc " |
| 5055 cat > conftest.$ac_ext <<EOF | 5066 cat > conftest.$ac_ext <<EOF |
| 5056 #line 5057 "configure" | 5067 #line 5068 "configure" |
| 5057 #include "confdefs.h" | 5068 #include "confdefs.h" |
| 5058 /* Override any gcc2 internal prototype to avoid an error. */ | 5069 /* Override any gcc2 internal prototype to avoid an error. */ |
| 5059 /* We use char because int might match the return type of a gcc2 | 5070 /* We use char because int might match the return type of a gcc2 |
| 5060 builtin and then its argument prototype would still apply. */ | 5071 builtin and then its argument prototype would still apply. */ |
| 5061 char shmat(); | 5072 char shmat(); |
| 5062 | 5073 |
| 5063 int main() { | 5074 int main() { |
| 5064 shmat() | 5075 shmat() |
| 5065 ; return 0; } | 5076 ; return 0; } |
| 5066 EOF | 5077 EOF |
| 5067 if { (eval echo configure:5068: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 5078 if { (eval echo configure:5079: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 5068 rm -rf conftest* | 5079 rm -rf conftest* |
| 5069 eval "ac_cv_lib_$ac_lib_var=yes" | 5080 eval "ac_cv_lib_$ac_lib_var=yes" |
| 5070 else | 5081 else |
| 5071 echo "configure: failed program was:" >&5 | 5082 echo "configure: failed program was:" >&5 |
| 5072 cat conftest.$ac_ext >&5 | 5083 cat conftest.$ac_ext >&5 |
| 5096 # These have to be linked with before -lX11, unlike the other | 5107 # These have to be linked with before -lX11, unlike the other |
| 5097 # libraries we check for below, so use a different variable. | 5108 # libraries we check for below, so use a different variable. |
| 5098 # --interran@uluru.Stanford.EDU, kb@cs.umb.edu. | 5109 # --interran@uluru.Stanford.EDU, kb@cs.umb.edu. |
| 5099 | 5110 |
| 5100 echo $ac_n "checking for IceConnectionNumber in -lICE""... $ac_c" 1>&6 | 5111 echo $ac_n "checking for IceConnectionNumber in -lICE""... $ac_c" 1>&6 |
| 5101 echo "configure:5102: checking for IceConnectionNumber in -lICE" >&5 | 5112 echo "configure:5113: checking for IceConnectionNumber in -lICE" >&5 |
| 5102 ac_lib_var=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'` | 5113 ac_lib_var=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'` |
| 5103 | 5114 |
| 5104 xe_check_libs=" -lICE " | 5115 xe_check_libs=" -lICE " |
| 5105 cat > conftest.$ac_ext <<EOF | 5116 cat > conftest.$ac_ext <<EOF |
| 5106 #line 5107 "configure" | 5117 #line 5118 "configure" |
| 5107 #include "confdefs.h" | 5118 #include "confdefs.h" |
| 5108 /* Override any gcc2 internal prototype to avoid an error. */ | 5119 /* Override any gcc2 internal prototype to avoid an error. */ |
| 5109 /* We use char because int might match the return type of a gcc2 | 5120 /* We use char because int might match the return type of a gcc2 |
| 5110 builtin and then its argument prototype would still apply. */ | 5121 builtin and then its argument prototype would still apply. */ |
| 5111 char IceConnectionNumber(); | 5122 char IceConnectionNumber(); |
| 5112 | 5123 |
| 5113 int main() { | 5124 int main() { |
| 5114 IceConnectionNumber() | 5125 IceConnectionNumber() |
| 5115 ; return 0; } | 5126 ; return 0; } |
| 5116 EOF | 5127 EOF |
| 5117 if { (eval echo configure:5118: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 5128 if { (eval echo configure:5129: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 5118 rm -rf conftest* | 5129 rm -rf conftest* |
| 5119 eval "ac_cv_lib_$ac_lib_var=yes" | 5130 eval "ac_cv_lib_$ac_lib_var=yes" |
| 5120 else | 5131 else |
| 5121 echo "configure: failed program was:" >&5 | 5132 echo "configure: failed program was:" >&5 |
| 5122 cat conftest.$ac_ext >&5 | 5133 cat conftest.$ac_ext >&5 |
| 5279 EOF | 5290 EOF |
| 5280 } | 5291 } |
| 5281 | 5292 |
| 5282 | 5293 |
| 5283 echo "checking for X defines extracted by xmkmf" 1>&6 | 5294 echo "checking for X defines extracted by xmkmf" 1>&6 |
| 5284 echo "configure:5285: checking for X defines extracted by xmkmf" >&5 | 5295 echo "configure:5296: checking for X defines extracted by xmkmf" >&5 |
| 5285 rm -fr conftestdir | 5296 rm -fr conftestdir |
| 5286 if mkdir conftestdir; then | 5297 if mkdir conftestdir; then |
| 5287 cd conftestdir | 5298 cd conftestdir |
| 5288 cat > Imakefile <<'EOF' | 5299 cat > Imakefile <<'EOF' |
| 5289 xetest: | 5300 xetest: |
| 5311 done | 5322 done |
| 5312 fi | 5323 fi |
| 5313 | 5324 |
| 5314 ac_safe=`echo "X11/Intrinsic.h" | sed 'y%./+-%__p_%'` | 5325 ac_safe=`echo "X11/Intrinsic.h" | sed 'y%./+-%__p_%'` |
| 5315 echo $ac_n "checking for X11/Intrinsic.h""... $ac_c" 1>&6 | 5326 echo $ac_n "checking for X11/Intrinsic.h""... $ac_c" 1>&6 |
| 5316 echo "configure:5317: checking for X11/Intrinsic.h" >&5 | 5327 echo "configure:5328: checking for X11/Intrinsic.h" >&5 |
| 5317 | 5328 |
| 5318 cat > conftest.$ac_ext <<EOF | 5329 cat > conftest.$ac_ext <<EOF |
| 5319 #line 5320 "configure" | 5330 #line 5331 "configure" |
| 5320 #include "confdefs.h" | 5331 #include "confdefs.h" |
| 5321 #include <X11/Intrinsic.h> | 5332 #include <X11/Intrinsic.h> |
| 5322 EOF | 5333 EOF |
| 5323 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 5334 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 5324 { (eval echo configure:5325: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 5335 { (eval echo configure:5336: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 5325 ac_err=`grep -v '^ *+' conftest.out` | 5336 ac_err=`grep -v '^ *+' conftest.out` |
| 5326 if test -z "$ac_err"; then | 5337 if test -z "$ac_err"; then |
| 5327 rm -rf conftest* | 5338 rm -rf conftest* |
| 5328 eval "ac_cv_header_$ac_safe=yes" | 5339 eval "ac_cv_header_$ac_safe=yes" |
| 5329 else | 5340 else |
| 5343 fi | 5354 fi |
| 5344 | 5355 |
| 5345 | 5356 |
| 5346 | 5357 |
| 5347 echo $ac_n "checking for XOpenDisplay in -lX11""... $ac_c" 1>&6 | 5358 echo $ac_n "checking for XOpenDisplay in -lX11""... $ac_c" 1>&6 |
| 5348 echo "configure:5349: checking for XOpenDisplay in -lX11" >&5 | 5359 echo "configure:5360: checking for XOpenDisplay in -lX11" >&5 |
| 5349 ac_lib_var=`echo X11'_'XOpenDisplay | sed 'y%./+-%__p_%'` | 5360 ac_lib_var=`echo X11'_'XOpenDisplay | sed 'y%./+-%__p_%'` |
| 5350 | 5361 |
| 5351 xe_check_libs=" -lX11 " | 5362 xe_check_libs=" -lX11 " |
| 5352 cat > conftest.$ac_ext <<EOF | 5363 cat > conftest.$ac_ext <<EOF |
| 5353 #line 5354 "configure" | 5364 #line 5365 "configure" |
| 5354 #include "confdefs.h" | 5365 #include "confdefs.h" |
| 5355 /* Override any gcc2 internal prototype to avoid an error. */ | 5366 /* Override any gcc2 internal prototype to avoid an error. */ |
| 5356 /* We use char because int might match the return type of a gcc2 | 5367 /* We use char because int might match the return type of a gcc2 |
| 5357 builtin and then its argument prototype would still apply. */ | 5368 builtin and then its argument prototype would still apply. */ |
| 5358 char XOpenDisplay(); | 5369 char XOpenDisplay(); |
| 5359 | 5370 |
| 5360 int main() { | 5371 int main() { |
| 5361 XOpenDisplay() | 5372 XOpenDisplay() |
| 5362 ; return 0; } | 5373 ; return 0; } |
| 5363 EOF | 5374 EOF |
| 5364 if { (eval echo configure:5365: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 5375 if { (eval echo configure:5376: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 5365 rm -rf conftest* | 5376 rm -rf conftest* |
| 5366 eval "ac_cv_lib_$ac_lib_var=yes" | 5377 eval "ac_cv_lib_$ac_lib_var=yes" |
| 5367 else | 5378 else |
| 5368 echo "configure: failed program was:" >&5 | 5379 echo "configure: failed program was:" >&5 |
| 5369 cat conftest.$ac_ext >&5 | 5380 cat conftest.$ac_ext >&5 |
| 5384 if test "$have_lib_x11" != "yes"; then | 5395 if test "$have_lib_x11" != "yes"; then |
| 5385 | 5396 |
| 5386 xe_msg_checking="for XGetFontProperty in -lX11" | 5397 xe_msg_checking="for XGetFontProperty in -lX11" |
| 5387 test -n "-b i486-linuxaout" && xe_msg_checking="$xe_msg_checking using extra libs -b i486-linuxaout" | 5398 test -n "-b i486-linuxaout" && xe_msg_checking="$xe_msg_checking using extra libs -b i486-linuxaout" |
| 5388 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 5399 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
| 5389 echo "configure:5390: checking "$xe_msg_checking"" >&5 | 5400 echo "configure:5401: checking "$xe_msg_checking"" >&5 |
| 5390 ac_lib_var=`echo X11'_'XGetFontProperty | sed 'y%./+-%__p_%'` | 5401 ac_lib_var=`echo X11'_'XGetFontProperty | sed 'y%./+-%__p_%'` |
| 5391 | 5402 |
| 5392 xe_check_libs=" -lX11 -b i486-linuxaout" | 5403 xe_check_libs=" -lX11 -b i486-linuxaout" |
| 5393 cat > conftest.$ac_ext <<EOF | 5404 cat > conftest.$ac_ext <<EOF |
| 5394 #line 5395 "configure" | 5405 #line 5406 "configure" |
| 5395 #include "confdefs.h" | 5406 #include "confdefs.h" |
| 5396 /* Override any gcc2 internal prototype to avoid an error. */ | 5407 /* Override any gcc2 internal prototype to avoid an error. */ |
| 5397 /* We use char because int might match the return type of a gcc2 | 5408 /* We use char because int might match the return type of a gcc2 |
| 5398 builtin and then its argument prototype would still apply. */ | 5409 builtin and then its argument prototype would still apply. */ |
| 5399 char XGetFontProperty(); | 5410 char XGetFontProperty(); |
| 5400 | 5411 |
| 5401 int main() { | 5412 int main() { |
| 5402 XGetFontProperty() | 5413 XGetFontProperty() |
| 5403 ; return 0; } | 5414 ; return 0; } |
| 5404 EOF | 5415 EOF |
| 5405 if { (eval echo configure:5406: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 5416 if { (eval echo configure:5417: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 5406 rm -rf conftest* | 5417 rm -rf conftest* |
| 5407 eval "ac_cv_lib_$ac_lib_var=yes" | 5418 eval "ac_cv_lib_$ac_lib_var=yes" |
| 5408 else | 5419 else |
| 5409 echo "configure: failed program was:" >&5 | 5420 echo "configure: failed program was:" >&5 |
| 5410 cat conftest.$ac_ext >&5 | 5421 cat conftest.$ac_ext >&5 |
| 5427 libs_x="-lX11" | 5438 libs_x="-lX11" |
| 5428 test "$extra_verbose" = "yes" && echo " Setting libs_x to \"-lX11\"" | 5439 test "$extra_verbose" = "yes" && echo " Setting libs_x to \"-lX11\"" |
| 5429 | 5440 |
| 5430 | 5441 |
| 5431 echo $ac_n "checking for XShapeSelectInput in -lXext""... $ac_c" 1>&6 | 5442 echo $ac_n "checking for XShapeSelectInput in -lXext""... $ac_c" 1>&6 |
| 5432 echo "configure:5433: checking for XShapeSelectInput in -lXext" >&5 | 5443 echo "configure:5444: checking for XShapeSelectInput in -lXext" >&5 |
| 5433 ac_lib_var=`echo Xext'_'XShapeSelectInput | sed 'y%./+-%__p_%'` | 5444 ac_lib_var=`echo Xext'_'XShapeSelectInput | sed 'y%./+-%__p_%'` |
| 5434 | 5445 |
| 5435 xe_check_libs=" -lXext " | 5446 xe_check_libs=" -lXext " |
| 5436 cat > conftest.$ac_ext <<EOF | 5447 cat > conftest.$ac_ext <<EOF |
| 5437 #line 5438 "configure" | 5448 #line 5449 "configure" |
| 5438 #include "confdefs.h" | 5449 #include "confdefs.h" |
| 5439 /* Override any gcc2 internal prototype to avoid an error. */ | 5450 /* Override any gcc2 internal prototype to avoid an error. */ |
| 5440 /* We use char because int might match the return type of a gcc2 | 5451 /* We use char because int might match the return type of a gcc2 |
| 5441 builtin and then its argument prototype would still apply. */ | 5452 builtin and then its argument prototype would still apply. */ |
| 5442 char XShapeSelectInput(); | 5453 char XShapeSelectInput(); |
| 5443 | 5454 |
| 5444 int main() { | 5455 int main() { |
| 5445 XShapeSelectInput() | 5456 XShapeSelectInput() |
| 5446 ; return 0; } | 5457 ; return 0; } |
| 5447 EOF | 5458 EOF |
| 5448 if { (eval echo configure:5449: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 5459 if { (eval echo configure:5460: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 5449 rm -rf conftest* | 5460 rm -rf conftest* |
| 5450 eval "ac_cv_lib_$ac_lib_var=yes" | 5461 eval "ac_cv_lib_$ac_lib_var=yes" |
| 5451 else | 5462 else |
| 5452 echo "configure: failed program was:" >&5 | 5463 echo "configure: failed program was:" >&5 |
| 5453 cat conftest.$ac_ext >&5 | 5464 cat conftest.$ac_ext >&5 |
| 5466 | 5477 |
| 5467 | 5478 |
| 5468 | 5479 |
| 5469 | 5480 |
| 5470 echo $ac_n "checking for XtOpenDisplay in -lXt""... $ac_c" 1>&6 | 5481 echo $ac_n "checking for XtOpenDisplay in -lXt""... $ac_c" 1>&6 |
| 5471 echo "configure:5472: checking for XtOpenDisplay in -lXt" >&5 | 5482 echo "configure:5483: checking for XtOpenDisplay in -lXt" >&5 |
| 5472 ac_lib_var=`echo Xt'_'XtOpenDisplay | sed 'y%./+-%__p_%'` | 5483 ac_lib_var=`echo Xt'_'XtOpenDisplay | sed 'y%./+-%__p_%'` |
| 5473 | 5484 |
| 5474 xe_check_libs=" -lXt " | 5485 xe_check_libs=" -lXt " |
| 5475 cat > conftest.$ac_ext <<EOF | 5486 cat > conftest.$ac_ext <<EOF |
| 5476 #line 5477 "configure" | 5487 #line 5488 "configure" |
| 5477 #include "confdefs.h" | 5488 #include "confdefs.h" |
| 5478 /* Override any gcc2 internal prototype to avoid an error. */ | 5489 /* Override any gcc2 internal prototype to avoid an error. */ |
| 5479 /* We use char because int might match the return type of a gcc2 | 5490 /* We use char because int might match the return type of a gcc2 |
| 5480 builtin and then its argument prototype would still apply. */ | 5491 builtin and then its argument prototype would still apply. */ |
| 5481 char XtOpenDisplay(); | 5492 char XtOpenDisplay(); |
| 5482 | 5493 |
| 5483 int main() { | 5494 int main() { |
| 5484 XtOpenDisplay() | 5495 XtOpenDisplay() |
| 5485 ; return 0; } | 5496 ; return 0; } |
| 5486 EOF | 5497 EOF |
| 5487 if { (eval echo configure:5488: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 5498 if { (eval echo configure:5499: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 5488 rm -rf conftest* | 5499 rm -rf conftest* |
| 5489 eval "ac_cv_lib_$ac_lib_var=yes" | 5500 eval "ac_cv_lib_$ac_lib_var=yes" |
| 5490 else | 5501 else |
| 5491 echo "configure: failed program was:" >&5 | 5502 echo "configure: failed program was:" >&5 |
| 5492 cat conftest.$ac_ext >&5 | 5503 cat conftest.$ac_ext >&5 |
| 5505 fi | 5516 fi |
| 5506 | 5517 |
| 5507 | 5518 |
| 5508 | 5519 |
| 5509 echo $ac_n "checking the version of X11 being used""... $ac_c" 1>&6 | 5520 echo $ac_n "checking the version of X11 being used""... $ac_c" 1>&6 |
| 5510 echo "configure:5511: checking the version of X11 being used" >&5 | 5521 echo "configure:5522: checking the version of X11 being used" >&5 |
| 5511 cat > conftest.$ac_ext <<EOF | 5522 cat > conftest.$ac_ext <<EOF |
| 5512 #line 5513 "configure" | 5523 #line 5524 "configure" |
| 5513 #include "confdefs.h" | 5524 #include "confdefs.h" |
| 5514 #include <X11/Intrinsic.h> | 5525 #include <X11/Intrinsic.h> |
| 5515 int main(int c, char *v[]) { return c>1 ? XlibSpecificationRelease : 0; } | 5526 int main(int c, char *v[]) { return c>1 ? XlibSpecificationRelease : 0; } |
| 5516 EOF | 5527 EOF |
| 5517 if { (eval echo configure:5518: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 | 5528 if { (eval echo configure:5529: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 |
| 5518 then | 5529 then |
| 5519 ./conftest foobar; x11_release=$? | 5530 ./conftest foobar; x11_release=$? |
| 5520 else | 5531 else |
| 5521 echo "configure: failed program was:" >&5 | 5532 echo "configure: failed program was:" >&5 |
| 5522 cat conftest.$ac_ext >&5 | 5533 cat conftest.$ac_ext >&5 |
| 5536 | 5547 |
| 5537 for ac_hdr in X11/Xlocale.h | 5548 for ac_hdr in X11/Xlocale.h |
| 5538 do | 5549 do |
| 5539 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 5550 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
| 5540 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 5551 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
| 5541 echo "configure:5542: checking for $ac_hdr" >&5 | 5552 echo "configure:5553: checking for $ac_hdr" >&5 |
| 5542 | 5553 |
| 5543 cat > conftest.$ac_ext <<EOF | 5554 cat > conftest.$ac_ext <<EOF |
| 5544 #line 5545 "configure" | 5555 #line 5556 "configure" |
| 5545 #include "confdefs.h" | 5556 #include "confdefs.h" |
| 5546 #include <$ac_hdr> | 5557 #include <$ac_hdr> |
| 5547 EOF | 5558 EOF |
| 5548 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 5559 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 5549 { (eval echo configure:5550: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 5560 { (eval echo configure:5561: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 5550 ac_err=`grep -v '^ *+' conftest.out` | 5561 ac_err=`grep -v '^ *+' conftest.out` |
| 5551 if test -z "$ac_err"; then | 5562 if test -z "$ac_err"; then |
| 5552 rm -rf conftest* | 5563 rm -rf conftest* |
| 5553 eval "ac_cv_header_$ac_safe=yes" | 5564 eval "ac_cv_header_$ac_safe=yes" |
| 5554 else | 5565 else |
| 5575 fi | 5586 fi |
| 5576 done | 5587 done |
| 5577 | 5588 |
| 5578 | 5589 |
| 5579 echo $ac_n "checking for XFree86""... $ac_c" 1>&6 | 5590 echo $ac_n "checking for XFree86""... $ac_c" 1>&6 |
| 5580 echo "configure:5581: checking for XFree86" >&5 | 5591 echo "configure:5592: checking for XFree86" >&5 |
| 5581 if test -d "/usr/X386/include" -o \ | 5592 if test -d "/usr/X386/include" -o \ |
| 5582 -f "/etc/XF86Config" -o \ | 5593 -f "/etc/XF86Config" -o \ |
| 5583 -f "/etc/X11/XF86Config" -o \ | 5594 -f "/etc/X11/XF86Config" -o \ |
| 5584 -f "/usr/X11R6/lib/X11/XF86Config"; then | 5595 -f "/usr/X11R6/lib/X11/XF86Config"; then |
| 5585 echo "$ac_t""yes" 1>&6 | 5596 echo "$ac_t""yes" 1>&6 |
| 5595 echo "$ac_t""no" 1>&6 | 5606 echo "$ac_t""no" 1>&6 |
| 5596 fi | 5607 fi |
| 5597 | 5608 |
| 5598 test -z "$with_xmu" && { | 5609 test -z "$with_xmu" && { |
| 5599 echo $ac_n "checking for XmuReadBitmapDataFromFile in -lXmu""... $ac_c" 1>&6 | 5610 echo $ac_n "checking for XmuReadBitmapDataFromFile in -lXmu""... $ac_c" 1>&6 |
| 5600 echo "configure:5601: checking for XmuReadBitmapDataFromFile in -lXmu" >&5 | 5611 echo "configure:5612: checking for XmuReadBitmapDataFromFile in -lXmu" >&5 |
| 5601 ac_lib_var=`echo Xmu'_'XmuReadBitmapDataFromFile | sed 'y%./+-%__p_%'` | 5612 ac_lib_var=`echo Xmu'_'XmuReadBitmapDataFromFile | sed 'y%./+-%__p_%'` |
| 5602 | 5613 |
| 5603 xe_check_libs=" -lXmu " | 5614 xe_check_libs=" -lXmu " |
| 5604 cat > conftest.$ac_ext <<EOF | 5615 cat > conftest.$ac_ext <<EOF |
| 5605 #line 5606 "configure" | 5616 #line 5617 "configure" |
| 5606 #include "confdefs.h" | 5617 #include "confdefs.h" |
| 5607 /* Override any gcc2 internal prototype to avoid an error. */ | 5618 /* Override any gcc2 internal prototype to avoid an error. */ |
| 5608 /* We use char because int might match the return type of a gcc2 | 5619 /* We use char because int might match the return type of a gcc2 |
| 5609 builtin and then its argument prototype would still apply. */ | 5620 builtin and then its argument prototype would still apply. */ |
| 5610 char XmuReadBitmapDataFromFile(); | 5621 char XmuReadBitmapDataFromFile(); |
| 5611 | 5622 |
| 5612 int main() { | 5623 int main() { |
| 5613 XmuReadBitmapDataFromFile() | 5624 XmuReadBitmapDataFromFile() |
| 5614 ; return 0; } | 5625 ; return 0; } |
| 5615 EOF | 5626 EOF |
| 5616 if { (eval echo configure:5617: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 5627 if { (eval echo configure:5628: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 5617 rm -rf conftest* | 5628 rm -rf conftest* |
| 5618 eval "ac_cv_lib_$ac_lib_var=yes" | 5629 eval "ac_cv_lib_$ac_lib_var=yes" |
| 5619 else | 5630 else |
| 5620 echo "configure: failed program was:" >&5 | 5631 echo "configure: failed program was:" >&5 |
| 5621 cat conftest.$ac_ext >&5 | 5632 cat conftest.$ac_ext >&5 |
| 5650 | 5661 |
| 5651 fi | 5662 fi |
| 5652 | 5663 |
| 5653 | 5664 |
| 5654 echo $ac_n "checking for main in -lXbsd""... $ac_c" 1>&6 | 5665 echo $ac_n "checking for main in -lXbsd""... $ac_c" 1>&6 |
| 5655 echo "configure:5656: checking for main in -lXbsd" >&5 | 5666 echo "configure:5667: checking for main in -lXbsd" >&5 |
| 5656 ac_lib_var=`echo Xbsd'_'main | sed 'y%./+-%__p_%'` | 5667 ac_lib_var=`echo Xbsd'_'main | sed 'y%./+-%__p_%'` |
| 5657 | 5668 |
| 5658 xe_check_libs=" -lXbsd " | 5669 xe_check_libs=" -lXbsd " |
| 5659 cat > conftest.$ac_ext <<EOF | 5670 cat > conftest.$ac_ext <<EOF |
| 5660 #line 5661 "configure" | 5671 #line 5672 "configure" |
| 5661 #include "confdefs.h" | 5672 #include "confdefs.h" |
| 5662 | 5673 |
| 5663 int main() { | 5674 int main() { |
| 5664 main() | 5675 main() |
| 5665 ; return 0; } | 5676 ; return 0; } |
| 5666 EOF | 5677 EOF |
| 5667 if { (eval echo configure:5668: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 5678 if { (eval echo configure:5679: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 5668 rm -rf conftest* | 5679 rm -rf conftest* |
| 5669 eval "ac_cv_lib_$ac_lib_var=yes" | 5680 eval "ac_cv_lib_$ac_lib_var=yes" |
| 5670 else | 5681 else |
| 5671 echo "configure: failed program was:" >&5 | 5682 echo "configure: failed program was:" >&5 |
| 5672 cat conftest.$ac_ext >&5 | 5683 cat conftest.$ac_ext >&5 |
| 5699 fi | 5710 fi |
| 5700 | 5711 |
| 5701 fi | 5712 fi |
| 5702 if test "$with_msw" != "no"; then | 5713 if test "$with_msw" != "no"; then |
| 5703 echo "checking for MS-Windows" 1>&6 | 5714 echo "checking for MS-Windows" 1>&6 |
| 5704 echo "configure:5705: checking for MS-Windows" >&5 | 5715 echo "configure:5716: checking for MS-Windows" >&5 |
| 5705 | 5716 |
| 5706 echo $ac_n "checking for main in -lgdi32""... $ac_c" 1>&6 | 5717 echo $ac_n "checking for main in -lgdi32""... $ac_c" 1>&6 |
| 5707 echo "configure:5708: checking for main in -lgdi32" >&5 | 5718 echo "configure:5719: checking for main in -lgdi32" >&5 |
| 5708 ac_lib_var=`echo gdi32'_'main | sed 'y%./+-%__p_%'` | 5719 ac_lib_var=`echo gdi32'_'main | sed 'y%./+-%__p_%'` |
| 5709 | 5720 |
| 5710 xe_check_libs=" -lgdi32 " | 5721 xe_check_libs=" -lgdi32 " |
| 5711 cat > conftest.$ac_ext <<EOF | 5722 cat > conftest.$ac_ext <<EOF |
| 5712 #line 5713 "configure" | 5723 #line 5724 "configure" |
| 5713 #include "confdefs.h" | 5724 #include "confdefs.h" |
| 5714 | 5725 |
| 5715 int main() { | 5726 int main() { |
| 5716 main() | 5727 main() |
| 5717 ; return 0; } | 5728 ; return 0; } |
| 5718 EOF | 5729 EOF |
| 5719 if { (eval echo configure:5720: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 5730 if { (eval echo configure:5731: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 5720 rm -rf conftest* | 5731 rm -rf conftest* |
| 5721 eval "ac_cv_lib_$ac_lib_var=yes" | 5732 eval "ac_cv_lib_$ac_lib_var=yes" |
| 5722 else | 5733 else |
| 5723 echo "configure: failed program was:" >&5 | 5734 echo "configure: failed program was:" >&5 |
| 5724 cat conftest.$ac_ext >&5 | 5735 cat conftest.$ac_ext >&5 |
| 5772 test "$with_toolbars" != "no" && extra_objs="$extra_objs toolbar-msw.o" && if test "$extra_verbose" = "yes"; then | 5783 test "$with_toolbars" != "no" && extra_objs="$extra_objs toolbar-msw.o" && if test "$extra_verbose" = "yes"; then |
| 5773 echo " xemacs will be linked with \"toolbar-msw.o\"" | 5784 echo " xemacs will be linked with \"toolbar-msw.o\"" |
| 5774 fi | 5785 fi |
| 5775 fi | 5786 fi |
| 5776 cat > conftest.$ac_ext <<EOF | 5787 cat > conftest.$ac_ext <<EOF |
| 5777 #line 5778 "configure" | 5788 #line 5789 "configure" |
| 5778 #include "confdefs.h" | 5789 #include "confdefs.h" |
| 5779 #include <fcntl.h> | 5790 #include <fcntl.h> |
| 5780 int main() { return (open("/dev/windows", O_RDONLY, 0) > 0)? 0 : 1; } | 5791 int main() { return (open("/dev/windows", O_RDONLY, 0) > 0)? 0 : 1; } |
| 5781 EOF | 5792 EOF |
| 5782 if { (eval echo configure:5783: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 | 5793 if { (eval echo configure:5794: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 |
| 5783 then | 5794 then |
| 5784 { test "$extra_verbose" = "yes" && cat << \EOF | 5795 { test "$extra_verbose" = "yes" && cat << \EOF |
| 5785 Defining HAVE_MSG_SELECT | 5796 Defining HAVE_MSG_SELECT |
| 5786 EOF | 5797 EOF |
| 5787 cat >> confdefs.h <<\EOF | 5798 cat >> confdefs.h <<\EOF |
| 5855 test "$opsys" = "hpux9" && opsysfile="s/hpux9-x11r4.h" | 5866 test "$opsys" = "hpux9" && opsysfile="s/hpux9-x11r4.h" |
| 5856 test "$opsys" = "hpux9-shr" && opsysfile="s/hpux9shxr4.h" | 5867 test "$opsys" = "hpux9-shr" && opsysfile="s/hpux9shxr4.h" |
| 5857 esac | 5868 esac |
| 5858 | 5869 |
| 5859 echo "checking for session-management option" 1>&6 | 5870 echo "checking for session-management option" 1>&6 |
| 5860 echo "configure:5861: checking for session-management option" >&5; | 5871 echo "configure:5872: checking for session-management option" >&5; |
| 5861 if test "$with_session" != "no"; then | 5872 if test "$with_session" != "no"; then |
| 5862 { test "$extra_verbose" = "yes" && cat << \EOF | 5873 { test "$extra_verbose" = "yes" && cat << \EOF |
| 5863 Defining HAVE_SESSION | 5874 Defining HAVE_SESSION |
| 5864 EOF | 5875 EOF |
| 5865 cat >> confdefs.h <<\EOF | 5876 cat >> confdefs.h <<\EOF |
| 5870 fi | 5881 fi |
| 5871 | 5882 |
| 5872 test -z "$with_xauth" && test "$window_system" = "none" && with_xauth=no | 5883 test -z "$with_xauth" && test "$window_system" = "none" && with_xauth=no |
| 5873 test -z "$with_xauth" && { ac_safe=`echo "X11/Xauth.h" | sed 'y%./+-%__p_%'` | 5884 test -z "$with_xauth" && { ac_safe=`echo "X11/Xauth.h" | sed 'y%./+-%__p_%'` |
| 5874 echo $ac_n "checking for X11/Xauth.h""... $ac_c" 1>&6 | 5885 echo $ac_n "checking for X11/Xauth.h""... $ac_c" 1>&6 |
| 5875 echo "configure:5876: checking for X11/Xauth.h" >&5 | 5886 echo "configure:5887: checking for X11/Xauth.h" >&5 |
| 5876 | 5887 |
| 5877 cat > conftest.$ac_ext <<EOF | 5888 cat > conftest.$ac_ext <<EOF |
| 5878 #line 5879 "configure" | 5889 #line 5890 "configure" |
| 5879 #include "confdefs.h" | 5890 #include "confdefs.h" |
| 5880 #include <X11/Xauth.h> | 5891 #include <X11/Xauth.h> |
| 5881 EOF | 5892 EOF |
| 5882 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 5893 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 5883 { (eval echo configure:5884: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 5894 { (eval echo configure:5895: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 5884 ac_err=`grep -v '^ *+' conftest.out` | 5895 ac_err=`grep -v '^ *+' conftest.out` |
| 5885 if test -z "$ac_err"; then | 5896 if test -z "$ac_err"; then |
| 5886 rm -rf conftest* | 5897 rm -rf conftest* |
| 5887 eval "ac_cv_header_$ac_safe=yes" | 5898 eval "ac_cv_header_$ac_safe=yes" |
| 5888 else | 5899 else |
| 5901 with_xauth=no | 5912 with_xauth=no |
| 5902 fi | 5913 fi |
| 5903 } | 5914 } |
| 5904 test -z "$with_xauth" && { | 5915 test -z "$with_xauth" && { |
| 5905 echo $ac_n "checking for XauGetAuthByAddr in -lXau""... $ac_c" 1>&6 | 5916 echo $ac_n "checking for XauGetAuthByAddr in -lXau""... $ac_c" 1>&6 |
| 5906 echo "configure:5907: checking for XauGetAuthByAddr in -lXau" >&5 | 5917 echo "configure:5918: checking for XauGetAuthByAddr in -lXau" >&5 |
| 5907 ac_lib_var=`echo Xau'_'XauGetAuthByAddr | sed 'y%./+-%__p_%'` | 5918 ac_lib_var=`echo Xau'_'XauGetAuthByAddr | sed 'y%./+-%__p_%'` |
| 5908 | 5919 |
| 5909 xe_check_libs=" -lXau " | 5920 xe_check_libs=" -lXau " |
| 5910 cat > conftest.$ac_ext <<EOF | 5921 cat > conftest.$ac_ext <<EOF |
| 5911 #line 5912 "configure" | 5922 #line 5923 "configure" |
| 5912 #include "confdefs.h" | 5923 #include "confdefs.h" |
| 5913 /* Override any gcc2 internal prototype to avoid an error. */ | 5924 /* Override any gcc2 internal prototype to avoid an error. */ |
| 5914 /* We use char because int might match the return type of a gcc2 | 5925 /* We use char because int might match the return type of a gcc2 |
| 5915 builtin and then its argument prototype would still apply. */ | 5926 builtin and then its argument prototype would still apply. */ |
| 5916 char XauGetAuthByAddr(); | 5927 char XauGetAuthByAddr(); |
| 5917 | 5928 |
| 5918 int main() { | 5929 int main() { |
| 5919 XauGetAuthByAddr() | 5930 XauGetAuthByAddr() |
| 5920 ; return 0; } | 5931 ; return 0; } |
| 5921 EOF | 5932 EOF |
| 5922 if { (eval echo configure:5923: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 5933 if { (eval echo configure:5934: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 5923 rm -rf conftest* | 5934 rm -rf conftest* |
| 5924 eval "ac_cv_lib_$ac_lib_var=yes" | 5935 eval "ac_cv_lib_$ac_lib_var=yes" |
| 5925 else | 5936 else |
| 5926 echo "configure: failed program was:" >&5 | 5937 echo "configure: failed program was:" >&5 |
| 5927 cat conftest.$ac_ext >&5 | 5938 cat conftest.$ac_ext >&5 |
| 5981 dragndrop_proto="$dragndrop_proto OffiX" && if test "$extra_verbose" = "yes"; then echo " Appending \"OffiX\" to \$dragndrop_proto"; fi | 5992 dragndrop_proto="$dragndrop_proto OffiX" && if test "$extra_verbose" = "yes"; then echo " Appending \"OffiX\" to \$dragndrop_proto"; fi |
| 5982 fi | 5993 fi |
| 5983 | 5994 |
| 5984 | 5995 |
| 5985 | 5996 |
| 5986 test "$with_cde" = "yes" && with_tooltalk=yes # CDE requires tooltalk | |
| 5987 if test "$with_tooltalk" != "no" ; then | 5997 if test "$with_tooltalk" != "no" ; then |
| 5988 for dir in "" "Tt/" "desktop/" ; do | 5998 for dir in "" "Tt/" "desktop/" ; do |
| 5989 ac_safe=`echo "${dir}tt_c.h" | sed 'y%./+-%__p_%'` | 5999 ac_safe=`echo "${dir}tt_c.h" | sed 'y%./+-%__p_%'` |
| 5990 echo $ac_n "checking for ${dir}tt_c.h""... $ac_c" 1>&6 | 6000 echo $ac_n "checking for ${dir}tt_c.h""... $ac_c" 1>&6 |
| 5991 echo "configure:5992: checking for ${dir}tt_c.h" >&5 | 6001 echo "configure:6002: checking for ${dir}tt_c.h" >&5 |
| 5992 | 6002 |
| 5993 cat > conftest.$ac_ext <<EOF | 6003 cat > conftest.$ac_ext <<EOF |
| 5994 #line 5995 "configure" | 6004 #line 6005 "configure" |
| 5995 #include "confdefs.h" | 6005 #include "confdefs.h" |
| 5996 #include <${dir}tt_c.h> | 6006 #include <${dir}tt_c.h> |
| 5997 EOF | 6007 EOF |
| 5998 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6008 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 5999 { (eval echo configure:6000: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6009 { (eval echo configure:6010: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 6000 ac_err=`grep -v '^ *+' conftest.out` | 6010 ac_err=`grep -v '^ *+' conftest.out` |
| 6001 if test -z "$ac_err"; then | 6011 if test -z "$ac_err"; then |
| 6002 rm -rf conftest* | 6012 rm -rf conftest* |
| 6003 eval "ac_cv_header_$ac_safe=yes" | 6013 eval "ac_cv_header_$ac_safe=yes" |
| 6004 else | 6014 else |
| 6009 eval "ac_cv_header_$ac_safe=no" | 6019 eval "ac_cv_header_$ac_safe=no" |
| 6010 fi | 6020 fi |
| 6011 rm -f conftest* | 6021 rm -f conftest* |
| 6012 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 6022 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
| 6013 echo "$ac_t""yes" 1>&6 | 6023 echo "$ac_t""yes" 1>&6 |
| 6014 tt_c_h_path="${dir}tt_c.h" && break | 6024 tt_c_h_path="${dir}tt_c.h"; break |
| 6015 else | 6025 else |
| 6016 echo "$ac_t""no" 1>&6 | 6026 echo "$ac_t""no" 1>&6 |
| 6017 fi | 6027 fi |
| 6018 | 6028 |
| 6019 done | 6029 done |
| 6020 test -z "$tt_c_h_path" && with_tooltalk=no | 6030 if test -z "$tt_c_h_path"; then |
| 6031 if test "$with_tooltalk" = "yes"; then | |
| 6032 (echo "$progname: Usage error:" | |
| 6033 echo " " "Unable to find required tooltalk header files." | |
| 6034 echo " Use \`$progname --help' to show usage.") >&2 && exit 1 | |
| 6035 fi | |
| 6036 with_tooltalk=no | |
| 6037 fi | |
| 6021 fi | 6038 fi |
| 6022 if test "$with_tooltalk" != "no" ; then | 6039 if test "$with_tooltalk" != "no" ; then |
| 6023 for extra_libs in "" "-lI18N -lce" "-lcxx"; do | 6040 for extra_libs in "" "-lI18N -lce" "-lcxx"; do |
| 6024 | 6041 |
| 6025 xe_msg_checking="for tt_message_create in -ltt" | 6042 xe_msg_checking="for tt_message_create in -ltt" |
| 6026 test -n "$extra_libs" && xe_msg_checking="$xe_msg_checking using extra libs $extra_libs" | 6043 test -n "$extra_libs" && xe_msg_checking="$xe_msg_checking using extra libs $extra_libs" |
| 6027 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 6044 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
| 6028 echo "configure:6029: checking "$xe_msg_checking"" >&5 | 6045 echo "configure:6046: checking "$xe_msg_checking"" >&5 |
| 6029 ac_lib_var=`echo tt'_'tt_message_create | sed 'y%./+-%__p_%'` | 6046 ac_lib_var=`echo tt'_'tt_message_create | sed 'y%./+-%__p_%'` |
| 6030 | 6047 |
| 6031 xe_check_libs=" -ltt $extra_libs" | 6048 xe_check_libs=" -ltt $extra_libs" |
| 6032 cat > conftest.$ac_ext <<EOF | 6049 cat > conftest.$ac_ext <<EOF |
| 6033 #line 6034 "configure" | 6050 #line 6051 "configure" |
| 6034 #include "confdefs.h" | 6051 #include "confdefs.h" |
| 6035 /* Override any gcc2 internal prototype to avoid an error. */ | 6052 /* Override any gcc2 internal prototype to avoid an error. */ |
| 6036 /* We use char because int might match the return type of a gcc2 | 6053 /* We use char because int might match the return type of a gcc2 |
| 6037 builtin and then its argument prototype would still apply. */ | 6054 builtin and then its argument prototype would still apply. */ |
| 6038 char tt_message_create(); | 6055 char tt_message_create(); |
| 6039 | 6056 |
| 6040 int main() { | 6057 int main() { |
| 6041 tt_message_create() | 6058 tt_message_create() |
| 6042 ; return 0; } | 6059 ; return 0; } |
| 6043 EOF | 6060 EOF |
| 6044 if { (eval echo configure:6045: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 6061 if { (eval echo configure:6062: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 6045 rm -rf conftest* | 6062 rm -rf conftest* |
| 6046 eval "ac_cv_lib_$ac_lib_var=yes" | 6063 eval "ac_cv_lib_$ac_lib_var=yes" |
| 6047 else | 6064 else |
| 6048 echo "configure: failed program was:" >&5 | 6065 echo "configure: failed program was:" >&5 |
| 6049 cat conftest.$ac_ext >&5 | 6066 cat conftest.$ac_ext >&5 |
| 6053 rm -f conftest* | 6070 rm -f conftest* |
| 6054 xe_check_libs="" | 6071 xe_check_libs="" |
| 6055 | 6072 |
| 6056 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes" ; then | 6073 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes" ; then |
| 6057 echo "$ac_t""yes" 1>&6 | 6074 echo "$ac_t""yes" 1>&6 |
| 6058 with_tooltalk=yes tt_libs="-ltt $extra_libs"; break | 6075 tt_libs="-ltt $extra_libs"; break |
| 6059 else | 6076 else |
| 6060 echo "$ac_t""no" 1>&6 | 6077 echo "$ac_t""no" 1>&6 |
| 6061 : | 6078 : |
| 6062 fi | 6079 fi |
| 6063 | 6080 |
| 6064 | 6081 |
| 6065 done | 6082 done |
| 6066 fi | 6083 if test -z "$tt_libs"; then |
| 6067 test -z "$with_tooltalk" && with_tooltalk=no | 6084 if test "$with_tooltalk" = "yes"; then |
| 6085 (echo "$progname: Usage error:" | |
| 6086 echo " " "Unable to find required tooltalk libraries." | |
| 6087 echo " Use \`$progname --help' to show usage.") >&2 && exit 1 | |
| 6088 fi | |
| 6089 with_tooltalk=no | |
| 6090 fi | |
| 6091 fi | |
| 6092 test -z "$with_tooltalk" && with_tooltalk=yes | |
| 6068 if test "$with_tooltalk" = "yes"; then | 6093 if test "$with_tooltalk" = "yes"; then |
| 6069 { test "$extra_verbose" = "yes" && cat << \EOF | 6094 { test "$extra_verbose" = "yes" && cat << \EOF |
| 6070 Defining TOOLTALK | 6095 Defining TOOLTALK |
| 6071 EOF | 6096 EOF |
| 6072 cat >> confdefs.h <<\EOF | 6097 cat >> confdefs.h <<\EOF |
| 6088 fi | 6113 fi |
| 6089 fi | 6114 fi |
| 6090 | 6115 |
| 6091 test -z "$with_cde" && { ac_safe=`echo "Dt/Dt.h" | sed 'y%./+-%__p_%'` | 6116 test -z "$with_cde" && { ac_safe=`echo "Dt/Dt.h" | sed 'y%./+-%__p_%'` |
| 6092 echo $ac_n "checking for Dt/Dt.h""... $ac_c" 1>&6 | 6117 echo $ac_n "checking for Dt/Dt.h""... $ac_c" 1>&6 |
| 6093 echo "configure:6094: checking for Dt/Dt.h" >&5 | 6118 echo "configure:6119: checking for Dt/Dt.h" >&5 |
| 6094 | 6119 |
| 6095 cat > conftest.$ac_ext <<EOF | 6120 cat > conftest.$ac_ext <<EOF |
| 6096 #line 6097 "configure" | 6121 #line 6122 "configure" |
| 6097 #include "confdefs.h" | 6122 #include "confdefs.h" |
| 6098 #include <Dt/Dt.h> | 6123 #include <Dt/Dt.h> |
| 6099 EOF | 6124 EOF |
| 6100 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6125 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 6101 { (eval echo configure:6102: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6126 { (eval echo configure:6127: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 6102 ac_err=`grep -v '^ *+' conftest.out` | 6127 ac_err=`grep -v '^ *+' conftest.out` |
| 6103 if test -z "$ac_err"; then | 6128 if test -z "$ac_err"; then |
| 6104 rm -rf conftest* | 6129 rm -rf conftest* |
| 6105 eval "ac_cv_header_$ac_safe=yes" | 6130 eval "ac_cv_header_$ac_safe=yes" |
| 6106 else | 6131 else |
| 6119 with_cde=no | 6144 with_cde=no |
| 6120 fi | 6145 fi |
| 6121 } | 6146 } |
| 6122 test -z "$with_cde" && { | 6147 test -z "$with_cde" && { |
| 6123 echo $ac_n "checking for DtDndDragStart in -lDtSvc""... $ac_c" 1>&6 | 6148 echo $ac_n "checking for DtDndDragStart in -lDtSvc""... $ac_c" 1>&6 |
| 6124 echo "configure:6125: checking for DtDndDragStart in -lDtSvc" >&5 | 6149 echo "configure:6150: checking for DtDndDragStart in -lDtSvc" >&5 |
| 6125 ac_lib_var=`echo DtSvc'_'DtDndDragStart | sed 'y%./+-%__p_%'` | 6150 ac_lib_var=`echo DtSvc'_'DtDndDragStart | sed 'y%./+-%__p_%'` |
| 6126 | 6151 |
| 6127 xe_check_libs=" -lDtSvc " | 6152 xe_check_libs=" -lDtSvc " |
| 6128 cat > conftest.$ac_ext <<EOF | 6153 cat > conftest.$ac_ext <<EOF |
| 6129 #line 6130 "configure" | 6154 #line 6155 "configure" |
| 6130 #include "confdefs.h" | 6155 #include "confdefs.h" |
| 6131 /* Override any gcc2 internal prototype to avoid an error. */ | 6156 /* Override any gcc2 internal prototype to avoid an error. */ |
| 6132 /* We use char because int might match the return type of a gcc2 | 6157 /* We use char because int might match the return type of a gcc2 |
| 6133 builtin and then its argument prototype would still apply. */ | 6158 builtin and then its argument prototype would still apply. */ |
| 6134 char DtDndDragStart(); | 6159 char DtDndDragStart(); |
| 6135 | 6160 |
| 6136 int main() { | 6161 int main() { |
| 6137 DtDndDragStart() | 6162 DtDndDragStart() |
| 6138 ; return 0; } | 6163 ; return 0; } |
| 6139 EOF | 6164 EOF |
| 6140 if { (eval echo configure:6141: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 6165 if { (eval echo configure:6166: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 6141 rm -rf conftest* | 6166 rm -rf conftest* |
| 6142 eval "ac_cv_lib_$ac_lib_var=yes" | 6167 eval "ac_cv_lib_$ac_lib_var=yes" |
| 6143 else | 6168 else |
| 6144 echo "configure: failed program was:" >&5 | 6169 echo "configure: failed program was:" >&5 |
| 6145 cat conftest.$ac_ext >&5 | 6170 cat conftest.$ac_ext >&5 |
| 6177 with_tooltalk=yes # CDE requires Tooltalk | 6202 with_tooltalk=yes # CDE requires Tooltalk |
| 6178 need_motif=yes # CDE requires Motif | 6203 need_motif=yes # CDE requires Motif |
| 6179 fi | 6204 fi |
| 6180 | 6205 |
| 6181 echo $ac_n "checking if drag and drop API is needed""... $ac_c" 1>&6 | 6206 echo $ac_n "checking if drag and drop API is needed""... $ac_c" 1>&6 |
| 6182 echo "configure:6183: checking if drag and drop API is needed" >&5 | 6207 echo "configure:6208: checking if drag and drop API is needed" >&5 |
| 6183 if test "$with_dragndrop" != "no" ; then | 6208 if test "$with_dragndrop" != "no" ; then |
| 6184 if test -n "$dragndrop_proto" ; then | 6209 if test -n "$dragndrop_proto" ; then |
| 6185 with_dragndrop=yes | 6210 with_dragndrop=yes |
| 6186 echo "$ac_t""yes (${dragndrop_proto} )" 1>&6 | 6211 echo "$ac_t""yes (${dragndrop_proto} )" 1>&6 |
| 6187 { test "$extra_verbose" = "yes" && cat << \EOF | 6212 { test "$extra_verbose" = "yes" && cat << \EOF |
| 6198 echo "$ac_t""no" 1>&6 | 6223 echo "$ac_t""no" 1>&6 |
| 6199 fi | 6224 fi |
| 6200 fi | 6225 fi |
| 6201 | 6226 |
| 6202 echo "checking for LDAP" 1>&6 | 6227 echo "checking for LDAP" 1>&6 |
| 6203 echo "configure:6204: checking for LDAP" >&5 | 6228 echo "configure:6229: checking for LDAP" >&5 |
| 6204 test -z "$with_ldap" && { ac_safe=`echo "ldap.h" | sed 'y%./+-%__p_%'` | 6229 test -z "$with_ldap" && { ac_safe=`echo "ldap.h" | sed 'y%./+-%__p_%'` |
| 6205 echo $ac_n "checking for ldap.h""... $ac_c" 1>&6 | 6230 echo $ac_n "checking for ldap.h""... $ac_c" 1>&6 |
| 6206 echo "configure:6207: checking for ldap.h" >&5 | 6231 echo "configure:6232: checking for ldap.h" >&5 |
| 6207 | 6232 |
| 6208 cat > conftest.$ac_ext <<EOF | 6233 cat > conftest.$ac_ext <<EOF |
| 6209 #line 6210 "configure" | 6234 #line 6235 "configure" |
| 6210 #include "confdefs.h" | 6235 #include "confdefs.h" |
| 6211 #include <ldap.h> | 6236 #include <ldap.h> |
| 6212 EOF | 6237 EOF |
| 6213 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6238 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 6214 { (eval echo configure:6215: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6239 { (eval echo configure:6240: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 6215 ac_err=`grep -v '^ *+' conftest.out` | 6240 ac_err=`grep -v '^ *+' conftest.out` |
| 6216 if test -z "$ac_err"; then | 6241 if test -z "$ac_err"; then |
| 6217 rm -rf conftest* | 6242 rm -rf conftest* |
| 6218 eval "ac_cv_header_$ac_safe=yes" | 6243 eval "ac_cv_header_$ac_safe=yes" |
| 6219 else | 6244 else |
| 6232 with_ldap=no | 6257 with_ldap=no |
| 6233 fi | 6258 fi |
| 6234 } | 6259 } |
| 6235 test -z "$with_ldap" && { ac_safe=`echo "lber.h" | sed 'y%./+-%__p_%'` | 6260 test -z "$with_ldap" && { ac_safe=`echo "lber.h" | sed 'y%./+-%__p_%'` |
| 6236 echo $ac_n "checking for lber.h""... $ac_c" 1>&6 | 6261 echo $ac_n "checking for lber.h""... $ac_c" 1>&6 |
| 6237 echo "configure:6238: checking for lber.h" >&5 | 6262 echo "configure:6263: checking for lber.h" >&5 |
| 6238 | 6263 |
| 6239 cat > conftest.$ac_ext <<EOF | 6264 cat > conftest.$ac_ext <<EOF |
| 6240 #line 6241 "configure" | 6265 #line 6266 "configure" |
| 6241 #include "confdefs.h" | 6266 #include "confdefs.h" |
| 6242 #include <lber.h> | 6267 #include <lber.h> |
| 6243 EOF | 6268 EOF |
| 6244 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6269 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 6245 { (eval echo configure:6246: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6270 { (eval echo configure:6271: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 6246 ac_err=`grep -v '^ *+' conftest.out` | 6271 ac_err=`grep -v '^ *+' conftest.out` |
| 6247 if test -z "$ac_err"; then | 6272 if test -z "$ac_err"; then |
| 6248 rm -rf conftest* | 6273 rm -rf conftest* |
| 6249 eval "ac_cv_header_$ac_safe=yes" | 6274 eval "ac_cv_header_$ac_safe=yes" |
| 6250 else | 6275 else |
| 6266 if test "$with_ldap" != "no"; then | 6291 if test "$with_ldap" != "no"; then |
| 6267 test -z "$with_umich_ldap" && { | 6292 test -z "$with_umich_ldap" && { |
| 6268 xe_msg_checking="for ldap_open in -lldap" | 6293 xe_msg_checking="for ldap_open in -lldap" |
| 6269 test -n "-llber" && xe_msg_checking="$xe_msg_checking using extra libs -llber" | 6294 test -n "-llber" && xe_msg_checking="$xe_msg_checking using extra libs -llber" |
| 6270 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 6295 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
| 6271 echo "configure:6272: checking "$xe_msg_checking"" >&5 | 6296 echo "configure:6297: checking "$xe_msg_checking"" >&5 |
| 6272 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` | 6297 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` |
| 6273 | 6298 |
| 6274 xe_check_libs=" -lldap -llber" | 6299 xe_check_libs=" -lldap -llber" |
| 6275 cat > conftest.$ac_ext <<EOF | 6300 cat > conftest.$ac_ext <<EOF |
| 6276 #line 6277 "configure" | 6301 #line 6302 "configure" |
| 6277 #include "confdefs.h" | 6302 #include "confdefs.h" |
| 6278 /* Override any gcc2 internal prototype to avoid an error. */ | 6303 /* Override any gcc2 internal prototype to avoid an error. */ |
| 6279 /* We use char because int might match the return type of a gcc2 | 6304 /* We use char because int might match the return type of a gcc2 |
| 6280 builtin and then its argument prototype would still apply. */ | 6305 builtin and then its argument prototype would still apply. */ |
| 6281 char ldap_open(); | 6306 char ldap_open(); |
| 6282 | 6307 |
| 6283 int main() { | 6308 int main() { |
| 6284 ldap_open() | 6309 ldap_open() |
| 6285 ; return 0; } | 6310 ; return 0; } |
| 6286 EOF | 6311 EOF |
| 6287 if { (eval echo configure:6288: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 6312 if { (eval echo configure:6313: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 6288 rm -rf conftest* | 6313 rm -rf conftest* |
| 6289 eval "ac_cv_lib_$ac_lib_var=yes" | 6314 eval "ac_cv_lib_$ac_lib_var=yes" |
| 6290 else | 6315 else |
| 6291 echo "configure: failed program was:" >&5 | 6316 echo "configure: failed program was:" >&5 |
| 6292 cat conftest.$ac_ext >&5 | 6317 cat conftest.$ac_ext >&5 |
| 6305 fi | 6330 fi |
| 6306 | 6331 |
| 6307 } | 6332 } |
| 6308 test "$with_umich_ldap" = "no" && { | 6333 test "$with_umich_ldap" = "no" && { |
| 6309 echo $ac_n "checking for ldap_set_option in -lldap10""... $ac_c" 1>&6 | 6334 echo $ac_n "checking for ldap_set_option in -lldap10""... $ac_c" 1>&6 |
| 6310 echo "configure:6311: checking for ldap_set_option in -lldap10" >&5 | 6335 echo "configure:6336: checking for ldap_set_option in -lldap10" >&5 |
| 6311 ac_lib_var=`echo ldap10'_'ldap_set_option | sed 'y%./+-%__p_%'` | 6336 ac_lib_var=`echo ldap10'_'ldap_set_option | sed 'y%./+-%__p_%'` |
| 6312 | 6337 |
| 6313 xe_check_libs=" -lldap10 " | 6338 xe_check_libs=" -lldap10 " |
| 6314 cat > conftest.$ac_ext <<EOF | 6339 cat > conftest.$ac_ext <<EOF |
| 6315 #line 6316 "configure" | 6340 #line 6341 "configure" |
| 6316 #include "confdefs.h" | 6341 #include "confdefs.h" |
| 6317 /* Override any gcc2 internal prototype to avoid an error. */ | 6342 /* Override any gcc2 internal prototype to avoid an error. */ |
| 6318 /* We use char because int might match the return type of a gcc2 | 6343 /* We use char because int might match the return type of a gcc2 |
| 6319 builtin and then its argument prototype would still apply. */ | 6344 builtin and then its argument prototype would still apply. */ |
| 6320 char ldap_set_option(); | 6345 char ldap_set_option(); |
| 6321 | 6346 |
| 6322 int main() { | 6347 int main() { |
| 6323 ldap_set_option() | 6348 ldap_set_option() |
| 6324 ; return 0; } | 6349 ; return 0; } |
| 6325 EOF | 6350 EOF |
| 6326 if { (eval echo configure:6327: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 6351 if { (eval echo configure:6352: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 6327 rm -rf conftest* | 6352 rm -rf conftest* |
| 6328 eval "ac_cv_lib_$ac_lib_var=yes" | 6353 eval "ac_cv_lib_$ac_lib_var=yes" |
| 6329 else | 6354 else |
| 6330 echo "configure: failed program was:" >&5 | 6355 echo "configure: failed program was:" >&5 |
| 6331 cat conftest.$ac_ext >&5 | 6356 cat conftest.$ac_ext >&5 |
| 6385 fi | 6410 fi |
| 6386 | 6411 |
| 6387 | 6412 |
| 6388 if test "$window_system" != "none"; then | 6413 if test "$window_system" != "none"; then |
| 6389 echo "checking for graphics libraries" 1>&6 | 6414 echo "checking for graphics libraries" 1>&6 |
| 6390 echo "configure:6391: checking for graphics libraries" >&5 | 6415 echo "configure:6416: checking for graphics libraries" >&5 |
| 6391 | 6416 |
| 6392 if test -z "$with_xpm"; then | 6417 if test -z "$with_xpm"; then |
| 6393 echo $ac_n "checking for Xpm - no older than 3.4f""... $ac_c" 1>&6 | 6418 echo $ac_n "checking for Xpm - no older than 3.4f""... $ac_c" 1>&6 |
| 6394 echo "configure:6395: checking for Xpm - no older than 3.4f" >&5 | 6419 echo "configure:6420: checking for Xpm - no older than 3.4f" >&5 |
| 6395 xe_check_libs=-lXpm | 6420 xe_check_libs=-lXpm |
| 6396 cat > conftest.$ac_ext <<EOF | 6421 cat > conftest.$ac_ext <<EOF |
| 6397 #line 6398 "configure" | 6422 #line 6423 "configure" |
| 6398 #include "confdefs.h" | 6423 #include "confdefs.h" |
| 6399 #include <X11/xpm.h> | 6424 #include <X11/xpm.h> |
| 6400 int main(int c, char **v) { | 6425 int main(int c, char **v) { |
| 6401 return c == 1 ? 0 : | 6426 return c == 1 ? 0 : |
| 6402 XpmIncludeVersion != XpmLibraryVersion() ? 1 : | 6427 XpmIncludeVersion != XpmLibraryVersion() ? 1 : |
| 6403 XpmIncludeVersion < 30406 ? 2 : 0 ;} | 6428 XpmIncludeVersion < 30406 ? 2 : 0 ;} |
| 6404 EOF | 6429 EOF |
| 6405 if { (eval echo configure:6406: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 | 6430 if { (eval echo configure:6431: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 |
| 6406 then | 6431 then |
| 6407 ./conftest dummy_arg; xpm_status=$?; | 6432 ./conftest dummy_arg; xpm_status=$?; |
| 6408 if test "$?" = "0"; then | 6433 if test "$?" = "0"; then |
| 6409 with_xpm=yes; | 6434 with_xpm=yes; |
| 6410 else | 6435 else |
| 6441 EOF | 6466 EOF |
| 6442 } | 6467 } |
| 6443 | 6468 |
| 6444 libs_x="-lXpm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXpm\" to \$libs_x"; fi | 6469 libs_x="-lXpm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXpm\" to \$libs_x"; fi |
| 6445 echo $ac_n "checking for \"FOR_MSW\" xpm""... $ac_c" 1>&6 | 6470 echo $ac_n "checking for \"FOR_MSW\" xpm""... $ac_c" 1>&6 |
| 6446 echo "configure:6447: checking for \"FOR_MSW\" xpm" >&5 | 6471 echo "configure:6472: checking for \"FOR_MSW\" xpm" >&5 |
| 6447 xe_check_libs=-lXpm | 6472 xe_check_libs=-lXpm |
| 6448 cat > conftest.$ac_ext <<EOF | 6473 cat > conftest.$ac_ext <<EOF |
| 6449 #line 6450 "configure" | 6474 #line 6475 "configure" |
| 6450 #include "confdefs.h" | 6475 #include "confdefs.h" |
| 6451 | 6476 |
| 6452 int main() { | 6477 int main() { |
| 6453 XpmCreatePixmapFromData() | 6478 XpmCreatePixmapFromData() |
| 6454 ; return 0; } | 6479 ; return 0; } |
| 6455 EOF | 6480 EOF |
| 6456 if { (eval echo configure:6457: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 6481 if { (eval echo configure:6482: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 6457 rm -rf conftest* | 6482 rm -rf conftest* |
| 6458 xpm_for_msw=no | 6483 xpm_for_msw=no |
| 6459 else | 6484 else |
| 6460 echo "configure: failed program was:" >&5 | 6485 echo "configure: failed program was:" >&5 |
| 6461 cat conftest.$ac_ext >&5 | 6486 cat conftest.$ac_ext >&5 |
| 6478 fi | 6503 fi |
| 6479 | 6504 |
| 6480 if test "$with_png $with_tiff" != "no no"; then | 6505 if test "$with_png $with_tiff" != "no no"; then |
| 6481 | 6506 |
| 6482 echo $ac_n "checking for inflate in -lc""... $ac_c" 1>&6 | 6507 echo $ac_n "checking for inflate in -lc""... $ac_c" 1>&6 |
| 6483 echo "configure:6484: checking for inflate in -lc" >&5 | 6508 echo "configure:6509: checking for inflate in -lc" >&5 |
| 6484 ac_lib_var=`echo c'_'inflate | sed 'y%./+-%__p_%'` | 6509 ac_lib_var=`echo c'_'inflate | sed 'y%./+-%__p_%'` |
| 6485 | 6510 |
| 6486 xe_check_libs=" -lc " | 6511 xe_check_libs=" -lc " |
| 6487 cat > conftest.$ac_ext <<EOF | 6512 cat > conftest.$ac_ext <<EOF |
| 6488 #line 6489 "configure" | 6513 #line 6514 "configure" |
| 6489 #include "confdefs.h" | 6514 #include "confdefs.h" |
| 6490 /* Override any gcc2 internal prototype to avoid an error. */ | 6515 /* Override any gcc2 internal prototype to avoid an error. */ |
| 6491 /* We use char because int might match the return type of a gcc2 | 6516 /* We use char because int might match the return type of a gcc2 |
| 6492 builtin and then its argument prototype would still apply. */ | 6517 builtin and then its argument prototype would still apply. */ |
| 6493 char inflate(); | 6518 char inflate(); |
| 6494 | 6519 |
| 6495 int main() { | 6520 int main() { |
| 6496 inflate() | 6521 inflate() |
| 6497 ; return 0; } | 6522 ; return 0; } |
| 6498 EOF | 6523 EOF |
| 6499 if { (eval echo configure:6500: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 6524 if { (eval echo configure:6525: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 6500 rm -rf conftest* | 6525 rm -rf conftest* |
| 6501 eval "ac_cv_lib_$ac_lib_var=yes" | 6526 eval "ac_cv_lib_$ac_lib_var=yes" |
| 6502 else | 6527 else |
| 6503 echo "configure: failed program was:" >&5 | 6528 echo "configure: failed program was:" >&5 |
| 6504 cat conftest.$ac_ext >&5 | 6529 cat conftest.$ac_ext >&5 |
| 6513 : | 6538 : |
| 6514 else | 6539 else |
| 6515 echo "$ac_t""no" 1>&6 | 6540 echo "$ac_t""no" 1>&6 |
| 6516 | 6541 |
| 6517 echo $ac_n "checking for inflate in -lz""... $ac_c" 1>&6 | 6542 echo $ac_n "checking for inflate in -lz""... $ac_c" 1>&6 |
| 6518 echo "configure:6519: checking for inflate in -lz" >&5 | 6543 echo "configure:6544: checking for inflate in -lz" >&5 |
| 6519 ac_lib_var=`echo z'_'inflate | sed 'y%./+-%__p_%'` | 6544 ac_lib_var=`echo z'_'inflate | sed 'y%./+-%__p_%'` |
| 6520 | 6545 |
| 6521 xe_check_libs=" -lz " | 6546 xe_check_libs=" -lz " |
| 6522 cat > conftest.$ac_ext <<EOF | 6547 cat > conftest.$ac_ext <<EOF |
| 6523 #line 6524 "configure" | 6548 #line 6549 "configure" |
| 6524 #include "confdefs.h" | 6549 #include "confdefs.h" |
| 6525 /* Override any gcc2 internal prototype to avoid an error. */ | 6550 /* Override any gcc2 internal prototype to avoid an error. */ |
| 6526 /* We use char because int might match the return type of a gcc2 | 6551 /* We use char because int might match the return type of a gcc2 |
| 6527 builtin and then its argument prototype would still apply. */ | 6552 builtin and then its argument prototype would still apply. */ |
| 6528 char inflate(); | 6553 char inflate(); |
| 6529 | 6554 |
| 6530 int main() { | 6555 int main() { |
| 6531 inflate() | 6556 inflate() |
| 6532 ; return 0; } | 6557 ; return 0; } |
| 6533 EOF | 6558 EOF |
| 6534 if { (eval echo configure:6535: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 6559 if { (eval echo configure:6560: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 6535 rm -rf conftest* | 6560 rm -rf conftest* |
| 6536 eval "ac_cv_lib_$ac_lib_var=yes" | 6561 eval "ac_cv_lib_$ac_lib_var=yes" |
| 6537 else | 6562 else |
| 6538 echo "configure: failed program was:" >&5 | 6563 echo "configure: failed program was:" >&5 |
| 6539 cat conftest.$ac_ext >&5 | 6564 cat conftest.$ac_ext >&5 |
| 6548 libs_x="-lz $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lz\" to \$libs_x"; fi | 6573 libs_x="-lz $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lz\" to \$libs_x"; fi |
| 6549 else | 6574 else |
| 6550 echo "$ac_t""no" 1>&6 | 6575 echo "$ac_t""no" 1>&6 |
| 6551 | 6576 |
| 6552 echo $ac_n "checking for inflate in -lgz""... $ac_c" 1>&6 | 6577 echo $ac_n "checking for inflate in -lgz""... $ac_c" 1>&6 |
| 6553 echo "configure:6554: checking for inflate in -lgz" >&5 | 6578 echo "configure:6579: checking for inflate in -lgz" >&5 |
| 6554 ac_lib_var=`echo gz'_'inflate | sed 'y%./+-%__p_%'` | 6579 ac_lib_var=`echo gz'_'inflate | sed 'y%./+-%__p_%'` |
| 6555 | 6580 |
| 6556 xe_check_libs=" -lgz " | 6581 xe_check_libs=" -lgz " |
| 6557 cat > conftest.$ac_ext <<EOF | 6582 cat > conftest.$ac_ext <<EOF |
| 6558 #line 6559 "configure" | 6583 #line 6584 "configure" |
| 6559 #include "confdefs.h" | 6584 #include "confdefs.h" |
| 6560 /* Override any gcc2 internal prototype to avoid an error. */ | 6585 /* Override any gcc2 internal prototype to avoid an error. */ |
| 6561 /* We use char because int might match the return type of a gcc2 | 6586 /* We use char because int might match the return type of a gcc2 |
| 6562 builtin and then its argument prototype would still apply. */ | 6587 builtin and then its argument prototype would still apply. */ |
| 6563 char inflate(); | 6588 char inflate(); |
| 6564 | 6589 |
| 6565 int main() { | 6590 int main() { |
| 6566 inflate() | 6591 inflate() |
| 6567 ; return 0; } | 6592 ; return 0; } |
| 6568 EOF | 6593 EOF |
| 6569 if { (eval echo configure:6570: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 6594 if { (eval echo configure:6595: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 6570 rm -rf conftest* | 6595 rm -rf conftest* |
| 6571 eval "ac_cv_lib_$ac_lib_var=yes" | 6596 eval "ac_cv_lib_$ac_lib_var=yes" |
| 6572 else | 6597 else |
| 6573 echo "configure: failed program was:" >&5 | 6598 echo "configure: failed program was:" >&5 |
| 6574 cat conftest.$ac_ext >&5 | 6599 cat conftest.$ac_ext >&5 |
| 6593 | 6618 |
| 6594 | 6619 |
| 6595 fi | 6620 fi |
| 6596 | 6621 |
| 6597 echo $ac_n "checking for giflib - no older than 3.1""... $ac_c" 1>&6 | 6622 echo $ac_n "checking for giflib - no older than 3.1""... $ac_c" 1>&6 |
| 6598 echo "configure:6599: checking for giflib - no older than 3.1" >&5 | 6623 echo "configure:6624: checking for giflib - no older than 3.1" >&5 |
| 6599 test -z "$with_gif" && { ac_safe=`echo "gif_lib.h" | sed 'y%./+-%__p_%'` | 6624 test -z "$with_gif" && { ac_safe=`echo "gif_lib.h" | sed 'y%./+-%__p_%'` |
| 6600 echo $ac_n "checking for gif_lib.h""... $ac_c" 1>&6 | 6625 echo $ac_n "checking for gif_lib.h""... $ac_c" 1>&6 |
| 6601 echo "configure:6602: checking for gif_lib.h" >&5 | 6626 echo "configure:6627: checking for gif_lib.h" >&5 |
| 6602 | 6627 |
| 6603 cat > conftest.$ac_ext <<EOF | 6628 cat > conftest.$ac_ext <<EOF |
| 6604 #line 6605 "configure" | 6629 #line 6630 "configure" |
| 6605 #include "confdefs.h" | 6630 #include "confdefs.h" |
| 6606 #include <gif_lib.h> | 6631 #include <gif_lib.h> |
| 6607 EOF | 6632 EOF |
| 6608 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6633 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 6609 { (eval echo configure:6610: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6634 { (eval echo configure:6635: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 6610 ac_err=`grep -v '^ *+' conftest.out` | 6635 ac_err=`grep -v '^ *+' conftest.out` |
| 6611 if test -z "$ac_err"; then | 6636 if test -z "$ac_err"; then |
| 6612 rm -rf conftest* | 6637 rm -rf conftest* |
| 6613 eval "ac_cv_header_$ac_safe=yes" | 6638 eval "ac_cv_header_$ac_safe=yes" |
| 6614 else | 6639 else |
| 6627 with_gif=no | 6652 with_gif=no |
| 6628 fi | 6653 fi |
| 6629 } | 6654 } |
| 6630 test -z "$with_gif" && { | 6655 test -z "$with_gif" && { |
| 6631 echo $ac_n "checking for GetGifError in -lgif""... $ac_c" 1>&6 | 6656 echo $ac_n "checking for GetGifError in -lgif""... $ac_c" 1>&6 |
| 6632 echo "configure:6633: checking for GetGifError in -lgif" >&5 | 6657 echo "configure:6658: checking for GetGifError in -lgif" >&5 |
| 6633 ac_lib_var=`echo gif'_'GetGifError | sed 'y%./+-%__p_%'` | 6658 ac_lib_var=`echo gif'_'GetGifError | sed 'y%./+-%__p_%'` |
| 6634 | 6659 |
| 6635 xe_check_libs=" -lgif " | 6660 xe_check_libs=" -lgif " |
| 6636 cat > conftest.$ac_ext <<EOF | 6661 cat > conftest.$ac_ext <<EOF |
| 6637 #line 6638 "configure" | 6662 #line 6663 "configure" |
| 6638 #include "confdefs.h" | 6663 #include "confdefs.h" |
| 6639 /* Override any gcc2 internal prototype to avoid an error. */ | 6664 /* Override any gcc2 internal prototype to avoid an error. */ |
| 6640 /* We use char because int might match the return type of a gcc2 | 6665 /* We use char because int might match the return type of a gcc2 |
| 6641 builtin and then its argument prototype would still apply. */ | 6666 builtin and then its argument prototype would still apply. */ |
| 6642 char GetGifError(); | 6667 char GetGifError(); |
| 6643 | 6668 |
| 6644 int main() { | 6669 int main() { |
| 6645 GetGifError() | 6670 GetGifError() |
| 6646 ; return 0; } | 6671 ; return 0; } |
| 6647 EOF | 6672 EOF |
| 6648 if { (eval echo configure:6649: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 6673 if { (eval echo configure:6674: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 6649 rm -rf conftest* | 6674 rm -rf conftest* |
| 6650 eval "ac_cv_lib_$ac_lib_var=yes" | 6675 eval "ac_cv_lib_$ac_lib_var=yes" |
| 6651 else | 6676 else |
| 6652 echo "configure: failed program was:" >&5 | 6677 echo "configure: failed program was:" >&5 |
| 6653 cat conftest.$ac_ext >&5 | 6678 cat conftest.$ac_ext >&5 |
| 6679 libs_x="-lgif $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lgif\" to \$libs_x"; fi | 6704 libs_x="-lgif $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lgif\" to \$libs_x"; fi |
| 6680 fi | 6705 fi |
| 6681 | 6706 |
| 6682 test -z "$with_jpeg" && { ac_safe=`echo "jpeglib.h" | sed 'y%./+-%__p_%'` | 6707 test -z "$with_jpeg" && { ac_safe=`echo "jpeglib.h" | sed 'y%./+-%__p_%'` |
| 6683 echo $ac_n "checking for jpeglib.h""... $ac_c" 1>&6 | 6708 echo $ac_n "checking for jpeglib.h""... $ac_c" 1>&6 |
| 6684 echo "configure:6685: checking for jpeglib.h" >&5 | 6709 echo "configure:6710: checking for jpeglib.h" >&5 |
| 6685 | 6710 |
| 6686 cat > conftest.$ac_ext <<EOF | 6711 cat > conftest.$ac_ext <<EOF |
| 6687 #line 6688 "configure" | 6712 #line 6713 "configure" |
| 6688 #include "confdefs.h" | 6713 #include "confdefs.h" |
| 6689 #include <jpeglib.h> | 6714 #include <jpeglib.h> |
| 6690 EOF | 6715 EOF |
| 6691 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6716 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 6692 { (eval echo configure:6693: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6717 { (eval echo configure:6718: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 6693 ac_err=`grep -v '^ *+' conftest.out` | 6718 ac_err=`grep -v '^ *+' conftest.out` |
| 6694 if test -z "$ac_err"; then | 6719 if test -z "$ac_err"; then |
| 6695 rm -rf conftest* | 6720 rm -rf conftest* |
| 6696 eval "ac_cv_header_$ac_safe=yes" | 6721 eval "ac_cv_header_$ac_safe=yes" |
| 6697 else | 6722 else |
| 6710 with_jpeg=no | 6735 with_jpeg=no |
| 6711 fi | 6736 fi |
| 6712 } | 6737 } |
| 6713 test -z "$with_jpeg" && { | 6738 test -z "$with_jpeg" && { |
| 6714 echo $ac_n "checking for jpeg_destroy_decompress in -ljpeg""... $ac_c" 1>&6 | 6739 echo $ac_n "checking for jpeg_destroy_decompress in -ljpeg""... $ac_c" 1>&6 |
| 6715 echo "configure:6716: checking for jpeg_destroy_decompress in -ljpeg" >&5 | 6740 echo "configure:6741: checking for jpeg_destroy_decompress in -ljpeg" >&5 |
| 6716 ac_lib_var=`echo jpeg'_'jpeg_destroy_decompress | sed 'y%./+-%__p_%'` | 6741 ac_lib_var=`echo jpeg'_'jpeg_destroy_decompress | sed 'y%./+-%__p_%'` |
| 6717 | 6742 |
| 6718 xe_check_libs=" -ljpeg " | 6743 xe_check_libs=" -ljpeg " |
| 6719 cat > conftest.$ac_ext <<EOF | 6744 cat > conftest.$ac_ext <<EOF |
| 6720 #line 6721 "configure" | 6745 #line 6746 "configure" |
| 6721 #include "confdefs.h" | 6746 #include "confdefs.h" |
| 6722 /* Override any gcc2 internal prototype to avoid an error. */ | 6747 /* Override any gcc2 internal prototype to avoid an error. */ |
| 6723 /* We use char because int might match the return type of a gcc2 | 6748 /* We use char because int might match the return type of a gcc2 |
| 6724 builtin and then its argument prototype would still apply. */ | 6749 builtin and then its argument prototype would still apply. */ |
| 6725 char jpeg_destroy_decompress(); | 6750 char jpeg_destroy_decompress(); |
| 6726 | 6751 |
| 6727 int main() { | 6752 int main() { |
| 6728 jpeg_destroy_decompress() | 6753 jpeg_destroy_decompress() |
| 6729 ; return 0; } | 6754 ; return 0; } |
| 6730 EOF | 6755 EOF |
| 6731 if { (eval echo configure:6732: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 6756 if { (eval echo configure:6757: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 6732 rm -rf conftest* | 6757 rm -rf conftest* |
| 6733 eval "ac_cv_lib_$ac_lib_var=yes" | 6758 eval "ac_cv_lib_$ac_lib_var=yes" |
| 6734 else | 6759 else |
| 6735 echo "configure: failed program was:" >&5 | 6760 echo "configure: failed program was:" >&5 |
| 6736 cat conftest.$ac_ext >&5 | 6761 cat conftest.$ac_ext >&5 |
| 6762 libs_x="-ljpeg $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-ljpeg\" to \$libs_x"; fi | 6787 libs_x="-ljpeg $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-ljpeg\" to \$libs_x"; fi |
| 6763 fi | 6788 fi |
| 6764 | 6789 |
| 6765 if test -z "$with_png"; then | 6790 if test -z "$with_png"; then |
| 6766 echo $ac_n "checking for png.h - no older than 0.96""... $ac_c" 1>&6 | 6791 echo $ac_n "checking for png.h - no older than 0.96""... $ac_c" 1>&6 |
| 6767 echo "configure:6768: checking for png.h - no older than 0.96" >&5 | 6792 echo "configure:6793: checking for png.h - no older than 0.96" >&5 |
| 6768 cat > conftest.$ac_ext <<EOF | 6793 cat > conftest.$ac_ext <<EOF |
| 6769 #line 6770 "configure" | 6794 #line 6795 "configure" |
| 6770 #include "confdefs.h" | 6795 #include "confdefs.h" |
| 6771 #include <png.h> | 6796 #include <png.h> |
| 6772 #if PNG_LIBPNG_VER >= 96 | 6797 #if PNG_LIBPNG_VER >= 96 |
| 6773 yes | 6798 yes |
| 6774 #endif | 6799 #endif |
| 6784 fi | 6809 fi |
| 6785 rm -f conftest* | 6810 rm -f conftest* |
| 6786 | 6811 |
| 6787 fi | 6812 fi |
| 6788 test -z "$with_png" && { echo $ac_n "checking for pow""... $ac_c" 1>&6 | 6813 test -z "$with_png" && { echo $ac_n "checking for pow""... $ac_c" 1>&6 |
| 6789 echo "configure:6790: checking for pow" >&5 | 6814 echo "configure:6815: checking for pow" >&5 |
| 6790 | 6815 |
| 6791 cat > conftest.$ac_ext <<EOF | 6816 cat > conftest.$ac_ext <<EOF |
| 6792 #line 6793 "configure" | 6817 #line 6818 "configure" |
| 6793 #include "confdefs.h" | 6818 #include "confdefs.h" |
| 6794 /* System header to define __stub macros and hopefully few prototypes, | 6819 /* System header to define __stub macros and hopefully few prototypes, |
| 6795 which can conflict with char pow(); below. */ | 6820 which can conflict with char pow(); below. */ |
| 6796 #include <assert.h> | 6821 #include <assert.h> |
| 6797 /* Override any gcc2 internal prototype to avoid an error. */ | 6822 /* Override any gcc2 internal prototype to avoid an error. */ |
| 6810 pow(); | 6835 pow(); |
| 6811 #endif | 6836 #endif |
| 6812 | 6837 |
| 6813 ; return 0; } | 6838 ; return 0; } |
| 6814 EOF | 6839 EOF |
| 6815 if { (eval echo configure:6816: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 6840 if { (eval echo configure:6841: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 6816 rm -rf conftest* | 6841 rm -rf conftest* |
| 6817 eval "ac_cv_func_pow=yes" | 6842 eval "ac_cv_func_pow=yes" |
| 6818 else | 6843 else |
| 6819 echo "configure: failed program was:" >&5 | 6844 echo "configure: failed program was:" >&5 |
| 6820 cat conftest.$ac_ext >&5 | 6845 cat conftest.$ac_ext >&5 |
| 6831 with_png=no | 6856 with_png=no |
| 6832 fi | 6857 fi |
| 6833 } | 6858 } |
| 6834 test -z "$with_png" && { | 6859 test -z "$with_png" && { |
| 6835 echo $ac_n "checking for png_read_image in -lpng""... $ac_c" 1>&6 | 6860 echo $ac_n "checking for png_read_image in -lpng""... $ac_c" 1>&6 |
| 6836 echo "configure:6837: checking for png_read_image in -lpng" >&5 | 6861 echo "configure:6862: checking for png_read_image in -lpng" >&5 |
| 6837 ac_lib_var=`echo png'_'png_read_image | sed 'y%./+-%__p_%'` | 6862 ac_lib_var=`echo png'_'png_read_image | sed 'y%./+-%__p_%'` |
| 6838 | 6863 |
| 6839 xe_check_libs=" -lpng " | 6864 xe_check_libs=" -lpng " |
| 6840 cat > conftest.$ac_ext <<EOF | 6865 cat > conftest.$ac_ext <<EOF |
| 6841 #line 6842 "configure" | 6866 #line 6867 "configure" |
| 6842 #include "confdefs.h" | 6867 #include "confdefs.h" |
| 6843 /* Override any gcc2 internal prototype to avoid an error. */ | 6868 /* Override any gcc2 internal prototype to avoid an error. */ |
| 6844 /* We use char because int might match the return type of a gcc2 | 6869 /* We use char because int might match the return type of a gcc2 |
| 6845 builtin and then its argument prototype would still apply. */ | 6870 builtin and then its argument prototype would still apply. */ |
| 6846 char png_read_image(); | 6871 char png_read_image(); |
| 6847 | 6872 |
| 6848 int main() { | 6873 int main() { |
| 6849 png_read_image() | 6874 png_read_image() |
| 6850 ; return 0; } | 6875 ; return 0; } |
| 6851 EOF | 6876 EOF |
| 6852 if { (eval echo configure:6853: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 6877 if { (eval echo configure:6878: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 6853 rm -rf conftest* | 6878 rm -rf conftest* |
| 6854 eval "ac_cv_lib_$ac_lib_var=yes" | 6879 eval "ac_cv_lib_$ac_lib_var=yes" |
| 6855 else | 6880 else |
| 6856 echo "configure: failed program was:" >&5 | 6881 echo "configure: failed program was:" >&5 |
| 6857 cat conftest.$ac_ext >&5 | 6882 cat conftest.$ac_ext >&5 |
| 6883 libs_x="-lpng $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lpng\" to \$libs_x"; fi | 6908 libs_x="-lpng $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lpng\" to \$libs_x"; fi |
| 6884 fi | 6909 fi |
| 6885 | 6910 |
| 6886 test -z "$with_tiff" && { ac_safe=`echo "tiffio.h" | sed 'y%./+-%__p_%'` | 6911 test -z "$with_tiff" && { ac_safe=`echo "tiffio.h" | sed 'y%./+-%__p_%'` |
| 6887 echo $ac_n "checking for tiffio.h""... $ac_c" 1>&6 | 6912 echo $ac_n "checking for tiffio.h""... $ac_c" 1>&6 |
| 6888 echo "configure:6889: checking for tiffio.h" >&5 | 6913 echo "configure:6914: checking for tiffio.h" >&5 |
| 6889 | 6914 |
| 6890 cat > conftest.$ac_ext <<EOF | 6915 cat > conftest.$ac_ext <<EOF |
| 6891 #line 6892 "configure" | 6916 #line 6917 "configure" |
| 6892 #include "confdefs.h" | 6917 #include "confdefs.h" |
| 6893 #include <tiffio.h> | 6918 #include <tiffio.h> |
| 6894 EOF | 6919 EOF |
| 6895 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6920 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 6896 { (eval echo configure:6897: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6921 { (eval echo configure:6922: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 6897 ac_err=`grep -v '^ *+' conftest.out` | 6922 ac_err=`grep -v '^ *+' conftest.out` |
| 6898 if test -z "$ac_err"; then | 6923 if test -z "$ac_err"; then |
| 6899 rm -rf conftest* | 6924 rm -rf conftest* |
| 6900 eval "ac_cv_header_$ac_safe=yes" | 6925 eval "ac_cv_header_$ac_safe=yes" |
| 6901 else | 6926 else |
| 6914 with_tiff=no | 6939 with_tiff=no |
| 6915 fi | 6940 fi |
| 6916 } | 6941 } |
| 6917 test -z "$with_tiff" && { | 6942 test -z "$with_tiff" && { |
| 6918 echo $ac_n "checking for TIFFReadScanline in -ltiff""... $ac_c" 1>&6 | 6943 echo $ac_n "checking for TIFFReadScanline in -ltiff""... $ac_c" 1>&6 |
| 6919 echo "configure:6920: checking for TIFFReadScanline in -ltiff" >&5 | 6944 echo "configure:6945: checking for TIFFReadScanline in -ltiff" >&5 |
| 6920 ac_lib_var=`echo tiff'_'TIFFReadScanline | sed 'y%./+-%__p_%'` | 6945 ac_lib_var=`echo tiff'_'TIFFReadScanline | sed 'y%./+-%__p_%'` |
| 6921 | 6946 |
| 6922 xe_check_libs=" -ltiff " | 6947 xe_check_libs=" -ltiff " |
| 6923 cat > conftest.$ac_ext <<EOF | 6948 cat > conftest.$ac_ext <<EOF |
| 6924 #line 6925 "configure" | 6949 #line 6950 "configure" |
| 6925 #include "confdefs.h" | 6950 #include "confdefs.h" |
| 6926 /* Override any gcc2 internal prototype to avoid an error. */ | 6951 /* Override any gcc2 internal prototype to avoid an error. */ |
| 6927 /* We use char because int might match the return type of a gcc2 | 6952 /* We use char because int might match the return type of a gcc2 |
| 6928 builtin and then its argument prototype would still apply. */ | 6953 builtin and then its argument prototype would still apply. */ |
| 6929 char TIFFReadScanline(); | 6954 char TIFFReadScanline(); |
| 6930 | 6955 |
| 6931 int main() { | 6956 int main() { |
| 6932 TIFFReadScanline() | 6957 TIFFReadScanline() |
| 6933 ; return 0; } | 6958 ; return 0; } |
| 6934 EOF | 6959 EOF |
| 6935 if { (eval echo configure:6936: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 6960 if { (eval echo configure:6961: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 6936 rm -rf conftest* | 6961 rm -rf conftest* |
| 6937 eval "ac_cv_lib_$ac_lib_var=yes" | 6962 eval "ac_cv_lib_$ac_lib_var=yes" |
| 6938 else | 6963 else |
| 6939 echo "configure: failed program was:" >&5 | 6964 echo "configure: failed program was:" >&5 |
| 6940 cat conftest.$ac_ext >&5 | 6965 cat conftest.$ac_ext >&5 |
| 6969 | 6994 |
| 6970 | 6995 |
| 6971 if test "$with_x11" = "yes"; then | 6996 if test "$with_x11" = "yes"; then |
| 6972 | 6997 |
| 6973 echo "checking for X11 graphics libraries" 1>&6 | 6998 echo "checking for X11 graphics libraries" 1>&6 |
| 6974 echo "configure:6975: checking for X11 graphics libraries" >&5 | 6999 echo "configure:7000: checking for X11 graphics libraries" >&5 |
| 6975 | 7000 |
| 6976 test -z "$with_xface" && { ac_safe=`echo "compface.h" | sed 'y%./+-%__p_%'` | 7001 test -z "$with_xface" && { ac_safe=`echo "compface.h" | sed 'y%./+-%__p_%'` |
| 6977 echo $ac_n "checking for compface.h""... $ac_c" 1>&6 | 7002 echo $ac_n "checking for compface.h""... $ac_c" 1>&6 |
| 6978 echo "configure:6979: checking for compface.h" >&5 | 7003 echo "configure:7004: checking for compface.h" >&5 |
| 6979 | 7004 |
| 6980 cat > conftest.$ac_ext <<EOF | 7005 cat > conftest.$ac_ext <<EOF |
| 6981 #line 6982 "configure" | 7006 #line 7007 "configure" |
| 6982 #include "confdefs.h" | 7007 #include "confdefs.h" |
| 6983 #include <compface.h> | 7008 #include <compface.h> |
| 6984 EOF | 7009 EOF |
| 6985 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7010 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 6986 { (eval echo configure:6987: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7011 { (eval echo configure:7012: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 6987 ac_err=`grep -v '^ *+' conftest.out` | 7012 ac_err=`grep -v '^ *+' conftest.out` |
| 6988 if test -z "$ac_err"; then | 7013 if test -z "$ac_err"; then |
| 6989 rm -rf conftest* | 7014 rm -rf conftest* |
| 6990 eval "ac_cv_header_$ac_safe=yes" | 7015 eval "ac_cv_header_$ac_safe=yes" |
| 6991 else | 7016 else |
| 7004 with_xface=no | 7029 with_xface=no |
| 7005 fi | 7030 fi |
| 7006 } | 7031 } |
| 7007 test -z "$with_xface" && { | 7032 test -z "$with_xface" && { |
| 7008 echo $ac_n "checking for UnGenFace in -lcompface""... $ac_c" 1>&6 | 7033 echo $ac_n "checking for UnGenFace in -lcompface""... $ac_c" 1>&6 |
| 7009 echo "configure:7010: checking for UnGenFace in -lcompface" >&5 | 7034 echo "configure:7035: checking for UnGenFace in -lcompface" >&5 |
| 7010 ac_lib_var=`echo compface'_'UnGenFace | sed 'y%./+-%__p_%'` | 7035 ac_lib_var=`echo compface'_'UnGenFace | sed 'y%./+-%__p_%'` |
| 7011 | 7036 |
| 7012 xe_check_libs=" -lcompface " | 7037 xe_check_libs=" -lcompface " |
| 7013 cat > conftest.$ac_ext <<EOF | 7038 cat > conftest.$ac_ext <<EOF |
| 7014 #line 7015 "configure" | 7039 #line 7040 "configure" |
| 7015 #include "confdefs.h" | 7040 #include "confdefs.h" |
| 7016 /* Override any gcc2 internal prototype to avoid an error. */ | 7041 /* Override any gcc2 internal prototype to avoid an error. */ |
| 7017 /* We use char because int might match the return type of a gcc2 | 7042 /* We use char because int might match the return type of a gcc2 |
| 7018 builtin and then its argument prototype would still apply. */ | 7043 builtin and then its argument prototype would still apply. */ |
| 7019 char UnGenFace(); | 7044 char UnGenFace(); |
| 7020 | 7045 |
| 7021 int main() { | 7046 int main() { |
| 7022 UnGenFace() | 7047 UnGenFace() |
| 7023 ; return 0; } | 7048 ; return 0; } |
| 7024 EOF | 7049 EOF |
| 7025 if { (eval echo configure:7026: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 7050 if { (eval echo configure:7051: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 7026 rm -rf conftest* | 7051 rm -rf conftest* |
| 7027 eval "ac_cv_lib_$ac_lib_var=yes" | 7052 eval "ac_cv_lib_$ac_lib_var=yes" |
| 7028 else | 7053 else |
| 7029 echo "configure: failed program was:" >&5 | 7054 echo "configure: failed program was:" >&5 |
| 7030 cat conftest.$ac_ext >&5 | 7055 cat conftest.$ac_ext >&5 |
| 7056 libs_x="-lcompface $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lcompface\" to \$libs_x"; fi | 7081 libs_x="-lcompface $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lcompface\" to \$libs_x"; fi |
| 7057 fi | 7082 fi |
| 7058 | 7083 |
| 7059 | 7084 |
| 7060 echo $ac_n "checking for XawScrollbarSetThumb in -lXaw""... $ac_c" 1>&6 | 7085 echo $ac_n "checking for XawScrollbarSetThumb in -lXaw""... $ac_c" 1>&6 |
| 7061 echo "configure:7062: checking for XawScrollbarSetThumb in -lXaw" >&5 | 7086 echo "configure:7087: checking for XawScrollbarSetThumb in -lXaw" >&5 |
| 7062 ac_lib_var=`echo Xaw'_'XawScrollbarSetThumb | sed 'y%./+-%__p_%'` | 7087 ac_lib_var=`echo Xaw'_'XawScrollbarSetThumb | sed 'y%./+-%__p_%'` |
| 7063 | 7088 |
| 7064 xe_check_libs=" -lXaw " | 7089 xe_check_libs=" -lXaw " |
| 7065 cat > conftest.$ac_ext <<EOF | 7090 cat > conftest.$ac_ext <<EOF |
| 7066 #line 7067 "configure" | 7091 #line 7092 "configure" |
| 7067 #include "confdefs.h" | 7092 #include "confdefs.h" |
| 7068 /* Override any gcc2 internal prototype to avoid an error. */ | 7093 /* Override any gcc2 internal prototype to avoid an error. */ |
| 7069 /* We use char because int might match the return type of a gcc2 | 7094 /* We use char because int might match the return type of a gcc2 |
| 7070 builtin and then its argument prototype would still apply. */ | 7095 builtin and then its argument prototype would still apply. */ |
| 7071 char XawScrollbarSetThumb(); | 7096 char XawScrollbarSetThumb(); |
| 7072 | 7097 |
| 7073 int main() { | 7098 int main() { |
| 7074 XawScrollbarSetThumb() | 7099 XawScrollbarSetThumb() |
| 7075 ; return 0; } | 7100 ; return 0; } |
| 7076 EOF | 7101 EOF |
| 7077 if { (eval echo configure:7078: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 7102 if { (eval echo configure:7103: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 7078 rm -rf conftest* | 7103 rm -rf conftest* |
| 7079 eval "ac_cv_lib_$ac_lib_var=yes" | 7104 eval "ac_cv_lib_$ac_lib_var=yes" |
| 7080 else | 7105 else |
| 7081 echo "configure: failed program was:" >&5 | 7106 echo "configure: failed program was:" >&5 |
| 7082 cat conftest.$ac_ext >&5 | 7107 cat conftest.$ac_ext >&5 |
| 7096 | 7121 |
| 7097 | 7122 |
| 7098 | 7123 |
| 7099 ac_safe=`echo "Xm/Xm.h" | sed 'y%./+-%__p_%'` | 7124 ac_safe=`echo "Xm/Xm.h" | sed 'y%./+-%__p_%'` |
| 7100 echo $ac_n "checking for Xm/Xm.h""... $ac_c" 1>&6 | 7125 echo $ac_n "checking for Xm/Xm.h""... $ac_c" 1>&6 |
| 7101 echo "configure:7102: checking for Xm/Xm.h" >&5 | 7126 echo "configure:7127: checking for Xm/Xm.h" >&5 |
| 7102 | 7127 |
| 7103 cat > conftest.$ac_ext <<EOF | 7128 cat > conftest.$ac_ext <<EOF |
| 7104 #line 7105 "configure" | 7129 #line 7130 "configure" |
| 7105 #include "confdefs.h" | 7130 #include "confdefs.h" |
| 7106 #include <Xm/Xm.h> | 7131 #include <Xm/Xm.h> |
| 7107 EOF | 7132 EOF |
| 7108 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7133 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 7109 { (eval echo configure:7110: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7134 { (eval echo configure:7135: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 7110 ac_err=`grep -v '^ *+' conftest.out` | 7135 ac_err=`grep -v '^ *+' conftest.out` |
| 7111 if test -z "$ac_err"; then | 7136 if test -z "$ac_err"; then |
| 7112 rm -rf conftest* | 7137 rm -rf conftest* |
| 7113 eval "ac_cv_header_$ac_safe=yes" | 7138 eval "ac_cv_header_$ac_safe=yes" |
| 7114 else | 7139 else |
| 7121 rm -f conftest* | 7146 rm -f conftest* |
| 7122 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 7147 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
| 7123 echo "$ac_t""yes" 1>&6 | 7148 echo "$ac_t""yes" 1>&6 |
| 7124 | 7149 |
| 7125 echo $ac_n "checking for XmStringFree in -lXm""... $ac_c" 1>&6 | 7150 echo $ac_n "checking for XmStringFree in -lXm""... $ac_c" 1>&6 |
| 7126 echo "configure:7127: checking for XmStringFree in -lXm" >&5 | 7151 echo "configure:7152: checking for XmStringFree in -lXm" >&5 |
| 7127 ac_lib_var=`echo Xm'_'XmStringFree | sed 'y%./+-%__p_%'` | 7152 ac_lib_var=`echo Xm'_'XmStringFree | sed 'y%./+-%__p_%'` |
| 7128 | 7153 |
| 7129 xe_check_libs=" -lXm " | 7154 xe_check_libs=" -lXm " |
| 7130 cat > conftest.$ac_ext <<EOF | 7155 cat > conftest.$ac_ext <<EOF |
| 7131 #line 7132 "configure" | 7156 #line 7157 "configure" |
| 7132 #include "confdefs.h" | 7157 #include "confdefs.h" |
| 7133 /* Override any gcc2 internal prototype to avoid an error. */ | 7158 /* Override any gcc2 internal prototype to avoid an error. */ |
| 7134 /* We use char because int might match the return type of a gcc2 | 7159 /* We use char because int might match the return type of a gcc2 |
| 7135 builtin and then its argument prototype would still apply. */ | 7160 builtin and then its argument prototype would still apply. */ |
| 7136 char XmStringFree(); | 7161 char XmStringFree(); |
| 7137 | 7162 |
| 7138 int main() { | 7163 int main() { |
| 7139 XmStringFree() | 7164 XmStringFree() |
| 7140 ; return 0; } | 7165 ; return 0; } |
| 7141 EOF | 7166 EOF |
| 7142 if { (eval echo configure:7143: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 7167 if { (eval echo configure:7168: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 7143 rm -rf conftest* | 7168 rm -rf conftest* |
| 7144 eval "ac_cv_lib_$ac_lib_var=yes" | 7169 eval "ac_cv_lib_$ac_lib_var=yes" |
| 7145 else | 7170 else |
| 7146 echo "configure: failed program was:" >&5 | 7171 echo "configure: failed program was:" >&5 |
| 7147 cat conftest.$ac_ext >&5 | 7172 cat conftest.$ac_ext >&5 |
| 7166 fi | 7191 fi |
| 7167 | 7192 |
| 7168 | 7193 |
| 7169 if test "$have_motif" = "yes"; then | 7194 if test "$have_motif" = "yes"; then |
| 7170 echo $ac_n "checking for Lesstif""... $ac_c" 1>&6 | 7195 echo $ac_n "checking for Lesstif""... $ac_c" 1>&6 |
| 7171 echo "configure:7172: checking for Lesstif" >&5 | 7196 echo "configure:7197: checking for Lesstif" >&5 |
| 7172 cat > conftest.$ac_ext <<EOF | 7197 cat > conftest.$ac_ext <<EOF |
| 7173 #line 7174 "configure" | 7198 #line 7199 "configure" |
| 7174 #include "confdefs.h" | 7199 #include "confdefs.h" |
| 7175 #include <Xm/Xm.h> | 7200 #include <Xm/Xm.h> |
| 7176 #ifdef LESSTIF_VERSION | 7201 #ifdef LESSTIF_VERSION |
| 7177 yes | 7202 yes |
| 7178 #endif | 7203 #endif |
| 7452 fi | 7477 fi |
| 7453 fi | 7478 fi |
| 7454 | 7479 |
| 7455 if test "$with_mule" = "yes" ; then | 7480 if test "$with_mule" = "yes" ; then |
| 7456 echo "checking for Mule-related features" 1>&6 | 7481 echo "checking for Mule-related features" 1>&6 |
| 7457 echo "configure:7458: checking for Mule-related features" >&5 | 7482 echo "configure:7483: checking for Mule-related features" >&5 |
| 7458 { test "$extra_verbose" = "yes" && cat << \EOF | 7483 { test "$extra_verbose" = "yes" && cat << \EOF |
| 7459 Defining MULE | 7484 Defining MULE |
| 7460 EOF | 7485 EOF |
| 7461 cat >> confdefs.h <<\EOF | 7486 cat >> confdefs.h <<\EOF |
| 7462 #define MULE 1 | 7487 #define MULE 1 |
| 7477 | 7502 |
| 7478 for ac_hdr in libintl.h | 7503 for ac_hdr in libintl.h |
| 7479 do | 7504 do |
| 7480 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 7505 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
| 7481 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 7506 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
| 7482 echo "configure:7483: checking for $ac_hdr" >&5 | 7507 echo "configure:7508: checking for $ac_hdr" >&5 |
| 7483 | 7508 |
| 7484 cat > conftest.$ac_ext <<EOF | 7509 cat > conftest.$ac_ext <<EOF |
| 7485 #line 7486 "configure" | 7510 #line 7511 "configure" |
| 7486 #include "confdefs.h" | 7511 #include "confdefs.h" |
| 7487 #include <$ac_hdr> | 7512 #include <$ac_hdr> |
| 7488 EOF | 7513 EOF |
| 7489 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7514 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 7490 { (eval echo configure:7491: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7515 { (eval echo configure:7516: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 7491 ac_err=`grep -v '^ *+' conftest.out` | 7516 ac_err=`grep -v '^ *+' conftest.out` |
| 7492 if test -z "$ac_err"; then | 7517 if test -z "$ac_err"; then |
| 7493 rm -rf conftest* | 7518 rm -rf conftest* |
| 7494 eval "ac_cv_header_$ac_safe=yes" | 7519 eval "ac_cv_header_$ac_safe=yes" |
| 7495 else | 7520 else |
| 7516 fi | 7541 fi |
| 7517 done | 7542 done |
| 7518 | 7543 |
| 7519 | 7544 |
| 7520 echo $ac_n "checking for strerror in -lintl""... $ac_c" 1>&6 | 7545 echo $ac_n "checking for strerror in -lintl""... $ac_c" 1>&6 |
| 7521 echo "configure:7522: checking for strerror in -lintl" >&5 | 7546 echo "configure:7547: checking for strerror in -lintl" >&5 |
| 7522 ac_lib_var=`echo intl'_'strerror | sed 'y%./+-%__p_%'` | 7547 ac_lib_var=`echo intl'_'strerror | sed 'y%./+-%__p_%'` |
| 7523 | 7548 |
| 7524 xe_check_libs=" -lintl " | 7549 xe_check_libs=" -lintl " |
| 7525 cat > conftest.$ac_ext <<EOF | 7550 cat > conftest.$ac_ext <<EOF |
| 7526 #line 7527 "configure" | 7551 #line 7552 "configure" |
| 7527 #include "confdefs.h" | 7552 #include "confdefs.h" |
| 7528 /* Override any gcc2 internal prototype to avoid an error. */ | 7553 /* Override any gcc2 internal prototype to avoid an error. */ |
| 7529 /* We use char because int might match the return type of a gcc2 | 7554 /* We use char because int might match the return type of a gcc2 |
| 7530 builtin and then its argument prototype would still apply. */ | 7555 builtin and then its argument prototype would still apply. */ |
| 7531 char strerror(); | 7556 char strerror(); |
| 7532 | 7557 |
| 7533 int main() { | 7558 int main() { |
| 7534 strerror() | 7559 strerror() |
| 7535 ; return 0; } | 7560 ; return 0; } |
| 7536 EOF | 7561 EOF |
| 7537 if { (eval echo configure:7538: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 7562 if { (eval echo configure:7563: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 7538 rm -rf conftest* | 7563 rm -rf conftest* |
| 7539 eval "ac_cv_lib_$ac_lib_var=yes" | 7564 eval "ac_cv_lib_$ac_lib_var=yes" |
| 7540 else | 7565 else |
| 7541 echo "configure: failed program was:" >&5 | 7566 echo "configure: failed program was:" >&5 |
| 7542 cat conftest.$ac_ext >&5 | 7567 cat conftest.$ac_ext >&5 |
| 7565 fi | 7590 fi |
| 7566 | 7591 |
| 7567 | 7592 |
| 7568 | 7593 |
| 7569 echo "checking for Mule input methods" 1>&6 | 7594 echo "checking for Mule input methods" 1>&6 |
| 7570 echo "configure:7571: checking for Mule input methods" >&5 | 7595 echo "configure:7596: checking for Mule input methods" >&5 |
| 7571 case "$with_xim" in "" | "yes" ) | 7596 case "$with_xim" in "" | "yes" ) |
| 7572 echo "checking for XIM" 1>&6 | 7597 echo "checking for XIM" 1>&6 |
| 7573 echo "configure:7574: checking for XIM" >&5 | 7598 echo "configure:7599: checking for XIM" >&5 |
| 7574 if test "$have_lesstif" = "yes"; then with_xim=xlib | 7599 if test "$have_lesstif" = "yes"; then with_xim=xlib |
| 7575 else | 7600 else |
| 7576 echo $ac_n "checking for XmImMbLookupString in -lXm""... $ac_c" 1>&6 | 7601 echo $ac_n "checking for XmImMbLookupString in -lXm""... $ac_c" 1>&6 |
| 7577 echo "configure:7578: checking for XmImMbLookupString in -lXm" >&5 | 7602 echo "configure:7603: checking for XmImMbLookupString in -lXm" >&5 |
| 7578 ac_lib_var=`echo Xm'_'XmImMbLookupString | sed 'y%./+-%__p_%'` | 7603 ac_lib_var=`echo Xm'_'XmImMbLookupString | sed 'y%./+-%__p_%'` |
| 7579 | 7604 |
| 7580 xe_check_libs=" -lXm " | 7605 xe_check_libs=" -lXm " |
| 7581 cat > conftest.$ac_ext <<EOF | 7606 cat > conftest.$ac_ext <<EOF |
| 7582 #line 7583 "configure" | 7607 #line 7608 "configure" |
| 7583 #include "confdefs.h" | 7608 #include "confdefs.h" |
| 7584 /* Override any gcc2 internal prototype to avoid an error. */ | 7609 /* Override any gcc2 internal prototype to avoid an error. */ |
| 7585 /* We use char because int might match the return type of a gcc2 | 7610 /* We use char because int might match the return type of a gcc2 |
| 7586 builtin and then its argument prototype would still apply. */ | 7611 builtin and then its argument prototype would still apply. */ |
| 7587 char XmImMbLookupString(); | 7612 char XmImMbLookupString(); |
| 7588 | 7613 |
| 7589 int main() { | 7614 int main() { |
| 7590 XmImMbLookupString() | 7615 XmImMbLookupString() |
| 7591 ; return 0; } | 7616 ; return 0; } |
| 7592 EOF | 7617 EOF |
| 7593 if { (eval echo configure:7594: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 7618 if { (eval echo configure:7619: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 7594 rm -rf conftest* | 7619 rm -rf conftest* |
| 7595 eval "ac_cv_lib_$ac_lib_var=yes" | 7620 eval "ac_cv_lib_$ac_lib_var=yes" |
| 7596 else | 7621 else |
| 7597 echo "configure: failed program was:" >&5 | 7622 echo "configure: failed program was:" >&5 |
| 7598 cat conftest.$ac_ext >&5 | 7623 cat conftest.$ac_ext >&5 |
| 7654 fi | 7679 fi |
| 7655 fi | 7680 fi |
| 7656 | 7681 |
| 7657 if test "$with_xfs" = "yes" ; then | 7682 if test "$with_xfs" = "yes" ; then |
| 7658 echo "checking for XFontSet" 1>&6 | 7683 echo "checking for XFontSet" 1>&6 |
| 7659 echo "configure:7660: checking for XFontSet" >&5 | 7684 echo "configure:7685: checking for XFontSet" >&5 |
| 7660 | 7685 |
| 7661 echo $ac_n "checking for XmbDrawString in -lX11""... $ac_c" 1>&6 | 7686 echo $ac_n "checking for XmbDrawString in -lX11""... $ac_c" 1>&6 |
| 7662 echo "configure:7663: checking for XmbDrawString in -lX11" >&5 | 7687 echo "configure:7688: checking for XmbDrawString in -lX11" >&5 |
| 7663 ac_lib_var=`echo X11'_'XmbDrawString | sed 'y%./+-%__p_%'` | 7688 ac_lib_var=`echo X11'_'XmbDrawString | sed 'y%./+-%__p_%'` |
| 7664 | 7689 |
| 7665 xe_check_libs=" -lX11 " | 7690 xe_check_libs=" -lX11 " |
| 7666 cat > conftest.$ac_ext <<EOF | 7691 cat > conftest.$ac_ext <<EOF |
| 7667 #line 7668 "configure" | 7692 #line 7693 "configure" |
| 7668 #include "confdefs.h" | 7693 #include "confdefs.h" |
| 7669 /* Override any gcc2 internal prototype to avoid an error. */ | 7694 /* Override any gcc2 internal prototype to avoid an error. */ |
| 7670 /* We use char because int might match the return type of a gcc2 | 7695 /* We use char because int might match the return type of a gcc2 |
| 7671 builtin and then its argument prototype would still apply. */ | 7696 builtin and then its argument prototype would still apply. */ |
| 7672 char XmbDrawString(); | 7697 char XmbDrawString(); |
| 7673 | 7698 |
| 7674 int main() { | 7699 int main() { |
| 7675 XmbDrawString() | 7700 XmbDrawString() |
| 7676 ; return 0; } | 7701 ; return 0; } |
| 7677 EOF | 7702 EOF |
| 7678 if { (eval echo configure:7679: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 7703 if { (eval echo configure:7704: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 7679 rm -rf conftest* | 7704 rm -rf conftest* |
| 7680 eval "ac_cv_lib_$ac_lib_var=yes" | 7705 eval "ac_cv_lib_$ac_lib_var=yes" |
| 7681 else | 7706 else |
| 7682 echo "configure: failed program was:" >&5 | 7707 echo "configure: failed program was:" >&5 |
| 7683 cat conftest.$ac_ext >&5 | 7708 cat conftest.$ac_ext >&5 |
| 7713 fi | 7738 fi |
| 7714 fi | 7739 fi |
| 7715 test "$with_wnn6" = "yes" && with_wnn=yes # wnn6 implies wnn support | 7740 test "$with_wnn6" = "yes" && with_wnn=yes # wnn6 implies wnn support |
| 7716 test -z "$with_wnn" && { ac_safe=`echo "wnn/jllib.h" | sed 'y%./+-%__p_%'` | 7741 test -z "$with_wnn" && { ac_safe=`echo "wnn/jllib.h" | sed 'y%./+-%__p_%'` |
| 7717 echo $ac_n "checking for wnn/jllib.h""... $ac_c" 1>&6 | 7742 echo $ac_n "checking for wnn/jllib.h""... $ac_c" 1>&6 |
| 7718 echo "configure:7719: checking for wnn/jllib.h" >&5 | 7743 echo "configure:7744: checking for wnn/jllib.h" >&5 |
| 7719 | 7744 |
| 7720 cat > conftest.$ac_ext <<EOF | 7745 cat > conftest.$ac_ext <<EOF |
| 7721 #line 7722 "configure" | 7746 #line 7747 "configure" |
| 7722 #include "confdefs.h" | 7747 #include "confdefs.h" |
| 7723 #include <wnn/jllib.h> | 7748 #include <wnn/jllib.h> |
| 7724 EOF | 7749 EOF |
| 7725 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7750 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 7726 { (eval echo configure:7727: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7751 { (eval echo configure:7752: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 7727 ac_err=`grep -v '^ *+' conftest.out` | 7752 ac_err=`grep -v '^ *+' conftest.out` |
| 7728 if test -z "$ac_err"; then | 7753 if test -z "$ac_err"; then |
| 7729 rm -rf conftest* | 7754 rm -rf conftest* |
| 7730 eval "ac_cv_header_$ac_safe=yes" | 7755 eval "ac_cv_header_$ac_safe=yes" |
| 7731 else | 7756 else |
| 7746 } | 7771 } |
| 7747 if test "$with_wnn" != "no"; then | 7772 if test "$with_wnn" != "no"; then |
| 7748 for ac_func in crypt | 7773 for ac_func in crypt |
| 7749 do | 7774 do |
| 7750 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 7775 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
| 7751 echo "configure:7752: checking for $ac_func" >&5 | 7776 echo "configure:7777: checking for $ac_func" >&5 |
| 7752 | 7777 |
| 7753 cat > conftest.$ac_ext <<EOF | 7778 cat > conftest.$ac_ext <<EOF |
| 7754 #line 7755 "configure" | 7779 #line 7780 "configure" |
| 7755 #include "confdefs.h" | 7780 #include "confdefs.h" |
| 7756 /* System header to define __stub macros and hopefully few prototypes, | 7781 /* System header to define __stub macros and hopefully few prototypes, |
| 7757 which can conflict with char $ac_func(); below. */ | 7782 which can conflict with char $ac_func(); below. */ |
| 7758 #include <assert.h> | 7783 #include <assert.h> |
| 7759 /* Override any gcc2 internal prototype to avoid an error. */ | 7784 /* Override any gcc2 internal prototype to avoid an error. */ |
| 7772 $ac_func(); | 7797 $ac_func(); |
| 7773 #endif | 7798 #endif |
| 7774 | 7799 |
| 7775 ; return 0; } | 7800 ; return 0; } |
| 7776 EOF | 7801 EOF |
| 7777 if { (eval echo configure:7778: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 7802 if { (eval echo configure:7803: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 7778 rm -rf conftest* | 7803 rm -rf conftest* |
| 7779 eval "ac_cv_func_$ac_func=yes" | 7804 eval "ac_cv_func_$ac_func=yes" |
| 7780 else | 7805 else |
| 7781 echo "configure: failed program was:" >&5 | 7806 echo "configure: failed program was:" >&5 |
| 7782 cat conftest.$ac_ext >&5 | 7807 cat conftest.$ac_ext >&5 |
| 7801 fi | 7826 fi |
| 7802 done | 7827 done |
| 7803 | 7828 |
| 7804 test "$ac_cv_func_crypt" != "yes" && { | 7829 test "$ac_cv_func_crypt" != "yes" && { |
| 7805 echo $ac_n "checking for crypt in -lcrypt""... $ac_c" 1>&6 | 7830 echo $ac_n "checking for crypt in -lcrypt""... $ac_c" 1>&6 |
| 7806 echo "configure:7807: checking for crypt in -lcrypt" >&5 | 7831 echo "configure:7832: checking for crypt in -lcrypt" >&5 |
| 7807 ac_lib_var=`echo crypt'_'crypt | sed 'y%./+-%__p_%'` | 7832 ac_lib_var=`echo crypt'_'crypt | sed 'y%./+-%__p_%'` |
| 7808 | 7833 |
| 7809 xe_check_libs=" -lcrypt " | 7834 xe_check_libs=" -lcrypt " |
| 7810 cat > conftest.$ac_ext <<EOF | 7835 cat > conftest.$ac_ext <<EOF |
| 7811 #line 7812 "configure" | 7836 #line 7837 "configure" |
| 7812 #include "confdefs.h" | 7837 #include "confdefs.h" |
| 7813 /* Override any gcc2 internal prototype to avoid an error. */ | 7838 /* Override any gcc2 internal prototype to avoid an error. */ |
| 7814 /* We use char because int might match the return type of a gcc2 | 7839 /* We use char because int might match the return type of a gcc2 |
| 7815 builtin and then its argument prototype would still apply. */ | 7840 builtin and then its argument prototype would still apply. */ |
| 7816 char crypt(); | 7841 char crypt(); |
| 7817 | 7842 |
| 7818 int main() { | 7843 int main() { |
| 7819 crypt() | 7844 crypt() |
| 7820 ; return 0; } | 7845 ; return 0; } |
| 7821 EOF | 7846 EOF |
| 7822 if { (eval echo configure:7823: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 7847 if { (eval echo configure:7848: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 7823 rm -rf conftest* | 7848 rm -rf conftest* |
| 7824 eval "ac_cv_lib_$ac_lib_var=yes" | 7849 eval "ac_cv_lib_$ac_lib_var=yes" |
| 7825 else | 7850 else |
| 7826 echo "configure: failed program was:" >&5 | 7851 echo "configure: failed program was:" >&5 |
| 7827 cat conftest.$ac_ext >&5 | 7852 cat conftest.$ac_ext >&5 |
| 7851 | 7876 |
| 7852 } | 7877 } |
| 7853 fi | 7878 fi |
| 7854 test -z "$with_wnn" && { | 7879 test -z "$with_wnn" && { |
| 7855 echo $ac_n "checking for jl_dic_list_e in -lwnn""... $ac_c" 1>&6 | 7880 echo $ac_n "checking for jl_dic_list_e in -lwnn""... $ac_c" 1>&6 |
| 7856 echo "configure:7857: checking for jl_dic_list_e in -lwnn" >&5 | 7881 echo "configure:7882: checking for jl_dic_list_e in -lwnn" >&5 |
| 7857 ac_lib_var=`echo wnn'_'jl_dic_list_e | sed 'y%./+-%__p_%'` | 7882 ac_lib_var=`echo wnn'_'jl_dic_list_e | sed 'y%./+-%__p_%'` |
| 7858 | 7883 |
| 7859 xe_check_libs=" -lwnn " | 7884 xe_check_libs=" -lwnn " |
| 7860 cat > conftest.$ac_ext <<EOF | 7885 cat > conftest.$ac_ext <<EOF |
| 7861 #line 7862 "configure" | 7886 #line 7887 "configure" |
| 7862 #include "confdefs.h" | 7887 #include "confdefs.h" |
| 7863 /* Override any gcc2 internal prototype to avoid an error. */ | 7888 /* Override any gcc2 internal prototype to avoid an error. */ |
| 7864 /* We use char because int might match the return type of a gcc2 | 7889 /* We use char because int might match the return type of a gcc2 |
| 7865 builtin and then its argument prototype would still apply. */ | 7890 builtin and then its argument prototype would still apply. */ |
| 7866 char jl_dic_list_e(); | 7891 char jl_dic_list_e(); |
| 7867 | 7892 |
| 7868 int main() { | 7893 int main() { |
| 7869 jl_dic_list_e() | 7894 jl_dic_list_e() |
| 7870 ; return 0; } | 7895 ; return 0; } |
| 7871 EOF | 7896 EOF |
| 7872 if { (eval echo configure:7873: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 7897 if { (eval echo configure:7898: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 7873 rm -rf conftest* | 7898 rm -rf conftest* |
| 7874 eval "ac_cv_lib_$ac_lib_var=yes" | 7899 eval "ac_cv_lib_$ac_lib_var=yes" |
| 7875 else | 7900 else |
| 7876 echo "configure: failed program was:" >&5 | 7901 echo "configure: failed program was:" >&5 |
| 7877 cat conftest.$ac_ext >&5 | 7902 cat conftest.$ac_ext >&5 |
| 7902 | 7927 |
| 7903 libs_x="-lwnn $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lwnn\" to \$libs_x"; fi | 7928 libs_x="-lwnn $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lwnn\" to \$libs_x"; fi |
| 7904 extra_objs="$extra_objs mule-wnnfns.o" && if test "$extra_verbose" = "yes"; then | 7929 extra_objs="$extra_objs mule-wnnfns.o" && if test "$extra_verbose" = "yes"; then |
| 7905 echo " xemacs will be linked with \"mule-wnnfns.o\"" | 7930 echo " xemacs will be linked with \"mule-wnnfns.o\"" |
| 7906 fi | 7931 fi |
| 7907 | 7932 if test "$with_wnn6" != "no"; then |
| 7933 | |
| 7908 echo $ac_n "checking for jl_fi_dic_list in -lwnn""... $ac_c" 1>&6 | 7934 echo $ac_n "checking for jl_fi_dic_list in -lwnn""... $ac_c" 1>&6 |
| 7909 echo "configure:7910: checking for jl_fi_dic_list in -lwnn" >&5 | 7935 echo "configure:7936: checking for jl_fi_dic_list in -lwnn" >&5 |
| 7910 ac_lib_var=`echo wnn'_'jl_fi_dic_list | sed 'y%./+-%__p_%'` | 7936 ac_lib_var=`echo wnn'_'jl_fi_dic_list | sed 'y%./+-%__p_%'` |
| 7911 | 7937 |
| 7912 xe_check_libs=" -lwnn " | 7938 xe_check_libs=" -lwnn " |
| 7913 cat > conftest.$ac_ext <<EOF | 7939 cat > conftest.$ac_ext <<EOF |
| 7914 #line 7915 "configure" | 7940 #line 7941 "configure" |
| 7915 #include "confdefs.h" | 7941 #include "confdefs.h" |
| 7916 /* Override any gcc2 internal prototype to avoid an error. */ | 7942 /* Override any gcc2 internal prototype to avoid an error. */ |
| 7917 /* We use char because int might match the return type of a gcc2 | 7943 /* We use char because int might match the return type of a gcc2 |
| 7918 builtin and then its argument prototype would still apply. */ | 7944 builtin and then its argument prototype would still apply. */ |
| 7919 char jl_fi_dic_list(); | 7945 char jl_fi_dic_list(); |
| 7920 | 7946 |
| 7921 int main() { | 7947 int main() { |
| 7922 jl_fi_dic_list() | 7948 jl_fi_dic_list() |
| 7923 ; return 0; } | 7949 ; return 0; } |
| 7924 EOF | 7950 EOF |
| 7925 if { (eval echo configure:7926: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 7951 if { (eval echo configure:7952: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 7926 rm -rf conftest* | 7952 rm -rf conftest* |
| 7927 eval "ac_cv_lib_$ac_lib_var=yes" | 7953 eval "ac_cv_lib_$ac_lib_var=yes" |
| 7928 else | 7954 else |
| 7929 echo "configure: failed program was:" >&5 | 7955 echo "configure: failed program was:" >&5 |
| 7930 cat conftest.$ac_ext >&5 | 7956 cat conftest.$ac_ext >&5 |
| 7940 else | 7966 else |
| 7941 echo "$ac_t""no" 1>&6 | 7967 echo "$ac_t""no" 1>&6 |
| 7942 fi | 7968 fi |
| 7943 | 7969 |
| 7944 | 7970 |
| 7945 test "$with_wnn6" = "yes" && { test "$extra_verbose" = "yes" && cat << \EOF | 7971 test "$with_wnn6" = "yes" && { test "$extra_verbose" = "yes" && cat << \EOF |
| 7946 Defining WNN6 | 7972 Defining WNN6 |
| 7947 EOF | 7973 EOF |
| 7948 cat >> confdefs.h <<\EOF | 7974 cat >> confdefs.h <<\EOF |
| 7949 #define WNN6 1 | 7975 #define WNN6 1 |
| 7950 EOF | 7976 EOF |
| 7951 } | 7977 } |
| 7952 | 7978 |
| 7979 fi | |
| 7953 fi | 7980 fi |
| 7954 | 7981 |
| 7955 canna_includes_found=no | 7982 canna_includes_found=no |
| 7956 if test "$with_canna" != "no"; then | 7983 if test "$with_canna" != "no"; then |
| 7957 ac_safe=`echo "canna/jrkanji.h" | sed 'y%./+-%__p_%'` | 7984 ac_safe=`echo "canna/jrkanji.h" | sed 'y%./+-%__p_%'` |
| 7958 echo $ac_n "checking for canna/jrkanji.h""... $ac_c" 1>&6 | 7985 echo $ac_n "checking for canna/jrkanji.h""... $ac_c" 1>&6 |
| 7959 echo "configure:7960: checking for canna/jrkanji.h" >&5 | 7986 echo "configure:7987: checking for canna/jrkanji.h" >&5 |
| 7960 | 7987 |
| 7961 cat > conftest.$ac_ext <<EOF | 7988 cat > conftest.$ac_ext <<EOF |
| 7962 #line 7963 "configure" | 7989 #line 7990 "configure" |
| 7963 #include "confdefs.h" | 7990 #include "confdefs.h" |
| 7964 #include <canna/jrkanji.h> | 7991 #include <canna/jrkanji.h> |
| 7965 EOF | 7992 EOF |
| 7966 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7993 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 7967 { (eval echo configure:7968: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7994 { (eval echo configure:7995: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 7968 ac_err=`grep -v '^ *+' conftest.out` | 7995 ac_err=`grep -v '^ *+' conftest.out` |
| 7969 if test -z "$ac_err"; then | 7996 if test -z "$ac_err"; then |
| 7970 rm -rf conftest* | 7997 rm -rf conftest* |
| 7971 eval "ac_cv_header_$ac_safe=yes" | 7998 eval "ac_cv_header_$ac_safe=yes" |
| 7972 else | 7999 else |
| 7989 -d "/usr/local/canna/include"; then | 8016 -d "/usr/local/canna/include"; then |
| 7990 save_c_switch_site="$c_switch_site" | 8017 save_c_switch_site="$c_switch_site" |
| 7991 c_switch_site="$c_switch_site -I/usr/local/canna/include" | 8018 c_switch_site="$c_switch_site -I/usr/local/canna/include" |
| 7992 ac_safe=`echo "canna/jrkanji.h" | sed 'y%./+-%__p_%'` | 8019 ac_safe=`echo "canna/jrkanji.h" | sed 'y%./+-%__p_%'` |
| 7993 echo $ac_n "checking for canna/jrkanji.h""... $ac_c" 1>&6 | 8020 echo $ac_n "checking for canna/jrkanji.h""... $ac_c" 1>&6 |
| 7994 echo "configure:7995: checking for canna/jrkanji.h" >&5 | 8021 echo "configure:8022: checking for canna/jrkanji.h" >&5 |
| 7995 | 8022 |
| 7996 cat > conftest.$ac_ext <<EOF | 8023 cat > conftest.$ac_ext <<EOF |
| 7997 #line 7998 "configure" | 8024 #line 8025 "configure" |
| 7998 #include "confdefs.h" | 8025 #include "confdefs.h" |
| 7999 #include <canna/jrkanji.h> | 8026 #include <canna/jrkanji.h> |
| 8000 EOF | 8027 EOF |
| 8001 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8028 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 8002 { (eval echo configure:8003: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8029 { (eval echo configure:8030: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 8003 ac_err=`grep -v '^ *+' conftest.out` | 8030 ac_err=`grep -v '^ *+' conftest.out` |
| 8004 if test -z "$ac_err"; then | 8031 if test -z "$ac_err"; then |
| 8005 rm -rf conftest* | 8032 rm -rf conftest* |
| 8006 eval "ac_cv_header_$ac_safe=yes" | 8033 eval "ac_cv_header_$ac_safe=yes" |
| 8007 else | 8034 else |
| 8025 fi | 8052 fi |
| 8026 fi | 8053 fi |
| 8027 | 8054 |
| 8028 test -z "$with_canna" && { ac_safe=`echo "canna/RK.h" | sed 'y%./+-%__p_%'` | 8055 test -z "$with_canna" && { ac_safe=`echo "canna/RK.h" | sed 'y%./+-%__p_%'` |
| 8029 echo $ac_n "checking for canna/RK.h""... $ac_c" 1>&6 | 8056 echo $ac_n "checking for canna/RK.h""... $ac_c" 1>&6 |
| 8030 echo "configure:8031: checking for canna/RK.h" >&5 | 8057 echo "configure:8058: checking for canna/RK.h" >&5 |
| 8031 | 8058 |
| 8032 cat > conftest.$ac_ext <<EOF | 8059 cat > conftest.$ac_ext <<EOF |
| 8033 #line 8034 "configure" | 8060 #line 8061 "configure" |
| 8034 #include "confdefs.h" | 8061 #include "confdefs.h" |
| 8035 #include <canna/RK.h> | 8062 #include <canna/RK.h> |
| 8036 EOF | 8063 EOF |
| 8037 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8064 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 8038 { (eval echo configure:8039: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8065 { (eval echo configure:8066: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 8039 ac_err=`grep -v '^ *+' conftest.out` | 8066 ac_err=`grep -v '^ *+' conftest.out` |
| 8040 if test -z "$ac_err"; then | 8067 if test -z "$ac_err"; then |
| 8041 rm -rf conftest* | 8068 rm -rf conftest* |
| 8042 eval "ac_cv_header_$ac_safe=yes" | 8069 eval "ac_cv_header_$ac_safe=yes" |
| 8043 else | 8070 else |
| 8056 with_canna=no | 8083 with_canna=no |
| 8057 fi | 8084 fi |
| 8058 } | 8085 } |
| 8059 test -z "$with_canna" && { | 8086 test -z "$with_canna" && { |
| 8060 echo $ac_n "checking for RkBgnBun in -lRKC""... $ac_c" 1>&6 | 8087 echo $ac_n "checking for RkBgnBun in -lRKC""... $ac_c" 1>&6 |
| 8061 echo "configure:8062: checking for RkBgnBun in -lRKC" >&5 | 8088 echo "configure:8089: checking for RkBgnBun in -lRKC" >&5 |
| 8062 ac_lib_var=`echo RKC'_'RkBgnBun | sed 'y%./+-%__p_%'` | 8089 ac_lib_var=`echo RKC'_'RkBgnBun | sed 'y%./+-%__p_%'` |
| 8063 | 8090 |
| 8064 xe_check_libs=" -lRKC " | 8091 xe_check_libs=" -lRKC " |
| 8065 cat > conftest.$ac_ext <<EOF | 8092 cat > conftest.$ac_ext <<EOF |
| 8066 #line 8067 "configure" | 8093 #line 8094 "configure" |
| 8067 #include "confdefs.h" | 8094 #include "confdefs.h" |
| 8068 /* Override any gcc2 internal prototype to avoid an error. */ | 8095 /* Override any gcc2 internal prototype to avoid an error. */ |
| 8069 /* We use char because int might match the return type of a gcc2 | 8096 /* We use char because int might match the return type of a gcc2 |
| 8070 builtin and then its argument prototype would still apply. */ | 8097 builtin and then its argument prototype would still apply. */ |
| 8071 char RkBgnBun(); | 8098 char RkBgnBun(); |
| 8072 | 8099 |
| 8073 int main() { | 8100 int main() { |
| 8074 RkBgnBun() | 8101 RkBgnBun() |
| 8075 ; return 0; } | 8102 ; return 0; } |
| 8076 EOF | 8103 EOF |
| 8077 if { (eval echo configure:8078: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 8104 if { (eval echo configure:8105: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 8078 rm -rf conftest* | 8105 rm -rf conftest* |
| 8079 eval "ac_cv_lib_$ac_lib_var=yes" | 8106 eval "ac_cv_lib_$ac_lib_var=yes" |
| 8080 else | 8107 else |
| 8081 echo "configure: failed program was:" >&5 | 8108 echo "configure: failed program was:" >&5 |
| 8082 cat conftest.$ac_ext >&5 | 8109 cat conftest.$ac_ext >&5 |
| 8095 fi | 8122 fi |
| 8096 | 8123 |
| 8097 } | 8124 } |
| 8098 test -z "$with_canna" && { | 8125 test -z "$with_canna" && { |
| 8099 echo $ac_n "checking for jrKanjiControl in -lcanna""... $ac_c" 1>&6 | 8126 echo $ac_n "checking for jrKanjiControl in -lcanna""... $ac_c" 1>&6 |
| 8100 echo "configure:8101: checking for jrKanjiControl in -lcanna" >&5 | 8127 echo "configure:8128: checking for jrKanjiControl in -lcanna" >&5 |
| 8101 ac_lib_var=`echo canna'_'jrKanjiControl | sed 'y%./+-%__p_%'` | 8128 ac_lib_var=`echo canna'_'jrKanjiControl | sed 'y%./+-%__p_%'` |
| 8102 | 8129 |
| 8103 xe_check_libs=" -lcanna " | 8130 xe_check_libs=" -lcanna " |
| 8104 cat > conftest.$ac_ext <<EOF | 8131 cat > conftest.$ac_ext <<EOF |
| 8105 #line 8106 "configure" | 8132 #line 8133 "configure" |
| 8106 #include "confdefs.h" | 8133 #include "confdefs.h" |
| 8107 /* Override any gcc2 internal prototype to avoid an error. */ | 8134 /* Override any gcc2 internal prototype to avoid an error. */ |
| 8108 /* We use char because int might match the return type of a gcc2 | 8135 /* We use char because int might match the return type of a gcc2 |
| 8109 builtin and then its argument prototype would still apply. */ | 8136 builtin and then its argument prototype would still apply. */ |
| 8110 char jrKanjiControl(); | 8137 char jrKanjiControl(); |
| 8111 | 8138 |
| 8112 int main() { | 8139 int main() { |
| 8113 jrKanjiControl() | 8140 jrKanjiControl() |
| 8114 ; return 0; } | 8141 ; return 0; } |
| 8115 EOF | 8142 EOF |
| 8116 if { (eval echo configure:8117: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 8143 if { (eval echo configure:8144: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 8117 rm -rf conftest* | 8144 rm -rf conftest* |
| 8118 eval "ac_cv_lib_$ac_lib_var=yes" | 8145 eval "ac_cv_lib_$ac_lib_var=yes" |
| 8119 else | 8146 else |
| 8120 echo "configure: failed program was:" >&5 | 8147 echo "configure: failed program was:" >&5 |
| 8121 cat conftest.$ac_ext >&5 | 8148 cat conftest.$ac_ext >&5 |
| 8160 | 8187 |
| 8161 if test "$need_motif" = "yes" ; then | 8188 if test "$need_motif" = "yes" ; then |
| 8162 libs_x="-lXm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXm\" to \$libs_x"; fi | 8189 libs_x="-lXm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXm\" to \$libs_x"; fi |
| 8163 | 8190 |
| 8164 echo $ac_n "checking for layout_object_getvalue in -li18n""... $ac_c" 1>&6 | 8191 echo $ac_n "checking for layout_object_getvalue in -li18n""... $ac_c" 1>&6 |
| 8165 echo "configure:8166: checking for layout_object_getvalue in -li18n" >&5 | 8192 echo "configure:8193: checking for layout_object_getvalue in -li18n" >&5 |
| 8166 ac_lib_var=`echo i18n'_'layout_object_getvalue | sed 'y%./+-%__p_%'` | 8193 ac_lib_var=`echo i18n'_'layout_object_getvalue | sed 'y%./+-%__p_%'` |
| 8167 | 8194 |
| 8168 xe_check_libs=" -li18n " | 8195 xe_check_libs=" -li18n " |
| 8169 cat > conftest.$ac_ext <<EOF | 8196 cat > conftest.$ac_ext <<EOF |
| 8170 #line 8171 "configure" | 8197 #line 8198 "configure" |
| 8171 #include "confdefs.h" | 8198 #include "confdefs.h" |
| 8172 /* Override any gcc2 internal prototype to avoid an error. */ | 8199 /* Override any gcc2 internal prototype to avoid an error. */ |
| 8173 /* We use char because int might match the return type of a gcc2 | 8200 /* We use char because int might match the return type of a gcc2 |
| 8174 builtin and then its argument prototype would still apply. */ | 8201 builtin and then its argument prototype would still apply. */ |
| 8175 char layout_object_getvalue(); | 8202 char layout_object_getvalue(); |
| 8176 | 8203 |
| 8177 int main() { | 8204 int main() { |
| 8178 layout_object_getvalue() | 8205 layout_object_getvalue() |
| 8179 ; return 0; } | 8206 ; return 0; } |
| 8180 EOF | 8207 EOF |
| 8181 if { (eval echo configure:8182: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 8208 if { (eval echo configure:8209: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 8182 rm -rf conftest* | 8209 rm -rf conftest* |
| 8183 eval "ac_cv_lib_$ac_lib_var=yes" | 8210 eval "ac_cv_lib_$ac_lib_var=yes" |
| 8184 else | 8211 else |
| 8185 echo "configure: failed program was:" >&5 | 8212 echo "configure: failed program was:" >&5 |
| 8186 cat conftest.$ac_ext >&5 | 8213 cat conftest.$ac_ext >&5 |
| 8262 fi | 8289 fi |
| 8263 | 8290 |
| 8264 for ac_func in cbrt closedir dup2 eaccess fmod fpathconf frexp ftime gethostname getpagesize gettimeofday getcwd getwd logb lrand48 matherr mkdir mktime perror poll random rename res_init rint rmdir select setitimer setpgid setlocale setsid sigblock sighold sigprocmask snprintf strcasecmp strerror tzset ulimit usleep utimes waitpid vsnprintf | 8291 for ac_func in cbrt closedir dup2 eaccess fmod fpathconf frexp ftime gethostname getpagesize gettimeofday getcwd getwd logb lrand48 matherr mkdir mktime perror poll random rename res_init rint rmdir select setitimer setpgid setlocale setsid sigblock sighold sigprocmask snprintf strcasecmp strerror tzset ulimit usleep utimes waitpid vsnprintf |
| 8265 do | 8292 do |
| 8266 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 8293 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
| 8267 echo "configure:8268: checking for $ac_func" >&5 | 8294 echo "configure:8295: checking for $ac_func" >&5 |
| 8268 | 8295 |
| 8269 cat > conftest.$ac_ext <<EOF | 8296 cat > conftest.$ac_ext <<EOF |
| 8270 #line 8271 "configure" | 8297 #line 8298 "configure" |
| 8271 #include "confdefs.h" | 8298 #include "confdefs.h" |
| 8272 /* System header to define __stub macros and hopefully few prototypes, | 8299 /* System header to define __stub macros and hopefully few prototypes, |
| 8273 which can conflict with char $ac_func(); below. */ | 8300 which can conflict with char $ac_func(); below. */ |
| 8274 #include <assert.h> | 8301 #include <assert.h> |
| 8275 /* Override any gcc2 internal prototype to avoid an error. */ | 8302 /* Override any gcc2 internal prototype to avoid an error. */ |
| 8288 $ac_func(); | 8315 $ac_func(); |
| 8289 #endif | 8316 #endif |
| 8290 | 8317 |
| 8291 ; return 0; } | 8318 ; return 0; } |
| 8292 EOF | 8319 EOF |
| 8293 if { (eval echo configure:8294: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 8320 if { (eval echo configure:8321: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 8294 rm -rf conftest* | 8321 rm -rf conftest* |
| 8295 eval "ac_cv_func_$ac_func=yes" | 8322 eval "ac_cv_func_$ac_func=yes" |
| 8296 else | 8323 else |
| 8297 echo "configure: failed program was:" >&5 | 8324 echo "configure: failed program was:" >&5 |
| 8298 cat conftest.$ac_ext >&5 | 8325 cat conftest.$ac_ext >&5 |
| 8325 fi ;; | 8352 fi ;; |
| 8326 * ) | 8353 * ) |
| 8327 for ac_func in realpath | 8354 for ac_func in realpath |
| 8328 do | 8355 do |
| 8329 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 8356 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
| 8330 echo "configure:8331: checking for $ac_func" >&5 | 8357 echo "configure:8358: checking for $ac_func" >&5 |
| 8331 | 8358 |
| 8332 cat > conftest.$ac_ext <<EOF | 8359 cat > conftest.$ac_ext <<EOF |
| 8333 #line 8334 "configure" | 8360 #line 8361 "configure" |
| 8334 #include "confdefs.h" | 8361 #include "confdefs.h" |
| 8335 /* System header to define __stub macros and hopefully few prototypes, | 8362 /* System header to define __stub macros and hopefully few prototypes, |
| 8336 which can conflict with char $ac_func(); below. */ | 8363 which can conflict with char $ac_func(); below. */ |
| 8337 #include <assert.h> | 8364 #include <assert.h> |
| 8338 /* Override any gcc2 internal prototype to avoid an error. */ | 8365 /* Override any gcc2 internal prototype to avoid an error. */ |
| 8351 $ac_func(); | 8378 $ac_func(); |
| 8352 #endif | 8379 #endif |
| 8353 | 8380 |
| 8354 ; return 0; } | 8381 ; return 0; } |
| 8355 EOF | 8382 EOF |
| 8356 if { (eval echo configure:8357: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 8383 if { (eval echo configure:8384: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 8357 rm -rf conftest* | 8384 rm -rf conftest* |
| 8358 eval "ac_cv_func_$ac_func=yes" | 8385 eval "ac_cv_func_$ac_func=yes" |
| 8359 else | 8386 else |
| 8360 echo "configure: failed program was:" >&5 | 8387 echo "configure: failed program was:" >&5 |
| 8361 cat conftest.$ac_ext >&5 | 8388 cat conftest.$ac_ext >&5 |
| 8384 echo " xemacs will be linked with \"realpath.o\"" | 8411 echo " xemacs will be linked with \"realpath.o\"" |
| 8385 fi ;; | 8412 fi ;; |
| 8386 esac | 8413 esac |
| 8387 | 8414 |
| 8388 echo $ac_n "checking whether netdb declares h_errno""... $ac_c" 1>&6 | 8415 echo $ac_n "checking whether netdb declares h_errno""... $ac_c" 1>&6 |
| 8389 echo "configure:8390: checking whether netdb declares h_errno" >&5 | 8416 echo "configure:8417: checking whether netdb declares h_errno" >&5 |
| 8390 cat > conftest.$ac_ext <<EOF | 8417 cat > conftest.$ac_ext <<EOF |
| 8391 #line 8392 "configure" | 8418 #line 8419 "configure" |
| 8392 #include "confdefs.h" | 8419 #include "confdefs.h" |
| 8393 #include <netdb.h> | 8420 #include <netdb.h> |
| 8394 int main() { | 8421 int main() { |
| 8395 return h_errno; | 8422 return h_errno; |
| 8396 ; return 0; } | 8423 ; return 0; } |
| 8397 EOF | 8424 EOF |
| 8398 if { (eval echo configure:8399: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 8425 if { (eval echo configure:8426: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 8399 rm -rf conftest* | 8426 rm -rf conftest* |
| 8400 echo "$ac_t""yes" 1>&6 | 8427 echo "$ac_t""yes" 1>&6 |
| 8401 { test "$extra_verbose" = "yes" && cat << \EOF | 8428 { test "$extra_verbose" = "yes" && cat << \EOF |
| 8402 Defining HAVE_H_ERRNO | 8429 Defining HAVE_H_ERRNO |
| 8403 EOF | 8430 EOF |
| 8413 echo "$ac_t""no" 1>&6 | 8440 echo "$ac_t""no" 1>&6 |
| 8414 fi | 8441 fi |
| 8415 rm -f conftest* | 8442 rm -f conftest* |
| 8416 | 8443 |
| 8417 echo $ac_n "checking for sigsetjmp""... $ac_c" 1>&6 | 8444 echo $ac_n "checking for sigsetjmp""... $ac_c" 1>&6 |
| 8418 echo "configure:8419: checking for sigsetjmp" >&5 | 8445 echo "configure:8446: checking for sigsetjmp" >&5 |
| 8419 cat > conftest.$ac_ext <<EOF | 8446 cat > conftest.$ac_ext <<EOF |
| 8420 #line 8421 "configure" | 8447 #line 8448 "configure" |
| 8421 #include "confdefs.h" | 8448 #include "confdefs.h" |
| 8422 #include <setjmp.h> | 8449 #include <setjmp.h> |
| 8423 int main() { | 8450 int main() { |
| 8424 sigjmp_buf bar; sigsetjmp (bar, 0); | 8451 sigjmp_buf bar; sigsetjmp (bar, 0); |
| 8425 ; return 0; } | 8452 ; return 0; } |
| 8426 EOF | 8453 EOF |
| 8427 if { (eval echo configure:8428: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 8454 if { (eval echo configure:8455: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| 8428 rm -rf conftest* | 8455 rm -rf conftest* |
| 8429 echo "$ac_t""yes" 1>&6 | 8456 echo "$ac_t""yes" 1>&6 |
| 8430 { test "$extra_verbose" = "yes" && cat << \EOF | 8457 { test "$extra_verbose" = "yes" && cat << \EOF |
| 8431 Defining HAVE_SIGSETJMP | 8458 Defining HAVE_SIGSETJMP |
| 8432 EOF | 8459 EOF |
| 8442 echo "$ac_t""no" 1>&6 | 8469 echo "$ac_t""no" 1>&6 |
| 8443 fi | 8470 fi |
| 8444 rm -f conftest* | 8471 rm -f conftest* |
| 8445 | 8472 |
| 8446 echo $ac_n "checking whether localtime caches TZ""... $ac_c" 1>&6 | 8473 echo $ac_n "checking whether localtime caches TZ""... $ac_c" 1>&6 |
| 8447 echo "configure:8448: checking whether localtime caches TZ" >&5 | 8474 echo "configure:8475: checking whether localtime caches TZ" >&5 |
| 8448 | 8475 |
| 8449 if test "$ac_cv_func_tzset" = "yes"; then | 8476 if test "$ac_cv_func_tzset" = "yes"; then |
| 8450 cat > conftest.$ac_ext <<EOF | 8477 cat > conftest.$ac_ext <<EOF |
| 8451 #line 8452 "configure" | 8478 #line 8479 "configure" |
| 8452 #include "confdefs.h" | 8479 #include "confdefs.h" |
| 8453 #include <time.h> | 8480 #include <time.h> |
| 8454 #if STDC_HEADERS | 8481 #if STDC_HEADERS |
| 8455 # include <stdlib.h> | 8482 # include <stdlib.h> |
| 8456 #endif | 8483 #endif |
| 8481 if (localtime (&now)->tm_hour != hour_unset) | 8508 if (localtime (&now)->tm_hour != hour_unset) |
| 8482 exit (1); | 8509 exit (1); |
| 8483 exit (0); | 8510 exit (0); |
| 8484 } | 8511 } |
| 8485 EOF | 8512 EOF |
| 8486 if { (eval echo configure:8487: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 | 8513 if { (eval echo configure:8514: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 |
| 8487 then | 8514 then |
| 8488 emacs_cv_localtime_cache=no | 8515 emacs_cv_localtime_cache=no |
| 8489 else | 8516 else |
| 8490 echo "configure: failed program was:" >&5 | 8517 echo "configure: failed program was:" >&5 |
| 8491 cat conftest.$ac_ext >&5 | 8518 cat conftest.$ac_ext >&5 |
| 8510 | 8537 |
| 8511 fi | 8538 fi |
| 8512 | 8539 |
| 8513 if test "$HAVE_TIMEVAL" = "yes"; then | 8540 if test "$HAVE_TIMEVAL" = "yes"; then |
| 8514 echo $ac_n "checking whether gettimeofday accepts one or two arguments""... $ac_c" 1>&6 | 8541 echo $ac_n "checking whether gettimeofday accepts one or two arguments""... $ac_c" 1>&6 |
| 8515 echo "configure:8516: checking whether gettimeofday accepts one or two arguments" >&5 | 8542 echo "configure:8543: checking whether gettimeofday accepts one or two arguments" >&5 |
| 8516 cat > conftest.$ac_ext <<EOF | 8543 cat > conftest.$ac_ext <<EOF |
| 8517 #line 8518 "configure" | 8544 #line 8545 "configure" |
| 8518 #include "confdefs.h" | 8545 #include "confdefs.h" |
| 8519 | 8546 |
| 8520 #ifdef TIME_WITH_SYS_TIME | 8547 #ifdef TIME_WITH_SYS_TIME |
| 8521 #include <sys/time.h> | 8548 #include <sys/time.h> |
| 8522 #include <time.h> | 8549 #include <time.h> |
| 8534 struct timezone dummy; | 8561 struct timezone dummy; |
| 8535 gettimeofday (&time, &dummy); | 8562 gettimeofday (&time, &dummy); |
| 8536 | 8563 |
| 8537 ; return 0; } | 8564 ; return 0; } |
| 8538 EOF | 8565 EOF |
| 8539 if { (eval echo configure:8540: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 8566 if { (eval echo configure:8567: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 8540 rm -rf conftest* | 8567 rm -rf conftest* |
| 8541 echo "$ac_t""two" 1>&6 | 8568 echo "$ac_t""two" 1>&6 |
| 8542 else | 8569 else |
| 8543 echo "configure: failed program was:" >&5 | 8570 echo "configure: failed program was:" >&5 |
| 8544 cat conftest.$ac_ext >&5 | 8571 cat conftest.$ac_ext >&5 |
| 8556 rm -f conftest* | 8583 rm -f conftest* |
| 8557 fi | 8584 fi |
| 8558 | 8585 |
| 8559 | 8586 |
| 8560 echo $ac_n "checking for inline""... $ac_c" 1>&6 | 8587 echo $ac_n "checking for inline""... $ac_c" 1>&6 |
| 8561 echo "configure:8562: checking for inline" >&5 | 8588 echo "configure:8589: checking for inline" >&5 |
| 8562 | 8589 |
| 8563 ac_cv_c_inline=no | 8590 ac_cv_c_inline=no |
| 8564 for ac_kw in inline __inline__ __inline; do | 8591 for ac_kw in inline __inline__ __inline; do |
| 8565 cat > conftest.$ac_ext <<EOF | 8592 cat > conftest.$ac_ext <<EOF |
| 8566 #line 8567 "configure" | 8593 #line 8594 "configure" |
| 8567 #include "confdefs.h" | 8594 #include "confdefs.h" |
| 8568 | 8595 |
| 8569 int main() { | 8596 int main() { |
| 8570 } $ac_kw foo() { | 8597 } $ac_kw foo() { |
| 8571 ; return 0; } | 8598 ; return 0; } |
| 8572 EOF | 8599 EOF |
| 8573 if { (eval echo configure:8574: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 8600 if { (eval echo configure:8601: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| 8574 rm -rf conftest* | 8601 rm -rf conftest* |
| 8575 ac_cv_c_inline=$ac_kw; break | 8602 ac_cv_c_inline=$ac_kw; break |
| 8576 else | 8603 else |
| 8577 echo "configure: failed program was:" >&5 | 8604 echo "configure: failed program was:" >&5 |
| 8578 cat conftest.$ac_ext >&5 | 8605 cat conftest.$ac_ext >&5 |
| 8618 | 8645 |
| 8619 | 8646 |
| 8620 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works | 8647 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works |
| 8621 # for constant arguments. Useless! | 8648 # for constant arguments. Useless! |
| 8622 echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6 | 8649 echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6 |
| 8623 echo "configure:8624: checking for working alloca.h" >&5 | 8650 echo "configure:8651: checking for working alloca.h" >&5 |
| 8624 | 8651 |
| 8625 cat > conftest.$ac_ext <<EOF | 8652 cat > conftest.$ac_ext <<EOF |
| 8626 #line 8627 "configure" | 8653 #line 8654 "configure" |
| 8627 #include "confdefs.h" | 8654 #include "confdefs.h" |
| 8628 #include <alloca.h> | 8655 #include <alloca.h> |
| 8629 int main() { | 8656 int main() { |
| 8630 char *p = alloca(2 * sizeof(int)); | 8657 char *p = alloca(2 * sizeof(int)); |
| 8631 ; return 0; } | 8658 ; return 0; } |
| 8632 EOF | 8659 EOF |
| 8633 if { (eval echo configure:8634: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 8660 if { (eval echo configure:8661: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 8634 rm -rf conftest* | 8661 rm -rf conftest* |
| 8635 ac_cv_header_alloca_h=yes | 8662 ac_cv_header_alloca_h=yes |
| 8636 else | 8663 else |
| 8637 echo "configure: failed program was:" >&5 | 8664 echo "configure: failed program was:" >&5 |
| 8638 cat conftest.$ac_ext >&5 | 8665 cat conftest.$ac_ext >&5 |
| 8652 } | 8679 } |
| 8653 | 8680 |
| 8654 fi | 8681 fi |
| 8655 | 8682 |
| 8656 echo $ac_n "checking for alloca""... $ac_c" 1>&6 | 8683 echo $ac_n "checking for alloca""... $ac_c" 1>&6 |
| 8657 echo "configure:8658: checking for alloca" >&5 | 8684 echo "configure:8685: checking for alloca" >&5 |
| 8658 | 8685 |
| 8659 cat > conftest.$ac_ext <<EOF | 8686 cat > conftest.$ac_ext <<EOF |
| 8660 #line 8661 "configure" | 8687 #line 8688 "configure" |
| 8661 #include "confdefs.h" | 8688 #include "confdefs.h" |
| 8662 | 8689 |
| 8663 #ifdef __GNUC__ | 8690 #ifdef __GNUC__ |
| 8664 # define alloca __builtin_alloca | 8691 # define alloca __builtin_alloca |
| 8665 #else | 8692 #else |
| 8678 | 8705 |
| 8679 int main() { | 8706 int main() { |
| 8680 char *p = (char *) alloca(1); | 8707 char *p = (char *) alloca(1); |
| 8681 ; return 0; } | 8708 ; return 0; } |
| 8682 EOF | 8709 EOF |
| 8683 if { (eval echo configure:8684: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 8710 if { (eval echo configure:8711: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 8684 rm -rf conftest* | 8711 rm -rf conftest* |
| 8685 ac_cv_func_alloca_works=yes | 8712 ac_cv_func_alloca_works=yes |
| 8686 else | 8713 else |
| 8687 echo "configure: failed program was:" >&5 | 8714 echo "configure: failed program was:" >&5 |
| 8688 cat conftest.$ac_ext >&5 | 8715 cat conftest.$ac_ext >&5 |
| 8717 EOF | 8744 EOF |
| 8718 } | 8745 } |
| 8719 | 8746 |
| 8720 | 8747 |
| 8721 echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6 | 8748 echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6 |
| 8722 echo "configure:8723: checking whether alloca needs Cray hooks" >&5 | 8749 echo "configure:8750: checking whether alloca needs Cray hooks" >&5 |
| 8723 | 8750 |
| 8724 cat > conftest.$ac_ext <<EOF | 8751 cat > conftest.$ac_ext <<EOF |
| 8725 #line 8726 "configure" | 8752 #line 8753 "configure" |
| 8726 #include "confdefs.h" | 8753 #include "confdefs.h" |
| 8727 #if defined(CRAY) && ! defined(CRAY2) | 8754 #if defined(CRAY) && ! defined(CRAY2) |
| 8728 webecray | 8755 webecray |
| 8729 #else | 8756 #else |
| 8730 wenotbecray | 8757 wenotbecray |
| 8744 | 8771 |
| 8745 echo "$ac_t""$ac_cv_os_cray" 1>&6 | 8772 echo "$ac_t""$ac_cv_os_cray" 1>&6 |
| 8746 if test $ac_cv_os_cray = yes; then | 8773 if test $ac_cv_os_cray = yes; then |
| 8747 for ac_func in _getb67 GETB67 getb67; do | 8774 for ac_func in _getb67 GETB67 getb67; do |
| 8748 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 8775 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
| 8749 echo "configure:8750: checking for $ac_func" >&5 | 8776 echo "configure:8777: checking for $ac_func" >&5 |
| 8750 | 8777 |
| 8751 cat > conftest.$ac_ext <<EOF | 8778 cat > conftest.$ac_ext <<EOF |
| 8752 #line 8753 "configure" | 8779 #line 8780 "configure" |
| 8753 #include "confdefs.h" | 8780 #include "confdefs.h" |
| 8754 /* System header to define __stub macros and hopefully few prototypes, | 8781 /* System header to define __stub macros and hopefully few prototypes, |
| 8755 which can conflict with char $ac_func(); below. */ | 8782 which can conflict with char $ac_func(); below. */ |
| 8756 #include <assert.h> | 8783 #include <assert.h> |
| 8757 /* Override any gcc2 internal prototype to avoid an error. */ | 8784 /* Override any gcc2 internal prototype to avoid an error. */ |
| 8770 $ac_func(); | 8797 $ac_func(); |
| 8771 #endif | 8798 #endif |
| 8772 | 8799 |
| 8773 ; return 0; } | 8800 ; return 0; } |
| 8774 EOF | 8801 EOF |
| 8775 if { (eval echo configure:8776: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 8802 if { (eval echo configure:8803: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 8776 rm -rf conftest* | 8803 rm -rf conftest* |
| 8777 eval "ac_cv_func_$ac_func=yes" | 8804 eval "ac_cv_func_$ac_func=yes" |
| 8778 else | 8805 else |
| 8779 echo "configure: failed program was:" >&5 | 8806 echo "configure: failed program was:" >&5 |
| 8780 cat conftest.$ac_ext >&5 | 8807 cat conftest.$ac_ext >&5 |
| 8800 | 8827 |
| 8801 done | 8828 done |
| 8802 fi | 8829 fi |
| 8803 | 8830 |
| 8804 echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6 | 8831 echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6 |
| 8805 echo "configure:8806: checking stack direction for C alloca" >&5 | 8832 echo "configure:8833: checking stack direction for C alloca" >&5 |
| 8806 | 8833 |
| 8807 cat > conftest.$ac_ext <<EOF | 8834 cat > conftest.$ac_ext <<EOF |
| 8808 #line 8809 "configure" | 8835 #line 8836 "configure" |
| 8809 #include "confdefs.h" | 8836 #include "confdefs.h" |
| 8810 find_stack_direction () | 8837 find_stack_direction () |
| 8811 { | 8838 { |
| 8812 static char *addr = 0; | 8839 static char *addr = 0; |
| 8813 auto char dummy; | 8840 auto char dummy; |
| 8822 main () | 8849 main () |
| 8823 { | 8850 { |
| 8824 exit (find_stack_direction() < 0); | 8851 exit (find_stack_direction() < 0); |
| 8825 } | 8852 } |
| 8826 EOF | 8853 EOF |
| 8827 if { (eval echo configure:8828: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 | 8854 if { (eval echo configure:8855: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 |
| 8828 then | 8855 then |
| 8829 ac_cv_c_stack_direction=1 | 8856 ac_cv_c_stack_direction=1 |
| 8830 else | 8857 else |
| 8831 echo "configure: failed program was:" >&5 | 8858 echo "configure: failed program was:" >&5 |
| 8832 cat conftest.$ac_ext >&5 | 8859 cat conftest.$ac_ext >&5 |
| 8850 echo " xemacs will be linked with \"$ALLOCA\"" | 8877 echo " xemacs will be linked with \"$ALLOCA\"" |
| 8851 fi | 8878 fi |
| 8852 | 8879 |
| 8853 ac_safe=`echo "vfork.h" | sed 'y%./+-%__p_%'` | 8880 ac_safe=`echo "vfork.h" | sed 'y%./+-%__p_%'` |
| 8854 echo $ac_n "checking for vfork.h""... $ac_c" 1>&6 | 8881 echo $ac_n "checking for vfork.h""... $ac_c" 1>&6 |
| 8855 echo "configure:8856: checking for vfork.h" >&5 | 8882 echo "configure:8883: checking for vfork.h" >&5 |
| 8856 | 8883 |
| 8857 cat > conftest.$ac_ext <<EOF | 8884 cat > conftest.$ac_ext <<EOF |
| 8858 #line 8859 "configure" | 8885 #line 8886 "configure" |
| 8859 #include "confdefs.h" | 8886 #include "confdefs.h" |
| 8860 #include <vfork.h> | 8887 #include <vfork.h> |
| 8861 EOF | 8888 EOF |
| 8862 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8889 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 8863 { (eval echo configure:8864: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8890 { (eval echo configure:8891: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 8864 ac_err=`grep -v '^ *+' conftest.out` | 8891 ac_err=`grep -v '^ *+' conftest.out` |
| 8865 if test -z "$ac_err"; then | 8892 if test -z "$ac_err"; then |
| 8866 rm -rf conftest* | 8893 rm -rf conftest* |
| 8867 eval "ac_cv_header_$ac_safe=yes" | 8894 eval "ac_cv_header_$ac_safe=yes" |
| 8868 else | 8895 else |
| 8886 else | 8913 else |
| 8887 echo "$ac_t""no" 1>&6 | 8914 echo "$ac_t""no" 1>&6 |
| 8888 fi | 8915 fi |
| 8889 | 8916 |
| 8890 echo $ac_n "checking for working vfork""... $ac_c" 1>&6 | 8917 echo $ac_n "checking for working vfork""... $ac_c" 1>&6 |
| 8891 echo "configure:8892: checking for working vfork" >&5 | 8918 echo "configure:8919: checking for working vfork" >&5 |
| 8892 | 8919 |
| 8893 cat > conftest.$ac_ext <<EOF | 8920 cat > conftest.$ac_ext <<EOF |
| 8894 #line 8895 "configure" | 8921 #line 8922 "configure" |
| 8895 #include "confdefs.h" | 8922 #include "confdefs.h" |
| 8896 /* Thanks to Paul Eggert for this test. */ | 8923 /* Thanks to Paul Eggert for this test. */ |
| 8897 #include <stdio.h> | 8924 #include <stdio.h> |
| 8898 #include <sys/types.h> | 8925 #include <sys/types.h> |
| 8899 #include <sys/stat.h> | 8926 #include <sys/stat.h> |
| 8984 || fstat(fileno(stdout), &st) != 0 | 9011 || fstat(fileno(stdout), &st) != 0 |
| 8985 ); | 9012 ); |
| 8986 } | 9013 } |
| 8987 } | 9014 } |
| 8988 EOF | 9015 EOF |
| 8989 if { (eval echo configure:8990: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 | 9016 if { (eval echo configure:9017: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 |
| 8990 then | 9017 then |
| 8991 ac_cv_func_vfork_works=yes | 9018 ac_cv_func_vfork_works=yes |
| 8992 else | 9019 else |
| 8993 echo "configure: failed program was:" >&5 | 9020 echo "configure: failed program was:" >&5 |
| 8994 cat conftest.$ac_ext >&5 | 9021 cat conftest.$ac_ext >&5 |
| 9009 | 9036 |
| 9010 fi | 9037 fi |
| 9011 | 9038 |
| 9012 | 9039 |
| 9013 echo $ac_n "checking for working strcoll""... $ac_c" 1>&6 | 9040 echo $ac_n "checking for working strcoll""... $ac_c" 1>&6 |
| 9014 echo "configure:9015: checking for working strcoll" >&5 | 9041 echo "configure:9042: checking for working strcoll" >&5 |
| 9015 | 9042 |
| 9016 cat > conftest.$ac_ext <<EOF | 9043 cat > conftest.$ac_ext <<EOF |
| 9017 #line 9018 "configure" | 9044 #line 9045 "configure" |
| 9018 #include "confdefs.h" | 9045 #include "confdefs.h" |
| 9019 #include <string.h> | 9046 #include <string.h> |
| 9020 main () | 9047 main () |
| 9021 { | 9048 { |
| 9022 exit (strcoll ("abc", "def") >= 0 || | 9049 exit (strcoll ("abc", "def") >= 0 || |
| 9023 strcoll ("ABC", "DEF") >= 0 || | 9050 strcoll ("ABC", "DEF") >= 0 || |
| 9024 strcoll ("123", "456") >= 0); | 9051 strcoll ("123", "456") >= 0); |
| 9025 } | 9052 } |
| 9026 EOF | 9053 EOF |
| 9027 if { (eval echo configure:9028: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 | 9054 if { (eval echo configure:9055: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 |
| 9028 then | 9055 then |
| 9029 ac_cv_func_strcoll_works=yes | 9056 ac_cv_func_strcoll_works=yes |
| 9030 else | 9057 else |
| 9031 echo "configure: failed program was:" >&5 | 9058 echo "configure: failed program was:" >&5 |
| 9032 cat conftest.$ac_ext >&5 | 9059 cat conftest.$ac_ext >&5 |
| 9049 | 9076 |
| 9050 | 9077 |
| 9051 for ac_func in getpgrp | 9078 for ac_func in getpgrp |
| 9052 do | 9079 do |
| 9053 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 9080 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
| 9054 echo "configure:9055: checking for $ac_func" >&5 | 9081 echo "configure:9082: checking for $ac_func" >&5 |
| 9055 | 9082 |
| 9056 cat > conftest.$ac_ext <<EOF | 9083 cat > conftest.$ac_ext <<EOF |
| 9057 #line 9058 "configure" | 9084 #line 9085 "configure" |
| 9058 #include "confdefs.h" | 9085 #include "confdefs.h" |
| 9059 /* System header to define __stub macros and hopefully few prototypes, | 9086 /* System header to define __stub macros and hopefully few prototypes, |
| 9060 which can conflict with char $ac_func(); below. */ | 9087 which can conflict with char $ac_func(); below. */ |
| 9061 #include <assert.h> | 9088 #include <assert.h> |
| 9062 /* Override any gcc2 internal prototype to avoid an error. */ | 9089 /* Override any gcc2 internal prototype to avoid an error. */ |
| 9075 $ac_func(); | 9102 $ac_func(); |
| 9076 #endif | 9103 #endif |
| 9077 | 9104 |
| 9078 ; return 0; } | 9105 ; return 0; } |
| 9079 EOF | 9106 EOF |
| 9080 if { (eval echo configure:9081: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 9107 if { (eval echo configure:9108: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 9081 rm -rf conftest* | 9108 rm -rf conftest* |
| 9082 eval "ac_cv_func_$ac_func=yes" | 9109 eval "ac_cv_func_$ac_func=yes" |
| 9083 else | 9110 else |
| 9084 echo "configure: failed program was:" >&5 | 9111 echo "configure: failed program was:" >&5 |
| 9085 cat conftest.$ac_ext >&5 | 9112 cat conftest.$ac_ext >&5 |
| 9103 echo "$ac_t""no" 1>&6 | 9130 echo "$ac_t""no" 1>&6 |
| 9104 fi | 9131 fi |
| 9105 done | 9132 done |
| 9106 | 9133 |
| 9107 echo $ac_n "checking whether getpgrp takes no argument""... $ac_c" 1>&6 | 9134 echo $ac_n "checking whether getpgrp takes no argument""... $ac_c" 1>&6 |
| 9108 echo "configure:9109: checking whether getpgrp takes no argument" >&5 | 9135 echo "configure:9136: checking whether getpgrp takes no argument" >&5 |
| 9109 | 9136 |
| 9110 cat > conftest.$ac_ext <<EOF | 9137 cat > conftest.$ac_ext <<EOF |
| 9111 #line 9112 "configure" | 9138 #line 9139 "configure" |
| 9112 #include "confdefs.h" | 9139 #include "confdefs.h" |
| 9113 | 9140 |
| 9114 /* | 9141 /* |
| 9115 * If this system has a BSD-style getpgrp(), | 9142 * If this system has a BSD-style getpgrp(), |
| 9116 * which takes a pid argument, exit unsuccessfully. | 9143 * which takes a pid argument, exit unsuccessfully. |
| 9161 exit(s>>8); | 9188 exit(s>>8); |
| 9162 } | 9189 } |
| 9163 } | 9190 } |
| 9164 | 9191 |
| 9165 EOF | 9192 EOF |
| 9166 if { (eval echo configure:9167: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 | 9193 if { (eval echo configure:9194: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 |
| 9167 then | 9194 then |
| 9168 ac_cv_func_getpgrp_void=yes | 9195 ac_cv_func_getpgrp_void=yes |
| 9169 else | 9196 else |
| 9170 echo "configure: failed program was:" >&5 | 9197 echo "configure: failed program was:" >&5 |
| 9171 cat conftest.$ac_ext >&5 | 9198 cat conftest.$ac_ext >&5 |
| 9187 | 9214 |
| 9188 fi | 9215 fi |
| 9189 | 9216 |
| 9190 | 9217 |
| 9191 echo $ac_n "checking for working mmap""... $ac_c" 1>&6 | 9218 echo $ac_n "checking for working mmap""... $ac_c" 1>&6 |
| 9192 echo "configure:9193: checking for working mmap" >&5 | 9219 echo "configure:9220: checking for working mmap" >&5 |
| 9193 case "$opsys" in ultrix* ) have_mmap=no ;; *) | 9220 case "$opsys" in ultrix* ) have_mmap=no ;; *) |
| 9194 cat > conftest.$ac_ext <<EOF | 9221 cat > conftest.$ac_ext <<EOF |
| 9195 #line 9196 "configure" | 9222 #line 9223 "configure" |
| 9196 #include "confdefs.h" | 9223 #include "confdefs.h" |
| 9197 #include <stdio.h> | 9224 #include <stdio.h> |
| 9198 #include <unistd.h> | 9225 #include <unistd.h> |
| 9199 #include <fcntl.h> | 9226 #include <fcntl.h> |
| 9200 #include <sys/mman.h> | 9227 #include <sys/mman.h> |
| 9223 return 0; | 9250 return 0; |
| 9224 perror ("conftest: mmap failed"); | 9251 perror ("conftest: mmap failed"); |
| 9225 return 1; | 9252 return 1; |
| 9226 } | 9253 } |
| 9227 EOF | 9254 EOF |
| 9228 if { (eval echo configure:9229: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 | 9255 if { (eval echo configure:9256: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 |
| 9229 then | 9256 then |
| 9230 have_mmap=yes | 9257 have_mmap=yes |
| 9231 else | 9258 else |
| 9232 echo "configure: failed program was:" >&5 | 9259 echo "configure: failed program was:" >&5 |
| 9233 cat conftest.$ac_ext >&5 | 9260 cat conftest.$ac_ext >&5 |
| 9257 } | 9284 } |
| 9258 | 9285 |
| 9259 | 9286 |
| 9260 ac_safe=`echo "termios.h" | sed 'y%./+-%__p_%'` | 9287 ac_safe=`echo "termios.h" | sed 'y%./+-%__p_%'` |
| 9261 echo $ac_n "checking for termios.h""... $ac_c" 1>&6 | 9288 echo $ac_n "checking for termios.h""... $ac_c" 1>&6 |
| 9262 echo "configure:9263: checking for termios.h" >&5 | 9289 echo "configure:9290: checking for termios.h" >&5 |
| 9263 | 9290 |
| 9264 cat > conftest.$ac_ext <<EOF | 9291 cat > conftest.$ac_ext <<EOF |
| 9265 #line 9266 "configure" | 9292 #line 9293 "configure" |
| 9266 #include "confdefs.h" | 9293 #include "confdefs.h" |
| 9267 #include <termios.h> | 9294 #include <termios.h> |
| 9268 EOF | 9295 EOF |
| 9269 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9296 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 9270 { (eval echo configure:9271: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9297 { (eval echo configure:9298: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 9271 ac_err=`grep -v '^ *+' conftest.out` | 9298 ac_err=`grep -v '^ *+' conftest.out` |
| 9272 if test -z "$ac_err"; then | 9299 if test -z "$ac_err"; then |
| 9273 rm -rf conftest* | 9300 rm -rf conftest* |
| 9274 eval "ac_cv_header_$ac_safe=yes" | 9301 eval "ac_cv_header_$ac_safe=yes" |
| 9275 else | 9302 else |
| 9308 | 9335 |
| 9309 else | 9336 else |
| 9310 echo "$ac_t""no" 1>&6 | 9337 echo "$ac_t""no" 1>&6 |
| 9311 ac_safe=`echo "termio.h" | sed 'y%./+-%__p_%'` | 9338 ac_safe=`echo "termio.h" | sed 'y%./+-%__p_%'` |
| 9312 echo $ac_n "checking for termio.h""... $ac_c" 1>&6 | 9339 echo $ac_n "checking for termio.h""... $ac_c" 1>&6 |
| 9313 echo "configure:9314: checking for termio.h" >&5 | 9340 echo "configure:9341: checking for termio.h" >&5 |
| 9314 | 9341 |
| 9315 cat > conftest.$ac_ext <<EOF | 9342 cat > conftest.$ac_ext <<EOF |
| 9316 #line 9317 "configure" | 9343 #line 9344 "configure" |
| 9317 #include "confdefs.h" | 9344 #include "confdefs.h" |
| 9318 #include <termio.h> | 9345 #include <termio.h> |
| 9319 EOF | 9346 EOF |
| 9320 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9347 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 9321 { (eval echo configure:9322: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9348 { (eval echo configure:9349: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 9322 ac_err=`grep -v '^ *+' conftest.out` | 9349 ac_err=`grep -v '^ *+' conftest.out` |
| 9323 if test -z "$ac_err"; then | 9350 if test -z "$ac_err"; then |
| 9324 rm -rf conftest* | 9351 rm -rf conftest* |
| 9325 eval "ac_cv_header_$ac_safe=yes" | 9352 eval "ac_cv_header_$ac_safe=yes" |
| 9326 else | 9353 else |
| 9348 fi | 9375 fi |
| 9349 | 9376 |
| 9350 | 9377 |
| 9351 | 9378 |
| 9352 echo $ac_n "checking for socket""... $ac_c" 1>&6 | 9379 echo $ac_n "checking for socket""... $ac_c" 1>&6 |
| 9353 echo "configure:9354: checking for socket" >&5 | 9380 echo "configure:9381: checking for socket" >&5 |
| 9354 | 9381 |
| 9355 cat > conftest.$ac_ext <<EOF | 9382 cat > conftest.$ac_ext <<EOF |
| 9356 #line 9357 "configure" | 9383 #line 9384 "configure" |
| 9357 #include "confdefs.h" | 9384 #include "confdefs.h" |
| 9358 /* System header to define __stub macros and hopefully few prototypes, | 9385 /* System header to define __stub macros and hopefully few prototypes, |
| 9359 which can conflict with char socket(); below. */ | 9386 which can conflict with char socket(); below. */ |
| 9360 #include <assert.h> | 9387 #include <assert.h> |
| 9361 /* Override any gcc2 internal prototype to avoid an error. */ | 9388 /* Override any gcc2 internal prototype to avoid an error. */ |
| 9374 socket(); | 9401 socket(); |
| 9375 #endif | 9402 #endif |
| 9376 | 9403 |
| 9377 ; return 0; } | 9404 ; return 0; } |
| 9378 EOF | 9405 EOF |
| 9379 if { (eval echo configure:9380: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 9406 if { (eval echo configure:9407: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 9380 rm -rf conftest* | 9407 rm -rf conftest* |
| 9381 eval "ac_cv_func_socket=yes" | 9408 eval "ac_cv_func_socket=yes" |
| 9382 else | 9409 else |
| 9383 echo "configure: failed program was:" >&5 | 9410 echo "configure: failed program was:" >&5 |
| 9384 cat conftest.$ac_ext >&5 | 9411 cat conftest.$ac_ext >&5 |
| 9389 | 9416 |
| 9390 if eval "test \"`echo '$ac_cv_func_'socket`\" = yes"; then | 9417 if eval "test \"`echo '$ac_cv_func_'socket`\" = yes"; then |
| 9391 echo "$ac_t""yes" 1>&6 | 9418 echo "$ac_t""yes" 1>&6 |
| 9392 ac_safe=`echo "netinet/in.h" | sed 'y%./+-%__p_%'` | 9419 ac_safe=`echo "netinet/in.h" | sed 'y%./+-%__p_%'` |
| 9393 echo $ac_n "checking for netinet/in.h""... $ac_c" 1>&6 | 9420 echo $ac_n "checking for netinet/in.h""... $ac_c" 1>&6 |
| 9394 echo "configure:9395: checking for netinet/in.h" >&5 | 9421 echo "configure:9422: checking for netinet/in.h" >&5 |
| 9395 | 9422 |
| 9396 cat > conftest.$ac_ext <<EOF | 9423 cat > conftest.$ac_ext <<EOF |
| 9397 #line 9398 "configure" | 9424 #line 9425 "configure" |
| 9398 #include "confdefs.h" | 9425 #include "confdefs.h" |
| 9399 #include <netinet/in.h> | 9426 #include <netinet/in.h> |
| 9400 EOF | 9427 EOF |
| 9401 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9428 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 9402 { (eval echo configure:9403: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9429 { (eval echo configure:9430: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 9403 ac_err=`grep -v '^ *+' conftest.out` | 9430 ac_err=`grep -v '^ *+' conftest.out` |
| 9404 if test -z "$ac_err"; then | 9431 if test -z "$ac_err"; then |
| 9405 rm -rf conftest* | 9432 rm -rf conftest* |
| 9406 eval "ac_cv_header_$ac_safe=yes" | 9433 eval "ac_cv_header_$ac_safe=yes" |
| 9407 else | 9434 else |
| 9414 rm -f conftest* | 9441 rm -f conftest* |
| 9415 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 9442 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
| 9416 echo "$ac_t""yes" 1>&6 | 9443 echo "$ac_t""yes" 1>&6 |
| 9417 ac_safe=`echo "arpa/inet.h" | sed 'y%./+-%__p_%'` | 9444 ac_safe=`echo "arpa/inet.h" | sed 'y%./+-%__p_%'` |
| 9418 echo $ac_n "checking for arpa/inet.h""... $ac_c" 1>&6 | 9445 echo $ac_n "checking for arpa/inet.h""... $ac_c" 1>&6 |
| 9419 echo "configure:9420: checking for arpa/inet.h" >&5 | 9446 echo "configure:9447: checking for arpa/inet.h" >&5 |
| 9420 | 9447 |
| 9421 cat > conftest.$ac_ext <<EOF | 9448 cat > conftest.$ac_ext <<EOF |
| 9422 #line 9423 "configure" | 9449 #line 9450 "configure" |
| 9423 #include "confdefs.h" | 9450 #include "confdefs.h" |
| 9424 #include <arpa/inet.h> | 9451 #include <arpa/inet.h> |
| 9425 EOF | 9452 EOF |
| 9426 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9453 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 9427 { (eval echo configure:9428: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9454 { (eval echo configure:9455: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 9428 ac_err=`grep -v '^ *+' conftest.out` | 9455 ac_err=`grep -v '^ *+' conftest.out` |
| 9429 if test -z "$ac_err"; then | 9456 if test -z "$ac_err"; then |
| 9430 rm -rf conftest* | 9457 rm -rf conftest* |
| 9431 eval "ac_cv_header_$ac_safe=yes" | 9458 eval "ac_cv_header_$ac_safe=yes" |
| 9432 else | 9459 else |
| 9447 #define HAVE_SOCKETS 1 | 9474 #define HAVE_SOCKETS 1 |
| 9448 EOF | 9475 EOF |
| 9449 } | 9476 } |
| 9450 | 9477 |
| 9451 echo $ac_n "checking "for sun_len member in struct sockaddr_un"""... $ac_c" 1>&6 | 9478 echo $ac_n "checking "for sun_len member in struct sockaddr_un"""... $ac_c" 1>&6 |
| 9452 echo "configure:9453: checking "for sun_len member in struct sockaddr_un"" >&5 | 9479 echo "configure:9480: checking "for sun_len member in struct sockaddr_un"" >&5 |
| 9453 cat > conftest.$ac_ext <<EOF | 9480 cat > conftest.$ac_ext <<EOF |
| 9454 #line 9455 "configure" | 9481 #line 9482 "configure" |
| 9455 #include "confdefs.h" | 9482 #include "confdefs.h" |
| 9456 | 9483 |
| 9457 #include <sys/types.h> | 9484 #include <sys/types.h> |
| 9458 #include <sys/socket.h> | 9485 #include <sys/socket.h> |
| 9459 #include <sys/un.h> | 9486 #include <sys/un.h> |
| 9460 | 9487 |
| 9461 int main() { | 9488 int main() { |
| 9462 static struct sockaddr_un x; x.sun_len = 1; | 9489 static struct sockaddr_un x; x.sun_len = 1; |
| 9463 ; return 0; } | 9490 ; return 0; } |
| 9464 EOF | 9491 EOF |
| 9465 if { (eval echo configure:9466: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 9492 if { (eval echo configure:9493: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 9466 rm -rf conftest* | 9493 rm -rf conftest* |
| 9467 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF | 9494 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF |
| 9468 Defining HAVE_SOCKADDR_SUN_LEN | 9495 Defining HAVE_SOCKADDR_SUN_LEN |
| 9469 EOF | 9496 EOF |
| 9470 cat >> confdefs.h <<\EOF | 9497 cat >> confdefs.h <<\EOF |
| 9478 rm -rf conftest* | 9505 rm -rf conftest* |
| 9479 echo "$ac_t""no" 1>&6 | 9506 echo "$ac_t""no" 1>&6 |
| 9480 fi | 9507 fi |
| 9481 rm -f conftest* | 9508 rm -f conftest* |
| 9482 echo $ac_n "checking "for ip_mreq struct in netinet/in.h"""... $ac_c" 1>&6 | 9509 echo $ac_n "checking "for ip_mreq struct in netinet/in.h"""... $ac_c" 1>&6 |
| 9483 echo "configure:9484: checking "for ip_mreq struct in netinet/in.h"" >&5 | 9510 echo "configure:9511: checking "for ip_mreq struct in netinet/in.h"" >&5 |
| 9484 cat > conftest.$ac_ext <<EOF | 9511 cat > conftest.$ac_ext <<EOF |
| 9485 #line 9486 "configure" | 9512 #line 9513 "configure" |
| 9486 #include "confdefs.h" | 9513 #include "confdefs.h" |
| 9487 | 9514 |
| 9515 #include <sys/types.h> | |
| 9488 #include <netinet/in.h> | 9516 #include <netinet/in.h> |
| 9489 | 9517 |
| 9490 int main() { | 9518 int main() { |
| 9491 static struct ip_mreq x; | 9519 static struct ip_mreq x; |
| 9492 ; return 0; } | 9520 ; return 0; } |
| 9493 EOF | 9521 EOF |
| 9494 if { (eval echo configure:9495: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 9522 if { (eval echo configure:9523: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 9495 rm -rf conftest* | 9523 rm -rf conftest* |
| 9496 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF | 9524 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF |
| 9497 Defining HAVE_MULTICAST | 9525 Defining HAVE_MULTICAST |
| 9498 EOF | 9526 EOF |
| 9499 cat >> confdefs.h <<\EOF | 9527 cat >> confdefs.h <<\EOF |
| 9520 echo "$ac_t""no" 1>&6 | 9548 echo "$ac_t""no" 1>&6 |
| 9521 fi | 9549 fi |
| 9522 | 9550 |
| 9523 | 9551 |
| 9524 echo $ac_n "checking for msgget""... $ac_c" 1>&6 | 9552 echo $ac_n "checking for msgget""... $ac_c" 1>&6 |
| 9525 echo "configure:9526: checking for msgget" >&5 | 9553 echo "configure:9554: checking for msgget" >&5 |
| 9526 | 9554 |
| 9527 cat > conftest.$ac_ext <<EOF | 9555 cat > conftest.$ac_ext <<EOF |
| 9528 #line 9529 "configure" | 9556 #line 9557 "configure" |
| 9529 #include "confdefs.h" | 9557 #include "confdefs.h" |
| 9530 /* System header to define __stub macros and hopefully few prototypes, | 9558 /* System header to define __stub macros and hopefully few prototypes, |
| 9531 which can conflict with char msgget(); below. */ | 9559 which can conflict with char msgget(); below. */ |
| 9532 #include <assert.h> | 9560 #include <assert.h> |
| 9533 /* Override any gcc2 internal prototype to avoid an error. */ | 9561 /* Override any gcc2 internal prototype to avoid an error. */ |
| 9546 msgget(); | 9574 msgget(); |
| 9547 #endif | 9575 #endif |
| 9548 | 9576 |
| 9549 ; return 0; } | 9577 ; return 0; } |
| 9550 EOF | 9578 EOF |
| 9551 if { (eval echo configure:9552: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 9579 if { (eval echo configure:9580: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 9552 rm -rf conftest* | 9580 rm -rf conftest* |
| 9553 eval "ac_cv_func_msgget=yes" | 9581 eval "ac_cv_func_msgget=yes" |
| 9554 else | 9582 else |
| 9555 echo "configure: failed program was:" >&5 | 9583 echo "configure: failed program was:" >&5 |
| 9556 cat conftest.$ac_ext >&5 | 9584 cat conftest.$ac_ext >&5 |
| 9561 | 9589 |
| 9562 if eval "test \"`echo '$ac_cv_func_'msgget`\" = yes"; then | 9590 if eval "test \"`echo '$ac_cv_func_'msgget`\" = yes"; then |
| 9563 echo "$ac_t""yes" 1>&6 | 9591 echo "$ac_t""yes" 1>&6 |
| 9564 ac_safe=`echo "sys/ipc.h" | sed 'y%./+-%__p_%'` | 9592 ac_safe=`echo "sys/ipc.h" | sed 'y%./+-%__p_%'` |
| 9565 echo $ac_n "checking for sys/ipc.h""... $ac_c" 1>&6 | 9593 echo $ac_n "checking for sys/ipc.h""... $ac_c" 1>&6 |
| 9566 echo "configure:9567: checking for sys/ipc.h" >&5 | 9594 echo "configure:9595: checking for sys/ipc.h" >&5 |
| 9567 | 9595 |
| 9568 cat > conftest.$ac_ext <<EOF | 9596 cat > conftest.$ac_ext <<EOF |
| 9569 #line 9570 "configure" | 9597 #line 9598 "configure" |
| 9570 #include "confdefs.h" | 9598 #include "confdefs.h" |
| 9571 #include <sys/ipc.h> | 9599 #include <sys/ipc.h> |
| 9572 EOF | 9600 EOF |
| 9573 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9601 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 9574 { (eval echo configure:9575: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9602 { (eval echo configure:9603: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 9575 ac_err=`grep -v '^ *+' conftest.out` | 9603 ac_err=`grep -v '^ *+' conftest.out` |
| 9576 if test -z "$ac_err"; then | 9604 if test -z "$ac_err"; then |
| 9577 rm -rf conftest* | 9605 rm -rf conftest* |
| 9578 eval "ac_cv_header_$ac_safe=yes" | 9606 eval "ac_cv_header_$ac_safe=yes" |
| 9579 else | 9607 else |
| 9586 rm -f conftest* | 9614 rm -f conftest* |
| 9587 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 9615 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
| 9588 echo "$ac_t""yes" 1>&6 | 9616 echo "$ac_t""yes" 1>&6 |
| 9589 ac_safe=`echo "sys/msg.h" | sed 'y%./+-%__p_%'` | 9617 ac_safe=`echo "sys/msg.h" | sed 'y%./+-%__p_%'` |
| 9590 echo $ac_n "checking for sys/msg.h""... $ac_c" 1>&6 | 9618 echo $ac_n "checking for sys/msg.h""... $ac_c" 1>&6 |
| 9591 echo "configure:9592: checking for sys/msg.h" >&5 | 9619 echo "configure:9620: checking for sys/msg.h" >&5 |
| 9592 | 9620 |
| 9593 cat > conftest.$ac_ext <<EOF | 9621 cat > conftest.$ac_ext <<EOF |
| 9594 #line 9595 "configure" | 9622 #line 9623 "configure" |
| 9595 #include "confdefs.h" | 9623 #include "confdefs.h" |
| 9596 #include <sys/msg.h> | 9624 #include <sys/msg.h> |
| 9597 EOF | 9625 EOF |
| 9598 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9626 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 9599 { (eval echo configure:9600: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9627 { (eval echo configure:9628: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 9600 ac_err=`grep -v '^ *+' conftest.out` | 9628 ac_err=`grep -v '^ *+' conftest.out` |
| 9601 if test -z "$ac_err"; then | 9629 if test -z "$ac_err"; then |
| 9602 rm -rf conftest* | 9630 rm -rf conftest* |
| 9603 eval "ac_cv_header_$ac_safe=yes" | 9631 eval "ac_cv_header_$ac_safe=yes" |
| 9604 else | 9632 else |
| 9632 fi | 9660 fi |
| 9633 | 9661 |
| 9634 | 9662 |
| 9635 ac_safe=`echo "dirent.h" | sed 'y%./+-%__p_%'` | 9663 ac_safe=`echo "dirent.h" | sed 'y%./+-%__p_%'` |
| 9636 echo $ac_n "checking for dirent.h""... $ac_c" 1>&6 | 9664 echo $ac_n "checking for dirent.h""... $ac_c" 1>&6 |
| 9637 echo "configure:9638: checking for dirent.h" >&5 | 9665 echo "configure:9666: checking for dirent.h" >&5 |
| 9638 | 9666 |
| 9639 cat > conftest.$ac_ext <<EOF | 9667 cat > conftest.$ac_ext <<EOF |
| 9640 #line 9641 "configure" | 9668 #line 9669 "configure" |
| 9641 #include "confdefs.h" | 9669 #include "confdefs.h" |
| 9642 #include <dirent.h> | 9670 #include <dirent.h> |
| 9643 EOF | 9671 EOF |
| 9644 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9672 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 9645 { (eval echo configure:9646: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9673 { (eval echo configure:9674: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 9646 ac_err=`grep -v '^ *+' conftest.out` | 9674 ac_err=`grep -v '^ *+' conftest.out` |
| 9647 if test -z "$ac_err"; then | 9675 if test -z "$ac_err"; then |
| 9648 rm -rf conftest* | 9676 rm -rf conftest* |
| 9649 eval "ac_cv_header_$ac_safe=yes" | 9677 eval "ac_cv_header_$ac_safe=yes" |
| 9650 else | 9678 else |
| 9667 | 9695 |
| 9668 else | 9696 else |
| 9669 echo "$ac_t""no" 1>&6 | 9697 echo "$ac_t""no" 1>&6 |
| 9670 ac_safe=`echo "sys/dir.h" | sed 'y%./+-%__p_%'` | 9698 ac_safe=`echo "sys/dir.h" | sed 'y%./+-%__p_%'` |
| 9671 echo $ac_n "checking for sys/dir.h""... $ac_c" 1>&6 | 9699 echo $ac_n "checking for sys/dir.h""... $ac_c" 1>&6 |
| 9672 echo "configure:9673: checking for sys/dir.h" >&5 | 9700 echo "configure:9701: checking for sys/dir.h" >&5 |
| 9673 | 9701 |
| 9674 cat > conftest.$ac_ext <<EOF | 9702 cat > conftest.$ac_ext <<EOF |
| 9675 #line 9676 "configure" | 9703 #line 9704 "configure" |
| 9676 #include "confdefs.h" | 9704 #include "confdefs.h" |
| 9677 #include <sys/dir.h> | 9705 #include <sys/dir.h> |
| 9678 EOF | 9706 EOF |
| 9679 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9707 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 9680 { (eval echo configure:9681: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9708 { (eval echo configure:9709: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 9681 ac_err=`grep -v '^ *+' conftest.out` | 9709 ac_err=`grep -v '^ *+' conftest.out` |
| 9682 if test -z "$ac_err"; then | 9710 if test -z "$ac_err"; then |
| 9683 rm -rf conftest* | 9711 rm -rf conftest* |
| 9684 eval "ac_cv_header_$ac_safe=yes" | 9712 eval "ac_cv_header_$ac_safe=yes" |
| 9685 else | 9713 else |
| 9708 fi | 9736 fi |
| 9709 | 9737 |
| 9710 | 9738 |
| 9711 ac_safe=`echo "nlist.h" | sed 'y%./+-%__p_%'` | 9739 ac_safe=`echo "nlist.h" | sed 'y%./+-%__p_%'` |
| 9712 echo $ac_n "checking for nlist.h""... $ac_c" 1>&6 | 9740 echo $ac_n "checking for nlist.h""... $ac_c" 1>&6 |
| 9713 echo "configure:9714: checking for nlist.h" >&5 | 9741 echo "configure:9742: checking for nlist.h" >&5 |
| 9714 | 9742 |
| 9715 cat > conftest.$ac_ext <<EOF | 9743 cat > conftest.$ac_ext <<EOF |
| 9716 #line 9717 "configure" | 9744 #line 9745 "configure" |
| 9717 #include "confdefs.h" | 9745 #include "confdefs.h" |
| 9718 #include <nlist.h> | 9746 #include <nlist.h> |
| 9719 EOF | 9747 EOF |
| 9720 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9748 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 9721 { (eval echo configure:9722: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9749 { (eval echo configure:9750: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 9722 ac_err=`grep -v '^ *+' conftest.out` | 9750 ac_err=`grep -v '^ *+' conftest.out` |
| 9723 if test -z "$ac_err"; then | 9751 if test -z "$ac_err"; then |
| 9724 rm -rf conftest* | 9752 rm -rf conftest* |
| 9725 eval "ac_cv_header_$ac_safe=yes" | 9753 eval "ac_cv_header_$ac_safe=yes" |
| 9726 else | 9754 else |
| 9746 fi | 9774 fi |
| 9747 | 9775 |
| 9748 | 9776 |
| 9749 | 9777 |
| 9750 echo "checking "for sound support"" 1>&6 | 9778 echo "checking "for sound support"" 1>&6 |
| 9751 echo "configure:9752: checking "for sound support"" >&5 | 9779 echo "configure:9780: checking "for sound support"" >&5 |
| 9752 case "$with_sound" in | 9780 case "$with_sound" in |
| 9753 native | both ) with_native_sound=yes;; | 9781 native | both ) with_native_sound=yes;; |
| 9754 nas | no ) with_native_sound=no;; | 9782 nas | no ) with_native_sound=no;; |
| 9755 esac | 9783 esac |
| 9756 test -z "$with_native_sound" -a -n "$native_sound_lib" && with_native_sound=yes | 9784 test -z "$with_native_sound" -a -n "$native_sound_lib" && with_native_sound=yes |
| 9757 | 9785 |
| 9758 if test "$with_native_sound" != "no"; then | 9786 if test "$with_native_sound" != "no"; then |
| 9759 if test -n "$native_sound_lib"; then | 9787 if test -n "$native_sound_lib"; then |
| 9760 ac_safe=`echo "multimedia/audio_device.h" | sed 'y%./+-%__p_%'` | 9788 ac_safe=`echo "multimedia/audio_device.h" | sed 'y%./+-%__p_%'` |
| 9761 echo $ac_n "checking for multimedia/audio_device.h""... $ac_c" 1>&6 | 9789 echo $ac_n "checking for multimedia/audio_device.h""... $ac_c" 1>&6 |
| 9762 echo "configure:9763: checking for multimedia/audio_device.h" >&5 | 9790 echo "configure:9791: checking for multimedia/audio_device.h" >&5 |
| 9763 | 9791 |
| 9764 cat > conftest.$ac_ext <<EOF | 9792 cat > conftest.$ac_ext <<EOF |
| 9765 #line 9766 "configure" | 9793 #line 9794 "configure" |
| 9766 #include "confdefs.h" | 9794 #include "confdefs.h" |
| 9767 #include <multimedia/audio_device.h> | 9795 #include <multimedia/audio_device.h> |
| 9768 EOF | 9796 EOF |
| 9769 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9797 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 9770 { (eval echo configure:9771: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9798 { (eval echo configure:9799: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 9771 ac_err=`grep -v '^ *+' conftest.out` | 9799 ac_err=`grep -v '^ *+' conftest.out` |
| 9772 if test -z "$ac_err"; then | 9800 if test -z "$ac_err"; then |
| 9773 rm -rf conftest* | 9801 rm -rf conftest* |
| 9774 eval "ac_cv_header_$ac_safe=yes" | 9802 eval "ac_cv_header_$ac_safe=yes" |
| 9775 else | 9803 else |
| 9813 case "$canonical" in | 9841 case "$canonical" in |
| 9814 *-sgi-* ) | 9842 *-sgi-* ) |
| 9815 if test -z "$native_sound_lib"; then | 9843 if test -z "$native_sound_lib"; then |
| 9816 | 9844 |
| 9817 echo $ac_n "checking for ALopenport in -laudio""... $ac_c" 1>&6 | 9845 echo $ac_n "checking for ALopenport in -laudio""... $ac_c" 1>&6 |
| 9818 echo "configure:9819: checking for ALopenport in -laudio" >&5 | 9846 echo "configure:9847: checking for ALopenport in -laudio" >&5 |
| 9819 ac_lib_var=`echo audio'_'ALopenport | sed 'y%./+-%__p_%'` | 9847 ac_lib_var=`echo audio'_'ALopenport | sed 'y%./+-%__p_%'` |
| 9820 | 9848 |
| 9821 xe_check_libs=" -laudio " | 9849 xe_check_libs=" -laudio " |
| 9822 cat > conftest.$ac_ext <<EOF | 9850 cat > conftest.$ac_ext <<EOF |
| 9823 #line 9824 "configure" | 9851 #line 9852 "configure" |
| 9824 #include "confdefs.h" | 9852 #include "confdefs.h" |
| 9825 /* Override any gcc2 internal prototype to avoid an error. */ | 9853 /* Override any gcc2 internal prototype to avoid an error. */ |
| 9826 /* We use char because int might match the return type of a gcc2 | 9854 /* We use char because int might match the return type of a gcc2 |
| 9827 builtin and then its argument prototype would still apply. */ | 9855 builtin and then its argument prototype would still apply. */ |
| 9828 char ALopenport(); | 9856 char ALopenport(); |
| 9829 | 9857 |
| 9830 int main() { | 9858 int main() { |
| 9831 ALopenport() | 9859 ALopenport() |
| 9832 ; return 0; } | 9860 ; return 0; } |
| 9833 EOF | 9861 EOF |
| 9834 if { (eval echo configure:9835: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 9862 if { (eval echo configure:9863: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 9835 rm -rf conftest* | 9863 rm -rf conftest* |
| 9836 eval "ac_cv_lib_$ac_lib_var=yes" | 9864 eval "ac_cv_lib_$ac_lib_var=yes" |
| 9837 else | 9865 else |
| 9838 echo "configure: failed program was:" >&5 | 9866 echo "configure: failed program was:" >&5 |
| 9839 cat conftest.$ac_ext >&5 | 9867 cat conftest.$ac_ext >&5 |
| 9860 fi ;; | 9888 fi ;; |
| 9861 hppa*-hp-hpux* ) | 9889 hppa*-hp-hpux* ) |
| 9862 if test -z "$native_sound_lib"; then | 9890 if test -z "$native_sound_lib"; then |
| 9863 | 9891 |
| 9864 echo $ac_n "checking for AOpenAudio in -lAlib""... $ac_c" 1>&6 | 9892 echo $ac_n "checking for AOpenAudio in -lAlib""... $ac_c" 1>&6 |
| 9865 echo "configure:9866: checking for AOpenAudio in -lAlib" >&5 | 9893 echo "configure:9894: checking for AOpenAudio in -lAlib" >&5 |
| 9866 ac_lib_var=`echo Alib'_'AOpenAudio | sed 'y%./+-%__p_%'` | 9894 ac_lib_var=`echo Alib'_'AOpenAudio | sed 'y%./+-%__p_%'` |
| 9867 | 9895 |
| 9868 xe_check_libs=" -lAlib " | 9896 xe_check_libs=" -lAlib " |
| 9869 cat > conftest.$ac_ext <<EOF | 9897 cat > conftest.$ac_ext <<EOF |
| 9870 #line 9871 "configure" | 9898 #line 9899 "configure" |
| 9871 #include "confdefs.h" | 9899 #include "confdefs.h" |
| 9872 /* Override any gcc2 internal prototype to avoid an error. */ | 9900 /* Override any gcc2 internal prototype to avoid an error. */ |
| 9873 /* We use char because int might match the return type of a gcc2 | 9901 /* We use char because int might match the return type of a gcc2 |
| 9874 builtin and then its argument prototype would still apply. */ | 9902 builtin and then its argument prototype would still apply. */ |
| 9875 char AOpenAudio(); | 9903 char AOpenAudio(); |
| 9876 | 9904 |
| 9877 int main() { | 9905 int main() { |
| 9878 AOpenAudio() | 9906 AOpenAudio() |
| 9879 ; return 0; } | 9907 ; return 0; } |
| 9880 EOF | 9908 EOF |
| 9881 if { (eval echo configure:9882: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 9909 if { (eval echo configure:9910: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 9882 rm -rf conftest* | 9910 rm -rf conftest* |
| 9883 eval "ac_cv_lib_$ac_lib_var=yes" | 9911 eval "ac_cv_lib_$ac_lib_var=yes" |
| 9884 else | 9912 else |
| 9885 echo "configure: failed program was:" >&5 | 9913 echo "configure: failed program was:" >&5 |
| 9886 cat conftest.$ac_ext >&5 | 9914 cat conftest.$ac_ext >&5 |
| 9914 | 9942 |
| 9915 if test -z "$sound_found"; then | 9943 if test -z "$sound_found"; then |
| 9916 for dir in "machine" "sys" "linux"; do | 9944 for dir in "machine" "sys" "linux"; do |
| 9917 ac_safe=`echo "${dir}/soundcard.h" | sed 'y%./+-%__p_%'` | 9945 ac_safe=`echo "${dir}/soundcard.h" | sed 'y%./+-%__p_%'` |
| 9918 echo $ac_n "checking for ${dir}/soundcard.h""... $ac_c" 1>&6 | 9946 echo $ac_n "checking for ${dir}/soundcard.h""... $ac_c" 1>&6 |
| 9919 echo "configure:9920: checking for ${dir}/soundcard.h" >&5 | 9947 echo "configure:9948: checking for ${dir}/soundcard.h" >&5 |
| 9920 | 9948 |
| 9921 cat > conftest.$ac_ext <<EOF | 9949 cat > conftest.$ac_ext <<EOF |
| 9922 #line 9923 "configure" | 9950 #line 9951 "configure" |
| 9923 #include "confdefs.h" | 9951 #include "confdefs.h" |
| 9924 #include <${dir}/soundcard.h> | 9952 #include <${dir}/soundcard.h> |
| 9925 EOF | 9953 EOF |
| 9926 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9954 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 9927 { (eval echo configure:9928: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9955 { (eval echo configure:9956: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 9928 ac_err=`grep -v '^ *+' conftest.out` | 9956 ac_err=`grep -v '^ *+' conftest.out` |
| 9929 if test -z "$ac_err"; then | 9957 if test -z "$ac_err"; then |
| 9930 rm -rf conftest* | 9958 rm -rf conftest* |
| 9931 eval "ac_cv_header_$ac_safe=yes" | 9959 eval "ac_cv_header_$ac_safe=yes" |
| 9932 else | 9960 else |
| 9992 extra_objs="$extra_objs nas.o" && if test "$extra_verbose" = "yes"; then | 10020 extra_objs="$extra_objs nas.o" && if test "$extra_verbose" = "yes"; then |
| 9993 echo " xemacs will be linked with \"nas.o\"" | 10021 echo " xemacs will be linked with \"nas.o\"" |
| 9994 fi | 10022 fi |
| 9995 libs_x="-laudio $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-laudio\" to \$libs_x"; fi | 10023 libs_x="-laudio $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-laudio\" to \$libs_x"; fi |
| 9996 cat > conftest.$ac_ext <<EOF | 10024 cat > conftest.$ac_ext <<EOF |
| 9997 #line 9998 "configure" | 10025 #line 10026 "configure" |
| 9998 #include "confdefs.h" | 10026 #include "confdefs.h" |
| 9999 #include <audio/Xtutil.h> | 10027 #include <audio/Xtutil.h> |
| 10000 EOF | 10028 EOF |
| 10001 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 10029 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
| 10002 egrep "AuXtErrorJump" >/dev/null 2>&1; then | 10030 egrep "AuXtErrorJump" >/dev/null 2>&1; then |
| 10019 | 10047 |
| 10020 test -z "$with_tty" && with_tty=yes | 10048 test -z "$with_tty" && with_tty=yes |
| 10021 | 10049 |
| 10022 if test "$with_tty" = "yes" ; then | 10050 if test "$with_tty" = "yes" ; then |
| 10023 echo "checking for TTY-related features" 1>&6 | 10051 echo "checking for TTY-related features" 1>&6 |
| 10024 echo "configure:10025: checking for TTY-related features" >&5 | 10052 echo "configure:10053: checking for TTY-related features" >&5 |
| 10025 { test "$extra_verbose" = "yes" && cat << \EOF | 10053 { test "$extra_verbose" = "yes" && cat << \EOF |
| 10026 Defining HAVE_TTY | 10054 Defining HAVE_TTY |
| 10027 EOF | 10055 EOF |
| 10028 cat >> confdefs.h <<\EOF | 10056 cat >> confdefs.h <<\EOF |
| 10029 #define HAVE_TTY 1 | 10057 #define HAVE_TTY 1 |
| 10035 fi | 10063 fi |
| 10036 | 10064 |
| 10037 if test -z "$with_ncurses"; then | 10065 if test -z "$with_ncurses"; then |
| 10038 | 10066 |
| 10039 echo $ac_n "checking for tgetent in -lncurses""... $ac_c" 1>&6 | 10067 echo $ac_n "checking for tgetent in -lncurses""... $ac_c" 1>&6 |
| 10040 echo "configure:10041: checking for tgetent in -lncurses" >&5 | 10068 echo "configure:10069: checking for tgetent in -lncurses" >&5 |
| 10041 ac_lib_var=`echo ncurses'_'tgetent | sed 'y%./+-%__p_%'` | 10069 ac_lib_var=`echo ncurses'_'tgetent | sed 'y%./+-%__p_%'` |
| 10042 | 10070 |
| 10043 xe_check_libs=" -lncurses " | 10071 xe_check_libs=" -lncurses " |
| 10044 cat > conftest.$ac_ext <<EOF | 10072 cat > conftest.$ac_ext <<EOF |
| 10045 #line 10046 "configure" | 10073 #line 10074 "configure" |
| 10046 #include "confdefs.h" | 10074 #include "confdefs.h" |
| 10047 /* Override any gcc2 internal prototype to avoid an error. */ | 10075 /* Override any gcc2 internal prototype to avoid an error. */ |
| 10048 /* We use char because int might match the return type of a gcc2 | 10076 /* We use char because int might match the return type of a gcc2 |
| 10049 builtin and then its argument prototype would still apply. */ | 10077 builtin and then its argument prototype would still apply. */ |
| 10050 char tgetent(); | 10078 char tgetent(); |
| 10051 | 10079 |
| 10052 int main() { | 10080 int main() { |
| 10053 tgetent() | 10081 tgetent() |
| 10054 ; return 0; } | 10082 ; return 0; } |
| 10055 EOF | 10083 EOF |
| 10056 if { (eval echo configure:10057: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 10084 if { (eval echo configure:10085: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 10057 rm -rf conftest* | 10085 rm -rf conftest* |
| 10058 eval "ac_cv_lib_$ac_lib_var=yes" | 10086 eval "ac_cv_lib_$ac_lib_var=yes" |
| 10059 else | 10087 else |
| 10060 echo "configure: failed program was:" >&5 | 10088 echo "configure: failed program was:" >&5 |
| 10061 cat conftest.$ac_ext >&5 | 10089 cat conftest.$ac_ext >&5 |
| 10084 EOF | 10112 EOF |
| 10085 } | 10113 } |
| 10086 | 10114 |
| 10087 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` | 10115 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` |
| 10088 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 | 10116 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 |
| 10089 echo "configure:10090: checking for ncurses/curses.h" >&5 | 10117 echo "configure:10118: checking for ncurses/curses.h" >&5 |
| 10090 | 10118 |
| 10091 cat > conftest.$ac_ext <<EOF | 10119 cat > conftest.$ac_ext <<EOF |
| 10092 #line 10093 "configure" | 10120 #line 10121 "configure" |
| 10093 #include "confdefs.h" | 10121 #include "confdefs.h" |
| 10094 #include <ncurses/curses.h> | 10122 #include <ncurses/curses.h> |
| 10095 EOF | 10123 EOF |
| 10096 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10124 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 10097 { (eval echo configure:10098: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10125 { (eval echo configure:10126: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 10098 ac_err=`grep -v '^ *+' conftest.out` | 10126 ac_err=`grep -v '^ *+' conftest.out` |
| 10099 if test -z "$ac_err"; then | 10127 if test -z "$ac_err"; then |
| 10100 rm -rf conftest* | 10128 rm -rf conftest* |
| 10101 eval "ac_cv_header_$ac_safe=yes" | 10129 eval "ac_cv_header_$ac_safe=yes" |
| 10102 else | 10130 else |
| 10114 echo "$ac_t""no" 1>&6 | 10142 echo "$ac_t""no" 1>&6 |
| 10115 fi | 10143 fi |
| 10116 | 10144 |
| 10117 ac_safe=`echo "ncurses/term.h" | sed 'y%./+-%__p_%'` | 10145 ac_safe=`echo "ncurses/term.h" | sed 'y%./+-%__p_%'` |
| 10118 echo $ac_n "checking for ncurses/term.h""... $ac_c" 1>&6 | 10146 echo $ac_n "checking for ncurses/term.h""... $ac_c" 1>&6 |
| 10119 echo "configure:10120: checking for ncurses/term.h" >&5 | 10147 echo "configure:10148: checking for ncurses/term.h" >&5 |
| 10120 | 10148 |
| 10121 cat > conftest.$ac_ext <<EOF | 10149 cat > conftest.$ac_ext <<EOF |
| 10122 #line 10123 "configure" | 10150 #line 10151 "configure" |
| 10123 #include "confdefs.h" | 10151 #include "confdefs.h" |
| 10124 #include <ncurses/term.h> | 10152 #include <ncurses/term.h> |
| 10125 EOF | 10153 EOF |
| 10126 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10154 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 10127 { (eval echo configure:10128: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10155 { (eval echo configure:10156: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 10128 ac_err=`grep -v '^ *+' conftest.out` | 10156 ac_err=`grep -v '^ *+' conftest.out` |
| 10129 if test -z "$ac_err"; then | 10157 if test -z "$ac_err"; then |
| 10130 rm -rf conftest* | 10158 rm -rf conftest* |
| 10131 eval "ac_cv_header_$ac_safe=yes" | 10159 eval "ac_cv_header_$ac_safe=yes" |
| 10132 else | 10160 else |
| 10152 if test "$ac_cv_header_ncurses_curses_h" != "yes" ; then | 10180 if test "$ac_cv_header_ncurses_curses_h" != "yes" ; then |
| 10153 save_c_switch_site="$c_switch_site" | 10181 save_c_switch_site="$c_switch_site" |
| 10154 c_switch_site="$c_switch_site -I/usr/include/ncurses" | 10182 c_switch_site="$c_switch_site -I/usr/include/ncurses" |
| 10155 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` | 10183 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` |
| 10156 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 | 10184 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 |
| 10157 echo "configure:10158: checking for ncurses/curses.h" >&5 | 10185 echo "configure:10186: checking for ncurses/curses.h" >&5 |
| 10158 | 10186 |
| 10159 cat > conftest.$ac_ext <<EOF | 10187 cat > conftest.$ac_ext <<EOF |
| 10160 #line 10161 "configure" | 10188 #line 10189 "configure" |
| 10161 #include "confdefs.h" | 10189 #include "confdefs.h" |
| 10162 #include <ncurses/curses.h> | 10190 #include <ncurses/curses.h> |
| 10163 EOF | 10191 EOF |
| 10164 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10192 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 10165 { (eval echo configure:10166: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10193 { (eval echo configure:10194: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 10166 ac_err=`grep -v '^ *+' conftest.out` | 10194 ac_err=`grep -v '^ *+' conftest.out` |
| 10167 if test -z "$ac_err"; then | 10195 if test -z "$ac_err"; then |
| 10168 rm -rf conftest* | 10196 rm -rf conftest* |
| 10169 eval "ac_cv_header_$ac_safe=yes" | 10197 eval "ac_cv_header_$ac_safe=yes" |
| 10170 else | 10198 else |
| 10195 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi | 10223 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi |
| 10196 else | 10224 else |
| 10197 for lib in curses termlib termcap; do | 10225 for lib in curses termlib termcap; do |
| 10198 | 10226 |
| 10199 echo $ac_n "checking for tgetent in -l$lib""... $ac_c" 1>&6 | 10227 echo $ac_n "checking for tgetent in -l$lib""... $ac_c" 1>&6 |
| 10200 echo "configure:10201: checking for tgetent in -l$lib" >&5 | 10228 echo "configure:10229: checking for tgetent in -l$lib" >&5 |
| 10201 ac_lib_var=`echo $lib'_'tgetent | sed 'y%./+-%__p_%'` | 10229 ac_lib_var=`echo $lib'_'tgetent | sed 'y%./+-%__p_%'` |
| 10202 | 10230 |
| 10203 xe_check_libs=" -l$lib " | 10231 xe_check_libs=" -l$lib " |
| 10204 cat > conftest.$ac_ext <<EOF | 10232 cat > conftest.$ac_ext <<EOF |
| 10205 #line 10206 "configure" | 10233 #line 10234 "configure" |
| 10206 #include "confdefs.h" | 10234 #include "confdefs.h" |
| 10207 /* Override any gcc2 internal prototype to avoid an error. */ | 10235 /* Override any gcc2 internal prototype to avoid an error. */ |
| 10208 /* We use char because int might match the return type of a gcc2 | 10236 /* We use char because int might match the return type of a gcc2 |
| 10209 builtin and then its argument prototype would still apply. */ | 10237 builtin and then its argument prototype would still apply. */ |
| 10210 char tgetent(); | 10238 char tgetent(); |
| 10211 | 10239 |
| 10212 int main() { | 10240 int main() { |
| 10213 tgetent() | 10241 tgetent() |
| 10214 ; return 0; } | 10242 ; return 0; } |
| 10215 EOF | 10243 EOF |
| 10216 if { (eval echo configure:10217: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 10244 if { (eval echo configure:10245: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 10217 rm -rf conftest* | 10245 rm -rf conftest* |
| 10218 eval "ac_cv_lib_$ac_lib_var=yes" | 10246 eval "ac_cv_lib_$ac_lib_var=yes" |
| 10219 else | 10247 else |
| 10220 echo "configure: failed program was:" >&5 | 10248 echo "configure: failed program was:" >&5 |
| 10221 cat conftest.$ac_ext >&5 | 10249 cat conftest.$ac_ext >&5 |
| 10242 if test -n "$libs_termcap"; then | 10270 if test -n "$libs_termcap"; then |
| 10243 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi | 10271 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi |
| 10244 else | 10272 else |
| 10245 | 10273 |
| 10246 echo $ac_n "checking for tgetent in -lcurses""... $ac_c" 1>&6 | 10274 echo $ac_n "checking for tgetent in -lcurses""... $ac_c" 1>&6 |
| 10247 echo "configure:10248: checking for tgetent in -lcurses" >&5 | 10275 echo "configure:10276: checking for tgetent in -lcurses" >&5 |
| 10248 ac_lib_var=`echo curses'_'tgetent | sed 'y%./+-%__p_%'` | 10276 ac_lib_var=`echo curses'_'tgetent | sed 'y%./+-%__p_%'` |
| 10249 | 10277 |
| 10250 xe_check_libs=" -lcurses " | 10278 xe_check_libs=" -lcurses " |
| 10251 cat > conftest.$ac_ext <<EOF | 10279 cat > conftest.$ac_ext <<EOF |
| 10252 #line 10253 "configure" | 10280 #line 10281 "configure" |
| 10253 #include "confdefs.h" | 10281 #include "confdefs.h" |
| 10254 /* Override any gcc2 internal prototype to avoid an error. */ | 10282 /* Override any gcc2 internal prototype to avoid an error. */ |
| 10255 /* We use char because int might match the return type of a gcc2 | 10283 /* We use char because int might match the return type of a gcc2 |
| 10256 builtin and then its argument prototype would still apply. */ | 10284 builtin and then its argument prototype would still apply. */ |
| 10257 char tgetent(); | 10285 char tgetent(); |
| 10258 | 10286 |
| 10259 int main() { | 10287 int main() { |
| 10260 tgetent() | 10288 tgetent() |
| 10261 ; return 0; } | 10289 ; return 0; } |
| 10262 EOF | 10290 EOF |
| 10263 if { (eval echo configure:10264: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 10291 if { (eval echo configure:10292: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 10264 rm -rf conftest* | 10292 rm -rf conftest* |
| 10265 eval "ac_cv_lib_$ac_lib_var=yes" | 10293 eval "ac_cv_lib_$ac_lib_var=yes" |
| 10266 else | 10294 else |
| 10267 echo "configure: failed program was:" >&5 | 10295 echo "configure: failed program was:" >&5 |
| 10268 cat conftest.$ac_ext >&5 | 10296 cat conftest.$ac_ext >&5 |
| 10276 echo "$ac_t""yes" 1>&6 | 10304 echo "$ac_t""yes" 1>&6 |
| 10277 LIBS="-lcurses $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lcurses\" to \$LIBS"; fi | 10305 LIBS="-lcurses $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lcurses\" to \$LIBS"; fi |
| 10278 else | 10306 else |
| 10279 echo "$ac_t""no" 1>&6 | 10307 echo "$ac_t""no" 1>&6 |
| 10280 echo $ac_n "checking for tgetent in -ltermcap""... $ac_c" 1>&6 | 10308 echo $ac_n "checking for tgetent in -ltermcap""... $ac_c" 1>&6 |
| 10281 echo "configure:10282: checking for tgetent in -ltermcap" >&5 | 10309 echo "configure:10310: checking for tgetent in -ltermcap" >&5 |
| 10282 ac_lib_var=`echo termcap'_'tgetent | sed 'y%./+-%__p_%'` | 10310 ac_lib_var=`echo termcap'_'tgetent | sed 'y%./+-%__p_%'` |
| 10283 | 10311 |
| 10284 xe_check_libs=" -ltermcap " | 10312 xe_check_libs=" -ltermcap " |
| 10285 cat > conftest.$ac_ext <<EOF | 10313 cat > conftest.$ac_ext <<EOF |
| 10286 #line 10287 "configure" | 10314 #line 10315 "configure" |
| 10287 #include "confdefs.h" | 10315 #include "confdefs.h" |
| 10288 /* Override any gcc2 internal prototype to avoid an error. */ | 10316 /* Override any gcc2 internal prototype to avoid an error. */ |
| 10289 /* We use char because int might match the return type of a gcc2 | 10317 /* We use char because int might match the return type of a gcc2 |
| 10290 builtin and then its argument prototype would still apply. */ | 10318 builtin and then its argument prototype would still apply. */ |
| 10291 char tgetent(); | 10319 char tgetent(); |
| 10292 | 10320 |
| 10293 int main() { | 10321 int main() { |
| 10294 tgetent() | 10322 tgetent() |
| 10295 ; return 0; } | 10323 ; return 0; } |
| 10296 EOF | 10324 EOF |
| 10297 if { (eval echo configure:10298: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 10325 if { (eval echo configure:10326: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 10298 rm -rf conftest* | 10326 rm -rf conftest* |
| 10299 eval "ac_cv_lib_$ac_lib_var=yes" | 10327 eval "ac_cv_lib_$ac_lib_var=yes" |
| 10300 else | 10328 else |
| 10301 echo "configure: failed program was:" >&5 | 10329 echo "configure: failed program was:" >&5 |
| 10302 cat conftest.$ac_ext >&5 | 10330 cat conftest.$ac_ext >&5 |
| 10340 } | 10368 } |
| 10341 | 10369 |
| 10342 | 10370 |
| 10343 test -z "$with_gpm" && { ac_safe=`echo "gpm.h" | sed 'y%./+-%__p_%'` | 10371 test -z "$with_gpm" && { ac_safe=`echo "gpm.h" | sed 'y%./+-%__p_%'` |
| 10344 echo $ac_n "checking for gpm.h""... $ac_c" 1>&6 | 10372 echo $ac_n "checking for gpm.h""... $ac_c" 1>&6 |
| 10345 echo "configure:10346: checking for gpm.h" >&5 | 10373 echo "configure:10374: checking for gpm.h" >&5 |
| 10346 | 10374 |
| 10347 cat > conftest.$ac_ext <<EOF | 10375 cat > conftest.$ac_ext <<EOF |
| 10348 #line 10349 "configure" | 10376 #line 10377 "configure" |
| 10349 #include "confdefs.h" | 10377 #include "confdefs.h" |
| 10350 #include <gpm.h> | 10378 #include <gpm.h> |
| 10351 EOF | 10379 EOF |
| 10352 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10380 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 10353 { (eval echo configure:10354: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10381 { (eval echo configure:10382: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 10354 ac_err=`grep -v '^ *+' conftest.out` | 10382 ac_err=`grep -v '^ *+' conftest.out` |
| 10355 if test -z "$ac_err"; then | 10383 if test -z "$ac_err"; then |
| 10356 rm -rf conftest* | 10384 rm -rf conftest* |
| 10357 eval "ac_cv_header_$ac_safe=yes" | 10385 eval "ac_cv_header_$ac_safe=yes" |
| 10358 else | 10386 else |
| 10371 with_gpm=no | 10399 with_gpm=no |
| 10372 fi | 10400 fi |
| 10373 } | 10401 } |
| 10374 test -z "$with_gpm" && { | 10402 test -z "$with_gpm" && { |
| 10375 echo $ac_n "checking for Gpm_Open in -lgpm""... $ac_c" 1>&6 | 10403 echo $ac_n "checking for Gpm_Open in -lgpm""... $ac_c" 1>&6 |
| 10376 echo "configure:10377: checking for Gpm_Open in -lgpm" >&5 | 10404 echo "configure:10405: checking for Gpm_Open in -lgpm" >&5 |
| 10377 ac_lib_var=`echo gpm'_'Gpm_Open | sed 'y%./+-%__p_%'` | 10405 ac_lib_var=`echo gpm'_'Gpm_Open | sed 'y%./+-%__p_%'` |
| 10378 | 10406 |
| 10379 xe_check_libs=" -lgpm " | 10407 xe_check_libs=" -lgpm " |
| 10380 cat > conftest.$ac_ext <<EOF | 10408 cat > conftest.$ac_ext <<EOF |
| 10381 #line 10382 "configure" | 10409 #line 10410 "configure" |
| 10382 #include "confdefs.h" | 10410 #include "confdefs.h" |
| 10383 /* Override any gcc2 internal prototype to avoid an error. */ | 10411 /* Override any gcc2 internal prototype to avoid an error. */ |
| 10384 /* We use char because int might match the return type of a gcc2 | 10412 /* We use char because int might match the return type of a gcc2 |
| 10385 builtin and then its argument prototype would still apply. */ | 10413 builtin and then its argument prototype would still apply. */ |
| 10386 char Gpm_Open(); | 10414 char Gpm_Open(); |
| 10387 | 10415 |
| 10388 int main() { | 10416 int main() { |
| 10389 Gpm_Open() | 10417 Gpm_Open() |
| 10390 ; return 0; } | 10418 ; return 0; } |
| 10391 EOF | 10419 EOF |
| 10392 if { (eval echo configure:10393: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 10420 if { (eval echo configure:10421: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 10393 rm -rf conftest* | 10421 rm -rf conftest* |
| 10394 eval "ac_cv_lib_$ac_lib_var=yes" | 10422 eval "ac_cv_lib_$ac_lib_var=yes" |
| 10395 else | 10423 else |
| 10396 echo "configure: failed program was:" >&5 | 10424 echo "configure: failed program was:" >&5 |
| 10397 cat conftest.$ac_ext >&5 | 10425 cat conftest.$ac_ext >&5 |
| 10436 echo " xemacs will be linked with \"event-unixoid.o\"" | 10464 echo " xemacs will be linked with \"event-unixoid.o\"" |
| 10437 fi | 10465 fi |
| 10438 | 10466 |
| 10439 | 10467 |
| 10440 echo "checking for database support" 1>&6 | 10468 echo "checking for database support" 1>&6 |
| 10441 echo "configure:10442: checking for database support" >&5 | 10469 echo "configure:10470: checking for database support" >&5 |
| 10442 | 10470 |
| 10443 if test "$with_database_gnudbm" != "no"; then | 10471 if test "$with_database_gnudbm" != "no"; then |
| 10444 for ac_hdr in ndbm.h | 10472 for ac_hdr in ndbm.h |
| 10445 do | 10473 do |
| 10446 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 10474 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
| 10447 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 10475 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
| 10448 echo "configure:10449: checking for $ac_hdr" >&5 | 10476 echo "configure:10477: checking for $ac_hdr" >&5 |
| 10449 | 10477 |
| 10450 cat > conftest.$ac_ext <<EOF | 10478 cat > conftest.$ac_ext <<EOF |
| 10451 #line 10452 "configure" | 10479 #line 10480 "configure" |
| 10452 #include "confdefs.h" | 10480 #include "confdefs.h" |
| 10453 #include <$ac_hdr> | 10481 #include <$ac_hdr> |
| 10454 EOF | 10482 EOF |
| 10455 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10483 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 10456 { (eval echo configure:10457: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10484 { (eval echo configure:10485: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 10457 ac_err=`grep -v '^ *+' conftest.out` | 10485 ac_err=`grep -v '^ *+' conftest.out` |
| 10458 if test -z "$ac_err"; then | 10486 if test -z "$ac_err"; then |
| 10459 rm -rf conftest* | 10487 rm -rf conftest* |
| 10460 eval "ac_cv_header_$ac_safe=yes" | 10488 eval "ac_cv_header_$ac_safe=yes" |
| 10461 else | 10489 else |
| 10483 done | 10511 done |
| 10484 | 10512 |
| 10485 if test "$have_ndbm_h" = "yes"; then | 10513 if test "$have_ndbm_h" = "yes"; then |
| 10486 | 10514 |
| 10487 echo $ac_n "checking for dbm_open in -lgdbm""... $ac_c" 1>&6 | 10515 echo $ac_n "checking for dbm_open in -lgdbm""... $ac_c" 1>&6 |
| 10488 echo "configure:10489: checking for dbm_open in -lgdbm" >&5 | 10516 echo "configure:10517: checking for dbm_open in -lgdbm" >&5 |
| 10489 ac_lib_var=`echo gdbm'_'dbm_open | sed 'y%./+-%__p_%'` | 10517 ac_lib_var=`echo gdbm'_'dbm_open | sed 'y%./+-%__p_%'` |
| 10490 | 10518 |
| 10491 xe_check_libs=" -lgdbm " | 10519 xe_check_libs=" -lgdbm " |
| 10492 cat > conftest.$ac_ext <<EOF | 10520 cat > conftest.$ac_ext <<EOF |
| 10493 #line 10494 "configure" | 10521 #line 10522 "configure" |
| 10494 #include "confdefs.h" | 10522 #include "confdefs.h" |
| 10495 /* Override any gcc2 internal prototype to avoid an error. */ | 10523 /* Override any gcc2 internal prototype to avoid an error. */ |
| 10496 /* We use char because int might match the return type of a gcc2 | 10524 /* We use char because int might match the return type of a gcc2 |
| 10497 builtin and then its argument prototype would still apply. */ | 10525 builtin and then its argument prototype would still apply. */ |
| 10498 char dbm_open(); | 10526 char dbm_open(); |
| 10499 | 10527 |
| 10500 int main() { | 10528 int main() { |
| 10501 dbm_open() | 10529 dbm_open() |
| 10502 ; return 0; } | 10530 ; return 0; } |
| 10503 EOF | 10531 EOF |
| 10504 if { (eval echo configure:10505: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 10532 if { (eval echo configure:10533: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 10505 rm -rf conftest* | 10533 rm -rf conftest* |
| 10506 eval "ac_cv_lib_$ac_lib_var=yes" | 10534 eval "ac_cv_lib_$ac_lib_var=yes" |
| 10507 else | 10535 else |
| 10508 echo "configure: failed program was:" >&5 | 10536 echo "configure: failed program was:" >&5 |
| 10509 cat conftest.$ac_ext >&5 | 10537 cat conftest.$ac_ext >&5 |
| 10522 | 10550 |
| 10523 | 10551 |
| 10524 fi | 10552 fi |
| 10525 if test "$with_database_gnudbm" != "yes"; then | 10553 if test "$with_database_gnudbm" != "yes"; then |
| 10526 echo $ac_n "checking for dbm_open""... $ac_c" 1>&6 | 10554 echo $ac_n "checking for dbm_open""... $ac_c" 1>&6 |
| 10527 echo "configure:10528: checking for dbm_open" >&5 | 10555 echo "configure:10556: checking for dbm_open" >&5 |
| 10528 | 10556 |
| 10529 cat > conftest.$ac_ext <<EOF | 10557 cat > conftest.$ac_ext <<EOF |
| 10530 #line 10531 "configure" | 10558 #line 10559 "configure" |
| 10531 #include "confdefs.h" | 10559 #include "confdefs.h" |
| 10532 /* System header to define __stub macros and hopefully few prototypes, | 10560 /* System header to define __stub macros and hopefully few prototypes, |
| 10533 which can conflict with char dbm_open(); below. */ | 10561 which can conflict with char dbm_open(); below. */ |
| 10534 #include <assert.h> | 10562 #include <assert.h> |
| 10535 /* Override any gcc2 internal prototype to avoid an error. */ | 10563 /* Override any gcc2 internal prototype to avoid an error. */ |
| 10548 dbm_open(); | 10576 dbm_open(); |
| 10549 #endif | 10577 #endif |
| 10550 | 10578 |
| 10551 ; return 0; } | 10579 ; return 0; } |
| 10552 EOF | 10580 EOF |
| 10553 if { (eval echo configure:10554: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 10581 if { (eval echo configure:10582: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 10554 rm -rf conftest* | 10582 rm -rf conftest* |
| 10555 eval "ac_cv_func_dbm_open=yes" | 10583 eval "ac_cv_func_dbm_open=yes" |
| 10556 else | 10584 else |
| 10557 echo "configure: failed program was:" >&5 | 10585 echo "configure: failed program was:" >&5 |
| 10558 cat conftest.$ac_ext >&5 | 10586 cat conftest.$ac_ext >&5 |
| 10584 fi | 10612 fi |
| 10585 fi | 10613 fi |
| 10586 | 10614 |
| 10587 if test "$with_database_dbm" != "no"; then | 10615 if test "$with_database_dbm" != "no"; then |
| 10588 echo $ac_n "checking for dbm_open""... $ac_c" 1>&6 | 10616 echo $ac_n "checking for dbm_open""... $ac_c" 1>&6 |
| 10589 echo "configure:10590: checking for dbm_open" >&5 | 10617 echo "configure:10618: checking for dbm_open" >&5 |
| 10590 | 10618 |
| 10591 cat > conftest.$ac_ext <<EOF | 10619 cat > conftest.$ac_ext <<EOF |
| 10592 #line 10593 "configure" | 10620 #line 10621 "configure" |
| 10593 #include "confdefs.h" | 10621 #include "confdefs.h" |
| 10594 /* System header to define __stub macros and hopefully few prototypes, | 10622 /* System header to define __stub macros and hopefully few prototypes, |
| 10595 which can conflict with char dbm_open(); below. */ | 10623 which can conflict with char dbm_open(); below. */ |
| 10596 #include <assert.h> | 10624 #include <assert.h> |
| 10597 /* Override any gcc2 internal prototype to avoid an error. */ | 10625 /* Override any gcc2 internal prototype to avoid an error. */ |
| 10610 dbm_open(); | 10638 dbm_open(); |
| 10611 #endif | 10639 #endif |
| 10612 | 10640 |
| 10613 ; return 0; } | 10641 ; return 0; } |
| 10614 EOF | 10642 EOF |
| 10615 if { (eval echo configure:10616: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 10643 if { (eval echo configure:10644: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 10616 rm -rf conftest* | 10644 rm -rf conftest* |
| 10617 eval "ac_cv_func_dbm_open=yes" | 10645 eval "ac_cv_func_dbm_open=yes" |
| 10618 else | 10646 else |
| 10619 echo "configure: failed program was:" >&5 | 10647 echo "configure: failed program was:" >&5 |
| 10620 cat conftest.$ac_ext >&5 | 10648 cat conftest.$ac_ext >&5 |
| 10631 fi | 10659 fi |
| 10632 | 10660 |
| 10633 if test "$need_libdbm" != "no"; then | 10661 if test "$need_libdbm" != "no"; then |
| 10634 | 10662 |
| 10635 echo $ac_n "checking for dbm_open in -ldbm""... $ac_c" 1>&6 | 10663 echo $ac_n "checking for dbm_open in -ldbm""... $ac_c" 1>&6 |
| 10636 echo "configure:10637: checking for dbm_open in -ldbm" >&5 | 10664 echo "configure:10665: checking for dbm_open in -ldbm" >&5 |
| 10637 ac_lib_var=`echo dbm'_'dbm_open | sed 'y%./+-%__p_%'` | 10665 ac_lib_var=`echo dbm'_'dbm_open | sed 'y%./+-%__p_%'` |
| 10638 | 10666 |
| 10639 xe_check_libs=" -ldbm " | 10667 xe_check_libs=" -ldbm " |
| 10640 cat > conftest.$ac_ext <<EOF | 10668 cat > conftest.$ac_ext <<EOF |
| 10641 #line 10642 "configure" | 10669 #line 10670 "configure" |
| 10642 #include "confdefs.h" | 10670 #include "confdefs.h" |
| 10643 /* Override any gcc2 internal prototype to avoid an error. */ | 10671 /* Override any gcc2 internal prototype to avoid an error. */ |
| 10644 /* We use char because int might match the return type of a gcc2 | 10672 /* We use char because int might match the return type of a gcc2 |
| 10645 builtin and then its argument prototype would still apply. */ | 10673 builtin and then its argument prototype would still apply. */ |
| 10646 char dbm_open(); | 10674 char dbm_open(); |
| 10647 | 10675 |
| 10648 int main() { | 10676 int main() { |
| 10649 dbm_open() | 10677 dbm_open() |
| 10650 ; return 0; } | 10678 ; return 0; } |
| 10651 EOF | 10679 EOF |
| 10652 if { (eval echo configure:10653: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 10680 if { (eval echo configure:10681: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 10653 rm -rf conftest* | 10681 rm -rf conftest* |
| 10654 eval "ac_cv_lib_$ac_lib_var=yes" | 10682 eval "ac_cv_lib_$ac_lib_var=yes" |
| 10655 else | 10683 else |
| 10656 echo "configure: failed program was:" >&5 | 10684 echo "configure: failed program was:" >&5 |
| 10657 cat conftest.$ac_ext >&5 | 10685 cat conftest.$ac_ext >&5 |
| 10684 fi | 10712 fi |
| 10685 fi | 10713 fi |
| 10686 | 10714 |
| 10687 if test "$with_database_berkdb" != "no"; then | 10715 if test "$with_database_berkdb" != "no"; then |
| 10688 echo $ac_n "checking for dbopen""... $ac_c" 1>&6 | 10716 echo $ac_n "checking for dbopen""... $ac_c" 1>&6 |
| 10689 echo "configure:10690: checking for dbopen" >&5 | 10717 echo "configure:10718: checking for dbopen" >&5 |
| 10690 | 10718 |
| 10691 cat > conftest.$ac_ext <<EOF | 10719 cat > conftest.$ac_ext <<EOF |
| 10692 #line 10693 "configure" | 10720 #line 10721 "configure" |
| 10693 #include "confdefs.h" | 10721 #include "confdefs.h" |
| 10694 /* System header to define __stub macros and hopefully few prototypes, | 10722 /* System header to define __stub macros and hopefully few prototypes, |
| 10695 which can conflict with char dbopen(); below. */ | 10723 which can conflict with char dbopen(); below. */ |
| 10696 #include <assert.h> | 10724 #include <assert.h> |
| 10697 /* Override any gcc2 internal prototype to avoid an error. */ | 10725 /* Override any gcc2 internal prototype to avoid an error. */ |
| 10710 dbopen(); | 10738 dbopen(); |
| 10711 #endif | 10739 #endif |
| 10712 | 10740 |
| 10713 ; return 0; } | 10741 ; return 0; } |
| 10714 EOF | 10742 EOF |
| 10715 if { (eval echo configure:10716: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 10743 if { (eval echo configure:10744: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 10716 rm -rf conftest* | 10744 rm -rf conftest* |
| 10717 eval "ac_cv_func_dbopen=yes" | 10745 eval "ac_cv_func_dbopen=yes" |
| 10718 else | 10746 else |
| 10719 echo "configure: failed program was:" >&5 | 10747 echo "configure: failed program was:" >&5 |
| 10720 cat conftest.$ac_ext >&5 | 10748 cat conftest.$ac_ext >&5 |
| 10731 fi | 10759 fi |
| 10732 | 10760 |
| 10733 if test "$need_libdb" != "no"; then | 10761 if test "$need_libdb" != "no"; then |
| 10734 | 10762 |
| 10735 echo $ac_n "checking for dbopen in -ldb""... $ac_c" 1>&6 | 10763 echo $ac_n "checking for dbopen in -ldb""... $ac_c" 1>&6 |
| 10736 echo "configure:10737: checking for dbopen in -ldb" >&5 | 10764 echo "configure:10765: checking for dbopen in -ldb" >&5 |
| 10737 ac_lib_var=`echo db'_'dbopen | sed 'y%./+-%__p_%'` | 10765 ac_lib_var=`echo db'_'dbopen | sed 'y%./+-%__p_%'` |
| 10738 | 10766 |
| 10739 xe_check_libs=" -ldb " | 10767 xe_check_libs=" -ldb " |
| 10740 cat > conftest.$ac_ext <<EOF | 10768 cat > conftest.$ac_ext <<EOF |
| 10741 #line 10742 "configure" | 10769 #line 10770 "configure" |
| 10742 #include "confdefs.h" | 10770 #include "confdefs.h" |
| 10743 /* Override any gcc2 internal prototype to avoid an error. */ | 10771 /* Override any gcc2 internal prototype to avoid an error. */ |
| 10744 /* We use char because int might match the return type of a gcc2 | 10772 /* We use char because int might match the return type of a gcc2 |
| 10745 builtin and then its argument prototype would still apply. */ | 10773 builtin and then its argument prototype would still apply. */ |
| 10746 char dbopen(); | 10774 char dbopen(); |
| 10747 | 10775 |
| 10748 int main() { | 10776 int main() { |
| 10749 dbopen() | 10777 dbopen() |
| 10750 ; return 0; } | 10778 ; return 0; } |
| 10751 EOF | 10779 EOF |
| 10752 if { (eval echo configure:10753: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 10780 if { (eval echo configure:10781: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 10753 rm -rf conftest* | 10781 rm -rf conftest* |
| 10754 eval "ac_cv_lib_$ac_lib_var=yes" | 10782 eval "ac_cv_lib_$ac_lib_var=yes" |
| 10755 else | 10783 else |
| 10756 echo "configure: failed program was:" >&5 | 10784 echo "configure: failed program was:" >&5 |
| 10757 cat conftest.$ac_ext >&5 | 10785 cat conftest.$ac_ext >&5 |
| 10771 | 10799 |
| 10772 fi | 10800 fi |
| 10773 if test "$with_database_berkdb" = "yes"; then | 10801 if test "$with_database_berkdb" = "yes"; then |
| 10774 for path in "db/db.h" "db.h"; do | 10802 for path in "db/db.h" "db.h"; do |
| 10775 cat > conftest.$ac_ext <<EOF | 10803 cat > conftest.$ac_ext <<EOF |
| 10776 #line 10777 "configure" | 10804 #line 10805 "configure" |
| 10777 #include "confdefs.h" | 10805 #include "confdefs.h" |
| 10778 #ifdef HAVE_INTTYPES_H | 10806 #ifdef HAVE_INTTYPES_H |
| 10779 #define __BIT_TYPES_DEFINED__ | 10807 #define __BIT_TYPES_DEFINED__ |
| 10780 #include <inttypes.h> | 10808 #include <inttypes.h> |
| 10781 typedef uint8_t u_int8_t; | 10809 typedef uint8_t u_int8_t; |
| 10789 | 10817 |
| 10790 int main() { | 10818 int main() { |
| 10791 | 10819 |
| 10792 ; return 0; } | 10820 ; return 0; } |
| 10793 EOF | 10821 EOF |
| 10794 if { (eval echo configure:10795: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 10822 if { (eval echo configure:10823: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| 10795 rm -rf conftest* | 10823 rm -rf conftest* |
| 10796 db_h_path="$path"; break | 10824 db_h_path="$path"; break |
| 10797 else | 10825 else |
| 10798 echo "configure: failed program was:" >&5 | 10826 echo "configure: failed program was:" >&5 |
| 10799 cat conftest.$ac_ext >&5 | 10827 cat conftest.$ac_ext >&5 |
| 10840 fi | 10868 fi |
| 10841 | 10869 |
| 10842 if test "$with_socks" = "yes"; then | 10870 if test "$with_socks" = "yes"; then |
| 10843 | 10871 |
| 10844 echo $ac_n "checking for SOCKSinit in -lsocks""... $ac_c" 1>&6 | 10872 echo $ac_n "checking for SOCKSinit in -lsocks""... $ac_c" 1>&6 |
| 10845 echo "configure:10846: checking for SOCKSinit in -lsocks" >&5 | 10873 echo "configure:10874: checking for SOCKSinit in -lsocks" >&5 |
| 10846 ac_lib_var=`echo socks'_'SOCKSinit | sed 'y%./+-%__p_%'` | 10874 ac_lib_var=`echo socks'_'SOCKSinit | sed 'y%./+-%__p_%'` |
| 10847 | 10875 |
| 10848 xe_check_libs=" -lsocks " | 10876 xe_check_libs=" -lsocks " |
| 10849 cat > conftest.$ac_ext <<EOF | 10877 cat > conftest.$ac_ext <<EOF |
| 10850 #line 10851 "configure" | 10878 #line 10879 "configure" |
| 10851 #include "confdefs.h" | 10879 #include "confdefs.h" |
| 10852 /* Override any gcc2 internal prototype to avoid an error. */ | 10880 /* Override any gcc2 internal prototype to avoid an error. */ |
| 10853 /* We use char because int might match the return type of a gcc2 | 10881 /* We use char because int might match the return type of a gcc2 |
| 10854 builtin and then its argument prototype would still apply. */ | 10882 builtin and then its argument prototype would still apply. */ |
| 10855 char SOCKSinit(); | 10883 char SOCKSinit(); |
| 10856 | 10884 |
| 10857 int main() { | 10885 int main() { |
| 10858 SOCKSinit() | 10886 SOCKSinit() |
| 10859 ; return 0; } | 10887 ; return 0; } |
| 10860 EOF | 10888 EOF |
| 10861 if { (eval echo configure:10862: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 10889 if { (eval echo configure:10890: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 10862 rm -rf conftest* | 10890 rm -rf conftest* |
| 10863 eval "ac_cv_lib_$ac_lib_var=yes" | 10891 eval "ac_cv_lib_$ac_lib_var=yes" |
| 10864 else | 10892 else |
| 10865 echo "configure: failed program was:" >&5 | 10893 echo "configure: failed program was:" >&5 |
| 10866 cat conftest.$ac_ext >&5 | 10894 cat conftest.$ac_ext >&5 |
| 10913 | 10941 |
| 10914 for ac_hdr in dlfcn.h | 10942 for ac_hdr in dlfcn.h |
| 10915 do | 10943 do |
| 10916 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 10944 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
| 10917 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 10945 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
| 10918 echo "configure:10919: checking for $ac_hdr" >&5 | 10946 echo "configure:10947: checking for $ac_hdr" >&5 |
| 10919 | 10947 |
| 10920 cat > conftest.$ac_ext <<EOF | 10948 cat > conftest.$ac_ext <<EOF |
| 10921 #line 10922 "configure" | 10949 #line 10950 "configure" |
| 10922 #include "confdefs.h" | 10950 #include "confdefs.h" |
| 10923 #include <$ac_hdr> | 10951 #include <$ac_hdr> |
| 10924 EOF | 10952 EOF |
| 10925 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10953 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 10926 { (eval echo configure:10927: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10954 { (eval echo configure:10955: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 10927 ac_err=`grep -v '^ *+' conftest.out` | 10955 ac_err=`grep -v '^ *+' conftest.out` |
| 10928 if test -z "$ac_err"; then | 10956 if test -z "$ac_err"; then |
| 10929 rm -rf conftest* | 10957 rm -rf conftest* |
| 10930 eval "ac_cv_header_$ac_safe=yes" | 10958 eval "ac_cv_header_$ac_safe=yes" |
| 10931 else | 10959 else |
| 10952 fi | 10980 fi |
| 10953 done | 10981 done |
| 10954 | 10982 |
| 10955 test -z "$with_shlib" && test ! -z "$have_dlfcn" && { | 10983 test -z "$with_shlib" && test ! -z "$have_dlfcn" && { |
| 10956 echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6 | 10984 echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6 |
| 10957 echo "configure:10958: checking for dlopen in -ldl" >&5 | 10985 echo "configure:10986: checking for dlopen in -ldl" >&5 |
| 10958 ac_lib_var=`echo dl'_'dlopen | sed 'y%./+-%__p_%'` | 10986 ac_lib_var=`echo dl'_'dlopen | sed 'y%./+-%__p_%'` |
| 10959 | 10987 |
| 10960 xe_check_libs=" -ldl " | 10988 xe_check_libs=" -ldl " |
| 10961 cat > conftest.$ac_ext <<EOF | 10989 cat > conftest.$ac_ext <<EOF |
| 10962 #line 10963 "configure" | 10990 #line 10991 "configure" |
| 10963 #include "confdefs.h" | 10991 #include "confdefs.h" |
| 10964 /* Override any gcc2 internal prototype to avoid an error. */ | 10992 /* Override any gcc2 internal prototype to avoid an error. */ |
| 10965 /* We use char because int might match the return type of a gcc2 | 10993 /* We use char because int might match the return type of a gcc2 |
| 10966 builtin and then its argument prototype would still apply. */ | 10994 builtin and then its argument prototype would still apply. */ |
| 10967 char dlopen(); | 10995 char dlopen(); |
| 10968 | 10996 |
| 10969 int main() { | 10997 int main() { |
| 10970 dlopen() | 10998 dlopen() |
| 10971 ; return 0; } | 10999 ; return 0; } |
| 10972 EOF | 11000 EOF |
| 10973 if { (eval echo configure:10974: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 11001 if { (eval echo configure:11002: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 10974 rm -rf conftest* | 11002 rm -rf conftest* |
| 10975 eval "ac_cv_lib_$ac_lib_var=yes" | 11003 eval "ac_cv_lib_$ac_lib_var=yes" |
| 10976 else | 11004 else |
| 10977 echo "configure: failed program was:" >&5 | 11005 echo "configure: failed program was:" >&5 |
| 10978 cat conftest.$ac_ext >&5 | 11006 cat conftest.$ac_ext >&5 |
| 10997 fi | 11025 fi |
| 10998 | 11026 |
| 10999 } | 11027 } |
| 11000 test -z "$with_shlib" && test ! -z "$have_dlfcn" && { | 11028 test -z "$with_shlib" && test ! -z "$have_dlfcn" && { |
| 11001 echo $ac_n "checking for _dlopen in -lc""... $ac_c" 1>&6 | 11029 echo $ac_n "checking for _dlopen in -lc""... $ac_c" 1>&6 |
| 11002 echo "configure:11003: checking for _dlopen in -lc" >&5 | 11030 echo "configure:11031: checking for _dlopen in -lc" >&5 |
| 11003 ac_lib_var=`echo c'_'_dlopen | sed 'y%./+-%__p_%'` | 11031 ac_lib_var=`echo c'_'_dlopen | sed 'y%./+-%__p_%'` |
| 11004 | 11032 |
| 11005 xe_check_libs=" -lc " | 11033 xe_check_libs=" -lc " |
| 11006 cat > conftest.$ac_ext <<EOF | 11034 cat > conftest.$ac_ext <<EOF |
| 11007 #line 11008 "configure" | 11035 #line 11036 "configure" |
| 11008 #include "confdefs.h" | 11036 #include "confdefs.h" |
| 11009 /* Override any gcc2 internal prototype to avoid an error. */ | 11037 /* Override any gcc2 internal prototype to avoid an error. */ |
| 11010 /* We use char because int might match the return type of a gcc2 | 11038 /* We use char because int might match the return type of a gcc2 |
| 11011 builtin and then its argument prototype would still apply. */ | 11039 builtin and then its argument prototype would still apply. */ |
| 11012 char _dlopen(); | 11040 char _dlopen(); |
| 11013 | 11041 |
| 11014 int main() { | 11042 int main() { |
| 11015 _dlopen() | 11043 _dlopen() |
| 11016 ; return 0; } | 11044 ; return 0; } |
| 11017 EOF | 11045 EOF |
| 11018 if { (eval echo configure:11019: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 11046 if { (eval echo configure:11047: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 11019 rm -rf conftest* | 11047 rm -rf conftest* |
| 11020 eval "ac_cv_lib_$ac_lib_var=yes" | 11048 eval "ac_cv_lib_$ac_lib_var=yes" |
| 11021 else | 11049 else |
| 11022 echo "configure: failed program was:" >&5 | 11050 echo "configure: failed program was:" >&5 |
| 11023 cat conftest.$ac_ext >&5 | 11051 cat conftest.$ac_ext >&5 |
| 11042 fi | 11070 fi |
| 11043 | 11071 |
| 11044 } | 11072 } |
| 11045 test -z "$with_shlib" && test ! -z "$have_dlfcn" && { | 11073 test -z "$with_shlib" && test ! -z "$have_dlfcn" && { |
| 11046 echo $ac_n "checking for dlopen in -lc""... $ac_c" 1>&6 | 11074 echo $ac_n "checking for dlopen in -lc""... $ac_c" 1>&6 |
| 11047 echo "configure:11048: checking for dlopen in -lc" >&5 | 11075 echo "configure:11076: checking for dlopen in -lc" >&5 |
| 11048 ac_lib_var=`echo c'_'dlopen | sed 'y%./+-%__p_%'` | 11076 ac_lib_var=`echo c'_'dlopen | sed 'y%./+-%__p_%'` |
| 11049 | 11077 |
| 11050 xe_check_libs=" -lc " | 11078 xe_check_libs=" -lc " |
| 11051 cat > conftest.$ac_ext <<EOF | 11079 cat > conftest.$ac_ext <<EOF |
| 11052 #line 11053 "configure" | 11080 #line 11081 "configure" |
| 11053 #include "confdefs.h" | 11081 #include "confdefs.h" |
| 11054 /* Override any gcc2 internal prototype to avoid an error. */ | 11082 /* Override any gcc2 internal prototype to avoid an error. */ |
| 11055 /* We use char because int might match the return type of a gcc2 | 11083 /* We use char because int might match the return type of a gcc2 |
| 11056 builtin and then its argument prototype would still apply. */ | 11084 builtin and then its argument prototype would still apply. */ |
| 11057 char dlopen(); | 11085 char dlopen(); |
| 11058 | 11086 |
| 11059 int main() { | 11087 int main() { |
| 11060 dlopen() | 11088 dlopen() |
| 11061 ; return 0; } | 11089 ; return 0; } |
| 11062 EOF | 11090 EOF |
| 11063 if { (eval echo configure:11064: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 11091 if { (eval echo configure:11092: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 11064 rm -rf conftest* | 11092 rm -rf conftest* |
| 11065 eval "ac_cv_lib_$ac_lib_var=yes" | 11093 eval "ac_cv_lib_$ac_lib_var=yes" |
| 11066 else | 11094 else |
| 11067 echo "configure: failed program was:" >&5 | 11095 echo "configure: failed program was:" >&5 |
| 11068 cat conftest.$ac_ext >&5 | 11096 cat conftest.$ac_ext >&5 |
| 11087 fi | 11115 fi |
| 11088 | 11116 |
| 11089 } | 11117 } |
| 11090 test -z "$with_shlib" && { | 11118 test -z "$with_shlib" && { |
| 11091 echo $ac_n "checking for shl_load in -ldld""... $ac_c" 1>&6 | 11119 echo $ac_n "checking for shl_load in -ldld""... $ac_c" 1>&6 |
| 11092 echo "configure:11093: checking for shl_load in -ldld" >&5 | 11120 echo "configure:11121: checking for shl_load in -ldld" >&5 |
| 11093 ac_lib_var=`echo dld'_'shl_load | sed 'y%./+-%__p_%'` | 11121 ac_lib_var=`echo dld'_'shl_load | sed 'y%./+-%__p_%'` |
| 11094 | 11122 |
| 11095 xe_check_libs=" -ldld " | 11123 xe_check_libs=" -ldld " |
| 11096 cat > conftest.$ac_ext <<EOF | 11124 cat > conftest.$ac_ext <<EOF |
| 11097 #line 11098 "configure" | 11125 #line 11126 "configure" |
| 11098 #include "confdefs.h" | 11126 #include "confdefs.h" |
| 11099 /* Override any gcc2 internal prototype to avoid an error. */ | 11127 /* Override any gcc2 internal prototype to avoid an error. */ |
| 11100 /* We use char because int might match the return type of a gcc2 | 11128 /* We use char because int might match the return type of a gcc2 |
| 11101 builtin and then its argument prototype would still apply. */ | 11129 builtin and then its argument prototype would still apply. */ |
| 11102 char shl_load(); | 11130 char shl_load(); |
| 11103 | 11131 |
| 11104 int main() { | 11132 int main() { |
| 11105 shl_load() | 11133 shl_load() |
| 11106 ; return 0; } | 11134 ; return 0; } |
| 11107 EOF | 11135 EOF |
| 11108 if { (eval echo configure:11109: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 11136 if { (eval echo configure:11137: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 11109 rm -rf conftest* | 11137 rm -rf conftest* |
| 11110 eval "ac_cv_lib_$ac_lib_var=yes" | 11138 eval "ac_cv_lib_$ac_lib_var=yes" |
| 11111 else | 11139 else |
| 11112 echo "configure: failed program was:" >&5 | 11140 echo "configure: failed program was:" >&5 |
| 11113 cat conftest.$ac_ext >&5 | 11141 cat conftest.$ac_ext >&5 |
| 11132 fi | 11160 fi |
| 11133 | 11161 |
| 11134 } | 11162 } |
| 11135 test -z "$with_shlib" && { | 11163 test -z "$with_shlib" && { |
| 11136 echo $ac_n "checking for dld_init in -ldld""... $ac_c" 1>&6 | 11164 echo $ac_n "checking for dld_init in -ldld""... $ac_c" 1>&6 |
| 11137 echo "configure:11138: checking for dld_init in -ldld" >&5 | 11165 echo "configure:11166: checking for dld_init in -ldld" >&5 |
| 11138 ac_lib_var=`echo dld'_'dld_init | sed 'y%./+-%__p_%'` | 11166 ac_lib_var=`echo dld'_'dld_init | sed 'y%./+-%__p_%'` |
| 11139 | 11167 |
| 11140 xe_check_libs=" -ldld " | 11168 xe_check_libs=" -ldld " |
| 11141 cat > conftest.$ac_ext <<EOF | 11169 cat > conftest.$ac_ext <<EOF |
| 11142 #line 11143 "configure" | 11170 #line 11171 "configure" |
| 11143 #include "confdefs.h" | 11171 #include "confdefs.h" |
| 11144 /* Override any gcc2 internal prototype to avoid an error. */ | 11172 /* Override any gcc2 internal prototype to avoid an error. */ |
| 11145 /* We use char because int might match the return type of a gcc2 | 11173 /* We use char because int might match the return type of a gcc2 |
| 11146 builtin and then its argument prototype would still apply. */ | 11174 builtin and then its argument prototype would still apply. */ |
| 11147 char dld_init(); | 11175 char dld_init(); |
| 11148 | 11176 |
| 11149 int main() { | 11177 int main() { |
| 11150 dld_init() | 11178 dld_init() |
| 11151 ; return 0; } | 11179 ; return 0; } |
| 11152 EOF | 11180 EOF |
| 11153 if { (eval echo configure:11154: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 11181 if { (eval echo configure:11182: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 11154 rm -rf conftest* | 11182 rm -rf conftest* |
| 11155 eval "ac_cv_lib_$ac_lib_var=yes" | 11183 eval "ac_cv_lib_$ac_lib_var=yes" |
| 11156 else | 11184 else |
| 11157 echo "configure: failed program was:" >&5 | 11185 echo "configure: failed program was:" >&5 |
| 11158 cat conftest.$ac_ext >&5 | 11186 cat conftest.$ac_ext >&5 |
| 11198 dll_lflags="-shared" | 11226 dll_lflags="-shared" |
| 11199 dll_cflags="-r" | 11227 dll_cflags="-r" |
| 11200 dll_oflags="-o " | 11228 dll_oflags="-o " |
| 11201 | 11229 |
| 11202 echo $ac_n "checking how to build a shared library""... $ac_c" 1>&6 | 11230 echo $ac_n "checking how to build a shared library""... $ac_c" 1>&6 |
| 11203 echo "configure:11204: checking how to build a shared library" >&5 | 11231 echo "configure:11232: checking how to build a shared library" >&5 |
| 11204 case `uname -rs` in | 11232 case `uname -rs` in |
| 11205 UNIX_SV*|UNIX_System_V*) | 11233 UNIX_SV*|UNIX_System_V*) |
| 11206 dll_lflags="-G" | 11234 dll_lflags="-G" |
| 11207 dll_cflags=-Kpic | 11235 dll_cflags=-Kpic |
| 11208 dll_ld="ld" | 11236 dll_ld="ld" |
| 11289 | 11317 |
| 11290 | 11318 |
| 11291 for ac_func in dlerror | 11319 for ac_func in dlerror |
| 11292 do | 11320 do |
| 11293 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 11321 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
| 11294 echo "configure:11295: checking for $ac_func" >&5 | 11322 echo "configure:11323: checking for $ac_func" >&5 |
| 11295 | 11323 |
| 11296 cat > conftest.$ac_ext <<EOF | 11324 cat > conftest.$ac_ext <<EOF |
| 11297 #line 11298 "configure" | 11325 #line 11326 "configure" |
| 11298 #include "confdefs.h" | 11326 #include "confdefs.h" |
| 11299 /* System header to define __stub macros and hopefully few prototypes, | 11327 /* System header to define __stub macros and hopefully few prototypes, |
| 11300 which can conflict with char $ac_func(); below. */ | 11328 which can conflict with char $ac_func(); below. */ |
| 11301 #include <assert.h> | 11329 #include <assert.h> |
| 11302 /* Override any gcc2 internal prototype to avoid an error. */ | 11330 /* Override any gcc2 internal prototype to avoid an error. */ |
| 11315 $ac_func(); | 11343 $ac_func(); |
| 11316 #endif | 11344 #endif |
| 11317 | 11345 |
| 11318 ; return 0; } | 11346 ; return 0; } |
| 11319 EOF | 11347 EOF |
| 11320 if { (eval echo configure:11321: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 11348 if { (eval echo configure:11349: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 11321 rm -rf conftest* | 11349 rm -rf conftest* |
| 11322 eval "ac_cv_func_$ac_func=yes" | 11350 eval "ac_cv_func_$ac_func=yes" |
| 11323 else | 11351 else |
| 11324 echo "configure: failed program was:" >&5 | 11352 echo "configure: failed program was:" >&5 |
| 11325 cat conftest.$ac_ext >&5 | 11353 cat conftest.$ac_ext >&5 |
| 11351 *) ;; | 11379 *) ;; |
| 11352 esac | 11380 esac |
| 11353 fi | 11381 fi |
| 11354 | 11382 |
| 11355 cat > conftest.$ac_ext <<EOF | 11383 cat > conftest.$ac_ext <<EOF |
| 11356 #line 11357 "configure" | 11384 #line 11385 "configure" |
| 11357 #include "confdefs.h" | 11385 #include "confdefs.h" |
| 11358 int main(int c,char *v[]){return 0;} | 11386 int main(int c,char *v[]){return 0;} |
| 11359 EOF | 11387 EOF |
| 11360 if { (eval echo configure:11361: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 | 11388 if { (eval echo configure:11389: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 |
| 11361 then | 11389 then |
| 11362 : | 11390 : |
| 11363 else | 11391 else |
| 11364 echo "configure: failed program was:" >&5 | 11392 echo "configure: failed program was:" >&5 |
| 11365 cat conftest.$ac_ext >&5 | 11393 cat conftest.$ac_ext >&5 |
