Mercurial > hg > xemacs-beta
comparison configure @ 276:6330739388db r21-0b36
Import from CVS: tag r21-0b36
| author | cvs |
|---|---|
| date | Mon, 13 Aug 2007 10:30:37 +0200 |
| parents | ca9a9ec9c1c1 |
| children | 90d73dddcdc4 |
comparison
equal
deleted
inserted
replaced
| 275:a68ae4439f57 | 276:6330739388db |
|---|---|
| 217 statedir='${prefix}/lib' | 217 statedir='${prefix}/lib' |
| 218 libdir='${exec_prefix}/lib' | 218 libdir='${exec_prefix}/lib' |
| 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 lispdir='${datadir}/xemacs-${version}/lisp' | 223 lispdir='${datadir}/xemacs-${version}/lisp' |
| 223 sitelispdir='${datadir}/xemacs/site-lisp' | 224 sitelispdir='${datadir}/xemacs/site-lisp' |
| 224 pkgdir='${datadir}/xemacs-${version}/lisp' | 225 pkgdir='${datadir}/xemacs-${version}/lisp' |
| 225 package_path='' | 226 package_path='' |
| 226 etcdir='${datadir}/xemacs-${version}/etc' | 227 etcdir='${datadir}/xemacs-${version}/etc' |
| 724 ;; | 725 ;; |
| 725 esac | 726 esac |
| 726 | 727 |
| 727 if test -z "$configuration"; then | 728 if test -z "$configuration"; then |
| 728 echo $ac_n "checking "host system type"""... $ac_c" 1>&6 | 729 echo $ac_n "checking "host system type"""... $ac_c" 1>&6 |
| 729 echo "configure:730: checking "host system type"" >&5 | 730 echo "configure:731: checking "host system type"" >&5 |
| 730 if configuration=`${CONFIG_SHELL-/bin/sh} $srcdir/config.guess | \ | 731 if configuration=`${CONFIG_SHELL-/bin/sh} $srcdir/config.guess | \ |
| 731 sed 's/^\([^-][^-]*-[^-][^-]*-[^-][^-]*\)-.*$/\1/'` ; then | 732 sed 's/^\([^-][^-]*-[^-][^-]*-[^-][^-]*\)-.*$/\1/'` ; then |
| 732 echo "$ac_t""$configuration" 1>&6 | 733 echo "$ac_t""$configuration" 1>&6 |
| 733 else | 734 else |
| 734 echo "$ac_t""unknown" 1>&6 | 735 echo "$ac_t""unknown" 1>&6 |
| 738 echo " Use \`$progname --help' to show usage.") >&2 && exit 1 | 739 echo " Use \`$progname --help' to show usage.") >&2 && exit 1 |
| 739 fi | 740 fi |
| 740 fi | 741 fi |
| 741 | 742 |
| 742 echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6 | 743 echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6 |
| 743 echo "configure:744: checking whether ln -s works" >&5 | 744 echo "configure:745: checking whether ln -s works" >&5 |
| 744 | 745 |
| 745 rm -f conftestdata | 746 rm -f conftestdata |
| 746 if ln -s X conftestdata 2>/dev/null | 747 if ln -s X conftestdata 2>/dev/null |
| 747 then | 748 then |
| 748 rm -f conftestdata | 749 rm -f conftestdata |
| 915 } | 916 } |
| 916 | 917 |
| 917 | 918 |
| 918 | 919 |
| 919 echo "checking "the configuration name"" 1>&6 | 920 echo "checking "the configuration name"" 1>&6 |
| 920 echo "configure:921: checking "the configuration name"" >&5 | 921 echo "configure:922: checking "the configuration name"" >&5 |
| 921 internal_configuration=`echo $configuration | sed 's/-\(workshop\)//'` | 922 internal_configuration=`echo $configuration | sed 's/-\(workshop\)//'` |
| 922 if canonical=`$srcdir/config.sub "$internal_configuration"` ; then : ; else | 923 if canonical=`$srcdir/config.sub "$internal_configuration"` ; then : ; else |
| 923 exit $? | 924 exit $? |
| 924 fi | 925 fi |
| 925 | 926 |
| 1379 xe_save_CFLAGS="$CFLAGS" | 1380 xe_save_CFLAGS="$CFLAGS" |
| 1380 | 1381 |
| 1381 # Extract the first word of "gcc", so it can be a program name with args. | 1382 # Extract the first word of "gcc", so it can be a program name with args. |
| 1382 set dummy gcc; ac_word=$2 | 1383 set dummy gcc; ac_word=$2 |
| 1383 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 1384 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
| 1384 echo "configure:1385: checking for $ac_word" >&5 | 1385 echo "configure:1386: checking for $ac_word" >&5 |
| 1385 | 1386 |
| 1386 if test -n "$CC"; then | 1387 if test -n "$CC"; then |
| 1387 ac_cv_prog_CC="$CC" # Let the user override the test. | 1388 ac_cv_prog_CC="$CC" # Let the user override the test. |
| 1388 else | 1389 else |
| 1389 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" | 1390 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" |
| 1405 | 1406 |
| 1406 if test -z "$CC"; then | 1407 if test -z "$CC"; then |
| 1407 # Extract the first word of "cc", so it can be a program name with args. | 1408 # Extract the first word of "cc", so it can be a program name with args. |
| 1408 set dummy cc; ac_word=$2 | 1409 set dummy cc; ac_word=$2 |
| 1409 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 1410 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
| 1410 echo "configure:1411: checking for $ac_word" >&5 | 1411 echo "configure:1412: checking for $ac_word" >&5 |
| 1411 | 1412 |
| 1412 if test -n "$CC"; then | 1413 if test -n "$CC"; then |
| 1413 ac_cv_prog_CC="$CC" # Let the user override the test. | 1414 ac_cv_prog_CC="$CC" # Let the user override the test. |
| 1414 else | 1415 else |
| 1415 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" | 1416 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" |
| 1450 | 1451 |
| 1451 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } | 1452 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } |
| 1452 fi | 1453 fi |
| 1453 | 1454 |
| 1454 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 | 1455 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 |
| 1455 echo "configure:1456: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 | 1456 echo "configure:1457: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 |
| 1456 | 1457 |
| 1457 ac_ext=c | 1458 ac_ext=c |
| 1458 xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS' | 1459 xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS' |
| 1459 xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_switch_x_site $ld_switch_run' | 1460 xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_switch_x_site $ld_switch_run' |
| 1460 xe_libs='$ld_call_shared $xe_check_libs $X_EXTRA_LIBS $libs_x $X_PRE_LIBS $LIBS $libs_machine $libs_system $libs_standard' | 1461 xe_libs='$ld_call_shared $xe_check_libs $X_EXTRA_LIBS $libs_x $X_PRE_LIBS $LIBS $libs_machine $libs_system $libs_standard' |
| 1462 ac_compile='${CC-cc} -c $CFLAGS '"$xe_cppflags"' conftest.$ac_ext 1>&5' | 1463 ac_compile='${CC-cc} -c $CFLAGS '"$xe_cppflags"' conftest.$ac_ext 1>&5' |
| 1463 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' | 1464 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' |
| 1464 cross_compiling=no | 1465 cross_compiling=no |
| 1465 | 1466 |
| 1466 cat > conftest.$ac_ext <<EOF | 1467 cat > conftest.$ac_ext <<EOF |
| 1467 #line 1468 "configure" | 1468 #line 1469 "configure" |
| 1468 #include "confdefs.h" | 1469 #include "confdefs.h" |
| 1469 main(){return(0);} | 1470 main(){return(0);} |
| 1470 EOF | 1471 EOF |
| 1471 if { (eval echo configure:1472: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 1472 if { (eval echo configure:1473: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 1472 ac_cv_prog_cc_works=yes | 1473 ac_cv_prog_cc_works=yes |
| 1473 # If we can't run a trivial program, we are probably using a cross compiler. | 1474 # If we can't run a trivial program, we are probably using a cross compiler. |
| 1474 if (./conftest; exit) 2>/dev/null; then | 1475 if (./conftest; exit) 2>/dev/null; then |
| 1475 ac_cv_prog_cc_cross=no | 1476 ac_cv_prog_cc_cross=no |
| 1476 else | 1477 else |
| 1486 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 | 1487 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 |
| 1487 if test $ac_cv_prog_cc_works = no; then | 1488 if test $ac_cv_prog_cc_works = no; then |
| 1488 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } | 1489 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } |
| 1489 fi | 1490 fi |
| 1490 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 | 1491 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 |
| 1491 echo "configure:1492: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 | 1492 echo "configure:1493: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 |
| 1492 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 | 1493 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 |
| 1493 cross_compiling=$ac_cv_prog_cc_cross | 1494 cross_compiling=$ac_cv_prog_cc_cross |
| 1494 | 1495 |
| 1495 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 | 1496 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 |
| 1496 echo "configure:1497: checking whether we are using GNU C" >&5 | 1497 echo "configure:1498: checking whether we are using GNU C" >&5 |
| 1497 | 1498 |
| 1498 cat > conftest.c <<EOF | 1499 cat > conftest.c <<EOF |
| 1499 #ifdef __GNUC__ | 1500 #ifdef __GNUC__ |
| 1500 yes; | 1501 yes; |
| 1501 #endif | 1502 #endif |
| 1502 EOF | 1503 EOF |
| 1503 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1504: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then | 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 |
| 1504 ac_cv_prog_gcc=yes | 1505 ac_cv_prog_gcc=yes |
| 1505 else | 1506 else |
| 1506 ac_cv_prog_gcc=no | 1507 ac_cv_prog_gcc=no |
| 1507 fi | 1508 fi |
| 1508 | 1509 |
| 1512 GCC=yes | 1513 GCC=yes |
| 1513 ac_test_CFLAGS="${CFLAGS+set}" | 1514 ac_test_CFLAGS="${CFLAGS+set}" |
| 1514 ac_save_CFLAGS="$CFLAGS" | 1515 ac_save_CFLAGS="$CFLAGS" |
| 1515 CFLAGS= | 1516 CFLAGS= |
| 1516 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 | 1517 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 |
| 1517 echo "configure:1518: checking whether ${CC-cc} accepts -g" >&5 | 1518 echo "configure:1519: checking whether ${CC-cc} accepts -g" >&5 |
| 1518 | 1519 |
| 1519 echo 'void f(){}' > conftest.c | 1520 echo 'void f(){}' > conftest.c |
| 1520 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then | 1521 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then |
| 1521 ac_cv_prog_cc_g=yes | 1522 ac_cv_prog_cc_g=yes |
| 1522 else | 1523 else |
| 1541 if test "$with_gcc" = "no" -a "$GCC" = "yes"; then | 1542 if test "$with_gcc" = "no" -a "$GCC" = "yes"; then |
| 1542 CC=${NON_GNU_CC-cc} | 1543 CC=${NON_GNU_CC-cc} |
| 1543 # Extract the first word of "gcc", so it can be a program name with args. | 1544 # Extract the first word of "gcc", so it can be a program name with args. |
| 1544 set dummy gcc; ac_word=$2 | 1545 set dummy gcc; ac_word=$2 |
| 1545 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 1546 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
| 1546 echo "configure:1547: checking for $ac_word" >&5 | 1547 echo "configure:1548: checking for $ac_word" >&5 |
| 1547 | 1548 |
| 1548 if test -n "$CC"; then | 1549 if test -n "$CC"; then |
| 1549 ac_cv_prog_CC="$CC" # Let the user override the test. | 1550 ac_cv_prog_CC="$CC" # Let the user override the test. |
| 1550 else | 1551 else |
| 1551 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" | 1552 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" |
| 1567 | 1568 |
| 1568 if test -z "$CC"; then | 1569 if test -z "$CC"; then |
| 1569 # Extract the first word of "cc", so it can be a program name with args. | 1570 # Extract the first word of "cc", so it can be a program name with args. |
| 1570 set dummy cc; ac_word=$2 | 1571 set dummy cc; ac_word=$2 |
| 1571 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 1572 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
| 1572 echo "configure:1573: checking for $ac_word" >&5 | 1573 echo "configure:1574: checking for $ac_word" >&5 |
| 1573 | 1574 |
| 1574 if test -n "$CC"; then | 1575 if test -n "$CC"; then |
| 1575 ac_cv_prog_CC="$CC" # Let the user override the test. | 1576 ac_cv_prog_CC="$CC" # Let the user override the test. |
| 1576 else | 1577 else |
| 1577 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" | 1578 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" |
| 1612 | 1613 |
| 1613 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } | 1614 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } |
| 1614 fi | 1615 fi |
| 1615 | 1616 |
| 1616 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 | 1617 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 |
| 1617 echo "configure:1618: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 | 1618 echo "configure:1619: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 |
| 1618 | 1619 |
| 1619 ac_ext=c | 1620 ac_ext=c |
| 1620 xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS' | 1621 xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS' |
| 1621 xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_switch_x_site $ld_switch_run' | 1622 xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_switch_x_site $ld_switch_run' |
| 1622 xe_libs='$ld_call_shared $xe_check_libs $X_EXTRA_LIBS $libs_x $X_PRE_LIBS $LIBS $libs_machine $libs_system $libs_standard' | 1623 xe_libs='$ld_call_shared $xe_check_libs $X_EXTRA_LIBS $libs_x $X_PRE_LIBS $LIBS $libs_machine $libs_system $libs_standard' |
| 1624 ac_compile='${CC-cc} -c $CFLAGS '"$xe_cppflags"' conftest.$ac_ext 1>&5' | 1625 ac_compile='${CC-cc} -c $CFLAGS '"$xe_cppflags"' conftest.$ac_ext 1>&5' |
| 1625 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' | 1626 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' |
| 1626 cross_compiling=no | 1627 cross_compiling=no |
| 1627 | 1628 |
| 1628 cat > conftest.$ac_ext <<EOF | 1629 cat > conftest.$ac_ext <<EOF |
| 1629 #line 1630 "configure" | 1630 #line 1631 "configure" |
| 1630 #include "confdefs.h" | 1631 #include "confdefs.h" |
| 1631 main(){return(0);} | 1632 main(){return(0);} |
| 1632 EOF | 1633 EOF |
| 1633 if { (eval echo configure:1634: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 1634 if { (eval echo configure:1635: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 1634 ac_cv_prog_cc_works=yes | 1635 ac_cv_prog_cc_works=yes |
| 1635 # If we can't run a trivial program, we are probably using a cross compiler. | 1636 # If we can't run a trivial program, we are probably using a cross compiler. |
| 1636 if (./conftest; exit) 2>/dev/null; then | 1637 if (./conftest; exit) 2>/dev/null; then |
| 1637 ac_cv_prog_cc_cross=no | 1638 ac_cv_prog_cc_cross=no |
| 1638 else | 1639 else |
| 1648 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 | 1649 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 |
| 1649 if test $ac_cv_prog_cc_works = no; then | 1650 if test $ac_cv_prog_cc_works = no; then |
| 1650 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } | 1651 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } |
| 1651 fi | 1652 fi |
| 1652 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 | 1653 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 |
| 1653 echo "configure:1654: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 | 1654 echo "configure:1655: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 |
| 1654 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 | 1655 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 |
| 1655 cross_compiling=$ac_cv_prog_cc_cross | 1656 cross_compiling=$ac_cv_prog_cc_cross |
| 1656 | 1657 |
| 1657 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 | 1658 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 |
| 1658 echo "configure:1659: checking whether we are using GNU C" >&5 | 1659 echo "configure:1660: checking whether we are using GNU C" >&5 |
| 1659 | 1660 |
| 1660 cat > conftest.c <<EOF | 1661 cat > conftest.c <<EOF |
| 1661 #ifdef __GNUC__ | 1662 #ifdef __GNUC__ |
| 1662 yes; | 1663 yes; |
| 1663 #endif | 1664 #endif |
| 1664 EOF | 1665 EOF |
| 1665 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1666: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then | 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 |
| 1666 ac_cv_prog_gcc=yes | 1667 ac_cv_prog_gcc=yes |
| 1667 else | 1668 else |
| 1668 ac_cv_prog_gcc=no | 1669 ac_cv_prog_gcc=no |
| 1669 fi | 1670 fi |
| 1670 | 1671 |
| 1674 GCC=yes | 1675 GCC=yes |
| 1675 ac_test_CFLAGS="${CFLAGS+set}" | 1676 ac_test_CFLAGS="${CFLAGS+set}" |
| 1676 ac_save_CFLAGS="$CFLAGS" | 1677 ac_save_CFLAGS="$CFLAGS" |
| 1677 CFLAGS= | 1678 CFLAGS= |
| 1678 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 | 1679 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 |
| 1679 echo "configure:1680: checking whether ${CC-cc} accepts -g" >&5 | 1680 echo "configure:1681: checking whether ${CC-cc} accepts -g" >&5 |
| 1680 | 1681 |
| 1681 echo 'void f(){}' > conftest.c | 1682 echo 'void f(){}' > conftest.c |
| 1682 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then | 1683 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then |
| 1683 ac_cv_prog_cc_g=yes | 1684 ac_cv_prog_cc_g=yes |
| 1684 else | 1685 else |
| 1703 elif test "$with_gcc" = "yes" -a "$GCC" != "yes" ; then | 1704 elif test "$with_gcc" = "yes" -a "$GCC" != "yes" ; then |
| 1704 CC=gcc | 1705 CC=gcc |
| 1705 # Extract the first word of "gcc", so it can be a program name with args. | 1706 # Extract the first word of "gcc", so it can be a program name with args. |
| 1706 set dummy gcc; ac_word=$2 | 1707 set dummy gcc; ac_word=$2 |
| 1707 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 1708 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
| 1708 echo "configure:1709: checking for $ac_word" >&5 | 1709 echo "configure:1710: checking for $ac_word" >&5 |
| 1709 | 1710 |
| 1710 if test -n "$CC"; then | 1711 if test -n "$CC"; then |
| 1711 ac_cv_prog_CC="$CC" # Let the user override the test. | 1712 ac_cv_prog_CC="$CC" # Let the user override the test. |
| 1712 else | 1713 else |
| 1713 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" | 1714 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" |
| 1729 | 1730 |
| 1730 if test -z "$CC"; then | 1731 if test -z "$CC"; then |
| 1731 # Extract the first word of "cc", so it can be a program name with args. | 1732 # Extract the first word of "cc", so it can be a program name with args. |
| 1732 set dummy cc; ac_word=$2 | 1733 set dummy cc; ac_word=$2 |
| 1733 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 1734 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
| 1734 echo "configure:1735: checking for $ac_word" >&5 | 1735 echo "configure:1736: checking for $ac_word" >&5 |
| 1735 | 1736 |
| 1736 if test -n "$CC"; then | 1737 if test -n "$CC"; then |
| 1737 ac_cv_prog_CC="$CC" # Let the user override the test. | 1738 ac_cv_prog_CC="$CC" # Let the user override the test. |
| 1738 else | 1739 else |
| 1739 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" | 1740 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" |
| 1774 | 1775 |
| 1775 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } | 1776 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } |
| 1776 fi | 1777 fi |
| 1777 | 1778 |
| 1778 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 | 1779 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 |
| 1779 echo "configure:1780: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 | 1780 echo "configure:1781: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 |
| 1780 | 1781 |
| 1781 ac_ext=c | 1782 ac_ext=c |
| 1782 xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS' | 1783 xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS' |
| 1783 xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_switch_x_site $ld_switch_run' | 1784 xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_switch_x_site $ld_switch_run' |
| 1784 xe_libs='$ld_call_shared $xe_check_libs $X_EXTRA_LIBS $libs_x $X_PRE_LIBS $LIBS $libs_machine $libs_system $libs_standard' | 1785 xe_libs='$ld_call_shared $xe_check_libs $X_EXTRA_LIBS $libs_x $X_PRE_LIBS $LIBS $libs_machine $libs_system $libs_standard' |
| 1786 ac_compile='${CC-cc} -c $CFLAGS '"$xe_cppflags"' conftest.$ac_ext 1>&5' | 1787 ac_compile='${CC-cc} -c $CFLAGS '"$xe_cppflags"' conftest.$ac_ext 1>&5' |
| 1787 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' | 1788 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' |
| 1788 cross_compiling=no | 1789 cross_compiling=no |
| 1789 | 1790 |
| 1790 cat > conftest.$ac_ext <<EOF | 1791 cat > conftest.$ac_ext <<EOF |
| 1791 #line 1792 "configure" | 1792 #line 1793 "configure" |
| 1792 #include "confdefs.h" | 1793 #include "confdefs.h" |
| 1793 main(){return(0);} | 1794 main(){return(0);} |
| 1794 EOF | 1795 EOF |
| 1795 if { (eval echo configure:1796: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 1796 if { (eval echo configure:1797: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 1796 ac_cv_prog_cc_works=yes | 1797 ac_cv_prog_cc_works=yes |
| 1797 # If we can't run a trivial program, we are probably using a cross compiler. | 1798 # If we can't run a trivial program, we are probably using a cross compiler. |
| 1798 if (./conftest; exit) 2>/dev/null; then | 1799 if (./conftest; exit) 2>/dev/null; then |
| 1799 ac_cv_prog_cc_cross=no | 1800 ac_cv_prog_cc_cross=no |
| 1800 else | 1801 else |
| 1810 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 | 1811 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 |
| 1811 if test $ac_cv_prog_cc_works = no; then | 1812 if test $ac_cv_prog_cc_works = no; then |
| 1812 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } | 1813 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } |
| 1813 fi | 1814 fi |
| 1814 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 | 1815 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 |
| 1815 echo "configure:1816: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 | 1816 echo "configure:1817: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 |
| 1816 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 | 1817 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 |
| 1817 cross_compiling=$ac_cv_prog_cc_cross | 1818 cross_compiling=$ac_cv_prog_cc_cross |
| 1818 | 1819 |
| 1819 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 | 1820 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 |
| 1820 echo "configure:1821: checking whether we are using GNU C" >&5 | 1821 echo "configure:1822: checking whether we are using GNU C" >&5 |
| 1821 | 1822 |
| 1822 cat > conftest.c <<EOF | 1823 cat > conftest.c <<EOF |
| 1823 #ifdef __GNUC__ | 1824 #ifdef __GNUC__ |
| 1824 yes; | 1825 yes; |
| 1825 #endif | 1826 #endif |
| 1826 EOF | 1827 EOF |
| 1827 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1828: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then | 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 |
| 1828 ac_cv_prog_gcc=yes | 1829 ac_cv_prog_gcc=yes |
| 1829 else | 1830 else |
| 1830 ac_cv_prog_gcc=no | 1831 ac_cv_prog_gcc=no |
| 1831 fi | 1832 fi |
| 1832 | 1833 |
| 1836 GCC=yes | 1837 GCC=yes |
| 1837 ac_test_CFLAGS="${CFLAGS+set}" | 1838 ac_test_CFLAGS="${CFLAGS+set}" |
| 1838 ac_save_CFLAGS="$CFLAGS" | 1839 ac_save_CFLAGS="$CFLAGS" |
| 1839 CFLAGS= | 1840 CFLAGS= |
| 1840 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 | 1841 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 |
| 1841 echo "configure:1842: checking whether ${CC-cc} accepts -g" >&5 | 1842 echo "configure:1843: checking whether ${CC-cc} accepts -g" >&5 |
| 1842 | 1843 |
| 1843 echo 'void f(){}' > conftest.c | 1844 echo 'void f(){}' > conftest.c |
| 1844 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then | 1845 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then |
| 1845 ac_cv_prog_cc_g=yes | 1846 ac_cv_prog_cc_g=yes |
| 1846 else | 1847 else |
| 1869 test -n "$CPP" -a -d "$CPP" && CPP= | 1870 test -n "$CPP" -a -d "$CPP" && CPP= |
| 1870 | 1871 |
| 1871 test -n "$NON_GNU_CPP" -a "$GCC" != "yes" -a -z "$CPP" && CPP="$NON_GNU_CPP" | 1872 test -n "$NON_GNU_CPP" -a "$GCC" != "yes" -a -z "$CPP" && CPP="$NON_GNU_CPP" |
| 1872 | 1873 |
| 1873 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6 | 1874 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6 |
| 1874 echo "configure:1875: checking how to run the C preprocessor" >&5 | 1875 echo "configure:1876: checking how to run the C preprocessor" >&5 |
| 1875 # On Suns, sometimes $CPP names a directory. | 1876 # On Suns, sometimes $CPP names a directory. |
| 1876 if test -n "$CPP" && test -d "$CPP"; then | 1877 if test -n "$CPP" && test -d "$CPP"; then |
| 1877 CPP= | 1878 CPP= |
| 1878 fi | 1879 fi |
| 1879 if test -z "$CPP"; then | 1880 if test -z "$CPP"; then |
| 1882 # substituted into the Makefile and "${CC-cc}" will confuse make. | 1883 # substituted into the Makefile and "${CC-cc}" will confuse make. |
| 1883 CPP="${CC-cc} -E" | 1884 CPP="${CC-cc} -E" |
| 1884 # On the NeXT, cc -E runs the code through the compiler's parser, | 1885 # On the NeXT, cc -E runs the code through the compiler's parser, |
| 1885 # not just through cpp. | 1886 # not just through cpp. |
| 1886 cat > conftest.$ac_ext <<EOF | 1887 cat > conftest.$ac_ext <<EOF |
| 1887 #line 1888 "configure" | 1888 #line 1889 "configure" |
| 1888 #include "confdefs.h" | 1889 #include "confdefs.h" |
| 1889 #include <assert.h> | 1890 #include <assert.h> |
| 1890 Syntax Error | 1891 Syntax Error |
| 1891 EOF | 1892 EOF |
| 1892 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 1893 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 1893 { (eval echo configure:1894: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 1894 { (eval echo configure:1895: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 1894 ac_err=`grep -v '^ *+' conftest.out` | 1895 ac_err=`grep -v '^ *+' conftest.out` |
| 1895 if test -z "$ac_err"; then | 1896 if test -z "$ac_err"; then |
| 1896 : | 1897 : |
| 1897 else | 1898 else |
| 1898 echo "$ac_err" >&5 | 1899 echo "$ac_err" >&5 |
| 1899 echo "configure: failed program was:" >&5 | 1900 echo "configure: failed program was:" >&5 |
| 1900 cat conftest.$ac_ext >&5 | 1901 cat conftest.$ac_ext >&5 |
| 1901 rm -rf conftest* | 1902 rm -rf conftest* |
| 1902 CPP="${CC-cc} -E -traditional-cpp" | 1903 CPP="${CC-cc} -E -traditional-cpp" |
| 1903 cat > conftest.$ac_ext <<EOF | 1904 cat > conftest.$ac_ext <<EOF |
| 1904 #line 1905 "configure" | 1905 #line 1906 "configure" |
| 1905 #include "confdefs.h" | 1906 #include "confdefs.h" |
| 1906 #include <assert.h> | 1907 #include <assert.h> |
| 1907 Syntax Error | 1908 Syntax Error |
| 1908 EOF | 1909 EOF |
| 1909 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 1910 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 1910 { (eval echo configure:1911: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 1911 { (eval echo configure:1912: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 1911 ac_err=`grep -v '^ *+' conftest.out` | 1912 ac_err=`grep -v '^ *+' conftest.out` |
| 1912 if test -z "$ac_err"; then | 1913 if test -z "$ac_err"; then |
| 1913 : | 1914 : |
| 1914 else | 1915 else |
| 1915 echo "$ac_err" >&5 | 1916 echo "$ac_err" >&5 |
| 1928 fi | 1929 fi |
| 1929 echo "$ac_t""$CPP" 1>&6 | 1930 echo "$ac_t""$CPP" 1>&6 |
| 1930 | 1931 |
| 1931 | 1932 |
| 1932 echo $ac_n "checking for AIX""... $ac_c" 1>&6 | 1933 echo $ac_n "checking for AIX""... $ac_c" 1>&6 |
| 1933 echo "configure:1934: checking for AIX" >&5 | 1934 echo "configure:1935: checking for AIX" >&5 |
| 1934 cat > conftest.$ac_ext <<EOF | 1935 cat > conftest.$ac_ext <<EOF |
| 1935 #line 1936 "configure" | 1936 #line 1937 "configure" |
| 1936 #include "confdefs.h" | 1937 #include "confdefs.h" |
| 1937 #ifdef _AIX | 1938 #ifdef _AIX |
| 1938 yes | 1939 yes |
| 1939 #endif | 1940 #endif |
| 1940 | 1941 |
| 1957 rm -f conftest* | 1958 rm -f conftest* |
| 1958 | 1959 |
| 1959 | 1960 |
| 1960 | 1961 |
| 1961 echo $ac_n "checking for GNU libc""... $ac_c" 1>&6 | 1962 echo $ac_n "checking for GNU libc""... $ac_c" 1>&6 |
| 1962 echo "configure:1963: checking for GNU libc" >&5 | 1963 echo "configure:1964: checking for GNU libc" >&5 |
| 1963 cat > conftest.$ac_ext <<EOF | 1964 cat > conftest.$ac_ext <<EOF |
| 1964 #line 1965 "configure" | 1965 #line 1966 "configure" |
| 1965 #include "confdefs.h" | 1966 #include "confdefs.h" |
| 1966 #include <features.h> | 1967 #include <features.h> |
| 1967 int main() { | 1968 int main() { |
| 1968 | 1969 |
| 1969 #if ! (defined __GLIBC__ || defined __GNU_LIBRARY__) | 1970 #if ! (defined __GLIBC__ || defined __GNU_LIBRARY__) |
| 1971 ******* ======= ******** &&&&&&&& | 1972 ******* ======= ******** &&&&&&&& |
| 1972 #endif | 1973 #endif |
| 1973 | 1974 |
| 1974 ; return 0; } | 1975 ; return 0; } |
| 1975 EOF | 1976 EOF |
| 1976 if { (eval echo configure:1977: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 1977 if { (eval echo configure:1978: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| 1977 rm -rf conftest* | 1978 rm -rf conftest* |
| 1978 have_glibc=yes | 1979 have_glibc=yes |
| 1979 else | 1980 else |
| 1980 echo "configure: failed program was:" >&5 | 1981 echo "configure: failed program was:" >&5 |
| 1981 cat conftest.$ac_ext >&5 | 1982 cat conftest.$ac_ext >&5 |
| 1992 EOF | 1993 EOF |
| 1993 } | 1994 } |
| 1994 | 1995 |
| 1995 | 1996 |
| 1996 echo $ac_n "checking whether we are using SunPro C""... $ac_c" 1>&6 | 1997 echo $ac_n "checking whether we are using SunPro C""... $ac_c" 1>&6 |
| 1997 echo "configure:1998: checking whether we are using SunPro C" >&5 | 1998 echo "configure:1999: checking whether we are using SunPro C" >&5 |
| 1998 cat > conftest.$ac_ext <<EOF | 1999 cat > conftest.$ac_ext <<EOF |
| 1999 #line 2000 "configure" | 2000 #line 2001 "configure" |
| 2000 #include "confdefs.h" | 2001 #include "confdefs.h" |
| 2001 | 2002 |
| 2002 int main() { | 2003 int main() { |
| 2003 #ifndef __SUNPRO_C | 2004 #ifndef __SUNPRO_C |
| 2004 #error Not a SunPro compiler :-( | 2005 #error Not a SunPro compiler :-( |
| 2005 ******* ======= ******** &&&&&&&& | 2006 ******* ======= ******** &&&&&&&& |
| 2006 #endif | 2007 #endif |
| 2007 | 2008 |
| 2008 ; return 0; } | 2009 ; return 0; } |
| 2009 EOF | 2010 EOF |
| 2010 if { (eval echo configure:2011: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 2011 if { (eval echo configure:2012: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| 2011 rm -rf conftest* | 2012 rm -rf conftest* |
| 2012 __sunpro_c=yes | 2013 __sunpro_c=yes |
| 2013 else | 2014 else |
| 2014 echo "configure: failed program was:" >&5 | 2015 echo "configure: failed program was:" >&5 |
| 2015 cat conftest.$ac_ext >&5 | 2016 cat conftest.$ac_ext >&5 |
| 2027 | 2028 |
| 2028 | 2029 |
| 2029 | 2030 |
| 2030 | 2031 |
| 2031 | 2032 |
| 2033 | |
| 2034 echo > $tempcname | |
| 2032 | 2035 |
| 2033 echo ' | 2036 echo ' |
| 2034 #define NOT_C_CODE | 2037 #define NOT_C_CODE |
| 2035 #define C_SWITCH_SITE | 2038 #define C_SWITCH_SITE |
| 2036 #define C_SWITCH_X_SITE | 2039 #define C_SWITCH_X_SITE |
| 2060 #define LIB_STANDARD | 2063 #define LIB_STANDARD |
| 2061 #endif | 2064 #endif |
| 2062 configure___ libs_standard=LIB_STANDARD | 2065 configure___ libs_standard=LIB_STANDARD |
| 2063 | 2066 |
| 2064 | 2067 |
| 2068 ' >> $tempcname | |
| 2069 echo ' | |
| 2070 | |
| 2065 #ifndef OBJECTS_MACHINE | 2071 #ifndef OBJECTS_MACHINE |
| 2066 #define OBJECTS_MACHINE | 2072 #define OBJECTS_MACHINE |
| 2067 #endif | 2073 #endif |
| 2068 configure___ objects_machine=OBJECTS_MACHINE | 2074 configure___ objects_machine=OBJECTS_MACHINE |
| 2069 | 2075 |
| 2104 #ifndef LD_SWITCH_SHARED | 2110 #ifndef LD_SWITCH_SHARED |
| 2105 #define LD_SWITCH_SHARED "-c" | 2111 #define LD_SWITCH_SHARED "-c" |
| 2106 #endif | 2112 #endif |
| 2107 configure___ ld_switch_shared=LD_SWITCH_SHARED | 2113 configure___ ld_switch_shared=LD_SWITCH_SHARED |
| 2108 | 2114 |
| 2115 | |
| 2116 ' >> $tempcname | |
| 2117 echo ' | |
| 2109 | 2118 |
| 2110 #ifdef ORDINARY_LINK | 2119 #ifdef ORDINARY_LINK |
| 2111 #define LD "$(CC) $(CFLAGS)" | 2120 #define LD "$(CC) $(CFLAGS)" |
| 2112 #else /* no ORDINARY LINK */ | 2121 #else /* no ORDINARY LINK */ |
| 2113 #ifdef COFF_ENCAPSULATE | 2122 #ifdef COFF_ENCAPSULATE |
| 2130 #ifndef LD_TEXT_START_ADDR | 2139 #ifndef LD_TEXT_START_ADDR |
| 2131 #define LD_TEXT_START_ADDR | 2140 #define LD_TEXT_START_ADDR |
| 2132 #endif | 2141 #endif |
| 2133 configure___ ld_text_start_addr=LD_TEXT_START_ADDR | 2142 configure___ ld_text_start_addr=LD_TEXT_START_ADDR |
| 2134 | 2143 |
| 2144 | |
| 2145 ' >> $tempcname | |
| 2146 echo ' | |
| 2135 | 2147 |
| 2136 #if ! defined (ORDINARY_LINK) && !defined (START_FILES) | 2148 #if ! defined (ORDINARY_LINK) && !defined (START_FILES) |
| 2137 #ifdef NO_REMAP | 2149 #ifdef NO_REMAP |
| 2138 #ifdef COFF_ENCAPSULATE | 2150 #ifdef COFF_ENCAPSULATE |
| 2139 #define START_FILES "pre-crt0.o /usr/local/lib/gcc-crt0.o" | 2151 #define START_FILES "pre-crt0.o /usr/local/lib/gcc-crt0.o" |
| 2178 #else | 2190 #else |
| 2179 configure___ mail_use_lockf=no | 2191 configure___ mail_use_lockf=no |
| 2180 #endif | 2192 #endif |
| 2181 | 2193 |
| 2182 | 2194 |
| 2183 ' > $tempcname | 2195 ' >> $tempcname |
| 2184 CPP=`eval "echo $CPP"` | 2196 CPP=`eval "echo $CPP"` |
| 2185 eval `$CPP -Isrc $tempcname \ | 2197 eval `$CPP -Isrc $tempcname \ |
| 2186 | sed -n -e "s/[ ]*=[ \"]*/='/" -e "s/[ \"]*\$/'/" -e "s/^configure___//p"` | 2198 | sed -n -e "s/[ ]*=[ \"]*/='/" -e "s/[ \"]*\$/'/" -e "s/^configure___//p"` |
| 2187 | 2199 |
| 2188 rm $tempcname | 2200 rm $tempcname |
| 2268 test -n "$unexec" && extra_objs="$extra_objs $unexec" && if test "$extra_verbose" = "yes"; then | 2280 test -n "$unexec" && extra_objs="$extra_objs $unexec" && if test "$extra_verbose" = "yes"; then |
| 2269 echo " xemacs will be linked with \"$unexec\"" | 2281 echo " xemacs will be linked with \"$unexec\"" |
| 2270 fi | 2282 fi |
| 2271 | 2283 |
| 2272 echo $ac_n "checking for dynodump""... $ac_c" 1>&6 | 2284 echo $ac_n "checking for dynodump""... $ac_c" 1>&6 |
| 2273 echo "configure:2274: checking for dynodump" >&5 | 2285 echo "configure:2286: checking for dynodump" >&5 |
| 2274 if test "$unexec" != "unexsol2.o"; then | 2286 if test "$unexec" != "unexsol2.o"; then |
| 2275 echo "$ac_t""no" 1>&6 | 2287 echo "$ac_t""no" 1>&6 |
| 2276 else | 2288 else |
| 2277 echo "$ac_t""yes" 1>&6 | 2289 echo "$ac_t""yes" 1>&6 |
| 2278 { test "$extra_verbose" = "yes" && cat << \EOF | 2290 { test "$extra_verbose" = "yes" && cat << \EOF |
| 2368 esac | 2380 esac |
| 2369 fi | 2381 fi |
| 2370 | 2382 |
| 2371 if test "$add_runtime_path" = "yes"; then | 2383 if test "$add_runtime_path" = "yes"; then |
| 2372 echo $ac_n "checking "for runtime libraries flag"""... $ac_c" 1>&6 | 2384 echo $ac_n "checking "for runtime libraries flag"""... $ac_c" 1>&6 |
| 2373 echo "configure:2374: checking "for runtime libraries flag"" >&5 | 2385 echo "configure:2386: checking "for runtime libraries flag"" >&5 |
| 2374 dash_r="" | 2386 dash_r="" |
| 2375 for try_dash_r in "-R" "-R " "-rpath "; do | 2387 for try_dash_r in "-R" "-R " "-rpath "; do |
| 2376 xe_check_libs="${try_dash_r}/no/such/file-or-directory" | 2388 xe_check_libs="${try_dash_r}/no/such/file-or-directory" |
| 2377 | 2389 |
| 2378 if test "$GCC" = "yes"; then | 2390 if test "$GCC" = "yes"; then |
| 2386 esac | 2398 esac |
| 2387 shift | 2399 shift |
| 2388 done | 2400 done |
| 2389 fi | 2401 fi |
| 2390 cat > conftest.$ac_ext <<EOF | 2402 cat > conftest.$ac_ext <<EOF |
| 2391 #line 2392 "configure" | 2403 #line 2404 "configure" |
| 2392 #include "confdefs.h" | 2404 #include "confdefs.h" |
| 2393 | 2405 |
| 2394 int main() { | 2406 int main() { |
| 2395 | 2407 |
| 2396 ; return 0; } | 2408 ; return 0; } |
| 2397 EOF | 2409 EOF |
| 2398 if { (eval echo configure:2399: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 2410 if { (eval echo configure:2411: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 2399 rm -rf conftest* | 2411 rm -rf conftest* |
| 2400 dash_r="$try_dash_r" | 2412 dash_r="$try_dash_r" |
| 2401 else | 2413 else |
| 2402 echo "configure: failed program was:" >&5 | 2414 echo "configure: failed program was:" >&5 |
| 2403 cat conftest.$ac_ext >&5 | 2415 cat conftest.$ac_ext >&5 |
| 2493 else | 2505 else |
| 2494 doug_lea_malloc=no | 2506 doug_lea_malloc=no |
| 2495 fi | 2507 fi |
| 2496 after_morecore_hook_exists=yes | 2508 after_morecore_hook_exists=yes |
| 2497 echo $ac_n "checking for malloc_get_state""... $ac_c" 1>&6 | 2509 echo $ac_n "checking for malloc_get_state""... $ac_c" 1>&6 |
| 2498 echo "configure:2499: checking for malloc_get_state" >&5 | 2510 echo "configure:2511: checking for malloc_get_state" >&5 |
| 2499 | 2511 |
| 2500 cat > conftest.$ac_ext <<EOF | 2512 cat > conftest.$ac_ext <<EOF |
| 2501 #line 2502 "configure" | 2513 #line 2514 "configure" |
| 2502 #include "confdefs.h" | 2514 #include "confdefs.h" |
| 2503 /* System header to define __stub macros and hopefully few prototypes, | 2515 /* System header to define __stub macros and hopefully few prototypes, |
| 2504 which can conflict with char malloc_get_state(); below. */ | 2516 which can conflict with char malloc_get_state(); below. */ |
| 2505 #include <assert.h> | 2517 #include <assert.h> |
| 2506 /* Override any gcc2 internal prototype to avoid an error. */ | 2518 /* Override any gcc2 internal prototype to avoid an error. */ |
| 2519 malloc_get_state(); | 2531 malloc_get_state(); |
| 2520 #endif | 2532 #endif |
| 2521 | 2533 |
| 2522 ; return 0; } | 2534 ; return 0; } |
| 2523 EOF | 2535 EOF |
| 2524 if { (eval echo configure:2525: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 2536 if { (eval echo configure:2537: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 2525 rm -rf conftest* | 2537 rm -rf conftest* |
| 2526 eval "ac_cv_func_malloc_get_state=yes" | 2538 eval "ac_cv_func_malloc_get_state=yes" |
| 2527 else | 2539 else |
| 2528 echo "configure: failed program was:" >&5 | 2540 echo "configure: failed program was:" >&5 |
| 2529 cat conftest.$ac_ext >&5 | 2541 cat conftest.$ac_ext >&5 |
| 2539 echo "$ac_t""no" 1>&6 | 2551 echo "$ac_t""no" 1>&6 |
| 2540 doug_lea_malloc=no | 2552 doug_lea_malloc=no |
| 2541 fi | 2553 fi |
| 2542 | 2554 |
| 2543 echo $ac_n "checking for malloc_set_state""... $ac_c" 1>&6 | 2555 echo $ac_n "checking for malloc_set_state""... $ac_c" 1>&6 |
| 2544 echo "configure:2545: checking for malloc_set_state" >&5 | 2556 echo "configure:2557: checking for malloc_set_state" >&5 |
| 2545 | 2557 |
| 2546 cat > conftest.$ac_ext <<EOF | 2558 cat > conftest.$ac_ext <<EOF |
| 2547 #line 2548 "configure" | 2559 #line 2560 "configure" |
| 2548 #include "confdefs.h" | 2560 #include "confdefs.h" |
| 2549 /* System header to define __stub macros and hopefully few prototypes, | 2561 /* System header to define __stub macros and hopefully few prototypes, |
| 2550 which can conflict with char malloc_set_state(); below. */ | 2562 which can conflict with char malloc_set_state(); below. */ |
| 2551 #include <assert.h> | 2563 #include <assert.h> |
| 2552 /* Override any gcc2 internal prototype to avoid an error. */ | 2564 /* Override any gcc2 internal prototype to avoid an error. */ |
| 2565 malloc_set_state(); | 2577 malloc_set_state(); |
| 2566 #endif | 2578 #endif |
| 2567 | 2579 |
| 2568 ; return 0; } | 2580 ; return 0; } |
| 2569 EOF | 2581 EOF |
| 2570 if { (eval echo configure:2571: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 2582 if { (eval echo configure:2583: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 2571 rm -rf conftest* | 2583 rm -rf conftest* |
| 2572 eval "ac_cv_func_malloc_set_state=yes" | 2584 eval "ac_cv_func_malloc_set_state=yes" |
| 2573 else | 2585 else |
| 2574 echo "configure: failed program was:" >&5 | 2586 echo "configure: failed program was:" >&5 |
| 2575 cat conftest.$ac_ext >&5 | 2587 cat conftest.$ac_ext >&5 |
| 2585 echo "$ac_t""no" 1>&6 | 2597 echo "$ac_t""no" 1>&6 |
| 2586 doug_lea_malloc=no | 2598 doug_lea_malloc=no |
| 2587 fi | 2599 fi |
| 2588 | 2600 |
| 2589 echo $ac_n "checking whether __after_morecore_hook exists""... $ac_c" 1>&6 | 2601 echo $ac_n "checking whether __after_morecore_hook exists""... $ac_c" 1>&6 |
| 2590 echo "configure:2591: checking whether __after_morecore_hook exists" >&5 | 2602 echo "configure:2603: checking whether __after_morecore_hook exists" >&5 |
| 2591 cat > conftest.$ac_ext <<EOF | 2603 cat > conftest.$ac_ext <<EOF |
| 2592 #line 2593 "configure" | 2604 #line 2605 "configure" |
| 2593 #include "confdefs.h" | 2605 #include "confdefs.h" |
| 2594 extern void (* __after_morecore_hook)(); | 2606 extern void (* __after_morecore_hook)(); |
| 2595 int main() { | 2607 int main() { |
| 2596 __after_morecore_hook = 0 | 2608 __after_morecore_hook = 0 |
| 2597 ; return 0; } | 2609 ; return 0; } |
| 2598 EOF | 2610 EOF |
| 2599 if { (eval echo configure:2600: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 2611 if { (eval echo configure:2612: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 2600 rm -rf conftest* | 2612 rm -rf conftest* |
| 2601 echo "$ac_t""yes" 1>&6 | 2613 echo "$ac_t""yes" 1>&6 |
| 2602 else | 2614 else |
| 2603 echo "configure: failed program was:" >&5 | 2615 echo "configure: failed program was:" >&5 |
| 2604 cat conftest.$ac_ext >&5 | 2616 cat conftest.$ac_ext >&5 |
| 2653 | 2665 |
| 2654 | 2666 |
| 2655 # Extract the first word of "ranlib", so it can be a program name with args. | 2667 # Extract the first word of "ranlib", so it can be a program name with args. |
| 2656 set dummy ranlib; ac_word=$2 | 2668 set dummy ranlib; ac_word=$2 |
| 2657 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 2669 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
| 2658 echo "configure:2659: checking for $ac_word" >&5 | 2670 echo "configure:2671: checking for $ac_word" >&5 |
| 2659 | 2671 |
| 2660 if test -n "$RANLIB"; then | 2672 if test -n "$RANLIB"; then |
| 2661 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. | 2673 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. |
| 2662 else | 2674 else |
| 2663 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" | 2675 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" |
| 2706 # AIX /bin/install | 2718 # AIX /bin/install |
| 2707 # AFS /usr/afsws/bin/install, which mishandles nonexistent args | 2719 # AFS /usr/afsws/bin/install, which mishandles nonexistent args |
| 2708 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" | 2720 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" |
| 2709 # ./install, which can be erroneously created by make from ./install.sh. | 2721 # ./install, which can be erroneously created by make from ./install.sh. |
| 2710 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 | 2722 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 |
| 2711 echo "configure:2712: checking for a BSD compatible install" >&5 | 2723 echo "configure:2724: checking for a BSD compatible install" >&5 |
| 2712 if test -z "$INSTALL"; then | 2724 if test -z "$INSTALL"; then |
| 2713 | 2725 |
| 2714 IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS="${IFS}:" | 2726 IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS="${IFS}:" |
| 2715 for ac_dir in $PATH; do | 2727 for ac_dir in $PATH; do |
| 2716 # Account for people who put trailing slashes in PATH elements. | 2728 # Account for people who put trailing slashes in PATH elements. |
| 2757 for ac_prog in 'bison -y' byacc | 2769 for ac_prog in 'bison -y' byacc |
| 2758 do | 2770 do |
| 2759 # Extract the first word of "$ac_prog", so it can be a program name with args. | 2771 # Extract the first word of "$ac_prog", so it can be a program name with args. |
| 2760 set dummy $ac_prog; ac_word=$2 | 2772 set dummy $ac_prog; ac_word=$2 |
| 2761 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 2773 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
| 2762 echo "configure:2763: checking for $ac_word" >&5 | 2774 echo "configure:2775: checking for $ac_word" >&5 |
| 2763 | 2775 |
| 2764 if test -n "$YACC"; then | 2776 if test -n "$YACC"; then |
| 2765 ac_cv_prog_YACC="$YACC" # Let the user override the test. | 2777 ac_cv_prog_YACC="$YACC" # Let the user override the test. |
| 2766 else | 2778 else |
| 2767 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" | 2779 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" |
| 2788 | 2800 |
| 2789 for ac_hdr in mach/mach.h sys/stropts.h sys/timeb.h sys/time.h unistd.h | 2801 for ac_hdr in mach/mach.h sys/stropts.h sys/timeb.h sys/time.h unistd.h |
| 2790 do | 2802 do |
| 2791 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 2803 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
| 2792 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 2804 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
| 2793 echo "configure:2794: checking for $ac_hdr" >&5 | 2805 echo "configure:2806: checking for $ac_hdr" >&5 |
| 2794 | 2806 |
| 2795 cat > conftest.$ac_ext <<EOF | 2807 cat > conftest.$ac_ext <<EOF |
| 2796 #line 2797 "configure" | 2808 #line 2809 "configure" |
| 2797 #include "confdefs.h" | 2809 #include "confdefs.h" |
| 2798 #include <$ac_hdr> | 2810 #include <$ac_hdr> |
| 2799 EOF | 2811 EOF |
| 2800 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 2812 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 2801 { (eval echo configure:2802: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 2813 { (eval echo configure:2814: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 2802 ac_err=`grep -v '^ *+' conftest.out` | 2814 ac_err=`grep -v '^ *+' conftest.out` |
| 2803 if test -z "$ac_err"; then | 2815 if test -z "$ac_err"; then |
| 2804 rm -rf conftest* | 2816 rm -rf conftest* |
| 2805 eval "ac_cv_header_$ac_safe=yes" | 2817 eval "ac_cv_header_$ac_safe=yes" |
| 2806 else | 2818 else |
| 2829 | 2841 |
| 2830 for ac_hdr in utime.h locale.h libgen.h fcntl.h ulimit.h | 2842 for ac_hdr in utime.h locale.h libgen.h fcntl.h ulimit.h |
| 2831 do | 2843 do |
| 2832 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 2844 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
| 2833 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 2845 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
| 2834 echo "configure:2835: checking for $ac_hdr" >&5 | 2846 echo "configure:2847: checking for $ac_hdr" >&5 |
| 2835 | 2847 |
| 2836 cat > conftest.$ac_ext <<EOF | 2848 cat > conftest.$ac_ext <<EOF |
| 2837 #line 2838 "configure" | 2849 #line 2850 "configure" |
| 2838 #include "confdefs.h" | 2850 #include "confdefs.h" |
| 2839 #include <$ac_hdr> | 2851 #include <$ac_hdr> |
| 2840 EOF | 2852 EOF |
| 2841 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 2853 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 2842 { (eval echo configure:2843: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 2854 { (eval echo configure:2855: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 2843 ac_err=`grep -v '^ *+' conftest.out` | 2855 ac_err=`grep -v '^ *+' conftest.out` |
| 2844 if test -z "$ac_err"; then | 2856 if test -z "$ac_err"; then |
| 2845 rm -rf conftest* | 2857 rm -rf conftest* |
| 2846 eval "ac_cv_header_$ac_safe=yes" | 2858 eval "ac_cv_header_$ac_safe=yes" |
| 2847 else | 2859 else |
| 2870 | 2882 |
| 2871 for ac_hdr in linux/version.h kstat.h sys/pstat.h inttypes.h sys/un.h a.out.h | 2883 for ac_hdr in linux/version.h kstat.h sys/pstat.h inttypes.h sys/un.h a.out.h |
| 2872 do | 2884 do |
| 2873 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 2885 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
| 2874 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 2886 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
| 2875 echo "configure:2876: checking for $ac_hdr" >&5 | 2887 echo "configure:2888: checking for $ac_hdr" >&5 |
| 2876 | 2888 |
| 2877 cat > conftest.$ac_ext <<EOF | 2889 cat > conftest.$ac_ext <<EOF |
| 2878 #line 2879 "configure" | 2890 #line 2891 "configure" |
| 2879 #include "confdefs.h" | 2891 #include "confdefs.h" |
| 2880 #include <$ac_hdr> | 2892 #include <$ac_hdr> |
| 2881 EOF | 2893 EOF |
| 2882 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 2894 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 2883 { (eval echo configure:2884: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 2895 { (eval echo configure:2896: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 2884 ac_err=`grep -v '^ *+' conftest.out` | 2896 ac_err=`grep -v '^ *+' conftest.out` |
| 2885 if test -z "$ac_err"; then | 2897 if test -z "$ac_err"; then |
| 2886 rm -rf conftest* | 2898 rm -rf conftest* |
| 2887 eval "ac_cv_header_$ac_safe=yes" | 2899 eval "ac_cv_header_$ac_safe=yes" |
| 2888 else | 2900 else |
| 2908 echo "$ac_t""no" 1>&6 | 2920 echo "$ac_t""no" 1>&6 |
| 2909 fi | 2921 fi |
| 2910 done | 2922 done |
| 2911 | 2923 |
| 2912 echo $ac_n "checking for sys/wait.h that is POSIX.1 compatible""... $ac_c" 1>&6 | 2924 echo $ac_n "checking for sys/wait.h that is POSIX.1 compatible""... $ac_c" 1>&6 |
| 2913 echo "configure:2914: checking for sys/wait.h that is POSIX.1 compatible" >&5 | 2925 echo "configure:2926: checking for sys/wait.h that is POSIX.1 compatible" >&5 |
| 2914 | 2926 |
| 2915 cat > conftest.$ac_ext <<EOF | 2927 cat > conftest.$ac_ext <<EOF |
| 2916 #line 2917 "configure" | 2928 #line 2929 "configure" |
| 2917 #include "confdefs.h" | 2929 #include "confdefs.h" |
| 2918 #include <sys/types.h> | 2930 #include <sys/types.h> |
| 2919 #include <sys/wait.h> | 2931 #include <sys/wait.h> |
| 2920 #ifndef WEXITSTATUS | 2932 #ifndef WEXITSTATUS |
| 2921 #define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8) | 2933 #define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8) |
| 2927 int s; | 2939 int s; |
| 2928 wait (&s); | 2940 wait (&s); |
| 2929 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1; | 2941 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1; |
| 2930 ; return 0; } | 2942 ; return 0; } |
| 2931 EOF | 2943 EOF |
| 2932 if { (eval echo configure:2933: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 2944 if { (eval echo configure:2945: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| 2933 rm -rf conftest* | 2945 rm -rf conftest* |
| 2934 ac_cv_header_sys_wait_h=yes | 2946 ac_cv_header_sys_wait_h=yes |
| 2935 else | 2947 else |
| 2936 echo "configure: failed program was:" >&5 | 2948 echo "configure: failed program was:" >&5 |
| 2937 cat conftest.$ac_ext >&5 | 2949 cat conftest.$ac_ext >&5 |
| 2951 } | 2963 } |
| 2952 | 2964 |
| 2953 fi | 2965 fi |
| 2954 | 2966 |
| 2955 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6 | 2967 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6 |
| 2956 echo "configure:2957: checking for ANSI C header files" >&5 | 2968 echo "configure:2969: checking for ANSI C header files" >&5 |
| 2957 | 2969 |
| 2958 cat > conftest.$ac_ext <<EOF | 2970 cat > conftest.$ac_ext <<EOF |
| 2959 #line 2960 "configure" | 2971 #line 2972 "configure" |
| 2960 #include "confdefs.h" | 2972 #include "confdefs.h" |
| 2961 #include <stdlib.h> | 2973 #include <stdlib.h> |
| 2962 #include <stdarg.h> | 2974 #include <stdarg.h> |
| 2963 #include <string.h> | 2975 #include <string.h> |
| 2964 #include <float.h> | 2976 #include <float.h> |
| 2965 EOF | 2977 EOF |
| 2966 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 2978 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 2967 { (eval echo configure:2968: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 2979 { (eval echo configure:2980: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 2968 ac_err=`grep -v '^ *+' conftest.out` | 2980 ac_err=`grep -v '^ *+' conftest.out` |
| 2969 if test -z "$ac_err"; then | 2981 if test -z "$ac_err"; then |
| 2970 rm -rf conftest* | 2982 rm -rf conftest* |
| 2971 ac_cv_header_stdc=yes | 2983 ac_cv_header_stdc=yes |
| 2972 else | 2984 else |
| 2979 rm -f conftest* | 2991 rm -f conftest* |
| 2980 | 2992 |
| 2981 if test $ac_cv_header_stdc = yes; then | 2993 if test $ac_cv_header_stdc = yes; then |
| 2982 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. | 2994 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. |
| 2983 cat > conftest.$ac_ext <<EOF | 2995 cat > conftest.$ac_ext <<EOF |
| 2984 #line 2985 "configure" | 2996 #line 2997 "configure" |
| 2985 #include "confdefs.h" | 2997 #include "confdefs.h" |
| 2986 #include <string.h> | 2998 #include <string.h> |
| 2987 EOF | 2999 EOF |
| 2988 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 3000 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
| 2989 egrep "memchr" >/dev/null 2>&1; then | 3001 egrep "memchr" >/dev/null 2>&1; then |
| 2997 fi | 3009 fi |
| 2998 | 3010 |
| 2999 if test $ac_cv_header_stdc = yes; then | 3011 if test $ac_cv_header_stdc = yes; then |
| 3000 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. | 3012 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. |
| 3001 cat > conftest.$ac_ext <<EOF | 3013 cat > conftest.$ac_ext <<EOF |
| 3002 #line 3003 "configure" | 3014 #line 3015 "configure" |
| 3003 #include "confdefs.h" | 3015 #include "confdefs.h" |
| 3004 #include <stdlib.h> | 3016 #include <stdlib.h> |
| 3005 EOF | 3017 EOF |
| 3006 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 3018 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
| 3007 egrep "free" >/dev/null 2>&1; then | 3019 egrep "free" >/dev/null 2>&1; then |
| 3015 fi | 3027 fi |
| 3016 | 3028 |
| 3017 if test $ac_cv_header_stdc = yes; then | 3029 if test $ac_cv_header_stdc = yes; then |
| 3018 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. | 3030 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. |
| 3019 cat > conftest.$ac_ext <<EOF | 3031 cat > conftest.$ac_ext <<EOF |
| 3020 #line 3021 "configure" | 3032 #line 3033 "configure" |
| 3021 #include "confdefs.h" | 3033 #include "confdefs.h" |
| 3022 #include <ctype.h> | 3034 #include <ctype.h> |
| 3023 #define ISLOWER(c) ('a' <= (c) && (c) <= 'z') | 3035 #define ISLOWER(c) ('a' <= (c) && (c) <= 'z') |
| 3024 #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) | 3036 #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) |
| 3025 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) | 3037 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) |
| 3026 int main () { int i; for (i = 0; i < 256; i++) | 3038 int main () { int i; for (i = 0; i < 256; i++) |
| 3027 if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2); | 3039 if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2); |
| 3028 exit (0); } | 3040 exit (0); } |
| 3029 | 3041 |
| 3030 EOF | 3042 EOF |
| 3031 if { (eval echo configure:3032: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 | 3043 if { (eval echo configure:3044: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 |
| 3032 then | 3044 then |
| 3033 : | 3045 : |
| 3034 else | 3046 else |
| 3035 echo "configure: failed program was:" >&5 | 3047 echo "configure: failed program was:" >&5 |
| 3036 cat conftest.$ac_ext >&5 | 3048 cat conftest.$ac_ext >&5 |
| 3051 } | 3063 } |
| 3052 | 3064 |
| 3053 fi | 3065 fi |
| 3054 | 3066 |
| 3055 echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6 | 3067 echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6 |
| 3056 echo "configure:3057: checking whether time.h and sys/time.h may both be included" >&5 | 3068 echo "configure:3069: checking whether time.h and sys/time.h may both be included" >&5 |
| 3057 | 3069 |
| 3058 cat > conftest.$ac_ext <<EOF | 3070 cat > conftest.$ac_ext <<EOF |
| 3059 #line 3060 "configure" | 3071 #line 3072 "configure" |
| 3060 #include "confdefs.h" | 3072 #include "confdefs.h" |
| 3061 #include <sys/types.h> | 3073 #include <sys/types.h> |
| 3062 #include <sys/time.h> | 3074 #include <sys/time.h> |
| 3063 #include <time.h> | 3075 #include <time.h> |
| 3064 int main() { | 3076 int main() { |
| 3065 struct tm *tp; | 3077 struct tm *tp; |
| 3066 ; return 0; } | 3078 ; return 0; } |
| 3067 EOF | 3079 EOF |
| 3068 if { (eval echo configure:3069: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3080 if { (eval echo configure:3081: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| 3069 rm -rf conftest* | 3081 rm -rf conftest* |
| 3070 ac_cv_header_time=yes | 3082 ac_cv_header_time=yes |
| 3071 else | 3083 else |
| 3072 echo "configure: failed program was:" >&5 | 3084 echo "configure: failed program was:" >&5 |
| 3073 cat conftest.$ac_ext >&5 | 3085 cat conftest.$ac_ext >&5 |
| 3087 } | 3099 } |
| 3088 | 3100 |
| 3089 fi | 3101 fi |
| 3090 | 3102 |
| 3091 echo $ac_n "checking for sys_siglist declaration in signal.h or unistd.h""... $ac_c" 1>&6 | 3103 echo $ac_n "checking for sys_siglist declaration in signal.h or unistd.h""... $ac_c" 1>&6 |
| 3092 echo "configure:3093: checking for sys_siglist declaration in signal.h or unistd.h" >&5 | 3104 echo "configure:3105: checking for sys_siglist declaration in signal.h or unistd.h" >&5 |
| 3093 | 3105 |
| 3094 cat > conftest.$ac_ext <<EOF | 3106 cat > conftest.$ac_ext <<EOF |
| 3095 #line 3096 "configure" | 3107 #line 3108 "configure" |
| 3096 #include "confdefs.h" | 3108 #include "confdefs.h" |
| 3097 #include <sys/types.h> | 3109 #include <sys/types.h> |
| 3098 #include <signal.h> | 3110 #include <signal.h> |
| 3099 /* NetBSD declares sys_siglist in unistd.h. */ | 3111 /* NetBSD declares sys_siglist in unistd.h. */ |
| 3100 #ifdef HAVE_UNISTD_H | 3112 #ifdef HAVE_UNISTD_H |
| 3102 #endif | 3114 #endif |
| 3103 int main() { | 3115 int main() { |
| 3104 char *msg = *(sys_siglist + 1); | 3116 char *msg = *(sys_siglist + 1); |
| 3105 ; return 0; } | 3117 ; return 0; } |
| 3106 EOF | 3118 EOF |
| 3107 if { (eval echo configure:3108: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3119 if { (eval echo configure:3120: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| 3108 rm -rf conftest* | 3120 rm -rf conftest* |
| 3109 ac_cv_decl_sys_siglist=yes | 3121 ac_cv_decl_sys_siglist=yes |
| 3110 else | 3122 else |
| 3111 echo "configure: failed program was:" >&5 | 3123 echo "configure: failed program was:" >&5 |
| 3112 cat conftest.$ac_ext >&5 | 3124 cat conftest.$ac_ext >&5 |
| 3127 | 3139 |
| 3128 fi | 3140 fi |
| 3129 | 3141 |
| 3130 | 3142 |
| 3131 echo $ac_n "checking for struct utimbuf""... $ac_c" 1>&6 | 3143 echo $ac_n "checking for struct utimbuf""... $ac_c" 1>&6 |
| 3132 echo "configure:3133: checking for struct utimbuf" >&5 | 3144 echo "configure:3145: checking for struct utimbuf" >&5 |
| 3133 cat > conftest.$ac_ext <<EOF | 3145 cat > conftest.$ac_ext <<EOF |
| 3134 #line 3135 "configure" | 3146 #line 3147 "configure" |
| 3135 #include "confdefs.h" | 3147 #include "confdefs.h" |
| 3136 #ifdef TIME_WITH_SYS_TIME | 3148 #ifdef TIME_WITH_SYS_TIME |
| 3137 #include <sys/time.h> | 3149 #include <sys/time.h> |
| 3138 #include <time.h> | 3150 #include <time.h> |
| 3139 #else | 3151 #else |
| 3148 #endif | 3160 #endif |
| 3149 int main() { | 3161 int main() { |
| 3150 static struct utimbuf x; x.actime = x.modtime; | 3162 static struct utimbuf x; x.actime = x.modtime; |
| 3151 ; return 0; } | 3163 ; return 0; } |
| 3152 EOF | 3164 EOF |
| 3153 if { (eval echo configure:3154: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3165 if { (eval echo configure:3166: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| 3154 rm -rf conftest* | 3166 rm -rf conftest* |
| 3155 echo "$ac_t""yes" 1>&6 | 3167 echo "$ac_t""yes" 1>&6 |
| 3156 { test "$extra_verbose" = "yes" && cat << \EOF | 3168 { test "$extra_verbose" = "yes" && cat << \EOF |
| 3157 Defining HAVE_STRUCT_UTIMBUF | 3169 Defining HAVE_STRUCT_UTIMBUF |
| 3158 EOF | 3170 EOF |
| 3168 echo "$ac_t""no" 1>&6 | 3180 echo "$ac_t""no" 1>&6 |
| 3169 fi | 3181 fi |
| 3170 rm -f conftest* | 3182 rm -f conftest* |
| 3171 | 3183 |
| 3172 echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6 | 3184 echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6 |
| 3173 echo "configure:3174: checking return type of signal handlers" >&5 | 3185 echo "configure:3186: checking return type of signal handlers" >&5 |
| 3174 | 3186 |
| 3175 cat > conftest.$ac_ext <<EOF | 3187 cat > conftest.$ac_ext <<EOF |
| 3176 #line 3177 "configure" | 3188 #line 3189 "configure" |
| 3177 #include "confdefs.h" | 3189 #include "confdefs.h" |
| 3178 #include <sys/types.h> | 3190 #include <sys/types.h> |
| 3179 #include <signal.h> | 3191 #include <signal.h> |
| 3180 #ifdef signal | 3192 #ifdef signal |
| 3181 #undef signal | 3193 #undef signal |
| 3188 | 3200 |
| 3189 int main() { | 3201 int main() { |
| 3190 int i; | 3202 int i; |
| 3191 ; return 0; } | 3203 ; return 0; } |
| 3192 EOF | 3204 EOF |
| 3193 if { (eval echo configure:3194: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3205 if { (eval echo configure:3206: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| 3194 rm -rf conftest* | 3206 rm -rf conftest* |
| 3195 ac_cv_type_signal=void | 3207 ac_cv_type_signal=void |
| 3196 else | 3208 else |
| 3197 echo "configure: failed program was:" >&5 | 3209 echo "configure: failed program was:" >&5 |
| 3198 cat conftest.$ac_ext >&5 | 3210 cat conftest.$ac_ext >&5 |
| 3210 EOF | 3222 EOF |
| 3211 } | 3223 } |
| 3212 | 3224 |
| 3213 | 3225 |
| 3214 echo $ac_n "checking for size_t""... $ac_c" 1>&6 | 3226 echo $ac_n "checking for size_t""... $ac_c" 1>&6 |
| 3215 echo "configure:3216: checking for size_t" >&5 | 3227 echo "configure:3228: checking for size_t" >&5 |
| 3216 | 3228 |
| 3217 cat > conftest.$ac_ext <<EOF | 3229 cat > conftest.$ac_ext <<EOF |
| 3218 #line 3219 "configure" | 3230 #line 3231 "configure" |
| 3219 #include "confdefs.h" | 3231 #include "confdefs.h" |
| 3220 #include <sys/types.h> | 3232 #include <sys/types.h> |
| 3221 #if STDC_HEADERS | 3233 #if STDC_HEADERS |
| 3222 #include <stdlib.h> | 3234 #include <stdlib.h> |
| 3223 #include <stddef.h> | 3235 #include <stddef.h> |
| 3244 } | 3256 } |
| 3245 | 3257 |
| 3246 fi | 3258 fi |
| 3247 | 3259 |
| 3248 echo $ac_n "checking for pid_t""... $ac_c" 1>&6 | 3260 echo $ac_n "checking for pid_t""... $ac_c" 1>&6 |
| 3249 echo "configure:3250: checking for pid_t" >&5 | 3261 echo "configure:3262: checking for pid_t" >&5 |
| 3250 | 3262 |
| 3251 cat > conftest.$ac_ext <<EOF | 3263 cat > conftest.$ac_ext <<EOF |
| 3252 #line 3253 "configure" | 3264 #line 3265 "configure" |
| 3253 #include "confdefs.h" | 3265 #include "confdefs.h" |
| 3254 #include <sys/types.h> | 3266 #include <sys/types.h> |
| 3255 #if STDC_HEADERS | 3267 #if STDC_HEADERS |
| 3256 #include <stdlib.h> | 3268 #include <stdlib.h> |
| 3257 #include <stddef.h> | 3269 #include <stddef.h> |
| 3278 } | 3290 } |
| 3279 | 3291 |
| 3280 fi | 3292 fi |
| 3281 | 3293 |
| 3282 echo $ac_n "checking for uid_t in sys/types.h""... $ac_c" 1>&6 | 3294 echo $ac_n "checking for uid_t in sys/types.h""... $ac_c" 1>&6 |
| 3283 echo "configure:3284: checking for uid_t in sys/types.h" >&5 | 3295 echo "configure:3296: checking for uid_t in sys/types.h" >&5 |
| 3284 | 3296 |
| 3285 cat > conftest.$ac_ext <<EOF | 3297 cat > conftest.$ac_ext <<EOF |
| 3286 #line 3287 "configure" | 3298 #line 3299 "configure" |
| 3287 #include "confdefs.h" | 3299 #include "confdefs.h" |
| 3288 #include <sys/types.h> | 3300 #include <sys/types.h> |
| 3289 EOF | 3301 EOF |
| 3290 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 3302 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
| 3291 egrep "uid_t" >/dev/null 2>&1; then | 3303 egrep "uid_t" >/dev/null 2>&1; then |
| 3317 } | 3329 } |
| 3318 | 3330 |
| 3319 fi | 3331 fi |
| 3320 | 3332 |
| 3321 echo $ac_n "checking for mode_t""... $ac_c" 1>&6 | 3333 echo $ac_n "checking for mode_t""... $ac_c" 1>&6 |
| 3322 echo "configure:3323: checking for mode_t" >&5 | 3334 echo "configure:3335: checking for mode_t" >&5 |
| 3323 | 3335 |
| 3324 cat > conftest.$ac_ext <<EOF | 3336 cat > conftest.$ac_ext <<EOF |
| 3325 #line 3326 "configure" | 3337 #line 3338 "configure" |
| 3326 #include "confdefs.h" | 3338 #include "confdefs.h" |
| 3327 #include <sys/types.h> | 3339 #include <sys/types.h> |
| 3328 #if STDC_HEADERS | 3340 #if STDC_HEADERS |
| 3329 #include <stdlib.h> | 3341 #include <stdlib.h> |
| 3330 #include <stddef.h> | 3342 #include <stddef.h> |
| 3351 } | 3363 } |
| 3352 | 3364 |
| 3353 fi | 3365 fi |
| 3354 | 3366 |
| 3355 echo $ac_n "checking for off_t""... $ac_c" 1>&6 | 3367 echo $ac_n "checking for off_t""... $ac_c" 1>&6 |
| 3356 echo "configure:3357: checking for off_t" >&5 | 3368 echo "configure:3369: checking for off_t" >&5 |
| 3357 | 3369 |
| 3358 cat > conftest.$ac_ext <<EOF | 3370 cat > conftest.$ac_ext <<EOF |
| 3359 #line 3360 "configure" | 3371 #line 3372 "configure" |
| 3360 #include "confdefs.h" | 3372 #include "confdefs.h" |
| 3361 #include <sys/types.h> | 3373 #include <sys/types.h> |
| 3362 #if STDC_HEADERS | 3374 #if STDC_HEADERS |
| 3363 #include <stdlib.h> | 3375 #include <stdlib.h> |
| 3364 #include <stddef.h> | 3376 #include <stddef.h> |
| 3386 | 3398 |
| 3387 fi | 3399 fi |
| 3388 | 3400 |
| 3389 | 3401 |
| 3390 echo $ac_n "checking for struct timeval""... $ac_c" 1>&6 | 3402 echo $ac_n "checking for struct timeval""... $ac_c" 1>&6 |
| 3391 echo "configure:3392: checking for struct timeval" >&5 | 3403 echo "configure:3404: checking for struct timeval" >&5 |
| 3392 cat > conftest.$ac_ext <<EOF | 3404 cat > conftest.$ac_ext <<EOF |
| 3393 #line 3394 "configure" | 3405 #line 3406 "configure" |
| 3394 #include "confdefs.h" | 3406 #include "confdefs.h" |
| 3395 #ifdef TIME_WITH_SYS_TIME | 3407 #ifdef TIME_WITH_SYS_TIME |
| 3396 #include <sys/time.h> | 3408 #include <sys/time.h> |
| 3397 #include <time.h> | 3409 #include <time.h> |
| 3398 #else | 3410 #else |
| 3404 #endif | 3416 #endif |
| 3405 int main() { | 3417 int main() { |
| 3406 static struct timeval x; x.tv_sec = x.tv_usec; | 3418 static struct timeval x; x.tv_sec = x.tv_usec; |
| 3407 ; return 0; } | 3419 ; return 0; } |
| 3408 EOF | 3420 EOF |
| 3409 if { (eval echo configure:3410: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3421 if { (eval echo configure:3422: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| 3410 rm -rf conftest* | 3422 rm -rf conftest* |
| 3411 echo "$ac_t""yes" 1>&6 | 3423 echo "$ac_t""yes" 1>&6 |
| 3412 HAVE_TIMEVAL=yes | 3424 HAVE_TIMEVAL=yes |
| 3413 { test "$extra_verbose" = "yes" && cat << \EOF | 3425 { test "$extra_verbose" = "yes" && cat << \EOF |
| 3414 Defining HAVE_TIMEVAL | 3426 Defining HAVE_TIMEVAL |
| 3426 HAVE_TIMEVAL=no | 3438 HAVE_TIMEVAL=no |
| 3427 fi | 3439 fi |
| 3428 rm -f conftest* | 3440 rm -f conftest* |
| 3429 | 3441 |
| 3430 echo $ac_n "checking whether struct tm is in sys/time.h or time.h""... $ac_c" 1>&6 | 3442 echo $ac_n "checking whether struct tm is in sys/time.h or time.h""... $ac_c" 1>&6 |
| 3431 echo "configure:3432: checking whether struct tm is in sys/time.h or time.h" >&5 | 3443 echo "configure:3444: checking whether struct tm is in sys/time.h or time.h" >&5 |
| 3432 | 3444 |
| 3433 cat > conftest.$ac_ext <<EOF | 3445 cat > conftest.$ac_ext <<EOF |
| 3434 #line 3435 "configure" | 3446 #line 3447 "configure" |
| 3435 #include "confdefs.h" | 3447 #include "confdefs.h" |
| 3436 #include <sys/types.h> | 3448 #include <sys/types.h> |
| 3437 #include <time.h> | 3449 #include <time.h> |
| 3438 int main() { | 3450 int main() { |
| 3439 struct tm *tp; tp->tm_sec; | 3451 struct tm *tp; tp->tm_sec; |
| 3440 ; return 0; } | 3452 ; return 0; } |
| 3441 EOF | 3453 EOF |
| 3442 if { (eval echo configure:3443: \"$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 |
| 3443 rm -rf conftest* | 3455 rm -rf conftest* |
| 3444 ac_cv_struct_tm=time.h | 3456 ac_cv_struct_tm=time.h |
| 3445 else | 3457 else |
| 3446 echo "configure: failed program was:" >&5 | 3458 echo "configure: failed program was:" >&5 |
| 3447 cat conftest.$ac_ext >&5 | 3459 cat conftest.$ac_ext >&5 |
| 3461 } | 3473 } |
| 3462 | 3474 |
| 3463 fi | 3475 fi |
| 3464 | 3476 |
| 3465 echo $ac_n "checking for tm_zone in struct tm""... $ac_c" 1>&6 | 3477 echo $ac_n "checking for tm_zone in struct tm""... $ac_c" 1>&6 |
| 3466 echo "configure:3467: checking for tm_zone in struct tm" >&5 | 3478 echo "configure:3479: checking for tm_zone in struct tm" >&5 |
| 3467 | 3479 |
| 3468 cat > conftest.$ac_ext <<EOF | 3480 cat > conftest.$ac_ext <<EOF |
| 3469 #line 3470 "configure" | 3481 #line 3482 "configure" |
| 3470 #include "confdefs.h" | 3482 #include "confdefs.h" |
| 3471 #include <sys/types.h> | 3483 #include <sys/types.h> |
| 3472 #include <$ac_cv_struct_tm> | 3484 #include <$ac_cv_struct_tm> |
| 3473 int main() { | 3485 int main() { |
| 3474 struct tm tm; tm.tm_zone; | 3486 struct tm tm; tm.tm_zone; |
| 3475 ; return 0; } | 3487 ; return 0; } |
| 3476 EOF | 3488 EOF |
| 3477 if { (eval echo configure:3478: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3489 if { (eval echo configure:3490: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| 3478 rm -rf conftest* | 3490 rm -rf conftest* |
| 3479 ac_cv_struct_tm_zone=yes | 3491 ac_cv_struct_tm_zone=yes |
| 3480 else | 3492 else |
| 3481 echo "configure: failed program was:" >&5 | 3493 echo "configure: failed program was:" >&5 |
| 3482 cat conftest.$ac_ext >&5 | 3494 cat conftest.$ac_ext >&5 |
| 3495 EOF | 3507 EOF |
| 3496 } | 3508 } |
| 3497 | 3509 |
| 3498 else | 3510 else |
| 3499 echo $ac_n "checking for tzname""... $ac_c" 1>&6 | 3511 echo $ac_n "checking for tzname""... $ac_c" 1>&6 |
| 3500 echo "configure:3501: checking for tzname" >&5 | 3512 echo "configure:3513: checking for tzname" >&5 |
| 3501 | 3513 |
| 3502 cat > conftest.$ac_ext <<EOF | 3514 cat > conftest.$ac_ext <<EOF |
| 3503 #line 3504 "configure" | 3515 #line 3516 "configure" |
| 3504 #include "confdefs.h" | 3516 #include "confdefs.h" |
| 3505 #include <time.h> | 3517 #include <time.h> |
| 3506 #ifndef tzname /* For SGI. */ | 3518 #ifndef tzname /* For SGI. */ |
| 3507 extern char *tzname[]; /* RS6000 and others reject char **tzname. */ | 3519 extern char *tzname[]; /* RS6000 and others reject char **tzname. */ |
| 3508 #endif | 3520 #endif |
| 3509 int main() { | 3521 int main() { |
| 3510 atoi(*tzname); | 3522 atoi(*tzname); |
| 3511 ; return 0; } | 3523 ; return 0; } |
| 3512 EOF | 3524 EOF |
| 3513 if { (eval echo configure:3514: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 3525 if { (eval echo configure:3526: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 3514 rm -rf conftest* | 3526 rm -rf conftest* |
| 3515 ac_cv_var_tzname=yes | 3527 ac_cv_var_tzname=yes |
| 3516 else | 3528 else |
| 3517 echo "configure: failed program was:" >&5 | 3529 echo "configure: failed program was:" >&5 |
| 3518 cat conftest.$ac_ext >&5 | 3530 cat conftest.$ac_ext >&5 |
| 3534 fi | 3546 fi |
| 3535 fi | 3547 fi |
| 3536 | 3548 |
| 3537 | 3549 |
| 3538 echo $ac_n "checking for working const""... $ac_c" 1>&6 | 3550 echo $ac_n "checking for working const""... $ac_c" 1>&6 |
| 3539 echo "configure:3540: checking for working const" >&5 | 3551 echo "configure:3552: checking for working const" >&5 |
| 3540 | 3552 |
| 3541 cat > conftest.$ac_ext <<EOF | 3553 cat > conftest.$ac_ext <<EOF |
| 3542 #line 3543 "configure" | 3554 #line 3555 "configure" |
| 3543 #include "confdefs.h" | 3555 #include "confdefs.h" |
| 3544 | 3556 |
| 3545 int main() { | 3557 int main() { |
| 3546 | 3558 |
| 3547 /* Ultrix mips cc rejects this. */ | 3559 /* Ultrix mips cc rejects this. */ |
| 3586 const int foo = 10; | 3598 const int foo = 10; |
| 3587 } | 3599 } |
| 3588 | 3600 |
| 3589 ; return 0; } | 3601 ; return 0; } |
| 3590 EOF | 3602 EOF |
| 3591 if { (eval echo configure:3592: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3603 if { (eval echo configure:3604: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| 3592 rm -rf conftest* | 3604 rm -rf conftest* |
| 3593 ac_cv_c_const=yes | 3605 ac_cv_c_const=yes |
| 3594 else | 3606 else |
| 3595 echo "configure: failed program was:" >&5 | 3607 echo "configure: failed program was:" >&5 |
| 3596 cat conftest.$ac_ext >&5 | 3608 cat conftest.$ac_ext >&5 |
| 3611 | 3623 |
| 3612 fi | 3624 fi |
| 3613 | 3625 |
| 3614 | 3626 |
| 3615 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6 | 3627 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6 |
| 3616 echo "configure:3617: checking whether ${MAKE-make} sets \${MAKE}" >&5 | 3628 echo "configure:3629: checking whether ${MAKE-make} sets \${MAKE}" >&5 |
| 3617 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'` | 3629 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'` |
| 3618 | 3630 |
| 3619 cat > conftestmake <<\EOF | 3631 cat > conftestmake <<\EOF |
| 3620 all: | 3632 all: |
| 3621 @echo 'ac_maketemp="${MAKE}"' | 3633 @echo 'ac_maketemp="${MAKE}"' |
| 3636 SET_MAKE="MAKE=${MAKE-make}" | 3648 SET_MAKE="MAKE=${MAKE-make}" |
| 3637 fi | 3649 fi |
| 3638 | 3650 |
| 3639 | 3651 |
| 3640 echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6 | 3652 echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6 |
| 3641 echo "configure:3642: checking whether byte ordering is bigendian" >&5 | 3653 echo "configure:3654: checking whether byte ordering is bigendian" >&5 |
| 3642 | 3654 |
| 3643 ac_cv_c_bigendian=unknown | 3655 ac_cv_c_bigendian=unknown |
| 3644 # See if sys/param.h defines the BYTE_ORDER macro. | 3656 # See if sys/param.h defines the BYTE_ORDER macro. |
| 3645 cat > conftest.$ac_ext <<EOF | 3657 cat > conftest.$ac_ext <<EOF |
| 3646 #line 3647 "configure" | 3658 #line 3659 "configure" |
| 3647 #include "confdefs.h" | 3659 #include "confdefs.h" |
| 3648 #include <sys/types.h> | 3660 #include <sys/types.h> |
| 3649 #include <sys/param.h> | 3661 #include <sys/param.h> |
| 3650 int main() { | 3662 int main() { |
| 3651 | 3663 |
| 3652 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN | 3664 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN |
| 3653 bogus endian macros | 3665 bogus endian macros |
| 3654 #endif | 3666 #endif |
| 3655 ; return 0; } | 3667 ; return 0; } |
| 3656 EOF | 3668 EOF |
| 3657 if { (eval echo configure:3658: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3669 if { (eval echo configure:3670: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| 3658 rm -rf conftest* | 3670 rm -rf conftest* |
| 3659 # It does; now see whether it defined to BIG_ENDIAN or not. | 3671 # It does; now see whether it defined to BIG_ENDIAN or not. |
| 3660 cat > conftest.$ac_ext <<EOF | 3672 cat > conftest.$ac_ext <<EOF |
| 3661 #line 3662 "configure" | 3673 #line 3674 "configure" |
| 3662 #include "confdefs.h" | 3674 #include "confdefs.h" |
| 3663 #include <sys/types.h> | 3675 #include <sys/types.h> |
| 3664 #include <sys/param.h> | 3676 #include <sys/param.h> |
| 3665 int main() { | 3677 int main() { |
| 3666 | 3678 |
| 3667 #if BYTE_ORDER != BIG_ENDIAN | 3679 #if BYTE_ORDER != BIG_ENDIAN |
| 3668 not big endian | 3680 not big endian |
| 3669 #endif | 3681 #endif |
| 3670 ; return 0; } | 3682 ; return 0; } |
| 3671 EOF | 3683 EOF |
| 3672 if { (eval echo configure:3673: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3684 if { (eval echo configure:3685: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| 3673 rm -rf conftest* | 3685 rm -rf conftest* |
| 3674 ac_cv_c_bigendian=yes | 3686 ac_cv_c_bigendian=yes |
| 3675 else | 3687 else |
| 3676 echo "configure: failed program was:" >&5 | 3688 echo "configure: failed program was:" >&5 |
| 3677 cat conftest.$ac_ext >&5 | 3689 cat conftest.$ac_ext >&5 |
| 3684 cat conftest.$ac_ext >&5 | 3696 cat conftest.$ac_ext >&5 |
| 3685 fi | 3697 fi |
| 3686 rm -f conftest* | 3698 rm -f conftest* |
| 3687 if test $ac_cv_c_bigendian = unknown; then | 3699 if test $ac_cv_c_bigendian = unknown; then |
| 3688 cat > conftest.$ac_ext <<EOF | 3700 cat > conftest.$ac_ext <<EOF |
| 3689 #line 3690 "configure" | 3701 #line 3702 "configure" |
| 3690 #include "confdefs.h" | 3702 #include "confdefs.h" |
| 3691 main () { | 3703 main () { |
| 3692 /* Are we little or big endian? From Harbison&Steele. */ | 3704 /* Are we little or big endian? From Harbison&Steele. */ |
| 3693 union | 3705 union |
| 3694 { | 3706 { |
| 3697 } u; | 3709 } u; |
| 3698 u.l = 1; | 3710 u.l = 1; |
| 3699 exit (u.c[sizeof (long) - 1] == 1); | 3711 exit (u.c[sizeof (long) - 1] == 1); |
| 3700 } | 3712 } |
| 3701 EOF | 3713 EOF |
| 3702 if { (eval echo configure:3703: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 | 3714 if { (eval echo configure:3715: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 |
| 3703 then | 3715 then |
| 3704 ac_cv_c_bigendian=no | 3716 ac_cv_c_bigendian=no |
| 3705 else | 3717 else |
| 3706 echo "configure: failed program was:" >&5 | 3718 echo "configure: failed program was:" >&5 |
| 3707 cat conftest.$ac_ext >&5 | 3719 cat conftest.$ac_ext >&5 |
| 3723 | 3735 |
| 3724 fi | 3736 fi |
| 3725 | 3737 |
| 3726 | 3738 |
| 3727 echo $ac_n "checking size of short""... $ac_c" 1>&6 | 3739 echo $ac_n "checking size of short""... $ac_c" 1>&6 |
| 3728 echo "configure:3729: checking size of short" >&5 | 3740 echo "configure:3741: checking size of short" >&5 |
| 3729 | 3741 |
| 3730 cat > conftest.$ac_ext <<EOF | 3742 cat > conftest.$ac_ext <<EOF |
| 3731 #line 3732 "configure" | 3743 #line 3744 "configure" |
| 3732 #include "confdefs.h" | 3744 #include "confdefs.h" |
| 3733 #include <stdio.h> | 3745 #include <stdio.h> |
| 3734 main() | 3746 main() |
| 3735 { | 3747 { |
| 3736 FILE *f=fopen("conftestval", "w"); | 3748 FILE *f=fopen("conftestval", "w"); |
| 3737 if (!f) exit(1); | 3749 if (!f) exit(1); |
| 3738 fprintf(f, "%d\n", sizeof(short)); | 3750 fprintf(f, "%d\n", sizeof(short)); |
| 3739 exit(0); | 3751 exit(0); |
| 3740 } | 3752 } |
| 3741 EOF | 3753 EOF |
| 3742 if { (eval echo configure:3743: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 | 3754 if { (eval echo configure:3755: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 |
| 3743 then | 3755 then |
| 3744 ac_cv_sizeof_short=`cat conftestval` | 3756 ac_cv_sizeof_short=`cat conftestval` |
| 3745 else | 3757 else |
| 3746 echo "configure: failed program was:" >&5 | 3758 echo "configure: failed program was:" >&5 |
| 3747 cat conftest.$ac_ext >&5 | 3759 cat conftest.$ac_ext >&5 |
| 3764 echo "*** PANIC *** Configure tests are not working - compiler is broken." | 3776 echo "*** PANIC *** Configure tests are not working - compiler is broken." |
| 3765 echo "*** PANIC *** Please examine config.log for compilation errors." | 3777 echo "*** PANIC *** Please examine config.log for compilation errors." |
| 3766 exit 1 | 3778 exit 1 |
| 3767 fi | 3779 fi |
| 3768 echo $ac_n "checking size of int""... $ac_c" 1>&6 | 3780 echo $ac_n "checking size of int""... $ac_c" 1>&6 |
| 3769 echo "configure:3770: checking size of int" >&5 | 3781 echo "configure:3782: checking size of int" >&5 |
| 3770 | 3782 |
| 3771 cat > conftest.$ac_ext <<EOF | 3783 cat > conftest.$ac_ext <<EOF |
| 3772 #line 3773 "configure" | 3784 #line 3785 "configure" |
| 3773 #include "confdefs.h" | 3785 #include "confdefs.h" |
| 3774 #include <stdio.h> | 3786 #include <stdio.h> |
| 3775 main() | 3787 main() |
| 3776 { | 3788 { |
| 3777 FILE *f=fopen("conftestval", "w"); | 3789 FILE *f=fopen("conftestval", "w"); |
| 3778 if (!f) exit(1); | 3790 if (!f) exit(1); |
| 3779 fprintf(f, "%d\n", sizeof(int)); | 3791 fprintf(f, "%d\n", sizeof(int)); |
| 3780 exit(0); | 3792 exit(0); |
| 3781 } | 3793 } |
| 3782 EOF | 3794 EOF |
| 3783 if { (eval echo configure:3784: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 | 3795 if { (eval echo configure:3796: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 |
| 3784 then | 3796 then |
| 3785 ac_cv_sizeof_int=`cat conftestval` | 3797 ac_cv_sizeof_int=`cat conftestval` |
| 3786 else | 3798 else |
| 3787 echo "configure: failed program was:" >&5 | 3799 echo "configure: failed program was:" >&5 |
| 3788 cat conftest.$ac_ext >&5 | 3800 cat conftest.$ac_ext >&5 |
| 3799 EOF | 3811 EOF |
| 3800 } | 3812 } |
| 3801 | 3813 |
| 3802 | 3814 |
| 3803 echo $ac_n "checking size of long""... $ac_c" 1>&6 | 3815 echo $ac_n "checking size of long""... $ac_c" 1>&6 |
| 3804 echo "configure:3805: checking size of long" >&5 | 3816 echo "configure:3817: checking size of long" >&5 |
| 3805 | 3817 |
| 3806 cat > conftest.$ac_ext <<EOF | 3818 cat > conftest.$ac_ext <<EOF |
| 3807 #line 3808 "configure" | 3819 #line 3820 "configure" |
| 3808 #include "confdefs.h" | 3820 #include "confdefs.h" |
| 3809 #include <stdio.h> | 3821 #include <stdio.h> |
| 3810 main() | 3822 main() |
| 3811 { | 3823 { |
| 3812 FILE *f=fopen("conftestval", "w"); | 3824 FILE *f=fopen("conftestval", "w"); |
| 3813 if (!f) exit(1); | 3825 if (!f) exit(1); |
| 3814 fprintf(f, "%d\n", sizeof(long)); | 3826 fprintf(f, "%d\n", sizeof(long)); |
| 3815 exit(0); | 3827 exit(0); |
| 3816 } | 3828 } |
| 3817 EOF | 3829 EOF |
| 3818 if { (eval echo configure:3819: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 | 3830 if { (eval echo configure:3831: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 |
| 3819 then | 3831 then |
| 3820 ac_cv_sizeof_long=`cat conftestval` | 3832 ac_cv_sizeof_long=`cat conftestval` |
| 3821 else | 3833 else |
| 3822 echo "configure: failed program was:" >&5 | 3834 echo "configure: failed program was:" >&5 |
| 3823 cat conftest.$ac_ext >&5 | 3835 cat conftest.$ac_ext >&5 |
| 3834 EOF | 3846 EOF |
| 3835 } | 3847 } |
| 3836 | 3848 |
| 3837 | 3849 |
| 3838 echo $ac_n "checking size of long long""... $ac_c" 1>&6 | 3850 echo $ac_n "checking size of long long""... $ac_c" 1>&6 |
| 3839 echo "configure:3840: checking size of long long" >&5 | 3851 echo "configure:3852: checking size of long long" >&5 |
| 3840 | 3852 |
| 3841 cat > conftest.$ac_ext <<EOF | 3853 cat > conftest.$ac_ext <<EOF |
| 3842 #line 3843 "configure" | 3854 #line 3855 "configure" |
| 3843 #include "confdefs.h" | 3855 #include "confdefs.h" |
| 3844 #include <stdio.h> | 3856 #include <stdio.h> |
| 3845 main() | 3857 main() |
| 3846 { | 3858 { |
| 3847 FILE *f=fopen("conftestval", "w"); | 3859 FILE *f=fopen("conftestval", "w"); |
| 3848 if (!f) exit(1); | 3860 if (!f) exit(1); |
| 3849 fprintf(f, "%d\n", sizeof(long long)); | 3861 fprintf(f, "%d\n", sizeof(long long)); |
| 3850 exit(0); | 3862 exit(0); |
| 3851 } | 3863 } |
| 3852 EOF | 3864 EOF |
| 3853 if { (eval echo configure:3854: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 | 3865 if { (eval echo configure:3866: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 |
| 3854 then | 3866 then |
| 3855 ac_cv_sizeof_long_long=`cat conftestval` | 3867 ac_cv_sizeof_long_long=`cat conftestval` |
| 3856 else | 3868 else |
| 3857 echo "configure: failed program was:" >&5 | 3869 echo "configure: failed program was:" >&5 |
| 3858 cat conftest.$ac_ext >&5 | 3870 cat conftest.$ac_ext >&5 |
| 3869 EOF | 3881 EOF |
| 3870 } | 3882 } |
| 3871 | 3883 |
| 3872 | 3884 |
| 3873 echo $ac_n "checking size of void *""... $ac_c" 1>&6 | 3885 echo $ac_n "checking size of void *""... $ac_c" 1>&6 |
| 3874 echo "configure:3875: checking size of void *" >&5 | 3886 echo "configure:3887: checking size of void *" >&5 |
| 3875 | 3887 |
| 3876 cat > conftest.$ac_ext <<EOF | 3888 cat > conftest.$ac_ext <<EOF |
| 3877 #line 3878 "configure" | 3889 #line 3890 "configure" |
| 3878 #include "confdefs.h" | 3890 #include "confdefs.h" |
| 3879 #include <stdio.h> | 3891 #include <stdio.h> |
| 3880 main() | 3892 main() |
| 3881 { | 3893 { |
| 3882 FILE *f=fopen("conftestval", "w"); | 3894 FILE *f=fopen("conftestval", "w"); |
| 3883 if (!f) exit(1); | 3895 if (!f) exit(1); |
| 3884 fprintf(f, "%d\n", sizeof(void *)); | 3896 fprintf(f, "%d\n", sizeof(void *)); |
| 3885 exit(0); | 3897 exit(0); |
| 3886 } | 3898 } |
| 3887 EOF | 3899 EOF |
| 3888 if { (eval echo configure:3889: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 | 3900 if { (eval echo configure:3901: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 |
| 3889 then | 3901 then |
| 3890 ac_cv_sizeof_void_p=`cat conftestval` | 3902 ac_cv_sizeof_void_p=`cat conftestval` |
| 3891 else | 3903 else |
| 3892 echo "configure: failed program was:" >&5 | 3904 echo "configure: failed program was:" >&5 |
| 3893 cat conftest.$ac_ext >&5 | 3905 cat conftest.$ac_ext >&5 |
| 3905 } | 3917 } |
| 3906 | 3918 |
| 3907 | 3919 |
| 3908 | 3920 |
| 3909 echo $ac_n "checking for long file names""... $ac_c" 1>&6 | 3921 echo $ac_n "checking for long file names""... $ac_c" 1>&6 |
| 3910 echo "configure:3911: checking for long file names" >&5 | 3922 echo "configure:3923: checking for long file names" >&5 |
| 3911 | 3923 |
| 3912 ac_cv_sys_long_file_names=yes | 3924 ac_cv_sys_long_file_names=yes |
| 3913 # Test for long file names in all the places we know might matter: | 3925 # Test for long file names in all the places we know might matter: |
| 3914 # . the current directory, where building will happen | 3926 # . the current directory, where building will happen |
| 3915 # $prefix/lib where we will be installing things | 3927 # $prefix/lib where we will be installing things |
| 3952 fi | 3964 fi |
| 3953 | 3965 |
| 3954 | 3966 |
| 3955 | 3967 |
| 3956 echo $ac_n "checking for sin in -lm""... $ac_c" 1>&6 | 3968 echo $ac_n "checking for sin in -lm""... $ac_c" 1>&6 |
| 3957 echo "configure:3958: checking for sin in -lm" >&5 | 3969 echo "configure:3970: checking for sin in -lm" >&5 |
| 3958 ac_lib_var=`echo m'_'sin | sed 'y%./+-%__p_%'` | 3970 ac_lib_var=`echo m'_'sin | sed 'y%./+-%__p_%'` |
| 3959 | 3971 |
| 3960 xe_check_libs=" -lm " | 3972 xe_check_libs=" -lm " |
| 3961 cat > conftest.$ac_ext <<EOF | 3973 cat > conftest.$ac_ext <<EOF |
| 3962 #line 3963 "configure" | 3974 #line 3975 "configure" |
| 3963 #include "confdefs.h" | 3975 #include "confdefs.h" |
| 3964 /* Override any gcc2 internal prototype to avoid an error. */ | 3976 /* Override any gcc2 internal prototype to avoid an error. */ |
| 3965 /* We use char because int might match the return type of a gcc2 | 3977 /* We use char because int might match the return type of a gcc2 |
| 3966 builtin and then its argument prototype would still apply. */ | 3978 builtin and then its argument prototype would still apply. */ |
| 3967 char sin(); | 3979 char sin(); |
| 3968 | 3980 |
| 3969 int main() { | 3981 int main() { |
| 3970 sin() | 3982 sin() |
| 3971 ; return 0; } | 3983 ; return 0; } |
| 3972 EOF | 3984 EOF |
| 3973 if { (eval echo configure:3974: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 3985 if { (eval echo configure:3986: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 3974 rm -rf conftest* | 3986 rm -rf conftest* |
| 3975 eval "ac_cv_lib_$ac_lib_var=yes" | 3987 eval "ac_cv_lib_$ac_lib_var=yes" |
| 3976 else | 3988 else |
| 3977 echo "configure: failed program was:" >&5 | 3989 echo "configure: failed program was:" >&5 |
| 3978 cat conftest.$ac_ext >&5 | 3990 cat conftest.$ac_ext >&5 |
| 4010 EOF | 4022 EOF |
| 4011 } | 4023 } |
| 4012 | 4024 |
| 4013 | 4025 |
| 4014 cat > conftest.$ac_ext <<EOF | 4026 cat > conftest.$ac_ext <<EOF |
| 4015 #line 4016 "configure" | 4027 #line 4028 "configure" |
| 4016 #include "confdefs.h" | 4028 #include "confdefs.h" |
| 4017 #include <math.h> | 4029 #include <math.h> |
| 4018 int main() { | 4030 int main() { |
| 4019 return atanh(1.0) + asinh(1.0) + acosh(1.0); | 4031 return atanh(1.0) + asinh(1.0) + acosh(1.0); |
| 4020 ; return 0; } | 4032 ; return 0; } |
| 4021 EOF | 4033 EOF |
| 4022 if { (eval echo configure:4023: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4034 if { (eval echo configure:4035: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 4023 rm -rf conftest* | 4035 rm -rf conftest* |
| 4024 { test "$extra_verbose" = "yes" && cat << \EOF | 4036 { test "$extra_verbose" = "yes" && cat << \EOF |
| 4025 Defining HAVE_INVERSE_HYPERBOLIC | 4037 Defining HAVE_INVERSE_HYPERBOLIC |
| 4026 EOF | 4038 EOF |
| 4027 cat >> confdefs.h <<\EOF | 4039 cat >> confdefs.h <<\EOF |
| 4034 cat conftest.$ac_ext >&5 | 4046 cat conftest.$ac_ext >&5 |
| 4035 fi | 4047 fi |
| 4036 rm -f conftest* | 4048 rm -f conftest* |
| 4037 | 4049 |
| 4038 echo "checking type of mail spool file locking" 1>&6 | 4050 echo "checking type of mail spool file locking" 1>&6 |
| 4039 echo "configure:4040: checking type of mail spool file locking" >&5 | 4051 echo "configure:4052: checking type of mail spool file locking" >&5 |
| 4040 test -z "$mail_locking" -a "$mail_use_flock" = "yes" && mail_locking=flock | 4052 test -z "$mail_locking" -a "$mail_use_flock" = "yes" && mail_locking=flock |
| 4041 test -z "$mail_locking" -a "$mail_use_lockf" = "yes" && mail_locking=lockf | 4053 test -z "$mail_locking" -a "$mail_use_lockf" = "yes" && mail_locking=lockf |
| 4042 if test "$mail_locking" = "lockf"; then { test "$extra_verbose" = "yes" && cat << \EOF | 4054 if test "$mail_locking" = "lockf"; then { test "$extra_verbose" = "yes" && cat << \EOF |
| 4043 Defining REAL_MAIL_USE_LOCKF | 4055 Defining REAL_MAIL_USE_LOCKF |
| 4044 EOF | 4056 EOF |
| 4058 else mail_locking="dot-locking" | 4070 else mail_locking="dot-locking" |
| 4059 fi | 4071 fi |
| 4060 | 4072 |
| 4061 | 4073 |
| 4062 echo $ac_n "checking for kstat_open in -lkstat""... $ac_c" 1>&6 | 4074 echo $ac_n "checking for kstat_open in -lkstat""... $ac_c" 1>&6 |
| 4063 echo "configure:4064: checking for kstat_open in -lkstat" >&5 | 4075 echo "configure:4076: checking for kstat_open in -lkstat" >&5 |
| 4064 ac_lib_var=`echo kstat'_'kstat_open | sed 'y%./+-%__p_%'` | 4076 ac_lib_var=`echo kstat'_'kstat_open | sed 'y%./+-%__p_%'` |
| 4065 | 4077 |
| 4066 xe_check_libs=" -lkstat " | 4078 xe_check_libs=" -lkstat " |
| 4067 cat > conftest.$ac_ext <<EOF | 4079 cat > conftest.$ac_ext <<EOF |
| 4068 #line 4069 "configure" | 4080 #line 4081 "configure" |
| 4069 #include "confdefs.h" | 4081 #include "confdefs.h" |
| 4070 /* Override any gcc2 internal prototype to avoid an error. */ | 4082 /* Override any gcc2 internal prototype to avoid an error. */ |
| 4071 /* We use char because int might match the return type of a gcc2 | 4083 /* We use char because int might match the return type of a gcc2 |
| 4072 builtin and then its argument prototype would still apply. */ | 4084 builtin and then its argument prototype would still apply. */ |
| 4073 char kstat_open(); | 4085 char kstat_open(); |
| 4074 | 4086 |
| 4075 int main() { | 4087 int main() { |
| 4076 kstat_open() | 4088 kstat_open() |
| 4077 ; return 0; } | 4089 ; return 0; } |
| 4078 EOF | 4090 EOF |
| 4079 if { (eval echo configure:4080: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4091 if { (eval echo configure:4092: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 4080 rm -rf conftest* | 4092 rm -rf conftest* |
| 4081 eval "ac_cv_lib_$ac_lib_var=yes" | 4093 eval "ac_cv_lib_$ac_lib_var=yes" |
| 4082 else | 4094 else |
| 4083 echo "configure: failed program was:" >&5 | 4095 echo "configure: failed program was:" >&5 |
| 4084 cat conftest.$ac_ext >&5 | 4096 cat conftest.$ac_ext >&5 |
| 4108 | 4120 |
| 4109 | 4121 |
| 4110 | 4122 |
| 4111 | 4123 |
| 4112 echo $ac_n "checking for kvm_read in -lkvm""... $ac_c" 1>&6 | 4124 echo $ac_n "checking for kvm_read in -lkvm""... $ac_c" 1>&6 |
| 4113 echo "configure:4114: checking for kvm_read in -lkvm" >&5 | 4125 echo "configure:4126: checking for kvm_read in -lkvm" >&5 |
| 4114 ac_lib_var=`echo kvm'_'kvm_read | sed 'y%./+-%__p_%'` | 4126 ac_lib_var=`echo kvm'_'kvm_read | sed 'y%./+-%__p_%'` |
| 4115 | 4127 |
| 4116 xe_check_libs=" -lkvm " | 4128 xe_check_libs=" -lkvm " |
| 4117 cat > conftest.$ac_ext <<EOF | 4129 cat > conftest.$ac_ext <<EOF |
| 4118 #line 4119 "configure" | 4130 #line 4131 "configure" |
| 4119 #include "confdefs.h" | 4131 #include "confdefs.h" |
| 4120 /* Override any gcc2 internal prototype to avoid an error. */ | 4132 /* Override any gcc2 internal prototype to avoid an error. */ |
| 4121 /* We use char because int might match the return type of a gcc2 | 4133 /* We use char because int might match the return type of a gcc2 |
| 4122 builtin and then its argument prototype would still apply. */ | 4134 builtin and then its argument prototype would still apply. */ |
| 4123 char kvm_read(); | 4135 char kvm_read(); |
| 4124 | 4136 |
| 4125 int main() { | 4137 int main() { |
| 4126 kvm_read() | 4138 kvm_read() |
| 4127 ; return 0; } | 4139 ; return 0; } |
| 4128 EOF | 4140 EOF |
| 4129 if { (eval echo configure:4130: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4141 if { (eval echo configure:4142: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 4130 rm -rf conftest* | 4142 rm -rf conftest* |
| 4131 eval "ac_cv_lib_$ac_lib_var=yes" | 4143 eval "ac_cv_lib_$ac_lib_var=yes" |
| 4132 else | 4144 else |
| 4133 echo "configure: failed program was:" >&5 | 4145 echo "configure: failed program was:" >&5 |
| 4134 cat conftest.$ac_ext >&5 | 4146 cat conftest.$ac_ext >&5 |
| 4158 | 4170 |
| 4159 | 4171 |
| 4160 | 4172 |
| 4161 | 4173 |
| 4162 echo $ac_n "checking for cma_open in -lpthreads""... $ac_c" 1>&6 | 4174 echo $ac_n "checking for cma_open in -lpthreads""... $ac_c" 1>&6 |
| 4163 echo "configure:4164: checking for cma_open in -lpthreads" >&5 | 4175 echo "configure:4176: checking for cma_open in -lpthreads" >&5 |
| 4164 ac_lib_var=`echo pthreads'_'cma_open | sed 'y%./+-%__p_%'` | 4176 ac_lib_var=`echo pthreads'_'cma_open | sed 'y%./+-%__p_%'` |
| 4165 | 4177 |
| 4166 xe_check_libs=" -lpthreads " | 4178 xe_check_libs=" -lpthreads " |
| 4167 cat > conftest.$ac_ext <<EOF | 4179 cat > conftest.$ac_ext <<EOF |
| 4168 #line 4169 "configure" | 4180 #line 4181 "configure" |
| 4169 #include "confdefs.h" | 4181 #include "confdefs.h" |
| 4170 /* Override any gcc2 internal prototype to avoid an error. */ | 4182 /* Override any gcc2 internal prototype to avoid an error. */ |
| 4171 /* We use char because int might match the return type of a gcc2 | 4183 /* We use char because int might match the return type of a gcc2 |
| 4172 builtin and then its argument prototype would still apply. */ | 4184 builtin and then its argument prototype would still apply. */ |
| 4173 char cma_open(); | 4185 char cma_open(); |
| 4174 | 4186 |
| 4175 int main() { | 4187 int main() { |
| 4176 cma_open() | 4188 cma_open() |
| 4177 ; return 0; } | 4189 ; return 0; } |
| 4178 EOF | 4190 EOF |
| 4179 if { (eval echo configure:4180: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4191 if { (eval echo configure:4192: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 4180 rm -rf conftest* | 4192 rm -rf conftest* |
| 4181 eval "ac_cv_lib_$ac_lib_var=yes" | 4193 eval "ac_cv_lib_$ac_lib_var=yes" |
| 4182 else | 4194 else |
| 4183 echo "configure: failed program was:" >&5 | 4195 echo "configure: failed program was:" >&5 |
| 4184 cat conftest.$ac_ext >&5 | 4196 cat conftest.$ac_ext >&5 |
| 4210 if test "$ac_cv_lib_pthreads_cma_open" = "yes"; then | 4222 if test "$ac_cv_lib_pthreads_cma_open" = "yes"; then |
| 4211 case "$opsys" in decosf*) c_switch_site="$c_switch_site -threads";; esac | 4223 case "$opsys" in decosf*) c_switch_site="$c_switch_site -threads";; esac |
| 4212 fi | 4224 fi |
| 4213 | 4225 |
| 4214 echo $ac_n "checking whether the -xildoff compiler flag is required""... $ac_c" 1>&6 | 4226 echo $ac_n "checking whether the -xildoff compiler flag is required""... $ac_c" 1>&6 |
| 4215 echo "configure:4216: checking whether the -xildoff compiler flag is required" >&5 | 4227 echo "configure:4228: checking whether the -xildoff compiler flag is required" >&5 |
| 4216 if ${CC-cc} '-###' -xildon no_such_file.c 2>&1 | grep '^[^ ]*/ild ' > /dev/null ; then | 4228 if ${CC-cc} '-###' -xildon no_such_file.c 2>&1 | grep '^[^ ]*/ild ' > /dev/null ; then |
| 4217 if ${CC-cc} '-###' -xildoff no_such_file.c 2>&1 | grep '^[^ ]*/ild ' > /dev/null ; | 4229 if ${CC-cc} '-###' -xildoff no_such_file.c 2>&1 | grep '^[^ ]*/ild ' > /dev/null ; |
| 4218 then echo "$ac_t""no" 1>&6; | 4230 then echo "$ac_t""no" 1>&6; |
| 4219 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 | 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 |
| 4220 fi | 4232 fi |
| 4221 else echo "$ac_t""no" 1>&6 | 4233 else echo "$ac_t""no" 1>&6 |
| 4222 fi | 4234 fi |
| 4223 | 4235 |
| 4224 if test "$opsys" = "sol2" && test "$OS_RELEASE" -ge 56; then | 4236 if test "$opsys" = "sol2" && test "$OS_RELEASE" -ge 56; then |
| 4225 echo $ac_n "checking for \"-z ignore\" linker flag""... $ac_c" 1>&6 | 4237 echo $ac_n "checking for \"-z ignore\" linker flag""... $ac_c" 1>&6 |
| 4226 echo "configure:4227: checking for \"-z ignore\" linker flag" >&5 | 4238 echo "configure:4239: checking for \"-z ignore\" linker flag" >&5 |
| 4227 case "`ld -h 2>&1`" in | 4239 case "`ld -h 2>&1`" in |
| 4228 *-z\ ignore\|record* ) echo "$ac_t""yes" 1>&6 | 4240 *-z\ ignore\|record* ) echo "$ac_t""yes" 1>&6 |
| 4229 ld_switch_site="-z ignore $ld_switch_site" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-z ignore\" to \$ld_switch_site"; fi ;; | 4241 ld_switch_site="-z ignore $ld_switch_site" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-z ignore\" to \$ld_switch_site"; fi ;; |
| 4230 *) echo "$ac_t""no" 1>&6 ;; | 4242 *) echo "$ac_t""no" 1>&6 ;; |
| 4231 esac | 4243 esac |
| 4232 fi | 4244 fi |
| 4233 | 4245 |
| 4234 | 4246 |
| 4235 echo "checking "for specified window system"" 1>&6 | 4247 echo "checking "for specified window system"" 1>&6 |
| 4236 echo "configure:4237: checking "for specified window system"" >&5 | 4248 echo "configure:4249: checking "for specified window system"" >&5 |
| 4237 | 4249 |
| 4238 if test "$with_x11" != "no"; then | 4250 if test "$with_x11" != "no"; then |
| 4239 test "$x_includes $x_libraries" != "NONE NONE" && \ | 4251 test "$x_includes $x_libraries" != "NONE NONE" && \ |
| 4240 window_system=x11 with_x11=yes | 4252 window_system=x11 with_x11=yes |
| 4241 | 4253 |
| 4264 # If we find X, set shell vars x_includes and x_libraries to the | 4276 # If we find X, set shell vars x_includes and x_libraries to the |
| 4265 # paths, otherwise set no_x=yes. | 4277 # paths, otherwise set no_x=yes. |
| 4266 # Uses ac_ vars as temps to allow command line to override cache and checks. | 4278 # Uses ac_ vars as temps to allow command line to override cache and checks. |
| 4267 # --without-x overrides everything else, but does not touch the cache. | 4279 # --without-x overrides everything else, but does not touch the cache. |
| 4268 echo $ac_n "checking for X""... $ac_c" 1>&6 | 4280 echo $ac_n "checking for X""... $ac_c" 1>&6 |
| 4269 echo "configure:4270: checking for X" >&5 | 4281 echo "configure:4282: checking for X" >&5 |
| 4270 | 4282 |
| 4271 # Check whether --with-x or --without-x was given. | 4283 # Check whether --with-x or --without-x was given. |
| 4272 if test "${with_x+set}" = set; then | 4284 if test "${with_x+set}" = set; then |
| 4273 withval="$with_x" | 4285 withval="$with_x" |
| 4274 : | 4286 : |
| 4324 # Guess where to find include files, by looking for this one X11 .h file. | 4336 # Guess where to find include files, by looking for this one X11 .h file. |
| 4325 test -z "$x_direct_test_include" && x_direct_test_include=X11/Intrinsic.h | 4337 test -z "$x_direct_test_include" && x_direct_test_include=X11/Intrinsic.h |
| 4326 | 4338 |
| 4327 # First, try using that file with no special directory specified. | 4339 # First, try using that file with no special directory specified. |
| 4328 cat > conftest.$ac_ext <<EOF | 4340 cat > conftest.$ac_ext <<EOF |
| 4329 #line 4330 "configure" | 4341 #line 4342 "configure" |
| 4330 #include "confdefs.h" | 4342 #include "confdefs.h" |
| 4331 #include <$x_direct_test_include> | 4343 #include <$x_direct_test_include> |
| 4332 EOF | 4344 EOF |
| 4333 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 4345 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 4334 { (eval echo configure:4335: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 4346 { (eval echo configure:4347: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 4335 ac_err=`grep -v '^ *+' conftest.out` | 4347 ac_err=`grep -v '^ *+' conftest.out` |
| 4336 if test -z "$ac_err"; then | 4348 if test -z "$ac_err"; then |
| 4337 rm -rf conftest* | 4349 rm -rf conftest* |
| 4338 # We can compile using X headers with no special include directory. | 4350 # We can compile using X headers with no special include directory. |
| 4339 ac_x_includes= | 4351 ac_x_includes= |
| 4398 # See if we find them without any special options. | 4410 # See if we find them without any special options. |
| 4399 # Don't add to $LIBS permanently. | 4411 # Don't add to $LIBS permanently. |
| 4400 ac_save_LIBS="$LIBS" | 4412 ac_save_LIBS="$LIBS" |
| 4401 LIBS="-l$x_direct_test_library $LIBS" | 4413 LIBS="-l$x_direct_test_library $LIBS" |
| 4402 cat > conftest.$ac_ext <<EOF | 4414 cat > conftest.$ac_ext <<EOF |
| 4403 #line 4404 "configure" | 4415 #line 4416 "configure" |
| 4404 #include "confdefs.h" | 4416 #include "confdefs.h" |
| 4405 | 4417 |
| 4406 int main() { | 4418 int main() { |
| 4407 ${x_direct_test_function}() | 4419 ${x_direct_test_function}() |
| 4408 ; return 0; } | 4420 ; return 0; } |
| 4409 EOF | 4421 EOF |
| 4410 if { (eval echo configure:4411: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4422 if { (eval echo configure:4423: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 4411 rm -rf conftest* | 4423 rm -rf conftest* |
| 4412 LIBS="$ac_save_LIBS" | 4424 LIBS="$ac_save_LIBS" |
| 4413 # We can link X programs with no special library path. | 4425 # We can link X programs with no special library path. |
| 4414 ac_x_libraries= | 4426 ac_x_libraries= |
| 4415 else | 4427 else |
| 4514 # For Solaris; some versions of Sun CC require a space after -R and | 4526 # For Solaris; some versions of Sun CC require a space after -R and |
| 4515 # others require no space. Words are not sufficient . . . . | 4527 # others require no space. Words are not sufficient . . . . |
| 4516 case "`(uname -sr) 2>/dev/null`" in | 4528 case "`(uname -sr) 2>/dev/null`" in |
| 4517 "SunOS 5"*) | 4529 "SunOS 5"*) |
| 4518 echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6 | 4530 echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6 |
| 4519 echo "configure:4520: checking whether -R must be followed by a space" >&5 | 4531 echo "configure:4532: checking whether -R must be followed by a space" >&5 |
| 4520 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS -R$x_libraries" | 4532 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS -R$x_libraries" |
| 4521 cat > conftest.$ac_ext <<EOF | 4533 cat > conftest.$ac_ext <<EOF |
| 4522 #line 4523 "configure" | 4534 #line 4535 "configure" |
| 4523 #include "confdefs.h" | 4535 #include "confdefs.h" |
| 4524 | 4536 |
| 4525 int main() { | 4537 int main() { |
| 4526 | 4538 |
| 4527 ; return 0; } | 4539 ; return 0; } |
| 4528 EOF | 4540 EOF |
| 4529 if { (eval echo configure:4530: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4541 if { (eval echo configure:4542: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 4530 rm -rf conftest* | 4542 rm -rf conftest* |
| 4531 ac_R_nospace=yes | 4543 ac_R_nospace=yes |
| 4532 else | 4544 else |
| 4533 echo "configure: failed program was:" >&5 | 4545 echo "configure: failed program was:" >&5 |
| 4534 cat conftest.$ac_ext >&5 | 4546 cat conftest.$ac_ext >&5 |
| 4540 echo "$ac_t""no" 1>&6 | 4552 echo "$ac_t""no" 1>&6 |
| 4541 X_LIBS="$X_LIBS -R$x_libraries" | 4553 X_LIBS="$X_LIBS -R$x_libraries" |
| 4542 else | 4554 else |
| 4543 LIBS="$ac_xsave_LIBS -R $x_libraries" | 4555 LIBS="$ac_xsave_LIBS -R $x_libraries" |
| 4544 cat > conftest.$ac_ext <<EOF | 4556 cat > conftest.$ac_ext <<EOF |
| 4545 #line 4546 "configure" | 4557 #line 4558 "configure" |
| 4546 #include "confdefs.h" | 4558 #include "confdefs.h" |
| 4547 | 4559 |
| 4548 int main() { | 4560 int main() { |
| 4549 | 4561 |
| 4550 ; return 0; } | 4562 ; return 0; } |
| 4551 EOF | 4563 EOF |
| 4552 if { (eval echo configure:4553: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4564 if { (eval echo configure:4565: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 4553 rm -rf conftest* | 4565 rm -rf conftest* |
| 4554 ac_R_space=yes | 4566 ac_R_space=yes |
| 4555 else | 4567 else |
| 4556 echo "configure: failed program was:" >&5 | 4568 echo "configure: failed program was:" >&5 |
| 4557 cat conftest.$ac_ext >&5 | 4569 cat conftest.$ac_ext >&5 |
| 4583 if test "$with_dnet" = "no" ; then | 4595 if test "$with_dnet" = "no" ; then |
| 4584 ac_cv_lib_dnet_dnet_ntoa=no | 4596 ac_cv_lib_dnet_dnet_ntoa=no |
| 4585 else | 4597 else |
| 4586 | 4598 |
| 4587 echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6 | 4599 echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6 |
| 4588 echo "configure:4589: checking for dnet_ntoa in -ldnet" >&5 | 4600 echo "configure:4601: checking for dnet_ntoa in -ldnet" >&5 |
| 4589 ac_lib_var=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'` | 4601 ac_lib_var=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'` |
| 4590 | 4602 |
| 4591 xe_check_libs=" -ldnet " | 4603 xe_check_libs=" -ldnet " |
| 4592 cat > conftest.$ac_ext <<EOF | 4604 cat > conftest.$ac_ext <<EOF |
| 4593 #line 4594 "configure" | 4605 #line 4606 "configure" |
| 4594 #include "confdefs.h" | 4606 #include "confdefs.h" |
| 4595 /* Override any gcc2 internal prototype to avoid an error. */ | 4607 /* Override any gcc2 internal prototype to avoid an error. */ |
| 4596 /* We use char because int might match the return type of a gcc2 | 4608 /* We use char because int might match the return type of a gcc2 |
| 4597 builtin and then its argument prototype would still apply. */ | 4609 builtin and then its argument prototype would still apply. */ |
| 4598 char dnet_ntoa(); | 4610 char dnet_ntoa(); |
| 4599 | 4611 |
| 4600 int main() { | 4612 int main() { |
| 4601 dnet_ntoa() | 4613 dnet_ntoa() |
| 4602 ; return 0; } | 4614 ; return 0; } |
| 4603 EOF | 4615 EOF |
| 4604 if { (eval echo configure:4605: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4616 if { (eval echo configure:4617: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 4605 rm -rf conftest* | 4617 rm -rf conftest* |
| 4606 eval "ac_cv_lib_$ac_lib_var=yes" | 4618 eval "ac_cv_lib_$ac_lib_var=yes" |
| 4607 else | 4619 else |
| 4608 echo "configure: failed program was:" >&5 | 4620 echo "configure: failed program was:" >&5 |
| 4609 cat conftest.$ac_ext >&5 | 4621 cat conftest.$ac_ext >&5 |
| 4623 fi | 4635 fi |
| 4624 | 4636 |
| 4625 if test $ac_cv_lib_dnet_dnet_ntoa = no; then | 4637 if test $ac_cv_lib_dnet_dnet_ntoa = no; then |
| 4626 | 4638 |
| 4627 echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6 | 4639 echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6 |
| 4628 echo "configure:4629: checking for dnet_ntoa in -ldnet_stub" >&5 | 4640 echo "configure:4641: checking for dnet_ntoa in -ldnet_stub" >&5 |
| 4629 ac_lib_var=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'` | 4641 ac_lib_var=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'` |
| 4630 | 4642 |
| 4631 xe_check_libs=" -ldnet_stub " | 4643 xe_check_libs=" -ldnet_stub " |
| 4632 cat > conftest.$ac_ext <<EOF | 4644 cat > conftest.$ac_ext <<EOF |
| 4633 #line 4634 "configure" | 4645 #line 4646 "configure" |
| 4634 #include "confdefs.h" | 4646 #include "confdefs.h" |
| 4635 /* Override any gcc2 internal prototype to avoid an error. */ | 4647 /* Override any gcc2 internal prototype to avoid an error. */ |
| 4636 /* We use char because int might match the return type of a gcc2 | 4648 /* We use char because int might match the return type of a gcc2 |
| 4637 builtin and then its argument prototype would still apply. */ | 4649 builtin and then its argument prototype would still apply. */ |
| 4638 char dnet_ntoa(); | 4650 char dnet_ntoa(); |
| 4639 | 4651 |
| 4640 int main() { | 4652 int main() { |
| 4641 dnet_ntoa() | 4653 dnet_ntoa() |
| 4642 ; return 0; } | 4654 ; return 0; } |
| 4643 EOF | 4655 EOF |
| 4644 if { (eval echo configure:4645: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4656 if { (eval echo configure:4657: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 4645 rm -rf conftest* | 4657 rm -rf conftest* |
| 4646 eval "ac_cv_lib_$ac_lib_var=yes" | 4658 eval "ac_cv_lib_$ac_lib_var=yes" |
| 4647 else | 4659 else |
| 4648 echo "configure: failed program was:" >&5 | 4660 echo "configure: failed program was:" >&5 |
| 4649 cat conftest.$ac_ext >&5 | 4661 cat conftest.$ac_ext >&5 |
| 4668 # chad@anasazi.com says the Pyramis MIS-ES running DC/OSx (SVR4) | 4680 # chad@anasazi.com says the Pyramis MIS-ES running DC/OSx (SVR4) |
| 4669 # needs -lnsl. | 4681 # needs -lnsl. |
| 4670 # The nsl library prevents programs from opening the X display | 4682 # The nsl library prevents programs from opening the X display |
| 4671 # on Irix 5.2, according to dickey@clark.net. | 4683 # on Irix 5.2, according to dickey@clark.net. |
| 4672 echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6 | 4684 echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6 |
| 4673 echo "configure:4674: checking for gethostbyname" >&5 | 4685 echo "configure:4686: checking for gethostbyname" >&5 |
| 4674 | 4686 |
| 4675 cat > conftest.$ac_ext <<EOF | 4687 cat > conftest.$ac_ext <<EOF |
| 4676 #line 4677 "configure" | 4688 #line 4689 "configure" |
| 4677 #include "confdefs.h" | 4689 #include "confdefs.h" |
| 4678 /* System header to define __stub macros and hopefully few prototypes, | 4690 /* System header to define __stub macros and hopefully few prototypes, |
| 4679 which can conflict with char gethostbyname(); below. */ | 4691 which can conflict with char gethostbyname(); below. */ |
| 4680 #include <assert.h> | 4692 #include <assert.h> |
| 4681 /* Override any gcc2 internal prototype to avoid an error. */ | 4693 /* Override any gcc2 internal prototype to avoid an error. */ |
| 4694 gethostbyname(); | 4706 gethostbyname(); |
| 4695 #endif | 4707 #endif |
| 4696 | 4708 |
| 4697 ; return 0; } | 4709 ; return 0; } |
| 4698 EOF | 4710 EOF |
| 4699 if { (eval echo configure:4700: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4711 if { (eval echo configure:4712: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 4700 rm -rf conftest* | 4712 rm -rf conftest* |
| 4701 eval "ac_cv_func_gethostbyname=yes" | 4713 eval "ac_cv_func_gethostbyname=yes" |
| 4702 else | 4714 else |
| 4703 echo "configure: failed program was:" >&5 | 4715 echo "configure: failed program was:" >&5 |
| 4704 cat conftest.$ac_ext >&5 | 4716 cat conftest.$ac_ext >&5 |
| 4715 fi | 4727 fi |
| 4716 | 4728 |
| 4717 if test $ac_cv_func_gethostbyname = no; then | 4729 if test $ac_cv_func_gethostbyname = no; then |
| 4718 | 4730 |
| 4719 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6 | 4731 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6 |
| 4720 echo "configure:4721: checking for gethostbyname in -lnsl" >&5 | 4732 echo "configure:4733: checking for gethostbyname in -lnsl" >&5 |
| 4721 ac_lib_var=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'` | 4733 ac_lib_var=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'` |
| 4722 | 4734 |
| 4723 xe_check_libs=" -lnsl " | 4735 xe_check_libs=" -lnsl " |
| 4724 cat > conftest.$ac_ext <<EOF | 4736 cat > conftest.$ac_ext <<EOF |
| 4725 #line 4726 "configure" | 4737 #line 4738 "configure" |
| 4726 #include "confdefs.h" | 4738 #include "confdefs.h" |
| 4727 /* Override any gcc2 internal prototype to avoid an error. */ | 4739 /* Override any gcc2 internal prototype to avoid an error. */ |
| 4728 /* We use char because int might match the return type of a gcc2 | 4740 /* We use char because int might match the return type of a gcc2 |
| 4729 builtin and then its argument prototype would still apply. */ | 4741 builtin and then its argument prototype would still apply. */ |
| 4730 char gethostbyname(); | 4742 char gethostbyname(); |
| 4731 | 4743 |
| 4732 int main() { | 4744 int main() { |
| 4733 gethostbyname() | 4745 gethostbyname() |
| 4734 ; return 0; } | 4746 ; return 0; } |
| 4735 EOF | 4747 EOF |
| 4736 if { (eval echo configure:4737: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4748 if { (eval echo configure:4749: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 4737 rm -rf conftest* | 4749 rm -rf conftest* |
| 4738 eval "ac_cv_lib_$ac_lib_var=yes" | 4750 eval "ac_cv_lib_$ac_lib_var=yes" |
| 4739 else | 4751 else |
| 4740 echo "configure: failed program was:" >&5 | 4752 echo "configure: failed program was:" >&5 |
| 4741 cat conftest.$ac_ext >&5 | 4753 cat conftest.$ac_ext >&5 |
| 4761 # on later versions), says simon@lia.di.epfl.ch: it contains | 4773 # on later versions), says simon@lia.di.epfl.ch: it contains |
| 4762 # gethostby* variants that don't use the nameserver (or something). | 4774 # gethostby* variants that don't use the nameserver (or something). |
| 4763 # -lsocket must be given before -lnsl if both are needed. | 4775 # -lsocket must be given before -lnsl if both are needed. |
| 4764 # We assume that if connect needs -lnsl, so does gethostbyname. | 4776 # We assume that if connect needs -lnsl, so does gethostbyname. |
| 4765 echo $ac_n "checking for connect""... $ac_c" 1>&6 | 4777 echo $ac_n "checking for connect""... $ac_c" 1>&6 |
| 4766 echo "configure:4767: checking for connect" >&5 | 4778 echo "configure:4779: checking for connect" >&5 |
| 4767 | 4779 |
| 4768 cat > conftest.$ac_ext <<EOF | 4780 cat > conftest.$ac_ext <<EOF |
| 4769 #line 4770 "configure" | 4781 #line 4782 "configure" |
| 4770 #include "confdefs.h" | 4782 #include "confdefs.h" |
| 4771 /* System header to define __stub macros and hopefully few prototypes, | 4783 /* System header to define __stub macros and hopefully few prototypes, |
| 4772 which can conflict with char connect(); below. */ | 4784 which can conflict with char connect(); below. */ |
| 4773 #include <assert.h> | 4785 #include <assert.h> |
| 4774 /* Override any gcc2 internal prototype to avoid an error. */ | 4786 /* Override any gcc2 internal prototype to avoid an error. */ |
| 4787 connect(); | 4799 connect(); |
| 4788 #endif | 4800 #endif |
| 4789 | 4801 |
| 4790 ; return 0; } | 4802 ; return 0; } |
| 4791 EOF | 4803 EOF |
| 4792 if { (eval echo configure:4793: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4804 if { (eval echo configure:4805: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 4793 rm -rf conftest* | 4805 rm -rf conftest* |
| 4794 eval "ac_cv_func_connect=yes" | 4806 eval "ac_cv_func_connect=yes" |
| 4795 else | 4807 else |
| 4796 echo "configure: failed program was:" >&5 | 4808 echo "configure: failed program was:" >&5 |
| 4797 cat conftest.$ac_ext >&5 | 4809 cat conftest.$ac_ext >&5 |
| 4810 if test $ac_cv_func_connect = no; then | 4822 if test $ac_cv_func_connect = no; then |
| 4811 | 4823 |
| 4812 xe_msg_checking="for connect in -lsocket" | 4824 xe_msg_checking="for connect in -lsocket" |
| 4813 test -n "$X_EXTRA_LIBS" && xe_msg_checking="$xe_msg_checking using extra libs $X_EXTRA_LIBS" | 4825 test -n "$X_EXTRA_LIBS" && xe_msg_checking="$xe_msg_checking using extra libs $X_EXTRA_LIBS" |
| 4814 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 4826 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
| 4815 echo "configure:4816: checking "$xe_msg_checking"" >&5 | 4827 echo "configure:4828: checking "$xe_msg_checking"" >&5 |
| 4816 ac_lib_var=`echo socket'_'connect | sed 'y%./+-%__p_%'` | 4828 ac_lib_var=`echo socket'_'connect | sed 'y%./+-%__p_%'` |
| 4817 | 4829 |
| 4818 xe_check_libs=" -lsocket $X_EXTRA_LIBS" | 4830 xe_check_libs=" -lsocket $X_EXTRA_LIBS" |
| 4819 cat > conftest.$ac_ext <<EOF | 4831 cat > conftest.$ac_ext <<EOF |
| 4820 #line 4821 "configure" | 4832 #line 4833 "configure" |
| 4821 #include "confdefs.h" | 4833 #include "confdefs.h" |
| 4822 /* Override any gcc2 internal prototype to avoid an error. */ | 4834 /* Override any gcc2 internal prototype to avoid an error. */ |
| 4823 /* We use char because int might match the return type of a gcc2 | 4835 /* We use char because int might match the return type of a gcc2 |
| 4824 builtin and then its argument prototype would still apply. */ | 4836 builtin and then its argument prototype would still apply. */ |
| 4825 char connect(); | 4837 char connect(); |
| 4826 | 4838 |
| 4827 int main() { | 4839 int main() { |
| 4828 connect() | 4840 connect() |
| 4829 ; return 0; } | 4841 ; return 0; } |
| 4830 EOF | 4842 EOF |
| 4831 if { (eval echo configure:4832: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4843 if { (eval echo configure:4844: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 4832 rm -rf conftest* | 4844 rm -rf conftest* |
| 4833 eval "ac_cv_lib_$ac_lib_var=yes" | 4845 eval "ac_cv_lib_$ac_lib_var=yes" |
| 4834 else | 4846 else |
| 4835 echo "configure: failed program was:" >&5 | 4847 echo "configure: failed program was:" >&5 |
| 4836 cat conftest.$ac_ext >&5 | 4848 cat conftest.$ac_ext >&5 |
| 4850 | 4862 |
| 4851 fi | 4863 fi |
| 4852 | 4864 |
| 4853 # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX. | 4865 # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX. |
| 4854 echo $ac_n "checking for remove""... $ac_c" 1>&6 | 4866 echo $ac_n "checking for remove""... $ac_c" 1>&6 |
| 4855 echo "configure:4856: checking for remove" >&5 | 4867 echo "configure:4868: checking for remove" >&5 |
| 4856 | 4868 |
| 4857 cat > conftest.$ac_ext <<EOF | 4869 cat > conftest.$ac_ext <<EOF |
| 4858 #line 4859 "configure" | 4870 #line 4871 "configure" |
| 4859 #include "confdefs.h" | 4871 #include "confdefs.h" |
| 4860 /* System header to define __stub macros and hopefully few prototypes, | 4872 /* System header to define __stub macros and hopefully few prototypes, |
| 4861 which can conflict with char remove(); below. */ | 4873 which can conflict with char remove(); below. */ |
| 4862 #include <assert.h> | 4874 #include <assert.h> |
| 4863 /* Override any gcc2 internal prototype to avoid an error. */ | 4875 /* Override any gcc2 internal prototype to avoid an error. */ |
| 4876 remove(); | 4888 remove(); |
| 4877 #endif | 4889 #endif |
| 4878 | 4890 |
| 4879 ; return 0; } | 4891 ; return 0; } |
| 4880 EOF | 4892 EOF |
| 4881 if { (eval echo configure:4882: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4893 if { (eval echo configure:4894: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 4882 rm -rf conftest* | 4894 rm -rf conftest* |
| 4883 eval "ac_cv_func_remove=yes" | 4895 eval "ac_cv_func_remove=yes" |
| 4884 else | 4896 else |
| 4885 echo "configure: failed program was:" >&5 | 4897 echo "configure: failed program was:" >&5 |
| 4886 cat conftest.$ac_ext >&5 | 4898 cat conftest.$ac_ext >&5 |
| 4897 fi | 4909 fi |
| 4898 | 4910 |
| 4899 if test $ac_cv_func_remove = no; then | 4911 if test $ac_cv_func_remove = no; then |
| 4900 | 4912 |
| 4901 echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6 | 4913 echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6 |
| 4902 echo "configure:4903: checking for remove in -lposix" >&5 | 4914 echo "configure:4915: checking for remove in -lposix" >&5 |
| 4903 ac_lib_var=`echo posix'_'remove | sed 'y%./+-%__p_%'` | 4915 ac_lib_var=`echo posix'_'remove | sed 'y%./+-%__p_%'` |
| 4904 | 4916 |
| 4905 xe_check_libs=" -lposix " | 4917 xe_check_libs=" -lposix " |
| 4906 cat > conftest.$ac_ext <<EOF | 4918 cat > conftest.$ac_ext <<EOF |
| 4907 #line 4908 "configure" | 4919 #line 4920 "configure" |
| 4908 #include "confdefs.h" | 4920 #include "confdefs.h" |
| 4909 /* Override any gcc2 internal prototype to avoid an error. */ | 4921 /* Override any gcc2 internal prototype to avoid an error. */ |
| 4910 /* We use char because int might match the return type of a gcc2 | 4922 /* We use char because int might match the return type of a gcc2 |
| 4911 builtin and then its argument prototype would still apply. */ | 4923 builtin and then its argument prototype would still apply. */ |
| 4912 char remove(); | 4924 char remove(); |
| 4913 | 4925 |
| 4914 int main() { | 4926 int main() { |
| 4915 remove() | 4927 remove() |
| 4916 ; return 0; } | 4928 ; return 0; } |
| 4917 EOF | 4929 EOF |
| 4918 if { (eval echo configure:4919: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4930 if { (eval echo configure:4931: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 4919 rm -rf conftest* | 4931 rm -rf conftest* |
| 4920 eval "ac_cv_lib_$ac_lib_var=yes" | 4932 eval "ac_cv_lib_$ac_lib_var=yes" |
| 4921 else | 4933 else |
| 4922 echo "configure: failed program was:" >&5 | 4934 echo "configure: failed program was:" >&5 |
| 4923 cat conftest.$ac_ext >&5 | 4935 cat conftest.$ac_ext >&5 |
| 4937 | 4949 |
| 4938 fi | 4950 fi |
| 4939 | 4951 |
| 4940 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay. | 4952 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay. |
| 4941 echo $ac_n "checking for shmat""... $ac_c" 1>&6 | 4953 echo $ac_n "checking for shmat""... $ac_c" 1>&6 |
| 4942 echo "configure:4943: checking for shmat" >&5 | 4954 echo "configure:4955: checking for shmat" >&5 |
| 4943 | 4955 |
| 4944 cat > conftest.$ac_ext <<EOF | 4956 cat > conftest.$ac_ext <<EOF |
| 4945 #line 4946 "configure" | 4957 #line 4958 "configure" |
| 4946 #include "confdefs.h" | 4958 #include "confdefs.h" |
| 4947 /* System header to define __stub macros and hopefully few prototypes, | 4959 /* System header to define __stub macros and hopefully few prototypes, |
| 4948 which can conflict with char shmat(); below. */ | 4960 which can conflict with char shmat(); below. */ |
| 4949 #include <assert.h> | 4961 #include <assert.h> |
| 4950 /* Override any gcc2 internal prototype to avoid an error. */ | 4962 /* Override any gcc2 internal prototype to avoid an error. */ |
| 4963 shmat(); | 4975 shmat(); |
| 4964 #endif | 4976 #endif |
| 4965 | 4977 |
| 4966 ; return 0; } | 4978 ; return 0; } |
| 4967 EOF | 4979 EOF |
| 4968 if { (eval echo configure:4969: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4980 if { (eval echo configure:4981: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 4969 rm -rf conftest* | 4981 rm -rf conftest* |
| 4970 eval "ac_cv_func_shmat=yes" | 4982 eval "ac_cv_func_shmat=yes" |
| 4971 else | 4983 else |
| 4972 echo "configure: failed program was:" >&5 | 4984 echo "configure: failed program was:" >&5 |
| 4973 cat conftest.$ac_ext >&5 | 4985 cat conftest.$ac_ext >&5 |
| 4984 fi | 4996 fi |
| 4985 | 4997 |
| 4986 if test $ac_cv_func_shmat = no; then | 4998 if test $ac_cv_func_shmat = no; then |
| 4987 | 4999 |
| 4988 echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6 | 5000 echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6 |
| 4989 echo "configure:4990: checking for shmat in -lipc" >&5 | 5001 echo "configure:5002: checking for shmat in -lipc" >&5 |
| 4990 ac_lib_var=`echo ipc'_'shmat | sed 'y%./+-%__p_%'` | 5002 ac_lib_var=`echo ipc'_'shmat | sed 'y%./+-%__p_%'` |
| 4991 | 5003 |
| 4992 xe_check_libs=" -lipc " | 5004 xe_check_libs=" -lipc " |
| 4993 cat > conftest.$ac_ext <<EOF | 5005 cat > conftest.$ac_ext <<EOF |
| 4994 #line 4995 "configure" | 5006 #line 5007 "configure" |
| 4995 #include "confdefs.h" | 5007 #include "confdefs.h" |
| 4996 /* Override any gcc2 internal prototype to avoid an error. */ | 5008 /* Override any gcc2 internal prototype to avoid an error. */ |
| 4997 /* We use char because int might match the return type of a gcc2 | 5009 /* We use char because int might match the return type of a gcc2 |
| 4998 builtin and then its argument prototype would still apply. */ | 5010 builtin and then its argument prototype would still apply. */ |
| 4999 char shmat(); | 5011 char shmat(); |
| 5000 | 5012 |
| 5001 int main() { | 5013 int main() { |
| 5002 shmat() | 5014 shmat() |
| 5003 ; return 0; } | 5015 ; return 0; } |
| 5004 EOF | 5016 EOF |
| 5005 if { (eval echo configure:5006: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 5017 if { (eval echo configure:5018: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 5006 rm -rf conftest* | 5018 rm -rf conftest* |
| 5007 eval "ac_cv_lib_$ac_lib_var=yes" | 5019 eval "ac_cv_lib_$ac_lib_var=yes" |
| 5008 else | 5020 else |
| 5009 echo "configure: failed program was:" >&5 | 5021 echo "configure: failed program was:" >&5 |
| 5010 cat conftest.$ac_ext >&5 | 5022 cat conftest.$ac_ext >&5 |
| 5034 # These have to be linked with before -lX11, unlike the other | 5046 # These have to be linked with before -lX11, unlike the other |
| 5035 # libraries we check for below, so use a different variable. | 5047 # libraries we check for below, so use a different variable. |
| 5036 # --interran@uluru.Stanford.EDU, kb@cs.umb.edu. | 5048 # --interran@uluru.Stanford.EDU, kb@cs.umb.edu. |
| 5037 | 5049 |
| 5038 echo $ac_n "checking for IceConnectionNumber in -lICE""... $ac_c" 1>&6 | 5050 echo $ac_n "checking for IceConnectionNumber in -lICE""... $ac_c" 1>&6 |
| 5039 echo "configure:5040: checking for IceConnectionNumber in -lICE" >&5 | 5051 echo "configure:5052: checking for IceConnectionNumber in -lICE" >&5 |
| 5040 ac_lib_var=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'` | 5052 ac_lib_var=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'` |
| 5041 | 5053 |
| 5042 xe_check_libs=" -lICE " | 5054 xe_check_libs=" -lICE " |
| 5043 cat > conftest.$ac_ext <<EOF | 5055 cat > conftest.$ac_ext <<EOF |
| 5044 #line 5045 "configure" | 5056 #line 5057 "configure" |
| 5045 #include "confdefs.h" | 5057 #include "confdefs.h" |
| 5046 /* Override any gcc2 internal prototype to avoid an error. */ | 5058 /* Override any gcc2 internal prototype to avoid an error. */ |
| 5047 /* We use char because int might match the return type of a gcc2 | 5059 /* We use char because int might match the return type of a gcc2 |
| 5048 builtin and then its argument prototype would still apply. */ | 5060 builtin and then its argument prototype would still apply. */ |
| 5049 char IceConnectionNumber(); | 5061 char IceConnectionNumber(); |
| 5050 | 5062 |
| 5051 int main() { | 5063 int main() { |
| 5052 IceConnectionNumber() | 5064 IceConnectionNumber() |
| 5053 ; return 0; } | 5065 ; return 0; } |
| 5054 EOF | 5066 EOF |
| 5055 if { (eval echo configure:5056: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 5067 if { (eval echo configure:5068: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 5056 rm -rf conftest* | 5068 rm -rf conftest* |
| 5057 eval "ac_cv_lib_$ac_lib_var=yes" | 5069 eval "ac_cv_lib_$ac_lib_var=yes" |
| 5058 else | 5070 else |
| 5059 echo "configure: failed program was:" >&5 | 5071 echo "configure: failed program was:" >&5 |
| 5060 cat conftest.$ac_ext >&5 | 5072 cat conftest.$ac_ext >&5 |
| 5217 EOF | 5229 EOF |
| 5218 } | 5230 } |
| 5219 | 5231 |
| 5220 | 5232 |
| 5221 echo "checking for X defines extracted by xmkmf" 1>&6 | 5233 echo "checking for X defines extracted by xmkmf" 1>&6 |
| 5222 echo "configure:5223: checking for X defines extracted by xmkmf" >&5 | 5234 echo "configure:5235: checking for X defines extracted by xmkmf" >&5 |
| 5223 rm -fr conftestdir | 5235 rm -fr conftestdir |
| 5224 if mkdir conftestdir; then | 5236 if mkdir conftestdir; then |
| 5225 cd conftestdir | 5237 cd conftestdir |
| 5226 cat > Imakefile <<'EOF' | 5238 cat > Imakefile <<'EOF' |
| 5227 xetest: | 5239 xetest: |
| 5249 done | 5261 done |
| 5250 fi | 5262 fi |
| 5251 | 5263 |
| 5252 ac_safe=`echo "X11/Intrinsic.h" | sed 'y%./+-%__p_%'` | 5264 ac_safe=`echo "X11/Intrinsic.h" | sed 'y%./+-%__p_%'` |
| 5253 echo $ac_n "checking for X11/Intrinsic.h""... $ac_c" 1>&6 | 5265 echo $ac_n "checking for X11/Intrinsic.h""... $ac_c" 1>&6 |
| 5254 echo "configure:5255: checking for X11/Intrinsic.h" >&5 | 5266 echo "configure:5267: checking for X11/Intrinsic.h" >&5 |
| 5255 | 5267 |
| 5256 cat > conftest.$ac_ext <<EOF | 5268 cat > conftest.$ac_ext <<EOF |
| 5257 #line 5258 "configure" | 5269 #line 5270 "configure" |
| 5258 #include "confdefs.h" | 5270 #include "confdefs.h" |
| 5259 #include <X11/Intrinsic.h> | 5271 #include <X11/Intrinsic.h> |
| 5260 EOF | 5272 EOF |
| 5261 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 5273 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 5262 { (eval echo configure:5263: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 5274 { (eval echo configure:5275: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 5263 ac_err=`grep -v '^ *+' conftest.out` | 5275 ac_err=`grep -v '^ *+' conftest.out` |
| 5264 if test -z "$ac_err"; then | 5276 if test -z "$ac_err"; then |
| 5265 rm -rf conftest* | 5277 rm -rf conftest* |
| 5266 eval "ac_cv_header_$ac_safe=yes" | 5278 eval "ac_cv_header_$ac_safe=yes" |
| 5267 else | 5279 else |
| 5281 fi | 5293 fi |
| 5282 | 5294 |
| 5283 | 5295 |
| 5284 | 5296 |
| 5285 echo $ac_n "checking for XOpenDisplay in -lX11""... $ac_c" 1>&6 | 5297 echo $ac_n "checking for XOpenDisplay in -lX11""... $ac_c" 1>&6 |
| 5286 echo "configure:5287: checking for XOpenDisplay in -lX11" >&5 | 5298 echo "configure:5299: checking for XOpenDisplay in -lX11" >&5 |
| 5287 ac_lib_var=`echo X11'_'XOpenDisplay | sed 'y%./+-%__p_%'` | 5299 ac_lib_var=`echo X11'_'XOpenDisplay | sed 'y%./+-%__p_%'` |
| 5288 | 5300 |
| 5289 xe_check_libs=" -lX11 " | 5301 xe_check_libs=" -lX11 " |
| 5290 cat > conftest.$ac_ext <<EOF | 5302 cat > conftest.$ac_ext <<EOF |
| 5291 #line 5292 "configure" | 5303 #line 5304 "configure" |
| 5292 #include "confdefs.h" | 5304 #include "confdefs.h" |
| 5293 /* Override any gcc2 internal prototype to avoid an error. */ | 5305 /* Override any gcc2 internal prototype to avoid an error. */ |
| 5294 /* We use char because int might match the return type of a gcc2 | 5306 /* We use char because int might match the return type of a gcc2 |
| 5295 builtin and then its argument prototype would still apply. */ | 5307 builtin and then its argument prototype would still apply. */ |
| 5296 char XOpenDisplay(); | 5308 char XOpenDisplay(); |
| 5297 | 5309 |
| 5298 int main() { | 5310 int main() { |
| 5299 XOpenDisplay() | 5311 XOpenDisplay() |
| 5300 ; return 0; } | 5312 ; return 0; } |
| 5301 EOF | 5313 EOF |
| 5302 if { (eval echo configure:5303: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 5314 if { (eval echo configure:5315: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 5303 rm -rf conftest* | 5315 rm -rf conftest* |
| 5304 eval "ac_cv_lib_$ac_lib_var=yes" | 5316 eval "ac_cv_lib_$ac_lib_var=yes" |
| 5305 else | 5317 else |
| 5306 echo "configure: failed program was:" >&5 | 5318 echo "configure: failed program was:" >&5 |
| 5307 cat conftest.$ac_ext >&5 | 5319 cat conftest.$ac_ext >&5 |
| 5322 if test "$have_lib_x11" != "yes"; then | 5334 if test "$have_lib_x11" != "yes"; then |
| 5323 | 5335 |
| 5324 xe_msg_checking="for XGetFontProperty in -lX11" | 5336 xe_msg_checking="for XGetFontProperty in -lX11" |
| 5325 test -n "-b i486-linuxaout" && xe_msg_checking="$xe_msg_checking using extra libs -b i486-linuxaout" | 5337 test -n "-b i486-linuxaout" && xe_msg_checking="$xe_msg_checking using extra libs -b i486-linuxaout" |
| 5326 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 5338 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
| 5327 echo "configure:5328: checking "$xe_msg_checking"" >&5 | 5339 echo "configure:5340: checking "$xe_msg_checking"" >&5 |
| 5328 ac_lib_var=`echo X11'_'XGetFontProperty | sed 'y%./+-%__p_%'` | 5340 ac_lib_var=`echo X11'_'XGetFontProperty | sed 'y%./+-%__p_%'` |
| 5329 | 5341 |
| 5330 xe_check_libs=" -lX11 -b i486-linuxaout" | 5342 xe_check_libs=" -lX11 -b i486-linuxaout" |
| 5331 cat > conftest.$ac_ext <<EOF | 5343 cat > conftest.$ac_ext <<EOF |
| 5332 #line 5333 "configure" | 5344 #line 5345 "configure" |
| 5333 #include "confdefs.h" | 5345 #include "confdefs.h" |
| 5334 /* Override any gcc2 internal prototype to avoid an error. */ | 5346 /* Override any gcc2 internal prototype to avoid an error. */ |
| 5335 /* We use char because int might match the return type of a gcc2 | 5347 /* We use char because int might match the return type of a gcc2 |
| 5336 builtin and then its argument prototype would still apply. */ | 5348 builtin and then its argument prototype would still apply. */ |
| 5337 char XGetFontProperty(); | 5349 char XGetFontProperty(); |
| 5338 | 5350 |
| 5339 int main() { | 5351 int main() { |
| 5340 XGetFontProperty() | 5352 XGetFontProperty() |
| 5341 ; return 0; } | 5353 ; return 0; } |
| 5342 EOF | 5354 EOF |
| 5343 if { (eval echo configure:5344: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 5355 if { (eval echo configure:5356: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 5344 rm -rf conftest* | 5356 rm -rf conftest* |
| 5345 eval "ac_cv_lib_$ac_lib_var=yes" | 5357 eval "ac_cv_lib_$ac_lib_var=yes" |
| 5346 else | 5358 else |
| 5347 echo "configure: failed program was:" >&5 | 5359 echo "configure: failed program was:" >&5 |
| 5348 cat conftest.$ac_ext >&5 | 5360 cat conftest.$ac_ext >&5 |
| 5365 libs_x="-lX11" | 5377 libs_x="-lX11" |
| 5366 test "$extra_verbose" = "yes" && echo " Setting libs_x to \"-lX11\"" | 5378 test "$extra_verbose" = "yes" && echo " Setting libs_x to \"-lX11\"" |
| 5367 | 5379 |
| 5368 | 5380 |
| 5369 echo $ac_n "checking for XShapeSelectInput in -lXext""... $ac_c" 1>&6 | 5381 echo $ac_n "checking for XShapeSelectInput in -lXext""... $ac_c" 1>&6 |
| 5370 echo "configure:5371: checking for XShapeSelectInput in -lXext" >&5 | 5382 echo "configure:5383: checking for XShapeSelectInput in -lXext" >&5 |
| 5371 ac_lib_var=`echo Xext'_'XShapeSelectInput | sed 'y%./+-%__p_%'` | 5383 ac_lib_var=`echo Xext'_'XShapeSelectInput | sed 'y%./+-%__p_%'` |
| 5372 | 5384 |
| 5373 xe_check_libs=" -lXext " | 5385 xe_check_libs=" -lXext " |
| 5374 cat > conftest.$ac_ext <<EOF | 5386 cat > conftest.$ac_ext <<EOF |
| 5375 #line 5376 "configure" | 5387 #line 5388 "configure" |
| 5376 #include "confdefs.h" | 5388 #include "confdefs.h" |
| 5377 /* Override any gcc2 internal prototype to avoid an error. */ | 5389 /* Override any gcc2 internal prototype to avoid an error. */ |
| 5378 /* We use char because int might match the return type of a gcc2 | 5390 /* We use char because int might match the return type of a gcc2 |
| 5379 builtin and then its argument prototype would still apply. */ | 5391 builtin and then its argument prototype would still apply. */ |
| 5380 char XShapeSelectInput(); | 5392 char XShapeSelectInput(); |
| 5381 | 5393 |
| 5382 int main() { | 5394 int main() { |
| 5383 XShapeSelectInput() | 5395 XShapeSelectInput() |
| 5384 ; return 0; } | 5396 ; return 0; } |
| 5385 EOF | 5397 EOF |
| 5386 if { (eval echo configure:5387: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 5398 if { (eval echo configure:5399: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 5387 rm -rf conftest* | 5399 rm -rf conftest* |
| 5388 eval "ac_cv_lib_$ac_lib_var=yes" | 5400 eval "ac_cv_lib_$ac_lib_var=yes" |
| 5389 else | 5401 else |
| 5390 echo "configure: failed program was:" >&5 | 5402 echo "configure: failed program was:" >&5 |
| 5391 cat conftest.$ac_ext >&5 | 5403 cat conftest.$ac_ext >&5 |
| 5404 | 5416 |
| 5405 | 5417 |
| 5406 | 5418 |
| 5407 | 5419 |
| 5408 echo $ac_n "checking for XtOpenDisplay in -lXt""... $ac_c" 1>&6 | 5420 echo $ac_n "checking for XtOpenDisplay in -lXt""... $ac_c" 1>&6 |
| 5409 echo "configure:5410: checking for XtOpenDisplay in -lXt" >&5 | 5421 echo "configure:5422: checking for XtOpenDisplay in -lXt" >&5 |
| 5410 ac_lib_var=`echo Xt'_'XtOpenDisplay | sed 'y%./+-%__p_%'` | 5422 ac_lib_var=`echo Xt'_'XtOpenDisplay | sed 'y%./+-%__p_%'` |
| 5411 | 5423 |
| 5412 xe_check_libs=" -lXt " | 5424 xe_check_libs=" -lXt " |
| 5413 cat > conftest.$ac_ext <<EOF | 5425 cat > conftest.$ac_ext <<EOF |
| 5414 #line 5415 "configure" | 5426 #line 5427 "configure" |
| 5415 #include "confdefs.h" | 5427 #include "confdefs.h" |
| 5416 /* Override any gcc2 internal prototype to avoid an error. */ | 5428 /* Override any gcc2 internal prototype to avoid an error. */ |
| 5417 /* We use char because int might match the return type of a gcc2 | 5429 /* We use char because int might match the return type of a gcc2 |
| 5418 builtin and then its argument prototype would still apply. */ | 5430 builtin and then its argument prototype would still apply. */ |
| 5419 char XtOpenDisplay(); | 5431 char XtOpenDisplay(); |
| 5420 | 5432 |
| 5421 int main() { | 5433 int main() { |
| 5422 XtOpenDisplay() | 5434 XtOpenDisplay() |
| 5423 ; return 0; } | 5435 ; return 0; } |
| 5424 EOF | 5436 EOF |
| 5425 if { (eval echo configure:5426: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 5437 if { (eval echo configure:5438: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 5426 rm -rf conftest* | 5438 rm -rf conftest* |
| 5427 eval "ac_cv_lib_$ac_lib_var=yes" | 5439 eval "ac_cv_lib_$ac_lib_var=yes" |
| 5428 else | 5440 else |
| 5429 echo "configure: failed program was:" >&5 | 5441 echo "configure: failed program was:" >&5 |
| 5430 cat conftest.$ac_ext >&5 | 5442 cat conftest.$ac_ext >&5 |
| 5443 fi | 5455 fi |
| 5444 | 5456 |
| 5445 | 5457 |
| 5446 | 5458 |
| 5447 echo $ac_n "checking the version of X11 being used""... $ac_c" 1>&6 | 5459 echo $ac_n "checking the version of X11 being used""... $ac_c" 1>&6 |
| 5448 echo "configure:5449: checking the version of X11 being used" >&5 | 5460 echo "configure:5461: checking the version of X11 being used" >&5 |
| 5449 cat > conftest.$ac_ext <<EOF | 5461 cat > conftest.$ac_ext <<EOF |
| 5450 #line 5451 "configure" | 5462 #line 5463 "configure" |
| 5451 #include "confdefs.h" | 5463 #include "confdefs.h" |
| 5452 #include <X11/Intrinsic.h> | 5464 #include <X11/Intrinsic.h> |
| 5453 int main(int c, char *v[]) { return c>1 ? XlibSpecificationRelease : 0; } | 5465 int main(int c, char *v[]) { return c>1 ? XlibSpecificationRelease : 0; } |
| 5454 EOF | 5466 EOF |
| 5455 if { (eval echo configure:5456: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 | 5467 if { (eval echo configure:5468: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 |
| 5456 then | 5468 then |
| 5457 ./conftest foobar; x11_release=$? | 5469 ./conftest foobar; x11_release=$? |
| 5458 else | 5470 else |
| 5459 echo "configure: failed program was:" >&5 | 5471 echo "configure: failed program was:" >&5 |
| 5460 cat conftest.$ac_ext >&5 | 5472 cat conftest.$ac_ext >&5 |
| 5474 | 5486 |
| 5475 for ac_hdr in X11/Xlocale.h | 5487 for ac_hdr in X11/Xlocale.h |
| 5476 do | 5488 do |
| 5477 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 5489 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
| 5478 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 5490 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
| 5479 echo "configure:5480: checking for $ac_hdr" >&5 | 5491 echo "configure:5492: checking for $ac_hdr" >&5 |
| 5480 | 5492 |
| 5481 cat > conftest.$ac_ext <<EOF | 5493 cat > conftest.$ac_ext <<EOF |
| 5482 #line 5483 "configure" | 5494 #line 5495 "configure" |
| 5483 #include "confdefs.h" | 5495 #include "confdefs.h" |
| 5484 #include <$ac_hdr> | 5496 #include <$ac_hdr> |
| 5485 EOF | 5497 EOF |
| 5486 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 5498 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 5487 { (eval echo configure:5488: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 5499 { (eval echo configure:5500: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 5488 ac_err=`grep -v '^ *+' conftest.out` | 5500 ac_err=`grep -v '^ *+' conftest.out` |
| 5489 if test -z "$ac_err"; then | 5501 if test -z "$ac_err"; then |
| 5490 rm -rf conftest* | 5502 rm -rf conftest* |
| 5491 eval "ac_cv_header_$ac_safe=yes" | 5503 eval "ac_cv_header_$ac_safe=yes" |
| 5492 else | 5504 else |
| 5513 fi | 5525 fi |
| 5514 done | 5526 done |
| 5515 | 5527 |
| 5516 | 5528 |
| 5517 echo $ac_n "checking for XFree86""... $ac_c" 1>&6 | 5529 echo $ac_n "checking for XFree86""... $ac_c" 1>&6 |
| 5518 echo "configure:5519: checking for XFree86" >&5 | 5530 echo "configure:5531: checking for XFree86" >&5 |
| 5519 if test -d "/usr/X386/include" -o \ | 5531 if test -d "/usr/X386/include" -o \ |
| 5520 -f "/etc/XF86Config" -o \ | 5532 -f "/etc/XF86Config" -o \ |
| 5521 -f "/etc/X11/XF86Config" -o \ | 5533 -f "/etc/X11/XF86Config" -o \ |
| 5522 -f "/usr/X11R6/lib/X11/XF86Config"; then | 5534 -f "/usr/X11R6/lib/X11/XF86Config"; then |
| 5523 echo "$ac_t""yes" 1>&6 | 5535 echo "$ac_t""yes" 1>&6 |
| 5533 echo "$ac_t""no" 1>&6 | 5545 echo "$ac_t""no" 1>&6 |
| 5534 fi | 5546 fi |
| 5535 | 5547 |
| 5536 test -z "$with_xmu" && { | 5548 test -z "$with_xmu" && { |
| 5537 echo $ac_n "checking for XmuReadBitmapDataFromFile in -lXmu""... $ac_c" 1>&6 | 5549 echo $ac_n "checking for XmuReadBitmapDataFromFile in -lXmu""... $ac_c" 1>&6 |
| 5538 echo "configure:5539: checking for XmuReadBitmapDataFromFile in -lXmu" >&5 | 5550 echo "configure:5551: checking for XmuReadBitmapDataFromFile in -lXmu" >&5 |
| 5539 ac_lib_var=`echo Xmu'_'XmuReadBitmapDataFromFile | sed 'y%./+-%__p_%'` | 5551 ac_lib_var=`echo Xmu'_'XmuReadBitmapDataFromFile | sed 'y%./+-%__p_%'` |
| 5540 | 5552 |
| 5541 xe_check_libs=" -lXmu " | 5553 xe_check_libs=" -lXmu " |
| 5542 cat > conftest.$ac_ext <<EOF | 5554 cat > conftest.$ac_ext <<EOF |
| 5543 #line 5544 "configure" | 5555 #line 5556 "configure" |
| 5544 #include "confdefs.h" | 5556 #include "confdefs.h" |
| 5545 /* Override any gcc2 internal prototype to avoid an error. */ | 5557 /* Override any gcc2 internal prototype to avoid an error. */ |
| 5546 /* We use char because int might match the return type of a gcc2 | 5558 /* We use char because int might match the return type of a gcc2 |
| 5547 builtin and then its argument prototype would still apply. */ | 5559 builtin and then its argument prototype would still apply. */ |
| 5548 char XmuReadBitmapDataFromFile(); | 5560 char XmuReadBitmapDataFromFile(); |
| 5549 | 5561 |
| 5550 int main() { | 5562 int main() { |
| 5551 XmuReadBitmapDataFromFile() | 5563 XmuReadBitmapDataFromFile() |
| 5552 ; return 0; } | 5564 ; return 0; } |
| 5553 EOF | 5565 EOF |
| 5554 if { (eval echo configure:5555: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 5566 if { (eval echo configure:5567: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 5555 rm -rf conftest* | 5567 rm -rf conftest* |
| 5556 eval "ac_cv_lib_$ac_lib_var=yes" | 5568 eval "ac_cv_lib_$ac_lib_var=yes" |
| 5557 else | 5569 else |
| 5558 echo "configure: failed program was:" >&5 | 5570 echo "configure: failed program was:" >&5 |
| 5559 cat conftest.$ac_ext >&5 | 5571 cat conftest.$ac_ext >&5 |
| 5588 | 5600 |
| 5589 fi | 5601 fi |
| 5590 | 5602 |
| 5591 | 5603 |
| 5592 echo $ac_n "checking for main in -lXbsd""... $ac_c" 1>&6 | 5604 echo $ac_n "checking for main in -lXbsd""... $ac_c" 1>&6 |
| 5593 echo "configure:5594: checking for main in -lXbsd" >&5 | 5605 echo "configure:5606: checking for main in -lXbsd" >&5 |
| 5594 ac_lib_var=`echo Xbsd'_'main | sed 'y%./+-%__p_%'` | 5606 ac_lib_var=`echo Xbsd'_'main | sed 'y%./+-%__p_%'` |
| 5595 | 5607 |
| 5596 xe_check_libs=" -lXbsd " | 5608 xe_check_libs=" -lXbsd " |
| 5597 cat > conftest.$ac_ext <<EOF | 5609 cat > conftest.$ac_ext <<EOF |
| 5598 #line 5599 "configure" | 5610 #line 5611 "configure" |
| 5599 #include "confdefs.h" | 5611 #include "confdefs.h" |
| 5600 | 5612 |
| 5601 int main() { | 5613 int main() { |
| 5602 main() | 5614 main() |
| 5603 ; return 0; } | 5615 ; return 0; } |
| 5604 EOF | 5616 EOF |
| 5605 if { (eval echo configure:5606: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 5617 if { (eval echo configure:5618: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 5606 rm -rf conftest* | 5618 rm -rf conftest* |
| 5607 eval "ac_cv_lib_$ac_lib_var=yes" | 5619 eval "ac_cv_lib_$ac_lib_var=yes" |
| 5608 else | 5620 else |
| 5609 echo "configure: failed program was:" >&5 | 5621 echo "configure: failed program was:" >&5 |
| 5610 cat conftest.$ac_ext >&5 | 5622 cat conftest.$ac_ext >&5 |
| 5637 fi | 5649 fi |
| 5638 | 5650 |
| 5639 fi | 5651 fi |
| 5640 if test "$with_msw" != "no"; then | 5652 if test "$with_msw" != "no"; then |
| 5641 echo "checking for MS-Windows" 1>&6 | 5653 echo "checking for MS-Windows" 1>&6 |
| 5642 echo "configure:5643: checking for MS-Windows" >&5 | 5654 echo "configure:5655: checking for MS-Windows" >&5 |
| 5643 | 5655 |
| 5644 echo $ac_n "checking for main in -lgdi32""... $ac_c" 1>&6 | 5656 echo $ac_n "checking for main in -lgdi32""... $ac_c" 1>&6 |
| 5645 echo "configure:5646: checking for main in -lgdi32" >&5 | 5657 echo "configure:5658: checking for main in -lgdi32" >&5 |
| 5646 ac_lib_var=`echo gdi32'_'main | sed 'y%./+-%__p_%'` | 5658 ac_lib_var=`echo gdi32'_'main | sed 'y%./+-%__p_%'` |
| 5647 | 5659 |
| 5648 xe_check_libs=" -lgdi32 " | 5660 xe_check_libs=" -lgdi32 " |
| 5649 cat > conftest.$ac_ext <<EOF | 5661 cat > conftest.$ac_ext <<EOF |
| 5650 #line 5651 "configure" | 5662 #line 5663 "configure" |
| 5651 #include "confdefs.h" | 5663 #include "confdefs.h" |
| 5652 | 5664 |
| 5653 int main() { | 5665 int main() { |
| 5654 main() | 5666 main() |
| 5655 ; return 0; } | 5667 ; return 0; } |
| 5656 EOF | 5668 EOF |
| 5657 if { (eval echo configure:5658: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 5669 if { (eval echo configure:5670: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 5658 rm -rf conftest* | 5670 rm -rf conftest* |
| 5659 eval "ac_cv_lib_$ac_lib_var=yes" | 5671 eval "ac_cv_lib_$ac_lib_var=yes" |
| 5660 else | 5672 else |
| 5661 echo "configure: failed program was:" >&5 | 5673 echo "configure: failed program was:" >&5 |
| 5662 cat conftest.$ac_ext >&5 | 5674 cat conftest.$ac_ext >&5 |
| 5681 cat >> confdefs.h <<\EOF | 5693 cat >> confdefs.h <<\EOF |
| 5682 #define HAVE_MS_WINDOWS 1 | 5694 #define HAVE_MS_WINDOWS 1 |
| 5683 EOF | 5695 EOF |
| 5684 } | 5696 } |
| 5685 | 5697 |
| 5686 libs_system="$libs_system -lshell32 -lgdi32 -luser32" && if test "$extra_verbose" = "yes"; then echo " Appending \"-lshell32 -lgdi32 -luser32\" to \$libs_system"; fi | 5698 install_pp="$blddir/lib-src/installexe.sh" |
| 5699 libs_system="$libs_system -lshell32 -lgdi32 -luser32 -lcomctl32" && if test "$extra_verbose" = "yes"; then echo " Appending \"-lshell32 -lgdi32 -luser32 -lcomctl32\" to \$libs_system"; fi | |
| 5687 if test "$window_system" != x11; then | 5700 if test "$window_system" != x11; then |
| 5688 window_system=msw | 5701 window_system=msw |
| 5689 test "$with_scrollbars" != "no" && with_scrollbars=msw \ | 5702 test "$with_scrollbars" != "no" && with_scrollbars=msw \ |
| 5690 && extra_objs="$extra_objs scrollbar-msw.o" && if test "$extra_verbose" = "yes"; then | 5703 && extra_objs="$extra_objs scrollbar-msw.o" && if test "$extra_verbose" = "yes"; then |
| 5691 echo " xemacs will be linked with \"scrollbar-msw.o\"" | 5704 echo " xemacs will be linked with \"scrollbar-msw.o\"" |
| 5692 fi | 5705 fi |
| 5693 test "$with_menubars" != "no" && with_menubars=msw \ | 5706 test "$with_menubars" != "no" && with_menubars=msw \ |
| 5694 && extra_objs="$extra_objs menubar-msw.o" && if test "$extra_verbose" = "yes"; then | 5707 && extra_objs="$extra_objs menubar-msw.o" && if test "$extra_verbose" = "yes"; then |
| 5695 echo " xemacs will be linked with \"menubar-msw.o\"" | 5708 echo " xemacs will be linked with \"menubar-msw.o\"" |
| 5696 fi | 5709 fi |
| 5710 test "$with_toolbars" != "no" && with_toolbars=msw \ | |
| 5711 && extra_objs="$extra_objs toolbar-msw.o" && if test "$extra_verbose" = "yes"; then | |
| 5712 echo " xemacs will be linked with \"toolbar-msw.o\"" | |
| 5713 fi | |
| 5697 with_dialogs=msw | 5714 with_dialogs=msw |
| 5698 with_toolbars=no | |
| 5699 else | 5715 else |
| 5700 test "$with_scrollbars" != "no" && extra_objs="$extra_objs scrollbar-msw.o" && if test "$extra_verbose" = "yes"; then | 5716 test "$with_scrollbars" != "no" && extra_objs="$extra_objs scrollbar-msw.o" && if test "$extra_verbose" = "yes"; then |
| 5701 echo " xemacs will be linked with \"scrollbar-msw.o\"" | 5717 echo " xemacs will be linked with \"scrollbar-msw.o\"" |
| 5702 fi | 5718 fi |
| 5703 test "$with_menubars" != "no" && extra_objs="$extra_objs menubar-msw.o" && if test "$extra_verbose" = "yes"; then | 5719 test "$with_menubars" != "no" && extra_objs="$extra_objs menubar-msw.o" && if test "$extra_verbose" = "yes"; then |
| 5704 echo " xemacs will be linked with \"menubar-msw.o\"" | 5720 echo " xemacs will be linked with \"menubar-msw.o\"" |
| 5721 fi | |
| 5722 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\"" | |
| 5705 fi | 5724 fi |
| 5706 fi | 5725 fi |
| 5707 const_is_losing=no | 5726 const_is_losing=no |
| 5708 with_file_coding=yes | 5727 with_file_coding=yes |
| 5709 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 | 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 |
| 5710 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\"" | 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\"" |
| 5711 fi | 5730 fi |
| 5712 fi | 5731 fi |
| 5713 fi | 5732 fi |
| 5733 | |
| 5734 | |
| 5714 | 5735 |
| 5715 test -z "$window_system" && window_system="none" | 5736 test -z "$window_system" && window_system="none" |
| 5716 | 5737 |
| 5717 if test "$window_system" = "none"; then | 5738 if test "$window_system" = "none"; then |
| 5718 for feature in menubars scrollbars toolbars dialogs | 5739 for feature in menubars scrollbars toolbars dialogs |
| 5761 test "$opsys" = "hpux9" && opsysfile="s/hpux9-x11r4.h" | 5782 test "$opsys" = "hpux9" && opsysfile="s/hpux9-x11r4.h" |
| 5762 test "$opsys" = "hpux9-shr" && opsysfile="s/hpux9shxr4.h" | 5783 test "$opsys" = "hpux9-shr" && opsysfile="s/hpux9shxr4.h" |
| 5763 esac | 5784 esac |
| 5764 | 5785 |
| 5765 echo "checking for session-management option" 1>&6 | 5786 echo "checking for session-management option" 1>&6 |
| 5766 echo "configure:5767: checking for session-management option" >&5; | 5787 echo "configure:5788: checking for session-management option" >&5; |
| 5767 if test "$with_session" != "no"; then | 5788 if test "$with_session" != "no"; then |
| 5768 { test "$extra_verbose" = "yes" && cat << \EOF | 5789 { test "$extra_verbose" = "yes" && cat << \EOF |
| 5769 Defining HAVE_SESSION | 5790 Defining HAVE_SESSION |
| 5770 EOF | 5791 EOF |
| 5771 cat >> confdefs.h <<\EOF | 5792 cat >> confdefs.h <<\EOF |
| 5776 fi | 5797 fi |
| 5777 | 5798 |
| 5778 test -z "$with_xauth" && test "$window_system" = "none" && with_xauth=no | 5799 test -z "$with_xauth" && test "$window_system" = "none" && with_xauth=no |
| 5779 test -z "$with_xauth" && { ac_safe=`echo "X11/Xauth.h" | sed 'y%./+-%__p_%'` | 5800 test -z "$with_xauth" && { ac_safe=`echo "X11/Xauth.h" | sed 'y%./+-%__p_%'` |
| 5780 echo $ac_n "checking for X11/Xauth.h""... $ac_c" 1>&6 | 5801 echo $ac_n "checking for X11/Xauth.h""... $ac_c" 1>&6 |
| 5781 echo "configure:5782: checking for X11/Xauth.h" >&5 | 5802 echo "configure:5803: checking for X11/Xauth.h" >&5 |
| 5782 | 5803 |
| 5783 cat > conftest.$ac_ext <<EOF | 5804 cat > conftest.$ac_ext <<EOF |
| 5784 #line 5785 "configure" | 5805 #line 5806 "configure" |
| 5785 #include "confdefs.h" | 5806 #include "confdefs.h" |
| 5786 #include <X11/Xauth.h> | 5807 #include <X11/Xauth.h> |
| 5787 EOF | 5808 EOF |
| 5788 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 5809 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 5789 { (eval echo configure:5790: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 5810 { (eval echo configure:5811: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 5790 ac_err=`grep -v '^ *+' conftest.out` | 5811 ac_err=`grep -v '^ *+' conftest.out` |
| 5791 if test -z "$ac_err"; then | 5812 if test -z "$ac_err"; then |
| 5792 rm -rf conftest* | 5813 rm -rf conftest* |
| 5793 eval "ac_cv_header_$ac_safe=yes" | 5814 eval "ac_cv_header_$ac_safe=yes" |
| 5794 else | 5815 else |
| 5807 with_xauth=no | 5828 with_xauth=no |
| 5808 fi | 5829 fi |
| 5809 } | 5830 } |
| 5810 test -z "$with_xauth" && { | 5831 test -z "$with_xauth" && { |
| 5811 echo $ac_n "checking for XauGetAuthByAddr in -lXau""... $ac_c" 1>&6 | 5832 echo $ac_n "checking for XauGetAuthByAddr in -lXau""... $ac_c" 1>&6 |
| 5812 echo "configure:5813: checking for XauGetAuthByAddr in -lXau" >&5 | 5833 echo "configure:5834: checking for XauGetAuthByAddr in -lXau" >&5 |
| 5813 ac_lib_var=`echo Xau'_'XauGetAuthByAddr | sed 'y%./+-%__p_%'` | 5834 ac_lib_var=`echo Xau'_'XauGetAuthByAddr | sed 'y%./+-%__p_%'` |
| 5814 | 5835 |
| 5815 xe_check_libs=" -lXau " | 5836 xe_check_libs=" -lXau " |
| 5816 cat > conftest.$ac_ext <<EOF | 5837 cat > conftest.$ac_ext <<EOF |
| 5817 #line 5818 "configure" | 5838 #line 5839 "configure" |
| 5818 #include "confdefs.h" | 5839 #include "confdefs.h" |
| 5819 /* Override any gcc2 internal prototype to avoid an error. */ | 5840 /* Override any gcc2 internal prototype to avoid an error. */ |
| 5820 /* We use char because int might match the return type of a gcc2 | 5841 /* We use char because int might match the return type of a gcc2 |
| 5821 builtin and then its argument prototype would still apply. */ | 5842 builtin and then its argument prototype would still apply. */ |
| 5822 char XauGetAuthByAddr(); | 5843 char XauGetAuthByAddr(); |
| 5823 | 5844 |
| 5824 int main() { | 5845 int main() { |
| 5825 XauGetAuthByAddr() | 5846 XauGetAuthByAddr() |
| 5826 ; return 0; } | 5847 ; return 0; } |
| 5827 EOF | 5848 EOF |
| 5828 if { (eval echo configure:5829: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 5849 if { (eval echo configure:5850: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 5829 rm -rf conftest* | 5850 rm -rf conftest* |
| 5830 eval "ac_cv_lib_$ac_lib_var=yes" | 5851 eval "ac_cv_lib_$ac_lib_var=yes" |
| 5831 else | 5852 else |
| 5832 echo "configure: failed program was:" >&5 | 5853 echo "configure: failed program was:" >&5 |
| 5833 cat conftest.$ac_ext >&5 | 5854 cat conftest.$ac_ext >&5 |
| 5887 test "$with_cde" = "yes" && with_tooltalk=yes # CDE requires tooltalk | 5908 test "$with_cde" = "yes" && with_tooltalk=yes # CDE requires tooltalk |
| 5888 if test "$with_tooltalk" != "no" ; then | 5909 if test "$with_tooltalk" != "no" ; then |
| 5889 for dir in "" "Tt/" "desktop/" ; do | 5910 for dir in "" "Tt/" "desktop/" ; do |
| 5890 ac_safe=`echo "${dir}tt_c.h" | sed 'y%./+-%__p_%'` | 5911 ac_safe=`echo "${dir}tt_c.h" | sed 'y%./+-%__p_%'` |
| 5891 echo $ac_n "checking for ${dir}tt_c.h""... $ac_c" 1>&6 | 5912 echo $ac_n "checking for ${dir}tt_c.h""... $ac_c" 1>&6 |
| 5892 echo "configure:5893: checking for ${dir}tt_c.h" >&5 | 5913 echo "configure:5914: checking for ${dir}tt_c.h" >&5 |
| 5893 | 5914 |
| 5894 cat > conftest.$ac_ext <<EOF | 5915 cat > conftest.$ac_ext <<EOF |
| 5895 #line 5896 "configure" | 5916 #line 5917 "configure" |
| 5896 #include "confdefs.h" | 5917 #include "confdefs.h" |
| 5897 #include <${dir}tt_c.h> | 5918 #include <${dir}tt_c.h> |
| 5898 EOF | 5919 EOF |
| 5899 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 5920 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 5900 { (eval echo configure:5901: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 5921 { (eval echo configure:5922: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 5901 ac_err=`grep -v '^ *+' conftest.out` | 5922 ac_err=`grep -v '^ *+' conftest.out` |
| 5902 if test -z "$ac_err"; then | 5923 if test -z "$ac_err"; then |
| 5903 rm -rf conftest* | 5924 rm -rf conftest* |
| 5904 eval "ac_cv_header_$ac_safe=yes" | 5925 eval "ac_cv_header_$ac_safe=yes" |
| 5905 else | 5926 else |
| 5924 for extra_libs in "" "-lI18N -lce" "-lcxx"; do | 5945 for extra_libs in "" "-lI18N -lce" "-lcxx"; do |
| 5925 | 5946 |
| 5926 xe_msg_checking="for tt_message_create in -ltt" | 5947 xe_msg_checking="for tt_message_create in -ltt" |
| 5927 test -n "$extra_libs" && xe_msg_checking="$xe_msg_checking using extra libs $extra_libs" | 5948 test -n "$extra_libs" && xe_msg_checking="$xe_msg_checking using extra libs $extra_libs" |
| 5928 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 5949 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
| 5929 echo "configure:5930: checking "$xe_msg_checking"" >&5 | 5950 echo "configure:5951: checking "$xe_msg_checking"" >&5 |
| 5930 ac_lib_var=`echo tt'_'tt_message_create | sed 'y%./+-%__p_%'` | 5951 ac_lib_var=`echo tt'_'tt_message_create | sed 'y%./+-%__p_%'` |
| 5931 | 5952 |
| 5932 xe_check_libs=" -ltt $extra_libs" | 5953 xe_check_libs=" -ltt $extra_libs" |
| 5933 cat > conftest.$ac_ext <<EOF | 5954 cat > conftest.$ac_ext <<EOF |
| 5934 #line 5935 "configure" | 5955 #line 5956 "configure" |
| 5935 #include "confdefs.h" | 5956 #include "confdefs.h" |
| 5936 /* Override any gcc2 internal prototype to avoid an error. */ | 5957 /* Override any gcc2 internal prototype to avoid an error. */ |
| 5937 /* We use char because int might match the return type of a gcc2 | 5958 /* We use char because int might match the return type of a gcc2 |
| 5938 builtin and then its argument prototype would still apply. */ | 5959 builtin and then its argument prototype would still apply. */ |
| 5939 char tt_message_create(); | 5960 char tt_message_create(); |
| 5940 | 5961 |
| 5941 int main() { | 5962 int main() { |
| 5942 tt_message_create() | 5963 tt_message_create() |
| 5943 ; return 0; } | 5964 ; return 0; } |
| 5944 EOF | 5965 EOF |
| 5945 if { (eval echo configure:5946: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 5966 if { (eval echo configure:5967: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 5946 rm -rf conftest* | 5967 rm -rf conftest* |
| 5947 eval "ac_cv_lib_$ac_lib_var=yes" | 5968 eval "ac_cv_lib_$ac_lib_var=yes" |
| 5948 else | 5969 else |
| 5949 echo "configure: failed program was:" >&5 | 5970 echo "configure: failed program was:" >&5 |
| 5950 cat conftest.$ac_ext >&5 | 5971 cat conftest.$ac_ext >&5 |
| 5989 fi | 6010 fi |
| 5990 fi | 6011 fi |
| 5991 | 6012 |
| 5992 test -z "$with_cde" && { ac_safe=`echo "Dt/Dt.h" | sed 'y%./+-%__p_%'` | 6013 test -z "$with_cde" && { ac_safe=`echo "Dt/Dt.h" | sed 'y%./+-%__p_%'` |
| 5993 echo $ac_n "checking for Dt/Dt.h""... $ac_c" 1>&6 | 6014 echo $ac_n "checking for Dt/Dt.h""... $ac_c" 1>&6 |
| 5994 echo "configure:5995: checking for Dt/Dt.h" >&5 | 6015 echo "configure:6016: checking for Dt/Dt.h" >&5 |
| 5995 | 6016 |
| 5996 cat > conftest.$ac_ext <<EOF | 6017 cat > conftest.$ac_ext <<EOF |
| 5997 #line 5998 "configure" | 6018 #line 6019 "configure" |
| 5998 #include "confdefs.h" | 6019 #include "confdefs.h" |
| 5999 #include <Dt/Dt.h> | 6020 #include <Dt/Dt.h> |
| 6000 EOF | 6021 EOF |
| 6001 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6022 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 6002 { (eval echo configure:6003: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6023 { (eval echo configure:6024: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 6003 ac_err=`grep -v '^ *+' conftest.out` | 6024 ac_err=`grep -v '^ *+' conftest.out` |
| 6004 if test -z "$ac_err"; then | 6025 if test -z "$ac_err"; then |
| 6005 rm -rf conftest* | 6026 rm -rf conftest* |
| 6006 eval "ac_cv_header_$ac_safe=yes" | 6027 eval "ac_cv_header_$ac_safe=yes" |
| 6007 else | 6028 else |
| 6020 with_cde=no | 6041 with_cde=no |
| 6021 fi | 6042 fi |
| 6022 } | 6043 } |
| 6023 test -z "$with_cde" && { | 6044 test -z "$with_cde" && { |
| 6024 echo $ac_n "checking for DtDndDragStart in -lDtSvc""... $ac_c" 1>&6 | 6045 echo $ac_n "checking for DtDndDragStart in -lDtSvc""... $ac_c" 1>&6 |
| 6025 echo "configure:6026: checking for DtDndDragStart in -lDtSvc" >&5 | 6046 echo "configure:6047: checking for DtDndDragStart in -lDtSvc" >&5 |
| 6026 ac_lib_var=`echo DtSvc'_'DtDndDragStart | sed 'y%./+-%__p_%'` | 6047 ac_lib_var=`echo DtSvc'_'DtDndDragStart | sed 'y%./+-%__p_%'` |
| 6027 | 6048 |
| 6028 xe_check_libs=" -lDtSvc " | 6049 xe_check_libs=" -lDtSvc " |
| 6029 cat > conftest.$ac_ext <<EOF | 6050 cat > conftest.$ac_ext <<EOF |
| 6030 #line 6031 "configure" | 6051 #line 6052 "configure" |
| 6031 #include "confdefs.h" | 6052 #include "confdefs.h" |
| 6032 /* Override any gcc2 internal prototype to avoid an error. */ | 6053 /* Override any gcc2 internal prototype to avoid an error. */ |
| 6033 /* We use char because int might match the return type of a gcc2 | 6054 /* We use char because int might match the return type of a gcc2 |
| 6034 builtin and then its argument prototype would still apply. */ | 6055 builtin and then its argument prototype would still apply. */ |
| 6035 char DtDndDragStart(); | 6056 char DtDndDragStart(); |
| 6036 | 6057 |
| 6037 int main() { | 6058 int main() { |
| 6038 DtDndDragStart() | 6059 DtDndDragStart() |
| 6039 ; return 0; } | 6060 ; return 0; } |
| 6040 EOF | 6061 EOF |
| 6041 if { (eval echo configure:6042: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 6062 if { (eval echo configure:6063: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 6042 rm -rf conftest* | 6063 rm -rf conftest* |
| 6043 eval "ac_cv_lib_$ac_lib_var=yes" | 6064 eval "ac_cv_lib_$ac_lib_var=yes" |
| 6044 else | 6065 else |
| 6045 echo "configure: failed program was:" >&5 | 6066 echo "configure: failed program was:" >&5 |
| 6046 cat conftest.$ac_ext >&5 | 6067 cat conftest.$ac_ext >&5 |
| 6073 with_tooltalk=yes # CDE requires Tooltalk | 6094 with_tooltalk=yes # CDE requires Tooltalk |
| 6074 need_motif=yes # CDE requires Motif | 6095 need_motif=yes # CDE requires Motif |
| 6075 fi | 6096 fi |
| 6076 | 6097 |
| 6077 echo "checking for LDAP" 1>&6 | 6098 echo "checking for LDAP" 1>&6 |
| 6078 echo "configure:6079: checking for LDAP" >&5 | 6099 echo "configure:6100: checking for LDAP" >&5 |
| 6079 test -z "$with_ldap" && { ac_safe=`echo "ldap.h" | sed 'y%./+-%__p_%'` | 6100 test -z "$with_ldap" && { ac_safe=`echo "ldap.h" | sed 'y%./+-%__p_%'` |
| 6080 echo $ac_n "checking for ldap.h""... $ac_c" 1>&6 | 6101 echo $ac_n "checking for ldap.h""... $ac_c" 1>&6 |
| 6081 echo "configure:6082: checking for ldap.h" >&5 | 6102 echo "configure:6103: checking for ldap.h" >&5 |
| 6082 | 6103 |
| 6083 cat > conftest.$ac_ext <<EOF | 6104 cat > conftest.$ac_ext <<EOF |
| 6084 #line 6085 "configure" | 6105 #line 6106 "configure" |
| 6085 #include "confdefs.h" | 6106 #include "confdefs.h" |
| 6086 #include <ldap.h> | 6107 #include <ldap.h> |
| 6087 EOF | 6108 EOF |
| 6088 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6109 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 6089 { (eval echo configure:6090: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6110 { (eval echo configure:6111: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 6090 ac_err=`grep -v '^ *+' conftest.out` | 6111 ac_err=`grep -v '^ *+' conftest.out` |
| 6091 if test -z "$ac_err"; then | 6112 if test -z "$ac_err"; then |
| 6092 rm -rf conftest* | 6113 rm -rf conftest* |
| 6093 eval "ac_cv_header_$ac_safe=yes" | 6114 eval "ac_cv_header_$ac_safe=yes" |
| 6094 else | 6115 else |
| 6107 with_ldap=no | 6128 with_ldap=no |
| 6108 fi | 6129 fi |
| 6109 } | 6130 } |
| 6110 test -z "$with_ldap" && { ac_safe=`echo "lber.h" | sed 'y%./+-%__p_%'` | 6131 test -z "$with_ldap" && { ac_safe=`echo "lber.h" | sed 'y%./+-%__p_%'` |
| 6111 echo $ac_n "checking for lber.h""... $ac_c" 1>&6 | 6132 echo $ac_n "checking for lber.h""... $ac_c" 1>&6 |
| 6112 echo "configure:6113: checking for lber.h" >&5 | 6133 echo "configure:6134: checking for lber.h" >&5 |
| 6113 | 6134 |
| 6114 cat > conftest.$ac_ext <<EOF | 6135 cat > conftest.$ac_ext <<EOF |
| 6115 #line 6116 "configure" | 6136 #line 6137 "configure" |
| 6116 #include "confdefs.h" | 6137 #include "confdefs.h" |
| 6117 #include <lber.h> | 6138 #include <lber.h> |
| 6118 EOF | 6139 EOF |
| 6119 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6140 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 6120 { (eval echo configure:6121: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6141 { (eval echo configure:6142: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 6121 ac_err=`grep -v '^ *+' conftest.out` | 6142 ac_err=`grep -v '^ *+' conftest.out` |
| 6122 if test -z "$ac_err"; then | 6143 if test -z "$ac_err"; then |
| 6123 rm -rf conftest* | 6144 rm -rf conftest* |
| 6124 eval "ac_cv_header_$ac_safe=yes" | 6145 eval "ac_cv_header_$ac_safe=yes" |
| 6125 else | 6146 else |
| 6141 if test "$with_ldap" != "no"; then | 6162 if test "$with_ldap" != "no"; then |
| 6142 test -z "$with_umich_ldap" && { | 6163 test -z "$with_umich_ldap" && { |
| 6143 xe_msg_checking="for ldap_open in -lldap" | 6164 xe_msg_checking="for ldap_open in -lldap" |
| 6144 test -n "-llber" && xe_msg_checking="$xe_msg_checking using extra libs -llber" | 6165 test -n "-llber" && xe_msg_checking="$xe_msg_checking using extra libs -llber" |
| 6145 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 6166 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
| 6146 echo "configure:6147: checking "$xe_msg_checking"" >&5 | 6167 echo "configure:6168: checking "$xe_msg_checking"" >&5 |
| 6147 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` | 6168 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` |
| 6148 | 6169 |
| 6149 xe_check_libs=" -lldap -llber" | 6170 xe_check_libs=" -lldap -llber" |
| 6150 cat > conftest.$ac_ext <<EOF | 6171 cat > conftest.$ac_ext <<EOF |
| 6151 #line 6152 "configure" | 6172 #line 6173 "configure" |
| 6152 #include "confdefs.h" | 6173 #include "confdefs.h" |
| 6153 /* Override any gcc2 internal prototype to avoid an error. */ | 6174 /* Override any gcc2 internal prototype to avoid an error. */ |
| 6154 /* We use char because int might match the return type of a gcc2 | 6175 /* We use char because int might match the return type of a gcc2 |
| 6155 builtin and then its argument prototype would still apply. */ | 6176 builtin and then its argument prototype would still apply. */ |
| 6156 char ldap_open(); | 6177 char ldap_open(); |
| 6157 | 6178 |
| 6158 int main() { | 6179 int main() { |
| 6159 ldap_open() | 6180 ldap_open() |
| 6160 ; return 0; } | 6181 ; return 0; } |
| 6161 EOF | 6182 EOF |
| 6162 if { (eval echo configure:6163: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 6183 if { (eval echo configure:6184: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 6163 rm -rf conftest* | 6184 rm -rf conftest* |
| 6164 eval "ac_cv_lib_$ac_lib_var=yes" | 6185 eval "ac_cv_lib_$ac_lib_var=yes" |
| 6165 else | 6186 else |
| 6166 echo "configure: failed program was:" >&5 | 6187 echo "configure: failed program was:" >&5 |
| 6167 cat conftest.$ac_ext >&5 | 6188 cat conftest.$ac_ext >&5 |
| 6180 fi | 6201 fi |
| 6181 | 6202 |
| 6182 } | 6203 } |
| 6183 test "$with_umich_ldap" = "no" && { | 6204 test "$with_umich_ldap" = "no" && { |
| 6184 echo $ac_n "checking for ldap_set_option in -lldap10""... $ac_c" 1>&6 | 6205 echo $ac_n "checking for ldap_set_option in -lldap10""... $ac_c" 1>&6 |
| 6185 echo "configure:6186: checking for ldap_set_option in -lldap10" >&5 | 6206 echo "configure:6207: checking for ldap_set_option in -lldap10" >&5 |
| 6186 ac_lib_var=`echo ldap10'_'ldap_set_option | sed 'y%./+-%__p_%'` | 6207 ac_lib_var=`echo ldap10'_'ldap_set_option | sed 'y%./+-%__p_%'` |
| 6187 | 6208 |
| 6188 xe_check_libs=" -lldap10 " | 6209 xe_check_libs=" -lldap10 " |
| 6189 cat > conftest.$ac_ext <<EOF | 6210 cat > conftest.$ac_ext <<EOF |
| 6190 #line 6191 "configure" | 6211 #line 6212 "configure" |
| 6191 #include "confdefs.h" | 6212 #include "confdefs.h" |
| 6192 /* Override any gcc2 internal prototype to avoid an error. */ | 6213 /* Override any gcc2 internal prototype to avoid an error. */ |
| 6193 /* We use char because int might match the return type of a gcc2 | 6214 /* We use char because int might match the return type of a gcc2 |
| 6194 builtin and then its argument prototype would still apply. */ | 6215 builtin and then its argument prototype would still apply. */ |
| 6195 char ldap_set_option(); | 6216 char ldap_set_option(); |
| 6196 | 6217 |
| 6197 int main() { | 6218 int main() { |
| 6198 ldap_set_option() | 6219 ldap_set_option() |
| 6199 ; return 0; } | 6220 ; return 0; } |
| 6200 EOF | 6221 EOF |
| 6201 if { (eval echo configure:6202: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 6222 if { (eval echo configure:6223: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 6202 rm -rf conftest* | 6223 rm -rf conftest* |
| 6203 eval "ac_cv_lib_$ac_lib_var=yes" | 6224 eval "ac_cv_lib_$ac_lib_var=yes" |
| 6204 else | 6225 else |
| 6205 echo "configure: failed program was:" >&5 | 6226 echo "configure: failed program was:" >&5 |
| 6206 cat conftest.$ac_ext >&5 | 6227 cat conftest.$ac_ext >&5 |
| 6261 | 6282 |
| 6262 | 6283 |
| 6263 if test "$with_x11" = "yes"; then | 6284 if test "$with_x11" = "yes"; then |
| 6264 | 6285 |
| 6265 echo "checking for X11 graphics libraries" 1>&6 | 6286 echo "checking for X11 graphics libraries" 1>&6 |
| 6266 echo "configure:6267: checking for X11 graphics libraries" >&5 | 6287 echo "configure:6288: checking for X11 graphics libraries" >&5 |
| 6267 | 6288 |
| 6268 if test "$with_png $with_tiff" != "no no"; then | 6289 if test "$with_png $with_tiff" != "no no"; then |
| 6269 | 6290 |
| 6270 echo $ac_n "checking for inflate in -lc""... $ac_c" 1>&6 | 6291 echo $ac_n "checking for inflate in -lc""... $ac_c" 1>&6 |
| 6271 echo "configure:6272: checking for inflate in -lc" >&5 | 6292 echo "configure:6293: checking for inflate in -lc" >&5 |
| 6272 ac_lib_var=`echo c'_'inflate | sed 'y%./+-%__p_%'` | 6293 ac_lib_var=`echo c'_'inflate | sed 'y%./+-%__p_%'` |
| 6273 | 6294 |
| 6274 xe_check_libs=" -lc " | 6295 xe_check_libs=" -lc " |
| 6275 cat > conftest.$ac_ext <<EOF | 6296 cat > conftest.$ac_ext <<EOF |
| 6276 #line 6277 "configure" | 6297 #line 6298 "configure" |
| 6277 #include "confdefs.h" | 6298 #include "confdefs.h" |
| 6278 /* Override any gcc2 internal prototype to avoid an error. */ | 6299 /* Override any gcc2 internal prototype to avoid an error. */ |
| 6279 /* We use char because int might match the return type of a gcc2 | 6300 /* We use char because int might match the return type of a gcc2 |
| 6280 builtin and then its argument prototype would still apply. */ | 6301 builtin and then its argument prototype would still apply. */ |
| 6281 char inflate(); | 6302 char inflate(); |
| 6282 | 6303 |
| 6283 int main() { | 6304 int main() { |
| 6284 inflate() | 6305 inflate() |
| 6285 ; return 0; } | 6306 ; return 0; } |
| 6286 EOF | 6307 EOF |
| 6287 if { (eval echo configure:6288: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 6308 if { (eval echo configure:6309: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 6288 rm -rf conftest* | 6309 rm -rf conftest* |
| 6289 eval "ac_cv_lib_$ac_lib_var=yes" | 6310 eval "ac_cv_lib_$ac_lib_var=yes" |
| 6290 else | 6311 else |
| 6291 echo "configure: failed program was:" >&5 | 6312 echo "configure: failed program was:" >&5 |
| 6292 cat conftest.$ac_ext >&5 | 6313 cat conftest.$ac_ext >&5 |
| 6301 : | 6322 : |
| 6302 else | 6323 else |
| 6303 echo "$ac_t""no" 1>&6 | 6324 echo "$ac_t""no" 1>&6 |
| 6304 | 6325 |
| 6305 echo $ac_n "checking for inflate in -lz""... $ac_c" 1>&6 | 6326 echo $ac_n "checking for inflate in -lz""... $ac_c" 1>&6 |
| 6306 echo "configure:6307: checking for inflate in -lz" >&5 | 6327 echo "configure:6328: checking for inflate in -lz" >&5 |
| 6307 ac_lib_var=`echo z'_'inflate | sed 'y%./+-%__p_%'` | 6328 ac_lib_var=`echo z'_'inflate | sed 'y%./+-%__p_%'` |
| 6308 | 6329 |
| 6309 xe_check_libs=" -lz " | 6330 xe_check_libs=" -lz " |
| 6310 cat > conftest.$ac_ext <<EOF | 6331 cat > conftest.$ac_ext <<EOF |
| 6311 #line 6312 "configure" | 6332 #line 6333 "configure" |
| 6312 #include "confdefs.h" | 6333 #include "confdefs.h" |
| 6313 /* Override any gcc2 internal prototype to avoid an error. */ | 6334 /* Override any gcc2 internal prototype to avoid an error. */ |
| 6314 /* We use char because int might match the return type of a gcc2 | 6335 /* We use char because int might match the return type of a gcc2 |
| 6315 builtin and then its argument prototype would still apply. */ | 6336 builtin and then its argument prototype would still apply. */ |
| 6316 char inflate(); | 6337 char inflate(); |
| 6317 | 6338 |
| 6318 int main() { | 6339 int main() { |
| 6319 inflate() | 6340 inflate() |
| 6320 ; return 0; } | 6341 ; return 0; } |
| 6321 EOF | 6342 EOF |
| 6322 if { (eval echo configure:6323: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 6343 if { (eval echo configure:6344: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 6323 rm -rf conftest* | 6344 rm -rf conftest* |
| 6324 eval "ac_cv_lib_$ac_lib_var=yes" | 6345 eval "ac_cv_lib_$ac_lib_var=yes" |
| 6325 else | 6346 else |
| 6326 echo "configure: failed program was:" >&5 | 6347 echo "configure: failed program was:" >&5 |
| 6327 cat conftest.$ac_ext >&5 | 6348 cat conftest.$ac_ext >&5 |
| 6336 libs_x="-lz $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lz\" to \$libs_x"; fi | 6357 libs_x="-lz $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lz\" to \$libs_x"; fi |
| 6337 else | 6358 else |
| 6338 echo "$ac_t""no" 1>&6 | 6359 echo "$ac_t""no" 1>&6 |
| 6339 | 6360 |
| 6340 echo $ac_n "checking for inflate in -lgz""... $ac_c" 1>&6 | 6361 echo $ac_n "checking for inflate in -lgz""... $ac_c" 1>&6 |
| 6341 echo "configure:6342: checking for inflate in -lgz" >&5 | 6362 echo "configure:6363: checking for inflate in -lgz" >&5 |
| 6342 ac_lib_var=`echo gz'_'inflate | sed 'y%./+-%__p_%'` | 6363 ac_lib_var=`echo gz'_'inflate | sed 'y%./+-%__p_%'` |
| 6343 | 6364 |
| 6344 xe_check_libs=" -lgz " | 6365 xe_check_libs=" -lgz " |
| 6345 cat > conftest.$ac_ext <<EOF | 6366 cat > conftest.$ac_ext <<EOF |
| 6346 #line 6347 "configure" | 6367 #line 6368 "configure" |
| 6347 #include "confdefs.h" | 6368 #include "confdefs.h" |
| 6348 /* Override any gcc2 internal prototype to avoid an error. */ | 6369 /* Override any gcc2 internal prototype to avoid an error. */ |
| 6349 /* We use char because int might match the return type of a gcc2 | 6370 /* We use char because int might match the return type of a gcc2 |
| 6350 builtin and then its argument prototype would still apply. */ | 6371 builtin and then its argument prototype would still apply. */ |
| 6351 char inflate(); | 6372 char inflate(); |
| 6352 | 6373 |
| 6353 int main() { | 6374 int main() { |
| 6354 inflate() | 6375 inflate() |
| 6355 ; return 0; } | 6376 ; return 0; } |
| 6356 EOF | 6377 EOF |
| 6357 if { (eval echo configure:6358: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 6378 if { (eval echo configure:6379: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 6358 rm -rf conftest* | 6379 rm -rf conftest* |
| 6359 eval "ac_cv_lib_$ac_lib_var=yes" | 6380 eval "ac_cv_lib_$ac_lib_var=yes" |
| 6360 else | 6381 else |
| 6361 echo "configure: failed program was:" >&5 | 6382 echo "configure: failed program was:" >&5 |
| 6362 cat conftest.$ac_ext >&5 | 6383 cat conftest.$ac_ext >&5 |
| 6382 | 6403 |
| 6383 fi | 6404 fi |
| 6384 | 6405 |
| 6385 if test -z "$with_xpm"; then | 6406 if test -z "$with_xpm"; then |
| 6386 echo $ac_n "checking for Xpm - no older than 3.4f""... $ac_c" 1>&6 | 6407 echo $ac_n "checking for Xpm - no older than 3.4f""... $ac_c" 1>&6 |
| 6387 echo "configure:6388: checking for Xpm - no older than 3.4f" >&5 | 6408 echo "configure:6409: checking for Xpm - no older than 3.4f" >&5 |
| 6388 xe_check_libs=-lXpm | 6409 xe_check_libs=-lXpm |
| 6389 cat > conftest.$ac_ext <<EOF | 6410 cat > conftest.$ac_ext <<EOF |
| 6390 #line 6391 "configure" | 6411 #line 6412 "configure" |
| 6391 #include "confdefs.h" | 6412 #include "confdefs.h" |
| 6392 #include <X11/xpm.h> | 6413 #include <X11/xpm.h> |
| 6393 int main(int c, char **v) { | 6414 int main(int c, char **v) { |
| 6394 return c == 1 ? 0 : | 6415 return c == 1 ? 0 : |
| 6395 XpmIncludeVersion != XpmLibraryVersion() ? 1 : | 6416 XpmIncludeVersion != XpmLibraryVersion() ? 1 : |
| 6396 XpmIncludeVersion < 30406 ? 2 : 0 ;} | 6417 XpmIncludeVersion < 30406 ? 2 : 0 ;} |
| 6397 EOF | 6418 EOF |
| 6398 if { (eval echo configure:6399: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 | 6419 if { (eval echo configure:6420: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 |
| 6399 then | 6420 then |
| 6400 ./conftest dummy_arg; xpm_status=$?; | 6421 ./conftest dummy_arg; xpm_status=$?; |
| 6401 if test "$?" = "0"; then | 6422 if test "$?" = "0"; then |
| 6402 with_xpm=yes; | 6423 with_xpm=yes; |
| 6403 else | 6424 else |
| 6437 libs_x="-lXpm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXpm\" to \$libs_x"; fi | 6458 libs_x="-lXpm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXpm\" to \$libs_x"; fi |
| 6438 fi | 6459 fi |
| 6439 | 6460 |
| 6440 test -z "$with_xface" && { ac_safe=`echo "compface.h" | sed 'y%./+-%__p_%'` | 6461 test -z "$with_xface" && { ac_safe=`echo "compface.h" | sed 'y%./+-%__p_%'` |
| 6441 echo $ac_n "checking for compface.h""... $ac_c" 1>&6 | 6462 echo $ac_n "checking for compface.h""... $ac_c" 1>&6 |
| 6442 echo "configure:6443: checking for compface.h" >&5 | 6463 echo "configure:6464: checking for compface.h" >&5 |
| 6443 | 6464 |
| 6444 cat > conftest.$ac_ext <<EOF | 6465 cat > conftest.$ac_ext <<EOF |
| 6445 #line 6446 "configure" | 6466 #line 6467 "configure" |
| 6446 #include "confdefs.h" | 6467 #include "confdefs.h" |
| 6447 #include <compface.h> | 6468 #include <compface.h> |
| 6448 EOF | 6469 EOF |
| 6449 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6470 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 6450 { (eval echo configure:6451: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6471 { (eval echo configure:6472: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 6451 ac_err=`grep -v '^ *+' conftest.out` | 6472 ac_err=`grep -v '^ *+' conftest.out` |
| 6452 if test -z "$ac_err"; then | 6473 if test -z "$ac_err"; then |
| 6453 rm -rf conftest* | 6474 rm -rf conftest* |
| 6454 eval "ac_cv_header_$ac_safe=yes" | 6475 eval "ac_cv_header_$ac_safe=yes" |
| 6455 else | 6476 else |
| 6468 with_xface=no | 6489 with_xface=no |
| 6469 fi | 6490 fi |
| 6470 } | 6491 } |
| 6471 test -z "$with_xface" && { | 6492 test -z "$with_xface" && { |
| 6472 echo $ac_n "checking for UnGenFace in -lcompface""... $ac_c" 1>&6 | 6493 echo $ac_n "checking for UnGenFace in -lcompface""... $ac_c" 1>&6 |
| 6473 echo "configure:6474: checking for UnGenFace in -lcompface" >&5 | 6494 echo "configure:6495: checking for UnGenFace in -lcompface" >&5 |
| 6474 ac_lib_var=`echo compface'_'UnGenFace | sed 'y%./+-%__p_%'` | 6495 ac_lib_var=`echo compface'_'UnGenFace | sed 'y%./+-%__p_%'` |
| 6475 | 6496 |
| 6476 xe_check_libs=" -lcompface " | 6497 xe_check_libs=" -lcompface " |
| 6477 cat > conftest.$ac_ext <<EOF | 6498 cat > conftest.$ac_ext <<EOF |
| 6478 #line 6479 "configure" | 6499 #line 6500 "configure" |
| 6479 #include "confdefs.h" | 6500 #include "confdefs.h" |
| 6480 /* Override any gcc2 internal prototype to avoid an error. */ | 6501 /* Override any gcc2 internal prototype to avoid an error. */ |
| 6481 /* We use char because int might match the return type of a gcc2 | 6502 /* We use char because int might match the return type of a gcc2 |
| 6482 builtin and then its argument prototype would still apply. */ | 6503 builtin and then its argument prototype would still apply. */ |
| 6483 char UnGenFace(); | 6504 char UnGenFace(); |
| 6484 | 6505 |
| 6485 int main() { | 6506 int main() { |
| 6486 UnGenFace() | 6507 UnGenFace() |
| 6487 ; return 0; } | 6508 ; return 0; } |
| 6488 EOF | 6509 EOF |
| 6489 if { (eval echo configure:6490: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 6510 if { (eval echo configure:6511: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 6490 rm -rf conftest* | 6511 rm -rf conftest* |
| 6491 eval "ac_cv_lib_$ac_lib_var=yes" | 6512 eval "ac_cv_lib_$ac_lib_var=yes" |
| 6492 else | 6513 else |
| 6493 echo "configure: failed program was:" >&5 | 6514 echo "configure: failed program was:" >&5 |
| 6494 cat conftest.$ac_ext >&5 | 6515 cat conftest.$ac_ext >&5 |
| 6519 | 6540 |
| 6520 libs_x="-lcompface $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lcompface\" to \$libs_x"; fi | 6541 libs_x="-lcompface $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lcompface\" to \$libs_x"; fi |
| 6521 fi | 6542 fi |
| 6522 | 6543 |
| 6523 echo $ac_n "checking for giflib - no older than 3.1""... $ac_c" 1>&6 | 6544 echo $ac_n "checking for giflib - no older than 3.1""... $ac_c" 1>&6 |
| 6524 echo "configure:6525: checking for giflib - no older than 3.1" >&5 | 6545 echo "configure:6546: checking for giflib - no older than 3.1" >&5 |
| 6525 test -z "$with_gif" && { ac_safe=`echo "gif_lib.h" | sed 'y%./+-%__p_%'` | 6546 test -z "$with_gif" && { ac_safe=`echo "gif_lib.h" | sed 'y%./+-%__p_%'` |
| 6526 echo $ac_n "checking for gif_lib.h""... $ac_c" 1>&6 | 6547 echo $ac_n "checking for gif_lib.h""... $ac_c" 1>&6 |
| 6527 echo "configure:6528: checking for gif_lib.h" >&5 | 6548 echo "configure:6549: checking for gif_lib.h" >&5 |
| 6528 | 6549 |
| 6529 cat > conftest.$ac_ext <<EOF | 6550 cat > conftest.$ac_ext <<EOF |
| 6530 #line 6531 "configure" | 6551 #line 6552 "configure" |
| 6531 #include "confdefs.h" | 6552 #include "confdefs.h" |
| 6532 #include <gif_lib.h> | 6553 #include <gif_lib.h> |
| 6533 EOF | 6554 EOF |
| 6534 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6555 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 6535 { (eval echo configure:6536: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6556 { (eval echo configure:6557: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 6536 ac_err=`grep -v '^ *+' conftest.out` | 6557 ac_err=`grep -v '^ *+' conftest.out` |
| 6537 if test -z "$ac_err"; then | 6558 if test -z "$ac_err"; then |
| 6538 rm -rf conftest* | 6559 rm -rf conftest* |
| 6539 eval "ac_cv_header_$ac_safe=yes" | 6560 eval "ac_cv_header_$ac_safe=yes" |
| 6540 else | 6561 else |
| 6553 with_gif=no | 6574 with_gif=no |
| 6554 fi | 6575 fi |
| 6555 } | 6576 } |
| 6556 test -z "$with_gif" && { | 6577 test -z "$with_gif" && { |
| 6557 echo $ac_n "checking for GetGifError in -lgif""... $ac_c" 1>&6 | 6578 echo $ac_n "checking for GetGifError in -lgif""... $ac_c" 1>&6 |
| 6558 echo "configure:6559: checking for GetGifError in -lgif" >&5 | 6579 echo "configure:6580: checking for GetGifError in -lgif" >&5 |
| 6559 ac_lib_var=`echo gif'_'GetGifError | sed 'y%./+-%__p_%'` | 6580 ac_lib_var=`echo gif'_'GetGifError | sed 'y%./+-%__p_%'` |
| 6560 | 6581 |
| 6561 xe_check_libs=" -lgif " | 6582 xe_check_libs=" -lgif " |
| 6562 cat > conftest.$ac_ext <<EOF | 6583 cat > conftest.$ac_ext <<EOF |
| 6563 #line 6564 "configure" | 6584 #line 6585 "configure" |
| 6564 #include "confdefs.h" | 6585 #include "confdefs.h" |
| 6565 /* Override any gcc2 internal prototype to avoid an error. */ | 6586 /* Override any gcc2 internal prototype to avoid an error. */ |
| 6566 /* We use char because int might match the return type of a gcc2 | 6587 /* We use char because int might match the return type of a gcc2 |
| 6567 builtin and then its argument prototype would still apply. */ | 6588 builtin and then its argument prototype would still apply. */ |
| 6568 char GetGifError(); | 6589 char GetGifError(); |
| 6569 | 6590 |
| 6570 int main() { | 6591 int main() { |
| 6571 GetGifError() | 6592 GetGifError() |
| 6572 ; return 0; } | 6593 ; return 0; } |
| 6573 EOF | 6594 EOF |
| 6574 if { (eval echo configure:6575: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 6595 if { (eval echo configure:6596: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 6575 rm -rf conftest* | 6596 rm -rf conftest* |
| 6576 eval "ac_cv_lib_$ac_lib_var=yes" | 6597 eval "ac_cv_lib_$ac_lib_var=yes" |
| 6577 else | 6598 else |
| 6578 echo "configure: failed program was:" >&5 | 6599 echo "configure: failed program was:" >&5 |
| 6579 cat conftest.$ac_ext >&5 | 6600 cat conftest.$ac_ext >&5 |
| 6605 libs_x="-lgif $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lgif\" to \$libs_x"; fi | 6626 libs_x="-lgif $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lgif\" to \$libs_x"; fi |
| 6606 fi | 6627 fi |
| 6607 | 6628 |
| 6608 test -z "$with_jpeg" && { ac_safe=`echo "jpeglib.h" | sed 'y%./+-%__p_%'` | 6629 test -z "$with_jpeg" && { ac_safe=`echo "jpeglib.h" | sed 'y%./+-%__p_%'` |
| 6609 echo $ac_n "checking for jpeglib.h""... $ac_c" 1>&6 | 6630 echo $ac_n "checking for jpeglib.h""... $ac_c" 1>&6 |
| 6610 echo "configure:6611: checking for jpeglib.h" >&5 | 6631 echo "configure:6632: checking for jpeglib.h" >&5 |
| 6611 | 6632 |
| 6612 cat > conftest.$ac_ext <<EOF | 6633 cat > conftest.$ac_ext <<EOF |
| 6613 #line 6614 "configure" | 6634 #line 6635 "configure" |
| 6614 #include "confdefs.h" | 6635 #include "confdefs.h" |
| 6615 #include <jpeglib.h> | 6636 #include <jpeglib.h> |
| 6616 EOF | 6637 EOF |
| 6617 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6638 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 6618 { (eval echo configure:6619: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6639 { (eval echo configure:6640: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 6619 ac_err=`grep -v '^ *+' conftest.out` | 6640 ac_err=`grep -v '^ *+' conftest.out` |
| 6620 if test -z "$ac_err"; then | 6641 if test -z "$ac_err"; then |
| 6621 rm -rf conftest* | 6642 rm -rf conftest* |
| 6622 eval "ac_cv_header_$ac_safe=yes" | 6643 eval "ac_cv_header_$ac_safe=yes" |
| 6623 else | 6644 else |
| 6636 with_jpeg=no | 6657 with_jpeg=no |
| 6637 fi | 6658 fi |
| 6638 } | 6659 } |
| 6639 test -z "$with_jpeg" && { | 6660 test -z "$with_jpeg" && { |
| 6640 echo $ac_n "checking for jpeg_destroy_decompress in -ljpeg""... $ac_c" 1>&6 | 6661 echo $ac_n "checking for jpeg_destroy_decompress in -ljpeg""... $ac_c" 1>&6 |
| 6641 echo "configure:6642: checking for jpeg_destroy_decompress in -ljpeg" >&5 | 6662 echo "configure:6663: checking for jpeg_destroy_decompress in -ljpeg" >&5 |
| 6642 ac_lib_var=`echo jpeg'_'jpeg_destroy_decompress | sed 'y%./+-%__p_%'` | 6663 ac_lib_var=`echo jpeg'_'jpeg_destroy_decompress | sed 'y%./+-%__p_%'` |
| 6643 | 6664 |
| 6644 xe_check_libs=" -ljpeg " | 6665 xe_check_libs=" -ljpeg " |
| 6645 cat > conftest.$ac_ext <<EOF | 6666 cat > conftest.$ac_ext <<EOF |
| 6646 #line 6647 "configure" | 6667 #line 6668 "configure" |
| 6647 #include "confdefs.h" | 6668 #include "confdefs.h" |
| 6648 /* Override any gcc2 internal prototype to avoid an error. */ | 6669 /* Override any gcc2 internal prototype to avoid an error. */ |
| 6649 /* We use char because int might match the return type of a gcc2 | 6670 /* We use char because int might match the return type of a gcc2 |
| 6650 builtin and then its argument prototype would still apply. */ | 6671 builtin and then its argument prototype would still apply. */ |
| 6651 char jpeg_destroy_decompress(); | 6672 char jpeg_destroy_decompress(); |
| 6652 | 6673 |
| 6653 int main() { | 6674 int main() { |
| 6654 jpeg_destroy_decompress() | 6675 jpeg_destroy_decompress() |
| 6655 ; return 0; } | 6676 ; return 0; } |
| 6656 EOF | 6677 EOF |
| 6657 if { (eval echo configure:6658: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 6678 if { (eval echo configure:6679: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 6658 rm -rf conftest* | 6679 rm -rf conftest* |
| 6659 eval "ac_cv_lib_$ac_lib_var=yes" | 6680 eval "ac_cv_lib_$ac_lib_var=yes" |
| 6660 else | 6681 else |
| 6661 echo "configure: failed program was:" >&5 | 6682 echo "configure: failed program was:" >&5 |
| 6662 cat conftest.$ac_ext >&5 | 6683 cat conftest.$ac_ext >&5 |
| 6688 libs_x="-ljpeg $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-ljpeg\" to \$libs_x"; fi | 6709 libs_x="-ljpeg $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-ljpeg\" to \$libs_x"; fi |
| 6689 fi | 6710 fi |
| 6690 | 6711 |
| 6691 if test -z "$with_png"; then | 6712 if test -z "$with_png"; then |
| 6692 echo $ac_n "checking for png.h - no older than 0.96""... $ac_c" 1>&6 | 6713 echo $ac_n "checking for png.h - no older than 0.96""... $ac_c" 1>&6 |
| 6693 echo "configure:6694: checking for png.h - no older than 0.96" >&5 | 6714 echo "configure:6715: checking for png.h - no older than 0.96" >&5 |
| 6694 cat > conftest.$ac_ext <<EOF | 6715 cat > conftest.$ac_ext <<EOF |
| 6695 #line 6696 "configure" | 6716 #line 6717 "configure" |
| 6696 #include "confdefs.h" | 6717 #include "confdefs.h" |
| 6697 #include <png.h> | 6718 #include <png.h> |
| 6698 #if PNG_LIBPNG_VER >= 96 | 6719 #if PNG_LIBPNG_VER >= 96 |
| 6699 yes | 6720 yes |
| 6700 #endif | 6721 #endif |
| 6710 fi | 6731 fi |
| 6711 rm -f conftest* | 6732 rm -f conftest* |
| 6712 | 6733 |
| 6713 fi | 6734 fi |
| 6714 test -z "$with_png" && { echo $ac_n "checking for pow""... $ac_c" 1>&6 | 6735 test -z "$with_png" && { echo $ac_n "checking for pow""... $ac_c" 1>&6 |
| 6715 echo "configure:6716: checking for pow" >&5 | 6736 echo "configure:6737: checking for pow" >&5 |
| 6716 | 6737 |
| 6717 cat > conftest.$ac_ext <<EOF | 6738 cat > conftest.$ac_ext <<EOF |
| 6718 #line 6719 "configure" | 6739 #line 6740 "configure" |
| 6719 #include "confdefs.h" | 6740 #include "confdefs.h" |
| 6720 /* System header to define __stub macros and hopefully few prototypes, | 6741 /* System header to define __stub macros and hopefully few prototypes, |
| 6721 which can conflict with char pow(); below. */ | 6742 which can conflict with char pow(); below. */ |
| 6722 #include <assert.h> | 6743 #include <assert.h> |
| 6723 /* Override any gcc2 internal prototype to avoid an error. */ | 6744 /* Override any gcc2 internal prototype to avoid an error. */ |
| 6736 pow(); | 6757 pow(); |
| 6737 #endif | 6758 #endif |
| 6738 | 6759 |
| 6739 ; return 0; } | 6760 ; return 0; } |
| 6740 EOF | 6761 EOF |
| 6741 if { (eval echo configure:6742: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 6762 if { (eval echo configure:6763: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 6742 rm -rf conftest* | 6763 rm -rf conftest* |
| 6743 eval "ac_cv_func_pow=yes" | 6764 eval "ac_cv_func_pow=yes" |
| 6744 else | 6765 else |
| 6745 echo "configure: failed program was:" >&5 | 6766 echo "configure: failed program was:" >&5 |
| 6746 cat conftest.$ac_ext >&5 | 6767 cat conftest.$ac_ext >&5 |
| 6757 with_png=no | 6778 with_png=no |
| 6758 fi | 6779 fi |
| 6759 } | 6780 } |
| 6760 test -z "$with_png" && { | 6781 test -z "$with_png" && { |
| 6761 echo $ac_n "checking for png_read_image in -lpng""... $ac_c" 1>&6 | 6782 echo $ac_n "checking for png_read_image in -lpng""... $ac_c" 1>&6 |
| 6762 echo "configure:6763: checking for png_read_image in -lpng" >&5 | 6783 echo "configure:6784: checking for png_read_image in -lpng" >&5 |
| 6763 ac_lib_var=`echo png'_'png_read_image | sed 'y%./+-%__p_%'` | 6784 ac_lib_var=`echo png'_'png_read_image | sed 'y%./+-%__p_%'` |
| 6764 | 6785 |
| 6765 xe_check_libs=" -lpng " | 6786 xe_check_libs=" -lpng " |
| 6766 cat > conftest.$ac_ext <<EOF | 6787 cat > conftest.$ac_ext <<EOF |
| 6767 #line 6768 "configure" | 6788 #line 6789 "configure" |
| 6768 #include "confdefs.h" | 6789 #include "confdefs.h" |
| 6769 /* Override any gcc2 internal prototype to avoid an error. */ | 6790 /* Override any gcc2 internal prototype to avoid an error. */ |
| 6770 /* We use char because int might match the return type of a gcc2 | 6791 /* We use char because int might match the return type of a gcc2 |
| 6771 builtin and then its argument prototype would still apply. */ | 6792 builtin and then its argument prototype would still apply. */ |
| 6772 char png_read_image(); | 6793 char png_read_image(); |
| 6773 | 6794 |
| 6774 int main() { | 6795 int main() { |
| 6775 png_read_image() | 6796 png_read_image() |
| 6776 ; return 0; } | 6797 ; return 0; } |
| 6777 EOF | 6798 EOF |
| 6778 if { (eval echo configure:6779: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 6799 if { (eval echo configure:6800: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 6779 rm -rf conftest* | 6800 rm -rf conftest* |
| 6780 eval "ac_cv_lib_$ac_lib_var=yes" | 6801 eval "ac_cv_lib_$ac_lib_var=yes" |
| 6781 else | 6802 else |
| 6782 echo "configure: failed program was:" >&5 | 6803 echo "configure: failed program was:" >&5 |
| 6783 cat conftest.$ac_ext >&5 | 6804 cat conftest.$ac_ext >&5 |
| 6809 libs_x="-lpng $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lpng\" to \$libs_x"; fi | 6830 libs_x="-lpng $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lpng\" to \$libs_x"; fi |
| 6810 fi | 6831 fi |
| 6811 | 6832 |
| 6812 test -z "$with_tiff" && { ac_safe=`echo "tiffio.h" | sed 'y%./+-%__p_%'` | 6833 test -z "$with_tiff" && { ac_safe=`echo "tiffio.h" | sed 'y%./+-%__p_%'` |
| 6813 echo $ac_n "checking for tiffio.h""... $ac_c" 1>&6 | 6834 echo $ac_n "checking for tiffio.h""... $ac_c" 1>&6 |
| 6814 echo "configure:6815: checking for tiffio.h" >&5 | 6835 echo "configure:6836: checking for tiffio.h" >&5 |
| 6815 | 6836 |
| 6816 cat > conftest.$ac_ext <<EOF | 6837 cat > conftest.$ac_ext <<EOF |
| 6817 #line 6818 "configure" | 6838 #line 6839 "configure" |
| 6818 #include "confdefs.h" | 6839 #include "confdefs.h" |
| 6819 #include <tiffio.h> | 6840 #include <tiffio.h> |
| 6820 EOF | 6841 EOF |
| 6821 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6842 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 6822 { (eval echo configure:6823: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6843 { (eval echo configure:6844: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 6823 ac_err=`grep -v '^ *+' conftest.out` | 6844 ac_err=`grep -v '^ *+' conftest.out` |
| 6824 if test -z "$ac_err"; then | 6845 if test -z "$ac_err"; then |
| 6825 rm -rf conftest* | 6846 rm -rf conftest* |
| 6826 eval "ac_cv_header_$ac_safe=yes" | 6847 eval "ac_cv_header_$ac_safe=yes" |
| 6827 else | 6848 else |
| 6840 with_tiff=no | 6861 with_tiff=no |
| 6841 fi | 6862 fi |
| 6842 } | 6863 } |
| 6843 test -z "$with_tiff" && { | 6864 test -z "$with_tiff" && { |
| 6844 echo $ac_n "checking for TIFFReadScanline in -ltiff""... $ac_c" 1>&6 | 6865 echo $ac_n "checking for TIFFReadScanline in -ltiff""... $ac_c" 1>&6 |
| 6845 echo "configure:6846: checking for TIFFReadScanline in -ltiff" >&5 | 6866 echo "configure:6867: checking for TIFFReadScanline in -ltiff" >&5 |
| 6846 ac_lib_var=`echo tiff'_'TIFFReadScanline | sed 'y%./+-%__p_%'` | 6867 ac_lib_var=`echo tiff'_'TIFFReadScanline | sed 'y%./+-%__p_%'` |
| 6847 | 6868 |
| 6848 xe_check_libs=" -ltiff " | 6869 xe_check_libs=" -ltiff " |
| 6849 cat > conftest.$ac_ext <<EOF | 6870 cat > conftest.$ac_ext <<EOF |
| 6850 #line 6851 "configure" | 6871 #line 6872 "configure" |
| 6851 #include "confdefs.h" | 6872 #include "confdefs.h" |
| 6852 /* Override any gcc2 internal prototype to avoid an error. */ | 6873 /* Override any gcc2 internal prototype to avoid an error. */ |
| 6853 /* We use char because int might match the return type of a gcc2 | 6874 /* We use char because int might match the return type of a gcc2 |
| 6854 builtin and then its argument prototype would still apply. */ | 6875 builtin and then its argument prototype would still apply. */ |
| 6855 char TIFFReadScanline(); | 6876 char TIFFReadScanline(); |
| 6856 | 6877 |
| 6857 int main() { | 6878 int main() { |
| 6858 TIFFReadScanline() | 6879 TIFFReadScanline() |
| 6859 ; return 0; } | 6880 ; return 0; } |
| 6860 EOF | 6881 EOF |
| 6861 if { (eval echo configure:6862: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 6882 if { (eval echo configure:6883: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 6862 rm -rf conftest* | 6883 rm -rf conftest* |
| 6863 eval "ac_cv_lib_$ac_lib_var=yes" | 6884 eval "ac_cv_lib_$ac_lib_var=yes" |
| 6864 else | 6885 else |
| 6865 echo "configure: failed program was:" >&5 | 6886 echo "configure: failed program was:" >&5 |
| 6866 cat conftest.$ac_ext >&5 | 6887 cat conftest.$ac_ext >&5 |
| 6892 libs_x="-ltiff $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-ltiff\" to \$libs_x"; fi | 6913 libs_x="-ltiff $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-ltiff\" to \$libs_x"; fi |
| 6893 fi | 6914 fi |
| 6894 | 6915 |
| 6895 | 6916 |
| 6896 echo $ac_n "checking for XawScrollbarSetThumb in -lXaw""... $ac_c" 1>&6 | 6917 echo $ac_n "checking for XawScrollbarSetThumb in -lXaw""... $ac_c" 1>&6 |
| 6897 echo "configure:6898: checking for XawScrollbarSetThumb in -lXaw" >&5 | 6918 echo "configure:6919: checking for XawScrollbarSetThumb in -lXaw" >&5 |
| 6898 ac_lib_var=`echo Xaw'_'XawScrollbarSetThumb | sed 'y%./+-%__p_%'` | 6919 ac_lib_var=`echo Xaw'_'XawScrollbarSetThumb | sed 'y%./+-%__p_%'` |
| 6899 | 6920 |
| 6900 xe_check_libs=" -lXaw " | 6921 xe_check_libs=" -lXaw " |
| 6901 cat > conftest.$ac_ext <<EOF | 6922 cat > conftest.$ac_ext <<EOF |
| 6902 #line 6903 "configure" | 6923 #line 6924 "configure" |
| 6903 #include "confdefs.h" | 6924 #include "confdefs.h" |
| 6904 /* Override any gcc2 internal prototype to avoid an error. */ | 6925 /* Override any gcc2 internal prototype to avoid an error. */ |
| 6905 /* We use char because int might match the return type of a gcc2 | 6926 /* We use char because int might match the return type of a gcc2 |
| 6906 builtin and then its argument prototype would still apply. */ | 6927 builtin and then its argument prototype would still apply. */ |
| 6907 char XawScrollbarSetThumb(); | 6928 char XawScrollbarSetThumb(); |
| 6908 | 6929 |
| 6909 int main() { | 6930 int main() { |
| 6910 XawScrollbarSetThumb() | 6931 XawScrollbarSetThumb() |
| 6911 ; return 0; } | 6932 ; return 0; } |
| 6912 EOF | 6933 EOF |
| 6913 if { (eval echo configure:6914: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 6934 if { (eval echo configure:6935: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 6914 rm -rf conftest* | 6935 rm -rf conftest* |
| 6915 eval "ac_cv_lib_$ac_lib_var=yes" | 6936 eval "ac_cv_lib_$ac_lib_var=yes" |
| 6916 else | 6937 else |
| 6917 echo "configure: failed program was:" >&5 | 6938 echo "configure: failed program was:" >&5 |
| 6918 cat conftest.$ac_ext >&5 | 6939 cat conftest.$ac_ext >&5 |
| 6932 | 6953 |
| 6933 | 6954 |
| 6934 | 6955 |
| 6935 ac_safe=`echo "Xm/Xm.h" | sed 'y%./+-%__p_%'` | 6956 ac_safe=`echo "Xm/Xm.h" | sed 'y%./+-%__p_%'` |
| 6936 echo $ac_n "checking for Xm/Xm.h""... $ac_c" 1>&6 | 6957 echo $ac_n "checking for Xm/Xm.h""... $ac_c" 1>&6 |
| 6937 echo "configure:6938: checking for Xm/Xm.h" >&5 | 6958 echo "configure:6959: checking for Xm/Xm.h" >&5 |
| 6938 | 6959 |
| 6939 cat > conftest.$ac_ext <<EOF | 6960 cat > conftest.$ac_ext <<EOF |
| 6940 #line 6941 "configure" | 6961 #line 6962 "configure" |
| 6941 #include "confdefs.h" | 6962 #include "confdefs.h" |
| 6942 #include <Xm/Xm.h> | 6963 #include <Xm/Xm.h> |
| 6943 EOF | 6964 EOF |
| 6944 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6965 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 6945 { (eval echo configure:6946: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6966 { (eval echo configure:6967: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 6946 ac_err=`grep -v '^ *+' conftest.out` | 6967 ac_err=`grep -v '^ *+' conftest.out` |
| 6947 if test -z "$ac_err"; then | 6968 if test -z "$ac_err"; then |
| 6948 rm -rf conftest* | 6969 rm -rf conftest* |
| 6949 eval "ac_cv_header_$ac_safe=yes" | 6970 eval "ac_cv_header_$ac_safe=yes" |
| 6950 else | 6971 else |
| 6957 rm -f conftest* | 6978 rm -f conftest* |
| 6958 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 6979 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
| 6959 echo "$ac_t""yes" 1>&6 | 6980 echo "$ac_t""yes" 1>&6 |
| 6960 | 6981 |
| 6961 echo $ac_n "checking for XmStringFree in -lXm""... $ac_c" 1>&6 | 6982 echo $ac_n "checking for XmStringFree in -lXm""... $ac_c" 1>&6 |
| 6962 echo "configure:6963: checking for XmStringFree in -lXm" >&5 | 6983 echo "configure:6984: checking for XmStringFree in -lXm" >&5 |
| 6963 ac_lib_var=`echo Xm'_'XmStringFree | sed 'y%./+-%__p_%'` | 6984 ac_lib_var=`echo Xm'_'XmStringFree | sed 'y%./+-%__p_%'` |
| 6964 | 6985 |
| 6965 xe_check_libs=" -lXm " | 6986 xe_check_libs=" -lXm " |
| 6966 cat > conftest.$ac_ext <<EOF | 6987 cat > conftest.$ac_ext <<EOF |
| 6967 #line 6968 "configure" | 6988 #line 6989 "configure" |
| 6968 #include "confdefs.h" | 6989 #include "confdefs.h" |
| 6969 /* Override any gcc2 internal prototype to avoid an error. */ | 6990 /* Override any gcc2 internal prototype to avoid an error. */ |
| 6970 /* We use char because int might match the return type of a gcc2 | 6991 /* We use char because int might match the return type of a gcc2 |
| 6971 builtin and then its argument prototype would still apply. */ | 6992 builtin and then its argument prototype would still apply. */ |
| 6972 char XmStringFree(); | 6993 char XmStringFree(); |
| 6973 | 6994 |
| 6974 int main() { | 6995 int main() { |
| 6975 XmStringFree() | 6996 XmStringFree() |
| 6976 ; return 0; } | 6997 ; return 0; } |
| 6977 EOF | 6998 EOF |
| 6978 if { (eval echo configure:6979: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 6999 if { (eval echo configure:7000: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 6979 rm -rf conftest* | 7000 rm -rf conftest* |
| 6980 eval "ac_cv_lib_$ac_lib_var=yes" | 7001 eval "ac_cv_lib_$ac_lib_var=yes" |
| 6981 else | 7002 else |
| 6982 echo "configure: failed program was:" >&5 | 7003 echo "configure: failed program was:" >&5 |
| 6983 cat conftest.$ac_ext >&5 | 7004 cat conftest.$ac_ext >&5 |
| 7002 fi | 7023 fi |
| 7003 | 7024 |
| 7004 | 7025 |
| 7005 if test "$have_motif" = "yes"; then | 7026 if test "$have_motif" = "yes"; then |
| 7006 echo $ac_n "checking for Lesstif""... $ac_c" 1>&6 | 7027 echo $ac_n "checking for Lesstif""... $ac_c" 1>&6 |
| 7007 echo "configure:7008: checking for Lesstif" >&5 | 7028 echo "configure:7029: checking for Lesstif" >&5 |
| 7008 cat > conftest.$ac_ext <<EOF | 7029 cat > conftest.$ac_ext <<EOF |
| 7009 #line 7010 "configure" | 7030 #line 7031 "configure" |
| 7010 #include "confdefs.h" | 7031 #include "confdefs.h" |
| 7011 #include <Xm/Xm.h> | 7032 #include <Xm/Xm.h> |
| 7012 #ifdef LESSTIF_VERSION | 7033 #ifdef LESSTIF_VERSION |
| 7013 yes | 7034 yes |
| 7014 #endif | 7035 #endif |
| 7288 fi | 7309 fi |
| 7289 fi | 7310 fi |
| 7290 | 7311 |
| 7291 if test "$with_mule" = "yes" ; then | 7312 if test "$with_mule" = "yes" ; then |
| 7292 echo "checking for Mule-related features" 1>&6 | 7313 echo "checking for Mule-related features" 1>&6 |
| 7293 echo "configure:7294: checking for Mule-related features" >&5 | 7314 echo "configure:7315: checking for Mule-related features" >&5 |
| 7294 { test "$extra_verbose" = "yes" && cat << \EOF | 7315 { test "$extra_verbose" = "yes" && cat << \EOF |
| 7295 Defining MULE | 7316 Defining MULE |
| 7296 EOF | 7317 EOF |
| 7297 cat >> confdefs.h <<\EOF | 7318 cat >> confdefs.h <<\EOF |
| 7298 #define MULE 1 | 7319 #define MULE 1 |
| 7313 | 7334 |
| 7314 for ac_hdr in libintl.h | 7335 for ac_hdr in libintl.h |
| 7315 do | 7336 do |
| 7316 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 7337 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
| 7317 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 7338 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
| 7318 echo "configure:7319: checking for $ac_hdr" >&5 | 7339 echo "configure:7340: checking for $ac_hdr" >&5 |
| 7319 | 7340 |
| 7320 cat > conftest.$ac_ext <<EOF | 7341 cat > conftest.$ac_ext <<EOF |
| 7321 #line 7322 "configure" | 7342 #line 7343 "configure" |
| 7322 #include "confdefs.h" | 7343 #include "confdefs.h" |
| 7323 #include <$ac_hdr> | 7344 #include <$ac_hdr> |
| 7324 EOF | 7345 EOF |
| 7325 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7346 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 7326 { (eval echo configure:7327: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7347 { (eval echo configure:7348: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 7327 ac_err=`grep -v '^ *+' conftest.out` | 7348 ac_err=`grep -v '^ *+' conftest.out` |
| 7328 if test -z "$ac_err"; then | 7349 if test -z "$ac_err"; then |
| 7329 rm -rf conftest* | 7350 rm -rf conftest* |
| 7330 eval "ac_cv_header_$ac_safe=yes" | 7351 eval "ac_cv_header_$ac_safe=yes" |
| 7331 else | 7352 else |
| 7352 fi | 7373 fi |
| 7353 done | 7374 done |
| 7354 | 7375 |
| 7355 | 7376 |
| 7356 echo $ac_n "checking for strerror in -lintl""... $ac_c" 1>&6 | 7377 echo $ac_n "checking for strerror in -lintl""... $ac_c" 1>&6 |
| 7357 echo "configure:7358: checking for strerror in -lintl" >&5 | 7378 echo "configure:7379: checking for strerror in -lintl" >&5 |
| 7358 ac_lib_var=`echo intl'_'strerror | sed 'y%./+-%__p_%'` | 7379 ac_lib_var=`echo intl'_'strerror | sed 'y%./+-%__p_%'` |
| 7359 | 7380 |
| 7360 xe_check_libs=" -lintl " | 7381 xe_check_libs=" -lintl " |
| 7361 cat > conftest.$ac_ext <<EOF | 7382 cat > conftest.$ac_ext <<EOF |
| 7362 #line 7363 "configure" | 7383 #line 7384 "configure" |
| 7363 #include "confdefs.h" | 7384 #include "confdefs.h" |
| 7364 /* Override any gcc2 internal prototype to avoid an error. */ | 7385 /* Override any gcc2 internal prototype to avoid an error. */ |
| 7365 /* We use char because int might match the return type of a gcc2 | 7386 /* We use char because int might match the return type of a gcc2 |
| 7366 builtin and then its argument prototype would still apply. */ | 7387 builtin and then its argument prototype would still apply. */ |
| 7367 char strerror(); | 7388 char strerror(); |
| 7368 | 7389 |
| 7369 int main() { | 7390 int main() { |
| 7370 strerror() | 7391 strerror() |
| 7371 ; return 0; } | 7392 ; return 0; } |
| 7372 EOF | 7393 EOF |
| 7373 if { (eval echo configure:7374: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 7394 if { (eval echo configure:7395: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 7374 rm -rf conftest* | 7395 rm -rf conftest* |
| 7375 eval "ac_cv_lib_$ac_lib_var=yes" | 7396 eval "ac_cv_lib_$ac_lib_var=yes" |
| 7376 else | 7397 else |
| 7377 echo "configure: failed program was:" >&5 | 7398 echo "configure: failed program was:" >&5 |
| 7378 cat conftest.$ac_ext >&5 | 7399 cat conftest.$ac_ext >&5 |
| 7401 fi | 7422 fi |
| 7402 | 7423 |
| 7403 | 7424 |
| 7404 | 7425 |
| 7405 echo "checking for Mule input methods" 1>&6 | 7426 echo "checking for Mule input methods" 1>&6 |
| 7406 echo "configure:7407: checking for Mule input methods" >&5 | 7427 echo "configure:7428: checking for Mule input methods" >&5 |
| 7407 case "$with_xim" in "" | "yes" ) | 7428 case "$with_xim" in "" | "yes" ) |
| 7408 echo "checking for XIM" 1>&6 | 7429 echo "checking for XIM" 1>&6 |
| 7409 echo "configure:7410: checking for XIM" >&5 | 7430 echo "configure:7431: checking for XIM" >&5 |
| 7410 if test "$have_lesstif" = "yes"; then with_xim=xlib | 7431 if test "$have_lesstif" = "yes"; then with_xim=xlib |
| 7411 else | 7432 else |
| 7412 echo $ac_n "checking for XmImMbLookupString in -lXm""... $ac_c" 1>&6 | 7433 echo $ac_n "checking for XmImMbLookupString in -lXm""... $ac_c" 1>&6 |
| 7413 echo "configure:7414: checking for XmImMbLookupString in -lXm" >&5 | 7434 echo "configure:7435: checking for XmImMbLookupString in -lXm" >&5 |
| 7414 ac_lib_var=`echo Xm'_'XmImMbLookupString | sed 'y%./+-%__p_%'` | 7435 ac_lib_var=`echo Xm'_'XmImMbLookupString | sed 'y%./+-%__p_%'` |
| 7415 | 7436 |
| 7416 xe_check_libs=" -lXm " | 7437 xe_check_libs=" -lXm " |
| 7417 cat > conftest.$ac_ext <<EOF | 7438 cat > conftest.$ac_ext <<EOF |
| 7418 #line 7419 "configure" | 7439 #line 7440 "configure" |
| 7419 #include "confdefs.h" | 7440 #include "confdefs.h" |
| 7420 /* Override any gcc2 internal prototype to avoid an error. */ | 7441 /* Override any gcc2 internal prototype to avoid an error. */ |
| 7421 /* We use char because int might match the return type of a gcc2 | 7442 /* We use char because int might match the return type of a gcc2 |
| 7422 builtin and then its argument prototype would still apply. */ | 7443 builtin and then its argument prototype would still apply. */ |
| 7423 char XmImMbLookupString(); | 7444 char XmImMbLookupString(); |
| 7424 | 7445 |
| 7425 int main() { | 7446 int main() { |
| 7426 XmImMbLookupString() | 7447 XmImMbLookupString() |
| 7427 ; return 0; } | 7448 ; return 0; } |
| 7428 EOF | 7449 EOF |
| 7429 if { (eval echo configure:7430: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 7450 if { (eval echo configure:7451: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 7430 rm -rf conftest* | 7451 rm -rf conftest* |
| 7431 eval "ac_cv_lib_$ac_lib_var=yes" | 7452 eval "ac_cv_lib_$ac_lib_var=yes" |
| 7432 else | 7453 else |
| 7433 echo "configure: failed program was:" >&5 | 7454 echo "configure: failed program was:" >&5 |
| 7434 cat conftest.$ac_ext >&5 | 7455 cat conftest.$ac_ext >&5 |
| 7490 fi | 7511 fi |
| 7491 fi | 7512 fi |
| 7492 | 7513 |
| 7493 if test "$with_xfs" = "yes" ; then | 7514 if test "$with_xfs" = "yes" ; then |
| 7494 echo "checking for XFontSet" 1>&6 | 7515 echo "checking for XFontSet" 1>&6 |
| 7495 echo "configure:7496: checking for XFontSet" >&5 | 7516 echo "configure:7517: checking for XFontSet" >&5 |
| 7496 | 7517 |
| 7497 echo $ac_n "checking for XmbDrawString in -lX11""... $ac_c" 1>&6 | 7518 echo $ac_n "checking for XmbDrawString in -lX11""... $ac_c" 1>&6 |
| 7498 echo "configure:7499: checking for XmbDrawString in -lX11" >&5 | 7519 echo "configure:7520: checking for XmbDrawString in -lX11" >&5 |
| 7499 ac_lib_var=`echo X11'_'XmbDrawString | sed 'y%./+-%__p_%'` | 7520 ac_lib_var=`echo X11'_'XmbDrawString | sed 'y%./+-%__p_%'` |
| 7500 | 7521 |
| 7501 xe_check_libs=" -lX11 " | 7522 xe_check_libs=" -lX11 " |
| 7502 cat > conftest.$ac_ext <<EOF | 7523 cat > conftest.$ac_ext <<EOF |
| 7503 #line 7504 "configure" | 7524 #line 7525 "configure" |
| 7504 #include "confdefs.h" | 7525 #include "confdefs.h" |
| 7505 /* Override any gcc2 internal prototype to avoid an error. */ | 7526 /* Override any gcc2 internal prototype to avoid an error. */ |
| 7506 /* We use char because int might match the return type of a gcc2 | 7527 /* We use char because int might match the return type of a gcc2 |
| 7507 builtin and then its argument prototype would still apply. */ | 7528 builtin and then its argument prototype would still apply. */ |
| 7508 char XmbDrawString(); | 7529 char XmbDrawString(); |
| 7509 | 7530 |
| 7510 int main() { | 7531 int main() { |
| 7511 XmbDrawString() | 7532 XmbDrawString() |
| 7512 ; return 0; } | 7533 ; return 0; } |
| 7513 EOF | 7534 EOF |
| 7514 if { (eval echo configure:7515: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 7535 if { (eval echo configure:7536: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 7515 rm -rf conftest* | 7536 rm -rf conftest* |
| 7516 eval "ac_cv_lib_$ac_lib_var=yes" | 7537 eval "ac_cv_lib_$ac_lib_var=yes" |
| 7517 else | 7538 else |
| 7518 echo "configure: failed program was:" >&5 | 7539 echo "configure: failed program was:" >&5 |
| 7519 cat conftest.$ac_ext >&5 | 7540 cat conftest.$ac_ext >&5 |
| 7549 fi | 7570 fi |
| 7550 fi | 7571 fi |
| 7551 test "$with_wnn6" = "yes" && with_wnn=yes # wnn6 implies wnn support | 7572 test "$with_wnn6" = "yes" && with_wnn=yes # wnn6 implies wnn support |
| 7552 test -z "$with_wnn" && { ac_safe=`echo "wnn/jllib.h" | sed 'y%./+-%__p_%'` | 7573 test -z "$with_wnn" && { ac_safe=`echo "wnn/jllib.h" | sed 'y%./+-%__p_%'` |
| 7553 echo $ac_n "checking for wnn/jllib.h""... $ac_c" 1>&6 | 7574 echo $ac_n "checking for wnn/jllib.h""... $ac_c" 1>&6 |
| 7554 echo "configure:7555: checking for wnn/jllib.h" >&5 | 7575 echo "configure:7576: checking for wnn/jllib.h" >&5 |
| 7555 | 7576 |
| 7556 cat > conftest.$ac_ext <<EOF | 7577 cat > conftest.$ac_ext <<EOF |
| 7557 #line 7558 "configure" | 7578 #line 7579 "configure" |
| 7558 #include "confdefs.h" | 7579 #include "confdefs.h" |
| 7559 #include <wnn/jllib.h> | 7580 #include <wnn/jllib.h> |
| 7560 EOF | 7581 EOF |
| 7561 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7582 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 7562 { (eval echo configure:7563: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7583 { (eval echo configure:7584: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 7563 ac_err=`grep -v '^ *+' conftest.out` | 7584 ac_err=`grep -v '^ *+' conftest.out` |
| 7564 if test -z "$ac_err"; then | 7585 if test -z "$ac_err"; then |
| 7565 rm -rf conftest* | 7586 rm -rf conftest* |
| 7566 eval "ac_cv_header_$ac_safe=yes" | 7587 eval "ac_cv_header_$ac_safe=yes" |
| 7567 else | 7588 else |
| 7582 } | 7603 } |
| 7583 if test "$with_wnn" != "no"; then | 7604 if test "$with_wnn" != "no"; then |
| 7584 for ac_func in crypt | 7605 for ac_func in crypt |
| 7585 do | 7606 do |
| 7586 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 7607 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
| 7587 echo "configure:7588: checking for $ac_func" >&5 | 7608 echo "configure:7609: checking for $ac_func" >&5 |
| 7588 | 7609 |
| 7589 cat > conftest.$ac_ext <<EOF | 7610 cat > conftest.$ac_ext <<EOF |
| 7590 #line 7591 "configure" | 7611 #line 7612 "configure" |
| 7591 #include "confdefs.h" | 7612 #include "confdefs.h" |
| 7592 /* System header to define __stub macros and hopefully few prototypes, | 7613 /* System header to define __stub macros and hopefully few prototypes, |
| 7593 which can conflict with char $ac_func(); below. */ | 7614 which can conflict with char $ac_func(); below. */ |
| 7594 #include <assert.h> | 7615 #include <assert.h> |
| 7595 /* Override any gcc2 internal prototype to avoid an error. */ | 7616 /* Override any gcc2 internal prototype to avoid an error. */ |
| 7608 $ac_func(); | 7629 $ac_func(); |
| 7609 #endif | 7630 #endif |
| 7610 | 7631 |
| 7611 ; return 0; } | 7632 ; return 0; } |
| 7612 EOF | 7633 EOF |
| 7613 if { (eval echo configure:7614: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 7634 if { (eval echo configure:7635: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 7614 rm -rf conftest* | 7635 rm -rf conftest* |
| 7615 eval "ac_cv_func_$ac_func=yes" | 7636 eval "ac_cv_func_$ac_func=yes" |
| 7616 else | 7637 else |
| 7617 echo "configure: failed program was:" >&5 | 7638 echo "configure: failed program was:" >&5 |
| 7618 cat conftest.$ac_ext >&5 | 7639 cat conftest.$ac_ext >&5 |
| 7637 fi | 7658 fi |
| 7638 done | 7659 done |
| 7639 | 7660 |
| 7640 test "$ac_cv_func_crypt" != "yes" && { | 7661 test "$ac_cv_func_crypt" != "yes" && { |
| 7641 echo $ac_n "checking for crypt in -lcrypt""... $ac_c" 1>&6 | 7662 echo $ac_n "checking for crypt in -lcrypt""... $ac_c" 1>&6 |
| 7642 echo "configure:7643: checking for crypt in -lcrypt" >&5 | 7663 echo "configure:7664: checking for crypt in -lcrypt" >&5 |
| 7643 ac_lib_var=`echo crypt'_'crypt | sed 'y%./+-%__p_%'` | 7664 ac_lib_var=`echo crypt'_'crypt | sed 'y%./+-%__p_%'` |
| 7644 | 7665 |
| 7645 xe_check_libs=" -lcrypt " | 7666 xe_check_libs=" -lcrypt " |
| 7646 cat > conftest.$ac_ext <<EOF | 7667 cat > conftest.$ac_ext <<EOF |
| 7647 #line 7648 "configure" | 7668 #line 7669 "configure" |
| 7648 #include "confdefs.h" | 7669 #include "confdefs.h" |
| 7649 /* Override any gcc2 internal prototype to avoid an error. */ | 7670 /* Override any gcc2 internal prototype to avoid an error. */ |
| 7650 /* We use char because int might match the return type of a gcc2 | 7671 /* We use char because int might match the return type of a gcc2 |
| 7651 builtin and then its argument prototype would still apply. */ | 7672 builtin and then its argument prototype would still apply. */ |
| 7652 char crypt(); | 7673 char crypt(); |
| 7653 | 7674 |
| 7654 int main() { | 7675 int main() { |
| 7655 crypt() | 7676 crypt() |
| 7656 ; return 0; } | 7677 ; return 0; } |
| 7657 EOF | 7678 EOF |
| 7658 if { (eval echo configure:7659: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 7679 if { (eval echo configure:7680: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 7659 rm -rf conftest* | 7680 rm -rf conftest* |
| 7660 eval "ac_cv_lib_$ac_lib_var=yes" | 7681 eval "ac_cv_lib_$ac_lib_var=yes" |
| 7661 else | 7682 else |
| 7662 echo "configure: failed program was:" >&5 | 7683 echo "configure: failed program was:" >&5 |
| 7663 cat conftest.$ac_ext >&5 | 7684 cat conftest.$ac_ext >&5 |
| 7687 | 7708 |
| 7688 } | 7709 } |
| 7689 fi | 7710 fi |
| 7690 test -z "$with_wnn" && { | 7711 test -z "$with_wnn" && { |
| 7691 echo $ac_n "checking for jl_dic_list_e in -lwnn""... $ac_c" 1>&6 | 7712 echo $ac_n "checking for jl_dic_list_e in -lwnn""... $ac_c" 1>&6 |
| 7692 echo "configure:7693: checking for jl_dic_list_e in -lwnn" >&5 | 7713 echo "configure:7714: checking for jl_dic_list_e in -lwnn" >&5 |
| 7693 ac_lib_var=`echo wnn'_'jl_dic_list_e | sed 'y%./+-%__p_%'` | 7714 ac_lib_var=`echo wnn'_'jl_dic_list_e | sed 'y%./+-%__p_%'` |
| 7694 | 7715 |
| 7695 xe_check_libs=" -lwnn " | 7716 xe_check_libs=" -lwnn " |
| 7696 cat > conftest.$ac_ext <<EOF | 7717 cat > conftest.$ac_ext <<EOF |
| 7697 #line 7698 "configure" | 7718 #line 7719 "configure" |
| 7698 #include "confdefs.h" | 7719 #include "confdefs.h" |
| 7699 /* Override any gcc2 internal prototype to avoid an error. */ | 7720 /* Override any gcc2 internal prototype to avoid an error. */ |
| 7700 /* We use char because int might match the return type of a gcc2 | 7721 /* We use char because int might match the return type of a gcc2 |
| 7701 builtin and then its argument prototype would still apply. */ | 7722 builtin and then its argument prototype would still apply. */ |
| 7702 char jl_dic_list_e(); | 7723 char jl_dic_list_e(); |
| 7703 | 7724 |
| 7704 int main() { | 7725 int main() { |
| 7705 jl_dic_list_e() | 7726 jl_dic_list_e() |
| 7706 ; return 0; } | 7727 ; return 0; } |
| 7707 EOF | 7728 EOF |
| 7708 if { (eval echo configure:7709: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 7729 if { (eval echo configure:7730: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 7709 rm -rf conftest* | 7730 rm -rf conftest* |
| 7710 eval "ac_cv_lib_$ac_lib_var=yes" | 7731 eval "ac_cv_lib_$ac_lib_var=yes" |
| 7711 else | 7732 else |
| 7712 echo "configure: failed program was:" >&5 | 7733 echo "configure: failed program was:" >&5 |
| 7713 cat conftest.$ac_ext >&5 | 7734 cat conftest.$ac_ext >&5 |
| 7740 extra_objs="$extra_objs mule-wnnfns.o" && if test "$extra_verbose" = "yes"; then | 7761 extra_objs="$extra_objs mule-wnnfns.o" && if test "$extra_verbose" = "yes"; then |
| 7741 echo " xemacs will be linked with \"mule-wnnfns.o\"" | 7762 echo " xemacs will be linked with \"mule-wnnfns.o\"" |
| 7742 fi | 7763 fi |
| 7743 | 7764 |
| 7744 echo $ac_n "checking for jl_fi_dic_list in -lwnn""... $ac_c" 1>&6 | 7765 echo $ac_n "checking for jl_fi_dic_list in -lwnn""... $ac_c" 1>&6 |
| 7745 echo "configure:7746: checking for jl_fi_dic_list in -lwnn" >&5 | 7766 echo "configure:7767: checking for jl_fi_dic_list in -lwnn" >&5 |
| 7746 ac_lib_var=`echo wnn'_'jl_fi_dic_list | sed 'y%./+-%__p_%'` | 7767 ac_lib_var=`echo wnn'_'jl_fi_dic_list | sed 'y%./+-%__p_%'` |
| 7747 | 7768 |
| 7748 xe_check_libs=" -lwnn " | 7769 xe_check_libs=" -lwnn " |
| 7749 cat > conftest.$ac_ext <<EOF | 7770 cat > conftest.$ac_ext <<EOF |
| 7750 #line 7751 "configure" | 7771 #line 7772 "configure" |
| 7751 #include "confdefs.h" | 7772 #include "confdefs.h" |
| 7752 /* Override any gcc2 internal prototype to avoid an error. */ | 7773 /* Override any gcc2 internal prototype to avoid an error. */ |
| 7753 /* We use char because int might match the return type of a gcc2 | 7774 /* We use char because int might match the return type of a gcc2 |
| 7754 builtin and then its argument prototype would still apply. */ | 7775 builtin and then its argument prototype would still apply. */ |
| 7755 char jl_fi_dic_list(); | 7776 char jl_fi_dic_list(); |
| 7756 | 7777 |
| 7757 int main() { | 7778 int main() { |
| 7758 jl_fi_dic_list() | 7779 jl_fi_dic_list() |
| 7759 ; return 0; } | 7780 ; return 0; } |
| 7760 EOF | 7781 EOF |
| 7761 if { (eval echo configure:7762: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 7782 if { (eval echo configure:7783: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 7762 rm -rf conftest* | 7783 rm -rf conftest* |
| 7763 eval "ac_cv_lib_$ac_lib_var=yes" | 7784 eval "ac_cv_lib_$ac_lib_var=yes" |
| 7764 else | 7785 else |
| 7765 echo "configure: failed program was:" >&5 | 7786 echo "configure: failed program was:" >&5 |
| 7766 cat conftest.$ac_ext >&5 | 7787 cat conftest.$ac_ext >&5 |
| 7790 | 7811 |
| 7791 canna_includes_found=no | 7812 canna_includes_found=no |
| 7792 if test "$with_canna" != "no"; then | 7813 if test "$with_canna" != "no"; then |
| 7793 ac_safe=`echo "canna/jrkanji.h" | sed 'y%./+-%__p_%'` | 7814 ac_safe=`echo "canna/jrkanji.h" | sed 'y%./+-%__p_%'` |
| 7794 echo $ac_n "checking for canna/jrkanji.h""... $ac_c" 1>&6 | 7815 echo $ac_n "checking for canna/jrkanji.h""... $ac_c" 1>&6 |
| 7795 echo "configure:7796: checking for canna/jrkanji.h" >&5 | 7816 echo "configure:7817: checking for canna/jrkanji.h" >&5 |
| 7796 | 7817 |
| 7797 cat > conftest.$ac_ext <<EOF | 7818 cat > conftest.$ac_ext <<EOF |
| 7798 #line 7799 "configure" | 7819 #line 7820 "configure" |
| 7799 #include "confdefs.h" | 7820 #include "confdefs.h" |
| 7800 #include <canna/jrkanji.h> | 7821 #include <canna/jrkanji.h> |
| 7801 EOF | 7822 EOF |
| 7802 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7823 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 7803 { (eval echo configure:7804: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7824 { (eval echo configure:7825: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 7804 ac_err=`grep -v '^ *+' conftest.out` | 7825 ac_err=`grep -v '^ *+' conftest.out` |
| 7805 if test -z "$ac_err"; then | 7826 if test -z "$ac_err"; then |
| 7806 rm -rf conftest* | 7827 rm -rf conftest* |
| 7807 eval "ac_cv_header_$ac_safe=yes" | 7828 eval "ac_cv_header_$ac_safe=yes" |
| 7808 else | 7829 else |
| 7825 -d "/usr/local/canna/include"; then | 7846 -d "/usr/local/canna/include"; then |
| 7826 save_c_switch_site="$c_switch_site" | 7847 save_c_switch_site="$c_switch_site" |
| 7827 c_switch_site="$c_switch_site -I/usr/local/canna/include" | 7848 c_switch_site="$c_switch_site -I/usr/local/canna/include" |
| 7828 ac_safe=`echo "canna/jrkanji.h" | sed 'y%./+-%__p_%'` | 7849 ac_safe=`echo "canna/jrkanji.h" | sed 'y%./+-%__p_%'` |
| 7829 echo $ac_n "checking for canna/jrkanji.h""... $ac_c" 1>&6 | 7850 echo $ac_n "checking for canna/jrkanji.h""... $ac_c" 1>&6 |
| 7830 echo "configure:7831: checking for canna/jrkanji.h" >&5 | 7851 echo "configure:7852: checking for canna/jrkanji.h" >&5 |
| 7831 | 7852 |
| 7832 cat > conftest.$ac_ext <<EOF | 7853 cat > conftest.$ac_ext <<EOF |
| 7833 #line 7834 "configure" | 7854 #line 7855 "configure" |
| 7834 #include "confdefs.h" | 7855 #include "confdefs.h" |
| 7835 #include <canna/jrkanji.h> | 7856 #include <canna/jrkanji.h> |
| 7836 EOF | 7857 EOF |
| 7837 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7858 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 7838 { (eval echo configure:7839: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7859 { (eval echo configure:7860: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 7839 ac_err=`grep -v '^ *+' conftest.out` | 7860 ac_err=`grep -v '^ *+' conftest.out` |
| 7840 if test -z "$ac_err"; then | 7861 if test -z "$ac_err"; then |
| 7841 rm -rf conftest* | 7862 rm -rf conftest* |
| 7842 eval "ac_cv_header_$ac_safe=yes" | 7863 eval "ac_cv_header_$ac_safe=yes" |
| 7843 else | 7864 else |
| 7861 fi | 7882 fi |
| 7862 fi | 7883 fi |
| 7863 | 7884 |
| 7864 test -z "$with_canna" && { ac_safe=`echo "canna/RK.h" | sed 'y%./+-%__p_%'` | 7885 test -z "$with_canna" && { ac_safe=`echo "canna/RK.h" | sed 'y%./+-%__p_%'` |
| 7865 echo $ac_n "checking for canna/RK.h""... $ac_c" 1>&6 | 7886 echo $ac_n "checking for canna/RK.h""... $ac_c" 1>&6 |
| 7866 echo "configure:7867: checking for canna/RK.h" >&5 | 7887 echo "configure:7888: checking for canna/RK.h" >&5 |
| 7867 | 7888 |
| 7868 cat > conftest.$ac_ext <<EOF | 7889 cat > conftest.$ac_ext <<EOF |
| 7869 #line 7870 "configure" | 7890 #line 7891 "configure" |
| 7870 #include "confdefs.h" | 7891 #include "confdefs.h" |
| 7871 #include <canna/RK.h> | 7892 #include <canna/RK.h> |
| 7872 EOF | 7893 EOF |
| 7873 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7894 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 7874 { (eval echo configure:7875: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7895 { (eval echo configure:7896: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 7875 ac_err=`grep -v '^ *+' conftest.out` | 7896 ac_err=`grep -v '^ *+' conftest.out` |
| 7876 if test -z "$ac_err"; then | 7897 if test -z "$ac_err"; then |
| 7877 rm -rf conftest* | 7898 rm -rf conftest* |
| 7878 eval "ac_cv_header_$ac_safe=yes" | 7899 eval "ac_cv_header_$ac_safe=yes" |
| 7879 else | 7900 else |
| 7892 with_canna=no | 7913 with_canna=no |
| 7893 fi | 7914 fi |
| 7894 } | 7915 } |
| 7895 test -z "$with_canna" && { | 7916 test -z "$with_canna" && { |
| 7896 echo $ac_n "checking for RkBgnBun in -lRKC""... $ac_c" 1>&6 | 7917 echo $ac_n "checking for RkBgnBun in -lRKC""... $ac_c" 1>&6 |
| 7897 echo "configure:7898: checking for RkBgnBun in -lRKC" >&5 | 7918 echo "configure:7919: checking for RkBgnBun in -lRKC" >&5 |
| 7898 ac_lib_var=`echo RKC'_'RkBgnBun | sed 'y%./+-%__p_%'` | 7919 ac_lib_var=`echo RKC'_'RkBgnBun | sed 'y%./+-%__p_%'` |
| 7899 | 7920 |
| 7900 xe_check_libs=" -lRKC " | 7921 xe_check_libs=" -lRKC " |
| 7901 cat > conftest.$ac_ext <<EOF | 7922 cat > conftest.$ac_ext <<EOF |
| 7902 #line 7903 "configure" | 7923 #line 7924 "configure" |
| 7903 #include "confdefs.h" | 7924 #include "confdefs.h" |
| 7904 /* Override any gcc2 internal prototype to avoid an error. */ | 7925 /* Override any gcc2 internal prototype to avoid an error. */ |
| 7905 /* We use char because int might match the return type of a gcc2 | 7926 /* We use char because int might match the return type of a gcc2 |
| 7906 builtin and then its argument prototype would still apply. */ | 7927 builtin and then its argument prototype would still apply. */ |
| 7907 char RkBgnBun(); | 7928 char RkBgnBun(); |
| 7908 | 7929 |
| 7909 int main() { | 7930 int main() { |
| 7910 RkBgnBun() | 7931 RkBgnBun() |
| 7911 ; return 0; } | 7932 ; return 0; } |
| 7912 EOF | 7933 EOF |
| 7913 if { (eval echo configure:7914: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 7934 if { (eval echo configure:7935: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 7914 rm -rf conftest* | 7935 rm -rf conftest* |
| 7915 eval "ac_cv_lib_$ac_lib_var=yes" | 7936 eval "ac_cv_lib_$ac_lib_var=yes" |
| 7916 else | 7937 else |
| 7917 echo "configure: failed program was:" >&5 | 7938 echo "configure: failed program was:" >&5 |
| 7918 cat conftest.$ac_ext >&5 | 7939 cat conftest.$ac_ext >&5 |
| 7931 fi | 7952 fi |
| 7932 | 7953 |
| 7933 } | 7954 } |
| 7934 test -z "$with_canna" && { | 7955 test -z "$with_canna" && { |
| 7935 echo $ac_n "checking for jrKanjiControl in -lcanna""... $ac_c" 1>&6 | 7956 echo $ac_n "checking for jrKanjiControl in -lcanna""... $ac_c" 1>&6 |
| 7936 echo "configure:7937: checking for jrKanjiControl in -lcanna" >&5 | 7957 echo "configure:7958: checking for jrKanjiControl in -lcanna" >&5 |
| 7937 ac_lib_var=`echo canna'_'jrKanjiControl | sed 'y%./+-%__p_%'` | 7958 ac_lib_var=`echo canna'_'jrKanjiControl | sed 'y%./+-%__p_%'` |
| 7938 | 7959 |
| 7939 xe_check_libs=" -lcanna " | 7960 xe_check_libs=" -lcanna " |
| 7940 cat > conftest.$ac_ext <<EOF | 7961 cat > conftest.$ac_ext <<EOF |
| 7941 #line 7942 "configure" | 7962 #line 7963 "configure" |
| 7942 #include "confdefs.h" | 7963 #include "confdefs.h" |
| 7943 /* Override any gcc2 internal prototype to avoid an error. */ | 7964 /* Override any gcc2 internal prototype to avoid an error. */ |
| 7944 /* We use char because int might match the return type of a gcc2 | 7965 /* We use char because int might match the return type of a gcc2 |
| 7945 builtin and then its argument prototype would still apply. */ | 7966 builtin and then its argument prototype would still apply. */ |
| 7946 char jrKanjiControl(); | 7967 char jrKanjiControl(); |
| 7947 | 7968 |
| 7948 int main() { | 7969 int main() { |
| 7949 jrKanjiControl() | 7970 jrKanjiControl() |
| 7950 ; return 0; } | 7971 ; return 0; } |
| 7951 EOF | 7972 EOF |
| 7952 if { (eval echo configure:7953: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 7973 if { (eval echo configure:7974: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 7953 rm -rf conftest* | 7974 rm -rf conftest* |
| 7954 eval "ac_cv_lib_$ac_lib_var=yes" | 7975 eval "ac_cv_lib_$ac_lib_var=yes" |
| 7955 else | 7976 else |
| 7956 echo "configure: failed program was:" >&5 | 7977 echo "configure: failed program was:" >&5 |
| 7957 cat conftest.$ac_ext >&5 | 7978 cat conftest.$ac_ext >&5 |
| 7996 | 8017 |
| 7997 if test "$need_motif" = "yes" ; then | 8018 if test "$need_motif" = "yes" ; then |
| 7998 libs_x="-lXm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXm\" to \$libs_x"; fi | 8019 libs_x="-lXm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXm\" to \$libs_x"; fi |
| 7999 | 8020 |
| 8000 echo $ac_n "checking for layout_object_getvalue in -li18n""... $ac_c" 1>&6 | 8021 echo $ac_n "checking for layout_object_getvalue in -li18n""... $ac_c" 1>&6 |
| 8001 echo "configure:8002: checking for layout_object_getvalue in -li18n" >&5 | 8022 echo "configure:8023: checking for layout_object_getvalue in -li18n" >&5 |
| 8002 ac_lib_var=`echo i18n'_'layout_object_getvalue | sed 'y%./+-%__p_%'` | 8023 ac_lib_var=`echo i18n'_'layout_object_getvalue | sed 'y%./+-%__p_%'` |
| 8003 | 8024 |
| 8004 xe_check_libs=" -li18n " | 8025 xe_check_libs=" -li18n " |
| 8005 cat > conftest.$ac_ext <<EOF | 8026 cat > conftest.$ac_ext <<EOF |
| 8006 #line 8007 "configure" | 8027 #line 8028 "configure" |
| 8007 #include "confdefs.h" | 8028 #include "confdefs.h" |
| 8008 /* Override any gcc2 internal prototype to avoid an error. */ | 8029 /* Override any gcc2 internal prototype to avoid an error. */ |
| 8009 /* We use char because int might match the return type of a gcc2 | 8030 /* We use char because int might match the return type of a gcc2 |
| 8010 builtin and then its argument prototype would still apply. */ | 8031 builtin and then its argument prototype would still apply. */ |
| 8011 char layout_object_getvalue(); | 8032 char layout_object_getvalue(); |
| 8012 | 8033 |
| 8013 int main() { | 8034 int main() { |
| 8014 layout_object_getvalue() | 8035 layout_object_getvalue() |
| 8015 ; return 0; } | 8036 ; return 0; } |
| 8016 EOF | 8037 EOF |
| 8017 if { (eval echo configure:8018: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 8038 if { (eval echo configure:8039: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 8018 rm -rf conftest* | 8039 rm -rf conftest* |
| 8019 eval "ac_cv_lib_$ac_lib_var=yes" | 8040 eval "ac_cv_lib_$ac_lib_var=yes" |
| 8020 else | 8041 else |
| 8021 echo "configure: failed program was:" >&5 | 8042 echo "configure: failed program was:" >&5 |
| 8022 cat conftest.$ac_ext >&5 | 8043 cat conftest.$ac_ext >&5 |
| 8098 fi | 8119 fi |
| 8099 | 8120 |
| 8100 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 | 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 |
| 8101 do | 8122 do |
| 8102 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 8123 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
| 8103 echo "configure:8104: checking for $ac_func" >&5 | 8124 echo "configure:8125: checking for $ac_func" >&5 |
| 8104 | 8125 |
| 8105 cat > conftest.$ac_ext <<EOF | 8126 cat > conftest.$ac_ext <<EOF |
| 8106 #line 8107 "configure" | 8127 #line 8128 "configure" |
| 8107 #include "confdefs.h" | 8128 #include "confdefs.h" |
| 8108 /* System header to define __stub macros and hopefully few prototypes, | 8129 /* System header to define __stub macros and hopefully few prototypes, |
| 8109 which can conflict with char $ac_func(); below. */ | 8130 which can conflict with char $ac_func(); below. */ |
| 8110 #include <assert.h> | 8131 #include <assert.h> |
| 8111 /* Override any gcc2 internal prototype to avoid an error. */ | 8132 /* Override any gcc2 internal prototype to avoid an error. */ |
| 8124 $ac_func(); | 8145 $ac_func(); |
| 8125 #endif | 8146 #endif |
| 8126 | 8147 |
| 8127 ; return 0; } | 8148 ; return 0; } |
| 8128 EOF | 8149 EOF |
| 8129 if { (eval echo configure:8130: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 8150 if { (eval echo configure:8151: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 8130 rm -rf conftest* | 8151 rm -rf conftest* |
| 8131 eval "ac_cv_func_$ac_func=yes" | 8152 eval "ac_cv_func_$ac_func=yes" |
| 8132 else | 8153 else |
| 8133 echo "configure: failed program was:" >&5 | 8154 echo "configure: failed program was:" >&5 |
| 8134 cat conftest.$ac_ext >&5 | 8155 cat conftest.$ac_ext >&5 |
| 8161 fi ;; | 8182 fi ;; |
| 8162 * ) | 8183 * ) |
| 8163 for ac_func in realpath | 8184 for ac_func in realpath |
| 8164 do | 8185 do |
| 8165 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 8186 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
| 8166 echo "configure:8167: checking for $ac_func" >&5 | 8187 echo "configure:8188: checking for $ac_func" >&5 |
| 8167 | 8188 |
| 8168 cat > conftest.$ac_ext <<EOF | 8189 cat > conftest.$ac_ext <<EOF |
| 8169 #line 8170 "configure" | 8190 #line 8191 "configure" |
| 8170 #include "confdefs.h" | 8191 #include "confdefs.h" |
| 8171 /* System header to define __stub macros and hopefully few prototypes, | 8192 /* System header to define __stub macros and hopefully few prototypes, |
| 8172 which can conflict with char $ac_func(); below. */ | 8193 which can conflict with char $ac_func(); below. */ |
| 8173 #include <assert.h> | 8194 #include <assert.h> |
| 8174 /* Override any gcc2 internal prototype to avoid an error. */ | 8195 /* Override any gcc2 internal prototype to avoid an error. */ |
| 8187 $ac_func(); | 8208 $ac_func(); |
| 8188 #endif | 8209 #endif |
| 8189 | 8210 |
| 8190 ; return 0; } | 8211 ; return 0; } |
| 8191 EOF | 8212 EOF |
| 8192 if { (eval echo configure:8193: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 8213 if { (eval echo configure:8214: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 8193 rm -rf conftest* | 8214 rm -rf conftest* |
| 8194 eval "ac_cv_func_$ac_func=yes" | 8215 eval "ac_cv_func_$ac_func=yes" |
| 8195 else | 8216 else |
| 8196 echo "configure: failed program was:" >&5 | 8217 echo "configure: failed program was:" >&5 |
| 8197 cat conftest.$ac_ext >&5 | 8218 cat conftest.$ac_ext >&5 |
| 8220 echo " xemacs will be linked with \"realpath.o\"" | 8241 echo " xemacs will be linked with \"realpath.o\"" |
| 8221 fi ;; | 8242 fi ;; |
| 8222 esac | 8243 esac |
| 8223 | 8244 |
| 8224 echo $ac_n "checking whether netdb declares h_errno""... $ac_c" 1>&6 | 8245 echo $ac_n "checking whether netdb declares h_errno""... $ac_c" 1>&6 |
| 8225 echo "configure:8226: checking whether netdb declares h_errno" >&5 | 8246 echo "configure:8247: checking whether netdb declares h_errno" >&5 |
| 8226 cat > conftest.$ac_ext <<EOF | 8247 cat > conftest.$ac_ext <<EOF |
| 8227 #line 8228 "configure" | 8248 #line 8249 "configure" |
| 8228 #include "confdefs.h" | 8249 #include "confdefs.h" |
| 8229 #include <netdb.h> | 8250 #include <netdb.h> |
| 8230 int main() { | 8251 int main() { |
| 8231 return h_errno; | 8252 return h_errno; |
| 8232 ; return 0; } | 8253 ; return 0; } |
| 8233 EOF | 8254 EOF |
| 8234 if { (eval echo configure:8235: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 8255 if { (eval echo configure:8256: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 8235 rm -rf conftest* | 8256 rm -rf conftest* |
| 8236 echo "$ac_t""yes" 1>&6 | 8257 echo "$ac_t""yes" 1>&6 |
| 8237 { test "$extra_verbose" = "yes" && cat << \EOF | 8258 { test "$extra_verbose" = "yes" && cat << \EOF |
| 8238 Defining HAVE_H_ERRNO | 8259 Defining HAVE_H_ERRNO |
| 8239 EOF | 8260 EOF |
| 8249 echo "$ac_t""no" 1>&6 | 8270 echo "$ac_t""no" 1>&6 |
| 8250 fi | 8271 fi |
| 8251 rm -f conftest* | 8272 rm -f conftest* |
| 8252 | 8273 |
| 8253 echo $ac_n "checking for sigsetjmp""... $ac_c" 1>&6 | 8274 echo $ac_n "checking for sigsetjmp""... $ac_c" 1>&6 |
| 8254 echo "configure:8255: checking for sigsetjmp" >&5 | 8275 echo "configure:8276: checking for sigsetjmp" >&5 |
| 8255 cat > conftest.$ac_ext <<EOF | 8276 cat > conftest.$ac_ext <<EOF |
| 8256 #line 8257 "configure" | 8277 #line 8278 "configure" |
| 8257 #include "confdefs.h" | 8278 #include "confdefs.h" |
| 8258 #include <setjmp.h> | 8279 #include <setjmp.h> |
| 8259 int main() { | 8280 int main() { |
| 8260 sigjmp_buf bar; sigsetjmp (bar, 0); | 8281 sigjmp_buf bar; sigsetjmp (bar, 0); |
| 8261 ; return 0; } | 8282 ; return 0; } |
| 8262 EOF | 8283 EOF |
| 8263 if { (eval echo configure:8264: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 8284 if { (eval echo configure:8285: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| 8264 rm -rf conftest* | 8285 rm -rf conftest* |
| 8265 echo "$ac_t""yes" 1>&6 | 8286 echo "$ac_t""yes" 1>&6 |
| 8266 { test "$extra_verbose" = "yes" && cat << \EOF | 8287 { test "$extra_verbose" = "yes" && cat << \EOF |
| 8267 Defining HAVE_SIGSETJMP | 8288 Defining HAVE_SIGSETJMP |
| 8268 EOF | 8289 EOF |
| 8278 echo "$ac_t""no" 1>&6 | 8299 echo "$ac_t""no" 1>&6 |
| 8279 fi | 8300 fi |
| 8280 rm -f conftest* | 8301 rm -f conftest* |
| 8281 | 8302 |
| 8282 echo $ac_n "checking whether localtime caches TZ""... $ac_c" 1>&6 | 8303 echo $ac_n "checking whether localtime caches TZ""... $ac_c" 1>&6 |
| 8283 echo "configure:8284: checking whether localtime caches TZ" >&5 | 8304 echo "configure:8305: checking whether localtime caches TZ" >&5 |
| 8284 | 8305 |
| 8285 if test "$ac_cv_func_tzset" = "yes"; then | 8306 if test "$ac_cv_func_tzset" = "yes"; then |
| 8286 cat > conftest.$ac_ext <<EOF | 8307 cat > conftest.$ac_ext <<EOF |
| 8287 #line 8288 "configure" | 8308 #line 8309 "configure" |
| 8288 #include "confdefs.h" | 8309 #include "confdefs.h" |
| 8289 #include <time.h> | 8310 #include <time.h> |
| 8290 #if STDC_HEADERS | 8311 #if STDC_HEADERS |
| 8291 # include <stdlib.h> | 8312 # include <stdlib.h> |
| 8292 #endif | 8313 #endif |
| 8317 if (localtime (&now)->tm_hour != hour_unset) | 8338 if (localtime (&now)->tm_hour != hour_unset) |
| 8318 exit (1); | 8339 exit (1); |
| 8319 exit (0); | 8340 exit (0); |
| 8320 } | 8341 } |
| 8321 EOF | 8342 EOF |
| 8322 if { (eval echo configure:8323: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 | 8343 if { (eval echo configure:8344: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 |
| 8323 then | 8344 then |
| 8324 emacs_cv_localtime_cache=no | 8345 emacs_cv_localtime_cache=no |
| 8325 else | 8346 else |
| 8326 echo "configure: failed program was:" >&5 | 8347 echo "configure: failed program was:" >&5 |
| 8327 cat conftest.$ac_ext >&5 | 8348 cat conftest.$ac_ext >&5 |
| 8346 | 8367 |
| 8347 fi | 8368 fi |
| 8348 | 8369 |
| 8349 if test "$HAVE_TIMEVAL" = "yes"; then | 8370 if test "$HAVE_TIMEVAL" = "yes"; then |
| 8350 echo $ac_n "checking whether gettimeofday accepts one or two arguments""... $ac_c" 1>&6 | 8371 echo $ac_n "checking whether gettimeofday accepts one or two arguments""... $ac_c" 1>&6 |
| 8351 echo "configure:8352: checking whether gettimeofday accepts one or two arguments" >&5 | 8372 echo "configure:8373: checking whether gettimeofday accepts one or two arguments" >&5 |
| 8352 cat > conftest.$ac_ext <<EOF | 8373 cat > conftest.$ac_ext <<EOF |
| 8353 #line 8354 "configure" | 8374 #line 8375 "configure" |
| 8354 #include "confdefs.h" | 8375 #include "confdefs.h" |
| 8355 | 8376 |
| 8356 #ifdef TIME_WITH_SYS_TIME | 8377 #ifdef TIME_WITH_SYS_TIME |
| 8357 #include <sys/time.h> | 8378 #include <sys/time.h> |
| 8358 #include <time.h> | 8379 #include <time.h> |
| 8370 struct timezone dummy; | 8391 struct timezone dummy; |
| 8371 gettimeofday (&time, &dummy); | 8392 gettimeofday (&time, &dummy); |
| 8372 | 8393 |
| 8373 ; return 0; } | 8394 ; return 0; } |
| 8374 EOF | 8395 EOF |
| 8375 if { (eval echo configure:8376: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 8396 if { (eval echo configure:8397: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 8376 rm -rf conftest* | 8397 rm -rf conftest* |
| 8377 echo "$ac_t""two" 1>&6 | 8398 echo "$ac_t""two" 1>&6 |
| 8378 else | 8399 else |
| 8379 echo "configure: failed program was:" >&5 | 8400 echo "configure: failed program was:" >&5 |
| 8380 cat conftest.$ac_ext >&5 | 8401 cat conftest.$ac_ext >&5 |
| 8392 rm -f conftest* | 8413 rm -f conftest* |
| 8393 fi | 8414 fi |
| 8394 | 8415 |
| 8395 | 8416 |
| 8396 echo $ac_n "checking for inline""... $ac_c" 1>&6 | 8417 echo $ac_n "checking for inline""... $ac_c" 1>&6 |
| 8397 echo "configure:8398: checking for inline" >&5 | 8418 echo "configure:8419: checking for inline" >&5 |
| 8398 | 8419 |
| 8399 ac_cv_c_inline=no | 8420 ac_cv_c_inline=no |
| 8400 for ac_kw in inline __inline__ __inline; do | 8421 for ac_kw in inline __inline__ __inline; do |
| 8401 cat > conftest.$ac_ext <<EOF | 8422 cat > conftest.$ac_ext <<EOF |
| 8402 #line 8403 "configure" | 8423 #line 8424 "configure" |
| 8403 #include "confdefs.h" | 8424 #include "confdefs.h" |
| 8404 | 8425 |
| 8405 int main() { | 8426 int main() { |
| 8406 } $ac_kw foo() { | 8427 } $ac_kw foo() { |
| 8407 ; return 0; } | 8428 ; return 0; } |
| 8408 EOF | 8429 EOF |
| 8409 if { (eval echo configure:8410: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 8430 if { (eval echo configure:8431: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| 8410 rm -rf conftest* | 8431 rm -rf conftest* |
| 8411 ac_cv_c_inline=$ac_kw; break | 8432 ac_cv_c_inline=$ac_kw; break |
| 8412 else | 8433 else |
| 8413 echo "configure: failed program was:" >&5 | 8434 echo "configure: failed program was:" >&5 |
| 8414 cat conftest.$ac_ext >&5 | 8435 cat conftest.$ac_ext >&5 |
| 8454 | 8475 |
| 8455 | 8476 |
| 8456 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works | 8477 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works |
| 8457 # for constant arguments. Useless! | 8478 # for constant arguments. Useless! |
| 8458 echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6 | 8479 echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6 |
| 8459 echo "configure:8460: checking for working alloca.h" >&5 | 8480 echo "configure:8481: checking for working alloca.h" >&5 |
| 8460 | 8481 |
| 8461 cat > conftest.$ac_ext <<EOF | 8482 cat > conftest.$ac_ext <<EOF |
| 8462 #line 8463 "configure" | 8483 #line 8484 "configure" |
| 8463 #include "confdefs.h" | 8484 #include "confdefs.h" |
| 8464 #include <alloca.h> | 8485 #include <alloca.h> |
| 8465 int main() { | 8486 int main() { |
| 8466 char *p = alloca(2 * sizeof(int)); | 8487 char *p = alloca(2 * sizeof(int)); |
| 8467 ; return 0; } | 8488 ; return 0; } |
| 8468 EOF | 8489 EOF |
| 8469 if { (eval echo configure:8470: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 8490 if { (eval echo configure:8491: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 8470 rm -rf conftest* | 8491 rm -rf conftest* |
| 8471 ac_cv_header_alloca_h=yes | 8492 ac_cv_header_alloca_h=yes |
| 8472 else | 8493 else |
| 8473 echo "configure: failed program was:" >&5 | 8494 echo "configure: failed program was:" >&5 |
| 8474 cat conftest.$ac_ext >&5 | 8495 cat conftest.$ac_ext >&5 |
| 8488 } | 8509 } |
| 8489 | 8510 |
| 8490 fi | 8511 fi |
| 8491 | 8512 |
| 8492 echo $ac_n "checking for alloca""... $ac_c" 1>&6 | 8513 echo $ac_n "checking for alloca""... $ac_c" 1>&6 |
| 8493 echo "configure:8494: checking for alloca" >&5 | 8514 echo "configure:8515: checking for alloca" >&5 |
| 8494 | 8515 |
| 8495 cat > conftest.$ac_ext <<EOF | 8516 cat > conftest.$ac_ext <<EOF |
| 8496 #line 8497 "configure" | 8517 #line 8518 "configure" |
| 8497 #include "confdefs.h" | 8518 #include "confdefs.h" |
| 8498 | 8519 |
| 8499 #ifdef __GNUC__ | 8520 #ifdef __GNUC__ |
| 8500 # define alloca __builtin_alloca | 8521 # define alloca __builtin_alloca |
| 8501 #else | 8522 #else |
| 8514 | 8535 |
| 8515 int main() { | 8536 int main() { |
| 8516 char *p = (char *) alloca(1); | 8537 char *p = (char *) alloca(1); |
| 8517 ; return 0; } | 8538 ; return 0; } |
| 8518 EOF | 8539 EOF |
| 8519 if { (eval echo configure:8520: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 8540 if { (eval echo configure:8541: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 8520 rm -rf conftest* | 8541 rm -rf conftest* |
| 8521 ac_cv_func_alloca_works=yes | 8542 ac_cv_func_alloca_works=yes |
| 8522 else | 8543 else |
| 8523 echo "configure: failed program was:" >&5 | 8544 echo "configure: failed program was:" >&5 |
| 8524 cat conftest.$ac_ext >&5 | 8545 cat conftest.$ac_ext >&5 |
| 8553 EOF | 8574 EOF |
| 8554 } | 8575 } |
| 8555 | 8576 |
| 8556 | 8577 |
| 8557 echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6 | 8578 echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6 |
| 8558 echo "configure:8559: checking whether alloca needs Cray hooks" >&5 | 8579 echo "configure:8580: checking whether alloca needs Cray hooks" >&5 |
| 8559 | 8580 |
| 8560 cat > conftest.$ac_ext <<EOF | 8581 cat > conftest.$ac_ext <<EOF |
| 8561 #line 8562 "configure" | 8582 #line 8583 "configure" |
| 8562 #include "confdefs.h" | 8583 #include "confdefs.h" |
| 8563 #if defined(CRAY) && ! defined(CRAY2) | 8584 #if defined(CRAY) && ! defined(CRAY2) |
| 8564 webecray | 8585 webecray |
| 8565 #else | 8586 #else |
| 8566 wenotbecray | 8587 wenotbecray |
| 8580 | 8601 |
| 8581 echo "$ac_t""$ac_cv_os_cray" 1>&6 | 8602 echo "$ac_t""$ac_cv_os_cray" 1>&6 |
| 8582 if test $ac_cv_os_cray = yes; then | 8603 if test $ac_cv_os_cray = yes; then |
| 8583 for ac_func in _getb67 GETB67 getb67; do | 8604 for ac_func in _getb67 GETB67 getb67; do |
| 8584 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 8605 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
| 8585 echo "configure:8586: checking for $ac_func" >&5 | 8606 echo "configure:8607: checking for $ac_func" >&5 |
| 8586 | 8607 |
| 8587 cat > conftest.$ac_ext <<EOF | 8608 cat > conftest.$ac_ext <<EOF |
| 8588 #line 8589 "configure" | 8609 #line 8610 "configure" |
| 8589 #include "confdefs.h" | 8610 #include "confdefs.h" |
| 8590 /* System header to define __stub macros and hopefully few prototypes, | 8611 /* System header to define __stub macros and hopefully few prototypes, |
| 8591 which can conflict with char $ac_func(); below. */ | 8612 which can conflict with char $ac_func(); below. */ |
| 8592 #include <assert.h> | 8613 #include <assert.h> |
| 8593 /* Override any gcc2 internal prototype to avoid an error. */ | 8614 /* Override any gcc2 internal prototype to avoid an error. */ |
| 8606 $ac_func(); | 8627 $ac_func(); |
| 8607 #endif | 8628 #endif |
| 8608 | 8629 |
| 8609 ; return 0; } | 8630 ; return 0; } |
| 8610 EOF | 8631 EOF |
| 8611 if { (eval echo configure:8612: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 8632 if { (eval echo configure:8633: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 8612 rm -rf conftest* | 8633 rm -rf conftest* |
| 8613 eval "ac_cv_func_$ac_func=yes" | 8634 eval "ac_cv_func_$ac_func=yes" |
| 8614 else | 8635 else |
| 8615 echo "configure: failed program was:" >&5 | 8636 echo "configure: failed program was:" >&5 |
| 8616 cat conftest.$ac_ext >&5 | 8637 cat conftest.$ac_ext >&5 |
| 8636 | 8657 |
| 8637 done | 8658 done |
| 8638 fi | 8659 fi |
| 8639 | 8660 |
| 8640 echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6 | 8661 echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6 |
| 8641 echo "configure:8642: checking stack direction for C alloca" >&5 | 8662 echo "configure:8663: checking stack direction for C alloca" >&5 |
| 8642 | 8663 |
| 8643 cat > conftest.$ac_ext <<EOF | 8664 cat > conftest.$ac_ext <<EOF |
| 8644 #line 8645 "configure" | 8665 #line 8666 "configure" |
| 8645 #include "confdefs.h" | 8666 #include "confdefs.h" |
| 8646 find_stack_direction () | 8667 find_stack_direction () |
| 8647 { | 8668 { |
| 8648 static char *addr = 0; | 8669 static char *addr = 0; |
| 8649 auto char dummy; | 8670 auto char dummy; |
| 8658 main () | 8679 main () |
| 8659 { | 8680 { |
| 8660 exit (find_stack_direction() < 0); | 8681 exit (find_stack_direction() < 0); |
| 8661 } | 8682 } |
| 8662 EOF | 8683 EOF |
| 8663 if { (eval echo configure:8664: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 | 8684 if { (eval echo configure:8685: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 |
| 8664 then | 8685 then |
| 8665 ac_cv_c_stack_direction=1 | 8686 ac_cv_c_stack_direction=1 |
| 8666 else | 8687 else |
| 8667 echo "configure: failed program was:" >&5 | 8688 echo "configure: failed program was:" >&5 |
| 8668 cat conftest.$ac_ext >&5 | 8689 cat conftest.$ac_ext >&5 |
| 8686 echo " xemacs will be linked with \"$ALLOCA\"" | 8707 echo " xemacs will be linked with \"$ALLOCA\"" |
| 8687 fi | 8708 fi |
| 8688 | 8709 |
| 8689 ac_safe=`echo "vfork.h" | sed 'y%./+-%__p_%'` | 8710 ac_safe=`echo "vfork.h" | sed 'y%./+-%__p_%'` |
| 8690 echo $ac_n "checking for vfork.h""... $ac_c" 1>&6 | 8711 echo $ac_n "checking for vfork.h""... $ac_c" 1>&6 |
| 8691 echo "configure:8692: checking for vfork.h" >&5 | 8712 echo "configure:8713: checking for vfork.h" >&5 |
| 8692 | 8713 |
| 8693 cat > conftest.$ac_ext <<EOF | 8714 cat > conftest.$ac_ext <<EOF |
| 8694 #line 8695 "configure" | 8715 #line 8716 "configure" |
| 8695 #include "confdefs.h" | 8716 #include "confdefs.h" |
| 8696 #include <vfork.h> | 8717 #include <vfork.h> |
| 8697 EOF | 8718 EOF |
| 8698 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8719 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 8699 { (eval echo configure:8700: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8720 { (eval echo configure:8721: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 8700 ac_err=`grep -v '^ *+' conftest.out` | 8721 ac_err=`grep -v '^ *+' conftest.out` |
| 8701 if test -z "$ac_err"; then | 8722 if test -z "$ac_err"; then |
| 8702 rm -rf conftest* | 8723 rm -rf conftest* |
| 8703 eval "ac_cv_header_$ac_safe=yes" | 8724 eval "ac_cv_header_$ac_safe=yes" |
| 8704 else | 8725 else |
| 8722 else | 8743 else |
| 8723 echo "$ac_t""no" 1>&6 | 8744 echo "$ac_t""no" 1>&6 |
| 8724 fi | 8745 fi |
| 8725 | 8746 |
| 8726 echo $ac_n "checking for working vfork""... $ac_c" 1>&6 | 8747 echo $ac_n "checking for working vfork""... $ac_c" 1>&6 |
| 8727 echo "configure:8728: checking for working vfork" >&5 | 8748 echo "configure:8749: checking for working vfork" >&5 |
| 8728 | 8749 |
| 8729 cat > conftest.$ac_ext <<EOF | 8750 cat > conftest.$ac_ext <<EOF |
| 8730 #line 8731 "configure" | 8751 #line 8752 "configure" |
| 8731 #include "confdefs.h" | 8752 #include "confdefs.h" |
| 8732 /* Thanks to Paul Eggert for this test. */ | 8753 /* Thanks to Paul Eggert for this test. */ |
| 8733 #include <stdio.h> | 8754 #include <stdio.h> |
| 8734 #include <sys/types.h> | 8755 #include <sys/types.h> |
| 8735 #include <sys/stat.h> | 8756 #include <sys/stat.h> |
| 8820 || fstat(fileno(stdout), &st) != 0 | 8841 || fstat(fileno(stdout), &st) != 0 |
| 8821 ); | 8842 ); |
| 8822 } | 8843 } |
| 8823 } | 8844 } |
| 8824 EOF | 8845 EOF |
| 8825 if { (eval echo configure:8826: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 | 8846 if { (eval echo configure:8847: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 |
| 8826 then | 8847 then |
| 8827 ac_cv_func_vfork_works=yes | 8848 ac_cv_func_vfork_works=yes |
| 8828 else | 8849 else |
| 8829 echo "configure: failed program was:" >&5 | 8850 echo "configure: failed program was:" >&5 |
| 8830 cat conftest.$ac_ext >&5 | 8851 cat conftest.$ac_ext >&5 |
| 8845 | 8866 |
| 8846 fi | 8867 fi |
| 8847 | 8868 |
| 8848 | 8869 |
| 8849 echo $ac_n "checking for working strcoll""... $ac_c" 1>&6 | 8870 echo $ac_n "checking for working strcoll""... $ac_c" 1>&6 |
| 8850 echo "configure:8851: checking for working strcoll" >&5 | 8871 echo "configure:8872: checking for working strcoll" >&5 |
| 8851 | 8872 |
| 8852 cat > conftest.$ac_ext <<EOF | 8873 cat > conftest.$ac_ext <<EOF |
| 8853 #line 8854 "configure" | 8874 #line 8875 "configure" |
| 8854 #include "confdefs.h" | 8875 #include "confdefs.h" |
| 8855 #include <string.h> | 8876 #include <string.h> |
| 8856 main () | 8877 main () |
| 8857 { | 8878 { |
| 8858 exit (strcoll ("abc", "def") >= 0 || | 8879 exit (strcoll ("abc", "def") >= 0 || |
| 8859 strcoll ("ABC", "DEF") >= 0 || | 8880 strcoll ("ABC", "DEF") >= 0 || |
| 8860 strcoll ("123", "456") >= 0); | 8881 strcoll ("123", "456") >= 0); |
| 8861 } | 8882 } |
| 8862 EOF | 8883 EOF |
| 8863 if { (eval echo configure:8864: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 | 8884 if { (eval echo configure:8885: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 |
| 8864 then | 8885 then |
| 8865 ac_cv_func_strcoll_works=yes | 8886 ac_cv_func_strcoll_works=yes |
| 8866 else | 8887 else |
| 8867 echo "configure: failed program was:" >&5 | 8888 echo "configure: failed program was:" >&5 |
| 8868 cat conftest.$ac_ext >&5 | 8889 cat conftest.$ac_ext >&5 |
| 8885 | 8906 |
| 8886 | 8907 |
| 8887 for ac_func in getpgrp | 8908 for ac_func in getpgrp |
| 8888 do | 8909 do |
| 8889 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 8910 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
| 8890 echo "configure:8891: checking for $ac_func" >&5 | 8911 echo "configure:8912: checking for $ac_func" >&5 |
| 8891 | 8912 |
| 8892 cat > conftest.$ac_ext <<EOF | 8913 cat > conftest.$ac_ext <<EOF |
| 8893 #line 8894 "configure" | 8914 #line 8915 "configure" |
| 8894 #include "confdefs.h" | 8915 #include "confdefs.h" |
| 8895 /* System header to define __stub macros and hopefully few prototypes, | 8916 /* System header to define __stub macros and hopefully few prototypes, |
| 8896 which can conflict with char $ac_func(); below. */ | 8917 which can conflict with char $ac_func(); below. */ |
| 8897 #include <assert.h> | 8918 #include <assert.h> |
| 8898 /* Override any gcc2 internal prototype to avoid an error. */ | 8919 /* Override any gcc2 internal prototype to avoid an error. */ |
| 8911 $ac_func(); | 8932 $ac_func(); |
| 8912 #endif | 8933 #endif |
| 8913 | 8934 |
| 8914 ; return 0; } | 8935 ; return 0; } |
| 8915 EOF | 8936 EOF |
| 8916 if { (eval echo configure:8917: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 8937 if { (eval echo configure:8938: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 8917 rm -rf conftest* | 8938 rm -rf conftest* |
| 8918 eval "ac_cv_func_$ac_func=yes" | 8939 eval "ac_cv_func_$ac_func=yes" |
| 8919 else | 8940 else |
| 8920 echo "configure: failed program was:" >&5 | 8941 echo "configure: failed program was:" >&5 |
| 8921 cat conftest.$ac_ext >&5 | 8942 cat conftest.$ac_ext >&5 |
| 8939 echo "$ac_t""no" 1>&6 | 8960 echo "$ac_t""no" 1>&6 |
| 8940 fi | 8961 fi |
| 8941 done | 8962 done |
| 8942 | 8963 |
| 8943 echo $ac_n "checking whether getpgrp takes no argument""... $ac_c" 1>&6 | 8964 echo $ac_n "checking whether getpgrp takes no argument""... $ac_c" 1>&6 |
| 8944 echo "configure:8945: checking whether getpgrp takes no argument" >&5 | 8965 echo "configure:8966: checking whether getpgrp takes no argument" >&5 |
| 8945 | 8966 |
| 8946 cat > conftest.$ac_ext <<EOF | 8967 cat > conftest.$ac_ext <<EOF |
| 8947 #line 8948 "configure" | 8968 #line 8969 "configure" |
| 8948 #include "confdefs.h" | 8969 #include "confdefs.h" |
| 8949 | 8970 |
| 8950 /* | 8971 /* |
| 8951 * If this system has a BSD-style getpgrp(), | 8972 * If this system has a BSD-style getpgrp(), |
| 8952 * which takes a pid argument, exit unsuccessfully. | 8973 * which takes a pid argument, exit unsuccessfully. |
| 8997 exit(s>>8); | 9018 exit(s>>8); |
| 8998 } | 9019 } |
| 8999 } | 9020 } |
| 9000 | 9021 |
| 9001 EOF | 9022 EOF |
| 9002 if { (eval echo configure:9003: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 | 9023 if { (eval echo configure:9024: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 |
| 9003 then | 9024 then |
| 9004 ac_cv_func_getpgrp_void=yes | 9025 ac_cv_func_getpgrp_void=yes |
| 9005 else | 9026 else |
| 9006 echo "configure: failed program was:" >&5 | 9027 echo "configure: failed program was:" >&5 |
| 9007 cat conftest.$ac_ext >&5 | 9028 cat conftest.$ac_ext >&5 |
| 9023 | 9044 |
| 9024 fi | 9045 fi |
| 9025 | 9046 |
| 9026 | 9047 |
| 9027 echo $ac_n "checking for working mmap""... $ac_c" 1>&6 | 9048 echo $ac_n "checking for working mmap""... $ac_c" 1>&6 |
| 9028 echo "configure:9029: checking for working mmap" >&5 | 9049 echo "configure:9050: checking for working mmap" >&5 |
| 9029 case "$opsys" in ultrix* ) have_mmap=no ;; *) | 9050 case "$opsys" in ultrix* ) have_mmap=no ;; *) |
| 9030 cat > conftest.$ac_ext <<EOF | 9051 cat > conftest.$ac_ext <<EOF |
| 9031 #line 9032 "configure" | 9052 #line 9053 "configure" |
| 9032 #include "confdefs.h" | 9053 #include "confdefs.h" |
| 9033 #include <stdio.h> | 9054 #include <stdio.h> |
| 9034 #include <unistd.h> | 9055 #include <unistd.h> |
| 9035 #include <fcntl.h> | 9056 #include <fcntl.h> |
| 9036 #include <sys/mman.h> | 9057 #include <sys/mman.h> |
| 9059 return 0; | 9080 return 0; |
| 9060 perror ("conftest: mmap failed"); | 9081 perror ("conftest: mmap failed"); |
| 9061 return 1; | 9082 return 1; |
| 9062 } | 9083 } |
| 9063 EOF | 9084 EOF |
| 9064 if { (eval echo configure:9065: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 | 9085 if { (eval echo configure:9086: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 |
| 9065 then | 9086 then |
| 9066 have_mmap=yes | 9087 have_mmap=yes |
| 9067 else | 9088 else |
| 9068 echo "configure: failed program was:" >&5 | 9089 echo "configure: failed program was:" >&5 |
| 9069 cat conftest.$ac_ext >&5 | 9090 cat conftest.$ac_ext >&5 |
| 9093 } | 9114 } |
| 9094 | 9115 |
| 9095 | 9116 |
| 9096 ac_safe=`echo "termios.h" | sed 'y%./+-%__p_%'` | 9117 ac_safe=`echo "termios.h" | sed 'y%./+-%__p_%'` |
| 9097 echo $ac_n "checking for termios.h""... $ac_c" 1>&6 | 9118 echo $ac_n "checking for termios.h""... $ac_c" 1>&6 |
| 9098 echo "configure:9099: checking for termios.h" >&5 | 9119 echo "configure:9120: checking for termios.h" >&5 |
| 9099 | 9120 |
| 9100 cat > conftest.$ac_ext <<EOF | 9121 cat > conftest.$ac_ext <<EOF |
| 9101 #line 9102 "configure" | 9122 #line 9123 "configure" |
| 9102 #include "confdefs.h" | 9123 #include "confdefs.h" |
| 9103 #include <termios.h> | 9124 #include <termios.h> |
| 9104 EOF | 9125 EOF |
| 9105 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9126 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 9106 { (eval echo configure:9107: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9127 { (eval echo configure:9128: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 9107 ac_err=`grep -v '^ *+' conftest.out` | 9128 ac_err=`grep -v '^ *+' conftest.out` |
| 9108 if test -z "$ac_err"; then | 9129 if test -z "$ac_err"; then |
| 9109 rm -rf conftest* | 9130 rm -rf conftest* |
| 9110 eval "ac_cv_header_$ac_safe=yes" | 9131 eval "ac_cv_header_$ac_safe=yes" |
| 9111 else | 9132 else |
| 9144 | 9165 |
| 9145 else | 9166 else |
| 9146 echo "$ac_t""no" 1>&6 | 9167 echo "$ac_t""no" 1>&6 |
| 9147 ac_safe=`echo "termio.h" | sed 'y%./+-%__p_%'` | 9168 ac_safe=`echo "termio.h" | sed 'y%./+-%__p_%'` |
| 9148 echo $ac_n "checking for termio.h""... $ac_c" 1>&6 | 9169 echo $ac_n "checking for termio.h""... $ac_c" 1>&6 |
| 9149 echo "configure:9150: checking for termio.h" >&5 | 9170 echo "configure:9171: checking for termio.h" >&5 |
| 9150 | 9171 |
| 9151 cat > conftest.$ac_ext <<EOF | 9172 cat > conftest.$ac_ext <<EOF |
| 9152 #line 9153 "configure" | 9173 #line 9174 "configure" |
| 9153 #include "confdefs.h" | 9174 #include "confdefs.h" |
| 9154 #include <termio.h> | 9175 #include <termio.h> |
| 9155 EOF | 9176 EOF |
| 9156 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9177 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 9157 { (eval echo configure:9158: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9178 { (eval echo configure:9179: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 9158 ac_err=`grep -v '^ *+' conftest.out` | 9179 ac_err=`grep -v '^ *+' conftest.out` |
| 9159 if test -z "$ac_err"; then | 9180 if test -z "$ac_err"; then |
| 9160 rm -rf conftest* | 9181 rm -rf conftest* |
| 9161 eval "ac_cv_header_$ac_safe=yes" | 9182 eval "ac_cv_header_$ac_safe=yes" |
| 9162 else | 9183 else |
| 9184 fi | 9205 fi |
| 9185 | 9206 |
| 9186 | 9207 |
| 9187 | 9208 |
| 9188 echo $ac_n "checking for socket""... $ac_c" 1>&6 | 9209 echo $ac_n "checking for socket""... $ac_c" 1>&6 |
| 9189 echo "configure:9190: checking for socket" >&5 | 9210 echo "configure:9211: checking for socket" >&5 |
| 9190 | 9211 |
| 9191 cat > conftest.$ac_ext <<EOF | 9212 cat > conftest.$ac_ext <<EOF |
| 9192 #line 9193 "configure" | 9213 #line 9214 "configure" |
| 9193 #include "confdefs.h" | 9214 #include "confdefs.h" |
| 9194 /* System header to define __stub macros and hopefully few prototypes, | 9215 /* System header to define __stub macros and hopefully few prototypes, |
| 9195 which can conflict with char socket(); below. */ | 9216 which can conflict with char socket(); below. */ |
| 9196 #include <assert.h> | 9217 #include <assert.h> |
| 9197 /* Override any gcc2 internal prototype to avoid an error. */ | 9218 /* Override any gcc2 internal prototype to avoid an error. */ |
| 9210 socket(); | 9231 socket(); |
| 9211 #endif | 9232 #endif |
| 9212 | 9233 |
| 9213 ; return 0; } | 9234 ; return 0; } |
| 9214 EOF | 9235 EOF |
| 9215 if { (eval echo configure:9216: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 9236 if { (eval echo configure:9237: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 9216 rm -rf conftest* | 9237 rm -rf conftest* |
| 9217 eval "ac_cv_func_socket=yes" | 9238 eval "ac_cv_func_socket=yes" |
| 9218 else | 9239 else |
| 9219 echo "configure: failed program was:" >&5 | 9240 echo "configure: failed program was:" >&5 |
| 9220 cat conftest.$ac_ext >&5 | 9241 cat conftest.$ac_ext >&5 |
| 9225 | 9246 |
| 9226 if eval "test \"`echo '$ac_cv_func_'socket`\" = yes"; then | 9247 if eval "test \"`echo '$ac_cv_func_'socket`\" = yes"; then |
| 9227 echo "$ac_t""yes" 1>&6 | 9248 echo "$ac_t""yes" 1>&6 |
| 9228 ac_safe=`echo "netinet/in.h" | sed 'y%./+-%__p_%'` | 9249 ac_safe=`echo "netinet/in.h" | sed 'y%./+-%__p_%'` |
| 9229 echo $ac_n "checking for netinet/in.h""... $ac_c" 1>&6 | 9250 echo $ac_n "checking for netinet/in.h""... $ac_c" 1>&6 |
| 9230 echo "configure:9231: checking for netinet/in.h" >&5 | 9251 echo "configure:9252: checking for netinet/in.h" >&5 |
| 9231 | 9252 |
| 9232 cat > conftest.$ac_ext <<EOF | 9253 cat > conftest.$ac_ext <<EOF |
| 9233 #line 9234 "configure" | 9254 #line 9255 "configure" |
| 9234 #include "confdefs.h" | 9255 #include "confdefs.h" |
| 9235 #include <netinet/in.h> | 9256 #include <netinet/in.h> |
| 9236 EOF | 9257 EOF |
| 9237 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9258 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 9238 { (eval echo configure:9239: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9259 { (eval echo configure:9260: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 9239 ac_err=`grep -v '^ *+' conftest.out` | 9260 ac_err=`grep -v '^ *+' conftest.out` |
| 9240 if test -z "$ac_err"; then | 9261 if test -z "$ac_err"; then |
| 9241 rm -rf conftest* | 9262 rm -rf conftest* |
| 9242 eval "ac_cv_header_$ac_safe=yes" | 9263 eval "ac_cv_header_$ac_safe=yes" |
| 9243 else | 9264 else |
| 9250 rm -f conftest* | 9271 rm -f conftest* |
| 9251 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 9272 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
| 9252 echo "$ac_t""yes" 1>&6 | 9273 echo "$ac_t""yes" 1>&6 |
| 9253 ac_safe=`echo "arpa/inet.h" | sed 'y%./+-%__p_%'` | 9274 ac_safe=`echo "arpa/inet.h" | sed 'y%./+-%__p_%'` |
| 9254 echo $ac_n "checking for arpa/inet.h""... $ac_c" 1>&6 | 9275 echo $ac_n "checking for arpa/inet.h""... $ac_c" 1>&6 |
| 9255 echo "configure:9256: checking for arpa/inet.h" >&5 | 9276 echo "configure:9277: checking for arpa/inet.h" >&5 |
| 9256 | 9277 |
| 9257 cat > conftest.$ac_ext <<EOF | 9278 cat > conftest.$ac_ext <<EOF |
| 9258 #line 9259 "configure" | 9279 #line 9280 "configure" |
| 9259 #include "confdefs.h" | 9280 #include "confdefs.h" |
| 9260 #include <arpa/inet.h> | 9281 #include <arpa/inet.h> |
| 9261 EOF | 9282 EOF |
| 9262 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9283 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 9263 { (eval echo configure:9264: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9284 { (eval echo configure:9285: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 9264 ac_err=`grep -v '^ *+' conftest.out` | 9285 ac_err=`grep -v '^ *+' conftest.out` |
| 9265 if test -z "$ac_err"; then | 9286 if test -z "$ac_err"; then |
| 9266 rm -rf conftest* | 9287 rm -rf conftest* |
| 9267 eval "ac_cv_header_$ac_safe=yes" | 9288 eval "ac_cv_header_$ac_safe=yes" |
| 9268 else | 9289 else |
| 9283 #define HAVE_SOCKETS 1 | 9304 #define HAVE_SOCKETS 1 |
| 9284 EOF | 9305 EOF |
| 9285 } | 9306 } |
| 9286 | 9307 |
| 9287 echo $ac_n "checking "for sun_len member in struct sockaddr_un"""... $ac_c" 1>&6 | 9308 echo $ac_n "checking "for sun_len member in struct sockaddr_un"""... $ac_c" 1>&6 |
| 9288 echo "configure:9289: checking "for sun_len member in struct sockaddr_un"" >&5 | 9309 echo "configure:9310: checking "for sun_len member in struct sockaddr_un"" >&5 |
| 9289 cat > conftest.$ac_ext <<EOF | 9310 cat > conftest.$ac_ext <<EOF |
| 9290 #line 9291 "configure" | 9311 #line 9312 "configure" |
| 9291 #include "confdefs.h" | 9312 #include "confdefs.h" |
| 9292 | 9313 |
| 9293 #include <sys/types.h> | 9314 #include <sys/types.h> |
| 9294 #include <sys/socket.h> | 9315 #include <sys/socket.h> |
| 9295 #include <sys/un.h> | 9316 #include <sys/un.h> |
| 9296 | 9317 |
| 9297 int main() { | 9318 int main() { |
| 9298 static struct sockaddr_un x; x.sun_len = 1; | 9319 static struct sockaddr_un x; x.sun_len = 1; |
| 9299 ; return 0; } | 9320 ; return 0; } |
| 9300 EOF | 9321 EOF |
| 9301 if { (eval echo configure:9302: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 9322 if { (eval echo configure:9323: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 9302 rm -rf conftest* | 9323 rm -rf conftest* |
| 9303 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF | 9324 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF |
| 9304 Defining HAVE_SOCKADDR_SUN_LEN | 9325 Defining HAVE_SOCKADDR_SUN_LEN |
| 9305 EOF | 9326 EOF |
| 9306 cat >> confdefs.h <<\EOF | 9327 cat >> confdefs.h <<\EOF |
| 9314 rm -rf conftest* | 9335 rm -rf conftest* |
| 9315 echo "$ac_t""no" 1>&6 | 9336 echo "$ac_t""no" 1>&6 |
| 9316 fi | 9337 fi |
| 9317 rm -f conftest* | 9338 rm -f conftest* |
| 9318 echo $ac_n "checking "for ip_mreq struct in netinet/in.h"""... $ac_c" 1>&6 | 9339 echo $ac_n "checking "for ip_mreq struct in netinet/in.h"""... $ac_c" 1>&6 |
| 9319 echo "configure:9320: checking "for ip_mreq struct in netinet/in.h"" >&5 | 9340 echo "configure:9341: checking "for ip_mreq struct in netinet/in.h"" >&5 |
| 9320 cat > conftest.$ac_ext <<EOF | 9341 cat > conftest.$ac_ext <<EOF |
| 9321 #line 9322 "configure" | 9342 #line 9343 "configure" |
| 9322 #include "confdefs.h" | 9343 #include "confdefs.h" |
| 9323 | 9344 |
| 9324 #include <netinet/in.h> | 9345 #include <netinet/in.h> |
| 9325 | 9346 |
| 9326 int main() { | 9347 int main() { |
| 9327 static struct ip_mreq x; | 9348 static struct ip_mreq x; |
| 9328 ; return 0; } | 9349 ; return 0; } |
| 9329 EOF | 9350 EOF |
| 9330 if { (eval echo configure:9331: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 9351 if { (eval echo configure:9352: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 9331 rm -rf conftest* | 9352 rm -rf conftest* |
| 9332 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF | 9353 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF |
| 9333 Defining HAVE_MULTICAST | 9354 Defining HAVE_MULTICAST |
| 9334 EOF | 9355 EOF |
| 9335 cat >> confdefs.h <<\EOF | 9356 cat >> confdefs.h <<\EOF |
| 9356 echo "$ac_t""no" 1>&6 | 9377 echo "$ac_t""no" 1>&6 |
| 9357 fi | 9378 fi |
| 9358 | 9379 |
| 9359 | 9380 |
| 9360 echo $ac_n "checking for msgget""... $ac_c" 1>&6 | 9381 echo $ac_n "checking for msgget""... $ac_c" 1>&6 |
| 9361 echo "configure:9362: checking for msgget" >&5 | 9382 echo "configure:9383: checking for msgget" >&5 |
| 9362 | 9383 |
| 9363 cat > conftest.$ac_ext <<EOF | 9384 cat > conftest.$ac_ext <<EOF |
| 9364 #line 9365 "configure" | 9385 #line 9386 "configure" |
| 9365 #include "confdefs.h" | 9386 #include "confdefs.h" |
| 9366 /* System header to define __stub macros and hopefully few prototypes, | 9387 /* System header to define __stub macros and hopefully few prototypes, |
| 9367 which can conflict with char msgget(); below. */ | 9388 which can conflict with char msgget(); below. */ |
| 9368 #include <assert.h> | 9389 #include <assert.h> |
| 9369 /* Override any gcc2 internal prototype to avoid an error. */ | 9390 /* Override any gcc2 internal prototype to avoid an error. */ |
| 9382 msgget(); | 9403 msgget(); |
| 9383 #endif | 9404 #endif |
| 9384 | 9405 |
| 9385 ; return 0; } | 9406 ; return 0; } |
| 9386 EOF | 9407 EOF |
| 9387 if { (eval echo configure:9388: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 9408 if { (eval echo configure:9409: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 9388 rm -rf conftest* | 9409 rm -rf conftest* |
| 9389 eval "ac_cv_func_msgget=yes" | 9410 eval "ac_cv_func_msgget=yes" |
| 9390 else | 9411 else |
| 9391 echo "configure: failed program was:" >&5 | 9412 echo "configure: failed program was:" >&5 |
| 9392 cat conftest.$ac_ext >&5 | 9413 cat conftest.$ac_ext >&5 |
| 9397 | 9418 |
| 9398 if eval "test \"`echo '$ac_cv_func_'msgget`\" = yes"; then | 9419 if eval "test \"`echo '$ac_cv_func_'msgget`\" = yes"; then |
| 9399 echo "$ac_t""yes" 1>&6 | 9420 echo "$ac_t""yes" 1>&6 |
| 9400 ac_safe=`echo "sys/ipc.h" | sed 'y%./+-%__p_%'` | 9421 ac_safe=`echo "sys/ipc.h" | sed 'y%./+-%__p_%'` |
| 9401 echo $ac_n "checking for sys/ipc.h""... $ac_c" 1>&6 | 9422 echo $ac_n "checking for sys/ipc.h""... $ac_c" 1>&6 |
| 9402 echo "configure:9403: checking for sys/ipc.h" >&5 | 9423 echo "configure:9424: checking for sys/ipc.h" >&5 |
| 9403 | 9424 |
| 9404 cat > conftest.$ac_ext <<EOF | 9425 cat > conftest.$ac_ext <<EOF |
| 9405 #line 9406 "configure" | 9426 #line 9427 "configure" |
| 9406 #include "confdefs.h" | 9427 #include "confdefs.h" |
| 9407 #include <sys/ipc.h> | 9428 #include <sys/ipc.h> |
| 9408 EOF | 9429 EOF |
| 9409 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9430 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 9410 { (eval echo configure:9411: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9431 { (eval echo configure:9432: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 9411 ac_err=`grep -v '^ *+' conftest.out` | 9432 ac_err=`grep -v '^ *+' conftest.out` |
| 9412 if test -z "$ac_err"; then | 9433 if test -z "$ac_err"; then |
| 9413 rm -rf conftest* | 9434 rm -rf conftest* |
| 9414 eval "ac_cv_header_$ac_safe=yes" | 9435 eval "ac_cv_header_$ac_safe=yes" |
| 9415 else | 9436 else |
| 9422 rm -f conftest* | 9443 rm -f conftest* |
| 9423 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 9444 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
| 9424 echo "$ac_t""yes" 1>&6 | 9445 echo "$ac_t""yes" 1>&6 |
| 9425 ac_safe=`echo "sys/msg.h" | sed 'y%./+-%__p_%'` | 9446 ac_safe=`echo "sys/msg.h" | sed 'y%./+-%__p_%'` |
| 9426 echo $ac_n "checking for sys/msg.h""... $ac_c" 1>&6 | 9447 echo $ac_n "checking for sys/msg.h""... $ac_c" 1>&6 |
| 9427 echo "configure:9428: checking for sys/msg.h" >&5 | 9448 echo "configure:9449: checking for sys/msg.h" >&5 |
| 9428 | 9449 |
| 9429 cat > conftest.$ac_ext <<EOF | 9450 cat > conftest.$ac_ext <<EOF |
| 9430 #line 9431 "configure" | 9451 #line 9452 "configure" |
| 9431 #include "confdefs.h" | 9452 #include "confdefs.h" |
| 9432 #include <sys/msg.h> | 9453 #include <sys/msg.h> |
| 9433 EOF | 9454 EOF |
| 9434 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9455 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 9435 { (eval echo configure:9436: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9456 { (eval echo configure:9457: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 9436 ac_err=`grep -v '^ *+' conftest.out` | 9457 ac_err=`grep -v '^ *+' conftest.out` |
| 9437 if test -z "$ac_err"; then | 9458 if test -z "$ac_err"; then |
| 9438 rm -rf conftest* | 9459 rm -rf conftest* |
| 9439 eval "ac_cv_header_$ac_safe=yes" | 9460 eval "ac_cv_header_$ac_safe=yes" |
| 9440 else | 9461 else |
| 9468 fi | 9489 fi |
| 9469 | 9490 |
| 9470 | 9491 |
| 9471 ac_safe=`echo "dirent.h" | sed 'y%./+-%__p_%'` | 9492 ac_safe=`echo "dirent.h" | sed 'y%./+-%__p_%'` |
| 9472 echo $ac_n "checking for dirent.h""... $ac_c" 1>&6 | 9493 echo $ac_n "checking for dirent.h""... $ac_c" 1>&6 |
| 9473 echo "configure:9474: checking for dirent.h" >&5 | 9494 echo "configure:9495: checking for dirent.h" >&5 |
| 9474 | 9495 |
| 9475 cat > conftest.$ac_ext <<EOF | 9496 cat > conftest.$ac_ext <<EOF |
| 9476 #line 9477 "configure" | 9497 #line 9498 "configure" |
| 9477 #include "confdefs.h" | 9498 #include "confdefs.h" |
| 9478 #include <dirent.h> | 9499 #include <dirent.h> |
| 9479 EOF | 9500 EOF |
| 9480 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9501 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 9481 { (eval echo configure:9482: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9502 { (eval echo configure:9503: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 9482 ac_err=`grep -v '^ *+' conftest.out` | 9503 ac_err=`grep -v '^ *+' conftest.out` |
| 9483 if test -z "$ac_err"; then | 9504 if test -z "$ac_err"; then |
| 9484 rm -rf conftest* | 9505 rm -rf conftest* |
| 9485 eval "ac_cv_header_$ac_safe=yes" | 9506 eval "ac_cv_header_$ac_safe=yes" |
| 9486 else | 9507 else |
| 9503 | 9524 |
| 9504 else | 9525 else |
| 9505 echo "$ac_t""no" 1>&6 | 9526 echo "$ac_t""no" 1>&6 |
| 9506 ac_safe=`echo "sys/dir.h" | sed 'y%./+-%__p_%'` | 9527 ac_safe=`echo "sys/dir.h" | sed 'y%./+-%__p_%'` |
| 9507 echo $ac_n "checking for sys/dir.h""... $ac_c" 1>&6 | 9528 echo $ac_n "checking for sys/dir.h""... $ac_c" 1>&6 |
| 9508 echo "configure:9509: checking for sys/dir.h" >&5 | 9529 echo "configure:9530: checking for sys/dir.h" >&5 |
| 9509 | 9530 |
| 9510 cat > conftest.$ac_ext <<EOF | 9531 cat > conftest.$ac_ext <<EOF |
| 9511 #line 9512 "configure" | 9532 #line 9533 "configure" |
| 9512 #include "confdefs.h" | 9533 #include "confdefs.h" |
| 9513 #include <sys/dir.h> | 9534 #include <sys/dir.h> |
| 9514 EOF | 9535 EOF |
| 9515 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9536 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 9516 { (eval echo configure:9517: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9537 { (eval echo configure:9538: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 9517 ac_err=`grep -v '^ *+' conftest.out` | 9538 ac_err=`grep -v '^ *+' conftest.out` |
| 9518 if test -z "$ac_err"; then | 9539 if test -z "$ac_err"; then |
| 9519 rm -rf conftest* | 9540 rm -rf conftest* |
| 9520 eval "ac_cv_header_$ac_safe=yes" | 9541 eval "ac_cv_header_$ac_safe=yes" |
| 9521 else | 9542 else |
| 9544 fi | 9565 fi |
| 9545 | 9566 |
| 9546 | 9567 |
| 9547 ac_safe=`echo "nlist.h" | sed 'y%./+-%__p_%'` | 9568 ac_safe=`echo "nlist.h" | sed 'y%./+-%__p_%'` |
| 9548 echo $ac_n "checking for nlist.h""... $ac_c" 1>&6 | 9569 echo $ac_n "checking for nlist.h""... $ac_c" 1>&6 |
| 9549 echo "configure:9550: checking for nlist.h" >&5 | 9570 echo "configure:9571: checking for nlist.h" >&5 |
| 9550 | 9571 |
| 9551 cat > conftest.$ac_ext <<EOF | 9572 cat > conftest.$ac_ext <<EOF |
| 9552 #line 9553 "configure" | 9573 #line 9574 "configure" |
| 9553 #include "confdefs.h" | 9574 #include "confdefs.h" |
| 9554 #include <nlist.h> | 9575 #include <nlist.h> |
| 9555 EOF | 9576 EOF |
| 9556 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9577 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 9557 { (eval echo configure:9558: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9578 { (eval echo configure:9579: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 9558 ac_err=`grep -v '^ *+' conftest.out` | 9579 ac_err=`grep -v '^ *+' conftest.out` |
| 9559 if test -z "$ac_err"; then | 9580 if test -z "$ac_err"; then |
| 9560 rm -rf conftest* | 9581 rm -rf conftest* |
| 9561 eval "ac_cv_header_$ac_safe=yes" | 9582 eval "ac_cv_header_$ac_safe=yes" |
| 9562 else | 9583 else |
| 9582 fi | 9603 fi |
| 9583 | 9604 |
| 9584 | 9605 |
| 9585 | 9606 |
| 9586 echo "checking "for sound support"" 1>&6 | 9607 echo "checking "for sound support"" 1>&6 |
| 9587 echo "configure:9588: checking "for sound support"" >&5 | 9608 echo "configure:9609: checking "for sound support"" >&5 |
| 9588 case "$with_sound" in | 9609 case "$with_sound" in |
| 9589 native | both ) with_native_sound=yes;; | 9610 native | both ) with_native_sound=yes;; |
| 9590 nas | no ) with_native_sound=no;; | 9611 nas | no ) with_native_sound=no;; |
| 9591 esac | 9612 esac |
| 9592 test -z "$with_native_sound" -a -n "$native_sound_lib" && with_native_sound=yes | 9613 test -z "$with_native_sound" -a -n "$native_sound_lib" && with_native_sound=yes |
| 9593 | 9614 |
| 9594 if test "$with_native_sound" != "no"; then | 9615 if test "$with_native_sound" != "no"; then |
| 9595 if test -n "$native_sound_lib"; then | 9616 if test -n "$native_sound_lib"; then |
| 9596 ac_safe=`echo "multimedia/audio_device.h" | sed 'y%./+-%__p_%'` | 9617 ac_safe=`echo "multimedia/audio_device.h" | sed 'y%./+-%__p_%'` |
| 9597 echo $ac_n "checking for multimedia/audio_device.h""... $ac_c" 1>&6 | 9618 echo $ac_n "checking for multimedia/audio_device.h""... $ac_c" 1>&6 |
| 9598 echo "configure:9599: checking for multimedia/audio_device.h" >&5 | 9619 echo "configure:9620: checking for multimedia/audio_device.h" >&5 |
| 9599 | 9620 |
| 9600 cat > conftest.$ac_ext <<EOF | 9621 cat > conftest.$ac_ext <<EOF |
| 9601 #line 9602 "configure" | 9622 #line 9623 "configure" |
| 9602 #include "confdefs.h" | 9623 #include "confdefs.h" |
| 9603 #include <multimedia/audio_device.h> | 9624 #include <multimedia/audio_device.h> |
| 9604 EOF | 9625 EOF |
| 9605 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9626 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 9606 { (eval echo configure:9607: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9627 { (eval echo configure:9628: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 9607 ac_err=`grep -v '^ *+' conftest.out` | 9628 ac_err=`grep -v '^ *+' conftest.out` |
| 9608 if test -z "$ac_err"; then | 9629 if test -z "$ac_err"; then |
| 9609 rm -rf conftest* | 9630 rm -rf conftest* |
| 9610 eval "ac_cv_header_$ac_safe=yes" | 9631 eval "ac_cv_header_$ac_safe=yes" |
| 9611 else | 9632 else |
| 9649 case "$canonical" in | 9670 case "$canonical" in |
| 9650 *-sgi-* ) | 9671 *-sgi-* ) |
| 9651 if test -z "$native_sound_lib"; then | 9672 if test -z "$native_sound_lib"; then |
| 9652 | 9673 |
| 9653 echo $ac_n "checking for ALopenport in -laudio""... $ac_c" 1>&6 | 9674 echo $ac_n "checking for ALopenport in -laudio""... $ac_c" 1>&6 |
| 9654 echo "configure:9655: checking for ALopenport in -laudio" >&5 | 9675 echo "configure:9676: checking for ALopenport in -laudio" >&5 |
| 9655 ac_lib_var=`echo audio'_'ALopenport | sed 'y%./+-%__p_%'` | 9676 ac_lib_var=`echo audio'_'ALopenport | sed 'y%./+-%__p_%'` |
| 9656 | 9677 |
| 9657 xe_check_libs=" -laudio " | 9678 xe_check_libs=" -laudio " |
| 9658 cat > conftest.$ac_ext <<EOF | 9679 cat > conftest.$ac_ext <<EOF |
| 9659 #line 9660 "configure" | 9680 #line 9681 "configure" |
| 9660 #include "confdefs.h" | 9681 #include "confdefs.h" |
| 9661 /* Override any gcc2 internal prototype to avoid an error. */ | 9682 /* Override any gcc2 internal prototype to avoid an error. */ |
| 9662 /* We use char because int might match the return type of a gcc2 | 9683 /* We use char because int might match the return type of a gcc2 |
| 9663 builtin and then its argument prototype would still apply. */ | 9684 builtin and then its argument prototype would still apply. */ |
| 9664 char ALopenport(); | 9685 char ALopenport(); |
| 9665 | 9686 |
| 9666 int main() { | 9687 int main() { |
| 9667 ALopenport() | 9688 ALopenport() |
| 9668 ; return 0; } | 9689 ; return 0; } |
| 9669 EOF | 9690 EOF |
| 9670 if { (eval echo configure:9671: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 9691 if { (eval echo configure:9692: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 9671 rm -rf conftest* | 9692 rm -rf conftest* |
| 9672 eval "ac_cv_lib_$ac_lib_var=yes" | 9693 eval "ac_cv_lib_$ac_lib_var=yes" |
| 9673 else | 9694 else |
| 9674 echo "configure: failed program was:" >&5 | 9695 echo "configure: failed program was:" >&5 |
| 9675 cat conftest.$ac_ext >&5 | 9696 cat conftest.$ac_ext >&5 |
| 9696 fi ;; | 9717 fi ;; |
| 9697 hppa*-hp-hpux* ) | 9718 hppa*-hp-hpux* ) |
| 9698 if test -z "$native_sound_lib"; then | 9719 if test -z "$native_sound_lib"; then |
| 9699 | 9720 |
| 9700 echo $ac_n "checking for AOpenAudio in -lAlib""... $ac_c" 1>&6 | 9721 echo $ac_n "checking for AOpenAudio in -lAlib""... $ac_c" 1>&6 |
| 9701 echo "configure:9702: checking for AOpenAudio in -lAlib" >&5 | 9722 echo "configure:9723: checking for AOpenAudio in -lAlib" >&5 |
| 9702 ac_lib_var=`echo Alib'_'AOpenAudio | sed 'y%./+-%__p_%'` | 9723 ac_lib_var=`echo Alib'_'AOpenAudio | sed 'y%./+-%__p_%'` |
| 9703 | 9724 |
| 9704 xe_check_libs=" -lAlib " | 9725 xe_check_libs=" -lAlib " |
| 9705 cat > conftest.$ac_ext <<EOF | 9726 cat > conftest.$ac_ext <<EOF |
| 9706 #line 9707 "configure" | 9727 #line 9728 "configure" |
| 9707 #include "confdefs.h" | 9728 #include "confdefs.h" |
| 9708 /* Override any gcc2 internal prototype to avoid an error. */ | 9729 /* Override any gcc2 internal prototype to avoid an error. */ |
| 9709 /* We use char because int might match the return type of a gcc2 | 9730 /* We use char because int might match the return type of a gcc2 |
| 9710 builtin and then its argument prototype would still apply. */ | 9731 builtin and then its argument prototype would still apply. */ |
| 9711 char AOpenAudio(); | 9732 char AOpenAudio(); |
| 9712 | 9733 |
| 9713 int main() { | 9734 int main() { |
| 9714 AOpenAudio() | 9735 AOpenAudio() |
| 9715 ; return 0; } | 9736 ; return 0; } |
| 9716 EOF | 9737 EOF |
| 9717 if { (eval echo configure:9718: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 9738 if { (eval echo configure:9739: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 9718 rm -rf conftest* | 9739 rm -rf conftest* |
| 9719 eval "ac_cv_lib_$ac_lib_var=yes" | 9740 eval "ac_cv_lib_$ac_lib_var=yes" |
| 9720 else | 9741 else |
| 9721 echo "configure: failed program was:" >&5 | 9742 echo "configure: failed program was:" >&5 |
| 9722 cat conftest.$ac_ext >&5 | 9743 cat conftest.$ac_ext >&5 |
| 9750 | 9771 |
| 9751 if test -z "$sound_found"; then | 9772 if test -z "$sound_found"; then |
| 9752 for dir in "machine" "sys" "linux"; do | 9773 for dir in "machine" "sys" "linux"; do |
| 9753 ac_safe=`echo "${dir}/soundcard.h" | sed 'y%./+-%__p_%'` | 9774 ac_safe=`echo "${dir}/soundcard.h" | sed 'y%./+-%__p_%'` |
| 9754 echo $ac_n "checking for ${dir}/soundcard.h""... $ac_c" 1>&6 | 9775 echo $ac_n "checking for ${dir}/soundcard.h""... $ac_c" 1>&6 |
| 9755 echo "configure:9756: checking for ${dir}/soundcard.h" >&5 | 9776 echo "configure:9777: checking for ${dir}/soundcard.h" >&5 |
| 9756 | 9777 |
| 9757 cat > conftest.$ac_ext <<EOF | 9778 cat > conftest.$ac_ext <<EOF |
| 9758 #line 9759 "configure" | 9779 #line 9780 "configure" |
| 9759 #include "confdefs.h" | 9780 #include "confdefs.h" |
| 9760 #include <${dir}/soundcard.h> | 9781 #include <${dir}/soundcard.h> |
| 9761 EOF | 9782 EOF |
| 9762 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9783 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 9763 { (eval echo configure:9764: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9784 { (eval echo configure:9785: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 9764 ac_err=`grep -v '^ *+' conftest.out` | 9785 ac_err=`grep -v '^ *+' conftest.out` |
| 9765 if test -z "$ac_err"; then | 9786 if test -z "$ac_err"; then |
| 9766 rm -rf conftest* | 9787 rm -rf conftest* |
| 9767 eval "ac_cv_header_$ac_safe=yes" | 9788 eval "ac_cv_header_$ac_safe=yes" |
| 9768 else | 9789 else |
| 9828 extra_objs="$extra_objs nas.o" && if test "$extra_verbose" = "yes"; then | 9849 extra_objs="$extra_objs nas.o" && if test "$extra_verbose" = "yes"; then |
| 9829 echo " xemacs will be linked with \"nas.o\"" | 9850 echo " xemacs will be linked with \"nas.o\"" |
| 9830 fi | 9851 fi |
| 9831 libs_x="-laudio $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-laudio\" to \$libs_x"; fi | 9852 libs_x="-laudio $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-laudio\" to \$libs_x"; fi |
| 9832 cat > conftest.$ac_ext <<EOF | 9853 cat > conftest.$ac_ext <<EOF |
| 9833 #line 9834 "configure" | 9854 #line 9855 "configure" |
| 9834 #include "confdefs.h" | 9855 #include "confdefs.h" |
| 9835 #include <audio/Xtutil.h> | 9856 #include <audio/Xtutil.h> |
| 9836 EOF | 9857 EOF |
| 9837 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 9858 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
| 9838 egrep "AuXtErrorJump" >/dev/null 2>&1; then | 9859 egrep "AuXtErrorJump" >/dev/null 2>&1; then |
| 9855 | 9876 |
| 9856 test -z "$with_tty" && with_tty=yes | 9877 test -z "$with_tty" && with_tty=yes |
| 9857 | 9878 |
| 9858 if test "$with_tty" = "yes" ; then | 9879 if test "$with_tty" = "yes" ; then |
| 9859 echo "checking for TTY-related features" 1>&6 | 9880 echo "checking for TTY-related features" 1>&6 |
| 9860 echo "configure:9861: checking for TTY-related features" >&5 | 9881 echo "configure:9882: checking for TTY-related features" >&5 |
| 9861 { test "$extra_verbose" = "yes" && cat << \EOF | 9882 { test "$extra_verbose" = "yes" && cat << \EOF |
| 9862 Defining HAVE_TTY | 9883 Defining HAVE_TTY |
| 9863 EOF | 9884 EOF |
| 9864 cat >> confdefs.h <<\EOF | 9885 cat >> confdefs.h <<\EOF |
| 9865 #define HAVE_TTY 1 | 9886 #define HAVE_TTY 1 |
| 9871 fi | 9892 fi |
| 9872 | 9893 |
| 9873 if test -z "$with_ncurses"; then | 9894 if test -z "$with_ncurses"; then |
| 9874 | 9895 |
| 9875 echo $ac_n "checking for tgetent in -lncurses""... $ac_c" 1>&6 | 9896 echo $ac_n "checking for tgetent in -lncurses""... $ac_c" 1>&6 |
| 9876 echo "configure:9877: checking for tgetent in -lncurses" >&5 | 9897 echo "configure:9898: checking for tgetent in -lncurses" >&5 |
| 9877 ac_lib_var=`echo ncurses'_'tgetent | sed 'y%./+-%__p_%'` | 9898 ac_lib_var=`echo ncurses'_'tgetent | sed 'y%./+-%__p_%'` |
| 9878 | 9899 |
| 9879 xe_check_libs=" -lncurses " | 9900 xe_check_libs=" -lncurses " |
| 9880 cat > conftest.$ac_ext <<EOF | 9901 cat > conftest.$ac_ext <<EOF |
| 9881 #line 9882 "configure" | 9902 #line 9903 "configure" |
| 9882 #include "confdefs.h" | 9903 #include "confdefs.h" |
| 9883 /* Override any gcc2 internal prototype to avoid an error. */ | 9904 /* Override any gcc2 internal prototype to avoid an error. */ |
| 9884 /* We use char because int might match the return type of a gcc2 | 9905 /* We use char because int might match the return type of a gcc2 |
| 9885 builtin and then its argument prototype would still apply. */ | 9906 builtin and then its argument prototype would still apply. */ |
| 9886 char tgetent(); | 9907 char tgetent(); |
| 9887 | 9908 |
| 9888 int main() { | 9909 int main() { |
| 9889 tgetent() | 9910 tgetent() |
| 9890 ; return 0; } | 9911 ; return 0; } |
| 9891 EOF | 9912 EOF |
| 9892 if { (eval echo configure:9893: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 9913 if { (eval echo configure:9914: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 9893 rm -rf conftest* | 9914 rm -rf conftest* |
| 9894 eval "ac_cv_lib_$ac_lib_var=yes" | 9915 eval "ac_cv_lib_$ac_lib_var=yes" |
| 9895 else | 9916 else |
| 9896 echo "configure: failed program was:" >&5 | 9917 echo "configure: failed program was:" >&5 |
| 9897 cat conftest.$ac_ext >&5 | 9918 cat conftest.$ac_ext >&5 |
| 9920 EOF | 9941 EOF |
| 9921 } | 9942 } |
| 9922 | 9943 |
| 9923 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` | 9944 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` |
| 9924 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 | 9945 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 |
| 9925 echo "configure:9926: checking for ncurses/curses.h" >&5 | 9946 echo "configure:9947: checking for ncurses/curses.h" >&5 |
| 9926 | 9947 |
| 9927 cat > conftest.$ac_ext <<EOF | 9948 cat > conftest.$ac_ext <<EOF |
| 9928 #line 9929 "configure" | 9949 #line 9950 "configure" |
| 9929 #include "confdefs.h" | 9950 #include "confdefs.h" |
| 9930 #include <ncurses/curses.h> | 9951 #include <ncurses/curses.h> |
| 9931 EOF | 9952 EOF |
| 9932 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9953 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 9933 { (eval echo configure:9934: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9954 { (eval echo configure:9955: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 9934 ac_err=`grep -v '^ *+' conftest.out` | 9955 ac_err=`grep -v '^ *+' conftest.out` |
| 9935 if test -z "$ac_err"; then | 9956 if test -z "$ac_err"; then |
| 9936 rm -rf conftest* | 9957 rm -rf conftest* |
| 9937 eval "ac_cv_header_$ac_safe=yes" | 9958 eval "ac_cv_header_$ac_safe=yes" |
| 9938 else | 9959 else |
| 9950 echo "$ac_t""no" 1>&6 | 9971 echo "$ac_t""no" 1>&6 |
| 9951 fi | 9972 fi |
| 9952 | 9973 |
| 9953 ac_safe=`echo "ncurses/term.h" | sed 'y%./+-%__p_%'` | 9974 ac_safe=`echo "ncurses/term.h" | sed 'y%./+-%__p_%'` |
| 9954 echo $ac_n "checking for ncurses/term.h""... $ac_c" 1>&6 | 9975 echo $ac_n "checking for ncurses/term.h""... $ac_c" 1>&6 |
| 9955 echo "configure:9956: checking for ncurses/term.h" >&5 | 9976 echo "configure:9977: checking for ncurses/term.h" >&5 |
| 9956 | 9977 |
| 9957 cat > conftest.$ac_ext <<EOF | 9978 cat > conftest.$ac_ext <<EOF |
| 9958 #line 9959 "configure" | 9979 #line 9980 "configure" |
| 9959 #include "confdefs.h" | 9980 #include "confdefs.h" |
| 9960 #include <ncurses/term.h> | 9981 #include <ncurses/term.h> |
| 9961 EOF | 9982 EOF |
| 9962 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9983 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 9963 { (eval echo configure:9964: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9984 { (eval echo configure:9985: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 9964 ac_err=`grep -v '^ *+' conftest.out` | 9985 ac_err=`grep -v '^ *+' conftest.out` |
| 9965 if test -z "$ac_err"; then | 9986 if test -z "$ac_err"; then |
| 9966 rm -rf conftest* | 9987 rm -rf conftest* |
| 9967 eval "ac_cv_header_$ac_safe=yes" | 9988 eval "ac_cv_header_$ac_safe=yes" |
| 9968 else | 9989 else |
| 9988 if test "$ac_cv_header_ncurses_curses_h" != "yes" ; then | 10009 if test "$ac_cv_header_ncurses_curses_h" != "yes" ; then |
| 9989 save_c_switch_site="$c_switch_site" | 10010 save_c_switch_site="$c_switch_site" |
| 9990 c_switch_site="$c_switch_site -I/usr/include/ncurses" | 10011 c_switch_site="$c_switch_site -I/usr/include/ncurses" |
| 9991 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` | 10012 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` |
| 9992 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 | 10013 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 |
| 9993 echo "configure:9994: checking for ncurses/curses.h" >&5 | 10014 echo "configure:10015: checking for ncurses/curses.h" >&5 |
| 9994 | 10015 |
| 9995 cat > conftest.$ac_ext <<EOF | 10016 cat > conftest.$ac_ext <<EOF |
| 9996 #line 9997 "configure" | 10017 #line 10018 "configure" |
| 9997 #include "confdefs.h" | 10018 #include "confdefs.h" |
| 9998 #include <ncurses/curses.h> | 10019 #include <ncurses/curses.h> |
| 9999 EOF | 10020 EOF |
| 10000 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10021 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 10001 { (eval echo configure:10002: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10022 { (eval echo configure:10023: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 10002 ac_err=`grep -v '^ *+' conftest.out` | 10023 ac_err=`grep -v '^ *+' conftest.out` |
| 10003 if test -z "$ac_err"; then | 10024 if test -z "$ac_err"; then |
| 10004 rm -rf conftest* | 10025 rm -rf conftest* |
| 10005 eval "ac_cv_header_$ac_safe=yes" | 10026 eval "ac_cv_header_$ac_safe=yes" |
| 10006 else | 10027 else |
| 10031 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi | 10052 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi |
| 10032 else | 10053 else |
| 10033 for lib in curses termlib termcap; do | 10054 for lib in curses termlib termcap; do |
| 10034 | 10055 |
| 10035 echo $ac_n "checking for tgetent in -l$lib""... $ac_c" 1>&6 | 10056 echo $ac_n "checking for tgetent in -l$lib""... $ac_c" 1>&6 |
| 10036 echo "configure:10037: checking for tgetent in -l$lib" >&5 | 10057 echo "configure:10058: checking for tgetent in -l$lib" >&5 |
| 10037 ac_lib_var=`echo $lib'_'tgetent | sed 'y%./+-%__p_%'` | 10058 ac_lib_var=`echo $lib'_'tgetent | sed 'y%./+-%__p_%'` |
| 10038 | 10059 |
| 10039 xe_check_libs=" -l$lib " | 10060 xe_check_libs=" -l$lib " |
| 10040 cat > conftest.$ac_ext <<EOF | 10061 cat > conftest.$ac_ext <<EOF |
| 10041 #line 10042 "configure" | 10062 #line 10063 "configure" |
| 10042 #include "confdefs.h" | 10063 #include "confdefs.h" |
| 10043 /* Override any gcc2 internal prototype to avoid an error. */ | 10064 /* Override any gcc2 internal prototype to avoid an error. */ |
| 10044 /* We use char because int might match the return type of a gcc2 | 10065 /* We use char because int might match the return type of a gcc2 |
| 10045 builtin and then its argument prototype would still apply. */ | 10066 builtin and then its argument prototype would still apply. */ |
| 10046 char tgetent(); | 10067 char tgetent(); |
| 10047 | 10068 |
| 10048 int main() { | 10069 int main() { |
| 10049 tgetent() | 10070 tgetent() |
| 10050 ; return 0; } | 10071 ; return 0; } |
| 10051 EOF | 10072 EOF |
| 10052 if { (eval echo configure:10053: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 10073 if { (eval echo configure:10074: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 10053 rm -rf conftest* | 10074 rm -rf conftest* |
| 10054 eval "ac_cv_lib_$ac_lib_var=yes" | 10075 eval "ac_cv_lib_$ac_lib_var=yes" |
| 10055 else | 10076 else |
| 10056 echo "configure: failed program was:" >&5 | 10077 echo "configure: failed program was:" >&5 |
| 10057 cat conftest.$ac_ext >&5 | 10078 cat conftest.$ac_ext >&5 |
| 10078 if test -n "$libs_termcap"; then | 10099 if test -n "$libs_termcap"; then |
| 10079 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi | 10100 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi |
| 10080 else | 10101 else |
| 10081 | 10102 |
| 10082 echo $ac_n "checking for tgetent in -lcurses""... $ac_c" 1>&6 | 10103 echo $ac_n "checking for tgetent in -lcurses""... $ac_c" 1>&6 |
| 10083 echo "configure:10084: checking for tgetent in -lcurses" >&5 | 10104 echo "configure:10105: checking for tgetent in -lcurses" >&5 |
| 10084 ac_lib_var=`echo curses'_'tgetent | sed 'y%./+-%__p_%'` | 10105 ac_lib_var=`echo curses'_'tgetent | sed 'y%./+-%__p_%'` |
| 10085 | 10106 |
| 10086 xe_check_libs=" -lcurses " | 10107 xe_check_libs=" -lcurses " |
| 10087 cat > conftest.$ac_ext <<EOF | 10108 cat > conftest.$ac_ext <<EOF |
| 10088 #line 10089 "configure" | 10109 #line 10110 "configure" |
| 10089 #include "confdefs.h" | 10110 #include "confdefs.h" |
| 10090 /* Override any gcc2 internal prototype to avoid an error. */ | 10111 /* Override any gcc2 internal prototype to avoid an error. */ |
| 10091 /* We use char because int might match the return type of a gcc2 | 10112 /* We use char because int might match the return type of a gcc2 |
| 10092 builtin and then its argument prototype would still apply. */ | 10113 builtin and then its argument prototype would still apply. */ |
| 10093 char tgetent(); | 10114 char tgetent(); |
| 10094 | 10115 |
| 10095 int main() { | 10116 int main() { |
| 10096 tgetent() | 10117 tgetent() |
| 10097 ; return 0; } | 10118 ; return 0; } |
| 10098 EOF | 10119 EOF |
| 10099 if { (eval echo configure:10100: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 10120 if { (eval echo configure:10121: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 10100 rm -rf conftest* | 10121 rm -rf conftest* |
| 10101 eval "ac_cv_lib_$ac_lib_var=yes" | 10122 eval "ac_cv_lib_$ac_lib_var=yes" |
| 10102 else | 10123 else |
| 10103 echo "configure: failed program was:" >&5 | 10124 echo "configure: failed program was:" >&5 |
| 10104 cat conftest.$ac_ext >&5 | 10125 cat conftest.$ac_ext >&5 |
| 10112 echo "$ac_t""yes" 1>&6 | 10133 echo "$ac_t""yes" 1>&6 |
| 10113 LIBS="-lcurses $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lcurses\" to \$LIBS"; fi | 10134 LIBS="-lcurses $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lcurses\" to \$LIBS"; fi |
| 10114 else | 10135 else |
| 10115 echo "$ac_t""no" 1>&6 | 10136 echo "$ac_t""no" 1>&6 |
| 10116 echo $ac_n "checking for tgetent in -ltermcap""... $ac_c" 1>&6 | 10137 echo $ac_n "checking for tgetent in -ltermcap""... $ac_c" 1>&6 |
| 10117 echo "configure:10118: checking for tgetent in -ltermcap" >&5 | 10138 echo "configure:10139: checking for tgetent in -ltermcap" >&5 |
| 10118 ac_lib_var=`echo termcap'_'tgetent | sed 'y%./+-%__p_%'` | 10139 ac_lib_var=`echo termcap'_'tgetent | sed 'y%./+-%__p_%'` |
| 10119 | 10140 |
| 10120 xe_check_libs=" -ltermcap " | 10141 xe_check_libs=" -ltermcap " |
| 10121 cat > conftest.$ac_ext <<EOF | 10142 cat > conftest.$ac_ext <<EOF |
| 10122 #line 10123 "configure" | 10143 #line 10144 "configure" |
| 10123 #include "confdefs.h" | 10144 #include "confdefs.h" |
| 10124 /* Override any gcc2 internal prototype to avoid an error. */ | 10145 /* Override any gcc2 internal prototype to avoid an error. */ |
| 10125 /* We use char because int might match the return type of a gcc2 | 10146 /* We use char because int might match the return type of a gcc2 |
| 10126 builtin and then its argument prototype would still apply. */ | 10147 builtin and then its argument prototype would still apply. */ |
| 10127 char tgetent(); | 10148 char tgetent(); |
| 10128 | 10149 |
| 10129 int main() { | 10150 int main() { |
| 10130 tgetent() | 10151 tgetent() |
| 10131 ; return 0; } | 10152 ; return 0; } |
| 10132 EOF | 10153 EOF |
| 10133 if { (eval echo configure:10134: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 10154 if { (eval echo configure:10155: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 10134 rm -rf conftest* | 10155 rm -rf conftest* |
| 10135 eval "ac_cv_lib_$ac_lib_var=yes" | 10156 eval "ac_cv_lib_$ac_lib_var=yes" |
| 10136 else | 10157 else |
| 10137 echo "configure: failed program was:" >&5 | 10158 echo "configure: failed program was:" >&5 |
| 10138 cat conftest.$ac_ext >&5 | 10159 cat conftest.$ac_ext >&5 |
| 10176 } | 10197 } |
| 10177 | 10198 |
| 10178 | 10199 |
| 10179 test -z "$with_gpm" && { ac_safe=`echo "gpm.h" | sed 'y%./+-%__p_%'` | 10200 test -z "$with_gpm" && { ac_safe=`echo "gpm.h" | sed 'y%./+-%__p_%'` |
| 10180 echo $ac_n "checking for gpm.h""... $ac_c" 1>&6 | 10201 echo $ac_n "checking for gpm.h""... $ac_c" 1>&6 |
| 10181 echo "configure:10182: checking for gpm.h" >&5 | 10202 echo "configure:10203: checking for gpm.h" >&5 |
| 10182 | 10203 |
| 10183 cat > conftest.$ac_ext <<EOF | 10204 cat > conftest.$ac_ext <<EOF |
| 10184 #line 10185 "configure" | 10205 #line 10206 "configure" |
| 10185 #include "confdefs.h" | 10206 #include "confdefs.h" |
| 10186 #include <gpm.h> | 10207 #include <gpm.h> |
| 10187 EOF | 10208 EOF |
| 10188 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10209 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 10189 { (eval echo configure:10190: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10210 { (eval echo configure:10211: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 10190 ac_err=`grep -v '^ *+' conftest.out` | 10211 ac_err=`grep -v '^ *+' conftest.out` |
| 10191 if test -z "$ac_err"; then | 10212 if test -z "$ac_err"; then |
| 10192 rm -rf conftest* | 10213 rm -rf conftest* |
| 10193 eval "ac_cv_header_$ac_safe=yes" | 10214 eval "ac_cv_header_$ac_safe=yes" |
| 10194 else | 10215 else |
| 10207 with_gpm=no | 10228 with_gpm=no |
| 10208 fi | 10229 fi |
| 10209 } | 10230 } |
| 10210 test -z "$with_gpm" && { | 10231 test -z "$with_gpm" && { |
| 10211 echo $ac_n "checking for Gpm_Open in -lgpm""... $ac_c" 1>&6 | 10232 echo $ac_n "checking for Gpm_Open in -lgpm""... $ac_c" 1>&6 |
| 10212 echo "configure:10213: checking for Gpm_Open in -lgpm" >&5 | 10233 echo "configure:10234: checking for Gpm_Open in -lgpm" >&5 |
| 10213 ac_lib_var=`echo gpm'_'Gpm_Open | sed 'y%./+-%__p_%'` | 10234 ac_lib_var=`echo gpm'_'Gpm_Open | sed 'y%./+-%__p_%'` |
| 10214 | 10235 |
| 10215 xe_check_libs=" -lgpm " | 10236 xe_check_libs=" -lgpm " |
| 10216 cat > conftest.$ac_ext <<EOF | 10237 cat > conftest.$ac_ext <<EOF |
| 10217 #line 10218 "configure" | 10238 #line 10239 "configure" |
| 10218 #include "confdefs.h" | 10239 #include "confdefs.h" |
| 10219 /* Override any gcc2 internal prototype to avoid an error. */ | 10240 /* Override any gcc2 internal prototype to avoid an error. */ |
| 10220 /* We use char because int might match the return type of a gcc2 | 10241 /* We use char because int might match the return type of a gcc2 |
| 10221 builtin and then its argument prototype would still apply. */ | 10242 builtin and then its argument prototype would still apply. */ |
| 10222 char Gpm_Open(); | 10243 char Gpm_Open(); |
| 10223 | 10244 |
| 10224 int main() { | 10245 int main() { |
| 10225 Gpm_Open() | 10246 Gpm_Open() |
| 10226 ; return 0; } | 10247 ; return 0; } |
| 10227 EOF | 10248 EOF |
| 10228 if { (eval echo configure:10229: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 10249 if { (eval echo configure:10250: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 10229 rm -rf conftest* | 10250 rm -rf conftest* |
| 10230 eval "ac_cv_lib_$ac_lib_var=yes" | 10251 eval "ac_cv_lib_$ac_lib_var=yes" |
| 10231 else | 10252 else |
| 10232 echo "configure: failed program was:" >&5 | 10253 echo "configure: failed program was:" >&5 |
| 10233 cat conftest.$ac_ext >&5 | 10254 cat conftest.$ac_ext >&5 |
| 10272 echo " xemacs will be linked with \"event-unixoid.o\"" | 10293 echo " xemacs will be linked with \"event-unixoid.o\"" |
| 10273 fi | 10294 fi |
| 10274 | 10295 |
| 10275 | 10296 |
| 10276 echo "checking for database support" 1>&6 | 10297 echo "checking for database support" 1>&6 |
| 10277 echo "configure:10278: checking for database support" >&5 | 10298 echo "configure:10299: checking for database support" >&5 |
| 10278 | 10299 |
| 10279 if test "$with_database_gnudbm" != "no"; then | 10300 if test "$with_database_gnudbm" != "no"; then |
| 10280 for ac_hdr in ndbm.h | 10301 for ac_hdr in ndbm.h |
| 10281 do | 10302 do |
| 10282 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 10303 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
| 10283 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 10304 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
| 10284 echo "configure:10285: checking for $ac_hdr" >&5 | 10305 echo "configure:10306: checking for $ac_hdr" >&5 |
| 10285 | 10306 |
| 10286 cat > conftest.$ac_ext <<EOF | 10307 cat > conftest.$ac_ext <<EOF |
| 10287 #line 10288 "configure" | 10308 #line 10309 "configure" |
| 10288 #include "confdefs.h" | 10309 #include "confdefs.h" |
| 10289 #include <$ac_hdr> | 10310 #include <$ac_hdr> |
| 10290 EOF | 10311 EOF |
| 10291 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10312 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 10292 { (eval echo configure:10293: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10313 { (eval echo configure:10314: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 10293 ac_err=`grep -v '^ *+' conftest.out` | 10314 ac_err=`grep -v '^ *+' conftest.out` |
| 10294 if test -z "$ac_err"; then | 10315 if test -z "$ac_err"; then |
| 10295 rm -rf conftest* | 10316 rm -rf conftest* |
| 10296 eval "ac_cv_header_$ac_safe=yes" | 10317 eval "ac_cv_header_$ac_safe=yes" |
| 10297 else | 10318 else |
| 10319 done | 10340 done |
| 10320 | 10341 |
| 10321 if test "$have_ndbm_h" = "yes"; then | 10342 if test "$have_ndbm_h" = "yes"; then |
| 10322 | 10343 |
| 10323 echo $ac_n "checking for dbm_open in -lgdbm""... $ac_c" 1>&6 | 10344 echo $ac_n "checking for dbm_open in -lgdbm""... $ac_c" 1>&6 |
| 10324 echo "configure:10325: checking for dbm_open in -lgdbm" >&5 | 10345 echo "configure:10346: checking for dbm_open in -lgdbm" >&5 |
| 10325 ac_lib_var=`echo gdbm'_'dbm_open | sed 'y%./+-%__p_%'` | 10346 ac_lib_var=`echo gdbm'_'dbm_open | sed 'y%./+-%__p_%'` |
| 10326 | 10347 |
| 10327 xe_check_libs=" -lgdbm " | 10348 xe_check_libs=" -lgdbm " |
| 10328 cat > conftest.$ac_ext <<EOF | 10349 cat > conftest.$ac_ext <<EOF |
| 10329 #line 10330 "configure" | 10350 #line 10351 "configure" |
| 10330 #include "confdefs.h" | 10351 #include "confdefs.h" |
| 10331 /* Override any gcc2 internal prototype to avoid an error. */ | 10352 /* Override any gcc2 internal prototype to avoid an error. */ |
| 10332 /* We use char because int might match the return type of a gcc2 | 10353 /* We use char because int might match the return type of a gcc2 |
| 10333 builtin and then its argument prototype would still apply. */ | 10354 builtin and then its argument prototype would still apply. */ |
| 10334 char dbm_open(); | 10355 char dbm_open(); |
| 10335 | 10356 |
| 10336 int main() { | 10357 int main() { |
| 10337 dbm_open() | 10358 dbm_open() |
| 10338 ; return 0; } | 10359 ; return 0; } |
| 10339 EOF | 10360 EOF |
| 10340 if { (eval echo configure:10341: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 10361 if { (eval echo configure:10362: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 10341 rm -rf conftest* | 10362 rm -rf conftest* |
| 10342 eval "ac_cv_lib_$ac_lib_var=yes" | 10363 eval "ac_cv_lib_$ac_lib_var=yes" |
| 10343 else | 10364 else |
| 10344 echo "configure: failed program was:" >&5 | 10365 echo "configure: failed program was:" >&5 |
| 10345 cat conftest.$ac_ext >&5 | 10366 cat conftest.$ac_ext >&5 |
| 10358 | 10379 |
| 10359 | 10380 |
| 10360 fi | 10381 fi |
| 10361 if test "$with_database_gnudbm" != "yes"; then | 10382 if test "$with_database_gnudbm" != "yes"; then |
| 10362 echo $ac_n "checking for dbm_open""... $ac_c" 1>&6 | 10383 echo $ac_n "checking for dbm_open""... $ac_c" 1>&6 |
| 10363 echo "configure:10364: checking for dbm_open" >&5 | 10384 echo "configure:10385: checking for dbm_open" >&5 |
| 10364 | 10385 |
| 10365 cat > conftest.$ac_ext <<EOF | 10386 cat > conftest.$ac_ext <<EOF |
| 10366 #line 10367 "configure" | 10387 #line 10388 "configure" |
| 10367 #include "confdefs.h" | 10388 #include "confdefs.h" |
| 10368 /* System header to define __stub macros and hopefully few prototypes, | 10389 /* System header to define __stub macros and hopefully few prototypes, |
| 10369 which can conflict with char dbm_open(); below. */ | 10390 which can conflict with char dbm_open(); below. */ |
| 10370 #include <assert.h> | 10391 #include <assert.h> |
| 10371 /* Override any gcc2 internal prototype to avoid an error. */ | 10392 /* Override any gcc2 internal prototype to avoid an error. */ |
| 10384 dbm_open(); | 10405 dbm_open(); |
| 10385 #endif | 10406 #endif |
| 10386 | 10407 |
| 10387 ; return 0; } | 10408 ; return 0; } |
| 10388 EOF | 10409 EOF |
| 10389 if { (eval echo configure:10390: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 10410 if { (eval echo configure:10411: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 10390 rm -rf conftest* | 10411 rm -rf conftest* |
| 10391 eval "ac_cv_func_dbm_open=yes" | 10412 eval "ac_cv_func_dbm_open=yes" |
| 10392 else | 10413 else |
| 10393 echo "configure: failed program was:" >&5 | 10414 echo "configure: failed program was:" >&5 |
| 10394 cat conftest.$ac_ext >&5 | 10415 cat conftest.$ac_ext >&5 |
| 10420 fi | 10441 fi |
| 10421 fi | 10442 fi |
| 10422 | 10443 |
| 10423 if test "$with_database_dbm" != "no"; then | 10444 if test "$with_database_dbm" != "no"; then |
| 10424 echo $ac_n "checking for dbm_open""... $ac_c" 1>&6 | 10445 echo $ac_n "checking for dbm_open""... $ac_c" 1>&6 |
| 10425 echo "configure:10426: checking for dbm_open" >&5 | 10446 echo "configure:10447: checking for dbm_open" >&5 |
| 10426 | 10447 |
| 10427 cat > conftest.$ac_ext <<EOF | 10448 cat > conftest.$ac_ext <<EOF |
| 10428 #line 10429 "configure" | 10449 #line 10450 "configure" |
| 10429 #include "confdefs.h" | 10450 #include "confdefs.h" |
| 10430 /* System header to define __stub macros and hopefully few prototypes, | 10451 /* System header to define __stub macros and hopefully few prototypes, |
| 10431 which can conflict with char dbm_open(); below. */ | 10452 which can conflict with char dbm_open(); below. */ |
| 10432 #include <assert.h> | 10453 #include <assert.h> |
| 10433 /* Override any gcc2 internal prototype to avoid an error. */ | 10454 /* Override any gcc2 internal prototype to avoid an error. */ |
| 10446 dbm_open(); | 10467 dbm_open(); |
| 10447 #endif | 10468 #endif |
| 10448 | 10469 |
| 10449 ; return 0; } | 10470 ; return 0; } |
| 10450 EOF | 10471 EOF |
| 10451 if { (eval echo configure:10452: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 10472 if { (eval echo configure:10473: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 10452 rm -rf conftest* | 10473 rm -rf conftest* |
| 10453 eval "ac_cv_func_dbm_open=yes" | 10474 eval "ac_cv_func_dbm_open=yes" |
| 10454 else | 10475 else |
| 10455 echo "configure: failed program was:" >&5 | 10476 echo "configure: failed program was:" >&5 |
| 10456 cat conftest.$ac_ext >&5 | 10477 cat conftest.$ac_ext >&5 |
| 10467 fi | 10488 fi |
| 10468 | 10489 |
| 10469 if test "$need_libdbm" != "no"; then | 10490 if test "$need_libdbm" != "no"; then |
| 10470 | 10491 |
| 10471 echo $ac_n "checking for dbm_open in -ldbm""... $ac_c" 1>&6 | 10492 echo $ac_n "checking for dbm_open in -ldbm""... $ac_c" 1>&6 |
| 10472 echo "configure:10473: checking for dbm_open in -ldbm" >&5 | 10493 echo "configure:10494: checking for dbm_open in -ldbm" >&5 |
| 10473 ac_lib_var=`echo dbm'_'dbm_open | sed 'y%./+-%__p_%'` | 10494 ac_lib_var=`echo dbm'_'dbm_open | sed 'y%./+-%__p_%'` |
| 10474 | 10495 |
| 10475 xe_check_libs=" -ldbm " | 10496 xe_check_libs=" -ldbm " |
| 10476 cat > conftest.$ac_ext <<EOF | 10497 cat > conftest.$ac_ext <<EOF |
| 10477 #line 10478 "configure" | 10498 #line 10499 "configure" |
| 10478 #include "confdefs.h" | 10499 #include "confdefs.h" |
| 10479 /* Override any gcc2 internal prototype to avoid an error. */ | 10500 /* Override any gcc2 internal prototype to avoid an error. */ |
| 10480 /* We use char because int might match the return type of a gcc2 | 10501 /* We use char because int might match the return type of a gcc2 |
| 10481 builtin and then its argument prototype would still apply. */ | 10502 builtin and then its argument prototype would still apply. */ |
| 10482 char dbm_open(); | 10503 char dbm_open(); |
| 10483 | 10504 |
| 10484 int main() { | 10505 int main() { |
| 10485 dbm_open() | 10506 dbm_open() |
| 10486 ; return 0; } | 10507 ; return 0; } |
| 10487 EOF | 10508 EOF |
| 10488 if { (eval echo configure:10489: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 10509 if { (eval echo configure:10510: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 10489 rm -rf conftest* | 10510 rm -rf conftest* |
| 10490 eval "ac_cv_lib_$ac_lib_var=yes" | 10511 eval "ac_cv_lib_$ac_lib_var=yes" |
| 10491 else | 10512 else |
| 10492 echo "configure: failed program was:" >&5 | 10513 echo "configure: failed program was:" >&5 |
| 10493 cat conftest.$ac_ext >&5 | 10514 cat conftest.$ac_ext >&5 |
| 10520 fi | 10541 fi |
| 10521 fi | 10542 fi |
| 10522 | 10543 |
| 10523 if test "$with_database_berkdb" != "no"; then | 10544 if test "$with_database_berkdb" != "no"; then |
| 10524 echo $ac_n "checking for dbopen""... $ac_c" 1>&6 | 10545 echo $ac_n "checking for dbopen""... $ac_c" 1>&6 |
| 10525 echo "configure:10526: checking for dbopen" >&5 | 10546 echo "configure:10547: checking for dbopen" >&5 |
| 10526 | 10547 |
| 10527 cat > conftest.$ac_ext <<EOF | 10548 cat > conftest.$ac_ext <<EOF |
| 10528 #line 10529 "configure" | 10549 #line 10550 "configure" |
| 10529 #include "confdefs.h" | 10550 #include "confdefs.h" |
| 10530 /* System header to define __stub macros and hopefully few prototypes, | 10551 /* System header to define __stub macros and hopefully few prototypes, |
| 10531 which can conflict with char dbopen(); below. */ | 10552 which can conflict with char dbopen(); below. */ |
| 10532 #include <assert.h> | 10553 #include <assert.h> |
| 10533 /* Override any gcc2 internal prototype to avoid an error. */ | 10554 /* Override any gcc2 internal prototype to avoid an error. */ |
| 10546 dbopen(); | 10567 dbopen(); |
| 10547 #endif | 10568 #endif |
| 10548 | 10569 |
| 10549 ; return 0; } | 10570 ; return 0; } |
| 10550 EOF | 10571 EOF |
| 10551 if { (eval echo configure:10552: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 10572 if { (eval echo configure:10573: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 10552 rm -rf conftest* | 10573 rm -rf conftest* |
| 10553 eval "ac_cv_func_dbopen=yes" | 10574 eval "ac_cv_func_dbopen=yes" |
| 10554 else | 10575 else |
| 10555 echo "configure: failed program was:" >&5 | 10576 echo "configure: failed program was:" >&5 |
| 10556 cat conftest.$ac_ext >&5 | 10577 cat conftest.$ac_ext >&5 |
| 10567 fi | 10588 fi |
| 10568 | 10589 |
| 10569 if test "$need_libdb" != "no"; then | 10590 if test "$need_libdb" != "no"; then |
| 10570 | 10591 |
| 10571 echo $ac_n "checking for dbopen in -ldb""... $ac_c" 1>&6 | 10592 echo $ac_n "checking for dbopen in -ldb""... $ac_c" 1>&6 |
| 10572 echo "configure:10573: checking for dbopen in -ldb" >&5 | 10593 echo "configure:10594: checking for dbopen in -ldb" >&5 |
| 10573 ac_lib_var=`echo db'_'dbopen | sed 'y%./+-%__p_%'` | 10594 ac_lib_var=`echo db'_'dbopen | sed 'y%./+-%__p_%'` |
| 10574 | 10595 |
| 10575 xe_check_libs=" -ldb " | 10596 xe_check_libs=" -ldb " |
| 10576 cat > conftest.$ac_ext <<EOF | 10597 cat > conftest.$ac_ext <<EOF |
| 10577 #line 10578 "configure" | 10598 #line 10599 "configure" |
| 10578 #include "confdefs.h" | 10599 #include "confdefs.h" |
| 10579 /* Override any gcc2 internal prototype to avoid an error. */ | 10600 /* Override any gcc2 internal prototype to avoid an error. */ |
| 10580 /* We use char because int might match the return type of a gcc2 | 10601 /* We use char because int might match the return type of a gcc2 |
| 10581 builtin and then its argument prototype would still apply. */ | 10602 builtin and then its argument prototype would still apply. */ |
| 10582 char dbopen(); | 10603 char dbopen(); |
| 10583 | 10604 |
| 10584 int main() { | 10605 int main() { |
| 10585 dbopen() | 10606 dbopen() |
| 10586 ; return 0; } | 10607 ; return 0; } |
| 10587 EOF | 10608 EOF |
| 10588 if { (eval echo configure:10589: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 10609 if { (eval echo configure:10610: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 10589 rm -rf conftest* | 10610 rm -rf conftest* |
| 10590 eval "ac_cv_lib_$ac_lib_var=yes" | 10611 eval "ac_cv_lib_$ac_lib_var=yes" |
| 10591 else | 10612 else |
| 10592 echo "configure: failed program was:" >&5 | 10613 echo "configure: failed program was:" >&5 |
| 10593 cat conftest.$ac_ext >&5 | 10614 cat conftest.$ac_ext >&5 |
| 10607 | 10628 |
| 10608 fi | 10629 fi |
| 10609 if test "$with_database_berkdb" = "yes"; then | 10630 if test "$with_database_berkdb" = "yes"; then |
| 10610 for path in "db/db.h" "db.h"; do | 10631 for path in "db/db.h" "db.h"; do |
| 10611 cat > conftest.$ac_ext <<EOF | 10632 cat > conftest.$ac_ext <<EOF |
| 10612 #line 10613 "configure" | 10633 #line 10634 "configure" |
| 10613 #include "confdefs.h" | 10634 #include "confdefs.h" |
| 10614 #ifdef HAVE_INTTYPES_H | 10635 #ifdef HAVE_INTTYPES_H |
| 10615 #define __BIT_TYPES_DEFINED__ | 10636 #define __BIT_TYPES_DEFINED__ |
| 10616 #include <inttypes.h> | 10637 #include <inttypes.h> |
| 10617 typedef uint8_t u_int8_t; | 10638 typedef uint8_t u_int8_t; |
| 10625 | 10646 |
| 10626 int main() { | 10647 int main() { |
| 10627 | 10648 |
| 10628 ; return 0; } | 10649 ; return 0; } |
| 10629 EOF | 10650 EOF |
| 10630 if { (eval echo configure:10631: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 10651 if { (eval echo configure:10652: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| 10631 rm -rf conftest* | 10652 rm -rf conftest* |
| 10632 db_h_path="$path"; break | 10653 db_h_path="$path"; break |
| 10633 else | 10654 else |
| 10634 echo "configure: failed program was:" >&5 | 10655 echo "configure: failed program was:" >&5 |
| 10635 cat conftest.$ac_ext >&5 | 10656 cat conftest.$ac_ext >&5 |
| 10676 fi | 10697 fi |
| 10677 | 10698 |
| 10678 if test "$with_socks" = "yes"; then | 10699 if test "$with_socks" = "yes"; then |
| 10679 | 10700 |
| 10680 echo $ac_n "checking for SOCKSinit in -lsocks""... $ac_c" 1>&6 | 10701 echo $ac_n "checking for SOCKSinit in -lsocks""... $ac_c" 1>&6 |
| 10681 echo "configure:10682: checking for SOCKSinit in -lsocks" >&5 | 10702 echo "configure:10703: checking for SOCKSinit in -lsocks" >&5 |
| 10682 ac_lib_var=`echo socks'_'SOCKSinit | sed 'y%./+-%__p_%'` | 10703 ac_lib_var=`echo socks'_'SOCKSinit | sed 'y%./+-%__p_%'` |
| 10683 | 10704 |
| 10684 xe_check_libs=" -lsocks " | 10705 xe_check_libs=" -lsocks " |
| 10685 cat > conftest.$ac_ext <<EOF | 10706 cat > conftest.$ac_ext <<EOF |
| 10686 #line 10687 "configure" | 10707 #line 10708 "configure" |
| 10687 #include "confdefs.h" | 10708 #include "confdefs.h" |
| 10688 /* Override any gcc2 internal prototype to avoid an error. */ | 10709 /* Override any gcc2 internal prototype to avoid an error. */ |
| 10689 /* We use char because int might match the return type of a gcc2 | 10710 /* We use char because int might match the return type of a gcc2 |
| 10690 builtin and then its argument prototype would still apply. */ | 10711 builtin and then its argument prototype would still apply. */ |
| 10691 char SOCKSinit(); | 10712 char SOCKSinit(); |
| 10692 | 10713 |
| 10693 int main() { | 10714 int main() { |
| 10694 SOCKSinit() | 10715 SOCKSinit() |
| 10695 ; return 0; } | 10716 ; return 0; } |
| 10696 EOF | 10717 EOF |
| 10697 if { (eval echo configure:10698: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 10718 if { (eval echo configure:10719: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 10698 rm -rf conftest* | 10719 rm -rf conftest* |
| 10699 eval "ac_cv_lib_$ac_lib_var=yes" | 10720 eval "ac_cv_lib_$ac_lib_var=yes" |
| 10700 else | 10721 else |
| 10701 echo "configure: failed program was:" >&5 | 10722 echo "configure: failed program was:" >&5 |
| 10702 cat conftest.$ac_ext >&5 | 10723 cat conftest.$ac_ext >&5 |
| 10749 | 10770 |
| 10750 for ac_hdr in dlfcn.h | 10771 for ac_hdr in dlfcn.h |
| 10751 do | 10772 do |
| 10752 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 10773 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
| 10753 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 10774 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
| 10754 echo "configure:10755: checking for $ac_hdr" >&5 | 10775 echo "configure:10776: checking for $ac_hdr" >&5 |
| 10755 | 10776 |
| 10756 cat > conftest.$ac_ext <<EOF | 10777 cat > conftest.$ac_ext <<EOF |
| 10757 #line 10758 "configure" | 10778 #line 10779 "configure" |
| 10758 #include "confdefs.h" | 10779 #include "confdefs.h" |
| 10759 #include <$ac_hdr> | 10780 #include <$ac_hdr> |
| 10760 EOF | 10781 EOF |
| 10761 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10782 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 10762 { (eval echo configure:10763: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10783 { (eval echo configure:10784: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 10763 ac_err=`grep -v '^ *+' conftest.out` | 10784 ac_err=`grep -v '^ *+' conftest.out` |
| 10764 if test -z "$ac_err"; then | 10785 if test -z "$ac_err"; then |
| 10765 rm -rf conftest* | 10786 rm -rf conftest* |
| 10766 eval "ac_cv_header_$ac_safe=yes" | 10787 eval "ac_cv_header_$ac_safe=yes" |
| 10767 else | 10788 else |
| 10788 fi | 10809 fi |
| 10789 done | 10810 done |
| 10790 | 10811 |
| 10791 test -z "$with_shlib" && test ! -z "$have_dlfcn" && { | 10812 test -z "$with_shlib" && test ! -z "$have_dlfcn" && { |
| 10792 echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6 | 10813 echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6 |
| 10793 echo "configure:10794: checking for dlopen in -ldl" >&5 | 10814 echo "configure:10815: checking for dlopen in -ldl" >&5 |
| 10794 ac_lib_var=`echo dl'_'dlopen | sed 'y%./+-%__p_%'` | 10815 ac_lib_var=`echo dl'_'dlopen | sed 'y%./+-%__p_%'` |
| 10795 | 10816 |
| 10796 xe_check_libs=" -ldl " | 10817 xe_check_libs=" -ldl " |
| 10797 cat > conftest.$ac_ext <<EOF | 10818 cat > conftest.$ac_ext <<EOF |
| 10798 #line 10799 "configure" | 10819 #line 10820 "configure" |
| 10799 #include "confdefs.h" | 10820 #include "confdefs.h" |
| 10800 /* Override any gcc2 internal prototype to avoid an error. */ | 10821 /* Override any gcc2 internal prototype to avoid an error. */ |
| 10801 /* We use char because int might match the return type of a gcc2 | 10822 /* We use char because int might match the return type of a gcc2 |
| 10802 builtin and then its argument prototype would still apply. */ | 10823 builtin and then its argument prototype would still apply. */ |
| 10803 char dlopen(); | 10824 char dlopen(); |
| 10804 | 10825 |
| 10805 int main() { | 10826 int main() { |
| 10806 dlopen() | 10827 dlopen() |
| 10807 ; return 0; } | 10828 ; return 0; } |
| 10808 EOF | 10829 EOF |
| 10809 if { (eval echo configure:10810: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 10830 if { (eval echo configure:10831: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 10810 rm -rf conftest* | 10831 rm -rf conftest* |
| 10811 eval "ac_cv_lib_$ac_lib_var=yes" | 10832 eval "ac_cv_lib_$ac_lib_var=yes" |
| 10812 else | 10833 else |
| 10813 echo "configure: failed program was:" >&5 | 10834 echo "configure: failed program was:" >&5 |
| 10814 cat conftest.$ac_ext >&5 | 10835 cat conftest.$ac_ext >&5 |
| 10833 fi | 10854 fi |
| 10834 | 10855 |
| 10835 } | 10856 } |
| 10836 test -z "$with_shlib" && test ! -z "$have_dlfcn" && { | 10857 test -z "$with_shlib" && test ! -z "$have_dlfcn" && { |
| 10837 echo $ac_n "checking for _dlopen in -lc""... $ac_c" 1>&6 | 10858 echo $ac_n "checking for _dlopen in -lc""... $ac_c" 1>&6 |
| 10838 echo "configure:10839: checking for _dlopen in -lc" >&5 | 10859 echo "configure:10860: checking for _dlopen in -lc" >&5 |
| 10839 ac_lib_var=`echo c'_'_dlopen | sed 'y%./+-%__p_%'` | 10860 ac_lib_var=`echo c'_'_dlopen | sed 'y%./+-%__p_%'` |
| 10840 | 10861 |
| 10841 xe_check_libs=" -lc " | 10862 xe_check_libs=" -lc " |
| 10842 cat > conftest.$ac_ext <<EOF | 10863 cat > conftest.$ac_ext <<EOF |
| 10843 #line 10844 "configure" | 10864 #line 10865 "configure" |
| 10844 #include "confdefs.h" | 10865 #include "confdefs.h" |
| 10845 /* Override any gcc2 internal prototype to avoid an error. */ | 10866 /* Override any gcc2 internal prototype to avoid an error. */ |
| 10846 /* We use char because int might match the return type of a gcc2 | 10867 /* We use char because int might match the return type of a gcc2 |
| 10847 builtin and then its argument prototype would still apply. */ | 10868 builtin and then its argument prototype would still apply. */ |
| 10848 char _dlopen(); | 10869 char _dlopen(); |
| 10849 | 10870 |
| 10850 int main() { | 10871 int main() { |
| 10851 _dlopen() | 10872 _dlopen() |
| 10852 ; return 0; } | 10873 ; return 0; } |
| 10853 EOF | 10874 EOF |
| 10854 if { (eval echo configure:10855: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 10875 if { (eval echo configure:10876: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 10855 rm -rf conftest* | 10876 rm -rf conftest* |
| 10856 eval "ac_cv_lib_$ac_lib_var=yes" | 10877 eval "ac_cv_lib_$ac_lib_var=yes" |
| 10857 else | 10878 else |
| 10858 echo "configure: failed program was:" >&5 | 10879 echo "configure: failed program was:" >&5 |
| 10859 cat conftest.$ac_ext >&5 | 10880 cat conftest.$ac_ext >&5 |
| 10878 fi | 10899 fi |
| 10879 | 10900 |
| 10880 } | 10901 } |
| 10881 test -z "$with_shlib" && test ! -z "$have_dlfcn" && { | 10902 test -z "$with_shlib" && test ! -z "$have_dlfcn" && { |
| 10882 echo $ac_n "checking for dlopen in -lc""... $ac_c" 1>&6 | 10903 echo $ac_n "checking for dlopen in -lc""... $ac_c" 1>&6 |
| 10883 echo "configure:10884: checking for dlopen in -lc" >&5 | 10904 echo "configure:10905: checking for dlopen in -lc" >&5 |
| 10884 ac_lib_var=`echo c'_'dlopen | sed 'y%./+-%__p_%'` | 10905 ac_lib_var=`echo c'_'dlopen | sed 'y%./+-%__p_%'` |
| 10885 | 10906 |
| 10886 xe_check_libs=" -lc " | 10907 xe_check_libs=" -lc " |
| 10887 cat > conftest.$ac_ext <<EOF | 10908 cat > conftest.$ac_ext <<EOF |
| 10888 #line 10889 "configure" | 10909 #line 10910 "configure" |
| 10889 #include "confdefs.h" | 10910 #include "confdefs.h" |
| 10890 /* Override any gcc2 internal prototype to avoid an error. */ | 10911 /* Override any gcc2 internal prototype to avoid an error. */ |
| 10891 /* We use char because int might match the return type of a gcc2 | 10912 /* We use char because int might match the return type of a gcc2 |
| 10892 builtin and then its argument prototype would still apply. */ | 10913 builtin and then its argument prototype would still apply. */ |
| 10893 char dlopen(); | 10914 char dlopen(); |
| 10894 | 10915 |
| 10895 int main() { | 10916 int main() { |
| 10896 dlopen() | 10917 dlopen() |
| 10897 ; return 0; } | 10918 ; return 0; } |
| 10898 EOF | 10919 EOF |
| 10899 if { (eval echo configure:10900: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 10920 if { (eval echo configure:10921: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 10900 rm -rf conftest* | 10921 rm -rf conftest* |
| 10901 eval "ac_cv_lib_$ac_lib_var=yes" | 10922 eval "ac_cv_lib_$ac_lib_var=yes" |
| 10902 else | 10923 else |
| 10903 echo "configure: failed program was:" >&5 | 10924 echo "configure: failed program was:" >&5 |
| 10904 cat conftest.$ac_ext >&5 | 10925 cat conftest.$ac_ext >&5 |
| 10923 fi | 10944 fi |
| 10924 | 10945 |
| 10925 } | 10946 } |
| 10926 test -z "$with_shlib" && { | 10947 test -z "$with_shlib" && { |
| 10927 echo $ac_n "checking for shl_load in -ldld""... $ac_c" 1>&6 | 10948 echo $ac_n "checking for shl_load in -ldld""... $ac_c" 1>&6 |
| 10928 echo "configure:10929: checking for shl_load in -ldld" >&5 | 10949 echo "configure:10950: checking for shl_load in -ldld" >&5 |
| 10929 ac_lib_var=`echo dld'_'shl_load | sed 'y%./+-%__p_%'` | 10950 ac_lib_var=`echo dld'_'shl_load | sed 'y%./+-%__p_%'` |
| 10930 | 10951 |
| 10931 xe_check_libs=" -ldld " | 10952 xe_check_libs=" -ldld " |
| 10932 cat > conftest.$ac_ext <<EOF | 10953 cat > conftest.$ac_ext <<EOF |
| 10933 #line 10934 "configure" | 10954 #line 10955 "configure" |
| 10934 #include "confdefs.h" | 10955 #include "confdefs.h" |
| 10935 /* Override any gcc2 internal prototype to avoid an error. */ | 10956 /* Override any gcc2 internal prototype to avoid an error. */ |
| 10936 /* We use char because int might match the return type of a gcc2 | 10957 /* We use char because int might match the return type of a gcc2 |
| 10937 builtin and then its argument prototype would still apply. */ | 10958 builtin and then its argument prototype would still apply. */ |
| 10938 char shl_load(); | 10959 char shl_load(); |
| 10939 | 10960 |
| 10940 int main() { | 10961 int main() { |
| 10941 shl_load() | 10962 shl_load() |
| 10942 ; return 0; } | 10963 ; return 0; } |
| 10943 EOF | 10964 EOF |
| 10944 if { (eval echo configure:10945: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 10965 if { (eval echo configure:10966: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 10945 rm -rf conftest* | 10966 rm -rf conftest* |
| 10946 eval "ac_cv_lib_$ac_lib_var=yes" | 10967 eval "ac_cv_lib_$ac_lib_var=yes" |
| 10947 else | 10968 else |
| 10948 echo "configure: failed program was:" >&5 | 10969 echo "configure: failed program was:" >&5 |
| 10949 cat conftest.$ac_ext >&5 | 10970 cat conftest.$ac_ext >&5 |
| 10968 fi | 10989 fi |
| 10969 | 10990 |
| 10970 } | 10991 } |
| 10971 test -z "$with_shlib" && { | 10992 test -z "$with_shlib" && { |
| 10972 echo $ac_n "checking for dld_init in -ldld""... $ac_c" 1>&6 | 10993 echo $ac_n "checking for dld_init in -ldld""... $ac_c" 1>&6 |
| 10973 echo "configure:10974: checking for dld_init in -ldld" >&5 | 10994 echo "configure:10995: checking for dld_init in -ldld" >&5 |
| 10974 ac_lib_var=`echo dld'_'dld_init | sed 'y%./+-%__p_%'` | 10995 ac_lib_var=`echo dld'_'dld_init | sed 'y%./+-%__p_%'` |
| 10975 | 10996 |
| 10976 xe_check_libs=" -ldld " | 10997 xe_check_libs=" -ldld " |
| 10977 cat > conftest.$ac_ext <<EOF | 10998 cat > conftest.$ac_ext <<EOF |
| 10978 #line 10979 "configure" | 10999 #line 11000 "configure" |
| 10979 #include "confdefs.h" | 11000 #include "confdefs.h" |
| 10980 /* Override any gcc2 internal prototype to avoid an error. */ | 11001 /* Override any gcc2 internal prototype to avoid an error. */ |
| 10981 /* We use char because int might match the return type of a gcc2 | 11002 /* We use char because int might match the return type of a gcc2 |
| 10982 builtin and then its argument prototype would still apply. */ | 11003 builtin and then its argument prototype would still apply. */ |
| 10983 char dld_init(); | 11004 char dld_init(); |
| 10984 | 11005 |
| 10985 int main() { | 11006 int main() { |
| 10986 dld_init() | 11007 dld_init() |
| 10987 ; return 0; } | 11008 ; return 0; } |
| 10988 EOF | 11009 EOF |
| 10989 if { (eval echo configure:10990: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 11010 if { (eval echo configure:11011: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 10990 rm -rf conftest* | 11011 rm -rf conftest* |
| 10991 eval "ac_cv_lib_$ac_lib_var=yes" | 11012 eval "ac_cv_lib_$ac_lib_var=yes" |
| 10992 else | 11013 else |
| 10993 echo "configure: failed program was:" >&5 | 11014 echo "configure: failed program was:" >&5 |
| 10994 cat conftest.$ac_ext >&5 | 11015 cat conftest.$ac_ext >&5 |
| 11034 dll_lflags="-shared" | 11055 dll_lflags="-shared" |
| 11035 dll_cflags="-r" | 11056 dll_cflags="-r" |
| 11036 dll_oflags="-o " | 11057 dll_oflags="-o " |
| 11037 | 11058 |
| 11038 echo $ac_n "checking how to build a shared library""... $ac_c" 1>&6 | 11059 echo $ac_n "checking how to build a shared library""... $ac_c" 1>&6 |
| 11039 echo "configure:11040: checking how to build a shared library" >&5 | 11060 echo "configure:11061: checking how to build a shared library" >&5 |
| 11040 case `uname -rs` in | 11061 case `uname -rs` in |
| 11041 UNIX_SV*|UNIX_System_V*) | 11062 UNIX_SV*|UNIX_System_V*) |
| 11042 dll_lflags="-G" | 11063 dll_lflags="-G" |
| 11043 dll_cflags=-Kpic | 11064 dll_cflags=-Kpic |
| 11044 dll_ld="ld" | 11065 dll_ld="ld" |
| 11122 | 11143 |
| 11123 | 11144 |
| 11124 | 11145 |
| 11125 | 11146 |
| 11126 | 11147 |
| 11148 for ac_func in dlerror | |
| 11149 do | |
| 11150 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | |
| 11151 echo "configure:11152: checking for $ac_func" >&5 | |
| 11152 | |
| 11153 cat > conftest.$ac_ext <<EOF | |
| 11154 #line 11155 "configure" | |
| 11155 #include "confdefs.h" | |
| 11156 /* System header to define __stub macros and hopefully few prototypes, | |
| 11157 which can conflict with char $ac_func(); below. */ | |
| 11158 #include <assert.h> | |
| 11159 /* Override any gcc2 internal prototype to avoid an error. */ | |
| 11160 /* We use char because int might match the return type of a gcc2 | |
| 11161 builtin and then its argument prototype would still apply. */ | |
| 11162 char $ac_func(); | |
| 11163 | |
| 11164 int main() { | |
| 11165 | |
| 11166 /* The GNU C library defines this for functions which it implements | |
| 11167 to always fail with ENOSYS. Some functions are actually named | |
| 11168 something starting with __ and the normal name is an alias. */ | |
| 11169 #if defined (__stub_$ac_func) || defined (__stub___$ac_func) | |
| 11170 choke me | |
| 11171 #else | |
| 11172 $ac_func(); | |
| 11173 #endif | |
| 11174 | |
| 11175 ; return 0; } | |
| 11176 EOF | |
| 11177 if { (eval echo configure:11178: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | |
| 11178 rm -rf conftest* | |
| 11179 eval "ac_cv_func_$ac_func=yes" | |
| 11180 else | |
| 11181 echo "configure: failed program was:" >&5 | |
| 11182 cat conftest.$ac_ext >&5 | |
| 11183 rm -rf conftest* | |
| 11184 eval "ac_cv_func_$ac_func=no" | |
| 11185 fi | |
| 11186 rm -f conftest* | |
| 11187 | |
| 11188 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then | |
| 11189 echo "$ac_t""yes" 1>&6 | |
| 11190 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'` | |
| 11191 { test "$extra_verbose" = "yes" && cat << EOF | |
| 11192 Defining $ac_tr_func | |
| 11193 EOF | |
| 11194 cat >> confdefs.h <<EOF | |
| 11195 #define $ac_tr_func 1 | |
| 11196 EOF | |
| 11197 } | |
| 11198 | |
| 11199 else | |
| 11200 echo "$ac_t""no" 1>&6 | |
| 11201 fi | |
| 11202 done | |
| 11203 | |
| 11127 ld_dynamic_link_flags= | 11204 ld_dynamic_link_flags= |
| 11128 case "$opsys" in | 11205 case "$opsys" in |
| 11129 hpux*) ld_dynamic_link_flags="-Wl,-E" ;; | 11206 hpux*) ld_dynamic_link_flags="-Wl,-E" ;; |
| 11130 linux*) ld_dynamic_link_flags="-rdynamic" ;; | 11207 linux*) ld_dynamic_link_flags="-rdynamic" ;; |
| 11131 *) ;; | 11208 *) ;; |
| 11132 esac | 11209 esac |
| 11133 fi | 11210 fi |
| 11134 | 11211 |
| 11135 cat > conftest.$ac_ext <<EOF | 11212 cat > conftest.$ac_ext <<EOF |
| 11136 #line 11137 "configure" | 11213 #line 11214 "configure" |
| 11137 #include "confdefs.h" | 11214 #include "confdefs.h" |
| 11138 int main(int c,char *v[]){return 0;} | 11215 int main(int c,char *v[]){return 0;} |
| 11139 EOF | 11216 EOF |
| 11140 if { (eval echo configure:11141: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 | 11217 if { (eval echo configure:11218: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 |
| 11141 then | 11218 then |
| 11142 : | 11219 : |
| 11143 else | 11220 else |
| 11144 echo "configure: failed program was:" >&5 | 11221 echo "configure: failed program was:" >&5 |
| 11145 cat conftest.$ac_ext >&5 | 11222 cat conftest.$ac_ext >&5 |
| 11792 for file in $internal_makefile_list; do | 11869 for file in $internal_makefile_list; do |
| 11793 test "$file" = src/Makefile.in && \ | 11870 test "$file" = src/Makefile.in && \ |
| 11794 file="src/Makefile.in:src/Makefile.in.in:src/depend" | 11871 file="src/Makefile.in:src/Makefile.in.in:src/depend" |
| 11795 ac_output_files="${ac_output_files+$ac_output_files }$file" | 11872 ac_output_files="${ac_output_files+$ac_output_files }$file" |
| 11796 done | 11873 done |
| 11797 ac_output_files="$ac_output_files src/paths.h.in lib-src/config.values" | 11874 ac_output_files="$ac_output_files src/paths.h lib-src/config.values" |
| 11798 | 11875 |
| 11799 trap '' 1 2 15 | 11876 trap '' 1 2 15 |
| 11800 | 11877 |
| 11801 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15 | 11878 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15 |
| 11802 | 11879 |
| 11849 done | 11926 done |
| 11850 | 11927 |
| 11851 ac_given_srcdir=$srcdir | 11928 ac_given_srcdir=$srcdir |
| 11852 ac_given_INSTALL="$INSTALL" | 11929 ac_given_INSTALL="$INSTALL" |
| 11853 | 11930 |
| 11854 trap 'rm -fr `echo "$ac_output_files src/config.h src/paths.h lwlib/config.h" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15 | 11931 trap 'rm -fr `echo "$ac_output_files src/config.h lwlib/config.h" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15 |
| 11855 EOF | 11932 EOF |
| 11856 cat >> $CONFIG_STATUS <<EOF | 11933 cat >> $CONFIG_STATUS <<EOF |
| 11857 | 11934 |
| 11858 # Protect against being on the right side of a sed subst in config.status. | 11935 # Protect against being on the right side of a sed subst in config.status. |
| 11859 sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g; | 11936 sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g; |
| 11897 s%@SET_MAKE@%$SET_MAKE%g | 11974 s%@SET_MAKE@%$SET_MAKE%g |
| 11898 s%@X_CFLAGS@%$X_CFLAGS%g | 11975 s%@X_CFLAGS@%$X_CFLAGS%g |
| 11899 s%@X_PRE_LIBS@%$X_PRE_LIBS%g | 11976 s%@X_PRE_LIBS@%$X_PRE_LIBS%g |
| 11900 s%@X_LIBS@%$X_LIBS%g | 11977 s%@X_LIBS@%$X_LIBS%g |
| 11901 s%@X_EXTRA_LIBS@%$X_EXTRA_LIBS%g | 11978 s%@X_EXTRA_LIBS@%$X_EXTRA_LIBS%g |
| 11979 s%@install_pp@%$install_pp%g | |
| 11902 s%@libs_xauth@%$libs_xauth%g | 11980 s%@libs_xauth@%$libs_xauth%g |
| 11903 s%@dnd_objs@%$dnd_objs%g | 11981 s%@dnd_objs@%$dnd_objs%g |
| 11904 s%@lwlib_objs@%$lwlib_objs%g | 11982 s%@lwlib_objs@%$lwlib_objs%g |
| 11905 s%@ALLOCA@%$ALLOCA%g | 11983 s%@ALLOCA@%$ALLOCA%g |
| 11906 s%@dll_ld@%$dll_ld%g | 11984 s%@dll_ld@%$dll_ld%g |
| 12080 ac_eD='%g' | 12158 ac_eD='%g' |
| 12081 | 12159 |
| 12082 if test "${CONFIG_HEADERS+set}" != set; then | 12160 if test "${CONFIG_HEADERS+set}" != set; then |
| 12083 EOF | 12161 EOF |
| 12084 cat >> $CONFIG_STATUS <<EOF | 12162 cat >> $CONFIG_STATUS <<EOF |
| 12085 CONFIG_HEADERS="src/config.h src/paths.h lwlib/config.h" | 12163 CONFIG_HEADERS="src/config.h lwlib/config.h" |
| 12086 EOF | 12164 EOF |
| 12087 cat >> $CONFIG_STATUS <<\EOF | 12165 cat >> $CONFIG_STATUS <<\EOF |
| 12088 fi | 12166 fi |
| 12089 for ac_file in .. $CONFIG_HEADERS; do if test "x$ac_file" != x..; then | 12167 for ac_file in .. $CONFIG_HEADERS; do if test "x$ac_file" != x..; then |
| 12090 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". | 12168 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". |
