Mercurial > hg > xemacs-beta
comparison configure @ 278:90d73dddcdc4 r21-0b37
Import from CVS: tag r21-0b37
author | cvs |
---|---|
date | Mon, 13 Aug 2007 10:31:29 +0200 |
parents | 6330739388db |
children | 7df0dd720c89 |
comparison
equal
deleted
inserted
replaced
277:cfdf3ff11843 | 278:90d73dddcdc4 |
---|---|
219 mandir='${prefix}/man/man1' | 219 mandir='${prefix}/man/man1' |
220 infodir='${datadir}/xemacs-${version}/info' | 220 infodir='${datadir}/xemacs-${version}/info' |
221 infopath='' | 221 infopath='' |
222 install_pp='' | 222 install_pp='' |
223 lispdir='${datadir}/xemacs-${version}/lisp' | 223 lispdir='${datadir}/xemacs-${version}/lisp' |
224 sitelispdir='${datadir}/xemacs/site-lisp' | |
225 pkgdir='${datadir}/xemacs-${version}/lisp' | 224 pkgdir='${datadir}/xemacs-${version}/lisp' |
226 package_path='' | 225 package_path='' |
227 etcdir='${datadir}/xemacs-${version}/etc' | 226 etcdir='${datadir}/xemacs-${version}/etc' |
228 lockdir='${statedir}/xemacs/lock' | 227 lockdir='${statedir}/xemacs/lock' |
229 archlibdir='${libdir}/xemacs-${version}/${configuration}' | 228 archlibdir='${libdir}/xemacs-${version}/${configuration}' |
532 ;; | 531 ;; |
533 | 532 |
534 | 533 |
535 prefix | exec_prefix | bindir | datadir | statedir | libdir | \ | 534 prefix | exec_prefix | bindir | datadir | statedir | libdir | \ |
536 mandir | infodir | infopath | lispdir | etcdir | lockdir | pkgdir | \ | 535 mandir | infodir | infopath | lispdir | etcdir | lockdir | pkgdir | \ |
537 archlibdir | sitelispdir | docdir | package_path ) | 536 archlibdir | docdir | package_path ) |
538 if test "$valomitted" = "yes"; then | 537 if test "$valomitted" = "yes"; then |
539 if test "$#" = 0; then | 538 if test "$#" = 0; then |
540 (echo "$progname: Usage error:" | 539 (echo "$progname: Usage error:" |
541 echo " " "The \`--$optname' option requires a value." | 540 echo " " "The \`--$optname' option requires a value." |
542 echo " Use \`$progname --help' to show usage.") >&2 && exit 1; | 541 echo " Use \`$progname --help' to show usage.") >&2 && exit 1; |
543 fi | 542 fi |
544 val="$1"; shift | 543 val="$1"; shift |
545 fi | 544 fi |
546 eval "$opt=\"$val\"" | 545 eval "$opt=\"$val\"" |
547 | 546 |
548 case "$opt" in | 547 case "$opt" in |
549 lispdir ) { test "$extra_verbose" = "yes" && cat << \EOF | 548 lispdir ) { test "$extra_verbose" = "yes" && cat << \EOF |
550 Defining LISPDIR_USER_DEFINED | 549 Defining LISPDIR_USER_DEFINED |
551 EOF | 550 EOF |
552 cat >> confdefs.h <<\EOF | 551 cat >> confdefs.h <<\EOF |
553 #define LISPDIR_USER_DEFINED 1 | 552 #define LISPDIR_USER_DEFINED 1 |
554 EOF | |
555 } | |
556 ;; | |
557 sitelispdir ) { test "$extra_verbose" = "yes" && cat << \EOF | |
558 Defining SITELISPDIR_USER_DEFINED | |
559 EOF | |
560 cat >> confdefs.h <<\EOF | |
561 #define SITELISPDIR_USER_DEFINED 1 | |
562 EOF | 553 EOF |
563 } | 554 } |
564 ;; | 555 ;; |
565 etcdir ) { test "$extra_verbose" = "yes" && cat << \EOF | 556 etcdir ) { test "$extra_verbose" = "yes" && cat << \EOF |
566 Defining ETCDIR_USER_DEFINED | 557 Defining ETCDIR_USER_DEFINED |
592 cat >> confdefs.h <<\EOF | 583 cat >> confdefs.h <<\EOF |
593 #define PACKAGE_PATH_USER_DEFINED 1 | 584 #define PACKAGE_PATH_USER_DEFINED 1 |
594 EOF | 585 EOF |
595 } | 586 } |
596 ;; | 587 ;; |
597 datadir ) { test "$extra_verbose" = "yes" && cat << \EOF | 588 datadir ) |
589 { test "$extra_verbose" = "yes" && cat << \EOF | |
590 Defining INFODIR_USER_DEFINED | |
591 EOF | |
592 cat >> confdefs.h <<\EOF | |
593 #define INFODIR_USER_DEFINED 1 | |
594 EOF | |
595 } | |
596 | |
597 { test "$extra_verbose" = "yes" && cat << \EOF | |
598 Defining LISPDIR_USER_DEFINED | |
599 EOF | |
600 cat >> confdefs.h <<\EOF | |
601 #define LISPDIR_USER_DEFINED 1 | |
602 EOF | |
603 } | |
604 | |
605 { test "$extra_verbose" = "yes" && cat << \EOF | |
598 Defining ETCDIR_USER_DEFINED | 606 Defining ETCDIR_USER_DEFINED |
599 EOF | 607 EOF |
600 cat >> confdefs.h <<\EOF | 608 cat >> confdefs.h <<\EOF |
601 #define ETCDIR_USER_DEFINED 1 | 609 #define ETCDIR_USER_DEFINED 1 |
602 EOF | 610 EOF |
725 ;; | 733 ;; |
726 esac | 734 esac |
727 | 735 |
728 if test -z "$configuration"; then | 736 if test -z "$configuration"; then |
729 echo $ac_n "checking "host system type"""... $ac_c" 1>&6 | 737 echo $ac_n "checking "host system type"""... $ac_c" 1>&6 |
730 echo "configure:731: checking "host system type"" >&5 | 738 echo "configure:739: checking "host system type"" >&5 |
731 if configuration=`${CONFIG_SHELL-/bin/sh} $srcdir/config.guess | \ | 739 if configuration=`${CONFIG_SHELL-/bin/sh} $srcdir/config.guess | \ |
732 sed 's/^\([^-][^-]*-[^-][^-]*-[^-][^-]*\)-.*$/\1/'` ; then | 740 sed 's/^\([^-][^-]*-[^-][^-]*-[^-][^-]*\)-.*$/\1/'` ; then |
733 echo "$ac_t""$configuration" 1>&6 | 741 echo "$ac_t""$configuration" 1>&6 |
734 else | 742 else |
735 echo "$ac_t""unknown" 1>&6 | 743 echo "$ac_t""unknown" 1>&6 |
739 echo " Use \`$progname --help' to show usage.") >&2 && exit 1 | 747 echo " Use \`$progname --help' to show usage.") >&2 && exit 1 |
740 fi | 748 fi |
741 fi | 749 fi |
742 | 750 |
743 echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6 | 751 echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6 |
744 echo "configure:745: checking whether ln -s works" >&5 | 752 echo "configure:753: checking whether ln -s works" >&5 |
745 | 753 |
746 rm -f conftestdata | 754 rm -f conftestdata |
747 if ln -s X conftestdata 2>/dev/null | 755 if ln -s X conftestdata 2>/dev/null |
748 then | 756 then |
749 rm -f conftestdata | 757 rm -f conftestdata |
842 #define EMACS_VERSION "$version" | 850 #define EMACS_VERSION "$version" |
843 EOF | 851 EOF |
844 } | 852 } |
845 | 853 |
846 | 854 |
855 { test "$extra_verbose" = "yes" && cat << EOF | |
856 Defining INFODOCK_MAJOR_VERSION = $infodock_major_version | |
857 EOF | |
858 cat >> confdefs.h <<EOF | |
859 #define INFODOCK_MAJOR_VERSION $infodock_major_version | |
860 EOF | |
861 } | |
862 | |
863 { test "$extra_verbose" = "yes" && cat << EOF | |
864 Defining INFODOCK_MINOR_VERSION = $infodock_minor_version | |
865 EOF | |
866 cat >> confdefs.h <<EOF | |
867 #define INFODOCK_MINOR_VERSION $infodock_minor_version | |
868 EOF | |
869 } | |
870 | |
871 { test "$extra_verbose" = "yes" && cat << EOF | |
872 Defining INFODOCK_BUILD_VERSION = $infodock_build_version | |
873 EOF | |
874 cat >> confdefs.h <<EOF | |
875 #define INFODOCK_BUILD_VERSION $infodock_build_version | |
876 EOF | |
877 } | |
878 | |
879 | |
847 if test -n "$emacs_beta_version"; then beta=yes; else beta=no; fi | 880 if test -n "$emacs_beta_version"; then beta=yes; else beta=no; fi |
848 test "${error_check_extents=$beta}" = yes && { test "$extra_verbose" = "yes" && cat << \EOF | 881 test "${error_check_extents=$beta}" = yes && { test "$extra_verbose" = "yes" && cat << \EOF |
849 Defining ERROR_CHECK_EXTENTS | 882 Defining ERROR_CHECK_EXTENTS |
850 EOF | 883 EOF |
851 cat >> confdefs.h <<\EOF | 884 cat >> confdefs.h <<\EOF |
916 } | 949 } |
917 | 950 |
918 | 951 |
919 | 952 |
920 echo "checking "the configuration name"" 1>&6 | 953 echo "checking "the configuration name"" 1>&6 |
921 echo "configure:922: checking "the configuration name"" >&5 | 954 echo "configure:955: checking "the configuration name"" >&5 |
922 internal_configuration=`echo $configuration | sed 's/-\(workshop\)//'` | 955 internal_configuration=`echo $configuration | sed 's/-\(workshop\)//'` |
923 if canonical=`$srcdir/config.sub "$internal_configuration"` ; then : ; else | 956 if canonical=`$srcdir/config.sub "$internal_configuration"` ; then : ; else |
924 exit $? | 957 exit $? |
925 fi | 958 fi |
926 | 959 |
1380 xe_save_CFLAGS="$CFLAGS" | 1413 xe_save_CFLAGS="$CFLAGS" |
1381 | 1414 |
1382 # Extract the first word of "gcc", so it can be a program name with args. | 1415 # Extract the first word of "gcc", so it can be a program name with args. |
1383 set dummy gcc; ac_word=$2 | 1416 set dummy gcc; ac_word=$2 |
1384 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 1417 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
1385 echo "configure:1386: checking for $ac_word" >&5 | 1418 echo "configure:1419: checking for $ac_word" >&5 |
1386 | 1419 |
1387 if test -n "$CC"; then | 1420 if test -n "$CC"; then |
1388 ac_cv_prog_CC="$CC" # Let the user override the test. | 1421 ac_cv_prog_CC="$CC" # Let the user override the test. |
1389 else | 1422 else |
1390 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" | 1423 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" |
1406 | 1439 |
1407 if test -z "$CC"; then | 1440 if test -z "$CC"; then |
1408 # Extract the first word of "cc", so it can be a program name with args. | 1441 # Extract the first word of "cc", so it can be a program name with args. |
1409 set dummy cc; ac_word=$2 | 1442 set dummy cc; ac_word=$2 |
1410 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 1443 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
1411 echo "configure:1412: checking for $ac_word" >&5 | 1444 echo "configure:1445: checking for $ac_word" >&5 |
1412 | 1445 |
1413 if test -n "$CC"; then | 1446 if test -n "$CC"; then |
1414 ac_cv_prog_CC="$CC" # Let the user override the test. | 1447 ac_cv_prog_CC="$CC" # Let the user override the test. |
1415 else | 1448 else |
1416 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" | 1449 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" |
1451 | 1484 |
1452 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } | 1485 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } |
1453 fi | 1486 fi |
1454 | 1487 |
1455 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 | 1488 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 |
1456 echo "configure:1457: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 | 1489 echo "configure:1490: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 |
1457 | 1490 |
1458 ac_ext=c | 1491 ac_ext=c |
1459 xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS' | 1492 xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS' |
1460 xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_switch_x_site $ld_switch_run' | 1493 xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_switch_x_site $ld_switch_run' |
1461 xe_libs='$ld_call_shared $xe_check_libs $X_EXTRA_LIBS $libs_x $X_PRE_LIBS $LIBS $libs_machine $libs_system $libs_standard' | 1494 xe_libs='$ld_call_shared $xe_check_libs $X_EXTRA_LIBS $libs_x $X_PRE_LIBS $LIBS $libs_machine $libs_system $libs_standard' |
1463 ac_compile='${CC-cc} -c $CFLAGS '"$xe_cppflags"' conftest.$ac_ext 1>&5' | 1496 ac_compile='${CC-cc} -c $CFLAGS '"$xe_cppflags"' conftest.$ac_ext 1>&5' |
1464 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' | 1497 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' |
1465 cross_compiling=no | 1498 cross_compiling=no |
1466 | 1499 |
1467 cat > conftest.$ac_ext <<EOF | 1500 cat > conftest.$ac_ext <<EOF |
1468 #line 1469 "configure" | 1501 #line 1502 "configure" |
1469 #include "confdefs.h" | 1502 #include "confdefs.h" |
1470 main(){return(0);} | 1503 main(){return(0);} |
1471 EOF | 1504 EOF |
1472 if { (eval echo configure:1473: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 1505 if { (eval echo configure:1506: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
1473 ac_cv_prog_cc_works=yes | 1506 ac_cv_prog_cc_works=yes |
1474 # If we can't run a trivial program, we are probably using a cross compiler. | 1507 # If we can't run a trivial program, we are probably using a cross compiler. |
1475 if (./conftest; exit) 2>/dev/null; then | 1508 if (./conftest; exit) 2>/dev/null; then |
1476 ac_cv_prog_cc_cross=no | 1509 ac_cv_prog_cc_cross=no |
1477 else | 1510 else |
1487 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 | 1520 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 |
1488 if test $ac_cv_prog_cc_works = no; then | 1521 if test $ac_cv_prog_cc_works = no; then |
1489 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } | 1522 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } |
1490 fi | 1523 fi |
1491 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 | 1524 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 |
1492 echo "configure:1493: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 | 1525 echo "configure:1526: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 |
1493 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 | 1526 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 |
1494 cross_compiling=$ac_cv_prog_cc_cross | 1527 cross_compiling=$ac_cv_prog_cc_cross |
1495 | 1528 |
1496 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 | 1529 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 |
1497 echo "configure:1498: checking whether we are using GNU C" >&5 | 1530 echo "configure:1531: checking whether we are using GNU C" >&5 |
1498 | 1531 |
1499 cat > conftest.c <<EOF | 1532 cat > conftest.c <<EOF |
1500 #ifdef __GNUC__ | 1533 #ifdef __GNUC__ |
1501 yes; | 1534 yes; |
1502 #endif | 1535 #endif |
1503 EOF | 1536 EOF |
1504 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1505: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then | 1537 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1538: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then |
1505 ac_cv_prog_gcc=yes | 1538 ac_cv_prog_gcc=yes |
1506 else | 1539 else |
1507 ac_cv_prog_gcc=no | 1540 ac_cv_prog_gcc=no |
1508 fi | 1541 fi |
1509 | 1542 |
1513 GCC=yes | 1546 GCC=yes |
1514 ac_test_CFLAGS="${CFLAGS+set}" | 1547 ac_test_CFLAGS="${CFLAGS+set}" |
1515 ac_save_CFLAGS="$CFLAGS" | 1548 ac_save_CFLAGS="$CFLAGS" |
1516 CFLAGS= | 1549 CFLAGS= |
1517 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 | 1550 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 |
1518 echo "configure:1519: checking whether ${CC-cc} accepts -g" >&5 | 1551 echo "configure:1552: checking whether ${CC-cc} accepts -g" >&5 |
1519 | 1552 |
1520 echo 'void f(){}' > conftest.c | 1553 echo 'void f(){}' > conftest.c |
1521 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then | 1554 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then |
1522 ac_cv_prog_cc_g=yes | 1555 ac_cv_prog_cc_g=yes |
1523 else | 1556 else |
1542 if test "$with_gcc" = "no" -a "$GCC" = "yes"; then | 1575 if test "$with_gcc" = "no" -a "$GCC" = "yes"; then |
1543 CC=${NON_GNU_CC-cc} | 1576 CC=${NON_GNU_CC-cc} |
1544 # Extract the first word of "gcc", so it can be a program name with args. | 1577 # Extract the first word of "gcc", so it can be a program name with args. |
1545 set dummy gcc; ac_word=$2 | 1578 set dummy gcc; ac_word=$2 |
1546 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 1579 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
1547 echo "configure:1548: checking for $ac_word" >&5 | 1580 echo "configure:1581: checking for $ac_word" >&5 |
1548 | 1581 |
1549 if test -n "$CC"; then | 1582 if test -n "$CC"; then |
1550 ac_cv_prog_CC="$CC" # Let the user override the test. | 1583 ac_cv_prog_CC="$CC" # Let the user override the test. |
1551 else | 1584 else |
1552 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" | 1585 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" |
1568 | 1601 |
1569 if test -z "$CC"; then | 1602 if test -z "$CC"; then |
1570 # Extract the first word of "cc", so it can be a program name with args. | 1603 # Extract the first word of "cc", so it can be a program name with args. |
1571 set dummy cc; ac_word=$2 | 1604 set dummy cc; ac_word=$2 |
1572 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 1605 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
1573 echo "configure:1574: checking for $ac_word" >&5 | 1606 echo "configure:1607: checking for $ac_word" >&5 |
1574 | 1607 |
1575 if test -n "$CC"; then | 1608 if test -n "$CC"; then |
1576 ac_cv_prog_CC="$CC" # Let the user override the test. | 1609 ac_cv_prog_CC="$CC" # Let the user override the test. |
1577 else | 1610 else |
1578 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" | 1611 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" |
1613 | 1646 |
1614 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } | 1647 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } |
1615 fi | 1648 fi |
1616 | 1649 |
1617 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 | 1650 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 |
1618 echo "configure:1619: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 | 1651 echo "configure:1652: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 |
1619 | 1652 |
1620 ac_ext=c | 1653 ac_ext=c |
1621 xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS' | 1654 xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS' |
1622 xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_switch_x_site $ld_switch_run' | 1655 xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_switch_x_site $ld_switch_run' |
1623 xe_libs='$ld_call_shared $xe_check_libs $X_EXTRA_LIBS $libs_x $X_PRE_LIBS $LIBS $libs_machine $libs_system $libs_standard' | 1656 xe_libs='$ld_call_shared $xe_check_libs $X_EXTRA_LIBS $libs_x $X_PRE_LIBS $LIBS $libs_machine $libs_system $libs_standard' |
1625 ac_compile='${CC-cc} -c $CFLAGS '"$xe_cppflags"' conftest.$ac_ext 1>&5' | 1658 ac_compile='${CC-cc} -c $CFLAGS '"$xe_cppflags"' conftest.$ac_ext 1>&5' |
1626 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' | 1659 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' |
1627 cross_compiling=no | 1660 cross_compiling=no |
1628 | 1661 |
1629 cat > conftest.$ac_ext <<EOF | 1662 cat > conftest.$ac_ext <<EOF |
1630 #line 1631 "configure" | 1663 #line 1664 "configure" |
1631 #include "confdefs.h" | 1664 #include "confdefs.h" |
1632 main(){return(0);} | 1665 main(){return(0);} |
1633 EOF | 1666 EOF |
1634 if { (eval echo configure:1635: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 1667 if { (eval echo configure:1668: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
1635 ac_cv_prog_cc_works=yes | 1668 ac_cv_prog_cc_works=yes |
1636 # If we can't run a trivial program, we are probably using a cross compiler. | 1669 # If we can't run a trivial program, we are probably using a cross compiler. |
1637 if (./conftest; exit) 2>/dev/null; then | 1670 if (./conftest; exit) 2>/dev/null; then |
1638 ac_cv_prog_cc_cross=no | 1671 ac_cv_prog_cc_cross=no |
1639 else | 1672 else |
1649 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 | 1682 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 |
1650 if test $ac_cv_prog_cc_works = no; then | 1683 if test $ac_cv_prog_cc_works = no; then |
1651 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } | 1684 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } |
1652 fi | 1685 fi |
1653 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 | 1686 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 |
1654 echo "configure:1655: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 | 1687 echo "configure:1688: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 |
1655 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 | 1688 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 |
1656 cross_compiling=$ac_cv_prog_cc_cross | 1689 cross_compiling=$ac_cv_prog_cc_cross |
1657 | 1690 |
1658 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 | 1691 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 |
1659 echo "configure:1660: checking whether we are using GNU C" >&5 | 1692 echo "configure:1693: checking whether we are using GNU C" >&5 |
1660 | 1693 |
1661 cat > conftest.c <<EOF | 1694 cat > conftest.c <<EOF |
1662 #ifdef __GNUC__ | 1695 #ifdef __GNUC__ |
1663 yes; | 1696 yes; |
1664 #endif | 1697 #endif |
1665 EOF | 1698 EOF |
1666 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1667: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then | 1699 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1700: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then |
1667 ac_cv_prog_gcc=yes | 1700 ac_cv_prog_gcc=yes |
1668 else | 1701 else |
1669 ac_cv_prog_gcc=no | 1702 ac_cv_prog_gcc=no |
1670 fi | 1703 fi |
1671 | 1704 |
1675 GCC=yes | 1708 GCC=yes |
1676 ac_test_CFLAGS="${CFLAGS+set}" | 1709 ac_test_CFLAGS="${CFLAGS+set}" |
1677 ac_save_CFLAGS="$CFLAGS" | 1710 ac_save_CFLAGS="$CFLAGS" |
1678 CFLAGS= | 1711 CFLAGS= |
1679 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 | 1712 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 |
1680 echo "configure:1681: checking whether ${CC-cc} accepts -g" >&5 | 1713 echo "configure:1714: checking whether ${CC-cc} accepts -g" >&5 |
1681 | 1714 |
1682 echo 'void f(){}' > conftest.c | 1715 echo 'void f(){}' > conftest.c |
1683 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then | 1716 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then |
1684 ac_cv_prog_cc_g=yes | 1717 ac_cv_prog_cc_g=yes |
1685 else | 1718 else |
1704 elif test "$with_gcc" = "yes" -a "$GCC" != "yes" ; then | 1737 elif test "$with_gcc" = "yes" -a "$GCC" != "yes" ; then |
1705 CC=gcc | 1738 CC=gcc |
1706 # Extract the first word of "gcc", so it can be a program name with args. | 1739 # Extract the first word of "gcc", so it can be a program name with args. |
1707 set dummy gcc; ac_word=$2 | 1740 set dummy gcc; ac_word=$2 |
1708 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 1741 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
1709 echo "configure:1710: checking for $ac_word" >&5 | 1742 echo "configure:1743: checking for $ac_word" >&5 |
1710 | 1743 |
1711 if test -n "$CC"; then | 1744 if test -n "$CC"; then |
1712 ac_cv_prog_CC="$CC" # Let the user override the test. | 1745 ac_cv_prog_CC="$CC" # Let the user override the test. |
1713 else | 1746 else |
1714 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" | 1747 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" |
1730 | 1763 |
1731 if test -z "$CC"; then | 1764 if test -z "$CC"; then |
1732 # Extract the first word of "cc", so it can be a program name with args. | 1765 # Extract the first word of "cc", so it can be a program name with args. |
1733 set dummy cc; ac_word=$2 | 1766 set dummy cc; ac_word=$2 |
1734 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 1767 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
1735 echo "configure:1736: checking for $ac_word" >&5 | 1768 echo "configure:1769: checking for $ac_word" >&5 |
1736 | 1769 |
1737 if test -n "$CC"; then | 1770 if test -n "$CC"; then |
1738 ac_cv_prog_CC="$CC" # Let the user override the test. | 1771 ac_cv_prog_CC="$CC" # Let the user override the test. |
1739 else | 1772 else |
1740 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" | 1773 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" |
1775 | 1808 |
1776 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } | 1809 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } |
1777 fi | 1810 fi |
1778 | 1811 |
1779 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 | 1812 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 |
1780 echo "configure:1781: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 | 1813 echo "configure:1814: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 |
1781 | 1814 |
1782 ac_ext=c | 1815 ac_ext=c |
1783 xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS' | 1816 xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS' |
1784 xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_switch_x_site $ld_switch_run' | 1817 xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_switch_x_site $ld_switch_run' |
1785 xe_libs='$ld_call_shared $xe_check_libs $X_EXTRA_LIBS $libs_x $X_PRE_LIBS $LIBS $libs_machine $libs_system $libs_standard' | 1818 xe_libs='$ld_call_shared $xe_check_libs $X_EXTRA_LIBS $libs_x $X_PRE_LIBS $LIBS $libs_machine $libs_system $libs_standard' |
1787 ac_compile='${CC-cc} -c $CFLAGS '"$xe_cppflags"' conftest.$ac_ext 1>&5' | 1820 ac_compile='${CC-cc} -c $CFLAGS '"$xe_cppflags"' conftest.$ac_ext 1>&5' |
1788 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' | 1821 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' |
1789 cross_compiling=no | 1822 cross_compiling=no |
1790 | 1823 |
1791 cat > conftest.$ac_ext <<EOF | 1824 cat > conftest.$ac_ext <<EOF |
1792 #line 1793 "configure" | 1825 #line 1826 "configure" |
1793 #include "confdefs.h" | 1826 #include "confdefs.h" |
1794 main(){return(0);} | 1827 main(){return(0);} |
1795 EOF | 1828 EOF |
1796 if { (eval echo configure:1797: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 1829 if { (eval echo configure:1830: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
1797 ac_cv_prog_cc_works=yes | 1830 ac_cv_prog_cc_works=yes |
1798 # If we can't run a trivial program, we are probably using a cross compiler. | 1831 # If we can't run a trivial program, we are probably using a cross compiler. |
1799 if (./conftest; exit) 2>/dev/null; then | 1832 if (./conftest; exit) 2>/dev/null; then |
1800 ac_cv_prog_cc_cross=no | 1833 ac_cv_prog_cc_cross=no |
1801 else | 1834 else |
1811 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 | 1844 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 |
1812 if test $ac_cv_prog_cc_works = no; then | 1845 if test $ac_cv_prog_cc_works = no; then |
1813 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } | 1846 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } |
1814 fi | 1847 fi |
1815 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 | 1848 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 |
1816 echo "configure:1817: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 | 1849 echo "configure:1850: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 |
1817 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 | 1850 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 |
1818 cross_compiling=$ac_cv_prog_cc_cross | 1851 cross_compiling=$ac_cv_prog_cc_cross |
1819 | 1852 |
1820 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 | 1853 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 |
1821 echo "configure:1822: checking whether we are using GNU C" >&5 | 1854 echo "configure:1855: checking whether we are using GNU C" >&5 |
1822 | 1855 |
1823 cat > conftest.c <<EOF | 1856 cat > conftest.c <<EOF |
1824 #ifdef __GNUC__ | 1857 #ifdef __GNUC__ |
1825 yes; | 1858 yes; |
1826 #endif | 1859 #endif |
1827 EOF | 1860 EOF |
1828 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1829: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then | 1861 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1862: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then |
1829 ac_cv_prog_gcc=yes | 1862 ac_cv_prog_gcc=yes |
1830 else | 1863 else |
1831 ac_cv_prog_gcc=no | 1864 ac_cv_prog_gcc=no |
1832 fi | 1865 fi |
1833 | 1866 |
1837 GCC=yes | 1870 GCC=yes |
1838 ac_test_CFLAGS="${CFLAGS+set}" | 1871 ac_test_CFLAGS="${CFLAGS+set}" |
1839 ac_save_CFLAGS="$CFLAGS" | 1872 ac_save_CFLAGS="$CFLAGS" |
1840 CFLAGS= | 1873 CFLAGS= |
1841 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 | 1874 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 |
1842 echo "configure:1843: checking whether ${CC-cc} accepts -g" >&5 | 1875 echo "configure:1876: checking whether ${CC-cc} accepts -g" >&5 |
1843 | 1876 |
1844 echo 'void f(){}' > conftest.c | 1877 echo 'void f(){}' > conftest.c |
1845 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then | 1878 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then |
1846 ac_cv_prog_cc_g=yes | 1879 ac_cv_prog_cc_g=yes |
1847 else | 1880 else |
1870 test -n "$CPP" -a -d "$CPP" && CPP= | 1903 test -n "$CPP" -a -d "$CPP" && CPP= |
1871 | 1904 |
1872 test -n "$NON_GNU_CPP" -a "$GCC" != "yes" -a -z "$CPP" && CPP="$NON_GNU_CPP" | 1905 test -n "$NON_GNU_CPP" -a "$GCC" != "yes" -a -z "$CPP" && CPP="$NON_GNU_CPP" |
1873 | 1906 |
1874 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6 | 1907 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6 |
1875 echo "configure:1876: checking how to run the C preprocessor" >&5 | 1908 echo "configure:1909: checking how to run the C preprocessor" >&5 |
1876 # On Suns, sometimes $CPP names a directory. | 1909 # On Suns, sometimes $CPP names a directory. |
1877 if test -n "$CPP" && test -d "$CPP"; then | 1910 if test -n "$CPP" && test -d "$CPP"; then |
1878 CPP= | 1911 CPP= |
1879 fi | 1912 fi |
1880 if test -z "$CPP"; then | 1913 if test -z "$CPP"; then |
1883 # substituted into the Makefile and "${CC-cc}" will confuse make. | 1916 # substituted into the Makefile and "${CC-cc}" will confuse make. |
1884 CPP="${CC-cc} -E" | 1917 CPP="${CC-cc} -E" |
1885 # On the NeXT, cc -E runs the code through the compiler's parser, | 1918 # On the NeXT, cc -E runs the code through the compiler's parser, |
1886 # not just through cpp. | 1919 # not just through cpp. |
1887 cat > conftest.$ac_ext <<EOF | 1920 cat > conftest.$ac_ext <<EOF |
1888 #line 1889 "configure" | 1921 #line 1922 "configure" |
1889 #include "confdefs.h" | 1922 #include "confdefs.h" |
1890 #include <assert.h> | 1923 #include <assert.h> |
1891 Syntax Error | 1924 Syntax Error |
1892 EOF | 1925 EOF |
1893 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 1926 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
1894 { (eval echo configure:1895: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 1927 { (eval echo configure:1928: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
1895 ac_err=`grep -v '^ *+' conftest.out` | 1928 ac_err=`grep -v '^ *+' conftest.out` |
1896 if test -z "$ac_err"; then | 1929 if test -z "$ac_err"; then |
1897 : | 1930 : |
1898 else | 1931 else |
1899 echo "$ac_err" >&5 | 1932 echo "$ac_err" >&5 |
1900 echo "configure: failed program was:" >&5 | 1933 echo "configure: failed program was:" >&5 |
1901 cat conftest.$ac_ext >&5 | 1934 cat conftest.$ac_ext >&5 |
1902 rm -rf conftest* | 1935 rm -rf conftest* |
1903 CPP="${CC-cc} -E -traditional-cpp" | 1936 CPP="${CC-cc} -E -traditional-cpp" |
1904 cat > conftest.$ac_ext <<EOF | 1937 cat > conftest.$ac_ext <<EOF |
1905 #line 1906 "configure" | 1938 #line 1939 "configure" |
1906 #include "confdefs.h" | 1939 #include "confdefs.h" |
1907 #include <assert.h> | 1940 #include <assert.h> |
1908 Syntax Error | 1941 Syntax Error |
1909 EOF | 1942 EOF |
1910 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 1943 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
1911 { (eval echo configure:1912: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 1944 { (eval echo configure:1945: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
1912 ac_err=`grep -v '^ *+' conftest.out` | 1945 ac_err=`grep -v '^ *+' conftest.out` |
1913 if test -z "$ac_err"; then | 1946 if test -z "$ac_err"; then |
1914 : | 1947 : |
1915 else | 1948 else |
1916 echo "$ac_err" >&5 | 1949 echo "$ac_err" >&5 |
1929 fi | 1962 fi |
1930 echo "$ac_t""$CPP" 1>&6 | 1963 echo "$ac_t""$CPP" 1>&6 |
1931 | 1964 |
1932 | 1965 |
1933 echo $ac_n "checking for AIX""... $ac_c" 1>&6 | 1966 echo $ac_n "checking for AIX""... $ac_c" 1>&6 |
1934 echo "configure:1935: checking for AIX" >&5 | 1967 echo "configure:1968: checking for AIX" >&5 |
1935 cat > conftest.$ac_ext <<EOF | 1968 cat > conftest.$ac_ext <<EOF |
1936 #line 1937 "configure" | 1969 #line 1970 "configure" |
1937 #include "confdefs.h" | 1970 #include "confdefs.h" |
1938 #ifdef _AIX | 1971 #ifdef _AIX |
1939 yes | 1972 yes |
1940 #endif | 1973 #endif |
1941 | 1974 |
1958 rm -f conftest* | 1991 rm -f conftest* |
1959 | 1992 |
1960 | 1993 |
1961 | 1994 |
1962 echo $ac_n "checking for GNU libc""... $ac_c" 1>&6 | 1995 echo $ac_n "checking for GNU libc""... $ac_c" 1>&6 |
1963 echo "configure:1964: checking for GNU libc" >&5 | 1996 echo "configure:1997: checking for GNU libc" >&5 |
1964 cat > conftest.$ac_ext <<EOF | 1997 cat > conftest.$ac_ext <<EOF |
1965 #line 1966 "configure" | 1998 #line 1999 "configure" |
1966 #include "confdefs.h" | 1999 #include "confdefs.h" |
1967 #include <features.h> | 2000 #include <features.h> |
1968 int main() { | 2001 int main() { |
1969 | 2002 |
1970 #if ! (defined __GLIBC__ || defined __GNU_LIBRARY__) | 2003 #if ! (defined __GLIBC__ || defined __GNU_LIBRARY__) |
1972 ******* ======= ******** &&&&&&&& | 2005 ******* ======= ******** &&&&&&&& |
1973 #endif | 2006 #endif |
1974 | 2007 |
1975 ; return 0; } | 2008 ; return 0; } |
1976 EOF | 2009 EOF |
1977 if { (eval echo configure:1978: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 2010 if { (eval echo configure:2011: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
1978 rm -rf conftest* | 2011 rm -rf conftest* |
1979 have_glibc=yes | 2012 have_glibc=yes |
1980 else | 2013 else |
1981 echo "configure: failed program was:" >&5 | 2014 echo "configure: failed program was:" >&5 |
1982 cat conftest.$ac_ext >&5 | 2015 cat conftest.$ac_ext >&5 |
1993 EOF | 2026 EOF |
1994 } | 2027 } |
1995 | 2028 |
1996 | 2029 |
1997 echo $ac_n "checking whether we are using SunPro C""... $ac_c" 1>&6 | 2030 echo $ac_n "checking whether we are using SunPro C""... $ac_c" 1>&6 |
1998 echo "configure:1999: checking whether we are using SunPro C" >&5 | 2031 echo "configure:2032: checking whether we are using SunPro C" >&5 |
1999 cat > conftest.$ac_ext <<EOF | 2032 cat > conftest.$ac_ext <<EOF |
2000 #line 2001 "configure" | 2033 #line 2034 "configure" |
2001 #include "confdefs.h" | 2034 #include "confdefs.h" |
2002 | 2035 |
2003 int main() { | 2036 int main() { |
2004 #ifndef __SUNPRO_C | 2037 #ifndef __SUNPRO_C |
2005 #error Not a SunPro compiler :-( | 2038 #error Not a SunPro compiler :-( |
2006 ******* ======= ******** &&&&&&&& | 2039 ******* ======= ******** &&&&&&&& |
2007 #endif | 2040 #endif |
2008 | 2041 |
2009 ; return 0; } | 2042 ; return 0; } |
2010 EOF | 2043 EOF |
2011 if { (eval echo configure:2012: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 2044 if { (eval echo configure:2045: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
2012 rm -rf conftest* | 2045 rm -rf conftest* |
2013 __sunpro_c=yes | 2046 __sunpro_c=yes |
2014 else | 2047 else |
2015 echo "configure: failed program was:" >&5 | 2048 echo "configure: failed program was:" >&5 |
2016 cat conftest.$ac_ext >&5 | 2049 cat conftest.$ac_ext >&5 |
2280 test -n "$unexec" && extra_objs="$extra_objs $unexec" && if test "$extra_verbose" = "yes"; then | 2313 test -n "$unexec" && extra_objs="$extra_objs $unexec" && if test "$extra_verbose" = "yes"; then |
2281 echo " xemacs will be linked with \"$unexec\"" | 2314 echo " xemacs will be linked with \"$unexec\"" |
2282 fi | 2315 fi |
2283 | 2316 |
2284 echo $ac_n "checking for dynodump""... $ac_c" 1>&6 | 2317 echo $ac_n "checking for dynodump""... $ac_c" 1>&6 |
2285 echo "configure:2286: checking for dynodump" >&5 | 2318 echo "configure:2319: checking for dynodump" >&5 |
2286 if test "$unexec" != "unexsol2.o"; then | 2319 if test "$unexec" != "unexsol2.o"; then |
2287 echo "$ac_t""no" 1>&6 | 2320 echo "$ac_t""no" 1>&6 |
2288 else | 2321 else |
2289 echo "$ac_t""yes" 1>&6 | 2322 echo "$ac_t""yes" 1>&6 |
2290 { test "$extra_verbose" = "yes" && cat << \EOF | 2323 { test "$extra_verbose" = "yes" && cat << \EOF |
2380 esac | 2413 esac |
2381 fi | 2414 fi |
2382 | 2415 |
2383 if test "$add_runtime_path" = "yes"; then | 2416 if test "$add_runtime_path" = "yes"; then |
2384 echo $ac_n "checking "for runtime libraries flag"""... $ac_c" 1>&6 | 2417 echo $ac_n "checking "for runtime libraries flag"""... $ac_c" 1>&6 |
2385 echo "configure:2386: checking "for runtime libraries flag"" >&5 | 2418 echo "configure:2419: checking "for runtime libraries flag"" >&5 |
2386 dash_r="" | 2419 dash_r="" |
2387 for try_dash_r in "-R" "-R " "-rpath "; do | 2420 for try_dash_r in "-R" "-R " "-rpath "; do |
2388 xe_check_libs="${try_dash_r}/no/such/file-or-directory" | 2421 xe_check_libs="${try_dash_r}/no/such/file-or-directory" |
2389 | 2422 |
2390 if test "$GCC" = "yes"; then | 2423 if test "$GCC" = "yes"; then |
2398 esac | 2431 esac |
2399 shift | 2432 shift |
2400 done | 2433 done |
2401 fi | 2434 fi |
2402 cat > conftest.$ac_ext <<EOF | 2435 cat > conftest.$ac_ext <<EOF |
2403 #line 2404 "configure" | 2436 #line 2437 "configure" |
2404 #include "confdefs.h" | 2437 #include "confdefs.h" |
2405 | 2438 |
2406 int main() { | 2439 int main() { |
2407 | 2440 |
2408 ; return 0; } | 2441 ; return 0; } |
2409 EOF | 2442 EOF |
2410 if { (eval echo configure:2411: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 2443 if { (eval echo configure:2444: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
2411 rm -rf conftest* | 2444 rm -rf conftest* |
2412 dash_r="$try_dash_r" | 2445 dash_r="$try_dash_r" |
2413 else | 2446 else |
2414 echo "configure: failed program was:" >&5 | 2447 echo "configure: failed program was:" >&5 |
2415 cat conftest.$ac_ext >&5 | 2448 cat conftest.$ac_ext >&5 |
2505 else | 2538 else |
2506 doug_lea_malloc=no | 2539 doug_lea_malloc=no |
2507 fi | 2540 fi |
2508 after_morecore_hook_exists=yes | 2541 after_morecore_hook_exists=yes |
2509 echo $ac_n "checking for malloc_get_state""... $ac_c" 1>&6 | 2542 echo $ac_n "checking for malloc_get_state""... $ac_c" 1>&6 |
2510 echo "configure:2511: checking for malloc_get_state" >&5 | 2543 echo "configure:2544: checking for malloc_get_state" >&5 |
2511 | 2544 |
2512 cat > conftest.$ac_ext <<EOF | 2545 cat > conftest.$ac_ext <<EOF |
2513 #line 2514 "configure" | 2546 #line 2547 "configure" |
2514 #include "confdefs.h" | 2547 #include "confdefs.h" |
2515 /* System header to define __stub macros and hopefully few prototypes, | 2548 /* System header to define __stub macros and hopefully few prototypes, |
2516 which can conflict with char malloc_get_state(); below. */ | 2549 which can conflict with char malloc_get_state(); below. */ |
2517 #include <assert.h> | 2550 #include <assert.h> |
2518 /* Override any gcc2 internal prototype to avoid an error. */ | 2551 /* Override any gcc2 internal prototype to avoid an error. */ |
2531 malloc_get_state(); | 2564 malloc_get_state(); |
2532 #endif | 2565 #endif |
2533 | 2566 |
2534 ; return 0; } | 2567 ; return 0; } |
2535 EOF | 2568 EOF |
2536 if { (eval echo configure:2537: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 2569 if { (eval echo configure:2570: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
2537 rm -rf conftest* | 2570 rm -rf conftest* |
2538 eval "ac_cv_func_malloc_get_state=yes" | 2571 eval "ac_cv_func_malloc_get_state=yes" |
2539 else | 2572 else |
2540 echo "configure: failed program was:" >&5 | 2573 echo "configure: failed program was:" >&5 |
2541 cat conftest.$ac_ext >&5 | 2574 cat conftest.$ac_ext >&5 |
2551 echo "$ac_t""no" 1>&6 | 2584 echo "$ac_t""no" 1>&6 |
2552 doug_lea_malloc=no | 2585 doug_lea_malloc=no |
2553 fi | 2586 fi |
2554 | 2587 |
2555 echo $ac_n "checking for malloc_set_state""... $ac_c" 1>&6 | 2588 echo $ac_n "checking for malloc_set_state""... $ac_c" 1>&6 |
2556 echo "configure:2557: checking for malloc_set_state" >&5 | 2589 echo "configure:2590: checking for malloc_set_state" >&5 |
2557 | 2590 |
2558 cat > conftest.$ac_ext <<EOF | 2591 cat > conftest.$ac_ext <<EOF |
2559 #line 2560 "configure" | 2592 #line 2593 "configure" |
2560 #include "confdefs.h" | 2593 #include "confdefs.h" |
2561 /* System header to define __stub macros and hopefully few prototypes, | 2594 /* System header to define __stub macros and hopefully few prototypes, |
2562 which can conflict with char malloc_set_state(); below. */ | 2595 which can conflict with char malloc_set_state(); below. */ |
2563 #include <assert.h> | 2596 #include <assert.h> |
2564 /* Override any gcc2 internal prototype to avoid an error. */ | 2597 /* Override any gcc2 internal prototype to avoid an error. */ |
2577 malloc_set_state(); | 2610 malloc_set_state(); |
2578 #endif | 2611 #endif |
2579 | 2612 |
2580 ; return 0; } | 2613 ; return 0; } |
2581 EOF | 2614 EOF |
2582 if { (eval echo configure:2583: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 2615 if { (eval echo configure:2616: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
2583 rm -rf conftest* | 2616 rm -rf conftest* |
2584 eval "ac_cv_func_malloc_set_state=yes" | 2617 eval "ac_cv_func_malloc_set_state=yes" |
2585 else | 2618 else |
2586 echo "configure: failed program was:" >&5 | 2619 echo "configure: failed program was:" >&5 |
2587 cat conftest.$ac_ext >&5 | 2620 cat conftest.$ac_ext >&5 |
2597 echo "$ac_t""no" 1>&6 | 2630 echo "$ac_t""no" 1>&6 |
2598 doug_lea_malloc=no | 2631 doug_lea_malloc=no |
2599 fi | 2632 fi |
2600 | 2633 |
2601 echo $ac_n "checking whether __after_morecore_hook exists""... $ac_c" 1>&6 | 2634 echo $ac_n "checking whether __after_morecore_hook exists""... $ac_c" 1>&6 |
2602 echo "configure:2603: checking whether __after_morecore_hook exists" >&5 | 2635 echo "configure:2636: checking whether __after_morecore_hook exists" >&5 |
2603 cat > conftest.$ac_ext <<EOF | 2636 cat > conftest.$ac_ext <<EOF |
2604 #line 2605 "configure" | 2637 #line 2638 "configure" |
2605 #include "confdefs.h" | 2638 #include "confdefs.h" |
2606 extern void (* __after_morecore_hook)(); | 2639 extern void (* __after_morecore_hook)(); |
2607 int main() { | 2640 int main() { |
2608 __after_morecore_hook = 0 | 2641 __after_morecore_hook = 0 |
2609 ; return 0; } | 2642 ; return 0; } |
2610 EOF | 2643 EOF |
2611 if { (eval echo configure:2612: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 2644 if { (eval echo configure:2645: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
2612 rm -rf conftest* | 2645 rm -rf conftest* |
2613 echo "$ac_t""yes" 1>&6 | 2646 echo "$ac_t""yes" 1>&6 |
2614 else | 2647 else |
2615 echo "configure: failed program was:" >&5 | 2648 echo "configure: failed program was:" >&5 |
2616 cat conftest.$ac_ext >&5 | 2649 cat conftest.$ac_ext >&5 |
2665 | 2698 |
2666 | 2699 |
2667 # Extract the first word of "ranlib", so it can be a program name with args. | 2700 # Extract the first word of "ranlib", so it can be a program name with args. |
2668 set dummy ranlib; ac_word=$2 | 2701 set dummy ranlib; ac_word=$2 |
2669 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 2702 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
2670 echo "configure:2671: checking for $ac_word" >&5 | 2703 echo "configure:2704: checking for $ac_word" >&5 |
2671 | 2704 |
2672 if test -n "$RANLIB"; then | 2705 if test -n "$RANLIB"; then |
2673 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. | 2706 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. |
2674 else | 2707 else |
2675 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" | 2708 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" |
2718 # AIX /bin/install | 2751 # AIX /bin/install |
2719 # AFS /usr/afsws/bin/install, which mishandles nonexistent args | 2752 # AFS /usr/afsws/bin/install, which mishandles nonexistent args |
2720 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" | 2753 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" |
2721 # ./install, which can be erroneously created by make from ./install.sh. | 2754 # ./install, which can be erroneously created by make from ./install.sh. |
2722 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 | 2755 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 |
2723 echo "configure:2724: checking for a BSD compatible install" >&5 | 2756 echo "configure:2757: checking for a BSD compatible install" >&5 |
2724 if test -z "$INSTALL"; then | 2757 if test -z "$INSTALL"; then |
2725 | 2758 |
2726 IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS="${IFS}:" | 2759 IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS="${IFS}:" |
2727 for ac_dir in $PATH; do | 2760 for ac_dir in $PATH; do |
2728 # Account for people who put trailing slashes in PATH elements. | 2761 # Account for people who put trailing slashes in PATH elements. |
2769 for ac_prog in 'bison -y' byacc | 2802 for ac_prog in 'bison -y' byacc |
2770 do | 2803 do |
2771 # Extract the first word of "$ac_prog", so it can be a program name with args. | 2804 # Extract the first word of "$ac_prog", so it can be a program name with args. |
2772 set dummy $ac_prog; ac_word=$2 | 2805 set dummy $ac_prog; ac_word=$2 |
2773 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 2806 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
2774 echo "configure:2775: checking for $ac_word" >&5 | 2807 echo "configure:2808: checking for $ac_word" >&5 |
2775 | 2808 |
2776 if test -n "$YACC"; then | 2809 if test -n "$YACC"; then |
2777 ac_cv_prog_YACC="$YACC" # Let the user override the test. | 2810 ac_cv_prog_YACC="$YACC" # Let the user override the test. |
2778 else | 2811 else |
2779 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" | 2812 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" |
2800 | 2833 |
2801 for ac_hdr in mach/mach.h sys/stropts.h sys/timeb.h sys/time.h unistd.h | 2834 for ac_hdr in mach/mach.h sys/stropts.h sys/timeb.h sys/time.h unistd.h |
2802 do | 2835 do |
2803 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 2836 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
2804 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 2837 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
2805 echo "configure:2806: checking for $ac_hdr" >&5 | 2838 echo "configure:2839: checking for $ac_hdr" >&5 |
2806 | 2839 |
2807 cat > conftest.$ac_ext <<EOF | 2840 cat > conftest.$ac_ext <<EOF |
2808 #line 2809 "configure" | 2841 #line 2842 "configure" |
2809 #include "confdefs.h" | 2842 #include "confdefs.h" |
2810 #include <$ac_hdr> | 2843 #include <$ac_hdr> |
2811 EOF | 2844 EOF |
2812 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 2845 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
2813 { (eval echo configure:2814: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 2846 { (eval echo configure:2847: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
2814 ac_err=`grep -v '^ *+' conftest.out` | 2847 ac_err=`grep -v '^ *+' conftest.out` |
2815 if test -z "$ac_err"; then | 2848 if test -z "$ac_err"; then |
2816 rm -rf conftest* | 2849 rm -rf conftest* |
2817 eval "ac_cv_header_$ac_safe=yes" | 2850 eval "ac_cv_header_$ac_safe=yes" |
2818 else | 2851 else |
2841 | 2874 |
2842 for ac_hdr in utime.h locale.h libgen.h fcntl.h ulimit.h | 2875 for ac_hdr in utime.h locale.h libgen.h fcntl.h ulimit.h |
2843 do | 2876 do |
2844 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 2877 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
2845 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 2878 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
2846 echo "configure:2847: checking for $ac_hdr" >&5 | 2879 echo "configure:2880: checking for $ac_hdr" >&5 |
2847 | 2880 |
2848 cat > conftest.$ac_ext <<EOF | 2881 cat > conftest.$ac_ext <<EOF |
2849 #line 2850 "configure" | 2882 #line 2883 "configure" |
2850 #include "confdefs.h" | 2883 #include "confdefs.h" |
2851 #include <$ac_hdr> | 2884 #include <$ac_hdr> |
2852 EOF | 2885 EOF |
2853 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 2886 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
2854 { (eval echo configure:2855: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 2887 { (eval echo configure:2888: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
2855 ac_err=`grep -v '^ *+' conftest.out` | 2888 ac_err=`grep -v '^ *+' conftest.out` |
2856 if test -z "$ac_err"; then | 2889 if test -z "$ac_err"; then |
2857 rm -rf conftest* | 2890 rm -rf conftest* |
2858 eval "ac_cv_header_$ac_safe=yes" | 2891 eval "ac_cv_header_$ac_safe=yes" |
2859 else | 2892 else |
2882 | 2915 |
2883 for ac_hdr in linux/version.h kstat.h sys/pstat.h inttypes.h sys/un.h a.out.h | 2916 for ac_hdr in linux/version.h kstat.h sys/pstat.h inttypes.h sys/un.h a.out.h |
2884 do | 2917 do |
2885 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 2918 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
2886 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 2919 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
2887 echo "configure:2888: checking for $ac_hdr" >&5 | 2920 echo "configure:2921: checking for $ac_hdr" >&5 |
2888 | 2921 |
2889 cat > conftest.$ac_ext <<EOF | 2922 cat > conftest.$ac_ext <<EOF |
2890 #line 2891 "configure" | 2923 #line 2924 "configure" |
2891 #include "confdefs.h" | 2924 #include "confdefs.h" |
2892 #include <$ac_hdr> | 2925 #include <$ac_hdr> |
2893 EOF | 2926 EOF |
2894 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 2927 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
2895 { (eval echo configure:2896: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 2928 { (eval echo configure:2929: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
2896 ac_err=`grep -v '^ *+' conftest.out` | 2929 ac_err=`grep -v '^ *+' conftest.out` |
2897 if test -z "$ac_err"; then | 2930 if test -z "$ac_err"; then |
2898 rm -rf conftest* | 2931 rm -rf conftest* |
2899 eval "ac_cv_header_$ac_safe=yes" | 2932 eval "ac_cv_header_$ac_safe=yes" |
2900 else | 2933 else |
2920 echo "$ac_t""no" 1>&6 | 2953 echo "$ac_t""no" 1>&6 |
2921 fi | 2954 fi |
2922 done | 2955 done |
2923 | 2956 |
2924 echo $ac_n "checking for sys/wait.h that is POSIX.1 compatible""... $ac_c" 1>&6 | 2957 echo $ac_n "checking for sys/wait.h that is POSIX.1 compatible""... $ac_c" 1>&6 |
2925 echo "configure:2926: checking for sys/wait.h that is POSIX.1 compatible" >&5 | 2958 echo "configure:2959: checking for sys/wait.h that is POSIX.1 compatible" >&5 |
2926 | 2959 |
2927 cat > conftest.$ac_ext <<EOF | 2960 cat > conftest.$ac_ext <<EOF |
2928 #line 2929 "configure" | 2961 #line 2962 "configure" |
2929 #include "confdefs.h" | 2962 #include "confdefs.h" |
2930 #include <sys/types.h> | 2963 #include <sys/types.h> |
2931 #include <sys/wait.h> | 2964 #include <sys/wait.h> |
2932 #ifndef WEXITSTATUS | 2965 #ifndef WEXITSTATUS |
2933 #define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8) | 2966 #define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8) |
2939 int s; | 2972 int s; |
2940 wait (&s); | 2973 wait (&s); |
2941 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1; | 2974 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1; |
2942 ; return 0; } | 2975 ; return 0; } |
2943 EOF | 2976 EOF |
2944 if { (eval echo configure:2945: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 2977 if { (eval echo configure:2978: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
2945 rm -rf conftest* | 2978 rm -rf conftest* |
2946 ac_cv_header_sys_wait_h=yes | 2979 ac_cv_header_sys_wait_h=yes |
2947 else | 2980 else |
2948 echo "configure: failed program was:" >&5 | 2981 echo "configure: failed program was:" >&5 |
2949 cat conftest.$ac_ext >&5 | 2982 cat conftest.$ac_ext >&5 |
2963 } | 2996 } |
2964 | 2997 |
2965 fi | 2998 fi |
2966 | 2999 |
2967 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6 | 3000 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6 |
2968 echo "configure:2969: checking for ANSI C header files" >&5 | 3001 echo "configure:3002: checking for ANSI C header files" >&5 |
2969 | 3002 |
2970 cat > conftest.$ac_ext <<EOF | 3003 cat > conftest.$ac_ext <<EOF |
2971 #line 2972 "configure" | 3004 #line 3005 "configure" |
2972 #include "confdefs.h" | 3005 #include "confdefs.h" |
2973 #include <stdlib.h> | 3006 #include <stdlib.h> |
2974 #include <stdarg.h> | 3007 #include <stdarg.h> |
2975 #include <string.h> | 3008 #include <string.h> |
2976 #include <float.h> | 3009 #include <float.h> |
2977 EOF | 3010 EOF |
2978 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 3011 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
2979 { (eval echo configure:2980: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 3012 { (eval echo configure:3013: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
2980 ac_err=`grep -v '^ *+' conftest.out` | 3013 ac_err=`grep -v '^ *+' conftest.out` |
2981 if test -z "$ac_err"; then | 3014 if test -z "$ac_err"; then |
2982 rm -rf conftest* | 3015 rm -rf conftest* |
2983 ac_cv_header_stdc=yes | 3016 ac_cv_header_stdc=yes |
2984 else | 3017 else |
2991 rm -f conftest* | 3024 rm -f conftest* |
2992 | 3025 |
2993 if test $ac_cv_header_stdc = yes; then | 3026 if test $ac_cv_header_stdc = yes; then |
2994 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. | 3027 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. |
2995 cat > conftest.$ac_ext <<EOF | 3028 cat > conftest.$ac_ext <<EOF |
2996 #line 2997 "configure" | 3029 #line 3030 "configure" |
2997 #include "confdefs.h" | 3030 #include "confdefs.h" |
2998 #include <string.h> | 3031 #include <string.h> |
2999 EOF | 3032 EOF |
3000 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 3033 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
3001 egrep "memchr" >/dev/null 2>&1; then | 3034 egrep "memchr" >/dev/null 2>&1; then |
3009 fi | 3042 fi |
3010 | 3043 |
3011 if test $ac_cv_header_stdc = yes; then | 3044 if test $ac_cv_header_stdc = yes; then |
3012 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. | 3045 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. |
3013 cat > conftest.$ac_ext <<EOF | 3046 cat > conftest.$ac_ext <<EOF |
3014 #line 3015 "configure" | 3047 #line 3048 "configure" |
3015 #include "confdefs.h" | 3048 #include "confdefs.h" |
3016 #include <stdlib.h> | 3049 #include <stdlib.h> |
3017 EOF | 3050 EOF |
3018 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 3051 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
3019 egrep "free" >/dev/null 2>&1; then | 3052 egrep "free" >/dev/null 2>&1; then |
3027 fi | 3060 fi |
3028 | 3061 |
3029 if test $ac_cv_header_stdc = yes; then | 3062 if test $ac_cv_header_stdc = yes; then |
3030 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. | 3063 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. |
3031 cat > conftest.$ac_ext <<EOF | 3064 cat > conftest.$ac_ext <<EOF |
3032 #line 3033 "configure" | 3065 #line 3066 "configure" |
3033 #include "confdefs.h" | 3066 #include "confdefs.h" |
3034 #include <ctype.h> | 3067 #include <ctype.h> |
3035 #define ISLOWER(c) ('a' <= (c) && (c) <= 'z') | 3068 #define ISLOWER(c) ('a' <= (c) && (c) <= 'z') |
3036 #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) | 3069 #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) |
3037 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) | 3070 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) |
3038 int main () { int i; for (i = 0; i < 256; i++) | 3071 int main () { int i; for (i = 0; i < 256; i++) |
3039 if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2); | 3072 if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2); |
3040 exit (0); } | 3073 exit (0); } |
3041 | 3074 |
3042 EOF | 3075 EOF |
3043 if { (eval echo configure:3044: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 | 3076 if { (eval echo configure:3077: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 |
3044 then | 3077 then |
3045 : | 3078 : |
3046 else | 3079 else |
3047 echo "configure: failed program was:" >&5 | 3080 echo "configure: failed program was:" >&5 |
3048 cat conftest.$ac_ext >&5 | 3081 cat conftest.$ac_ext >&5 |
3063 } | 3096 } |
3064 | 3097 |
3065 fi | 3098 fi |
3066 | 3099 |
3067 echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6 | 3100 echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6 |
3068 echo "configure:3069: checking whether time.h and sys/time.h may both be included" >&5 | 3101 echo "configure:3102: checking whether time.h and sys/time.h may both be included" >&5 |
3069 | 3102 |
3070 cat > conftest.$ac_ext <<EOF | 3103 cat > conftest.$ac_ext <<EOF |
3071 #line 3072 "configure" | 3104 #line 3105 "configure" |
3072 #include "confdefs.h" | 3105 #include "confdefs.h" |
3073 #include <sys/types.h> | 3106 #include <sys/types.h> |
3074 #include <sys/time.h> | 3107 #include <sys/time.h> |
3075 #include <time.h> | 3108 #include <time.h> |
3076 int main() { | 3109 int main() { |
3077 struct tm *tp; | 3110 struct tm *tp; |
3078 ; return 0; } | 3111 ; return 0; } |
3079 EOF | 3112 EOF |
3080 if { (eval echo configure:3081: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3113 if { (eval echo configure:3114: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
3081 rm -rf conftest* | 3114 rm -rf conftest* |
3082 ac_cv_header_time=yes | 3115 ac_cv_header_time=yes |
3083 else | 3116 else |
3084 echo "configure: failed program was:" >&5 | 3117 echo "configure: failed program was:" >&5 |
3085 cat conftest.$ac_ext >&5 | 3118 cat conftest.$ac_ext >&5 |
3099 } | 3132 } |
3100 | 3133 |
3101 fi | 3134 fi |
3102 | 3135 |
3103 echo $ac_n "checking for sys_siglist declaration in signal.h or unistd.h""... $ac_c" 1>&6 | 3136 echo $ac_n "checking for sys_siglist declaration in signal.h or unistd.h""... $ac_c" 1>&6 |
3104 echo "configure:3105: checking for sys_siglist declaration in signal.h or unistd.h" >&5 | 3137 echo "configure:3138: checking for sys_siglist declaration in signal.h or unistd.h" >&5 |
3105 | 3138 |
3106 cat > conftest.$ac_ext <<EOF | 3139 cat > conftest.$ac_ext <<EOF |
3107 #line 3108 "configure" | 3140 #line 3141 "configure" |
3108 #include "confdefs.h" | 3141 #include "confdefs.h" |
3109 #include <sys/types.h> | 3142 #include <sys/types.h> |
3110 #include <signal.h> | 3143 #include <signal.h> |
3111 /* NetBSD declares sys_siglist in unistd.h. */ | 3144 /* NetBSD declares sys_siglist in unistd.h. */ |
3112 #ifdef HAVE_UNISTD_H | 3145 #ifdef HAVE_UNISTD_H |
3114 #endif | 3147 #endif |
3115 int main() { | 3148 int main() { |
3116 char *msg = *(sys_siglist + 1); | 3149 char *msg = *(sys_siglist + 1); |
3117 ; return 0; } | 3150 ; return 0; } |
3118 EOF | 3151 EOF |
3119 if { (eval echo configure:3120: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3152 if { (eval echo configure:3153: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
3120 rm -rf conftest* | 3153 rm -rf conftest* |
3121 ac_cv_decl_sys_siglist=yes | 3154 ac_cv_decl_sys_siglist=yes |
3122 else | 3155 else |
3123 echo "configure: failed program was:" >&5 | 3156 echo "configure: failed program was:" >&5 |
3124 cat conftest.$ac_ext >&5 | 3157 cat conftest.$ac_ext >&5 |
3139 | 3172 |
3140 fi | 3173 fi |
3141 | 3174 |
3142 | 3175 |
3143 echo $ac_n "checking for struct utimbuf""... $ac_c" 1>&6 | 3176 echo $ac_n "checking for struct utimbuf""... $ac_c" 1>&6 |
3144 echo "configure:3145: checking for struct utimbuf" >&5 | 3177 echo "configure:3178: checking for struct utimbuf" >&5 |
3145 cat > conftest.$ac_ext <<EOF | 3178 cat > conftest.$ac_ext <<EOF |
3146 #line 3147 "configure" | 3179 #line 3180 "configure" |
3147 #include "confdefs.h" | 3180 #include "confdefs.h" |
3148 #ifdef TIME_WITH_SYS_TIME | 3181 #ifdef TIME_WITH_SYS_TIME |
3149 #include <sys/time.h> | 3182 #include <sys/time.h> |
3150 #include <time.h> | 3183 #include <time.h> |
3151 #else | 3184 #else |
3160 #endif | 3193 #endif |
3161 int main() { | 3194 int main() { |
3162 static struct utimbuf x; x.actime = x.modtime; | 3195 static struct utimbuf x; x.actime = x.modtime; |
3163 ; return 0; } | 3196 ; return 0; } |
3164 EOF | 3197 EOF |
3165 if { (eval echo configure:3166: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3198 if { (eval echo configure:3199: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
3166 rm -rf conftest* | 3199 rm -rf conftest* |
3167 echo "$ac_t""yes" 1>&6 | 3200 echo "$ac_t""yes" 1>&6 |
3168 { test "$extra_verbose" = "yes" && cat << \EOF | 3201 { test "$extra_verbose" = "yes" && cat << \EOF |
3169 Defining HAVE_STRUCT_UTIMBUF | 3202 Defining HAVE_STRUCT_UTIMBUF |
3170 EOF | 3203 EOF |
3180 echo "$ac_t""no" 1>&6 | 3213 echo "$ac_t""no" 1>&6 |
3181 fi | 3214 fi |
3182 rm -f conftest* | 3215 rm -f conftest* |
3183 | 3216 |
3184 echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6 | 3217 echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6 |
3185 echo "configure:3186: checking return type of signal handlers" >&5 | 3218 echo "configure:3219: checking return type of signal handlers" >&5 |
3186 | 3219 |
3187 cat > conftest.$ac_ext <<EOF | 3220 cat > conftest.$ac_ext <<EOF |
3188 #line 3189 "configure" | 3221 #line 3222 "configure" |
3189 #include "confdefs.h" | 3222 #include "confdefs.h" |
3190 #include <sys/types.h> | 3223 #include <sys/types.h> |
3191 #include <signal.h> | 3224 #include <signal.h> |
3192 #ifdef signal | 3225 #ifdef signal |
3193 #undef signal | 3226 #undef signal |
3200 | 3233 |
3201 int main() { | 3234 int main() { |
3202 int i; | 3235 int i; |
3203 ; return 0; } | 3236 ; return 0; } |
3204 EOF | 3237 EOF |
3205 if { (eval echo configure:3206: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3238 if { (eval echo configure:3239: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
3206 rm -rf conftest* | 3239 rm -rf conftest* |
3207 ac_cv_type_signal=void | 3240 ac_cv_type_signal=void |
3208 else | 3241 else |
3209 echo "configure: failed program was:" >&5 | 3242 echo "configure: failed program was:" >&5 |
3210 cat conftest.$ac_ext >&5 | 3243 cat conftest.$ac_ext >&5 |
3222 EOF | 3255 EOF |
3223 } | 3256 } |
3224 | 3257 |
3225 | 3258 |
3226 echo $ac_n "checking for size_t""... $ac_c" 1>&6 | 3259 echo $ac_n "checking for size_t""... $ac_c" 1>&6 |
3227 echo "configure:3228: checking for size_t" >&5 | 3260 echo "configure:3261: checking for size_t" >&5 |
3228 | 3261 |
3229 cat > conftest.$ac_ext <<EOF | 3262 cat > conftest.$ac_ext <<EOF |
3230 #line 3231 "configure" | 3263 #line 3264 "configure" |
3231 #include "confdefs.h" | 3264 #include "confdefs.h" |
3232 #include <sys/types.h> | 3265 #include <sys/types.h> |
3233 #if STDC_HEADERS | 3266 #if STDC_HEADERS |
3234 #include <stdlib.h> | 3267 #include <stdlib.h> |
3235 #include <stddef.h> | 3268 #include <stddef.h> |
3256 } | 3289 } |
3257 | 3290 |
3258 fi | 3291 fi |
3259 | 3292 |
3260 echo $ac_n "checking for pid_t""... $ac_c" 1>&6 | 3293 echo $ac_n "checking for pid_t""... $ac_c" 1>&6 |
3261 echo "configure:3262: checking for pid_t" >&5 | 3294 echo "configure:3295: checking for pid_t" >&5 |
3262 | 3295 |
3263 cat > conftest.$ac_ext <<EOF | 3296 cat > conftest.$ac_ext <<EOF |
3264 #line 3265 "configure" | 3297 #line 3298 "configure" |
3265 #include "confdefs.h" | 3298 #include "confdefs.h" |
3266 #include <sys/types.h> | 3299 #include <sys/types.h> |
3267 #if STDC_HEADERS | 3300 #if STDC_HEADERS |
3268 #include <stdlib.h> | 3301 #include <stdlib.h> |
3269 #include <stddef.h> | 3302 #include <stddef.h> |
3290 } | 3323 } |
3291 | 3324 |
3292 fi | 3325 fi |
3293 | 3326 |
3294 echo $ac_n "checking for uid_t in sys/types.h""... $ac_c" 1>&6 | 3327 echo $ac_n "checking for uid_t in sys/types.h""... $ac_c" 1>&6 |
3295 echo "configure:3296: checking for uid_t in sys/types.h" >&5 | 3328 echo "configure:3329: checking for uid_t in sys/types.h" >&5 |
3296 | 3329 |
3297 cat > conftest.$ac_ext <<EOF | 3330 cat > conftest.$ac_ext <<EOF |
3298 #line 3299 "configure" | 3331 #line 3332 "configure" |
3299 #include "confdefs.h" | 3332 #include "confdefs.h" |
3300 #include <sys/types.h> | 3333 #include <sys/types.h> |
3301 EOF | 3334 EOF |
3302 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 3335 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
3303 egrep "uid_t" >/dev/null 2>&1; then | 3336 egrep "uid_t" >/dev/null 2>&1; then |
3329 } | 3362 } |
3330 | 3363 |
3331 fi | 3364 fi |
3332 | 3365 |
3333 echo $ac_n "checking for mode_t""... $ac_c" 1>&6 | 3366 echo $ac_n "checking for mode_t""... $ac_c" 1>&6 |
3334 echo "configure:3335: checking for mode_t" >&5 | 3367 echo "configure:3368: checking for mode_t" >&5 |
3335 | 3368 |
3336 cat > conftest.$ac_ext <<EOF | 3369 cat > conftest.$ac_ext <<EOF |
3337 #line 3338 "configure" | 3370 #line 3371 "configure" |
3338 #include "confdefs.h" | 3371 #include "confdefs.h" |
3339 #include <sys/types.h> | 3372 #include <sys/types.h> |
3340 #if STDC_HEADERS | 3373 #if STDC_HEADERS |
3341 #include <stdlib.h> | 3374 #include <stdlib.h> |
3342 #include <stddef.h> | 3375 #include <stddef.h> |
3363 } | 3396 } |
3364 | 3397 |
3365 fi | 3398 fi |
3366 | 3399 |
3367 echo $ac_n "checking for off_t""... $ac_c" 1>&6 | 3400 echo $ac_n "checking for off_t""... $ac_c" 1>&6 |
3368 echo "configure:3369: checking for off_t" >&5 | 3401 echo "configure:3402: checking for off_t" >&5 |
3369 | 3402 |
3370 cat > conftest.$ac_ext <<EOF | 3403 cat > conftest.$ac_ext <<EOF |
3371 #line 3372 "configure" | 3404 #line 3405 "configure" |
3372 #include "confdefs.h" | 3405 #include "confdefs.h" |
3373 #include <sys/types.h> | 3406 #include <sys/types.h> |
3374 #if STDC_HEADERS | 3407 #if STDC_HEADERS |
3375 #include <stdlib.h> | 3408 #include <stdlib.h> |
3376 #include <stddef.h> | 3409 #include <stddef.h> |
3398 | 3431 |
3399 fi | 3432 fi |
3400 | 3433 |
3401 | 3434 |
3402 echo $ac_n "checking for struct timeval""... $ac_c" 1>&6 | 3435 echo $ac_n "checking for struct timeval""... $ac_c" 1>&6 |
3403 echo "configure:3404: checking for struct timeval" >&5 | 3436 echo "configure:3437: checking for struct timeval" >&5 |
3404 cat > conftest.$ac_ext <<EOF | 3437 cat > conftest.$ac_ext <<EOF |
3405 #line 3406 "configure" | 3438 #line 3439 "configure" |
3406 #include "confdefs.h" | 3439 #include "confdefs.h" |
3407 #ifdef TIME_WITH_SYS_TIME | 3440 #ifdef TIME_WITH_SYS_TIME |
3408 #include <sys/time.h> | 3441 #include <sys/time.h> |
3409 #include <time.h> | 3442 #include <time.h> |
3410 #else | 3443 #else |
3416 #endif | 3449 #endif |
3417 int main() { | 3450 int main() { |
3418 static struct timeval x; x.tv_sec = x.tv_usec; | 3451 static struct timeval x; x.tv_sec = x.tv_usec; |
3419 ; return 0; } | 3452 ; return 0; } |
3420 EOF | 3453 EOF |
3421 if { (eval echo configure:3422: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3454 if { (eval echo configure:3455: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
3422 rm -rf conftest* | 3455 rm -rf conftest* |
3423 echo "$ac_t""yes" 1>&6 | 3456 echo "$ac_t""yes" 1>&6 |
3424 HAVE_TIMEVAL=yes | 3457 HAVE_TIMEVAL=yes |
3425 { test "$extra_verbose" = "yes" && cat << \EOF | 3458 { test "$extra_verbose" = "yes" && cat << \EOF |
3426 Defining HAVE_TIMEVAL | 3459 Defining HAVE_TIMEVAL |
3438 HAVE_TIMEVAL=no | 3471 HAVE_TIMEVAL=no |
3439 fi | 3472 fi |
3440 rm -f conftest* | 3473 rm -f conftest* |
3441 | 3474 |
3442 echo $ac_n "checking whether struct tm is in sys/time.h or time.h""... $ac_c" 1>&6 | 3475 echo $ac_n "checking whether struct tm is in sys/time.h or time.h""... $ac_c" 1>&6 |
3443 echo "configure:3444: checking whether struct tm is in sys/time.h or time.h" >&5 | 3476 echo "configure:3477: checking whether struct tm is in sys/time.h or time.h" >&5 |
3444 | 3477 |
3445 cat > conftest.$ac_ext <<EOF | 3478 cat > conftest.$ac_ext <<EOF |
3446 #line 3447 "configure" | 3479 #line 3480 "configure" |
3447 #include "confdefs.h" | 3480 #include "confdefs.h" |
3448 #include <sys/types.h> | 3481 #include <sys/types.h> |
3449 #include <time.h> | 3482 #include <time.h> |
3450 int main() { | 3483 int main() { |
3451 struct tm *tp; tp->tm_sec; | 3484 struct tm *tp; tp->tm_sec; |
3452 ; return 0; } | 3485 ; return 0; } |
3453 EOF | 3486 EOF |
3454 if { (eval echo configure:3455: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3487 if { (eval echo configure:3488: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
3455 rm -rf conftest* | 3488 rm -rf conftest* |
3456 ac_cv_struct_tm=time.h | 3489 ac_cv_struct_tm=time.h |
3457 else | 3490 else |
3458 echo "configure: failed program was:" >&5 | 3491 echo "configure: failed program was:" >&5 |
3459 cat conftest.$ac_ext >&5 | 3492 cat conftest.$ac_ext >&5 |
3473 } | 3506 } |
3474 | 3507 |
3475 fi | 3508 fi |
3476 | 3509 |
3477 echo $ac_n "checking for tm_zone in struct tm""... $ac_c" 1>&6 | 3510 echo $ac_n "checking for tm_zone in struct tm""... $ac_c" 1>&6 |
3478 echo "configure:3479: checking for tm_zone in struct tm" >&5 | 3511 echo "configure:3512: checking for tm_zone in struct tm" >&5 |
3479 | 3512 |
3480 cat > conftest.$ac_ext <<EOF | 3513 cat > conftest.$ac_ext <<EOF |
3481 #line 3482 "configure" | 3514 #line 3515 "configure" |
3482 #include "confdefs.h" | 3515 #include "confdefs.h" |
3483 #include <sys/types.h> | 3516 #include <sys/types.h> |
3484 #include <$ac_cv_struct_tm> | 3517 #include <$ac_cv_struct_tm> |
3485 int main() { | 3518 int main() { |
3486 struct tm tm; tm.tm_zone; | 3519 struct tm tm; tm.tm_zone; |
3487 ; return 0; } | 3520 ; return 0; } |
3488 EOF | 3521 EOF |
3489 if { (eval echo configure:3490: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3522 if { (eval echo configure:3523: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
3490 rm -rf conftest* | 3523 rm -rf conftest* |
3491 ac_cv_struct_tm_zone=yes | 3524 ac_cv_struct_tm_zone=yes |
3492 else | 3525 else |
3493 echo "configure: failed program was:" >&5 | 3526 echo "configure: failed program was:" >&5 |
3494 cat conftest.$ac_ext >&5 | 3527 cat conftest.$ac_ext >&5 |
3507 EOF | 3540 EOF |
3508 } | 3541 } |
3509 | 3542 |
3510 else | 3543 else |
3511 echo $ac_n "checking for tzname""... $ac_c" 1>&6 | 3544 echo $ac_n "checking for tzname""... $ac_c" 1>&6 |
3512 echo "configure:3513: checking for tzname" >&5 | 3545 echo "configure:3546: checking for tzname" >&5 |
3513 | 3546 |
3514 cat > conftest.$ac_ext <<EOF | 3547 cat > conftest.$ac_ext <<EOF |
3515 #line 3516 "configure" | 3548 #line 3549 "configure" |
3516 #include "confdefs.h" | 3549 #include "confdefs.h" |
3517 #include <time.h> | 3550 #include <time.h> |
3518 #ifndef tzname /* For SGI. */ | 3551 #ifndef tzname /* For SGI. */ |
3519 extern char *tzname[]; /* RS6000 and others reject char **tzname. */ | 3552 extern char *tzname[]; /* RS6000 and others reject char **tzname. */ |
3520 #endif | 3553 #endif |
3521 int main() { | 3554 int main() { |
3522 atoi(*tzname); | 3555 atoi(*tzname); |
3523 ; return 0; } | 3556 ; return 0; } |
3524 EOF | 3557 EOF |
3525 if { (eval echo configure:3526: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 3558 if { (eval echo configure:3559: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
3526 rm -rf conftest* | 3559 rm -rf conftest* |
3527 ac_cv_var_tzname=yes | 3560 ac_cv_var_tzname=yes |
3528 else | 3561 else |
3529 echo "configure: failed program was:" >&5 | 3562 echo "configure: failed program was:" >&5 |
3530 cat conftest.$ac_ext >&5 | 3563 cat conftest.$ac_ext >&5 |
3546 fi | 3579 fi |
3547 fi | 3580 fi |
3548 | 3581 |
3549 | 3582 |
3550 echo $ac_n "checking for working const""... $ac_c" 1>&6 | 3583 echo $ac_n "checking for working const""... $ac_c" 1>&6 |
3551 echo "configure:3552: checking for working const" >&5 | 3584 echo "configure:3585: checking for working const" >&5 |
3552 | 3585 |
3553 cat > conftest.$ac_ext <<EOF | 3586 cat > conftest.$ac_ext <<EOF |
3554 #line 3555 "configure" | 3587 #line 3588 "configure" |
3555 #include "confdefs.h" | 3588 #include "confdefs.h" |
3556 | 3589 |
3557 int main() { | 3590 int main() { |
3558 | 3591 |
3559 /* Ultrix mips cc rejects this. */ | 3592 /* Ultrix mips cc rejects this. */ |
3598 const int foo = 10; | 3631 const int foo = 10; |
3599 } | 3632 } |
3600 | 3633 |
3601 ; return 0; } | 3634 ; return 0; } |
3602 EOF | 3635 EOF |
3603 if { (eval echo configure:3604: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3636 if { (eval echo configure:3637: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
3604 rm -rf conftest* | 3637 rm -rf conftest* |
3605 ac_cv_c_const=yes | 3638 ac_cv_c_const=yes |
3606 else | 3639 else |
3607 echo "configure: failed program was:" >&5 | 3640 echo "configure: failed program was:" >&5 |
3608 cat conftest.$ac_ext >&5 | 3641 cat conftest.$ac_ext >&5 |
3623 | 3656 |
3624 fi | 3657 fi |
3625 | 3658 |
3626 | 3659 |
3627 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6 | 3660 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6 |
3628 echo "configure:3629: checking whether ${MAKE-make} sets \${MAKE}" >&5 | 3661 echo "configure:3662: checking whether ${MAKE-make} sets \${MAKE}" >&5 |
3629 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'` | 3662 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'` |
3630 | 3663 |
3631 cat > conftestmake <<\EOF | 3664 cat > conftestmake <<\EOF |
3632 all: | 3665 all: |
3633 @echo 'ac_maketemp="${MAKE}"' | 3666 @echo 'ac_maketemp="${MAKE}"' |
3648 SET_MAKE="MAKE=${MAKE-make}" | 3681 SET_MAKE="MAKE=${MAKE-make}" |
3649 fi | 3682 fi |
3650 | 3683 |
3651 | 3684 |
3652 echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6 | 3685 echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6 |
3653 echo "configure:3654: checking whether byte ordering is bigendian" >&5 | 3686 echo "configure:3687: checking whether byte ordering is bigendian" >&5 |
3654 | 3687 |
3655 ac_cv_c_bigendian=unknown | 3688 ac_cv_c_bigendian=unknown |
3656 # See if sys/param.h defines the BYTE_ORDER macro. | 3689 # See if sys/param.h defines the BYTE_ORDER macro. |
3657 cat > conftest.$ac_ext <<EOF | 3690 cat > conftest.$ac_ext <<EOF |
3658 #line 3659 "configure" | 3691 #line 3692 "configure" |
3659 #include "confdefs.h" | 3692 #include "confdefs.h" |
3660 #include <sys/types.h> | 3693 #include <sys/types.h> |
3661 #include <sys/param.h> | 3694 #include <sys/param.h> |
3662 int main() { | 3695 int main() { |
3663 | 3696 |
3664 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN | 3697 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN |
3665 bogus endian macros | 3698 bogus endian macros |
3666 #endif | 3699 #endif |
3667 ; return 0; } | 3700 ; return 0; } |
3668 EOF | 3701 EOF |
3669 if { (eval echo configure:3670: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3702 if { (eval echo configure:3703: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
3670 rm -rf conftest* | 3703 rm -rf conftest* |
3671 # It does; now see whether it defined to BIG_ENDIAN or not. | 3704 # It does; now see whether it defined to BIG_ENDIAN or not. |
3672 cat > conftest.$ac_ext <<EOF | 3705 cat > conftest.$ac_ext <<EOF |
3673 #line 3674 "configure" | 3706 #line 3707 "configure" |
3674 #include "confdefs.h" | 3707 #include "confdefs.h" |
3675 #include <sys/types.h> | 3708 #include <sys/types.h> |
3676 #include <sys/param.h> | 3709 #include <sys/param.h> |
3677 int main() { | 3710 int main() { |
3678 | 3711 |
3679 #if BYTE_ORDER != BIG_ENDIAN | 3712 #if BYTE_ORDER != BIG_ENDIAN |
3680 not big endian | 3713 not big endian |
3681 #endif | 3714 #endif |
3682 ; return 0; } | 3715 ; return 0; } |
3683 EOF | 3716 EOF |
3684 if { (eval echo configure:3685: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3717 if { (eval echo configure:3718: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
3685 rm -rf conftest* | 3718 rm -rf conftest* |
3686 ac_cv_c_bigendian=yes | 3719 ac_cv_c_bigendian=yes |
3687 else | 3720 else |
3688 echo "configure: failed program was:" >&5 | 3721 echo "configure: failed program was:" >&5 |
3689 cat conftest.$ac_ext >&5 | 3722 cat conftest.$ac_ext >&5 |
3696 cat conftest.$ac_ext >&5 | 3729 cat conftest.$ac_ext >&5 |
3697 fi | 3730 fi |
3698 rm -f conftest* | 3731 rm -f conftest* |
3699 if test $ac_cv_c_bigendian = unknown; then | 3732 if test $ac_cv_c_bigendian = unknown; then |
3700 cat > conftest.$ac_ext <<EOF | 3733 cat > conftest.$ac_ext <<EOF |
3701 #line 3702 "configure" | 3734 #line 3735 "configure" |
3702 #include "confdefs.h" | 3735 #include "confdefs.h" |
3703 main () { | 3736 main () { |
3704 /* Are we little or big endian? From Harbison&Steele. */ | 3737 /* Are we little or big endian? From Harbison&Steele. */ |
3705 union | 3738 union |
3706 { | 3739 { |
3709 } u; | 3742 } u; |
3710 u.l = 1; | 3743 u.l = 1; |
3711 exit (u.c[sizeof (long) - 1] == 1); | 3744 exit (u.c[sizeof (long) - 1] == 1); |
3712 } | 3745 } |
3713 EOF | 3746 EOF |
3714 if { (eval echo configure:3715: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 | 3747 if { (eval echo configure:3748: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 |
3715 then | 3748 then |
3716 ac_cv_c_bigendian=no | 3749 ac_cv_c_bigendian=no |
3717 else | 3750 else |
3718 echo "configure: failed program was:" >&5 | 3751 echo "configure: failed program was:" >&5 |
3719 cat conftest.$ac_ext >&5 | 3752 cat conftest.$ac_ext >&5 |
3735 | 3768 |
3736 fi | 3769 fi |
3737 | 3770 |
3738 | 3771 |
3739 echo $ac_n "checking size of short""... $ac_c" 1>&6 | 3772 echo $ac_n "checking size of short""... $ac_c" 1>&6 |
3740 echo "configure:3741: checking size of short" >&5 | 3773 echo "configure:3774: checking size of short" >&5 |
3741 | 3774 |
3742 cat > conftest.$ac_ext <<EOF | 3775 cat > conftest.$ac_ext <<EOF |
3743 #line 3744 "configure" | 3776 #line 3777 "configure" |
3744 #include "confdefs.h" | 3777 #include "confdefs.h" |
3745 #include <stdio.h> | 3778 #include <stdio.h> |
3746 main() | 3779 main() |
3747 { | 3780 { |
3748 FILE *f=fopen("conftestval", "w"); | 3781 FILE *f=fopen("conftestval", "w"); |
3749 if (!f) exit(1); | 3782 if (!f) exit(1); |
3750 fprintf(f, "%d\n", sizeof(short)); | 3783 fprintf(f, "%d\n", sizeof(short)); |
3751 exit(0); | 3784 exit(0); |
3752 } | 3785 } |
3753 EOF | 3786 EOF |
3754 if { (eval echo configure:3755: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 | 3787 if { (eval echo configure:3788: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 |
3755 then | 3788 then |
3756 ac_cv_sizeof_short=`cat conftestval` | 3789 ac_cv_sizeof_short=`cat conftestval` |
3757 else | 3790 else |
3758 echo "configure: failed program was:" >&5 | 3791 echo "configure: failed program was:" >&5 |
3759 cat conftest.$ac_ext >&5 | 3792 cat conftest.$ac_ext >&5 |
3776 echo "*** PANIC *** Configure tests are not working - compiler is broken." | 3809 echo "*** PANIC *** Configure tests are not working - compiler is broken." |
3777 echo "*** PANIC *** Please examine config.log for compilation errors." | 3810 echo "*** PANIC *** Please examine config.log for compilation errors." |
3778 exit 1 | 3811 exit 1 |
3779 fi | 3812 fi |
3780 echo $ac_n "checking size of int""... $ac_c" 1>&6 | 3813 echo $ac_n "checking size of int""... $ac_c" 1>&6 |
3781 echo "configure:3782: checking size of int" >&5 | 3814 echo "configure:3815: checking size of int" >&5 |
3782 | 3815 |
3783 cat > conftest.$ac_ext <<EOF | 3816 cat > conftest.$ac_ext <<EOF |
3784 #line 3785 "configure" | 3817 #line 3818 "configure" |
3785 #include "confdefs.h" | 3818 #include "confdefs.h" |
3786 #include <stdio.h> | 3819 #include <stdio.h> |
3787 main() | 3820 main() |
3788 { | 3821 { |
3789 FILE *f=fopen("conftestval", "w"); | 3822 FILE *f=fopen("conftestval", "w"); |
3790 if (!f) exit(1); | 3823 if (!f) exit(1); |
3791 fprintf(f, "%d\n", sizeof(int)); | 3824 fprintf(f, "%d\n", sizeof(int)); |
3792 exit(0); | 3825 exit(0); |
3793 } | 3826 } |
3794 EOF | 3827 EOF |
3795 if { (eval echo configure:3796: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 | 3828 if { (eval echo configure:3829: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 |
3796 then | 3829 then |
3797 ac_cv_sizeof_int=`cat conftestval` | 3830 ac_cv_sizeof_int=`cat conftestval` |
3798 else | 3831 else |
3799 echo "configure: failed program was:" >&5 | 3832 echo "configure: failed program was:" >&5 |
3800 cat conftest.$ac_ext >&5 | 3833 cat conftest.$ac_ext >&5 |
3811 EOF | 3844 EOF |
3812 } | 3845 } |
3813 | 3846 |
3814 | 3847 |
3815 echo $ac_n "checking size of long""... $ac_c" 1>&6 | 3848 echo $ac_n "checking size of long""... $ac_c" 1>&6 |
3816 echo "configure:3817: checking size of long" >&5 | 3849 echo "configure:3850: checking size of long" >&5 |
3817 | 3850 |
3818 cat > conftest.$ac_ext <<EOF | 3851 cat > conftest.$ac_ext <<EOF |
3819 #line 3820 "configure" | 3852 #line 3853 "configure" |
3820 #include "confdefs.h" | 3853 #include "confdefs.h" |
3821 #include <stdio.h> | 3854 #include <stdio.h> |
3822 main() | 3855 main() |
3823 { | 3856 { |
3824 FILE *f=fopen("conftestval", "w"); | 3857 FILE *f=fopen("conftestval", "w"); |
3825 if (!f) exit(1); | 3858 if (!f) exit(1); |
3826 fprintf(f, "%d\n", sizeof(long)); | 3859 fprintf(f, "%d\n", sizeof(long)); |
3827 exit(0); | 3860 exit(0); |
3828 } | 3861 } |
3829 EOF | 3862 EOF |
3830 if { (eval echo configure:3831: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 | 3863 if { (eval echo configure:3864: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 |
3831 then | 3864 then |
3832 ac_cv_sizeof_long=`cat conftestval` | 3865 ac_cv_sizeof_long=`cat conftestval` |
3833 else | 3866 else |
3834 echo "configure: failed program was:" >&5 | 3867 echo "configure: failed program was:" >&5 |
3835 cat conftest.$ac_ext >&5 | 3868 cat conftest.$ac_ext >&5 |
3846 EOF | 3879 EOF |
3847 } | 3880 } |
3848 | 3881 |
3849 | 3882 |
3850 echo $ac_n "checking size of long long""... $ac_c" 1>&6 | 3883 echo $ac_n "checking size of long long""... $ac_c" 1>&6 |
3851 echo "configure:3852: checking size of long long" >&5 | 3884 echo "configure:3885: checking size of long long" >&5 |
3852 | 3885 |
3853 cat > conftest.$ac_ext <<EOF | 3886 cat > conftest.$ac_ext <<EOF |
3854 #line 3855 "configure" | 3887 #line 3888 "configure" |
3855 #include "confdefs.h" | 3888 #include "confdefs.h" |
3856 #include <stdio.h> | 3889 #include <stdio.h> |
3857 main() | 3890 main() |
3858 { | 3891 { |
3859 FILE *f=fopen("conftestval", "w"); | 3892 FILE *f=fopen("conftestval", "w"); |
3860 if (!f) exit(1); | 3893 if (!f) exit(1); |
3861 fprintf(f, "%d\n", sizeof(long long)); | 3894 fprintf(f, "%d\n", sizeof(long long)); |
3862 exit(0); | 3895 exit(0); |
3863 } | 3896 } |
3864 EOF | 3897 EOF |
3865 if { (eval echo configure:3866: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 | 3898 if { (eval echo configure:3899: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 |
3866 then | 3899 then |
3867 ac_cv_sizeof_long_long=`cat conftestval` | 3900 ac_cv_sizeof_long_long=`cat conftestval` |
3868 else | 3901 else |
3869 echo "configure: failed program was:" >&5 | 3902 echo "configure: failed program was:" >&5 |
3870 cat conftest.$ac_ext >&5 | 3903 cat conftest.$ac_ext >&5 |
3881 EOF | 3914 EOF |
3882 } | 3915 } |
3883 | 3916 |
3884 | 3917 |
3885 echo $ac_n "checking size of void *""... $ac_c" 1>&6 | 3918 echo $ac_n "checking size of void *""... $ac_c" 1>&6 |
3886 echo "configure:3887: checking size of void *" >&5 | 3919 echo "configure:3920: checking size of void *" >&5 |
3887 | 3920 |
3888 cat > conftest.$ac_ext <<EOF | 3921 cat > conftest.$ac_ext <<EOF |
3889 #line 3890 "configure" | 3922 #line 3923 "configure" |
3890 #include "confdefs.h" | 3923 #include "confdefs.h" |
3891 #include <stdio.h> | 3924 #include <stdio.h> |
3892 main() | 3925 main() |
3893 { | 3926 { |
3894 FILE *f=fopen("conftestval", "w"); | 3927 FILE *f=fopen("conftestval", "w"); |
3895 if (!f) exit(1); | 3928 if (!f) exit(1); |
3896 fprintf(f, "%d\n", sizeof(void *)); | 3929 fprintf(f, "%d\n", sizeof(void *)); |
3897 exit(0); | 3930 exit(0); |
3898 } | 3931 } |
3899 EOF | 3932 EOF |
3900 if { (eval echo configure:3901: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 | 3933 if { (eval echo configure:3934: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 |
3901 then | 3934 then |
3902 ac_cv_sizeof_void_p=`cat conftestval` | 3935 ac_cv_sizeof_void_p=`cat conftestval` |
3903 else | 3936 else |
3904 echo "configure: failed program was:" >&5 | 3937 echo "configure: failed program was:" >&5 |
3905 cat conftest.$ac_ext >&5 | 3938 cat conftest.$ac_ext >&5 |
3917 } | 3950 } |
3918 | 3951 |
3919 | 3952 |
3920 | 3953 |
3921 echo $ac_n "checking for long file names""... $ac_c" 1>&6 | 3954 echo $ac_n "checking for long file names""... $ac_c" 1>&6 |
3922 echo "configure:3923: checking for long file names" >&5 | 3955 echo "configure:3956: checking for long file names" >&5 |
3923 | 3956 |
3924 ac_cv_sys_long_file_names=yes | 3957 ac_cv_sys_long_file_names=yes |
3925 # Test for long file names in all the places we know might matter: | 3958 # Test for long file names in all the places we know might matter: |
3926 # . the current directory, where building will happen | 3959 # . the current directory, where building will happen |
3927 # $prefix/lib where we will be installing things | 3960 # $prefix/lib where we will be installing things |
3964 fi | 3997 fi |
3965 | 3998 |
3966 | 3999 |
3967 | 4000 |
3968 echo $ac_n "checking for sin in -lm""... $ac_c" 1>&6 | 4001 echo $ac_n "checking for sin in -lm""... $ac_c" 1>&6 |
3969 echo "configure:3970: checking for sin in -lm" >&5 | 4002 echo "configure:4003: checking for sin in -lm" >&5 |
3970 ac_lib_var=`echo m'_'sin | sed 'y%./+-%__p_%'` | 4003 ac_lib_var=`echo m'_'sin | sed 'y%./+-%__p_%'` |
3971 | 4004 |
3972 xe_check_libs=" -lm " | 4005 xe_check_libs=" -lm " |
3973 cat > conftest.$ac_ext <<EOF | 4006 cat > conftest.$ac_ext <<EOF |
3974 #line 3975 "configure" | 4007 #line 4008 "configure" |
3975 #include "confdefs.h" | 4008 #include "confdefs.h" |
3976 /* Override any gcc2 internal prototype to avoid an error. */ | 4009 /* Override any gcc2 internal prototype to avoid an error. */ |
3977 /* We use char because int might match the return type of a gcc2 | 4010 /* We use char because int might match the return type of a gcc2 |
3978 builtin and then its argument prototype would still apply. */ | 4011 builtin and then its argument prototype would still apply. */ |
3979 char sin(); | 4012 char sin(); |
3980 | 4013 |
3981 int main() { | 4014 int main() { |
3982 sin() | 4015 sin() |
3983 ; return 0; } | 4016 ; return 0; } |
3984 EOF | 4017 EOF |
3985 if { (eval echo configure:3986: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4018 if { (eval echo configure:4019: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
3986 rm -rf conftest* | 4019 rm -rf conftest* |
3987 eval "ac_cv_lib_$ac_lib_var=yes" | 4020 eval "ac_cv_lib_$ac_lib_var=yes" |
3988 else | 4021 else |
3989 echo "configure: failed program was:" >&5 | 4022 echo "configure: failed program was:" >&5 |
3990 cat conftest.$ac_ext >&5 | 4023 cat conftest.$ac_ext >&5 |
4022 EOF | 4055 EOF |
4023 } | 4056 } |
4024 | 4057 |
4025 | 4058 |
4026 cat > conftest.$ac_ext <<EOF | 4059 cat > conftest.$ac_ext <<EOF |
4027 #line 4028 "configure" | 4060 #line 4061 "configure" |
4028 #include "confdefs.h" | 4061 #include "confdefs.h" |
4029 #include <math.h> | 4062 #include <math.h> |
4030 int main() { | 4063 int main() { |
4031 return atanh(1.0) + asinh(1.0) + acosh(1.0); | 4064 return atanh(1.0) + asinh(1.0) + acosh(1.0); |
4032 ; return 0; } | 4065 ; return 0; } |
4033 EOF | 4066 EOF |
4034 if { (eval echo configure:4035: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4067 if { (eval echo configure:4068: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
4035 rm -rf conftest* | 4068 rm -rf conftest* |
4036 { test "$extra_verbose" = "yes" && cat << \EOF | 4069 { test "$extra_verbose" = "yes" && cat << \EOF |
4037 Defining HAVE_INVERSE_HYPERBOLIC | 4070 Defining HAVE_INVERSE_HYPERBOLIC |
4038 EOF | 4071 EOF |
4039 cat >> confdefs.h <<\EOF | 4072 cat >> confdefs.h <<\EOF |
4046 cat conftest.$ac_ext >&5 | 4079 cat conftest.$ac_ext >&5 |
4047 fi | 4080 fi |
4048 rm -f conftest* | 4081 rm -f conftest* |
4049 | 4082 |
4050 echo "checking type of mail spool file locking" 1>&6 | 4083 echo "checking type of mail spool file locking" 1>&6 |
4051 echo "configure:4052: checking type of mail spool file locking" >&5 | 4084 echo "configure:4085: checking type of mail spool file locking" >&5 |
4052 test -z "$mail_locking" -a "$mail_use_flock" = "yes" && mail_locking=flock | 4085 test -z "$mail_locking" -a "$mail_use_flock" = "yes" && mail_locking=flock |
4053 test -z "$mail_locking" -a "$mail_use_lockf" = "yes" && mail_locking=lockf | 4086 test -z "$mail_locking" -a "$mail_use_lockf" = "yes" && mail_locking=lockf |
4054 if test "$mail_locking" = "lockf"; then { test "$extra_verbose" = "yes" && cat << \EOF | 4087 if test "$mail_locking" = "lockf"; then { test "$extra_verbose" = "yes" && cat << \EOF |
4055 Defining REAL_MAIL_USE_LOCKF | 4088 Defining REAL_MAIL_USE_LOCKF |
4056 EOF | 4089 EOF |
4070 else mail_locking="dot-locking" | 4103 else mail_locking="dot-locking" |
4071 fi | 4104 fi |
4072 | 4105 |
4073 | 4106 |
4074 echo $ac_n "checking for kstat_open in -lkstat""... $ac_c" 1>&6 | 4107 echo $ac_n "checking for kstat_open in -lkstat""... $ac_c" 1>&6 |
4075 echo "configure:4076: checking for kstat_open in -lkstat" >&5 | 4108 echo "configure:4109: checking for kstat_open in -lkstat" >&5 |
4076 ac_lib_var=`echo kstat'_'kstat_open | sed 'y%./+-%__p_%'` | 4109 ac_lib_var=`echo kstat'_'kstat_open | sed 'y%./+-%__p_%'` |
4077 | 4110 |
4078 xe_check_libs=" -lkstat " | 4111 xe_check_libs=" -lkstat " |
4079 cat > conftest.$ac_ext <<EOF | 4112 cat > conftest.$ac_ext <<EOF |
4080 #line 4081 "configure" | 4113 #line 4114 "configure" |
4081 #include "confdefs.h" | 4114 #include "confdefs.h" |
4082 /* Override any gcc2 internal prototype to avoid an error. */ | 4115 /* Override any gcc2 internal prototype to avoid an error. */ |
4083 /* We use char because int might match the return type of a gcc2 | 4116 /* We use char because int might match the return type of a gcc2 |
4084 builtin and then its argument prototype would still apply. */ | 4117 builtin and then its argument prototype would still apply. */ |
4085 char kstat_open(); | 4118 char kstat_open(); |
4086 | 4119 |
4087 int main() { | 4120 int main() { |
4088 kstat_open() | 4121 kstat_open() |
4089 ; return 0; } | 4122 ; return 0; } |
4090 EOF | 4123 EOF |
4091 if { (eval echo configure:4092: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4124 if { (eval echo configure:4125: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
4092 rm -rf conftest* | 4125 rm -rf conftest* |
4093 eval "ac_cv_lib_$ac_lib_var=yes" | 4126 eval "ac_cv_lib_$ac_lib_var=yes" |
4094 else | 4127 else |
4095 echo "configure: failed program was:" >&5 | 4128 echo "configure: failed program was:" >&5 |
4096 cat conftest.$ac_ext >&5 | 4129 cat conftest.$ac_ext >&5 |
4120 | 4153 |
4121 | 4154 |
4122 | 4155 |
4123 | 4156 |
4124 echo $ac_n "checking for kvm_read in -lkvm""... $ac_c" 1>&6 | 4157 echo $ac_n "checking for kvm_read in -lkvm""... $ac_c" 1>&6 |
4125 echo "configure:4126: checking for kvm_read in -lkvm" >&5 | 4158 echo "configure:4159: checking for kvm_read in -lkvm" >&5 |
4126 ac_lib_var=`echo kvm'_'kvm_read | sed 'y%./+-%__p_%'` | 4159 ac_lib_var=`echo kvm'_'kvm_read | sed 'y%./+-%__p_%'` |
4127 | 4160 |
4128 xe_check_libs=" -lkvm " | 4161 xe_check_libs=" -lkvm " |
4129 cat > conftest.$ac_ext <<EOF | 4162 cat > conftest.$ac_ext <<EOF |
4130 #line 4131 "configure" | 4163 #line 4164 "configure" |
4131 #include "confdefs.h" | 4164 #include "confdefs.h" |
4132 /* Override any gcc2 internal prototype to avoid an error. */ | 4165 /* Override any gcc2 internal prototype to avoid an error. */ |
4133 /* We use char because int might match the return type of a gcc2 | 4166 /* We use char because int might match the return type of a gcc2 |
4134 builtin and then its argument prototype would still apply. */ | 4167 builtin and then its argument prototype would still apply. */ |
4135 char kvm_read(); | 4168 char kvm_read(); |
4136 | 4169 |
4137 int main() { | 4170 int main() { |
4138 kvm_read() | 4171 kvm_read() |
4139 ; return 0; } | 4172 ; return 0; } |
4140 EOF | 4173 EOF |
4141 if { (eval echo configure:4142: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4174 if { (eval echo configure:4175: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
4142 rm -rf conftest* | 4175 rm -rf conftest* |
4143 eval "ac_cv_lib_$ac_lib_var=yes" | 4176 eval "ac_cv_lib_$ac_lib_var=yes" |
4144 else | 4177 else |
4145 echo "configure: failed program was:" >&5 | 4178 echo "configure: failed program was:" >&5 |
4146 cat conftest.$ac_ext >&5 | 4179 cat conftest.$ac_ext >&5 |
4168 echo "$ac_t""no" 1>&6 | 4201 echo "$ac_t""no" 1>&6 |
4169 fi | 4202 fi |
4170 | 4203 |
4171 | 4204 |
4172 | 4205 |
4173 | 4206 case "$opsys" in decosf*) |
4207 | |
4174 echo $ac_n "checking for cma_open in -lpthreads""... $ac_c" 1>&6 | 4208 echo $ac_n "checking for cma_open in -lpthreads""... $ac_c" 1>&6 |
4175 echo "configure:4176: checking for cma_open in -lpthreads" >&5 | 4209 echo "configure:4210: checking for cma_open in -lpthreads" >&5 |
4176 ac_lib_var=`echo pthreads'_'cma_open | sed 'y%./+-%__p_%'` | 4210 ac_lib_var=`echo pthreads'_'cma_open | sed 'y%./+-%__p_%'` |
4177 | 4211 |
4178 xe_check_libs=" -lpthreads " | 4212 xe_check_libs=" -lpthreads " |
4179 cat > conftest.$ac_ext <<EOF | 4213 cat > conftest.$ac_ext <<EOF |
4180 #line 4181 "configure" | 4214 #line 4215 "configure" |
4181 #include "confdefs.h" | 4215 #include "confdefs.h" |
4182 /* Override any gcc2 internal prototype to avoid an error. */ | 4216 /* Override any gcc2 internal prototype to avoid an error. */ |
4183 /* We use char because int might match the return type of a gcc2 | 4217 /* We use char because int might match the return type of a gcc2 |
4184 builtin and then its argument prototype would still apply. */ | 4218 builtin and then its argument prototype would still apply. */ |
4185 char cma_open(); | 4219 char cma_open(); |
4186 | 4220 |
4187 int main() { | 4221 int main() { |
4188 cma_open() | 4222 cma_open() |
4189 ; return 0; } | 4223 ; return 0; } |
4190 EOF | 4224 EOF |
4191 if { (eval echo configure:4192: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4225 if { (eval echo configure:4226: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
4192 rm -rf conftest* | 4226 rm -rf conftest* |
4193 eval "ac_cv_lib_$ac_lib_var=yes" | 4227 eval "ac_cv_lib_$ac_lib_var=yes" |
4194 else | 4228 else |
4195 echo "configure: failed program was:" >&5 | 4229 echo "configure: failed program was:" >&5 |
4196 cat conftest.$ac_ext >&5 | 4230 cat conftest.$ac_ext >&5 |
4217 else | 4251 else |
4218 echo "$ac_t""no" 1>&6 | 4252 echo "$ac_t""no" 1>&6 |
4219 fi | 4253 fi |
4220 | 4254 |
4221 | 4255 |
4222 if test "$ac_cv_lib_pthreads_cma_open" = "yes"; then | 4256 test "$ac_cv_lib_pthreads_cma_open" = "yes" && \ |
4223 case "$opsys" in decosf*) c_switch_site="$c_switch_site -threads";; esac | 4257 c_switch_site="$c_switch_site -threads" ;; |
4224 fi | 4258 esac |
4225 | 4259 |
4226 echo $ac_n "checking whether the -xildoff compiler flag is required""... $ac_c" 1>&6 | 4260 echo $ac_n "checking whether the -xildoff compiler flag is required""... $ac_c" 1>&6 |
4227 echo "configure:4228: checking whether the -xildoff compiler flag is required" >&5 | 4261 echo "configure:4262: checking whether the -xildoff compiler flag is required" >&5 |
4228 if ${CC-cc} '-###' -xildon no_such_file.c 2>&1 | grep '^[^ ]*/ild ' > /dev/null ; then | 4262 if ${CC-cc} '-###' -xildon no_such_file.c 2>&1 | grep '^[^ ]*/ild ' > /dev/null ; then |
4229 if ${CC-cc} '-###' -xildoff no_such_file.c 2>&1 | grep '^[^ ]*/ild ' > /dev/null ; | 4263 if ${CC-cc} '-###' -xildoff no_such_file.c 2>&1 | grep '^[^ ]*/ild ' > /dev/null ; |
4230 then echo "$ac_t""no" 1>&6; | 4264 then echo "$ac_t""no" 1>&6; |
4231 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 | 4265 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 |
4232 fi | 4266 fi |
4233 else echo "$ac_t""no" 1>&6 | 4267 else echo "$ac_t""no" 1>&6 |
4234 fi | 4268 fi |
4235 | 4269 |
4236 if test "$opsys" = "sol2" && test "$OS_RELEASE" -ge 56; then | 4270 if test "$opsys" = "sol2" && test "$OS_RELEASE" -ge 56; then |
4237 echo $ac_n "checking for \"-z ignore\" linker flag""... $ac_c" 1>&6 | 4271 echo $ac_n "checking for \"-z ignore\" linker flag""... $ac_c" 1>&6 |
4238 echo "configure:4239: checking for \"-z ignore\" linker flag" >&5 | 4272 echo "configure:4273: checking for \"-z ignore\" linker flag" >&5 |
4239 case "`ld -h 2>&1`" in | 4273 case "`ld -h 2>&1`" in |
4240 *-z\ ignore\|record* ) echo "$ac_t""yes" 1>&6 | 4274 *-z\ ignore\|record* ) echo "$ac_t""yes" 1>&6 |
4241 ld_switch_site="-z ignore $ld_switch_site" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-z ignore\" to \$ld_switch_site"; fi ;; | 4275 ld_switch_site="-z ignore $ld_switch_site" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-z ignore\" to \$ld_switch_site"; fi ;; |
4242 *) echo "$ac_t""no" 1>&6 ;; | 4276 *) echo "$ac_t""no" 1>&6 ;; |
4243 esac | 4277 esac |
4244 fi | 4278 fi |
4245 | 4279 |
4246 | 4280 |
4247 echo "checking "for specified window system"" 1>&6 | 4281 echo "checking "for specified window system"" 1>&6 |
4248 echo "configure:4249: checking "for specified window system"" >&5 | 4282 echo "configure:4283: checking "for specified window system"" >&5 |
4249 | 4283 |
4250 if test "$with_x11" != "no"; then | 4284 if test "$with_x11" != "no"; then |
4251 test "$x_includes $x_libraries" != "NONE NONE" && \ | 4285 test "$x_includes $x_libraries" != "NONE NONE" && \ |
4252 window_system=x11 with_x11=yes | 4286 window_system=x11 with_x11=yes |
4253 | 4287 |
4276 # If we find X, set shell vars x_includes and x_libraries to the | 4310 # If we find X, set shell vars x_includes and x_libraries to the |
4277 # paths, otherwise set no_x=yes. | 4311 # paths, otherwise set no_x=yes. |
4278 # Uses ac_ vars as temps to allow command line to override cache and checks. | 4312 # Uses ac_ vars as temps to allow command line to override cache and checks. |
4279 # --without-x overrides everything else, but does not touch the cache. | 4313 # --without-x overrides everything else, but does not touch the cache. |
4280 echo $ac_n "checking for X""... $ac_c" 1>&6 | 4314 echo $ac_n "checking for X""... $ac_c" 1>&6 |
4281 echo "configure:4282: checking for X" >&5 | 4315 echo "configure:4316: checking for X" >&5 |
4282 | 4316 |
4283 # Check whether --with-x or --without-x was given. | 4317 # Check whether --with-x or --without-x was given. |
4284 if test "${with_x+set}" = set; then | 4318 if test "${with_x+set}" = set; then |
4285 withval="$with_x" | 4319 withval="$with_x" |
4286 : | 4320 : |
4336 # Guess where to find include files, by looking for this one X11 .h file. | 4370 # Guess where to find include files, by looking for this one X11 .h file. |
4337 test -z "$x_direct_test_include" && x_direct_test_include=X11/Intrinsic.h | 4371 test -z "$x_direct_test_include" && x_direct_test_include=X11/Intrinsic.h |
4338 | 4372 |
4339 # First, try using that file with no special directory specified. | 4373 # First, try using that file with no special directory specified. |
4340 cat > conftest.$ac_ext <<EOF | 4374 cat > conftest.$ac_ext <<EOF |
4341 #line 4342 "configure" | 4375 #line 4376 "configure" |
4342 #include "confdefs.h" | 4376 #include "confdefs.h" |
4343 #include <$x_direct_test_include> | 4377 #include <$x_direct_test_include> |
4344 EOF | 4378 EOF |
4345 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 4379 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
4346 { (eval echo configure:4347: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 4380 { (eval echo configure:4381: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
4347 ac_err=`grep -v '^ *+' conftest.out` | 4381 ac_err=`grep -v '^ *+' conftest.out` |
4348 if test -z "$ac_err"; then | 4382 if test -z "$ac_err"; then |
4349 rm -rf conftest* | 4383 rm -rf conftest* |
4350 # We can compile using X headers with no special include directory. | 4384 # We can compile using X headers with no special include directory. |
4351 ac_x_includes= | 4385 ac_x_includes= |
4410 # See if we find them without any special options. | 4444 # See if we find them without any special options. |
4411 # Don't add to $LIBS permanently. | 4445 # Don't add to $LIBS permanently. |
4412 ac_save_LIBS="$LIBS" | 4446 ac_save_LIBS="$LIBS" |
4413 LIBS="-l$x_direct_test_library $LIBS" | 4447 LIBS="-l$x_direct_test_library $LIBS" |
4414 cat > conftest.$ac_ext <<EOF | 4448 cat > conftest.$ac_ext <<EOF |
4415 #line 4416 "configure" | 4449 #line 4450 "configure" |
4416 #include "confdefs.h" | 4450 #include "confdefs.h" |
4417 | 4451 |
4418 int main() { | 4452 int main() { |
4419 ${x_direct_test_function}() | 4453 ${x_direct_test_function}() |
4420 ; return 0; } | 4454 ; return 0; } |
4421 EOF | 4455 EOF |
4422 if { (eval echo configure:4423: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4456 if { (eval echo configure:4457: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
4423 rm -rf conftest* | 4457 rm -rf conftest* |
4424 LIBS="$ac_save_LIBS" | 4458 LIBS="$ac_save_LIBS" |
4425 # We can link X programs with no special library path. | 4459 # We can link X programs with no special library path. |
4426 ac_x_libraries= | 4460 ac_x_libraries= |
4427 else | 4461 else |
4526 # For Solaris; some versions of Sun CC require a space after -R and | 4560 # For Solaris; some versions of Sun CC require a space after -R and |
4527 # others require no space. Words are not sufficient . . . . | 4561 # others require no space. Words are not sufficient . . . . |
4528 case "`(uname -sr) 2>/dev/null`" in | 4562 case "`(uname -sr) 2>/dev/null`" in |
4529 "SunOS 5"*) | 4563 "SunOS 5"*) |
4530 echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6 | 4564 echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6 |
4531 echo "configure:4532: checking whether -R must be followed by a space" >&5 | 4565 echo "configure:4566: checking whether -R must be followed by a space" >&5 |
4532 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS -R$x_libraries" | 4566 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS -R$x_libraries" |
4533 cat > conftest.$ac_ext <<EOF | 4567 cat > conftest.$ac_ext <<EOF |
4534 #line 4535 "configure" | 4568 #line 4569 "configure" |
4535 #include "confdefs.h" | 4569 #include "confdefs.h" |
4536 | 4570 |
4537 int main() { | 4571 int main() { |
4538 | 4572 |
4539 ; return 0; } | 4573 ; return 0; } |
4540 EOF | 4574 EOF |
4541 if { (eval echo configure:4542: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4575 if { (eval echo configure:4576: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
4542 rm -rf conftest* | 4576 rm -rf conftest* |
4543 ac_R_nospace=yes | 4577 ac_R_nospace=yes |
4544 else | 4578 else |
4545 echo "configure: failed program was:" >&5 | 4579 echo "configure: failed program was:" >&5 |
4546 cat conftest.$ac_ext >&5 | 4580 cat conftest.$ac_ext >&5 |
4552 echo "$ac_t""no" 1>&6 | 4586 echo "$ac_t""no" 1>&6 |
4553 X_LIBS="$X_LIBS -R$x_libraries" | 4587 X_LIBS="$X_LIBS -R$x_libraries" |
4554 else | 4588 else |
4555 LIBS="$ac_xsave_LIBS -R $x_libraries" | 4589 LIBS="$ac_xsave_LIBS -R $x_libraries" |
4556 cat > conftest.$ac_ext <<EOF | 4590 cat > conftest.$ac_ext <<EOF |
4557 #line 4558 "configure" | 4591 #line 4592 "configure" |
4558 #include "confdefs.h" | 4592 #include "confdefs.h" |
4559 | 4593 |
4560 int main() { | 4594 int main() { |
4561 | 4595 |
4562 ; return 0; } | 4596 ; return 0; } |
4563 EOF | 4597 EOF |
4564 if { (eval echo configure:4565: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4598 if { (eval echo configure:4599: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
4565 rm -rf conftest* | 4599 rm -rf conftest* |
4566 ac_R_space=yes | 4600 ac_R_space=yes |
4567 else | 4601 else |
4568 echo "configure: failed program was:" >&5 | 4602 echo "configure: failed program was:" >&5 |
4569 cat conftest.$ac_ext >&5 | 4603 cat conftest.$ac_ext >&5 |
4595 if test "$with_dnet" = "no" ; then | 4629 if test "$with_dnet" = "no" ; then |
4596 ac_cv_lib_dnet_dnet_ntoa=no | 4630 ac_cv_lib_dnet_dnet_ntoa=no |
4597 else | 4631 else |
4598 | 4632 |
4599 echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6 | 4633 echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6 |
4600 echo "configure:4601: checking for dnet_ntoa in -ldnet" >&5 | 4634 echo "configure:4635: checking for dnet_ntoa in -ldnet" >&5 |
4601 ac_lib_var=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'` | 4635 ac_lib_var=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'` |
4602 | 4636 |
4603 xe_check_libs=" -ldnet " | 4637 xe_check_libs=" -ldnet " |
4604 cat > conftest.$ac_ext <<EOF | 4638 cat > conftest.$ac_ext <<EOF |
4605 #line 4606 "configure" | 4639 #line 4640 "configure" |
4606 #include "confdefs.h" | 4640 #include "confdefs.h" |
4607 /* Override any gcc2 internal prototype to avoid an error. */ | 4641 /* Override any gcc2 internal prototype to avoid an error. */ |
4608 /* We use char because int might match the return type of a gcc2 | 4642 /* We use char because int might match the return type of a gcc2 |
4609 builtin and then its argument prototype would still apply. */ | 4643 builtin and then its argument prototype would still apply. */ |
4610 char dnet_ntoa(); | 4644 char dnet_ntoa(); |
4611 | 4645 |
4612 int main() { | 4646 int main() { |
4613 dnet_ntoa() | 4647 dnet_ntoa() |
4614 ; return 0; } | 4648 ; return 0; } |
4615 EOF | 4649 EOF |
4616 if { (eval echo configure:4617: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4650 if { (eval echo configure:4651: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
4617 rm -rf conftest* | 4651 rm -rf conftest* |
4618 eval "ac_cv_lib_$ac_lib_var=yes" | 4652 eval "ac_cv_lib_$ac_lib_var=yes" |
4619 else | 4653 else |
4620 echo "configure: failed program was:" >&5 | 4654 echo "configure: failed program was:" >&5 |
4621 cat conftest.$ac_ext >&5 | 4655 cat conftest.$ac_ext >&5 |
4635 fi | 4669 fi |
4636 | 4670 |
4637 if test $ac_cv_lib_dnet_dnet_ntoa = no; then | 4671 if test $ac_cv_lib_dnet_dnet_ntoa = no; then |
4638 | 4672 |
4639 echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6 | 4673 echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6 |
4640 echo "configure:4641: checking for dnet_ntoa in -ldnet_stub" >&5 | 4674 echo "configure:4675: checking for dnet_ntoa in -ldnet_stub" >&5 |
4641 ac_lib_var=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'` | 4675 ac_lib_var=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'` |
4642 | 4676 |
4643 xe_check_libs=" -ldnet_stub " | 4677 xe_check_libs=" -ldnet_stub " |
4644 cat > conftest.$ac_ext <<EOF | 4678 cat > conftest.$ac_ext <<EOF |
4645 #line 4646 "configure" | 4679 #line 4680 "configure" |
4646 #include "confdefs.h" | 4680 #include "confdefs.h" |
4647 /* Override any gcc2 internal prototype to avoid an error. */ | 4681 /* Override any gcc2 internal prototype to avoid an error. */ |
4648 /* We use char because int might match the return type of a gcc2 | 4682 /* We use char because int might match the return type of a gcc2 |
4649 builtin and then its argument prototype would still apply. */ | 4683 builtin and then its argument prototype would still apply. */ |
4650 char dnet_ntoa(); | 4684 char dnet_ntoa(); |
4651 | 4685 |
4652 int main() { | 4686 int main() { |
4653 dnet_ntoa() | 4687 dnet_ntoa() |
4654 ; return 0; } | 4688 ; return 0; } |
4655 EOF | 4689 EOF |
4656 if { (eval echo configure:4657: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4690 if { (eval echo configure:4691: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
4657 rm -rf conftest* | 4691 rm -rf conftest* |
4658 eval "ac_cv_lib_$ac_lib_var=yes" | 4692 eval "ac_cv_lib_$ac_lib_var=yes" |
4659 else | 4693 else |
4660 echo "configure: failed program was:" >&5 | 4694 echo "configure: failed program was:" >&5 |
4661 cat conftest.$ac_ext >&5 | 4695 cat conftest.$ac_ext >&5 |
4680 # chad@anasazi.com says the Pyramis MIS-ES running DC/OSx (SVR4) | 4714 # chad@anasazi.com says the Pyramis MIS-ES running DC/OSx (SVR4) |
4681 # needs -lnsl. | 4715 # needs -lnsl. |
4682 # The nsl library prevents programs from opening the X display | 4716 # The nsl library prevents programs from opening the X display |
4683 # on Irix 5.2, according to dickey@clark.net. | 4717 # on Irix 5.2, according to dickey@clark.net. |
4684 echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6 | 4718 echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6 |
4685 echo "configure:4686: checking for gethostbyname" >&5 | 4719 echo "configure:4720: checking for gethostbyname" >&5 |
4686 | 4720 |
4687 cat > conftest.$ac_ext <<EOF | 4721 cat > conftest.$ac_ext <<EOF |
4688 #line 4689 "configure" | 4722 #line 4723 "configure" |
4689 #include "confdefs.h" | 4723 #include "confdefs.h" |
4690 /* System header to define __stub macros and hopefully few prototypes, | 4724 /* System header to define __stub macros and hopefully few prototypes, |
4691 which can conflict with char gethostbyname(); below. */ | 4725 which can conflict with char gethostbyname(); below. */ |
4692 #include <assert.h> | 4726 #include <assert.h> |
4693 /* Override any gcc2 internal prototype to avoid an error. */ | 4727 /* Override any gcc2 internal prototype to avoid an error. */ |
4706 gethostbyname(); | 4740 gethostbyname(); |
4707 #endif | 4741 #endif |
4708 | 4742 |
4709 ; return 0; } | 4743 ; return 0; } |
4710 EOF | 4744 EOF |
4711 if { (eval echo configure:4712: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4745 if { (eval echo configure:4746: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
4712 rm -rf conftest* | 4746 rm -rf conftest* |
4713 eval "ac_cv_func_gethostbyname=yes" | 4747 eval "ac_cv_func_gethostbyname=yes" |
4714 else | 4748 else |
4715 echo "configure: failed program was:" >&5 | 4749 echo "configure: failed program was:" >&5 |
4716 cat conftest.$ac_ext >&5 | 4750 cat conftest.$ac_ext >&5 |
4727 fi | 4761 fi |
4728 | 4762 |
4729 if test $ac_cv_func_gethostbyname = no; then | 4763 if test $ac_cv_func_gethostbyname = no; then |
4730 | 4764 |
4731 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6 | 4765 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6 |
4732 echo "configure:4733: checking for gethostbyname in -lnsl" >&5 | 4766 echo "configure:4767: checking for gethostbyname in -lnsl" >&5 |
4733 ac_lib_var=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'` | 4767 ac_lib_var=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'` |
4734 | 4768 |
4735 xe_check_libs=" -lnsl " | 4769 xe_check_libs=" -lnsl " |
4736 cat > conftest.$ac_ext <<EOF | 4770 cat > conftest.$ac_ext <<EOF |
4737 #line 4738 "configure" | 4771 #line 4772 "configure" |
4738 #include "confdefs.h" | 4772 #include "confdefs.h" |
4739 /* Override any gcc2 internal prototype to avoid an error. */ | 4773 /* Override any gcc2 internal prototype to avoid an error. */ |
4740 /* We use char because int might match the return type of a gcc2 | 4774 /* We use char because int might match the return type of a gcc2 |
4741 builtin and then its argument prototype would still apply. */ | 4775 builtin and then its argument prototype would still apply. */ |
4742 char gethostbyname(); | 4776 char gethostbyname(); |
4743 | 4777 |
4744 int main() { | 4778 int main() { |
4745 gethostbyname() | 4779 gethostbyname() |
4746 ; return 0; } | 4780 ; return 0; } |
4747 EOF | 4781 EOF |
4748 if { (eval echo configure:4749: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4782 if { (eval echo configure:4783: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
4749 rm -rf conftest* | 4783 rm -rf conftest* |
4750 eval "ac_cv_lib_$ac_lib_var=yes" | 4784 eval "ac_cv_lib_$ac_lib_var=yes" |
4751 else | 4785 else |
4752 echo "configure: failed program was:" >&5 | 4786 echo "configure: failed program was:" >&5 |
4753 cat conftest.$ac_ext >&5 | 4787 cat conftest.$ac_ext >&5 |
4773 # on later versions), says simon@lia.di.epfl.ch: it contains | 4807 # on later versions), says simon@lia.di.epfl.ch: it contains |
4774 # gethostby* variants that don't use the nameserver (or something). | 4808 # gethostby* variants that don't use the nameserver (or something). |
4775 # -lsocket must be given before -lnsl if both are needed. | 4809 # -lsocket must be given before -lnsl if both are needed. |
4776 # We assume that if connect needs -lnsl, so does gethostbyname. | 4810 # We assume that if connect needs -lnsl, so does gethostbyname. |
4777 echo $ac_n "checking for connect""... $ac_c" 1>&6 | 4811 echo $ac_n "checking for connect""... $ac_c" 1>&6 |
4778 echo "configure:4779: checking for connect" >&5 | 4812 echo "configure:4813: checking for connect" >&5 |
4779 | 4813 |
4780 cat > conftest.$ac_ext <<EOF | 4814 cat > conftest.$ac_ext <<EOF |
4781 #line 4782 "configure" | 4815 #line 4816 "configure" |
4782 #include "confdefs.h" | 4816 #include "confdefs.h" |
4783 /* System header to define __stub macros and hopefully few prototypes, | 4817 /* System header to define __stub macros and hopefully few prototypes, |
4784 which can conflict with char connect(); below. */ | 4818 which can conflict with char connect(); below. */ |
4785 #include <assert.h> | 4819 #include <assert.h> |
4786 /* Override any gcc2 internal prototype to avoid an error. */ | 4820 /* Override any gcc2 internal prototype to avoid an error. */ |
4799 connect(); | 4833 connect(); |
4800 #endif | 4834 #endif |
4801 | 4835 |
4802 ; return 0; } | 4836 ; return 0; } |
4803 EOF | 4837 EOF |
4804 if { (eval echo configure:4805: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4838 if { (eval echo configure:4839: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
4805 rm -rf conftest* | 4839 rm -rf conftest* |
4806 eval "ac_cv_func_connect=yes" | 4840 eval "ac_cv_func_connect=yes" |
4807 else | 4841 else |
4808 echo "configure: failed program was:" >&5 | 4842 echo "configure: failed program was:" >&5 |
4809 cat conftest.$ac_ext >&5 | 4843 cat conftest.$ac_ext >&5 |
4822 if test $ac_cv_func_connect = no; then | 4856 if test $ac_cv_func_connect = no; then |
4823 | 4857 |
4824 xe_msg_checking="for connect in -lsocket" | 4858 xe_msg_checking="for connect in -lsocket" |
4825 test -n "$X_EXTRA_LIBS" && xe_msg_checking="$xe_msg_checking using extra libs $X_EXTRA_LIBS" | 4859 test -n "$X_EXTRA_LIBS" && xe_msg_checking="$xe_msg_checking using extra libs $X_EXTRA_LIBS" |
4826 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 4860 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
4827 echo "configure:4828: checking "$xe_msg_checking"" >&5 | 4861 echo "configure:4862: checking "$xe_msg_checking"" >&5 |
4828 ac_lib_var=`echo socket'_'connect | sed 'y%./+-%__p_%'` | 4862 ac_lib_var=`echo socket'_'connect | sed 'y%./+-%__p_%'` |
4829 | 4863 |
4830 xe_check_libs=" -lsocket $X_EXTRA_LIBS" | 4864 xe_check_libs=" -lsocket $X_EXTRA_LIBS" |
4831 cat > conftest.$ac_ext <<EOF | 4865 cat > conftest.$ac_ext <<EOF |
4832 #line 4833 "configure" | 4866 #line 4867 "configure" |
4833 #include "confdefs.h" | 4867 #include "confdefs.h" |
4834 /* Override any gcc2 internal prototype to avoid an error. */ | 4868 /* Override any gcc2 internal prototype to avoid an error. */ |
4835 /* We use char because int might match the return type of a gcc2 | 4869 /* We use char because int might match the return type of a gcc2 |
4836 builtin and then its argument prototype would still apply. */ | 4870 builtin and then its argument prototype would still apply. */ |
4837 char connect(); | 4871 char connect(); |
4838 | 4872 |
4839 int main() { | 4873 int main() { |
4840 connect() | 4874 connect() |
4841 ; return 0; } | 4875 ; return 0; } |
4842 EOF | 4876 EOF |
4843 if { (eval echo configure:4844: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4877 if { (eval echo configure:4878: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
4844 rm -rf conftest* | 4878 rm -rf conftest* |
4845 eval "ac_cv_lib_$ac_lib_var=yes" | 4879 eval "ac_cv_lib_$ac_lib_var=yes" |
4846 else | 4880 else |
4847 echo "configure: failed program was:" >&5 | 4881 echo "configure: failed program was:" >&5 |
4848 cat conftest.$ac_ext >&5 | 4882 cat conftest.$ac_ext >&5 |
4862 | 4896 |
4863 fi | 4897 fi |
4864 | 4898 |
4865 # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX. | 4899 # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX. |
4866 echo $ac_n "checking for remove""... $ac_c" 1>&6 | 4900 echo $ac_n "checking for remove""... $ac_c" 1>&6 |
4867 echo "configure:4868: checking for remove" >&5 | 4901 echo "configure:4902: checking for remove" >&5 |
4868 | 4902 |
4869 cat > conftest.$ac_ext <<EOF | 4903 cat > conftest.$ac_ext <<EOF |
4870 #line 4871 "configure" | 4904 #line 4905 "configure" |
4871 #include "confdefs.h" | 4905 #include "confdefs.h" |
4872 /* System header to define __stub macros and hopefully few prototypes, | 4906 /* System header to define __stub macros and hopefully few prototypes, |
4873 which can conflict with char remove(); below. */ | 4907 which can conflict with char remove(); below. */ |
4874 #include <assert.h> | 4908 #include <assert.h> |
4875 /* Override any gcc2 internal prototype to avoid an error. */ | 4909 /* Override any gcc2 internal prototype to avoid an error. */ |
4888 remove(); | 4922 remove(); |
4889 #endif | 4923 #endif |
4890 | 4924 |
4891 ; return 0; } | 4925 ; return 0; } |
4892 EOF | 4926 EOF |
4893 if { (eval echo configure:4894: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4927 if { (eval echo configure:4928: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
4894 rm -rf conftest* | 4928 rm -rf conftest* |
4895 eval "ac_cv_func_remove=yes" | 4929 eval "ac_cv_func_remove=yes" |
4896 else | 4930 else |
4897 echo "configure: failed program was:" >&5 | 4931 echo "configure: failed program was:" >&5 |
4898 cat conftest.$ac_ext >&5 | 4932 cat conftest.$ac_ext >&5 |
4909 fi | 4943 fi |
4910 | 4944 |
4911 if test $ac_cv_func_remove = no; then | 4945 if test $ac_cv_func_remove = no; then |
4912 | 4946 |
4913 echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6 | 4947 echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6 |
4914 echo "configure:4915: checking for remove in -lposix" >&5 | 4948 echo "configure:4949: checking for remove in -lposix" >&5 |
4915 ac_lib_var=`echo posix'_'remove | sed 'y%./+-%__p_%'` | 4949 ac_lib_var=`echo posix'_'remove | sed 'y%./+-%__p_%'` |
4916 | 4950 |
4917 xe_check_libs=" -lposix " | 4951 xe_check_libs=" -lposix " |
4918 cat > conftest.$ac_ext <<EOF | 4952 cat > conftest.$ac_ext <<EOF |
4919 #line 4920 "configure" | 4953 #line 4954 "configure" |
4920 #include "confdefs.h" | 4954 #include "confdefs.h" |
4921 /* Override any gcc2 internal prototype to avoid an error. */ | 4955 /* Override any gcc2 internal prototype to avoid an error. */ |
4922 /* We use char because int might match the return type of a gcc2 | 4956 /* We use char because int might match the return type of a gcc2 |
4923 builtin and then its argument prototype would still apply. */ | 4957 builtin and then its argument prototype would still apply. */ |
4924 char remove(); | 4958 char remove(); |
4925 | 4959 |
4926 int main() { | 4960 int main() { |
4927 remove() | 4961 remove() |
4928 ; return 0; } | 4962 ; return 0; } |
4929 EOF | 4963 EOF |
4930 if { (eval echo configure:4931: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4964 if { (eval echo configure:4965: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
4931 rm -rf conftest* | 4965 rm -rf conftest* |
4932 eval "ac_cv_lib_$ac_lib_var=yes" | 4966 eval "ac_cv_lib_$ac_lib_var=yes" |
4933 else | 4967 else |
4934 echo "configure: failed program was:" >&5 | 4968 echo "configure: failed program was:" >&5 |
4935 cat conftest.$ac_ext >&5 | 4969 cat conftest.$ac_ext >&5 |
4949 | 4983 |
4950 fi | 4984 fi |
4951 | 4985 |
4952 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay. | 4986 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay. |
4953 echo $ac_n "checking for shmat""... $ac_c" 1>&6 | 4987 echo $ac_n "checking for shmat""... $ac_c" 1>&6 |
4954 echo "configure:4955: checking for shmat" >&5 | 4988 echo "configure:4989: checking for shmat" >&5 |
4955 | 4989 |
4956 cat > conftest.$ac_ext <<EOF | 4990 cat > conftest.$ac_ext <<EOF |
4957 #line 4958 "configure" | 4991 #line 4992 "configure" |
4958 #include "confdefs.h" | 4992 #include "confdefs.h" |
4959 /* System header to define __stub macros and hopefully few prototypes, | 4993 /* System header to define __stub macros and hopefully few prototypes, |
4960 which can conflict with char shmat(); below. */ | 4994 which can conflict with char shmat(); below. */ |
4961 #include <assert.h> | 4995 #include <assert.h> |
4962 /* Override any gcc2 internal prototype to avoid an error. */ | 4996 /* Override any gcc2 internal prototype to avoid an error. */ |
4975 shmat(); | 5009 shmat(); |
4976 #endif | 5010 #endif |
4977 | 5011 |
4978 ; return 0; } | 5012 ; return 0; } |
4979 EOF | 5013 EOF |
4980 if { (eval echo configure:4981: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 5014 if { (eval echo configure:5015: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
4981 rm -rf conftest* | 5015 rm -rf conftest* |
4982 eval "ac_cv_func_shmat=yes" | 5016 eval "ac_cv_func_shmat=yes" |
4983 else | 5017 else |
4984 echo "configure: failed program was:" >&5 | 5018 echo "configure: failed program was:" >&5 |
4985 cat conftest.$ac_ext >&5 | 5019 cat conftest.$ac_ext >&5 |
4996 fi | 5030 fi |
4997 | 5031 |
4998 if test $ac_cv_func_shmat = no; then | 5032 if test $ac_cv_func_shmat = no; then |
4999 | 5033 |
5000 echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6 | 5034 echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6 |
5001 echo "configure:5002: checking for shmat in -lipc" >&5 | 5035 echo "configure:5036: checking for shmat in -lipc" >&5 |
5002 ac_lib_var=`echo ipc'_'shmat | sed 'y%./+-%__p_%'` | 5036 ac_lib_var=`echo ipc'_'shmat | sed 'y%./+-%__p_%'` |
5003 | 5037 |
5004 xe_check_libs=" -lipc " | 5038 xe_check_libs=" -lipc " |
5005 cat > conftest.$ac_ext <<EOF | 5039 cat > conftest.$ac_ext <<EOF |
5006 #line 5007 "configure" | 5040 #line 5041 "configure" |
5007 #include "confdefs.h" | 5041 #include "confdefs.h" |
5008 /* Override any gcc2 internal prototype to avoid an error. */ | 5042 /* Override any gcc2 internal prototype to avoid an error. */ |
5009 /* We use char because int might match the return type of a gcc2 | 5043 /* We use char because int might match the return type of a gcc2 |
5010 builtin and then its argument prototype would still apply. */ | 5044 builtin and then its argument prototype would still apply. */ |
5011 char shmat(); | 5045 char shmat(); |
5012 | 5046 |
5013 int main() { | 5047 int main() { |
5014 shmat() | 5048 shmat() |
5015 ; return 0; } | 5049 ; return 0; } |
5016 EOF | 5050 EOF |
5017 if { (eval echo configure:5018: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 5051 if { (eval echo configure:5052: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
5018 rm -rf conftest* | 5052 rm -rf conftest* |
5019 eval "ac_cv_lib_$ac_lib_var=yes" | 5053 eval "ac_cv_lib_$ac_lib_var=yes" |
5020 else | 5054 else |
5021 echo "configure: failed program was:" >&5 | 5055 echo "configure: failed program was:" >&5 |
5022 cat conftest.$ac_ext >&5 | 5056 cat conftest.$ac_ext >&5 |
5046 # These have to be linked with before -lX11, unlike the other | 5080 # These have to be linked with before -lX11, unlike the other |
5047 # libraries we check for below, so use a different variable. | 5081 # libraries we check for below, so use a different variable. |
5048 # --interran@uluru.Stanford.EDU, kb@cs.umb.edu. | 5082 # --interran@uluru.Stanford.EDU, kb@cs.umb.edu. |
5049 | 5083 |
5050 echo $ac_n "checking for IceConnectionNumber in -lICE""... $ac_c" 1>&6 | 5084 echo $ac_n "checking for IceConnectionNumber in -lICE""... $ac_c" 1>&6 |
5051 echo "configure:5052: checking for IceConnectionNumber in -lICE" >&5 | 5085 echo "configure:5086: checking for IceConnectionNumber in -lICE" >&5 |
5052 ac_lib_var=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'` | 5086 ac_lib_var=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'` |
5053 | 5087 |
5054 xe_check_libs=" -lICE " | 5088 xe_check_libs=" -lICE " |
5055 cat > conftest.$ac_ext <<EOF | 5089 cat > conftest.$ac_ext <<EOF |
5056 #line 5057 "configure" | 5090 #line 5091 "configure" |
5057 #include "confdefs.h" | 5091 #include "confdefs.h" |
5058 /* Override any gcc2 internal prototype to avoid an error. */ | 5092 /* Override any gcc2 internal prototype to avoid an error. */ |
5059 /* We use char because int might match the return type of a gcc2 | 5093 /* We use char because int might match the return type of a gcc2 |
5060 builtin and then its argument prototype would still apply. */ | 5094 builtin and then its argument prototype would still apply. */ |
5061 char IceConnectionNumber(); | 5095 char IceConnectionNumber(); |
5062 | 5096 |
5063 int main() { | 5097 int main() { |
5064 IceConnectionNumber() | 5098 IceConnectionNumber() |
5065 ; return 0; } | 5099 ; return 0; } |
5066 EOF | 5100 EOF |
5067 if { (eval echo configure:5068: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 5101 if { (eval echo configure:5102: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
5068 rm -rf conftest* | 5102 rm -rf conftest* |
5069 eval "ac_cv_lib_$ac_lib_var=yes" | 5103 eval "ac_cv_lib_$ac_lib_var=yes" |
5070 else | 5104 else |
5071 echo "configure: failed program was:" >&5 | 5105 echo "configure: failed program was:" >&5 |
5072 cat conftest.$ac_ext >&5 | 5106 cat conftest.$ac_ext >&5 |
5109 } | 5143 } |
5110 | 5144 |
5111 MAKE_SUBDIR="$MAKE_SUBDIR lwlib" && if test "$extra_verbose" = "yes"; then echo " Appending \"lwlib\" to \$MAKE_SUBDIR"; fi | 5145 MAKE_SUBDIR="$MAKE_SUBDIR lwlib" && if test "$extra_verbose" = "yes"; then echo " Appending \"lwlib\" to \$MAKE_SUBDIR"; fi |
5112 SRC_SUBDIR_DEPS="$SRC_SUBDIR_DEPS lwlib" && if test "$extra_verbose" = "yes"; then echo " Appending \"lwlib\" to \$SRC_SUBDIR_DEPS"; fi | 5146 SRC_SUBDIR_DEPS="$SRC_SUBDIR_DEPS lwlib" && if test "$extra_verbose" = "yes"; then echo " Appending \"lwlib\" to \$SRC_SUBDIR_DEPS"; fi |
5113 | 5147 |
5114 for lib_dir in "/usr/dt/lib" "/usr/lib/Motif1.2" "/usr/lib/Motif1.1"; do | 5148 for lib_dir in "/usr/dt/lib" "/usr/lib/Motif2.1" "/usr/lib/Motif1.2" "/usr/lib/Motif1.1"; do |
5115 inc_dir=`echo $lib_dir | sed -e 's/lib/include/'` | 5149 inc_dir=`echo $lib_dir | sed -e 's/lib/include/'` |
5116 if test -d "$lib_dir" -a -d "$inc_dir"; then | 5150 if test -d "$lib_dir" -a -d "$inc_dir"; then |
5117 case "$x_libraries" in *"$lib_dir"* ) ;; *) | 5151 case "$x_libraries" in *"$lib_dir"* ) ;; *) |
5118 x_libraries="$lib_dir $x_libraries" | 5152 x_libraries="$lib_dir $x_libraries" |
5119 X_LIBS="-L${lib_dir} $X_LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-L${lib_dir}\" to \$X_LIBS"; fi ;; | 5153 X_LIBS="-L${lib_dir} $X_LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-L${lib_dir}\" to \$X_LIBS"; fi ;; |
5229 EOF | 5263 EOF |
5230 } | 5264 } |
5231 | 5265 |
5232 | 5266 |
5233 echo "checking for X defines extracted by xmkmf" 1>&6 | 5267 echo "checking for X defines extracted by xmkmf" 1>&6 |
5234 echo "configure:5235: checking for X defines extracted by xmkmf" >&5 | 5268 echo "configure:5269: checking for X defines extracted by xmkmf" >&5 |
5235 rm -fr conftestdir | 5269 rm -fr conftestdir |
5236 if mkdir conftestdir; then | 5270 if mkdir conftestdir; then |
5237 cd conftestdir | 5271 cd conftestdir |
5238 cat > Imakefile <<'EOF' | 5272 cat > Imakefile <<'EOF' |
5239 xetest: | 5273 xetest: |
5261 done | 5295 done |
5262 fi | 5296 fi |
5263 | 5297 |
5264 ac_safe=`echo "X11/Intrinsic.h" | sed 'y%./+-%__p_%'` | 5298 ac_safe=`echo "X11/Intrinsic.h" | sed 'y%./+-%__p_%'` |
5265 echo $ac_n "checking for X11/Intrinsic.h""... $ac_c" 1>&6 | 5299 echo $ac_n "checking for X11/Intrinsic.h""... $ac_c" 1>&6 |
5266 echo "configure:5267: checking for X11/Intrinsic.h" >&5 | 5300 echo "configure:5301: checking for X11/Intrinsic.h" >&5 |
5267 | 5301 |
5268 cat > conftest.$ac_ext <<EOF | 5302 cat > conftest.$ac_ext <<EOF |
5269 #line 5270 "configure" | 5303 #line 5304 "configure" |
5270 #include "confdefs.h" | 5304 #include "confdefs.h" |
5271 #include <X11/Intrinsic.h> | 5305 #include <X11/Intrinsic.h> |
5272 EOF | 5306 EOF |
5273 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 5307 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
5274 { (eval echo configure:5275: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 5308 { (eval echo configure:5309: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
5275 ac_err=`grep -v '^ *+' conftest.out` | 5309 ac_err=`grep -v '^ *+' conftest.out` |
5276 if test -z "$ac_err"; then | 5310 if test -z "$ac_err"; then |
5277 rm -rf conftest* | 5311 rm -rf conftest* |
5278 eval "ac_cv_header_$ac_safe=yes" | 5312 eval "ac_cv_header_$ac_safe=yes" |
5279 else | 5313 else |
5293 fi | 5327 fi |
5294 | 5328 |
5295 | 5329 |
5296 | 5330 |
5297 echo $ac_n "checking for XOpenDisplay in -lX11""... $ac_c" 1>&6 | 5331 echo $ac_n "checking for XOpenDisplay in -lX11""... $ac_c" 1>&6 |
5298 echo "configure:5299: checking for XOpenDisplay in -lX11" >&5 | 5332 echo "configure:5333: checking for XOpenDisplay in -lX11" >&5 |
5299 ac_lib_var=`echo X11'_'XOpenDisplay | sed 'y%./+-%__p_%'` | 5333 ac_lib_var=`echo X11'_'XOpenDisplay | sed 'y%./+-%__p_%'` |
5300 | 5334 |
5301 xe_check_libs=" -lX11 " | 5335 xe_check_libs=" -lX11 " |
5302 cat > conftest.$ac_ext <<EOF | 5336 cat > conftest.$ac_ext <<EOF |
5303 #line 5304 "configure" | 5337 #line 5338 "configure" |
5304 #include "confdefs.h" | 5338 #include "confdefs.h" |
5305 /* Override any gcc2 internal prototype to avoid an error. */ | 5339 /* Override any gcc2 internal prototype to avoid an error. */ |
5306 /* We use char because int might match the return type of a gcc2 | 5340 /* We use char because int might match the return type of a gcc2 |
5307 builtin and then its argument prototype would still apply. */ | 5341 builtin and then its argument prototype would still apply. */ |
5308 char XOpenDisplay(); | 5342 char XOpenDisplay(); |
5309 | 5343 |
5310 int main() { | 5344 int main() { |
5311 XOpenDisplay() | 5345 XOpenDisplay() |
5312 ; return 0; } | 5346 ; return 0; } |
5313 EOF | 5347 EOF |
5314 if { (eval echo configure:5315: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 5348 if { (eval echo configure:5349: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
5315 rm -rf conftest* | 5349 rm -rf conftest* |
5316 eval "ac_cv_lib_$ac_lib_var=yes" | 5350 eval "ac_cv_lib_$ac_lib_var=yes" |
5317 else | 5351 else |
5318 echo "configure: failed program was:" >&5 | 5352 echo "configure: failed program was:" >&5 |
5319 cat conftest.$ac_ext >&5 | 5353 cat conftest.$ac_ext >&5 |
5334 if test "$have_lib_x11" != "yes"; then | 5368 if test "$have_lib_x11" != "yes"; then |
5335 | 5369 |
5336 xe_msg_checking="for XGetFontProperty in -lX11" | 5370 xe_msg_checking="for XGetFontProperty in -lX11" |
5337 test -n "-b i486-linuxaout" && xe_msg_checking="$xe_msg_checking using extra libs -b i486-linuxaout" | 5371 test -n "-b i486-linuxaout" && xe_msg_checking="$xe_msg_checking using extra libs -b i486-linuxaout" |
5338 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 5372 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
5339 echo "configure:5340: checking "$xe_msg_checking"" >&5 | 5373 echo "configure:5374: checking "$xe_msg_checking"" >&5 |
5340 ac_lib_var=`echo X11'_'XGetFontProperty | sed 'y%./+-%__p_%'` | 5374 ac_lib_var=`echo X11'_'XGetFontProperty | sed 'y%./+-%__p_%'` |
5341 | 5375 |
5342 xe_check_libs=" -lX11 -b i486-linuxaout" | 5376 xe_check_libs=" -lX11 -b i486-linuxaout" |
5343 cat > conftest.$ac_ext <<EOF | 5377 cat > conftest.$ac_ext <<EOF |
5344 #line 5345 "configure" | 5378 #line 5379 "configure" |
5345 #include "confdefs.h" | 5379 #include "confdefs.h" |
5346 /* Override any gcc2 internal prototype to avoid an error. */ | 5380 /* Override any gcc2 internal prototype to avoid an error. */ |
5347 /* We use char because int might match the return type of a gcc2 | 5381 /* We use char because int might match the return type of a gcc2 |
5348 builtin and then its argument prototype would still apply. */ | 5382 builtin and then its argument prototype would still apply. */ |
5349 char XGetFontProperty(); | 5383 char XGetFontProperty(); |
5350 | 5384 |
5351 int main() { | 5385 int main() { |
5352 XGetFontProperty() | 5386 XGetFontProperty() |
5353 ; return 0; } | 5387 ; return 0; } |
5354 EOF | 5388 EOF |
5355 if { (eval echo configure:5356: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 5389 if { (eval echo configure:5390: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
5356 rm -rf conftest* | 5390 rm -rf conftest* |
5357 eval "ac_cv_lib_$ac_lib_var=yes" | 5391 eval "ac_cv_lib_$ac_lib_var=yes" |
5358 else | 5392 else |
5359 echo "configure: failed program was:" >&5 | 5393 echo "configure: failed program was:" >&5 |
5360 cat conftest.$ac_ext >&5 | 5394 cat conftest.$ac_ext >&5 |
5377 libs_x="-lX11" | 5411 libs_x="-lX11" |
5378 test "$extra_verbose" = "yes" && echo " Setting libs_x to \"-lX11\"" | 5412 test "$extra_verbose" = "yes" && echo " Setting libs_x to \"-lX11\"" |
5379 | 5413 |
5380 | 5414 |
5381 echo $ac_n "checking for XShapeSelectInput in -lXext""... $ac_c" 1>&6 | 5415 echo $ac_n "checking for XShapeSelectInput in -lXext""... $ac_c" 1>&6 |
5382 echo "configure:5383: checking for XShapeSelectInput in -lXext" >&5 | 5416 echo "configure:5417: checking for XShapeSelectInput in -lXext" >&5 |
5383 ac_lib_var=`echo Xext'_'XShapeSelectInput | sed 'y%./+-%__p_%'` | 5417 ac_lib_var=`echo Xext'_'XShapeSelectInput | sed 'y%./+-%__p_%'` |
5384 | 5418 |
5385 xe_check_libs=" -lXext " | 5419 xe_check_libs=" -lXext " |
5386 cat > conftest.$ac_ext <<EOF | 5420 cat > conftest.$ac_ext <<EOF |
5387 #line 5388 "configure" | 5421 #line 5422 "configure" |
5388 #include "confdefs.h" | 5422 #include "confdefs.h" |
5389 /* Override any gcc2 internal prototype to avoid an error. */ | 5423 /* Override any gcc2 internal prototype to avoid an error. */ |
5390 /* We use char because int might match the return type of a gcc2 | 5424 /* We use char because int might match the return type of a gcc2 |
5391 builtin and then its argument prototype would still apply. */ | 5425 builtin and then its argument prototype would still apply. */ |
5392 char XShapeSelectInput(); | 5426 char XShapeSelectInput(); |
5393 | 5427 |
5394 int main() { | 5428 int main() { |
5395 XShapeSelectInput() | 5429 XShapeSelectInput() |
5396 ; return 0; } | 5430 ; return 0; } |
5397 EOF | 5431 EOF |
5398 if { (eval echo configure:5399: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 5432 if { (eval echo configure:5433: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
5399 rm -rf conftest* | 5433 rm -rf conftest* |
5400 eval "ac_cv_lib_$ac_lib_var=yes" | 5434 eval "ac_cv_lib_$ac_lib_var=yes" |
5401 else | 5435 else |
5402 echo "configure: failed program was:" >&5 | 5436 echo "configure: failed program was:" >&5 |
5403 cat conftest.$ac_ext >&5 | 5437 cat conftest.$ac_ext >&5 |
5416 | 5450 |
5417 | 5451 |
5418 | 5452 |
5419 | 5453 |
5420 echo $ac_n "checking for XtOpenDisplay in -lXt""... $ac_c" 1>&6 | 5454 echo $ac_n "checking for XtOpenDisplay in -lXt""... $ac_c" 1>&6 |
5421 echo "configure:5422: checking for XtOpenDisplay in -lXt" >&5 | 5455 echo "configure:5456: checking for XtOpenDisplay in -lXt" >&5 |
5422 ac_lib_var=`echo Xt'_'XtOpenDisplay | sed 'y%./+-%__p_%'` | 5456 ac_lib_var=`echo Xt'_'XtOpenDisplay | sed 'y%./+-%__p_%'` |
5423 | 5457 |
5424 xe_check_libs=" -lXt " | 5458 xe_check_libs=" -lXt " |
5425 cat > conftest.$ac_ext <<EOF | 5459 cat > conftest.$ac_ext <<EOF |
5426 #line 5427 "configure" | 5460 #line 5461 "configure" |
5427 #include "confdefs.h" | 5461 #include "confdefs.h" |
5428 /* Override any gcc2 internal prototype to avoid an error. */ | 5462 /* Override any gcc2 internal prototype to avoid an error. */ |
5429 /* We use char because int might match the return type of a gcc2 | 5463 /* We use char because int might match the return type of a gcc2 |
5430 builtin and then its argument prototype would still apply. */ | 5464 builtin and then its argument prototype would still apply. */ |
5431 char XtOpenDisplay(); | 5465 char XtOpenDisplay(); |
5432 | 5466 |
5433 int main() { | 5467 int main() { |
5434 XtOpenDisplay() | 5468 XtOpenDisplay() |
5435 ; return 0; } | 5469 ; return 0; } |
5436 EOF | 5470 EOF |
5437 if { (eval echo configure:5438: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 5471 if { (eval echo configure:5472: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
5438 rm -rf conftest* | 5472 rm -rf conftest* |
5439 eval "ac_cv_lib_$ac_lib_var=yes" | 5473 eval "ac_cv_lib_$ac_lib_var=yes" |
5440 else | 5474 else |
5441 echo "configure: failed program was:" >&5 | 5475 echo "configure: failed program was:" >&5 |
5442 cat conftest.$ac_ext >&5 | 5476 cat conftest.$ac_ext >&5 |
5455 fi | 5489 fi |
5456 | 5490 |
5457 | 5491 |
5458 | 5492 |
5459 echo $ac_n "checking the version of X11 being used""... $ac_c" 1>&6 | 5493 echo $ac_n "checking the version of X11 being used""... $ac_c" 1>&6 |
5460 echo "configure:5461: checking the version of X11 being used" >&5 | 5494 echo "configure:5495: checking the version of X11 being used" >&5 |
5461 cat > conftest.$ac_ext <<EOF | 5495 cat > conftest.$ac_ext <<EOF |
5462 #line 5463 "configure" | 5496 #line 5497 "configure" |
5463 #include "confdefs.h" | 5497 #include "confdefs.h" |
5464 #include <X11/Intrinsic.h> | 5498 #include <X11/Intrinsic.h> |
5465 int main(int c, char *v[]) { return c>1 ? XlibSpecificationRelease : 0; } | 5499 int main(int c, char *v[]) { return c>1 ? XlibSpecificationRelease : 0; } |
5466 EOF | 5500 EOF |
5467 if { (eval echo configure:5468: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 | 5501 if { (eval echo configure:5502: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 |
5468 then | 5502 then |
5469 ./conftest foobar; x11_release=$? | 5503 ./conftest foobar; x11_release=$? |
5470 else | 5504 else |
5471 echo "configure: failed program was:" >&5 | 5505 echo "configure: failed program was:" >&5 |
5472 cat conftest.$ac_ext >&5 | 5506 cat conftest.$ac_ext >&5 |
5486 | 5520 |
5487 for ac_hdr in X11/Xlocale.h | 5521 for ac_hdr in X11/Xlocale.h |
5488 do | 5522 do |
5489 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 5523 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
5490 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 5524 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
5491 echo "configure:5492: checking for $ac_hdr" >&5 | 5525 echo "configure:5526: checking for $ac_hdr" >&5 |
5492 | 5526 |
5493 cat > conftest.$ac_ext <<EOF | 5527 cat > conftest.$ac_ext <<EOF |
5494 #line 5495 "configure" | 5528 #line 5529 "configure" |
5495 #include "confdefs.h" | 5529 #include "confdefs.h" |
5496 #include <$ac_hdr> | 5530 #include <$ac_hdr> |
5497 EOF | 5531 EOF |
5498 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 5532 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
5499 { (eval echo configure:5500: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 5533 { (eval echo configure:5534: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
5500 ac_err=`grep -v '^ *+' conftest.out` | 5534 ac_err=`grep -v '^ *+' conftest.out` |
5501 if test -z "$ac_err"; then | 5535 if test -z "$ac_err"; then |
5502 rm -rf conftest* | 5536 rm -rf conftest* |
5503 eval "ac_cv_header_$ac_safe=yes" | 5537 eval "ac_cv_header_$ac_safe=yes" |
5504 else | 5538 else |
5525 fi | 5559 fi |
5526 done | 5560 done |
5527 | 5561 |
5528 | 5562 |
5529 echo $ac_n "checking for XFree86""... $ac_c" 1>&6 | 5563 echo $ac_n "checking for XFree86""... $ac_c" 1>&6 |
5530 echo "configure:5531: checking for XFree86" >&5 | 5564 echo "configure:5565: checking for XFree86" >&5 |
5531 if test -d "/usr/X386/include" -o \ | 5565 if test -d "/usr/X386/include" -o \ |
5532 -f "/etc/XF86Config" -o \ | 5566 -f "/etc/XF86Config" -o \ |
5533 -f "/etc/X11/XF86Config" -o \ | 5567 -f "/etc/X11/XF86Config" -o \ |
5534 -f "/usr/X11R6/lib/X11/XF86Config"; then | 5568 -f "/usr/X11R6/lib/X11/XF86Config"; then |
5535 echo "$ac_t""yes" 1>&6 | 5569 echo "$ac_t""yes" 1>&6 |
5545 echo "$ac_t""no" 1>&6 | 5579 echo "$ac_t""no" 1>&6 |
5546 fi | 5580 fi |
5547 | 5581 |
5548 test -z "$with_xmu" && { | 5582 test -z "$with_xmu" && { |
5549 echo $ac_n "checking for XmuReadBitmapDataFromFile in -lXmu""... $ac_c" 1>&6 | 5583 echo $ac_n "checking for XmuReadBitmapDataFromFile in -lXmu""... $ac_c" 1>&6 |
5550 echo "configure:5551: checking for XmuReadBitmapDataFromFile in -lXmu" >&5 | 5584 echo "configure:5585: checking for XmuReadBitmapDataFromFile in -lXmu" >&5 |
5551 ac_lib_var=`echo Xmu'_'XmuReadBitmapDataFromFile | sed 'y%./+-%__p_%'` | 5585 ac_lib_var=`echo Xmu'_'XmuReadBitmapDataFromFile | sed 'y%./+-%__p_%'` |
5552 | 5586 |
5553 xe_check_libs=" -lXmu " | 5587 xe_check_libs=" -lXmu " |
5554 cat > conftest.$ac_ext <<EOF | 5588 cat > conftest.$ac_ext <<EOF |
5555 #line 5556 "configure" | 5589 #line 5590 "configure" |
5556 #include "confdefs.h" | 5590 #include "confdefs.h" |
5557 /* Override any gcc2 internal prototype to avoid an error. */ | 5591 /* Override any gcc2 internal prototype to avoid an error. */ |
5558 /* We use char because int might match the return type of a gcc2 | 5592 /* We use char because int might match the return type of a gcc2 |
5559 builtin and then its argument prototype would still apply. */ | 5593 builtin and then its argument prototype would still apply. */ |
5560 char XmuReadBitmapDataFromFile(); | 5594 char XmuReadBitmapDataFromFile(); |
5561 | 5595 |
5562 int main() { | 5596 int main() { |
5563 XmuReadBitmapDataFromFile() | 5597 XmuReadBitmapDataFromFile() |
5564 ; return 0; } | 5598 ; return 0; } |
5565 EOF | 5599 EOF |
5566 if { (eval echo configure:5567: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 5600 if { (eval echo configure:5601: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
5567 rm -rf conftest* | 5601 rm -rf conftest* |
5568 eval "ac_cv_lib_$ac_lib_var=yes" | 5602 eval "ac_cv_lib_$ac_lib_var=yes" |
5569 else | 5603 else |
5570 echo "configure: failed program was:" >&5 | 5604 echo "configure: failed program was:" >&5 |
5571 cat conftest.$ac_ext >&5 | 5605 cat conftest.$ac_ext >&5 |
5600 | 5634 |
5601 fi | 5635 fi |
5602 | 5636 |
5603 | 5637 |
5604 echo $ac_n "checking for main in -lXbsd""... $ac_c" 1>&6 | 5638 echo $ac_n "checking for main in -lXbsd""... $ac_c" 1>&6 |
5605 echo "configure:5606: checking for main in -lXbsd" >&5 | 5639 echo "configure:5640: checking for main in -lXbsd" >&5 |
5606 ac_lib_var=`echo Xbsd'_'main | sed 'y%./+-%__p_%'` | 5640 ac_lib_var=`echo Xbsd'_'main | sed 'y%./+-%__p_%'` |
5607 | 5641 |
5608 xe_check_libs=" -lXbsd " | 5642 xe_check_libs=" -lXbsd " |
5609 cat > conftest.$ac_ext <<EOF | 5643 cat > conftest.$ac_ext <<EOF |
5610 #line 5611 "configure" | 5644 #line 5645 "configure" |
5611 #include "confdefs.h" | 5645 #include "confdefs.h" |
5612 | 5646 |
5613 int main() { | 5647 int main() { |
5614 main() | 5648 main() |
5615 ; return 0; } | 5649 ; return 0; } |
5616 EOF | 5650 EOF |
5617 if { (eval echo configure:5618: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 5651 if { (eval echo configure:5652: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
5618 rm -rf conftest* | 5652 rm -rf conftest* |
5619 eval "ac_cv_lib_$ac_lib_var=yes" | 5653 eval "ac_cv_lib_$ac_lib_var=yes" |
5620 else | 5654 else |
5621 echo "configure: failed program was:" >&5 | 5655 echo "configure: failed program was:" >&5 |
5622 cat conftest.$ac_ext >&5 | 5656 cat conftest.$ac_ext >&5 |
5649 fi | 5683 fi |
5650 | 5684 |
5651 fi | 5685 fi |
5652 if test "$with_msw" != "no"; then | 5686 if test "$with_msw" != "no"; then |
5653 echo "checking for MS-Windows" 1>&6 | 5687 echo "checking for MS-Windows" 1>&6 |
5654 echo "configure:5655: checking for MS-Windows" >&5 | 5688 echo "configure:5689: checking for MS-Windows" >&5 |
5655 | 5689 |
5656 echo $ac_n "checking for main in -lgdi32""... $ac_c" 1>&6 | 5690 echo $ac_n "checking for main in -lgdi32""... $ac_c" 1>&6 |
5657 echo "configure:5658: checking for main in -lgdi32" >&5 | 5691 echo "configure:5692: checking for main in -lgdi32" >&5 |
5658 ac_lib_var=`echo gdi32'_'main | sed 'y%./+-%__p_%'` | 5692 ac_lib_var=`echo gdi32'_'main | sed 'y%./+-%__p_%'` |
5659 | 5693 |
5660 xe_check_libs=" -lgdi32 " | 5694 xe_check_libs=" -lgdi32 " |
5661 cat > conftest.$ac_ext <<EOF | 5695 cat > conftest.$ac_ext <<EOF |
5662 #line 5663 "configure" | 5696 #line 5697 "configure" |
5663 #include "confdefs.h" | 5697 #include "confdefs.h" |
5664 | 5698 |
5665 int main() { | 5699 int main() { |
5666 main() | 5700 main() |
5667 ; return 0; } | 5701 ; return 0; } |
5668 EOF | 5702 EOF |
5669 if { (eval echo configure:5670: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 5703 if { (eval echo configure:5704: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
5670 rm -rf conftest* | 5704 rm -rf conftest* |
5671 eval "ac_cv_lib_$ac_lib_var=yes" | 5705 eval "ac_cv_lib_$ac_lib_var=yes" |
5672 else | 5706 else |
5673 echo "configure: failed program was:" >&5 | 5707 echo "configure: failed program was:" >&5 |
5674 cat conftest.$ac_ext >&5 | 5708 cat conftest.$ac_ext >&5 |
5721 fi | 5755 fi |
5722 test "$with_toolbars" != "no" && extra_objs="$extra_objs toolbar-msw.o" && if test "$extra_verbose" = "yes"; then | 5756 test "$with_toolbars" != "no" && extra_objs="$extra_objs toolbar-msw.o" && if test "$extra_verbose" = "yes"; then |
5723 echo " xemacs will be linked with \"toolbar-msw.o\"" | 5757 echo " xemacs will be linked with \"toolbar-msw.o\"" |
5724 fi | 5758 fi |
5725 fi | 5759 fi |
5760 cat > conftest.$ac_ext <<EOF | |
5761 #line 5762 "configure" | |
5762 #include "confdefs.h" | |
5763 #include <fcntl.h> | |
5764 int main() { return (open("/dev/windows", O_RDONLY, 0) > 0)? 0 : 1; } | |
5765 EOF | |
5766 if { (eval echo configure:5767: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 | |
5767 then | |
5768 { test "$extra_verbose" = "yes" && cat << \EOF | |
5769 Defining HAVE_MSG_SELECT | |
5770 EOF | |
5771 cat >> confdefs.h <<\EOF | |
5772 #define HAVE_MSG_SELECT 1 | |
5773 EOF | |
5774 } | |
5775 | |
5776 else | |
5777 echo "configure: failed program was:" >&5 | |
5778 cat conftest.$ac_ext >&5 | |
5779 fi | |
5780 rm -fr conftest* | |
5726 const_is_losing=no | 5781 const_is_losing=no |
5727 with_file_coding=yes | 5782 with_file_coding=yes |
5783 use_minimal_tagbits=yes | |
5784 use_indexed_lrecord_implementation=yes | |
5728 extra_objs="$extra_objs console-msw.o device-msw.o event-msw.o frame-msw.o objects-msw.o select-msw.o redisplay-msw.o glyphs-msw.o" && if test "$extra_verbose" = "yes"; then | 5785 extra_objs="$extra_objs console-msw.o device-msw.o event-msw.o frame-msw.o objects-msw.o select-msw.o redisplay-msw.o glyphs-msw.o" && if test "$extra_verbose" = "yes"; then |
5729 echo " xemacs will be linked with \"console-msw.o device-msw.o event-msw.o frame-msw.o objects-msw.o select-msw.o redisplay-msw.o glyphs-msw.o\"" | 5786 echo " xemacs will be linked with \"console-msw.o device-msw.o event-msw.o frame-msw.o objects-msw.o select-msw.o redisplay-msw.o glyphs-msw.o\"" |
5730 fi | 5787 fi |
5731 fi | 5788 fi |
5732 fi | 5789 fi |
5759 : | 5816 : |
5760 fi | 5817 fi |
5761 | 5818 |
5762 if test "$with_x11" != "yes"; then | 5819 if test "$with_x11" != "yes"; then |
5763 for feature in tooltalk cde offix session xim xmu \ | 5820 for feature in tooltalk cde offix session xim xmu \ |
5764 tiff png jpeg gif xface xpm | 5821 xface |
5765 do | 5822 do |
5766 if eval "test -n \"\$with_${feature}\" -a \"\$with_${feature}\" != no" ; then | 5823 if eval "test -n \"\$with_${feature}\" -a \"\$with_${feature}\" != no" ; then |
5767 echo "configure: warning: --with-$feature ignored: Not valid without X support" 1>&2 | 5824 echo "configure: warning: --with-$feature ignored: Not valid without X support" 1>&2 |
5768 fi | 5825 fi |
5769 eval "with_${feature}=no" | 5826 eval "with_${feature}=no" |
5782 test "$opsys" = "hpux9" && opsysfile="s/hpux9-x11r4.h" | 5839 test "$opsys" = "hpux9" && opsysfile="s/hpux9-x11r4.h" |
5783 test "$opsys" = "hpux9-shr" && opsysfile="s/hpux9shxr4.h" | 5840 test "$opsys" = "hpux9-shr" && opsysfile="s/hpux9shxr4.h" |
5784 esac | 5841 esac |
5785 | 5842 |
5786 echo "checking for session-management option" 1>&6 | 5843 echo "checking for session-management option" 1>&6 |
5787 echo "configure:5788: checking for session-management option" >&5; | 5844 echo "configure:5845: checking for session-management option" >&5; |
5788 if test "$with_session" != "no"; then | 5845 if test "$with_session" != "no"; then |
5789 { test "$extra_verbose" = "yes" && cat << \EOF | 5846 { test "$extra_verbose" = "yes" && cat << \EOF |
5790 Defining HAVE_SESSION | 5847 Defining HAVE_SESSION |
5791 EOF | 5848 EOF |
5792 cat >> confdefs.h <<\EOF | 5849 cat >> confdefs.h <<\EOF |
5797 fi | 5854 fi |
5798 | 5855 |
5799 test -z "$with_xauth" && test "$window_system" = "none" && with_xauth=no | 5856 test -z "$with_xauth" && test "$window_system" = "none" && with_xauth=no |
5800 test -z "$with_xauth" && { ac_safe=`echo "X11/Xauth.h" | sed 'y%./+-%__p_%'` | 5857 test -z "$with_xauth" && { ac_safe=`echo "X11/Xauth.h" | sed 'y%./+-%__p_%'` |
5801 echo $ac_n "checking for X11/Xauth.h""... $ac_c" 1>&6 | 5858 echo $ac_n "checking for X11/Xauth.h""... $ac_c" 1>&6 |
5802 echo "configure:5803: checking for X11/Xauth.h" >&5 | 5859 echo "configure:5860: checking for X11/Xauth.h" >&5 |
5803 | 5860 |
5804 cat > conftest.$ac_ext <<EOF | 5861 cat > conftest.$ac_ext <<EOF |
5805 #line 5806 "configure" | 5862 #line 5863 "configure" |
5806 #include "confdefs.h" | 5863 #include "confdefs.h" |
5807 #include <X11/Xauth.h> | 5864 #include <X11/Xauth.h> |
5808 EOF | 5865 EOF |
5809 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 5866 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
5810 { (eval echo configure:5811: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 5867 { (eval echo configure:5868: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
5811 ac_err=`grep -v '^ *+' conftest.out` | 5868 ac_err=`grep -v '^ *+' conftest.out` |
5812 if test -z "$ac_err"; then | 5869 if test -z "$ac_err"; then |
5813 rm -rf conftest* | 5870 rm -rf conftest* |
5814 eval "ac_cv_header_$ac_safe=yes" | 5871 eval "ac_cv_header_$ac_safe=yes" |
5815 else | 5872 else |
5828 with_xauth=no | 5885 with_xauth=no |
5829 fi | 5886 fi |
5830 } | 5887 } |
5831 test -z "$with_xauth" && { | 5888 test -z "$with_xauth" && { |
5832 echo $ac_n "checking for XauGetAuthByAddr in -lXau""... $ac_c" 1>&6 | 5889 echo $ac_n "checking for XauGetAuthByAddr in -lXau""... $ac_c" 1>&6 |
5833 echo "configure:5834: checking for XauGetAuthByAddr in -lXau" >&5 | 5890 echo "configure:5891: checking for XauGetAuthByAddr in -lXau" >&5 |
5834 ac_lib_var=`echo Xau'_'XauGetAuthByAddr | sed 'y%./+-%__p_%'` | 5891 ac_lib_var=`echo Xau'_'XauGetAuthByAddr | sed 'y%./+-%__p_%'` |
5835 | 5892 |
5836 xe_check_libs=" -lXau " | 5893 xe_check_libs=" -lXau " |
5837 cat > conftest.$ac_ext <<EOF | 5894 cat > conftest.$ac_ext <<EOF |
5838 #line 5839 "configure" | 5895 #line 5896 "configure" |
5839 #include "confdefs.h" | 5896 #include "confdefs.h" |
5840 /* Override any gcc2 internal prototype to avoid an error. */ | 5897 /* Override any gcc2 internal prototype to avoid an error. */ |
5841 /* We use char because int might match the return type of a gcc2 | 5898 /* We use char because int might match the return type of a gcc2 |
5842 builtin and then its argument prototype would still apply. */ | 5899 builtin and then its argument prototype would still apply. */ |
5843 char XauGetAuthByAddr(); | 5900 char XauGetAuthByAddr(); |
5844 | 5901 |
5845 int main() { | 5902 int main() { |
5846 XauGetAuthByAddr() | 5903 XauGetAuthByAddr() |
5847 ; return 0; } | 5904 ; return 0; } |
5848 EOF | 5905 EOF |
5849 if { (eval echo configure:5850: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 5906 if { (eval echo configure:5907: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
5850 rm -rf conftest* | 5907 rm -rf conftest* |
5851 eval "ac_cv_lib_$ac_lib_var=yes" | 5908 eval "ac_cv_lib_$ac_lib_var=yes" |
5852 else | 5909 else |
5853 echo "configure: failed program was:" >&5 | 5910 echo "configure: failed program was:" >&5 |
5854 cat conftest.$ac_ext >&5 | 5911 cat conftest.$ac_ext >&5 |
5908 test "$with_cde" = "yes" && with_tooltalk=yes # CDE requires tooltalk | 5965 test "$with_cde" = "yes" && with_tooltalk=yes # CDE requires tooltalk |
5909 if test "$with_tooltalk" != "no" ; then | 5966 if test "$with_tooltalk" != "no" ; then |
5910 for dir in "" "Tt/" "desktop/" ; do | 5967 for dir in "" "Tt/" "desktop/" ; do |
5911 ac_safe=`echo "${dir}tt_c.h" | sed 'y%./+-%__p_%'` | 5968 ac_safe=`echo "${dir}tt_c.h" | sed 'y%./+-%__p_%'` |
5912 echo $ac_n "checking for ${dir}tt_c.h""... $ac_c" 1>&6 | 5969 echo $ac_n "checking for ${dir}tt_c.h""... $ac_c" 1>&6 |
5913 echo "configure:5914: checking for ${dir}tt_c.h" >&5 | 5970 echo "configure:5971: checking for ${dir}tt_c.h" >&5 |
5914 | 5971 |
5915 cat > conftest.$ac_ext <<EOF | 5972 cat > conftest.$ac_ext <<EOF |
5916 #line 5917 "configure" | 5973 #line 5974 "configure" |
5917 #include "confdefs.h" | 5974 #include "confdefs.h" |
5918 #include <${dir}tt_c.h> | 5975 #include <${dir}tt_c.h> |
5919 EOF | 5976 EOF |
5920 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 5977 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
5921 { (eval echo configure:5922: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 5978 { (eval echo configure:5979: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
5922 ac_err=`grep -v '^ *+' conftest.out` | 5979 ac_err=`grep -v '^ *+' conftest.out` |
5923 if test -z "$ac_err"; then | 5980 if test -z "$ac_err"; then |
5924 rm -rf conftest* | 5981 rm -rf conftest* |
5925 eval "ac_cv_header_$ac_safe=yes" | 5982 eval "ac_cv_header_$ac_safe=yes" |
5926 else | 5983 else |
5945 for extra_libs in "" "-lI18N -lce" "-lcxx"; do | 6002 for extra_libs in "" "-lI18N -lce" "-lcxx"; do |
5946 | 6003 |
5947 xe_msg_checking="for tt_message_create in -ltt" | 6004 xe_msg_checking="for tt_message_create in -ltt" |
5948 test -n "$extra_libs" && xe_msg_checking="$xe_msg_checking using extra libs $extra_libs" | 6005 test -n "$extra_libs" && xe_msg_checking="$xe_msg_checking using extra libs $extra_libs" |
5949 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 6006 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
5950 echo "configure:5951: checking "$xe_msg_checking"" >&5 | 6007 echo "configure:6008: checking "$xe_msg_checking"" >&5 |
5951 ac_lib_var=`echo tt'_'tt_message_create | sed 'y%./+-%__p_%'` | 6008 ac_lib_var=`echo tt'_'tt_message_create | sed 'y%./+-%__p_%'` |
5952 | 6009 |
5953 xe_check_libs=" -ltt $extra_libs" | 6010 xe_check_libs=" -ltt $extra_libs" |
5954 cat > conftest.$ac_ext <<EOF | 6011 cat > conftest.$ac_ext <<EOF |
5955 #line 5956 "configure" | 6012 #line 6013 "configure" |
5956 #include "confdefs.h" | 6013 #include "confdefs.h" |
5957 /* Override any gcc2 internal prototype to avoid an error. */ | 6014 /* Override any gcc2 internal prototype to avoid an error. */ |
5958 /* We use char because int might match the return type of a gcc2 | 6015 /* We use char because int might match the return type of a gcc2 |
5959 builtin and then its argument prototype would still apply. */ | 6016 builtin and then its argument prototype would still apply. */ |
5960 char tt_message_create(); | 6017 char tt_message_create(); |
5961 | 6018 |
5962 int main() { | 6019 int main() { |
5963 tt_message_create() | 6020 tt_message_create() |
5964 ; return 0; } | 6021 ; return 0; } |
5965 EOF | 6022 EOF |
5966 if { (eval echo configure:5967: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 6023 if { (eval echo configure:6024: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
5967 rm -rf conftest* | 6024 rm -rf conftest* |
5968 eval "ac_cv_lib_$ac_lib_var=yes" | 6025 eval "ac_cv_lib_$ac_lib_var=yes" |
5969 else | 6026 else |
5970 echo "configure: failed program was:" >&5 | 6027 echo "configure: failed program was:" >&5 |
5971 cat conftest.$ac_ext >&5 | 6028 cat conftest.$ac_ext >&5 |
6010 fi | 6067 fi |
6011 fi | 6068 fi |
6012 | 6069 |
6013 test -z "$with_cde" && { ac_safe=`echo "Dt/Dt.h" | sed 'y%./+-%__p_%'` | 6070 test -z "$with_cde" && { ac_safe=`echo "Dt/Dt.h" | sed 'y%./+-%__p_%'` |
6014 echo $ac_n "checking for Dt/Dt.h""... $ac_c" 1>&6 | 6071 echo $ac_n "checking for Dt/Dt.h""... $ac_c" 1>&6 |
6015 echo "configure:6016: checking for Dt/Dt.h" >&5 | 6072 echo "configure:6073: checking for Dt/Dt.h" >&5 |
6016 | 6073 |
6017 cat > conftest.$ac_ext <<EOF | 6074 cat > conftest.$ac_ext <<EOF |
6018 #line 6019 "configure" | 6075 #line 6076 "configure" |
6019 #include "confdefs.h" | 6076 #include "confdefs.h" |
6020 #include <Dt/Dt.h> | 6077 #include <Dt/Dt.h> |
6021 EOF | 6078 EOF |
6022 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6079 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
6023 { (eval echo configure:6024: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6080 { (eval echo configure:6081: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
6024 ac_err=`grep -v '^ *+' conftest.out` | 6081 ac_err=`grep -v '^ *+' conftest.out` |
6025 if test -z "$ac_err"; then | 6082 if test -z "$ac_err"; then |
6026 rm -rf conftest* | 6083 rm -rf conftest* |
6027 eval "ac_cv_header_$ac_safe=yes" | 6084 eval "ac_cv_header_$ac_safe=yes" |
6028 else | 6085 else |
6041 with_cde=no | 6098 with_cde=no |
6042 fi | 6099 fi |
6043 } | 6100 } |
6044 test -z "$with_cde" && { | 6101 test -z "$with_cde" && { |
6045 echo $ac_n "checking for DtDndDragStart in -lDtSvc""... $ac_c" 1>&6 | 6102 echo $ac_n "checking for DtDndDragStart in -lDtSvc""... $ac_c" 1>&6 |
6046 echo "configure:6047: checking for DtDndDragStart in -lDtSvc" >&5 | 6103 echo "configure:6104: checking for DtDndDragStart in -lDtSvc" >&5 |
6047 ac_lib_var=`echo DtSvc'_'DtDndDragStart | sed 'y%./+-%__p_%'` | 6104 ac_lib_var=`echo DtSvc'_'DtDndDragStart | sed 'y%./+-%__p_%'` |
6048 | 6105 |
6049 xe_check_libs=" -lDtSvc " | 6106 xe_check_libs=" -lDtSvc " |
6050 cat > conftest.$ac_ext <<EOF | 6107 cat > conftest.$ac_ext <<EOF |
6051 #line 6052 "configure" | 6108 #line 6109 "configure" |
6052 #include "confdefs.h" | 6109 #include "confdefs.h" |
6053 /* Override any gcc2 internal prototype to avoid an error. */ | 6110 /* Override any gcc2 internal prototype to avoid an error. */ |
6054 /* We use char because int might match the return type of a gcc2 | 6111 /* We use char because int might match the return type of a gcc2 |
6055 builtin and then its argument prototype would still apply. */ | 6112 builtin and then its argument prototype would still apply. */ |
6056 char DtDndDragStart(); | 6113 char DtDndDragStart(); |
6057 | 6114 |
6058 int main() { | 6115 int main() { |
6059 DtDndDragStart() | 6116 DtDndDragStart() |
6060 ; return 0; } | 6117 ; return 0; } |
6061 EOF | 6118 EOF |
6062 if { (eval echo configure:6063: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 6119 if { (eval echo configure:6120: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
6063 rm -rf conftest* | 6120 rm -rf conftest* |
6064 eval "ac_cv_lib_$ac_lib_var=yes" | 6121 eval "ac_cv_lib_$ac_lib_var=yes" |
6065 else | 6122 else |
6066 echo "configure: failed program was:" >&5 | 6123 echo "configure: failed program was:" >&5 |
6067 cat conftest.$ac_ext >&5 | 6124 cat conftest.$ac_ext >&5 |
6094 with_tooltalk=yes # CDE requires Tooltalk | 6151 with_tooltalk=yes # CDE requires Tooltalk |
6095 need_motif=yes # CDE requires Motif | 6152 need_motif=yes # CDE requires Motif |
6096 fi | 6153 fi |
6097 | 6154 |
6098 echo "checking for LDAP" 1>&6 | 6155 echo "checking for LDAP" 1>&6 |
6099 echo "configure:6100: checking for LDAP" >&5 | 6156 echo "configure:6157: checking for LDAP" >&5 |
6100 test -z "$with_ldap" && { ac_safe=`echo "ldap.h" | sed 'y%./+-%__p_%'` | 6157 test -z "$with_ldap" && { ac_safe=`echo "ldap.h" | sed 'y%./+-%__p_%'` |
6101 echo $ac_n "checking for ldap.h""... $ac_c" 1>&6 | 6158 echo $ac_n "checking for ldap.h""... $ac_c" 1>&6 |
6102 echo "configure:6103: checking for ldap.h" >&5 | 6159 echo "configure:6160: checking for ldap.h" >&5 |
6103 | 6160 |
6104 cat > conftest.$ac_ext <<EOF | 6161 cat > conftest.$ac_ext <<EOF |
6105 #line 6106 "configure" | 6162 #line 6163 "configure" |
6106 #include "confdefs.h" | 6163 #include "confdefs.h" |
6107 #include <ldap.h> | 6164 #include <ldap.h> |
6108 EOF | 6165 EOF |
6109 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6166 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
6110 { (eval echo configure:6111: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6167 { (eval echo configure:6168: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
6111 ac_err=`grep -v '^ *+' conftest.out` | 6168 ac_err=`grep -v '^ *+' conftest.out` |
6112 if test -z "$ac_err"; then | 6169 if test -z "$ac_err"; then |
6113 rm -rf conftest* | 6170 rm -rf conftest* |
6114 eval "ac_cv_header_$ac_safe=yes" | 6171 eval "ac_cv_header_$ac_safe=yes" |
6115 else | 6172 else |
6128 with_ldap=no | 6185 with_ldap=no |
6129 fi | 6186 fi |
6130 } | 6187 } |
6131 test -z "$with_ldap" && { ac_safe=`echo "lber.h" | sed 'y%./+-%__p_%'` | 6188 test -z "$with_ldap" && { ac_safe=`echo "lber.h" | sed 'y%./+-%__p_%'` |
6132 echo $ac_n "checking for lber.h""... $ac_c" 1>&6 | 6189 echo $ac_n "checking for lber.h""... $ac_c" 1>&6 |
6133 echo "configure:6134: checking for lber.h" >&5 | 6190 echo "configure:6191: checking for lber.h" >&5 |
6134 | 6191 |
6135 cat > conftest.$ac_ext <<EOF | 6192 cat > conftest.$ac_ext <<EOF |
6136 #line 6137 "configure" | 6193 #line 6194 "configure" |
6137 #include "confdefs.h" | 6194 #include "confdefs.h" |
6138 #include <lber.h> | 6195 #include <lber.h> |
6139 EOF | 6196 EOF |
6140 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6197 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
6141 { (eval echo configure:6142: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6198 { (eval echo configure:6199: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
6142 ac_err=`grep -v '^ *+' conftest.out` | 6199 ac_err=`grep -v '^ *+' conftest.out` |
6143 if test -z "$ac_err"; then | 6200 if test -z "$ac_err"; then |
6144 rm -rf conftest* | 6201 rm -rf conftest* |
6145 eval "ac_cv_header_$ac_safe=yes" | 6202 eval "ac_cv_header_$ac_safe=yes" |
6146 else | 6203 else |
6162 if test "$with_ldap" != "no"; then | 6219 if test "$with_ldap" != "no"; then |
6163 test -z "$with_umich_ldap" && { | 6220 test -z "$with_umich_ldap" && { |
6164 xe_msg_checking="for ldap_open in -lldap" | 6221 xe_msg_checking="for ldap_open in -lldap" |
6165 test -n "-llber" && xe_msg_checking="$xe_msg_checking using extra libs -llber" | 6222 test -n "-llber" && xe_msg_checking="$xe_msg_checking using extra libs -llber" |
6166 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 6223 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
6167 echo "configure:6168: checking "$xe_msg_checking"" >&5 | 6224 echo "configure:6225: checking "$xe_msg_checking"" >&5 |
6168 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` | 6225 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` |
6169 | 6226 |
6170 xe_check_libs=" -lldap -llber" | 6227 xe_check_libs=" -lldap -llber" |
6171 cat > conftest.$ac_ext <<EOF | 6228 cat > conftest.$ac_ext <<EOF |
6172 #line 6173 "configure" | 6229 #line 6230 "configure" |
6173 #include "confdefs.h" | 6230 #include "confdefs.h" |
6174 /* Override any gcc2 internal prototype to avoid an error. */ | 6231 /* Override any gcc2 internal prototype to avoid an error. */ |
6175 /* We use char because int might match the return type of a gcc2 | 6232 /* We use char because int might match the return type of a gcc2 |
6176 builtin and then its argument prototype would still apply. */ | 6233 builtin and then its argument prototype would still apply. */ |
6177 char ldap_open(); | 6234 char ldap_open(); |
6178 | 6235 |
6179 int main() { | 6236 int main() { |
6180 ldap_open() | 6237 ldap_open() |
6181 ; return 0; } | 6238 ; return 0; } |
6182 EOF | 6239 EOF |
6183 if { (eval echo configure:6184: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 6240 if { (eval echo configure:6241: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
6184 rm -rf conftest* | 6241 rm -rf conftest* |
6185 eval "ac_cv_lib_$ac_lib_var=yes" | 6242 eval "ac_cv_lib_$ac_lib_var=yes" |
6186 else | 6243 else |
6187 echo "configure: failed program was:" >&5 | 6244 echo "configure: failed program was:" >&5 |
6188 cat conftest.$ac_ext >&5 | 6245 cat conftest.$ac_ext >&5 |
6201 fi | 6258 fi |
6202 | 6259 |
6203 } | 6260 } |
6204 test "$with_umich_ldap" = "no" && { | 6261 test "$with_umich_ldap" = "no" && { |
6205 echo $ac_n "checking for ldap_set_option in -lldap10""... $ac_c" 1>&6 | 6262 echo $ac_n "checking for ldap_set_option in -lldap10""... $ac_c" 1>&6 |
6206 echo "configure:6207: checking for ldap_set_option in -lldap10" >&5 | 6263 echo "configure:6264: checking for ldap_set_option in -lldap10" >&5 |
6207 ac_lib_var=`echo ldap10'_'ldap_set_option | sed 'y%./+-%__p_%'` | 6264 ac_lib_var=`echo ldap10'_'ldap_set_option | sed 'y%./+-%__p_%'` |
6208 | 6265 |
6209 xe_check_libs=" -lldap10 " | 6266 xe_check_libs=" -lldap10 " |
6210 cat > conftest.$ac_ext <<EOF | 6267 cat > conftest.$ac_ext <<EOF |
6211 #line 6212 "configure" | 6268 #line 6269 "configure" |
6212 #include "confdefs.h" | 6269 #include "confdefs.h" |
6213 /* Override any gcc2 internal prototype to avoid an error. */ | 6270 /* Override any gcc2 internal prototype to avoid an error. */ |
6214 /* We use char because int might match the return type of a gcc2 | 6271 /* We use char because int might match the return type of a gcc2 |
6215 builtin and then its argument prototype would still apply. */ | 6272 builtin and then its argument prototype would still apply. */ |
6216 char ldap_set_option(); | 6273 char ldap_set_option(); |
6217 | 6274 |
6218 int main() { | 6275 int main() { |
6219 ldap_set_option() | 6276 ldap_set_option() |
6220 ; return 0; } | 6277 ; return 0; } |
6221 EOF | 6278 EOF |
6222 if { (eval echo configure:6223: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 6279 if { (eval echo configure:6280: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
6223 rm -rf conftest* | 6280 rm -rf conftest* |
6224 eval "ac_cv_lib_$ac_lib_var=yes" | 6281 eval "ac_cv_lib_$ac_lib_var=yes" |
6225 else | 6282 else |
6226 echo "configure: failed program was:" >&5 | 6283 echo "configure: failed program was:" >&5 |
6227 cat conftest.$ac_ext >&5 | 6284 cat conftest.$ac_ext >&5 |
6279 LIBS="-lldap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lldap\" to \$LIBS"; fi | 6336 LIBS="-lldap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lldap\" to \$LIBS"; fi |
6280 fi | 6337 fi |
6281 fi | 6338 fi |
6282 | 6339 |
6283 | 6340 |
6284 if test "$with_x11" = "yes"; then | 6341 if test "$window_system" != "none"; then |
6285 | 6342 echo "checking for graphics libraries" 1>&6 |
6286 echo "checking for X11 graphics libraries" 1>&6 | 6343 echo "configure:6344: checking for graphics libraries" >&5 |
6287 echo "configure:6288: checking for X11 graphics libraries" >&5 | |
6288 | |
6289 if test "$with_png $with_tiff" != "no no"; then | |
6290 | |
6291 echo $ac_n "checking for inflate in -lc""... $ac_c" 1>&6 | |
6292 echo "configure:6293: checking for inflate in -lc" >&5 | |
6293 ac_lib_var=`echo c'_'inflate | sed 'y%./+-%__p_%'` | |
6294 | |
6295 xe_check_libs=" -lc " | |
6296 cat > conftest.$ac_ext <<EOF | |
6297 #line 6298 "configure" | |
6298 #include "confdefs.h" | |
6299 /* Override any gcc2 internal prototype to avoid an error. */ | |
6300 /* We use char because int might match the return type of a gcc2 | |
6301 builtin and then its argument prototype would still apply. */ | |
6302 char inflate(); | |
6303 | |
6304 int main() { | |
6305 inflate() | |
6306 ; return 0; } | |
6307 EOF | |
6308 if { (eval echo configure:6309: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | |
6309 rm -rf conftest* | |
6310 eval "ac_cv_lib_$ac_lib_var=yes" | |
6311 else | |
6312 echo "configure: failed program was:" >&5 | |
6313 cat conftest.$ac_ext >&5 | |
6314 rm -rf conftest* | |
6315 eval "ac_cv_lib_$ac_lib_var=no" | |
6316 fi | |
6317 rm -f conftest* | |
6318 xe_check_libs="" | |
6319 | |
6320 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes" ; then | |
6321 echo "$ac_t""yes" 1>&6 | |
6322 : | |
6323 else | |
6324 echo "$ac_t""no" 1>&6 | |
6325 | |
6326 echo $ac_n "checking for inflate in -lz""... $ac_c" 1>&6 | |
6327 echo "configure:6328: checking for inflate in -lz" >&5 | |
6328 ac_lib_var=`echo z'_'inflate | sed 'y%./+-%__p_%'` | |
6329 | |
6330 xe_check_libs=" -lz " | |
6331 cat > conftest.$ac_ext <<EOF | |
6332 #line 6333 "configure" | |
6333 #include "confdefs.h" | |
6334 /* Override any gcc2 internal prototype to avoid an error. */ | |
6335 /* We use char because int might match the return type of a gcc2 | |
6336 builtin and then its argument prototype would still apply. */ | |
6337 char inflate(); | |
6338 | |
6339 int main() { | |
6340 inflate() | |
6341 ; return 0; } | |
6342 EOF | |
6343 if { (eval echo configure:6344: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | |
6344 rm -rf conftest* | |
6345 eval "ac_cv_lib_$ac_lib_var=yes" | |
6346 else | |
6347 echo "configure: failed program was:" >&5 | |
6348 cat conftest.$ac_ext >&5 | |
6349 rm -rf conftest* | |
6350 eval "ac_cv_lib_$ac_lib_var=no" | |
6351 fi | |
6352 rm -f conftest* | |
6353 xe_check_libs="" | |
6354 | |
6355 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes" ; then | |
6356 echo "$ac_t""yes" 1>&6 | |
6357 libs_x="-lz $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lz\" to \$libs_x"; fi | |
6358 else | |
6359 echo "$ac_t""no" 1>&6 | |
6360 | |
6361 echo $ac_n "checking for inflate in -lgz""... $ac_c" 1>&6 | |
6362 echo "configure:6363: checking for inflate in -lgz" >&5 | |
6363 ac_lib_var=`echo gz'_'inflate | sed 'y%./+-%__p_%'` | |
6364 | |
6365 xe_check_libs=" -lgz " | |
6366 cat > conftest.$ac_ext <<EOF | |
6367 #line 6368 "configure" | |
6368 #include "confdefs.h" | |
6369 /* Override any gcc2 internal prototype to avoid an error. */ | |
6370 /* We use char because int might match the return type of a gcc2 | |
6371 builtin and then its argument prototype would still apply. */ | |
6372 char inflate(); | |
6373 | |
6374 int main() { | |
6375 inflate() | |
6376 ; return 0; } | |
6377 EOF | |
6378 if { (eval echo configure:6379: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | |
6379 rm -rf conftest* | |
6380 eval "ac_cv_lib_$ac_lib_var=yes" | |
6381 else | |
6382 echo "configure: failed program was:" >&5 | |
6383 cat conftest.$ac_ext >&5 | |
6384 rm -rf conftest* | |
6385 eval "ac_cv_lib_$ac_lib_var=no" | |
6386 fi | |
6387 rm -f conftest* | |
6388 xe_check_libs="" | |
6389 | |
6390 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes" ; then | |
6391 echo "$ac_t""yes" 1>&6 | |
6392 libs_x="-lgz $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lgz\" to \$libs_x"; fi | |
6393 else | |
6394 echo "$ac_t""no" 1>&6 | |
6395 fi | |
6396 | |
6397 | |
6398 fi | |
6399 | |
6400 | |
6401 fi | |
6402 | |
6403 | |
6404 fi | |
6405 | 6344 |
6406 if test -z "$with_xpm"; then | 6345 if test -z "$with_xpm"; then |
6407 echo $ac_n "checking for Xpm - no older than 3.4f""... $ac_c" 1>&6 | 6346 echo $ac_n "checking for Xpm - no older than 3.4f""... $ac_c" 1>&6 |
6408 echo "configure:6409: checking for Xpm - no older than 3.4f" >&5 | 6347 echo "configure:6348: checking for Xpm - no older than 3.4f" >&5 |
6409 xe_check_libs=-lXpm | 6348 xe_check_libs=-lXpm |
6410 cat > conftest.$ac_ext <<EOF | 6349 cat > conftest.$ac_ext <<EOF |
6411 #line 6412 "configure" | 6350 #line 6351 "configure" |
6412 #include "confdefs.h" | 6351 #include "confdefs.h" |
6413 #include <X11/xpm.h> | 6352 #include <X11/xpm.h> |
6414 int main(int c, char **v) { | 6353 int main(int c, char **v) { |
6415 return c == 1 ? 0 : | 6354 return c == 1 ? 0 : |
6416 XpmIncludeVersion != XpmLibraryVersion() ? 1 : | 6355 XpmIncludeVersion != XpmLibraryVersion() ? 1 : |
6417 XpmIncludeVersion < 30406 ? 2 : 0 ;} | 6356 XpmIncludeVersion < 30406 ? 2 : 0 ;} |
6418 EOF | 6357 EOF |
6419 if { (eval echo configure:6420: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 | 6358 if { (eval echo configure:6359: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 |
6420 then | 6359 then |
6421 ./conftest dummy_arg; xpm_status=$?; | 6360 ./conftest dummy_arg; xpm_status=$?; |
6422 if test "$?" = "0"; then | 6361 if test "$?" = "0"; then |
6423 with_xpm=yes; | 6362 with_xpm=yes; |
6424 else | 6363 else |
6429 xpm_problem="Xpm library version is too old!" | 6368 xpm_problem="Xpm library version is too old!" |
6430 else | 6369 else |
6431 xpm_problem="Internal xpm detection logic error!" | 6370 xpm_problem="Internal xpm detection logic error!" |
6432 fi | 6371 fi |
6433 echo " | 6372 echo " |
6434 *** WARNING *** $problem | 6373 *** WARNING *** $problem |
6435 I'm not touching that with a 10-foot pole! | 6374 I'm not touching that with a 10-foot pole! |
6436 If you really want to use the installed version of Xpm, rerun | 6375 If you really want to use the installed version of Xpm, rerun |
6437 configure --with-xpm=yes, but don't blame me if XEmacs crashes!" | 6376 configure --with-xpm=yes, but don't blame me if XEmacs crashes!" |
6438 fi | 6377 fi |
6439 else | 6378 else |
6440 echo "configure: failed program was:" >&5 | 6379 echo "configure: failed program was:" >&5 |
6441 cat conftest.$ac_ext >&5 | 6380 cat conftest.$ac_ext >&5 |
6442 rm -fr conftest* | 6381 rm -fr conftest* |
6443 with_xpm=no | 6382 with_xpm=no |
6454 #define HAVE_XPM 1 | 6393 #define HAVE_XPM 1 |
6455 EOF | 6394 EOF |
6456 } | 6395 } |
6457 | 6396 |
6458 libs_x="-lXpm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXpm\" to \$libs_x"; fi | 6397 libs_x="-lXpm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXpm\" to \$libs_x"; fi |
6398 echo $ac_n "checking for \"FOR_MSW\" xpm""... $ac_c" 1>&6 | |
6399 echo "configure:6400: checking for \"FOR_MSW\" xpm" >&5 | |
6400 xe_check_libs=-lXpm | |
6401 cat > conftest.$ac_ext <<EOF | |
6402 #line 6403 "configure" | |
6403 #include "confdefs.h" | |
6404 | |
6405 int main() { | |
6406 XpmCreatePixmapFromData() | |
6407 ; return 0; } | |
6408 EOF | |
6409 if { (eval echo configure:6410: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | |
6410 rm -rf conftest* | |
6411 xpm_for_msw=no | |
6412 else | |
6413 echo "configure: failed program was:" >&5 | |
6414 cat conftest.$ac_ext >&5 | |
6415 rm -rf conftest* | |
6416 xpm_for_msw=yes | |
6417 fi | |
6418 rm -f conftest* | |
6419 xe_check_libs= | |
6420 echo "$ac_t""$xpm_for_msw" 1>&6 | |
6421 if test "$xpm_for_msw" = "yes"; then | |
6422 { test "$extra_verbose" = "yes" && cat << \EOF | |
6423 Defining FOR_MSW | |
6424 EOF | |
6425 cat >> confdefs.h <<\EOF | |
6426 #define FOR_MSW 1 | |
6427 EOF | |
6428 } | |
6429 | |
6430 fi | |
6459 fi | 6431 fi |
6460 | 6432 |
6461 test -z "$with_xface" && { ac_safe=`echo "compface.h" | sed 'y%./+-%__p_%'` | 6433 if test "$with_png $with_tiff" != "no no"; then |
6462 echo $ac_n "checking for compface.h""... $ac_c" 1>&6 | 6434 |
6463 echo "configure:6464: checking for compface.h" >&5 | 6435 echo $ac_n "checking for inflate in -lc""... $ac_c" 1>&6 |
6464 | 6436 echo "configure:6437: checking for inflate in -lc" >&5 |
6465 cat > conftest.$ac_ext <<EOF | 6437 ac_lib_var=`echo c'_'inflate | sed 'y%./+-%__p_%'` |
6466 #line 6467 "configure" | 6438 |
6467 #include "confdefs.h" | 6439 xe_check_libs=" -lc " |
6468 #include <compface.h> | 6440 cat > conftest.$ac_ext <<EOF |
6441 #line 6442 "configure" | |
6442 #include "confdefs.h" | |
6443 /* Override any gcc2 internal prototype to avoid an error. */ | |
6444 /* We use char because int might match the return type of a gcc2 | |
6445 builtin and then its argument prototype would still apply. */ | |
6446 char inflate(); | |
6447 | |
6448 int main() { | |
6449 inflate() | |
6450 ; return 0; } | |
6451 EOF | |
6452 if { (eval echo configure:6453: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | |
6453 rm -rf conftest* | |
6454 eval "ac_cv_lib_$ac_lib_var=yes" | |
6455 else | |
6456 echo "configure: failed program was:" >&5 | |
6457 cat conftest.$ac_ext >&5 | |
6458 rm -rf conftest* | |
6459 eval "ac_cv_lib_$ac_lib_var=no" | |
6460 fi | |
6461 rm -f conftest* | |
6462 xe_check_libs="" | |
6463 | |
6464 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes" ; then | |
6465 echo "$ac_t""yes" 1>&6 | |
6466 : | |
6467 else | |
6468 echo "$ac_t""no" 1>&6 | |
6469 | |
6470 echo $ac_n "checking for inflate in -lz""... $ac_c" 1>&6 | |
6471 echo "configure:6472: checking for inflate in -lz" >&5 | |
6472 ac_lib_var=`echo z'_'inflate | sed 'y%./+-%__p_%'` | |
6473 | |
6474 xe_check_libs=" -lz " | |
6475 cat > conftest.$ac_ext <<EOF | |
6476 #line 6477 "configure" | |
6477 #include "confdefs.h" | |
6478 /* Override any gcc2 internal prototype to avoid an error. */ | |
6479 /* We use char because int might match the return type of a gcc2 | |
6480 builtin and then its argument prototype would still apply. */ | |
6481 char inflate(); | |
6482 | |
6483 int main() { | |
6484 inflate() | |
6485 ; return 0; } | |
6486 EOF | |
6487 if { (eval echo configure:6488: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | |
6488 rm -rf conftest* | |
6489 eval "ac_cv_lib_$ac_lib_var=yes" | |
6490 else | |
6491 echo "configure: failed program was:" >&5 | |
6492 cat conftest.$ac_ext >&5 | |
6493 rm -rf conftest* | |
6494 eval "ac_cv_lib_$ac_lib_var=no" | |
6495 fi | |
6496 rm -f conftest* | |
6497 xe_check_libs="" | |
6498 | |
6499 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes" ; then | |
6500 echo "$ac_t""yes" 1>&6 | |
6501 libs_x="-lz $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lz\" to \$libs_x"; fi | |
6502 else | |
6503 echo "$ac_t""no" 1>&6 | |
6504 | |
6505 echo $ac_n "checking for inflate in -lgz""... $ac_c" 1>&6 | |
6506 echo "configure:6507: checking for inflate in -lgz" >&5 | |
6507 ac_lib_var=`echo gz'_'inflate | sed 'y%./+-%__p_%'` | |
6508 | |
6509 xe_check_libs=" -lgz " | |
6510 cat > conftest.$ac_ext <<EOF | |
6511 #line 6512 "configure" | |
6512 #include "confdefs.h" | |
6513 /* Override any gcc2 internal prototype to avoid an error. */ | |
6514 /* We use char because int might match the return type of a gcc2 | |
6515 builtin and then its argument prototype would still apply. */ | |
6516 char inflate(); | |
6517 | |
6518 int main() { | |
6519 inflate() | |
6520 ; return 0; } | |
6521 EOF | |
6522 if { (eval echo configure:6523: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | |
6523 rm -rf conftest* | |
6524 eval "ac_cv_lib_$ac_lib_var=yes" | |
6525 else | |
6526 echo "configure: failed program was:" >&5 | |
6527 cat conftest.$ac_ext >&5 | |
6528 rm -rf conftest* | |
6529 eval "ac_cv_lib_$ac_lib_var=no" | |
6530 fi | |
6531 rm -f conftest* | |
6532 xe_check_libs="" | |
6533 | |
6534 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes" ; then | |
6535 echo "$ac_t""yes" 1>&6 | |
6536 libs_x="-lgz $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lgz\" to \$libs_x"; fi | |
6537 else | |
6538 echo "$ac_t""no" 1>&6 | |
6539 fi | |
6540 | |
6541 | |
6542 fi | |
6543 | |
6544 | |
6545 fi | |
6546 | |
6547 | |
6548 fi | |
6549 | |
6550 echo $ac_n "checking for giflib - no older than 3.1""... $ac_c" 1>&6 | |
6551 echo "configure:6552: checking for giflib - no older than 3.1" >&5 | |
6552 test -z "$with_gif" && { ac_safe=`echo "gif_lib.h" | sed 'y%./+-%__p_%'` | |
6553 echo $ac_n "checking for gif_lib.h""... $ac_c" 1>&6 | |
6554 echo "configure:6555: checking for gif_lib.h" >&5 | |
6555 | |
6556 cat > conftest.$ac_ext <<EOF | |
6557 #line 6558 "configure" | |
6558 #include "confdefs.h" | |
6559 #include <gif_lib.h> | |
6469 EOF | 6560 EOF |
6470 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6561 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
6471 { (eval echo configure:6472: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6562 { (eval echo configure:6563: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
6472 ac_err=`grep -v '^ *+' conftest.out` | 6563 ac_err=`grep -v '^ *+' conftest.out` |
6473 if test -z "$ac_err"; then | 6564 if test -z "$ac_err"; then |
6474 rm -rf conftest* | 6565 rm -rf conftest* |
6475 eval "ac_cv_header_$ac_safe=yes" | 6566 eval "ac_cv_header_$ac_safe=yes" |
6476 else | 6567 else |
6484 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 6575 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
6485 echo "$ac_t""yes" 1>&6 | 6576 echo "$ac_t""yes" 1>&6 |
6486 : | 6577 : |
6487 else | 6578 else |
6488 echo "$ac_t""no" 1>&6 | 6579 echo "$ac_t""no" 1>&6 |
6489 with_xface=no | |
6490 fi | |
6491 } | |
6492 test -z "$with_xface" && { | |
6493 echo $ac_n "checking for UnGenFace in -lcompface""... $ac_c" 1>&6 | |
6494 echo "configure:6495: checking for UnGenFace in -lcompface" >&5 | |
6495 ac_lib_var=`echo compface'_'UnGenFace | sed 'y%./+-%__p_%'` | |
6496 | |
6497 xe_check_libs=" -lcompface " | |
6498 cat > conftest.$ac_ext <<EOF | |
6499 #line 6500 "configure" | |
6500 #include "confdefs.h" | |
6501 /* Override any gcc2 internal prototype to avoid an error. */ | |
6502 /* We use char because int might match the return type of a gcc2 | |
6503 builtin and then its argument prototype would still apply. */ | |
6504 char UnGenFace(); | |
6505 | |
6506 int main() { | |
6507 UnGenFace() | |
6508 ; return 0; } | |
6509 EOF | |
6510 if { (eval echo configure:6511: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | |
6511 rm -rf conftest* | |
6512 eval "ac_cv_lib_$ac_lib_var=yes" | |
6513 else | |
6514 echo "configure: failed program was:" >&5 | |
6515 cat conftest.$ac_ext >&5 | |
6516 rm -rf conftest* | |
6517 eval "ac_cv_lib_$ac_lib_var=no" | |
6518 fi | |
6519 rm -f conftest* | |
6520 xe_check_libs="" | |
6521 | |
6522 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes" ; then | |
6523 echo "$ac_t""yes" 1>&6 | |
6524 : | |
6525 else | |
6526 echo "$ac_t""no" 1>&6 | |
6527 with_xface=no | |
6528 fi | |
6529 | |
6530 } | |
6531 test -z "$with_xface" && with_xface=yes | |
6532 if test "$with_xface" = "yes"; then | |
6533 { test "$extra_verbose" = "yes" && cat << \EOF | |
6534 Defining HAVE_XFACE | |
6535 EOF | |
6536 cat >> confdefs.h <<\EOF | |
6537 #define HAVE_XFACE 1 | |
6538 EOF | |
6539 } | |
6540 | |
6541 libs_x="-lcompface $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lcompface\" to \$libs_x"; fi | |
6542 fi | |
6543 | |
6544 echo $ac_n "checking for giflib - no older than 3.1""... $ac_c" 1>&6 | |
6545 echo "configure:6546: checking for giflib - no older than 3.1" >&5 | |
6546 test -z "$with_gif" && { ac_safe=`echo "gif_lib.h" | sed 'y%./+-%__p_%'` | |
6547 echo $ac_n "checking for gif_lib.h""... $ac_c" 1>&6 | |
6548 echo "configure:6549: checking for gif_lib.h" >&5 | |
6549 | |
6550 cat > conftest.$ac_ext <<EOF | |
6551 #line 6552 "configure" | |
6552 #include "confdefs.h" | |
6553 #include <gif_lib.h> | |
6554 EOF | |
6555 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | |
6556 { (eval echo configure:6557: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | |
6557 ac_err=`grep -v '^ *+' conftest.out` | |
6558 if test -z "$ac_err"; then | |
6559 rm -rf conftest* | |
6560 eval "ac_cv_header_$ac_safe=yes" | |
6561 else | |
6562 echo "$ac_err" >&5 | |
6563 echo "configure: failed program was:" >&5 | |
6564 cat conftest.$ac_ext >&5 | |
6565 rm -rf conftest* | |
6566 eval "ac_cv_header_$ac_safe=no" | |
6567 fi | |
6568 rm -f conftest* | |
6569 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | |
6570 echo "$ac_t""yes" 1>&6 | |
6571 : | |
6572 else | |
6573 echo "$ac_t""no" 1>&6 | |
6574 with_gif=no | 6580 with_gif=no |
6575 fi | 6581 fi |
6576 } | 6582 } |
6577 test -z "$with_gif" && { | 6583 test -z "$with_gif" && { |
6578 echo $ac_n "checking for GetGifError in -lgif""... $ac_c" 1>&6 | 6584 echo $ac_n "checking for GetGifError in -lgif""... $ac_c" 1>&6 |
6579 echo "configure:6580: checking for GetGifError in -lgif" >&5 | 6585 echo "configure:6586: checking for GetGifError in -lgif" >&5 |
6580 ac_lib_var=`echo gif'_'GetGifError | sed 'y%./+-%__p_%'` | 6586 ac_lib_var=`echo gif'_'GetGifError | sed 'y%./+-%__p_%'` |
6581 | 6587 |
6582 xe_check_libs=" -lgif " | 6588 xe_check_libs=" -lgif " |
6583 cat > conftest.$ac_ext <<EOF | 6589 cat > conftest.$ac_ext <<EOF |
6584 #line 6585 "configure" | 6590 #line 6591 "configure" |
6585 #include "confdefs.h" | 6591 #include "confdefs.h" |
6586 /* Override any gcc2 internal prototype to avoid an error. */ | 6592 /* Override any gcc2 internal prototype to avoid an error. */ |
6587 /* We use char because int might match the return type of a gcc2 | 6593 /* We use char because int might match the return type of a gcc2 |
6588 builtin and then its argument prototype would still apply. */ | 6594 builtin and then its argument prototype would still apply. */ |
6589 char GetGifError(); | 6595 char GetGifError(); |
6590 | 6596 |
6591 int main() { | 6597 int main() { |
6592 GetGifError() | 6598 GetGifError() |
6593 ; return 0; } | 6599 ; return 0; } |
6594 EOF | 6600 EOF |
6595 if { (eval echo configure:6596: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 6601 if { (eval echo configure:6602: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
6596 rm -rf conftest* | 6602 rm -rf conftest* |
6597 eval "ac_cv_lib_$ac_lib_var=yes" | 6603 eval "ac_cv_lib_$ac_lib_var=yes" |
6598 else | 6604 else |
6599 echo "configure: failed program was:" >&5 | 6605 echo "configure: failed program was:" >&5 |
6600 cat conftest.$ac_ext >&5 | 6606 cat conftest.$ac_ext >&5 |
6626 libs_x="-lgif $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lgif\" to \$libs_x"; fi | 6632 libs_x="-lgif $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lgif\" to \$libs_x"; fi |
6627 fi | 6633 fi |
6628 | 6634 |
6629 test -z "$with_jpeg" && { ac_safe=`echo "jpeglib.h" | sed 'y%./+-%__p_%'` | 6635 test -z "$with_jpeg" && { ac_safe=`echo "jpeglib.h" | sed 'y%./+-%__p_%'` |
6630 echo $ac_n "checking for jpeglib.h""... $ac_c" 1>&6 | 6636 echo $ac_n "checking for jpeglib.h""... $ac_c" 1>&6 |
6631 echo "configure:6632: checking for jpeglib.h" >&5 | 6637 echo "configure:6638: checking for jpeglib.h" >&5 |
6632 | 6638 |
6633 cat > conftest.$ac_ext <<EOF | 6639 cat > conftest.$ac_ext <<EOF |
6634 #line 6635 "configure" | 6640 #line 6641 "configure" |
6635 #include "confdefs.h" | 6641 #include "confdefs.h" |
6636 #include <jpeglib.h> | 6642 #include <jpeglib.h> |
6637 EOF | 6643 EOF |
6638 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6644 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
6639 { (eval echo configure:6640: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6645 { (eval echo configure:6646: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
6640 ac_err=`grep -v '^ *+' conftest.out` | 6646 ac_err=`grep -v '^ *+' conftest.out` |
6641 if test -z "$ac_err"; then | 6647 if test -z "$ac_err"; then |
6642 rm -rf conftest* | 6648 rm -rf conftest* |
6643 eval "ac_cv_header_$ac_safe=yes" | 6649 eval "ac_cv_header_$ac_safe=yes" |
6644 else | 6650 else |
6657 with_jpeg=no | 6663 with_jpeg=no |
6658 fi | 6664 fi |
6659 } | 6665 } |
6660 test -z "$with_jpeg" && { | 6666 test -z "$with_jpeg" && { |
6661 echo $ac_n "checking for jpeg_destroy_decompress in -ljpeg""... $ac_c" 1>&6 | 6667 echo $ac_n "checking for jpeg_destroy_decompress in -ljpeg""... $ac_c" 1>&6 |
6662 echo "configure:6663: checking for jpeg_destroy_decompress in -ljpeg" >&5 | 6668 echo "configure:6669: checking for jpeg_destroy_decompress in -ljpeg" >&5 |
6663 ac_lib_var=`echo jpeg'_'jpeg_destroy_decompress | sed 'y%./+-%__p_%'` | 6669 ac_lib_var=`echo jpeg'_'jpeg_destroy_decompress | sed 'y%./+-%__p_%'` |
6664 | 6670 |
6665 xe_check_libs=" -ljpeg " | 6671 xe_check_libs=" -ljpeg " |
6666 cat > conftest.$ac_ext <<EOF | 6672 cat > conftest.$ac_ext <<EOF |
6667 #line 6668 "configure" | 6673 #line 6674 "configure" |
6668 #include "confdefs.h" | 6674 #include "confdefs.h" |
6669 /* Override any gcc2 internal prototype to avoid an error. */ | 6675 /* Override any gcc2 internal prototype to avoid an error. */ |
6670 /* We use char because int might match the return type of a gcc2 | 6676 /* We use char because int might match the return type of a gcc2 |
6671 builtin and then its argument prototype would still apply. */ | 6677 builtin and then its argument prototype would still apply. */ |
6672 char jpeg_destroy_decompress(); | 6678 char jpeg_destroy_decompress(); |
6673 | 6679 |
6674 int main() { | 6680 int main() { |
6675 jpeg_destroy_decompress() | 6681 jpeg_destroy_decompress() |
6676 ; return 0; } | 6682 ; return 0; } |
6677 EOF | 6683 EOF |
6678 if { (eval echo configure:6679: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 6684 if { (eval echo configure:6685: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
6679 rm -rf conftest* | 6685 rm -rf conftest* |
6680 eval "ac_cv_lib_$ac_lib_var=yes" | 6686 eval "ac_cv_lib_$ac_lib_var=yes" |
6681 else | 6687 else |
6682 echo "configure: failed program was:" >&5 | 6688 echo "configure: failed program was:" >&5 |
6683 cat conftest.$ac_ext >&5 | 6689 cat conftest.$ac_ext >&5 |
6709 libs_x="-ljpeg $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-ljpeg\" to \$libs_x"; fi | 6715 libs_x="-ljpeg $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-ljpeg\" to \$libs_x"; fi |
6710 fi | 6716 fi |
6711 | 6717 |
6712 if test -z "$with_png"; then | 6718 if test -z "$with_png"; then |
6713 echo $ac_n "checking for png.h - no older than 0.96""... $ac_c" 1>&6 | 6719 echo $ac_n "checking for png.h - no older than 0.96""... $ac_c" 1>&6 |
6714 echo "configure:6715: checking for png.h - no older than 0.96" >&5 | 6720 echo "configure:6721: checking for png.h - no older than 0.96" >&5 |
6715 cat > conftest.$ac_ext <<EOF | 6721 cat > conftest.$ac_ext <<EOF |
6716 #line 6717 "configure" | 6722 #line 6723 "configure" |
6717 #include "confdefs.h" | 6723 #include "confdefs.h" |
6718 #include <png.h> | 6724 #include <png.h> |
6719 #if PNG_LIBPNG_VER >= 96 | 6725 #if PNG_LIBPNG_VER >= 96 |
6720 yes | 6726 yes |
6721 #endif | 6727 #endif |
6731 fi | 6737 fi |
6732 rm -f conftest* | 6738 rm -f conftest* |
6733 | 6739 |
6734 fi | 6740 fi |
6735 test -z "$with_png" && { echo $ac_n "checking for pow""... $ac_c" 1>&6 | 6741 test -z "$with_png" && { echo $ac_n "checking for pow""... $ac_c" 1>&6 |
6736 echo "configure:6737: checking for pow" >&5 | 6742 echo "configure:6743: checking for pow" >&5 |
6737 | 6743 |
6738 cat > conftest.$ac_ext <<EOF | 6744 cat > conftest.$ac_ext <<EOF |
6739 #line 6740 "configure" | 6745 #line 6746 "configure" |
6740 #include "confdefs.h" | 6746 #include "confdefs.h" |
6741 /* System header to define __stub macros and hopefully few prototypes, | 6747 /* System header to define __stub macros and hopefully few prototypes, |
6742 which can conflict with char pow(); below. */ | 6748 which can conflict with char pow(); below. */ |
6743 #include <assert.h> | 6749 #include <assert.h> |
6744 /* Override any gcc2 internal prototype to avoid an error. */ | 6750 /* Override any gcc2 internal prototype to avoid an error. */ |
6757 pow(); | 6763 pow(); |
6758 #endif | 6764 #endif |
6759 | 6765 |
6760 ; return 0; } | 6766 ; return 0; } |
6761 EOF | 6767 EOF |
6762 if { (eval echo configure:6763: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 6768 if { (eval echo configure:6769: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
6763 rm -rf conftest* | 6769 rm -rf conftest* |
6764 eval "ac_cv_func_pow=yes" | 6770 eval "ac_cv_func_pow=yes" |
6765 else | 6771 else |
6766 echo "configure: failed program was:" >&5 | 6772 echo "configure: failed program was:" >&5 |
6767 cat conftest.$ac_ext >&5 | 6773 cat conftest.$ac_ext >&5 |
6778 with_png=no | 6784 with_png=no |
6779 fi | 6785 fi |
6780 } | 6786 } |
6781 test -z "$with_png" && { | 6787 test -z "$with_png" && { |
6782 echo $ac_n "checking for png_read_image in -lpng""... $ac_c" 1>&6 | 6788 echo $ac_n "checking for png_read_image in -lpng""... $ac_c" 1>&6 |
6783 echo "configure:6784: checking for png_read_image in -lpng" >&5 | 6789 echo "configure:6790: checking for png_read_image in -lpng" >&5 |
6784 ac_lib_var=`echo png'_'png_read_image | sed 'y%./+-%__p_%'` | 6790 ac_lib_var=`echo png'_'png_read_image | sed 'y%./+-%__p_%'` |
6785 | 6791 |
6786 xe_check_libs=" -lpng " | 6792 xe_check_libs=" -lpng " |
6787 cat > conftest.$ac_ext <<EOF | 6793 cat > conftest.$ac_ext <<EOF |
6788 #line 6789 "configure" | 6794 #line 6795 "configure" |
6789 #include "confdefs.h" | 6795 #include "confdefs.h" |
6790 /* Override any gcc2 internal prototype to avoid an error. */ | 6796 /* Override any gcc2 internal prototype to avoid an error. */ |
6791 /* We use char because int might match the return type of a gcc2 | 6797 /* We use char because int might match the return type of a gcc2 |
6792 builtin and then its argument prototype would still apply. */ | 6798 builtin and then its argument prototype would still apply. */ |
6793 char png_read_image(); | 6799 char png_read_image(); |
6794 | 6800 |
6795 int main() { | 6801 int main() { |
6796 png_read_image() | 6802 png_read_image() |
6797 ; return 0; } | 6803 ; return 0; } |
6798 EOF | 6804 EOF |
6799 if { (eval echo configure:6800: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 6805 if { (eval echo configure:6806: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
6800 rm -rf conftest* | 6806 rm -rf conftest* |
6801 eval "ac_cv_lib_$ac_lib_var=yes" | 6807 eval "ac_cv_lib_$ac_lib_var=yes" |
6802 else | 6808 else |
6803 echo "configure: failed program was:" >&5 | 6809 echo "configure: failed program was:" >&5 |
6804 cat conftest.$ac_ext >&5 | 6810 cat conftest.$ac_ext >&5 |
6830 libs_x="-lpng $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lpng\" to \$libs_x"; fi | 6836 libs_x="-lpng $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lpng\" to \$libs_x"; fi |
6831 fi | 6837 fi |
6832 | 6838 |
6833 test -z "$with_tiff" && { ac_safe=`echo "tiffio.h" | sed 'y%./+-%__p_%'` | 6839 test -z "$with_tiff" && { ac_safe=`echo "tiffio.h" | sed 'y%./+-%__p_%'` |
6834 echo $ac_n "checking for tiffio.h""... $ac_c" 1>&6 | 6840 echo $ac_n "checking for tiffio.h""... $ac_c" 1>&6 |
6835 echo "configure:6836: checking for tiffio.h" >&5 | 6841 echo "configure:6842: checking for tiffio.h" >&5 |
6836 | 6842 |
6837 cat > conftest.$ac_ext <<EOF | 6843 cat > conftest.$ac_ext <<EOF |
6838 #line 6839 "configure" | 6844 #line 6845 "configure" |
6839 #include "confdefs.h" | 6845 #include "confdefs.h" |
6840 #include <tiffio.h> | 6846 #include <tiffio.h> |
6841 EOF | 6847 EOF |
6842 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6848 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
6843 { (eval echo configure:6844: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6849 { (eval echo configure:6850: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
6844 ac_err=`grep -v '^ *+' conftest.out` | 6850 ac_err=`grep -v '^ *+' conftest.out` |
6845 if test -z "$ac_err"; then | 6851 if test -z "$ac_err"; then |
6846 rm -rf conftest* | 6852 rm -rf conftest* |
6847 eval "ac_cv_header_$ac_safe=yes" | 6853 eval "ac_cv_header_$ac_safe=yes" |
6848 else | 6854 else |
6861 with_tiff=no | 6867 with_tiff=no |
6862 fi | 6868 fi |
6863 } | 6869 } |
6864 test -z "$with_tiff" && { | 6870 test -z "$with_tiff" && { |
6865 echo $ac_n "checking for TIFFReadScanline in -ltiff""... $ac_c" 1>&6 | 6871 echo $ac_n "checking for TIFFReadScanline in -ltiff""... $ac_c" 1>&6 |
6866 echo "configure:6867: checking for TIFFReadScanline in -ltiff" >&5 | 6872 echo "configure:6873: checking for TIFFReadScanline in -ltiff" >&5 |
6867 ac_lib_var=`echo tiff'_'TIFFReadScanline | sed 'y%./+-%__p_%'` | 6873 ac_lib_var=`echo tiff'_'TIFFReadScanline | sed 'y%./+-%__p_%'` |
6868 | 6874 |
6869 xe_check_libs=" -ltiff " | 6875 xe_check_libs=" -ltiff " |
6870 cat > conftest.$ac_ext <<EOF | 6876 cat > conftest.$ac_ext <<EOF |
6871 #line 6872 "configure" | 6877 #line 6878 "configure" |
6872 #include "confdefs.h" | 6878 #include "confdefs.h" |
6873 /* Override any gcc2 internal prototype to avoid an error. */ | 6879 /* Override any gcc2 internal prototype to avoid an error. */ |
6874 /* We use char because int might match the return type of a gcc2 | 6880 /* We use char because int might match the return type of a gcc2 |
6875 builtin and then its argument prototype would still apply. */ | 6881 builtin and then its argument prototype would still apply. */ |
6876 char TIFFReadScanline(); | 6882 char TIFFReadScanline(); |
6877 | 6883 |
6878 int main() { | 6884 int main() { |
6879 TIFFReadScanline() | 6885 TIFFReadScanline() |
6880 ; return 0; } | 6886 ; return 0; } |
6881 EOF | 6887 EOF |
6882 if { (eval echo configure:6883: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 6888 if { (eval echo configure:6889: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
6883 rm -rf conftest* | 6889 rm -rf conftest* |
6884 eval "ac_cv_lib_$ac_lib_var=yes" | 6890 eval "ac_cv_lib_$ac_lib_var=yes" |
6885 else | 6891 else |
6886 echo "configure: failed program was:" >&5 | 6892 echo "configure: failed program was:" >&5 |
6887 cat conftest.$ac_ext >&5 | 6893 cat conftest.$ac_ext >&5 |
6910 EOF | 6916 EOF |
6911 } | 6917 } |
6912 | 6918 |
6913 libs_x="-ltiff $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-ltiff\" to \$libs_x"; fi | 6919 libs_x="-ltiff $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-ltiff\" to \$libs_x"; fi |
6914 fi | 6920 fi |
6921 fi | |
6922 | |
6923 | |
6924 if test "$with_x11" = "yes"; then | |
6925 | |
6926 echo "checking for X11 graphics libraries" 1>&6 | |
6927 echo "configure:6928: checking for X11 graphics libraries" >&5 | |
6928 | |
6929 test -z "$with_xface" && { ac_safe=`echo "compface.h" | sed 'y%./+-%__p_%'` | |
6930 echo $ac_n "checking for compface.h""... $ac_c" 1>&6 | |
6931 echo "configure:6932: checking for compface.h" >&5 | |
6932 | |
6933 cat > conftest.$ac_ext <<EOF | |
6934 #line 6935 "configure" | |
6935 #include "confdefs.h" | |
6936 #include <compface.h> | |
6937 EOF | |
6938 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | |
6939 { (eval echo configure:6940: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | |
6940 ac_err=`grep -v '^ *+' conftest.out` | |
6941 if test -z "$ac_err"; then | |
6942 rm -rf conftest* | |
6943 eval "ac_cv_header_$ac_safe=yes" | |
6944 else | |
6945 echo "$ac_err" >&5 | |
6946 echo "configure: failed program was:" >&5 | |
6947 cat conftest.$ac_ext >&5 | |
6948 rm -rf conftest* | |
6949 eval "ac_cv_header_$ac_safe=no" | |
6950 fi | |
6951 rm -f conftest* | |
6952 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | |
6953 echo "$ac_t""yes" 1>&6 | |
6954 : | |
6955 else | |
6956 echo "$ac_t""no" 1>&6 | |
6957 with_xface=no | |
6958 fi | |
6959 } | |
6960 test -z "$with_xface" && { | |
6961 echo $ac_n "checking for UnGenFace in -lcompface""... $ac_c" 1>&6 | |
6962 echo "configure:6963: checking for UnGenFace in -lcompface" >&5 | |
6963 ac_lib_var=`echo compface'_'UnGenFace | sed 'y%./+-%__p_%'` | |
6964 | |
6965 xe_check_libs=" -lcompface " | |
6966 cat > conftest.$ac_ext <<EOF | |
6967 #line 6968 "configure" | |
6968 #include "confdefs.h" | |
6969 /* Override any gcc2 internal prototype to avoid an error. */ | |
6970 /* We use char because int might match the return type of a gcc2 | |
6971 builtin and then its argument prototype would still apply. */ | |
6972 char UnGenFace(); | |
6973 | |
6974 int main() { | |
6975 UnGenFace() | |
6976 ; return 0; } | |
6977 EOF | |
6978 if { (eval echo configure:6979: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | |
6979 rm -rf conftest* | |
6980 eval "ac_cv_lib_$ac_lib_var=yes" | |
6981 else | |
6982 echo "configure: failed program was:" >&5 | |
6983 cat conftest.$ac_ext >&5 | |
6984 rm -rf conftest* | |
6985 eval "ac_cv_lib_$ac_lib_var=no" | |
6986 fi | |
6987 rm -f conftest* | |
6988 xe_check_libs="" | |
6989 | |
6990 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes" ; then | |
6991 echo "$ac_t""yes" 1>&6 | |
6992 : | |
6993 else | |
6994 echo "$ac_t""no" 1>&6 | |
6995 with_xface=no | |
6996 fi | |
6997 | |
6998 } | |
6999 test -z "$with_xface" && with_xface=yes | |
7000 if test "$with_xface" = "yes"; then | |
7001 { test "$extra_verbose" = "yes" && cat << \EOF | |
7002 Defining HAVE_XFACE | |
7003 EOF | |
7004 cat >> confdefs.h <<\EOF | |
7005 #define HAVE_XFACE 1 | |
7006 EOF | |
7007 } | |
7008 | |
7009 libs_x="-lcompface $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lcompface\" to \$libs_x"; fi | |
7010 fi | |
6915 | 7011 |
6916 | 7012 |
6917 echo $ac_n "checking for XawScrollbarSetThumb in -lXaw""... $ac_c" 1>&6 | 7013 echo $ac_n "checking for XawScrollbarSetThumb in -lXaw""... $ac_c" 1>&6 |
6918 echo "configure:6919: checking for XawScrollbarSetThumb in -lXaw" >&5 | 7014 echo "configure:7015: checking for XawScrollbarSetThumb in -lXaw" >&5 |
6919 ac_lib_var=`echo Xaw'_'XawScrollbarSetThumb | sed 'y%./+-%__p_%'` | 7015 ac_lib_var=`echo Xaw'_'XawScrollbarSetThumb | sed 'y%./+-%__p_%'` |
6920 | 7016 |
6921 xe_check_libs=" -lXaw " | 7017 xe_check_libs=" -lXaw " |
6922 cat > conftest.$ac_ext <<EOF | 7018 cat > conftest.$ac_ext <<EOF |
6923 #line 6924 "configure" | 7019 #line 7020 "configure" |
6924 #include "confdefs.h" | 7020 #include "confdefs.h" |
6925 /* Override any gcc2 internal prototype to avoid an error. */ | 7021 /* Override any gcc2 internal prototype to avoid an error. */ |
6926 /* We use char because int might match the return type of a gcc2 | 7022 /* We use char because int might match the return type of a gcc2 |
6927 builtin and then its argument prototype would still apply. */ | 7023 builtin and then its argument prototype would still apply. */ |
6928 char XawScrollbarSetThumb(); | 7024 char XawScrollbarSetThumb(); |
6929 | 7025 |
6930 int main() { | 7026 int main() { |
6931 XawScrollbarSetThumb() | 7027 XawScrollbarSetThumb() |
6932 ; return 0; } | 7028 ; return 0; } |
6933 EOF | 7029 EOF |
6934 if { (eval echo configure:6935: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 7030 if { (eval echo configure:7031: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
6935 rm -rf conftest* | 7031 rm -rf conftest* |
6936 eval "ac_cv_lib_$ac_lib_var=yes" | 7032 eval "ac_cv_lib_$ac_lib_var=yes" |
6937 else | 7033 else |
6938 echo "configure: failed program was:" >&5 | 7034 echo "configure: failed program was:" >&5 |
6939 cat conftest.$ac_ext >&5 | 7035 cat conftest.$ac_ext >&5 |
6953 | 7049 |
6954 | 7050 |
6955 | 7051 |
6956 ac_safe=`echo "Xm/Xm.h" | sed 'y%./+-%__p_%'` | 7052 ac_safe=`echo "Xm/Xm.h" | sed 'y%./+-%__p_%'` |
6957 echo $ac_n "checking for Xm/Xm.h""... $ac_c" 1>&6 | 7053 echo $ac_n "checking for Xm/Xm.h""... $ac_c" 1>&6 |
6958 echo "configure:6959: checking for Xm/Xm.h" >&5 | 7054 echo "configure:7055: checking for Xm/Xm.h" >&5 |
6959 | 7055 |
6960 cat > conftest.$ac_ext <<EOF | 7056 cat > conftest.$ac_ext <<EOF |
6961 #line 6962 "configure" | 7057 #line 7058 "configure" |
6962 #include "confdefs.h" | 7058 #include "confdefs.h" |
6963 #include <Xm/Xm.h> | 7059 #include <Xm/Xm.h> |
6964 EOF | 7060 EOF |
6965 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7061 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
6966 { (eval echo configure:6967: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7062 { (eval echo configure:7063: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
6967 ac_err=`grep -v '^ *+' conftest.out` | 7063 ac_err=`grep -v '^ *+' conftest.out` |
6968 if test -z "$ac_err"; then | 7064 if test -z "$ac_err"; then |
6969 rm -rf conftest* | 7065 rm -rf conftest* |
6970 eval "ac_cv_header_$ac_safe=yes" | 7066 eval "ac_cv_header_$ac_safe=yes" |
6971 else | 7067 else |
6978 rm -f conftest* | 7074 rm -f conftest* |
6979 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 7075 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
6980 echo "$ac_t""yes" 1>&6 | 7076 echo "$ac_t""yes" 1>&6 |
6981 | 7077 |
6982 echo $ac_n "checking for XmStringFree in -lXm""... $ac_c" 1>&6 | 7078 echo $ac_n "checking for XmStringFree in -lXm""... $ac_c" 1>&6 |
6983 echo "configure:6984: checking for XmStringFree in -lXm" >&5 | 7079 echo "configure:7080: checking for XmStringFree in -lXm" >&5 |
6984 ac_lib_var=`echo Xm'_'XmStringFree | sed 'y%./+-%__p_%'` | 7080 ac_lib_var=`echo Xm'_'XmStringFree | sed 'y%./+-%__p_%'` |
6985 | 7081 |
6986 xe_check_libs=" -lXm " | 7082 xe_check_libs=" -lXm " |
6987 cat > conftest.$ac_ext <<EOF | 7083 cat > conftest.$ac_ext <<EOF |
6988 #line 6989 "configure" | 7084 #line 7085 "configure" |
6989 #include "confdefs.h" | 7085 #include "confdefs.h" |
6990 /* Override any gcc2 internal prototype to avoid an error. */ | 7086 /* Override any gcc2 internal prototype to avoid an error. */ |
6991 /* We use char because int might match the return type of a gcc2 | 7087 /* We use char because int might match the return type of a gcc2 |
6992 builtin and then its argument prototype would still apply. */ | 7088 builtin and then its argument prototype would still apply. */ |
6993 char XmStringFree(); | 7089 char XmStringFree(); |
6994 | 7090 |
6995 int main() { | 7091 int main() { |
6996 XmStringFree() | 7092 XmStringFree() |
6997 ; return 0; } | 7093 ; return 0; } |
6998 EOF | 7094 EOF |
6999 if { (eval echo configure:7000: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 7095 if { (eval echo configure:7096: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
7000 rm -rf conftest* | 7096 rm -rf conftest* |
7001 eval "ac_cv_lib_$ac_lib_var=yes" | 7097 eval "ac_cv_lib_$ac_lib_var=yes" |
7002 else | 7098 else |
7003 echo "configure: failed program was:" >&5 | 7099 echo "configure: failed program was:" >&5 |
7004 cat conftest.$ac_ext >&5 | 7100 cat conftest.$ac_ext >&5 |
7023 fi | 7119 fi |
7024 | 7120 |
7025 | 7121 |
7026 if test "$have_motif" = "yes"; then | 7122 if test "$have_motif" = "yes"; then |
7027 echo $ac_n "checking for Lesstif""... $ac_c" 1>&6 | 7123 echo $ac_n "checking for Lesstif""... $ac_c" 1>&6 |
7028 echo "configure:7029: checking for Lesstif" >&5 | 7124 echo "configure:7125: checking for Lesstif" >&5 |
7029 cat > conftest.$ac_ext <<EOF | 7125 cat > conftest.$ac_ext <<EOF |
7030 #line 7031 "configure" | 7126 #line 7127 "configure" |
7031 #include "confdefs.h" | 7127 #include "confdefs.h" |
7032 #include <Xm/Xm.h> | 7128 #include <Xm/Xm.h> |
7033 #ifdef LESSTIF_VERSION | 7129 #ifdef LESSTIF_VERSION |
7034 yes | 7130 yes |
7035 #endif | 7131 #endif |
7309 fi | 7405 fi |
7310 fi | 7406 fi |
7311 | 7407 |
7312 if test "$with_mule" = "yes" ; then | 7408 if test "$with_mule" = "yes" ; then |
7313 echo "checking for Mule-related features" 1>&6 | 7409 echo "checking for Mule-related features" 1>&6 |
7314 echo "configure:7315: checking for Mule-related features" >&5 | 7410 echo "configure:7411: checking for Mule-related features" >&5 |
7315 { test "$extra_verbose" = "yes" && cat << \EOF | 7411 { test "$extra_verbose" = "yes" && cat << \EOF |
7316 Defining MULE | 7412 Defining MULE |
7317 EOF | 7413 EOF |
7318 cat >> confdefs.h <<\EOF | 7414 cat >> confdefs.h <<\EOF |
7319 #define MULE 1 | 7415 #define MULE 1 |
7334 | 7430 |
7335 for ac_hdr in libintl.h | 7431 for ac_hdr in libintl.h |
7336 do | 7432 do |
7337 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 7433 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
7338 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 7434 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
7339 echo "configure:7340: checking for $ac_hdr" >&5 | 7435 echo "configure:7436: checking for $ac_hdr" >&5 |
7340 | 7436 |
7341 cat > conftest.$ac_ext <<EOF | 7437 cat > conftest.$ac_ext <<EOF |
7342 #line 7343 "configure" | 7438 #line 7439 "configure" |
7343 #include "confdefs.h" | 7439 #include "confdefs.h" |
7344 #include <$ac_hdr> | 7440 #include <$ac_hdr> |
7345 EOF | 7441 EOF |
7346 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7442 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
7347 { (eval echo configure:7348: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7443 { (eval echo configure:7444: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
7348 ac_err=`grep -v '^ *+' conftest.out` | 7444 ac_err=`grep -v '^ *+' conftest.out` |
7349 if test -z "$ac_err"; then | 7445 if test -z "$ac_err"; then |
7350 rm -rf conftest* | 7446 rm -rf conftest* |
7351 eval "ac_cv_header_$ac_safe=yes" | 7447 eval "ac_cv_header_$ac_safe=yes" |
7352 else | 7448 else |
7373 fi | 7469 fi |
7374 done | 7470 done |
7375 | 7471 |
7376 | 7472 |
7377 echo $ac_n "checking for strerror in -lintl""... $ac_c" 1>&6 | 7473 echo $ac_n "checking for strerror in -lintl""... $ac_c" 1>&6 |
7378 echo "configure:7379: checking for strerror in -lintl" >&5 | 7474 echo "configure:7475: checking for strerror in -lintl" >&5 |
7379 ac_lib_var=`echo intl'_'strerror | sed 'y%./+-%__p_%'` | 7475 ac_lib_var=`echo intl'_'strerror | sed 'y%./+-%__p_%'` |
7380 | 7476 |
7381 xe_check_libs=" -lintl " | 7477 xe_check_libs=" -lintl " |
7382 cat > conftest.$ac_ext <<EOF | 7478 cat > conftest.$ac_ext <<EOF |
7383 #line 7384 "configure" | 7479 #line 7480 "configure" |
7384 #include "confdefs.h" | 7480 #include "confdefs.h" |
7385 /* Override any gcc2 internal prototype to avoid an error. */ | 7481 /* Override any gcc2 internal prototype to avoid an error. */ |
7386 /* We use char because int might match the return type of a gcc2 | 7482 /* We use char because int might match the return type of a gcc2 |
7387 builtin and then its argument prototype would still apply. */ | 7483 builtin and then its argument prototype would still apply. */ |
7388 char strerror(); | 7484 char strerror(); |
7389 | 7485 |
7390 int main() { | 7486 int main() { |
7391 strerror() | 7487 strerror() |
7392 ; return 0; } | 7488 ; return 0; } |
7393 EOF | 7489 EOF |
7394 if { (eval echo configure:7395: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 7490 if { (eval echo configure:7491: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
7395 rm -rf conftest* | 7491 rm -rf conftest* |
7396 eval "ac_cv_lib_$ac_lib_var=yes" | 7492 eval "ac_cv_lib_$ac_lib_var=yes" |
7397 else | 7493 else |
7398 echo "configure: failed program was:" >&5 | 7494 echo "configure: failed program was:" >&5 |
7399 cat conftest.$ac_ext >&5 | 7495 cat conftest.$ac_ext >&5 |
7422 fi | 7518 fi |
7423 | 7519 |
7424 | 7520 |
7425 | 7521 |
7426 echo "checking for Mule input methods" 1>&6 | 7522 echo "checking for Mule input methods" 1>&6 |
7427 echo "configure:7428: checking for Mule input methods" >&5 | 7523 echo "configure:7524: checking for Mule input methods" >&5 |
7428 case "$with_xim" in "" | "yes" ) | 7524 case "$with_xim" in "" | "yes" ) |
7429 echo "checking for XIM" 1>&6 | 7525 echo "checking for XIM" 1>&6 |
7430 echo "configure:7431: checking for XIM" >&5 | 7526 echo "configure:7527: checking for XIM" >&5 |
7431 if test "$have_lesstif" = "yes"; then with_xim=xlib | 7527 if test "$have_lesstif" = "yes"; then with_xim=xlib |
7432 else | 7528 else |
7433 echo $ac_n "checking for XmImMbLookupString in -lXm""... $ac_c" 1>&6 | 7529 echo $ac_n "checking for XmImMbLookupString in -lXm""... $ac_c" 1>&6 |
7434 echo "configure:7435: checking for XmImMbLookupString in -lXm" >&5 | 7530 echo "configure:7531: checking for XmImMbLookupString in -lXm" >&5 |
7435 ac_lib_var=`echo Xm'_'XmImMbLookupString | sed 'y%./+-%__p_%'` | 7531 ac_lib_var=`echo Xm'_'XmImMbLookupString | sed 'y%./+-%__p_%'` |
7436 | 7532 |
7437 xe_check_libs=" -lXm " | 7533 xe_check_libs=" -lXm " |
7438 cat > conftest.$ac_ext <<EOF | 7534 cat > conftest.$ac_ext <<EOF |
7439 #line 7440 "configure" | 7535 #line 7536 "configure" |
7440 #include "confdefs.h" | 7536 #include "confdefs.h" |
7441 /* Override any gcc2 internal prototype to avoid an error. */ | 7537 /* Override any gcc2 internal prototype to avoid an error. */ |
7442 /* We use char because int might match the return type of a gcc2 | 7538 /* We use char because int might match the return type of a gcc2 |
7443 builtin and then its argument prototype would still apply. */ | 7539 builtin and then its argument prototype would still apply. */ |
7444 char XmImMbLookupString(); | 7540 char XmImMbLookupString(); |
7445 | 7541 |
7446 int main() { | 7542 int main() { |
7447 XmImMbLookupString() | 7543 XmImMbLookupString() |
7448 ; return 0; } | 7544 ; return 0; } |
7449 EOF | 7545 EOF |
7450 if { (eval echo configure:7451: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 7546 if { (eval echo configure:7547: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
7451 rm -rf conftest* | 7547 rm -rf conftest* |
7452 eval "ac_cv_lib_$ac_lib_var=yes" | 7548 eval "ac_cv_lib_$ac_lib_var=yes" |
7453 else | 7549 else |
7454 echo "configure: failed program was:" >&5 | 7550 echo "configure: failed program was:" >&5 |
7455 cat conftest.$ac_ext >&5 | 7551 cat conftest.$ac_ext >&5 |
7511 fi | 7607 fi |
7512 fi | 7608 fi |
7513 | 7609 |
7514 if test "$with_xfs" = "yes" ; then | 7610 if test "$with_xfs" = "yes" ; then |
7515 echo "checking for XFontSet" 1>&6 | 7611 echo "checking for XFontSet" 1>&6 |
7516 echo "configure:7517: checking for XFontSet" >&5 | 7612 echo "configure:7613: checking for XFontSet" >&5 |
7517 | 7613 |
7518 echo $ac_n "checking for XmbDrawString in -lX11""... $ac_c" 1>&6 | 7614 echo $ac_n "checking for XmbDrawString in -lX11""... $ac_c" 1>&6 |
7519 echo "configure:7520: checking for XmbDrawString in -lX11" >&5 | 7615 echo "configure:7616: checking for XmbDrawString in -lX11" >&5 |
7520 ac_lib_var=`echo X11'_'XmbDrawString | sed 'y%./+-%__p_%'` | 7616 ac_lib_var=`echo X11'_'XmbDrawString | sed 'y%./+-%__p_%'` |
7521 | 7617 |
7522 xe_check_libs=" -lX11 " | 7618 xe_check_libs=" -lX11 " |
7523 cat > conftest.$ac_ext <<EOF | 7619 cat > conftest.$ac_ext <<EOF |
7524 #line 7525 "configure" | 7620 #line 7621 "configure" |
7525 #include "confdefs.h" | 7621 #include "confdefs.h" |
7526 /* Override any gcc2 internal prototype to avoid an error. */ | 7622 /* Override any gcc2 internal prototype to avoid an error. */ |
7527 /* We use char because int might match the return type of a gcc2 | 7623 /* We use char because int might match the return type of a gcc2 |
7528 builtin and then its argument prototype would still apply. */ | 7624 builtin and then its argument prototype would still apply. */ |
7529 char XmbDrawString(); | 7625 char XmbDrawString(); |
7530 | 7626 |
7531 int main() { | 7627 int main() { |
7532 XmbDrawString() | 7628 XmbDrawString() |
7533 ; return 0; } | 7629 ; return 0; } |
7534 EOF | 7630 EOF |
7535 if { (eval echo configure:7536: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 7631 if { (eval echo configure:7632: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
7536 rm -rf conftest* | 7632 rm -rf conftest* |
7537 eval "ac_cv_lib_$ac_lib_var=yes" | 7633 eval "ac_cv_lib_$ac_lib_var=yes" |
7538 else | 7634 else |
7539 echo "configure: failed program was:" >&5 | 7635 echo "configure: failed program was:" >&5 |
7540 cat conftest.$ac_ext >&5 | 7636 cat conftest.$ac_ext >&5 |
7570 fi | 7666 fi |
7571 fi | 7667 fi |
7572 test "$with_wnn6" = "yes" && with_wnn=yes # wnn6 implies wnn support | 7668 test "$with_wnn6" = "yes" && with_wnn=yes # wnn6 implies wnn support |
7573 test -z "$with_wnn" && { ac_safe=`echo "wnn/jllib.h" | sed 'y%./+-%__p_%'` | 7669 test -z "$with_wnn" && { ac_safe=`echo "wnn/jllib.h" | sed 'y%./+-%__p_%'` |
7574 echo $ac_n "checking for wnn/jllib.h""... $ac_c" 1>&6 | 7670 echo $ac_n "checking for wnn/jllib.h""... $ac_c" 1>&6 |
7575 echo "configure:7576: checking for wnn/jllib.h" >&5 | 7671 echo "configure:7672: checking for wnn/jllib.h" >&5 |
7576 | 7672 |
7577 cat > conftest.$ac_ext <<EOF | 7673 cat > conftest.$ac_ext <<EOF |
7578 #line 7579 "configure" | 7674 #line 7675 "configure" |
7579 #include "confdefs.h" | 7675 #include "confdefs.h" |
7580 #include <wnn/jllib.h> | 7676 #include <wnn/jllib.h> |
7581 EOF | 7677 EOF |
7582 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7678 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
7583 { (eval echo configure:7584: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7679 { (eval echo configure:7680: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
7584 ac_err=`grep -v '^ *+' conftest.out` | 7680 ac_err=`grep -v '^ *+' conftest.out` |
7585 if test -z "$ac_err"; then | 7681 if test -z "$ac_err"; then |
7586 rm -rf conftest* | 7682 rm -rf conftest* |
7587 eval "ac_cv_header_$ac_safe=yes" | 7683 eval "ac_cv_header_$ac_safe=yes" |
7588 else | 7684 else |
7603 } | 7699 } |
7604 if test "$with_wnn" != "no"; then | 7700 if test "$with_wnn" != "no"; then |
7605 for ac_func in crypt | 7701 for ac_func in crypt |
7606 do | 7702 do |
7607 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 7703 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
7608 echo "configure:7609: checking for $ac_func" >&5 | 7704 echo "configure:7705: checking for $ac_func" >&5 |
7609 | 7705 |
7610 cat > conftest.$ac_ext <<EOF | 7706 cat > conftest.$ac_ext <<EOF |
7611 #line 7612 "configure" | 7707 #line 7708 "configure" |
7612 #include "confdefs.h" | 7708 #include "confdefs.h" |
7613 /* System header to define __stub macros and hopefully few prototypes, | 7709 /* System header to define __stub macros and hopefully few prototypes, |
7614 which can conflict with char $ac_func(); below. */ | 7710 which can conflict with char $ac_func(); below. */ |
7615 #include <assert.h> | 7711 #include <assert.h> |
7616 /* Override any gcc2 internal prototype to avoid an error. */ | 7712 /* Override any gcc2 internal prototype to avoid an error. */ |
7629 $ac_func(); | 7725 $ac_func(); |
7630 #endif | 7726 #endif |
7631 | 7727 |
7632 ; return 0; } | 7728 ; return 0; } |
7633 EOF | 7729 EOF |
7634 if { (eval echo configure:7635: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 7730 if { (eval echo configure:7731: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
7635 rm -rf conftest* | 7731 rm -rf conftest* |
7636 eval "ac_cv_func_$ac_func=yes" | 7732 eval "ac_cv_func_$ac_func=yes" |
7637 else | 7733 else |
7638 echo "configure: failed program was:" >&5 | 7734 echo "configure: failed program was:" >&5 |
7639 cat conftest.$ac_ext >&5 | 7735 cat conftest.$ac_ext >&5 |
7658 fi | 7754 fi |
7659 done | 7755 done |
7660 | 7756 |
7661 test "$ac_cv_func_crypt" != "yes" && { | 7757 test "$ac_cv_func_crypt" != "yes" && { |
7662 echo $ac_n "checking for crypt in -lcrypt""... $ac_c" 1>&6 | 7758 echo $ac_n "checking for crypt in -lcrypt""... $ac_c" 1>&6 |
7663 echo "configure:7664: checking for crypt in -lcrypt" >&5 | 7759 echo "configure:7760: checking for crypt in -lcrypt" >&5 |
7664 ac_lib_var=`echo crypt'_'crypt | sed 'y%./+-%__p_%'` | 7760 ac_lib_var=`echo crypt'_'crypt | sed 'y%./+-%__p_%'` |
7665 | 7761 |
7666 xe_check_libs=" -lcrypt " | 7762 xe_check_libs=" -lcrypt " |
7667 cat > conftest.$ac_ext <<EOF | 7763 cat > conftest.$ac_ext <<EOF |
7668 #line 7669 "configure" | 7764 #line 7765 "configure" |
7669 #include "confdefs.h" | 7765 #include "confdefs.h" |
7670 /* Override any gcc2 internal prototype to avoid an error. */ | 7766 /* Override any gcc2 internal prototype to avoid an error. */ |
7671 /* We use char because int might match the return type of a gcc2 | 7767 /* We use char because int might match the return type of a gcc2 |
7672 builtin and then its argument prototype would still apply. */ | 7768 builtin and then its argument prototype would still apply. */ |
7673 char crypt(); | 7769 char crypt(); |
7674 | 7770 |
7675 int main() { | 7771 int main() { |
7676 crypt() | 7772 crypt() |
7677 ; return 0; } | 7773 ; return 0; } |
7678 EOF | 7774 EOF |
7679 if { (eval echo configure:7680: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 7775 if { (eval echo configure:7776: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
7680 rm -rf conftest* | 7776 rm -rf conftest* |
7681 eval "ac_cv_lib_$ac_lib_var=yes" | 7777 eval "ac_cv_lib_$ac_lib_var=yes" |
7682 else | 7778 else |
7683 echo "configure: failed program was:" >&5 | 7779 echo "configure: failed program was:" >&5 |
7684 cat conftest.$ac_ext >&5 | 7780 cat conftest.$ac_ext >&5 |
7708 | 7804 |
7709 } | 7805 } |
7710 fi | 7806 fi |
7711 test -z "$with_wnn" && { | 7807 test -z "$with_wnn" && { |
7712 echo $ac_n "checking for jl_dic_list_e in -lwnn""... $ac_c" 1>&6 | 7808 echo $ac_n "checking for jl_dic_list_e in -lwnn""... $ac_c" 1>&6 |
7713 echo "configure:7714: checking for jl_dic_list_e in -lwnn" >&5 | 7809 echo "configure:7810: checking for jl_dic_list_e in -lwnn" >&5 |
7714 ac_lib_var=`echo wnn'_'jl_dic_list_e | sed 'y%./+-%__p_%'` | 7810 ac_lib_var=`echo wnn'_'jl_dic_list_e | sed 'y%./+-%__p_%'` |
7715 | 7811 |
7716 xe_check_libs=" -lwnn " | 7812 xe_check_libs=" -lwnn " |
7717 cat > conftest.$ac_ext <<EOF | 7813 cat > conftest.$ac_ext <<EOF |
7718 #line 7719 "configure" | 7814 #line 7815 "configure" |
7719 #include "confdefs.h" | 7815 #include "confdefs.h" |
7720 /* Override any gcc2 internal prototype to avoid an error. */ | 7816 /* Override any gcc2 internal prototype to avoid an error. */ |
7721 /* We use char because int might match the return type of a gcc2 | 7817 /* We use char because int might match the return type of a gcc2 |
7722 builtin and then its argument prototype would still apply. */ | 7818 builtin and then its argument prototype would still apply. */ |
7723 char jl_dic_list_e(); | 7819 char jl_dic_list_e(); |
7724 | 7820 |
7725 int main() { | 7821 int main() { |
7726 jl_dic_list_e() | 7822 jl_dic_list_e() |
7727 ; return 0; } | 7823 ; return 0; } |
7728 EOF | 7824 EOF |
7729 if { (eval echo configure:7730: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 7825 if { (eval echo configure:7826: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
7730 rm -rf conftest* | 7826 rm -rf conftest* |
7731 eval "ac_cv_lib_$ac_lib_var=yes" | 7827 eval "ac_cv_lib_$ac_lib_var=yes" |
7732 else | 7828 else |
7733 echo "configure: failed program was:" >&5 | 7829 echo "configure: failed program was:" >&5 |
7734 cat conftest.$ac_ext >&5 | 7830 cat conftest.$ac_ext >&5 |
7761 extra_objs="$extra_objs mule-wnnfns.o" && if test "$extra_verbose" = "yes"; then | 7857 extra_objs="$extra_objs mule-wnnfns.o" && if test "$extra_verbose" = "yes"; then |
7762 echo " xemacs will be linked with \"mule-wnnfns.o\"" | 7858 echo " xemacs will be linked with \"mule-wnnfns.o\"" |
7763 fi | 7859 fi |
7764 | 7860 |
7765 echo $ac_n "checking for jl_fi_dic_list in -lwnn""... $ac_c" 1>&6 | 7861 echo $ac_n "checking for jl_fi_dic_list in -lwnn""... $ac_c" 1>&6 |
7766 echo "configure:7767: checking for jl_fi_dic_list in -lwnn" >&5 | 7862 echo "configure:7863: checking for jl_fi_dic_list in -lwnn" >&5 |
7767 ac_lib_var=`echo wnn'_'jl_fi_dic_list | sed 'y%./+-%__p_%'` | 7863 ac_lib_var=`echo wnn'_'jl_fi_dic_list | sed 'y%./+-%__p_%'` |
7768 | 7864 |
7769 xe_check_libs=" -lwnn " | 7865 xe_check_libs=" -lwnn " |
7770 cat > conftest.$ac_ext <<EOF | 7866 cat > conftest.$ac_ext <<EOF |
7771 #line 7772 "configure" | 7867 #line 7868 "configure" |
7772 #include "confdefs.h" | 7868 #include "confdefs.h" |
7773 /* Override any gcc2 internal prototype to avoid an error. */ | 7869 /* Override any gcc2 internal prototype to avoid an error. */ |
7774 /* We use char because int might match the return type of a gcc2 | 7870 /* We use char because int might match the return type of a gcc2 |
7775 builtin and then its argument prototype would still apply. */ | 7871 builtin and then its argument prototype would still apply. */ |
7776 char jl_fi_dic_list(); | 7872 char jl_fi_dic_list(); |
7777 | 7873 |
7778 int main() { | 7874 int main() { |
7779 jl_fi_dic_list() | 7875 jl_fi_dic_list() |
7780 ; return 0; } | 7876 ; return 0; } |
7781 EOF | 7877 EOF |
7782 if { (eval echo configure:7783: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 7878 if { (eval echo configure:7879: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
7783 rm -rf conftest* | 7879 rm -rf conftest* |
7784 eval "ac_cv_lib_$ac_lib_var=yes" | 7880 eval "ac_cv_lib_$ac_lib_var=yes" |
7785 else | 7881 else |
7786 echo "configure: failed program was:" >&5 | 7882 echo "configure: failed program was:" >&5 |
7787 cat conftest.$ac_ext >&5 | 7883 cat conftest.$ac_ext >&5 |
7811 | 7907 |
7812 canna_includes_found=no | 7908 canna_includes_found=no |
7813 if test "$with_canna" != "no"; then | 7909 if test "$with_canna" != "no"; then |
7814 ac_safe=`echo "canna/jrkanji.h" | sed 'y%./+-%__p_%'` | 7910 ac_safe=`echo "canna/jrkanji.h" | sed 'y%./+-%__p_%'` |
7815 echo $ac_n "checking for canna/jrkanji.h""... $ac_c" 1>&6 | 7911 echo $ac_n "checking for canna/jrkanji.h""... $ac_c" 1>&6 |
7816 echo "configure:7817: checking for canna/jrkanji.h" >&5 | 7912 echo "configure:7913: checking for canna/jrkanji.h" >&5 |
7817 | 7913 |
7818 cat > conftest.$ac_ext <<EOF | 7914 cat > conftest.$ac_ext <<EOF |
7819 #line 7820 "configure" | 7915 #line 7916 "configure" |
7820 #include "confdefs.h" | 7916 #include "confdefs.h" |
7821 #include <canna/jrkanji.h> | 7917 #include <canna/jrkanji.h> |
7822 EOF | 7918 EOF |
7823 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7919 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
7824 { (eval echo configure:7825: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7920 { (eval echo configure:7921: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
7825 ac_err=`grep -v '^ *+' conftest.out` | 7921 ac_err=`grep -v '^ *+' conftest.out` |
7826 if test -z "$ac_err"; then | 7922 if test -z "$ac_err"; then |
7827 rm -rf conftest* | 7923 rm -rf conftest* |
7828 eval "ac_cv_header_$ac_safe=yes" | 7924 eval "ac_cv_header_$ac_safe=yes" |
7829 else | 7925 else |
7846 -d "/usr/local/canna/include"; then | 7942 -d "/usr/local/canna/include"; then |
7847 save_c_switch_site="$c_switch_site" | 7943 save_c_switch_site="$c_switch_site" |
7848 c_switch_site="$c_switch_site -I/usr/local/canna/include" | 7944 c_switch_site="$c_switch_site -I/usr/local/canna/include" |
7849 ac_safe=`echo "canna/jrkanji.h" | sed 'y%./+-%__p_%'` | 7945 ac_safe=`echo "canna/jrkanji.h" | sed 'y%./+-%__p_%'` |
7850 echo $ac_n "checking for canna/jrkanji.h""... $ac_c" 1>&6 | 7946 echo $ac_n "checking for canna/jrkanji.h""... $ac_c" 1>&6 |
7851 echo "configure:7852: checking for canna/jrkanji.h" >&5 | 7947 echo "configure:7948: checking for canna/jrkanji.h" >&5 |
7852 | 7948 |
7853 cat > conftest.$ac_ext <<EOF | 7949 cat > conftest.$ac_ext <<EOF |
7854 #line 7855 "configure" | 7950 #line 7951 "configure" |
7855 #include "confdefs.h" | 7951 #include "confdefs.h" |
7856 #include <canna/jrkanji.h> | 7952 #include <canna/jrkanji.h> |
7857 EOF | 7953 EOF |
7858 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7954 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
7859 { (eval echo configure:7860: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7955 { (eval echo configure:7956: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
7860 ac_err=`grep -v '^ *+' conftest.out` | 7956 ac_err=`grep -v '^ *+' conftest.out` |
7861 if test -z "$ac_err"; then | 7957 if test -z "$ac_err"; then |
7862 rm -rf conftest* | 7958 rm -rf conftest* |
7863 eval "ac_cv_header_$ac_safe=yes" | 7959 eval "ac_cv_header_$ac_safe=yes" |
7864 else | 7960 else |
7882 fi | 7978 fi |
7883 fi | 7979 fi |
7884 | 7980 |
7885 test -z "$with_canna" && { ac_safe=`echo "canna/RK.h" | sed 'y%./+-%__p_%'` | 7981 test -z "$with_canna" && { ac_safe=`echo "canna/RK.h" | sed 'y%./+-%__p_%'` |
7886 echo $ac_n "checking for canna/RK.h""... $ac_c" 1>&6 | 7982 echo $ac_n "checking for canna/RK.h""... $ac_c" 1>&6 |
7887 echo "configure:7888: checking for canna/RK.h" >&5 | 7983 echo "configure:7984: checking for canna/RK.h" >&5 |
7888 | 7984 |
7889 cat > conftest.$ac_ext <<EOF | 7985 cat > conftest.$ac_ext <<EOF |
7890 #line 7891 "configure" | 7986 #line 7987 "configure" |
7891 #include "confdefs.h" | 7987 #include "confdefs.h" |
7892 #include <canna/RK.h> | 7988 #include <canna/RK.h> |
7893 EOF | 7989 EOF |
7894 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7990 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
7895 { (eval echo configure:7896: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7991 { (eval echo configure:7992: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
7896 ac_err=`grep -v '^ *+' conftest.out` | 7992 ac_err=`grep -v '^ *+' conftest.out` |
7897 if test -z "$ac_err"; then | 7993 if test -z "$ac_err"; then |
7898 rm -rf conftest* | 7994 rm -rf conftest* |
7899 eval "ac_cv_header_$ac_safe=yes" | 7995 eval "ac_cv_header_$ac_safe=yes" |
7900 else | 7996 else |
7913 with_canna=no | 8009 with_canna=no |
7914 fi | 8010 fi |
7915 } | 8011 } |
7916 test -z "$with_canna" && { | 8012 test -z "$with_canna" && { |
7917 echo $ac_n "checking for RkBgnBun in -lRKC""... $ac_c" 1>&6 | 8013 echo $ac_n "checking for RkBgnBun in -lRKC""... $ac_c" 1>&6 |
7918 echo "configure:7919: checking for RkBgnBun in -lRKC" >&5 | 8014 echo "configure:8015: checking for RkBgnBun in -lRKC" >&5 |
7919 ac_lib_var=`echo RKC'_'RkBgnBun | sed 'y%./+-%__p_%'` | 8015 ac_lib_var=`echo RKC'_'RkBgnBun | sed 'y%./+-%__p_%'` |
7920 | 8016 |
7921 xe_check_libs=" -lRKC " | 8017 xe_check_libs=" -lRKC " |
7922 cat > conftest.$ac_ext <<EOF | 8018 cat > conftest.$ac_ext <<EOF |
7923 #line 7924 "configure" | 8019 #line 8020 "configure" |
7924 #include "confdefs.h" | 8020 #include "confdefs.h" |
7925 /* Override any gcc2 internal prototype to avoid an error. */ | 8021 /* Override any gcc2 internal prototype to avoid an error. */ |
7926 /* We use char because int might match the return type of a gcc2 | 8022 /* We use char because int might match the return type of a gcc2 |
7927 builtin and then its argument prototype would still apply. */ | 8023 builtin and then its argument prototype would still apply. */ |
7928 char RkBgnBun(); | 8024 char RkBgnBun(); |
7929 | 8025 |
7930 int main() { | 8026 int main() { |
7931 RkBgnBun() | 8027 RkBgnBun() |
7932 ; return 0; } | 8028 ; return 0; } |
7933 EOF | 8029 EOF |
7934 if { (eval echo configure:7935: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 8030 if { (eval echo configure:8031: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
7935 rm -rf conftest* | 8031 rm -rf conftest* |
7936 eval "ac_cv_lib_$ac_lib_var=yes" | 8032 eval "ac_cv_lib_$ac_lib_var=yes" |
7937 else | 8033 else |
7938 echo "configure: failed program was:" >&5 | 8034 echo "configure: failed program was:" >&5 |
7939 cat conftest.$ac_ext >&5 | 8035 cat conftest.$ac_ext >&5 |
7952 fi | 8048 fi |
7953 | 8049 |
7954 } | 8050 } |
7955 test -z "$with_canna" && { | 8051 test -z "$with_canna" && { |
7956 echo $ac_n "checking for jrKanjiControl in -lcanna""... $ac_c" 1>&6 | 8052 echo $ac_n "checking for jrKanjiControl in -lcanna""... $ac_c" 1>&6 |
7957 echo "configure:7958: checking for jrKanjiControl in -lcanna" >&5 | 8053 echo "configure:8054: checking for jrKanjiControl in -lcanna" >&5 |
7958 ac_lib_var=`echo canna'_'jrKanjiControl | sed 'y%./+-%__p_%'` | 8054 ac_lib_var=`echo canna'_'jrKanjiControl | sed 'y%./+-%__p_%'` |
7959 | 8055 |
7960 xe_check_libs=" -lcanna " | 8056 xe_check_libs=" -lcanna " |
7961 cat > conftest.$ac_ext <<EOF | 8057 cat > conftest.$ac_ext <<EOF |
7962 #line 7963 "configure" | 8058 #line 8059 "configure" |
7963 #include "confdefs.h" | 8059 #include "confdefs.h" |
7964 /* Override any gcc2 internal prototype to avoid an error. */ | 8060 /* Override any gcc2 internal prototype to avoid an error. */ |
7965 /* We use char because int might match the return type of a gcc2 | 8061 /* We use char because int might match the return type of a gcc2 |
7966 builtin and then its argument prototype would still apply. */ | 8062 builtin and then its argument prototype would still apply. */ |
7967 char jrKanjiControl(); | 8063 char jrKanjiControl(); |
7968 | 8064 |
7969 int main() { | 8065 int main() { |
7970 jrKanjiControl() | 8066 jrKanjiControl() |
7971 ; return 0; } | 8067 ; return 0; } |
7972 EOF | 8068 EOF |
7973 if { (eval echo configure:7974: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 8069 if { (eval echo configure:8070: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
7974 rm -rf conftest* | 8070 rm -rf conftest* |
7975 eval "ac_cv_lib_$ac_lib_var=yes" | 8071 eval "ac_cv_lib_$ac_lib_var=yes" |
7976 else | 8072 else |
7977 echo "configure: failed program was:" >&5 | 8073 echo "configure: failed program was:" >&5 |
7978 cat conftest.$ac_ext >&5 | 8074 cat conftest.$ac_ext >&5 |
8017 | 8113 |
8018 if test "$need_motif" = "yes" ; then | 8114 if test "$need_motif" = "yes" ; then |
8019 libs_x="-lXm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXm\" to \$libs_x"; fi | 8115 libs_x="-lXm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXm\" to \$libs_x"; fi |
8020 | 8116 |
8021 echo $ac_n "checking for layout_object_getvalue in -li18n""... $ac_c" 1>&6 | 8117 echo $ac_n "checking for layout_object_getvalue in -li18n""... $ac_c" 1>&6 |
8022 echo "configure:8023: checking for layout_object_getvalue in -li18n" >&5 | 8118 echo "configure:8119: checking for layout_object_getvalue in -li18n" >&5 |
8023 ac_lib_var=`echo i18n'_'layout_object_getvalue | sed 'y%./+-%__p_%'` | 8119 ac_lib_var=`echo i18n'_'layout_object_getvalue | sed 'y%./+-%__p_%'` |
8024 | 8120 |
8025 xe_check_libs=" -li18n " | 8121 xe_check_libs=" -li18n " |
8026 cat > conftest.$ac_ext <<EOF | 8122 cat > conftest.$ac_ext <<EOF |
8027 #line 8028 "configure" | 8123 #line 8124 "configure" |
8028 #include "confdefs.h" | 8124 #include "confdefs.h" |
8029 /* Override any gcc2 internal prototype to avoid an error. */ | 8125 /* Override any gcc2 internal prototype to avoid an error. */ |
8030 /* We use char because int might match the return type of a gcc2 | 8126 /* We use char because int might match the return type of a gcc2 |
8031 builtin and then its argument prototype would still apply. */ | 8127 builtin and then its argument prototype would still apply. */ |
8032 char layout_object_getvalue(); | 8128 char layout_object_getvalue(); |
8033 | 8129 |
8034 int main() { | 8130 int main() { |
8035 layout_object_getvalue() | 8131 layout_object_getvalue() |
8036 ; return 0; } | 8132 ; return 0; } |
8037 EOF | 8133 EOF |
8038 if { (eval echo configure:8039: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 8134 if { (eval echo configure:8135: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
8039 rm -rf conftest* | 8135 rm -rf conftest* |
8040 eval "ac_cv_lib_$ac_lib_var=yes" | 8136 eval "ac_cv_lib_$ac_lib_var=yes" |
8041 else | 8137 else |
8042 echo "configure: failed program was:" >&5 | 8138 echo "configure: failed program was:" >&5 |
8043 cat conftest.$ac_ext >&5 | 8139 cat conftest.$ac_ext >&5 |
8119 fi | 8215 fi |
8120 | 8216 |
8121 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 | 8217 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 |
8122 do | 8218 do |
8123 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 8219 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
8124 echo "configure:8125: checking for $ac_func" >&5 | 8220 echo "configure:8221: checking for $ac_func" >&5 |
8125 | 8221 |
8126 cat > conftest.$ac_ext <<EOF | 8222 cat > conftest.$ac_ext <<EOF |
8127 #line 8128 "configure" | 8223 #line 8224 "configure" |
8128 #include "confdefs.h" | 8224 #include "confdefs.h" |
8129 /* System header to define __stub macros and hopefully few prototypes, | 8225 /* System header to define __stub macros and hopefully few prototypes, |
8130 which can conflict with char $ac_func(); below. */ | 8226 which can conflict with char $ac_func(); below. */ |
8131 #include <assert.h> | 8227 #include <assert.h> |
8132 /* Override any gcc2 internal prototype to avoid an error. */ | 8228 /* Override any gcc2 internal prototype to avoid an error. */ |
8145 $ac_func(); | 8241 $ac_func(); |
8146 #endif | 8242 #endif |
8147 | 8243 |
8148 ; return 0; } | 8244 ; return 0; } |
8149 EOF | 8245 EOF |
8150 if { (eval echo configure:8151: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 8246 if { (eval echo configure:8247: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
8151 rm -rf conftest* | 8247 rm -rf conftest* |
8152 eval "ac_cv_func_$ac_func=yes" | 8248 eval "ac_cv_func_$ac_func=yes" |
8153 else | 8249 else |
8154 echo "configure: failed program was:" >&5 | 8250 echo "configure: failed program was:" >&5 |
8155 cat conftest.$ac_ext >&5 | 8251 cat conftest.$ac_ext >&5 |
8182 fi ;; | 8278 fi ;; |
8183 * ) | 8279 * ) |
8184 for ac_func in realpath | 8280 for ac_func in realpath |
8185 do | 8281 do |
8186 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 8282 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
8187 echo "configure:8188: checking for $ac_func" >&5 | 8283 echo "configure:8284: checking for $ac_func" >&5 |
8188 | 8284 |
8189 cat > conftest.$ac_ext <<EOF | 8285 cat > conftest.$ac_ext <<EOF |
8190 #line 8191 "configure" | 8286 #line 8287 "configure" |
8191 #include "confdefs.h" | 8287 #include "confdefs.h" |
8192 /* System header to define __stub macros and hopefully few prototypes, | 8288 /* System header to define __stub macros and hopefully few prototypes, |
8193 which can conflict with char $ac_func(); below. */ | 8289 which can conflict with char $ac_func(); below. */ |
8194 #include <assert.h> | 8290 #include <assert.h> |
8195 /* Override any gcc2 internal prototype to avoid an error. */ | 8291 /* Override any gcc2 internal prototype to avoid an error. */ |
8208 $ac_func(); | 8304 $ac_func(); |
8209 #endif | 8305 #endif |
8210 | 8306 |
8211 ; return 0; } | 8307 ; return 0; } |
8212 EOF | 8308 EOF |
8213 if { (eval echo configure:8214: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 8309 if { (eval echo configure:8310: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
8214 rm -rf conftest* | 8310 rm -rf conftest* |
8215 eval "ac_cv_func_$ac_func=yes" | 8311 eval "ac_cv_func_$ac_func=yes" |
8216 else | 8312 else |
8217 echo "configure: failed program was:" >&5 | 8313 echo "configure: failed program was:" >&5 |
8218 cat conftest.$ac_ext >&5 | 8314 cat conftest.$ac_ext >&5 |
8241 echo " xemacs will be linked with \"realpath.o\"" | 8337 echo " xemacs will be linked with \"realpath.o\"" |
8242 fi ;; | 8338 fi ;; |
8243 esac | 8339 esac |
8244 | 8340 |
8245 echo $ac_n "checking whether netdb declares h_errno""... $ac_c" 1>&6 | 8341 echo $ac_n "checking whether netdb declares h_errno""... $ac_c" 1>&6 |
8246 echo "configure:8247: checking whether netdb declares h_errno" >&5 | 8342 echo "configure:8343: checking whether netdb declares h_errno" >&5 |
8247 cat > conftest.$ac_ext <<EOF | 8343 cat > conftest.$ac_ext <<EOF |
8248 #line 8249 "configure" | 8344 #line 8345 "configure" |
8249 #include "confdefs.h" | 8345 #include "confdefs.h" |
8250 #include <netdb.h> | 8346 #include <netdb.h> |
8251 int main() { | 8347 int main() { |
8252 return h_errno; | 8348 return h_errno; |
8253 ; return 0; } | 8349 ; return 0; } |
8254 EOF | 8350 EOF |
8255 if { (eval echo configure:8256: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 8351 if { (eval echo configure:8352: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
8256 rm -rf conftest* | 8352 rm -rf conftest* |
8257 echo "$ac_t""yes" 1>&6 | 8353 echo "$ac_t""yes" 1>&6 |
8258 { test "$extra_verbose" = "yes" && cat << \EOF | 8354 { test "$extra_verbose" = "yes" && cat << \EOF |
8259 Defining HAVE_H_ERRNO | 8355 Defining HAVE_H_ERRNO |
8260 EOF | 8356 EOF |
8270 echo "$ac_t""no" 1>&6 | 8366 echo "$ac_t""no" 1>&6 |
8271 fi | 8367 fi |
8272 rm -f conftest* | 8368 rm -f conftest* |
8273 | 8369 |
8274 echo $ac_n "checking for sigsetjmp""... $ac_c" 1>&6 | 8370 echo $ac_n "checking for sigsetjmp""... $ac_c" 1>&6 |
8275 echo "configure:8276: checking for sigsetjmp" >&5 | 8371 echo "configure:8372: checking for sigsetjmp" >&5 |
8276 cat > conftest.$ac_ext <<EOF | 8372 cat > conftest.$ac_ext <<EOF |
8277 #line 8278 "configure" | 8373 #line 8374 "configure" |
8278 #include "confdefs.h" | 8374 #include "confdefs.h" |
8279 #include <setjmp.h> | 8375 #include <setjmp.h> |
8280 int main() { | 8376 int main() { |
8281 sigjmp_buf bar; sigsetjmp (bar, 0); | 8377 sigjmp_buf bar; sigsetjmp (bar, 0); |
8282 ; return 0; } | 8378 ; return 0; } |
8283 EOF | 8379 EOF |
8284 if { (eval echo configure:8285: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 8380 if { (eval echo configure:8381: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
8285 rm -rf conftest* | 8381 rm -rf conftest* |
8286 echo "$ac_t""yes" 1>&6 | 8382 echo "$ac_t""yes" 1>&6 |
8287 { test "$extra_verbose" = "yes" && cat << \EOF | 8383 { test "$extra_verbose" = "yes" && cat << \EOF |
8288 Defining HAVE_SIGSETJMP | 8384 Defining HAVE_SIGSETJMP |
8289 EOF | 8385 EOF |
8299 echo "$ac_t""no" 1>&6 | 8395 echo "$ac_t""no" 1>&6 |
8300 fi | 8396 fi |
8301 rm -f conftest* | 8397 rm -f conftest* |
8302 | 8398 |
8303 echo $ac_n "checking whether localtime caches TZ""... $ac_c" 1>&6 | 8399 echo $ac_n "checking whether localtime caches TZ""... $ac_c" 1>&6 |
8304 echo "configure:8305: checking whether localtime caches TZ" >&5 | 8400 echo "configure:8401: checking whether localtime caches TZ" >&5 |
8305 | 8401 |
8306 if test "$ac_cv_func_tzset" = "yes"; then | 8402 if test "$ac_cv_func_tzset" = "yes"; then |
8307 cat > conftest.$ac_ext <<EOF | 8403 cat > conftest.$ac_ext <<EOF |
8308 #line 8309 "configure" | 8404 #line 8405 "configure" |
8309 #include "confdefs.h" | 8405 #include "confdefs.h" |
8310 #include <time.h> | 8406 #include <time.h> |
8311 #if STDC_HEADERS | 8407 #if STDC_HEADERS |
8312 # include <stdlib.h> | 8408 # include <stdlib.h> |
8313 #endif | 8409 #endif |
8338 if (localtime (&now)->tm_hour != hour_unset) | 8434 if (localtime (&now)->tm_hour != hour_unset) |
8339 exit (1); | 8435 exit (1); |
8340 exit (0); | 8436 exit (0); |
8341 } | 8437 } |
8342 EOF | 8438 EOF |
8343 if { (eval echo configure:8344: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 | 8439 if { (eval echo configure:8440: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 |
8344 then | 8440 then |
8345 emacs_cv_localtime_cache=no | 8441 emacs_cv_localtime_cache=no |
8346 else | 8442 else |
8347 echo "configure: failed program was:" >&5 | 8443 echo "configure: failed program was:" >&5 |
8348 cat conftest.$ac_ext >&5 | 8444 cat conftest.$ac_ext >&5 |
8367 | 8463 |
8368 fi | 8464 fi |
8369 | 8465 |
8370 if test "$HAVE_TIMEVAL" = "yes"; then | 8466 if test "$HAVE_TIMEVAL" = "yes"; then |
8371 echo $ac_n "checking whether gettimeofday accepts one or two arguments""... $ac_c" 1>&6 | 8467 echo $ac_n "checking whether gettimeofday accepts one or two arguments""... $ac_c" 1>&6 |
8372 echo "configure:8373: checking whether gettimeofday accepts one or two arguments" >&5 | 8468 echo "configure:8469: checking whether gettimeofday accepts one or two arguments" >&5 |
8373 cat > conftest.$ac_ext <<EOF | 8469 cat > conftest.$ac_ext <<EOF |
8374 #line 8375 "configure" | 8470 #line 8471 "configure" |
8375 #include "confdefs.h" | 8471 #include "confdefs.h" |
8376 | 8472 |
8377 #ifdef TIME_WITH_SYS_TIME | 8473 #ifdef TIME_WITH_SYS_TIME |
8378 #include <sys/time.h> | 8474 #include <sys/time.h> |
8379 #include <time.h> | 8475 #include <time.h> |
8391 struct timezone dummy; | 8487 struct timezone dummy; |
8392 gettimeofday (&time, &dummy); | 8488 gettimeofday (&time, &dummy); |
8393 | 8489 |
8394 ; return 0; } | 8490 ; return 0; } |
8395 EOF | 8491 EOF |
8396 if { (eval echo configure:8397: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 8492 if { (eval echo configure:8493: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
8397 rm -rf conftest* | 8493 rm -rf conftest* |
8398 echo "$ac_t""two" 1>&6 | 8494 echo "$ac_t""two" 1>&6 |
8399 else | 8495 else |
8400 echo "configure: failed program was:" >&5 | 8496 echo "configure: failed program was:" >&5 |
8401 cat conftest.$ac_ext >&5 | 8497 cat conftest.$ac_ext >&5 |
8413 rm -f conftest* | 8509 rm -f conftest* |
8414 fi | 8510 fi |
8415 | 8511 |
8416 | 8512 |
8417 echo $ac_n "checking for inline""... $ac_c" 1>&6 | 8513 echo $ac_n "checking for inline""... $ac_c" 1>&6 |
8418 echo "configure:8419: checking for inline" >&5 | 8514 echo "configure:8515: checking for inline" >&5 |
8419 | 8515 |
8420 ac_cv_c_inline=no | 8516 ac_cv_c_inline=no |
8421 for ac_kw in inline __inline__ __inline; do | 8517 for ac_kw in inline __inline__ __inline; do |
8422 cat > conftest.$ac_ext <<EOF | 8518 cat > conftest.$ac_ext <<EOF |
8423 #line 8424 "configure" | 8519 #line 8520 "configure" |
8424 #include "confdefs.h" | 8520 #include "confdefs.h" |
8425 | 8521 |
8426 int main() { | 8522 int main() { |
8427 } $ac_kw foo() { | 8523 } $ac_kw foo() { |
8428 ; return 0; } | 8524 ; return 0; } |
8429 EOF | 8525 EOF |
8430 if { (eval echo configure:8431: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 8526 if { (eval echo configure:8527: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
8431 rm -rf conftest* | 8527 rm -rf conftest* |
8432 ac_cv_c_inline=$ac_kw; break | 8528 ac_cv_c_inline=$ac_kw; break |
8433 else | 8529 else |
8434 echo "configure: failed program was:" >&5 | 8530 echo "configure: failed program was:" >&5 |
8435 cat conftest.$ac_ext >&5 | 8531 cat conftest.$ac_ext >&5 |
8475 | 8571 |
8476 | 8572 |
8477 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works | 8573 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works |
8478 # for constant arguments. Useless! | 8574 # for constant arguments. Useless! |
8479 echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6 | 8575 echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6 |
8480 echo "configure:8481: checking for working alloca.h" >&5 | 8576 echo "configure:8577: checking for working alloca.h" >&5 |
8481 | 8577 |
8482 cat > conftest.$ac_ext <<EOF | 8578 cat > conftest.$ac_ext <<EOF |
8483 #line 8484 "configure" | 8579 #line 8580 "configure" |
8484 #include "confdefs.h" | 8580 #include "confdefs.h" |
8485 #include <alloca.h> | 8581 #include <alloca.h> |
8486 int main() { | 8582 int main() { |
8487 char *p = alloca(2 * sizeof(int)); | 8583 char *p = alloca(2 * sizeof(int)); |
8488 ; return 0; } | 8584 ; return 0; } |
8489 EOF | 8585 EOF |
8490 if { (eval echo configure:8491: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 8586 if { (eval echo configure:8587: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
8491 rm -rf conftest* | 8587 rm -rf conftest* |
8492 ac_cv_header_alloca_h=yes | 8588 ac_cv_header_alloca_h=yes |
8493 else | 8589 else |
8494 echo "configure: failed program was:" >&5 | 8590 echo "configure: failed program was:" >&5 |
8495 cat conftest.$ac_ext >&5 | 8591 cat conftest.$ac_ext >&5 |
8509 } | 8605 } |
8510 | 8606 |
8511 fi | 8607 fi |
8512 | 8608 |
8513 echo $ac_n "checking for alloca""... $ac_c" 1>&6 | 8609 echo $ac_n "checking for alloca""... $ac_c" 1>&6 |
8514 echo "configure:8515: checking for alloca" >&5 | 8610 echo "configure:8611: checking for alloca" >&5 |
8515 | 8611 |
8516 cat > conftest.$ac_ext <<EOF | 8612 cat > conftest.$ac_ext <<EOF |
8517 #line 8518 "configure" | 8613 #line 8614 "configure" |
8518 #include "confdefs.h" | 8614 #include "confdefs.h" |
8519 | 8615 |
8520 #ifdef __GNUC__ | 8616 #ifdef __GNUC__ |
8521 # define alloca __builtin_alloca | 8617 # define alloca __builtin_alloca |
8522 #else | 8618 #else |
8535 | 8631 |
8536 int main() { | 8632 int main() { |
8537 char *p = (char *) alloca(1); | 8633 char *p = (char *) alloca(1); |
8538 ; return 0; } | 8634 ; return 0; } |
8539 EOF | 8635 EOF |
8540 if { (eval echo configure:8541: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 8636 if { (eval echo configure:8637: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
8541 rm -rf conftest* | 8637 rm -rf conftest* |
8542 ac_cv_func_alloca_works=yes | 8638 ac_cv_func_alloca_works=yes |
8543 else | 8639 else |
8544 echo "configure: failed program was:" >&5 | 8640 echo "configure: failed program was:" >&5 |
8545 cat conftest.$ac_ext >&5 | 8641 cat conftest.$ac_ext >&5 |
8574 EOF | 8670 EOF |
8575 } | 8671 } |
8576 | 8672 |
8577 | 8673 |
8578 echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6 | 8674 echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6 |
8579 echo "configure:8580: checking whether alloca needs Cray hooks" >&5 | 8675 echo "configure:8676: checking whether alloca needs Cray hooks" >&5 |
8580 | 8676 |
8581 cat > conftest.$ac_ext <<EOF | 8677 cat > conftest.$ac_ext <<EOF |
8582 #line 8583 "configure" | 8678 #line 8679 "configure" |
8583 #include "confdefs.h" | 8679 #include "confdefs.h" |
8584 #if defined(CRAY) && ! defined(CRAY2) | 8680 #if defined(CRAY) && ! defined(CRAY2) |
8585 webecray | 8681 webecray |
8586 #else | 8682 #else |
8587 wenotbecray | 8683 wenotbecray |
8601 | 8697 |
8602 echo "$ac_t""$ac_cv_os_cray" 1>&6 | 8698 echo "$ac_t""$ac_cv_os_cray" 1>&6 |
8603 if test $ac_cv_os_cray = yes; then | 8699 if test $ac_cv_os_cray = yes; then |
8604 for ac_func in _getb67 GETB67 getb67; do | 8700 for ac_func in _getb67 GETB67 getb67; do |
8605 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 8701 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
8606 echo "configure:8607: checking for $ac_func" >&5 | 8702 echo "configure:8703: checking for $ac_func" >&5 |
8607 | 8703 |
8608 cat > conftest.$ac_ext <<EOF | 8704 cat > conftest.$ac_ext <<EOF |
8609 #line 8610 "configure" | 8705 #line 8706 "configure" |
8610 #include "confdefs.h" | 8706 #include "confdefs.h" |
8611 /* System header to define __stub macros and hopefully few prototypes, | 8707 /* System header to define __stub macros and hopefully few prototypes, |
8612 which can conflict with char $ac_func(); below. */ | 8708 which can conflict with char $ac_func(); below. */ |
8613 #include <assert.h> | 8709 #include <assert.h> |
8614 /* Override any gcc2 internal prototype to avoid an error. */ | 8710 /* Override any gcc2 internal prototype to avoid an error. */ |
8627 $ac_func(); | 8723 $ac_func(); |
8628 #endif | 8724 #endif |
8629 | 8725 |
8630 ; return 0; } | 8726 ; return 0; } |
8631 EOF | 8727 EOF |
8632 if { (eval echo configure:8633: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 8728 if { (eval echo configure:8729: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
8633 rm -rf conftest* | 8729 rm -rf conftest* |
8634 eval "ac_cv_func_$ac_func=yes" | 8730 eval "ac_cv_func_$ac_func=yes" |
8635 else | 8731 else |
8636 echo "configure: failed program was:" >&5 | 8732 echo "configure: failed program was:" >&5 |
8637 cat conftest.$ac_ext >&5 | 8733 cat conftest.$ac_ext >&5 |
8657 | 8753 |
8658 done | 8754 done |
8659 fi | 8755 fi |
8660 | 8756 |
8661 echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6 | 8757 echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6 |
8662 echo "configure:8663: checking stack direction for C alloca" >&5 | 8758 echo "configure:8759: checking stack direction for C alloca" >&5 |
8663 | 8759 |
8664 cat > conftest.$ac_ext <<EOF | 8760 cat > conftest.$ac_ext <<EOF |
8665 #line 8666 "configure" | 8761 #line 8762 "configure" |
8666 #include "confdefs.h" | 8762 #include "confdefs.h" |
8667 find_stack_direction () | 8763 find_stack_direction () |
8668 { | 8764 { |
8669 static char *addr = 0; | 8765 static char *addr = 0; |
8670 auto char dummy; | 8766 auto char dummy; |
8679 main () | 8775 main () |
8680 { | 8776 { |
8681 exit (find_stack_direction() < 0); | 8777 exit (find_stack_direction() < 0); |
8682 } | 8778 } |
8683 EOF | 8779 EOF |
8684 if { (eval echo configure:8685: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 | 8780 if { (eval echo configure:8781: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 |
8685 then | 8781 then |
8686 ac_cv_c_stack_direction=1 | 8782 ac_cv_c_stack_direction=1 |
8687 else | 8783 else |
8688 echo "configure: failed program was:" >&5 | 8784 echo "configure: failed program was:" >&5 |
8689 cat conftest.$ac_ext >&5 | 8785 cat conftest.$ac_ext >&5 |
8707 echo " xemacs will be linked with \"$ALLOCA\"" | 8803 echo " xemacs will be linked with \"$ALLOCA\"" |
8708 fi | 8804 fi |
8709 | 8805 |
8710 ac_safe=`echo "vfork.h" | sed 'y%./+-%__p_%'` | 8806 ac_safe=`echo "vfork.h" | sed 'y%./+-%__p_%'` |
8711 echo $ac_n "checking for vfork.h""... $ac_c" 1>&6 | 8807 echo $ac_n "checking for vfork.h""... $ac_c" 1>&6 |
8712 echo "configure:8713: checking for vfork.h" >&5 | 8808 echo "configure:8809: checking for vfork.h" >&5 |
8713 | 8809 |
8714 cat > conftest.$ac_ext <<EOF | 8810 cat > conftest.$ac_ext <<EOF |
8715 #line 8716 "configure" | 8811 #line 8812 "configure" |
8716 #include "confdefs.h" | 8812 #include "confdefs.h" |
8717 #include <vfork.h> | 8813 #include <vfork.h> |
8718 EOF | 8814 EOF |
8719 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8815 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8720 { (eval echo configure:8721: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8816 { (eval echo configure:8817: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8721 ac_err=`grep -v '^ *+' conftest.out` | 8817 ac_err=`grep -v '^ *+' conftest.out` |
8722 if test -z "$ac_err"; then | 8818 if test -z "$ac_err"; then |
8723 rm -rf conftest* | 8819 rm -rf conftest* |
8724 eval "ac_cv_header_$ac_safe=yes" | 8820 eval "ac_cv_header_$ac_safe=yes" |
8725 else | 8821 else |
8743 else | 8839 else |
8744 echo "$ac_t""no" 1>&6 | 8840 echo "$ac_t""no" 1>&6 |
8745 fi | 8841 fi |
8746 | 8842 |
8747 echo $ac_n "checking for working vfork""... $ac_c" 1>&6 | 8843 echo $ac_n "checking for working vfork""... $ac_c" 1>&6 |
8748 echo "configure:8749: checking for working vfork" >&5 | 8844 echo "configure:8845: checking for working vfork" >&5 |
8749 | 8845 |
8750 cat > conftest.$ac_ext <<EOF | 8846 cat > conftest.$ac_ext <<EOF |
8751 #line 8752 "configure" | 8847 #line 8848 "configure" |
8752 #include "confdefs.h" | 8848 #include "confdefs.h" |
8753 /* Thanks to Paul Eggert for this test. */ | 8849 /* Thanks to Paul Eggert for this test. */ |
8754 #include <stdio.h> | 8850 #include <stdio.h> |
8755 #include <sys/types.h> | 8851 #include <sys/types.h> |
8756 #include <sys/stat.h> | 8852 #include <sys/stat.h> |
8841 || fstat(fileno(stdout), &st) != 0 | 8937 || fstat(fileno(stdout), &st) != 0 |
8842 ); | 8938 ); |
8843 } | 8939 } |
8844 } | 8940 } |
8845 EOF | 8941 EOF |
8846 if { (eval echo configure:8847: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 | 8942 if { (eval echo configure:8943: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 |
8847 then | 8943 then |
8848 ac_cv_func_vfork_works=yes | 8944 ac_cv_func_vfork_works=yes |
8849 else | 8945 else |
8850 echo "configure: failed program was:" >&5 | 8946 echo "configure: failed program was:" >&5 |
8851 cat conftest.$ac_ext >&5 | 8947 cat conftest.$ac_ext >&5 |
8866 | 8962 |
8867 fi | 8963 fi |
8868 | 8964 |
8869 | 8965 |
8870 echo $ac_n "checking for working strcoll""... $ac_c" 1>&6 | 8966 echo $ac_n "checking for working strcoll""... $ac_c" 1>&6 |
8871 echo "configure:8872: checking for working strcoll" >&5 | 8967 echo "configure:8968: checking for working strcoll" >&5 |
8872 | 8968 |
8873 cat > conftest.$ac_ext <<EOF | 8969 cat > conftest.$ac_ext <<EOF |
8874 #line 8875 "configure" | 8970 #line 8971 "configure" |
8875 #include "confdefs.h" | 8971 #include "confdefs.h" |
8876 #include <string.h> | 8972 #include <string.h> |
8877 main () | 8973 main () |
8878 { | 8974 { |
8879 exit (strcoll ("abc", "def") >= 0 || | 8975 exit (strcoll ("abc", "def") >= 0 || |
8880 strcoll ("ABC", "DEF") >= 0 || | 8976 strcoll ("ABC", "DEF") >= 0 || |
8881 strcoll ("123", "456") >= 0); | 8977 strcoll ("123", "456") >= 0); |
8882 } | 8978 } |
8883 EOF | 8979 EOF |
8884 if { (eval echo configure:8885: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 | 8980 if { (eval echo configure:8981: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 |
8885 then | 8981 then |
8886 ac_cv_func_strcoll_works=yes | 8982 ac_cv_func_strcoll_works=yes |
8887 else | 8983 else |
8888 echo "configure: failed program was:" >&5 | 8984 echo "configure: failed program was:" >&5 |
8889 cat conftest.$ac_ext >&5 | 8985 cat conftest.$ac_ext >&5 |
8906 | 9002 |
8907 | 9003 |
8908 for ac_func in getpgrp | 9004 for ac_func in getpgrp |
8909 do | 9005 do |
8910 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 9006 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
8911 echo "configure:8912: checking for $ac_func" >&5 | 9007 echo "configure:9008: checking for $ac_func" >&5 |
8912 | 9008 |
8913 cat > conftest.$ac_ext <<EOF | 9009 cat > conftest.$ac_ext <<EOF |
8914 #line 8915 "configure" | 9010 #line 9011 "configure" |
8915 #include "confdefs.h" | 9011 #include "confdefs.h" |
8916 /* System header to define __stub macros and hopefully few prototypes, | 9012 /* System header to define __stub macros and hopefully few prototypes, |
8917 which can conflict with char $ac_func(); below. */ | 9013 which can conflict with char $ac_func(); below. */ |
8918 #include <assert.h> | 9014 #include <assert.h> |
8919 /* Override any gcc2 internal prototype to avoid an error. */ | 9015 /* Override any gcc2 internal prototype to avoid an error. */ |
8932 $ac_func(); | 9028 $ac_func(); |
8933 #endif | 9029 #endif |
8934 | 9030 |
8935 ; return 0; } | 9031 ; return 0; } |
8936 EOF | 9032 EOF |
8937 if { (eval echo configure:8938: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 9033 if { (eval echo configure:9034: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
8938 rm -rf conftest* | 9034 rm -rf conftest* |
8939 eval "ac_cv_func_$ac_func=yes" | 9035 eval "ac_cv_func_$ac_func=yes" |
8940 else | 9036 else |
8941 echo "configure: failed program was:" >&5 | 9037 echo "configure: failed program was:" >&5 |
8942 cat conftest.$ac_ext >&5 | 9038 cat conftest.$ac_ext >&5 |
8960 echo "$ac_t""no" 1>&6 | 9056 echo "$ac_t""no" 1>&6 |
8961 fi | 9057 fi |
8962 done | 9058 done |
8963 | 9059 |
8964 echo $ac_n "checking whether getpgrp takes no argument""... $ac_c" 1>&6 | 9060 echo $ac_n "checking whether getpgrp takes no argument""... $ac_c" 1>&6 |
8965 echo "configure:8966: checking whether getpgrp takes no argument" >&5 | 9061 echo "configure:9062: checking whether getpgrp takes no argument" >&5 |
8966 | 9062 |
8967 cat > conftest.$ac_ext <<EOF | 9063 cat > conftest.$ac_ext <<EOF |
8968 #line 8969 "configure" | 9064 #line 9065 "configure" |
8969 #include "confdefs.h" | 9065 #include "confdefs.h" |
8970 | 9066 |
8971 /* | 9067 /* |
8972 * If this system has a BSD-style getpgrp(), | 9068 * If this system has a BSD-style getpgrp(), |
8973 * which takes a pid argument, exit unsuccessfully. | 9069 * which takes a pid argument, exit unsuccessfully. |
9018 exit(s>>8); | 9114 exit(s>>8); |
9019 } | 9115 } |
9020 } | 9116 } |
9021 | 9117 |
9022 EOF | 9118 EOF |
9023 if { (eval echo configure:9024: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 | 9119 if { (eval echo configure:9120: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 |
9024 then | 9120 then |
9025 ac_cv_func_getpgrp_void=yes | 9121 ac_cv_func_getpgrp_void=yes |
9026 else | 9122 else |
9027 echo "configure: failed program was:" >&5 | 9123 echo "configure: failed program was:" >&5 |
9028 cat conftest.$ac_ext >&5 | 9124 cat conftest.$ac_ext >&5 |
9044 | 9140 |
9045 fi | 9141 fi |
9046 | 9142 |
9047 | 9143 |
9048 echo $ac_n "checking for working mmap""... $ac_c" 1>&6 | 9144 echo $ac_n "checking for working mmap""... $ac_c" 1>&6 |
9049 echo "configure:9050: checking for working mmap" >&5 | 9145 echo "configure:9146: checking for working mmap" >&5 |
9050 case "$opsys" in ultrix* ) have_mmap=no ;; *) | 9146 case "$opsys" in ultrix* ) have_mmap=no ;; *) |
9051 cat > conftest.$ac_ext <<EOF | 9147 cat > conftest.$ac_ext <<EOF |
9052 #line 9053 "configure" | 9148 #line 9149 "configure" |
9053 #include "confdefs.h" | 9149 #include "confdefs.h" |
9054 #include <stdio.h> | 9150 #include <stdio.h> |
9055 #include <unistd.h> | 9151 #include <unistd.h> |
9056 #include <fcntl.h> | 9152 #include <fcntl.h> |
9057 #include <sys/mman.h> | 9153 #include <sys/mman.h> |
9080 return 0; | 9176 return 0; |
9081 perror ("conftest: mmap failed"); | 9177 perror ("conftest: mmap failed"); |
9082 return 1; | 9178 return 1; |
9083 } | 9179 } |
9084 EOF | 9180 EOF |
9085 if { (eval echo configure:9086: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 | 9181 if { (eval echo configure:9182: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 |
9086 then | 9182 then |
9087 have_mmap=yes | 9183 have_mmap=yes |
9088 else | 9184 else |
9089 echo "configure: failed program was:" >&5 | 9185 echo "configure: failed program was:" >&5 |
9090 cat conftest.$ac_ext >&5 | 9186 cat conftest.$ac_ext >&5 |
9114 } | 9210 } |
9115 | 9211 |
9116 | 9212 |
9117 ac_safe=`echo "termios.h" | sed 'y%./+-%__p_%'` | 9213 ac_safe=`echo "termios.h" | sed 'y%./+-%__p_%'` |
9118 echo $ac_n "checking for termios.h""... $ac_c" 1>&6 | 9214 echo $ac_n "checking for termios.h""... $ac_c" 1>&6 |
9119 echo "configure:9120: checking for termios.h" >&5 | 9215 echo "configure:9216: checking for termios.h" >&5 |
9120 | 9216 |
9121 cat > conftest.$ac_ext <<EOF | 9217 cat > conftest.$ac_ext <<EOF |
9122 #line 9123 "configure" | 9218 #line 9219 "configure" |
9123 #include "confdefs.h" | 9219 #include "confdefs.h" |
9124 #include <termios.h> | 9220 #include <termios.h> |
9125 EOF | 9221 EOF |
9126 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9222 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9127 { (eval echo configure:9128: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9223 { (eval echo configure:9224: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9128 ac_err=`grep -v '^ *+' conftest.out` | 9224 ac_err=`grep -v '^ *+' conftest.out` |
9129 if test -z "$ac_err"; then | 9225 if test -z "$ac_err"; then |
9130 rm -rf conftest* | 9226 rm -rf conftest* |
9131 eval "ac_cv_header_$ac_safe=yes" | 9227 eval "ac_cv_header_$ac_safe=yes" |
9132 else | 9228 else |
9165 | 9261 |
9166 else | 9262 else |
9167 echo "$ac_t""no" 1>&6 | 9263 echo "$ac_t""no" 1>&6 |
9168 ac_safe=`echo "termio.h" | sed 'y%./+-%__p_%'` | 9264 ac_safe=`echo "termio.h" | sed 'y%./+-%__p_%'` |
9169 echo $ac_n "checking for termio.h""... $ac_c" 1>&6 | 9265 echo $ac_n "checking for termio.h""... $ac_c" 1>&6 |
9170 echo "configure:9171: checking for termio.h" >&5 | 9266 echo "configure:9267: checking for termio.h" >&5 |
9171 | 9267 |
9172 cat > conftest.$ac_ext <<EOF | 9268 cat > conftest.$ac_ext <<EOF |
9173 #line 9174 "configure" | 9269 #line 9270 "configure" |
9174 #include "confdefs.h" | 9270 #include "confdefs.h" |
9175 #include <termio.h> | 9271 #include <termio.h> |
9176 EOF | 9272 EOF |
9177 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9273 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9178 { (eval echo configure:9179: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9274 { (eval echo configure:9275: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9179 ac_err=`grep -v '^ *+' conftest.out` | 9275 ac_err=`grep -v '^ *+' conftest.out` |
9180 if test -z "$ac_err"; then | 9276 if test -z "$ac_err"; then |
9181 rm -rf conftest* | 9277 rm -rf conftest* |
9182 eval "ac_cv_header_$ac_safe=yes" | 9278 eval "ac_cv_header_$ac_safe=yes" |
9183 else | 9279 else |
9205 fi | 9301 fi |
9206 | 9302 |
9207 | 9303 |
9208 | 9304 |
9209 echo $ac_n "checking for socket""... $ac_c" 1>&6 | 9305 echo $ac_n "checking for socket""... $ac_c" 1>&6 |
9210 echo "configure:9211: checking for socket" >&5 | 9306 echo "configure:9307: checking for socket" >&5 |
9211 | 9307 |
9212 cat > conftest.$ac_ext <<EOF | 9308 cat > conftest.$ac_ext <<EOF |
9213 #line 9214 "configure" | 9309 #line 9310 "configure" |
9214 #include "confdefs.h" | 9310 #include "confdefs.h" |
9215 /* System header to define __stub macros and hopefully few prototypes, | 9311 /* System header to define __stub macros and hopefully few prototypes, |
9216 which can conflict with char socket(); below. */ | 9312 which can conflict with char socket(); below. */ |
9217 #include <assert.h> | 9313 #include <assert.h> |
9218 /* Override any gcc2 internal prototype to avoid an error. */ | 9314 /* Override any gcc2 internal prototype to avoid an error. */ |
9231 socket(); | 9327 socket(); |
9232 #endif | 9328 #endif |
9233 | 9329 |
9234 ; return 0; } | 9330 ; return 0; } |
9235 EOF | 9331 EOF |
9236 if { (eval echo configure:9237: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 9332 if { (eval echo configure:9333: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
9237 rm -rf conftest* | 9333 rm -rf conftest* |
9238 eval "ac_cv_func_socket=yes" | 9334 eval "ac_cv_func_socket=yes" |
9239 else | 9335 else |
9240 echo "configure: failed program was:" >&5 | 9336 echo "configure: failed program was:" >&5 |
9241 cat conftest.$ac_ext >&5 | 9337 cat conftest.$ac_ext >&5 |
9246 | 9342 |
9247 if eval "test \"`echo '$ac_cv_func_'socket`\" = yes"; then | 9343 if eval "test \"`echo '$ac_cv_func_'socket`\" = yes"; then |
9248 echo "$ac_t""yes" 1>&6 | 9344 echo "$ac_t""yes" 1>&6 |
9249 ac_safe=`echo "netinet/in.h" | sed 'y%./+-%__p_%'` | 9345 ac_safe=`echo "netinet/in.h" | sed 'y%./+-%__p_%'` |
9250 echo $ac_n "checking for netinet/in.h""... $ac_c" 1>&6 | 9346 echo $ac_n "checking for netinet/in.h""... $ac_c" 1>&6 |
9251 echo "configure:9252: checking for netinet/in.h" >&5 | 9347 echo "configure:9348: checking for netinet/in.h" >&5 |
9252 | 9348 |
9253 cat > conftest.$ac_ext <<EOF | 9349 cat > conftest.$ac_ext <<EOF |
9254 #line 9255 "configure" | 9350 #line 9351 "configure" |
9255 #include "confdefs.h" | 9351 #include "confdefs.h" |
9256 #include <netinet/in.h> | 9352 #include <netinet/in.h> |
9257 EOF | 9353 EOF |
9258 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9354 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9259 { (eval echo configure:9260: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9355 { (eval echo configure:9356: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9260 ac_err=`grep -v '^ *+' conftest.out` | 9356 ac_err=`grep -v '^ *+' conftest.out` |
9261 if test -z "$ac_err"; then | 9357 if test -z "$ac_err"; then |
9262 rm -rf conftest* | 9358 rm -rf conftest* |
9263 eval "ac_cv_header_$ac_safe=yes" | 9359 eval "ac_cv_header_$ac_safe=yes" |
9264 else | 9360 else |
9271 rm -f conftest* | 9367 rm -f conftest* |
9272 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 9368 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
9273 echo "$ac_t""yes" 1>&6 | 9369 echo "$ac_t""yes" 1>&6 |
9274 ac_safe=`echo "arpa/inet.h" | sed 'y%./+-%__p_%'` | 9370 ac_safe=`echo "arpa/inet.h" | sed 'y%./+-%__p_%'` |
9275 echo $ac_n "checking for arpa/inet.h""... $ac_c" 1>&6 | 9371 echo $ac_n "checking for arpa/inet.h""... $ac_c" 1>&6 |
9276 echo "configure:9277: checking for arpa/inet.h" >&5 | 9372 echo "configure:9373: checking for arpa/inet.h" >&5 |
9277 | 9373 |
9278 cat > conftest.$ac_ext <<EOF | 9374 cat > conftest.$ac_ext <<EOF |
9279 #line 9280 "configure" | 9375 #line 9376 "configure" |
9280 #include "confdefs.h" | 9376 #include "confdefs.h" |
9281 #include <arpa/inet.h> | 9377 #include <arpa/inet.h> |
9282 EOF | 9378 EOF |
9283 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9379 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9284 { (eval echo configure:9285: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9380 { (eval echo configure:9381: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9285 ac_err=`grep -v '^ *+' conftest.out` | 9381 ac_err=`grep -v '^ *+' conftest.out` |
9286 if test -z "$ac_err"; then | 9382 if test -z "$ac_err"; then |
9287 rm -rf conftest* | 9383 rm -rf conftest* |
9288 eval "ac_cv_header_$ac_safe=yes" | 9384 eval "ac_cv_header_$ac_safe=yes" |
9289 else | 9385 else |
9304 #define HAVE_SOCKETS 1 | 9400 #define HAVE_SOCKETS 1 |
9305 EOF | 9401 EOF |
9306 } | 9402 } |
9307 | 9403 |
9308 echo $ac_n "checking "for sun_len member in struct sockaddr_un"""... $ac_c" 1>&6 | 9404 echo $ac_n "checking "for sun_len member in struct sockaddr_un"""... $ac_c" 1>&6 |
9309 echo "configure:9310: checking "for sun_len member in struct sockaddr_un"" >&5 | 9405 echo "configure:9406: checking "for sun_len member in struct sockaddr_un"" >&5 |
9310 cat > conftest.$ac_ext <<EOF | 9406 cat > conftest.$ac_ext <<EOF |
9311 #line 9312 "configure" | 9407 #line 9408 "configure" |
9312 #include "confdefs.h" | 9408 #include "confdefs.h" |
9313 | 9409 |
9314 #include <sys/types.h> | 9410 #include <sys/types.h> |
9315 #include <sys/socket.h> | 9411 #include <sys/socket.h> |
9316 #include <sys/un.h> | 9412 #include <sys/un.h> |
9317 | 9413 |
9318 int main() { | 9414 int main() { |
9319 static struct sockaddr_un x; x.sun_len = 1; | 9415 static struct sockaddr_un x; x.sun_len = 1; |
9320 ; return 0; } | 9416 ; return 0; } |
9321 EOF | 9417 EOF |
9322 if { (eval echo configure:9323: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 9418 if { (eval echo configure:9419: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
9323 rm -rf conftest* | 9419 rm -rf conftest* |
9324 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF | 9420 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF |
9325 Defining HAVE_SOCKADDR_SUN_LEN | 9421 Defining HAVE_SOCKADDR_SUN_LEN |
9326 EOF | 9422 EOF |
9327 cat >> confdefs.h <<\EOF | 9423 cat >> confdefs.h <<\EOF |
9335 rm -rf conftest* | 9431 rm -rf conftest* |
9336 echo "$ac_t""no" 1>&6 | 9432 echo "$ac_t""no" 1>&6 |
9337 fi | 9433 fi |
9338 rm -f conftest* | 9434 rm -f conftest* |
9339 echo $ac_n "checking "for ip_mreq struct in netinet/in.h"""... $ac_c" 1>&6 | 9435 echo $ac_n "checking "for ip_mreq struct in netinet/in.h"""... $ac_c" 1>&6 |
9340 echo "configure:9341: checking "for ip_mreq struct in netinet/in.h"" >&5 | 9436 echo "configure:9437: checking "for ip_mreq struct in netinet/in.h"" >&5 |
9341 cat > conftest.$ac_ext <<EOF | 9437 cat > conftest.$ac_ext <<EOF |
9342 #line 9343 "configure" | 9438 #line 9439 "configure" |
9343 #include "confdefs.h" | 9439 #include "confdefs.h" |
9344 | 9440 |
9345 #include <netinet/in.h> | 9441 #include <netinet/in.h> |
9346 | 9442 |
9347 int main() { | 9443 int main() { |
9348 static struct ip_mreq x; | 9444 static struct ip_mreq x; |
9349 ; return 0; } | 9445 ; return 0; } |
9350 EOF | 9446 EOF |
9351 if { (eval echo configure:9352: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 9447 if { (eval echo configure:9448: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
9352 rm -rf conftest* | 9448 rm -rf conftest* |
9353 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF | 9449 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF |
9354 Defining HAVE_MULTICAST | 9450 Defining HAVE_MULTICAST |
9355 EOF | 9451 EOF |
9356 cat >> confdefs.h <<\EOF | 9452 cat >> confdefs.h <<\EOF |
9377 echo "$ac_t""no" 1>&6 | 9473 echo "$ac_t""no" 1>&6 |
9378 fi | 9474 fi |
9379 | 9475 |
9380 | 9476 |
9381 echo $ac_n "checking for msgget""... $ac_c" 1>&6 | 9477 echo $ac_n "checking for msgget""... $ac_c" 1>&6 |
9382 echo "configure:9383: checking for msgget" >&5 | 9478 echo "configure:9479: checking for msgget" >&5 |
9383 | 9479 |
9384 cat > conftest.$ac_ext <<EOF | 9480 cat > conftest.$ac_ext <<EOF |
9385 #line 9386 "configure" | 9481 #line 9482 "configure" |
9386 #include "confdefs.h" | 9482 #include "confdefs.h" |
9387 /* System header to define __stub macros and hopefully few prototypes, | 9483 /* System header to define __stub macros and hopefully few prototypes, |
9388 which can conflict with char msgget(); below. */ | 9484 which can conflict with char msgget(); below. */ |
9389 #include <assert.h> | 9485 #include <assert.h> |
9390 /* Override any gcc2 internal prototype to avoid an error. */ | 9486 /* Override any gcc2 internal prototype to avoid an error. */ |
9403 msgget(); | 9499 msgget(); |
9404 #endif | 9500 #endif |
9405 | 9501 |
9406 ; return 0; } | 9502 ; return 0; } |
9407 EOF | 9503 EOF |
9408 if { (eval echo configure:9409: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 9504 if { (eval echo configure:9505: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
9409 rm -rf conftest* | 9505 rm -rf conftest* |
9410 eval "ac_cv_func_msgget=yes" | 9506 eval "ac_cv_func_msgget=yes" |
9411 else | 9507 else |
9412 echo "configure: failed program was:" >&5 | 9508 echo "configure: failed program was:" >&5 |
9413 cat conftest.$ac_ext >&5 | 9509 cat conftest.$ac_ext >&5 |
9418 | 9514 |
9419 if eval "test \"`echo '$ac_cv_func_'msgget`\" = yes"; then | 9515 if eval "test \"`echo '$ac_cv_func_'msgget`\" = yes"; then |
9420 echo "$ac_t""yes" 1>&6 | 9516 echo "$ac_t""yes" 1>&6 |
9421 ac_safe=`echo "sys/ipc.h" | sed 'y%./+-%__p_%'` | 9517 ac_safe=`echo "sys/ipc.h" | sed 'y%./+-%__p_%'` |
9422 echo $ac_n "checking for sys/ipc.h""... $ac_c" 1>&6 | 9518 echo $ac_n "checking for sys/ipc.h""... $ac_c" 1>&6 |
9423 echo "configure:9424: checking for sys/ipc.h" >&5 | 9519 echo "configure:9520: checking for sys/ipc.h" >&5 |
9424 | 9520 |
9425 cat > conftest.$ac_ext <<EOF | 9521 cat > conftest.$ac_ext <<EOF |
9426 #line 9427 "configure" | 9522 #line 9523 "configure" |
9427 #include "confdefs.h" | 9523 #include "confdefs.h" |
9428 #include <sys/ipc.h> | 9524 #include <sys/ipc.h> |
9429 EOF | 9525 EOF |
9430 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9526 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9431 { (eval echo configure:9432: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9527 { (eval echo configure:9528: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9432 ac_err=`grep -v '^ *+' conftest.out` | 9528 ac_err=`grep -v '^ *+' conftest.out` |
9433 if test -z "$ac_err"; then | 9529 if test -z "$ac_err"; then |
9434 rm -rf conftest* | 9530 rm -rf conftest* |
9435 eval "ac_cv_header_$ac_safe=yes" | 9531 eval "ac_cv_header_$ac_safe=yes" |
9436 else | 9532 else |
9443 rm -f conftest* | 9539 rm -f conftest* |
9444 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 9540 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
9445 echo "$ac_t""yes" 1>&6 | 9541 echo "$ac_t""yes" 1>&6 |
9446 ac_safe=`echo "sys/msg.h" | sed 'y%./+-%__p_%'` | 9542 ac_safe=`echo "sys/msg.h" | sed 'y%./+-%__p_%'` |
9447 echo $ac_n "checking for sys/msg.h""... $ac_c" 1>&6 | 9543 echo $ac_n "checking for sys/msg.h""... $ac_c" 1>&6 |
9448 echo "configure:9449: checking for sys/msg.h" >&5 | 9544 echo "configure:9545: checking for sys/msg.h" >&5 |
9449 | 9545 |
9450 cat > conftest.$ac_ext <<EOF | 9546 cat > conftest.$ac_ext <<EOF |
9451 #line 9452 "configure" | 9547 #line 9548 "configure" |
9452 #include "confdefs.h" | 9548 #include "confdefs.h" |
9453 #include <sys/msg.h> | 9549 #include <sys/msg.h> |
9454 EOF | 9550 EOF |
9455 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9551 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9456 { (eval echo configure:9457: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9552 { (eval echo configure:9553: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9457 ac_err=`grep -v '^ *+' conftest.out` | 9553 ac_err=`grep -v '^ *+' conftest.out` |
9458 if test -z "$ac_err"; then | 9554 if test -z "$ac_err"; then |
9459 rm -rf conftest* | 9555 rm -rf conftest* |
9460 eval "ac_cv_header_$ac_safe=yes" | 9556 eval "ac_cv_header_$ac_safe=yes" |
9461 else | 9557 else |
9489 fi | 9585 fi |
9490 | 9586 |
9491 | 9587 |
9492 ac_safe=`echo "dirent.h" | sed 'y%./+-%__p_%'` | 9588 ac_safe=`echo "dirent.h" | sed 'y%./+-%__p_%'` |
9493 echo $ac_n "checking for dirent.h""... $ac_c" 1>&6 | 9589 echo $ac_n "checking for dirent.h""... $ac_c" 1>&6 |
9494 echo "configure:9495: checking for dirent.h" >&5 | 9590 echo "configure:9591: checking for dirent.h" >&5 |
9495 | 9591 |
9496 cat > conftest.$ac_ext <<EOF | 9592 cat > conftest.$ac_ext <<EOF |
9497 #line 9498 "configure" | 9593 #line 9594 "configure" |
9498 #include "confdefs.h" | 9594 #include "confdefs.h" |
9499 #include <dirent.h> | 9595 #include <dirent.h> |
9500 EOF | 9596 EOF |
9501 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9597 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9502 { (eval echo configure:9503: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9598 { (eval echo configure:9599: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9503 ac_err=`grep -v '^ *+' conftest.out` | 9599 ac_err=`grep -v '^ *+' conftest.out` |
9504 if test -z "$ac_err"; then | 9600 if test -z "$ac_err"; then |
9505 rm -rf conftest* | 9601 rm -rf conftest* |
9506 eval "ac_cv_header_$ac_safe=yes" | 9602 eval "ac_cv_header_$ac_safe=yes" |
9507 else | 9603 else |
9524 | 9620 |
9525 else | 9621 else |
9526 echo "$ac_t""no" 1>&6 | 9622 echo "$ac_t""no" 1>&6 |
9527 ac_safe=`echo "sys/dir.h" | sed 'y%./+-%__p_%'` | 9623 ac_safe=`echo "sys/dir.h" | sed 'y%./+-%__p_%'` |
9528 echo $ac_n "checking for sys/dir.h""... $ac_c" 1>&6 | 9624 echo $ac_n "checking for sys/dir.h""... $ac_c" 1>&6 |
9529 echo "configure:9530: checking for sys/dir.h" >&5 | 9625 echo "configure:9626: checking for sys/dir.h" >&5 |
9530 | 9626 |
9531 cat > conftest.$ac_ext <<EOF | 9627 cat > conftest.$ac_ext <<EOF |
9532 #line 9533 "configure" | 9628 #line 9629 "configure" |
9533 #include "confdefs.h" | 9629 #include "confdefs.h" |
9534 #include <sys/dir.h> | 9630 #include <sys/dir.h> |
9535 EOF | 9631 EOF |
9536 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9632 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9537 { (eval echo configure:9538: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9633 { (eval echo configure:9634: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9538 ac_err=`grep -v '^ *+' conftest.out` | 9634 ac_err=`grep -v '^ *+' conftest.out` |
9539 if test -z "$ac_err"; then | 9635 if test -z "$ac_err"; then |
9540 rm -rf conftest* | 9636 rm -rf conftest* |
9541 eval "ac_cv_header_$ac_safe=yes" | 9637 eval "ac_cv_header_$ac_safe=yes" |
9542 else | 9638 else |
9565 fi | 9661 fi |
9566 | 9662 |
9567 | 9663 |
9568 ac_safe=`echo "nlist.h" | sed 'y%./+-%__p_%'` | 9664 ac_safe=`echo "nlist.h" | sed 'y%./+-%__p_%'` |
9569 echo $ac_n "checking for nlist.h""... $ac_c" 1>&6 | 9665 echo $ac_n "checking for nlist.h""... $ac_c" 1>&6 |
9570 echo "configure:9571: checking for nlist.h" >&5 | 9666 echo "configure:9667: checking for nlist.h" >&5 |
9571 | 9667 |
9572 cat > conftest.$ac_ext <<EOF | 9668 cat > conftest.$ac_ext <<EOF |
9573 #line 9574 "configure" | 9669 #line 9670 "configure" |
9574 #include "confdefs.h" | 9670 #include "confdefs.h" |
9575 #include <nlist.h> | 9671 #include <nlist.h> |
9576 EOF | 9672 EOF |
9577 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9673 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9578 { (eval echo configure:9579: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9674 { (eval echo configure:9675: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9579 ac_err=`grep -v '^ *+' conftest.out` | 9675 ac_err=`grep -v '^ *+' conftest.out` |
9580 if test -z "$ac_err"; then | 9676 if test -z "$ac_err"; then |
9581 rm -rf conftest* | 9677 rm -rf conftest* |
9582 eval "ac_cv_header_$ac_safe=yes" | 9678 eval "ac_cv_header_$ac_safe=yes" |
9583 else | 9679 else |
9603 fi | 9699 fi |
9604 | 9700 |
9605 | 9701 |
9606 | 9702 |
9607 echo "checking "for sound support"" 1>&6 | 9703 echo "checking "for sound support"" 1>&6 |
9608 echo "configure:9609: checking "for sound support"" >&5 | 9704 echo "configure:9705: checking "for sound support"" >&5 |
9609 case "$with_sound" in | 9705 case "$with_sound" in |
9610 native | both ) with_native_sound=yes;; | 9706 native | both ) with_native_sound=yes;; |
9611 nas | no ) with_native_sound=no;; | 9707 nas | no ) with_native_sound=no;; |
9612 esac | 9708 esac |
9613 test -z "$with_native_sound" -a -n "$native_sound_lib" && with_native_sound=yes | 9709 test -z "$with_native_sound" -a -n "$native_sound_lib" && with_native_sound=yes |
9614 | 9710 |
9615 if test "$with_native_sound" != "no"; then | 9711 if test "$with_native_sound" != "no"; then |
9616 if test -n "$native_sound_lib"; then | 9712 if test -n "$native_sound_lib"; then |
9617 ac_safe=`echo "multimedia/audio_device.h" | sed 'y%./+-%__p_%'` | 9713 ac_safe=`echo "multimedia/audio_device.h" | sed 'y%./+-%__p_%'` |
9618 echo $ac_n "checking for multimedia/audio_device.h""... $ac_c" 1>&6 | 9714 echo $ac_n "checking for multimedia/audio_device.h""... $ac_c" 1>&6 |
9619 echo "configure:9620: checking for multimedia/audio_device.h" >&5 | 9715 echo "configure:9716: checking for multimedia/audio_device.h" >&5 |
9620 | 9716 |
9621 cat > conftest.$ac_ext <<EOF | 9717 cat > conftest.$ac_ext <<EOF |
9622 #line 9623 "configure" | 9718 #line 9719 "configure" |
9623 #include "confdefs.h" | 9719 #include "confdefs.h" |
9624 #include <multimedia/audio_device.h> | 9720 #include <multimedia/audio_device.h> |
9625 EOF | 9721 EOF |
9626 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9722 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9627 { (eval echo configure:9628: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9723 { (eval echo configure:9724: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9628 ac_err=`grep -v '^ *+' conftest.out` | 9724 ac_err=`grep -v '^ *+' conftest.out` |
9629 if test -z "$ac_err"; then | 9725 if test -z "$ac_err"; then |
9630 rm -rf conftest* | 9726 rm -rf conftest* |
9631 eval "ac_cv_header_$ac_safe=yes" | 9727 eval "ac_cv_header_$ac_safe=yes" |
9632 else | 9728 else |
9670 case "$canonical" in | 9766 case "$canonical" in |
9671 *-sgi-* ) | 9767 *-sgi-* ) |
9672 if test -z "$native_sound_lib"; then | 9768 if test -z "$native_sound_lib"; then |
9673 | 9769 |
9674 echo $ac_n "checking for ALopenport in -laudio""... $ac_c" 1>&6 | 9770 echo $ac_n "checking for ALopenport in -laudio""... $ac_c" 1>&6 |
9675 echo "configure:9676: checking for ALopenport in -laudio" >&5 | 9771 echo "configure:9772: checking for ALopenport in -laudio" >&5 |
9676 ac_lib_var=`echo audio'_'ALopenport | sed 'y%./+-%__p_%'` | 9772 ac_lib_var=`echo audio'_'ALopenport | sed 'y%./+-%__p_%'` |
9677 | 9773 |
9678 xe_check_libs=" -laudio " | 9774 xe_check_libs=" -laudio " |
9679 cat > conftest.$ac_ext <<EOF | 9775 cat > conftest.$ac_ext <<EOF |
9680 #line 9681 "configure" | 9776 #line 9777 "configure" |
9681 #include "confdefs.h" | 9777 #include "confdefs.h" |
9682 /* Override any gcc2 internal prototype to avoid an error. */ | 9778 /* Override any gcc2 internal prototype to avoid an error. */ |
9683 /* We use char because int might match the return type of a gcc2 | 9779 /* We use char because int might match the return type of a gcc2 |
9684 builtin and then its argument prototype would still apply. */ | 9780 builtin and then its argument prototype would still apply. */ |
9685 char ALopenport(); | 9781 char ALopenport(); |
9686 | 9782 |
9687 int main() { | 9783 int main() { |
9688 ALopenport() | 9784 ALopenport() |
9689 ; return 0; } | 9785 ; return 0; } |
9690 EOF | 9786 EOF |
9691 if { (eval echo configure:9692: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 9787 if { (eval echo configure:9788: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
9692 rm -rf conftest* | 9788 rm -rf conftest* |
9693 eval "ac_cv_lib_$ac_lib_var=yes" | 9789 eval "ac_cv_lib_$ac_lib_var=yes" |
9694 else | 9790 else |
9695 echo "configure: failed program was:" >&5 | 9791 echo "configure: failed program was:" >&5 |
9696 cat conftest.$ac_ext >&5 | 9792 cat conftest.$ac_ext >&5 |
9717 fi ;; | 9813 fi ;; |
9718 hppa*-hp-hpux* ) | 9814 hppa*-hp-hpux* ) |
9719 if test -z "$native_sound_lib"; then | 9815 if test -z "$native_sound_lib"; then |
9720 | 9816 |
9721 echo $ac_n "checking for AOpenAudio in -lAlib""... $ac_c" 1>&6 | 9817 echo $ac_n "checking for AOpenAudio in -lAlib""... $ac_c" 1>&6 |
9722 echo "configure:9723: checking for AOpenAudio in -lAlib" >&5 | 9818 echo "configure:9819: checking for AOpenAudio in -lAlib" >&5 |
9723 ac_lib_var=`echo Alib'_'AOpenAudio | sed 'y%./+-%__p_%'` | 9819 ac_lib_var=`echo Alib'_'AOpenAudio | sed 'y%./+-%__p_%'` |
9724 | 9820 |
9725 xe_check_libs=" -lAlib " | 9821 xe_check_libs=" -lAlib " |
9726 cat > conftest.$ac_ext <<EOF | 9822 cat > conftest.$ac_ext <<EOF |
9727 #line 9728 "configure" | 9823 #line 9824 "configure" |
9728 #include "confdefs.h" | 9824 #include "confdefs.h" |
9729 /* Override any gcc2 internal prototype to avoid an error. */ | 9825 /* Override any gcc2 internal prototype to avoid an error. */ |
9730 /* We use char because int might match the return type of a gcc2 | 9826 /* We use char because int might match the return type of a gcc2 |
9731 builtin and then its argument prototype would still apply. */ | 9827 builtin and then its argument prototype would still apply. */ |
9732 char AOpenAudio(); | 9828 char AOpenAudio(); |
9733 | 9829 |
9734 int main() { | 9830 int main() { |
9735 AOpenAudio() | 9831 AOpenAudio() |
9736 ; return 0; } | 9832 ; return 0; } |
9737 EOF | 9833 EOF |
9738 if { (eval echo configure:9739: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 9834 if { (eval echo configure:9835: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
9739 rm -rf conftest* | 9835 rm -rf conftest* |
9740 eval "ac_cv_lib_$ac_lib_var=yes" | 9836 eval "ac_cv_lib_$ac_lib_var=yes" |
9741 else | 9837 else |
9742 echo "configure: failed program was:" >&5 | 9838 echo "configure: failed program was:" >&5 |
9743 cat conftest.$ac_ext >&5 | 9839 cat conftest.$ac_ext >&5 |
9771 | 9867 |
9772 if test -z "$sound_found"; then | 9868 if test -z "$sound_found"; then |
9773 for dir in "machine" "sys" "linux"; do | 9869 for dir in "machine" "sys" "linux"; do |
9774 ac_safe=`echo "${dir}/soundcard.h" | sed 'y%./+-%__p_%'` | 9870 ac_safe=`echo "${dir}/soundcard.h" | sed 'y%./+-%__p_%'` |
9775 echo $ac_n "checking for ${dir}/soundcard.h""... $ac_c" 1>&6 | 9871 echo $ac_n "checking for ${dir}/soundcard.h""... $ac_c" 1>&6 |
9776 echo "configure:9777: checking for ${dir}/soundcard.h" >&5 | 9872 echo "configure:9873: checking for ${dir}/soundcard.h" >&5 |
9777 | 9873 |
9778 cat > conftest.$ac_ext <<EOF | 9874 cat > conftest.$ac_ext <<EOF |
9779 #line 9780 "configure" | 9875 #line 9876 "configure" |
9780 #include "confdefs.h" | 9876 #include "confdefs.h" |
9781 #include <${dir}/soundcard.h> | 9877 #include <${dir}/soundcard.h> |
9782 EOF | 9878 EOF |
9783 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9879 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9784 { (eval echo configure:9785: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9880 { (eval echo configure:9881: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9785 ac_err=`grep -v '^ *+' conftest.out` | 9881 ac_err=`grep -v '^ *+' conftest.out` |
9786 if test -z "$ac_err"; then | 9882 if test -z "$ac_err"; then |
9787 rm -rf conftest* | 9883 rm -rf conftest* |
9788 eval "ac_cv_header_$ac_safe=yes" | 9884 eval "ac_cv_header_$ac_safe=yes" |
9789 else | 9885 else |
9849 extra_objs="$extra_objs nas.o" && if test "$extra_verbose" = "yes"; then | 9945 extra_objs="$extra_objs nas.o" && if test "$extra_verbose" = "yes"; then |
9850 echo " xemacs will be linked with \"nas.o\"" | 9946 echo " xemacs will be linked with \"nas.o\"" |
9851 fi | 9947 fi |
9852 libs_x="-laudio $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-laudio\" to \$libs_x"; fi | 9948 libs_x="-laudio $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-laudio\" to \$libs_x"; fi |
9853 cat > conftest.$ac_ext <<EOF | 9949 cat > conftest.$ac_ext <<EOF |
9854 #line 9855 "configure" | 9950 #line 9951 "configure" |
9855 #include "confdefs.h" | 9951 #include "confdefs.h" |
9856 #include <audio/Xtutil.h> | 9952 #include <audio/Xtutil.h> |
9857 EOF | 9953 EOF |
9858 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 9954 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
9859 egrep "AuXtErrorJump" >/dev/null 2>&1; then | 9955 egrep "AuXtErrorJump" >/dev/null 2>&1; then |
9876 | 9972 |
9877 test -z "$with_tty" && with_tty=yes | 9973 test -z "$with_tty" && with_tty=yes |
9878 | 9974 |
9879 if test "$with_tty" = "yes" ; then | 9975 if test "$with_tty" = "yes" ; then |
9880 echo "checking for TTY-related features" 1>&6 | 9976 echo "checking for TTY-related features" 1>&6 |
9881 echo "configure:9882: checking for TTY-related features" >&5 | 9977 echo "configure:9978: checking for TTY-related features" >&5 |
9882 { test "$extra_verbose" = "yes" && cat << \EOF | 9978 { test "$extra_verbose" = "yes" && cat << \EOF |
9883 Defining HAVE_TTY | 9979 Defining HAVE_TTY |
9884 EOF | 9980 EOF |
9885 cat >> confdefs.h <<\EOF | 9981 cat >> confdefs.h <<\EOF |
9886 #define HAVE_TTY 1 | 9982 #define HAVE_TTY 1 |
9892 fi | 9988 fi |
9893 | 9989 |
9894 if test -z "$with_ncurses"; then | 9990 if test -z "$with_ncurses"; then |
9895 | 9991 |
9896 echo $ac_n "checking for tgetent in -lncurses""... $ac_c" 1>&6 | 9992 echo $ac_n "checking for tgetent in -lncurses""... $ac_c" 1>&6 |
9897 echo "configure:9898: checking for tgetent in -lncurses" >&5 | 9993 echo "configure:9994: checking for tgetent in -lncurses" >&5 |
9898 ac_lib_var=`echo ncurses'_'tgetent | sed 'y%./+-%__p_%'` | 9994 ac_lib_var=`echo ncurses'_'tgetent | sed 'y%./+-%__p_%'` |
9899 | 9995 |
9900 xe_check_libs=" -lncurses " | 9996 xe_check_libs=" -lncurses " |
9901 cat > conftest.$ac_ext <<EOF | 9997 cat > conftest.$ac_ext <<EOF |
9902 #line 9903 "configure" | 9998 #line 9999 "configure" |
9903 #include "confdefs.h" | 9999 #include "confdefs.h" |
9904 /* Override any gcc2 internal prototype to avoid an error. */ | 10000 /* Override any gcc2 internal prototype to avoid an error. */ |
9905 /* We use char because int might match the return type of a gcc2 | 10001 /* We use char because int might match the return type of a gcc2 |
9906 builtin and then its argument prototype would still apply. */ | 10002 builtin and then its argument prototype would still apply. */ |
9907 char tgetent(); | 10003 char tgetent(); |
9908 | 10004 |
9909 int main() { | 10005 int main() { |
9910 tgetent() | 10006 tgetent() |
9911 ; return 0; } | 10007 ; return 0; } |
9912 EOF | 10008 EOF |
9913 if { (eval echo configure:9914: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 10009 if { (eval echo configure:10010: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
9914 rm -rf conftest* | 10010 rm -rf conftest* |
9915 eval "ac_cv_lib_$ac_lib_var=yes" | 10011 eval "ac_cv_lib_$ac_lib_var=yes" |
9916 else | 10012 else |
9917 echo "configure: failed program was:" >&5 | 10013 echo "configure: failed program was:" >&5 |
9918 cat conftest.$ac_ext >&5 | 10014 cat conftest.$ac_ext >&5 |
9941 EOF | 10037 EOF |
9942 } | 10038 } |
9943 | 10039 |
9944 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` | 10040 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` |
9945 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 | 10041 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 |
9946 echo "configure:9947: checking for ncurses/curses.h" >&5 | 10042 echo "configure:10043: checking for ncurses/curses.h" >&5 |
9947 | 10043 |
9948 cat > conftest.$ac_ext <<EOF | 10044 cat > conftest.$ac_ext <<EOF |
9949 #line 9950 "configure" | 10045 #line 10046 "configure" |
9950 #include "confdefs.h" | 10046 #include "confdefs.h" |
9951 #include <ncurses/curses.h> | 10047 #include <ncurses/curses.h> |
9952 EOF | 10048 EOF |
9953 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10049 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9954 { (eval echo configure:9955: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10050 { (eval echo configure:10051: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9955 ac_err=`grep -v '^ *+' conftest.out` | 10051 ac_err=`grep -v '^ *+' conftest.out` |
9956 if test -z "$ac_err"; then | 10052 if test -z "$ac_err"; then |
9957 rm -rf conftest* | 10053 rm -rf conftest* |
9958 eval "ac_cv_header_$ac_safe=yes" | 10054 eval "ac_cv_header_$ac_safe=yes" |
9959 else | 10055 else |
9971 echo "$ac_t""no" 1>&6 | 10067 echo "$ac_t""no" 1>&6 |
9972 fi | 10068 fi |
9973 | 10069 |
9974 ac_safe=`echo "ncurses/term.h" | sed 'y%./+-%__p_%'` | 10070 ac_safe=`echo "ncurses/term.h" | sed 'y%./+-%__p_%'` |
9975 echo $ac_n "checking for ncurses/term.h""... $ac_c" 1>&6 | 10071 echo $ac_n "checking for ncurses/term.h""... $ac_c" 1>&6 |
9976 echo "configure:9977: checking for ncurses/term.h" >&5 | 10072 echo "configure:10073: checking for ncurses/term.h" >&5 |
9977 | 10073 |
9978 cat > conftest.$ac_ext <<EOF | 10074 cat > conftest.$ac_ext <<EOF |
9979 #line 9980 "configure" | 10075 #line 10076 "configure" |
9980 #include "confdefs.h" | 10076 #include "confdefs.h" |
9981 #include <ncurses/term.h> | 10077 #include <ncurses/term.h> |
9982 EOF | 10078 EOF |
9983 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10079 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9984 { (eval echo configure:9985: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10080 { (eval echo configure:10081: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9985 ac_err=`grep -v '^ *+' conftest.out` | 10081 ac_err=`grep -v '^ *+' conftest.out` |
9986 if test -z "$ac_err"; then | 10082 if test -z "$ac_err"; then |
9987 rm -rf conftest* | 10083 rm -rf conftest* |
9988 eval "ac_cv_header_$ac_safe=yes" | 10084 eval "ac_cv_header_$ac_safe=yes" |
9989 else | 10085 else |
10009 if test "$ac_cv_header_ncurses_curses_h" != "yes" ; then | 10105 if test "$ac_cv_header_ncurses_curses_h" != "yes" ; then |
10010 save_c_switch_site="$c_switch_site" | 10106 save_c_switch_site="$c_switch_site" |
10011 c_switch_site="$c_switch_site -I/usr/include/ncurses" | 10107 c_switch_site="$c_switch_site -I/usr/include/ncurses" |
10012 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` | 10108 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` |
10013 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 | 10109 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 |
10014 echo "configure:10015: checking for ncurses/curses.h" >&5 | 10110 echo "configure:10111: checking for ncurses/curses.h" >&5 |
10015 | 10111 |
10016 cat > conftest.$ac_ext <<EOF | 10112 cat > conftest.$ac_ext <<EOF |
10017 #line 10018 "configure" | 10113 #line 10114 "configure" |
10018 #include "confdefs.h" | 10114 #include "confdefs.h" |
10019 #include <ncurses/curses.h> | 10115 #include <ncurses/curses.h> |
10020 EOF | 10116 EOF |
10021 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10117 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10022 { (eval echo configure:10023: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10118 { (eval echo configure:10119: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10023 ac_err=`grep -v '^ *+' conftest.out` | 10119 ac_err=`grep -v '^ *+' conftest.out` |
10024 if test -z "$ac_err"; then | 10120 if test -z "$ac_err"; then |
10025 rm -rf conftest* | 10121 rm -rf conftest* |
10026 eval "ac_cv_header_$ac_safe=yes" | 10122 eval "ac_cv_header_$ac_safe=yes" |
10027 else | 10123 else |
10052 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi | 10148 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi |
10053 else | 10149 else |
10054 for lib in curses termlib termcap; do | 10150 for lib in curses termlib termcap; do |
10055 | 10151 |
10056 echo $ac_n "checking for tgetent in -l$lib""... $ac_c" 1>&6 | 10152 echo $ac_n "checking for tgetent in -l$lib""... $ac_c" 1>&6 |
10057 echo "configure:10058: checking for tgetent in -l$lib" >&5 | 10153 echo "configure:10154: checking for tgetent in -l$lib" >&5 |
10058 ac_lib_var=`echo $lib'_'tgetent | sed 'y%./+-%__p_%'` | 10154 ac_lib_var=`echo $lib'_'tgetent | sed 'y%./+-%__p_%'` |
10059 | 10155 |
10060 xe_check_libs=" -l$lib " | 10156 xe_check_libs=" -l$lib " |
10061 cat > conftest.$ac_ext <<EOF | 10157 cat > conftest.$ac_ext <<EOF |
10062 #line 10063 "configure" | 10158 #line 10159 "configure" |
10063 #include "confdefs.h" | 10159 #include "confdefs.h" |
10064 /* Override any gcc2 internal prototype to avoid an error. */ | 10160 /* Override any gcc2 internal prototype to avoid an error. */ |
10065 /* We use char because int might match the return type of a gcc2 | 10161 /* We use char because int might match the return type of a gcc2 |
10066 builtin and then its argument prototype would still apply. */ | 10162 builtin and then its argument prototype would still apply. */ |
10067 char tgetent(); | 10163 char tgetent(); |
10068 | 10164 |
10069 int main() { | 10165 int main() { |
10070 tgetent() | 10166 tgetent() |
10071 ; return 0; } | 10167 ; return 0; } |
10072 EOF | 10168 EOF |
10073 if { (eval echo configure:10074: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 10169 if { (eval echo configure:10170: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
10074 rm -rf conftest* | 10170 rm -rf conftest* |
10075 eval "ac_cv_lib_$ac_lib_var=yes" | 10171 eval "ac_cv_lib_$ac_lib_var=yes" |
10076 else | 10172 else |
10077 echo "configure: failed program was:" >&5 | 10173 echo "configure: failed program was:" >&5 |
10078 cat conftest.$ac_ext >&5 | 10174 cat conftest.$ac_ext >&5 |
10099 if test -n "$libs_termcap"; then | 10195 if test -n "$libs_termcap"; then |
10100 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi | 10196 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi |
10101 else | 10197 else |
10102 | 10198 |
10103 echo $ac_n "checking for tgetent in -lcurses""... $ac_c" 1>&6 | 10199 echo $ac_n "checking for tgetent in -lcurses""... $ac_c" 1>&6 |
10104 echo "configure:10105: checking for tgetent in -lcurses" >&5 | 10200 echo "configure:10201: checking for tgetent in -lcurses" >&5 |
10105 ac_lib_var=`echo curses'_'tgetent | sed 'y%./+-%__p_%'` | 10201 ac_lib_var=`echo curses'_'tgetent | sed 'y%./+-%__p_%'` |
10106 | 10202 |
10107 xe_check_libs=" -lcurses " | 10203 xe_check_libs=" -lcurses " |
10108 cat > conftest.$ac_ext <<EOF | 10204 cat > conftest.$ac_ext <<EOF |
10109 #line 10110 "configure" | 10205 #line 10206 "configure" |
10110 #include "confdefs.h" | 10206 #include "confdefs.h" |
10111 /* Override any gcc2 internal prototype to avoid an error. */ | 10207 /* Override any gcc2 internal prototype to avoid an error. */ |
10112 /* We use char because int might match the return type of a gcc2 | 10208 /* We use char because int might match the return type of a gcc2 |
10113 builtin and then its argument prototype would still apply. */ | 10209 builtin and then its argument prototype would still apply. */ |
10114 char tgetent(); | 10210 char tgetent(); |
10115 | 10211 |
10116 int main() { | 10212 int main() { |
10117 tgetent() | 10213 tgetent() |
10118 ; return 0; } | 10214 ; return 0; } |
10119 EOF | 10215 EOF |
10120 if { (eval echo configure:10121: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 10216 if { (eval echo configure:10217: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
10121 rm -rf conftest* | 10217 rm -rf conftest* |
10122 eval "ac_cv_lib_$ac_lib_var=yes" | 10218 eval "ac_cv_lib_$ac_lib_var=yes" |
10123 else | 10219 else |
10124 echo "configure: failed program was:" >&5 | 10220 echo "configure: failed program was:" >&5 |
10125 cat conftest.$ac_ext >&5 | 10221 cat conftest.$ac_ext >&5 |
10133 echo "$ac_t""yes" 1>&6 | 10229 echo "$ac_t""yes" 1>&6 |
10134 LIBS="-lcurses $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lcurses\" to \$LIBS"; fi | 10230 LIBS="-lcurses $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lcurses\" to \$LIBS"; fi |
10135 else | 10231 else |
10136 echo "$ac_t""no" 1>&6 | 10232 echo "$ac_t""no" 1>&6 |
10137 echo $ac_n "checking for tgetent in -ltermcap""... $ac_c" 1>&6 | 10233 echo $ac_n "checking for tgetent in -ltermcap""... $ac_c" 1>&6 |
10138 echo "configure:10139: checking for tgetent in -ltermcap" >&5 | 10234 echo "configure:10235: checking for tgetent in -ltermcap" >&5 |
10139 ac_lib_var=`echo termcap'_'tgetent | sed 'y%./+-%__p_%'` | 10235 ac_lib_var=`echo termcap'_'tgetent | sed 'y%./+-%__p_%'` |
10140 | 10236 |
10141 xe_check_libs=" -ltermcap " | 10237 xe_check_libs=" -ltermcap " |
10142 cat > conftest.$ac_ext <<EOF | 10238 cat > conftest.$ac_ext <<EOF |
10143 #line 10144 "configure" | 10239 #line 10240 "configure" |
10144 #include "confdefs.h" | 10240 #include "confdefs.h" |
10145 /* Override any gcc2 internal prototype to avoid an error. */ | 10241 /* Override any gcc2 internal prototype to avoid an error. */ |
10146 /* We use char because int might match the return type of a gcc2 | 10242 /* We use char because int might match the return type of a gcc2 |
10147 builtin and then its argument prototype would still apply. */ | 10243 builtin and then its argument prototype would still apply. */ |
10148 char tgetent(); | 10244 char tgetent(); |
10149 | 10245 |
10150 int main() { | 10246 int main() { |
10151 tgetent() | 10247 tgetent() |
10152 ; return 0; } | 10248 ; return 0; } |
10153 EOF | 10249 EOF |
10154 if { (eval echo configure:10155: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 10250 if { (eval echo configure:10251: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
10155 rm -rf conftest* | 10251 rm -rf conftest* |
10156 eval "ac_cv_lib_$ac_lib_var=yes" | 10252 eval "ac_cv_lib_$ac_lib_var=yes" |
10157 else | 10253 else |
10158 echo "configure: failed program was:" >&5 | 10254 echo "configure: failed program was:" >&5 |
10159 cat conftest.$ac_ext >&5 | 10255 cat conftest.$ac_ext >&5 |
10197 } | 10293 } |
10198 | 10294 |
10199 | 10295 |
10200 test -z "$with_gpm" && { ac_safe=`echo "gpm.h" | sed 'y%./+-%__p_%'` | 10296 test -z "$with_gpm" && { ac_safe=`echo "gpm.h" | sed 'y%./+-%__p_%'` |
10201 echo $ac_n "checking for gpm.h""... $ac_c" 1>&6 | 10297 echo $ac_n "checking for gpm.h""... $ac_c" 1>&6 |
10202 echo "configure:10203: checking for gpm.h" >&5 | 10298 echo "configure:10299: checking for gpm.h" >&5 |
10203 | 10299 |
10204 cat > conftest.$ac_ext <<EOF | 10300 cat > conftest.$ac_ext <<EOF |
10205 #line 10206 "configure" | 10301 #line 10302 "configure" |
10206 #include "confdefs.h" | 10302 #include "confdefs.h" |
10207 #include <gpm.h> | 10303 #include <gpm.h> |
10208 EOF | 10304 EOF |
10209 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10305 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10210 { (eval echo configure:10211: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10306 { (eval echo configure:10307: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10211 ac_err=`grep -v '^ *+' conftest.out` | 10307 ac_err=`grep -v '^ *+' conftest.out` |
10212 if test -z "$ac_err"; then | 10308 if test -z "$ac_err"; then |
10213 rm -rf conftest* | 10309 rm -rf conftest* |
10214 eval "ac_cv_header_$ac_safe=yes" | 10310 eval "ac_cv_header_$ac_safe=yes" |
10215 else | 10311 else |
10228 with_gpm=no | 10324 with_gpm=no |
10229 fi | 10325 fi |
10230 } | 10326 } |
10231 test -z "$with_gpm" && { | 10327 test -z "$with_gpm" && { |
10232 echo $ac_n "checking for Gpm_Open in -lgpm""... $ac_c" 1>&6 | 10328 echo $ac_n "checking for Gpm_Open in -lgpm""... $ac_c" 1>&6 |
10233 echo "configure:10234: checking for Gpm_Open in -lgpm" >&5 | 10329 echo "configure:10330: checking for Gpm_Open in -lgpm" >&5 |
10234 ac_lib_var=`echo gpm'_'Gpm_Open | sed 'y%./+-%__p_%'` | 10330 ac_lib_var=`echo gpm'_'Gpm_Open | sed 'y%./+-%__p_%'` |
10235 | 10331 |
10236 xe_check_libs=" -lgpm " | 10332 xe_check_libs=" -lgpm " |
10237 cat > conftest.$ac_ext <<EOF | 10333 cat > conftest.$ac_ext <<EOF |
10238 #line 10239 "configure" | 10334 #line 10335 "configure" |
10239 #include "confdefs.h" | 10335 #include "confdefs.h" |
10240 /* Override any gcc2 internal prototype to avoid an error. */ | 10336 /* Override any gcc2 internal prototype to avoid an error. */ |
10241 /* We use char because int might match the return type of a gcc2 | 10337 /* We use char because int might match the return type of a gcc2 |
10242 builtin and then its argument prototype would still apply. */ | 10338 builtin and then its argument prototype would still apply. */ |
10243 char Gpm_Open(); | 10339 char Gpm_Open(); |
10244 | 10340 |
10245 int main() { | 10341 int main() { |
10246 Gpm_Open() | 10342 Gpm_Open() |
10247 ; return 0; } | 10343 ; return 0; } |
10248 EOF | 10344 EOF |
10249 if { (eval echo configure:10250: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 10345 if { (eval echo configure:10346: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
10250 rm -rf conftest* | 10346 rm -rf conftest* |
10251 eval "ac_cv_lib_$ac_lib_var=yes" | 10347 eval "ac_cv_lib_$ac_lib_var=yes" |
10252 else | 10348 else |
10253 echo "configure: failed program was:" >&5 | 10349 echo "configure: failed program was:" >&5 |
10254 cat conftest.$ac_ext >&5 | 10350 cat conftest.$ac_ext >&5 |
10293 echo " xemacs will be linked with \"event-unixoid.o\"" | 10389 echo " xemacs will be linked with \"event-unixoid.o\"" |
10294 fi | 10390 fi |
10295 | 10391 |
10296 | 10392 |
10297 echo "checking for database support" 1>&6 | 10393 echo "checking for database support" 1>&6 |
10298 echo "configure:10299: checking for database support" >&5 | 10394 echo "configure:10395: checking for database support" >&5 |
10299 | 10395 |
10300 if test "$with_database_gnudbm" != "no"; then | 10396 if test "$with_database_gnudbm" != "no"; then |
10301 for ac_hdr in ndbm.h | 10397 for ac_hdr in ndbm.h |
10302 do | 10398 do |
10303 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 10399 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
10304 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 10400 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
10305 echo "configure:10306: checking for $ac_hdr" >&5 | 10401 echo "configure:10402: checking for $ac_hdr" >&5 |
10306 | 10402 |
10307 cat > conftest.$ac_ext <<EOF | 10403 cat > conftest.$ac_ext <<EOF |
10308 #line 10309 "configure" | 10404 #line 10405 "configure" |
10309 #include "confdefs.h" | 10405 #include "confdefs.h" |
10310 #include <$ac_hdr> | 10406 #include <$ac_hdr> |
10311 EOF | 10407 EOF |
10312 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10408 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10313 { (eval echo configure:10314: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10409 { (eval echo configure:10410: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10314 ac_err=`grep -v '^ *+' conftest.out` | 10410 ac_err=`grep -v '^ *+' conftest.out` |
10315 if test -z "$ac_err"; then | 10411 if test -z "$ac_err"; then |
10316 rm -rf conftest* | 10412 rm -rf conftest* |
10317 eval "ac_cv_header_$ac_safe=yes" | 10413 eval "ac_cv_header_$ac_safe=yes" |
10318 else | 10414 else |
10340 done | 10436 done |
10341 | 10437 |
10342 if test "$have_ndbm_h" = "yes"; then | 10438 if test "$have_ndbm_h" = "yes"; then |
10343 | 10439 |
10344 echo $ac_n "checking for dbm_open in -lgdbm""... $ac_c" 1>&6 | 10440 echo $ac_n "checking for dbm_open in -lgdbm""... $ac_c" 1>&6 |
10345 echo "configure:10346: checking for dbm_open in -lgdbm" >&5 | 10441 echo "configure:10442: checking for dbm_open in -lgdbm" >&5 |
10346 ac_lib_var=`echo gdbm'_'dbm_open | sed 'y%./+-%__p_%'` | 10442 ac_lib_var=`echo gdbm'_'dbm_open | sed 'y%./+-%__p_%'` |
10347 | 10443 |
10348 xe_check_libs=" -lgdbm " | 10444 xe_check_libs=" -lgdbm " |
10349 cat > conftest.$ac_ext <<EOF | 10445 cat > conftest.$ac_ext <<EOF |
10350 #line 10351 "configure" | 10446 #line 10447 "configure" |
10351 #include "confdefs.h" | 10447 #include "confdefs.h" |
10352 /* Override any gcc2 internal prototype to avoid an error. */ | 10448 /* Override any gcc2 internal prototype to avoid an error. */ |
10353 /* We use char because int might match the return type of a gcc2 | 10449 /* We use char because int might match the return type of a gcc2 |
10354 builtin and then its argument prototype would still apply. */ | 10450 builtin and then its argument prototype would still apply. */ |
10355 char dbm_open(); | 10451 char dbm_open(); |
10356 | 10452 |
10357 int main() { | 10453 int main() { |
10358 dbm_open() | 10454 dbm_open() |
10359 ; return 0; } | 10455 ; return 0; } |
10360 EOF | 10456 EOF |
10361 if { (eval echo configure:10362: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 10457 if { (eval echo configure:10458: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
10362 rm -rf conftest* | 10458 rm -rf conftest* |
10363 eval "ac_cv_lib_$ac_lib_var=yes" | 10459 eval "ac_cv_lib_$ac_lib_var=yes" |
10364 else | 10460 else |
10365 echo "configure: failed program was:" >&5 | 10461 echo "configure: failed program was:" >&5 |
10366 cat conftest.$ac_ext >&5 | 10462 cat conftest.$ac_ext >&5 |
10379 | 10475 |
10380 | 10476 |
10381 fi | 10477 fi |
10382 if test "$with_database_gnudbm" != "yes"; then | 10478 if test "$with_database_gnudbm" != "yes"; then |
10383 echo $ac_n "checking for dbm_open""... $ac_c" 1>&6 | 10479 echo $ac_n "checking for dbm_open""... $ac_c" 1>&6 |
10384 echo "configure:10385: checking for dbm_open" >&5 | 10480 echo "configure:10481: checking for dbm_open" >&5 |
10385 | 10481 |
10386 cat > conftest.$ac_ext <<EOF | 10482 cat > conftest.$ac_ext <<EOF |
10387 #line 10388 "configure" | 10483 #line 10484 "configure" |
10388 #include "confdefs.h" | 10484 #include "confdefs.h" |
10389 /* System header to define __stub macros and hopefully few prototypes, | 10485 /* System header to define __stub macros and hopefully few prototypes, |
10390 which can conflict with char dbm_open(); below. */ | 10486 which can conflict with char dbm_open(); below. */ |
10391 #include <assert.h> | 10487 #include <assert.h> |
10392 /* Override any gcc2 internal prototype to avoid an error. */ | 10488 /* Override any gcc2 internal prototype to avoid an error. */ |
10405 dbm_open(); | 10501 dbm_open(); |
10406 #endif | 10502 #endif |
10407 | 10503 |
10408 ; return 0; } | 10504 ; return 0; } |
10409 EOF | 10505 EOF |
10410 if { (eval echo configure:10411: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 10506 if { (eval echo configure:10507: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
10411 rm -rf conftest* | 10507 rm -rf conftest* |
10412 eval "ac_cv_func_dbm_open=yes" | 10508 eval "ac_cv_func_dbm_open=yes" |
10413 else | 10509 else |
10414 echo "configure: failed program was:" >&5 | 10510 echo "configure: failed program was:" >&5 |
10415 cat conftest.$ac_ext >&5 | 10511 cat conftest.$ac_ext >&5 |
10441 fi | 10537 fi |
10442 fi | 10538 fi |
10443 | 10539 |
10444 if test "$with_database_dbm" != "no"; then | 10540 if test "$with_database_dbm" != "no"; then |
10445 echo $ac_n "checking for dbm_open""... $ac_c" 1>&6 | 10541 echo $ac_n "checking for dbm_open""... $ac_c" 1>&6 |
10446 echo "configure:10447: checking for dbm_open" >&5 | 10542 echo "configure:10543: checking for dbm_open" >&5 |
10447 | 10543 |
10448 cat > conftest.$ac_ext <<EOF | 10544 cat > conftest.$ac_ext <<EOF |
10449 #line 10450 "configure" | 10545 #line 10546 "configure" |
10450 #include "confdefs.h" | 10546 #include "confdefs.h" |
10451 /* System header to define __stub macros and hopefully few prototypes, | 10547 /* System header to define __stub macros and hopefully few prototypes, |
10452 which can conflict with char dbm_open(); below. */ | 10548 which can conflict with char dbm_open(); below. */ |
10453 #include <assert.h> | 10549 #include <assert.h> |
10454 /* Override any gcc2 internal prototype to avoid an error. */ | 10550 /* Override any gcc2 internal prototype to avoid an error. */ |
10467 dbm_open(); | 10563 dbm_open(); |
10468 #endif | 10564 #endif |
10469 | 10565 |
10470 ; return 0; } | 10566 ; return 0; } |
10471 EOF | 10567 EOF |
10472 if { (eval echo configure:10473: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 10568 if { (eval echo configure:10569: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
10473 rm -rf conftest* | 10569 rm -rf conftest* |
10474 eval "ac_cv_func_dbm_open=yes" | 10570 eval "ac_cv_func_dbm_open=yes" |
10475 else | 10571 else |
10476 echo "configure: failed program was:" >&5 | 10572 echo "configure: failed program was:" >&5 |
10477 cat conftest.$ac_ext >&5 | 10573 cat conftest.$ac_ext >&5 |
10488 fi | 10584 fi |
10489 | 10585 |
10490 if test "$need_libdbm" != "no"; then | 10586 if test "$need_libdbm" != "no"; then |
10491 | 10587 |
10492 echo $ac_n "checking for dbm_open in -ldbm""... $ac_c" 1>&6 | 10588 echo $ac_n "checking for dbm_open in -ldbm""... $ac_c" 1>&6 |
10493 echo "configure:10494: checking for dbm_open in -ldbm" >&5 | 10589 echo "configure:10590: checking for dbm_open in -ldbm" >&5 |
10494 ac_lib_var=`echo dbm'_'dbm_open | sed 'y%./+-%__p_%'` | 10590 ac_lib_var=`echo dbm'_'dbm_open | sed 'y%./+-%__p_%'` |
10495 | 10591 |
10496 xe_check_libs=" -ldbm " | 10592 xe_check_libs=" -ldbm " |
10497 cat > conftest.$ac_ext <<EOF | 10593 cat > conftest.$ac_ext <<EOF |
10498 #line 10499 "configure" | 10594 #line 10595 "configure" |
10499 #include "confdefs.h" | 10595 #include "confdefs.h" |
10500 /* Override any gcc2 internal prototype to avoid an error. */ | 10596 /* Override any gcc2 internal prototype to avoid an error. */ |
10501 /* We use char because int might match the return type of a gcc2 | 10597 /* We use char because int might match the return type of a gcc2 |
10502 builtin and then its argument prototype would still apply. */ | 10598 builtin and then its argument prototype would still apply. */ |
10503 char dbm_open(); | 10599 char dbm_open(); |
10504 | 10600 |
10505 int main() { | 10601 int main() { |
10506 dbm_open() | 10602 dbm_open() |
10507 ; return 0; } | 10603 ; return 0; } |
10508 EOF | 10604 EOF |
10509 if { (eval echo configure:10510: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 10605 if { (eval echo configure:10606: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
10510 rm -rf conftest* | 10606 rm -rf conftest* |
10511 eval "ac_cv_lib_$ac_lib_var=yes" | 10607 eval "ac_cv_lib_$ac_lib_var=yes" |
10512 else | 10608 else |
10513 echo "configure: failed program was:" >&5 | 10609 echo "configure: failed program was:" >&5 |
10514 cat conftest.$ac_ext >&5 | 10610 cat conftest.$ac_ext >&5 |
10541 fi | 10637 fi |
10542 fi | 10638 fi |
10543 | 10639 |
10544 if test "$with_database_berkdb" != "no"; then | 10640 if test "$with_database_berkdb" != "no"; then |
10545 echo $ac_n "checking for dbopen""... $ac_c" 1>&6 | 10641 echo $ac_n "checking for dbopen""... $ac_c" 1>&6 |
10546 echo "configure:10547: checking for dbopen" >&5 | 10642 echo "configure:10643: checking for dbopen" >&5 |
10547 | 10643 |
10548 cat > conftest.$ac_ext <<EOF | 10644 cat > conftest.$ac_ext <<EOF |
10549 #line 10550 "configure" | 10645 #line 10646 "configure" |
10550 #include "confdefs.h" | 10646 #include "confdefs.h" |
10551 /* System header to define __stub macros and hopefully few prototypes, | 10647 /* System header to define __stub macros and hopefully few prototypes, |
10552 which can conflict with char dbopen(); below. */ | 10648 which can conflict with char dbopen(); below. */ |
10553 #include <assert.h> | 10649 #include <assert.h> |
10554 /* Override any gcc2 internal prototype to avoid an error. */ | 10650 /* Override any gcc2 internal prototype to avoid an error. */ |
10567 dbopen(); | 10663 dbopen(); |
10568 #endif | 10664 #endif |
10569 | 10665 |
10570 ; return 0; } | 10666 ; return 0; } |
10571 EOF | 10667 EOF |
10572 if { (eval echo configure:10573: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 10668 if { (eval echo configure:10669: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
10573 rm -rf conftest* | 10669 rm -rf conftest* |
10574 eval "ac_cv_func_dbopen=yes" | 10670 eval "ac_cv_func_dbopen=yes" |
10575 else | 10671 else |
10576 echo "configure: failed program was:" >&5 | 10672 echo "configure: failed program was:" >&5 |
10577 cat conftest.$ac_ext >&5 | 10673 cat conftest.$ac_ext >&5 |
10588 fi | 10684 fi |
10589 | 10685 |
10590 if test "$need_libdb" != "no"; then | 10686 if test "$need_libdb" != "no"; then |
10591 | 10687 |
10592 echo $ac_n "checking for dbopen in -ldb""... $ac_c" 1>&6 | 10688 echo $ac_n "checking for dbopen in -ldb""... $ac_c" 1>&6 |
10593 echo "configure:10594: checking for dbopen in -ldb" >&5 | 10689 echo "configure:10690: checking for dbopen in -ldb" >&5 |
10594 ac_lib_var=`echo db'_'dbopen | sed 'y%./+-%__p_%'` | 10690 ac_lib_var=`echo db'_'dbopen | sed 'y%./+-%__p_%'` |
10595 | 10691 |
10596 xe_check_libs=" -ldb " | 10692 xe_check_libs=" -ldb " |
10597 cat > conftest.$ac_ext <<EOF | 10693 cat > conftest.$ac_ext <<EOF |
10598 #line 10599 "configure" | 10694 #line 10695 "configure" |
10599 #include "confdefs.h" | 10695 #include "confdefs.h" |
10600 /* Override any gcc2 internal prototype to avoid an error. */ | 10696 /* Override any gcc2 internal prototype to avoid an error. */ |
10601 /* We use char because int might match the return type of a gcc2 | 10697 /* We use char because int might match the return type of a gcc2 |
10602 builtin and then its argument prototype would still apply. */ | 10698 builtin and then its argument prototype would still apply. */ |
10603 char dbopen(); | 10699 char dbopen(); |
10604 | 10700 |
10605 int main() { | 10701 int main() { |
10606 dbopen() | 10702 dbopen() |
10607 ; return 0; } | 10703 ; return 0; } |
10608 EOF | 10704 EOF |
10609 if { (eval echo configure:10610: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 10705 if { (eval echo configure:10706: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
10610 rm -rf conftest* | 10706 rm -rf conftest* |
10611 eval "ac_cv_lib_$ac_lib_var=yes" | 10707 eval "ac_cv_lib_$ac_lib_var=yes" |
10612 else | 10708 else |
10613 echo "configure: failed program was:" >&5 | 10709 echo "configure: failed program was:" >&5 |
10614 cat conftest.$ac_ext >&5 | 10710 cat conftest.$ac_ext >&5 |
10628 | 10724 |
10629 fi | 10725 fi |
10630 if test "$with_database_berkdb" = "yes"; then | 10726 if test "$with_database_berkdb" = "yes"; then |
10631 for path in "db/db.h" "db.h"; do | 10727 for path in "db/db.h" "db.h"; do |
10632 cat > conftest.$ac_ext <<EOF | 10728 cat > conftest.$ac_ext <<EOF |
10633 #line 10634 "configure" | 10729 #line 10730 "configure" |
10634 #include "confdefs.h" | 10730 #include "confdefs.h" |
10635 #ifdef HAVE_INTTYPES_H | 10731 #ifdef HAVE_INTTYPES_H |
10636 #define __BIT_TYPES_DEFINED__ | 10732 #define __BIT_TYPES_DEFINED__ |
10637 #include <inttypes.h> | 10733 #include <inttypes.h> |
10638 typedef uint8_t u_int8_t; | 10734 typedef uint8_t u_int8_t; |
10646 | 10742 |
10647 int main() { | 10743 int main() { |
10648 | 10744 |
10649 ; return 0; } | 10745 ; return 0; } |
10650 EOF | 10746 EOF |
10651 if { (eval echo configure:10652: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 10747 if { (eval echo configure:10748: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
10652 rm -rf conftest* | 10748 rm -rf conftest* |
10653 db_h_path="$path"; break | 10749 db_h_path="$path"; break |
10654 else | 10750 else |
10655 echo "configure: failed program was:" >&5 | 10751 echo "configure: failed program was:" >&5 |
10656 cat conftest.$ac_ext >&5 | 10752 cat conftest.$ac_ext >&5 |
10697 fi | 10793 fi |
10698 | 10794 |
10699 if test "$with_socks" = "yes"; then | 10795 if test "$with_socks" = "yes"; then |
10700 | 10796 |
10701 echo $ac_n "checking for SOCKSinit in -lsocks""... $ac_c" 1>&6 | 10797 echo $ac_n "checking for SOCKSinit in -lsocks""... $ac_c" 1>&6 |
10702 echo "configure:10703: checking for SOCKSinit in -lsocks" >&5 | 10798 echo "configure:10799: checking for SOCKSinit in -lsocks" >&5 |
10703 ac_lib_var=`echo socks'_'SOCKSinit | sed 'y%./+-%__p_%'` | 10799 ac_lib_var=`echo socks'_'SOCKSinit | sed 'y%./+-%__p_%'` |
10704 | 10800 |
10705 xe_check_libs=" -lsocks " | 10801 xe_check_libs=" -lsocks " |
10706 cat > conftest.$ac_ext <<EOF | 10802 cat > conftest.$ac_ext <<EOF |
10707 #line 10708 "configure" | 10803 #line 10804 "configure" |
10708 #include "confdefs.h" | 10804 #include "confdefs.h" |
10709 /* Override any gcc2 internal prototype to avoid an error. */ | 10805 /* Override any gcc2 internal prototype to avoid an error. */ |
10710 /* We use char because int might match the return type of a gcc2 | 10806 /* We use char because int might match the return type of a gcc2 |
10711 builtin and then its argument prototype would still apply. */ | 10807 builtin and then its argument prototype would still apply. */ |
10712 char SOCKSinit(); | 10808 char SOCKSinit(); |
10713 | 10809 |
10714 int main() { | 10810 int main() { |
10715 SOCKSinit() | 10811 SOCKSinit() |
10716 ; return 0; } | 10812 ; return 0; } |
10717 EOF | 10813 EOF |
10718 if { (eval echo configure:10719: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 10814 if { (eval echo configure:10815: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
10719 rm -rf conftest* | 10815 rm -rf conftest* |
10720 eval "ac_cv_lib_$ac_lib_var=yes" | 10816 eval "ac_cv_lib_$ac_lib_var=yes" |
10721 else | 10817 else |
10722 echo "configure: failed program was:" >&5 | 10818 echo "configure: failed program was:" >&5 |
10723 cat conftest.$ac_ext >&5 | 10819 cat conftest.$ac_ext >&5 |
10770 | 10866 |
10771 for ac_hdr in dlfcn.h | 10867 for ac_hdr in dlfcn.h |
10772 do | 10868 do |
10773 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 10869 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
10774 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 10870 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
10775 echo "configure:10776: checking for $ac_hdr" >&5 | 10871 echo "configure:10872: checking for $ac_hdr" >&5 |
10776 | 10872 |
10777 cat > conftest.$ac_ext <<EOF | 10873 cat > conftest.$ac_ext <<EOF |
10778 #line 10779 "configure" | 10874 #line 10875 "configure" |
10779 #include "confdefs.h" | 10875 #include "confdefs.h" |
10780 #include <$ac_hdr> | 10876 #include <$ac_hdr> |
10781 EOF | 10877 EOF |
10782 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10878 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10783 { (eval echo configure:10784: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10879 { (eval echo configure:10880: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10784 ac_err=`grep -v '^ *+' conftest.out` | 10880 ac_err=`grep -v '^ *+' conftest.out` |
10785 if test -z "$ac_err"; then | 10881 if test -z "$ac_err"; then |
10786 rm -rf conftest* | 10882 rm -rf conftest* |
10787 eval "ac_cv_header_$ac_safe=yes" | 10883 eval "ac_cv_header_$ac_safe=yes" |
10788 else | 10884 else |
10809 fi | 10905 fi |
10810 done | 10906 done |
10811 | 10907 |
10812 test -z "$with_shlib" && test ! -z "$have_dlfcn" && { | 10908 test -z "$with_shlib" && test ! -z "$have_dlfcn" && { |
10813 echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6 | 10909 echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6 |
10814 echo "configure:10815: checking for dlopen in -ldl" >&5 | 10910 echo "configure:10911: checking for dlopen in -ldl" >&5 |
10815 ac_lib_var=`echo dl'_'dlopen | sed 'y%./+-%__p_%'` | 10911 ac_lib_var=`echo dl'_'dlopen | sed 'y%./+-%__p_%'` |
10816 | 10912 |
10817 xe_check_libs=" -ldl " | 10913 xe_check_libs=" -ldl " |
10818 cat > conftest.$ac_ext <<EOF | 10914 cat > conftest.$ac_ext <<EOF |
10819 #line 10820 "configure" | 10915 #line 10916 "configure" |
10820 #include "confdefs.h" | 10916 #include "confdefs.h" |
10821 /* Override any gcc2 internal prototype to avoid an error. */ | 10917 /* Override any gcc2 internal prototype to avoid an error. */ |
10822 /* We use char because int might match the return type of a gcc2 | 10918 /* We use char because int might match the return type of a gcc2 |
10823 builtin and then its argument prototype would still apply. */ | 10919 builtin and then its argument prototype would still apply. */ |
10824 char dlopen(); | 10920 char dlopen(); |
10825 | 10921 |
10826 int main() { | 10922 int main() { |
10827 dlopen() | 10923 dlopen() |
10828 ; return 0; } | 10924 ; return 0; } |
10829 EOF | 10925 EOF |
10830 if { (eval echo configure:10831: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 10926 if { (eval echo configure:10927: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
10831 rm -rf conftest* | 10927 rm -rf conftest* |
10832 eval "ac_cv_lib_$ac_lib_var=yes" | 10928 eval "ac_cv_lib_$ac_lib_var=yes" |
10833 else | 10929 else |
10834 echo "configure: failed program was:" >&5 | 10930 echo "configure: failed program was:" >&5 |
10835 cat conftest.$ac_ext >&5 | 10931 cat conftest.$ac_ext >&5 |
10854 fi | 10950 fi |
10855 | 10951 |
10856 } | 10952 } |
10857 test -z "$with_shlib" && test ! -z "$have_dlfcn" && { | 10953 test -z "$with_shlib" && test ! -z "$have_dlfcn" && { |
10858 echo $ac_n "checking for _dlopen in -lc""... $ac_c" 1>&6 | 10954 echo $ac_n "checking for _dlopen in -lc""... $ac_c" 1>&6 |
10859 echo "configure:10860: checking for _dlopen in -lc" >&5 | 10955 echo "configure:10956: checking for _dlopen in -lc" >&5 |
10860 ac_lib_var=`echo c'_'_dlopen | sed 'y%./+-%__p_%'` | 10956 ac_lib_var=`echo c'_'_dlopen | sed 'y%./+-%__p_%'` |
10861 | 10957 |
10862 xe_check_libs=" -lc " | 10958 xe_check_libs=" -lc " |
10863 cat > conftest.$ac_ext <<EOF | 10959 cat > conftest.$ac_ext <<EOF |
10864 #line 10865 "configure" | 10960 #line 10961 "configure" |
10865 #include "confdefs.h" | 10961 #include "confdefs.h" |
10866 /* Override any gcc2 internal prototype to avoid an error. */ | 10962 /* Override any gcc2 internal prototype to avoid an error. */ |
10867 /* We use char because int might match the return type of a gcc2 | 10963 /* We use char because int might match the return type of a gcc2 |
10868 builtin and then its argument prototype would still apply. */ | 10964 builtin and then its argument prototype would still apply. */ |
10869 char _dlopen(); | 10965 char _dlopen(); |
10870 | 10966 |
10871 int main() { | 10967 int main() { |
10872 _dlopen() | 10968 _dlopen() |
10873 ; return 0; } | 10969 ; return 0; } |
10874 EOF | 10970 EOF |
10875 if { (eval echo configure:10876: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 10971 if { (eval echo configure:10972: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
10876 rm -rf conftest* | 10972 rm -rf conftest* |
10877 eval "ac_cv_lib_$ac_lib_var=yes" | 10973 eval "ac_cv_lib_$ac_lib_var=yes" |
10878 else | 10974 else |
10879 echo "configure: failed program was:" >&5 | 10975 echo "configure: failed program was:" >&5 |
10880 cat conftest.$ac_ext >&5 | 10976 cat conftest.$ac_ext >&5 |
10899 fi | 10995 fi |
10900 | 10996 |
10901 } | 10997 } |
10902 test -z "$with_shlib" && test ! -z "$have_dlfcn" && { | 10998 test -z "$with_shlib" && test ! -z "$have_dlfcn" && { |
10903 echo $ac_n "checking for dlopen in -lc""... $ac_c" 1>&6 | 10999 echo $ac_n "checking for dlopen in -lc""... $ac_c" 1>&6 |
10904 echo "configure:10905: checking for dlopen in -lc" >&5 | 11000 echo "configure:11001: checking for dlopen in -lc" >&5 |
10905 ac_lib_var=`echo c'_'dlopen | sed 'y%./+-%__p_%'` | 11001 ac_lib_var=`echo c'_'dlopen | sed 'y%./+-%__p_%'` |
10906 | 11002 |
10907 xe_check_libs=" -lc " | 11003 xe_check_libs=" -lc " |
10908 cat > conftest.$ac_ext <<EOF | 11004 cat > conftest.$ac_ext <<EOF |
10909 #line 10910 "configure" | 11005 #line 11006 "configure" |
10910 #include "confdefs.h" | 11006 #include "confdefs.h" |
10911 /* Override any gcc2 internal prototype to avoid an error. */ | 11007 /* Override any gcc2 internal prototype to avoid an error. */ |
10912 /* We use char because int might match the return type of a gcc2 | 11008 /* We use char because int might match the return type of a gcc2 |
10913 builtin and then its argument prototype would still apply. */ | 11009 builtin and then its argument prototype would still apply. */ |
10914 char dlopen(); | 11010 char dlopen(); |
10915 | 11011 |
10916 int main() { | 11012 int main() { |
10917 dlopen() | 11013 dlopen() |
10918 ; return 0; } | 11014 ; return 0; } |
10919 EOF | 11015 EOF |
10920 if { (eval echo configure:10921: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 11016 if { (eval echo configure:11017: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
10921 rm -rf conftest* | 11017 rm -rf conftest* |
10922 eval "ac_cv_lib_$ac_lib_var=yes" | 11018 eval "ac_cv_lib_$ac_lib_var=yes" |
10923 else | 11019 else |
10924 echo "configure: failed program was:" >&5 | 11020 echo "configure: failed program was:" >&5 |
10925 cat conftest.$ac_ext >&5 | 11021 cat conftest.$ac_ext >&5 |
10944 fi | 11040 fi |
10945 | 11041 |
10946 } | 11042 } |
10947 test -z "$with_shlib" && { | 11043 test -z "$with_shlib" && { |
10948 echo $ac_n "checking for shl_load in -ldld""... $ac_c" 1>&6 | 11044 echo $ac_n "checking for shl_load in -ldld""... $ac_c" 1>&6 |
10949 echo "configure:10950: checking for shl_load in -ldld" >&5 | 11045 echo "configure:11046: checking for shl_load in -ldld" >&5 |
10950 ac_lib_var=`echo dld'_'shl_load | sed 'y%./+-%__p_%'` | 11046 ac_lib_var=`echo dld'_'shl_load | sed 'y%./+-%__p_%'` |
10951 | 11047 |
10952 xe_check_libs=" -ldld " | 11048 xe_check_libs=" -ldld " |
10953 cat > conftest.$ac_ext <<EOF | 11049 cat > conftest.$ac_ext <<EOF |
10954 #line 10955 "configure" | 11050 #line 11051 "configure" |
10955 #include "confdefs.h" | 11051 #include "confdefs.h" |
10956 /* Override any gcc2 internal prototype to avoid an error. */ | 11052 /* Override any gcc2 internal prototype to avoid an error. */ |
10957 /* We use char because int might match the return type of a gcc2 | 11053 /* We use char because int might match the return type of a gcc2 |
10958 builtin and then its argument prototype would still apply. */ | 11054 builtin and then its argument prototype would still apply. */ |
10959 char shl_load(); | 11055 char shl_load(); |
10960 | 11056 |
10961 int main() { | 11057 int main() { |
10962 shl_load() | 11058 shl_load() |
10963 ; return 0; } | 11059 ; return 0; } |
10964 EOF | 11060 EOF |
10965 if { (eval echo configure:10966: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 11061 if { (eval echo configure:11062: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
10966 rm -rf conftest* | 11062 rm -rf conftest* |
10967 eval "ac_cv_lib_$ac_lib_var=yes" | 11063 eval "ac_cv_lib_$ac_lib_var=yes" |
10968 else | 11064 else |
10969 echo "configure: failed program was:" >&5 | 11065 echo "configure: failed program was:" >&5 |
10970 cat conftest.$ac_ext >&5 | 11066 cat conftest.$ac_ext >&5 |
10989 fi | 11085 fi |
10990 | 11086 |
10991 } | 11087 } |
10992 test -z "$with_shlib" && { | 11088 test -z "$with_shlib" && { |
10993 echo $ac_n "checking for dld_init in -ldld""... $ac_c" 1>&6 | 11089 echo $ac_n "checking for dld_init in -ldld""... $ac_c" 1>&6 |
10994 echo "configure:10995: checking for dld_init in -ldld" >&5 | 11090 echo "configure:11091: checking for dld_init in -ldld" >&5 |
10995 ac_lib_var=`echo dld'_'dld_init | sed 'y%./+-%__p_%'` | 11091 ac_lib_var=`echo dld'_'dld_init | sed 'y%./+-%__p_%'` |
10996 | 11092 |
10997 xe_check_libs=" -ldld " | 11093 xe_check_libs=" -ldld " |
10998 cat > conftest.$ac_ext <<EOF | 11094 cat > conftest.$ac_ext <<EOF |
10999 #line 11000 "configure" | 11095 #line 11096 "configure" |
11000 #include "confdefs.h" | 11096 #include "confdefs.h" |
11001 /* Override any gcc2 internal prototype to avoid an error. */ | 11097 /* Override any gcc2 internal prototype to avoid an error. */ |
11002 /* We use char because int might match the return type of a gcc2 | 11098 /* We use char because int might match the return type of a gcc2 |
11003 builtin and then its argument prototype would still apply. */ | 11099 builtin and then its argument prototype would still apply. */ |
11004 char dld_init(); | 11100 char dld_init(); |
11005 | 11101 |
11006 int main() { | 11102 int main() { |
11007 dld_init() | 11103 dld_init() |
11008 ; return 0; } | 11104 ; return 0; } |
11009 EOF | 11105 EOF |
11010 if { (eval echo configure:11011: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 11106 if { (eval echo configure:11107: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
11011 rm -rf conftest* | 11107 rm -rf conftest* |
11012 eval "ac_cv_lib_$ac_lib_var=yes" | 11108 eval "ac_cv_lib_$ac_lib_var=yes" |
11013 else | 11109 else |
11014 echo "configure: failed program was:" >&5 | 11110 echo "configure: failed program was:" >&5 |
11015 cat conftest.$ac_ext >&5 | 11111 cat conftest.$ac_ext >&5 |
11055 dll_lflags="-shared" | 11151 dll_lflags="-shared" |
11056 dll_cflags="-r" | 11152 dll_cflags="-r" |
11057 dll_oflags="-o " | 11153 dll_oflags="-o " |
11058 | 11154 |
11059 echo $ac_n "checking how to build a shared library""... $ac_c" 1>&6 | 11155 echo $ac_n "checking how to build a shared library""... $ac_c" 1>&6 |
11060 echo "configure:11061: checking how to build a shared library" >&5 | 11156 echo "configure:11157: checking how to build a shared library" >&5 |
11061 case `uname -rs` in | 11157 case `uname -rs` in |
11062 UNIX_SV*|UNIX_System_V*) | 11158 UNIX_SV*|UNIX_System_V*) |
11063 dll_lflags="-G" | 11159 dll_lflags="-G" |
11064 dll_cflags=-Kpic | 11160 dll_cflags=-Kpic |
11065 dll_ld="ld" | 11161 dll_ld="ld" |
11146 | 11242 |
11147 | 11243 |
11148 for ac_func in dlerror | 11244 for ac_func in dlerror |
11149 do | 11245 do |
11150 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 11246 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
11151 echo "configure:11152: checking for $ac_func" >&5 | 11247 echo "configure:11248: checking for $ac_func" >&5 |
11152 | 11248 |
11153 cat > conftest.$ac_ext <<EOF | 11249 cat > conftest.$ac_ext <<EOF |
11154 #line 11155 "configure" | 11250 #line 11251 "configure" |
11155 #include "confdefs.h" | 11251 #include "confdefs.h" |
11156 /* System header to define __stub macros and hopefully few prototypes, | 11252 /* System header to define __stub macros and hopefully few prototypes, |
11157 which can conflict with char $ac_func(); below. */ | 11253 which can conflict with char $ac_func(); below. */ |
11158 #include <assert.h> | 11254 #include <assert.h> |
11159 /* Override any gcc2 internal prototype to avoid an error. */ | 11255 /* Override any gcc2 internal prototype to avoid an error. */ |
11172 $ac_func(); | 11268 $ac_func(); |
11173 #endif | 11269 #endif |
11174 | 11270 |
11175 ; return 0; } | 11271 ; return 0; } |
11176 EOF | 11272 EOF |
11177 if { (eval echo configure:11178: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 11273 if { (eval echo configure:11274: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
11178 rm -rf conftest* | 11274 rm -rf conftest* |
11179 eval "ac_cv_func_$ac_func=yes" | 11275 eval "ac_cv_func_$ac_func=yes" |
11180 else | 11276 else |
11181 echo "configure: failed program was:" >&5 | 11277 echo "configure: failed program was:" >&5 |
11182 cat conftest.$ac_ext >&5 | 11278 cat conftest.$ac_ext >&5 |
11208 *) ;; | 11304 *) ;; |
11209 esac | 11305 esac |
11210 fi | 11306 fi |
11211 | 11307 |
11212 cat > conftest.$ac_ext <<EOF | 11308 cat > conftest.$ac_ext <<EOF |
11213 #line 11214 "configure" | 11309 #line 11310 "configure" |
11214 #include "confdefs.h" | 11310 #include "confdefs.h" |
11215 int main(int c,char *v[]){return 0;} | 11311 int main(int c,char *v[]){return 0;} |
11216 EOF | 11312 EOF |
11217 if { (eval echo configure:11218: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 | 11313 if { (eval echo configure:11314: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 |
11218 then | 11314 then |
11219 : | 11315 : |
11220 else | 11316 else |
11221 echo "configure: failed program was:" >&5 | 11317 echo "configure: failed program was:" >&5 |
11222 cat conftest.$ac_ext >&5 | 11318 cat conftest.$ac_ext >&5 |
11376 | 11472 |
11377 | 11473 |
11378 | 11474 |
11379 | 11475 |
11380 | 11476 |
11477 PREFIX=$prefix | |
11478 while true; do | |
11479 case "$PREFIX" in | |
11480 *\$* ) eval "PREFIX=$PREFIX" ;; | |
11481 *) break ;; | |
11482 esac | |
11483 done | |
11484 | |
11485 | |
11486 | |
11487 EXEC_PREFIX=$exec_prefix | |
11488 while true; do | |
11489 case "$EXEC_PREFIX" in | |
11490 *\$* ) eval "EXEC_PREFIX=$EXEC_PREFIX" ;; | |
11491 *) break ;; | |
11492 esac | |
11493 done | |
11494 | |
11381 | 11495 |
11382 | 11496 |
11383 | 11497 |
11384 INFODIR=$infodir | 11498 INFODIR=$infodir |
11385 while true; do | 11499 while true; do |
11420 *\$* ) eval "LISPDIR=$LISPDIR" ;; | 11534 *\$* ) eval "LISPDIR=$LISPDIR" ;; |
11421 *) break ;; | 11535 *) break ;; |
11422 esac | 11536 esac |
11423 done | 11537 done |
11424 | 11538 |
11425 | |
11426 | |
11427 | |
11428 SITELISPDIR=$sitelispdir | |
11429 while true; do | |
11430 case "$SITELISPDIR" in | |
11431 *\$* ) eval "SITELISPDIR=$SITELISPDIR" ;; | |
11432 *) break ;; | |
11433 esac | |
11434 done | |
11435 | 11539 |
11436 | 11540 |
11437 | 11541 |
11438 | 11542 |
11439 ETCDIR=$etcdir | 11543 ETCDIR=$etcdir |
11993 s%@configuration@%$configuration%g | 12097 s%@configuration@%$configuration%g |
11994 s%@canonical@%$canonical%g | 12098 s%@canonical@%$canonical%g |
11995 s%@srcdir@%$srcdir%g | 12099 s%@srcdir@%$srcdir%g |
11996 s%@pkgdir@%$pkgdir%g | 12100 s%@pkgdir@%$pkgdir%g |
11997 s%@statedir@%$statedir%g | 12101 s%@statedir@%$statedir%g |
12102 s%@PREFIX@%$PREFIX%g | |
12103 s%@EXEC_PREFIX@%$EXEC_PREFIX%g | |
11998 s%@INFODIR_USER_DEFINED@%$INFODIR_USER_DEFINED%g | 12104 s%@INFODIR_USER_DEFINED@%$INFODIR_USER_DEFINED%g |
11999 s%@INFODIR@%$INFODIR%g | 12105 s%@INFODIR@%$INFODIR%g |
12000 s%@infopath@%$infopath%g | 12106 s%@infopath@%$infopath%g |
12001 s%@INFOPATH_USER_DEFINED@%$INFOPATH_USER_DEFINED%g | 12107 s%@INFOPATH_USER_DEFINED@%$INFOPATH_USER_DEFINED%g |
12002 s%@INFOPATH@%$INFOPATH%g | 12108 s%@INFOPATH@%$INFOPATH%g |
12004 s%@PACKAGE_PATH_USER_DEFINED@%$PACKAGE_PATH_USER_DEFINED%g | 12110 s%@PACKAGE_PATH_USER_DEFINED@%$PACKAGE_PATH_USER_DEFINED%g |
12005 s%@PACKAGE_PATH@%$PACKAGE_PATH%g | 12111 s%@PACKAGE_PATH@%$PACKAGE_PATH%g |
12006 s%@lispdir@%$lispdir%g | 12112 s%@lispdir@%$lispdir%g |
12007 s%@LISPDIR_USER_DEFINED@%$LISPDIR_USER_DEFINED%g | 12113 s%@LISPDIR_USER_DEFINED@%$LISPDIR_USER_DEFINED%g |
12008 s%@LISPDIR@%$LISPDIR%g | 12114 s%@LISPDIR@%$LISPDIR%g |
12009 s%@sitelispdir@%$sitelispdir%g | |
12010 s%@SITELISPDIR_USER_DEFINED@%$SITELISPDIR_USER_DEFINED%g | |
12011 s%@SITELISPDIR@%$SITELISPDIR%g | |
12012 s%@etcdir@%$etcdir%g | 12115 s%@etcdir@%$etcdir%g |
12013 s%@ETCDIR_USER_DEFINED@%$ETCDIR_USER_DEFINED%g | 12116 s%@ETCDIR_USER_DEFINED@%$ETCDIR_USER_DEFINED%g |
12014 s%@ETCDIR@%$ETCDIR%g | 12117 s%@ETCDIR@%$ETCDIR%g |
12015 s%@lockdir@%$lockdir%g | 12118 s%@lockdir@%$lockdir%g |
12016 s%@LOCKDIR_USER_DEFINED@%$LOCKDIR_USER_DEFINED%g | 12119 s%@LOCKDIR_USER_DEFINED@%$LOCKDIR_USER_DEFINED%g |