Mercurial > hg > xemacs-beta
comparison configure @ 173:8eaf7971accc r20-3b13
Import from CVS: tag r20-3b13
author | cvs |
---|---|
date | Mon, 13 Aug 2007 09:49:09 +0200 |
parents | 929b76928fce |
children | 2d532a89d707 |
comparison
equal
deleted
inserted
replaced
172:a38aed19690b | 173:8eaf7971accc |
---|---|
184 | 184 |
185 | 185 |
186 ac_ext=c | 186 ac_ext=c |
187 xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS' | 187 xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS' |
188 xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_switch_x_site $ld_switch_run' | 188 xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_switch_x_site $ld_switch_run' |
189 xe_libs='$xe_check_libs $X_EXTRA_LIBS $libs_x $X_PRE_LIBS $LIBS $libs_machine $libs_system $libs_standard' | 189 xe_libs='$ld_call_shared $xe_check_libs $X_EXTRA_LIBS $libs_x $X_PRE_LIBS $LIBS $libs_machine $libs_system $libs_standard' |
190 ac_cpp='$CPP '"$xe_cppflags" | 190 ac_cpp='$CPP '"$xe_cppflags" |
191 ac_compile='${CC-cc} -c $CFLAGS '"$xe_cppflags"' conftest.$ac_ext 1>&5' | 191 ac_compile='${CC-cc} -c $CFLAGS '"$xe_cppflags"' conftest.$ac_ext 1>&5' |
192 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' | 192 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' |
193 cross_compiling=no | 193 cross_compiling=no |
194 | 194 |
421 Other options: | 421 Other options: |
422 | 422 |
423 --puresize=VALUE Override default amount of space for pure Lisp code. | 423 --puresize=VALUE Override default amount of space for pure Lisp code. |
424 --rel-alloc Use the relocating allocator (default for this option | 424 --rel-alloc Use the relocating allocator (default for this option |
425 is system-dependent). | 425 is system-dependent). |
426 --with-clash-detection Use lock files to detect multiple edits of the same file. | |
427 The default is to not do clash detection. | |
426 --use-system-malloc Force use of the system malloc, rather than GNU | 428 --use-system-malloc Force use of the system malloc, rather than GNU |
427 malloc. | 429 malloc. |
428 | 430 |
429 You may also specify any of the \`path' variables found in | 431 You may also specify any of the \`path' variables found in |
430 Makefile.in, including --bindir, --libdir, --lispdir, --datadir, and | 432 Makefile.in, including --bindir, --libdir, --lispdir, --datadir, and |
531 usage_tracking | \ | 533 usage_tracking | \ |
532 use_union_type | \ | 534 use_union_type | \ |
533 debug | \ | 535 debug | \ |
534 use_assertions | \ | 536 use_assertions | \ |
535 memory_usage_stats | \ | 537 memory_usage_stats | \ |
538 with_clash_detection | \ | |
536 no_doc_file ) | 539 no_doc_file ) |
537 case "$val" in | 540 case "$val" in |
538 y | ye | yes ) val=yes ;; | 541 y | ye | yes ) val=yes ;; |
539 n | no ) val=no ;; | 542 n | no ) val=no ;; |
540 * ) (echo "$progname: Usage error:" | 543 * ) (echo "$progname: Usage error:" |
548 compiler | \ | 551 compiler | \ |
549 cflags | \ | 552 cflags | \ |
550 puresize | \ | 553 puresize | \ |
551 cache_file | \ | 554 cache_file | \ |
552 native_sound_lib | \ | 555 native_sound_lib | \ |
556 package_path | \ | |
553 x_includes | \ | 557 x_includes | \ |
554 x_libraries | \ | 558 x_libraries | \ |
555 site_includes | \ | 559 site_includes | \ |
556 site_libraries | \ | 560 site_libraries | \ |
557 site_runtime_libraries ) | 561 site_runtime_libraries ) |
819 fi | 823 fi |
820 ;; | 824 ;; |
821 esac | 825 esac |
822 | 826 |
823 echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6 | 827 echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6 |
824 echo "configure:825: checking whether ln -s works" >&5 | 828 echo "configure:829: checking whether ln -s works" >&5 |
825 | 829 |
826 rm -f conftestdata | 830 rm -f conftestdata |
827 if ln -s X conftestdata 2>/dev/null | 831 if ln -s X conftestdata 2>/dev/null |
828 then | 832 then |
829 rm -f conftestdata | 833 rm -f conftestdata |
874 vpath %.s $(srcdir)\ | 878 vpath %.s $(srcdir)\ |
875 vpath %.in $(srcdir)' | 879 vpath %.in $(srcdir)' |
876 fi | 880 fi |
877 | 881 |
878 . "$srcdir/version.sh" || exit 1; | 882 . "$srcdir/version.sh" || exit 1; |
883 if test -n "$emacs_beta_version"; then beta=yes; else beta=no; fi | |
884 : "${extra_verbose=$beta}" | |
879 version="${emacs_major_version}.${emacs_minor_version}" | 885 version="${emacs_major_version}.${emacs_minor_version}" |
880 { test "$extra_verbose" = "yes" && cat << EOF | 886 { test "$extra_verbose" = "yes" && cat << EOF |
881 Defining EMACS_MAJOR_VERSION = $emacs_major_version | 887 Defining EMACS_MAJOR_VERSION = $emacs_major_version |
882 EOF | 888 EOF |
883 cat >> confdefs.h <<EOF | 889 cat >> confdefs.h <<EOF |
918 cat >> confdefs.h <<EOF | 924 cat >> confdefs.h <<EOF |
919 #define EMACS_VERSION "$version" | 925 #define EMACS_VERSION "$version" |
920 EOF | 926 EOF |
921 } | 927 } |
922 | 928 |
923 canonical_version=`echo ${version}_${canonical} | sed 'y/.-/__/'` | |
924 { test "$extra_verbose" = "yes" && cat << EOF | |
925 Defining CANONICAL_VERSION = $canonical_version | |
926 EOF | |
927 cat >> confdefs.h <<EOF | |
928 #define CANONICAL_VERSION $canonical_version | |
929 EOF | |
930 } | |
931 | |
932 | 929 |
933 if test -n "$emacs_beta_version"; then beta=yes; else beta=no; fi | 930 if test -n "$emacs_beta_version"; then beta=yes; else beta=no; fi |
934 test "${error_check_extents=$beta}" = yes && { test "$extra_verbose" = "yes" && cat << \EOF | 931 test "${error_check_extents=$beta}" = yes && { test "$extra_verbose" = "yes" && cat << \EOF |
935 Defining ERROR_CHECK_EXTENTS | 932 Defining ERROR_CHECK_EXTENTS |
936 EOF | 933 EOF |
969 cat >> confdefs.h <<\EOF | 966 cat >> confdefs.h <<\EOF |
970 #define ERROR_CHECK_MALLOC 1 | 967 #define ERROR_CHECK_MALLOC 1 |
971 EOF | 968 EOF |
972 } | 969 } |
973 | 970 |
974 : "${extra_verbose=$beta}" | |
975 if test "${debug=beta}" = "yes"; then | 971 if test "${debug=beta}" = "yes"; then |
976 use_assertions=yes memory_usage_stats=yes | 972 use_assertions=yes memory_usage_stats=yes |
977 extra_objs="$extra_objs debug.o" && if test "$extra_verbose" = "yes"; then | 973 extra_objs="$extra_objs debug.o" && if test "$extra_verbose" = "yes"; then |
978 echo " xemacs will be linked with \"debug.o\"" | 974 echo " xemacs will be linked with \"debug.o\"" |
979 fi | 975 fi |
1003 } | 999 } |
1004 | 1000 |
1005 | 1001 |
1006 | 1002 |
1007 echo "checking "the configuration name"" 1>&6 | 1003 echo "checking "the configuration name"" 1>&6 |
1008 echo "configure:1009: checking "the configuration name"" >&5 | 1004 echo "configure:1005: checking "the configuration name"" >&5 |
1009 internal_configuration=`echo $configuration | sed 's/-\(energize\|workshop\)//'` | 1005 internal_configuration=`echo $configuration | sed 's/-\(energize\|workshop\)//'` |
1010 if canonical=`$srcdir/config.sub "$internal_configuration"` ; then : ; else | 1006 if canonical=`$srcdir/config.sub "$internal_configuration"` ; then : ; else |
1011 exit $? | 1007 exit $? |
1012 fi | 1008 fi |
1013 | 1009 |
1382 echo "$progname: Check \`etc/MACHINES' for recognized configuration names." | 1378 echo "$progname: Check \`etc/MACHINES' for recognized configuration names." |
1383 ) >&2 | 1379 ) >&2 |
1384 exit 1 | 1380 exit 1 |
1385 fi | 1381 fi |
1386 | 1382 |
1387 if test "$dynamic" = "yes" ; then | 1383 if test -z "$dynamic"; then |
1384 case "$opsys" in | |
1385 hpux* | sunos4* | sco5 ) dynamic=no ;; | |
1386 *) dynamic=yes ;; | |
1387 esac | |
1388 fi | |
1389 if test "$dynamic" = "yes"; then | |
1388 case "$opsys" in | 1390 case "$opsys" in |
1389 hpux* | sunos4* | sco5 ) opsys="${opsys}-shr" ;; | 1391 hpux* | sunos4* | sco5 ) opsys="${opsys}-shr" ;; |
1392 decosf* ) ld_call_shared="-call_shared" ;; | |
1390 esac | 1393 esac |
1391 elif test "$dynamic" = "no" ; then | 1394 else case "$opsys" in |
1392 case "$opsys" in | 1395 sol2 ) |
1393 sol2 | decosf1-3 | decosf3-* | decosf4-* | linux ) opsys="${opsys}-static" ;; | 1396 echo "Static linking is not supported on Solaris 2." |
1397 echo "Rerun configure without specifying --dynamic=no." | |
1398 exit 1 ;; | |
1399 linux ) ld_call_shared="-Bstatic" ;; | |
1400 decosf* ) ld_call_shared="-non_shared" ;; | |
1394 esac | 1401 esac |
1395 fi | 1402 fi |
1403 | |
1404 canonical_version=`echo ${version}_${canonical} | sed 'y/.-/__/'` | |
1405 { test "$extra_verbose" = "yes" && cat << EOF | |
1406 Defining CANONICAL_VERSION = $canonical_version | |
1407 EOF | |
1408 cat >> confdefs.h <<EOF | |
1409 #define CANONICAL_VERSION $canonical_version | |
1410 EOF | |
1411 } | |
1412 | |
1396 | 1413 |
1397 machfile="m/${machine}.h" | 1414 machfile="m/${machine}.h" |
1398 opsysfile="s/${opsys}.h" | 1415 opsysfile="s/${opsys}.h" |
1399 | 1416 |
1400 | 1417 |
1422 xe_save_CFLAGS="$CFLAGS" | 1439 xe_save_CFLAGS="$CFLAGS" |
1423 | 1440 |
1424 # Extract the first word of "gcc", so it can be a program name with args. | 1441 # Extract the first word of "gcc", so it can be a program name with args. |
1425 set dummy gcc; ac_word=$2 | 1442 set dummy gcc; ac_word=$2 |
1426 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 1443 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
1427 echo "configure:1428: checking for $ac_word" >&5 | 1444 echo "configure:1445: checking for $ac_word" >&5 |
1428 | 1445 |
1429 if test -n "$CC"; then | 1446 if test -n "$CC"; then |
1430 ac_cv_prog_CC="$CC" # Let the user override the test. | 1447 ac_cv_prog_CC="$CC" # Let the user override the test. |
1431 else | 1448 else |
1432 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" | 1449 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" |
1448 | 1465 |
1449 if test -z "$CC"; then | 1466 if test -z "$CC"; then |
1450 # Extract the first word of "cc", so it can be a program name with args. | 1467 # Extract the first word of "cc", so it can be a program name with args. |
1451 set dummy cc; ac_word=$2 | 1468 set dummy cc; ac_word=$2 |
1452 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 1469 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
1453 echo "configure:1454: checking for $ac_word" >&5 | 1470 echo "configure:1471: checking for $ac_word" >&5 |
1454 | 1471 |
1455 if test -n "$CC"; then | 1472 if test -n "$CC"; then |
1456 ac_cv_prog_CC="$CC" # Let the user override the test. | 1473 ac_cv_prog_CC="$CC" # Let the user override the test. |
1457 else | 1474 else |
1458 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" | 1475 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" |
1493 | 1510 |
1494 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } | 1511 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } |
1495 fi | 1512 fi |
1496 | 1513 |
1497 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 | 1514 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 |
1498 echo "configure:1499: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 | 1515 echo "configure:1516: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 |
1499 | 1516 |
1500 ac_ext=c | 1517 ac_ext=c |
1501 xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS' | 1518 xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS' |
1502 xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_switch_x_site $ld_switch_run' | 1519 xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_switch_x_site $ld_switch_run' |
1503 xe_libs='$xe_check_libs $X_EXTRA_LIBS $libs_x $X_PRE_LIBS $LIBS $libs_machine $libs_system $libs_standard' | 1520 xe_libs='$ld_call_shared $xe_check_libs $X_EXTRA_LIBS $libs_x $X_PRE_LIBS $LIBS $libs_machine $libs_system $libs_standard' |
1504 ac_cpp='$CPP '"$xe_cppflags" | 1521 ac_cpp='$CPP '"$xe_cppflags" |
1505 ac_compile='${CC-cc} -c $CFLAGS '"$xe_cppflags"' conftest.$ac_ext 1>&5' | 1522 ac_compile='${CC-cc} -c $CFLAGS '"$xe_cppflags"' conftest.$ac_ext 1>&5' |
1506 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' | 1523 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' |
1507 cross_compiling=no | 1524 cross_compiling=no |
1508 | 1525 |
1509 cat > conftest.$ac_ext <<EOF | 1526 cat > conftest.$ac_ext <<EOF |
1510 #line 1511 "configure" | 1527 #line 1528 "configure" |
1511 #include "confdefs.h" | 1528 #include "confdefs.h" |
1512 main(){return(0);} | 1529 main(){return(0);} |
1513 EOF | 1530 EOF |
1514 if { (eval echo configure:1515: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 1531 if { (eval echo configure:1532: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
1515 ac_cv_prog_cc_works=yes | 1532 ac_cv_prog_cc_works=yes |
1516 # If we can't run a trivial program, we are probably using a cross compiler. | 1533 # If we can't run a trivial program, we are probably using a cross compiler. |
1517 if (./conftest; exit) 2>/dev/null; then | 1534 if (./conftest; exit) 2>/dev/null; then |
1518 ac_cv_prog_cc_cross=no | 1535 ac_cv_prog_cc_cross=no |
1519 else | 1536 else |
1529 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 | 1546 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 |
1530 if test $ac_cv_prog_cc_works = no; then | 1547 if test $ac_cv_prog_cc_works = no; then |
1531 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } | 1548 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } |
1532 fi | 1549 fi |
1533 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 | 1550 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 |
1534 echo "configure:1535: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 | 1551 echo "configure:1552: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 |
1535 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 | 1552 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 |
1536 cross_compiling=$ac_cv_prog_cc_cross | 1553 cross_compiling=$ac_cv_prog_cc_cross |
1537 | 1554 |
1538 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 | 1555 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 |
1539 echo "configure:1540: checking whether we are using GNU C" >&5 | 1556 echo "configure:1557: checking whether we are using GNU C" >&5 |
1540 | 1557 |
1541 cat > conftest.c <<EOF | 1558 cat > conftest.c <<EOF |
1542 #ifdef __GNUC__ | 1559 #ifdef __GNUC__ |
1543 yes; | 1560 yes; |
1544 #endif | 1561 #endif |
1545 EOF | 1562 EOF |
1546 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1547: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then | 1563 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1564: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then |
1547 ac_cv_prog_gcc=yes | 1564 ac_cv_prog_gcc=yes |
1548 else | 1565 else |
1549 ac_cv_prog_gcc=no | 1566 ac_cv_prog_gcc=no |
1550 fi | 1567 fi |
1551 | 1568 |
1555 GCC=yes | 1572 GCC=yes |
1556 ac_test_CFLAGS="${CFLAGS+set}" | 1573 ac_test_CFLAGS="${CFLAGS+set}" |
1557 ac_save_CFLAGS="$CFLAGS" | 1574 ac_save_CFLAGS="$CFLAGS" |
1558 CFLAGS= | 1575 CFLAGS= |
1559 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 | 1576 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 |
1560 echo "configure:1561: checking whether ${CC-cc} accepts -g" >&5 | 1577 echo "configure:1578: checking whether ${CC-cc} accepts -g" >&5 |
1561 | 1578 |
1562 echo 'void f(){}' > conftest.c | 1579 echo 'void f(){}' > conftest.c |
1563 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then | 1580 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then |
1564 ac_cv_prog_cc_g=yes | 1581 ac_cv_prog_cc_g=yes |
1565 else | 1582 else |
1584 if test "$with_gcc" = "no" -a "$GCC" = "yes"; then | 1601 if test "$with_gcc" = "no" -a "$GCC" = "yes"; then |
1585 CC=${NON_GNU_CC-cc} | 1602 CC=${NON_GNU_CC-cc} |
1586 # Extract the first word of "gcc", so it can be a program name with args. | 1603 # Extract the first word of "gcc", so it can be a program name with args. |
1587 set dummy gcc; ac_word=$2 | 1604 set dummy gcc; ac_word=$2 |
1588 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 1605 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
1589 echo "configure:1590: checking for $ac_word" >&5 | 1606 echo "configure:1607: checking for $ac_word" >&5 |
1590 | 1607 |
1591 if test -n "$CC"; then | 1608 if test -n "$CC"; then |
1592 ac_cv_prog_CC="$CC" # Let the user override the test. | 1609 ac_cv_prog_CC="$CC" # Let the user override the test. |
1593 else | 1610 else |
1594 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" | 1611 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" |
1610 | 1627 |
1611 if test -z "$CC"; then | 1628 if test -z "$CC"; then |
1612 # Extract the first word of "cc", so it can be a program name with args. | 1629 # Extract the first word of "cc", so it can be a program name with args. |
1613 set dummy cc; ac_word=$2 | 1630 set dummy cc; ac_word=$2 |
1614 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 1631 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
1615 echo "configure:1616: checking for $ac_word" >&5 | 1632 echo "configure:1633: checking for $ac_word" >&5 |
1616 | 1633 |
1617 if test -n "$CC"; then | 1634 if test -n "$CC"; then |
1618 ac_cv_prog_CC="$CC" # Let the user override the test. | 1635 ac_cv_prog_CC="$CC" # Let the user override the test. |
1619 else | 1636 else |
1620 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" | 1637 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" |
1655 | 1672 |
1656 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } | 1673 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } |
1657 fi | 1674 fi |
1658 | 1675 |
1659 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 | 1676 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 |
1660 echo "configure:1661: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 | 1677 echo "configure:1678: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 |
1661 | 1678 |
1662 ac_ext=c | 1679 ac_ext=c |
1663 xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS' | 1680 xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS' |
1664 xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_switch_x_site $ld_switch_run' | 1681 xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_switch_x_site $ld_switch_run' |
1665 xe_libs='$xe_check_libs $X_EXTRA_LIBS $libs_x $X_PRE_LIBS $LIBS $libs_machine $libs_system $libs_standard' | 1682 xe_libs='$ld_call_shared $xe_check_libs $X_EXTRA_LIBS $libs_x $X_PRE_LIBS $LIBS $libs_machine $libs_system $libs_standard' |
1666 ac_cpp='$CPP '"$xe_cppflags" | 1683 ac_cpp='$CPP '"$xe_cppflags" |
1667 ac_compile='${CC-cc} -c $CFLAGS '"$xe_cppflags"' conftest.$ac_ext 1>&5' | 1684 ac_compile='${CC-cc} -c $CFLAGS '"$xe_cppflags"' conftest.$ac_ext 1>&5' |
1668 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' | 1685 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' |
1669 cross_compiling=no | 1686 cross_compiling=no |
1670 | 1687 |
1671 cat > conftest.$ac_ext <<EOF | 1688 cat > conftest.$ac_ext <<EOF |
1672 #line 1673 "configure" | 1689 #line 1690 "configure" |
1673 #include "confdefs.h" | 1690 #include "confdefs.h" |
1674 main(){return(0);} | 1691 main(){return(0);} |
1675 EOF | 1692 EOF |
1676 if { (eval echo configure:1677: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 1693 if { (eval echo configure:1694: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
1677 ac_cv_prog_cc_works=yes | 1694 ac_cv_prog_cc_works=yes |
1678 # If we can't run a trivial program, we are probably using a cross compiler. | 1695 # If we can't run a trivial program, we are probably using a cross compiler. |
1679 if (./conftest; exit) 2>/dev/null; then | 1696 if (./conftest; exit) 2>/dev/null; then |
1680 ac_cv_prog_cc_cross=no | 1697 ac_cv_prog_cc_cross=no |
1681 else | 1698 else |
1691 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 | 1708 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 |
1692 if test $ac_cv_prog_cc_works = no; then | 1709 if test $ac_cv_prog_cc_works = no; then |
1693 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } | 1710 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } |
1694 fi | 1711 fi |
1695 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 | 1712 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 |
1696 echo "configure:1697: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 | 1713 echo "configure:1714: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 |
1697 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 | 1714 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 |
1698 cross_compiling=$ac_cv_prog_cc_cross | 1715 cross_compiling=$ac_cv_prog_cc_cross |
1699 | 1716 |
1700 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 | 1717 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 |
1701 echo "configure:1702: checking whether we are using GNU C" >&5 | 1718 echo "configure:1719: checking whether we are using GNU C" >&5 |
1702 | 1719 |
1703 cat > conftest.c <<EOF | 1720 cat > conftest.c <<EOF |
1704 #ifdef __GNUC__ | 1721 #ifdef __GNUC__ |
1705 yes; | 1722 yes; |
1706 #endif | 1723 #endif |
1707 EOF | 1724 EOF |
1708 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1709: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then | 1725 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1726: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then |
1709 ac_cv_prog_gcc=yes | 1726 ac_cv_prog_gcc=yes |
1710 else | 1727 else |
1711 ac_cv_prog_gcc=no | 1728 ac_cv_prog_gcc=no |
1712 fi | 1729 fi |
1713 | 1730 |
1717 GCC=yes | 1734 GCC=yes |
1718 ac_test_CFLAGS="${CFLAGS+set}" | 1735 ac_test_CFLAGS="${CFLAGS+set}" |
1719 ac_save_CFLAGS="$CFLAGS" | 1736 ac_save_CFLAGS="$CFLAGS" |
1720 CFLAGS= | 1737 CFLAGS= |
1721 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 | 1738 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 |
1722 echo "configure:1723: checking whether ${CC-cc} accepts -g" >&5 | 1739 echo "configure:1740: checking whether ${CC-cc} accepts -g" >&5 |
1723 | 1740 |
1724 echo 'void f(){}' > conftest.c | 1741 echo 'void f(){}' > conftest.c |
1725 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then | 1742 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then |
1726 ac_cv_prog_cc_g=yes | 1743 ac_cv_prog_cc_g=yes |
1727 else | 1744 else |
1746 elif test "$with_gcc" = "yes" -a "$GCC" != "yes" ; then | 1763 elif test "$with_gcc" = "yes" -a "$GCC" != "yes" ; then |
1747 CC=gcc | 1764 CC=gcc |
1748 # Extract the first word of "gcc", so it can be a program name with args. | 1765 # Extract the first word of "gcc", so it can be a program name with args. |
1749 set dummy gcc; ac_word=$2 | 1766 set dummy gcc; ac_word=$2 |
1750 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 1767 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
1751 echo "configure:1752: checking for $ac_word" >&5 | 1768 echo "configure:1769: checking for $ac_word" >&5 |
1752 | 1769 |
1753 if test -n "$CC"; then | 1770 if test -n "$CC"; then |
1754 ac_cv_prog_CC="$CC" # Let the user override the test. | 1771 ac_cv_prog_CC="$CC" # Let the user override the test. |
1755 else | 1772 else |
1756 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" | 1773 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" |
1772 | 1789 |
1773 if test -z "$CC"; then | 1790 if test -z "$CC"; then |
1774 # Extract the first word of "cc", so it can be a program name with args. | 1791 # Extract the first word of "cc", so it can be a program name with args. |
1775 set dummy cc; ac_word=$2 | 1792 set dummy cc; ac_word=$2 |
1776 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 1793 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
1777 echo "configure:1778: checking for $ac_word" >&5 | 1794 echo "configure:1795: checking for $ac_word" >&5 |
1778 | 1795 |
1779 if test -n "$CC"; then | 1796 if test -n "$CC"; then |
1780 ac_cv_prog_CC="$CC" # Let the user override the test. | 1797 ac_cv_prog_CC="$CC" # Let the user override the test. |
1781 else | 1798 else |
1782 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" | 1799 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" |
1817 | 1834 |
1818 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } | 1835 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } |
1819 fi | 1836 fi |
1820 | 1837 |
1821 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 | 1838 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 |
1822 echo "configure:1823: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 | 1839 echo "configure:1840: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 |
1823 | 1840 |
1824 ac_ext=c | 1841 ac_ext=c |
1825 xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS' | 1842 xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS' |
1826 xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_switch_x_site $ld_switch_run' | 1843 xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_switch_x_site $ld_switch_run' |
1827 xe_libs='$xe_check_libs $X_EXTRA_LIBS $libs_x $X_PRE_LIBS $LIBS $libs_machine $libs_system $libs_standard' | 1844 xe_libs='$ld_call_shared $xe_check_libs $X_EXTRA_LIBS $libs_x $X_PRE_LIBS $LIBS $libs_machine $libs_system $libs_standard' |
1828 ac_cpp='$CPP '"$xe_cppflags" | 1845 ac_cpp='$CPP '"$xe_cppflags" |
1829 ac_compile='${CC-cc} -c $CFLAGS '"$xe_cppflags"' conftest.$ac_ext 1>&5' | 1846 ac_compile='${CC-cc} -c $CFLAGS '"$xe_cppflags"' conftest.$ac_ext 1>&5' |
1830 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' | 1847 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' |
1831 cross_compiling=no | 1848 cross_compiling=no |
1832 | 1849 |
1833 cat > conftest.$ac_ext <<EOF | 1850 cat > conftest.$ac_ext <<EOF |
1834 #line 1835 "configure" | 1851 #line 1852 "configure" |
1835 #include "confdefs.h" | 1852 #include "confdefs.h" |
1836 main(){return(0);} | 1853 main(){return(0);} |
1837 EOF | 1854 EOF |
1838 if { (eval echo configure:1839: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 1855 if { (eval echo configure:1856: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
1839 ac_cv_prog_cc_works=yes | 1856 ac_cv_prog_cc_works=yes |
1840 # If we can't run a trivial program, we are probably using a cross compiler. | 1857 # If we can't run a trivial program, we are probably using a cross compiler. |
1841 if (./conftest; exit) 2>/dev/null; then | 1858 if (./conftest; exit) 2>/dev/null; then |
1842 ac_cv_prog_cc_cross=no | 1859 ac_cv_prog_cc_cross=no |
1843 else | 1860 else |
1853 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 | 1870 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 |
1854 if test $ac_cv_prog_cc_works = no; then | 1871 if test $ac_cv_prog_cc_works = no; then |
1855 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } | 1872 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } |
1856 fi | 1873 fi |
1857 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 | 1874 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 |
1858 echo "configure:1859: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 | 1875 echo "configure:1876: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 |
1859 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 | 1876 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 |
1860 cross_compiling=$ac_cv_prog_cc_cross | 1877 cross_compiling=$ac_cv_prog_cc_cross |
1861 | 1878 |
1862 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 | 1879 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 |
1863 echo "configure:1864: checking whether we are using GNU C" >&5 | 1880 echo "configure:1881: checking whether we are using GNU C" >&5 |
1864 | 1881 |
1865 cat > conftest.c <<EOF | 1882 cat > conftest.c <<EOF |
1866 #ifdef __GNUC__ | 1883 #ifdef __GNUC__ |
1867 yes; | 1884 yes; |
1868 #endif | 1885 #endif |
1869 EOF | 1886 EOF |
1870 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1871: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then | 1887 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1888: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then |
1871 ac_cv_prog_gcc=yes | 1888 ac_cv_prog_gcc=yes |
1872 else | 1889 else |
1873 ac_cv_prog_gcc=no | 1890 ac_cv_prog_gcc=no |
1874 fi | 1891 fi |
1875 | 1892 |
1879 GCC=yes | 1896 GCC=yes |
1880 ac_test_CFLAGS="${CFLAGS+set}" | 1897 ac_test_CFLAGS="${CFLAGS+set}" |
1881 ac_save_CFLAGS="$CFLAGS" | 1898 ac_save_CFLAGS="$CFLAGS" |
1882 CFLAGS= | 1899 CFLAGS= |
1883 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 | 1900 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 |
1884 echo "configure:1885: checking whether ${CC-cc} accepts -g" >&5 | 1901 echo "configure:1902: checking whether ${CC-cc} accepts -g" >&5 |
1885 | 1902 |
1886 echo 'void f(){}' > conftest.c | 1903 echo 'void f(){}' > conftest.c |
1887 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then | 1904 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then |
1888 ac_cv_prog_cc_g=yes | 1905 ac_cv_prog_cc_g=yes |
1889 else | 1906 else |
1912 test -n "$CPP" -a -d "$CPP" && CPP= | 1929 test -n "$CPP" -a -d "$CPP" && CPP= |
1913 | 1930 |
1914 test -n "$NON_GNU_CPP" -a "$GCC" != "yes" -a -z "$CPP" && CPP="$NON_GNU_CPP" | 1931 test -n "$NON_GNU_CPP" -a "$GCC" != "yes" -a -z "$CPP" && CPP="$NON_GNU_CPP" |
1915 | 1932 |
1916 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6 | 1933 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6 |
1917 echo "configure:1918: checking how to run the C preprocessor" >&5 | 1934 echo "configure:1935: checking how to run the C preprocessor" >&5 |
1918 # On Suns, sometimes $CPP names a directory. | 1935 # On Suns, sometimes $CPP names a directory. |
1919 if test -n "$CPP" && test -d "$CPP"; then | 1936 if test -n "$CPP" && test -d "$CPP"; then |
1920 CPP= | 1937 CPP= |
1921 fi | 1938 fi |
1922 if test -z "$CPP"; then | 1939 if test -z "$CPP"; then |
1925 # substituted into the Makefile and "${CC-cc}" will confuse make. | 1942 # substituted into the Makefile and "${CC-cc}" will confuse make. |
1926 CPP="${CC-cc} -E" | 1943 CPP="${CC-cc} -E" |
1927 # On the NeXT, cc -E runs the code through the compiler's parser, | 1944 # On the NeXT, cc -E runs the code through the compiler's parser, |
1928 # not just through cpp. | 1945 # not just through cpp. |
1929 cat > conftest.$ac_ext <<EOF | 1946 cat > conftest.$ac_ext <<EOF |
1930 #line 1931 "configure" | |
1931 #include "confdefs.h" | |
1932 #include <assert.h> | |
1933 Syntax Error | |
1934 EOF | |
1935 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | |
1936 { (eval echo configure:1937: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | |
1937 ac_err=`grep -v '^ *+' conftest.out` | |
1938 if test -z "$ac_err"; then | |
1939 : | |
1940 else | |
1941 echo "$ac_err" >&5 | |
1942 echo "configure: failed program was:" >&5 | |
1943 cat conftest.$ac_ext >&5 | |
1944 rm -rf conftest* | |
1945 CPP="${CC-cc} -E -traditional-cpp" | |
1946 cat > conftest.$ac_ext <<EOF | |
1947 #line 1948 "configure" | 1947 #line 1948 "configure" |
1948 #include "confdefs.h" | 1948 #include "confdefs.h" |
1949 #include <assert.h> | 1949 #include <assert.h> |
1950 Syntax Error | 1950 Syntax Error |
1951 EOF | 1951 EOF |
1957 else | 1957 else |
1958 echo "$ac_err" >&5 | 1958 echo "$ac_err" >&5 |
1959 echo "configure: failed program was:" >&5 | 1959 echo "configure: failed program was:" >&5 |
1960 cat conftest.$ac_ext >&5 | 1960 cat conftest.$ac_ext >&5 |
1961 rm -rf conftest* | 1961 rm -rf conftest* |
1962 CPP="${CC-cc} -E -traditional-cpp" | |
1963 cat > conftest.$ac_ext <<EOF | |
1964 #line 1965 "configure" | |
1965 #include "confdefs.h" | |
1966 #include <assert.h> | |
1967 Syntax Error | |
1968 EOF | |
1969 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | |
1970 { (eval echo configure:1971: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | |
1971 ac_err=`grep -v '^ *+' conftest.out` | |
1972 if test -z "$ac_err"; then | |
1973 : | |
1974 else | |
1975 echo "$ac_err" >&5 | |
1976 echo "configure: failed program was:" >&5 | |
1977 cat conftest.$ac_ext >&5 | |
1978 rm -rf conftest* | |
1962 CPP=/lib/cpp | 1979 CPP=/lib/cpp |
1963 fi | 1980 fi |
1964 rm -f conftest* | 1981 rm -f conftest* |
1965 fi | 1982 fi |
1966 rm -f conftest* | 1983 rm -f conftest* |
1971 fi | 1988 fi |
1972 echo "$ac_t""$CPP" 1>&6 | 1989 echo "$ac_t""$CPP" 1>&6 |
1973 | 1990 |
1974 | 1991 |
1975 echo $ac_n "checking for AIX""... $ac_c" 1>&6 | 1992 echo $ac_n "checking for AIX""... $ac_c" 1>&6 |
1976 echo "configure:1977: checking for AIX" >&5 | 1993 echo "configure:1994: checking for AIX" >&5 |
1977 cat > conftest.$ac_ext <<EOF | 1994 cat > conftest.$ac_ext <<EOF |
1978 #line 1979 "configure" | 1995 #line 1996 "configure" |
1979 #include "confdefs.h" | 1996 #include "confdefs.h" |
1980 #ifdef _AIX | 1997 #ifdef _AIX |
1981 yes | 1998 yes |
1982 #endif | 1999 #endif |
1983 | 2000 |
2000 rm -f conftest* | 2017 rm -f conftest* |
2001 | 2018 |
2002 | 2019 |
2003 | 2020 |
2004 echo $ac_n "checking whether we are using SunPro C""... $ac_c" 1>&6 | 2021 echo $ac_n "checking whether we are using SunPro C""... $ac_c" 1>&6 |
2005 echo "configure:2006: checking whether we are using SunPro C" >&5 | 2022 echo "configure:2023: checking whether we are using SunPro C" >&5 |
2006 cat > conftest.$ac_ext <<EOF | 2023 cat > conftest.$ac_ext <<EOF |
2007 #line 2008 "configure" | 2024 #line 2025 "configure" |
2008 #include "confdefs.h" | 2025 #include "confdefs.h" |
2009 | 2026 |
2010 int main() { | 2027 int main() { |
2011 #ifndef __SUNPRO_C | 2028 #ifndef __SUNPRO_C |
2012 #error Not a SunPro compiler :-( | 2029 #error Not a SunPro compiler :-( |
2013 ******* ======= ******** &&&&&&&& | 2030 ******* ======= ******** &&&&&&&& |
2014 #endif | 2031 #endif |
2015 | 2032 |
2016 ; return 0; } | 2033 ; return 0; } |
2017 EOF | 2034 EOF |
2018 if { (eval echo configure:2019: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 2035 if { (eval echo configure:2036: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
2019 rm -rf conftest* | 2036 rm -rf conftest* |
2020 __sunpro_c=yes | 2037 __sunpro_c=yes |
2021 else | 2038 else |
2022 echo "configure: failed program was:" >&5 | 2039 echo "configure: failed program was:" >&5 |
2023 cat conftest.$ac_ext >&5 | 2040 cat conftest.$ac_ext >&5 |
2116 #ifndef UNEXEC | 2133 #ifndef UNEXEC |
2117 #define UNEXEC "unexec.o" | 2134 #define UNEXEC "unexec.o" |
2118 #endif | 2135 #endif |
2119 configure___ unexec=UNEXEC | 2136 configure___ unexec=UNEXEC |
2120 | 2137 |
2121 | |
2122 #ifndef LD_SWITCH_CALL_SHARED | |
2123 #define LD_SWITCH_CALL_SHARED | |
2124 #endif | |
2125 configure___ ld_switch_call_shared=LD_SWITCH_CALL_SHARED | |
2126 | 2138 |
2127 #ifndef LD_SWITCH_SHARED | 2139 #ifndef LD_SWITCH_SHARED |
2128 #define LD_SWITCH_SHARED "-c" | 2140 #define LD_SWITCH_SHARED "-c" |
2129 #endif | 2141 #endif |
2130 configure___ ld_switch_shared=LD_SWITCH_SHARED | 2142 configure___ ld_switch_shared=LD_SWITCH_SHARED |
2240 | sed -n -e "s/[ ]*=[ \"]*/='/" -e "s/[ \"]*\$/'/" -e "s/^configure___//p"` | 2252 | sed -n -e "s/[ ]*=[ \"]*/='/" -e "s/[ \"]*\$/'/" -e "s/^configure___//p"` |
2241 | 2253 |
2242 rm $tempcname | 2254 rm $tempcname |
2243 | 2255 |
2244 test "$extra_verbose" = "yes" && \ | 2256 test "$extra_verbose" = "yes" && \ |
2245 for var in libs_machine libs_system libs_termcap libs_standard objects_machine objects_system c_switch_machine c_switch_system c_switch_x_system ld_switch_machine ld_switch_system ld_switch_x_system unexec ld_switch_call_shared ld_switch_shared ld lib_gcc ld_text_start_addr start_files ordinary_link have_terminfo mail_use_flock mail_use_lockf; do eval "echo \"$var = '\$$var'\""; done && echo "" | 2257 for var in libs_machine libs_system libs_termcap libs_standard objects_machine objects_system c_switch_machine c_switch_system c_switch_x_system ld_switch_machine ld_switch_system ld_switch_x_system unexec ld_switch_shared ld lib_gcc ld_text_start_addr start_files ordinary_link have_terminfo mail_use_flock mail_use_lockf; do eval "echo \"$var = '\$$var'\""; done && echo "" |
2246 | |
2247 | 2258 |
2248 test "$ordinary_link" = "no" -a -z "$libs_standard" && libs_standard="-lc" | 2259 test "$ordinary_link" = "no" -a -z "$libs_standard" && libs_standard="-lc" |
2249 | 2260 |
2250 if test -z "$CFLAGS"; then | 2261 if test -z "$CFLAGS"; then |
2251 if test "$GCC" = "yes"; then | 2262 if test "$GCC" = "yes"; then |
2252 CFLAGS="-g -O2" | 2263 CFLAGS="-g -O2 -Wall" |
2253 test "$opsys" = "linux" -a "$machine" = "intel386" && \ | 2264 test "$opsys" = "linux" -a "$machine" = "intel386" && \ |
2254 CFLAGS="$CFLAGS -fno-strength-reduce -malign-loops=2 -malign-jumps=2 -malign-functions=2" | 2265 CFLAGS="$CFLAGS -fno-strength-reduce -malign-loops=2 -malign-jumps=2 -malign-functions=2" |
2255 elif test "$__sunpro_c" = "yes"; then | 2266 elif test "$__sunpro_c" = "yes"; then |
2256 case "$opsys" in | 2267 case "$opsys" in |
2257 sol2 ) CFLAGS="-v -xO4" ;; | 2268 sol2 ) CFLAGS="-v -xO4" ;; |
2285 -L* | -l* | -R* | -u* | -Wl* | -f* ) LDFLAGS="$LDFLAGS $arg" ;; | 2296 -L* | -l* | -R* | -u* | -Wl* | -f* ) LDFLAGS="$LDFLAGS $arg" ;; |
2286 -Xlinker* ) ;; | 2297 -Xlinker* ) ;; |
2287 * ) LDFLAGS="$LDFLAGS -Xlinker $arg" ;; | 2298 * ) LDFLAGS="$LDFLAGS -Xlinker $arg" ;; |
2288 esac | 2299 esac |
2289 done | 2300 done |
2301 ld_call_shared_tmp="$ld_call_shared"; ld_call_shared="" | |
2302 for arg in $ld_call_shared_tmp; do | |
2303 case "$arg" in | |
2304 -L* | -l* | -R* | -u* | -Wl* | -f* ) ld_call_shared="$ld_call_shared $arg" ;; | |
2305 -Xlinker* ) ;; | |
2306 * ) ld_call_shared="$ld_call_shared -Xlinker $arg" ;; | |
2307 esac | |
2308 done | |
2290 fi | 2309 fi |
2291 | 2310 |
2292 test -n "$objects_machine" && extra_objs="$extra_objs $objects_machine" && if test "$extra_verbose" = "yes"; then | 2311 test -n "$objects_machine" && extra_objs="$extra_objs $objects_machine" && if test "$extra_verbose" = "yes"; then |
2293 echo " xemacs will be linked with \"$objects_machine\"" | 2312 echo " xemacs will be linked with \"$objects_machine\"" |
2294 fi | 2313 fi |
2298 test -n "$unexec" && extra_objs="$extra_objs $unexec" && if test "$extra_verbose" = "yes"; then | 2317 test -n "$unexec" && extra_objs="$extra_objs $unexec" && if test "$extra_verbose" = "yes"; then |
2299 echo " xemacs will be linked with \"$unexec\"" | 2318 echo " xemacs will be linked with \"$unexec\"" |
2300 fi | 2319 fi |
2301 | 2320 |
2302 echo $ac_n "checking for dynodump""... $ac_c" 1>&6 | 2321 echo $ac_n "checking for dynodump""... $ac_c" 1>&6 |
2303 echo "configure:2304: checking for dynodump" >&5 | 2322 echo "configure:2323: checking for dynodump" >&5 |
2304 if test "$unexec" != "unexsol2.o"; then | 2323 if test "$unexec" != "unexsol2.o"; then |
2305 echo "$ac_t""no" 1>&6 | 2324 echo "$ac_t""no" 1>&6 |
2306 else | 2325 else |
2307 echo "$ac_t""yes" 1>&6 | 2326 echo "$ac_t""yes" 1>&6 |
2308 { test "$extra_verbose" = "yes" && cat << \EOF | 2327 { test "$extra_verbose" = "yes" && cat << \EOF |
2322 test "$GCC" = "yes" && ld_switch_site="$ld_switch_site -fno-gnu-linker" && if test "$extra_verbose" = "yes"; then echo " Appending \"-fno-gnu-linker\" to \$ld_switch_site"; fi | 2341 test "$GCC" = "yes" && ld_switch_site="$ld_switch_site -fno-gnu-linker" && if test "$extra_verbose" = "yes"; then echo " Appending \"-fno-gnu-linker\" to \$ld_switch_site"; fi |
2323 fi | 2342 fi |
2324 | 2343 |
2325 | 2344 |
2326 | 2345 |
2327 | |
2328 test -n "$ld_text_start_addr" && start_flags="-T $ld_text_start_addr -e __start" | 2346 test -n "$ld_text_start_addr" && start_flags="-T $ld_text_start_addr -e __start" |
2329 | 2347 |
2330 if test "$ordinary_link" = "no" -a "$GCC" = "yes"; then | 2348 if test "$ordinary_link" = "no" -a "$GCC" = "yes"; then |
2331 test -z "$linker" && linker='$(CC) -nostdlib' | 2349 test -z "$linker" && linker='$(CC) -nostdlib' |
2332 test -z "$lib_gcc" && lib_gcc='`$(CC) -print-lib-gccfile-name`' | 2350 test -z "$lib_gcc" && lib_gcc='`$(CC) -print-lib-gccfile-name`' |
2369 esac | 2387 esac |
2370 fi | 2388 fi |
2371 | 2389 |
2372 if test "$add_runtime_path" = "yes"; then | 2390 if test "$add_runtime_path" = "yes"; then |
2373 echo $ac_n "checking "for runtime libraries flag"""... $ac_c" 1>&6 | 2391 echo $ac_n "checking "for runtime libraries flag"""... $ac_c" 1>&6 |
2374 echo "configure:2375: checking "for runtime libraries flag"" >&5 | 2392 echo "configure:2393: checking "for runtime libraries flag"" >&5 |
2375 dash_r="" | 2393 dash_r="" |
2376 for try_dash_r in "-R" "-R " "-rpath "; do | 2394 for try_dash_r in "-R" "-R " "-rpath "; do |
2377 xe_check_libs="${try_dash_r}/no/such/file-or-directory" | 2395 xe_check_libs="${try_dash_r}/no/such/file-or-directory" |
2378 cat > conftest.$ac_ext <<EOF | 2396 cat > conftest.$ac_ext <<EOF |
2379 #line 2380 "configure" | 2397 #line 2398 "configure" |
2380 #include "confdefs.h" | 2398 #include "confdefs.h" |
2381 | 2399 |
2382 int main() { | 2400 int main() { |
2383 | 2401 |
2384 ; return 0; } | 2402 ; return 0; } |
2385 EOF | 2403 EOF |
2386 if { (eval echo configure:2387: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 2404 if { (eval echo configure:2405: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
2387 rm -rf conftest* | 2405 rm -rf conftest* |
2388 dash_r="$try_dash_r" | 2406 dash_r="$try_dash_r" |
2389 else | 2407 else |
2390 echo "configure: failed program was:" >&5 | 2408 echo "configure: failed program was:" >&5 |
2391 cat conftest.$ac_ext >&5 | 2409 cat conftest.$ac_ext >&5 |
2475 | 2493 |
2476 | 2494 |
2477 # Extract the first word of "ranlib", so it can be a program name with args. | 2495 # Extract the first word of "ranlib", so it can be a program name with args. |
2478 set dummy ranlib; ac_word=$2 | 2496 set dummy ranlib; ac_word=$2 |
2479 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 2497 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
2480 echo "configure:2481: checking for $ac_word" >&5 | 2498 echo "configure:2499: checking for $ac_word" >&5 |
2481 | 2499 |
2482 if test -n "$RANLIB"; then | 2500 if test -n "$RANLIB"; then |
2483 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. | 2501 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. |
2484 else | 2502 else |
2485 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" | 2503 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" |
2528 # AIX /bin/install | 2546 # AIX /bin/install |
2529 # AFS /usr/afsws/bin/install, which mishandles nonexistent args | 2547 # AFS /usr/afsws/bin/install, which mishandles nonexistent args |
2530 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" | 2548 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" |
2531 # ./install, which can be erroneously created by make from ./install.sh. | 2549 # ./install, which can be erroneously created by make from ./install.sh. |
2532 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 | 2550 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 |
2533 echo "configure:2534: checking for a BSD compatible install" >&5 | 2551 echo "configure:2552: checking for a BSD compatible install" >&5 |
2534 if test -z "$INSTALL"; then | 2552 if test -z "$INSTALL"; then |
2535 | 2553 |
2536 IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS="${IFS}:" | 2554 IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS="${IFS}:" |
2537 for ac_dir in $PATH; do | 2555 for ac_dir in $PATH; do |
2538 # Account for people who put trailing slashes in PATH elements. | 2556 # Account for people who put trailing slashes in PATH elements. |
2579 for ac_prog in 'bison -y' byacc | 2597 for ac_prog in 'bison -y' byacc |
2580 do | 2598 do |
2581 # Extract the first word of "$ac_prog", so it can be a program name with args. | 2599 # Extract the first word of "$ac_prog", so it can be a program name with args. |
2582 set dummy $ac_prog; ac_word=$2 | 2600 set dummy $ac_prog; ac_word=$2 |
2583 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 2601 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
2584 echo "configure:2585: checking for $ac_word" >&5 | 2602 echo "configure:2603: checking for $ac_word" >&5 |
2585 | 2603 |
2586 if test -n "$YACC"; then | 2604 if test -n "$YACC"; then |
2587 ac_cv_prog_YACC="$YACC" # Let the user override the test. | 2605 ac_cv_prog_YACC="$YACC" # Let the user override the test. |
2588 else | 2606 else |
2589 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" | 2607 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" |
2610 | 2628 |
2611 for ac_hdr in mach/mach.h sys/stropts.h sys/timeb.h sys/time.h unistd.h | 2629 for ac_hdr in mach/mach.h sys/stropts.h sys/timeb.h sys/time.h unistd.h |
2612 do | 2630 do |
2613 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 2631 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
2614 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 2632 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
2615 echo "configure:2616: checking for $ac_hdr" >&5 | 2633 echo "configure:2634: checking for $ac_hdr" >&5 |
2616 | 2634 |
2617 cat > conftest.$ac_ext <<EOF | 2635 cat > conftest.$ac_ext <<EOF |
2618 #line 2619 "configure" | 2636 #line 2637 "configure" |
2619 #include "confdefs.h" | 2637 #include "confdefs.h" |
2620 #include <$ac_hdr> | 2638 #include <$ac_hdr> |
2621 EOF | 2639 EOF |
2622 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 2640 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
2623 { (eval echo configure:2624: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 2641 { (eval echo configure:2642: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
2624 ac_err=`grep -v '^ *+' conftest.out` | 2642 ac_err=`grep -v '^ *+' conftest.out` |
2625 if test -z "$ac_err"; then | 2643 if test -z "$ac_err"; then |
2626 rm -rf conftest* | 2644 rm -rf conftest* |
2627 eval "ac_cv_header_$ac_safe=yes" | 2645 eval "ac_cv_header_$ac_safe=yes" |
2628 else | 2646 else |
2651 | 2669 |
2652 for ac_hdr in utime.h locale.h libgen.h fcntl.h ulimit.h | 2670 for ac_hdr in utime.h locale.h libgen.h fcntl.h ulimit.h |
2653 do | 2671 do |
2654 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 2672 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
2655 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 2673 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
2656 echo "configure:2657: checking for $ac_hdr" >&5 | 2674 echo "configure:2675: checking for $ac_hdr" >&5 |
2657 | 2675 |
2658 cat > conftest.$ac_ext <<EOF | 2676 cat > conftest.$ac_ext <<EOF |
2659 #line 2660 "configure" | 2677 #line 2678 "configure" |
2660 #include "confdefs.h" | 2678 #include "confdefs.h" |
2661 #include <$ac_hdr> | 2679 #include <$ac_hdr> |
2662 EOF | 2680 EOF |
2663 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 2681 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
2664 { (eval echo configure:2665: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 2682 { (eval echo configure:2683: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
2665 ac_err=`grep -v '^ *+' conftest.out` | 2683 ac_err=`grep -v '^ *+' conftest.out` |
2666 if test -z "$ac_err"; then | 2684 if test -z "$ac_err"; then |
2667 rm -rf conftest* | 2685 rm -rf conftest* |
2668 eval "ac_cv_header_$ac_safe=yes" | 2686 eval "ac_cv_header_$ac_safe=yes" |
2669 else | 2687 else |
2692 | 2710 |
2693 for ac_hdr in linux/version.h kstat.h sys/pstat.h inttypes.h limits.h | 2711 for ac_hdr in linux/version.h kstat.h sys/pstat.h inttypes.h limits.h |
2694 do | 2712 do |
2695 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 2713 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
2696 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 2714 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
2697 echo "configure:2698: checking for $ac_hdr" >&5 | 2715 echo "configure:2716: checking for $ac_hdr" >&5 |
2698 | 2716 |
2699 cat > conftest.$ac_ext <<EOF | 2717 cat > conftest.$ac_ext <<EOF |
2700 #line 2701 "configure" | 2718 #line 2719 "configure" |
2701 #include "confdefs.h" | 2719 #include "confdefs.h" |
2702 #include <$ac_hdr> | 2720 #include <$ac_hdr> |
2703 EOF | 2721 EOF |
2704 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 2722 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
2705 { (eval echo configure:2706: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 2723 { (eval echo configure:2724: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
2706 ac_err=`grep -v '^ *+' conftest.out` | 2724 ac_err=`grep -v '^ *+' conftest.out` |
2707 if test -z "$ac_err"; then | 2725 if test -z "$ac_err"; then |
2708 rm -rf conftest* | 2726 rm -rf conftest* |
2709 eval "ac_cv_header_$ac_safe=yes" | 2727 eval "ac_cv_header_$ac_safe=yes" |
2710 else | 2728 else |
2730 echo "$ac_t""no" 1>&6 | 2748 echo "$ac_t""no" 1>&6 |
2731 fi | 2749 fi |
2732 done | 2750 done |
2733 | 2751 |
2734 echo $ac_n "checking for sys/wait.h that is POSIX.1 compatible""... $ac_c" 1>&6 | 2752 echo $ac_n "checking for sys/wait.h that is POSIX.1 compatible""... $ac_c" 1>&6 |
2735 echo "configure:2736: checking for sys/wait.h that is POSIX.1 compatible" >&5 | 2753 echo "configure:2754: checking for sys/wait.h that is POSIX.1 compatible" >&5 |
2736 | 2754 |
2737 cat > conftest.$ac_ext <<EOF | 2755 cat > conftest.$ac_ext <<EOF |
2738 #line 2739 "configure" | 2756 #line 2757 "configure" |
2739 #include "confdefs.h" | 2757 #include "confdefs.h" |
2740 #include <sys/types.h> | 2758 #include <sys/types.h> |
2741 #include <sys/wait.h> | 2759 #include <sys/wait.h> |
2742 #ifndef WEXITSTATUS | 2760 #ifndef WEXITSTATUS |
2743 #define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8) | 2761 #define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8) |
2749 int s; | 2767 int s; |
2750 wait (&s); | 2768 wait (&s); |
2751 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1; | 2769 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1; |
2752 ; return 0; } | 2770 ; return 0; } |
2753 EOF | 2771 EOF |
2754 if { (eval echo configure:2755: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 2772 if { (eval echo configure:2773: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
2755 rm -rf conftest* | 2773 rm -rf conftest* |
2756 ac_cv_header_sys_wait_h=yes | 2774 ac_cv_header_sys_wait_h=yes |
2757 else | 2775 else |
2758 echo "configure: failed program was:" >&5 | 2776 echo "configure: failed program was:" >&5 |
2759 cat conftest.$ac_ext >&5 | 2777 cat conftest.$ac_ext >&5 |
2773 } | 2791 } |
2774 | 2792 |
2775 fi | 2793 fi |
2776 | 2794 |
2777 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6 | 2795 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6 |
2778 echo "configure:2779: checking for ANSI C header files" >&5 | 2796 echo "configure:2797: checking for ANSI C header files" >&5 |
2779 | 2797 |
2780 cat > conftest.$ac_ext <<EOF | 2798 cat > conftest.$ac_ext <<EOF |
2781 #line 2782 "configure" | 2799 #line 2800 "configure" |
2782 #include "confdefs.h" | 2800 #include "confdefs.h" |
2783 #include <stdlib.h> | 2801 #include <stdlib.h> |
2784 #include <stdarg.h> | 2802 #include <stdarg.h> |
2785 #include <string.h> | 2803 #include <string.h> |
2786 #include <float.h> | 2804 #include <float.h> |
2787 EOF | 2805 EOF |
2788 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 2806 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
2789 { (eval echo configure:2790: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 2807 { (eval echo configure:2808: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
2790 ac_err=`grep -v '^ *+' conftest.out` | 2808 ac_err=`grep -v '^ *+' conftest.out` |
2791 if test -z "$ac_err"; then | 2809 if test -z "$ac_err"; then |
2792 rm -rf conftest* | 2810 rm -rf conftest* |
2793 ac_cv_header_stdc=yes | 2811 ac_cv_header_stdc=yes |
2794 else | 2812 else |
2801 rm -f conftest* | 2819 rm -f conftest* |
2802 | 2820 |
2803 if test $ac_cv_header_stdc = yes; then | 2821 if test $ac_cv_header_stdc = yes; then |
2804 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. | 2822 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. |
2805 cat > conftest.$ac_ext <<EOF | 2823 cat > conftest.$ac_ext <<EOF |
2806 #line 2807 "configure" | 2824 #line 2825 "configure" |
2807 #include "confdefs.h" | 2825 #include "confdefs.h" |
2808 #include <string.h> | 2826 #include <string.h> |
2809 EOF | 2827 EOF |
2810 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 2828 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
2811 egrep "memchr" >/dev/null 2>&1; then | 2829 egrep "memchr" >/dev/null 2>&1; then |
2819 fi | 2837 fi |
2820 | 2838 |
2821 if test $ac_cv_header_stdc = yes; then | 2839 if test $ac_cv_header_stdc = yes; then |
2822 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. | 2840 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. |
2823 cat > conftest.$ac_ext <<EOF | 2841 cat > conftest.$ac_ext <<EOF |
2824 #line 2825 "configure" | 2842 #line 2843 "configure" |
2825 #include "confdefs.h" | 2843 #include "confdefs.h" |
2826 #include <stdlib.h> | 2844 #include <stdlib.h> |
2827 EOF | 2845 EOF |
2828 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 2846 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
2829 egrep "free" >/dev/null 2>&1; then | 2847 egrep "free" >/dev/null 2>&1; then |
2837 fi | 2855 fi |
2838 | 2856 |
2839 if test $ac_cv_header_stdc = yes; then | 2857 if test $ac_cv_header_stdc = yes; then |
2840 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. | 2858 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. |
2841 cat > conftest.$ac_ext <<EOF | 2859 cat > conftest.$ac_ext <<EOF |
2842 #line 2843 "configure" | 2860 #line 2861 "configure" |
2843 #include "confdefs.h" | 2861 #include "confdefs.h" |
2844 #include <ctype.h> | 2862 #include <ctype.h> |
2845 #define ISLOWER(c) ('a' <= (c) && (c) <= 'z') | 2863 #define ISLOWER(c) ('a' <= (c) && (c) <= 'z') |
2846 #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) | 2864 #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) |
2847 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) | 2865 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) |
2848 int main () { int i; for (i = 0; i < 256; i++) | 2866 int main () { int i; for (i = 0; i < 256; i++) |
2849 if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2); | 2867 if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2); |
2850 exit (0); } | 2868 exit (0); } |
2851 | 2869 |
2852 EOF | 2870 EOF |
2853 if { (eval echo configure:2854: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 | 2871 if { (eval echo configure:2872: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 |
2854 then | 2872 then |
2855 : | 2873 : |
2856 else | 2874 else |
2857 echo "configure: failed program was:" >&5 | 2875 echo "configure: failed program was:" >&5 |
2858 cat conftest.$ac_ext >&5 | 2876 cat conftest.$ac_ext >&5 |
2873 } | 2891 } |
2874 | 2892 |
2875 fi | 2893 fi |
2876 | 2894 |
2877 echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6 | 2895 echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6 |
2878 echo "configure:2879: checking whether time.h and sys/time.h may both be included" >&5 | 2896 echo "configure:2897: checking whether time.h and sys/time.h may both be included" >&5 |
2879 | 2897 |
2880 cat > conftest.$ac_ext <<EOF | 2898 cat > conftest.$ac_ext <<EOF |
2881 #line 2882 "configure" | 2899 #line 2900 "configure" |
2882 #include "confdefs.h" | 2900 #include "confdefs.h" |
2883 #include <sys/types.h> | 2901 #include <sys/types.h> |
2884 #include <sys/time.h> | 2902 #include <sys/time.h> |
2885 #include <time.h> | 2903 #include <time.h> |
2886 int main() { | 2904 int main() { |
2887 struct tm *tp; | 2905 struct tm *tp; |
2888 ; return 0; } | 2906 ; return 0; } |
2889 EOF | 2907 EOF |
2890 if { (eval echo configure:2891: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 2908 if { (eval echo configure:2909: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
2891 rm -rf conftest* | 2909 rm -rf conftest* |
2892 ac_cv_header_time=yes | 2910 ac_cv_header_time=yes |
2893 else | 2911 else |
2894 echo "configure: failed program was:" >&5 | 2912 echo "configure: failed program was:" >&5 |
2895 cat conftest.$ac_ext >&5 | 2913 cat conftest.$ac_ext >&5 |
2909 } | 2927 } |
2910 | 2928 |
2911 fi | 2929 fi |
2912 | 2930 |
2913 echo $ac_n "checking for sys_siglist declaration in signal.h or unistd.h""... $ac_c" 1>&6 | 2931 echo $ac_n "checking for sys_siglist declaration in signal.h or unistd.h""... $ac_c" 1>&6 |
2914 echo "configure:2915: checking for sys_siglist declaration in signal.h or unistd.h" >&5 | 2932 echo "configure:2933: checking for sys_siglist declaration in signal.h or unistd.h" >&5 |
2915 | 2933 |
2916 cat > conftest.$ac_ext <<EOF | 2934 cat > conftest.$ac_ext <<EOF |
2917 #line 2918 "configure" | 2935 #line 2936 "configure" |
2918 #include "confdefs.h" | 2936 #include "confdefs.h" |
2919 #include <sys/types.h> | 2937 #include <sys/types.h> |
2920 #include <signal.h> | 2938 #include <signal.h> |
2921 /* NetBSD declares sys_siglist in unistd.h. */ | 2939 /* NetBSD declares sys_siglist in unistd.h. */ |
2922 #ifdef HAVE_UNISTD_H | 2940 #ifdef HAVE_UNISTD_H |
2924 #endif | 2942 #endif |
2925 int main() { | 2943 int main() { |
2926 char *msg = *(sys_siglist + 1); | 2944 char *msg = *(sys_siglist + 1); |
2927 ; return 0; } | 2945 ; return 0; } |
2928 EOF | 2946 EOF |
2929 if { (eval echo configure:2930: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 2947 if { (eval echo configure:2948: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
2930 rm -rf conftest* | 2948 rm -rf conftest* |
2931 ac_cv_decl_sys_siglist=yes | 2949 ac_cv_decl_sys_siglist=yes |
2932 else | 2950 else |
2933 echo "configure: failed program was:" >&5 | 2951 echo "configure: failed program was:" >&5 |
2934 cat conftest.$ac_ext >&5 | 2952 cat conftest.$ac_ext >&5 |
2949 | 2967 |
2950 fi | 2968 fi |
2951 | 2969 |
2952 | 2970 |
2953 echo $ac_n "checking for struct utimbuf""... $ac_c" 1>&6 | 2971 echo $ac_n "checking for struct utimbuf""... $ac_c" 1>&6 |
2954 echo "configure:2955: checking for struct utimbuf" >&5 | 2972 echo "configure:2973: checking for struct utimbuf" >&5 |
2955 cat > conftest.$ac_ext <<EOF | 2973 cat > conftest.$ac_ext <<EOF |
2956 #line 2957 "configure" | 2974 #line 2975 "configure" |
2957 #include "confdefs.h" | 2975 #include "confdefs.h" |
2958 #ifdef TIME_WITH_SYS_TIME | 2976 #ifdef TIME_WITH_SYS_TIME |
2959 #include <sys/time.h> | 2977 #include <sys/time.h> |
2960 #include <time.h> | 2978 #include <time.h> |
2961 #else | 2979 #else |
2970 #endif | 2988 #endif |
2971 int main() { | 2989 int main() { |
2972 static struct utimbuf x; x.actime = x.modtime; | 2990 static struct utimbuf x; x.actime = x.modtime; |
2973 ; return 0; } | 2991 ; return 0; } |
2974 EOF | 2992 EOF |
2975 if { (eval echo configure:2976: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 2993 if { (eval echo configure:2994: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
2976 rm -rf conftest* | 2994 rm -rf conftest* |
2977 echo "$ac_t""yes" 1>&6 | 2995 echo "$ac_t""yes" 1>&6 |
2978 { test "$extra_verbose" = "yes" && cat << \EOF | 2996 { test "$extra_verbose" = "yes" && cat << \EOF |
2979 Defining HAVE_STRUCT_UTIMBUF | 2997 Defining HAVE_STRUCT_UTIMBUF |
2980 EOF | 2998 EOF |
2990 echo "$ac_t""no" 1>&6 | 3008 echo "$ac_t""no" 1>&6 |
2991 fi | 3009 fi |
2992 rm -f conftest* | 3010 rm -f conftest* |
2993 | 3011 |
2994 echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6 | 3012 echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6 |
2995 echo "configure:2996: checking return type of signal handlers" >&5 | 3013 echo "configure:3014: checking return type of signal handlers" >&5 |
2996 | 3014 |
2997 cat > conftest.$ac_ext <<EOF | 3015 cat > conftest.$ac_ext <<EOF |
2998 #line 2999 "configure" | 3016 #line 3017 "configure" |
2999 #include "confdefs.h" | 3017 #include "confdefs.h" |
3000 #include <sys/types.h> | 3018 #include <sys/types.h> |
3001 #include <signal.h> | 3019 #include <signal.h> |
3002 #ifdef signal | 3020 #ifdef signal |
3003 #undef signal | 3021 #undef signal |
3010 | 3028 |
3011 int main() { | 3029 int main() { |
3012 int i; | 3030 int i; |
3013 ; return 0; } | 3031 ; return 0; } |
3014 EOF | 3032 EOF |
3015 if { (eval echo configure:3016: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3033 if { (eval echo configure:3034: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
3016 rm -rf conftest* | 3034 rm -rf conftest* |
3017 ac_cv_type_signal=void | 3035 ac_cv_type_signal=void |
3018 else | 3036 else |
3019 echo "configure: failed program was:" >&5 | 3037 echo "configure: failed program was:" >&5 |
3020 cat conftest.$ac_ext >&5 | 3038 cat conftest.$ac_ext >&5 |
3032 EOF | 3050 EOF |
3033 } | 3051 } |
3034 | 3052 |
3035 | 3053 |
3036 echo $ac_n "checking for size_t""... $ac_c" 1>&6 | 3054 echo $ac_n "checking for size_t""... $ac_c" 1>&6 |
3037 echo "configure:3038: checking for size_t" >&5 | 3055 echo "configure:3056: checking for size_t" >&5 |
3038 | 3056 |
3039 cat > conftest.$ac_ext <<EOF | 3057 cat > conftest.$ac_ext <<EOF |
3040 #line 3041 "configure" | 3058 #line 3059 "configure" |
3041 #include "confdefs.h" | 3059 #include "confdefs.h" |
3042 #include <sys/types.h> | 3060 #include <sys/types.h> |
3043 #if STDC_HEADERS | 3061 #if STDC_HEADERS |
3044 #include <stdlib.h> | 3062 #include <stdlib.h> |
3045 #include <stddef.h> | 3063 #include <stddef.h> |
3066 } | 3084 } |
3067 | 3085 |
3068 fi | 3086 fi |
3069 | 3087 |
3070 echo $ac_n "checking for pid_t""... $ac_c" 1>&6 | 3088 echo $ac_n "checking for pid_t""... $ac_c" 1>&6 |
3071 echo "configure:3072: checking for pid_t" >&5 | 3089 echo "configure:3090: checking for pid_t" >&5 |
3072 | 3090 |
3073 cat > conftest.$ac_ext <<EOF | 3091 cat > conftest.$ac_ext <<EOF |
3074 #line 3075 "configure" | 3092 #line 3093 "configure" |
3075 #include "confdefs.h" | 3093 #include "confdefs.h" |
3076 #include <sys/types.h> | 3094 #include <sys/types.h> |
3077 #if STDC_HEADERS | 3095 #if STDC_HEADERS |
3078 #include <stdlib.h> | 3096 #include <stdlib.h> |
3079 #include <stddef.h> | 3097 #include <stddef.h> |
3100 } | 3118 } |
3101 | 3119 |
3102 fi | 3120 fi |
3103 | 3121 |
3104 echo $ac_n "checking for uid_t in sys/types.h""... $ac_c" 1>&6 | 3122 echo $ac_n "checking for uid_t in sys/types.h""... $ac_c" 1>&6 |
3105 echo "configure:3106: checking for uid_t in sys/types.h" >&5 | 3123 echo "configure:3124: checking for uid_t in sys/types.h" >&5 |
3106 | 3124 |
3107 cat > conftest.$ac_ext <<EOF | 3125 cat > conftest.$ac_ext <<EOF |
3108 #line 3109 "configure" | 3126 #line 3127 "configure" |
3109 #include "confdefs.h" | 3127 #include "confdefs.h" |
3110 #include <sys/types.h> | 3128 #include <sys/types.h> |
3111 EOF | 3129 EOF |
3112 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 3130 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
3113 egrep "uid_t" >/dev/null 2>&1; then | 3131 egrep "uid_t" >/dev/null 2>&1; then |
3139 } | 3157 } |
3140 | 3158 |
3141 fi | 3159 fi |
3142 | 3160 |
3143 echo $ac_n "checking for mode_t""... $ac_c" 1>&6 | 3161 echo $ac_n "checking for mode_t""... $ac_c" 1>&6 |
3144 echo "configure:3145: checking for mode_t" >&5 | 3162 echo "configure:3163: checking for mode_t" >&5 |
3145 | 3163 |
3146 cat > conftest.$ac_ext <<EOF | 3164 cat > conftest.$ac_ext <<EOF |
3147 #line 3148 "configure" | 3165 #line 3166 "configure" |
3148 #include "confdefs.h" | 3166 #include "confdefs.h" |
3149 #include <sys/types.h> | 3167 #include <sys/types.h> |
3150 #if STDC_HEADERS | 3168 #if STDC_HEADERS |
3151 #include <stdlib.h> | 3169 #include <stdlib.h> |
3152 #include <stddef.h> | 3170 #include <stddef.h> |
3173 } | 3191 } |
3174 | 3192 |
3175 fi | 3193 fi |
3176 | 3194 |
3177 echo $ac_n "checking for off_t""... $ac_c" 1>&6 | 3195 echo $ac_n "checking for off_t""... $ac_c" 1>&6 |
3178 echo "configure:3179: checking for off_t" >&5 | 3196 echo "configure:3197: checking for off_t" >&5 |
3179 | 3197 |
3180 cat > conftest.$ac_ext <<EOF | 3198 cat > conftest.$ac_ext <<EOF |
3181 #line 3182 "configure" | 3199 #line 3200 "configure" |
3182 #include "confdefs.h" | 3200 #include "confdefs.h" |
3183 #include <sys/types.h> | 3201 #include <sys/types.h> |
3184 #if STDC_HEADERS | 3202 #if STDC_HEADERS |
3185 #include <stdlib.h> | 3203 #include <stdlib.h> |
3186 #include <stddef.h> | 3204 #include <stddef.h> |
3208 | 3226 |
3209 fi | 3227 fi |
3210 | 3228 |
3211 | 3229 |
3212 echo $ac_n "checking for struct timeval""... $ac_c" 1>&6 | 3230 echo $ac_n "checking for struct timeval""... $ac_c" 1>&6 |
3213 echo "configure:3214: checking for struct timeval" >&5 | 3231 echo "configure:3232: checking for struct timeval" >&5 |
3214 cat > conftest.$ac_ext <<EOF | 3232 cat > conftest.$ac_ext <<EOF |
3215 #line 3216 "configure" | 3233 #line 3234 "configure" |
3216 #include "confdefs.h" | 3234 #include "confdefs.h" |
3217 #ifdef TIME_WITH_SYS_TIME | 3235 #ifdef TIME_WITH_SYS_TIME |
3218 #include <sys/time.h> | 3236 #include <sys/time.h> |
3219 #include <time.h> | 3237 #include <time.h> |
3220 #else | 3238 #else |
3226 #endif | 3244 #endif |
3227 int main() { | 3245 int main() { |
3228 static struct timeval x; x.tv_sec = x.tv_usec; | 3246 static struct timeval x; x.tv_sec = x.tv_usec; |
3229 ; return 0; } | 3247 ; return 0; } |
3230 EOF | 3248 EOF |
3231 if { (eval echo configure:3232: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3249 if { (eval echo configure:3250: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
3232 rm -rf conftest* | 3250 rm -rf conftest* |
3233 echo "$ac_t""yes" 1>&6 | 3251 echo "$ac_t""yes" 1>&6 |
3234 HAVE_TIMEVAL=yes | 3252 HAVE_TIMEVAL=yes |
3235 { test "$extra_verbose" = "yes" && cat << \EOF | 3253 { test "$extra_verbose" = "yes" && cat << \EOF |
3236 Defining HAVE_TIMEVAL | 3254 Defining HAVE_TIMEVAL |
3248 HAVE_TIMEVAL=no | 3266 HAVE_TIMEVAL=no |
3249 fi | 3267 fi |
3250 rm -f conftest* | 3268 rm -f conftest* |
3251 | 3269 |
3252 echo $ac_n "checking whether struct tm is in sys/time.h or time.h""... $ac_c" 1>&6 | 3270 echo $ac_n "checking whether struct tm is in sys/time.h or time.h""... $ac_c" 1>&6 |
3253 echo "configure:3254: checking whether struct tm is in sys/time.h or time.h" >&5 | 3271 echo "configure:3272: checking whether struct tm is in sys/time.h or time.h" >&5 |
3254 | 3272 |
3255 cat > conftest.$ac_ext <<EOF | 3273 cat > conftest.$ac_ext <<EOF |
3256 #line 3257 "configure" | 3274 #line 3275 "configure" |
3257 #include "confdefs.h" | 3275 #include "confdefs.h" |
3258 #include <sys/types.h> | 3276 #include <sys/types.h> |
3259 #include <time.h> | 3277 #include <time.h> |
3260 int main() { | 3278 int main() { |
3261 struct tm *tp; tp->tm_sec; | 3279 struct tm *tp; tp->tm_sec; |
3262 ; return 0; } | 3280 ; return 0; } |
3263 EOF | 3281 EOF |
3264 if { (eval echo configure:3265: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3282 if { (eval echo configure:3283: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
3265 rm -rf conftest* | 3283 rm -rf conftest* |
3266 ac_cv_struct_tm=time.h | 3284 ac_cv_struct_tm=time.h |
3267 else | 3285 else |
3268 echo "configure: failed program was:" >&5 | 3286 echo "configure: failed program was:" >&5 |
3269 cat conftest.$ac_ext >&5 | 3287 cat conftest.$ac_ext >&5 |
3283 } | 3301 } |
3284 | 3302 |
3285 fi | 3303 fi |
3286 | 3304 |
3287 echo $ac_n "checking for tm_zone in struct tm""... $ac_c" 1>&6 | 3305 echo $ac_n "checking for tm_zone in struct tm""... $ac_c" 1>&6 |
3288 echo "configure:3289: checking for tm_zone in struct tm" >&5 | 3306 echo "configure:3307: checking for tm_zone in struct tm" >&5 |
3289 | 3307 |
3290 cat > conftest.$ac_ext <<EOF | 3308 cat > conftest.$ac_ext <<EOF |
3291 #line 3292 "configure" | 3309 #line 3310 "configure" |
3292 #include "confdefs.h" | 3310 #include "confdefs.h" |
3293 #include <sys/types.h> | 3311 #include <sys/types.h> |
3294 #include <$ac_cv_struct_tm> | 3312 #include <$ac_cv_struct_tm> |
3295 int main() { | 3313 int main() { |
3296 struct tm tm; tm.tm_zone; | 3314 struct tm tm; tm.tm_zone; |
3297 ; return 0; } | 3315 ; return 0; } |
3298 EOF | 3316 EOF |
3299 if { (eval echo configure:3300: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3317 if { (eval echo configure:3318: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
3300 rm -rf conftest* | 3318 rm -rf conftest* |
3301 ac_cv_struct_tm_zone=yes | 3319 ac_cv_struct_tm_zone=yes |
3302 else | 3320 else |
3303 echo "configure: failed program was:" >&5 | 3321 echo "configure: failed program was:" >&5 |
3304 cat conftest.$ac_ext >&5 | 3322 cat conftest.$ac_ext >&5 |
3317 EOF | 3335 EOF |
3318 } | 3336 } |
3319 | 3337 |
3320 else | 3338 else |
3321 echo $ac_n "checking for tzname""... $ac_c" 1>&6 | 3339 echo $ac_n "checking for tzname""... $ac_c" 1>&6 |
3322 echo "configure:3323: checking for tzname" >&5 | 3340 echo "configure:3341: checking for tzname" >&5 |
3323 | 3341 |
3324 cat > conftest.$ac_ext <<EOF | 3342 cat > conftest.$ac_ext <<EOF |
3325 #line 3326 "configure" | 3343 #line 3344 "configure" |
3326 #include "confdefs.h" | 3344 #include "confdefs.h" |
3327 #include <time.h> | 3345 #include <time.h> |
3328 #ifndef tzname /* For SGI. */ | 3346 #ifndef tzname /* For SGI. */ |
3329 extern char *tzname[]; /* RS6000 and others reject char **tzname. */ | 3347 extern char *tzname[]; /* RS6000 and others reject char **tzname. */ |
3330 #endif | 3348 #endif |
3331 int main() { | 3349 int main() { |
3332 atoi(*tzname); | 3350 atoi(*tzname); |
3333 ; return 0; } | 3351 ; return 0; } |
3334 EOF | 3352 EOF |
3335 if { (eval echo configure:3336: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 3353 if { (eval echo configure:3354: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
3336 rm -rf conftest* | 3354 rm -rf conftest* |
3337 ac_cv_var_tzname=yes | 3355 ac_cv_var_tzname=yes |
3338 else | 3356 else |
3339 echo "configure: failed program was:" >&5 | 3357 echo "configure: failed program was:" >&5 |
3340 cat conftest.$ac_ext >&5 | 3358 cat conftest.$ac_ext >&5 |
3356 fi | 3374 fi |
3357 fi | 3375 fi |
3358 | 3376 |
3359 | 3377 |
3360 echo $ac_n "checking for working const""... $ac_c" 1>&6 | 3378 echo $ac_n "checking for working const""... $ac_c" 1>&6 |
3361 echo "configure:3362: checking for working const" >&5 | 3379 echo "configure:3380: checking for working const" >&5 |
3362 | 3380 |
3363 cat > conftest.$ac_ext <<EOF | 3381 cat > conftest.$ac_ext <<EOF |
3364 #line 3365 "configure" | 3382 #line 3383 "configure" |
3365 #include "confdefs.h" | 3383 #include "confdefs.h" |
3366 | 3384 |
3367 int main() { | 3385 int main() { |
3368 | 3386 |
3369 /* Ultrix mips cc rejects this. */ | 3387 /* Ultrix mips cc rejects this. */ |
3408 const int foo = 10; | 3426 const int foo = 10; |
3409 } | 3427 } |
3410 | 3428 |
3411 ; return 0; } | 3429 ; return 0; } |
3412 EOF | 3430 EOF |
3413 if { (eval echo configure:3414: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3431 if { (eval echo configure:3432: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
3414 rm -rf conftest* | 3432 rm -rf conftest* |
3415 ac_cv_c_const=yes | 3433 ac_cv_c_const=yes |
3416 else | 3434 else |
3417 echo "configure: failed program was:" >&5 | 3435 echo "configure: failed program was:" >&5 |
3418 cat conftest.$ac_ext >&5 | 3436 cat conftest.$ac_ext >&5 |
3433 | 3451 |
3434 fi | 3452 fi |
3435 | 3453 |
3436 | 3454 |
3437 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6 | 3455 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6 |
3438 echo "configure:3439: checking whether ${MAKE-make} sets \${MAKE}" >&5 | 3456 echo "configure:3457: checking whether ${MAKE-make} sets \${MAKE}" >&5 |
3439 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'` | 3457 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'` |
3440 | 3458 |
3441 cat > conftestmake <<\EOF | 3459 cat > conftestmake <<\EOF |
3442 all: | 3460 all: |
3443 @echo 'ac_maketemp="${MAKE}"' | 3461 @echo 'ac_maketemp="${MAKE}"' |
3458 SET_MAKE="MAKE=${MAKE-make}" | 3476 SET_MAKE="MAKE=${MAKE-make}" |
3459 fi | 3477 fi |
3460 | 3478 |
3461 | 3479 |
3462 echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6 | 3480 echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6 |
3463 echo "configure:3464: checking whether byte ordering is bigendian" >&5 | 3481 echo "configure:3482: checking whether byte ordering is bigendian" >&5 |
3464 | 3482 |
3465 ac_cv_c_bigendian=unknown | 3483 ac_cv_c_bigendian=unknown |
3466 # See if sys/param.h defines the BYTE_ORDER macro. | 3484 # See if sys/param.h defines the BYTE_ORDER macro. |
3467 cat > conftest.$ac_ext <<EOF | 3485 cat > conftest.$ac_ext <<EOF |
3468 #line 3469 "configure" | 3486 #line 3487 "configure" |
3469 #include "confdefs.h" | 3487 #include "confdefs.h" |
3470 #include <sys/types.h> | 3488 #include <sys/types.h> |
3471 #include <sys/param.h> | 3489 #include <sys/param.h> |
3472 int main() { | 3490 int main() { |
3473 | 3491 |
3474 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN | 3492 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN |
3475 bogus endian macros | 3493 bogus endian macros |
3476 #endif | 3494 #endif |
3477 ; return 0; } | 3495 ; return 0; } |
3478 EOF | 3496 EOF |
3479 if { (eval echo configure:3480: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3497 if { (eval echo configure:3498: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
3480 rm -rf conftest* | 3498 rm -rf conftest* |
3481 # It does; now see whether it defined to BIG_ENDIAN or not. | 3499 # It does; now see whether it defined to BIG_ENDIAN or not. |
3482 cat > conftest.$ac_ext <<EOF | 3500 cat > conftest.$ac_ext <<EOF |
3483 #line 3484 "configure" | 3501 #line 3502 "configure" |
3484 #include "confdefs.h" | 3502 #include "confdefs.h" |
3485 #include <sys/types.h> | 3503 #include <sys/types.h> |
3486 #include <sys/param.h> | 3504 #include <sys/param.h> |
3487 int main() { | 3505 int main() { |
3488 | 3506 |
3489 #if BYTE_ORDER != BIG_ENDIAN | 3507 #if BYTE_ORDER != BIG_ENDIAN |
3490 not big endian | 3508 not big endian |
3491 #endif | 3509 #endif |
3492 ; return 0; } | 3510 ; return 0; } |
3493 EOF | 3511 EOF |
3494 if { (eval echo configure:3495: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3512 if { (eval echo configure:3513: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
3495 rm -rf conftest* | 3513 rm -rf conftest* |
3496 ac_cv_c_bigendian=yes | 3514 ac_cv_c_bigendian=yes |
3497 else | 3515 else |
3498 echo "configure: failed program was:" >&5 | 3516 echo "configure: failed program was:" >&5 |
3499 cat conftest.$ac_ext >&5 | 3517 cat conftest.$ac_ext >&5 |
3506 cat conftest.$ac_ext >&5 | 3524 cat conftest.$ac_ext >&5 |
3507 fi | 3525 fi |
3508 rm -f conftest* | 3526 rm -f conftest* |
3509 if test $ac_cv_c_bigendian = unknown; then | 3527 if test $ac_cv_c_bigendian = unknown; then |
3510 cat > conftest.$ac_ext <<EOF | 3528 cat > conftest.$ac_ext <<EOF |
3511 #line 3512 "configure" | 3529 #line 3530 "configure" |
3512 #include "confdefs.h" | 3530 #include "confdefs.h" |
3513 main () { | 3531 main () { |
3514 /* Are we little or big endian? From Harbison&Steele. */ | 3532 /* Are we little or big endian? From Harbison&Steele. */ |
3515 union | 3533 union |
3516 { | 3534 { |
3519 } u; | 3537 } u; |
3520 u.l = 1; | 3538 u.l = 1; |
3521 exit (u.c[sizeof (long) - 1] == 1); | 3539 exit (u.c[sizeof (long) - 1] == 1); |
3522 } | 3540 } |
3523 EOF | 3541 EOF |
3524 if { (eval echo configure:3525: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 | 3542 if { (eval echo configure:3543: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 |
3525 then | 3543 then |
3526 ac_cv_c_bigendian=no | 3544 ac_cv_c_bigendian=no |
3527 else | 3545 else |
3528 echo "configure: failed program was:" >&5 | 3546 echo "configure: failed program was:" >&5 |
3529 cat conftest.$ac_ext >&5 | 3547 cat conftest.$ac_ext >&5 |
3545 | 3563 |
3546 fi | 3564 fi |
3547 | 3565 |
3548 | 3566 |
3549 echo $ac_n "checking size of short""... $ac_c" 1>&6 | 3567 echo $ac_n "checking size of short""... $ac_c" 1>&6 |
3550 echo "configure:3551: checking size of short" >&5 | 3568 echo "configure:3569: checking size of short" >&5 |
3551 | 3569 |
3552 cat > conftest.$ac_ext <<EOF | 3570 cat > conftest.$ac_ext <<EOF |
3553 #line 3554 "configure" | 3571 #line 3572 "configure" |
3554 #include "confdefs.h" | 3572 #include "confdefs.h" |
3555 #include <stdio.h> | 3573 #include <stdio.h> |
3556 main() | 3574 main() |
3557 { | 3575 { |
3558 FILE *f=fopen("conftestval", "w"); | 3576 FILE *f=fopen("conftestval", "w"); |
3559 if (!f) exit(1); | 3577 if (!f) exit(1); |
3560 fprintf(f, "%d\n", sizeof(short)); | 3578 fprintf(f, "%d\n", sizeof(short)); |
3561 exit(0); | 3579 exit(0); |
3562 } | 3580 } |
3563 EOF | 3581 EOF |
3564 if { (eval echo configure:3565: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 | 3582 if { (eval echo configure:3583: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 |
3565 then | 3583 then |
3566 ac_cv_sizeof_short=`cat conftestval` | 3584 ac_cv_sizeof_short=`cat conftestval` |
3567 else | 3585 else |
3568 echo "configure: failed program was:" >&5 | 3586 echo "configure: failed program was:" >&5 |
3569 cat conftest.$ac_ext >&5 | 3587 cat conftest.$ac_ext >&5 |
3586 echo "*** PANIC *** Configure tests are not working - compiler is broken." | 3604 echo "*** PANIC *** Configure tests are not working - compiler is broken." |
3587 echo "*** PANIC *** Please examine config.log for compilation errors." | 3605 echo "*** PANIC *** Please examine config.log for compilation errors." |
3588 exit 1 | 3606 exit 1 |
3589 fi | 3607 fi |
3590 echo $ac_n "checking size of int""... $ac_c" 1>&6 | 3608 echo $ac_n "checking size of int""... $ac_c" 1>&6 |
3591 echo "configure:3592: checking size of int" >&5 | 3609 echo "configure:3610: checking size of int" >&5 |
3592 | 3610 |
3593 cat > conftest.$ac_ext <<EOF | 3611 cat > conftest.$ac_ext <<EOF |
3594 #line 3595 "configure" | 3612 #line 3613 "configure" |
3595 #include "confdefs.h" | 3613 #include "confdefs.h" |
3596 #include <stdio.h> | 3614 #include <stdio.h> |
3597 main() | 3615 main() |
3598 { | 3616 { |
3599 FILE *f=fopen("conftestval", "w"); | 3617 FILE *f=fopen("conftestval", "w"); |
3600 if (!f) exit(1); | 3618 if (!f) exit(1); |
3601 fprintf(f, "%d\n", sizeof(int)); | 3619 fprintf(f, "%d\n", sizeof(int)); |
3602 exit(0); | 3620 exit(0); |
3603 } | 3621 } |
3604 EOF | 3622 EOF |
3605 if { (eval echo configure:3606: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 | 3623 if { (eval echo configure:3624: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 |
3606 then | 3624 then |
3607 ac_cv_sizeof_int=`cat conftestval` | 3625 ac_cv_sizeof_int=`cat conftestval` |
3608 else | 3626 else |
3609 echo "configure: failed program was:" >&5 | 3627 echo "configure: failed program was:" >&5 |
3610 cat conftest.$ac_ext >&5 | 3628 cat conftest.$ac_ext >&5 |
3621 EOF | 3639 EOF |
3622 } | 3640 } |
3623 | 3641 |
3624 | 3642 |
3625 echo $ac_n "checking size of long""... $ac_c" 1>&6 | 3643 echo $ac_n "checking size of long""... $ac_c" 1>&6 |
3626 echo "configure:3627: checking size of long" >&5 | 3644 echo "configure:3645: checking size of long" >&5 |
3627 | 3645 |
3628 cat > conftest.$ac_ext <<EOF | 3646 cat > conftest.$ac_ext <<EOF |
3629 #line 3630 "configure" | 3647 #line 3648 "configure" |
3630 #include "confdefs.h" | 3648 #include "confdefs.h" |
3631 #include <stdio.h> | 3649 #include <stdio.h> |
3632 main() | 3650 main() |
3633 { | 3651 { |
3634 FILE *f=fopen("conftestval", "w"); | 3652 FILE *f=fopen("conftestval", "w"); |
3635 if (!f) exit(1); | 3653 if (!f) exit(1); |
3636 fprintf(f, "%d\n", sizeof(long)); | 3654 fprintf(f, "%d\n", sizeof(long)); |
3637 exit(0); | 3655 exit(0); |
3638 } | 3656 } |
3639 EOF | 3657 EOF |
3640 if { (eval echo configure:3641: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 | 3658 if { (eval echo configure:3659: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 |
3641 then | 3659 then |
3642 ac_cv_sizeof_long=`cat conftestval` | 3660 ac_cv_sizeof_long=`cat conftestval` |
3643 else | 3661 else |
3644 echo "configure: failed program was:" >&5 | 3662 echo "configure: failed program was:" >&5 |
3645 cat conftest.$ac_ext >&5 | 3663 cat conftest.$ac_ext >&5 |
3656 EOF | 3674 EOF |
3657 } | 3675 } |
3658 | 3676 |
3659 | 3677 |
3660 echo $ac_n "checking size of long long""... $ac_c" 1>&6 | 3678 echo $ac_n "checking size of long long""... $ac_c" 1>&6 |
3661 echo "configure:3662: checking size of long long" >&5 | 3679 echo "configure:3680: checking size of long long" >&5 |
3662 | 3680 |
3663 cat > conftest.$ac_ext <<EOF | 3681 cat > conftest.$ac_ext <<EOF |
3664 #line 3665 "configure" | 3682 #line 3683 "configure" |
3665 #include "confdefs.h" | 3683 #include "confdefs.h" |
3666 #include <stdio.h> | 3684 #include <stdio.h> |
3667 main() | 3685 main() |
3668 { | 3686 { |
3669 FILE *f=fopen("conftestval", "w"); | 3687 FILE *f=fopen("conftestval", "w"); |
3670 if (!f) exit(1); | 3688 if (!f) exit(1); |
3671 fprintf(f, "%d\n", sizeof(long long)); | 3689 fprintf(f, "%d\n", sizeof(long long)); |
3672 exit(0); | 3690 exit(0); |
3673 } | 3691 } |
3674 EOF | 3692 EOF |
3675 if { (eval echo configure:3676: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 | 3693 if { (eval echo configure:3694: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 |
3676 then | 3694 then |
3677 ac_cv_sizeof_long_long=`cat conftestval` | 3695 ac_cv_sizeof_long_long=`cat conftestval` |
3678 else | 3696 else |
3679 echo "configure: failed program was:" >&5 | 3697 echo "configure: failed program was:" >&5 |
3680 cat conftest.$ac_ext >&5 | 3698 cat conftest.$ac_ext >&5 |
3691 EOF | 3709 EOF |
3692 } | 3710 } |
3693 | 3711 |
3694 | 3712 |
3695 echo $ac_n "checking size of void *""... $ac_c" 1>&6 | 3713 echo $ac_n "checking size of void *""... $ac_c" 1>&6 |
3696 echo "configure:3697: checking size of void *" >&5 | 3714 echo "configure:3715: checking size of void *" >&5 |
3697 | 3715 |
3698 cat > conftest.$ac_ext <<EOF | 3716 cat > conftest.$ac_ext <<EOF |
3699 #line 3700 "configure" | 3717 #line 3718 "configure" |
3700 #include "confdefs.h" | 3718 #include "confdefs.h" |
3701 #include <stdio.h> | 3719 #include <stdio.h> |
3702 main() | 3720 main() |
3703 { | 3721 { |
3704 FILE *f=fopen("conftestval", "w"); | 3722 FILE *f=fopen("conftestval", "w"); |
3705 if (!f) exit(1); | 3723 if (!f) exit(1); |
3706 fprintf(f, "%d\n", sizeof(void *)); | 3724 fprintf(f, "%d\n", sizeof(void *)); |
3707 exit(0); | 3725 exit(0); |
3708 } | 3726 } |
3709 EOF | 3727 EOF |
3710 if { (eval echo configure:3711: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 | 3728 if { (eval echo configure:3729: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 |
3711 then | 3729 then |
3712 ac_cv_sizeof_void_p=`cat conftestval` | 3730 ac_cv_sizeof_void_p=`cat conftestval` |
3713 else | 3731 else |
3714 echo "configure: failed program was:" >&5 | 3732 echo "configure: failed program was:" >&5 |
3715 cat conftest.$ac_ext >&5 | 3733 cat conftest.$ac_ext >&5 |
3727 } | 3745 } |
3728 | 3746 |
3729 | 3747 |
3730 | 3748 |
3731 echo $ac_n "checking for long file names""... $ac_c" 1>&6 | 3749 echo $ac_n "checking for long file names""... $ac_c" 1>&6 |
3732 echo "configure:3733: checking for long file names" >&5 | 3750 echo "configure:3751: checking for long file names" >&5 |
3733 | 3751 |
3734 ac_cv_sys_long_file_names=yes | 3752 ac_cv_sys_long_file_names=yes |
3735 # Test for long file names in all the places we know might matter: | 3753 # Test for long file names in all the places we know might matter: |
3736 # . the current directory, where building will happen | 3754 # . the current directory, where building will happen |
3737 # $prefix/lib where we will be installing things | 3755 # $prefix/lib where we will be installing things |
3774 fi | 3792 fi |
3775 | 3793 |
3776 | 3794 |
3777 | 3795 |
3778 echo $ac_n "checking for sqrt in -lm""... $ac_c" 1>&6 | 3796 echo $ac_n "checking for sqrt in -lm""... $ac_c" 1>&6 |
3779 echo "configure:3780: checking for sqrt in -lm" >&5 | 3797 echo "configure:3798: checking for sqrt in -lm" >&5 |
3780 ac_lib_var=`echo m'_'sqrt | sed 'y%./+-%__p_%'` | 3798 ac_lib_var=`echo m'_'sqrt | sed 'y%./+-%__p_%'` |
3781 | 3799 |
3782 xe_check_libs=" -lm " | 3800 xe_check_libs=" -lm " |
3783 cat > conftest.$ac_ext <<EOF | 3801 cat > conftest.$ac_ext <<EOF |
3784 #line 3785 "configure" | 3802 #line 3803 "configure" |
3785 #include "confdefs.h" | 3803 #include "confdefs.h" |
3786 /* Override any gcc2 internal prototype to avoid an error. */ | 3804 /* Override any gcc2 internal prototype to avoid an error. */ |
3787 /* We use char because int might match the return type of a gcc2 | 3805 /* We use char because int might match the return type of a gcc2 |
3788 builtin and then its argument prototype would still apply. */ | 3806 builtin and then its argument prototype would still apply. */ |
3789 char sqrt(); | 3807 char sqrt(); |
3790 | 3808 |
3791 int main() { | 3809 int main() { |
3792 sqrt() | 3810 sqrt() |
3793 ; return 0; } | 3811 ; return 0; } |
3794 EOF | 3812 EOF |
3795 if { (eval echo configure:3796: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 3813 if { (eval echo configure:3814: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
3796 rm -rf conftest* | 3814 rm -rf conftest* |
3797 eval "ac_cv_lib_$ac_lib_var=yes" | 3815 eval "ac_cv_lib_$ac_lib_var=yes" |
3798 else | 3816 else |
3799 echo "configure: failed program was:" >&5 | 3817 echo "configure: failed program was:" >&5 |
3800 cat conftest.$ac_ext >&5 | 3818 cat conftest.$ac_ext >&5 |
3833 EOF | 3851 EOF |
3834 } | 3852 } |
3835 | 3853 |
3836 | 3854 |
3837 echo "checking type of mail spool file locking" 1>&6 | 3855 echo "checking type of mail spool file locking" 1>&6 |
3838 echo "configure:3839: checking type of mail spool file locking" >&5 | 3856 echo "configure:3857: checking type of mail spool file locking" >&5 |
3839 test -z "$mail_locking" -a "$mail_use_flock" = "yes" && mail_locking=flock | 3857 test -z "$mail_locking" -a "$mail_use_flock" = "yes" && mail_locking=flock |
3840 test -z "$mail_locking" -a "$mail_use_lockf" = "yes" && mail_locking=lockf | 3858 test -z "$mail_locking" -a "$mail_use_lockf" = "yes" && mail_locking=lockf |
3841 if test "$mail_locking" = "lockf"; then { test "$extra_verbose" = "yes" && cat << \EOF | 3859 if test "$mail_locking" = "lockf"; then { test "$extra_verbose" = "yes" && cat << \EOF |
3842 Defining REAL_MAIL_USE_LOCKF | 3860 Defining REAL_MAIL_USE_LOCKF |
3843 EOF | 3861 EOF |
3857 else mail_locking="dot-locking" | 3875 else mail_locking="dot-locking" |
3858 fi | 3876 fi |
3859 | 3877 |
3860 | 3878 |
3861 echo $ac_n "checking for kstat_open in -lkstat""... $ac_c" 1>&6 | 3879 echo $ac_n "checking for kstat_open in -lkstat""... $ac_c" 1>&6 |
3862 echo "configure:3863: checking for kstat_open in -lkstat" >&5 | 3880 echo "configure:3881: checking for kstat_open in -lkstat" >&5 |
3863 ac_lib_var=`echo kstat'_'kstat_open | sed 'y%./+-%__p_%'` | 3881 ac_lib_var=`echo kstat'_'kstat_open | sed 'y%./+-%__p_%'` |
3864 | 3882 |
3865 xe_check_libs=" -lkstat " | 3883 xe_check_libs=" -lkstat " |
3866 cat > conftest.$ac_ext <<EOF | 3884 cat > conftest.$ac_ext <<EOF |
3867 #line 3868 "configure" | 3885 #line 3886 "configure" |
3868 #include "confdefs.h" | 3886 #include "confdefs.h" |
3869 /* Override any gcc2 internal prototype to avoid an error. */ | 3887 /* Override any gcc2 internal prototype to avoid an error. */ |
3870 /* We use char because int might match the return type of a gcc2 | 3888 /* We use char because int might match the return type of a gcc2 |
3871 builtin and then its argument prototype would still apply. */ | 3889 builtin and then its argument prototype would still apply. */ |
3872 char kstat_open(); | 3890 char kstat_open(); |
3873 | 3891 |
3874 int main() { | 3892 int main() { |
3875 kstat_open() | 3893 kstat_open() |
3876 ; return 0; } | 3894 ; return 0; } |
3877 EOF | 3895 EOF |
3878 if { (eval echo configure:3879: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 3896 if { (eval echo configure:3897: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
3879 rm -rf conftest* | 3897 rm -rf conftest* |
3880 eval "ac_cv_lib_$ac_lib_var=yes" | 3898 eval "ac_cv_lib_$ac_lib_var=yes" |
3881 else | 3899 else |
3882 echo "configure: failed program was:" >&5 | 3900 echo "configure: failed program was:" >&5 |
3883 cat conftest.$ac_ext >&5 | 3901 cat conftest.$ac_ext >&5 |
3907 | 3925 |
3908 | 3926 |
3909 | 3927 |
3910 | 3928 |
3911 echo $ac_n "checking for kvm_read in -lkvm""... $ac_c" 1>&6 | 3929 echo $ac_n "checking for kvm_read in -lkvm""... $ac_c" 1>&6 |
3912 echo "configure:3913: checking for kvm_read in -lkvm" >&5 | 3930 echo "configure:3931: checking for kvm_read in -lkvm" >&5 |
3913 ac_lib_var=`echo kvm'_'kvm_read | sed 'y%./+-%__p_%'` | 3931 ac_lib_var=`echo kvm'_'kvm_read | sed 'y%./+-%__p_%'` |
3914 | 3932 |
3915 xe_check_libs=" -lkvm " | 3933 xe_check_libs=" -lkvm " |
3916 cat > conftest.$ac_ext <<EOF | 3934 cat > conftest.$ac_ext <<EOF |
3917 #line 3918 "configure" | 3935 #line 3936 "configure" |
3918 #include "confdefs.h" | 3936 #include "confdefs.h" |
3919 /* Override any gcc2 internal prototype to avoid an error. */ | 3937 /* Override any gcc2 internal prototype to avoid an error. */ |
3920 /* We use char because int might match the return type of a gcc2 | 3938 /* We use char because int might match the return type of a gcc2 |
3921 builtin and then its argument prototype would still apply. */ | 3939 builtin and then its argument prototype would still apply. */ |
3922 char kvm_read(); | 3940 char kvm_read(); |
3923 | 3941 |
3924 int main() { | 3942 int main() { |
3925 kvm_read() | 3943 kvm_read() |
3926 ; return 0; } | 3944 ; return 0; } |
3927 EOF | 3945 EOF |
3928 if { (eval echo configure:3929: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 3946 if { (eval echo configure:3947: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
3929 rm -rf conftest* | 3947 rm -rf conftest* |
3930 eval "ac_cv_lib_$ac_lib_var=yes" | 3948 eval "ac_cv_lib_$ac_lib_var=yes" |
3931 else | 3949 else |
3932 echo "configure: failed program was:" >&5 | 3950 echo "configure: failed program was:" >&5 |
3933 cat conftest.$ac_ext >&5 | 3951 cat conftest.$ac_ext >&5 |
3957 | 3975 |
3958 | 3976 |
3959 | 3977 |
3960 | 3978 |
3961 echo $ac_n "checking for cma_open in -lpthreads""... $ac_c" 1>&6 | 3979 echo $ac_n "checking for cma_open in -lpthreads""... $ac_c" 1>&6 |
3962 echo "configure:3963: checking for cma_open in -lpthreads" >&5 | 3980 echo "configure:3981: checking for cma_open in -lpthreads" >&5 |
3963 ac_lib_var=`echo pthreads'_'cma_open | sed 'y%./+-%__p_%'` | 3981 ac_lib_var=`echo pthreads'_'cma_open | sed 'y%./+-%__p_%'` |
3964 | 3982 |
3965 xe_check_libs=" -lpthreads " | 3983 xe_check_libs=" -lpthreads " |
3966 cat > conftest.$ac_ext <<EOF | 3984 cat > conftest.$ac_ext <<EOF |
3967 #line 3968 "configure" | 3985 #line 3986 "configure" |
3968 #include "confdefs.h" | 3986 #include "confdefs.h" |
3969 /* Override any gcc2 internal prototype to avoid an error. */ | 3987 /* Override any gcc2 internal prototype to avoid an error. */ |
3970 /* We use char because int might match the return type of a gcc2 | 3988 /* We use char because int might match the return type of a gcc2 |
3971 builtin and then its argument prototype would still apply. */ | 3989 builtin and then its argument prototype would still apply. */ |
3972 char cma_open(); | 3990 char cma_open(); |
3973 | 3991 |
3974 int main() { | 3992 int main() { |
3975 cma_open() | 3993 cma_open() |
3976 ; return 0; } | 3994 ; return 0; } |
3977 EOF | 3995 EOF |
3978 if { (eval echo configure:3979: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 3996 if { (eval echo configure:3997: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
3979 rm -rf conftest* | 3997 rm -rf conftest* |
3980 eval "ac_cv_lib_$ac_lib_var=yes" | 3998 eval "ac_cv_lib_$ac_lib_var=yes" |
3981 else | 3999 else |
3982 echo "configure: failed program was:" >&5 | 4000 echo "configure: failed program was:" >&5 |
3983 cat conftest.$ac_ext >&5 | 4001 cat conftest.$ac_ext >&5 |
4009 if test "$ac_cv_lib_pthreads_cma_open" = "yes"; then | 4027 if test "$ac_cv_lib_pthreads_cma_open" = "yes"; then |
4010 case "$opsys" in decosf*) c_switch_site="$c_switch_site -threads";; esac | 4028 case "$opsys" in decosf*) c_switch_site="$c_switch_site -threads";; esac |
4011 fi | 4029 fi |
4012 | 4030 |
4013 echo $ac_n "checking whether the -xildoff compiler flag is required""... $ac_c" 1>&6 | 4031 echo $ac_n "checking whether the -xildoff compiler flag is required""... $ac_c" 1>&6 |
4014 echo "configure:4015: checking whether the -xildoff compiler flag is required" >&5 | 4032 echo "configure:4033: checking whether the -xildoff compiler flag is required" >&5 |
4015 if ${CC-cc} '-###' -xildon no_such_file.c 2>&1 | grep '^[^ ]*/ild ' > /dev/null ; then | 4033 if ${CC-cc} '-###' -xildon no_such_file.c 2>&1 | grep '^[^ ]*/ild ' > /dev/null ; then |
4016 if ${CC-cc} '-###' -xildoff no_such_file.c 2>&1 | grep '^[^ ]*/ild ' > /dev/null ; | 4034 if ${CC-cc} '-###' -xildoff no_such_file.c 2>&1 | grep '^[^ ]*/ild ' > /dev/null ; |
4017 then echo "$ac_t""no" 1>&6; | 4035 then echo "$ac_t""no" 1>&6; |
4018 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 | 4036 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 |
4019 fi | 4037 fi |
4020 else echo "$ac_t""no" 1>&6 | 4038 else echo "$ac_t""no" 1>&6 |
4021 fi | 4039 fi |
4022 | 4040 |
4023 if test "$opsys" = "sol2" && test "$OS_RELEASE" -ge 56; then | 4041 if test "$opsys" = "sol2" && test "$OS_RELEASE" -ge 56; then |
4024 echo $ac_n "checking for \"-z ignore\" linker flag""... $ac_c" 1>&6 | 4042 echo $ac_n "checking for \"-z ignore\" linker flag""... $ac_c" 1>&6 |
4025 echo "configure:4026: checking for \"-z ignore\" linker flag" >&5 | 4043 echo "configure:4044: checking for \"-z ignore\" linker flag" >&5 |
4026 case "`ld -h 2>&1`" in | 4044 case "`ld -h 2>&1`" in |
4027 *-z\ ignore\|record* ) echo "$ac_t""yes" 1>&6 | 4045 *-z\ ignore\|record* ) echo "$ac_t""yes" 1>&6 |
4028 ld_switch_site="-z ignore $ld_switch_site" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-z ignore\" to \$ld_switch_site"; fi ;; | 4046 ld_switch_site="-z ignore $ld_switch_site" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-z ignore\" to \$ld_switch_site"; fi ;; |
4029 *) echo "$ac_t""no" 1>&6 ;; | 4047 *) echo "$ac_t""no" 1>&6 ;; |
4030 esac | 4048 esac |
4031 fi | 4049 fi |
4032 | 4050 |
4033 | 4051 |
4034 echo "checking "for specified window system"" 1>&6 | 4052 echo "checking "for specified window system"" 1>&6 |
4035 echo "configure:4036: checking "for specified window system"" >&5 | 4053 echo "configure:4054: checking "for specified window system"" >&5 |
4036 | 4054 |
4037 if test "$x_includes $x_libraries" = "NONE NONE"; then | 4055 if test "$x_includes $x_libraries" = "NONE NONE"; then |
4038 if test -n "$OPENWINHOME" \ | 4056 if test -n "$OPENWINHOME" \ |
4039 -a "$OPENWINHOME" != "/usr/openwin" \ | 4057 -a "$OPENWINHOME" != "/usr/openwin" \ |
4040 -a -d "$OPENWINHOME"; then | 4058 -a -d "$OPENWINHOME"; then |
4051 # If we find X, set shell vars x_includes and x_libraries to the | 4069 # If we find X, set shell vars x_includes and x_libraries to the |
4052 # paths, otherwise set no_x=yes. | 4070 # paths, otherwise set no_x=yes. |
4053 # Uses ac_ vars as temps to allow command line to override cache and checks. | 4071 # Uses ac_ vars as temps to allow command line to override cache and checks. |
4054 # --without-x overrides everything else, but does not touch the cache. | 4072 # --without-x overrides everything else, but does not touch the cache. |
4055 echo $ac_n "checking for X""... $ac_c" 1>&6 | 4073 echo $ac_n "checking for X""... $ac_c" 1>&6 |
4056 echo "configure:4057: checking for X" >&5 | 4074 echo "configure:4075: checking for X" >&5 |
4057 | 4075 |
4058 # Check whether --with-x or --without-x was given. | 4076 # Check whether --with-x or --without-x was given. |
4059 if test "${with_x+set}" = set; then | 4077 if test "${with_x+set}" = set; then |
4060 withval="$with_x" | 4078 withval="$with_x" |
4061 : | 4079 : |
4111 # Guess where to find include files, by looking for this one X11 .h file. | 4129 # Guess where to find include files, by looking for this one X11 .h file. |
4112 test -z "$x_direct_test_include" && x_direct_test_include=X11/Intrinsic.h | 4130 test -z "$x_direct_test_include" && x_direct_test_include=X11/Intrinsic.h |
4113 | 4131 |
4114 # First, try using that file with no special directory specified. | 4132 # First, try using that file with no special directory specified. |
4115 cat > conftest.$ac_ext <<EOF | 4133 cat > conftest.$ac_ext <<EOF |
4116 #line 4117 "configure" | 4134 #line 4135 "configure" |
4117 #include "confdefs.h" | 4135 #include "confdefs.h" |
4118 #include <$x_direct_test_include> | 4136 #include <$x_direct_test_include> |
4119 EOF | 4137 EOF |
4120 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 4138 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
4121 { (eval echo configure:4122: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 4139 { (eval echo configure:4140: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
4122 ac_err=`grep -v '^ *+' conftest.out` | 4140 ac_err=`grep -v '^ *+' conftest.out` |
4123 if test -z "$ac_err"; then | 4141 if test -z "$ac_err"; then |
4124 rm -rf conftest* | 4142 rm -rf conftest* |
4125 # We can compile using X headers with no special include directory. | 4143 # We can compile using X headers with no special include directory. |
4126 ac_x_includes= | 4144 ac_x_includes= |
4185 # See if we find them without any special options. | 4203 # See if we find them without any special options. |
4186 # Don't add to $LIBS permanently. | 4204 # Don't add to $LIBS permanently. |
4187 ac_save_LIBS="$LIBS" | 4205 ac_save_LIBS="$LIBS" |
4188 LIBS="-l$x_direct_test_library $LIBS" | 4206 LIBS="-l$x_direct_test_library $LIBS" |
4189 cat > conftest.$ac_ext <<EOF | 4207 cat > conftest.$ac_ext <<EOF |
4190 #line 4191 "configure" | 4208 #line 4209 "configure" |
4191 #include "confdefs.h" | 4209 #include "confdefs.h" |
4192 | 4210 |
4193 int main() { | 4211 int main() { |
4194 ${x_direct_test_function}() | 4212 ${x_direct_test_function}() |
4195 ; return 0; } | 4213 ; return 0; } |
4196 EOF | 4214 EOF |
4197 if { (eval echo configure:4198: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4215 if { (eval echo configure:4216: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
4198 rm -rf conftest* | 4216 rm -rf conftest* |
4199 LIBS="$ac_save_LIBS" | 4217 LIBS="$ac_save_LIBS" |
4200 # We can link X programs with no special library path. | 4218 # We can link X programs with no special library path. |
4201 ac_x_libraries= | 4219 ac_x_libraries= |
4202 else | 4220 else |
4301 # For Solaris; some versions of Sun CC require a space after -R and | 4319 # For Solaris; some versions of Sun CC require a space after -R and |
4302 # others require no space. Words are not sufficient . . . . | 4320 # others require no space. Words are not sufficient . . . . |
4303 case "`(uname -sr) 2>/dev/null`" in | 4321 case "`(uname -sr) 2>/dev/null`" in |
4304 "SunOS 5"*) | 4322 "SunOS 5"*) |
4305 echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6 | 4323 echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6 |
4306 echo "configure:4307: checking whether -R must be followed by a space" >&5 | 4324 echo "configure:4325: checking whether -R must be followed by a space" >&5 |
4307 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS -R$x_libraries" | 4325 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS -R$x_libraries" |
4308 cat > conftest.$ac_ext <<EOF | 4326 cat > conftest.$ac_ext <<EOF |
4309 #line 4310 "configure" | 4327 #line 4328 "configure" |
4310 #include "confdefs.h" | 4328 #include "confdefs.h" |
4311 | 4329 |
4312 int main() { | 4330 int main() { |
4313 | 4331 |
4314 ; return 0; } | 4332 ; return 0; } |
4315 EOF | 4333 EOF |
4316 if { (eval echo configure:4317: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4334 if { (eval echo configure:4335: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
4317 rm -rf conftest* | 4335 rm -rf conftest* |
4318 ac_R_nospace=yes | 4336 ac_R_nospace=yes |
4319 else | 4337 else |
4320 echo "configure: failed program was:" >&5 | 4338 echo "configure: failed program was:" >&5 |
4321 cat conftest.$ac_ext >&5 | 4339 cat conftest.$ac_ext >&5 |
4327 echo "$ac_t""no" 1>&6 | 4345 echo "$ac_t""no" 1>&6 |
4328 X_LIBS="$X_LIBS -R$x_libraries" | 4346 X_LIBS="$X_LIBS -R$x_libraries" |
4329 else | 4347 else |
4330 LIBS="$ac_xsave_LIBS -R $x_libraries" | 4348 LIBS="$ac_xsave_LIBS -R $x_libraries" |
4331 cat > conftest.$ac_ext <<EOF | 4349 cat > conftest.$ac_ext <<EOF |
4332 #line 4333 "configure" | 4350 #line 4351 "configure" |
4333 #include "confdefs.h" | 4351 #include "confdefs.h" |
4334 | 4352 |
4335 int main() { | 4353 int main() { |
4336 | 4354 |
4337 ; return 0; } | 4355 ; return 0; } |
4338 EOF | 4356 EOF |
4339 if { (eval echo configure:4340: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4357 if { (eval echo configure:4358: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
4340 rm -rf conftest* | 4358 rm -rf conftest* |
4341 ac_R_space=yes | 4359 ac_R_space=yes |
4342 else | 4360 else |
4343 echo "configure: failed program was:" >&5 | 4361 echo "configure: failed program was:" >&5 |
4344 cat conftest.$ac_ext >&5 | 4362 cat conftest.$ac_ext >&5 |
4370 if test "$with_dnet" = "no" ; then | 4388 if test "$with_dnet" = "no" ; then |
4371 ac_cv_lib_dnet_dnet_ntoa=no | 4389 ac_cv_lib_dnet_dnet_ntoa=no |
4372 else | 4390 else |
4373 | 4391 |
4374 echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6 | 4392 echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6 |
4375 echo "configure:4376: checking for dnet_ntoa in -ldnet" >&5 | 4393 echo "configure:4394: checking for dnet_ntoa in -ldnet" >&5 |
4376 ac_lib_var=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'` | 4394 ac_lib_var=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'` |
4377 | 4395 |
4378 xe_check_libs=" -ldnet " | 4396 xe_check_libs=" -ldnet " |
4379 cat > conftest.$ac_ext <<EOF | 4397 cat > conftest.$ac_ext <<EOF |
4380 #line 4381 "configure" | 4398 #line 4399 "configure" |
4381 #include "confdefs.h" | 4399 #include "confdefs.h" |
4382 /* Override any gcc2 internal prototype to avoid an error. */ | 4400 /* Override any gcc2 internal prototype to avoid an error. */ |
4383 /* We use char because int might match the return type of a gcc2 | 4401 /* We use char because int might match the return type of a gcc2 |
4384 builtin and then its argument prototype would still apply. */ | 4402 builtin and then its argument prototype would still apply. */ |
4385 char dnet_ntoa(); | 4403 char dnet_ntoa(); |
4386 | 4404 |
4387 int main() { | 4405 int main() { |
4388 dnet_ntoa() | 4406 dnet_ntoa() |
4389 ; return 0; } | 4407 ; return 0; } |
4390 EOF | 4408 EOF |
4391 if { (eval echo configure:4392: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4409 if { (eval echo configure:4410: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
4392 rm -rf conftest* | 4410 rm -rf conftest* |
4393 eval "ac_cv_lib_$ac_lib_var=yes" | 4411 eval "ac_cv_lib_$ac_lib_var=yes" |
4394 else | 4412 else |
4395 echo "configure: failed program was:" >&5 | 4413 echo "configure: failed program was:" >&5 |
4396 cat conftest.$ac_ext >&5 | 4414 cat conftest.$ac_ext >&5 |
4410 fi | 4428 fi |
4411 | 4429 |
4412 if test $ac_cv_lib_dnet_dnet_ntoa = no; then | 4430 if test $ac_cv_lib_dnet_dnet_ntoa = no; then |
4413 | 4431 |
4414 echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6 | 4432 echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6 |
4415 echo "configure:4416: checking for dnet_ntoa in -ldnet_stub" >&5 | 4433 echo "configure:4434: checking for dnet_ntoa in -ldnet_stub" >&5 |
4416 ac_lib_var=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'` | 4434 ac_lib_var=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'` |
4417 | 4435 |
4418 xe_check_libs=" -ldnet_stub " | 4436 xe_check_libs=" -ldnet_stub " |
4419 cat > conftest.$ac_ext <<EOF | 4437 cat > conftest.$ac_ext <<EOF |
4420 #line 4421 "configure" | 4438 #line 4439 "configure" |
4421 #include "confdefs.h" | 4439 #include "confdefs.h" |
4422 /* Override any gcc2 internal prototype to avoid an error. */ | 4440 /* Override any gcc2 internal prototype to avoid an error. */ |
4423 /* We use char because int might match the return type of a gcc2 | 4441 /* We use char because int might match the return type of a gcc2 |
4424 builtin and then its argument prototype would still apply. */ | 4442 builtin and then its argument prototype would still apply. */ |
4425 char dnet_ntoa(); | 4443 char dnet_ntoa(); |
4426 | 4444 |
4427 int main() { | 4445 int main() { |
4428 dnet_ntoa() | 4446 dnet_ntoa() |
4429 ; return 0; } | 4447 ; return 0; } |
4430 EOF | 4448 EOF |
4431 if { (eval echo configure:4432: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4449 if { (eval echo configure:4450: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
4432 rm -rf conftest* | 4450 rm -rf conftest* |
4433 eval "ac_cv_lib_$ac_lib_var=yes" | 4451 eval "ac_cv_lib_$ac_lib_var=yes" |
4434 else | 4452 else |
4435 echo "configure: failed program was:" >&5 | 4453 echo "configure: failed program was:" >&5 |
4436 cat conftest.$ac_ext >&5 | 4454 cat conftest.$ac_ext >&5 |
4455 # chad@anasazi.com says the Pyramis MIS-ES running DC/OSx (SVR4) | 4473 # chad@anasazi.com says the Pyramis MIS-ES running DC/OSx (SVR4) |
4456 # needs -lnsl. | 4474 # needs -lnsl. |
4457 # The nsl library prevents programs from opening the X display | 4475 # The nsl library prevents programs from opening the X display |
4458 # on Irix 5.2, according to dickey@clark.net. | 4476 # on Irix 5.2, according to dickey@clark.net. |
4459 echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6 | 4477 echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6 |
4460 echo "configure:4461: checking for gethostbyname" >&5 | 4478 echo "configure:4479: checking for gethostbyname" >&5 |
4461 | 4479 |
4462 cat > conftest.$ac_ext <<EOF | 4480 cat > conftest.$ac_ext <<EOF |
4463 #line 4464 "configure" | 4481 #line 4482 "configure" |
4464 #include "confdefs.h" | 4482 #include "confdefs.h" |
4465 /* System header to define __stub macros and hopefully few prototypes, | 4483 /* System header to define __stub macros and hopefully few prototypes, |
4466 which can conflict with char gethostbyname(); below. */ | 4484 which can conflict with char gethostbyname(); below. */ |
4467 #include <assert.h> | 4485 #include <assert.h> |
4468 /* Override any gcc2 internal prototype to avoid an error. */ | 4486 /* Override any gcc2 internal prototype to avoid an error. */ |
4481 gethostbyname(); | 4499 gethostbyname(); |
4482 #endif | 4500 #endif |
4483 | 4501 |
4484 ; return 0; } | 4502 ; return 0; } |
4485 EOF | 4503 EOF |
4486 if { (eval echo configure:4487: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4504 if { (eval echo configure:4505: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
4487 rm -rf conftest* | 4505 rm -rf conftest* |
4488 eval "ac_cv_func_gethostbyname=yes" | 4506 eval "ac_cv_func_gethostbyname=yes" |
4489 else | 4507 else |
4490 echo "configure: failed program was:" >&5 | 4508 echo "configure: failed program was:" >&5 |
4491 cat conftest.$ac_ext >&5 | 4509 cat conftest.$ac_ext >&5 |
4502 fi | 4520 fi |
4503 | 4521 |
4504 if test $ac_cv_func_gethostbyname = no; then | 4522 if test $ac_cv_func_gethostbyname = no; then |
4505 | 4523 |
4506 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6 | 4524 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6 |
4507 echo "configure:4508: checking for gethostbyname in -lnsl" >&5 | 4525 echo "configure:4526: checking for gethostbyname in -lnsl" >&5 |
4508 ac_lib_var=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'` | 4526 ac_lib_var=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'` |
4509 | 4527 |
4510 xe_check_libs=" -lnsl " | 4528 xe_check_libs=" -lnsl " |
4511 cat > conftest.$ac_ext <<EOF | 4529 cat > conftest.$ac_ext <<EOF |
4512 #line 4513 "configure" | 4530 #line 4531 "configure" |
4513 #include "confdefs.h" | 4531 #include "confdefs.h" |
4514 /* Override any gcc2 internal prototype to avoid an error. */ | 4532 /* Override any gcc2 internal prototype to avoid an error. */ |
4515 /* We use char because int might match the return type of a gcc2 | 4533 /* We use char because int might match the return type of a gcc2 |
4516 builtin and then its argument prototype would still apply. */ | 4534 builtin and then its argument prototype would still apply. */ |
4517 char gethostbyname(); | 4535 char gethostbyname(); |
4518 | 4536 |
4519 int main() { | 4537 int main() { |
4520 gethostbyname() | 4538 gethostbyname() |
4521 ; return 0; } | 4539 ; return 0; } |
4522 EOF | 4540 EOF |
4523 if { (eval echo configure:4524: \"$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 |
4524 rm -rf conftest* | 4542 rm -rf conftest* |
4525 eval "ac_cv_lib_$ac_lib_var=yes" | 4543 eval "ac_cv_lib_$ac_lib_var=yes" |
4526 else | 4544 else |
4527 echo "configure: failed program was:" >&5 | 4545 echo "configure: failed program was:" >&5 |
4528 cat conftest.$ac_ext >&5 | 4546 cat conftest.$ac_ext >&5 |
4548 # on later versions), says simon@lia.di.epfl.ch: it contains | 4566 # on later versions), says simon@lia.di.epfl.ch: it contains |
4549 # gethostby* variants that don't use the nameserver (or something). | 4567 # gethostby* variants that don't use the nameserver (or something). |
4550 # -lsocket must be given before -lnsl if both are needed. | 4568 # -lsocket must be given before -lnsl if both are needed. |
4551 # We assume that if connect needs -lnsl, so does gethostbyname. | 4569 # We assume that if connect needs -lnsl, so does gethostbyname. |
4552 echo $ac_n "checking for connect""... $ac_c" 1>&6 | 4570 echo $ac_n "checking for connect""... $ac_c" 1>&6 |
4553 echo "configure:4554: checking for connect" >&5 | 4571 echo "configure:4572: checking for connect" >&5 |
4554 | 4572 |
4555 cat > conftest.$ac_ext <<EOF | 4573 cat > conftest.$ac_ext <<EOF |
4556 #line 4557 "configure" | 4574 #line 4575 "configure" |
4557 #include "confdefs.h" | 4575 #include "confdefs.h" |
4558 /* System header to define __stub macros and hopefully few prototypes, | 4576 /* System header to define __stub macros and hopefully few prototypes, |
4559 which can conflict with char connect(); below. */ | 4577 which can conflict with char connect(); below. */ |
4560 #include <assert.h> | 4578 #include <assert.h> |
4561 /* Override any gcc2 internal prototype to avoid an error. */ | 4579 /* Override any gcc2 internal prototype to avoid an error. */ |
4574 connect(); | 4592 connect(); |
4575 #endif | 4593 #endif |
4576 | 4594 |
4577 ; return 0; } | 4595 ; return 0; } |
4578 EOF | 4596 EOF |
4579 if { (eval echo configure:4580: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4597 if { (eval echo configure:4598: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
4580 rm -rf conftest* | 4598 rm -rf conftest* |
4581 eval "ac_cv_func_connect=yes" | 4599 eval "ac_cv_func_connect=yes" |
4582 else | 4600 else |
4583 echo "configure: failed program was:" >&5 | 4601 echo "configure: failed program was:" >&5 |
4584 cat conftest.$ac_ext >&5 | 4602 cat conftest.$ac_ext >&5 |
4597 if test $ac_cv_func_connect = no; then | 4615 if test $ac_cv_func_connect = no; then |
4598 | 4616 |
4599 xe_msg_checking="for connect in -lsocket" | 4617 xe_msg_checking="for connect in -lsocket" |
4600 test -n "$X_EXTRA_LIBS" && xe_msg_checking="$xe_msg_checking using extra libs $X_EXTRA_LIBS" | 4618 test -n "$X_EXTRA_LIBS" && xe_msg_checking="$xe_msg_checking using extra libs $X_EXTRA_LIBS" |
4601 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 4619 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
4602 echo "configure:4603: checking "$xe_msg_checking"" >&5 | 4620 echo "configure:4621: checking "$xe_msg_checking"" >&5 |
4603 ac_lib_var=`echo socket'_'connect | sed 'y%./+-%__p_%'` | 4621 ac_lib_var=`echo socket'_'connect | sed 'y%./+-%__p_%'` |
4604 | 4622 |
4605 xe_check_libs=" -lsocket $X_EXTRA_LIBS" | 4623 xe_check_libs=" -lsocket $X_EXTRA_LIBS" |
4606 cat > conftest.$ac_ext <<EOF | 4624 cat > conftest.$ac_ext <<EOF |
4607 #line 4608 "configure" | 4625 #line 4626 "configure" |
4608 #include "confdefs.h" | 4626 #include "confdefs.h" |
4609 /* Override any gcc2 internal prototype to avoid an error. */ | 4627 /* Override any gcc2 internal prototype to avoid an error. */ |
4610 /* We use char because int might match the return type of a gcc2 | 4628 /* We use char because int might match the return type of a gcc2 |
4611 builtin and then its argument prototype would still apply. */ | 4629 builtin and then its argument prototype would still apply. */ |
4612 char connect(); | 4630 char connect(); |
4613 | 4631 |
4614 int main() { | 4632 int main() { |
4615 connect() | 4633 connect() |
4616 ; return 0; } | 4634 ; return 0; } |
4617 EOF | 4635 EOF |
4618 if { (eval echo configure:4619: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4636 if { (eval echo configure:4637: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
4619 rm -rf conftest* | 4637 rm -rf conftest* |
4620 eval "ac_cv_lib_$ac_lib_var=yes" | 4638 eval "ac_cv_lib_$ac_lib_var=yes" |
4621 else | 4639 else |
4622 echo "configure: failed program was:" >&5 | 4640 echo "configure: failed program was:" >&5 |
4623 cat conftest.$ac_ext >&5 | 4641 cat conftest.$ac_ext >&5 |
4637 | 4655 |
4638 fi | 4656 fi |
4639 | 4657 |
4640 # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX. | 4658 # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX. |
4641 echo $ac_n "checking for remove""... $ac_c" 1>&6 | 4659 echo $ac_n "checking for remove""... $ac_c" 1>&6 |
4642 echo "configure:4643: checking for remove" >&5 | 4660 echo "configure:4661: checking for remove" >&5 |
4643 | 4661 |
4644 cat > conftest.$ac_ext <<EOF | 4662 cat > conftest.$ac_ext <<EOF |
4645 #line 4646 "configure" | 4663 #line 4664 "configure" |
4646 #include "confdefs.h" | 4664 #include "confdefs.h" |
4647 /* System header to define __stub macros and hopefully few prototypes, | 4665 /* System header to define __stub macros and hopefully few prototypes, |
4648 which can conflict with char remove(); below. */ | 4666 which can conflict with char remove(); below. */ |
4649 #include <assert.h> | 4667 #include <assert.h> |
4650 /* Override any gcc2 internal prototype to avoid an error. */ | 4668 /* Override any gcc2 internal prototype to avoid an error. */ |
4663 remove(); | 4681 remove(); |
4664 #endif | 4682 #endif |
4665 | 4683 |
4666 ; return 0; } | 4684 ; return 0; } |
4667 EOF | 4685 EOF |
4668 if { (eval echo configure:4669: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4686 if { (eval echo configure:4687: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
4669 rm -rf conftest* | 4687 rm -rf conftest* |
4670 eval "ac_cv_func_remove=yes" | 4688 eval "ac_cv_func_remove=yes" |
4671 else | 4689 else |
4672 echo "configure: failed program was:" >&5 | 4690 echo "configure: failed program was:" >&5 |
4673 cat conftest.$ac_ext >&5 | 4691 cat conftest.$ac_ext >&5 |
4684 fi | 4702 fi |
4685 | 4703 |
4686 if test $ac_cv_func_remove = no; then | 4704 if test $ac_cv_func_remove = no; then |
4687 | 4705 |
4688 echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6 | 4706 echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6 |
4689 echo "configure:4690: checking for remove in -lposix" >&5 | 4707 echo "configure:4708: checking for remove in -lposix" >&5 |
4690 ac_lib_var=`echo posix'_'remove | sed 'y%./+-%__p_%'` | 4708 ac_lib_var=`echo posix'_'remove | sed 'y%./+-%__p_%'` |
4691 | 4709 |
4692 xe_check_libs=" -lposix " | 4710 xe_check_libs=" -lposix " |
4693 cat > conftest.$ac_ext <<EOF | 4711 cat > conftest.$ac_ext <<EOF |
4694 #line 4695 "configure" | 4712 #line 4713 "configure" |
4695 #include "confdefs.h" | 4713 #include "confdefs.h" |
4696 /* Override any gcc2 internal prototype to avoid an error. */ | 4714 /* Override any gcc2 internal prototype to avoid an error. */ |
4697 /* We use char because int might match the return type of a gcc2 | 4715 /* We use char because int might match the return type of a gcc2 |
4698 builtin and then its argument prototype would still apply. */ | 4716 builtin and then its argument prototype would still apply. */ |
4699 char remove(); | 4717 char remove(); |
4700 | 4718 |
4701 int main() { | 4719 int main() { |
4702 remove() | 4720 remove() |
4703 ; return 0; } | 4721 ; return 0; } |
4704 EOF | 4722 EOF |
4705 if { (eval echo configure:4706: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4723 if { (eval echo configure:4724: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
4706 rm -rf conftest* | 4724 rm -rf conftest* |
4707 eval "ac_cv_lib_$ac_lib_var=yes" | 4725 eval "ac_cv_lib_$ac_lib_var=yes" |
4708 else | 4726 else |
4709 echo "configure: failed program was:" >&5 | 4727 echo "configure: failed program was:" >&5 |
4710 cat conftest.$ac_ext >&5 | 4728 cat conftest.$ac_ext >&5 |
4724 | 4742 |
4725 fi | 4743 fi |
4726 | 4744 |
4727 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay. | 4745 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay. |
4728 echo $ac_n "checking for shmat""... $ac_c" 1>&6 | 4746 echo $ac_n "checking for shmat""... $ac_c" 1>&6 |
4729 echo "configure:4730: checking for shmat" >&5 | 4747 echo "configure:4748: checking for shmat" >&5 |
4730 | 4748 |
4731 cat > conftest.$ac_ext <<EOF | 4749 cat > conftest.$ac_ext <<EOF |
4732 #line 4733 "configure" | 4750 #line 4751 "configure" |
4733 #include "confdefs.h" | 4751 #include "confdefs.h" |
4734 /* System header to define __stub macros and hopefully few prototypes, | 4752 /* System header to define __stub macros and hopefully few prototypes, |
4735 which can conflict with char shmat(); below. */ | 4753 which can conflict with char shmat(); below. */ |
4736 #include <assert.h> | 4754 #include <assert.h> |
4737 /* Override any gcc2 internal prototype to avoid an error. */ | 4755 /* Override any gcc2 internal prototype to avoid an error. */ |
4750 shmat(); | 4768 shmat(); |
4751 #endif | 4769 #endif |
4752 | 4770 |
4753 ; return 0; } | 4771 ; return 0; } |
4754 EOF | 4772 EOF |
4755 if { (eval echo configure:4756: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4773 if { (eval echo configure:4774: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
4756 rm -rf conftest* | 4774 rm -rf conftest* |
4757 eval "ac_cv_func_shmat=yes" | 4775 eval "ac_cv_func_shmat=yes" |
4758 else | 4776 else |
4759 echo "configure: failed program was:" >&5 | 4777 echo "configure: failed program was:" >&5 |
4760 cat conftest.$ac_ext >&5 | 4778 cat conftest.$ac_ext >&5 |
4771 fi | 4789 fi |
4772 | 4790 |
4773 if test $ac_cv_func_shmat = no; then | 4791 if test $ac_cv_func_shmat = no; then |
4774 | 4792 |
4775 echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6 | 4793 echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6 |
4776 echo "configure:4777: checking for shmat in -lipc" >&5 | 4794 echo "configure:4795: checking for shmat in -lipc" >&5 |
4777 ac_lib_var=`echo ipc'_'shmat | sed 'y%./+-%__p_%'` | 4795 ac_lib_var=`echo ipc'_'shmat | sed 'y%./+-%__p_%'` |
4778 | 4796 |
4779 xe_check_libs=" -lipc " | 4797 xe_check_libs=" -lipc " |
4780 cat > conftest.$ac_ext <<EOF | 4798 cat > conftest.$ac_ext <<EOF |
4781 #line 4782 "configure" | 4799 #line 4800 "configure" |
4782 #include "confdefs.h" | 4800 #include "confdefs.h" |
4783 /* Override any gcc2 internal prototype to avoid an error. */ | 4801 /* Override any gcc2 internal prototype to avoid an error. */ |
4784 /* We use char because int might match the return type of a gcc2 | 4802 /* We use char because int might match the return type of a gcc2 |
4785 builtin and then its argument prototype would still apply. */ | 4803 builtin and then its argument prototype would still apply. */ |
4786 char shmat(); | 4804 char shmat(); |
4787 | 4805 |
4788 int main() { | 4806 int main() { |
4789 shmat() | 4807 shmat() |
4790 ; return 0; } | 4808 ; return 0; } |
4791 EOF | 4809 EOF |
4792 if { (eval echo configure:4793: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4810 if { (eval echo configure:4811: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
4793 rm -rf conftest* | 4811 rm -rf conftest* |
4794 eval "ac_cv_lib_$ac_lib_var=yes" | 4812 eval "ac_cv_lib_$ac_lib_var=yes" |
4795 else | 4813 else |
4796 echo "configure: failed program was:" >&5 | 4814 echo "configure: failed program was:" >&5 |
4797 cat conftest.$ac_ext >&5 | 4815 cat conftest.$ac_ext >&5 |
4821 # These have to be linked with before -lX11, unlike the other | 4839 # These have to be linked with before -lX11, unlike the other |
4822 # libraries we check for below, so use a different variable. | 4840 # libraries we check for below, so use a different variable. |
4823 # --interran@uluru.Stanford.EDU, kb@cs.umb.edu. | 4841 # --interran@uluru.Stanford.EDU, kb@cs.umb.edu. |
4824 | 4842 |
4825 echo $ac_n "checking for IceConnectionNumber in -lICE""... $ac_c" 1>&6 | 4843 echo $ac_n "checking for IceConnectionNumber in -lICE""... $ac_c" 1>&6 |
4826 echo "configure:4827: checking for IceConnectionNumber in -lICE" >&5 | 4844 echo "configure:4845: checking for IceConnectionNumber in -lICE" >&5 |
4827 ac_lib_var=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'` | 4845 ac_lib_var=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'` |
4828 | 4846 |
4829 xe_check_libs=" -lICE " | 4847 xe_check_libs=" -lICE " |
4830 cat > conftest.$ac_ext <<EOF | 4848 cat > conftest.$ac_ext <<EOF |
4831 #line 4832 "configure" | 4849 #line 4850 "configure" |
4832 #include "confdefs.h" | 4850 #include "confdefs.h" |
4833 /* Override any gcc2 internal prototype to avoid an error. */ | 4851 /* Override any gcc2 internal prototype to avoid an error. */ |
4834 /* We use char because int might match the return type of a gcc2 | 4852 /* We use char because int might match the return type of a gcc2 |
4835 builtin and then its argument prototype would still apply. */ | 4853 builtin and then its argument prototype would still apply. */ |
4836 char IceConnectionNumber(); | 4854 char IceConnectionNumber(); |
4837 | 4855 |
4838 int main() { | 4856 int main() { |
4839 IceConnectionNumber() | 4857 IceConnectionNumber() |
4840 ; return 0; } | 4858 ; return 0; } |
4841 EOF | 4859 EOF |
4842 if { (eval echo configure:4843: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4860 if { (eval echo configure:4861: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
4843 rm -rf conftest* | 4861 rm -rf conftest* |
4844 eval "ac_cv_lib_$ac_lib_var=yes" | 4862 eval "ac_cv_lib_$ac_lib_var=yes" |
4845 else | 4863 else |
4846 echo "configure: failed program was:" >&5 | 4864 echo "configure: failed program was:" >&5 |
4847 cat conftest.$ac_ext >&5 | 4865 cat conftest.$ac_ext >&5 |
4969 for var in x_libraries x_includes X_CFLAGS X_LIBS X_PRE_LIBS X_EXTRA_LIBS; do eval "echo \"$var = '\$$var'\""; done | 4987 for var in x_libraries x_includes X_CFLAGS X_LIBS X_PRE_LIBS X_EXTRA_LIBS; do eval "echo \"$var = '\$$var'\""; done |
4970 echo | 4988 echo |
4971 fi | 4989 fi |
4972 | 4990 |
4973 echo "checking for X defines extracted by xmkmf" 1>&6 | 4991 echo "checking for X defines extracted by xmkmf" 1>&6 |
4974 echo "configure:4975: checking for X defines extracted by xmkmf" >&5 | 4992 echo "configure:4993: checking for X defines extracted by xmkmf" >&5 |
4975 rm -fr conftestdir | 4993 rm -fr conftestdir |
4976 if mkdir conftestdir; then | 4994 if mkdir conftestdir; then |
4977 cd conftestdir | 4995 cd conftestdir |
4978 cat > Imakefile <<'EOF' | 4996 cat > Imakefile <<'EOF' |
4979 xetest: | 4997 xetest: |
5001 done | 5019 done |
5002 fi | 5020 fi |
5003 | 5021 |
5004 ac_safe=`echo "X11/Intrinsic.h" | sed 'y%./+-%__p_%'` | 5022 ac_safe=`echo "X11/Intrinsic.h" | sed 'y%./+-%__p_%'` |
5005 echo $ac_n "checking for X11/Intrinsic.h""... $ac_c" 1>&6 | 5023 echo $ac_n "checking for X11/Intrinsic.h""... $ac_c" 1>&6 |
5006 echo "configure:5007: checking for X11/Intrinsic.h" >&5 | 5024 echo "configure:5025: checking for X11/Intrinsic.h" >&5 |
5007 | 5025 |
5008 cat > conftest.$ac_ext <<EOF | 5026 cat > conftest.$ac_ext <<EOF |
5009 #line 5010 "configure" | 5027 #line 5028 "configure" |
5010 #include "confdefs.h" | 5028 #include "confdefs.h" |
5011 #include <X11/Intrinsic.h> | 5029 #include <X11/Intrinsic.h> |
5012 EOF | 5030 EOF |
5013 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 5031 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
5014 { (eval echo configure:5015: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 5032 { (eval echo configure:5033: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
5015 ac_err=`grep -v '^ *+' conftest.out` | 5033 ac_err=`grep -v '^ *+' conftest.out` |
5016 if test -z "$ac_err"; then | 5034 if test -z "$ac_err"; then |
5017 rm -rf conftest* | 5035 rm -rf conftest* |
5018 eval "ac_cv_header_$ac_safe=yes" | 5036 eval "ac_cv_header_$ac_safe=yes" |
5019 else | 5037 else |
5033 fi | 5051 fi |
5034 | 5052 |
5035 | 5053 |
5036 | 5054 |
5037 echo $ac_n "checking for XOpenDisplay in -lX11""... $ac_c" 1>&6 | 5055 echo $ac_n "checking for XOpenDisplay in -lX11""... $ac_c" 1>&6 |
5038 echo "configure:5039: checking for XOpenDisplay in -lX11" >&5 | 5056 echo "configure:5057: checking for XOpenDisplay in -lX11" >&5 |
5039 ac_lib_var=`echo X11'_'XOpenDisplay | sed 'y%./+-%__p_%'` | 5057 ac_lib_var=`echo X11'_'XOpenDisplay | sed 'y%./+-%__p_%'` |
5040 | 5058 |
5041 xe_check_libs=" -lX11 " | 5059 xe_check_libs=" -lX11 " |
5042 cat > conftest.$ac_ext <<EOF | 5060 cat > conftest.$ac_ext <<EOF |
5043 #line 5044 "configure" | 5061 #line 5062 "configure" |
5044 #include "confdefs.h" | 5062 #include "confdefs.h" |
5045 /* Override any gcc2 internal prototype to avoid an error. */ | 5063 /* Override any gcc2 internal prototype to avoid an error. */ |
5046 /* We use char because int might match the return type of a gcc2 | 5064 /* We use char because int might match the return type of a gcc2 |
5047 builtin and then its argument prototype would still apply. */ | 5065 builtin and then its argument prototype would still apply. */ |
5048 char XOpenDisplay(); | 5066 char XOpenDisplay(); |
5049 | 5067 |
5050 int main() { | 5068 int main() { |
5051 XOpenDisplay() | 5069 XOpenDisplay() |
5052 ; return 0; } | 5070 ; return 0; } |
5053 EOF | 5071 EOF |
5054 if { (eval echo configure:5055: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 5072 if { (eval echo configure:5073: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
5055 rm -rf conftest* | 5073 rm -rf conftest* |
5056 eval "ac_cv_lib_$ac_lib_var=yes" | 5074 eval "ac_cv_lib_$ac_lib_var=yes" |
5057 else | 5075 else |
5058 echo "configure: failed program was:" >&5 | 5076 echo "configure: failed program was:" >&5 |
5059 cat conftest.$ac_ext >&5 | 5077 cat conftest.$ac_ext >&5 |
5074 if test "$have_lib_x11" != "yes"; then | 5092 if test "$have_lib_x11" != "yes"; then |
5075 | 5093 |
5076 xe_msg_checking="for XGetFontProperty in -lX11" | 5094 xe_msg_checking="for XGetFontProperty in -lX11" |
5077 test -n "-b i486-linuxaout" && xe_msg_checking="$xe_msg_checking using extra libs -b i486-linuxaout" | 5095 test -n "-b i486-linuxaout" && xe_msg_checking="$xe_msg_checking using extra libs -b i486-linuxaout" |
5078 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 5096 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
5079 echo "configure:5080: checking "$xe_msg_checking"" >&5 | 5097 echo "configure:5098: checking "$xe_msg_checking"" >&5 |
5080 ac_lib_var=`echo X11'_'XGetFontProperty | sed 'y%./+-%__p_%'` | 5098 ac_lib_var=`echo X11'_'XGetFontProperty | sed 'y%./+-%__p_%'` |
5081 | 5099 |
5082 xe_check_libs=" -lX11 -b i486-linuxaout" | 5100 xe_check_libs=" -lX11 -b i486-linuxaout" |
5083 cat > conftest.$ac_ext <<EOF | 5101 cat > conftest.$ac_ext <<EOF |
5084 #line 5085 "configure" | 5102 #line 5103 "configure" |
5085 #include "confdefs.h" | 5103 #include "confdefs.h" |
5086 /* Override any gcc2 internal prototype to avoid an error. */ | 5104 /* Override any gcc2 internal prototype to avoid an error. */ |
5087 /* We use char because int might match the return type of a gcc2 | 5105 /* We use char because int might match the return type of a gcc2 |
5088 builtin and then its argument prototype would still apply. */ | 5106 builtin and then its argument prototype would still apply. */ |
5089 char XGetFontProperty(); | 5107 char XGetFontProperty(); |
5090 | 5108 |
5091 int main() { | 5109 int main() { |
5092 XGetFontProperty() | 5110 XGetFontProperty() |
5093 ; return 0; } | 5111 ; return 0; } |
5094 EOF | 5112 EOF |
5095 if { (eval echo configure:5096: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 5113 if { (eval echo configure:5114: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
5096 rm -rf conftest* | 5114 rm -rf conftest* |
5097 eval "ac_cv_lib_$ac_lib_var=yes" | 5115 eval "ac_cv_lib_$ac_lib_var=yes" |
5098 else | 5116 else |
5099 echo "configure: failed program was:" >&5 | 5117 echo "configure: failed program was:" >&5 |
5100 cat conftest.$ac_ext >&5 | 5118 cat conftest.$ac_ext >&5 |
5117 libs_x="-lX11" | 5135 libs_x="-lX11" |
5118 test "$extra_verbose" = "yes" && echo " Setting libs_x to \"-lX11\"" | 5136 test "$extra_verbose" = "yes" && echo " Setting libs_x to \"-lX11\"" |
5119 | 5137 |
5120 | 5138 |
5121 echo $ac_n "checking for XShapeSelectInput in -lXext""... $ac_c" 1>&6 | 5139 echo $ac_n "checking for XShapeSelectInput in -lXext""... $ac_c" 1>&6 |
5122 echo "configure:5123: checking for XShapeSelectInput in -lXext" >&5 | 5140 echo "configure:5141: checking for XShapeSelectInput in -lXext" >&5 |
5123 ac_lib_var=`echo Xext'_'XShapeSelectInput | sed 'y%./+-%__p_%'` | 5141 ac_lib_var=`echo Xext'_'XShapeSelectInput | sed 'y%./+-%__p_%'` |
5124 | 5142 |
5125 xe_check_libs=" -lXext " | 5143 xe_check_libs=" -lXext " |
5126 cat > conftest.$ac_ext <<EOF | 5144 cat > conftest.$ac_ext <<EOF |
5127 #line 5128 "configure" | 5145 #line 5146 "configure" |
5128 #include "confdefs.h" | 5146 #include "confdefs.h" |
5129 /* Override any gcc2 internal prototype to avoid an error. */ | 5147 /* Override any gcc2 internal prototype to avoid an error. */ |
5130 /* We use char because int might match the return type of a gcc2 | 5148 /* We use char because int might match the return type of a gcc2 |
5131 builtin and then its argument prototype would still apply. */ | 5149 builtin and then its argument prototype would still apply. */ |
5132 char XShapeSelectInput(); | 5150 char XShapeSelectInput(); |
5133 | 5151 |
5134 int main() { | 5152 int main() { |
5135 XShapeSelectInput() | 5153 XShapeSelectInput() |
5136 ; return 0; } | 5154 ; return 0; } |
5137 EOF | 5155 EOF |
5138 if { (eval echo configure:5139: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 5156 if { (eval echo configure:5157: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
5139 rm -rf conftest* | 5157 rm -rf conftest* |
5140 eval "ac_cv_lib_$ac_lib_var=yes" | 5158 eval "ac_cv_lib_$ac_lib_var=yes" |
5141 else | 5159 else |
5142 echo "configure: failed program was:" >&5 | 5160 echo "configure: failed program was:" >&5 |
5143 cat conftest.$ac_ext >&5 | 5161 cat conftest.$ac_ext >&5 |
5156 | 5174 |
5157 | 5175 |
5158 | 5176 |
5159 | 5177 |
5160 echo $ac_n "checking for XtOpenDisplay in -lXt""... $ac_c" 1>&6 | 5178 echo $ac_n "checking for XtOpenDisplay in -lXt""... $ac_c" 1>&6 |
5161 echo "configure:5162: checking for XtOpenDisplay in -lXt" >&5 | 5179 echo "configure:5180: checking for XtOpenDisplay in -lXt" >&5 |
5162 ac_lib_var=`echo Xt'_'XtOpenDisplay | sed 'y%./+-%__p_%'` | 5180 ac_lib_var=`echo Xt'_'XtOpenDisplay | sed 'y%./+-%__p_%'` |
5163 | 5181 |
5164 xe_check_libs=" -lXt " | 5182 xe_check_libs=" -lXt " |
5165 cat > conftest.$ac_ext <<EOF | 5183 cat > conftest.$ac_ext <<EOF |
5166 #line 5167 "configure" | 5184 #line 5185 "configure" |
5167 #include "confdefs.h" | 5185 #include "confdefs.h" |
5168 /* Override any gcc2 internal prototype to avoid an error. */ | 5186 /* Override any gcc2 internal prototype to avoid an error. */ |
5169 /* We use char because int might match the return type of a gcc2 | 5187 /* We use char because int might match the return type of a gcc2 |
5170 builtin and then its argument prototype would still apply. */ | 5188 builtin and then its argument prototype would still apply. */ |
5171 char XtOpenDisplay(); | 5189 char XtOpenDisplay(); |
5172 | 5190 |
5173 int main() { | 5191 int main() { |
5174 XtOpenDisplay() | 5192 XtOpenDisplay() |
5175 ; return 0; } | 5193 ; return 0; } |
5176 EOF | 5194 EOF |
5177 if { (eval echo configure:5178: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 5195 if { (eval echo configure:5196: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
5178 rm -rf conftest* | 5196 rm -rf conftest* |
5179 eval "ac_cv_lib_$ac_lib_var=yes" | 5197 eval "ac_cv_lib_$ac_lib_var=yes" |
5180 else | 5198 else |
5181 echo "configure: failed program was:" >&5 | 5199 echo "configure: failed program was:" >&5 |
5182 cat conftest.$ac_ext >&5 | 5200 cat conftest.$ac_ext >&5 |
5195 fi | 5213 fi |
5196 | 5214 |
5197 | 5215 |
5198 | 5216 |
5199 echo $ac_n "checking the version of X11 being used""... $ac_c" 1>&6 | 5217 echo $ac_n "checking the version of X11 being used""... $ac_c" 1>&6 |
5200 echo "configure:5201: checking the version of X11 being used" >&5 | 5218 echo "configure:5219: checking the version of X11 being used" >&5 |
5201 cat > conftest.$ac_ext <<EOF | 5219 cat > conftest.$ac_ext <<EOF |
5202 #line 5203 "configure" | 5220 #line 5221 "configure" |
5203 #include "confdefs.h" | 5221 #include "confdefs.h" |
5204 #include <X11/Intrinsic.h> | 5222 #include <X11/Intrinsic.h> |
5205 main(int c, char* v[]) { return c>1 ? XlibSpecificationRelease : 0; } | 5223 main(int c, char* v[]) { return c>1 ? XlibSpecificationRelease : 0; } |
5206 EOF | 5224 EOF |
5207 if { (eval echo configure:5208: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 | 5225 if { (eval echo configure:5226: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 |
5208 then | 5226 then |
5209 ./conftest foobar; x11_release=$? | 5227 ./conftest foobar; x11_release=$? |
5210 else | 5228 else |
5211 echo "configure: failed program was:" >&5 | 5229 echo "configure: failed program was:" >&5 |
5212 cat conftest.$ac_ext >&5 | 5230 cat conftest.$ac_ext >&5 |
5226 | 5244 |
5227 for ac_hdr in X11/Xlocale.h | 5245 for ac_hdr in X11/Xlocale.h |
5228 do | 5246 do |
5229 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 5247 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
5230 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 5248 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
5231 echo "configure:5232: checking for $ac_hdr" >&5 | 5249 echo "configure:5250: checking for $ac_hdr" >&5 |
5232 | 5250 |
5233 cat > conftest.$ac_ext <<EOF | 5251 cat > conftest.$ac_ext <<EOF |
5234 #line 5235 "configure" | 5252 #line 5253 "configure" |
5235 #include "confdefs.h" | 5253 #include "confdefs.h" |
5236 #include <$ac_hdr> | 5254 #include <$ac_hdr> |
5237 EOF | 5255 EOF |
5238 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 5256 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
5239 { (eval echo configure:5240: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 5257 { (eval echo configure:5258: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
5240 ac_err=`grep -v '^ *+' conftest.out` | 5258 ac_err=`grep -v '^ *+' conftest.out` |
5241 if test -z "$ac_err"; then | 5259 if test -z "$ac_err"; then |
5242 rm -rf conftest* | 5260 rm -rf conftest* |
5243 eval "ac_cv_header_$ac_safe=yes" | 5261 eval "ac_cv_header_$ac_safe=yes" |
5244 else | 5262 else |
5265 fi | 5283 fi |
5266 done | 5284 done |
5267 | 5285 |
5268 | 5286 |
5269 echo $ac_n "checking for XFree86""... $ac_c" 1>&6 | 5287 echo $ac_n "checking for XFree86""... $ac_c" 1>&6 |
5270 echo "configure:5271: checking for XFree86" >&5 | 5288 echo "configure:5289: checking for XFree86" >&5 |
5271 if test -d "/usr/X386/include" -o \ | 5289 if test -d "/usr/X386/include" -o \ |
5272 -f "/etc/XF86Config" -o \ | 5290 -f "/etc/XF86Config" -o \ |
5273 -f "/etc/X11/XF86Config" -o \ | 5291 -f "/etc/X11/XF86Config" -o \ |
5274 -f "/usr/X11R6/lib/X11/XF86Config"; then | 5292 -f "/usr/X11R6/lib/X11/XF86Config"; then |
5275 echo "$ac_t""yes" 1>&6 | 5293 echo "$ac_t""yes" 1>&6 |
5285 echo "$ac_t""no" 1>&6 | 5303 echo "$ac_t""no" 1>&6 |
5286 fi | 5304 fi |
5287 | 5305 |
5288 test -z "$with_xmu" && { | 5306 test -z "$with_xmu" && { |
5289 echo $ac_n "checking for XmuReadBitmapDataFromFile in -lXmu""... $ac_c" 1>&6 | 5307 echo $ac_n "checking for XmuReadBitmapDataFromFile in -lXmu""... $ac_c" 1>&6 |
5290 echo "configure:5291: checking for XmuReadBitmapDataFromFile in -lXmu" >&5 | 5308 echo "configure:5309: checking for XmuReadBitmapDataFromFile in -lXmu" >&5 |
5291 ac_lib_var=`echo Xmu'_'XmuReadBitmapDataFromFile | sed 'y%./+-%__p_%'` | 5309 ac_lib_var=`echo Xmu'_'XmuReadBitmapDataFromFile | sed 'y%./+-%__p_%'` |
5292 | 5310 |
5293 xe_check_libs=" -lXmu " | 5311 xe_check_libs=" -lXmu " |
5294 cat > conftest.$ac_ext <<EOF | 5312 cat > conftest.$ac_ext <<EOF |
5295 #line 5296 "configure" | 5313 #line 5314 "configure" |
5296 #include "confdefs.h" | 5314 #include "confdefs.h" |
5297 /* Override any gcc2 internal prototype to avoid an error. */ | 5315 /* Override any gcc2 internal prototype to avoid an error. */ |
5298 /* We use char because int might match the return type of a gcc2 | 5316 /* We use char because int might match the return type of a gcc2 |
5299 builtin and then its argument prototype would still apply. */ | 5317 builtin and then its argument prototype would still apply. */ |
5300 char XmuReadBitmapDataFromFile(); | 5318 char XmuReadBitmapDataFromFile(); |
5301 | 5319 |
5302 int main() { | 5320 int main() { |
5303 XmuReadBitmapDataFromFile() | 5321 XmuReadBitmapDataFromFile() |
5304 ; return 0; } | 5322 ; return 0; } |
5305 EOF | 5323 EOF |
5306 if { (eval echo configure:5307: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 5324 if { (eval echo configure:5325: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
5307 rm -rf conftest* | 5325 rm -rf conftest* |
5308 eval "ac_cv_lib_$ac_lib_var=yes" | 5326 eval "ac_cv_lib_$ac_lib_var=yes" |
5309 else | 5327 else |
5310 echo "configure: failed program was:" >&5 | 5328 echo "configure: failed program was:" >&5 |
5311 cat conftest.$ac_ext >&5 | 5329 cat conftest.$ac_ext >&5 |
5331 else libs_x="-lXmu $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXmu\" to \$libs_x"; fi | 5349 else libs_x="-lXmu $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXmu\" to \$libs_x"; fi |
5332 fi | 5350 fi |
5333 | 5351 |
5334 | 5352 |
5335 echo $ac_n "checking for main in -lXbsd""... $ac_c" 1>&6 | 5353 echo $ac_n "checking for main in -lXbsd""... $ac_c" 1>&6 |
5336 echo "configure:5337: checking for main in -lXbsd" >&5 | 5354 echo "configure:5355: checking for main in -lXbsd" >&5 |
5337 ac_lib_var=`echo Xbsd'_'main | sed 'y%./+-%__p_%'` | 5355 ac_lib_var=`echo Xbsd'_'main | sed 'y%./+-%__p_%'` |
5338 | 5356 |
5339 xe_check_libs=" -lXbsd " | 5357 xe_check_libs=" -lXbsd " |
5340 cat > conftest.$ac_ext <<EOF | 5358 cat > conftest.$ac_ext <<EOF |
5341 #line 5342 "configure" | 5359 #line 5360 "configure" |
5342 #include "confdefs.h" | 5360 #include "confdefs.h" |
5343 | 5361 |
5344 int main() { | 5362 int main() { |
5345 main() | 5363 main() |
5346 ; return 0; } | 5364 ; return 0; } |
5347 EOF | 5365 EOF |
5348 if { (eval echo configure:5349: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 5366 if { (eval echo configure:5367: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
5349 rm -rf conftest* | 5367 rm -rf conftest* |
5350 eval "ac_cv_lib_$ac_lib_var=yes" | 5368 eval "ac_cv_lib_$ac_lib_var=yes" |
5351 else | 5369 else |
5352 echo "configure: failed program was:" >&5 | 5370 echo "configure: failed program was:" >&5 |
5353 cat conftest.$ac_ext >&5 | 5371 cat conftest.$ac_ext >&5 |
5366 | 5384 |
5367 | 5385 |
5368 | 5386 |
5369 | 5387 |
5370 echo $ac_n "checking for XawScrollbarSetThumb in -lXaw""... $ac_c" 1>&6 | 5388 echo $ac_n "checking for XawScrollbarSetThumb in -lXaw""... $ac_c" 1>&6 |
5371 echo "configure:5372: checking for XawScrollbarSetThumb in -lXaw" >&5 | 5389 echo "configure:5390: checking for XawScrollbarSetThumb in -lXaw" >&5 |
5372 ac_lib_var=`echo Xaw'_'XawScrollbarSetThumb | sed 'y%./+-%__p_%'` | 5390 ac_lib_var=`echo Xaw'_'XawScrollbarSetThumb | sed 'y%./+-%__p_%'` |
5373 | 5391 |
5374 xe_check_libs=" -lXaw " | 5392 xe_check_libs=" -lXaw " |
5375 cat > conftest.$ac_ext <<EOF | 5393 cat > conftest.$ac_ext <<EOF |
5376 #line 5377 "configure" | 5394 #line 5395 "configure" |
5377 #include "confdefs.h" | 5395 #include "confdefs.h" |
5378 /* Override any gcc2 internal prototype to avoid an error. */ | 5396 /* Override any gcc2 internal prototype to avoid an error. */ |
5379 /* We use char because int might match the return type of a gcc2 | 5397 /* We use char because int might match the return type of a gcc2 |
5380 builtin and then its argument prototype would still apply. */ | 5398 builtin and then its argument prototype would still apply. */ |
5381 char XawScrollbarSetThumb(); | 5399 char XawScrollbarSetThumb(); |
5382 | 5400 |
5383 int main() { | 5401 int main() { |
5384 XawScrollbarSetThumb() | 5402 XawScrollbarSetThumb() |
5385 ; return 0; } | 5403 ; return 0; } |
5386 EOF | 5404 EOF |
5387 if { (eval echo configure:5388: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 5405 if { (eval echo configure:5406: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
5388 rm -rf conftest* | 5406 rm -rf conftest* |
5389 eval "ac_cv_lib_$ac_lib_var=yes" | 5407 eval "ac_cv_lib_$ac_lib_var=yes" |
5390 else | 5408 else |
5391 echo "configure: failed program was:" >&5 | 5409 echo "configure: failed program was:" >&5 |
5392 cat conftest.$ac_ext >&5 | 5410 cat conftest.$ac_ext >&5 |
5406 | 5424 |
5407 | 5425 |
5408 if test "$have_xaw" = "yes"; then | 5426 if test "$have_xaw" = "yes"; then |
5409 ac_safe=`echo "X11/Xaw/Reports.h" | sed 'y%./+-%__p_%'` | 5427 ac_safe=`echo "X11/Xaw/Reports.h" | sed 'y%./+-%__p_%'` |
5410 echo $ac_n "checking for X11/Xaw/Reports.h""... $ac_c" 1>&6 | 5428 echo $ac_n "checking for X11/Xaw/Reports.h""... $ac_c" 1>&6 |
5411 echo "configure:5412: checking for X11/Xaw/Reports.h" >&5 | 5429 echo "configure:5430: checking for X11/Xaw/Reports.h" >&5 |
5412 | 5430 |
5413 cat > conftest.$ac_ext <<EOF | 5431 cat > conftest.$ac_ext <<EOF |
5414 #line 5415 "configure" | 5432 #line 5433 "configure" |
5415 #include "confdefs.h" | 5433 #include "confdefs.h" |
5416 #include <X11/Xaw/Reports.h> | 5434 #include <X11/Xaw/Reports.h> |
5417 EOF | 5435 EOF |
5418 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 5436 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
5419 { (eval echo configure:5420: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 5437 { (eval echo configure:5438: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
5420 ac_err=`grep -v '^ *+' conftest.out` | 5438 ac_err=`grep -v '^ *+' conftest.out` |
5421 if test -z "$ac_err"; then | 5439 if test -z "$ac_err"; then |
5422 rm -rf conftest* | 5440 rm -rf conftest* |
5423 eval "ac_cv_header_$ac_safe=yes" | 5441 eval "ac_cv_header_$ac_safe=yes" |
5424 else | 5442 else |
5473 esac | 5491 esac |
5474 | 5492 |
5475 test -z "$with_xauth" && test "$window_system" = "none" && with_xauth=no | 5493 test -z "$with_xauth" && test "$window_system" = "none" && with_xauth=no |
5476 test -z "$with_xauth" && { ac_safe=`echo "X11/Xauth.h" | sed 'y%./+-%__p_%'` | 5494 test -z "$with_xauth" && { ac_safe=`echo "X11/Xauth.h" | sed 'y%./+-%__p_%'` |
5477 echo $ac_n "checking for X11/Xauth.h""... $ac_c" 1>&6 | 5495 echo $ac_n "checking for X11/Xauth.h""... $ac_c" 1>&6 |
5478 echo "configure:5479: checking for X11/Xauth.h" >&5 | 5496 echo "configure:5497: checking for X11/Xauth.h" >&5 |
5479 | 5497 |
5480 cat > conftest.$ac_ext <<EOF | 5498 cat > conftest.$ac_ext <<EOF |
5481 #line 5482 "configure" | 5499 #line 5500 "configure" |
5482 #include "confdefs.h" | 5500 #include "confdefs.h" |
5483 #include <X11/Xauth.h> | 5501 #include <X11/Xauth.h> |
5484 EOF | 5502 EOF |
5485 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 5503 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
5486 { (eval echo configure:5487: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 5504 { (eval echo configure:5505: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
5487 ac_err=`grep -v '^ *+' conftest.out` | 5505 ac_err=`grep -v '^ *+' conftest.out` |
5488 if test -z "$ac_err"; then | 5506 if test -z "$ac_err"; then |
5489 rm -rf conftest* | 5507 rm -rf conftest* |
5490 eval "ac_cv_header_$ac_safe=yes" | 5508 eval "ac_cv_header_$ac_safe=yes" |
5491 else | 5509 else |
5504 with_xauth=no | 5522 with_xauth=no |
5505 fi | 5523 fi |
5506 } | 5524 } |
5507 test -z "$with_xauth" && { | 5525 test -z "$with_xauth" && { |
5508 echo $ac_n "checking for XauGetAuthByAddr in -lXau""... $ac_c" 1>&6 | 5526 echo $ac_n "checking for XauGetAuthByAddr in -lXau""... $ac_c" 1>&6 |
5509 echo "configure:5510: checking for XauGetAuthByAddr in -lXau" >&5 | 5527 echo "configure:5528: checking for XauGetAuthByAddr in -lXau" >&5 |
5510 ac_lib_var=`echo Xau'_'XauGetAuthByAddr | sed 'y%./+-%__p_%'` | 5528 ac_lib_var=`echo Xau'_'XauGetAuthByAddr | sed 'y%./+-%__p_%'` |
5511 | 5529 |
5512 xe_check_libs=" -lXau " | 5530 xe_check_libs=" -lXau " |
5513 cat > conftest.$ac_ext <<EOF | 5531 cat > conftest.$ac_ext <<EOF |
5514 #line 5515 "configure" | 5532 #line 5533 "configure" |
5515 #include "confdefs.h" | 5533 #include "confdefs.h" |
5516 /* Override any gcc2 internal prototype to avoid an error. */ | 5534 /* Override any gcc2 internal prototype to avoid an error. */ |
5517 /* We use char because int might match the return type of a gcc2 | 5535 /* We use char because int might match the return type of a gcc2 |
5518 builtin and then its argument prototype would still apply. */ | 5536 builtin and then its argument prototype would still apply. */ |
5519 char XauGetAuthByAddr(); | 5537 char XauGetAuthByAddr(); |
5520 | 5538 |
5521 int main() { | 5539 int main() { |
5522 XauGetAuthByAddr() | 5540 XauGetAuthByAddr() |
5523 ; return 0; } | 5541 ; return 0; } |
5524 EOF | 5542 EOF |
5525 if { (eval echo configure:5526: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 5543 if { (eval echo configure:5544: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
5526 rm -rf conftest* | 5544 rm -rf conftest* |
5527 eval "ac_cv_lib_$ac_lib_var=yes" | 5545 eval "ac_cv_lib_$ac_lib_var=yes" |
5528 else | 5546 else |
5529 echo "configure: failed program was:" >&5 | 5547 echo "configure: failed program was:" >&5 |
5530 cat conftest.$ac_ext >&5 | 5548 cat conftest.$ac_ext >&5 |
5561 fi | 5579 fi |
5562 | 5580 |
5563 | 5581 |
5564 test -z "$with_offix" && { ac_safe=`echo "OffiX/DragAndDrop.h" | sed 'y%./+-%__p_%'` | 5582 test -z "$with_offix" && { ac_safe=`echo "OffiX/DragAndDrop.h" | sed 'y%./+-%__p_%'` |
5565 echo $ac_n "checking for OffiX/DragAndDrop.h""... $ac_c" 1>&6 | 5583 echo $ac_n "checking for OffiX/DragAndDrop.h""... $ac_c" 1>&6 |
5566 echo "configure:5567: checking for OffiX/DragAndDrop.h" >&5 | 5584 echo "configure:5585: checking for OffiX/DragAndDrop.h" >&5 |
5567 | 5585 |
5568 cat > conftest.$ac_ext <<EOF | 5586 cat > conftest.$ac_ext <<EOF |
5569 #line 5570 "configure" | 5587 #line 5588 "configure" |
5570 #include "confdefs.h" | 5588 #include "confdefs.h" |
5571 #include <OffiX/DragAndDrop.h> | 5589 #include <OffiX/DragAndDrop.h> |
5572 EOF | 5590 EOF |
5573 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 5591 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
5574 { (eval echo configure:5575: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 5592 { (eval echo configure:5593: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
5575 ac_err=`grep -v '^ *+' conftest.out` | 5593 ac_err=`grep -v '^ *+' conftest.out` |
5576 if test -z "$ac_err"; then | 5594 if test -z "$ac_err"; then |
5577 rm -rf conftest* | 5595 rm -rf conftest* |
5578 eval "ac_cv_header_$ac_safe=yes" | 5596 eval "ac_cv_header_$ac_safe=yes" |
5579 else | 5597 else |
5592 with_offix=no | 5610 with_offix=no |
5593 fi | 5611 fi |
5594 } | 5612 } |
5595 test -z "$with_offix" && { | 5613 test -z "$with_offix" && { |
5596 echo $ac_n "checking for DndInitialize in -lDnd""... $ac_c" 1>&6 | 5614 echo $ac_n "checking for DndInitialize in -lDnd""... $ac_c" 1>&6 |
5597 echo "configure:5598: checking for DndInitialize in -lDnd" >&5 | 5615 echo "configure:5616: checking for DndInitialize in -lDnd" >&5 |
5598 ac_lib_var=`echo Dnd'_'DndInitialize | sed 'y%./+-%__p_%'` | 5616 ac_lib_var=`echo Dnd'_'DndInitialize | sed 'y%./+-%__p_%'` |
5599 | 5617 |
5600 xe_check_libs=" -lDnd " | 5618 xe_check_libs=" -lDnd " |
5601 cat > conftest.$ac_ext <<EOF | 5619 cat > conftest.$ac_ext <<EOF |
5602 #line 5603 "configure" | 5620 #line 5621 "configure" |
5603 #include "confdefs.h" | 5621 #include "confdefs.h" |
5604 /* Override any gcc2 internal prototype to avoid an error. */ | 5622 /* Override any gcc2 internal prototype to avoid an error. */ |
5605 /* We use char because int might match the return type of a gcc2 | 5623 /* We use char because int might match the return type of a gcc2 |
5606 builtin and then its argument prototype would still apply. */ | 5624 builtin and then its argument prototype would still apply. */ |
5607 char DndInitialize(); | 5625 char DndInitialize(); |
5608 | 5626 |
5609 int main() { | 5627 int main() { |
5610 DndInitialize() | 5628 DndInitialize() |
5611 ; return 0; } | 5629 ; return 0; } |
5612 EOF | 5630 EOF |
5613 if { (eval echo configure:5614: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 5631 if { (eval echo configure:5632: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
5614 rm -rf conftest* | 5632 rm -rf conftest* |
5615 eval "ac_cv_lib_$ac_lib_var=yes" | 5633 eval "ac_cv_lib_$ac_lib_var=yes" |
5616 else | 5634 else |
5617 echo "configure: failed program was:" >&5 | 5635 echo "configure: failed program was:" >&5 |
5618 cat conftest.$ac_ext >&5 | 5636 cat conftest.$ac_ext >&5 |
5647 test "$with_cde" = "yes" && with_tooltalk=yes # CDE requires tooltalk | 5665 test "$with_cde" = "yes" && with_tooltalk=yes # CDE requires tooltalk |
5648 if test "$with_tooltalk" != "no" ; then | 5666 if test "$with_tooltalk" != "no" ; then |
5649 for dir in "" "Tt/" "desktop/" ; do | 5667 for dir in "" "Tt/" "desktop/" ; do |
5650 ac_safe=`echo "${dir}tt_c.h" | sed 'y%./+-%__p_%'` | 5668 ac_safe=`echo "${dir}tt_c.h" | sed 'y%./+-%__p_%'` |
5651 echo $ac_n "checking for ${dir}tt_c.h""... $ac_c" 1>&6 | 5669 echo $ac_n "checking for ${dir}tt_c.h""... $ac_c" 1>&6 |
5652 echo "configure:5653: checking for ${dir}tt_c.h" >&5 | 5670 echo "configure:5671: checking for ${dir}tt_c.h" >&5 |
5653 | 5671 |
5654 cat > conftest.$ac_ext <<EOF | 5672 cat > conftest.$ac_ext <<EOF |
5655 #line 5656 "configure" | 5673 #line 5674 "configure" |
5656 #include "confdefs.h" | 5674 #include "confdefs.h" |
5657 #include <${dir}tt_c.h> | 5675 #include <${dir}tt_c.h> |
5658 EOF | 5676 EOF |
5659 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 5677 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
5660 { (eval echo configure:5661: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 5678 { (eval echo configure:5679: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
5661 ac_err=`grep -v '^ *+' conftest.out` | 5679 ac_err=`grep -v '^ *+' conftest.out` |
5662 if test -z "$ac_err"; then | 5680 if test -z "$ac_err"; then |
5663 rm -rf conftest* | 5681 rm -rf conftest* |
5664 eval "ac_cv_header_$ac_safe=yes" | 5682 eval "ac_cv_header_$ac_safe=yes" |
5665 else | 5683 else |
5684 for extra_libs in "" "-lI18N -lce" "-lcxx"; do | 5702 for extra_libs in "" "-lI18N -lce" "-lcxx"; do |
5685 | 5703 |
5686 xe_msg_checking="for tt_message_create in -ltt" | 5704 xe_msg_checking="for tt_message_create in -ltt" |
5687 test -n "$extra_libs" && xe_msg_checking="$xe_msg_checking using extra libs $extra_libs" | 5705 test -n "$extra_libs" && xe_msg_checking="$xe_msg_checking using extra libs $extra_libs" |
5688 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 5706 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
5689 echo "configure:5690: checking "$xe_msg_checking"" >&5 | 5707 echo "configure:5708: checking "$xe_msg_checking"" >&5 |
5690 ac_lib_var=`echo tt'_'tt_message_create | sed 'y%./+-%__p_%'` | 5708 ac_lib_var=`echo tt'_'tt_message_create | sed 'y%./+-%__p_%'` |
5691 | 5709 |
5692 xe_check_libs=" -ltt $extra_libs" | 5710 xe_check_libs=" -ltt $extra_libs" |
5693 cat > conftest.$ac_ext <<EOF | 5711 cat > conftest.$ac_ext <<EOF |
5694 #line 5695 "configure" | 5712 #line 5713 "configure" |
5695 #include "confdefs.h" | 5713 #include "confdefs.h" |
5696 /* Override any gcc2 internal prototype to avoid an error. */ | 5714 /* Override any gcc2 internal prototype to avoid an error. */ |
5697 /* We use char because int might match the return type of a gcc2 | 5715 /* We use char because int might match the return type of a gcc2 |
5698 builtin and then its argument prototype would still apply. */ | 5716 builtin and then its argument prototype would still apply. */ |
5699 char tt_message_create(); | 5717 char tt_message_create(); |
5700 | 5718 |
5701 int main() { | 5719 int main() { |
5702 tt_message_create() | 5720 tt_message_create() |
5703 ; return 0; } | 5721 ; return 0; } |
5704 EOF | 5722 EOF |
5705 if { (eval echo configure:5706: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 5723 if { (eval echo configure:5724: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
5706 rm -rf conftest* | 5724 rm -rf conftest* |
5707 eval "ac_cv_lib_$ac_lib_var=yes" | 5725 eval "ac_cv_lib_$ac_lib_var=yes" |
5708 else | 5726 else |
5709 echo "configure: failed program was:" >&5 | 5727 echo "configure: failed program was:" >&5 |
5710 cat conftest.$ac_ext >&5 | 5728 cat conftest.$ac_ext >&5 |
5749 fi | 5767 fi |
5750 fi | 5768 fi |
5751 | 5769 |
5752 test -z "$with_cde" && { ac_safe=`echo "Dt/Dt.h" | sed 'y%./+-%__p_%'` | 5770 test -z "$with_cde" && { ac_safe=`echo "Dt/Dt.h" | sed 'y%./+-%__p_%'` |
5753 echo $ac_n "checking for Dt/Dt.h""... $ac_c" 1>&6 | 5771 echo $ac_n "checking for Dt/Dt.h""... $ac_c" 1>&6 |
5754 echo "configure:5755: checking for Dt/Dt.h" >&5 | 5772 echo "configure:5773: checking for Dt/Dt.h" >&5 |
5755 | 5773 |
5756 cat > conftest.$ac_ext <<EOF | 5774 cat > conftest.$ac_ext <<EOF |
5757 #line 5758 "configure" | 5775 #line 5776 "configure" |
5758 #include "confdefs.h" | 5776 #include "confdefs.h" |
5759 #include <Dt/Dt.h> | 5777 #include <Dt/Dt.h> |
5760 EOF | 5778 EOF |
5761 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 5779 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
5762 { (eval echo configure:5763: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 5780 { (eval echo configure:5781: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
5763 ac_err=`grep -v '^ *+' conftest.out` | 5781 ac_err=`grep -v '^ *+' conftest.out` |
5764 if test -z "$ac_err"; then | 5782 if test -z "$ac_err"; then |
5765 rm -rf conftest* | 5783 rm -rf conftest* |
5766 eval "ac_cv_header_$ac_safe=yes" | 5784 eval "ac_cv_header_$ac_safe=yes" |
5767 else | 5785 else |
5780 with_cde=no | 5798 with_cde=no |
5781 fi | 5799 fi |
5782 } | 5800 } |
5783 test -z "$with_cde" && { | 5801 test -z "$with_cde" && { |
5784 echo $ac_n "checking for DtDndDragStart in -lDtSvc""... $ac_c" 1>&6 | 5802 echo $ac_n "checking for DtDndDragStart in -lDtSvc""... $ac_c" 1>&6 |
5785 echo "configure:5786: checking for DtDndDragStart in -lDtSvc" >&5 | 5803 echo "configure:5804: checking for DtDndDragStart in -lDtSvc" >&5 |
5786 ac_lib_var=`echo DtSvc'_'DtDndDragStart | sed 'y%./+-%__p_%'` | 5804 ac_lib_var=`echo DtSvc'_'DtDndDragStart | sed 'y%./+-%__p_%'` |
5787 | 5805 |
5788 xe_check_libs=" -lDtSvc " | 5806 xe_check_libs=" -lDtSvc " |
5789 cat > conftest.$ac_ext <<EOF | 5807 cat > conftest.$ac_ext <<EOF |
5790 #line 5791 "configure" | 5808 #line 5809 "configure" |
5791 #include "confdefs.h" | 5809 #include "confdefs.h" |
5792 /* Override any gcc2 internal prototype to avoid an error. */ | 5810 /* Override any gcc2 internal prototype to avoid an error. */ |
5793 /* We use char because int might match the return type of a gcc2 | 5811 /* We use char because int might match the return type of a gcc2 |
5794 builtin and then its argument prototype would still apply. */ | 5812 builtin and then its argument prototype would still apply. */ |
5795 char DtDndDragStart(); | 5813 char DtDndDragStart(); |
5796 | 5814 |
5797 int main() { | 5815 int main() { |
5798 DtDndDragStart() | 5816 DtDndDragStart() |
5799 ; return 0; } | 5817 ; return 0; } |
5800 EOF | 5818 EOF |
5801 if { (eval echo configure:5802: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 5819 if { (eval echo configure:5820: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
5802 rm -rf conftest* | 5820 rm -rf conftest* |
5803 eval "ac_cv_lib_$ac_lib_var=yes" | 5821 eval "ac_cv_lib_$ac_lib_var=yes" |
5804 else | 5822 else |
5805 echo "configure: failed program was:" >&5 | 5823 echo "configure: failed program was:" >&5 |
5806 cat conftest.$ac_ext >&5 | 5824 cat conftest.$ac_ext >&5 |
5843 EOF | 5861 EOF |
5844 } | 5862 } |
5845 | 5863 |
5846 | 5864 |
5847 echo $ac_n "checking for main in -lenergize""... $ac_c" 1>&6 | 5865 echo $ac_n "checking for main in -lenergize""... $ac_c" 1>&6 |
5848 echo "configure:5849: checking for main in -lenergize" >&5 | 5866 echo "configure:5867: checking for main in -lenergize" >&5 |
5849 ac_lib_var=`echo energize'_'main | sed 'y%./+-%__p_%'` | 5867 ac_lib_var=`echo energize'_'main | sed 'y%./+-%__p_%'` |
5850 | 5868 |
5851 xe_check_libs=" -lenergize " | 5869 xe_check_libs=" -lenergize " |
5852 cat > conftest.$ac_ext <<EOF | 5870 cat > conftest.$ac_ext <<EOF |
5853 #line 5854 "configure" | 5871 #line 5872 "configure" |
5854 #include "confdefs.h" | 5872 #include "confdefs.h" |
5855 | 5873 |
5856 int main() { | 5874 int main() { |
5857 main() | 5875 main() |
5858 ; return 0; } | 5876 ; return 0; } |
5859 EOF | 5877 EOF |
5860 if { (eval echo configure:5861: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 5878 if { (eval echo configure:5879: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
5861 rm -rf conftest* | 5879 rm -rf conftest* |
5862 eval "ac_cv_lib_$ac_lib_var=yes" | 5880 eval "ac_cv_lib_$ac_lib_var=yes" |
5863 else | 5881 else |
5864 echo "configure: failed program was:" >&5 | 5882 echo "configure: failed program was:" >&5 |
5865 cat conftest.$ac_ext >&5 | 5883 cat conftest.$ac_ext >&5 |
5887 | 5905 |
5888 | 5906 |
5889 if test -z "$energize_version"; then | 5907 if test -z "$energize_version"; then |
5890 | 5908 |
5891 echo $ac_n "checking for main in -lconn""... $ac_c" 1>&6 | 5909 echo $ac_n "checking for main in -lconn""... $ac_c" 1>&6 |
5892 echo "configure:5893: checking for main in -lconn" >&5 | 5910 echo "configure:5911: checking for main in -lconn" >&5 |
5893 ac_lib_var=`echo conn'_'main | sed 'y%./+-%__p_%'` | 5911 ac_lib_var=`echo conn'_'main | sed 'y%./+-%__p_%'` |
5894 | 5912 |
5895 xe_check_libs=" -lconn " | 5913 xe_check_libs=" -lconn " |
5896 cat > conftest.$ac_ext <<EOF | 5914 cat > conftest.$ac_ext <<EOF |
5897 #line 5898 "configure" | 5915 #line 5916 "configure" |
5898 #include "confdefs.h" | 5916 #include "confdefs.h" |
5899 | 5917 |
5900 int main() { | 5918 int main() { |
5901 main() | 5919 main() |
5902 ; return 0; } | 5920 ; return 0; } |
5903 EOF | 5921 EOF |
5904 if { (eval echo configure:5905: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 5922 if { (eval echo configure:5923: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
5905 rm -rf conftest* | 5923 rm -rf conftest* |
5906 eval "ac_cv_lib_$ac_lib_var=yes" | 5924 eval "ac_cv_lib_$ac_lib_var=yes" |
5907 else | 5925 else |
5908 echo "configure: failed program was:" >&5 | 5926 echo "configure: failed program was:" >&5 |
5909 cat conftest.$ac_ext >&5 | 5927 cat conftest.$ac_ext >&5 |
5932 | 5950 |
5933 | 5951 |
5934 fi | 5952 fi |
5935 ac_safe=`echo "editorconn.h" | sed 'y%./+-%__p_%'` | 5953 ac_safe=`echo "editorconn.h" | sed 'y%./+-%__p_%'` |
5936 echo $ac_n "checking for editorconn.h""... $ac_c" 1>&6 | 5954 echo $ac_n "checking for editorconn.h""... $ac_c" 1>&6 |
5937 echo "configure:5938: checking for editorconn.h" >&5 | 5955 echo "configure:5956: checking for editorconn.h" >&5 |
5938 | 5956 |
5939 cat > conftest.$ac_ext <<EOF | 5957 cat > conftest.$ac_ext <<EOF |
5940 #line 5941 "configure" | 5958 #line 5959 "configure" |
5941 #include "confdefs.h" | 5959 #include "confdefs.h" |
5942 #include <editorconn.h> | 5960 #include <editorconn.h> |
5943 EOF | 5961 EOF |
5944 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 5962 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
5945 { (eval echo configure:5946: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 5963 { (eval echo configure:5964: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
5946 ac_err=`grep -v '^ *+' conftest.out` | 5964 ac_err=`grep -v '^ *+' conftest.out` |
5947 if test -z "$ac_err"; then | 5965 if test -z "$ac_err"; then |
5948 rm -rf conftest* | 5966 rm -rf conftest* |
5949 eval "ac_cv_header_$ac_safe=yes" | 5967 eval "ac_cv_header_$ac_safe=yes" |
5950 else | 5968 else |
5982 | 6000 |
5983 fi | 6001 fi |
5984 | 6002 |
5985 | 6003 |
5986 echo "checking for graphics libraries" 1>&6 | 6004 echo "checking for graphics libraries" 1>&6 |
5987 echo "configure:5988: checking for graphics libraries" >&5 | 6005 echo "configure:6006: checking for graphics libraries" >&5 |
5988 test -z "$with_gif" && with_gif=yes; | 6006 test -z "$with_gif" && with_gif=yes; |
5989 if test "$with_gif" = "yes"; then | 6007 if test "$with_gif" = "yes"; then |
5990 { test "$extra_verbose" = "yes" && cat << \EOF | 6008 { test "$extra_verbose" = "yes" && cat << \EOF |
5991 Defining HAVE_GIF | 6009 Defining HAVE_GIF |
5992 EOF | 6010 EOF |
5999 echo " xemacs will be linked with \"dgif_lib.o gif_err.o gifalloc.o\"" | 6017 echo " xemacs will be linked with \"dgif_lib.o gif_err.o gifalloc.o\"" |
6000 fi | 6018 fi |
6001 fi | 6019 fi |
6002 | 6020 |
6003 echo $ac_n "checking for Xpm - no older than 3.4f""... $ac_c" 1>&6 | 6021 echo $ac_n "checking for Xpm - no older than 3.4f""... $ac_c" 1>&6 |
6004 echo "configure:6005: checking for Xpm - no older than 3.4f" >&5 | 6022 echo "configure:6023: checking for Xpm - no older than 3.4f" >&5 |
6005 xe_check_libs=-lXpm | 6023 xe_check_libs=-lXpm |
6006 test -z "$with_xpm" && { cat > conftest.$ac_ext <<EOF | 6024 test -z "$with_xpm" && { cat > conftest.$ac_ext <<EOF |
6007 #line 6008 "configure" | 6025 #line 6026 "configure" |
6008 #include "confdefs.h" | 6026 #include "confdefs.h" |
6009 #include <X11/xpm.h> | 6027 #include <X11/xpm.h> |
6010 int main(int c, char **v) { | 6028 int main(int c, char **v) { |
6011 return c == 1 ? 0 : | 6029 return c == 1 ? 0 : |
6012 XpmIncludeVersion != XpmLibraryVersion() ? 1 : | 6030 XpmIncludeVersion != XpmLibraryVersion() ? 1 : |
6013 XpmIncludeVersion < 30406 ? 2 : | 6031 XpmIncludeVersion < 30406 ? 2 : |
6014 0 ; | 6032 0 ; |
6015 } | 6033 } |
6016 EOF | 6034 EOF |
6017 if { (eval echo configure:6018: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 | 6035 if { (eval echo configure:6036: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 |
6018 then | 6036 then |
6019 ./conftest foobar; xpm_status=$?; | 6037 ./conftest foobar; xpm_status=$?; |
6020 if test "$xpm_status" = "0"; then with_xpm=yes; else with_xpm=no; fi; | 6038 if test "$xpm_status" = "0"; then with_xpm=yes; else with_xpm=no; fi; |
6021 else | 6039 else |
6022 echo "configure: failed program was:" >&5 | 6040 echo "configure: failed program was:" >&5 |
6050 libs_x="-lXpm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXpm\" to \$libs_x"; fi | 6068 libs_x="-lXpm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXpm\" to \$libs_x"; fi |
6051 fi | 6069 fi |
6052 | 6070 |
6053 test -z "$with_xface" && { ac_safe=`echo "compface.h" | sed 'y%./+-%__p_%'` | 6071 test -z "$with_xface" && { ac_safe=`echo "compface.h" | sed 'y%./+-%__p_%'` |
6054 echo $ac_n "checking for compface.h""... $ac_c" 1>&6 | 6072 echo $ac_n "checking for compface.h""... $ac_c" 1>&6 |
6055 echo "configure:6056: checking for compface.h" >&5 | 6073 echo "configure:6074: checking for compface.h" >&5 |
6056 | 6074 |
6057 cat > conftest.$ac_ext <<EOF | 6075 cat > conftest.$ac_ext <<EOF |
6058 #line 6059 "configure" | 6076 #line 6077 "configure" |
6059 #include "confdefs.h" | 6077 #include "confdefs.h" |
6060 #include <compface.h> | 6078 #include <compface.h> |
6061 EOF | 6079 EOF |
6062 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6080 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
6063 { (eval echo configure:6064: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6081 { (eval echo configure:6082: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
6064 ac_err=`grep -v '^ *+' conftest.out` | 6082 ac_err=`grep -v '^ *+' conftest.out` |
6065 if test -z "$ac_err"; then | 6083 if test -z "$ac_err"; then |
6066 rm -rf conftest* | 6084 rm -rf conftest* |
6067 eval "ac_cv_header_$ac_safe=yes" | 6085 eval "ac_cv_header_$ac_safe=yes" |
6068 else | 6086 else |
6081 with_xface=no | 6099 with_xface=no |
6082 fi | 6100 fi |
6083 } | 6101 } |
6084 test -z "$with_xface" && { | 6102 test -z "$with_xface" && { |
6085 echo $ac_n "checking for UnGenFace in -lcompface""... $ac_c" 1>&6 | 6103 echo $ac_n "checking for UnGenFace in -lcompface""... $ac_c" 1>&6 |
6086 echo "configure:6087: checking for UnGenFace in -lcompface" >&5 | 6104 echo "configure:6105: checking for UnGenFace in -lcompface" >&5 |
6087 ac_lib_var=`echo compface'_'UnGenFace | sed 'y%./+-%__p_%'` | 6105 ac_lib_var=`echo compface'_'UnGenFace | sed 'y%./+-%__p_%'` |
6088 | 6106 |
6089 xe_check_libs=" -lcompface " | 6107 xe_check_libs=" -lcompface " |
6090 cat > conftest.$ac_ext <<EOF | 6108 cat > conftest.$ac_ext <<EOF |
6091 #line 6092 "configure" | 6109 #line 6110 "configure" |
6092 #include "confdefs.h" | 6110 #include "confdefs.h" |
6093 /* Override any gcc2 internal prototype to avoid an error. */ | 6111 /* Override any gcc2 internal prototype to avoid an error. */ |
6094 /* We use char because int might match the return type of a gcc2 | 6112 /* We use char because int might match the return type of a gcc2 |
6095 builtin and then its argument prototype would still apply. */ | 6113 builtin and then its argument prototype would still apply. */ |
6096 char UnGenFace(); | 6114 char UnGenFace(); |
6097 | 6115 |
6098 int main() { | 6116 int main() { |
6099 UnGenFace() | 6117 UnGenFace() |
6100 ; return 0; } | 6118 ; return 0; } |
6101 EOF | 6119 EOF |
6102 if { (eval echo configure:6103: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 6120 if { (eval echo configure:6121: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
6103 rm -rf conftest* | 6121 rm -rf conftest* |
6104 eval "ac_cv_lib_$ac_lib_var=yes" | 6122 eval "ac_cv_lib_$ac_lib_var=yes" |
6105 else | 6123 else |
6106 echo "configure: failed program was:" >&5 | 6124 echo "configure: failed program was:" >&5 |
6107 cat conftest.$ac_ext >&5 | 6125 cat conftest.$ac_ext >&5 |
6133 libs_x="-lcompface $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lcompface\" to \$libs_x"; fi | 6151 libs_x="-lcompface $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lcompface\" to \$libs_x"; fi |
6134 fi | 6152 fi |
6135 | 6153 |
6136 test -z "$with_jpeg" && { ac_safe=`echo "jpeglib.h" | sed 'y%./+-%__p_%'` | 6154 test -z "$with_jpeg" && { ac_safe=`echo "jpeglib.h" | sed 'y%./+-%__p_%'` |
6137 echo $ac_n "checking for jpeglib.h""... $ac_c" 1>&6 | 6155 echo $ac_n "checking for jpeglib.h""... $ac_c" 1>&6 |
6138 echo "configure:6139: checking for jpeglib.h" >&5 | 6156 echo "configure:6157: checking for jpeglib.h" >&5 |
6139 | 6157 |
6140 cat > conftest.$ac_ext <<EOF | 6158 cat > conftest.$ac_ext <<EOF |
6141 #line 6142 "configure" | 6159 #line 6160 "configure" |
6142 #include "confdefs.h" | 6160 #include "confdefs.h" |
6143 #include <jpeglib.h> | 6161 #include <jpeglib.h> |
6144 EOF | 6162 EOF |
6145 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6163 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
6146 { (eval echo configure:6147: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6164 { (eval echo configure:6165: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
6147 ac_err=`grep -v '^ *+' conftest.out` | 6165 ac_err=`grep -v '^ *+' conftest.out` |
6148 if test -z "$ac_err"; then | 6166 if test -z "$ac_err"; then |
6149 rm -rf conftest* | 6167 rm -rf conftest* |
6150 eval "ac_cv_header_$ac_safe=yes" | 6168 eval "ac_cv_header_$ac_safe=yes" |
6151 else | 6169 else |
6164 with_jpeg=no | 6182 with_jpeg=no |
6165 fi | 6183 fi |
6166 } | 6184 } |
6167 test -z "$with_jpeg" && { | 6185 test -z "$with_jpeg" && { |
6168 echo $ac_n "checking for jpeg_destroy_decompress in -ljpeg""... $ac_c" 1>&6 | 6186 echo $ac_n "checking for jpeg_destroy_decompress in -ljpeg""... $ac_c" 1>&6 |
6169 echo "configure:6170: checking for jpeg_destroy_decompress in -ljpeg" >&5 | 6187 echo "configure:6188: checking for jpeg_destroy_decompress in -ljpeg" >&5 |
6170 ac_lib_var=`echo jpeg'_'jpeg_destroy_decompress | sed 'y%./+-%__p_%'` | 6188 ac_lib_var=`echo jpeg'_'jpeg_destroy_decompress | sed 'y%./+-%__p_%'` |
6171 | 6189 |
6172 xe_check_libs=" -ljpeg " | 6190 xe_check_libs=" -ljpeg " |
6173 cat > conftest.$ac_ext <<EOF | 6191 cat > conftest.$ac_ext <<EOF |
6174 #line 6175 "configure" | 6192 #line 6193 "configure" |
6175 #include "confdefs.h" | 6193 #include "confdefs.h" |
6176 /* Override any gcc2 internal prototype to avoid an error. */ | 6194 /* Override any gcc2 internal prototype to avoid an error. */ |
6177 /* We use char because int might match the return type of a gcc2 | 6195 /* We use char because int might match the return type of a gcc2 |
6178 builtin and then its argument prototype would still apply. */ | 6196 builtin and then its argument prototype would still apply. */ |
6179 char jpeg_destroy_decompress(); | 6197 char jpeg_destroy_decompress(); |
6180 | 6198 |
6181 int main() { | 6199 int main() { |
6182 jpeg_destroy_decompress() | 6200 jpeg_destroy_decompress() |
6183 ; return 0; } | 6201 ; return 0; } |
6184 EOF | 6202 EOF |
6185 if { (eval echo configure:6186: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 6203 if { (eval echo configure:6204: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
6186 rm -rf conftest* | 6204 rm -rf conftest* |
6187 eval "ac_cv_lib_$ac_lib_var=yes" | 6205 eval "ac_cv_lib_$ac_lib_var=yes" |
6188 else | 6206 else |
6189 echo "configure: failed program was:" >&5 | 6207 echo "configure: failed program was:" >&5 |
6190 cat conftest.$ac_ext >&5 | 6208 cat conftest.$ac_ext >&5 |
6216 libs_x="-ljpeg $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-ljpeg\" to \$libs_x"; fi | 6234 libs_x="-ljpeg $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-ljpeg\" to \$libs_x"; fi |
6217 fi | 6235 fi |
6218 | 6236 |
6219 test -z "$with_png" && { ac_safe=`echo "png.h" | sed 'y%./+-%__p_%'` | 6237 test -z "$with_png" && { ac_safe=`echo "png.h" | sed 'y%./+-%__p_%'` |
6220 echo $ac_n "checking for png.h""... $ac_c" 1>&6 | 6238 echo $ac_n "checking for png.h""... $ac_c" 1>&6 |
6221 echo "configure:6222: checking for png.h" >&5 | 6239 echo "configure:6240: checking for png.h" >&5 |
6222 | 6240 |
6223 cat > conftest.$ac_ext <<EOF | 6241 cat > conftest.$ac_ext <<EOF |
6224 #line 6225 "configure" | 6242 #line 6243 "configure" |
6225 #include "confdefs.h" | 6243 #include "confdefs.h" |
6226 #include <png.h> | 6244 #include <png.h> |
6227 EOF | 6245 EOF |
6228 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6246 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
6229 { (eval echo configure:6230: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6247 { (eval echo configure:6248: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
6230 ac_err=`grep -v '^ *+' conftest.out` | 6248 ac_err=`grep -v '^ *+' conftest.out` |
6231 if test -z "$ac_err"; then | 6249 if test -z "$ac_err"; then |
6232 rm -rf conftest* | 6250 rm -rf conftest* |
6233 eval "ac_cv_header_$ac_safe=yes" | 6251 eval "ac_cv_header_$ac_safe=yes" |
6234 else | 6252 else |
6246 echo "$ac_t""no" 1>&6 | 6264 echo "$ac_t""no" 1>&6 |
6247 with_png=no | 6265 with_png=no |
6248 fi | 6266 fi |
6249 } | 6267 } |
6250 test -z "$with_png" && { echo $ac_n "checking for pow""... $ac_c" 1>&6 | 6268 test -z "$with_png" && { echo $ac_n "checking for pow""... $ac_c" 1>&6 |
6251 echo "configure:6252: checking for pow" >&5 | 6269 echo "configure:6270: checking for pow" >&5 |
6252 | 6270 |
6253 cat > conftest.$ac_ext <<EOF | 6271 cat > conftest.$ac_ext <<EOF |
6254 #line 6255 "configure" | 6272 #line 6273 "configure" |
6255 #include "confdefs.h" | 6273 #include "confdefs.h" |
6256 /* System header to define __stub macros and hopefully few prototypes, | 6274 /* System header to define __stub macros and hopefully few prototypes, |
6257 which can conflict with char pow(); below. */ | 6275 which can conflict with char pow(); below. */ |
6258 #include <assert.h> | 6276 #include <assert.h> |
6259 /* Override any gcc2 internal prototype to avoid an error. */ | 6277 /* Override any gcc2 internal prototype to avoid an error. */ |
6272 pow(); | 6290 pow(); |
6273 #endif | 6291 #endif |
6274 | 6292 |
6275 ; return 0; } | 6293 ; return 0; } |
6276 EOF | 6294 EOF |
6277 if { (eval echo configure:6278: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 6295 if { (eval echo configure:6296: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
6278 rm -rf conftest* | 6296 rm -rf conftest* |
6279 eval "ac_cv_func_pow=yes" | 6297 eval "ac_cv_func_pow=yes" |
6280 else | 6298 else |
6281 echo "configure: failed program was:" >&5 | 6299 echo "configure: failed program was:" >&5 |
6282 cat conftest.$ac_ext >&5 | 6300 cat conftest.$ac_ext >&5 |
6297 for extra_libs in "" "-lz" "-lgz"; do | 6315 for extra_libs in "" "-lz" "-lgz"; do |
6298 | 6316 |
6299 xe_msg_checking="for png_read_image in -lpng" | 6317 xe_msg_checking="for png_read_image in -lpng" |
6300 test -n "$extra_libs" && xe_msg_checking="$xe_msg_checking using extra libs $extra_libs" | 6318 test -n "$extra_libs" && xe_msg_checking="$xe_msg_checking using extra libs $extra_libs" |
6301 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 6319 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
6302 echo "configure:6303: checking "$xe_msg_checking"" >&5 | 6320 echo "configure:6321: checking "$xe_msg_checking"" >&5 |
6303 ac_lib_var=`echo png'_'png_read_image | sed 'y%./+-%__p_%'` | 6321 ac_lib_var=`echo png'_'png_read_image | sed 'y%./+-%__p_%'` |
6304 | 6322 |
6305 xe_check_libs=" -lpng $extra_libs" | 6323 xe_check_libs=" -lpng $extra_libs" |
6306 cat > conftest.$ac_ext <<EOF | 6324 cat > conftest.$ac_ext <<EOF |
6307 #line 6308 "configure" | 6325 #line 6326 "configure" |
6308 #include "confdefs.h" | 6326 #include "confdefs.h" |
6309 /* Override any gcc2 internal prototype to avoid an error. */ | 6327 /* Override any gcc2 internal prototype to avoid an error. */ |
6310 /* We use char because int might match the return type of a gcc2 | 6328 /* We use char because int might match the return type of a gcc2 |
6311 builtin and then its argument prototype would still apply. */ | 6329 builtin and then its argument prototype would still apply. */ |
6312 char png_read_image(); | 6330 char png_read_image(); |
6313 | 6331 |
6314 int main() { | 6332 int main() { |
6315 png_read_image() | 6333 png_read_image() |
6316 ; return 0; } | 6334 ; return 0; } |
6317 EOF | 6335 EOF |
6318 if { (eval echo configure:6319: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 6336 if { (eval echo configure:6337: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
6319 rm -rf conftest* | 6337 rm -rf conftest* |
6320 eval "ac_cv_lib_$ac_lib_var=yes" | 6338 eval "ac_cv_lib_$ac_lib_var=yes" |
6321 else | 6339 else |
6322 echo "configure: failed program was:" >&5 | 6340 echo "configure: failed program was:" >&5 |
6323 cat conftest.$ac_ext >&5 | 6341 cat conftest.$ac_ext >&5 |
6363 libs_x="-ltiff $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-ltiff\" to \$libs_x"; fi | 6381 libs_x="-ltiff $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-ltiff\" to \$libs_x"; fi |
6364 fi | 6382 fi |
6365 | 6383 |
6366 ac_safe=`echo "Xm/Xm.h" | sed 'y%./+-%__p_%'` | 6384 ac_safe=`echo "Xm/Xm.h" | sed 'y%./+-%__p_%'` |
6367 echo $ac_n "checking for Xm/Xm.h""... $ac_c" 1>&6 | 6385 echo $ac_n "checking for Xm/Xm.h""... $ac_c" 1>&6 |
6368 echo "configure:6369: checking for Xm/Xm.h" >&5 | 6386 echo "configure:6387: checking for Xm/Xm.h" >&5 |
6369 | 6387 |
6370 cat > conftest.$ac_ext <<EOF | 6388 cat > conftest.$ac_ext <<EOF |
6371 #line 6372 "configure" | 6389 #line 6390 "configure" |
6372 #include "confdefs.h" | 6390 #include "confdefs.h" |
6373 #include <Xm/Xm.h> | 6391 #include <Xm/Xm.h> |
6374 EOF | 6392 EOF |
6375 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6393 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
6376 { (eval echo configure:6377: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6394 { (eval echo configure:6395: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
6377 ac_err=`grep -v '^ *+' conftest.out` | 6395 ac_err=`grep -v '^ *+' conftest.out` |
6378 if test -z "$ac_err"; then | 6396 if test -z "$ac_err"; then |
6379 rm -rf conftest* | 6397 rm -rf conftest* |
6380 eval "ac_cv_header_$ac_safe=yes" | 6398 eval "ac_cv_header_$ac_safe=yes" |
6381 else | 6399 else |
6388 rm -f conftest* | 6406 rm -f conftest* |
6389 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 6407 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
6390 echo "$ac_t""yes" 1>&6 | 6408 echo "$ac_t""yes" 1>&6 |
6391 | 6409 |
6392 echo $ac_n "checking for XmStringFree in -lXm""... $ac_c" 1>&6 | 6410 echo $ac_n "checking for XmStringFree in -lXm""... $ac_c" 1>&6 |
6393 echo "configure:6394: checking for XmStringFree in -lXm" >&5 | 6411 echo "configure:6412: checking for XmStringFree in -lXm" >&5 |
6394 ac_lib_var=`echo Xm'_'XmStringFree | sed 'y%./+-%__p_%'` | 6412 ac_lib_var=`echo Xm'_'XmStringFree | sed 'y%./+-%__p_%'` |
6395 | 6413 |
6396 xe_check_libs=" -lXm " | 6414 xe_check_libs=" -lXm " |
6397 cat > conftest.$ac_ext <<EOF | 6415 cat > conftest.$ac_ext <<EOF |
6398 #line 6399 "configure" | 6416 #line 6417 "configure" |
6399 #include "confdefs.h" | 6417 #include "confdefs.h" |
6400 /* Override any gcc2 internal prototype to avoid an error. */ | 6418 /* Override any gcc2 internal prototype to avoid an error. */ |
6401 /* We use char because int might match the return type of a gcc2 | 6419 /* We use char because int might match the return type of a gcc2 |
6402 builtin and then its argument prototype would still apply. */ | 6420 builtin and then its argument prototype would still apply. */ |
6403 char XmStringFree(); | 6421 char XmStringFree(); |
6404 | 6422 |
6405 int main() { | 6423 int main() { |
6406 XmStringFree() | 6424 XmStringFree() |
6407 ; return 0; } | 6425 ; return 0; } |
6408 EOF | 6426 EOF |
6409 if { (eval echo configure:6410: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 6427 if { (eval echo configure:6428: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
6410 rm -rf conftest* | 6428 rm -rf conftest* |
6411 eval "ac_cv_lib_$ac_lib_var=yes" | 6429 eval "ac_cv_lib_$ac_lib_var=yes" |
6412 else | 6430 else |
6413 echo "configure: failed program was:" >&5 | 6431 echo "configure: failed program was:" >&5 |
6414 cat conftest.$ac_ext >&5 | 6432 cat conftest.$ac_ext >&5 |
6652 | 6670 |
6653 test -z "$with_mule" && with_mule=no | 6671 test -z "$with_mule" && with_mule=no |
6654 | 6672 |
6655 if test "$with_mule" = "yes" ; then | 6673 if test "$with_mule" = "yes" ; then |
6656 echo "checking for Mule-related features" 1>&6 | 6674 echo "checking for Mule-related features" 1>&6 |
6657 echo "configure:6658: checking for Mule-related features" >&5 | 6675 echo "configure:6676: checking for Mule-related features" >&5 |
6658 { test "$extra_verbose" = "yes" && cat << \EOF | 6676 { test "$extra_verbose" = "yes" && cat << \EOF |
6659 Defining MULE | 6677 Defining MULE |
6660 EOF | 6678 EOF |
6661 cat >> confdefs.h <<\EOF | 6679 cat >> confdefs.h <<\EOF |
6662 #define MULE 1 | 6680 #define MULE 1 |
6669 | 6687 |
6670 for ac_hdr in libintl.h | 6688 for ac_hdr in libintl.h |
6671 do | 6689 do |
6672 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 6690 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
6673 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 6691 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
6674 echo "configure:6675: checking for $ac_hdr" >&5 | 6692 echo "configure:6693: checking for $ac_hdr" >&5 |
6675 | 6693 |
6676 cat > conftest.$ac_ext <<EOF | 6694 cat > conftest.$ac_ext <<EOF |
6677 #line 6678 "configure" | 6695 #line 6696 "configure" |
6678 #include "confdefs.h" | 6696 #include "confdefs.h" |
6679 #include <$ac_hdr> | 6697 #include <$ac_hdr> |
6680 EOF | 6698 EOF |
6681 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6699 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
6682 { (eval echo configure:6683: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6700 { (eval echo configure:6701: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
6683 ac_err=`grep -v '^ *+' conftest.out` | 6701 ac_err=`grep -v '^ *+' conftest.out` |
6684 if test -z "$ac_err"; then | 6702 if test -z "$ac_err"; then |
6685 rm -rf conftest* | 6703 rm -rf conftest* |
6686 eval "ac_cv_header_$ac_safe=yes" | 6704 eval "ac_cv_header_$ac_safe=yes" |
6687 else | 6705 else |
6708 fi | 6726 fi |
6709 done | 6727 done |
6710 | 6728 |
6711 | 6729 |
6712 echo $ac_n "checking for strerror in -lintl""... $ac_c" 1>&6 | 6730 echo $ac_n "checking for strerror in -lintl""... $ac_c" 1>&6 |
6713 echo "configure:6714: checking for strerror in -lintl" >&5 | 6731 echo "configure:6732: checking for strerror in -lintl" >&5 |
6714 ac_lib_var=`echo intl'_'strerror | sed 'y%./+-%__p_%'` | 6732 ac_lib_var=`echo intl'_'strerror | sed 'y%./+-%__p_%'` |
6715 | 6733 |
6716 xe_check_libs=" -lintl " | 6734 xe_check_libs=" -lintl " |
6717 cat > conftest.$ac_ext <<EOF | 6735 cat > conftest.$ac_ext <<EOF |
6718 #line 6719 "configure" | 6736 #line 6737 "configure" |
6719 #include "confdefs.h" | 6737 #include "confdefs.h" |
6720 /* Override any gcc2 internal prototype to avoid an error. */ | 6738 /* Override any gcc2 internal prototype to avoid an error. */ |
6721 /* We use char because int might match the return type of a gcc2 | 6739 /* We use char because int might match the return type of a gcc2 |
6722 builtin and then its argument prototype would still apply. */ | 6740 builtin and then its argument prototype would still apply. */ |
6723 char strerror(); | 6741 char strerror(); |
6724 | 6742 |
6725 int main() { | 6743 int main() { |
6726 strerror() | 6744 strerror() |
6727 ; return 0; } | 6745 ; return 0; } |
6728 EOF | 6746 EOF |
6729 if { (eval echo configure:6730: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 6747 if { (eval echo configure:6748: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
6730 rm -rf conftest* | 6748 rm -rf conftest* |
6731 eval "ac_cv_lib_$ac_lib_var=yes" | 6749 eval "ac_cv_lib_$ac_lib_var=yes" |
6732 else | 6750 else |
6733 echo "configure: failed program was:" >&5 | 6751 echo "configure: failed program was:" >&5 |
6734 cat conftest.$ac_ext >&5 | 6752 cat conftest.$ac_ext >&5 |
6757 fi | 6775 fi |
6758 | 6776 |
6759 | 6777 |
6760 | 6778 |
6761 echo "checking for Mule input methods" 1>&6 | 6779 echo "checking for Mule input methods" 1>&6 |
6762 echo "configure:6763: checking for Mule input methods" >&5 | 6780 echo "configure:6781: checking for Mule input methods" >&5 |
6763 test -z "$with_xim" -a "$opsys" != "sol2" && with_xim=no | 6781 test -z "$with_xim" -a "$opsys" != "sol2" && with_xim=no |
6764 case "$with_xim" in "" | "yes" ) | 6782 case "$with_xim" in "" | "yes" ) |
6765 echo "checking for XIM" 1>&6 | 6783 echo "checking for XIM" 1>&6 |
6766 echo "configure:6767: checking for XIM" >&5 | 6784 echo "configure:6785: checking for XIM" >&5 |
6767 | 6785 |
6768 echo $ac_n "checking for XmImMbLookupString in -lXm""... $ac_c" 1>&6 | 6786 echo $ac_n "checking for XmImMbLookupString in -lXm""... $ac_c" 1>&6 |
6769 echo "configure:6770: checking for XmImMbLookupString in -lXm" >&5 | 6787 echo "configure:6788: checking for XmImMbLookupString in -lXm" >&5 |
6770 ac_lib_var=`echo Xm'_'XmImMbLookupString | sed 'y%./+-%__p_%'` | 6788 ac_lib_var=`echo Xm'_'XmImMbLookupString | sed 'y%./+-%__p_%'` |
6771 | 6789 |
6772 xe_check_libs=" -lXm " | 6790 xe_check_libs=" -lXm " |
6773 cat > conftest.$ac_ext <<EOF | 6791 cat > conftest.$ac_ext <<EOF |
6774 #line 6775 "configure" | 6792 #line 6793 "configure" |
6775 #include "confdefs.h" | 6793 #include "confdefs.h" |
6776 /* Override any gcc2 internal prototype to avoid an error. */ | 6794 /* Override any gcc2 internal prototype to avoid an error. */ |
6777 /* We use char because int might match the return type of a gcc2 | 6795 /* We use char because int might match the return type of a gcc2 |
6778 builtin and then its argument prototype would still apply. */ | 6796 builtin and then its argument prototype would still apply. */ |
6779 char XmImMbLookupString(); | 6797 char XmImMbLookupString(); |
6780 | 6798 |
6781 int main() { | 6799 int main() { |
6782 XmImMbLookupString() | 6800 XmImMbLookupString() |
6783 ; return 0; } | 6801 ; return 0; } |
6784 EOF | 6802 EOF |
6785 if { (eval echo configure:6786: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 6803 if { (eval echo configure:6804: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
6786 rm -rf conftest* | 6804 rm -rf conftest* |
6787 eval "ac_cv_lib_$ac_lib_var=yes" | 6805 eval "ac_cv_lib_$ac_lib_var=yes" |
6788 else | 6806 else |
6789 echo "configure: failed program was:" >&5 | 6807 echo "configure: failed program was:" >&5 |
6790 cat conftest.$ac_ext >&5 | 6808 cat conftest.$ac_ext >&5 |
6842 fi | 6860 fi |
6843 fi | 6861 fi |
6844 test "$with_wnn6" = "yes" && with_wnn=yes # wnn6 implies wnn support | 6862 test "$with_wnn6" = "yes" && with_wnn=yes # wnn6 implies wnn support |
6845 test -z "$with_wnn" && { ac_safe=`echo "wnn/jllib.h" | sed 'y%./+-%__p_%'` | 6863 test -z "$with_wnn" && { ac_safe=`echo "wnn/jllib.h" | sed 'y%./+-%__p_%'` |
6846 echo $ac_n "checking for wnn/jllib.h""... $ac_c" 1>&6 | 6864 echo $ac_n "checking for wnn/jllib.h""... $ac_c" 1>&6 |
6847 echo "configure:6848: checking for wnn/jllib.h" >&5 | 6865 echo "configure:6866: checking for wnn/jllib.h" >&5 |
6848 | 6866 |
6849 cat > conftest.$ac_ext <<EOF | 6867 cat > conftest.$ac_ext <<EOF |
6850 #line 6851 "configure" | 6868 #line 6869 "configure" |
6851 #include "confdefs.h" | 6869 #include "confdefs.h" |
6852 #include <wnn/jllib.h> | 6870 #include <wnn/jllib.h> |
6853 EOF | 6871 EOF |
6854 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6872 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
6855 { (eval echo configure:6856: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6873 { (eval echo configure:6874: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
6856 ac_err=`grep -v '^ *+' conftest.out` | 6874 ac_err=`grep -v '^ *+' conftest.out` |
6857 if test -z "$ac_err"; then | 6875 if test -z "$ac_err"; then |
6858 rm -rf conftest* | 6876 rm -rf conftest* |
6859 eval "ac_cv_header_$ac_safe=yes" | 6877 eval "ac_cv_header_$ac_safe=yes" |
6860 else | 6878 else |
6875 } | 6893 } |
6876 if test "$with_wnn" != "no"; then | 6894 if test "$with_wnn" != "no"; then |
6877 for ac_func in crypt | 6895 for ac_func in crypt |
6878 do | 6896 do |
6879 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 6897 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
6880 echo "configure:6881: checking for $ac_func" >&5 | 6898 echo "configure:6899: checking for $ac_func" >&5 |
6881 | 6899 |
6882 cat > conftest.$ac_ext <<EOF | 6900 cat > conftest.$ac_ext <<EOF |
6883 #line 6884 "configure" | 6901 #line 6902 "configure" |
6884 #include "confdefs.h" | 6902 #include "confdefs.h" |
6885 /* System header to define __stub macros and hopefully few prototypes, | 6903 /* System header to define __stub macros and hopefully few prototypes, |
6886 which can conflict with char $ac_func(); below. */ | 6904 which can conflict with char $ac_func(); below. */ |
6887 #include <assert.h> | 6905 #include <assert.h> |
6888 /* Override any gcc2 internal prototype to avoid an error. */ | 6906 /* Override any gcc2 internal prototype to avoid an error. */ |
6901 $ac_func(); | 6919 $ac_func(); |
6902 #endif | 6920 #endif |
6903 | 6921 |
6904 ; return 0; } | 6922 ; return 0; } |
6905 EOF | 6923 EOF |
6906 if { (eval echo configure:6907: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 6924 if { (eval echo configure:6925: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
6907 rm -rf conftest* | 6925 rm -rf conftest* |
6908 eval "ac_cv_func_$ac_func=yes" | 6926 eval "ac_cv_func_$ac_func=yes" |
6909 else | 6927 else |
6910 echo "configure: failed program was:" >&5 | 6928 echo "configure: failed program was:" >&5 |
6911 cat conftest.$ac_ext >&5 | 6929 cat conftest.$ac_ext >&5 |
6930 fi | 6948 fi |
6931 done | 6949 done |
6932 | 6950 |
6933 test "$ac_cv_func_crypt" != "yes" && { | 6951 test "$ac_cv_func_crypt" != "yes" && { |
6934 echo $ac_n "checking for crypt in -lcrypt""... $ac_c" 1>&6 | 6952 echo $ac_n "checking for crypt in -lcrypt""... $ac_c" 1>&6 |
6935 echo "configure:6936: checking for crypt in -lcrypt" >&5 | 6953 echo "configure:6954: checking for crypt in -lcrypt" >&5 |
6936 ac_lib_var=`echo crypt'_'crypt | sed 'y%./+-%__p_%'` | 6954 ac_lib_var=`echo crypt'_'crypt | sed 'y%./+-%__p_%'` |
6937 | 6955 |
6938 xe_check_libs=" -lcrypt " | 6956 xe_check_libs=" -lcrypt " |
6939 cat > conftest.$ac_ext <<EOF | 6957 cat > conftest.$ac_ext <<EOF |
6940 #line 6941 "configure" | 6958 #line 6959 "configure" |
6941 #include "confdefs.h" | 6959 #include "confdefs.h" |
6942 /* Override any gcc2 internal prototype to avoid an error. */ | 6960 /* Override any gcc2 internal prototype to avoid an error. */ |
6943 /* We use char because int might match the return type of a gcc2 | 6961 /* We use char because int might match the return type of a gcc2 |
6944 builtin and then its argument prototype would still apply. */ | 6962 builtin and then its argument prototype would still apply. */ |
6945 char crypt(); | 6963 char crypt(); |
6946 | 6964 |
6947 int main() { | 6965 int main() { |
6948 crypt() | 6966 crypt() |
6949 ; return 0; } | 6967 ; return 0; } |
6950 EOF | 6968 EOF |
6951 if { (eval echo configure:6952: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 6969 if { (eval echo configure:6970: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
6952 rm -rf conftest* | 6970 rm -rf conftest* |
6953 eval "ac_cv_lib_$ac_lib_var=yes" | 6971 eval "ac_cv_lib_$ac_lib_var=yes" |
6954 else | 6972 else |
6955 echo "configure: failed program was:" >&5 | 6973 echo "configure: failed program was:" >&5 |
6956 cat conftest.$ac_ext >&5 | 6974 cat conftest.$ac_ext >&5 |
6980 | 6998 |
6981 } | 6999 } |
6982 fi | 7000 fi |
6983 test -z "$with_wnn" && { | 7001 test -z "$with_wnn" && { |
6984 echo $ac_n "checking for jl_dic_list_e in -lwnn""... $ac_c" 1>&6 | 7002 echo $ac_n "checking for jl_dic_list_e in -lwnn""... $ac_c" 1>&6 |
6985 echo "configure:6986: checking for jl_dic_list_e in -lwnn" >&5 | 7003 echo "configure:7004: checking for jl_dic_list_e in -lwnn" >&5 |
6986 ac_lib_var=`echo wnn'_'jl_dic_list_e | sed 'y%./+-%__p_%'` | 7004 ac_lib_var=`echo wnn'_'jl_dic_list_e | sed 'y%./+-%__p_%'` |
6987 | 7005 |
6988 xe_check_libs=" -lwnn " | 7006 xe_check_libs=" -lwnn " |
6989 cat > conftest.$ac_ext <<EOF | 7007 cat > conftest.$ac_ext <<EOF |
6990 #line 6991 "configure" | 7008 #line 7009 "configure" |
6991 #include "confdefs.h" | 7009 #include "confdefs.h" |
6992 /* Override any gcc2 internal prototype to avoid an error. */ | 7010 /* Override any gcc2 internal prototype to avoid an error. */ |
6993 /* We use char because int might match the return type of a gcc2 | 7011 /* We use char because int might match the return type of a gcc2 |
6994 builtin and then its argument prototype would still apply. */ | 7012 builtin and then its argument prototype would still apply. */ |
6995 char jl_dic_list_e(); | 7013 char jl_dic_list_e(); |
6996 | 7014 |
6997 int main() { | 7015 int main() { |
6998 jl_dic_list_e() | 7016 jl_dic_list_e() |
6999 ; return 0; } | 7017 ; return 0; } |
7000 EOF | 7018 EOF |
7001 if { (eval echo configure:7002: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 7019 if { (eval echo configure:7020: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
7002 rm -rf conftest* | 7020 rm -rf conftest* |
7003 eval "ac_cv_lib_$ac_lib_var=yes" | 7021 eval "ac_cv_lib_$ac_lib_var=yes" |
7004 else | 7022 else |
7005 echo "configure: failed program was:" >&5 | 7023 echo "configure: failed program was:" >&5 |
7006 cat conftest.$ac_ext >&5 | 7024 cat conftest.$ac_ext >&5 |
7033 extra_objs="$extra_objs mule-wnnfns.o" && if test "$extra_verbose" = "yes"; then | 7051 extra_objs="$extra_objs mule-wnnfns.o" && if test "$extra_verbose" = "yes"; then |
7034 echo " xemacs will be linked with \"mule-wnnfns.o\"" | 7052 echo " xemacs will be linked with \"mule-wnnfns.o\"" |
7035 fi | 7053 fi |
7036 | 7054 |
7037 echo $ac_n "checking for jl_fi_dic_list in -lwnn""... $ac_c" 1>&6 | 7055 echo $ac_n "checking for jl_fi_dic_list in -lwnn""... $ac_c" 1>&6 |
7038 echo "configure:7039: checking for jl_fi_dic_list in -lwnn" >&5 | 7056 echo "configure:7057: checking for jl_fi_dic_list in -lwnn" >&5 |
7039 ac_lib_var=`echo wnn'_'jl_fi_dic_list | sed 'y%./+-%__p_%'` | 7057 ac_lib_var=`echo wnn'_'jl_fi_dic_list | sed 'y%./+-%__p_%'` |
7040 | 7058 |
7041 xe_check_libs=" -lwnn " | 7059 xe_check_libs=" -lwnn " |
7042 cat > conftest.$ac_ext <<EOF | 7060 cat > conftest.$ac_ext <<EOF |
7043 #line 7044 "configure" | 7061 #line 7062 "configure" |
7044 #include "confdefs.h" | 7062 #include "confdefs.h" |
7045 /* Override any gcc2 internal prototype to avoid an error. */ | 7063 /* Override any gcc2 internal prototype to avoid an error. */ |
7046 /* We use char because int might match the return type of a gcc2 | 7064 /* We use char because int might match the return type of a gcc2 |
7047 builtin and then its argument prototype would still apply. */ | 7065 builtin and then its argument prototype would still apply. */ |
7048 char jl_fi_dic_list(); | 7066 char jl_fi_dic_list(); |
7049 | 7067 |
7050 int main() { | 7068 int main() { |
7051 jl_fi_dic_list() | 7069 jl_fi_dic_list() |
7052 ; return 0; } | 7070 ; return 0; } |
7053 EOF | 7071 EOF |
7054 if { (eval echo configure:7055: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 7072 if { (eval echo configure:7073: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
7055 rm -rf conftest* | 7073 rm -rf conftest* |
7056 eval "ac_cv_lib_$ac_lib_var=yes" | 7074 eval "ac_cv_lib_$ac_lib_var=yes" |
7057 else | 7075 else |
7058 echo "configure: failed program was:" >&5 | 7076 echo "configure: failed program was:" >&5 |
7059 cat conftest.$ac_ext >&5 | 7077 cat conftest.$ac_ext >&5 |
7081 | 7099 |
7082 fi | 7100 fi |
7083 | 7101 |
7084 test -z "$with_canna" && { ac_safe=`echo "canna/RK.h" | sed 'y%./+-%__p_%'` | 7102 test -z "$with_canna" && { ac_safe=`echo "canna/RK.h" | sed 'y%./+-%__p_%'` |
7085 echo $ac_n "checking for canna/RK.h""... $ac_c" 1>&6 | 7103 echo $ac_n "checking for canna/RK.h""... $ac_c" 1>&6 |
7086 echo "configure:7087: checking for canna/RK.h" >&5 | 7104 echo "configure:7105: checking for canna/RK.h" >&5 |
7087 | 7105 |
7088 cat > conftest.$ac_ext <<EOF | 7106 cat > conftest.$ac_ext <<EOF |
7089 #line 7090 "configure" | 7107 #line 7108 "configure" |
7090 #include "confdefs.h" | 7108 #include "confdefs.h" |
7091 #include <canna/RK.h> | 7109 #include <canna/RK.h> |
7092 EOF | 7110 EOF |
7093 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7111 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
7094 { (eval echo configure:7095: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7112 { (eval echo configure:7113: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
7095 ac_err=`grep -v '^ *+' conftest.out` | 7113 ac_err=`grep -v '^ *+' conftest.out` |
7096 if test -z "$ac_err"; then | 7114 if test -z "$ac_err"; then |
7097 rm -rf conftest* | 7115 rm -rf conftest* |
7098 eval "ac_cv_header_$ac_safe=yes" | 7116 eval "ac_cv_header_$ac_safe=yes" |
7099 else | 7117 else |
7112 with_canna=no | 7130 with_canna=no |
7113 fi | 7131 fi |
7114 } | 7132 } |
7115 test -z "$with_canna" && { | 7133 test -z "$with_canna" && { |
7116 echo $ac_n "checking for RkBgnBun in -lRKC""... $ac_c" 1>&6 | 7134 echo $ac_n "checking for RkBgnBun in -lRKC""... $ac_c" 1>&6 |
7117 echo "configure:7118: checking for RkBgnBun in -lRKC" >&5 | 7135 echo "configure:7136: checking for RkBgnBun in -lRKC" >&5 |
7118 ac_lib_var=`echo RKC'_'RkBgnBun | sed 'y%./+-%__p_%'` | 7136 ac_lib_var=`echo RKC'_'RkBgnBun | sed 'y%./+-%__p_%'` |
7119 | 7137 |
7120 xe_check_libs=" -lRKC " | 7138 xe_check_libs=" -lRKC " |
7121 cat > conftest.$ac_ext <<EOF | 7139 cat > conftest.$ac_ext <<EOF |
7122 #line 7123 "configure" | 7140 #line 7141 "configure" |
7123 #include "confdefs.h" | 7141 #include "confdefs.h" |
7124 /* Override any gcc2 internal prototype to avoid an error. */ | 7142 /* Override any gcc2 internal prototype to avoid an error. */ |
7125 /* We use char because int might match the return type of a gcc2 | 7143 /* We use char because int might match the return type of a gcc2 |
7126 builtin and then its argument prototype would still apply. */ | 7144 builtin and then its argument prototype would still apply. */ |
7127 char RkBgnBun(); | 7145 char RkBgnBun(); |
7128 | 7146 |
7129 int main() { | 7147 int main() { |
7130 RkBgnBun() | 7148 RkBgnBun() |
7131 ; return 0; } | 7149 ; return 0; } |
7132 EOF | 7150 EOF |
7133 if { (eval echo configure:7134: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 7151 if { (eval echo configure:7152: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
7134 rm -rf conftest* | 7152 rm -rf conftest* |
7135 eval "ac_cv_lib_$ac_lib_var=yes" | 7153 eval "ac_cv_lib_$ac_lib_var=yes" |
7136 else | 7154 else |
7137 echo "configure: failed program was:" >&5 | 7155 echo "configure: failed program was:" >&5 |
7138 cat conftest.$ac_ext >&5 | 7156 cat conftest.$ac_ext >&5 |
7151 fi | 7169 fi |
7152 | 7170 |
7153 } | 7171 } |
7154 test -z "$with_canna" && { | 7172 test -z "$with_canna" && { |
7155 echo $ac_n "checking for jrKanjiControl in -lcanna""... $ac_c" 1>&6 | 7173 echo $ac_n "checking for jrKanjiControl in -lcanna""... $ac_c" 1>&6 |
7156 echo "configure:7157: checking for jrKanjiControl in -lcanna" >&5 | 7174 echo "configure:7175: checking for jrKanjiControl in -lcanna" >&5 |
7157 ac_lib_var=`echo canna'_'jrKanjiControl | sed 'y%./+-%__p_%'` | 7175 ac_lib_var=`echo canna'_'jrKanjiControl | sed 'y%./+-%__p_%'` |
7158 | 7176 |
7159 xe_check_libs=" -lcanna " | 7177 xe_check_libs=" -lcanna " |
7160 cat > conftest.$ac_ext <<EOF | 7178 cat > conftest.$ac_ext <<EOF |
7161 #line 7162 "configure" | 7179 #line 7180 "configure" |
7162 #include "confdefs.h" | 7180 #include "confdefs.h" |
7163 /* Override any gcc2 internal prototype to avoid an error. */ | 7181 /* Override any gcc2 internal prototype to avoid an error. */ |
7164 /* We use char because int might match the return type of a gcc2 | 7182 /* We use char because int might match the return type of a gcc2 |
7165 builtin and then its argument prototype would still apply. */ | 7183 builtin and then its argument prototype would still apply. */ |
7166 char jrKanjiControl(); | 7184 char jrKanjiControl(); |
7167 | 7185 |
7168 int main() { | 7186 int main() { |
7169 jrKanjiControl() | 7187 jrKanjiControl() |
7170 ; return 0; } | 7188 ; return 0; } |
7171 EOF | 7189 EOF |
7172 if { (eval echo configure:7173: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 7190 if { (eval echo configure:7191: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
7173 rm -rf conftest* | 7191 rm -rf conftest* |
7174 eval "ac_cv_lib_$ac_lib_var=yes" | 7192 eval "ac_cv_lib_$ac_lib_var=yes" |
7175 else | 7193 else |
7176 echo "configure: failed program was:" >&5 | 7194 echo "configure: failed program was:" >&5 |
7177 cat conftest.$ac_ext >&5 | 7195 cat conftest.$ac_ext >&5 |
7267 fi | 7285 fi |
7268 | 7286 |
7269 for ac_func in acosh asinh atanh cbrt closedir dup2 eaccess fmod fpathconf frexp ftime gethostname getpagesize gettimeofday getcwd getwd logb lrand48 matherr mkdir mktime perror poll random rename res_init rint rmdir select setitimer setpgid setlocale setsid sigblock sighold sigprocmask strcasecmp strerror tzset ulimit usleep utimes waitpid | 7287 for ac_func in acosh asinh atanh cbrt closedir dup2 eaccess fmod fpathconf frexp ftime gethostname getpagesize gettimeofday getcwd getwd logb lrand48 matherr mkdir mktime perror poll random rename res_init rint rmdir select setitimer setpgid setlocale setsid sigblock sighold sigprocmask strcasecmp strerror tzset ulimit usleep utimes waitpid |
7270 do | 7288 do |
7271 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 7289 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
7272 echo "configure:7273: checking for $ac_func" >&5 | 7290 echo "configure:7291: checking for $ac_func" >&5 |
7273 | 7291 |
7274 cat > conftest.$ac_ext <<EOF | 7292 cat > conftest.$ac_ext <<EOF |
7275 #line 7276 "configure" | 7293 #line 7294 "configure" |
7276 #include "confdefs.h" | 7294 #include "confdefs.h" |
7277 /* System header to define __stub macros and hopefully few prototypes, | 7295 /* System header to define __stub macros and hopefully few prototypes, |
7278 which can conflict with char $ac_func(); below. */ | 7296 which can conflict with char $ac_func(); below. */ |
7279 #include <assert.h> | 7297 #include <assert.h> |
7280 /* Override any gcc2 internal prototype to avoid an error. */ | 7298 /* Override any gcc2 internal prototype to avoid an error. */ |
7293 $ac_func(); | 7311 $ac_func(); |
7294 #endif | 7312 #endif |
7295 | 7313 |
7296 ; return 0; } | 7314 ; return 0; } |
7297 EOF | 7315 EOF |
7298 if { (eval echo configure:7299: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 7316 if { (eval echo configure:7317: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
7299 rm -rf conftest* | 7317 rm -rf conftest* |
7300 eval "ac_cv_func_$ac_func=yes" | 7318 eval "ac_cv_func_$ac_func=yes" |
7301 else | 7319 else |
7302 echo "configure: failed program was:" >&5 | 7320 echo "configure: failed program was:" >&5 |
7303 cat conftest.$ac_ext >&5 | 7321 cat conftest.$ac_ext >&5 |
7330 fi ;; | 7348 fi ;; |
7331 * ) | 7349 * ) |
7332 for ac_func in realpath | 7350 for ac_func in realpath |
7333 do | 7351 do |
7334 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 7352 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
7335 echo "configure:7336: checking for $ac_func" >&5 | 7353 echo "configure:7354: checking for $ac_func" >&5 |
7336 | 7354 |
7337 cat > conftest.$ac_ext <<EOF | 7355 cat > conftest.$ac_ext <<EOF |
7338 #line 7339 "configure" | 7356 #line 7357 "configure" |
7339 #include "confdefs.h" | 7357 #include "confdefs.h" |
7340 /* System header to define __stub macros and hopefully few prototypes, | 7358 /* System header to define __stub macros and hopefully few prototypes, |
7341 which can conflict with char $ac_func(); below. */ | 7359 which can conflict with char $ac_func(); below. */ |
7342 #include <assert.h> | 7360 #include <assert.h> |
7343 /* Override any gcc2 internal prototype to avoid an error. */ | 7361 /* Override any gcc2 internal prototype to avoid an error. */ |
7356 $ac_func(); | 7374 $ac_func(); |
7357 #endif | 7375 #endif |
7358 | 7376 |
7359 ; return 0; } | 7377 ; return 0; } |
7360 EOF | 7378 EOF |
7361 if { (eval echo configure:7362: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 7379 if { (eval echo configure:7380: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
7362 rm -rf conftest* | 7380 rm -rf conftest* |
7363 eval "ac_cv_func_$ac_func=yes" | 7381 eval "ac_cv_func_$ac_func=yes" |
7364 else | 7382 else |
7365 echo "configure: failed program was:" >&5 | 7383 echo "configure: failed program was:" >&5 |
7366 cat conftest.$ac_ext >&5 | 7384 cat conftest.$ac_ext >&5 |
7389 echo " xemacs will be linked with \"realpath.o\"" | 7407 echo " xemacs will be linked with \"realpath.o\"" |
7390 fi ;; | 7408 fi ;; |
7391 esac | 7409 esac |
7392 | 7410 |
7393 echo $ac_n "checking whether netdb declares h_errno""... $ac_c" 1>&6 | 7411 echo $ac_n "checking whether netdb declares h_errno""... $ac_c" 1>&6 |
7394 echo "configure:7395: checking whether netdb declares h_errno" >&5 | 7412 echo "configure:7413: checking whether netdb declares h_errno" >&5 |
7395 cat > conftest.$ac_ext <<EOF | 7413 cat > conftest.$ac_ext <<EOF |
7396 #line 7397 "configure" | 7414 #line 7415 "configure" |
7397 #include "confdefs.h" | 7415 #include "confdefs.h" |
7398 #include <netdb.h> | 7416 #include <netdb.h> |
7399 int main() { | 7417 int main() { |
7400 return h_errno; | 7418 return h_errno; |
7401 ; return 0; } | 7419 ; return 0; } |
7402 EOF | 7420 EOF |
7403 if { (eval echo configure:7404: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 7421 if { (eval echo configure:7422: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
7404 rm -rf conftest* | 7422 rm -rf conftest* |
7405 echo "$ac_t""yes" 1>&6 | 7423 echo "$ac_t""yes" 1>&6 |
7406 { test "$extra_verbose" = "yes" && cat << \EOF | 7424 { test "$extra_verbose" = "yes" && cat << \EOF |
7407 Defining HAVE_H_ERRNO | 7425 Defining HAVE_H_ERRNO |
7408 EOF | 7426 EOF |
7418 echo "$ac_t""no" 1>&6 | 7436 echo "$ac_t""no" 1>&6 |
7419 fi | 7437 fi |
7420 rm -f conftest* | 7438 rm -f conftest* |
7421 | 7439 |
7422 echo $ac_n "checking for sigsetjmp""... $ac_c" 1>&6 | 7440 echo $ac_n "checking for sigsetjmp""... $ac_c" 1>&6 |
7423 echo "configure:7424: checking for sigsetjmp" >&5 | 7441 echo "configure:7442: checking for sigsetjmp" >&5 |
7424 cat > conftest.$ac_ext <<EOF | 7442 cat > conftest.$ac_ext <<EOF |
7425 #line 7426 "configure" | 7443 #line 7444 "configure" |
7426 #include "confdefs.h" | 7444 #include "confdefs.h" |
7427 #include <setjmp.h> | 7445 #include <setjmp.h> |
7428 int main() { | 7446 int main() { |
7429 sigjmp_buf bar; sigsetjmp (bar, 0); | 7447 sigjmp_buf bar; sigsetjmp (bar, 0); |
7430 ; return 0; } | 7448 ; return 0; } |
7431 EOF | 7449 EOF |
7432 if { (eval echo configure:7433: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 7450 if { (eval echo configure:7451: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
7433 rm -rf conftest* | 7451 rm -rf conftest* |
7434 echo "$ac_t""yes" 1>&6 | 7452 echo "$ac_t""yes" 1>&6 |
7435 { test "$extra_verbose" = "yes" && cat << \EOF | 7453 { test "$extra_verbose" = "yes" && cat << \EOF |
7436 Defining HAVE_SIGSETJMP | 7454 Defining HAVE_SIGSETJMP |
7437 EOF | 7455 EOF |
7447 echo "$ac_t""no" 1>&6 | 7465 echo "$ac_t""no" 1>&6 |
7448 fi | 7466 fi |
7449 rm -f conftest* | 7467 rm -f conftest* |
7450 | 7468 |
7451 echo $ac_n "checking whether localtime caches TZ""... $ac_c" 1>&6 | 7469 echo $ac_n "checking whether localtime caches TZ""... $ac_c" 1>&6 |
7452 echo "configure:7453: checking whether localtime caches TZ" >&5 | 7470 echo "configure:7471: checking whether localtime caches TZ" >&5 |
7453 | 7471 |
7454 if test "$ac_cv_func_tzset" = "yes"; then | 7472 if test "$ac_cv_func_tzset" = "yes"; then |
7455 cat > conftest.$ac_ext <<EOF | 7473 cat > conftest.$ac_ext <<EOF |
7456 #line 7457 "configure" | 7474 #line 7475 "configure" |
7457 #include "confdefs.h" | 7475 #include "confdefs.h" |
7458 #include <time.h> | 7476 #include <time.h> |
7459 #if STDC_HEADERS | 7477 #if STDC_HEADERS |
7460 # include <stdlib.h> | 7478 # include <stdlib.h> |
7461 #endif | 7479 #endif |
7486 if (localtime (&now)->tm_hour != hour_unset) | 7504 if (localtime (&now)->tm_hour != hour_unset) |
7487 exit (1); | 7505 exit (1); |
7488 exit (0); | 7506 exit (0); |
7489 } | 7507 } |
7490 EOF | 7508 EOF |
7491 if { (eval echo configure:7492: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 | 7509 if { (eval echo configure:7510: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 |
7492 then | 7510 then |
7493 emacs_cv_localtime_cache=no | 7511 emacs_cv_localtime_cache=no |
7494 else | 7512 else |
7495 echo "configure: failed program was:" >&5 | 7513 echo "configure: failed program was:" >&5 |
7496 cat conftest.$ac_ext >&5 | 7514 cat conftest.$ac_ext >&5 |
7515 | 7533 |
7516 fi | 7534 fi |
7517 | 7535 |
7518 if test "$HAVE_TIMEVAL" = "yes"; then | 7536 if test "$HAVE_TIMEVAL" = "yes"; then |
7519 echo $ac_n "checking whether gettimeofday cannot accept two arguments""... $ac_c" 1>&6 | 7537 echo $ac_n "checking whether gettimeofday cannot accept two arguments""... $ac_c" 1>&6 |
7520 echo "configure:7521: checking whether gettimeofday cannot accept two arguments" >&5 | 7538 echo "configure:7539: checking whether gettimeofday cannot accept two arguments" >&5 |
7521 cat > conftest.$ac_ext <<EOF | 7539 cat > conftest.$ac_ext <<EOF |
7522 #line 7523 "configure" | 7540 #line 7541 "configure" |
7523 #include "confdefs.h" | 7541 #include "confdefs.h" |
7524 | 7542 |
7525 #ifdef TIME_WITH_SYS_TIME | 7543 #ifdef TIME_WITH_SYS_TIME |
7526 #include <sys/time.h> | 7544 #include <sys/time.h> |
7527 #include <time.h> | 7545 #include <time.h> |
7539 struct timezone dummy; | 7557 struct timezone dummy; |
7540 gettimeofday (&time, &dummy); | 7558 gettimeofday (&time, &dummy); |
7541 | 7559 |
7542 ; return 0; } | 7560 ; return 0; } |
7543 EOF | 7561 EOF |
7544 if { (eval echo configure:7545: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 7562 if { (eval echo configure:7563: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
7545 rm -rf conftest* | 7563 rm -rf conftest* |
7546 echo "$ac_t""no" 1>&6 | 7564 echo "$ac_t""no" 1>&6 |
7547 else | 7565 else |
7548 echo "configure: failed program was:" >&5 | 7566 echo "configure: failed program was:" >&5 |
7549 cat conftest.$ac_ext >&5 | 7567 cat conftest.$ac_ext >&5 |
7561 rm -f conftest* | 7579 rm -f conftest* |
7562 fi | 7580 fi |
7563 | 7581 |
7564 | 7582 |
7565 echo $ac_n "checking for inline""... $ac_c" 1>&6 | 7583 echo $ac_n "checking for inline""... $ac_c" 1>&6 |
7566 echo "configure:7567: checking for inline" >&5 | 7584 echo "configure:7585: checking for inline" >&5 |
7567 | 7585 |
7568 ac_cv_c_inline=no | 7586 ac_cv_c_inline=no |
7569 for ac_kw in inline __inline__ __inline; do | 7587 for ac_kw in inline __inline__ __inline; do |
7570 cat > conftest.$ac_ext <<EOF | 7588 cat > conftest.$ac_ext <<EOF |
7571 #line 7572 "configure" | 7589 #line 7590 "configure" |
7572 #include "confdefs.h" | 7590 #include "confdefs.h" |
7573 | 7591 |
7574 int main() { | 7592 int main() { |
7575 } $ac_kw foo() { | 7593 } $ac_kw foo() { |
7576 ; return 0; } | 7594 ; return 0; } |
7577 EOF | 7595 EOF |
7578 if { (eval echo configure:7579: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 7596 if { (eval echo configure:7597: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
7579 rm -rf conftest* | 7597 rm -rf conftest* |
7580 ac_cv_c_inline=$ac_kw; break | 7598 ac_cv_c_inline=$ac_kw; break |
7581 else | 7599 else |
7582 echo "configure: failed program was:" >&5 | 7600 echo "configure: failed program was:" >&5 |
7583 cat conftest.$ac_ext >&5 | 7601 cat conftest.$ac_ext >&5 |
7623 | 7641 |
7624 | 7642 |
7625 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works | 7643 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works |
7626 # for constant arguments. Useless! | 7644 # for constant arguments. Useless! |
7627 echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6 | 7645 echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6 |
7628 echo "configure:7629: checking for working alloca.h" >&5 | 7646 echo "configure:7647: checking for working alloca.h" >&5 |
7629 | 7647 |
7630 cat > conftest.$ac_ext <<EOF | 7648 cat > conftest.$ac_ext <<EOF |
7631 #line 7632 "configure" | 7649 #line 7650 "configure" |
7632 #include "confdefs.h" | 7650 #include "confdefs.h" |
7633 #include <alloca.h> | 7651 #include <alloca.h> |
7634 int main() { | 7652 int main() { |
7635 char *p = alloca(2 * sizeof(int)); | 7653 char *p = alloca(2 * sizeof(int)); |
7636 ; return 0; } | 7654 ; return 0; } |
7637 EOF | 7655 EOF |
7638 if { (eval echo configure:7639: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 7656 if { (eval echo configure:7657: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
7639 rm -rf conftest* | 7657 rm -rf conftest* |
7640 ac_cv_header_alloca_h=yes | 7658 ac_cv_header_alloca_h=yes |
7641 else | 7659 else |
7642 echo "configure: failed program was:" >&5 | 7660 echo "configure: failed program was:" >&5 |
7643 cat conftest.$ac_ext >&5 | 7661 cat conftest.$ac_ext >&5 |
7657 } | 7675 } |
7658 | 7676 |
7659 fi | 7677 fi |
7660 | 7678 |
7661 echo $ac_n "checking for alloca""... $ac_c" 1>&6 | 7679 echo $ac_n "checking for alloca""... $ac_c" 1>&6 |
7662 echo "configure:7663: checking for alloca" >&5 | 7680 echo "configure:7681: checking for alloca" >&5 |
7663 | 7681 |
7664 cat > conftest.$ac_ext <<EOF | 7682 cat > conftest.$ac_ext <<EOF |
7665 #line 7666 "configure" | 7683 #line 7684 "configure" |
7666 #include "confdefs.h" | 7684 #include "confdefs.h" |
7667 | 7685 |
7668 #ifdef __GNUC__ | 7686 #ifdef __GNUC__ |
7669 # define alloca __builtin_alloca | 7687 # define alloca __builtin_alloca |
7670 #else | 7688 #else |
7683 | 7701 |
7684 int main() { | 7702 int main() { |
7685 char *p = (char *) alloca(1); | 7703 char *p = (char *) alloca(1); |
7686 ; return 0; } | 7704 ; return 0; } |
7687 EOF | 7705 EOF |
7688 if { (eval echo configure:7689: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 7706 if { (eval echo configure:7707: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
7689 rm -rf conftest* | 7707 rm -rf conftest* |
7690 ac_cv_func_alloca_works=yes | 7708 ac_cv_func_alloca_works=yes |
7691 else | 7709 else |
7692 echo "configure: failed program was:" >&5 | 7710 echo "configure: failed program was:" >&5 |
7693 cat conftest.$ac_ext >&5 | 7711 cat conftest.$ac_ext >&5 |
7722 EOF | 7740 EOF |
7723 } | 7741 } |
7724 | 7742 |
7725 | 7743 |
7726 echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6 | 7744 echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6 |
7727 echo "configure:7728: checking whether alloca needs Cray hooks" >&5 | 7745 echo "configure:7746: checking whether alloca needs Cray hooks" >&5 |
7728 | 7746 |
7729 cat > conftest.$ac_ext <<EOF | 7747 cat > conftest.$ac_ext <<EOF |
7730 #line 7731 "configure" | 7748 #line 7749 "configure" |
7731 #include "confdefs.h" | 7749 #include "confdefs.h" |
7732 #if defined(CRAY) && ! defined(CRAY2) | 7750 #if defined(CRAY) && ! defined(CRAY2) |
7733 webecray | 7751 webecray |
7734 #else | 7752 #else |
7735 wenotbecray | 7753 wenotbecray |
7749 | 7767 |
7750 echo "$ac_t""$ac_cv_os_cray" 1>&6 | 7768 echo "$ac_t""$ac_cv_os_cray" 1>&6 |
7751 if test $ac_cv_os_cray = yes; then | 7769 if test $ac_cv_os_cray = yes; then |
7752 for ac_func in _getb67 GETB67 getb67; do | 7770 for ac_func in _getb67 GETB67 getb67; do |
7753 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 7771 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
7754 echo "configure:7755: checking for $ac_func" >&5 | 7772 echo "configure:7773: checking for $ac_func" >&5 |
7755 | 7773 |
7756 cat > conftest.$ac_ext <<EOF | 7774 cat > conftest.$ac_ext <<EOF |
7757 #line 7758 "configure" | 7775 #line 7776 "configure" |
7758 #include "confdefs.h" | 7776 #include "confdefs.h" |
7759 /* System header to define __stub macros and hopefully few prototypes, | 7777 /* System header to define __stub macros and hopefully few prototypes, |
7760 which can conflict with char $ac_func(); below. */ | 7778 which can conflict with char $ac_func(); below. */ |
7761 #include <assert.h> | 7779 #include <assert.h> |
7762 /* Override any gcc2 internal prototype to avoid an error. */ | 7780 /* Override any gcc2 internal prototype to avoid an error. */ |
7775 $ac_func(); | 7793 $ac_func(); |
7776 #endif | 7794 #endif |
7777 | 7795 |
7778 ; return 0; } | 7796 ; return 0; } |
7779 EOF | 7797 EOF |
7780 if { (eval echo configure:7781: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 7798 if { (eval echo configure:7799: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
7781 rm -rf conftest* | 7799 rm -rf conftest* |
7782 eval "ac_cv_func_$ac_func=yes" | 7800 eval "ac_cv_func_$ac_func=yes" |
7783 else | 7801 else |
7784 echo "configure: failed program was:" >&5 | 7802 echo "configure: failed program was:" >&5 |
7785 cat conftest.$ac_ext >&5 | 7803 cat conftest.$ac_ext >&5 |
7805 | 7823 |
7806 done | 7824 done |
7807 fi | 7825 fi |
7808 | 7826 |
7809 echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6 | 7827 echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6 |
7810 echo "configure:7811: checking stack direction for C alloca" >&5 | 7828 echo "configure:7829: checking stack direction for C alloca" >&5 |
7811 | 7829 |
7812 cat > conftest.$ac_ext <<EOF | 7830 cat > conftest.$ac_ext <<EOF |
7813 #line 7814 "configure" | 7831 #line 7832 "configure" |
7814 #include "confdefs.h" | 7832 #include "confdefs.h" |
7815 find_stack_direction () | 7833 find_stack_direction () |
7816 { | 7834 { |
7817 static char *addr = 0; | 7835 static char *addr = 0; |
7818 auto char dummy; | 7836 auto char dummy; |
7827 main () | 7845 main () |
7828 { | 7846 { |
7829 exit (find_stack_direction() < 0); | 7847 exit (find_stack_direction() < 0); |
7830 } | 7848 } |
7831 EOF | 7849 EOF |
7832 if { (eval echo configure:7833: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 | 7850 if { (eval echo configure:7851: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 |
7833 then | 7851 then |
7834 ac_cv_c_stack_direction=1 | 7852 ac_cv_c_stack_direction=1 |
7835 else | 7853 else |
7836 echo "configure: failed program was:" >&5 | 7854 echo "configure: failed program was:" >&5 |
7837 cat conftest.$ac_ext >&5 | 7855 cat conftest.$ac_ext >&5 |
7855 echo " xemacs will be linked with \"$ALLOCA\"" | 7873 echo " xemacs will be linked with \"$ALLOCA\"" |
7856 fi | 7874 fi |
7857 | 7875 |
7858 ac_safe=`echo "vfork.h" | sed 'y%./+-%__p_%'` | 7876 ac_safe=`echo "vfork.h" | sed 'y%./+-%__p_%'` |
7859 echo $ac_n "checking for vfork.h""... $ac_c" 1>&6 | 7877 echo $ac_n "checking for vfork.h""... $ac_c" 1>&6 |
7860 echo "configure:7861: checking for vfork.h" >&5 | 7878 echo "configure:7879: checking for vfork.h" >&5 |
7861 | 7879 |
7862 cat > conftest.$ac_ext <<EOF | 7880 cat > conftest.$ac_ext <<EOF |
7863 #line 7864 "configure" | 7881 #line 7882 "configure" |
7864 #include "confdefs.h" | 7882 #include "confdefs.h" |
7865 #include <vfork.h> | 7883 #include <vfork.h> |
7866 EOF | 7884 EOF |
7867 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7885 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
7868 { (eval echo configure:7869: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7886 { (eval echo configure:7887: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
7869 ac_err=`grep -v '^ *+' conftest.out` | 7887 ac_err=`grep -v '^ *+' conftest.out` |
7870 if test -z "$ac_err"; then | 7888 if test -z "$ac_err"; then |
7871 rm -rf conftest* | 7889 rm -rf conftest* |
7872 eval "ac_cv_header_$ac_safe=yes" | 7890 eval "ac_cv_header_$ac_safe=yes" |
7873 else | 7891 else |
7891 else | 7909 else |
7892 echo "$ac_t""no" 1>&6 | 7910 echo "$ac_t""no" 1>&6 |
7893 fi | 7911 fi |
7894 | 7912 |
7895 echo $ac_n "checking for working vfork""... $ac_c" 1>&6 | 7913 echo $ac_n "checking for working vfork""... $ac_c" 1>&6 |
7896 echo "configure:7897: checking for working vfork" >&5 | 7914 echo "configure:7915: checking for working vfork" >&5 |
7897 | 7915 |
7898 cat > conftest.$ac_ext <<EOF | 7916 cat > conftest.$ac_ext <<EOF |
7899 #line 7900 "configure" | 7917 #line 7918 "configure" |
7900 #include "confdefs.h" | 7918 #include "confdefs.h" |
7901 /* Thanks to Paul Eggert for this test. */ | 7919 /* Thanks to Paul Eggert for this test. */ |
7902 #include <stdio.h> | 7920 #include <stdio.h> |
7903 #include <sys/types.h> | 7921 #include <sys/types.h> |
7904 #include <sys/stat.h> | 7922 #include <sys/stat.h> |
7989 || fstat(fileno(stdout), &st) != 0 | 8007 || fstat(fileno(stdout), &st) != 0 |
7990 ); | 8008 ); |
7991 } | 8009 } |
7992 } | 8010 } |
7993 EOF | 8011 EOF |
7994 if { (eval echo configure:7995: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 | 8012 if { (eval echo configure:8013: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 |
7995 then | 8013 then |
7996 ac_cv_func_vfork_works=yes | 8014 ac_cv_func_vfork_works=yes |
7997 else | 8015 else |
7998 echo "configure: failed program was:" >&5 | 8016 echo "configure: failed program was:" >&5 |
7999 cat conftest.$ac_ext >&5 | 8017 cat conftest.$ac_ext >&5 |
8014 | 8032 |
8015 fi | 8033 fi |
8016 | 8034 |
8017 | 8035 |
8018 echo $ac_n "checking for working strcoll""... $ac_c" 1>&6 | 8036 echo $ac_n "checking for working strcoll""... $ac_c" 1>&6 |
8019 echo "configure:8020: checking for working strcoll" >&5 | 8037 echo "configure:8038: checking for working strcoll" >&5 |
8020 | 8038 |
8021 cat > conftest.$ac_ext <<EOF | 8039 cat > conftest.$ac_ext <<EOF |
8022 #line 8023 "configure" | 8040 #line 8041 "configure" |
8023 #include "confdefs.h" | 8041 #include "confdefs.h" |
8024 #include <string.h> | 8042 #include <string.h> |
8025 main () | 8043 main () |
8026 { | 8044 { |
8027 exit (strcoll ("abc", "def") >= 0 || | 8045 exit (strcoll ("abc", "def") >= 0 || |
8028 strcoll ("ABC", "DEF") >= 0 || | 8046 strcoll ("ABC", "DEF") >= 0 || |
8029 strcoll ("123", "456") >= 0); | 8047 strcoll ("123", "456") >= 0); |
8030 } | 8048 } |
8031 EOF | 8049 EOF |
8032 if { (eval echo configure:8033: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 | 8050 if { (eval echo configure:8051: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 |
8033 then | 8051 then |
8034 ac_cv_func_strcoll_works=yes | 8052 ac_cv_func_strcoll_works=yes |
8035 else | 8053 else |
8036 echo "configure: failed program was:" >&5 | 8054 echo "configure: failed program was:" >&5 |
8037 cat conftest.$ac_ext >&5 | 8055 cat conftest.$ac_ext >&5 |
8054 | 8072 |
8055 | 8073 |
8056 for ac_func in getpgrp | 8074 for ac_func in getpgrp |
8057 do | 8075 do |
8058 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 8076 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
8059 echo "configure:8060: checking for $ac_func" >&5 | 8077 echo "configure:8078: checking for $ac_func" >&5 |
8060 | 8078 |
8061 cat > conftest.$ac_ext <<EOF | 8079 cat > conftest.$ac_ext <<EOF |
8062 #line 8063 "configure" | 8080 #line 8081 "configure" |
8063 #include "confdefs.h" | 8081 #include "confdefs.h" |
8064 /* System header to define __stub macros and hopefully few prototypes, | 8082 /* System header to define __stub macros and hopefully few prototypes, |
8065 which can conflict with char $ac_func(); below. */ | 8083 which can conflict with char $ac_func(); below. */ |
8066 #include <assert.h> | 8084 #include <assert.h> |
8067 /* Override any gcc2 internal prototype to avoid an error. */ | 8085 /* Override any gcc2 internal prototype to avoid an error. */ |
8080 $ac_func(); | 8098 $ac_func(); |
8081 #endif | 8099 #endif |
8082 | 8100 |
8083 ; return 0; } | 8101 ; return 0; } |
8084 EOF | 8102 EOF |
8085 if { (eval echo configure:8086: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 8103 if { (eval echo configure:8104: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
8086 rm -rf conftest* | 8104 rm -rf conftest* |
8087 eval "ac_cv_func_$ac_func=yes" | 8105 eval "ac_cv_func_$ac_func=yes" |
8088 else | 8106 else |
8089 echo "configure: failed program was:" >&5 | 8107 echo "configure: failed program was:" >&5 |
8090 cat conftest.$ac_ext >&5 | 8108 cat conftest.$ac_ext >&5 |
8108 echo "$ac_t""no" 1>&6 | 8126 echo "$ac_t""no" 1>&6 |
8109 fi | 8127 fi |
8110 done | 8128 done |
8111 | 8129 |
8112 echo $ac_n "checking whether getpgrp takes no argument""... $ac_c" 1>&6 | 8130 echo $ac_n "checking whether getpgrp takes no argument""... $ac_c" 1>&6 |
8113 echo "configure:8114: checking whether getpgrp takes no argument" >&5 | 8131 echo "configure:8132: checking whether getpgrp takes no argument" >&5 |
8114 | 8132 |
8115 cat > conftest.$ac_ext <<EOF | 8133 cat > conftest.$ac_ext <<EOF |
8116 #line 8117 "configure" | 8134 #line 8135 "configure" |
8117 #include "confdefs.h" | 8135 #include "confdefs.h" |
8118 | 8136 |
8119 /* | 8137 /* |
8120 * If this system has a BSD-style getpgrp(), | 8138 * If this system has a BSD-style getpgrp(), |
8121 * which takes a pid argument, exit unsuccessfully. | 8139 * which takes a pid argument, exit unsuccessfully. |
8166 exit(s>>8); | 8184 exit(s>>8); |
8167 } | 8185 } |
8168 } | 8186 } |
8169 | 8187 |
8170 EOF | 8188 EOF |
8171 if { (eval echo configure:8172: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 | 8189 if { (eval echo configure:8190: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 |
8172 then | 8190 then |
8173 ac_cv_func_getpgrp_void=yes | 8191 ac_cv_func_getpgrp_void=yes |
8174 else | 8192 else |
8175 echo "configure: failed program was:" >&5 | 8193 echo "configure: failed program was:" >&5 |
8176 cat conftest.$ac_ext >&5 | 8194 cat conftest.$ac_ext >&5 |
8192 | 8210 |
8193 fi | 8211 fi |
8194 | 8212 |
8195 | 8213 |
8196 echo $ac_n "checking for working mmap""... $ac_c" 1>&6 | 8214 echo $ac_n "checking for working mmap""... $ac_c" 1>&6 |
8197 echo "configure:8198: checking for working mmap" >&5 | 8215 echo "configure:8216: checking for working mmap" >&5 |
8198 case "$opsys" in ultrix* ) have_mmap=no ;; *) | 8216 case "$opsys" in ultrix* ) have_mmap=no ;; *) |
8199 cat > conftest.$ac_ext <<EOF | 8217 cat > conftest.$ac_ext <<EOF |
8200 #line 8201 "configure" | 8218 #line 8219 "configure" |
8201 #include "confdefs.h" | 8219 #include "confdefs.h" |
8202 #include <stdio.h> | 8220 #include <stdio.h> |
8203 #include <unistd.h> | 8221 #include <unistd.h> |
8204 #include <fcntl.h> | 8222 #include <fcntl.h> |
8205 #include <sys/mman.h> | 8223 #include <sys/mman.h> |
8228 return 0; | 8246 return 0; |
8229 perror ("conftest: mmap failed"); | 8247 perror ("conftest: mmap failed"); |
8230 return 1; | 8248 return 1; |
8231 } | 8249 } |
8232 EOF | 8250 EOF |
8233 if { (eval echo configure:8234: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 | 8251 if { (eval echo configure:8252: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 |
8234 then | 8252 then |
8235 have_mmap=yes | 8253 have_mmap=yes |
8236 else | 8254 else |
8237 echo "configure: failed program was:" >&5 | 8255 echo "configure: failed program was:" >&5 |
8238 cat conftest.$ac_ext >&5 | 8256 cat conftest.$ac_ext >&5 |
8261 EOF | 8279 EOF |
8262 } | 8280 } |
8263 | 8281 |
8264 | 8282 |
8265 echo $ac_n "checking for socket""... $ac_c" 1>&6 | 8283 echo $ac_n "checking for socket""... $ac_c" 1>&6 |
8266 echo "configure:8267: checking for socket" >&5 | 8284 echo "configure:8285: checking for socket" >&5 |
8267 | 8285 |
8268 cat > conftest.$ac_ext <<EOF | 8286 cat > conftest.$ac_ext <<EOF |
8269 #line 8270 "configure" | 8287 #line 8288 "configure" |
8270 #include "confdefs.h" | 8288 #include "confdefs.h" |
8271 /* System header to define __stub macros and hopefully few prototypes, | 8289 /* System header to define __stub macros and hopefully few prototypes, |
8272 which can conflict with char socket(); below. */ | 8290 which can conflict with char socket(); below. */ |
8273 #include <assert.h> | 8291 #include <assert.h> |
8274 /* Override any gcc2 internal prototype to avoid an error. */ | 8292 /* Override any gcc2 internal prototype to avoid an error. */ |
8287 socket(); | 8305 socket(); |
8288 #endif | 8306 #endif |
8289 | 8307 |
8290 ; return 0; } | 8308 ; return 0; } |
8291 EOF | 8309 EOF |
8292 if { (eval echo configure:8293: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 8310 if { (eval echo configure:8311: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
8293 rm -rf conftest* | 8311 rm -rf conftest* |
8294 eval "ac_cv_func_socket=yes" | 8312 eval "ac_cv_func_socket=yes" |
8295 else | 8313 else |
8296 echo "configure: failed program was:" >&5 | 8314 echo "configure: failed program was:" >&5 |
8297 cat conftest.$ac_ext >&5 | 8315 cat conftest.$ac_ext >&5 |
8302 | 8320 |
8303 if eval "test \"`echo '$ac_cv_func_'socket`\" = yes"; then | 8321 if eval "test \"`echo '$ac_cv_func_'socket`\" = yes"; then |
8304 echo "$ac_t""yes" 1>&6 | 8322 echo "$ac_t""yes" 1>&6 |
8305 ac_safe=`echo "netinet/in.h" | sed 'y%./+-%__p_%'` | 8323 ac_safe=`echo "netinet/in.h" | sed 'y%./+-%__p_%'` |
8306 echo $ac_n "checking for netinet/in.h""... $ac_c" 1>&6 | 8324 echo $ac_n "checking for netinet/in.h""... $ac_c" 1>&6 |
8307 echo "configure:8308: checking for netinet/in.h" >&5 | 8325 echo "configure:8326: checking for netinet/in.h" >&5 |
8308 | 8326 |
8309 cat > conftest.$ac_ext <<EOF | 8327 cat > conftest.$ac_ext <<EOF |
8310 #line 8311 "configure" | 8328 #line 8329 "configure" |
8311 #include "confdefs.h" | 8329 #include "confdefs.h" |
8312 #include <netinet/in.h> | 8330 #include <netinet/in.h> |
8313 EOF | 8331 EOF |
8314 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8332 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8315 { (eval echo configure:8316: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8333 { (eval echo configure:8334: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8316 ac_err=`grep -v '^ *+' conftest.out` | 8334 ac_err=`grep -v '^ *+' conftest.out` |
8317 if test -z "$ac_err"; then | 8335 if test -z "$ac_err"; then |
8318 rm -rf conftest* | 8336 rm -rf conftest* |
8319 eval "ac_cv_header_$ac_safe=yes" | 8337 eval "ac_cv_header_$ac_safe=yes" |
8320 else | 8338 else |
8327 rm -f conftest* | 8345 rm -f conftest* |
8328 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 8346 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
8329 echo "$ac_t""yes" 1>&6 | 8347 echo "$ac_t""yes" 1>&6 |
8330 ac_safe=`echo "arpa/inet.h" | sed 'y%./+-%__p_%'` | 8348 ac_safe=`echo "arpa/inet.h" | sed 'y%./+-%__p_%'` |
8331 echo $ac_n "checking for arpa/inet.h""... $ac_c" 1>&6 | 8349 echo $ac_n "checking for arpa/inet.h""... $ac_c" 1>&6 |
8332 echo "configure:8333: checking for arpa/inet.h" >&5 | 8350 echo "configure:8351: checking for arpa/inet.h" >&5 |
8333 | 8351 |
8334 cat > conftest.$ac_ext <<EOF | 8352 cat > conftest.$ac_ext <<EOF |
8335 #line 8336 "configure" | 8353 #line 8354 "configure" |
8336 #include "confdefs.h" | 8354 #include "confdefs.h" |
8337 #include <arpa/inet.h> | 8355 #include <arpa/inet.h> |
8338 EOF | 8356 EOF |
8339 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8357 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8340 { (eval echo configure:8341: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8358 { (eval echo configure:8359: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8341 ac_err=`grep -v '^ *+' conftest.out` | 8359 ac_err=`grep -v '^ *+' conftest.out` |
8342 if test -z "$ac_err"; then | 8360 if test -z "$ac_err"; then |
8343 rm -rf conftest* | 8361 rm -rf conftest* |
8344 eval "ac_cv_header_$ac_safe=yes" | 8362 eval "ac_cv_header_$ac_safe=yes" |
8345 else | 8363 else |
8360 #define HAVE_SOCKETS 1 | 8378 #define HAVE_SOCKETS 1 |
8361 EOF | 8379 EOF |
8362 } | 8380 } |
8363 | 8381 |
8364 echo $ac_n "checking "for sun_len member in struct sockaddr_un"""... $ac_c" 1>&6 | 8382 echo $ac_n "checking "for sun_len member in struct sockaddr_un"""... $ac_c" 1>&6 |
8365 echo "configure:8366: checking "for sun_len member in struct sockaddr_un"" >&5 | 8383 echo "configure:8384: checking "for sun_len member in struct sockaddr_un"" >&5 |
8366 cat > conftest.$ac_ext <<EOF | 8384 cat > conftest.$ac_ext <<EOF |
8367 #line 8368 "configure" | 8385 #line 8386 "configure" |
8368 #include "confdefs.h" | 8386 #include "confdefs.h" |
8369 | 8387 |
8370 #include <sys/types.h> | 8388 #include <sys/types.h> |
8371 #include <sys/socket.h> | 8389 #include <sys/socket.h> |
8372 #include <sys/un.h> | 8390 #include <sys/un.h> |
8373 | 8391 |
8374 int main() { | 8392 int main() { |
8375 static struct sockaddr_un x; x.sun_len = 1; | 8393 static struct sockaddr_un x; x.sun_len = 1; |
8376 ; return 0; } | 8394 ; return 0; } |
8377 EOF | 8395 EOF |
8378 if { (eval echo configure:8379: \"$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 |
8379 rm -rf conftest* | 8397 rm -rf conftest* |
8380 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF | 8398 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF |
8381 Defining HAVE_SOCKADDR_SUN_LEN | 8399 Defining HAVE_SOCKADDR_SUN_LEN |
8382 EOF | 8400 EOF |
8383 cat >> confdefs.h <<\EOF | 8401 cat >> confdefs.h <<\EOF |
8404 echo "$ac_t""no" 1>&6 | 8422 echo "$ac_t""no" 1>&6 |
8405 fi | 8423 fi |
8406 | 8424 |
8407 | 8425 |
8408 echo $ac_n "checking for msgget""... $ac_c" 1>&6 | 8426 echo $ac_n "checking for msgget""... $ac_c" 1>&6 |
8409 echo "configure:8410: checking for msgget" >&5 | 8427 echo "configure:8428: checking for msgget" >&5 |
8410 | 8428 |
8411 cat > conftest.$ac_ext <<EOF | 8429 cat > conftest.$ac_ext <<EOF |
8412 #line 8413 "configure" | 8430 #line 8431 "configure" |
8413 #include "confdefs.h" | 8431 #include "confdefs.h" |
8414 /* System header to define __stub macros and hopefully few prototypes, | 8432 /* System header to define __stub macros and hopefully few prototypes, |
8415 which can conflict with char msgget(); below. */ | 8433 which can conflict with char msgget(); below. */ |
8416 #include <assert.h> | 8434 #include <assert.h> |
8417 /* Override any gcc2 internal prototype to avoid an error. */ | 8435 /* Override any gcc2 internal prototype to avoid an error. */ |
8430 msgget(); | 8448 msgget(); |
8431 #endif | 8449 #endif |
8432 | 8450 |
8433 ; return 0; } | 8451 ; return 0; } |
8434 EOF | 8452 EOF |
8435 if { (eval echo configure:8436: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 8453 if { (eval echo configure:8454: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
8436 rm -rf conftest* | 8454 rm -rf conftest* |
8437 eval "ac_cv_func_msgget=yes" | 8455 eval "ac_cv_func_msgget=yes" |
8438 else | 8456 else |
8439 echo "configure: failed program was:" >&5 | 8457 echo "configure: failed program was:" >&5 |
8440 cat conftest.$ac_ext >&5 | 8458 cat conftest.$ac_ext >&5 |
8445 | 8463 |
8446 if eval "test \"`echo '$ac_cv_func_'msgget`\" = yes"; then | 8464 if eval "test \"`echo '$ac_cv_func_'msgget`\" = yes"; then |
8447 echo "$ac_t""yes" 1>&6 | 8465 echo "$ac_t""yes" 1>&6 |
8448 ac_safe=`echo "sys/ipc.h" | sed 'y%./+-%__p_%'` | 8466 ac_safe=`echo "sys/ipc.h" | sed 'y%./+-%__p_%'` |
8449 echo $ac_n "checking for sys/ipc.h""... $ac_c" 1>&6 | 8467 echo $ac_n "checking for sys/ipc.h""... $ac_c" 1>&6 |
8450 echo "configure:8451: checking for sys/ipc.h" >&5 | 8468 echo "configure:8469: checking for sys/ipc.h" >&5 |
8451 | 8469 |
8452 cat > conftest.$ac_ext <<EOF | 8470 cat > conftest.$ac_ext <<EOF |
8453 #line 8454 "configure" | 8471 #line 8472 "configure" |
8454 #include "confdefs.h" | 8472 #include "confdefs.h" |
8455 #include <sys/ipc.h> | 8473 #include <sys/ipc.h> |
8456 EOF | 8474 EOF |
8457 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8475 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8458 { (eval echo configure:8459: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8476 { (eval echo configure:8477: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8459 ac_err=`grep -v '^ *+' conftest.out` | 8477 ac_err=`grep -v '^ *+' conftest.out` |
8460 if test -z "$ac_err"; then | 8478 if test -z "$ac_err"; then |
8461 rm -rf conftest* | 8479 rm -rf conftest* |
8462 eval "ac_cv_header_$ac_safe=yes" | 8480 eval "ac_cv_header_$ac_safe=yes" |
8463 else | 8481 else |
8470 rm -f conftest* | 8488 rm -f conftest* |
8471 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 8489 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
8472 echo "$ac_t""yes" 1>&6 | 8490 echo "$ac_t""yes" 1>&6 |
8473 ac_safe=`echo "sys/msg.h" | sed 'y%./+-%__p_%'` | 8491 ac_safe=`echo "sys/msg.h" | sed 'y%./+-%__p_%'` |
8474 echo $ac_n "checking for sys/msg.h""... $ac_c" 1>&6 | 8492 echo $ac_n "checking for sys/msg.h""... $ac_c" 1>&6 |
8475 echo "configure:8476: checking for sys/msg.h" >&5 | 8493 echo "configure:8494: checking for sys/msg.h" >&5 |
8476 | 8494 |
8477 cat > conftest.$ac_ext <<EOF | 8495 cat > conftest.$ac_ext <<EOF |
8478 #line 8479 "configure" | 8496 #line 8497 "configure" |
8479 #include "confdefs.h" | 8497 #include "confdefs.h" |
8480 #include <sys/msg.h> | 8498 #include <sys/msg.h> |
8481 EOF | 8499 EOF |
8482 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8500 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8483 { (eval echo configure:8484: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8501 { (eval echo configure:8502: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8484 ac_err=`grep -v '^ *+' conftest.out` | 8502 ac_err=`grep -v '^ *+' conftest.out` |
8485 if test -z "$ac_err"; then | 8503 if test -z "$ac_err"; then |
8486 rm -rf conftest* | 8504 rm -rf conftest* |
8487 eval "ac_cv_header_$ac_safe=yes" | 8505 eval "ac_cv_header_$ac_safe=yes" |
8488 else | 8506 else |
8516 fi | 8534 fi |
8517 | 8535 |
8518 | 8536 |
8519 ac_safe=`echo "dirent.h" | sed 'y%./+-%__p_%'` | 8537 ac_safe=`echo "dirent.h" | sed 'y%./+-%__p_%'` |
8520 echo $ac_n "checking for dirent.h""... $ac_c" 1>&6 | 8538 echo $ac_n "checking for dirent.h""... $ac_c" 1>&6 |
8521 echo "configure:8522: checking for dirent.h" >&5 | 8539 echo "configure:8540: checking for dirent.h" >&5 |
8522 | 8540 |
8523 cat > conftest.$ac_ext <<EOF | 8541 cat > conftest.$ac_ext <<EOF |
8524 #line 8525 "configure" | 8542 #line 8543 "configure" |
8525 #include "confdefs.h" | 8543 #include "confdefs.h" |
8526 #include <dirent.h> | 8544 #include <dirent.h> |
8527 EOF | 8545 EOF |
8528 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8546 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8529 { (eval echo configure:8530: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8547 { (eval echo configure:8548: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8530 ac_err=`grep -v '^ *+' conftest.out` | 8548 ac_err=`grep -v '^ *+' conftest.out` |
8531 if test -z "$ac_err"; then | 8549 if test -z "$ac_err"; then |
8532 rm -rf conftest* | 8550 rm -rf conftest* |
8533 eval "ac_cv_header_$ac_safe=yes" | 8551 eval "ac_cv_header_$ac_safe=yes" |
8534 else | 8552 else |
8551 | 8569 |
8552 else | 8570 else |
8553 echo "$ac_t""no" 1>&6 | 8571 echo "$ac_t""no" 1>&6 |
8554 ac_safe=`echo "sys/dir.h" | sed 'y%./+-%__p_%'` | 8572 ac_safe=`echo "sys/dir.h" | sed 'y%./+-%__p_%'` |
8555 echo $ac_n "checking for sys/dir.h""... $ac_c" 1>&6 | 8573 echo $ac_n "checking for sys/dir.h""... $ac_c" 1>&6 |
8556 echo "configure:8557: checking for sys/dir.h" >&5 | 8574 echo "configure:8575: checking for sys/dir.h" >&5 |
8557 | 8575 |
8558 cat > conftest.$ac_ext <<EOF | 8576 cat > conftest.$ac_ext <<EOF |
8559 #line 8560 "configure" | 8577 #line 8578 "configure" |
8560 #include "confdefs.h" | 8578 #include "confdefs.h" |
8561 #include <sys/dir.h> | 8579 #include <sys/dir.h> |
8562 EOF | 8580 EOF |
8563 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8581 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8564 { (eval echo configure:8565: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8582 { (eval echo configure:8583: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8565 ac_err=`grep -v '^ *+' conftest.out` | 8583 ac_err=`grep -v '^ *+' conftest.out` |
8566 if test -z "$ac_err"; then | 8584 if test -z "$ac_err"; then |
8567 rm -rf conftest* | 8585 rm -rf conftest* |
8568 eval "ac_cv_header_$ac_safe=yes" | 8586 eval "ac_cv_header_$ac_safe=yes" |
8569 else | 8587 else |
8592 fi | 8610 fi |
8593 | 8611 |
8594 | 8612 |
8595 ac_safe=`echo "nlist.h" | sed 'y%./+-%__p_%'` | 8613 ac_safe=`echo "nlist.h" | sed 'y%./+-%__p_%'` |
8596 echo $ac_n "checking for nlist.h""... $ac_c" 1>&6 | 8614 echo $ac_n "checking for nlist.h""... $ac_c" 1>&6 |
8597 echo "configure:8598: checking for nlist.h" >&5 | 8615 echo "configure:8616: checking for nlist.h" >&5 |
8598 | 8616 |
8599 cat > conftest.$ac_ext <<EOF | 8617 cat > conftest.$ac_ext <<EOF |
8600 #line 8601 "configure" | 8618 #line 8619 "configure" |
8601 #include "confdefs.h" | 8619 #include "confdefs.h" |
8602 #include <nlist.h> | 8620 #include <nlist.h> |
8603 EOF | 8621 EOF |
8604 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8622 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8605 { (eval echo configure:8606: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8623 { (eval echo configure:8624: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8606 ac_err=`grep -v '^ *+' conftest.out` | 8624 ac_err=`grep -v '^ *+' conftest.out` |
8607 if test -z "$ac_err"; then | 8625 if test -z "$ac_err"; then |
8608 rm -rf conftest* | 8626 rm -rf conftest* |
8609 eval "ac_cv_header_$ac_safe=yes" | 8627 eval "ac_cv_header_$ac_safe=yes" |
8610 else | 8628 else |
8641 break; fi | 8659 break; fi |
8642 done | 8660 done |
8643 | 8661 |
8644 | 8662 |
8645 echo "checking "for sound support"" 1>&6 | 8663 echo "checking "for sound support"" 1>&6 |
8646 echo "configure:8647: checking "for sound support"" >&5 | 8664 echo "configure:8665: checking "for sound support"" >&5 |
8647 case "$with_sound" in | 8665 case "$with_sound" in |
8648 native | both ) with_native_sound=yes;; | 8666 native | both ) with_native_sound=yes;; |
8649 nas | no ) with_native_sound=no;; | 8667 nas | no ) with_native_sound=no;; |
8650 esac | 8668 esac |
8651 test -z "$with_native_sound" -a -n "$native_sound_lib" && with_native_sound=yes | 8669 test -z "$with_native_sound" -a -n "$native_sound_lib" && with_native_sound=yes |
8652 | 8670 |
8653 if test "$with_native_sound" != "no"; then | 8671 if test "$with_native_sound" != "no"; then |
8654 if test -n "$native_sound_lib"; then | 8672 if test -n "$native_sound_lib"; then |
8655 ac_safe=`echo "multimedia/audio_device.h" | sed 'y%./+-%__p_%'` | 8673 ac_safe=`echo "multimedia/audio_device.h" | sed 'y%./+-%__p_%'` |
8656 echo $ac_n "checking for multimedia/audio_device.h""... $ac_c" 1>&6 | 8674 echo $ac_n "checking for multimedia/audio_device.h""... $ac_c" 1>&6 |
8657 echo "configure:8658: checking for multimedia/audio_device.h" >&5 | 8675 echo "configure:8676: checking for multimedia/audio_device.h" >&5 |
8658 | 8676 |
8659 cat > conftest.$ac_ext <<EOF | 8677 cat > conftest.$ac_ext <<EOF |
8660 #line 8661 "configure" | 8678 #line 8679 "configure" |
8661 #include "confdefs.h" | 8679 #include "confdefs.h" |
8662 #include <multimedia/audio_device.h> | 8680 #include <multimedia/audio_device.h> |
8663 EOF | 8681 EOF |
8664 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8682 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8665 { (eval echo configure:8666: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8683 { (eval echo configure:8684: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8666 ac_err=`grep -v '^ *+' conftest.out` | 8684 ac_err=`grep -v '^ *+' conftest.out` |
8667 if test -z "$ac_err"; then | 8685 if test -z "$ac_err"; then |
8668 rm -rf conftest* | 8686 rm -rf conftest* |
8669 eval "ac_cv_header_$ac_safe=yes" | 8687 eval "ac_cv_header_$ac_safe=yes" |
8670 else | 8688 else |
8708 case "$canonical" in | 8726 case "$canonical" in |
8709 *-sgi-* ) | 8727 *-sgi-* ) |
8710 if test -z "$native_sound_lib"; then | 8728 if test -z "$native_sound_lib"; then |
8711 | 8729 |
8712 echo $ac_n "checking for ALopenport in -laudio""... $ac_c" 1>&6 | 8730 echo $ac_n "checking for ALopenport in -laudio""... $ac_c" 1>&6 |
8713 echo "configure:8714: checking for ALopenport in -laudio" >&5 | 8731 echo "configure:8732: checking for ALopenport in -laudio" >&5 |
8714 ac_lib_var=`echo audio'_'ALopenport | sed 'y%./+-%__p_%'` | 8732 ac_lib_var=`echo audio'_'ALopenport | sed 'y%./+-%__p_%'` |
8715 | 8733 |
8716 xe_check_libs=" -laudio " | 8734 xe_check_libs=" -laudio " |
8717 cat > conftest.$ac_ext <<EOF | 8735 cat > conftest.$ac_ext <<EOF |
8718 #line 8719 "configure" | 8736 #line 8737 "configure" |
8719 #include "confdefs.h" | 8737 #include "confdefs.h" |
8720 /* Override any gcc2 internal prototype to avoid an error. */ | 8738 /* Override any gcc2 internal prototype to avoid an error. */ |
8721 /* We use char because int might match the return type of a gcc2 | 8739 /* We use char because int might match the return type of a gcc2 |
8722 builtin and then its argument prototype would still apply. */ | 8740 builtin and then its argument prototype would still apply. */ |
8723 char ALopenport(); | 8741 char ALopenport(); |
8724 | 8742 |
8725 int main() { | 8743 int main() { |
8726 ALopenport() | 8744 ALopenport() |
8727 ; return 0; } | 8745 ; return 0; } |
8728 EOF | 8746 EOF |
8729 if { (eval echo configure:8730: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 8747 if { (eval echo configure:8748: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
8730 rm -rf conftest* | 8748 rm -rf conftest* |
8731 eval "ac_cv_lib_$ac_lib_var=yes" | 8749 eval "ac_cv_lib_$ac_lib_var=yes" |
8732 else | 8750 else |
8733 echo "configure: failed program was:" >&5 | 8751 echo "configure: failed program was:" >&5 |
8734 cat conftest.$ac_ext >&5 | 8752 cat conftest.$ac_ext >&5 |
8755 fi ;; | 8773 fi ;; |
8756 hppa*-hp-hpux* ) | 8774 hppa*-hp-hpux* ) |
8757 if test -z "$native_sound_lib"; then | 8775 if test -z "$native_sound_lib"; then |
8758 | 8776 |
8759 echo $ac_n "checking for AOpenAudio in -lAlib""... $ac_c" 1>&6 | 8777 echo $ac_n "checking for AOpenAudio in -lAlib""... $ac_c" 1>&6 |
8760 echo "configure:8761: checking for AOpenAudio in -lAlib" >&5 | 8778 echo "configure:8779: checking for AOpenAudio in -lAlib" >&5 |
8761 ac_lib_var=`echo Alib'_'AOpenAudio | sed 'y%./+-%__p_%'` | 8779 ac_lib_var=`echo Alib'_'AOpenAudio | sed 'y%./+-%__p_%'` |
8762 | 8780 |
8763 xe_check_libs=" -lAlib " | 8781 xe_check_libs=" -lAlib " |
8764 cat > conftest.$ac_ext <<EOF | 8782 cat > conftest.$ac_ext <<EOF |
8765 #line 8766 "configure" | 8783 #line 8784 "configure" |
8766 #include "confdefs.h" | 8784 #include "confdefs.h" |
8767 /* Override any gcc2 internal prototype to avoid an error. */ | 8785 /* Override any gcc2 internal prototype to avoid an error. */ |
8768 /* We use char because int might match the return type of a gcc2 | 8786 /* We use char because int might match the return type of a gcc2 |
8769 builtin and then its argument prototype would still apply. */ | 8787 builtin and then its argument prototype would still apply. */ |
8770 char AOpenAudio(); | 8788 char AOpenAudio(); |
8771 | 8789 |
8772 int main() { | 8790 int main() { |
8773 AOpenAudio() | 8791 AOpenAudio() |
8774 ; return 0; } | 8792 ; return 0; } |
8775 EOF | 8793 EOF |
8776 if { (eval echo configure:8777: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 8794 if { (eval echo configure:8795: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
8777 rm -rf conftest* | 8795 rm -rf conftest* |
8778 eval "ac_cv_lib_$ac_lib_var=yes" | 8796 eval "ac_cv_lib_$ac_lib_var=yes" |
8779 else | 8797 else |
8780 echo "configure: failed program was:" >&5 | 8798 echo "configure: failed program was:" >&5 |
8781 cat conftest.$ac_ext >&5 | 8799 cat conftest.$ac_ext >&5 |
8809 | 8827 |
8810 if test -z "$sound_found"; then | 8828 if test -z "$sound_found"; then |
8811 for dir in "machine" "sys" "linux"; do | 8829 for dir in "machine" "sys" "linux"; do |
8812 ac_safe=`echo "${dir}/soundcard.h" | sed 'y%./+-%__p_%'` | 8830 ac_safe=`echo "${dir}/soundcard.h" | sed 'y%./+-%__p_%'` |
8813 echo $ac_n "checking for ${dir}/soundcard.h""... $ac_c" 1>&6 | 8831 echo $ac_n "checking for ${dir}/soundcard.h""... $ac_c" 1>&6 |
8814 echo "configure:8815: checking for ${dir}/soundcard.h" >&5 | 8832 echo "configure:8833: checking for ${dir}/soundcard.h" >&5 |
8815 | 8833 |
8816 cat > conftest.$ac_ext <<EOF | 8834 cat > conftest.$ac_ext <<EOF |
8817 #line 8818 "configure" | 8835 #line 8836 "configure" |
8818 #include "confdefs.h" | 8836 #include "confdefs.h" |
8819 #include <${dir}/soundcard.h> | 8837 #include <${dir}/soundcard.h> |
8820 EOF | 8838 EOF |
8821 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8839 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8822 { (eval echo configure:8823: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8840 { (eval echo configure:8841: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8823 ac_err=`grep -v '^ *+' conftest.out` | 8841 ac_err=`grep -v '^ *+' conftest.out` |
8824 if test -z "$ac_err"; then | 8842 if test -z "$ac_err"; then |
8825 rm -rf conftest* | 8843 rm -rf conftest* |
8826 eval "ac_cv_header_$ac_safe=yes" | 8844 eval "ac_cv_header_$ac_safe=yes" |
8827 else | 8845 else |
8887 extra_objs="$extra_objs nas.o" && if test "$extra_verbose" = "yes"; then | 8905 extra_objs="$extra_objs nas.o" && if test "$extra_verbose" = "yes"; then |
8888 echo " xemacs will be linked with \"nas.o\"" | 8906 echo " xemacs will be linked with \"nas.o\"" |
8889 fi | 8907 fi |
8890 LIBS="-laudio $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-laudio\" to \$LIBS"; fi | 8908 LIBS="-laudio $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-laudio\" to \$LIBS"; fi |
8891 cat > conftest.$ac_ext <<EOF | 8909 cat > conftest.$ac_ext <<EOF |
8892 #line 8893 "configure" | 8910 #line 8911 "configure" |
8893 #include "confdefs.h" | 8911 #include "confdefs.h" |
8894 #include <audio/Xtutil.h> | 8912 #include <audio/Xtutil.h> |
8895 EOF | 8913 EOF |
8896 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 8914 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
8897 egrep "AuXtErrorJump" >/dev/null 2>&1; then | 8915 egrep "AuXtErrorJump" >/dev/null 2>&1; then |
8914 | 8932 |
8915 test -z "$with_tty" && with_tty=yes | 8933 test -z "$with_tty" && with_tty=yes |
8916 | 8934 |
8917 if test "$with_tty" = "yes" ; then | 8935 if test "$with_tty" = "yes" ; then |
8918 echo "checking for TTY-related features" 1>&6 | 8936 echo "checking for TTY-related features" 1>&6 |
8919 echo "configure:8920: checking for TTY-related features" >&5 | 8937 echo "configure:8938: checking for TTY-related features" >&5 |
8920 { test "$extra_verbose" = "yes" && cat << \EOF | 8938 { test "$extra_verbose" = "yes" && cat << \EOF |
8921 Defining HAVE_TTY | 8939 Defining HAVE_TTY |
8922 EOF | 8940 EOF |
8923 cat >> confdefs.h <<\EOF | 8941 cat >> confdefs.h <<\EOF |
8924 #define HAVE_TTY 1 | 8942 #define HAVE_TTY 1 |
8929 echo " xemacs will be linked with \"console-tty.o device-tty.o event-tty.o frame-tty.o objects-tty.o redisplay-tty.o cm.o\"" | 8947 echo " xemacs will be linked with \"console-tty.o device-tty.o event-tty.o frame-tty.o objects-tty.o redisplay-tty.o cm.o\"" |
8930 fi | 8948 fi |
8931 | 8949 |
8932 ac_safe=`echo "termios.h" | sed 'y%./+-%__p_%'` | 8950 ac_safe=`echo "termios.h" | sed 'y%./+-%__p_%'` |
8933 echo $ac_n "checking for termios.h""... $ac_c" 1>&6 | 8951 echo $ac_n "checking for termios.h""... $ac_c" 1>&6 |
8934 echo "configure:8935: checking for termios.h" >&5 | 8952 echo "configure:8953: checking for termios.h" >&5 |
8935 | 8953 |
8936 cat > conftest.$ac_ext <<EOF | 8954 cat > conftest.$ac_ext <<EOF |
8937 #line 8938 "configure" | 8955 #line 8956 "configure" |
8938 #include "confdefs.h" | 8956 #include "confdefs.h" |
8939 #include <termios.h> | 8957 #include <termios.h> |
8940 EOF | 8958 EOF |
8941 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8959 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8942 { (eval echo configure:8943: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8960 { (eval echo configure:8961: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8943 ac_err=`grep -v '^ *+' conftest.out` | 8961 ac_err=`grep -v '^ *+' conftest.out` |
8944 if test -z "$ac_err"; then | 8962 if test -z "$ac_err"; then |
8945 rm -rf conftest* | 8963 rm -rf conftest* |
8946 eval "ac_cv_header_$ac_safe=yes" | 8964 eval "ac_cv_header_$ac_safe=yes" |
8947 else | 8965 else |
8964 | 8982 |
8965 else | 8983 else |
8966 echo "$ac_t""no" 1>&6 | 8984 echo "$ac_t""no" 1>&6 |
8967 ac_safe=`echo "termio.h" | sed 'y%./+-%__p_%'` | 8985 ac_safe=`echo "termio.h" | sed 'y%./+-%__p_%'` |
8968 echo $ac_n "checking for termio.h""... $ac_c" 1>&6 | 8986 echo $ac_n "checking for termio.h""... $ac_c" 1>&6 |
8969 echo "configure:8970: checking for termio.h" >&5 | 8987 echo "configure:8988: checking for termio.h" >&5 |
8970 | 8988 |
8971 cat > conftest.$ac_ext <<EOF | 8989 cat > conftest.$ac_ext <<EOF |
8972 #line 8973 "configure" | 8990 #line 8991 "configure" |
8973 #include "confdefs.h" | 8991 #include "confdefs.h" |
8974 #include <termio.h> | 8992 #include <termio.h> |
8975 EOF | 8993 EOF |
8976 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8994 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8977 { (eval echo configure:8978: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8995 { (eval echo configure:8996: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8978 ac_err=`grep -v '^ *+' conftest.out` | 8996 ac_err=`grep -v '^ *+' conftest.out` |
8979 if test -z "$ac_err"; then | 8997 if test -z "$ac_err"; then |
8980 rm -rf conftest* | 8998 rm -rf conftest* |
8981 eval "ac_cv_header_$ac_safe=yes" | 8999 eval "ac_cv_header_$ac_safe=yes" |
8982 else | 9000 else |
9005 | 9023 |
9006 | 9024 |
9007 if test -z "$with_ncurses"; then | 9025 if test -z "$with_ncurses"; then |
9008 | 9026 |
9009 echo $ac_n "checking for tgetent in -lncurses""... $ac_c" 1>&6 | 9027 echo $ac_n "checking for tgetent in -lncurses""... $ac_c" 1>&6 |
9010 echo "configure:9011: checking for tgetent in -lncurses" >&5 | 9028 echo "configure:9029: checking for tgetent in -lncurses" >&5 |
9011 ac_lib_var=`echo ncurses'_'tgetent | sed 'y%./+-%__p_%'` | 9029 ac_lib_var=`echo ncurses'_'tgetent | sed 'y%./+-%__p_%'` |
9012 | 9030 |
9013 xe_check_libs=" -lncurses " | 9031 xe_check_libs=" -lncurses " |
9014 cat > conftest.$ac_ext <<EOF | 9032 cat > conftest.$ac_ext <<EOF |
9015 #line 9016 "configure" | 9033 #line 9034 "configure" |
9016 #include "confdefs.h" | 9034 #include "confdefs.h" |
9017 /* Override any gcc2 internal prototype to avoid an error. */ | 9035 /* Override any gcc2 internal prototype to avoid an error. */ |
9018 /* We use char because int might match the return type of a gcc2 | 9036 /* We use char because int might match the return type of a gcc2 |
9019 builtin and then its argument prototype would still apply. */ | 9037 builtin and then its argument prototype would still apply. */ |
9020 char tgetent(); | 9038 char tgetent(); |
9021 | 9039 |
9022 int main() { | 9040 int main() { |
9023 tgetent() | 9041 tgetent() |
9024 ; return 0; } | 9042 ; return 0; } |
9025 EOF | 9043 EOF |
9026 if { (eval echo configure:9027: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 9044 if { (eval echo configure:9045: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
9027 rm -rf conftest* | 9045 rm -rf conftest* |
9028 eval "ac_cv_lib_$ac_lib_var=yes" | 9046 eval "ac_cv_lib_$ac_lib_var=yes" |
9029 else | 9047 else |
9030 echo "configure: failed program was:" >&5 | 9048 echo "configure: failed program was:" >&5 |
9031 cat conftest.$ac_ext >&5 | 9049 cat conftest.$ac_ext >&5 |
9054 EOF | 9072 EOF |
9055 } | 9073 } |
9056 | 9074 |
9057 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` | 9075 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` |
9058 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 | 9076 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 |
9059 echo "configure:9060: checking for ncurses/curses.h" >&5 | 9077 echo "configure:9078: checking for ncurses/curses.h" >&5 |
9060 | 9078 |
9061 cat > conftest.$ac_ext <<EOF | 9079 cat > conftest.$ac_ext <<EOF |
9062 #line 9063 "configure" | 9080 #line 9081 "configure" |
9063 #include "confdefs.h" | 9081 #include "confdefs.h" |
9064 #include <ncurses/curses.h> | 9082 #include <ncurses/curses.h> |
9065 EOF | 9083 EOF |
9066 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9084 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9067 { (eval echo configure:9068: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9085 { (eval echo configure:9086: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9068 ac_err=`grep -v '^ *+' conftest.out` | 9086 ac_err=`grep -v '^ *+' conftest.out` |
9069 if test -z "$ac_err"; then | 9087 if test -z "$ac_err"; then |
9070 rm -rf conftest* | 9088 rm -rf conftest* |
9071 eval "ac_cv_header_$ac_safe=yes" | 9089 eval "ac_cv_header_$ac_safe=yes" |
9072 else | 9090 else |
9084 echo "$ac_t""no" 1>&6 | 9102 echo "$ac_t""no" 1>&6 |
9085 fi | 9103 fi |
9086 | 9104 |
9087 ac_safe=`echo "ncurses/term.h" | sed 'y%./+-%__p_%'` | 9105 ac_safe=`echo "ncurses/term.h" | sed 'y%./+-%__p_%'` |
9088 echo $ac_n "checking for ncurses/term.h""... $ac_c" 1>&6 | 9106 echo $ac_n "checking for ncurses/term.h""... $ac_c" 1>&6 |
9089 echo "configure:9090: checking for ncurses/term.h" >&5 | 9107 echo "configure:9108: checking for ncurses/term.h" >&5 |
9090 | 9108 |
9091 cat > conftest.$ac_ext <<EOF | 9109 cat > conftest.$ac_ext <<EOF |
9092 #line 9093 "configure" | 9110 #line 9111 "configure" |
9093 #include "confdefs.h" | 9111 #include "confdefs.h" |
9094 #include <ncurses/term.h> | 9112 #include <ncurses/term.h> |
9095 EOF | 9113 EOF |
9096 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9114 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9097 { (eval echo configure:9098: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9115 { (eval echo configure:9116: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9098 ac_err=`grep -v '^ *+' conftest.out` | 9116 ac_err=`grep -v '^ *+' conftest.out` |
9099 if test -z "$ac_err"; then | 9117 if test -z "$ac_err"; then |
9100 rm -rf conftest* | 9118 rm -rf conftest* |
9101 eval "ac_cv_header_$ac_safe=yes" | 9119 eval "ac_cv_header_$ac_safe=yes" |
9102 else | 9120 else |
9122 if test "$ac_cv_header_ncurses_curses_h" != "yes" ; then | 9140 if test "$ac_cv_header_ncurses_curses_h" != "yes" ; then |
9123 save_c_switch_site="$c_switch_site" | 9141 save_c_switch_site="$c_switch_site" |
9124 c_switch_site="$c_switch_site -I/usr/include/ncurses" | 9142 c_switch_site="$c_switch_site -I/usr/include/ncurses" |
9125 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` | 9143 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` |
9126 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 | 9144 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 |
9127 echo "configure:9128: checking for ncurses/curses.h" >&5 | 9145 echo "configure:9146: checking for ncurses/curses.h" >&5 |
9128 | 9146 |
9129 cat > conftest.$ac_ext <<EOF | 9147 cat > conftest.$ac_ext <<EOF |
9130 #line 9131 "configure" | 9148 #line 9149 "configure" |
9131 #include "confdefs.h" | 9149 #include "confdefs.h" |
9132 #include <ncurses/curses.h> | 9150 #include <ncurses/curses.h> |
9133 EOF | 9151 EOF |
9134 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9152 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9135 { (eval echo configure:9136: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9153 { (eval echo configure:9154: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9136 ac_err=`grep -v '^ *+' conftest.out` | 9154 ac_err=`grep -v '^ *+' conftest.out` |
9137 if test -z "$ac_err"; then | 9155 if test -z "$ac_err"; then |
9138 rm -rf conftest* | 9156 rm -rf conftest* |
9139 eval "ac_cv_header_$ac_safe=yes" | 9157 eval "ac_cv_header_$ac_safe=yes" |
9140 else | 9158 else |
9165 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi | 9183 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi |
9166 else | 9184 else |
9167 for lib in curses termlib termcap; do | 9185 for lib in curses termlib termcap; do |
9168 | 9186 |
9169 echo $ac_n "checking for tgetent in -l$lib""... $ac_c" 1>&6 | 9187 echo $ac_n "checking for tgetent in -l$lib""... $ac_c" 1>&6 |
9170 echo "configure:9171: checking for tgetent in -l$lib" >&5 | 9188 echo "configure:9189: checking for tgetent in -l$lib" >&5 |
9171 ac_lib_var=`echo $lib'_'tgetent | sed 'y%./+-%__p_%'` | 9189 ac_lib_var=`echo $lib'_'tgetent | sed 'y%./+-%__p_%'` |
9172 | 9190 |
9173 xe_check_libs=" -l$lib " | 9191 xe_check_libs=" -l$lib " |
9174 cat > conftest.$ac_ext <<EOF | 9192 cat > conftest.$ac_ext <<EOF |
9175 #line 9176 "configure" | 9193 #line 9194 "configure" |
9176 #include "confdefs.h" | 9194 #include "confdefs.h" |
9177 /* Override any gcc2 internal prototype to avoid an error. */ | 9195 /* Override any gcc2 internal prototype to avoid an error. */ |
9178 /* We use char because int might match the return type of a gcc2 | 9196 /* We use char because int might match the return type of a gcc2 |
9179 builtin and then its argument prototype would still apply. */ | 9197 builtin and then its argument prototype would still apply. */ |
9180 char tgetent(); | 9198 char tgetent(); |
9181 | 9199 |
9182 int main() { | 9200 int main() { |
9183 tgetent() | 9201 tgetent() |
9184 ; return 0; } | 9202 ; return 0; } |
9185 EOF | 9203 EOF |
9186 if { (eval echo configure:9187: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 9204 if { (eval echo configure:9205: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
9187 rm -rf conftest* | 9205 rm -rf conftest* |
9188 eval "ac_cv_lib_$ac_lib_var=yes" | 9206 eval "ac_cv_lib_$ac_lib_var=yes" |
9189 else | 9207 else |
9190 echo "configure: failed program was:" >&5 | 9208 echo "configure: failed program was:" >&5 |
9191 cat conftest.$ac_ext >&5 | 9209 cat conftest.$ac_ext >&5 |
9212 if test -n "$libs_termcap"; then | 9230 if test -n "$libs_termcap"; then |
9213 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi | 9231 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi |
9214 else | 9232 else |
9215 | 9233 |
9216 echo $ac_n "checking for tgetent in -lcurses""... $ac_c" 1>&6 | 9234 echo $ac_n "checking for tgetent in -lcurses""... $ac_c" 1>&6 |
9217 echo "configure:9218: checking for tgetent in -lcurses" >&5 | 9235 echo "configure:9236: checking for tgetent in -lcurses" >&5 |
9218 ac_lib_var=`echo curses'_'tgetent | sed 'y%./+-%__p_%'` | 9236 ac_lib_var=`echo curses'_'tgetent | sed 'y%./+-%__p_%'` |
9219 | 9237 |
9220 xe_check_libs=" -lcurses " | 9238 xe_check_libs=" -lcurses " |
9221 cat > conftest.$ac_ext <<EOF | 9239 cat > conftest.$ac_ext <<EOF |
9222 #line 9223 "configure" | 9240 #line 9241 "configure" |
9223 #include "confdefs.h" | 9241 #include "confdefs.h" |
9224 /* Override any gcc2 internal prototype to avoid an error. */ | 9242 /* Override any gcc2 internal prototype to avoid an error. */ |
9225 /* We use char because int might match the return type of a gcc2 | 9243 /* We use char because int might match the return type of a gcc2 |
9226 builtin and then its argument prototype would still apply. */ | 9244 builtin and then its argument prototype would still apply. */ |
9227 char tgetent(); | 9245 char tgetent(); |
9228 | 9246 |
9229 int main() { | 9247 int main() { |
9230 tgetent() | 9248 tgetent() |
9231 ; return 0; } | 9249 ; return 0; } |
9232 EOF | 9250 EOF |
9233 if { (eval echo configure:9234: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 9251 if { (eval echo configure:9252: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
9234 rm -rf conftest* | 9252 rm -rf conftest* |
9235 eval "ac_cv_lib_$ac_lib_var=yes" | 9253 eval "ac_cv_lib_$ac_lib_var=yes" |
9236 else | 9254 else |
9237 echo "configure: failed program was:" >&5 | 9255 echo "configure: failed program was:" >&5 |
9238 cat conftest.$ac_ext >&5 | 9256 cat conftest.$ac_ext >&5 |
9246 echo "$ac_t""yes" 1>&6 | 9264 echo "$ac_t""yes" 1>&6 |
9247 LIBS="-lcurses $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lcurses\" to \$LIBS"; fi | 9265 LIBS="-lcurses $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lcurses\" to \$LIBS"; fi |
9248 else | 9266 else |
9249 echo "$ac_t""no" 1>&6 | 9267 echo "$ac_t""no" 1>&6 |
9250 echo $ac_n "checking for tgetent in -ltermcap""... $ac_c" 1>&6 | 9268 echo $ac_n "checking for tgetent in -ltermcap""... $ac_c" 1>&6 |
9251 echo "configure:9252: checking for tgetent in -ltermcap" >&5 | 9269 echo "configure:9270: checking for tgetent in -ltermcap" >&5 |
9252 ac_lib_var=`echo termcap'_'tgetent | sed 'y%./+-%__p_%'` | 9270 ac_lib_var=`echo termcap'_'tgetent | sed 'y%./+-%__p_%'` |
9253 | 9271 |
9254 xe_check_libs=" -ltermcap " | 9272 xe_check_libs=" -ltermcap " |
9255 cat > conftest.$ac_ext <<EOF | 9273 cat > conftest.$ac_ext <<EOF |
9256 #line 9257 "configure" | 9274 #line 9275 "configure" |
9257 #include "confdefs.h" | 9275 #include "confdefs.h" |
9258 /* Override any gcc2 internal prototype to avoid an error. */ | 9276 /* Override any gcc2 internal prototype to avoid an error. */ |
9259 /* We use char because int might match the return type of a gcc2 | 9277 /* We use char because int might match the return type of a gcc2 |
9260 builtin and then its argument prototype would still apply. */ | 9278 builtin and then its argument prototype would still apply. */ |
9261 char tgetent(); | 9279 char tgetent(); |
9262 | 9280 |
9263 int main() { | 9281 int main() { |
9264 tgetent() | 9282 tgetent() |
9265 ; return 0; } | 9283 ; return 0; } |
9266 EOF | 9284 EOF |
9267 if { (eval echo configure:9268: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 9285 if { (eval echo configure:9286: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
9268 rm -rf conftest* | 9286 rm -rf conftest* |
9269 eval "ac_cv_lib_$ac_lib_var=yes" | 9287 eval "ac_cv_lib_$ac_lib_var=yes" |
9270 else | 9288 else |
9271 echo "configure: failed program was:" >&5 | 9289 echo "configure: failed program was:" >&5 |
9272 cat conftest.$ac_ext >&5 | 9290 cat conftest.$ac_ext >&5 |
9310 } | 9328 } |
9311 | 9329 |
9312 | 9330 |
9313 test -z "$with_gpm" && { ac_safe=`echo "gpm.h" | sed 'y%./+-%__p_%'` | 9331 test -z "$with_gpm" && { ac_safe=`echo "gpm.h" | sed 'y%./+-%__p_%'` |
9314 echo $ac_n "checking for gpm.h""... $ac_c" 1>&6 | 9332 echo $ac_n "checking for gpm.h""... $ac_c" 1>&6 |
9315 echo "configure:9316: checking for gpm.h" >&5 | 9333 echo "configure:9334: checking for gpm.h" >&5 |
9316 | 9334 |
9317 cat > conftest.$ac_ext <<EOF | 9335 cat > conftest.$ac_ext <<EOF |
9318 #line 9319 "configure" | 9336 #line 9337 "configure" |
9319 #include "confdefs.h" | 9337 #include "confdefs.h" |
9320 #include <gpm.h> | 9338 #include <gpm.h> |
9321 EOF | 9339 EOF |
9322 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9340 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9323 { (eval echo configure:9324: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9341 { (eval echo configure:9342: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9324 ac_err=`grep -v '^ *+' conftest.out` | 9342 ac_err=`grep -v '^ *+' conftest.out` |
9325 if test -z "$ac_err"; then | 9343 if test -z "$ac_err"; then |
9326 rm -rf conftest* | 9344 rm -rf conftest* |
9327 eval "ac_cv_header_$ac_safe=yes" | 9345 eval "ac_cv_header_$ac_safe=yes" |
9328 else | 9346 else |
9341 with_gpm=no | 9359 with_gpm=no |
9342 fi | 9360 fi |
9343 } | 9361 } |
9344 test -z "$with_gpm" && { | 9362 test -z "$with_gpm" && { |
9345 echo $ac_n "checking for Gpm_Open in -lgpm""... $ac_c" 1>&6 | 9363 echo $ac_n "checking for Gpm_Open in -lgpm""... $ac_c" 1>&6 |
9346 echo "configure:9347: checking for Gpm_Open in -lgpm" >&5 | 9364 echo "configure:9365: checking for Gpm_Open in -lgpm" >&5 |
9347 ac_lib_var=`echo gpm'_'Gpm_Open | sed 'y%./+-%__p_%'` | 9365 ac_lib_var=`echo gpm'_'Gpm_Open | sed 'y%./+-%__p_%'` |
9348 | 9366 |
9349 xe_check_libs=" -lgpm " | 9367 xe_check_libs=" -lgpm " |
9350 cat > conftest.$ac_ext <<EOF | 9368 cat > conftest.$ac_ext <<EOF |
9351 #line 9352 "configure" | 9369 #line 9370 "configure" |
9352 #include "confdefs.h" | 9370 #include "confdefs.h" |
9353 /* Override any gcc2 internal prototype to avoid an error. */ | 9371 /* Override any gcc2 internal prototype to avoid an error. */ |
9354 /* We use char because int might match the return type of a gcc2 | 9372 /* We use char because int might match the return type of a gcc2 |
9355 builtin and then its argument prototype would still apply. */ | 9373 builtin and then its argument prototype would still apply. */ |
9356 char Gpm_Open(); | 9374 char Gpm_Open(); |
9357 | 9375 |
9358 int main() { | 9376 int main() { |
9359 Gpm_Open() | 9377 Gpm_Open() |
9360 ; return 0; } | 9378 ; return 0; } |
9361 EOF | 9379 EOF |
9362 if { (eval echo configure:9363: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 9380 if { (eval echo configure:9381: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
9363 rm -rf conftest* | 9381 rm -rf conftest* |
9364 eval "ac_cv_lib_$ac_lib_var=yes" | 9382 eval "ac_cv_lib_$ac_lib_var=yes" |
9365 else | 9383 else |
9366 echo "configure: failed program was:" >&5 | 9384 echo "configure: failed program was:" >&5 |
9367 cat conftest.$ac_ext >&5 | 9385 cat conftest.$ac_ext >&5 |
9406 echo " xemacs will be linked with \"event-unixoid.o\"" | 9424 echo " xemacs will be linked with \"event-unixoid.o\"" |
9407 fi | 9425 fi |
9408 | 9426 |
9409 | 9427 |
9410 echo "checking for database support" 1>&6 | 9428 echo "checking for database support" 1>&6 |
9411 echo "configure:9412: checking for database support" >&5 | 9429 echo "configure:9430: checking for database support" >&5 |
9412 | 9430 |
9413 if test "$with_database_gnudbm" != "no"; then | 9431 if test "$with_database_gnudbm" != "no"; then |
9414 | 9432 |
9415 echo $ac_n "checking for dbm_open in -lgdbm""... $ac_c" 1>&6 | 9433 echo $ac_n "checking for dbm_open in -lgdbm""... $ac_c" 1>&6 |
9416 echo "configure:9417: checking for dbm_open in -lgdbm" >&5 | 9434 echo "configure:9435: checking for dbm_open in -lgdbm" >&5 |
9417 ac_lib_var=`echo gdbm'_'dbm_open | sed 'y%./+-%__p_%'` | 9435 ac_lib_var=`echo gdbm'_'dbm_open | sed 'y%./+-%__p_%'` |
9418 | 9436 |
9419 xe_check_libs=" -lgdbm " | 9437 xe_check_libs=" -lgdbm " |
9420 cat > conftest.$ac_ext <<EOF | 9438 cat > conftest.$ac_ext <<EOF |
9421 #line 9422 "configure" | 9439 #line 9440 "configure" |
9422 #include "confdefs.h" | 9440 #include "confdefs.h" |
9423 /* Override any gcc2 internal prototype to avoid an error. */ | 9441 /* Override any gcc2 internal prototype to avoid an error. */ |
9424 /* We use char because int might match the return type of a gcc2 | 9442 /* We use char because int might match the return type of a gcc2 |
9425 builtin and then its argument prototype would still apply. */ | 9443 builtin and then its argument prototype would still apply. */ |
9426 char dbm_open(); | 9444 char dbm_open(); |
9427 | 9445 |
9428 int main() { | 9446 int main() { |
9429 dbm_open() | 9447 dbm_open() |
9430 ; return 0; } | 9448 ; return 0; } |
9431 EOF | 9449 EOF |
9432 if { (eval echo configure:9433: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 9450 if { (eval echo configure:9451: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
9433 rm -rf conftest* | 9451 rm -rf conftest* |
9434 eval "ac_cv_lib_$ac_lib_var=yes" | 9452 eval "ac_cv_lib_$ac_lib_var=yes" |
9435 else | 9453 else |
9436 echo "configure: failed program was:" >&5 | 9454 echo "configure: failed program was:" >&5 |
9437 cat conftest.$ac_ext >&5 | 9455 cat conftest.$ac_ext >&5 |
9449 fi | 9467 fi |
9450 | 9468 |
9451 | 9469 |
9452 if test "$with_database_gnudbm" != "yes"; then | 9470 if test "$with_database_gnudbm" != "yes"; then |
9453 echo $ac_n "checking for dbm_open""... $ac_c" 1>&6 | 9471 echo $ac_n "checking for dbm_open""... $ac_c" 1>&6 |
9454 echo "configure:9455: checking for dbm_open" >&5 | 9472 echo "configure:9473: checking for dbm_open" >&5 |
9455 | 9473 |
9456 cat > conftest.$ac_ext <<EOF | 9474 cat > conftest.$ac_ext <<EOF |
9457 #line 9458 "configure" | 9475 #line 9476 "configure" |
9458 #include "confdefs.h" | 9476 #include "confdefs.h" |
9459 /* System header to define __stub macros and hopefully few prototypes, | 9477 /* System header to define __stub macros and hopefully few prototypes, |
9460 which can conflict with char dbm_open(); below. */ | 9478 which can conflict with char dbm_open(); below. */ |
9461 #include <assert.h> | 9479 #include <assert.h> |
9462 /* Override any gcc2 internal prototype to avoid an error. */ | 9480 /* Override any gcc2 internal prototype to avoid an error. */ |
9475 dbm_open(); | 9493 dbm_open(); |
9476 #endif | 9494 #endif |
9477 | 9495 |
9478 ; return 0; } | 9496 ; return 0; } |
9479 EOF | 9497 EOF |
9480 if { (eval echo configure:9481: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 9498 if { (eval echo configure:9499: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
9481 rm -rf conftest* | 9499 rm -rf conftest* |
9482 eval "ac_cv_func_dbm_open=yes" | 9500 eval "ac_cv_func_dbm_open=yes" |
9483 else | 9501 else |
9484 echo "configure: failed program was:" >&5 | 9502 echo "configure: failed program was:" >&5 |
9485 cat conftest.$ac_ext >&5 | 9503 cat conftest.$ac_ext >&5 |
9511 fi | 9529 fi |
9512 fi | 9530 fi |
9513 | 9531 |
9514 if test "$with_database_dbm" != "no"; then | 9532 if test "$with_database_dbm" != "no"; then |
9515 echo $ac_n "checking for dbm_open""... $ac_c" 1>&6 | 9533 echo $ac_n "checking for dbm_open""... $ac_c" 1>&6 |
9516 echo "configure:9517: checking for dbm_open" >&5 | 9534 echo "configure:9535: checking for dbm_open" >&5 |
9517 | 9535 |
9518 cat > conftest.$ac_ext <<EOF | 9536 cat > conftest.$ac_ext <<EOF |
9519 #line 9520 "configure" | 9537 #line 9538 "configure" |
9520 #include "confdefs.h" | 9538 #include "confdefs.h" |
9521 /* System header to define __stub macros and hopefully few prototypes, | 9539 /* System header to define __stub macros and hopefully few prototypes, |
9522 which can conflict with char dbm_open(); below. */ | 9540 which can conflict with char dbm_open(); below. */ |
9523 #include <assert.h> | 9541 #include <assert.h> |
9524 /* Override any gcc2 internal prototype to avoid an error. */ | 9542 /* Override any gcc2 internal prototype to avoid an error. */ |
9537 dbm_open(); | 9555 dbm_open(); |
9538 #endif | 9556 #endif |
9539 | 9557 |
9540 ; return 0; } | 9558 ; return 0; } |
9541 EOF | 9559 EOF |
9542 if { (eval echo configure:9543: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 9560 if { (eval echo configure:9561: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
9543 rm -rf conftest* | 9561 rm -rf conftest* |
9544 eval "ac_cv_func_dbm_open=yes" | 9562 eval "ac_cv_func_dbm_open=yes" |
9545 else | 9563 else |
9546 echo "configure: failed program was:" >&5 | 9564 echo "configure: failed program was:" >&5 |
9547 cat conftest.$ac_ext >&5 | 9565 cat conftest.$ac_ext >&5 |
9558 fi | 9576 fi |
9559 | 9577 |
9560 if test "$need_libdbm" != "no"; then | 9578 if test "$need_libdbm" != "no"; then |
9561 | 9579 |
9562 echo $ac_n "checking for dbm_open in -ldbm""... $ac_c" 1>&6 | 9580 echo $ac_n "checking for dbm_open in -ldbm""... $ac_c" 1>&6 |
9563 echo "configure:9564: checking for dbm_open in -ldbm" >&5 | 9581 echo "configure:9582: checking for dbm_open in -ldbm" >&5 |
9564 ac_lib_var=`echo dbm'_'dbm_open | sed 'y%./+-%__p_%'` | 9582 ac_lib_var=`echo dbm'_'dbm_open | sed 'y%./+-%__p_%'` |
9565 | 9583 |
9566 xe_check_libs=" -ldbm " | 9584 xe_check_libs=" -ldbm " |
9567 cat > conftest.$ac_ext <<EOF | 9585 cat > conftest.$ac_ext <<EOF |
9568 #line 9569 "configure" | 9586 #line 9587 "configure" |
9569 #include "confdefs.h" | 9587 #include "confdefs.h" |
9570 /* Override any gcc2 internal prototype to avoid an error. */ | 9588 /* Override any gcc2 internal prototype to avoid an error. */ |
9571 /* We use char because int might match the return type of a gcc2 | 9589 /* We use char because int might match the return type of a gcc2 |
9572 builtin and then its argument prototype would still apply. */ | 9590 builtin and then its argument prototype would still apply. */ |
9573 char dbm_open(); | 9591 char dbm_open(); |
9574 | 9592 |
9575 int main() { | 9593 int main() { |
9576 dbm_open() | 9594 dbm_open() |
9577 ; return 0; } | 9595 ; return 0; } |
9578 EOF | 9596 EOF |
9579 if { (eval echo configure:9580: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 9597 if { (eval echo configure:9598: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
9580 rm -rf conftest* | 9598 rm -rf conftest* |
9581 eval "ac_cv_lib_$ac_lib_var=yes" | 9599 eval "ac_cv_lib_$ac_lib_var=yes" |
9582 else | 9600 else |
9583 echo "configure: failed program was:" >&5 | 9601 echo "configure: failed program was:" >&5 |
9584 cat conftest.$ac_ext >&5 | 9602 cat conftest.$ac_ext >&5 |
9611 fi | 9629 fi |
9612 fi | 9630 fi |
9613 | 9631 |
9614 if test "$with_database_berkdb" != "no"; then | 9632 if test "$with_database_berkdb" != "no"; then |
9615 echo $ac_n "checking for dbopen""... $ac_c" 1>&6 | 9633 echo $ac_n "checking for dbopen""... $ac_c" 1>&6 |
9616 echo "configure:9617: checking for dbopen" >&5 | 9634 echo "configure:9635: checking for dbopen" >&5 |
9617 | 9635 |
9618 cat > conftest.$ac_ext <<EOF | 9636 cat > conftest.$ac_ext <<EOF |
9619 #line 9620 "configure" | 9637 #line 9638 "configure" |
9620 #include "confdefs.h" | 9638 #include "confdefs.h" |
9621 /* System header to define __stub macros and hopefully few prototypes, | 9639 /* System header to define __stub macros and hopefully few prototypes, |
9622 which can conflict with char dbopen(); below. */ | 9640 which can conflict with char dbopen(); below. */ |
9623 #include <assert.h> | 9641 #include <assert.h> |
9624 /* Override any gcc2 internal prototype to avoid an error. */ | 9642 /* Override any gcc2 internal prototype to avoid an error. */ |
9637 dbopen(); | 9655 dbopen(); |
9638 #endif | 9656 #endif |
9639 | 9657 |
9640 ; return 0; } | 9658 ; return 0; } |
9641 EOF | 9659 EOF |
9642 if { (eval echo configure:9643: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 9660 if { (eval echo configure:9661: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
9643 rm -rf conftest* | 9661 rm -rf conftest* |
9644 eval "ac_cv_func_dbopen=yes" | 9662 eval "ac_cv_func_dbopen=yes" |
9645 else | 9663 else |
9646 echo "configure: failed program was:" >&5 | 9664 echo "configure: failed program was:" >&5 |
9647 cat conftest.$ac_ext >&5 | 9665 cat conftest.$ac_ext >&5 |
9658 fi | 9676 fi |
9659 | 9677 |
9660 if test "$need_libdb" != "no"; then | 9678 if test "$need_libdb" != "no"; then |
9661 | 9679 |
9662 echo $ac_n "checking for dbopen in -ldb""... $ac_c" 1>&6 | 9680 echo $ac_n "checking for dbopen in -ldb""... $ac_c" 1>&6 |
9663 echo "configure:9664: checking for dbopen in -ldb" >&5 | 9681 echo "configure:9682: checking for dbopen in -ldb" >&5 |
9664 ac_lib_var=`echo db'_'dbopen | sed 'y%./+-%__p_%'` | 9682 ac_lib_var=`echo db'_'dbopen | sed 'y%./+-%__p_%'` |
9665 | 9683 |
9666 xe_check_libs=" -ldb " | 9684 xe_check_libs=" -ldb " |
9667 cat > conftest.$ac_ext <<EOF | 9685 cat > conftest.$ac_ext <<EOF |
9668 #line 9669 "configure" | 9686 #line 9687 "configure" |
9669 #include "confdefs.h" | 9687 #include "confdefs.h" |
9670 /* Override any gcc2 internal prototype to avoid an error. */ | 9688 /* Override any gcc2 internal prototype to avoid an error. */ |
9671 /* We use char because int might match the return type of a gcc2 | 9689 /* We use char because int might match the return type of a gcc2 |
9672 builtin and then its argument prototype would still apply. */ | 9690 builtin and then its argument prototype would still apply. */ |
9673 char dbopen(); | 9691 char dbopen(); |
9674 | 9692 |
9675 int main() { | 9693 int main() { |
9676 dbopen() | 9694 dbopen() |
9677 ; return 0; } | 9695 ; return 0; } |
9678 EOF | 9696 EOF |
9679 if { (eval echo configure:9680: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 9697 if { (eval echo configure:9698: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
9680 rm -rf conftest* | 9698 rm -rf conftest* |
9681 eval "ac_cv_lib_$ac_lib_var=yes" | 9699 eval "ac_cv_lib_$ac_lib_var=yes" |
9682 else | 9700 else |
9683 echo "configure: failed program was:" >&5 | 9701 echo "configure: failed program was:" >&5 |
9684 cat conftest.$ac_ext >&5 | 9702 cat conftest.$ac_ext >&5 |
9698 | 9716 |
9699 fi | 9717 fi |
9700 if test "$with_database_berkdb" = "yes"; then | 9718 if test "$with_database_berkdb" = "yes"; then |
9701 for path in "db/db.h" "db.h"; do | 9719 for path in "db/db.h" "db.h"; do |
9702 cat > conftest.$ac_ext <<EOF | 9720 cat > conftest.$ac_ext <<EOF |
9703 #line 9704 "configure" | 9721 #line 9722 "configure" |
9704 #include "confdefs.h" | 9722 #include "confdefs.h" |
9705 #ifdef HAVE_INTTYPES_H | 9723 #ifdef HAVE_INTTYPES_H |
9706 #define __BIT_TYPES_DEFINED__ | 9724 #define __BIT_TYPES_DEFINED__ |
9707 #include <inttypes.h> | 9725 #include <inttypes.h> |
9708 typedef uint8_t u_int8_t; | 9726 typedef uint8_t u_int8_t; |
9716 | 9734 |
9717 int main() { | 9735 int main() { |
9718 | 9736 |
9719 ; return 0; } | 9737 ; return 0; } |
9720 EOF | 9738 EOF |
9721 if { (eval echo configure:9722: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 9739 if { (eval echo configure:9740: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
9722 rm -rf conftest* | 9740 rm -rf conftest* |
9723 db_h_path="$path"; break | 9741 db_h_path="$path"; break |
9724 else | 9742 else |
9725 echo "configure: failed program was:" >&5 | 9743 echo "configure: failed program was:" >&5 |
9726 cat conftest.$ac_ext >&5 | 9744 cat conftest.$ac_ext >&5 |
9768 fi | 9786 fi |
9769 | 9787 |
9770 if test "$with_socks" = "yes"; then | 9788 if test "$with_socks" = "yes"; then |
9771 | 9789 |
9772 echo $ac_n "checking for SOCKSinit in -lsocks""... $ac_c" 1>&6 | 9790 echo $ac_n "checking for SOCKSinit in -lsocks""... $ac_c" 1>&6 |
9773 echo "configure:9774: checking for SOCKSinit in -lsocks" >&5 | 9791 echo "configure:9792: checking for SOCKSinit in -lsocks" >&5 |
9774 ac_lib_var=`echo socks'_'SOCKSinit | sed 'y%./+-%__p_%'` | 9792 ac_lib_var=`echo socks'_'SOCKSinit | sed 'y%./+-%__p_%'` |
9775 | 9793 |
9776 xe_check_libs=" -lsocks " | 9794 xe_check_libs=" -lsocks " |
9777 cat > conftest.$ac_ext <<EOF | 9795 cat > conftest.$ac_ext <<EOF |
9778 #line 9779 "configure" | 9796 #line 9797 "configure" |
9779 #include "confdefs.h" | 9797 #include "confdefs.h" |
9780 /* Override any gcc2 internal prototype to avoid an error. */ | 9798 /* Override any gcc2 internal prototype to avoid an error. */ |
9781 /* We use char because int might match the return type of a gcc2 | 9799 /* We use char because int might match the return type of a gcc2 |
9782 builtin and then its argument prototype would still apply. */ | 9800 builtin and then its argument prototype would still apply. */ |
9783 char SOCKSinit(); | 9801 char SOCKSinit(); |
9784 | 9802 |
9785 int main() { | 9803 int main() { |
9786 SOCKSinit() | 9804 SOCKSinit() |
9787 ; return 0; } | 9805 ; return 0; } |
9788 EOF | 9806 EOF |
9789 if { (eval echo configure:9790: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 9807 if { (eval echo configure:9808: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
9790 rm -rf conftest* | 9808 rm -rf conftest* |
9791 eval "ac_cv_lib_$ac_lib_var=yes" | 9809 eval "ac_cv_lib_$ac_lib_var=yes" |
9792 else | 9810 else |
9793 echo "configure: failed program was:" >&5 | 9811 echo "configure: failed program was:" >&5 |
9794 cat conftest.$ac_ext >&5 | 9812 cat conftest.$ac_ext >&5 |
9988 | 10006 |
9989 | 10007 |
9990 | 10008 |
9991 | 10009 |
9992 | 10010 |
9993 | 10011 RECURSIVE_MAKE="\$(MAKE) \$(MFLAGS) CC='\$(CC)' CFLAGS='\$(CFLAGS)' LDFLAGS='\$(LDFLAGS)' CPPFLAGS='\$(CPPFLAGS)'" |
9994 | 10012 |
9995 | 10013 |
9996 | 10014 |
9997 | 10015 |
10016 | |
10017 | |
10018 | |
10019 | |
10020 if test -n "$package_path"; then | |
10021 package_path=`echo $package_path | sed 'y/ /:/'` | |
10022 { test "$extra_verbose" = "yes" && cat << EOF | |
10023 Defining PACKAGE_PATH = "$package_path" | |
10024 EOF | |
10025 cat >> confdefs.h <<EOF | |
10026 #define PACKAGE_PATH "$package_path" | |
10027 EOF | |
10028 } | |
10029 | |
10030 fi | |
9998 | 10031 |
9999 { test "$extra_verbose" = "yes" && cat << EOF | 10032 { test "$extra_verbose" = "yes" && cat << EOF |
10000 Defining EMACS_CONFIGURATION = "$canonical" | 10033 Defining EMACS_CONFIGURATION = "$canonical" |
10001 EOF | 10034 EOF |
10002 cat >> confdefs.h <<EOF | 10035 cat >> confdefs.h <<EOF |
10003 #define EMACS_CONFIGURATION "$canonical" | 10036 #define EMACS_CONFIGURATION "$canonical" |
10037 EOF | |
10038 } | |
10039 | |
10040 { test "$extra_verbose" = "yes" && cat << EOF | |
10041 Defining EMACS_CONFIG_OPTIONS = "${ac_configure_args}" | |
10042 EOF | |
10043 cat >> confdefs.h <<EOF | |
10044 #define EMACS_CONFIG_OPTIONS "${ac_configure_args}" | |
10004 EOF | 10045 EOF |
10005 } | 10046 } |
10006 | 10047 |
10007 { test "$extra_verbose" = "yes" && cat << EOF | 10048 { test "$extra_verbose" = "yes" && cat << EOF |
10008 Defining config_machfile = "$machfile" | 10049 Defining config_machfile = "$machfile" |
10177 cat >> confdefs.h <<\EOF | 10218 cat >> confdefs.h <<\EOF |
10178 #define HESIOD 1 | 10219 #define HESIOD 1 |
10179 EOF | 10220 EOF |
10180 } | 10221 } |
10181 | 10222 |
10223 test "$with_clash_detection" = "yes" && { test "$extra_verbose" = "yes" && cat << \EOF | |
10224 Defining CLASH_DETECTION | |
10225 EOF | |
10226 cat >> confdefs.h <<\EOF | |
10227 #define CLASH_DETECTION 1 | |
10228 EOF | |
10229 } | |
10182 | 10230 |
10183 test "$use_union_type" != yes && { test "$extra_verbose" = "yes" && cat << \EOF | 10231 test "$use_union_type" != yes && { test "$extra_verbose" = "yes" && cat << \EOF |
10184 Defining NO_UNION_TYPE | 10232 Defining NO_UNION_TYPE |
10185 EOF | 10233 EOF |
10186 cat >> confdefs.h <<\EOF | 10234 cat >> confdefs.h <<\EOF |
10413 s%@infodir@%$infodir%g | 10461 s%@infodir@%$infodir%g |
10414 s%@mandir@%$mandir%g | 10462 s%@mandir@%$mandir%g |
10415 s%@LN_S@%$LN_S%g | 10463 s%@LN_S@%$LN_S%g |
10416 s%@CC@%$CC%g | 10464 s%@CC@%$CC%g |
10417 s%@CPP@%$CPP%g | 10465 s%@CPP@%$CPP%g |
10418 s%@ld_switch_call_shared@%$ld_switch_call_shared%g | |
10419 s%@ld_switch_shared@%$ld_switch_shared%g | 10466 s%@ld_switch_shared@%$ld_switch_shared%g |
10420 s%@start_files@%$start_files%g | 10467 s%@start_files@%$start_files%g |
10421 s%@start_flags@%$start_flags%g | 10468 s%@start_flags@%$start_flags%g |
10422 s%@ld@%$ld%g | 10469 s%@ld@%$ld%g |
10423 s%@lib_gcc@%$lib_gcc%g | 10470 s%@lib_gcc@%$lib_gcc%g |
10466 s%@ld_switch_all@%$ld_switch_all%g | 10513 s%@ld_switch_all@%$ld_switch_all%g |
10467 s%@ld_libs_general@%$ld_libs_general%g | 10514 s%@ld_libs_general@%$ld_libs_general%g |
10468 s%@ld_libs_window_system@%$ld_libs_window_system%g | 10515 s%@ld_libs_window_system@%$ld_libs_window_system%g |
10469 s%@ld_libs_all@%$ld_libs_all%g | 10516 s%@ld_libs_all@%$ld_libs_all%g |
10470 s%@libsrc_libs@%$libsrc_libs%g | 10517 s%@libsrc_libs@%$libsrc_libs%g |
10518 s%@RECURSIVE_MAKE@%$RECURSIVE_MAKE%g | |
10471 s%@native_sound_lib@%$native_sound_lib%g | 10519 s%@native_sound_lib@%$native_sound_lib%g |
10472 s%@sound_cflags@%$sound_cflags%g | 10520 s%@sound_cflags@%$sound_cflags%g |
10473 s%@dynodump_arch@%$dynodump_arch%g | 10521 s%@dynodump_arch@%$dynodump_arch%g |
10474 s%@internal_makefile_list@%$internal_makefile_list%g | 10522 s%@internal_makefile_list@%$internal_makefile_list%g |
10475 | 10523 |