Mercurial > hg > xemacs-beta
comparison configure @ 155:43dd3413c7c7 r20-3b4
Import from CVS: tag r20-3b4
author | cvs |
---|---|
date | Mon, 13 Aug 2007 09:39:39 +0200 |
parents | 25f70ba0133c |
children | 6b37e6ddd302 |
comparison
equal
deleted
inserted
replaced
154:94141801dd7e | 155:43dd3413c7c7 |
---|---|
59 srcdir= | 59 srcdir= |
60 target=NONE | 60 target=NONE |
61 verbose= | 61 verbose= |
62 x_includes=NONE | 62 x_includes=NONE |
63 x_libraries=NONE | 63 x_libraries=NONE |
64 CDPATH=.; export CDPATH | |
64 | 65 |
65 if test -n "$ZSH_VERSION"; then | 66 if test -n "$ZSH_VERSION"; then |
66 setopt NO_BAD_PATTERN NO_BANG_HIST NO_BG_NICE NO_EQUALS NO_FUNCTION_ARGZERO | 67 setopt NO_BAD_PATTERN NO_BANG_HIST NO_BG_NICE NO_EQUALS NO_FUNCTION_ARGZERO |
67 setopt GLOB_SUBST NO_HUP INTERACTIVE_COMMENTS KSH_ARRAYS NO_MULTIOS NO_NOMATCH | 68 setopt GLOB_SUBST NO_HUP INTERACTIVE_COMMENTS KSH_ARRAYS NO_MULTIOS NO_NOMATCH |
68 setopt RM_STAR_SILENT POSIX_BUILTINS SH_FILE_EXPANSION SH_GLOB SH_OPTION_LETTERS | 69 setopt RM_STAR_SILENT POSIX_BUILTINS SH_FILE_EXPANSION SH_GLOB SH_OPTION_LETTERS |
700 done | 701 done |
701 ;; | 702 ;; |
702 | 703 |
703 | 704 |
704 prefix | exec_prefix | bindir | datadir | statedir | libdir | \ | 705 prefix | exec_prefix | bindir | datadir | statedir | libdir | \ |
705 mandir | infodir | lispdir | etcdir | lockdir | archlibdir | \ | 706 mandir | infodir | lispdir | etcdir | lockdir | pkgdir | archlibdir | \ |
706 sitelispdir | docdir ) | 707 sitelispdir | docdir ) |
707 if test "$valomitted" = "yes"; then | 708 if test "$valomitted" = "yes"; then |
708 if test "$#" = 0; then | 709 if test "$#" = 0; then |
709 (echo "$progname: Usage error:" | 710 (echo "$progname: Usage error:" |
710 echo " " "The \`--$optname' option requires a value." | 711 echo " " "The \`--$optname' option requires a value." |
836 fi | 837 fi |
837 ;; | 838 ;; |
838 esac | 839 esac |
839 | 840 |
840 echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6 | 841 echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6 |
841 echo "configure:842: checking whether ln -s works" >&5 | 842 echo "configure:843: checking whether ln -s works" >&5 |
842 | 843 |
843 rm -f conftestdata | 844 rm -f conftestdata |
844 if ln -s X conftestdata 2>/dev/null | 845 if ln -s X conftestdata 2>/dev/null |
845 then | 846 then |
846 rm -f conftestdata | 847 rm -f conftestdata |
893 vpath %.in $(srcdir)' | 894 vpath %.in $(srcdir)' |
894 fi | 895 fi |
895 | 896 |
896 | 897 |
897 echo "checking "the configuration name"" 1>&6 | 898 echo "checking "the configuration name"" 1>&6 |
898 echo "configure:899: checking "the configuration name"" >&5 | 899 echo "configure:900: checking "the configuration name"" >&5 |
899 internal_configuration=`echo $configuration | sed 's/-\(energize\|workshop\)//'` | 900 internal_configuration=`echo $configuration | sed 's/-\(energize\|workshop\)//'` |
900 if canonical=`$srcdir/config.sub "$internal_configuration"` ; then : ; else | 901 if canonical=`$srcdir/config.sub "$internal_configuration"` ; then : ; else |
901 exit $? | 902 exit $? |
902 fi | 903 fi |
903 | 904 |
1319 | 1320 |
1320 test -n "$NON_GNU_CC" -a "$with_gcc" = "no" -a -z "$CC" && CC="$NON_GNU_CC" | 1321 test -n "$NON_GNU_CC" -a "$with_gcc" = "no" -a -z "$CC" && CC="$NON_GNU_CC" |
1321 # Extract the first word of "gcc", so it can be a program name with args. | 1322 # Extract the first word of "gcc", so it can be a program name with args. |
1322 set dummy gcc; ac_word=$2 | 1323 set dummy gcc; ac_word=$2 |
1323 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 1324 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
1324 echo "configure:1325: checking for $ac_word" >&5 | 1325 echo "configure:1326: checking for $ac_word" >&5 |
1325 | 1326 |
1326 if test -n "$CC"; then | 1327 if test -n "$CC"; then |
1327 ac_cv_prog_CC="$CC" # Let the user override the test. | 1328 ac_cv_prog_CC="$CC" # Let the user override the test. |
1328 else | 1329 else |
1329 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" | 1330 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" |
1345 | 1346 |
1346 if test -z "$CC"; then | 1347 if test -z "$CC"; then |
1347 # Extract the first word of "cc", so it can be a program name with args. | 1348 # Extract the first word of "cc", so it can be a program name with args. |
1348 set dummy cc; ac_word=$2 | 1349 set dummy cc; ac_word=$2 |
1349 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 1350 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
1350 echo "configure:1351: checking for $ac_word" >&5 | 1351 echo "configure:1352: checking for $ac_word" >&5 |
1351 | 1352 |
1352 if test -n "$CC"; then | 1353 if test -n "$CC"; then |
1353 ac_cv_prog_CC="$CC" # Let the user override the test. | 1354 ac_cv_prog_CC="$CC" # Let the user override the test. |
1354 else | 1355 else |
1355 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" | 1356 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" |
1390 | 1391 |
1391 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } | 1392 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } |
1392 fi | 1393 fi |
1393 | 1394 |
1394 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 | 1395 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 |
1395 echo "configure:1396: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 | 1396 echo "configure:1397: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 |
1396 | 1397 |
1397 ac_ext=c | 1398 ac_ext=c |
1398 xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS' | 1399 xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS' |
1399 xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_switch_x_site $ld_switch_run' | 1400 xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_switch_x_site $ld_switch_run' |
1400 xe_libs='$xe_check_libs $X_EXTRA_LIBS $libs_x $X_PRE_LIBS $LIBS $libs_machine $libs_system $libs_standard' | 1401 xe_libs='$xe_check_libs $X_EXTRA_LIBS $libs_x $X_PRE_LIBS $LIBS $libs_machine $libs_system $libs_standard' |
1402 ac_compile='${CC-cc} -c $CFLAGS '"$xe_cppflags"' conftest.$ac_ext 1>&5' | 1403 ac_compile='${CC-cc} -c $CFLAGS '"$xe_cppflags"' conftest.$ac_ext 1>&5' |
1403 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' | 1404 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' |
1404 cross_compiling=no | 1405 cross_compiling=no |
1405 | 1406 |
1406 cat > conftest.$ac_ext <<EOF | 1407 cat > conftest.$ac_ext <<EOF |
1407 #line 1408 "configure" | 1408 #line 1409 "configure" |
1408 #include "confdefs.h" | 1409 #include "confdefs.h" |
1409 main(){return(0);} | 1410 main(){return(0);} |
1410 EOF | 1411 EOF |
1411 if { (eval echo configure:1412: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 1412 if { (eval echo configure:1413: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
1412 ac_cv_prog_cc_works=yes | 1413 ac_cv_prog_cc_works=yes |
1413 # If we can't run a trivial program, we are probably using a cross compiler. | 1414 # If we can't run a trivial program, we are probably using a cross compiler. |
1414 if (./conftest; exit) 2>/dev/null; then | 1415 if (./conftest; exit) 2>/dev/null; then |
1415 ac_cv_prog_cc_cross=no | 1416 ac_cv_prog_cc_cross=no |
1416 else | 1417 else |
1426 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 | 1427 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 |
1427 if test $ac_cv_prog_cc_works = no; then | 1428 if test $ac_cv_prog_cc_works = no; then |
1428 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } | 1429 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } |
1429 fi | 1430 fi |
1430 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 | 1431 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 |
1431 echo "configure:1432: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 | 1432 echo "configure:1433: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 |
1432 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 | 1433 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 |
1433 cross_compiling=$ac_cv_prog_cc_cross | 1434 cross_compiling=$ac_cv_prog_cc_cross |
1434 | 1435 |
1435 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 | 1436 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 |
1436 echo "configure:1437: checking whether we are using GNU C" >&5 | 1437 echo "configure:1438: checking whether we are using GNU C" >&5 |
1437 | 1438 |
1438 cat > conftest.c <<EOF | 1439 cat > conftest.c <<EOF |
1439 #ifdef __GNUC__ | 1440 #ifdef __GNUC__ |
1440 yes; | 1441 yes; |
1441 #endif | 1442 #endif |
1442 EOF | 1443 EOF |
1443 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1444: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then | 1444 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1445: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then |
1444 ac_cv_prog_gcc=yes | 1445 ac_cv_prog_gcc=yes |
1445 else | 1446 else |
1446 ac_cv_prog_gcc=no | 1447 ac_cv_prog_gcc=no |
1447 fi | 1448 fi |
1448 | 1449 |
1452 GCC=yes | 1453 GCC=yes |
1453 ac_test_CFLAGS="${CFLAGS+set}" | 1454 ac_test_CFLAGS="${CFLAGS+set}" |
1454 ac_save_CFLAGS="$CFLAGS" | 1455 ac_save_CFLAGS="$CFLAGS" |
1455 CFLAGS= | 1456 CFLAGS= |
1456 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 | 1457 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 |
1457 echo "configure:1458: checking whether ${CC-cc} accepts -g" >&5 | 1458 echo "configure:1459: checking whether ${CC-cc} accepts -g" >&5 |
1458 | 1459 |
1459 echo 'void f(){}' > conftest.c | 1460 echo 'void f(){}' > conftest.c |
1460 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then | 1461 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then |
1461 ac_cv_prog_cc_g=yes | 1462 ac_cv_prog_cc_g=yes |
1462 else | 1463 else |
1482 if test "$with_gcc" = "no" -a "$ac_cv_prog_gcc" = "yes"; then | 1483 if test "$with_gcc" = "no" -a "$ac_cv_prog_gcc" = "yes"; then |
1483 CC=${NON_GNU_CC-cc} | 1484 CC=${NON_GNU_CC-cc} |
1484 # Extract the first word of "gcc", so it can be a program name with args. | 1485 # Extract the first word of "gcc", so it can be a program name with args. |
1485 set dummy gcc; ac_word=$2 | 1486 set dummy gcc; ac_word=$2 |
1486 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 1487 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
1487 echo "configure:1488: checking for $ac_word" >&5 | 1488 echo "configure:1489: checking for $ac_word" >&5 |
1488 | 1489 |
1489 if test -n "$CC"; then | 1490 if test -n "$CC"; then |
1490 ac_cv_prog_CC="$CC" # Let the user override the test. | 1491 ac_cv_prog_CC="$CC" # Let the user override the test. |
1491 else | 1492 else |
1492 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" | 1493 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" |
1508 | 1509 |
1509 if test -z "$CC"; then | 1510 if test -z "$CC"; then |
1510 # Extract the first word of "cc", so it can be a program name with args. | 1511 # Extract the first word of "cc", so it can be a program name with args. |
1511 set dummy cc; ac_word=$2 | 1512 set dummy cc; ac_word=$2 |
1512 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 1513 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
1513 echo "configure:1514: checking for $ac_word" >&5 | 1514 echo "configure:1515: checking for $ac_word" >&5 |
1514 | 1515 |
1515 if test -n "$CC"; then | 1516 if test -n "$CC"; then |
1516 ac_cv_prog_CC="$CC" # Let the user override the test. | 1517 ac_cv_prog_CC="$CC" # Let the user override the test. |
1517 else | 1518 else |
1518 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" | 1519 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" |
1553 | 1554 |
1554 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } | 1555 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } |
1555 fi | 1556 fi |
1556 | 1557 |
1557 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 | 1558 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 |
1558 echo "configure:1559: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 | 1559 echo "configure:1560: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 |
1559 | 1560 |
1560 ac_ext=c | 1561 ac_ext=c |
1561 xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS' | 1562 xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS' |
1562 xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_switch_x_site $ld_switch_run' | 1563 xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_switch_x_site $ld_switch_run' |
1563 xe_libs='$xe_check_libs $X_EXTRA_LIBS $libs_x $X_PRE_LIBS $LIBS $libs_machine $libs_system $libs_standard' | 1564 xe_libs='$xe_check_libs $X_EXTRA_LIBS $libs_x $X_PRE_LIBS $LIBS $libs_machine $libs_system $libs_standard' |
1565 ac_compile='${CC-cc} -c $CFLAGS '"$xe_cppflags"' conftest.$ac_ext 1>&5' | 1566 ac_compile='${CC-cc} -c $CFLAGS '"$xe_cppflags"' conftest.$ac_ext 1>&5' |
1566 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' | 1567 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' |
1567 cross_compiling=no | 1568 cross_compiling=no |
1568 | 1569 |
1569 cat > conftest.$ac_ext <<EOF | 1570 cat > conftest.$ac_ext <<EOF |
1570 #line 1571 "configure" | 1571 #line 1572 "configure" |
1571 #include "confdefs.h" | 1572 #include "confdefs.h" |
1572 main(){return(0);} | 1573 main(){return(0);} |
1573 EOF | 1574 EOF |
1574 if { (eval echo configure:1575: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 1575 if { (eval echo configure:1576: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
1575 ac_cv_prog_cc_works=yes | 1576 ac_cv_prog_cc_works=yes |
1576 # If we can't run a trivial program, we are probably using a cross compiler. | 1577 # If we can't run a trivial program, we are probably using a cross compiler. |
1577 if (./conftest; exit) 2>/dev/null; then | 1578 if (./conftest; exit) 2>/dev/null; then |
1578 ac_cv_prog_cc_cross=no | 1579 ac_cv_prog_cc_cross=no |
1579 else | 1580 else |
1589 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 | 1590 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 |
1590 if test $ac_cv_prog_cc_works = no; then | 1591 if test $ac_cv_prog_cc_works = no; then |
1591 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } | 1592 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } |
1592 fi | 1593 fi |
1593 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 | 1594 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 |
1594 echo "configure:1595: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 | 1595 echo "configure:1596: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 |
1595 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 | 1596 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 |
1596 cross_compiling=$ac_cv_prog_cc_cross | 1597 cross_compiling=$ac_cv_prog_cc_cross |
1597 | 1598 |
1598 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 | 1599 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 |
1599 echo "configure:1600: checking whether we are using GNU C" >&5 | 1600 echo "configure:1601: checking whether we are using GNU C" >&5 |
1600 | 1601 |
1601 cat > conftest.c <<EOF | 1602 cat > conftest.c <<EOF |
1602 #ifdef __GNUC__ | 1603 #ifdef __GNUC__ |
1603 yes; | 1604 yes; |
1604 #endif | 1605 #endif |
1605 EOF | 1606 EOF |
1606 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1607: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then | 1607 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1608: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then |
1607 ac_cv_prog_gcc=yes | 1608 ac_cv_prog_gcc=yes |
1608 else | 1609 else |
1609 ac_cv_prog_gcc=no | 1610 ac_cv_prog_gcc=no |
1610 fi | 1611 fi |
1611 | 1612 |
1615 GCC=yes | 1616 GCC=yes |
1616 ac_test_CFLAGS="${CFLAGS+set}" | 1617 ac_test_CFLAGS="${CFLAGS+set}" |
1617 ac_save_CFLAGS="$CFLAGS" | 1618 ac_save_CFLAGS="$CFLAGS" |
1618 CFLAGS= | 1619 CFLAGS= |
1619 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 | 1620 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 |
1620 echo "configure:1621: checking whether ${CC-cc} accepts -g" >&5 | 1621 echo "configure:1622: checking whether ${CC-cc} accepts -g" >&5 |
1621 | 1622 |
1622 echo 'void f(){}' > conftest.c | 1623 echo 'void f(){}' > conftest.c |
1623 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then | 1624 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then |
1624 ac_cv_prog_cc_g=yes | 1625 ac_cv_prog_cc_g=yes |
1625 else | 1626 else |
1644 elif test "$with_gcc" = "yes" -a "$ac_cv_prog_gcc" = "no" ; then | 1645 elif test "$with_gcc" = "yes" -a "$ac_cv_prog_gcc" = "no" ; then |
1645 CC=gcc | 1646 CC=gcc |
1646 # Extract the first word of "gcc", so it can be a program name with args. | 1647 # Extract the first word of "gcc", so it can be a program name with args. |
1647 set dummy gcc; ac_word=$2 | 1648 set dummy gcc; ac_word=$2 |
1648 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 1649 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
1649 echo "configure:1650: checking for $ac_word" >&5 | 1650 echo "configure:1651: checking for $ac_word" >&5 |
1650 | 1651 |
1651 if test -n "$CC"; then | 1652 if test -n "$CC"; then |
1652 ac_cv_prog_CC="$CC" # Let the user override the test. | 1653 ac_cv_prog_CC="$CC" # Let the user override the test. |
1653 else | 1654 else |
1654 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" | 1655 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" |
1670 | 1671 |
1671 if test -z "$CC"; then | 1672 if test -z "$CC"; then |
1672 # Extract the first word of "cc", so it can be a program name with args. | 1673 # Extract the first word of "cc", so it can be a program name with args. |
1673 set dummy cc; ac_word=$2 | 1674 set dummy cc; ac_word=$2 |
1674 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 1675 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
1675 echo "configure:1676: checking for $ac_word" >&5 | 1676 echo "configure:1677: checking for $ac_word" >&5 |
1676 | 1677 |
1677 if test -n "$CC"; then | 1678 if test -n "$CC"; then |
1678 ac_cv_prog_CC="$CC" # Let the user override the test. | 1679 ac_cv_prog_CC="$CC" # Let the user override the test. |
1679 else | 1680 else |
1680 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" | 1681 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" |
1715 | 1716 |
1716 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } | 1717 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } |
1717 fi | 1718 fi |
1718 | 1719 |
1719 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 | 1720 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 |
1720 echo "configure:1721: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 | 1721 echo "configure:1722: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 |
1721 | 1722 |
1722 ac_ext=c | 1723 ac_ext=c |
1723 xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS' | 1724 xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS' |
1724 xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_switch_x_site $ld_switch_run' | 1725 xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_switch_x_site $ld_switch_run' |
1725 xe_libs='$xe_check_libs $X_EXTRA_LIBS $libs_x $X_PRE_LIBS $LIBS $libs_machine $libs_system $libs_standard' | 1726 xe_libs='$xe_check_libs $X_EXTRA_LIBS $libs_x $X_PRE_LIBS $LIBS $libs_machine $libs_system $libs_standard' |
1727 ac_compile='${CC-cc} -c $CFLAGS '"$xe_cppflags"' conftest.$ac_ext 1>&5' | 1728 ac_compile='${CC-cc} -c $CFLAGS '"$xe_cppflags"' conftest.$ac_ext 1>&5' |
1728 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' | 1729 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' |
1729 cross_compiling=no | 1730 cross_compiling=no |
1730 | 1731 |
1731 cat > conftest.$ac_ext <<EOF | 1732 cat > conftest.$ac_ext <<EOF |
1732 #line 1733 "configure" | 1733 #line 1734 "configure" |
1733 #include "confdefs.h" | 1734 #include "confdefs.h" |
1734 main(){return(0);} | 1735 main(){return(0);} |
1735 EOF | 1736 EOF |
1736 if { (eval echo configure:1737: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 1737 if { (eval echo configure:1738: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
1737 ac_cv_prog_cc_works=yes | 1738 ac_cv_prog_cc_works=yes |
1738 # If we can't run a trivial program, we are probably using a cross compiler. | 1739 # If we can't run a trivial program, we are probably using a cross compiler. |
1739 if (./conftest; exit) 2>/dev/null; then | 1740 if (./conftest; exit) 2>/dev/null; then |
1740 ac_cv_prog_cc_cross=no | 1741 ac_cv_prog_cc_cross=no |
1741 else | 1742 else |
1751 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 | 1752 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 |
1752 if test $ac_cv_prog_cc_works = no; then | 1753 if test $ac_cv_prog_cc_works = no; then |
1753 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } | 1754 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } |
1754 fi | 1755 fi |
1755 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 | 1756 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 |
1756 echo "configure:1757: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 | 1757 echo "configure:1758: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 |
1757 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 | 1758 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 |
1758 cross_compiling=$ac_cv_prog_cc_cross | 1759 cross_compiling=$ac_cv_prog_cc_cross |
1759 | 1760 |
1760 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 | 1761 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 |
1761 echo "configure:1762: checking whether we are using GNU C" >&5 | 1762 echo "configure:1763: checking whether we are using GNU C" >&5 |
1762 | 1763 |
1763 cat > conftest.c <<EOF | 1764 cat > conftest.c <<EOF |
1764 #ifdef __GNUC__ | 1765 #ifdef __GNUC__ |
1765 yes; | 1766 yes; |
1766 #endif | 1767 #endif |
1767 EOF | 1768 EOF |
1768 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1769: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then | 1769 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1770: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then |
1769 ac_cv_prog_gcc=yes | 1770 ac_cv_prog_gcc=yes |
1770 else | 1771 else |
1771 ac_cv_prog_gcc=no | 1772 ac_cv_prog_gcc=no |
1772 fi | 1773 fi |
1773 | 1774 |
1777 GCC=yes | 1778 GCC=yes |
1778 ac_test_CFLAGS="${CFLAGS+set}" | 1779 ac_test_CFLAGS="${CFLAGS+set}" |
1779 ac_save_CFLAGS="$CFLAGS" | 1780 ac_save_CFLAGS="$CFLAGS" |
1780 CFLAGS= | 1781 CFLAGS= |
1781 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 | 1782 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 |
1782 echo "configure:1783: checking whether ${CC-cc} accepts -g" >&5 | 1783 echo "configure:1784: checking whether ${CC-cc} accepts -g" >&5 |
1783 | 1784 |
1784 echo 'void f(){}' > conftest.c | 1785 echo 'void f(){}' > conftest.c |
1785 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then | 1786 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then |
1786 ac_cv_prog_cc_g=yes | 1787 ac_cv_prog_cc_g=yes |
1787 else | 1788 else |
1807 | 1808 |
1808 if test "$GCC" = "yes"; then with_gcc=yes; else with_gcc=no; fi | 1809 if test "$GCC" = "yes"; then with_gcc=yes; else with_gcc=no; fi |
1809 test -n "$NON_GNU_CPP" -a "$with_gcc" = "no" -a -z "$CPP" && CPP="$NON_GNU_CPP" | 1810 test -n "$NON_GNU_CPP" -a "$with_gcc" = "no" -a -z "$CPP" && CPP="$NON_GNU_CPP" |
1810 | 1811 |
1811 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6 | 1812 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6 |
1812 echo "configure:1813: checking how to run the C preprocessor" >&5 | 1813 echo "configure:1814: checking how to run the C preprocessor" >&5 |
1813 # On Suns, sometimes $CPP names a directory. | 1814 # On Suns, sometimes $CPP names a directory. |
1814 if test -n "$CPP" && test -d "$CPP"; then | 1815 if test -n "$CPP" && test -d "$CPP"; then |
1815 CPP= | 1816 CPP= |
1816 fi | 1817 fi |
1817 if test -z "$CPP"; then | 1818 if test -z "$CPP"; then |
1820 # substituted into the Makefile and "${CC-cc}" will confuse make. | 1821 # substituted into the Makefile and "${CC-cc}" will confuse make. |
1821 CPP="${CC-cc} -E" | 1822 CPP="${CC-cc} -E" |
1822 # On the NeXT, cc -E runs the code through the compiler's parser, | 1823 # On the NeXT, cc -E runs the code through the compiler's parser, |
1823 # not just through cpp. | 1824 # not just through cpp. |
1824 cat > conftest.$ac_ext <<EOF | 1825 cat > conftest.$ac_ext <<EOF |
1825 #line 1826 "configure" | 1826 #line 1827 "configure" |
1826 #include "confdefs.h" | 1827 #include "confdefs.h" |
1827 #include <assert.h> | 1828 #include <assert.h> |
1828 Syntax Error | 1829 Syntax Error |
1829 EOF | 1830 EOF |
1830 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 1831 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
1831 { (eval echo configure:1832: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 1832 { (eval echo configure:1833: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
1832 ac_err=`grep -v '^ *+' conftest.out` | 1833 ac_err=`grep -v '^ *+' conftest.out` |
1833 if test -z "$ac_err"; then | 1834 if test -z "$ac_err"; then |
1834 : | 1835 : |
1835 else | 1836 else |
1836 echo "$ac_err" >&5 | 1837 echo "$ac_err" >&5 |
1837 echo "configure: failed program was:" >&5 | 1838 echo "configure: failed program was:" >&5 |
1838 cat conftest.$ac_ext >&5 | 1839 cat conftest.$ac_ext >&5 |
1839 rm -rf conftest* | 1840 rm -rf conftest* |
1840 CPP="${CC-cc} -E -traditional-cpp" | 1841 CPP="${CC-cc} -E -traditional-cpp" |
1841 cat > conftest.$ac_ext <<EOF | 1842 cat > conftest.$ac_ext <<EOF |
1842 #line 1843 "configure" | 1843 #line 1844 "configure" |
1843 #include "confdefs.h" | 1844 #include "confdefs.h" |
1844 #include <assert.h> | 1845 #include <assert.h> |
1845 Syntax Error | 1846 Syntax Error |
1846 EOF | 1847 EOF |
1847 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 1848 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
1848 { (eval echo configure:1849: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 1849 { (eval echo configure:1850: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
1849 ac_err=`grep -v '^ *+' conftest.out` | 1850 ac_err=`grep -v '^ *+' conftest.out` |
1850 if test -z "$ac_err"; then | 1851 if test -z "$ac_err"; then |
1851 : | 1852 : |
1852 else | 1853 else |
1853 echo "$ac_err" >&5 | 1854 echo "$ac_err" >&5 |
2005 | 2006 |
2006 #endif /* not THIS_IS_CONFIGURE */ | 2007 #endif /* not THIS_IS_CONFIGURE */ |
2007 ' > $tempcname | 2008 ' > $tempcname |
2008 CPP=`eval "echo $CPP"` | 2009 CPP=`eval "echo $CPP"` |
2009 eval `$CPP -Isrc $tempcname \ | 2010 eval `$CPP -Isrc $tempcname \ |
2010 | grep 'configure___' \ | 2011 | sed -n -e "s/ *= */='/" -e "s/ *\$/'/" -e "s/^configure___//p"` |
2011 | sed -n -e 's/^configure___ \([^= ]* *=\)\(.*\)$/\1\`echo \2\`/p'` | |
2012 if test -z "$SPECIFIED_CFLAGS"; then | 2012 if test -z "$SPECIFIED_CFLAGS"; then |
2013 eval `$CPP -Isrc -DTHIS_IS_CONFIGURE $tempcname \ | 2013 eval `$CPP -Isrc -DTHIS_IS_CONFIGURE $tempcname \ |
2014 | grep 'configure___' \ | 2014 | sed -n -e "s/ *= */='/" -e "s/ *\$/'/" -e "s/^configure___//p"` |
2015 | sed -n -e 's/^configure___ \([^= ]* *=\)\(.*\)$/\1\`echo \2\`/p'` | |
2016 else | 2015 else |
2017 REAL_CFLAGS="$CFLAGS" | 2016 REAL_CFLAGS="$CFLAGS" |
2018 fi | 2017 fi |
2019 | 2018 |
2020 rm $tempcname | 2019 rm $tempcname |
2060 esac | 2059 esac |
2061 fi | 2060 fi |
2062 | 2061 |
2063 if test "$add_runtime_path" = "yes"; then | 2062 if test "$add_runtime_path" = "yes"; then |
2064 echo $ac_n "checking "for runtime libraries flag"""... $ac_c" 1>&6 | 2063 echo $ac_n "checking "for runtime libraries flag"""... $ac_c" 1>&6 |
2065 echo "configure:2066: checking "for runtime libraries flag"" >&5 | 2064 echo "configure:2065: checking "for runtime libraries flag"" >&5 |
2066 dash_r="" | 2065 dash_r="" |
2067 for try_dash_r in "-R" "-R " "-rpath "; do | 2066 for try_dash_r in "-R" "-R " "-rpath "; do |
2068 xe_check_libs="${try_dash_r}/no/such/file-or-directory" | 2067 xe_check_libs="${try_dash_r}/no/such/file-or-directory" |
2069 cat > conftest.$ac_ext <<EOF | 2068 cat > conftest.$ac_ext <<EOF |
2070 #line 2071 "configure" | 2069 #line 2070 "configure" |
2071 #include "confdefs.h" | 2070 #include "confdefs.h" |
2072 | 2071 |
2073 int main() { | 2072 int main() { |
2074 | 2073 |
2075 ; return 0; } | 2074 ; return 0; } |
2076 EOF | 2075 EOF |
2077 if { (eval echo configure:2078: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 2076 if { (eval echo configure:2077: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
2078 rm -rf conftest* | 2077 rm -rf conftest* |
2079 dash_r="$try_dash_r" | 2078 dash_r="$try_dash_r" |
2080 else | 2079 else |
2081 echo "configure: failed program was:" >&5 | 2080 echo "configure: failed program was:" >&5 |
2082 cat conftest.$ac_ext >&5 | 2081 cat conftest.$ac_ext >&5 |
2090 else echo "$ac_t""NONE" 1>&6 | 2089 else echo "$ac_t""NONE" 1>&6 |
2091 fi | 2090 fi |
2092 fi | 2091 fi |
2093 | 2092 |
2094 | 2093 |
2094 | |
2095 if test "$add_runtime_path" = "yes" -a -n "$dash_r"; then | 2095 if test "$add_runtime_path" = "yes" -a -n "$dash_r"; then |
2096 ld_switch_site="`echo $ld_switch_site | sed \"s/${dash_r}[^ ]*//\"`" | 2096 ld_switch_site="`echo $ld_switch_site | sed \"s/${dash_r}[^ ]*//\"`" |
2097 ld_switch_x_site="`echo $ld_switch_x_site | sed \"s/${dash_r}[^ ]*//\"`" | 2097 ld_switch_x_site="`echo $ld_switch_x_site | sed \"s/${dash_r}[^ ]*//\"`" |
2098 | 2098 |
2099 if test -n "$LD_RUN_PATH"; then | 2099 runpath="" |
2100 if test -n "$LD_RUN_PATH"; then | |
2100 runpath="$LD_RUN_PATH" | 2101 runpath="$LD_RUN_PATH" |
2102 elif test "$GCC" = "yes"; then | |
2103 echo "int main(int argc, char *argv[]) {return 0;}" > conftest.c | |
2104 xe_runpath_link='${CC-cc} -o conftest -v $CFLAGS '"$xe_ldflags"' conftest.$ac_ext 2>&1 1>/dev/null' | |
2105 for arg in `eval "$xe_runpath_link" | grep ' -L'`; do | |
2106 case "$arg" in P,* | -L* | -R* ) | |
2107 for dir in `echo "$arg" | sed -e 's/^..//' -e 'y/:/ /'`; do | |
2108 | |
2109 xe_runpath_dir="$dir" | |
2110 if test "$xe_runpath_dir" != "/lib" -a \ | |
2111 "$xe_runpath_dir" != "/usr/lib" -a \ | |
2112 -n "`ls ${xe_runpath_dir}/*.s[ol] 2>/dev/null`"; then | |
2113 test -n "$runpath" && runpath="${runpath}:" | |
2114 runpath="${runpath}${xe_runpath_dir}" | |
2115 fi | |
2116 | |
2117 done ;; | |
2118 esac | |
2119 done | |
2120 rm -f conftest* | |
2101 else | 2121 else |
2102 runpath="" | 2122 for arg in $ld_switch_site $ld_switch_x_site; do |
2103 for arg in $ld_switch_site $ld_switch_x_site; do | 2123 case "$arg" in -L*) |
2104 case "$arg" in -L* ) | 2124 xe_runpath_dir=`echo "$arg" | sed 's/^-L//'` |
2105 dir=`echo "$arg" | sed 's/^-L//'` | 2125 if test "$xe_runpath_dir" != "/lib" -a \ |
2106 if test -n "`ls ${dir}/*.s[ol] 2>/dev/null`"; then | 2126 "$xe_runpath_dir" != "/usr/lib" -a \ |
2107 test -n "$runpath" && runpath="${runpath}:" | 2127 -n "`ls ${xe_runpath_dir}/*.s[ol] 2>/dev/null`"; then |
2108 runpath="${runpath}${dir}" | 2128 test -n "$runpath" && runpath="${runpath}:" |
2109 fi | 2129 runpath="${runpath}${xe_runpath_dir}" |
2110 ;; | 2130 fi |
2111 esac | 2131 ;; esac |
2112 done | 2132 done |
2113 case "$canonical" in *-solaris2.[1-4]* ) | 2133 case "$canonical" in *-solaris2.[1-4]* ) |
2114 test "$need_motif" = "yes" && runpath="${runpath}:/opt/SUNWdt/lib" ;; | 2134 test "$need_motif" = "yes" && runpath="${runpath}:/opt/SUNWdt/lib" ;; |
2115 esac | 2135 esac |
2116 fi | 2136 fi |
2117 | |
2118 if test -n "$runpath"; then | 2137 if test -n "$runpath"; then |
2119 ld_switch_run="${dash_r}${runpath}" | 2138 ld_switch_run="${dash_r}${runpath}" |
2120 test "$extra_verbose" = "yes" && echo "Setting runpath to $runpath" | 2139 test "$extra_verbose" = "yes" && echo "Setting runpath to $runpath" |
2121 fi | 2140 fi |
2122 fi | 2141 fi |
2136 | 2155 |
2137 | 2156 |
2138 # Extract the first word of "ranlib", so it can be a program name with args. | 2157 # Extract the first word of "ranlib", so it can be a program name with args. |
2139 set dummy ranlib; ac_word=$2 | 2158 set dummy ranlib; ac_word=$2 |
2140 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 2159 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
2141 echo "configure:2142: checking for $ac_word" >&5 | 2160 echo "configure:2161: checking for $ac_word" >&5 |
2142 | 2161 |
2143 if test -n "$RANLIB"; then | 2162 if test -n "$RANLIB"; then |
2144 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. | 2163 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. |
2145 else | 2164 else |
2146 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" | 2165 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" |
2189 # AIX /bin/install | 2208 # AIX /bin/install |
2190 # AFS /usr/afsws/bin/install, which mishandles nonexistent args | 2209 # AFS /usr/afsws/bin/install, which mishandles nonexistent args |
2191 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" | 2210 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" |
2192 # ./install, which can be erroneously created by make from ./install.sh. | 2211 # ./install, which can be erroneously created by make from ./install.sh. |
2193 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 | 2212 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 |
2194 echo "configure:2195: checking for a BSD compatible install" >&5 | 2213 echo "configure:2214: checking for a BSD compatible install" >&5 |
2195 if test -z "$INSTALL"; then | 2214 if test -z "$INSTALL"; then |
2196 | 2215 |
2197 IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS="${IFS}:" | 2216 IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS="${IFS}:" |
2198 for ac_dir in $PATH; do | 2217 for ac_dir in $PATH; do |
2199 # Account for people who put trailing slashes in PATH elements. | 2218 # Account for people who put trailing slashes in PATH elements. |
2240 for ac_prog in 'bison -y' byacc | 2259 for ac_prog in 'bison -y' byacc |
2241 do | 2260 do |
2242 # Extract the first word of "$ac_prog", so it can be a program name with args. | 2261 # Extract the first word of "$ac_prog", so it can be a program name with args. |
2243 set dummy $ac_prog; ac_word=$2 | 2262 set dummy $ac_prog; ac_word=$2 |
2244 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 2263 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
2245 echo "configure:2246: checking for $ac_word" >&5 | 2264 echo "configure:2265: checking for $ac_word" >&5 |
2246 | 2265 |
2247 if test -n "$YACC"; then | 2266 if test -n "$YACC"; then |
2248 ac_cv_prog_YACC="$YACC" # Let the user override the test. | 2267 ac_cv_prog_YACC="$YACC" # Let the user override the test. |
2249 else | 2268 else |
2250 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" | 2269 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" |
2268 done | 2287 done |
2269 test -n "$YACC" || YACC="yacc" | 2288 test -n "$YACC" || YACC="yacc" |
2270 | 2289 |
2271 | 2290 |
2272 echo $ac_n "checking for AIX""... $ac_c" 1>&6 | 2291 echo $ac_n "checking for AIX""... $ac_c" 1>&6 |
2273 echo "configure:2274: checking for AIX" >&5 | 2292 echo "configure:2293: checking for AIX" >&5 |
2274 cat > conftest.$ac_ext <<EOF | 2293 cat > conftest.$ac_ext <<EOF |
2275 #line 2276 "configure" | 2294 #line 2295 "configure" |
2276 #include "confdefs.h" | 2295 #include "confdefs.h" |
2277 #ifdef _AIX | 2296 #ifdef _AIX |
2278 yes | 2297 yes |
2279 #endif | 2298 #endif |
2280 | 2299 |
2300 | 2319 |
2301 for ac_hdr in mach/mach.h sys/stropts.h sys/timeb.h sys/time.h unistd.h | 2320 for ac_hdr in mach/mach.h sys/stropts.h sys/timeb.h sys/time.h unistd.h |
2302 do | 2321 do |
2303 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 2322 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
2304 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 2323 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
2305 echo "configure:2306: checking for $ac_hdr" >&5 | 2324 echo "configure:2325: checking for $ac_hdr" >&5 |
2306 | 2325 |
2307 cat > conftest.$ac_ext <<EOF | 2326 cat > conftest.$ac_ext <<EOF |
2308 #line 2309 "configure" | 2327 #line 2328 "configure" |
2309 #include "confdefs.h" | 2328 #include "confdefs.h" |
2310 #include <$ac_hdr> | 2329 #include <$ac_hdr> |
2311 EOF | 2330 EOF |
2312 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 2331 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
2313 { (eval echo configure:2314: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 2332 { (eval echo configure:2333: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
2314 ac_err=`grep -v '^ *+' conftest.out` | 2333 ac_err=`grep -v '^ *+' conftest.out` |
2315 if test -z "$ac_err"; then | 2334 if test -z "$ac_err"; then |
2316 rm -rf conftest* | 2335 rm -rf conftest* |
2317 eval "ac_cv_header_$ac_safe=yes" | 2336 eval "ac_cv_header_$ac_safe=yes" |
2318 else | 2337 else |
2337 else | 2356 else |
2338 echo "$ac_t""no" 1>&6 | 2357 echo "$ac_t""no" 1>&6 |
2339 fi | 2358 fi |
2340 done | 2359 done |
2341 | 2360 |
2342 for ac_hdr in utime.h sys/wait.h libintl.h locale.h libgen.h | 2361 for ac_hdr in utime.h locale.h libgen.h |
2343 do | 2362 do |
2344 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 2363 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
2345 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 2364 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
2346 echo "configure:2347: checking for $ac_hdr" >&5 | 2365 echo "configure:2366: checking for $ac_hdr" >&5 |
2347 | 2366 |
2348 cat > conftest.$ac_ext <<EOF | 2367 cat > conftest.$ac_ext <<EOF |
2349 #line 2350 "configure" | 2368 #line 2369 "configure" |
2350 #include "confdefs.h" | 2369 #include "confdefs.h" |
2351 #include <$ac_hdr> | 2370 #include <$ac_hdr> |
2352 EOF | 2371 EOF |
2353 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 2372 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
2354 { (eval echo configure:2355: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 2373 { (eval echo configure:2374: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
2355 ac_err=`grep -v '^ *+' conftest.out` | 2374 ac_err=`grep -v '^ *+' conftest.out` |
2356 if test -z "$ac_err"; then | 2375 if test -z "$ac_err"; then |
2357 rm -rf conftest* | 2376 rm -rf conftest* |
2358 eval "ac_cv_header_$ac_safe=yes" | 2377 eval "ac_cv_header_$ac_safe=yes" |
2359 else | 2378 else |
2382 | 2401 |
2383 for ac_hdr in linux/version.h kstat.h sys/pstat.h inttypes.h | 2402 for ac_hdr in linux/version.h kstat.h sys/pstat.h inttypes.h |
2384 do | 2403 do |
2385 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 2404 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
2386 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 2405 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
2387 echo "configure:2388: checking for $ac_hdr" >&5 | 2406 echo "configure:2407: checking for $ac_hdr" >&5 |
2388 | 2407 |
2389 cat > conftest.$ac_ext <<EOF | 2408 cat > conftest.$ac_ext <<EOF |
2390 #line 2391 "configure" | 2409 #line 2410 "configure" |
2391 #include "confdefs.h" | 2410 #include "confdefs.h" |
2392 #include <$ac_hdr> | 2411 #include <$ac_hdr> |
2393 EOF | 2412 EOF |
2394 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 2413 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
2395 { (eval echo configure:2396: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 2414 { (eval echo configure:2415: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
2396 ac_err=`grep -v '^ *+' conftest.out` | 2415 ac_err=`grep -v '^ *+' conftest.out` |
2397 if test -z "$ac_err"; then | 2416 if test -z "$ac_err"; then |
2398 rm -rf conftest* | 2417 rm -rf conftest* |
2399 eval "ac_cv_header_$ac_safe=yes" | 2418 eval "ac_cv_header_$ac_safe=yes" |
2400 else | 2419 else |
2419 else | 2438 else |
2420 echo "$ac_t""no" 1>&6 | 2439 echo "$ac_t""no" 1>&6 |
2421 fi | 2440 fi |
2422 done | 2441 done |
2423 | 2442 |
2443 echo $ac_n "checking for sys/wait.h that is POSIX.1 compatible""... $ac_c" 1>&6 | |
2444 echo "configure:2445: checking for sys/wait.h that is POSIX.1 compatible" >&5 | |
2445 | |
2446 cat > conftest.$ac_ext <<EOF | |
2447 #line 2448 "configure" | |
2448 #include "confdefs.h" | |
2449 #include <sys/types.h> | |
2450 #include <sys/wait.h> | |
2451 #ifndef WEXITSTATUS | |
2452 #define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8) | |
2453 #endif | |
2454 #ifndef WIFEXITED | |
2455 #define WIFEXITED(stat_val) (((stat_val) & 255) == 0) | |
2456 #endif | |
2457 int main() { | |
2458 int s; | |
2459 wait (&s); | |
2460 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1; | |
2461 ; return 0; } | |
2462 EOF | |
2463 if { (eval echo configure:2464: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | |
2464 rm -rf conftest* | |
2465 ac_cv_header_sys_wait_h=yes | |
2466 else | |
2467 echo "configure: failed program was:" >&5 | |
2468 cat conftest.$ac_ext >&5 | |
2469 rm -rf conftest* | |
2470 ac_cv_header_sys_wait_h=no | |
2471 fi | |
2472 rm -f conftest* | |
2473 | |
2474 echo "$ac_t""$ac_cv_header_sys_wait_h" 1>&6 | |
2475 if test $ac_cv_header_sys_wait_h = yes; then | |
2476 { test "$extra_verbose" = "yes" && cat << \EOF | |
2477 Defining HAVE_SYS_WAIT_H | |
2478 EOF | |
2479 cat >> confdefs.h <<\EOF | |
2480 #define HAVE_SYS_WAIT_H 1 | |
2481 EOF | |
2482 } | |
2483 | |
2484 fi | |
2485 | |
2424 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6 | 2486 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6 |
2425 echo "configure:2426: checking for ANSI C header files" >&5 | 2487 echo "configure:2488: checking for ANSI C header files" >&5 |
2426 | 2488 |
2427 cat > conftest.$ac_ext <<EOF | 2489 cat > conftest.$ac_ext <<EOF |
2428 #line 2429 "configure" | 2490 #line 2491 "configure" |
2429 #include "confdefs.h" | 2491 #include "confdefs.h" |
2430 #include <stdlib.h> | 2492 #include <stdlib.h> |
2431 #include <stdarg.h> | 2493 #include <stdarg.h> |
2432 #include <string.h> | 2494 #include <string.h> |
2433 #include <float.h> | 2495 #include <float.h> |
2434 EOF | 2496 EOF |
2435 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 2497 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
2436 { (eval echo configure:2437: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 2498 { (eval echo configure:2499: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
2437 ac_err=`grep -v '^ *+' conftest.out` | 2499 ac_err=`grep -v '^ *+' conftest.out` |
2438 if test -z "$ac_err"; then | 2500 if test -z "$ac_err"; then |
2439 rm -rf conftest* | 2501 rm -rf conftest* |
2440 ac_cv_header_stdc=yes | 2502 ac_cv_header_stdc=yes |
2441 else | 2503 else |
2448 rm -f conftest* | 2510 rm -f conftest* |
2449 | 2511 |
2450 if test $ac_cv_header_stdc = yes; then | 2512 if test $ac_cv_header_stdc = yes; then |
2451 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. | 2513 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. |
2452 cat > conftest.$ac_ext <<EOF | 2514 cat > conftest.$ac_ext <<EOF |
2453 #line 2454 "configure" | 2515 #line 2516 "configure" |
2454 #include "confdefs.h" | 2516 #include "confdefs.h" |
2455 #include <string.h> | 2517 #include <string.h> |
2456 EOF | 2518 EOF |
2457 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 2519 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
2458 egrep "memchr" >/dev/null 2>&1; then | 2520 egrep "memchr" >/dev/null 2>&1; then |
2466 fi | 2528 fi |
2467 | 2529 |
2468 if test $ac_cv_header_stdc = yes; then | 2530 if test $ac_cv_header_stdc = yes; then |
2469 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. | 2531 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. |
2470 cat > conftest.$ac_ext <<EOF | 2532 cat > conftest.$ac_ext <<EOF |
2471 #line 2472 "configure" | 2533 #line 2534 "configure" |
2472 #include "confdefs.h" | 2534 #include "confdefs.h" |
2473 #include <stdlib.h> | 2535 #include <stdlib.h> |
2474 EOF | 2536 EOF |
2475 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 2537 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
2476 egrep "free" >/dev/null 2>&1; then | 2538 egrep "free" >/dev/null 2>&1; then |
2484 fi | 2546 fi |
2485 | 2547 |
2486 if test $ac_cv_header_stdc = yes; then | 2548 if test $ac_cv_header_stdc = yes; then |
2487 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. | 2549 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. |
2488 cat > conftest.$ac_ext <<EOF | 2550 cat > conftest.$ac_ext <<EOF |
2489 #line 2490 "configure" | 2551 #line 2552 "configure" |
2490 #include "confdefs.h" | 2552 #include "confdefs.h" |
2491 #include <ctype.h> | 2553 #include <ctype.h> |
2492 #define ISLOWER(c) ('a' <= (c) && (c) <= 'z') | 2554 #define ISLOWER(c) ('a' <= (c) && (c) <= 'z') |
2493 #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) | 2555 #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) |
2494 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) | 2556 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) |
2495 int main () { int i; for (i = 0; i < 256; i++) | 2557 int main () { int i; for (i = 0; i < 256; i++) |
2496 if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2); | 2558 if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2); |
2497 exit (0); } | 2559 exit (0); } |
2498 | 2560 |
2499 EOF | 2561 EOF |
2500 if { (eval echo configure:2501: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 | 2562 if { (eval echo configure:2563: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 |
2501 then | 2563 then |
2502 : | 2564 : |
2503 else | 2565 else |
2504 echo "configure: failed program was:" >&5 | 2566 echo "configure: failed program was:" >&5 |
2505 cat conftest.$ac_ext >&5 | 2567 cat conftest.$ac_ext >&5 |
2520 } | 2582 } |
2521 | 2583 |
2522 fi | 2584 fi |
2523 | 2585 |
2524 echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6 | 2586 echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6 |
2525 echo "configure:2526: checking whether time.h and sys/time.h may both be included" >&5 | 2587 echo "configure:2588: checking whether time.h and sys/time.h may both be included" >&5 |
2526 | 2588 |
2527 cat > conftest.$ac_ext <<EOF | 2589 cat > conftest.$ac_ext <<EOF |
2528 #line 2529 "configure" | 2590 #line 2591 "configure" |
2529 #include "confdefs.h" | 2591 #include "confdefs.h" |
2530 #include <sys/types.h> | 2592 #include <sys/types.h> |
2531 #include <sys/time.h> | 2593 #include <sys/time.h> |
2532 #include <time.h> | 2594 #include <time.h> |
2533 int main() { | 2595 int main() { |
2534 struct tm *tp; | 2596 struct tm *tp; |
2535 ; return 0; } | 2597 ; return 0; } |
2536 EOF | 2598 EOF |
2537 if { (eval echo configure:2538: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 2599 if { (eval echo configure:2600: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
2538 rm -rf conftest* | 2600 rm -rf conftest* |
2539 ac_cv_header_time=yes | 2601 ac_cv_header_time=yes |
2540 else | 2602 else |
2541 echo "configure: failed program was:" >&5 | 2603 echo "configure: failed program was:" >&5 |
2542 cat conftest.$ac_ext >&5 | 2604 cat conftest.$ac_ext >&5 |
2556 } | 2618 } |
2557 | 2619 |
2558 fi | 2620 fi |
2559 | 2621 |
2560 echo $ac_n "checking for sys_siglist declaration in signal.h or unistd.h""... $ac_c" 1>&6 | 2622 echo $ac_n "checking for sys_siglist declaration in signal.h or unistd.h""... $ac_c" 1>&6 |
2561 echo "configure:2562: checking for sys_siglist declaration in signal.h or unistd.h" >&5 | 2623 echo "configure:2624: checking for sys_siglist declaration in signal.h or unistd.h" >&5 |
2562 | 2624 |
2563 cat > conftest.$ac_ext <<EOF | 2625 cat > conftest.$ac_ext <<EOF |
2564 #line 2565 "configure" | 2626 #line 2627 "configure" |
2565 #include "confdefs.h" | 2627 #include "confdefs.h" |
2566 #include <sys/types.h> | 2628 #include <sys/types.h> |
2567 #include <signal.h> | 2629 #include <signal.h> |
2568 /* NetBSD declares sys_siglist in unistd.h. */ | 2630 /* NetBSD declares sys_siglist in unistd.h. */ |
2569 #ifdef HAVE_UNISTD_H | 2631 #ifdef HAVE_UNISTD_H |
2571 #endif | 2633 #endif |
2572 int main() { | 2634 int main() { |
2573 char *msg = *(sys_siglist + 1); | 2635 char *msg = *(sys_siglist + 1); |
2574 ; return 0; } | 2636 ; return 0; } |
2575 EOF | 2637 EOF |
2576 if { (eval echo configure:2577: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 2638 if { (eval echo configure:2639: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
2577 rm -rf conftest* | 2639 rm -rf conftest* |
2578 ac_cv_decl_sys_siglist=yes | 2640 ac_cv_decl_sys_siglist=yes |
2579 else | 2641 else |
2580 echo "configure: failed program was:" >&5 | 2642 echo "configure: failed program was:" >&5 |
2581 cat conftest.$ac_ext >&5 | 2643 cat conftest.$ac_ext >&5 |
2596 | 2658 |
2597 fi | 2659 fi |
2598 | 2660 |
2599 | 2661 |
2600 echo $ac_n "checking for struct utimbuf""... $ac_c" 1>&6 | 2662 echo $ac_n "checking for struct utimbuf""... $ac_c" 1>&6 |
2601 echo "configure:2602: checking for struct utimbuf" >&5 | 2663 echo "configure:2664: checking for struct utimbuf" >&5 |
2602 cat > conftest.$ac_ext <<EOF | 2664 cat > conftest.$ac_ext <<EOF |
2603 #line 2604 "configure" | 2665 #line 2666 "configure" |
2604 #include "confdefs.h" | 2666 #include "confdefs.h" |
2605 #ifdef TIME_WITH_SYS_TIME | 2667 #ifdef TIME_WITH_SYS_TIME |
2606 #include <sys/time.h> | 2668 #include <sys/time.h> |
2607 #include <time.h> | 2669 #include <time.h> |
2608 #else | 2670 #else |
2617 #endif | 2679 #endif |
2618 int main() { | 2680 int main() { |
2619 static struct utimbuf x; x.actime = x.modtime; | 2681 static struct utimbuf x; x.actime = x.modtime; |
2620 ; return 0; } | 2682 ; return 0; } |
2621 EOF | 2683 EOF |
2622 if { (eval echo configure:2623: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 2684 if { (eval echo configure:2685: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
2623 rm -rf conftest* | 2685 rm -rf conftest* |
2624 echo "$ac_t""yes" 1>&6 | 2686 echo "$ac_t""yes" 1>&6 |
2625 { test "$extra_verbose" = "yes" && cat << \EOF | 2687 { test "$extra_verbose" = "yes" && cat << \EOF |
2626 Defining HAVE_STRUCT_UTIMBUF | 2688 Defining HAVE_STRUCT_UTIMBUF |
2627 EOF | 2689 EOF |
2637 echo "$ac_t""no" 1>&6 | 2699 echo "$ac_t""no" 1>&6 |
2638 fi | 2700 fi |
2639 rm -f conftest* | 2701 rm -f conftest* |
2640 | 2702 |
2641 echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6 | 2703 echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6 |
2642 echo "configure:2643: checking return type of signal handlers" >&5 | 2704 echo "configure:2705: checking return type of signal handlers" >&5 |
2643 | 2705 |
2644 cat > conftest.$ac_ext <<EOF | 2706 cat > conftest.$ac_ext <<EOF |
2645 #line 2646 "configure" | 2707 #line 2708 "configure" |
2646 #include "confdefs.h" | 2708 #include "confdefs.h" |
2647 #include <sys/types.h> | 2709 #include <sys/types.h> |
2648 #include <signal.h> | 2710 #include <signal.h> |
2649 #ifdef signal | 2711 #ifdef signal |
2650 #undef signal | 2712 #undef signal |
2657 | 2719 |
2658 int main() { | 2720 int main() { |
2659 int i; | 2721 int i; |
2660 ; return 0; } | 2722 ; return 0; } |
2661 EOF | 2723 EOF |
2662 if { (eval echo configure:2663: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 2724 if { (eval echo configure:2725: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
2663 rm -rf conftest* | 2725 rm -rf conftest* |
2664 ac_cv_type_signal=void | 2726 ac_cv_type_signal=void |
2665 else | 2727 else |
2666 echo "configure: failed program was:" >&5 | 2728 echo "configure: failed program was:" >&5 |
2667 cat conftest.$ac_ext >&5 | 2729 cat conftest.$ac_ext >&5 |
2680 } | 2742 } |
2681 | 2743 |
2682 | 2744 |
2683 | 2745 |
2684 echo $ac_n "checking for struct timeval""... $ac_c" 1>&6 | 2746 echo $ac_n "checking for struct timeval""... $ac_c" 1>&6 |
2685 echo "configure:2686: checking for struct timeval" >&5 | 2747 echo "configure:2748: checking for struct timeval" >&5 |
2686 cat > conftest.$ac_ext <<EOF | 2748 cat > conftest.$ac_ext <<EOF |
2687 #line 2688 "configure" | 2749 #line 2750 "configure" |
2688 #include "confdefs.h" | 2750 #include "confdefs.h" |
2689 #ifdef TIME_WITH_SYS_TIME | 2751 #ifdef TIME_WITH_SYS_TIME |
2690 #include <sys/time.h> | 2752 #include <sys/time.h> |
2691 #include <time.h> | 2753 #include <time.h> |
2692 #else | 2754 #else |
2698 #endif | 2760 #endif |
2699 int main() { | 2761 int main() { |
2700 static struct timeval x; x.tv_sec = x.tv_usec; | 2762 static struct timeval x; x.tv_sec = x.tv_usec; |
2701 ; return 0; } | 2763 ; return 0; } |
2702 EOF | 2764 EOF |
2703 if { (eval echo configure:2704: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 2765 if { (eval echo configure:2766: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
2704 rm -rf conftest* | 2766 rm -rf conftest* |
2705 echo "$ac_t""yes" 1>&6 | 2767 echo "$ac_t""yes" 1>&6 |
2706 HAVE_TIMEVAL=yes | 2768 HAVE_TIMEVAL=yes |
2707 { test "$extra_verbose" = "yes" && cat << \EOF | 2769 { test "$extra_verbose" = "yes" && cat << \EOF |
2708 Defining HAVE_TIMEVAL | 2770 Defining HAVE_TIMEVAL |
2720 HAVE_TIMEVAL=no | 2782 HAVE_TIMEVAL=no |
2721 fi | 2783 fi |
2722 rm -f conftest* | 2784 rm -f conftest* |
2723 | 2785 |
2724 echo $ac_n "checking whether struct tm is in sys/time.h or time.h""... $ac_c" 1>&6 | 2786 echo $ac_n "checking whether struct tm is in sys/time.h or time.h""... $ac_c" 1>&6 |
2725 echo "configure:2726: checking whether struct tm is in sys/time.h or time.h" >&5 | 2787 echo "configure:2788: checking whether struct tm is in sys/time.h or time.h" >&5 |
2726 | 2788 |
2727 cat > conftest.$ac_ext <<EOF | 2789 cat > conftest.$ac_ext <<EOF |
2728 #line 2729 "configure" | 2790 #line 2791 "configure" |
2729 #include "confdefs.h" | 2791 #include "confdefs.h" |
2730 #include <sys/types.h> | 2792 #include <sys/types.h> |
2731 #include <time.h> | 2793 #include <time.h> |
2732 int main() { | 2794 int main() { |
2733 struct tm *tp; tp->tm_sec; | 2795 struct tm *tp; tp->tm_sec; |
2734 ; return 0; } | 2796 ; return 0; } |
2735 EOF | 2797 EOF |
2736 if { (eval echo configure:2737: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 2798 if { (eval echo configure:2799: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
2737 rm -rf conftest* | 2799 rm -rf conftest* |
2738 ac_cv_struct_tm=time.h | 2800 ac_cv_struct_tm=time.h |
2739 else | 2801 else |
2740 echo "configure: failed program was:" >&5 | 2802 echo "configure: failed program was:" >&5 |
2741 cat conftest.$ac_ext >&5 | 2803 cat conftest.$ac_ext >&5 |
2755 } | 2817 } |
2756 | 2818 |
2757 fi | 2819 fi |
2758 | 2820 |
2759 echo $ac_n "checking for tm_zone in struct tm""... $ac_c" 1>&6 | 2821 echo $ac_n "checking for tm_zone in struct tm""... $ac_c" 1>&6 |
2760 echo "configure:2761: checking for tm_zone in struct tm" >&5 | 2822 echo "configure:2823: checking for tm_zone in struct tm" >&5 |
2761 | 2823 |
2762 cat > conftest.$ac_ext <<EOF | 2824 cat > conftest.$ac_ext <<EOF |
2763 #line 2764 "configure" | 2825 #line 2826 "configure" |
2764 #include "confdefs.h" | 2826 #include "confdefs.h" |
2765 #include <sys/types.h> | 2827 #include <sys/types.h> |
2766 #include <$ac_cv_struct_tm> | 2828 #include <$ac_cv_struct_tm> |
2767 int main() { | 2829 int main() { |
2768 struct tm tm; tm.tm_zone; | 2830 struct tm tm; tm.tm_zone; |
2769 ; return 0; } | 2831 ; return 0; } |
2770 EOF | 2832 EOF |
2771 if { (eval echo configure:2772: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 2833 if { (eval echo configure:2834: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
2772 rm -rf conftest* | 2834 rm -rf conftest* |
2773 ac_cv_struct_tm_zone=yes | 2835 ac_cv_struct_tm_zone=yes |
2774 else | 2836 else |
2775 echo "configure: failed program was:" >&5 | 2837 echo "configure: failed program was:" >&5 |
2776 cat conftest.$ac_ext >&5 | 2838 cat conftest.$ac_ext >&5 |
2789 EOF | 2851 EOF |
2790 } | 2852 } |
2791 | 2853 |
2792 else | 2854 else |
2793 echo $ac_n "checking for tzname""... $ac_c" 1>&6 | 2855 echo $ac_n "checking for tzname""... $ac_c" 1>&6 |
2794 echo "configure:2795: checking for tzname" >&5 | 2856 echo "configure:2857: checking for tzname" >&5 |
2795 | 2857 |
2796 cat > conftest.$ac_ext <<EOF | 2858 cat > conftest.$ac_ext <<EOF |
2797 #line 2798 "configure" | 2859 #line 2860 "configure" |
2798 #include "confdefs.h" | 2860 #include "confdefs.h" |
2799 #include <time.h> | 2861 #include <time.h> |
2800 #ifndef tzname /* For SGI. */ | 2862 #ifndef tzname /* For SGI. */ |
2801 extern char *tzname[]; /* RS6000 and others reject char **tzname. */ | 2863 extern char *tzname[]; /* RS6000 and others reject char **tzname. */ |
2802 #endif | 2864 #endif |
2803 int main() { | 2865 int main() { |
2804 atoi(*tzname); | 2866 atoi(*tzname); |
2805 ; return 0; } | 2867 ; return 0; } |
2806 EOF | 2868 EOF |
2807 if { (eval echo configure:2808: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 2869 if { (eval echo configure:2870: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
2808 rm -rf conftest* | 2870 rm -rf conftest* |
2809 ac_cv_var_tzname=yes | 2871 ac_cv_var_tzname=yes |
2810 else | 2872 else |
2811 echo "configure: failed program was:" >&5 | 2873 echo "configure: failed program was:" >&5 |
2812 cat conftest.$ac_ext >&5 | 2874 cat conftest.$ac_ext >&5 |
2828 fi | 2890 fi |
2829 fi | 2891 fi |
2830 | 2892 |
2831 | 2893 |
2832 echo $ac_n "checking for working const""... $ac_c" 1>&6 | 2894 echo $ac_n "checking for working const""... $ac_c" 1>&6 |
2833 echo "configure:2834: checking for working const" >&5 | 2895 echo "configure:2896: checking for working const" >&5 |
2834 | 2896 |
2835 cat > conftest.$ac_ext <<EOF | 2897 cat > conftest.$ac_ext <<EOF |
2836 #line 2837 "configure" | 2898 #line 2899 "configure" |
2837 #include "confdefs.h" | 2899 #include "confdefs.h" |
2838 | 2900 |
2839 int main() { | 2901 int main() { |
2840 | 2902 |
2841 /* Ultrix mips cc rejects this. */ | 2903 /* Ultrix mips cc rejects this. */ |
2880 const int foo = 10; | 2942 const int foo = 10; |
2881 } | 2943 } |
2882 | 2944 |
2883 ; return 0; } | 2945 ; return 0; } |
2884 EOF | 2946 EOF |
2885 if { (eval echo configure:2886: \"$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 |
2886 rm -rf conftest* | 2948 rm -rf conftest* |
2887 ac_cv_c_const=yes | 2949 ac_cv_c_const=yes |
2888 else | 2950 else |
2889 echo "configure: failed program was:" >&5 | 2951 echo "configure: failed program was:" >&5 |
2890 cat conftest.$ac_ext >&5 | 2952 cat conftest.$ac_ext >&5 |
2905 | 2967 |
2906 fi | 2968 fi |
2907 | 2969 |
2908 | 2970 |
2909 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6 | 2971 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6 |
2910 echo "configure:2911: checking whether ${MAKE-make} sets \${MAKE}" >&5 | 2972 echo "configure:2973: checking whether ${MAKE-make} sets \${MAKE}" >&5 |
2911 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'` | 2973 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'` |
2912 | 2974 |
2913 cat > conftestmake <<\EOF | 2975 cat > conftestmake <<\EOF |
2914 all: | 2976 all: |
2915 @echo 'ac_maketemp="${MAKE}"' | 2977 @echo 'ac_maketemp="${MAKE}"' |
2930 SET_MAKE="MAKE=${MAKE-make}" | 2992 SET_MAKE="MAKE=${MAKE-make}" |
2931 fi | 2993 fi |
2932 | 2994 |
2933 | 2995 |
2934 echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6 | 2996 echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6 |
2935 echo "configure:2936: checking whether byte ordering is bigendian" >&5 | 2997 echo "configure:2998: checking whether byte ordering is bigendian" >&5 |
2936 | 2998 |
2937 ac_cv_c_bigendian=unknown | 2999 ac_cv_c_bigendian=unknown |
2938 # See if sys/param.h defines the BYTE_ORDER macro. | 3000 # See if sys/param.h defines the BYTE_ORDER macro. |
2939 cat > conftest.$ac_ext <<EOF | 3001 cat > conftest.$ac_ext <<EOF |
2940 #line 2941 "configure" | 3002 #line 3003 "configure" |
2941 #include "confdefs.h" | 3003 #include "confdefs.h" |
2942 #include <sys/types.h> | 3004 #include <sys/types.h> |
2943 #include <sys/param.h> | 3005 #include <sys/param.h> |
2944 int main() { | 3006 int main() { |
2945 | 3007 |
2946 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN | 3008 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN |
2947 bogus endian macros | 3009 bogus endian macros |
2948 #endif | 3010 #endif |
2949 ; return 0; } | 3011 ; return 0; } |
2950 EOF | 3012 EOF |
2951 if { (eval echo configure:2952: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3013 if { (eval echo configure:3014: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
2952 rm -rf conftest* | 3014 rm -rf conftest* |
2953 # It does; now see whether it defined to BIG_ENDIAN or not. | 3015 # It does; now see whether it defined to BIG_ENDIAN or not. |
2954 cat > conftest.$ac_ext <<EOF | 3016 cat > conftest.$ac_ext <<EOF |
2955 #line 2956 "configure" | 3017 #line 3018 "configure" |
2956 #include "confdefs.h" | 3018 #include "confdefs.h" |
2957 #include <sys/types.h> | 3019 #include <sys/types.h> |
2958 #include <sys/param.h> | 3020 #include <sys/param.h> |
2959 int main() { | 3021 int main() { |
2960 | 3022 |
2961 #if BYTE_ORDER != BIG_ENDIAN | 3023 #if BYTE_ORDER != BIG_ENDIAN |
2962 not big endian | 3024 not big endian |
2963 #endif | 3025 #endif |
2964 ; return 0; } | 3026 ; return 0; } |
2965 EOF | 3027 EOF |
2966 if { (eval echo configure:2967: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3028 if { (eval echo configure:3029: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
2967 rm -rf conftest* | 3029 rm -rf conftest* |
2968 ac_cv_c_bigendian=yes | 3030 ac_cv_c_bigendian=yes |
2969 else | 3031 else |
2970 echo "configure: failed program was:" >&5 | 3032 echo "configure: failed program was:" >&5 |
2971 cat conftest.$ac_ext >&5 | 3033 cat conftest.$ac_ext >&5 |
2978 cat conftest.$ac_ext >&5 | 3040 cat conftest.$ac_ext >&5 |
2979 fi | 3041 fi |
2980 rm -f conftest* | 3042 rm -f conftest* |
2981 if test $ac_cv_c_bigendian = unknown; then | 3043 if test $ac_cv_c_bigendian = unknown; then |
2982 cat > conftest.$ac_ext <<EOF | 3044 cat > conftest.$ac_ext <<EOF |
2983 #line 2984 "configure" | 3045 #line 3046 "configure" |
2984 #include "confdefs.h" | 3046 #include "confdefs.h" |
2985 main () { | 3047 main () { |
2986 /* Are we little or big endian? From Harbison&Steele. */ | 3048 /* Are we little or big endian? From Harbison&Steele. */ |
2987 union | 3049 union |
2988 { | 3050 { |
2991 } u; | 3053 } u; |
2992 u.l = 1; | 3054 u.l = 1; |
2993 exit (u.c[sizeof (long) - 1] == 1); | 3055 exit (u.c[sizeof (long) - 1] == 1); |
2994 } | 3056 } |
2995 EOF | 3057 EOF |
2996 if { (eval echo configure:2997: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 | 3058 if { (eval echo configure:3059: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 |
2997 then | 3059 then |
2998 ac_cv_c_bigendian=no | 3060 ac_cv_c_bigendian=no |
2999 else | 3061 else |
3000 echo "configure: failed program was:" >&5 | 3062 echo "configure: failed program was:" >&5 |
3001 cat conftest.$ac_ext >&5 | 3063 cat conftest.$ac_ext >&5 |
3017 | 3079 |
3018 fi | 3080 fi |
3019 | 3081 |
3020 | 3082 |
3021 echo $ac_n "checking size of short""... $ac_c" 1>&6 | 3083 echo $ac_n "checking size of short""... $ac_c" 1>&6 |
3022 echo "configure:3023: checking size of short" >&5 | 3084 echo "configure:3085: checking size of short" >&5 |
3023 | 3085 |
3024 cat > conftest.$ac_ext <<EOF | 3086 cat > conftest.$ac_ext <<EOF |
3025 #line 3026 "configure" | 3087 #line 3088 "configure" |
3026 #include "confdefs.h" | 3088 #include "confdefs.h" |
3027 #include <stdio.h> | 3089 #include <stdio.h> |
3028 main() | 3090 main() |
3029 { | 3091 { |
3030 FILE *f=fopen("conftestval", "w"); | 3092 FILE *f=fopen("conftestval", "w"); |
3031 if (!f) exit(1); | 3093 if (!f) exit(1); |
3032 fprintf(f, "%d\n", sizeof(short)); | 3094 fprintf(f, "%d\n", sizeof(short)); |
3033 exit(0); | 3095 exit(0); |
3034 } | 3096 } |
3035 EOF | 3097 EOF |
3036 if { (eval echo configure:3037: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 | 3098 if { (eval echo configure:3099: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 |
3037 then | 3099 then |
3038 ac_cv_sizeof_short=`cat conftestval` | 3100 ac_cv_sizeof_short=`cat conftestval` |
3039 else | 3101 else |
3040 echo "configure: failed program was:" >&5 | 3102 echo "configure: failed program was:" >&5 |
3041 cat conftest.$ac_ext >&5 | 3103 cat conftest.$ac_ext >&5 |
3052 EOF | 3114 EOF |
3053 } | 3115 } |
3054 | 3116 |
3055 | 3117 |
3056 echo $ac_n "checking size of int""... $ac_c" 1>&6 | 3118 echo $ac_n "checking size of int""... $ac_c" 1>&6 |
3057 echo "configure:3058: checking size of int" >&5 | 3119 echo "configure:3120: checking size of int" >&5 |
3058 | 3120 |
3059 cat > conftest.$ac_ext <<EOF | 3121 cat > conftest.$ac_ext <<EOF |
3060 #line 3061 "configure" | 3122 #line 3123 "configure" |
3061 #include "confdefs.h" | 3123 #include "confdefs.h" |
3062 #include <stdio.h> | 3124 #include <stdio.h> |
3063 main() | 3125 main() |
3064 { | 3126 { |
3065 FILE *f=fopen("conftestval", "w"); | 3127 FILE *f=fopen("conftestval", "w"); |
3066 if (!f) exit(1); | 3128 if (!f) exit(1); |
3067 fprintf(f, "%d\n", sizeof(int)); | 3129 fprintf(f, "%d\n", sizeof(int)); |
3068 exit(0); | 3130 exit(0); |
3069 } | 3131 } |
3070 EOF | 3132 EOF |
3071 if { (eval echo configure:3072: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 | 3133 if { (eval echo configure:3134: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 |
3072 then | 3134 then |
3073 ac_cv_sizeof_int=`cat conftestval` | 3135 ac_cv_sizeof_int=`cat conftestval` |
3074 else | 3136 else |
3075 echo "configure: failed program was:" >&5 | 3137 echo "configure: failed program was:" >&5 |
3076 cat conftest.$ac_ext >&5 | 3138 cat conftest.$ac_ext >&5 |
3087 EOF | 3149 EOF |
3088 } | 3150 } |
3089 | 3151 |
3090 | 3152 |
3091 echo $ac_n "checking size of long""... $ac_c" 1>&6 | 3153 echo $ac_n "checking size of long""... $ac_c" 1>&6 |
3092 echo "configure:3093: checking size of long" >&5 | 3154 echo "configure:3155: checking size of long" >&5 |
3093 | 3155 |
3094 cat > conftest.$ac_ext <<EOF | 3156 cat > conftest.$ac_ext <<EOF |
3095 #line 3096 "configure" | 3157 #line 3158 "configure" |
3096 #include "confdefs.h" | 3158 #include "confdefs.h" |
3097 #include <stdio.h> | 3159 #include <stdio.h> |
3098 main() | 3160 main() |
3099 { | 3161 { |
3100 FILE *f=fopen("conftestval", "w"); | 3162 FILE *f=fopen("conftestval", "w"); |
3101 if (!f) exit(1); | 3163 if (!f) exit(1); |
3102 fprintf(f, "%d\n", sizeof(long)); | 3164 fprintf(f, "%d\n", sizeof(long)); |
3103 exit(0); | 3165 exit(0); |
3104 } | 3166 } |
3105 EOF | 3167 EOF |
3106 if { (eval echo configure:3107: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 | 3168 if { (eval echo configure:3169: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 |
3107 then | 3169 then |
3108 ac_cv_sizeof_long=`cat conftestval` | 3170 ac_cv_sizeof_long=`cat conftestval` |
3109 else | 3171 else |
3110 echo "configure: failed program was:" >&5 | 3172 echo "configure: failed program was:" >&5 |
3111 cat conftest.$ac_ext >&5 | 3173 cat conftest.$ac_ext >&5 |
3123 } | 3185 } |
3124 | 3186 |
3125 | 3187 |
3126 | 3188 |
3127 echo $ac_n "checking for long file names""... $ac_c" 1>&6 | 3189 echo $ac_n "checking for long file names""... $ac_c" 1>&6 |
3128 echo "configure:3129: checking for long file names" >&5 | 3190 echo "configure:3191: checking for long file names" >&5 |
3129 | 3191 |
3130 ac_cv_sys_long_file_names=yes | 3192 ac_cv_sys_long_file_names=yes |
3131 # Test for long file names in all the places we know might matter: | 3193 # Test for long file names in all the places we know might matter: |
3132 # . the current directory, where building will happen | 3194 # . the current directory, where building will happen |
3133 # $prefix/lib where we will be installing things | 3195 # $prefix/lib where we will be installing things |
3171 | 3233 |
3172 | 3234 |
3173 | 3235 |
3174 | 3236 |
3175 echo $ac_n "checking for sqrt in -lm""... $ac_c" 1>&6 | 3237 echo $ac_n "checking for sqrt in -lm""... $ac_c" 1>&6 |
3176 echo "configure:3177: checking for sqrt in -lm" >&5 | 3238 echo "configure:3239: checking for sqrt in -lm" >&5 |
3177 ac_lib_var=`echo m'_'sqrt | sed 'y%./+-%__p_%'` | 3239 ac_lib_var=`echo m'_'sqrt | sed 'y%./+-%__p_%'` |
3178 | 3240 |
3179 xe_check_libs=" -lm " | 3241 xe_check_libs=" -lm " |
3180 cat > conftest.$ac_ext <<EOF | 3242 cat > conftest.$ac_ext <<EOF |
3181 #line 3182 "configure" | 3243 #line 3244 "configure" |
3182 #include "confdefs.h" | 3244 #include "confdefs.h" |
3183 /* Override any gcc2 internal prototype to avoid an error. */ | 3245 /* Override any gcc2 internal prototype to avoid an error. */ |
3184 /* We use char because int might match the return type of a gcc2 | 3246 /* We use char because int might match the return type of a gcc2 |
3185 builtin and then its argument prototype would still apply. */ | 3247 builtin and then its argument prototype would still apply. */ |
3186 char sqrt(); | 3248 char sqrt(); |
3187 | 3249 |
3188 int main() { | 3250 int main() { |
3189 sqrt() | 3251 sqrt() |
3190 ; return 0; } | 3252 ; return 0; } |
3191 EOF | 3253 EOF |
3192 if { (eval echo configure:3193: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 3254 if { (eval echo configure:3255: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
3193 rm -rf conftest* | 3255 rm -rf conftest* |
3194 eval "ac_cv_lib_$ac_lib_var=yes" | 3256 eval "ac_cv_lib_$ac_lib_var=yes" |
3195 else | 3257 else |
3196 echo "configure: failed program was:" >&5 | 3258 echo "configure: failed program was:" >&5 |
3197 cat conftest.$ac_ext >&5 | 3259 cat conftest.$ac_ext >&5 |
3229 EOF | 3291 EOF |
3230 } | 3292 } |
3231 | 3293 |
3232 | 3294 |
3233 echo "checking type of mail spool file locking" 1>&6 | 3295 echo "checking type of mail spool file locking" 1>&6 |
3234 echo "configure:3235: checking type of mail spool file locking" >&5 | 3296 echo "configure:3297: checking type of mail spool file locking" >&5 |
3235 test -z "$mail_locking" -a "$mail_use_flock" = "yes" && mail_locking=flock | 3297 test -z "$mail_locking" -a "$mail_use_flock" = "yes" && mail_locking=flock |
3236 test -z "$mail_locking" -a "$mail_use_lockf" = "yes" && mail_locking=lockf | 3298 test -z "$mail_locking" -a "$mail_use_lockf" = "yes" && mail_locking=lockf |
3237 if test "$mail_locking" = "lockf"; then { test "$extra_verbose" = "yes" && cat << \EOF | 3299 if test "$mail_locking" = "lockf"; then { test "$extra_verbose" = "yes" && cat << \EOF |
3238 Defining REAL_MAIL_USE_LOCKF | 3300 Defining REAL_MAIL_USE_LOCKF |
3239 EOF | 3301 EOF |
3252 | 3314 |
3253 fi | 3315 fi |
3254 | 3316 |
3255 | 3317 |
3256 echo $ac_n "checking for kstat_open in -lkstat""... $ac_c" 1>&6 | 3318 echo $ac_n "checking for kstat_open in -lkstat""... $ac_c" 1>&6 |
3257 echo "configure:3258: checking for kstat_open in -lkstat" >&5 | 3319 echo "configure:3320: checking for kstat_open in -lkstat" >&5 |
3258 ac_lib_var=`echo kstat'_'kstat_open | sed 'y%./+-%__p_%'` | 3320 ac_lib_var=`echo kstat'_'kstat_open | sed 'y%./+-%__p_%'` |
3259 | 3321 |
3260 xe_check_libs=" -lkstat " | 3322 xe_check_libs=" -lkstat " |
3261 cat > conftest.$ac_ext <<EOF | 3323 cat > conftest.$ac_ext <<EOF |
3262 #line 3263 "configure" | 3324 #line 3325 "configure" |
3263 #include "confdefs.h" | 3325 #include "confdefs.h" |
3264 /* Override any gcc2 internal prototype to avoid an error. */ | 3326 /* Override any gcc2 internal prototype to avoid an error. */ |
3265 /* We use char because int might match the return type of a gcc2 | 3327 /* We use char because int might match the return type of a gcc2 |
3266 builtin and then its argument prototype would still apply. */ | 3328 builtin and then its argument prototype would still apply. */ |
3267 char kstat_open(); | 3329 char kstat_open(); |
3268 | 3330 |
3269 int main() { | 3331 int main() { |
3270 kstat_open() | 3332 kstat_open() |
3271 ; return 0; } | 3333 ; return 0; } |
3272 EOF | 3334 EOF |
3273 if { (eval echo configure:3274: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 3335 if { (eval echo configure:3336: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
3274 rm -rf conftest* | 3336 rm -rf conftest* |
3275 eval "ac_cv_lib_$ac_lib_var=yes" | 3337 eval "ac_cv_lib_$ac_lib_var=yes" |
3276 else | 3338 else |
3277 echo "configure: failed program was:" >&5 | 3339 echo "configure: failed program was:" >&5 |
3278 cat conftest.$ac_ext >&5 | 3340 cat conftest.$ac_ext >&5 |
3302 | 3364 |
3303 | 3365 |
3304 | 3366 |
3305 | 3367 |
3306 echo $ac_n "checking for kvm_read in -lkvm""... $ac_c" 1>&6 | 3368 echo $ac_n "checking for kvm_read in -lkvm""... $ac_c" 1>&6 |
3307 echo "configure:3308: checking for kvm_read in -lkvm" >&5 | 3369 echo "configure:3370: checking for kvm_read in -lkvm" >&5 |
3308 ac_lib_var=`echo kvm'_'kvm_read | sed 'y%./+-%__p_%'` | 3370 ac_lib_var=`echo kvm'_'kvm_read | sed 'y%./+-%__p_%'` |
3309 | 3371 |
3310 xe_check_libs=" -lkvm " | 3372 xe_check_libs=" -lkvm " |
3311 cat > conftest.$ac_ext <<EOF | 3373 cat > conftest.$ac_ext <<EOF |
3312 #line 3313 "configure" | 3374 #line 3375 "configure" |
3313 #include "confdefs.h" | 3375 #include "confdefs.h" |
3314 /* Override any gcc2 internal prototype to avoid an error. */ | 3376 /* Override any gcc2 internal prototype to avoid an error. */ |
3315 /* We use char because int might match the return type of a gcc2 | 3377 /* We use char because int might match the return type of a gcc2 |
3316 builtin and then its argument prototype would still apply. */ | 3378 builtin and then its argument prototype would still apply. */ |
3317 char kvm_read(); | 3379 char kvm_read(); |
3318 | 3380 |
3319 int main() { | 3381 int main() { |
3320 kvm_read() | 3382 kvm_read() |
3321 ; return 0; } | 3383 ; return 0; } |
3322 EOF | 3384 EOF |
3323 if { (eval echo configure:3324: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 3385 if { (eval echo configure:3386: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
3324 rm -rf conftest* | 3386 rm -rf conftest* |
3325 eval "ac_cv_lib_$ac_lib_var=yes" | 3387 eval "ac_cv_lib_$ac_lib_var=yes" |
3326 else | 3388 else |
3327 echo "configure: failed program was:" >&5 | 3389 echo "configure: failed program was:" >&5 |
3328 cat conftest.$ac_ext >&5 | 3390 cat conftest.$ac_ext >&5 |
3352 | 3414 |
3353 | 3415 |
3354 | 3416 |
3355 | 3417 |
3356 echo $ac_n "checking for cma_open in -lpthreads""... $ac_c" 1>&6 | 3418 echo $ac_n "checking for cma_open in -lpthreads""... $ac_c" 1>&6 |
3357 echo "configure:3358: checking for cma_open in -lpthreads" >&5 | 3419 echo "configure:3420: checking for cma_open in -lpthreads" >&5 |
3358 ac_lib_var=`echo pthreads'_'cma_open | sed 'y%./+-%__p_%'` | 3420 ac_lib_var=`echo pthreads'_'cma_open | sed 'y%./+-%__p_%'` |
3359 | 3421 |
3360 xe_check_libs=" -lpthreads " | 3422 xe_check_libs=" -lpthreads " |
3361 cat > conftest.$ac_ext <<EOF | 3423 cat > conftest.$ac_ext <<EOF |
3362 #line 3363 "configure" | 3424 #line 3425 "configure" |
3363 #include "confdefs.h" | 3425 #include "confdefs.h" |
3364 /* Override any gcc2 internal prototype to avoid an error. */ | 3426 /* Override any gcc2 internal prototype to avoid an error. */ |
3365 /* We use char because int might match the return type of a gcc2 | 3427 /* We use char because int might match the return type of a gcc2 |
3366 builtin and then its argument prototype would still apply. */ | 3428 builtin and then its argument prototype would still apply. */ |
3367 char cma_open(); | 3429 char cma_open(); |
3368 | 3430 |
3369 int main() { | 3431 int main() { |
3370 cma_open() | 3432 cma_open() |
3371 ; return 0; } | 3433 ; return 0; } |
3372 EOF | 3434 EOF |
3373 if { (eval echo configure:3374: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 3435 if { (eval echo configure:3436: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
3374 rm -rf conftest* | 3436 rm -rf conftest* |
3375 eval "ac_cv_lib_$ac_lib_var=yes" | 3437 eval "ac_cv_lib_$ac_lib_var=yes" |
3376 else | 3438 else |
3377 echo "configure: failed program was:" >&5 | 3439 echo "configure: failed program was:" >&5 |
3378 cat conftest.$ac_ext >&5 | 3440 cat conftest.$ac_ext >&5 |
3404 if test "$ac_cv_lib_pthreads_cma_open" = "yes"; then | 3466 if test "$ac_cv_lib_pthreads_cma_open" = "yes"; then |
3405 case "$opsys" in decosf*) c_switch_site="$c_switch_site -threads";; esac | 3467 case "$opsys" in decosf*) c_switch_site="$c_switch_site -threads";; esac |
3406 fi | 3468 fi |
3407 | 3469 |
3408 echo $ac_n "checking whether the -xildoff compiler flag is required""... $ac_c" 1>&6 | 3470 echo $ac_n "checking whether the -xildoff compiler flag is required""... $ac_c" 1>&6 |
3409 echo "configure:3410: checking whether the -xildoff compiler flag is required" >&5 | 3471 echo "configure:3472: checking whether the -xildoff compiler flag is required" >&5 |
3410 if ${CC-cc} '-###' -xildon no_such_file.c 2>&1 | grep '^[^ ]*/ild ' > /dev/null ; then | 3472 if ${CC-cc} '-###' -xildon no_such_file.c 2>&1 | grep '^[^ ]*/ild ' > /dev/null ; then |
3411 if ${CC-cc} '-###' -xildoff no_such_file.c 2>&1 | grep '^[^ ]*/ild ' > /dev/null ; | 3473 if ${CC-cc} '-###' -xildoff no_such_file.c 2>&1 | grep '^[^ ]*/ild ' > /dev/null ; |
3412 then echo "$ac_t""no" 1>&6; | 3474 then echo "$ac_t""no" 1>&6; |
3413 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 | 3475 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 |
3414 fi | 3476 fi |
3415 else echo "$ac_t""no" 1>&6 | 3477 else echo "$ac_t""no" 1>&6 |
3416 fi | 3478 fi |
3417 | 3479 |
3418 echo $ac_n "checking for dynodump""... $ac_c" 1>&6 | 3480 echo $ac_n "checking for dynodump""... $ac_c" 1>&6 |
3419 echo "configure:3420: checking for dynodump" >&5 | 3481 echo "configure:3482: checking for dynodump" >&5 |
3420 case "$canonical" in *-solaris2.[0-5]* ) | 3482 case "$opsys" in sol2* ) |
3421 echo "$ac_t""yes" 1>&6 | 3483 echo "$ac_t""yes" 1>&6 |
3422 { test "$extra_verbose" = "yes" && cat << \EOF | 3484 { test "$extra_verbose" = "yes" && cat << \EOF |
3423 Defining DYNODUMP | 3485 Defining DYNODUMP |
3424 EOF | 3486 EOF |
3425 cat >> confdefs.h <<\EOF | 3487 cat >> confdefs.h <<\EOF |
3426 #define DYNODUMP 1 | 3488 #define DYNODUMP 1 |
3427 EOF | 3489 EOF |
3428 } | 3490 } |
3429 | 3491 |
3430 MAKE_SUBDIR="$MAKE_SUBDIR dynodump" && if test "$extra_verbose" = "yes"; then echo " Appending \"dynodump\" to \$MAKE_SUBDIR"; fi | 3492 MAKE_SUBDIR="$MAKE_SUBDIR dynodump" && if test "$extra_verbose" = "yes"; then echo " Appending \"dynodump\" to \$MAKE_SUBDIR"; fi |
3431 case "$canonical" in | 3493 case "$machine" in |
3432 sparc* ) dynodump_arch=sparc ;; | 3494 sparc ) dynodump_arch=sparc ;; |
3433 powerpc* ) dynodump_arch=ppc ;; | 3495 *86* ) dynodump_arch=i386 ;; |
3434 i*86* ) dynodump_arch=i386 ;; | 3496 powerpc ) dynodump_arch=ppc ;; |
3435 esac | 3497 esac |
3436 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 ;; | 3498 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 ;; |
3437 *) echo "$ac_t""no" 1>&6 ;; | 3499 *) echo "$ac_t""no" 1>&6 ;; |
3438 esac | 3500 esac |
3439 | 3501 |
3502 case "$opsys" in sol2-[6-9]* ) | |
3503 echo $ac_n "checking for \"-z ignore\" linker flag""... $ac_c" 1>&6 | |
3504 echo "configure:3505: checking for \"-z ignore\" linker flag" >&5 | |
3505 case "`ld -h 2>&1`" in | |
3506 *-z\ ignore\|record* ) echo "$ac_t""yes" 1>&6 | |
3507 ld_switch_site="-z ignore $ld_switch_site" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-z ignore\" to \$ld_switch_site"; fi ;; | |
3508 *) echo "$ac_t""no" 1>&6 ;; | |
3509 esac ;; | |
3510 esac | |
3511 | |
3440 | 3512 |
3441 echo "checking "for specified window system"" 1>&6 | 3513 echo "checking "for specified window system"" 1>&6 |
3442 echo "configure:3443: checking "for specified window system"" >&5 | 3514 echo "configure:3515: checking "for specified window system"" >&5 |
3443 | 3515 |
3444 if test "$x_includes $x_libraries" = "NONE NONE"; then | 3516 if test "$x_includes $x_libraries" = "NONE NONE"; then |
3445 if test -n "$OPENWINHOME" \ | 3517 if test -n "$OPENWINHOME" \ |
3446 -a "$OPENWINHOME" != "/usr/openwin" \ | 3518 -a "$OPENWINHOME" != "/usr/openwin" \ |
3447 -a -d "$OPENWINHOME"; then | 3519 -a -d "$OPENWINHOME"; then |
3458 # If we find X, set shell vars x_includes and x_libraries to the | 3530 # If we find X, set shell vars x_includes and x_libraries to the |
3459 # paths, otherwise set no_x=yes. | 3531 # paths, otherwise set no_x=yes. |
3460 # Uses ac_ vars as temps to allow command line to override cache and checks. | 3532 # Uses ac_ vars as temps to allow command line to override cache and checks. |
3461 # --without-x overrides everything else, but does not touch the cache. | 3533 # --without-x overrides everything else, but does not touch the cache. |
3462 echo $ac_n "checking for X""... $ac_c" 1>&6 | 3534 echo $ac_n "checking for X""... $ac_c" 1>&6 |
3463 echo "configure:3464: checking for X" >&5 | 3535 echo "configure:3536: checking for X" >&5 |
3464 | 3536 |
3465 # Check whether --with-x or --without-x was given. | 3537 # Check whether --with-x or --without-x was given. |
3466 if test "${with_x+set}" = set; then | 3538 if test "${with_x+set}" = set; then |
3467 withval="$with_x" | 3539 withval="$with_x" |
3468 : | 3540 : |
3518 # Guess where to find include files, by looking for this one X11 .h file. | 3590 # Guess where to find include files, by looking for this one X11 .h file. |
3519 test -z "$x_direct_test_include" && x_direct_test_include=X11/Intrinsic.h | 3591 test -z "$x_direct_test_include" && x_direct_test_include=X11/Intrinsic.h |
3520 | 3592 |
3521 # First, try using that file with no special directory specified. | 3593 # First, try using that file with no special directory specified. |
3522 cat > conftest.$ac_ext <<EOF | 3594 cat > conftest.$ac_ext <<EOF |
3523 #line 3524 "configure" | 3595 #line 3596 "configure" |
3524 #include "confdefs.h" | 3596 #include "confdefs.h" |
3525 #include <$x_direct_test_include> | 3597 #include <$x_direct_test_include> |
3526 EOF | 3598 EOF |
3527 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 3599 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
3528 { (eval echo configure:3529: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 3600 { (eval echo configure:3601: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
3529 ac_err=`grep -v '^ *+' conftest.out` | 3601 ac_err=`grep -v '^ *+' conftest.out` |
3530 if test -z "$ac_err"; then | 3602 if test -z "$ac_err"; then |
3531 rm -rf conftest* | 3603 rm -rf conftest* |
3532 # We can compile using X headers with no special include directory. | 3604 # We can compile using X headers with no special include directory. |
3533 ac_x_includes= | 3605 ac_x_includes= |
3592 # See if we find them without any special options. | 3664 # See if we find them without any special options. |
3593 # Don't add to $LIBS permanently. | 3665 # Don't add to $LIBS permanently. |
3594 ac_save_LIBS="$LIBS" | 3666 ac_save_LIBS="$LIBS" |
3595 LIBS="-l$x_direct_test_library $LIBS" | 3667 LIBS="-l$x_direct_test_library $LIBS" |
3596 cat > conftest.$ac_ext <<EOF | 3668 cat > conftest.$ac_ext <<EOF |
3597 #line 3598 "configure" | 3669 #line 3670 "configure" |
3598 #include "confdefs.h" | 3670 #include "confdefs.h" |
3599 | 3671 |
3600 int main() { | 3672 int main() { |
3601 ${x_direct_test_function}() | 3673 ${x_direct_test_function}() |
3602 ; return 0; } | 3674 ; return 0; } |
3603 EOF | 3675 EOF |
3604 if { (eval echo configure:3605: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 3676 if { (eval echo configure:3677: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
3605 rm -rf conftest* | 3677 rm -rf conftest* |
3606 LIBS="$ac_save_LIBS" | 3678 LIBS="$ac_save_LIBS" |
3607 # We can link X programs with no special library path. | 3679 # We can link X programs with no special library path. |
3608 ac_x_libraries= | 3680 ac_x_libraries= |
3609 else | 3681 else |
3708 # For Solaris; some versions of Sun CC require a space after -R and | 3780 # For Solaris; some versions of Sun CC require a space after -R and |
3709 # others require no space. Words are not sufficient . . . . | 3781 # others require no space. Words are not sufficient . . . . |
3710 case "`(uname -sr) 2>/dev/null`" in | 3782 case "`(uname -sr) 2>/dev/null`" in |
3711 "SunOS 5"*) | 3783 "SunOS 5"*) |
3712 echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6 | 3784 echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6 |
3713 echo "configure:3714: checking whether -R must be followed by a space" >&5 | 3785 echo "configure:3786: checking whether -R must be followed by a space" >&5 |
3714 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS -R$x_libraries" | 3786 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS -R$x_libraries" |
3715 cat > conftest.$ac_ext <<EOF | 3787 cat > conftest.$ac_ext <<EOF |
3716 #line 3717 "configure" | 3788 #line 3789 "configure" |
3717 #include "confdefs.h" | 3789 #include "confdefs.h" |
3718 | 3790 |
3719 int main() { | 3791 int main() { |
3720 | 3792 |
3721 ; return 0; } | 3793 ; return 0; } |
3722 EOF | 3794 EOF |
3723 if { (eval echo configure:3724: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 3795 if { (eval echo configure:3796: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
3724 rm -rf conftest* | 3796 rm -rf conftest* |
3725 ac_R_nospace=yes | 3797 ac_R_nospace=yes |
3726 else | 3798 else |
3727 echo "configure: failed program was:" >&5 | 3799 echo "configure: failed program was:" >&5 |
3728 cat conftest.$ac_ext >&5 | 3800 cat conftest.$ac_ext >&5 |
3734 echo "$ac_t""no" 1>&6 | 3806 echo "$ac_t""no" 1>&6 |
3735 X_LIBS="$X_LIBS -R$x_libraries" | 3807 X_LIBS="$X_LIBS -R$x_libraries" |
3736 else | 3808 else |
3737 LIBS="$ac_xsave_LIBS -R $x_libraries" | 3809 LIBS="$ac_xsave_LIBS -R $x_libraries" |
3738 cat > conftest.$ac_ext <<EOF | 3810 cat > conftest.$ac_ext <<EOF |
3739 #line 3740 "configure" | 3811 #line 3812 "configure" |
3740 #include "confdefs.h" | 3812 #include "confdefs.h" |
3741 | 3813 |
3742 int main() { | 3814 int main() { |
3743 | 3815 |
3744 ; return 0; } | 3816 ; return 0; } |
3745 EOF | 3817 EOF |
3746 if { (eval echo configure:3747: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 3818 if { (eval echo configure:3819: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
3747 rm -rf conftest* | 3819 rm -rf conftest* |
3748 ac_R_space=yes | 3820 ac_R_space=yes |
3749 else | 3821 else |
3750 echo "configure: failed program was:" >&5 | 3822 echo "configure: failed program was:" >&5 |
3751 cat conftest.$ac_ext >&5 | 3823 cat conftest.$ac_ext >&5 |
3777 if test "$with_dnet" = "no" ; then | 3849 if test "$with_dnet" = "no" ; then |
3778 ac_cv_lib_dnet_dnet_ntoa=no | 3850 ac_cv_lib_dnet_dnet_ntoa=no |
3779 else | 3851 else |
3780 | 3852 |
3781 echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6 | 3853 echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6 |
3782 echo "configure:3783: checking for dnet_ntoa in -ldnet" >&5 | 3854 echo "configure:3855: checking for dnet_ntoa in -ldnet" >&5 |
3783 ac_lib_var=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'` | 3855 ac_lib_var=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'` |
3784 | 3856 |
3785 xe_check_libs=" -ldnet " | 3857 xe_check_libs=" -ldnet " |
3786 cat > conftest.$ac_ext <<EOF | 3858 cat > conftest.$ac_ext <<EOF |
3787 #line 3788 "configure" | 3859 #line 3860 "configure" |
3788 #include "confdefs.h" | 3860 #include "confdefs.h" |
3789 /* Override any gcc2 internal prototype to avoid an error. */ | 3861 /* Override any gcc2 internal prototype to avoid an error. */ |
3790 /* We use char because int might match the return type of a gcc2 | 3862 /* We use char because int might match the return type of a gcc2 |
3791 builtin and then its argument prototype would still apply. */ | 3863 builtin and then its argument prototype would still apply. */ |
3792 char dnet_ntoa(); | 3864 char dnet_ntoa(); |
3793 | 3865 |
3794 int main() { | 3866 int main() { |
3795 dnet_ntoa() | 3867 dnet_ntoa() |
3796 ; return 0; } | 3868 ; return 0; } |
3797 EOF | 3869 EOF |
3798 if { (eval echo configure:3799: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 3870 if { (eval echo configure:3871: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
3799 rm -rf conftest* | 3871 rm -rf conftest* |
3800 eval "ac_cv_lib_$ac_lib_var=yes" | 3872 eval "ac_cv_lib_$ac_lib_var=yes" |
3801 else | 3873 else |
3802 echo "configure: failed program was:" >&5 | 3874 echo "configure: failed program was:" >&5 |
3803 cat conftest.$ac_ext >&5 | 3875 cat conftest.$ac_ext >&5 |
3817 fi | 3889 fi |
3818 | 3890 |
3819 if test $ac_cv_lib_dnet_dnet_ntoa = no; then | 3891 if test $ac_cv_lib_dnet_dnet_ntoa = no; then |
3820 | 3892 |
3821 echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6 | 3893 echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6 |
3822 echo "configure:3823: checking for dnet_ntoa in -ldnet_stub" >&5 | 3894 echo "configure:3895: checking for dnet_ntoa in -ldnet_stub" >&5 |
3823 ac_lib_var=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'` | 3895 ac_lib_var=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'` |
3824 | 3896 |
3825 xe_check_libs=" -ldnet_stub " | 3897 xe_check_libs=" -ldnet_stub " |
3826 cat > conftest.$ac_ext <<EOF | 3898 cat > conftest.$ac_ext <<EOF |
3827 #line 3828 "configure" | 3899 #line 3900 "configure" |
3828 #include "confdefs.h" | 3900 #include "confdefs.h" |
3829 /* Override any gcc2 internal prototype to avoid an error. */ | 3901 /* Override any gcc2 internal prototype to avoid an error. */ |
3830 /* We use char because int might match the return type of a gcc2 | 3902 /* We use char because int might match the return type of a gcc2 |
3831 builtin and then its argument prototype would still apply. */ | 3903 builtin and then its argument prototype would still apply. */ |
3832 char dnet_ntoa(); | 3904 char dnet_ntoa(); |
3833 | 3905 |
3834 int main() { | 3906 int main() { |
3835 dnet_ntoa() | 3907 dnet_ntoa() |
3836 ; return 0; } | 3908 ; return 0; } |
3837 EOF | 3909 EOF |
3838 if { (eval echo configure:3839: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 3910 if { (eval echo configure:3911: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
3839 rm -rf conftest* | 3911 rm -rf conftest* |
3840 eval "ac_cv_lib_$ac_lib_var=yes" | 3912 eval "ac_cv_lib_$ac_lib_var=yes" |
3841 else | 3913 else |
3842 echo "configure: failed program was:" >&5 | 3914 echo "configure: failed program was:" >&5 |
3843 cat conftest.$ac_ext >&5 | 3915 cat conftest.$ac_ext >&5 |
3862 # chad@anasazi.com says the Pyramis MIS-ES running DC/OSx (SVR4) | 3934 # chad@anasazi.com says the Pyramis MIS-ES running DC/OSx (SVR4) |
3863 # needs -lnsl. | 3935 # needs -lnsl. |
3864 # The nsl library prevents programs from opening the X display | 3936 # The nsl library prevents programs from opening the X display |
3865 # on Irix 5.2, according to dickey@clark.net. | 3937 # on Irix 5.2, according to dickey@clark.net. |
3866 echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6 | 3938 echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6 |
3867 echo "configure:3868: checking for gethostbyname" >&5 | 3939 echo "configure:3940: checking for gethostbyname" >&5 |
3868 | 3940 |
3869 cat > conftest.$ac_ext <<EOF | 3941 cat > conftest.$ac_ext <<EOF |
3870 #line 3871 "configure" | 3942 #line 3943 "configure" |
3871 #include "confdefs.h" | 3943 #include "confdefs.h" |
3872 /* System header to define __stub macros and hopefully few prototypes, | 3944 /* System header to define __stub macros and hopefully few prototypes, |
3873 which can conflict with char gethostbyname(); below. */ | 3945 which can conflict with char gethostbyname(); below. */ |
3874 #include <assert.h> | 3946 #include <assert.h> |
3875 /* Override any gcc2 internal prototype to avoid an error. */ | 3947 /* Override any gcc2 internal prototype to avoid an error. */ |
3888 gethostbyname(); | 3960 gethostbyname(); |
3889 #endif | 3961 #endif |
3890 | 3962 |
3891 ; return 0; } | 3963 ; return 0; } |
3892 EOF | 3964 EOF |
3893 if { (eval echo configure:3894: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 3965 if { (eval echo configure:3966: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
3894 rm -rf conftest* | 3966 rm -rf conftest* |
3895 eval "ac_cv_func_gethostbyname=yes" | 3967 eval "ac_cv_func_gethostbyname=yes" |
3896 else | 3968 else |
3897 echo "configure: failed program was:" >&5 | 3969 echo "configure: failed program was:" >&5 |
3898 cat conftest.$ac_ext >&5 | 3970 cat conftest.$ac_ext >&5 |
3909 fi | 3981 fi |
3910 | 3982 |
3911 if test $ac_cv_func_gethostbyname = no; then | 3983 if test $ac_cv_func_gethostbyname = no; then |
3912 | 3984 |
3913 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6 | 3985 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6 |
3914 echo "configure:3915: checking for gethostbyname in -lnsl" >&5 | 3986 echo "configure:3987: checking for gethostbyname in -lnsl" >&5 |
3915 ac_lib_var=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'` | 3987 ac_lib_var=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'` |
3916 | 3988 |
3917 xe_check_libs=" -lnsl " | 3989 xe_check_libs=" -lnsl " |
3918 cat > conftest.$ac_ext <<EOF | 3990 cat > conftest.$ac_ext <<EOF |
3919 #line 3920 "configure" | 3991 #line 3992 "configure" |
3920 #include "confdefs.h" | 3992 #include "confdefs.h" |
3921 /* Override any gcc2 internal prototype to avoid an error. */ | 3993 /* Override any gcc2 internal prototype to avoid an error. */ |
3922 /* We use char because int might match the return type of a gcc2 | 3994 /* We use char because int might match the return type of a gcc2 |
3923 builtin and then its argument prototype would still apply. */ | 3995 builtin and then its argument prototype would still apply. */ |
3924 char gethostbyname(); | 3996 char gethostbyname(); |
3925 | 3997 |
3926 int main() { | 3998 int main() { |
3927 gethostbyname() | 3999 gethostbyname() |
3928 ; return 0; } | 4000 ; return 0; } |
3929 EOF | 4001 EOF |
3930 if { (eval echo configure:3931: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4002 if { (eval echo configure:4003: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
3931 rm -rf conftest* | 4003 rm -rf conftest* |
3932 eval "ac_cv_lib_$ac_lib_var=yes" | 4004 eval "ac_cv_lib_$ac_lib_var=yes" |
3933 else | 4005 else |
3934 echo "configure: failed program was:" >&5 | 4006 echo "configure: failed program was:" >&5 |
3935 cat conftest.$ac_ext >&5 | 4007 cat conftest.$ac_ext >&5 |
3955 # on later versions), says simon@lia.di.epfl.ch: it contains | 4027 # on later versions), says simon@lia.di.epfl.ch: it contains |
3956 # gethostby* variants that don't use the nameserver (or something). | 4028 # gethostby* variants that don't use the nameserver (or something). |
3957 # -lsocket must be given before -lnsl if both are needed. | 4029 # -lsocket must be given before -lnsl if both are needed. |
3958 # We assume that if connect needs -lnsl, so does gethostbyname. | 4030 # We assume that if connect needs -lnsl, so does gethostbyname. |
3959 echo $ac_n "checking for connect""... $ac_c" 1>&6 | 4031 echo $ac_n "checking for connect""... $ac_c" 1>&6 |
3960 echo "configure:3961: checking for connect" >&5 | 4032 echo "configure:4033: checking for connect" >&5 |
3961 | 4033 |
3962 cat > conftest.$ac_ext <<EOF | 4034 cat > conftest.$ac_ext <<EOF |
3963 #line 3964 "configure" | 4035 #line 4036 "configure" |
3964 #include "confdefs.h" | 4036 #include "confdefs.h" |
3965 /* System header to define __stub macros and hopefully few prototypes, | 4037 /* System header to define __stub macros and hopefully few prototypes, |
3966 which can conflict with char connect(); below. */ | 4038 which can conflict with char connect(); below. */ |
3967 #include <assert.h> | 4039 #include <assert.h> |
3968 /* Override any gcc2 internal prototype to avoid an error. */ | 4040 /* Override any gcc2 internal prototype to avoid an error. */ |
3981 connect(); | 4053 connect(); |
3982 #endif | 4054 #endif |
3983 | 4055 |
3984 ; return 0; } | 4056 ; return 0; } |
3985 EOF | 4057 EOF |
3986 if { (eval echo configure:3987: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4058 if { (eval echo configure:4059: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
3987 rm -rf conftest* | 4059 rm -rf conftest* |
3988 eval "ac_cv_func_connect=yes" | 4060 eval "ac_cv_func_connect=yes" |
3989 else | 4061 else |
3990 echo "configure: failed program was:" >&5 | 4062 echo "configure: failed program was:" >&5 |
3991 cat conftest.$ac_ext >&5 | 4063 cat conftest.$ac_ext >&5 |
4004 if test $ac_cv_func_connect = no; then | 4076 if test $ac_cv_func_connect = no; then |
4005 | 4077 |
4006 xe_msg_checking="for connect in -lsocket" | 4078 xe_msg_checking="for connect in -lsocket" |
4007 test -n "$X_EXTRA_LIBS" && xe_msg_checking="$xe_msg_checking using extra libs $X_EXTRA_LIBS" | 4079 test -n "$X_EXTRA_LIBS" && xe_msg_checking="$xe_msg_checking using extra libs $X_EXTRA_LIBS" |
4008 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 4080 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
4009 echo "configure:4010: checking "$xe_msg_checking"" >&5 | 4081 echo "configure:4082: checking "$xe_msg_checking"" >&5 |
4010 ac_lib_var=`echo socket'_'connect | sed 'y%./+-%__p_%'` | 4082 ac_lib_var=`echo socket'_'connect | sed 'y%./+-%__p_%'` |
4011 | 4083 |
4012 xe_check_libs=" -lsocket $X_EXTRA_LIBS" | 4084 xe_check_libs=" -lsocket $X_EXTRA_LIBS" |
4013 cat > conftest.$ac_ext <<EOF | 4085 cat > conftest.$ac_ext <<EOF |
4014 #line 4015 "configure" | 4086 #line 4087 "configure" |
4015 #include "confdefs.h" | 4087 #include "confdefs.h" |
4016 /* Override any gcc2 internal prototype to avoid an error. */ | 4088 /* Override any gcc2 internal prototype to avoid an error. */ |
4017 /* We use char because int might match the return type of a gcc2 | 4089 /* We use char because int might match the return type of a gcc2 |
4018 builtin and then its argument prototype would still apply. */ | 4090 builtin and then its argument prototype would still apply. */ |
4019 char connect(); | 4091 char connect(); |
4020 | 4092 |
4021 int main() { | 4093 int main() { |
4022 connect() | 4094 connect() |
4023 ; return 0; } | 4095 ; return 0; } |
4024 EOF | 4096 EOF |
4025 if { (eval echo configure:4026: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4097 if { (eval echo configure:4098: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
4026 rm -rf conftest* | 4098 rm -rf conftest* |
4027 eval "ac_cv_lib_$ac_lib_var=yes" | 4099 eval "ac_cv_lib_$ac_lib_var=yes" |
4028 else | 4100 else |
4029 echo "configure: failed program was:" >&5 | 4101 echo "configure: failed program was:" >&5 |
4030 cat conftest.$ac_ext >&5 | 4102 cat conftest.$ac_ext >&5 |
4044 | 4116 |
4045 fi | 4117 fi |
4046 | 4118 |
4047 # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX. | 4119 # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX. |
4048 echo $ac_n "checking for remove""... $ac_c" 1>&6 | 4120 echo $ac_n "checking for remove""... $ac_c" 1>&6 |
4049 echo "configure:4050: checking for remove" >&5 | 4121 echo "configure:4122: checking for remove" >&5 |
4050 | 4122 |
4051 cat > conftest.$ac_ext <<EOF | 4123 cat > conftest.$ac_ext <<EOF |
4052 #line 4053 "configure" | 4124 #line 4125 "configure" |
4053 #include "confdefs.h" | 4125 #include "confdefs.h" |
4054 /* System header to define __stub macros and hopefully few prototypes, | 4126 /* System header to define __stub macros and hopefully few prototypes, |
4055 which can conflict with char remove(); below. */ | 4127 which can conflict with char remove(); below. */ |
4056 #include <assert.h> | 4128 #include <assert.h> |
4057 /* Override any gcc2 internal prototype to avoid an error. */ | 4129 /* Override any gcc2 internal prototype to avoid an error. */ |
4070 remove(); | 4142 remove(); |
4071 #endif | 4143 #endif |
4072 | 4144 |
4073 ; return 0; } | 4145 ; return 0; } |
4074 EOF | 4146 EOF |
4075 if { (eval echo configure:4076: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4147 if { (eval echo configure:4148: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
4076 rm -rf conftest* | 4148 rm -rf conftest* |
4077 eval "ac_cv_func_remove=yes" | 4149 eval "ac_cv_func_remove=yes" |
4078 else | 4150 else |
4079 echo "configure: failed program was:" >&5 | 4151 echo "configure: failed program was:" >&5 |
4080 cat conftest.$ac_ext >&5 | 4152 cat conftest.$ac_ext >&5 |
4091 fi | 4163 fi |
4092 | 4164 |
4093 if test $ac_cv_func_remove = no; then | 4165 if test $ac_cv_func_remove = no; then |
4094 | 4166 |
4095 echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6 | 4167 echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6 |
4096 echo "configure:4097: checking for remove in -lposix" >&5 | 4168 echo "configure:4169: checking for remove in -lposix" >&5 |
4097 ac_lib_var=`echo posix'_'remove | sed 'y%./+-%__p_%'` | 4169 ac_lib_var=`echo posix'_'remove | sed 'y%./+-%__p_%'` |
4098 | 4170 |
4099 xe_check_libs=" -lposix " | 4171 xe_check_libs=" -lposix " |
4100 cat > conftest.$ac_ext <<EOF | 4172 cat > conftest.$ac_ext <<EOF |
4101 #line 4102 "configure" | 4173 #line 4174 "configure" |
4102 #include "confdefs.h" | 4174 #include "confdefs.h" |
4103 /* Override any gcc2 internal prototype to avoid an error. */ | 4175 /* Override any gcc2 internal prototype to avoid an error. */ |
4104 /* We use char because int might match the return type of a gcc2 | 4176 /* We use char because int might match the return type of a gcc2 |
4105 builtin and then its argument prototype would still apply. */ | 4177 builtin and then its argument prototype would still apply. */ |
4106 char remove(); | 4178 char remove(); |
4107 | 4179 |
4108 int main() { | 4180 int main() { |
4109 remove() | 4181 remove() |
4110 ; return 0; } | 4182 ; return 0; } |
4111 EOF | 4183 EOF |
4112 if { (eval echo configure:4113: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4184 if { (eval echo configure:4185: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
4113 rm -rf conftest* | 4185 rm -rf conftest* |
4114 eval "ac_cv_lib_$ac_lib_var=yes" | 4186 eval "ac_cv_lib_$ac_lib_var=yes" |
4115 else | 4187 else |
4116 echo "configure: failed program was:" >&5 | 4188 echo "configure: failed program was:" >&5 |
4117 cat conftest.$ac_ext >&5 | 4189 cat conftest.$ac_ext >&5 |
4131 | 4203 |
4132 fi | 4204 fi |
4133 | 4205 |
4134 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay. | 4206 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay. |
4135 echo $ac_n "checking for shmat""... $ac_c" 1>&6 | 4207 echo $ac_n "checking for shmat""... $ac_c" 1>&6 |
4136 echo "configure:4137: checking for shmat" >&5 | 4208 echo "configure:4209: checking for shmat" >&5 |
4137 | 4209 |
4138 cat > conftest.$ac_ext <<EOF | 4210 cat > conftest.$ac_ext <<EOF |
4139 #line 4140 "configure" | 4211 #line 4212 "configure" |
4140 #include "confdefs.h" | 4212 #include "confdefs.h" |
4141 /* System header to define __stub macros and hopefully few prototypes, | 4213 /* System header to define __stub macros and hopefully few prototypes, |
4142 which can conflict with char shmat(); below. */ | 4214 which can conflict with char shmat(); below. */ |
4143 #include <assert.h> | 4215 #include <assert.h> |
4144 /* Override any gcc2 internal prototype to avoid an error. */ | 4216 /* Override any gcc2 internal prototype to avoid an error. */ |
4157 shmat(); | 4229 shmat(); |
4158 #endif | 4230 #endif |
4159 | 4231 |
4160 ; return 0; } | 4232 ; return 0; } |
4161 EOF | 4233 EOF |
4162 if { (eval echo configure:4163: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4234 if { (eval echo configure:4235: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
4163 rm -rf conftest* | 4235 rm -rf conftest* |
4164 eval "ac_cv_func_shmat=yes" | 4236 eval "ac_cv_func_shmat=yes" |
4165 else | 4237 else |
4166 echo "configure: failed program was:" >&5 | 4238 echo "configure: failed program was:" >&5 |
4167 cat conftest.$ac_ext >&5 | 4239 cat conftest.$ac_ext >&5 |
4178 fi | 4250 fi |
4179 | 4251 |
4180 if test $ac_cv_func_shmat = no; then | 4252 if test $ac_cv_func_shmat = no; then |
4181 | 4253 |
4182 echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6 | 4254 echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6 |
4183 echo "configure:4184: checking for shmat in -lipc" >&5 | 4255 echo "configure:4256: checking for shmat in -lipc" >&5 |
4184 ac_lib_var=`echo ipc'_'shmat | sed 'y%./+-%__p_%'` | 4256 ac_lib_var=`echo ipc'_'shmat | sed 'y%./+-%__p_%'` |
4185 | 4257 |
4186 xe_check_libs=" -lipc " | 4258 xe_check_libs=" -lipc " |
4187 cat > conftest.$ac_ext <<EOF | 4259 cat > conftest.$ac_ext <<EOF |
4188 #line 4189 "configure" | 4260 #line 4261 "configure" |
4189 #include "confdefs.h" | 4261 #include "confdefs.h" |
4190 /* Override any gcc2 internal prototype to avoid an error. */ | 4262 /* Override any gcc2 internal prototype to avoid an error. */ |
4191 /* We use char because int might match the return type of a gcc2 | 4263 /* We use char because int might match the return type of a gcc2 |
4192 builtin and then its argument prototype would still apply. */ | 4264 builtin and then its argument prototype would still apply. */ |
4193 char shmat(); | 4265 char shmat(); |
4194 | 4266 |
4195 int main() { | 4267 int main() { |
4196 shmat() | 4268 shmat() |
4197 ; return 0; } | 4269 ; return 0; } |
4198 EOF | 4270 EOF |
4199 if { (eval echo configure:4200: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4271 if { (eval echo configure:4272: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
4200 rm -rf conftest* | 4272 rm -rf conftest* |
4201 eval "ac_cv_lib_$ac_lib_var=yes" | 4273 eval "ac_cv_lib_$ac_lib_var=yes" |
4202 else | 4274 else |
4203 echo "configure: failed program was:" >&5 | 4275 echo "configure: failed program was:" >&5 |
4204 cat conftest.$ac_ext >&5 | 4276 cat conftest.$ac_ext >&5 |
4228 # These have to be linked with before -lX11, unlike the other | 4300 # These have to be linked with before -lX11, unlike the other |
4229 # libraries we check for below, so use a different variable. | 4301 # libraries we check for below, so use a different variable. |
4230 # --interran@uluru.Stanford.EDU, kb@cs.umb.edu. | 4302 # --interran@uluru.Stanford.EDU, kb@cs.umb.edu. |
4231 | 4303 |
4232 echo $ac_n "checking for IceConnectionNumber in -lICE""... $ac_c" 1>&6 | 4304 echo $ac_n "checking for IceConnectionNumber in -lICE""... $ac_c" 1>&6 |
4233 echo "configure:4234: checking for IceConnectionNumber in -lICE" >&5 | 4305 echo "configure:4306: checking for IceConnectionNumber in -lICE" >&5 |
4234 ac_lib_var=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'` | 4306 ac_lib_var=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'` |
4235 | 4307 |
4236 xe_check_libs=" -lICE " | 4308 xe_check_libs=" -lICE " |
4237 cat > conftest.$ac_ext <<EOF | 4309 cat > conftest.$ac_ext <<EOF |
4238 #line 4239 "configure" | 4310 #line 4311 "configure" |
4239 #include "confdefs.h" | 4311 #include "confdefs.h" |
4240 /* Override any gcc2 internal prototype to avoid an error. */ | 4312 /* Override any gcc2 internal prototype to avoid an error. */ |
4241 /* We use char because int might match the return type of a gcc2 | 4313 /* We use char because int might match the return type of a gcc2 |
4242 builtin and then its argument prototype would still apply. */ | 4314 builtin and then its argument prototype would still apply. */ |
4243 char IceConnectionNumber(); | 4315 char IceConnectionNumber(); |
4244 | 4316 |
4245 int main() { | 4317 int main() { |
4246 IceConnectionNumber() | 4318 IceConnectionNumber() |
4247 ; return 0; } | 4319 ; return 0; } |
4248 EOF | 4320 EOF |
4249 if { (eval echo configure:4250: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4321 if { (eval echo configure:4322: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
4250 rm -rf conftest* | 4322 rm -rf conftest* |
4251 eval "ac_cv_lib_$ac_lib_var=yes" | 4323 eval "ac_cv_lib_$ac_lib_var=yes" |
4252 else | 4324 else |
4253 echo "configure: failed program was:" >&5 | 4325 echo "configure: failed program was:" >&5 |
4254 cat conftest.$ac_ext >&5 | 4326 cat conftest.$ac_ext >&5 |
4325 | 4397 |
4326 if test "$add_runtime_path" = "yes" -a -n "$dash_r"; then | 4398 if test "$add_runtime_path" = "yes" -a -n "$dash_r"; then |
4327 ld_switch_site="`echo $ld_switch_site | sed \"s/${dash_r}[^ ]*//\"`" | 4399 ld_switch_site="`echo $ld_switch_site | sed \"s/${dash_r}[^ ]*//\"`" |
4328 ld_switch_x_site="`echo $ld_switch_x_site | sed \"s/${dash_r}[^ ]*//\"`" | 4400 ld_switch_x_site="`echo $ld_switch_x_site | sed \"s/${dash_r}[^ ]*//\"`" |
4329 | 4401 |
4330 if test -n "$LD_RUN_PATH"; then | 4402 runpath="" |
4403 if test -n "$LD_RUN_PATH"; then | |
4331 runpath="$LD_RUN_PATH" | 4404 runpath="$LD_RUN_PATH" |
4405 elif test "$GCC" = "yes"; then | |
4406 echo "int main(int argc, char *argv[]) {return 0;}" > conftest.c | |
4407 xe_runpath_link='${CC-cc} -o conftest -v $CFLAGS '"$xe_ldflags"' conftest.$ac_ext 2>&1 1>/dev/null' | |
4408 for arg in `eval "$xe_runpath_link" | grep ' -L'`; do | |
4409 case "$arg" in P,* | -L* | -R* ) | |
4410 for dir in `echo "$arg" | sed -e 's/^..//' -e 'y/:/ /'`; do | |
4411 | |
4412 xe_runpath_dir="$dir" | |
4413 if test "$xe_runpath_dir" != "/lib" -a \ | |
4414 "$xe_runpath_dir" != "/usr/lib" -a \ | |
4415 -n "`ls ${xe_runpath_dir}/*.s[ol] 2>/dev/null`"; then | |
4416 test -n "$runpath" && runpath="${runpath}:" | |
4417 runpath="${runpath}${xe_runpath_dir}" | |
4418 fi | |
4419 | |
4420 done ;; | |
4421 esac | |
4422 done | |
4423 rm -f conftest* | |
4332 else | 4424 else |
4333 runpath="" | 4425 for arg in $ld_switch_site $ld_switch_x_site; do |
4334 for arg in $ld_switch_site $ld_switch_x_site; do | 4426 case "$arg" in -L*) |
4335 case "$arg" in -L* ) | 4427 xe_runpath_dir=`echo "$arg" | sed 's/^-L//'` |
4336 dir=`echo "$arg" | sed 's/^-L//'` | 4428 if test "$xe_runpath_dir" != "/lib" -a \ |
4337 if test -n "`ls ${dir}/*.s[ol] 2>/dev/null`"; then | 4429 "$xe_runpath_dir" != "/usr/lib" -a \ |
4338 test -n "$runpath" && runpath="${runpath}:" | 4430 -n "`ls ${xe_runpath_dir}/*.s[ol] 2>/dev/null`"; then |
4339 runpath="${runpath}${dir}" | 4431 test -n "$runpath" && runpath="${runpath}:" |
4340 fi | 4432 runpath="${runpath}${xe_runpath_dir}" |
4341 ;; | 4433 fi |
4342 esac | 4434 ;; esac |
4343 done | 4435 done |
4344 case "$canonical" in *-solaris2.[1-4]* ) | 4436 case "$canonical" in *-solaris2.[1-4]* ) |
4345 test "$need_motif" = "yes" && runpath="${runpath}:/opt/SUNWdt/lib" ;; | 4437 test "$need_motif" = "yes" && runpath="${runpath}:/opt/SUNWdt/lib" ;; |
4346 esac | 4438 esac |
4347 fi | 4439 fi |
4348 | |
4349 if test -n "$runpath"; then | 4440 if test -n "$runpath"; then |
4350 ld_switch_run="${dash_r}${runpath}" | 4441 ld_switch_run="${dash_r}${runpath}" |
4351 test "$extra_verbose" = "yes" && echo "Setting runpath to $runpath" | 4442 test "$extra_verbose" = "yes" && echo "Setting runpath to $runpath" |
4352 fi | 4443 fi |
4353 fi | 4444 fi |
4354 | 4445 |
4355 | 4446 |
4356 if test "$extra_verbose" = "yes"; then | 4447 if test "$extra_verbose" = "yes"; then |
4357 echo; echo "X11 compilation variables:" | 4448 echo; echo "X11 compilation variables:" |
4358 echo "x_libraries = $x_libraries" | 4449 echo "x_libraries = \"$x_libraries\"" |
4359 echo "x_includes = $x_includes" | 4450 echo "x_includes = \"$x_includes\"" |
4360 echo "X_CFLAGS = $X_CFLAGS" | 4451 echo "X_CFLAGS = \"$X_CFLAGS\"" |
4361 echo "X_LIBS = $X_LIBS" | 4452 echo "X_LIBS = \"$X_LIBS\"" |
4362 echo "X_PRE_LIBS = $X_PRE_LIBS" | 4453 echo "X_PRE_LIBS = \"$X_PRE_LIBS\"" |
4363 echo "X_EXTRA_LIBS=\"$X_EXTRA_LIBS\"" | 4454 echo "X_EXTRA_LIBS = \"$X_EXTRA_LIBS\"" |
4364 echo | 4455 echo |
4365 fi | 4456 fi |
4366 | 4457 |
4367 ac_safe=`echo "X11/Intrinsic.h" | sed 'y%./+-%__p_%'` | 4458 ac_safe=`echo "X11/Intrinsic.h" | sed 'y%./+-%__p_%'` |
4368 echo $ac_n "checking for X11/Intrinsic.h""... $ac_c" 1>&6 | 4459 echo $ac_n "checking for X11/Intrinsic.h""... $ac_c" 1>&6 |
4369 echo "configure:4370: checking for X11/Intrinsic.h" >&5 | 4460 echo "configure:4461: checking for X11/Intrinsic.h" >&5 |
4370 | 4461 |
4371 cat > conftest.$ac_ext <<EOF | 4462 cat > conftest.$ac_ext <<EOF |
4372 #line 4373 "configure" | 4463 #line 4464 "configure" |
4373 #include "confdefs.h" | 4464 #include "confdefs.h" |
4374 #include <X11/Intrinsic.h> | 4465 #include <X11/Intrinsic.h> |
4375 EOF | 4466 EOF |
4376 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 4467 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
4377 { (eval echo configure:4378: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 4468 { (eval echo configure:4469: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
4378 ac_err=`grep -v '^ *+' conftest.out` | 4469 ac_err=`grep -v '^ *+' conftest.out` |
4379 if test -z "$ac_err"; then | 4470 if test -z "$ac_err"; then |
4380 rm -rf conftest* | 4471 rm -rf conftest* |
4381 eval "ac_cv_header_$ac_safe=yes" | 4472 eval "ac_cv_header_$ac_safe=yes" |
4382 else | 4473 else |
4396 fi | 4487 fi |
4397 | 4488 |
4398 | 4489 |
4399 | 4490 |
4400 echo $ac_n "checking for XOpenDisplay in -lX11""... $ac_c" 1>&6 | 4491 echo $ac_n "checking for XOpenDisplay in -lX11""... $ac_c" 1>&6 |
4401 echo "configure:4402: checking for XOpenDisplay in -lX11" >&5 | 4492 echo "configure:4493: checking for XOpenDisplay in -lX11" >&5 |
4402 ac_lib_var=`echo X11'_'XOpenDisplay | sed 'y%./+-%__p_%'` | 4493 ac_lib_var=`echo X11'_'XOpenDisplay | sed 'y%./+-%__p_%'` |
4403 | 4494 |
4404 xe_check_libs=" -lX11 " | 4495 xe_check_libs=" -lX11 " |
4405 cat > conftest.$ac_ext <<EOF | 4496 cat > conftest.$ac_ext <<EOF |
4406 #line 4407 "configure" | 4497 #line 4498 "configure" |
4407 #include "confdefs.h" | 4498 #include "confdefs.h" |
4408 /* Override any gcc2 internal prototype to avoid an error. */ | 4499 /* Override any gcc2 internal prototype to avoid an error. */ |
4409 /* We use char because int might match the return type of a gcc2 | 4500 /* We use char because int might match the return type of a gcc2 |
4410 builtin and then its argument prototype would still apply. */ | 4501 builtin and then its argument prototype would still apply. */ |
4411 char XOpenDisplay(); | 4502 char XOpenDisplay(); |
4412 | 4503 |
4413 int main() { | 4504 int main() { |
4414 XOpenDisplay() | 4505 XOpenDisplay() |
4415 ; return 0; } | 4506 ; return 0; } |
4416 EOF | 4507 EOF |
4417 if { (eval echo configure:4418: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4508 if { (eval echo configure:4509: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
4418 rm -rf conftest* | 4509 rm -rf conftest* |
4419 eval "ac_cv_lib_$ac_lib_var=yes" | 4510 eval "ac_cv_lib_$ac_lib_var=yes" |
4420 else | 4511 else |
4421 echo "configure: failed program was:" >&5 | 4512 echo "configure: failed program was:" >&5 |
4422 cat conftest.$ac_ext >&5 | 4513 cat conftest.$ac_ext >&5 |
4437 if test "$have_lib_x11" != "yes"; then | 4528 if test "$have_lib_x11" != "yes"; then |
4438 | 4529 |
4439 xe_msg_checking="for XGetFontProperty in -lX11" | 4530 xe_msg_checking="for XGetFontProperty in -lX11" |
4440 test -n "-b i486-linuxaout" && xe_msg_checking="$xe_msg_checking using extra libs -b i486-linuxaout" | 4531 test -n "-b i486-linuxaout" && xe_msg_checking="$xe_msg_checking using extra libs -b i486-linuxaout" |
4441 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 4532 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
4442 echo "configure:4443: checking "$xe_msg_checking"" >&5 | 4533 echo "configure:4534: checking "$xe_msg_checking"" >&5 |
4443 ac_lib_var=`echo X11'_'XGetFontProperty | sed 'y%./+-%__p_%'` | 4534 ac_lib_var=`echo X11'_'XGetFontProperty | sed 'y%./+-%__p_%'` |
4444 | 4535 |
4445 xe_check_libs=" -lX11 -b i486-linuxaout" | 4536 xe_check_libs=" -lX11 -b i486-linuxaout" |
4446 cat > conftest.$ac_ext <<EOF | 4537 cat > conftest.$ac_ext <<EOF |
4447 #line 4448 "configure" | 4538 #line 4539 "configure" |
4448 #include "confdefs.h" | 4539 #include "confdefs.h" |
4449 /* Override any gcc2 internal prototype to avoid an error. */ | 4540 /* Override any gcc2 internal prototype to avoid an error. */ |
4450 /* We use char because int might match the return type of a gcc2 | 4541 /* We use char because int might match the return type of a gcc2 |
4451 builtin and then its argument prototype would still apply. */ | 4542 builtin and then its argument prototype would still apply. */ |
4452 char XGetFontProperty(); | 4543 char XGetFontProperty(); |
4453 | 4544 |
4454 int main() { | 4545 int main() { |
4455 XGetFontProperty() | 4546 XGetFontProperty() |
4456 ; return 0; } | 4547 ; return 0; } |
4457 EOF | 4548 EOF |
4458 if { (eval echo configure:4459: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4549 if { (eval echo configure:4550: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
4459 rm -rf conftest* | 4550 rm -rf conftest* |
4460 eval "ac_cv_lib_$ac_lib_var=yes" | 4551 eval "ac_cv_lib_$ac_lib_var=yes" |
4461 else | 4552 else |
4462 echo "configure: failed program was:" >&5 | 4553 echo "configure: failed program was:" >&5 |
4463 cat conftest.$ac_ext >&5 | 4554 cat conftest.$ac_ext >&5 |
4480 libs_x="-lX11" | 4571 libs_x="-lX11" |
4481 test "$extra_verbose" = "yes" && echo " Setting libs_x to \"-lX11\"" | 4572 test "$extra_verbose" = "yes" && echo " Setting libs_x to \"-lX11\"" |
4482 | 4573 |
4483 | 4574 |
4484 echo $ac_n "checking for XShapeSelectInput in -lXext""... $ac_c" 1>&6 | 4575 echo $ac_n "checking for XShapeSelectInput in -lXext""... $ac_c" 1>&6 |
4485 echo "configure:4486: checking for XShapeSelectInput in -lXext" >&5 | 4576 echo "configure:4577: checking for XShapeSelectInput in -lXext" >&5 |
4486 ac_lib_var=`echo Xext'_'XShapeSelectInput | sed 'y%./+-%__p_%'` | 4577 ac_lib_var=`echo Xext'_'XShapeSelectInput | sed 'y%./+-%__p_%'` |
4487 | 4578 |
4488 xe_check_libs=" -lXext " | 4579 xe_check_libs=" -lXext " |
4489 cat > conftest.$ac_ext <<EOF | 4580 cat > conftest.$ac_ext <<EOF |
4490 #line 4491 "configure" | 4581 #line 4582 "configure" |
4491 #include "confdefs.h" | 4582 #include "confdefs.h" |
4492 /* Override any gcc2 internal prototype to avoid an error. */ | 4583 /* Override any gcc2 internal prototype to avoid an error. */ |
4493 /* We use char because int might match the return type of a gcc2 | 4584 /* We use char because int might match the return type of a gcc2 |
4494 builtin and then its argument prototype would still apply. */ | 4585 builtin and then its argument prototype would still apply. */ |
4495 char XShapeSelectInput(); | 4586 char XShapeSelectInput(); |
4496 | 4587 |
4497 int main() { | 4588 int main() { |
4498 XShapeSelectInput() | 4589 XShapeSelectInput() |
4499 ; return 0; } | 4590 ; return 0; } |
4500 EOF | 4591 EOF |
4501 if { (eval echo configure:4502: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4592 if { (eval echo configure:4593: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
4502 rm -rf conftest* | 4593 rm -rf conftest* |
4503 eval "ac_cv_lib_$ac_lib_var=yes" | 4594 eval "ac_cv_lib_$ac_lib_var=yes" |
4504 else | 4595 else |
4505 echo "configure: failed program was:" >&5 | 4596 echo "configure: failed program was:" >&5 |
4506 cat conftest.$ac_ext >&5 | 4597 cat conftest.$ac_ext >&5 |
4522 case "$canonical" in *-sunos4.* ) # Bug workaround | 4613 case "$canonical" in *-sunos4.* ) # Bug workaround |
4523 ld_switch_x_site="$ld_switch_x_site -u _XtToolkitInitialize" ;; | 4614 ld_switch_x_site="$ld_switch_x_site -u _XtToolkitInitialize" ;; |
4524 esac | 4615 esac |
4525 | 4616 |
4526 echo $ac_n "checking for XtOpenDisplay in -lXt""... $ac_c" 1>&6 | 4617 echo $ac_n "checking for XtOpenDisplay in -lXt""... $ac_c" 1>&6 |
4527 echo "configure:4528: checking for XtOpenDisplay in -lXt" >&5 | 4618 echo "configure:4619: checking for XtOpenDisplay in -lXt" >&5 |
4528 ac_lib_var=`echo Xt'_'XtOpenDisplay | sed 'y%./+-%__p_%'` | 4619 ac_lib_var=`echo Xt'_'XtOpenDisplay | sed 'y%./+-%__p_%'` |
4529 | 4620 |
4530 xe_check_libs=" -lXt " | 4621 xe_check_libs=" -lXt " |
4531 cat > conftest.$ac_ext <<EOF | 4622 cat > conftest.$ac_ext <<EOF |
4532 #line 4533 "configure" | 4623 #line 4624 "configure" |
4533 #include "confdefs.h" | 4624 #include "confdefs.h" |
4534 /* Override any gcc2 internal prototype to avoid an error. */ | 4625 /* Override any gcc2 internal prototype to avoid an error. */ |
4535 /* We use char because int might match the return type of a gcc2 | 4626 /* We use char because int might match the return type of a gcc2 |
4536 builtin and then its argument prototype would still apply. */ | 4627 builtin and then its argument prototype would still apply. */ |
4537 char XtOpenDisplay(); | 4628 char XtOpenDisplay(); |
4538 | 4629 |
4539 int main() { | 4630 int main() { |
4540 XtOpenDisplay() | 4631 XtOpenDisplay() |
4541 ; return 0; } | 4632 ; return 0; } |
4542 EOF | 4633 EOF |
4543 if { (eval echo configure:4544: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4634 if { (eval echo configure:4635: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
4544 rm -rf conftest* | 4635 rm -rf conftest* |
4545 eval "ac_cv_lib_$ac_lib_var=yes" | 4636 eval "ac_cv_lib_$ac_lib_var=yes" |
4546 else | 4637 else |
4547 echo "configure: failed program was:" >&5 | 4638 echo "configure: failed program was:" >&5 |
4548 cat conftest.$ac_ext >&5 | 4639 cat conftest.$ac_ext >&5 |
4561 fi | 4652 fi |
4562 | 4653 |
4563 | 4654 |
4564 | 4655 |
4565 echo $ac_n "checking the version of X11 being used""... $ac_c" 1>&6 | 4656 echo $ac_n "checking the version of X11 being used""... $ac_c" 1>&6 |
4566 echo "configure:4567: checking the version of X11 being used" >&5 | 4657 echo "configure:4658: checking the version of X11 being used" >&5 |
4567 cat > conftest.$ac_ext <<EOF | 4658 cat > conftest.$ac_ext <<EOF |
4568 #line 4569 "configure" | 4659 #line 4660 "configure" |
4569 #include "confdefs.h" | 4660 #include "confdefs.h" |
4570 #include <X11/Intrinsic.h> | 4661 #include <X11/Intrinsic.h> |
4571 main(int c, char* v[]) { return c>1 ? XlibSpecificationRelease : 0; } | 4662 main(int c, char* v[]) { return c>1 ? XlibSpecificationRelease : 0; } |
4572 EOF | 4663 EOF |
4573 if { (eval echo configure:4574: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 | 4664 if { (eval echo configure:4665: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 |
4574 then | 4665 then |
4575 ./conftest foobar; x11_release=$? | 4666 ./conftest foobar; x11_release=$? |
4576 else | 4667 else |
4577 echo "configure: failed program was:" >&5 | 4668 echo "configure: failed program was:" >&5 |
4578 cat conftest.$ac_ext >&5 | 4669 cat conftest.$ac_ext >&5 |
4592 | 4683 |
4593 for ac_hdr in X11/Xlocale.h | 4684 for ac_hdr in X11/Xlocale.h |
4594 do | 4685 do |
4595 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 4686 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
4596 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 4687 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
4597 echo "configure:4598: checking for $ac_hdr" >&5 | 4688 echo "configure:4689: checking for $ac_hdr" >&5 |
4598 | 4689 |
4599 cat > conftest.$ac_ext <<EOF | 4690 cat > conftest.$ac_ext <<EOF |
4600 #line 4601 "configure" | 4691 #line 4692 "configure" |
4601 #include "confdefs.h" | 4692 #include "confdefs.h" |
4602 #include <$ac_hdr> | 4693 #include <$ac_hdr> |
4603 EOF | 4694 EOF |
4604 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 4695 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
4605 { (eval echo configure:4606: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 4696 { (eval echo configure:4697: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
4606 ac_err=`grep -v '^ *+' conftest.out` | 4697 ac_err=`grep -v '^ *+' conftest.out` |
4607 if test -z "$ac_err"; then | 4698 if test -z "$ac_err"; then |
4608 rm -rf conftest* | 4699 rm -rf conftest* |
4609 eval "ac_cv_header_$ac_safe=yes" | 4700 eval "ac_cv_header_$ac_safe=yes" |
4610 else | 4701 else |
4631 fi | 4722 fi |
4632 done | 4723 done |
4633 | 4724 |
4634 | 4725 |
4635 echo $ac_n "checking for XFree86""... $ac_c" 1>&6 | 4726 echo $ac_n "checking for XFree86""... $ac_c" 1>&6 |
4636 echo "configure:4637: checking for XFree86" >&5 | 4727 echo "configure:4728: checking for XFree86" >&5 |
4637 if test -d "/usr/X386/include" -o \ | 4728 if test -d "/usr/X386/include" -o \ |
4638 -f "/etc/XF86Config" -o \ | 4729 -f "/etc/XF86Config" -o \ |
4639 -f "/etc/X11/XF86Config" -o \ | 4730 -f "/etc/X11/XF86Config" -o \ |
4640 -f "/usr/X11R6/lib/X11/XF86Config"; then | 4731 -f "/usr/X11R6/lib/X11/XF86Config"; then |
4641 echo "$ac_t""yes" 1>&6 | 4732 echo "$ac_t""yes" 1>&6 |
4655 ld_switch_x_site="$ld_switch_x_site -u _get_applicationShellWidgetClass" ;; | 4746 ld_switch_x_site="$ld_switch_x_site -u _get_applicationShellWidgetClass" ;; |
4656 esac | 4747 esac |
4657 if test -z "$with_xmu"; then | 4748 if test -z "$with_xmu"; then |
4658 | 4749 |
4659 echo $ac_n "checking for XmuConvertStandardSelection in -lXmu""... $ac_c" 1>&6 | 4750 echo $ac_n "checking for XmuConvertStandardSelection in -lXmu""... $ac_c" 1>&6 |
4660 echo "configure:4661: checking for XmuConvertStandardSelection in -lXmu" >&5 | 4751 echo "configure:4752: checking for XmuConvertStandardSelection in -lXmu" >&5 |
4661 ac_lib_var=`echo Xmu'_'XmuConvertStandardSelection | sed 'y%./+-%__p_%'` | 4752 ac_lib_var=`echo Xmu'_'XmuConvertStandardSelection | sed 'y%./+-%__p_%'` |
4662 | 4753 |
4663 xe_check_libs=" -lXmu " | 4754 xe_check_libs=" -lXmu " |
4664 cat > conftest.$ac_ext <<EOF | 4755 cat > conftest.$ac_ext <<EOF |
4665 #line 4666 "configure" | 4756 #line 4757 "configure" |
4666 #include "confdefs.h" | 4757 #include "confdefs.h" |
4667 /* Override any gcc2 internal prototype to avoid an error. */ | 4758 /* Override any gcc2 internal prototype to avoid an error. */ |
4668 /* We use char because int might match the return type of a gcc2 | 4759 /* We use char because int might match the return type of a gcc2 |
4669 builtin and then its argument prototype would still apply. */ | 4760 builtin and then its argument prototype would still apply. */ |
4670 char XmuConvertStandardSelection(); | 4761 char XmuConvertStandardSelection(); |
4671 | 4762 |
4672 int main() { | 4763 int main() { |
4673 XmuConvertStandardSelection() | 4764 XmuConvertStandardSelection() |
4674 ; return 0; } | 4765 ; return 0; } |
4675 EOF | 4766 EOF |
4676 if { (eval echo configure:4677: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4767 if { (eval echo configure:4768: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
4677 rm -rf conftest* | 4768 rm -rf conftest* |
4678 eval "ac_cv_lib_$ac_lib_var=yes" | 4769 eval "ac_cv_lib_$ac_lib_var=yes" |
4679 else | 4770 else |
4680 echo "configure: failed program was:" >&5 | 4771 echo "configure: failed program was:" >&5 |
4681 cat conftest.$ac_ext >&5 | 4772 cat conftest.$ac_ext >&5 |
4703 libs_x="-lXmu $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXmu\" to \$libs_x"; fi | 4794 libs_x="-lXmu $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXmu\" to \$libs_x"; fi |
4704 fi | 4795 fi |
4705 | 4796 |
4706 | 4797 |
4707 echo $ac_n "checking for main in -lXbsd""... $ac_c" 1>&6 | 4798 echo $ac_n "checking for main in -lXbsd""... $ac_c" 1>&6 |
4708 echo "configure:4709: checking for main in -lXbsd" >&5 | 4799 echo "configure:4800: checking for main in -lXbsd" >&5 |
4709 ac_lib_var=`echo Xbsd'_'main | sed 'y%./+-%__p_%'` | 4800 ac_lib_var=`echo Xbsd'_'main | sed 'y%./+-%__p_%'` |
4710 | 4801 |
4711 xe_check_libs=" -lXbsd " | 4802 xe_check_libs=" -lXbsd " |
4712 cat > conftest.$ac_ext <<EOF | 4803 cat > conftest.$ac_ext <<EOF |
4713 #line 4714 "configure" | 4804 #line 4805 "configure" |
4714 #include "confdefs.h" | 4805 #include "confdefs.h" |
4715 | 4806 |
4716 int main() { | 4807 int main() { |
4717 main() | 4808 main() |
4718 ; return 0; } | 4809 ; return 0; } |
4719 EOF | 4810 EOF |
4720 if { (eval echo configure:4721: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4811 if { (eval echo configure:4812: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
4721 rm -rf conftest* | 4812 rm -rf conftest* |
4722 eval "ac_cv_lib_$ac_lib_var=yes" | 4813 eval "ac_cv_lib_$ac_lib_var=yes" |
4723 else | 4814 else |
4724 echo "configure: failed program was:" >&5 | 4815 echo "configure: failed program was:" >&5 |
4725 cat conftest.$ac_ext >&5 | 4816 cat conftest.$ac_ext >&5 |
4738 | 4829 |
4739 | 4830 |
4740 | 4831 |
4741 | 4832 |
4742 echo $ac_n "checking for XawScrollbarSetThumb in -lXaw""... $ac_c" 1>&6 | 4833 echo $ac_n "checking for XawScrollbarSetThumb in -lXaw""... $ac_c" 1>&6 |
4743 echo "configure:4744: checking for XawScrollbarSetThumb in -lXaw" >&5 | 4834 echo "configure:4835: checking for XawScrollbarSetThumb in -lXaw" >&5 |
4744 ac_lib_var=`echo Xaw'_'XawScrollbarSetThumb | sed 'y%./+-%__p_%'` | 4835 ac_lib_var=`echo Xaw'_'XawScrollbarSetThumb | sed 'y%./+-%__p_%'` |
4745 | 4836 |
4746 xe_check_libs=" -lXaw " | 4837 xe_check_libs=" -lXaw " |
4747 cat > conftest.$ac_ext <<EOF | 4838 cat > conftest.$ac_ext <<EOF |
4748 #line 4749 "configure" | 4839 #line 4840 "configure" |
4749 #include "confdefs.h" | 4840 #include "confdefs.h" |
4750 /* Override any gcc2 internal prototype to avoid an error. */ | 4841 /* Override any gcc2 internal prototype to avoid an error. */ |
4751 /* We use char because int might match the return type of a gcc2 | 4842 /* We use char because int might match the return type of a gcc2 |
4752 builtin and then its argument prototype would still apply. */ | 4843 builtin and then its argument prototype would still apply. */ |
4753 char XawScrollbarSetThumb(); | 4844 char XawScrollbarSetThumb(); |
4754 | 4845 |
4755 int main() { | 4846 int main() { |
4756 XawScrollbarSetThumb() | 4847 XawScrollbarSetThumb() |
4757 ; return 0; } | 4848 ; return 0; } |
4758 EOF | 4849 EOF |
4759 if { (eval echo configure:4760: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4850 if { (eval echo configure:4851: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
4760 rm -rf conftest* | 4851 rm -rf conftest* |
4761 eval "ac_cv_lib_$ac_lib_var=yes" | 4852 eval "ac_cv_lib_$ac_lib_var=yes" |
4762 else | 4853 else |
4763 echo "configure: failed program was:" >&5 | 4854 echo "configure: failed program was:" >&5 |
4764 cat conftest.$ac_ext >&5 | 4855 cat conftest.$ac_ext >&5 |
4796 done | 4887 done |
4797 else | 4888 else |
4798 test -z "$with_toolbars" && with_toolbars=yes | 4889 test -z "$with_toolbars" && with_toolbars=yes |
4799 fi | 4890 fi |
4800 | 4891 |
4801 if false; then # obsolete | |
4802 runtime_arg="-R${dash_r_space}" | |
4803 | |
4804 case "$canonical" in | |
4805 *-sun-solaris* | *-sun-sunos5* ) | |
4806 add_runtime_flag=yes ;; | |
4807 *-sgi-irix5.* ) | |
4808 if test -n "$x_libraries" || test -n "$site_runtime_libraries" ; then | |
4809 (echo "WARNING: The IRIX 5 ld ignores all but the last -rpath argument,"; | |
4810 echo " so if you need to specify more than one additional"; | |
4811 echo " runtime library directory, you will have to do so"; | |
4812 echo " manually by setting the environment variable"; | |
4813 echo " LD_SWITCH_SITE to '-rpath <path>' before running"; | |
4814 echo " configure. If you have only one additional directory," | |
4815 echo " you can specify it with --site-runtime-libraries.") >&2 | |
4816 fi | |
4817 runtime_arg="-rpath " ;; | |
4818 *-sgi-irix* ) | |
4819 add_runtime_flag=yes; | |
4820 runtime_arg="-rpath " ;; | |
4821 esac | |
4822 fi | |
4823 | |
4824 | |
4825 bitmapdir= | 4892 bitmapdir= |
4826 | 4893 |
4827 case "$window_system" in | 4894 case "$window_system" in |
4828 x11 ) HAVE_X_WINDOWS=yes; echo " Using X11." ;; | 4895 x11 ) HAVE_X_WINDOWS=yes; echo " Using X11." ;; |
4829 none ) HAVE_X_WINDOWS=no ; echo " Using no window system." ;; | 4896 none ) HAVE_X_WINDOWS=no ; echo " Using no window system." ;; |
4835 esac | 4902 esac |
4836 | 4903 |
4837 test -z "$with_xauth" && test "$window_system" = "none" && with_xauth=no | 4904 test -z "$with_xauth" && test "$window_system" = "none" && with_xauth=no |
4838 test -z "$with_xauth" && { ac_safe=`echo "X11/Xauth.h" | sed 'y%./+-%__p_%'` | 4905 test -z "$with_xauth" && { ac_safe=`echo "X11/Xauth.h" | sed 'y%./+-%__p_%'` |
4839 echo $ac_n "checking for X11/Xauth.h""... $ac_c" 1>&6 | 4906 echo $ac_n "checking for X11/Xauth.h""... $ac_c" 1>&6 |
4840 echo "configure:4841: checking for X11/Xauth.h" >&5 | 4907 echo "configure:4908: checking for X11/Xauth.h" >&5 |
4841 | 4908 |
4842 cat > conftest.$ac_ext <<EOF | 4909 cat > conftest.$ac_ext <<EOF |
4843 #line 4844 "configure" | 4910 #line 4911 "configure" |
4844 #include "confdefs.h" | 4911 #include "confdefs.h" |
4845 #include <X11/Xauth.h> | 4912 #include <X11/Xauth.h> |
4846 EOF | 4913 EOF |
4847 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 4914 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
4848 { (eval echo configure:4849: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 4915 { (eval echo configure:4916: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
4849 ac_err=`grep -v '^ *+' conftest.out` | 4916 ac_err=`grep -v '^ *+' conftest.out` |
4850 if test -z "$ac_err"; then | 4917 if test -z "$ac_err"; then |
4851 rm -rf conftest* | 4918 rm -rf conftest* |
4852 eval "ac_cv_header_$ac_safe=yes" | 4919 eval "ac_cv_header_$ac_safe=yes" |
4853 else | 4920 else |
4866 with_xauth=no | 4933 with_xauth=no |
4867 fi | 4934 fi |
4868 } | 4935 } |
4869 test -z "$with_xauth" && { | 4936 test -z "$with_xauth" && { |
4870 echo $ac_n "checking for XauGetAuthByAddr in -lXau""... $ac_c" 1>&6 | 4937 echo $ac_n "checking for XauGetAuthByAddr in -lXau""... $ac_c" 1>&6 |
4871 echo "configure:4872: checking for XauGetAuthByAddr in -lXau" >&5 | 4938 echo "configure:4939: checking for XauGetAuthByAddr in -lXau" >&5 |
4872 ac_lib_var=`echo Xau'_'XauGetAuthByAddr | sed 'y%./+-%__p_%'` | 4939 ac_lib_var=`echo Xau'_'XauGetAuthByAddr | sed 'y%./+-%__p_%'` |
4873 | 4940 |
4874 xe_check_libs=" -lXau " | 4941 xe_check_libs=" -lXau " |
4875 cat > conftest.$ac_ext <<EOF | 4942 cat > conftest.$ac_ext <<EOF |
4876 #line 4877 "configure" | 4943 #line 4944 "configure" |
4877 #include "confdefs.h" | 4944 #include "confdefs.h" |
4878 /* Override any gcc2 internal prototype to avoid an error. */ | 4945 /* Override any gcc2 internal prototype to avoid an error. */ |
4879 /* We use char because int might match the return type of a gcc2 | 4946 /* We use char because int might match the return type of a gcc2 |
4880 builtin and then its argument prototype would still apply. */ | 4947 builtin and then its argument prototype would still apply. */ |
4881 char XauGetAuthByAddr(); | 4948 char XauGetAuthByAddr(); |
4882 | 4949 |
4883 int main() { | 4950 int main() { |
4884 XauGetAuthByAddr() | 4951 XauGetAuthByAddr() |
4885 ; return 0; } | 4952 ; return 0; } |
4886 EOF | 4953 EOF |
4887 if { (eval echo configure:4888: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4954 if { (eval echo configure:4955: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
4888 rm -rf conftest* | 4955 rm -rf conftest* |
4889 eval "ac_cv_lib_$ac_lib_var=yes" | 4956 eval "ac_cv_lib_$ac_lib_var=yes" |
4890 else | 4957 else |
4891 echo "configure: failed program was:" >&5 | 4958 echo "configure: failed program was:" >&5 |
4892 cat conftest.$ac_ext >&5 | 4959 cat conftest.$ac_ext >&5 |
4918 libs_x="-lXau $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXau\" to \$libs_x"; fi | 4985 libs_x="-lXau $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXau\" to \$libs_x"; fi |
4919 fi | 4986 fi |
4920 | 4987 |
4921 test -z "$with_offix" && { ac_safe=`echo "OffiX/DragAndDrop.h" | sed 'y%./+-%__p_%'` | 4988 test -z "$with_offix" && { ac_safe=`echo "OffiX/DragAndDrop.h" | sed 'y%./+-%__p_%'` |
4922 echo $ac_n "checking for OffiX/DragAndDrop.h""... $ac_c" 1>&6 | 4989 echo $ac_n "checking for OffiX/DragAndDrop.h""... $ac_c" 1>&6 |
4923 echo "configure:4924: checking for OffiX/DragAndDrop.h" >&5 | 4990 echo "configure:4991: checking for OffiX/DragAndDrop.h" >&5 |
4924 | 4991 |
4925 cat > conftest.$ac_ext <<EOF | 4992 cat > conftest.$ac_ext <<EOF |
4926 #line 4927 "configure" | 4993 #line 4994 "configure" |
4927 #include "confdefs.h" | 4994 #include "confdefs.h" |
4928 #include <OffiX/DragAndDrop.h> | 4995 #include <OffiX/DragAndDrop.h> |
4929 EOF | 4996 EOF |
4930 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 4997 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
4931 { (eval echo configure:4932: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 4998 { (eval echo configure:4999: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
4932 ac_err=`grep -v '^ *+' conftest.out` | 4999 ac_err=`grep -v '^ *+' conftest.out` |
4933 if test -z "$ac_err"; then | 5000 if test -z "$ac_err"; then |
4934 rm -rf conftest* | 5001 rm -rf conftest* |
4935 eval "ac_cv_header_$ac_safe=yes" | 5002 eval "ac_cv_header_$ac_safe=yes" |
4936 else | 5003 else |
4949 with_offix=no | 5016 with_offix=no |
4950 fi | 5017 fi |
4951 } | 5018 } |
4952 test -z "$with_offix" && { | 5019 test -z "$with_offix" && { |
4953 echo $ac_n "checking for DndInitialize in -lDnd""... $ac_c" 1>&6 | 5020 echo $ac_n "checking for DndInitialize in -lDnd""... $ac_c" 1>&6 |
4954 echo "configure:4955: checking for DndInitialize in -lDnd" >&5 | 5021 echo "configure:5022: checking for DndInitialize in -lDnd" >&5 |
4955 ac_lib_var=`echo Dnd'_'DndInitialize | sed 'y%./+-%__p_%'` | 5022 ac_lib_var=`echo Dnd'_'DndInitialize | sed 'y%./+-%__p_%'` |
4956 | 5023 |
4957 xe_check_libs=" -lDnd " | 5024 xe_check_libs=" -lDnd " |
4958 cat > conftest.$ac_ext <<EOF | 5025 cat > conftest.$ac_ext <<EOF |
4959 #line 4960 "configure" | 5026 #line 5027 "configure" |
4960 #include "confdefs.h" | 5027 #include "confdefs.h" |
4961 /* Override any gcc2 internal prototype to avoid an error. */ | 5028 /* Override any gcc2 internal prototype to avoid an error. */ |
4962 /* We use char because int might match the return type of a gcc2 | 5029 /* We use char because int might match the return type of a gcc2 |
4963 builtin and then its argument prototype would still apply. */ | 5030 builtin and then its argument prototype would still apply. */ |
4964 char DndInitialize(); | 5031 char DndInitialize(); |
4965 | 5032 |
4966 int main() { | 5033 int main() { |
4967 DndInitialize() | 5034 DndInitialize() |
4968 ; return 0; } | 5035 ; return 0; } |
4969 EOF | 5036 EOF |
4970 if { (eval echo configure:4971: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 5037 if { (eval echo configure:5038: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
4971 rm -rf conftest* | 5038 rm -rf conftest* |
4972 eval "ac_cv_lib_$ac_lib_var=yes" | 5039 eval "ac_cv_lib_$ac_lib_var=yes" |
4973 else | 5040 else |
4974 echo "configure: failed program was:" >&5 | 5041 echo "configure: failed program was:" >&5 |
4975 cat conftest.$ac_ext >&5 | 5042 cat conftest.$ac_ext >&5 |
5004 test "$with_cde" = "yes" && with_tooltalk=yes # CDE requires tooltalk | 5071 test "$with_cde" = "yes" && with_tooltalk=yes # CDE requires tooltalk |
5005 if test "$with_tooltalk" != "no" ; then | 5072 if test "$with_tooltalk" != "no" ; then |
5006 for dir in "" "Tt/" "desktop/" ; do | 5073 for dir in "" "Tt/" "desktop/" ; do |
5007 ac_safe=`echo "${dir}tt_c.h" | sed 'y%./+-%__p_%'` | 5074 ac_safe=`echo "${dir}tt_c.h" | sed 'y%./+-%__p_%'` |
5008 echo $ac_n "checking for ${dir}tt_c.h""... $ac_c" 1>&6 | 5075 echo $ac_n "checking for ${dir}tt_c.h""... $ac_c" 1>&6 |
5009 echo "configure:5010: checking for ${dir}tt_c.h" >&5 | 5076 echo "configure:5077: checking for ${dir}tt_c.h" >&5 |
5010 | 5077 |
5011 cat > conftest.$ac_ext <<EOF | 5078 cat > conftest.$ac_ext <<EOF |
5012 #line 5013 "configure" | 5079 #line 5080 "configure" |
5013 #include "confdefs.h" | 5080 #include "confdefs.h" |
5014 #include <${dir}tt_c.h> | 5081 #include <${dir}tt_c.h> |
5015 EOF | 5082 EOF |
5016 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 5083 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
5017 { (eval echo configure:5018: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 5084 { (eval echo configure:5085: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
5018 ac_err=`grep -v '^ *+' conftest.out` | 5085 ac_err=`grep -v '^ *+' conftest.out` |
5019 if test -z "$ac_err"; then | 5086 if test -z "$ac_err"; then |
5020 rm -rf conftest* | 5087 rm -rf conftest* |
5021 eval "ac_cv_header_$ac_safe=yes" | 5088 eval "ac_cv_header_$ac_safe=yes" |
5022 else | 5089 else |
5041 for extra_libs in "" "-lI18N -lce" "-lcxx"; do | 5108 for extra_libs in "" "-lI18N -lce" "-lcxx"; do |
5042 | 5109 |
5043 xe_msg_checking="for tt_message_create in -ltt" | 5110 xe_msg_checking="for tt_message_create in -ltt" |
5044 test -n "$extra_libs" && xe_msg_checking="$xe_msg_checking using extra libs $extra_libs" | 5111 test -n "$extra_libs" && xe_msg_checking="$xe_msg_checking using extra libs $extra_libs" |
5045 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 5112 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
5046 echo "configure:5047: checking "$xe_msg_checking"" >&5 | 5113 echo "configure:5114: checking "$xe_msg_checking"" >&5 |
5047 ac_lib_var=`echo tt'_'tt_message_create | sed 'y%./+-%__p_%'` | 5114 ac_lib_var=`echo tt'_'tt_message_create | sed 'y%./+-%__p_%'` |
5048 | 5115 |
5049 xe_check_libs=" -ltt $extra_libs" | 5116 xe_check_libs=" -ltt $extra_libs" |
5050 cat > conftest.$ac_ext <<EOF | 5117 cat > conftest.$ac_ext <<EOF |
5051 #line 5052 "configure" | 5118 #line 5119 "configure" |
5052 #include "confdefs.h" | 5119 #include "confdefs.h" |
5053 /* Override any gcc2 internal prototype to avoid an error. */ | 5120 /* Override any gcc2 internal prototype to avoid an error. */ |
5054 /* We use char because int might match the return type of a gcc2 | 5121 /* We use char because int might match the return type of a gcc2 |
5055 builtin and then its argument prototype would still apply. */ | 5122 builtin and then its argument prototype would still apply. */ |
5056 char tt_message_create(); | 5123 char tt_message_create(); |
5057 | 5124 |
5058 int main() { | 5125 int main() { |
5059 tt_message_create() | 5126 tt_message_create() |
5060 ; return 0; } | 5127 ; return 0; } |
5061 EOF | 5128 EOF |
5062 if { (eval echo configure:5063: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 5129 if { (eval echo configure:5130: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
5063 rm -rf conftest* | 5130 rm -rf conftest* |
5064 eval "ac_cv_lib_$ac_lib_var=yes" | 5131 eval "ac_cv_lib_$ac_lib_var=yes" |
5065 else | 5132 else |
5066 echo "configure: failed program was:" >&5 | 5133 echo "configure: failed program was:" >&5 |
5067 cat conftest.$ac_ext >&5 | 5134 cat conftest.$ac_ext >&5 |
5106 fi | 5173 fi |
5107 fi | 5174 fi |
5108 | 5175 |
5109 test -z "$with_cde" && { ac_safe=`echo "Dt/Dt.h" | sed 'y%./+-%__p_%'` | 5176 test -z "$with_cde" && { ac_safe=`echo "Dt/Dt.h" | sed 'y%./+-%__p_%'` |
5110 echo $ac_n "checking for Dt/Dt.h""... $ac_c" 1>&6 | 5177 echo $ac_n "checking for Dt/Dt.h""... $ac_c" 1>&6 |
5111 echo "configure:5112: checking for Dt/Dt.h" >&5 | 5178 echo "configure:5179: checking for Dt/Dt.h" >&5 |
5112 | 5179 |
5113 cat > conftest.$ac_ext <<EOF | 5180 cat > conftest.$ac_ext <<EOF |
5114 #line 5115 "configure" | 5181 #line 5182 "configure" |
5115 #include "confdefs.h" | 5182 #include "confdefs.h" |
5116 #include <Dt/Dt.h> | 5183 #include <Dt/Dt.h> |
5117 EOF | 5184 EOF |
5118 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 5185 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
5119 { (eval echo configure:5120: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 5186 { (eval echo configure:5187: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
5120 ac_err=`grep -v '^ *+' conftest.out` | 5187 ac_err=`grep -v '^ *+' conftest.out` |
5121 if test -z "$ac_err"; then | 5188 if test -z "$ac_err"; then |
5122 rm -rf conftest* | 5189 rm -rf conftest* |
5123 eval "ac_cv_header_$ac_safe=yes" | 5190 eval "ac_cv_header_$ac_safe=yes" |
5124 else | 5191 else |
5137 with_cde=no | 5204 with_cde=no |
5138 fi | 5205 fi |
5139 } | 5206 } |
5140 test -z "$with_cde" && { | 5207 test -z "$with_cde" && { |
5141 echo $ac_n "checking for DtDndDragStart in -lDtSvc""... $ac_c" 1>&6 | 5208 echo $ac_n "checking for DtDndDragStart in -lDtSvc""... $ac_c" 1>&6 |
5142 echo "configure:5143: checking for DtDndDragStart in -lDtSvc" >&5 | 5209 echo "configure:5210: checking for DtDndDragStart in -lDtSvc" >&5 |
5143 ac_lib_var=`echo DtSvc'_'DtDndDragStart | sed 'y%./+-%__p_%'` | 5210 ac_lib_var=`echo DtSvc'_'DtDndDragStart | sed 'y%./+-%__p_%'` |
5144 | 5211 |
5145 xe_check_libs=" -lDtSvc " | 5212 xe_check_libs=" -lDtSvc " |
5146 cat > conftest.$ac_ext <<EOF | 5213 cat > conftest.$ac_ext <<EOF |
5147 #line 5148 "configure" | 5214 #line 5215 "configure" |
5148 #include "confdefs.h" | 5215 #include "confdefs.h" |
5149 /* Override any gcc2 internal prototype to avoid an error. */ | 5216 /* Override any gcc2 internal prototype to avoid an error. */ |
5150 /* We use char because int might match the return type of a gcc2 | 5217 /* We use char because int might match the return type of a gcc2 |
5151 builtin and then its argument prototype would still apply. */ | 5218 builtin and then its argument prototype would still apply. */ |
5152 char DtDndDragStart(); | 5219 char DtDndDragStart(); |
5153 | 5220 |
5154 int main() { | 5221 int main() { |
5155 DtDndDragStart() | 5222 DtDndDragStart() |
5156 ; return 0; } | 5223 ; return 0; } |
5157 EOF | 5224 EOF |
5158 if { (eval echo configure:5159: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 5225 if { (eval echo configure:5226: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
5159 rm -rf conftest* | 5226 rm -rf conftest* |
5160 eval "ac_cv_lib_$ac_lib_var=yes" | 5227 eval "ac_cv_lib_$ac_lib_var=yes" |
5161 else | 5228 else |
5162 echo "configure: failed program was:" >&5 | 5229 echo "configure: failed program was:" >&5 |
5163 cat conftest.$ac_ext >&5 | 5230 cat conftest.$ac_ext >&5 |
5200 EOF | 5267 EOF |
5201 } | 5268 } |
5202 | 5269 |
5203 | 5270 |
5204 echo $ac_n "checking for main in -lenergize""... $ac_c" 1>&6 | 5271 echo $ac_n "checking for main in -lenergize""... $ac_c" 1>&6 |
5205 echo "configure:5206: checking for main in -lenergize" >&5 | 5272 echo "configure:5273: checking for main in -lenergize" >&5 |
5206 ac_lib_var=`echo energize'_'main | sed 'y%./+-%__p_%'` | 5273 ac_lib_var=`echo energize'_'main | sed 'y%./+-%__p_%'` |
5207 | 5274 |
5208 xe_check_libs=" -lenergize " | 5275 xe_check_libs=" -lenergize " |
5209 cat > conftest.$ac_ext <<EOF | 5276 cat > conftest.$ac_ext <<EOF |
5210 #line 5211 "configure" | 5277 #line 5278 "configure" |
5211 #include "confdefs.h" | 5278 #include "confdefs.h" |
5212 | 5279 |
5213 int main() { | 5280 int main() { |
5214 main() | 5281 main() |
5215 ; return 0; } | 5282 ; return 0; } |
5216 EOF | 5283 EOF |
5217 if { (eval echo configure:5218: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 5284 if { (eval echo configure:5285: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
5218 rm -rf conftest* | 5285 rm -rf conftest* |
5219 eval "ac_cv_lib_$ac_lib_var=yes" | 5286 eval "ac_cv_lib_$ac_lib_var=yes" |
5220 else | 5287 else |
5221 echo "configure: failed program was:" >&5 | 5288 echo "configure: failed program was:" >&5 |
5222 cat conftest.$ac_ext >&5 | 5289 cat conftest.$ac_ext >&5 |
5244 | 5311 |
5245 | 5312 |
5246 if test -z "$energize_version"; then | 5313 if test -z "$energize_version"; then |
5247 | 5314 |
5248 echo $ac_n "checking for main in -lconn""... $ac_c" 1>&6 | 5315 echo $ac_n "checking for main in -lconn""... $ac_c" 1>&6 |
5249 echo "configure:5250: checking for main in -lconn" >&5 | 5316 echo "configure:5317: checking for main in -lconn" >&5 |
5250 ac_lib_var=`echo conn'_'main | sed 'y%./+-%__p_%'` | 5317 ac_lib_var=`echo conn'_'main | sed 'y%./+-%__p_%'` |
5251 | 5318 |
5252 xe_check_libs=" -lconn " | 5319 xe_check_libs=" -lconn " |
5253 cat > conftest.$ac_ext <<EOF | 5320 cat > conftest.$ac_ext <<EOF |
5254 #line 5255 "configure" | 5321 #line 5322 "configure" |
5255 #include "confdefs.h" | 5322 #include "confdefs.h" |
5256 | 5323 |
5257 int main() { | 5324 int main() { |
5258 main() | 5325 main() |
5259 ; return 0; } | 5326 ; return 0; } |
5260 EOF | 5327 EOF |
5261 if { (eval echo configure:5262: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 5328 if { (eval echo configure:5329: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
5262 rm -rf conftest* | 5329 rm -rf conftest* |
5263 eval "ac_cv_lib_$ac_lib_var=yes" | 5330 eval "ac_cv_lib_$ac_lib_var=yes" |
5264 else | 5331 else |
5265 echo "configure: failed program was:" >&5 | 5332 echo "configure: failed program was:" >&5 |
5266 cat conftest.$ac_ext >&5 | 5333 cat conftest.$ac_ext >&5 |
5289 | 5356 |
5290 | 5357 |
5291 fi | 5358 fi |
5292 ac_safe=`echo "editorconn.h" | sed 'y%./+-%__p_%'` | 5359 ac_safe=`echo "editorconn.h" | sed 'y%./+-%__p_%'` |
5293 echo $ac_n "checking for editorconn.h""... $ac_c" 1>&6 | 5360 echo $ac_n "checking for editorconn.h""... $ac_c" 1>&6 |
5294 echo "configure:5295: checking for editorconn.h" >&5 | 5361 echo "configure:5362: checking for editorconn.h" >&5 |
5295 | 5362 |
5296 cat > conftest.$ac_ext <<EOF | 5363 cat > conftest.$ac_ext <<EOF |
5297 #line 5298 "configure" | 5364 #line 5365 "configure" |
5298 #include "confdefs.h" | 5365 #include "confdefs.h" |
5299 #include <editorconn.h> | 5366 #include <editorconn.h> |
5300 EOF | 5367 EOF |
5301 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 5368 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
5302 { (eval echo configure:5303: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 5369 { (eval echo configure:5370: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
5303 ac_err=`grep -v '^ *+' conftest.out` | 5370 ac_err=`grep -v '^ *+' conftest.out` |
5304 if test -z "$ac_err"; then | 5371 if test -z "$ac_err"; then |
5305 rm -rf conftest* | 5372 rm -rf conftest* |
5306 eval "ac_cv_header_$ac_safe=yes" | 5373 eval "ac_cv_header_$ac_safe=yes" |
5307 else | 5374 else |
5339 | 5406 |
5340 fi | 5407 fi |
5341 | 5408 |
5342 | 5409 |
5343 echo "checking for graphics libraries" 1>&6 | 5410 echo "checking for graphics libraries" 1>&6 |
5344 echo "configure:5345: checking for graphics libraries" >&5 | 5411 echo "configure:5412: checking for graphics libraries" >&5 |
5345 test -z "$with_gif" && with_gif=yes; | 5412 test -z "$with_gif" && with_gif=yes; |
5346 if test "$with_gif" = "yes"; then | 5413 if test "$with_gif" = "yes"; then |
5347 { test "$extra_verbose" = "yes" && cat << \EOF | 5414 { test "$extra_verbose" = "yes" && cat << \EOF |
5348 Defining HAVE_GIF | 5415 Defining HAVE_GIF |
5349 EOF | 5416 EOF |
5357 fi | 5424 fi |
5358 fi | 5425 fi |
5359 | 5426 |
5360 test -z "$with_xpm" && { ac_safe=`echo "X11/xpm.h" | sed 'y%./+-%__p_%'` | 5427 test -z "$with_xpm" && { ac_safe=`echo "X11/xpm.h" | sed 'y%./+-%__p_%'` |
5361 echo $ac_n "checking for X11/xpm.h""... $ac_c" 1>&6 | 5428 echo $ac_n "checking for X11/xpm.h""... $ac_c" 1>&6 |
5362 echo "configure:5363: checking for X11/xpm.h" >&5 | 5429 echo "configure:5430: checking for X11/xpm.h" >&5 |
5363 | 5430 |
5364 cat > conftest.$ac_ext <<EOF | 5431 cat > conftest.$ac_ext <<EOF |
5365 #line 5366 "configure" | 5432 #line 5433 "configure" |
5366 #include "confdefs.h" | 5433 #include "confdefs.h" |
5367 #include <X11/xpm.h> | 5434 #include <X11/xpm.h> |
5368 EOF | 5435 EOF |
5369 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" |
5370 { (eval echo configure:5371: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 5437 { (eval echo configure:5438: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
5371 ac_err=`grep -v '^ *+' conftest.out` | 5438 ac_err=`grep -v '^ *+' conftest.out` |
5372 if test -z "$ac_err"; then | 5439 if test -z "$ac_err"; then |
5373 rm -rf conftest* | 5440 rm -rf conftest* |
5374 eval "ac_cv_header_$ac_safe=yes" | 5441 eval "ac_cv_header_$ac_safe=yes" |
5375 else | 5442 else |
5387 echo "$ac_t""no" 1>&6 | 5454 echo "$ac_t""no" 1>&6 |
5388 with_xpm=no | 5455 with_xpm=no |
5389 fi | 5456 fi |
5390 } | 5457 } |
5391 test -z "$with_xpm" && { | 5458 test -z "$with_xpm" && { |
5392 echo $ac_n "checking for XpmReadFileToData in -lXpm""... $ac_c" 1>&6 | 5459 echo $ac_n "checking for XpmFree in -lXpm""... $ac_c" 1>&6 |
5393 echo "configure:5394: checking for XpmReadFileToData in -lXpm" >&5 | 5460 echo "configure:5461: checking for XpmFree in -lXpm" >&5 |
5394 ac_lib_var=`echo Xpm'_'XpmReadFileToData | sed 'y%./+-%__p_%'` | 5461 ac_lib_var=`echo Xpm'_'XpmFree | sed 'y%./+-%__p_%'` |
5395 | 5462 |
5396 xe_check_libs=" -lXpm " | 5463 xe_check_libs=" -lXpm " |
5397 cat > conftest.$ac_ext <<EOF | 5464 cat > conftest.$ac_ext <<EOF |
5398 #line 5399 "configure" | 5465 #line 5466 "configure" |
5399 #include "confdefs.h" | 5466 #include "confdefs.h" |
5400 /* Override any gcc2 internal prototype to avoid an error. */ | 5467 /* Override any gcc2 internal prototype to avoid an error. */ |
5401 /* We use char because int might match the return type of a gcc2 | 5468 /* We use char because int might match the return type of a gcc2 |
5402 builtin and then its argument prototype would still apply. */ | 5469 builtin and then its argument prototype would still apply. */ |
5403 char XpmReadFileToData(); | 5470 char XpmFree(); |
5404 | 5471 |
5405 int main() { | 5472 int main() { |
5406 XpmReadFileToData() | 5473 XpmFree() |
5407 ; return 0; } | 5474 ; return 0; } |
5408 EOF | 5475 EOF |
5409 if { (eval echo configure:5410: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 5476 if { (eval echo configure:5477: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
5410 rm -rf conftest* | 5477 rm -rf conftest* |
5411 eval "ac_cv_lib_$ac_lib_var=yes" | 5478 eval "ac_cv_lib_$ac_lib_var=yes" |
5412 else | 5479 else |
5413 echo "configure: failed program was:" >&5 | 5480 echo "configure: failed program was:" >&5 |
5414 cat conftest.$ac_ext >&5 | 5481 cat conftest.$ac_ext >&5 |
5440 libs_x="-lXpm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXpm\" to \$libs_x"; fi | 5507 libs_x="-lXpm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXpm\" to \$libs_x"; fi |
5441 fi | 5508 fi |
5442 | 5509 |
5443 test -z "$with_xface" && { ac_safe=`echo "compface.h" | sed 'y%./+-%__p_%'` | 5510 test -z "$with_xface" && { ac_safe=`echo "compface.h" | sed 'y%./+-%__p_%'` |
5444 echo $ac_n "checking for compface.h""... $ac_c" 1>&6 | 5511 echo $ac_n "checking for compface.h""... $ac_c" 1>&6 |
5445 echo "configure:5446: checking for compface.h" >&5 | 5512 echo "configure:5513: checking for compface.h" >&5 |
5446 | 5513 |
5447 cat > conftest.$ac_ext <<EOF | 5514 cat > conftest.$ac_ext <<EOF |
5448 #line 5449 "configure" | 5515 #line 5516 "configure" |
5449 #include "confdefs.h" | 5516 #include "confdefs.h" |
5450 #include <compface.h> | 5517 #include <compface.h> |
5451 EOF | 5518 EOF |
5452 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 5519 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
5453 { (eval echo configure:5454: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 5520 { (eval echo configure:5521: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
5454 ac_err=`grep -v '^ *+' conftest.out` | 5521 ac_err=`grep -v '^ *+' conftest.out` |
5455 if test -z "$ac_err"; then | 5522 if test -z "$ac_err"; then |
5456 rm -rf conftest* | 5523 rm -rf conftest* |
5457 eval "ac_cv_header_$ac_safe=yes" | 5524 eval "ac_cv_header_$ac_safe=yes" |
5458 else | 5525 else |
5471 with_xface=no | 5538 with_xface=no |
5472 fi | 5539 fi |
5473 } | 5540 } |
5474 test -z "$with_xface" && { | 5541 test -z "$with_xface" && { |
5475 echo $ac_n "checking for UnGenFace in -lcompface""... $ac_c" 1>&6 | 5542 echo $ac_n "checking for UnGenFace in -lcompface""... $ac_c" 1>&6 |
5476 echo "configure:5477: checking for UnGenFace in -lcompface" >&5 | 5543 echo "configure:5544: checking for UnGenFace in -lcompface" >&5 |
5477 ac_lib_var=`echo compface'_'UnGenFace | sed 'y%./+-%__p_%'` | 5544 ac_lib_var=`echo compface'_'UnGenFace | sed 'y%./+-%__p_%'` |
5478 | 5545 |
5479 xe_check_libs=" -lcompface " | 5546 xe_check_libs=" -lcompface " |
5480 cat > conftest.$ac_ext <<EOF | 5547 cat > conftest.$ac_ext <<EOF |
5481 #line 5482 "configure" | 5548 #line 5549 "configure" |
5482 #include "confdefs.h" | 5549 #include "confdefs.h" |
5483 /* Override any gcc2 internal prototype to avoid an error. */ | 5550 /* Override any gcc2 internal prototype to avoid an error. */ |
5484 /* We use char because int might match the return type of a gcc2 | 5551 /* We use char because int might match the return type of a gcc2 |
5485 builtin and then its argument prototype would still apply. */ | 5552 builtin and then its argument prototype would still apply. */ |
5486 char UnGenFace(); | 5553 char UnGenFace(); |
5487 | 5554 |
5488 int main() { | 5555 int main() { |
5489 UnGenFace() | 5556 UnGenFace() |
5490 ; return 0; } | 5557 ; return 0; } |
5491 EOF | 5558 EOF |
5492 if { (eval echo configure:5493: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 5559 if { (eval echo configure:5560: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
5493 rm -rf conftest* | 5560 rm -rf conftest* |
5494 eval "ac_cv_lib_$ac_lib_var=yes" | 5561 eval "ac_cv_lib_$ac_lib_var=yes" |
5495 else | 5562 else |
5496 echo "configure: failed program was:" >&5 | 5563 echo "configure: failed program was:" >&5 |
5497 cat conftest.$ac_ext >&5 | 5564 cat conftest.$ac_ext >&5 |
5523 libs_x="-lcompface $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lcompface\" to \$libs_x"; fi | 5590 libs_x="-lcompface $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lcompface\" to \$libs_x"; fi |
5524 fi | 5591 fi |
5525 | 5592 |
5526 test -z "$with_jpeg" && { ac_safe=`echo "jpeglib.h" | sed 'y%./+-%__p_%'` | 5593 test -z "$with_jpeg" && { ac_safe=`echo "jpeglib.h" | sed 'y%./+-%__p_%'` |
5527 echo $ac_n "checking for jpeglib.h""... $ac_c" 1>&6 | 5594 echo $ac_n "checking for jpeglib.h""... $ac_c" 1>&6 |
5528 echo "configure:5529: checking for jpeglib.h" >&5 | 5595 echo "configure:5596: checking for jpeglib.h" >&5 |
5529 | 5596 |
5530 cat > conftest.$ac_ext <<EOF | 5597 cat > conftest.$ac_ext <<EOF |
5531 #line 5532 "configure" | 5598 #line 5599 "configure" |
5532 #include "confdefs.h" | 5599 #include "confdefs.h" |
5533 #include <jpeglib.h> | 5600 #include <jpeglib.h> |
5534 EOF | 5601 EOF |
5535 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 5602 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
5536 { (eval echo configure:5537: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 5603 { (eval echo configure:5604: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
5537 ac_err=`grep -v '^ *+' conftest.out` | 5604 ac_err=`grep -v '^ *+' conftest.out` |
5538 if test -z "$ac_err"; then | 5605 if test -z "$ac_err"; then |
5539 rm -rf conftest* | 5606 rm -rf conftest* |
5540 eval "ac_cv_header_$ac_safe=yes" | 5607 eval "ac_cv_header_$ac_safe=yes" |
5541 else | 5608 else |
5554 with_jpeg=no | 5621 with_jpeg=no |
5555 fi | 5622 fi |
5556 } | 5623 } |
5557 test -z "$with_jpeg" && { | 5624 test -z "$with_jpeg" && { |
5558 echo $ac_n "checking for jpeg_destroy_decompress in -ljpeg""... $ac_c" 1>&6 | 5625 echo $ac_n "checking for jpeg_destroy_decompress in -ljpeg""... $ac_c" 1>&6 |
5559 echo "configure:5560: checking for jpeg_destroy_decompress in -ljpeg" >&5 | 5626 echo "configure:5627: checking for jpeg_destroy_decompress in -ljpeg" >&5 |
5560 ac_lib_var=`echo jpeg'_'jpeg_destroy_decompress | sed 'y%./+-%__p_%'` | 5627 ac_lib_var=`echo jpeg'_'jpeg_destroy_decompress | sed 'y%./+-%__p_%'` |
5561 | 5628 |
5562 xe_check_libs=" -ljpeg " | 5629 xe_check_libs=" -ljpeg " |
5563 cat > conftest.$ac_ext <<EOF | 5630 cat > conftest.$ac_ext <<EOF |
5564 #line 5565 "configure" | 5631 #line 5632 "configure" |
5565 #include "confdefs.h" | 5632 #include "confdefs.h" |
5566 /* Override any gcc2 internal prototype to avoid an error. */ | 5633 /* Override any gcc2 internal prototype to avoid an error. */ |
5567 /* We use char because int might match the return type of a gcc2 | 5634 /* We use char because int might match the return type of a gcc2 |
5568 builtin and then its argument prototype would still apply. */ | 5635 builtin and then its argument prototype would still apply. */ |
5569 char jpeg_destroy_decompress(); | 5636 char jpeg_destroy_decompress(); |
5570 | 5637 |
5571 int main() { | 5638 int main() { |
5572 jpeg_destroy_decompress() | 5639 jpeg_destroy_decompress() |
5573 ; return 0; } | 5640 ; return 0; } |
5574 EOF | 5641 EOF |
5575 if { (eval echo configure:5576: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 5642 if { (eval echo configure:5643: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
5576 rm -rf conftest* | 5643 rm -rf conftest* |
5577 eval "ac_cv_lib_$ac_lib_var=yes" | 5644 eval "ac_cv_lib_$ac_lib_var=yes" |
5578 else | 5645 else |
5579 echo "configure: failed program was:" >&5 | 5646 echo "configure: failed program was:" >&5 |
5580 cat conftest.$ac_ext >&5 | 5647 cat conftest.$ac_ext >&5 |
5606 libs_x="-ljpeg $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-ljpeg\" to \$libs_x"; fi | 5673 libs_x="-ljpeg $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-ljpeg\" to \$libs_x"; fi |
5607 fi | 5674 fi |
5608 | 5675 |
5609 test -z "$with_png" && { ac_safe=`echo "png.h" | sed 'y%./+-%__p_%'` | 5676 test -z "$with_png" && { ac_safe=`echo "png.h" | sed 'y%./+-%__p_%'` |
5610 echo $ac_n "checking for png.h""... $ac_c" 1>&6 | 5677 echo $ac_n "checking for png.h""... $ac_c" 1>&6 |
5611 echo "configure:5612: checking for png.h" >&5 | 5678 echo "configure:5679: checking for png.h" >&5 |
5612 | 5679 |
5613 cat > conftest.$ac_ext <<EOF | 5680 cat > conftest.$ac_ext <<EOF |
5614 #line 5615 "configure" | 5681 #line 5682 "configure" |
5615 #include "confdefs.h" | 5682 #include "confdefs.h" |
5616 #include <png.h> | 5683 #include <png.h> |
5617 EOF | 5684 EOF |
5618 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 5685 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
5619 { (eval echo configure:5620: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 5686 { (eval echo configure:5687: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
5620 ac_err=`grep -v '^ *+' conftest.out` | 5687 ac_err=`grep -v '^ *+' conftest.out` |
5621 if test -z "$ac_err"; then | 5688 if test -z "$ac_err"; then |
5622 rm -rf conftest* | 5689 rm -rf conftest* |
5623 eval "ac_cv_header_$ac_safe=yes" | 5690 eval "ac_cv_header_$ac_safe=yes" |
5624 else | 5691 else |
5636 echo "$ac_t""no" 1>&6 | 5703 echo "$ac_t""no" 1>&6 |
5637 with_png=no | 5704 with_png=no |
5638 fi | 5705 fi |
5639 } | 5706 } |
5640 test -z "$with_png" && { echo $ac_n "checking for pow""... $ac_c" 1>&6 | 5707 test -z "$with_png" && { echo $ac_n "checking for pow""... $ac_c" 1>&6 |
5641 echo "configure:5642: checking for pow" >&5 | 5708 echo "configure:5709: checking for pow" >&5 |
5642 | 5709 |
5643 cat > conftest.$ac_ext <<EOF | 5710 cat > conftest.$ac_ext <<EOF |
5644 #line 5645 "configure" | 5711 #line 5712 "configure" |
5645 #include "confdefs.h" | 5712 #include "confdefs.h" |
5646 /* System header to define __stub macros and hopefully few prototypes, | 5713 /* System header to define __stub macros and hopefully few prototypes, |
5647 which can conflict with char pow(); below. */ | 5714 which can conflict with char pow(); below. */ |
5648 #include <assert.h> | 5715 #include <assert.h> |
5649 /* Override any gcc2 internal prototype to avoid an error. */ | 5716 /* Override any gcc2 internal prototype to avoid an error. */ |
5662 pow(); | 5729 pow(); |
5663 #endif | 5730 #endif |
5664 | 5731 |
5665 ; return 0; } | 5732 ; return 0; } |
5666 EOF | 5733 EOF |
5667 if { (eval echo configure:5668: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 5734 if { (eval echo configure:5735: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
5668 rm -rf conftest* | 5735 rm -rf conftest* |
5669 eval "ac_cv_func_pow=yes" | 5736 eval "ac_cv_func_pow=yes" |
5670 else | 5737 else |
5671 echo "configure: failed program was:" >&5 | 5738 echo "configure: failed program was:" >&5 |
5672 cat conftest.$ac_ext >&5 | 5739 cat conftest.$ac_ext >&5 |
5687 for extra_libs in "" "-lz" "-lgz"; do | 5754 for extra_libs in "" "-lz" "-lgz"; do |
5688 | 5755 |
5689 xe_msg_checking="for png_read_image in -lpng" | 5756 xe_msg_checking="for png_read_image in -lpng" |
5690 test -n "$extra_libs" && xe_msg_checking="$xe_msg_checking using extra libs $extra_libs" | 5757 test -n "$extra_libs" && xe_msg_checking="$xe_msg_checking using extra libs $extra_libs" |
5691 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 5758 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
5692 echo "configure:5693: checking "$xe_msg_checking"" >&5 | 5759 echo "configure:5760: checking "$xe_msg_checking"" >&5 |
5693 ac_lib_var=`echo png'_'png_read_image | sed 'y%./+-%__p_%'` | 5760 ac_lib_var=`echo png'_'png_read_image | sed 'y%./+-%__p_%'` |
5694 | 5761 |
5695 xe_check_libs=" -lpng $extra_libs" | 5762 xe_check_libs=" -lpng $extra_libs" |
5696 cat > conftest.$ac_ext <<EOF | 5763 cat > conftest.$ac_ext <<EOF |
5697 #line 5698 "configure" | 5764 #line 5765 "configure" |
5698 #include "confdefs.h" | 5765 #include "confdefs.h" |
5699 /* Override any gcc2 internal prototype to avoid an error. */ | 5766 /* Override any gcc2 internal prototype to avoid an error. */ |
5700 /* We use char because int might match the return type of a gcc2 | 5767 /* We use char because int might match the return type of a gcc2 |
5701 builtin and then its argument prototype would still apply. */ | 5768 builtin and then its argument prototype would still apply. */ |
5702 char png_read_image(); | 5769 char png_read_image(); |
5703 | 5770 |
5704 int main() { | 5771 int main() { |
5705 png_read_image() | 5772 png_read_image() |
5706 ; return 0; } | 5773 ; return 0; } |
5707 EOF | 5774 EOF |
5708 if { (eval echo configure:5709: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 5775 if { (eval echo configure:5776: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
5709 rm -rf conftest* | 5776 rm -rf conftest* |
5710 eval "ac_cv_lib_$ac_lib_var=yes" | 5777 eval "ac_cv_lib_$ac_lib_var=yes" |
5711 else | 5778 else |
5712 echo "configure: failed program was:" >&5 | 5779 echo "configure: failed program was:" >&5 |
5713 cat conftest.$ac_ext >&5 | 5780 cat conftest.$ac_ext >&5 |
5753 libs_x="-ltiff $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-ltiff\" to \$libs_x"; fi | 5820 libs_x="-ltiff $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-ltiff\" to \$libs_x"; fi |
5754 fi | 5821 fi |
5755 | 5822 |
5756 ac_safe=`echo "Xm/Xm.h" | sed 'y%./+-%__p_%'` | 5823 ac_safe=`echo "Xm/Xm.h" | sed 'y%./+-%__p_%'` |
5757 echo $ac_n "checking for Xm/Xm.h""... $ac_c" 1>&6 | 5824 echo $ac_n "checking for Xm/Xm.h""... $ac_c" 1>&6 |
5758 echo "configure:5759: checking for Xm/Xm.h" >&5 | 5825 echo "configure:5826: checking for Xm/Xm.h" >&5 |
5759 | 5826 |
5760 cat > conftest.$ac_ext <<EOF | 5827 cat > conftest.$ac_ext <<EOF |
5761 #line 5762 "configure" | 5828 #line 5829 "configure" |
5762 #include "confdefs.h" | 5829 #include "confdefs.h" |
5763 #include <Xm/Xm.h> | 5830 #include <Xm/Xm.h> |
5764 EOF | 5831 EOF |
5765 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 5832 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
5766 { (eval echo configure:5767: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 5833 { (eval echo configure:5834: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
5767 ac_err=`grep -v '^ *+' conftest.out` | 5834 ac_err=`grep -v '^ *+' conftest.out` |
5768 if test -z "$ac_err"; then | 5835 if test -z "$ac_err"; then |
5769 rm -rf conftest* | 5836 rm -rf conftest* |
5770 eval "ac_cv_header_$ac_safe=yes" | 5837 eval "ac_cv_header_$ac_safe=yes" |
5771 else | 5838 else |
5778 rm -f conftest* | 5845 rm -f conftest* |
5779 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 5846 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
5780 echo "$ac_t""yes" 1>&6 | 5847 echo "$ac_t""yes" 1>&6 |
5781 | 5848 |
5782 echo $ac_n "checking for XmStringFree in -lXm""... $ac_c" 1>&6 | 5849 echo $ac_n "checking for XmStringFree in -lXm""... $ac_c" 1>&6 |
5783 echo "configure:5784: checking for XmStringFree in -lXm" >&5 | 5850 echo "configure:5851: checking for XmStringFree in -lXm" >&5 |
5784 ac_lib_var=`echo Xm'_'XmStringFree | sed 'y%./+-%__p_%'` | 5851 ac_lib_var=`echo Xm'_'XmStringFree | sed 'y%./+-%__p_%'` |
5785 | 5852 |
5786 xe_check_libs=" -lXm " | 5853 xe_check_libs=" -lXm " |
5787 cat > conftest.$ac_ext <<EOF | 5854 cat > conftest.$ac_ext <<EOF |
5788 #line 5789 "configure" | 5855 #line 5856 "configure" |
5789 #include "confdefs.h" | 5856 #include "confdefs.h" |
5790 /* Override any gcc2 internal prototype to avoid an error. */ | 5857 /* Override any gcc2 internal prototype to avoid an error. */ |
5791 /* We use char because int might match the return type of a gcc2 | 5858 /* We use char because int might match the return type of a gcc2 |
5792 builtin and then its argument prototype would still apply. */ | 5859 builtin and then its argument prototype would still apply. */ |
5793 char XmStringFree(); | 5860 char XmStringFree(); |
5794 | 5861 |
5795 int main() { | 5862 int main() { |
5796 XmStringFree() | 5863 XmStringFree() |
5797 ; return 0; } | 5864 ; return 0; } |
5798 EOF | 5865 EOF |
5799 if { (eval echo configure:5800: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 5866 if { (eval echo configure:5867: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
5800 rm -rf conftest* | 5867 rm -rf conftest* |
5801 eval "ac_cv_lib_$ac_lib_var=yes" | 5868 eval "ac_cv_lib_$ac_lib_var=yes" |
5802 else | 5869 else |
5803 echo "configure: failed program was:" >&5 | 5870 echo "configure: failed program was:" >&5 |
5804 cat conftest.$ac_ext >&5 | 5871 cat conftest.$ac_ext >&5 |
6008 | 6075 |
6009 test -z "$with_mule" && with_mule=no | 6076 test -z "$with_mule" && with_mule=no |
6010 | 6077 |
6011 if test "$with_mule" = "yes" ; then | 6078 if test "$with_mule" = "yes" ; then |
6012 echo "checking for Mule-related features" 1>&6 | 6079 echo "checking for Mule-related features" 1>&6 |
6013 echo "configure:6014: checking for Mule-related features" >&5 | 6080 echo "configure:6081: checking for Mule-related features" >&5 |
6014 { test "$extra_verbose" = "yes" && cat << \EOF | 6081 { test "$extra_verbose" = "yes" && cat << \EOF |
6015 Defining MULE | 6082 Defining MULE |
6016 EOF | 6083 EOF |
6017 cat >> confdefs.h <<\EOF | 6084 cat >> confdefs.h <<\EOF |
6018 #define MULE 1 | 6085 #define MULE 1 |
6021 | 6088 |
6022 extra_objs="$extra_objs mule.o mule-ccl.o mule-charset.o mule-coding.o" && if test "$extra_verbose" = "yes"; then | 6089 extra_objs="$extra_objs mule.o mule-ccl.o mule-charset.o mule-coding.o" && if test "$extra_verbose" = "yes"; then |
6023 echo " xemacs will be linked with \"mule.o mule-ccl.o mule-charset.o mule-coding.o\"" | 6090 echo " xemacs will be linked with \"mule.o mule-ccl.o mule-charset.o mule-coding.o\"" |
6024 fi | 6091 fi |
6025 | 6092 |
6026 | 6093 for ac_hdr in libintl.h |
6094 do | |
6095 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | |
6096 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | |
6097 echo "configure:6098: checking for $ac_hdr" >&5 | |
6098 | |
6099 cat > conftest.$ac_ext <<EOF | |
6100 #line 6101 "configure" | |
6101 #include "confdefs.h" | |
6102 #include <$ac_hdr> | |
6103 EOF | |
6104 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | |
6105 { (eval echo configure:6106: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | |
6106 ac_err=`grep -v '^ *+' conftest.out` | |
6107 if test -z "$ac_err"; then | |
6108 rm -rf conftest* | |
6109 eval "ac_cv_header_$ac_safe=yes" | |
6110 else | |
6111 echo "$ac_err" >&5 | |
6112 echo "configure: failed program was:" >&5 | |
6113 cat conftest.$ac_ext >&5 | |
6114 rm -rf conftest* | |
6115 eval "ac_cv_header_$ac_safe=no" | |
6116 fi | |
6117 rm -f conftest* | |
6118 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | |
6119 echo "$ac_t""yes" 1>&6 | |
6120 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'` | |
6121 { test "$extra_verbose" = "yes" && cat << EOF | |
6122 Defining $ac_tr_hdr | |
6123 EOF | |
6124 cat >> confdefs.h <<EOF | |
6125 #define $ac_tr_hdr 1 | |
6126 EOF | |
6127 } | |
6128 | |
6129 else | |
6130 echo "$ac_t""no" 1>&6 | |
6131 fi | |
6132 done | |
6133 | |
6134 | |
6027 echo $ac_n "checking for strerror in -lintl""... $ac_c" 1>&6 | 6135 echo $ac_n "checking for strerror in -lintl""... $ac_c" 1>&6 |
6028 echo "configure:6029: checking for strerror in -lintl" >&5 | 6136 echo "configure:6137: checking for strerror in -lintl" >&5 |
6029 ac_lib_var=`echo intl'_'strerror | sed 'y%./+-%__p_%'` | 6137 ac_lib_var=`echo intl'_'strerror | sed 'y%./+-%__p_%'` |
6030 | 6138 |
6031 xe_check_libs=" -lintl " | 6139 xe_check_libs=" -lintl " |
6032 cat > conftest.$ac_ext <<EOF | 6140 cat > conftest.$ac_ext <<EOF |
6033 #line 6034 "configure" | 6141 #line 6142 "configure" |
6034 #include "confdefs.h" | 6142 #include "confdefs.h" |
6035 /* Override any gcc2 internal prototype to avoid an error. */ | 6143 /* Override any gcc2 internal prototype to avoid an error. */ |
6036 /* We use char because int might match the return type of a gcc2 | 6144 /* We use char because int might match the return type of a gcc2 |
6037 builtin and then its argument prototype would still apply. */ | 6145 builtin and then its argument prototype would still apply. */ |
6038 char strerror(); | 6146 char strerror(); |
6039 | 6147 |
6040 int main() { | 6148 int main() { |
6041 strerror() | 6149 strerror() |
6042 ; return 0; } | 6150 ; return 0; } |
6043 EOF | 6151 EOF |
6044 if { (eval echo configure:6045: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 6152 if { (eval echo configure:6153: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
6045 rm -rf conftest* | 6153 rm -rf conftest* |
6046 eval "ac_cv_lib_$ac_lib_var=yes" | 6154 eval "ac_cv_lib_$ac_lib_var=yes" |
6047 else | 6155 else |
6048 echo "configure: failed program was:" >&5 | 6156 echo "configure: failed program was:" >&5 |
6049 cat conftest.$ac_ext >&5 | 6157 cat conftest.$ac_ext >&5 |
6072 fi | 6180 fi |
6073 | 6181 |
6074 | 6182 |
6075 | 6183 |
6076 echo "checking for Mule input methods" 1>&6 | 6184 echo "checking for Mule input methods" 1>&6 |
6077 echo "configure:6078: checking for Mule input methods" >&5 | 6185 echo "configure:6186: checking for Mule input methods" >&5 |
6078 test -z "$with_xim" && case "$opsys" in sol2* ) ;; *) with_xim=no ;; esac | 6186 test -z "$with_xim" && case "$opsys" in sol2* ) ;; *) with_xim=no ;; esac |
6079 case "$with_xim" in "" | "yes" ) | 6187 case "$with_xim" in "" | "yes" ) |
6080 echo "checking for XIM" 1>&6 | 6188 echo "checking for XIM" 1>&6 |
6081 echo "configure:6082: checking for XIM" >&5 | 6189 echo "configure:6190: checking for XIM" >&5 |
6082 | 6190 |
6083 echo $ac_n "checking for XmImMbLookupString in -lXm""... $ac_c" 1>&6 | 6191 echo $ac_n "checking for XmImMbLookupString in -lXm""... $ac_c" 1>&6 |
6084 echo "configure:6085: checking for XmImMbLookupString in -lXm" >&5 | 6192 echo "configure:6193: checking for XmImMbLookupString in -lXm" >&5 |
6085 ac_lib_var=`echo Xm'_'XmImMbLookupString | sed 'y%./+-%__p_%'` | 6193 ac_lib_var=`echo Xm'_'XmImMbLookupString | sed 'y%./+-%__p_%'` |
6086 | 6194 |
6087 xe_check_libs=" -lXm " | 6195 xe_check_libs=" -lXm " |
6088 cat > conftest.$ac_ext <<EOF | 6196 cat > conftest.$ac_ext <<EOF |
6089 #line 6090 "configure" | 6197 #line 6198 "configure" |
6090 #include "confdefs.h" | 6198 #include "confdefs.h" |
6091 /* Override any gcc2 internal prototype to avoid an error. */ | 6199 /* Override any gcc2 internal prototype to avoid an error. */ |
6092 /* We use char because int might match the return type of a gcc2 | 6200 /* We use char because int might match the return type of a gcc2 |
6093 builtin and then its argument prototype would still apply. */ | 6201 builtin and then its argument prototype would still apply. */ |
6094 char XmImMbLookupString(); | 6202 char XmImMbLookupString(); |
6095 | 6203 |
6096 int main() { | 6204 int main() { |
6097 XmImMbLookupString() | 6205 XmImMbLookupString() |
6098 ; return 0; } | 6206 ; return 0; } |
6099 EOF | 6207 EOF |
6100 if { (eval echo configure:6101: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 6208 if { (eval echo configure:6209: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
6101 rm -rf conftest* | 6209 rm -rf conftest* |
6102 eval "ac_cv_lib_$ac_lib_var=yes" | 6210 eval "ac_cv_lib_$ac_lib_var=yes" |
6103 else | 6211 else |
6104 echo "configure: failed program was:" >&5 | 6212 echo "configure: failed program was:" >&5 |
6105 cat conftest.$ac_ext >&5 | 6213 cat conftest.$ac_ext >&5 |
6157 fi | 6265 fi |
6158 fi | 6266 fi |
6159 test "$with_wnn6" = "yes" && with_wnn=yes # wnn6 implies wnn support | 6267 test "$with_wnn6" = "yes" && with_wnn=yes # wnn6 implies wnn support |
6160 test -z "$with_wnn" && { ac_safe=`echo "wnn/jllib.h" | sed 'y%./+-%__p_%'` | 6268 test -z "$with_wnn" && { ac_safe=`echo "wnn/jllib.h" | sed 'y%./+-%__p_%'` |
6161 echo $ac_n "checking for wnn/jllib.h""... $ac_c" 1>&6 | 6269 echo $ac_n "checking for wnn/jllib.h""... $ac_c" 1>&6 |
6162 echo "configure:6163: checking for wnn/jllib.h" >&5 | 6270 echo "configure:6271: checking for wnn/jllib.h" >&5 |
6163 | 6271 |
6164 cat > conftest.$ac_ext <<EOF | 6272 cat > conftest.$ac_ext <<EOF |
6165 #line 6166 "configure" | 6273 #line 6274 "configure" |
6166 #include "confdefs.h" | 6274 #include "confdefs.h" |
6167 #include <wnn/jllib.h> | 6275 #include <wnn/jllib.h> |
6168 EOF | 6276 EOF |
6169 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6277 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
6170 { (eval echo configure:6171: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6278 { (eval echo configure:6279: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
6171 ac_err=`grep -v '^ *+' conftest.out` | 6279 ac_err=`grep -v '^ *+' conftest.out` |
6172 if test -z "$ac_err"; then | 6280 if test -z "$ac_err"; then |
6173 rm -rf conftest* | 6281 rm -rf conftest* |
6174 eval "ac_cv_header_$ac_safe=yes" | 6282 eval "ac_cv_header_$ac_safe=yes" |
6175 else | 6283 else |
6187 echo "$ac_t""no" 1>&6 | 6295 echo "$ac_t""no" 1>&6 |
6188 with_wnn=no | 6296 with_wnn=no |
6189 fi | 6297 fi |
6190 } | 6298 } |
6191 test -z "$with_wnn" && { | 6299 test -z "$with_wnn" && { |
6192 echo $ac_n "checking for jl_dic_list in -lwnn""... $ac_c" 1>&6 | 6300 echo $ac_n "checking for jl_dic_list_e in -lwnn""... $ac_c" 1>&6 |
6193 echo "configure:6194: checking for jl_dic_list in -lwnn" >&5 | 6301 echo "configure:6302: checking for jl_dic_list_e in -lwnn" >&5 |
6194 ac_lib_var=`echo wnn'_'jl_dic_list | sed 'y%./+-%__p_%'` | 6302 ac_lib_var=`echo wnn'_'jl_dic_list_e | sed 'y%./+-%__p_%'` |
6195 | 6303 |
6196 xe_check_libs=" -lwnn " | 6304 xe_check_libs=" -lwnn " |
6197 cat > conftest.$ac_ext <<EOF | 6305 cat > conftest.$ac_ext <<EOF |
6198 #line 6199 "configure" | 6306 #line 6307 "configure" |
6199 #include "confdefs.h" | 6307 #include "confdefs.h" |
6200 /* Override any gcc2 internal prototype to avoid an error. */ | 6308 /* Override any gcc2 internal prototype to avoid an error. */ |
6201 /* We use char because int might match the return type of a gcc2 | 6309 /* We use char because int might match the return type of a gcc2 |
6202 builtin and then its argument prototype would still apply. */ | 6310 builtin and then its argument prototype would still apply. */ |
6203 char jl_dic_list(); | 6311 char jl_dic_list_e(); |
6204 | 6312 |
6205 int main() { | 6313 int main() { |
6206 jl_dic_list() | 6314 jl_dic_list_e() |
6207 ; return 0; } | 6315 ; return 0; } |
6208 EOF | 6316 EOF |
6209 if { (eval echo configure:6210: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 6317 if { (eval echo configure:6318: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
6210 rm -rf conftest* | 6318 rm -rf conftest* |
6211 eval "ac_cv_lib_$ac_lib_var=yes" | 6319 eval "ac_cv_lib_$ac_lib_var=yes" |
6212 else | 6320 else |
6213 echo "configure: failed program was:" >&5 | 6321 echo "configure: failed program was:" >&5 |
6214 cat conftest.$ac_ext >&5 | 6322 cat conftest.$ac_ext >&5 |
6218 rm -f conftest* | 6326 rm -f conftest* |
6219 xe_check_libs="" | 6327 xe_check_libs="" |
6220 | 6328 |
6221 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes" ; then | 6329 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes" ; then |
6222 echo "$ac_t""yes" 1>&6 | 6330 echo "$ac_t""yes" 1>&6 |
6223 : | 6331 ac_tr_lib=HAVE_LIB`echo wnn | sed -e 's/[^a-zA-Z0-9_]/_/g' \ |
6332 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'` | |
6333 { test "$extra_verbose" = "yes" && cat << EOF | |
6334 Defining $ac_tr_lib | |
6335 EOF | |
6336 cat >> confdefs.h <<EOF | |
6337 #define $ac_tr_lib 1 | |
6338 EOF | |
6339 } | |
6340 | |
6341 LIBS="-lwnn $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lwnn\" to \$LIBS"; fi | |
6342 | |
6224 else | 6343 else |
6225 echo "$ac_t""no" 1>&6 | 6344 echo "$ac_t""no" 1>&6 |
6226 with_wnn=no | 6345 with_wnn=no |
6227 fi | 6346 fi |
6228 | 6347 |
6241 extra_objs="$extra_objs mule-wnnfns.o" && if test "$extra_verbose" = "yes"; then | 6360 extra_objs="$extra_objs mule-wnnfns.o" && if test "$extra_verbose" = "yes"; then |
6242 echo " xemacs will be linked with \"mule-wnnfns.o\"" | 6361 echo " xemacs will be linked with \"mule-wnnfns.o\"" |
6243 fi | 6362 fi |
6244 | 6363 |
6245 echo $ac_n "checking for jl_fi_dic_list in -lwnn""... $ac_c" 1>&6 | 6364 echo $ac_n "checking for jl_fi_dic_list in -lwnn""... $ac_c" 1>&6 |
6246 echo "configure:6247: checking for jl_fi_dic_list in -lwnn" >&5 | 6365 echo "configure:6366: checking for jl_fi_dic_list in -lwnn" >&5 |
6247 ac_lib_var=`echo wnn'_'jl_fi_dic_list | sed 'y%./+-%__p_%'` | 6366 ac_lib_var=`echo wnn'_'jl_fi_dic_list | sed 'y%./+-%__p_%'` |
6248 | 6367 |
6249 xe_check_libs=" -lwnn " | 6368 xe_check_libs=" -lwnn " |
6250 cat > conftest.$ac_ext <<EOF | 6369 cat > conftest.$ac_ext <<EOF |
6251 #line 6252 "configure" | 6370 #line 6371 "configure" |
6252 #include "confdefs.h" | 6371 #include "confdefs.h" |
6253 /* Override any gcc2 internal prototype to avoid an error. */ | 6372 /* Override any gcc2 internal prototype to avoid an error. */ |
6254 /* We use char because int might match the return type of a gcc2 | 6373 /* We use char because int might match the return type of a gcc2 |
6255 builtin and then its argument prototype would still apply. */ | 6374 builtin and then its argument prototype would still apply. */ |
6256 char jl_fi_dic_list(); | 6375 char jl_fi_dic_list(); |
6257 | 6376 |
6258 int main() { | 6377 int main() { |
6259 jl_fi_dic_list() | 6378 jl_fi_dic_list() |
6260 ; return 0; } | 6379 ; return 0; } |
6261 EOF | 6380 EOF |
6262 if { (eval echo configure:6263: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 6381 if { (eval echo configure:6382: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
6263 rm -rf conftest* | 6382 rm -rf conftest* |
6264 eval "ac_cv_lib_$ac_lib_var=yes" | 6383 eval "ac_cv_lib_$ac_lib_var=yes" |
6265 else | 6384 else |
6266 echo "configure: failed program was:" >&5 | 6385 echo "configure: failed program was:" >&5 |
6267 cat conftest.$ac_ext >&5 | 6386 cat conftest.$ac_ext >&5 |
6289 | 6408 |
6290 fi | 6409 fi |
6291 | 6410 |
6292 test -z "$with_canna" && { ac_safe=`echo "canna/RK.h" | sed 'y%./+-%__p_%'` | 6411 test -z "$with_canna" && { ac_safe=`echo "canna/RK.h" | sed 'y%./+-%__p_%'` |
6293 echo $ac_n "checking for canna/RK.h""... $ac_c" 1>&6 | 6412 echo $ac_n "checking for canna/RK.h""... $ac_c" 1>&6 |
6294 echo "configure:6295: checking for canna/RK.h" >&5 | 6413 echo "configure:6414: checking for canna/RK.h" >&5 |
6295 | 6414 |
6296 cat > conftest.$ac_ext <<EOF | 6415 cat > conftest.$ac_ext <<EOF |
6297 #line 6298 "configure" | 6416 #line 6417 "configure" |
6298 #include "confdefs.h" | 6417 #include "confdefs.h" |
6299 #include <canna/RK.h> | 6418 #include <canna/RK.h> |
6300 EOF | 6419 EOF |
6301 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6420 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
6302 { (eval echo configure:6303: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6421 { (eval echo configure:6422: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
6303 ac_err=`grep -v '^ *+' conftest.out` | 6422 ac_err=`grep -v '^ *+' conftest.out` |
6304 if test -z "$ac_err"; then | 6423 if test -z "$ac_err"; then |
6305 rm -rf conftest* | 6424 rm -rf conftest* |
6306 eval "ac_cv_header_$ac_safe=yes" | 6425 eval "ac_cv_header_$ac_safe=yes" |
6307 else | 6426 else |
6320 with_canna=no | 6439 with_canna=no |
6321 fi | 6440 fi |
6322 } | 6441 } |
6323 test -z "$with_canna" && { | 6442 test -z "$with_canna" && { |
6324 echo $ac_n "checking for RkBgnBun in -lRKC""... $ac_c" 1>&6 | 6443 echo $ac_n "checking for RkBgnBun in -lRKC""... $ac_c" 1>&6 |
6325 echo "configure:6326: checking for RkBgnBun in -lRKC" >&5 | 6444 echo "configure:6445: checking for RkBgnBun in -lRKC" >&5 |
6326 ac_lib_var=`echo RKC'_'RkBgnBun | sed 'y%./+-%__p_%'` | 6445 ac_lib_var=`echo RKC'_'RkBgnBun | sed 'y%./+-%__p_%'` |
6327 | 6446 |
6328 xe_check_libs=" -lRKC " | 6447 xe_check_libs=" -lRKC " |
6329 cat > conftest.$ac_ext <<EOF | 6448 cat > conftest.$ac_ext <<EOF |
6330 #line 6331 "configure" | 6449 #line 6450 "configure" |
6331 #include "confdefs.h" | 6450 #include "confdefs.h" |
6332 /* Override any gcc2 internal prototype to avoid an error. */ | 6451 /* Override any gcc2 internal prototype to avoid an error. */ |
6333 /* We use char because int might match the return type of a gcc2 | 6452 /* We use char because int might match the return type of a gcc2 |
6334 builtin and then its argument prototype would still apply. */ | 6453 builtin and then its argument prototype would still apply. */ |
6335 char RkBgnBun(); | 6454 char RkBgnBun(); |
6336 | 6455 |
6337 int main() { | 6456 int main() { |
6338 RkBgnBun() | 6457 RkBgnBun() |
6339 ; return 0; } | 6458 ; return 0; } |
6340 EOF | 6459 EOF |
6341 if { (eval echo configure:6342: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 6460 if { (eval echo configure:6461: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
6342 rm -rf conftest* | 6461 rm -rf conftest* |
6343 eval "ac_cv_lib_$ac_lib_var=yes" | 6462 eval "ac_cv_lib_$ac_lib_var=yes" |
6344 else | 6463 else |
6345 echo "configure: failed program was:" >&5 | 6464 echo "configure: failed program was:" >&5 |
6346 cat conftest.$ac_ext >&5 | 6465 cat conftest.$ac_ext >&5 |
6359 fi | 6478 fi |
6360 | 6479 |
6361 } | 6480 } |
6362 test -z "$with_canna" && { | 6481 test -z "$with_canna" && { |
6363 echo $ac_n "checking for jrKanjiControl in -lcanna""... $ac_c" 1>&6 | 6482 echo $ac_n "checking for jrKanjiControl in -lcanna""... $ac_c" 1>&6 |
6364 echo "configure:6365: checking for jrKanjiControl in -lcanna" >&5 | 6483 echo "configure:6484: checking for jrKanjiControl in -lcanna" >&5 |
6365 ac_lib_var=`echo canna'_'jrKanjiControl | sed 'y%./+-%__p_%'` | 6484 ac_lib_var=`echo canna'_'jrKanjiControl | sed 'y%./+-%__p_%'` |
6366 | 6485 |
6367 xe_check_libs=" -lcanna " | 6486 xe_check_libs=" -lcanna " |
6368 cat > conftest.$ac_ext <<EOF | 6487 cat > conftest.$ac_ext <<EOF |
6369 #line 6370 "configure" | 6488 #line 6489 "configure" |
6370 #include "confdefs.h" | 6489 #include "confdefs.h" |
6371 /* Override any gcc2 internal prototype to avoid an error. */ | 6490 /* Override any gcc2 internal prototype to avoid an error. */ |
6372 /* We use char because int might match the return type of a gcc2 | 6491 /* We use char because int might match the return type of a gcc2 |
6373 builtin and then its argument prototype would still apply. */ | 6492 builtin and then its argument prototype would still apply. */ |
6374 char jrKanjiControl(); | 6493 char jrKanjiControl(); |
6375 | 6494 |
6376 int main() { | 6495 int main() { |
6377 jrKanjiControl() | 6496 jrKanjiControl() |
6378 ; return 0; } | 6497 ; return 0; } |
6379 EOF | 6498 EOF |
6380 if { (eval echo configure:6381: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 6499 if { (eval echo configure:6500: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
6381 rm -rf conftest* | 6500 rm -rf conftest* |
6382 eval "ac_cv_lib_$ac_lib_var=yes" | 6501 eval "ac_cv_lib_$ac_lib_var=yes" |
6383 else | 6502 else |
6384 echo "configure: failed program was:" >&5 | 6503 echo "configure: failed program was:" >&5 |
6385 cat conftest.$ac_ext >&5 | 6504 cat conftest.$ac_ext >&5 |
6411 libs_x="-lcanna -lRKC $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lcanna -lRKC\" to \$libs_x"; fi | 6530 libs_x="-lcanna -lRKC $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lcanna -lRKC\" to \$libs_x"; fi |
6412 extra_objs="$extra_objs mule-canna.o" && if test "$extra_verbose" = "yes"; then | 6531 extra_objs="$extra_objs mule-canna.o" && if test "$extra_verbose" = "yes"; then |
6413 echo " xemacs will be linked with \"mule-canna.o\"" | 6532 echo " xemacs will be linked with \"mule-canna.o\"" |
6414 fi | 6533 fi |
6415 fi | 6534 fi |
6535 | |
6416 else for feature in xim canna wnn; do | 6536 else for feature in xim canna wnn; do |
6417 if eval "test -n \"\$with_${feature}\" -a \"\$with_${feature}\" != no" ; then | 6537 if eval "test -n \"\$with_${feature}\" -a \"\$with_${feature}\" != no" ; then |
6418 echo "configure: warning: "--with-${feature} ignored: Not valid without Mule support"" 1>&2 | 6538 echo "configure: warning: "--with-${feature} ignored: Not valid without Mule support"" 1>&2 |
6419 fi | 6539 fi |
6420 eval "with_${feature}=no" | 6540 eval "with_${feature}=no" |
6426 | 6546 |
6427 if test "$add_runtime_path" = "yes" -a -n "$dash_r"; then | 6547 if test "$add_runtime_path" = "yes" -a -n "$dash_r"; then |
6428 ld_switch_site="`echo $ld_switch_site | sed \"s/${dash_r}[^ ]*//\"`" | 6548 ld_switch_site="`echo $ld_switch_site | sed \"s/${dash_r}[^ ]*//\"`" |
6429 ld_switch_x_site="`echo $ld_switch_x_site | sed \"s/${dash_r}[^ ]*//\"`" | 6549 ld_switch_x_site="`echo $ld_switch_x_site | sed \"s/${dash_r}[^ ]*//\"`" |
6430 | 6550 |
6431 if test -n "$LD_RUN_PATH"; then | 6551 runpath="" |
6552 if test -n "$LD_RUN_PATH"; then | |
6432 runpath="$LD_RUN_PATH" | 6553 runpath="$LD_RUN_PATH" |
6554 elif test "$GCC" = "yes"; then | |
6555 echo "int main(int argc, char *argv[]) {return 0;}" > conftest.c | |
6556 xe_runpath_link='${CC-cc} -o conftest -v $CFLAGS '"$xe_ldflags"' conftest.$ac_ext 2>&1 1>/dev/null' | |
6557 for arg in `eval "$xe_runpath_link" | grep ' -L'`; do | |
6558 case "$arg" in P,* | -L* | -R* ) | |
6559 for dir in `echo "$arg" | sed -e 's/^..//' -e 'y/:/ /'`; do | |
6560 | |
6561 xe_runpath_dir="$dir" | |
6562 if test "$xe_runpath_dir" != "/lib" -a \ | |
6563 "$xe_runpath_dir" != "/usr/lib" -a \ | |
6564 -n "`ls ${xe_runpath_dir}/*.s[ol] 2>/dev/null`"; then | |
6565 test -n "$runpath" && runpath="${runpath}:" | |
6566 runpath="${runpath}${xe_runpath_dir}" | |
6567 fi | |
6568 | |
6569 done ;; | |
6570 esac | |
6571 done | |
6572 rm -f conftest* | |
6433 else | 6573 else |
6434 runpath="" | 6574 for arg in $ld_switch_site $ld_switch_x_site; do |
6435 for arg in $ld_switch_site $ld_switch_x_site; do | 6575 case "$arg" in -L*) |
6436 case "$arg" in -L* ) | 6576 xe_runpath_dir=`echo "$arg" | sed 's/^-L//'` |
6437 dir=`echo "$arg" | sed 's/^-L//'` | 6577 if test "$xe_runpath_dir" != "/lib" -a \ |
6438 if test -n "`ls ${dir}/*.s[ol] 2>/dev/null`"; then | 6578 "$xe_runpath_dir" != "/usr/lib" -a \ |
6439 test -n "$runpath" && runpath="${runpath}:" | 6579 -n "`ls ${xe_runpath_dir}/*.s[ol] 2>/dev/null`"; then |
6440 runpath="${runpath}${dir}" | 6580 test -n "$runpath" && runpath="${runpath}:" |
6441 fi | 6581 runpath="${runpath}${xe_runpath_dir}" |
6442 ;; | 6582 fi |
6443 esac | 6583 ;; esac |
6444 done | 6584 done |
6445 case "$canonical" in *-solaris2.[1-4]* ) | 6585 case "$canonical" in *-solaris2.[1-4]* ) |
6446 test "$need_motif" = "yes" && runpath="${runpath}:/opt/SUNWdt/lib" ;; | 6586 test "$need_motif" = "yes" && runpath="${runpath}:/opt/SUNWdt/lib" ;; |
6447 esac | 6587 esac |
6448 fi | 6588 fi |
6449 | |
6450 if test -n "$runpath"; then | 6589 if test -n "$runpath"; then |
6451 ld_switch_run="${dash_r}${runpath}" | 6590 ld_switch_run="${dash_r}${runpath}" |
6452 test "$extra_verbose" = "yes" && echo "Setting runpath to $runpath" | 6591 test "$extra_verbose" = "yes" && echo "Setting runpath to $runpath" |
6453 fi | 6592 fi |
6454 fi | 6593 fi |
6456 fi | 6595 fi |
6457 | 6596 |
6458 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 utimes waitpid | 6597 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 utimes waitpid |
6459 do | 6598 do |
6460 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 6599 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
6461 echo "configure:6462: checking for $ac_func" >&5 | 6600 echo "configure:6601: checking for $ac_func" >&5 |
6462 | 6601 |
6463 cat > conftest.$ac_ext <<EOF | 6602 cat > conftest.$ac_ext <<EOF |
6464 #line 6465 "configure" | 6603 #line 6604 "configure" |
6465 #include "confdefs.h" | 6604 #include "confdefs.h" |
6466 /* System header to define __stub macros and hopefully few prototypes, | 6605 /* System header to define __stub macros and hopefully few prototypes, |
6467 which can conflict with char $ac_func(); below. */ | 6606 which can conflict with char $ac_func(); below. */ |
6468 #include <assert.h> | 6607 #include <assert.h> |
6469 /* Override any gcc2 internal prototype to avoid an error. */ | 6608 /* Override any gcc2 internal prototype to avoid an error. */ |
6482 $ac_func(); | 6621 $ac_func(); |
6483 #endif | 6622 #endif |
6484 | 6623 |
6485 ; return 0; } | 6624 ; return 0; } |
6486 EOF | 6625 EOF |
6487 if { (eval echo configure:6488: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 6626 if { (eval echo configure:6627: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
6488 rm -rf conftest* | 6627 rm -rf conftest* |
6489 eval "ac_cv_func_$ac_func=yes" | 6628 eval "ac_cv_func_$ac_func=yes" |
6490 else | 6629 else |
6491 echo "configure: failed program was:" >&5 | 6630 echo "configure: failed program was:" >&5 |
6492 cat conftest.$ac_ext >&5 | 6631 cat conftest.$ac_ext >&5 |
6519 fi ;; | 6658 fi ;; |
6520 * ) | 6659 * ) |
6521 for ac_func in realpath | 6660 for ac_func in realpath |
6522 do | 6661 do |
6523 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 6662 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
6524 echo "configure:6525: checking for $ac_func" >&5 | 6663 echo "configure:6664: checking for $ac_func" >&5 |
6525 | 6664 |
6526 cat > conftest.$ac_ext <<EOF | 6665 cat > conftest.$ac_ext <<EOF |
6527 #line 6528 "configure" | 6666 #line 6667 "configure" |
6528 #include "confdefs.h" | 6667 #include "confdefs.h" |
6529 /* System header to define __stub macros and hopefully few prototypes, | 6668 /* System header to define __stub macros and hopefully few prototypes, |
6530 which can conflict with char $ac_func(); below. */ | 6669 which can conflict with char $ac_func(); below. */ |
6531 #include <assert.h> | 6670 #include <assert.h> |
6532 /* Override any gcc2 internal prototype to avoid an error. */ | 6671 /* Override any gcc2 internal prototype to avoid an error. */ |
6545 $ac_func(); | 6684 $ac_func(); |
6546 #endif | 6685 #endif |
6547 | 6686 |
6548 ; return 0; } | 6687 ; return 0; } |
6549 EOF | 6688 EOF |
6550 if { (eval echo configure:6551: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 6689 if { (eval echo configure:6690: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
6551 rm -rf conftest* | 6690 rm -rf conftest* |
6552 eval "ac_cv_func_$ac_func=yes" | 6691 eval "ac_cv_func_$ac_func=yes" |
6553 else | 6692 else |
6554 echo "configure: failed program was:" >&5 | 6693 echo "configure: failed program was:" >&5 |
6555 cat conftest.$ac_ext >&5 | 6694 cat conftest.$ac_ext >&5 |
6578 echo " xemacs will be linked with \"realpath.o\"" | 6717 echo " xemacs will be linked with \"realpath.o\"" |
6579 fi ;; | 6718 fi ;; |
6580 esac | 6719 esac |
6581 | 6720 |
6582 echo $ac_n "checking whether netdb declares h_errno""... $ac_c" 1>&6 | 6721 echo $ac_n "checking whether netdb declares h_errno""... $ac_c" 1>&6 |
6583 echo "configure:6584: checking whether netdb declares h_errno" >&5 | 6722 echo "configure:6723: checking whether netdb declares h_errno" >&5 |
6584 cat > conftest.$ac_ext <<EOF | 6723 cat > conftest.$ac_ext <<EOF |
6585 #line 6586 "configure" | 6724 #line 6725 "configure" |
6586 #include "confdefs.h" | 6725 #include "confdefs.h" |
6587 #include <netdb.h> | 6726 #include <netdb.h> |
6588 int main() { | 6727 int main() { |
6589 return h_errno; | 6728 return h_errno; |
6590 ; return 0; } | 6729 ; return 0; } |
6591 EOF | 6730 EOF |
6592 if { (eval echo configure:6593: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 6731 if { (eval echo configure:6732: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
6593 rm -rf conftest* | 6732 rm -rf conftest* |
6594 echo "$ac_t""yes" 1>&6 | 6733 echo "$ac_t""yes" 1>&6 |
6595 { test "$extra_verbose" = "yes" && cat << \EOF | 6734 { test "$extra_verbose" = "yes" && cat << \EOF |
6596 Defining HAVE_H_ERRNO | 6735 Defining HAVE_H_ERRNO |
6597 EOF | 6736 EOF |
6607 echo "$ac_t""no" 1>&6 | 6746 echo "$ac_t""no" 1>&6 |
6608 fi | 6747 fi |
6609 rm -f conftest* | 6748 rm -f conftest* |
6610 | 6749 |
6611 echo $ac_n "checking for sigsetjmp""... $ac_c" 1>&6 | 6750 echo $ac_n "checking for sigsetjmp""... $ac_c" 1>&6 |
6612 echo "configure:6613: checking for sigsetjmp" >&5 | 6751 echo "configure:6752: checking for sigsetjmp" >&5 |
6613 cat > conftest.$ac_ext <<EOF | 6752 cat > conftest.$ac_ext <<EOF |
6614 #line 6615 "configure" | 6753 #line 6754 "configure" |
6615 #include "confdefs.h" | 6754 #include "confdefs.h" |
6616 #include <setjmp.h> | 6755 #include <setjmp.h> |
6617 int main() { | 6756 int main() { |
6618 sigjmp_buf bar; sigsetjmp (bar, 0); | 6757 sigjmp_buf bar; sigsetjmp (bar, 0); |
6619 ; return 0; } | 6758 ; return 0; } |
6620 EOF | 6759 EOF |
6621 if { (eval echo configure:6622: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 6760 if { (eval echo configure:6761: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
6622 rm -rf conftest* | 6761 rm -rf conftest* |
6623 echo "$ac_t""yes" 1>&6 | 6762 echo "$ac_t""yes" 1>&6 |
6624 { test "$extra_verbose" = "yes" && cat << \EOF | 6763 { test "$extra_verbose" = "yes" && cat << \EOF |
6625 Defining HAVE_SIGSETJMP | 6764 Defining HAVE_SIGSETJMP |
6626 EOF | 6765 EOF |
6636 echo "$ac_t""no" 1>&6 | 6775 echo "$ac_t""no" 1>&6 |
6637 fi | 6776 fi |
6638 rm -f conftest* | 6777 rm -f conftest* |
6639 | 6778 |
6640 echo $ac_n "checking whether localtime caches TZ""... $ac_c" 1>&6 | 6779 echo $ac_n "checking whether localtime caches TZ""... $ac_c" 1>&6 |
6641 echo "configure:6642: checking whether localtime caches TZ" >&5 | 6780 echo "configure:6781: checking whether localtime caches TZ" >&5 |
6642 | 6781 |
6643 if test "$ac_cv_func_tzset" = "yes"; then | 6782 if test "$ac_cv_func_tzset" = "yes"; then |
6644 cat > conftest.$ac_ext <<EOF | 6783 cat > conftest.$ac_ext <<EOF |
6645 #line 6646 "configure" | 6784 #line 6785 "configure" |
6646 #include "confdefs.h" | 6785 #include "confdefs.h" |
6647 #include <time.h> | 6786 #include <time.h> |
6648 #if STDC_HEADERS | 6787 #if STDC_HEADERS |
6649 # include <stdlib.h> | 6788 # include <stdlib.h> |
6650 #endif | 6789 #endif |
6675 if (localtime (&now)->tm_hour != hour_unset) | 6814 if (localtime (&now)->tm_hour != hour_unset) |
6676 exit (1); | 6815 exit (1); |
6677 exit (0); | 6816 exit (0); |
6678 } | 6817 } |
6679 EOF | 6818 EOF |
6680 if { (eval echo configure:6681: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 | 6819 if { (eval echo configure:6820: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 |
6681 then | 6820 then |
6682 emacs_cv_localtime_cache=no | 6821 emacs_cv_localtime_cache=no |
6683 else | 6822 else |
6684 echo "configure: failed program was:" >&5 | 6823 echo "configure: failed program was:" >&5 |
6685 cat conftest.$ac_ext >&5 | 6824 cat conftest.$ac_ext >&5 |
6704 | 6843 |
6705 fi | 6844 fi |
6706 | 6845 |
6707 if test "$HAVE_TIMEVAL" = "yes"; then | 6846 if test "$HAVE_TIMEVAL" = "yes"; then |
6708 echo $ac_n "checking whether gettimeofday cannot accept two arguments""... $ac_c" 1>&6 | 6847 echo $ac_n "checking whether gettimeofday cannot accept two arguments""... $ac_c" 1>&6 |
6709 echo "configure:6710: checking whether gettimeofday cannot accept two arguments" >&5 | 6848 echo "configure:6849: checking whether gettimeofday cannot accept two arguments" >&5 |
6710 cat > conftest.$ac_ext <<EOF | 6849 cat > conftest.$ac_ext <<EOF |
6711 #line 6712 "configure" | 6850 #line 6851 "configure" |
6712 #include "confdefs.h" | 6851 #include "confdefs.h" |
6713 | 6852 |
6714 #ifdef TIME_WITH_SYS_TIME | 6853 #ifdef TIME_WITH_SYS_TIME |
6715 #include <sys/time.h> | 6854 #include <sys/time.h> |
6716 #include <time.h> | 6855 #include <time.h> |
6728 struct timezone dummy; | 6867 struct timezone dummy; |
6729 gettimeofday (&time, &dummy); | 6868 gettimeofday (&time, &dummy); |
6730 | 6869 |
6731 ; return 0; } | 6870 ; return 0; } |
6732 EOF | 6871 EOF |
6733 if { (eval echo configure:6734: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 6872 if { (eval echo configure:6873: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
6734 rm -rf conftest* | 6873 rm -rf conftest* |
6735 echo "$ac_t""no" 1>&6 | 6874 echo "$ac_t""no" 1>&6 |
6736 else | 6875 else |
6737 echo "configure: failed program was:" >&5 | 6876 echo "configure: failed program was:" >&5 |
6738 cat conftest.$ac_ext >&5 | 6877 cat conftest.$ac_ext >&5 |
6750 rm -f conftest* | 6889 rm -f conftest* |
6751 fi | 6890 fi |
6752 | 6891 |
6753 | 6892 |
6754 echo $ac_n "checking for inline""... $ac_c" 1>&6 | 6893 echo $ac_n "checking for inline""... $ac_c" 1>&6 |
6755 echo "configure:6756: checking for inline" >&5 | 6894 echo "configure:6895: checking for inline" >&5 |
6756 | 6895 |
6757 ac_cv_c_inline=no | 6896 ac_cv_c_inline=no |
6758 for ac_kw in inline __inline__ __inline; do | 6897 for ac_kw in inline __inline__ __inline; do |
6759 cat > conftest.$ac_ext <<EOF | 6898 cat > conftest.$ac_ext <<EOF |
6760 #line 6761 "configure" | 6899 #line 6900 "configure" |
6761 #include "confdefs.h" | 6900 #include "confdefs.h" |
6762 | 6901 |
6763 int main() { | 6902 int main() { |
6764 } $ac_kw foo() { | 6903 } $ac_kw foo() { |
6765 ; return 0; } | 6904 ; return 0; } |
6766 EOF | 6905 EOF |
6767 if { (eval echo configure:6768: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 6906 if { (eval echo configure:6907: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
6768 rm -rf conftest* | 6907 rm -rf conftest* |
6769 ac_cv_c_inline=$ac_kw; break | 6908 ac_cv_c_inline=$ac_kw; break |
6770 else | 6909 else |
6771 echo "configure: failed program was:" >&5 | 6910 echo "configure: failed program was:" >&5 |
6772 cat conftest.$ac_ext >&5 | 6911 cat conftest.$ac_ext >&5 |
6794 EOF | 6933 EOF |
6795 } | 6934 } |
6796 ;; | 6935 ;; |
6797 esac | 6936 esac |
6798 | 6937 |
6799 test "$ac_cv_c_inline" != "no" && { test "$extra_verbose" = "yes" && cat << \EOF | 6938 if test "$ac_cv_c_inline" != "no"; then |
6939 { test "$extra_verbose" = "yes" && cat << \EOF | |
6800 Defining HAVE_INLINE | 6940 Defining HAVE_INLINE |
6801 EOF | 6941 EOF |
6802 cat >> confdefs.h <<\EOF | 6942 cat >> confdefs.h <<\EOF |
6803 #define HAVE_INLINE 1 | 6943 #define HAVE_INLINE 1 |
6804 EOF | 6944 EOF |
6805 } | 6945 } |
6806 | 6946 |
6947 test "$GCC" = "yes" && extra_objs="$extra_objs inline.o" && if test "$extra_verbose" = "yes"; then | |
6948 echo " xemacs will be linked with \"inline.o\"" | |
6949 fi | |
6950 fi | |
6807 | 6951 |
6808 | 6952 |
6809 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works | 6953 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works |
6810 # for constant arguments. Useless! | 6954 # for constant arguments. Useless! |
6811 echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6 | 6955 echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6 |
6812 echo "configure:6813: checking for working alloca.h" >&5 | 6956 echo "configure:6957: checking for working alloca.h" >&5 |
6813 | 6957 |
6814 cat > conftest.$ac_ext <<EOF | 6958 cat > conftest.$ac_ext <<EOF |
6815 #line 6816 "configure" | 6959 #line 6960 "configure" |
6816 #include "confdefs.h" | 6960 #include "confdefs.h" |
6817 #include <alloca.h> | 6961 #include <alloca.h> |
6818 int main() { | 6962 int main() { |
6819 char *p = alloca(2 * sizeof(int)); | 6963 char *p = alloca(2 * sizeof(int)); |
6820 ; return 0; } | 6964 ; return 0; } |
6821 EOF | 6965 EOF |
6822 if { (eval echo configure:6823: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 6966 if { (eval echo configure:6967: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
6823 rm -rf conftest* | 6967 rm -rf conftest* |
6824 ac_cv_header_alloca_h=yes | 6968 ac_cv_header_alloca_h=yes |
6825 else | 6969 else |
6826 echo "configure: failed program was:" >&5 | 6970 echo "configure: failed program was:" >&5 |
6827 cat conftest.$ac_ext >&5 | 6971 cat conftest.$ac_ext >&5 |
6841 } | 6985 } |
6842 | 6986 |
6843 fi | 6987 fi |
6844 | 6988 |
6845 echo $ac_n "checking for alloca""... $ac_c" 1>&6 | 6989 echo $ac_n "checking for alloca""... $ac_c" 1>&6 |
6846 echo "configure:6847: checking for alloca" >&5 | 6990 echo "configure:6991: checking for alloca" >&5 |
6847 | 6991 |
6848 cat > conftest.$ac_ext <<EOF | 6992 cat > conftest.$ac_ext <<EOF |
6849 #line 6850 "configure" | 6993 #line 6994 "configure" |
6850 #include "confdefs.h" | 6994 #include "confdefs.h" |
6851 | 6995 |
6852 #ifdef __GNUC__ | 6996 #ifdef __GNUC__ |
6853 # define alloca __builtin_alloca | 6997 # define alloca __builtin_alloca |
6854 #else | 6998 #else |
6867 | 7011 |
6868 int main() { | 7012 int main() { |
6869 char *p = (char *) alloca(1); | 7013 char *p = (char *) alloca(1); |
6870 ; return 0; } | 7014 ; return 0; } |
6871 EOF | 7015 EOF |
6872 if { (eval echo configure:6873: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 7016 if { (eval echo configure:7017: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
6873 rm -rf conftest* | 7017 rm -rf conftest* |
6874 ac_cv_func_alloca_works=yes | 7018 ac_cv_func_alloca_works=yes |
6875 else | 7019 else |
6876 echo "configure: failed program was:" >&5 | 7020 echo "configure: failed program was:" >&5 |
6877 cat conftest.$ac_ext >&5 | 7021 cat conftest.$ac_ext >&5 |
6906 EOF | 7050 EOF |
6907 } | 7051 } |
6908 | 7052 |
6909 | 7053 |
6910 echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6 | 7054 echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6 |
6911 echo "configure:6912: checking whether alloca needs Cray hooks" >&5 | 7055 echo "configure:7056: checking whether alloca needs Cray hooks" >&5 |
6912 | 7056 |
6913 cat > conftest.$ac_ext <<EOF | 7057 cat > conftest.$ac_ext <<EOF |
6914 #line 6915 "configure" | 7058 #line 7059 "configure" |
6915 #include "confdefs.h" | 7059 #include "confdefs.h" |
6916 #if defined(CRAY) && ! defined(CRAY2) | 7060 #if defined(CRAY) && ! defined(CRAY2) |
6917 webecray | 7061 webecray |
6918 #else | 7062 #else |
6919 wenotbecray | 7063 wenotbecray |
6933 | 7077 |
6934 echo "$ac_t""$ac_cv_os_cray" 1>&6 | 7078 echo "$ac_t""$ac_cv_os_cray" 1>&6 |
6935 if test $ac_cv_os_cray = yes; then | 7079 if test $ac_cv_os_cray = yes; then |
6936 for ac_func in _getb67 GETB67 getb67; do | 7080 for ac_func in _getb67 GETB67 getb67; do |
6937 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 7081 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
6938 echo "configure:6939: checking for $ac_func" >&5 | 7082 echo "configure:7083: checking for $ac_func" >&5 |
6939 | 7083 |
6940 cat > conftest.$ac_ext <<EOF | 7084 cat > conftest.$ac_ext <<EOF |
6941 #line 6942 "configure" | 7085 #line 7086 "configure" |
6942 #include "confdefs.h" | 7086 #include "confdefs.h" |
6943 /* System header to define __stub macros and hopefully few prototypes, | 7087 /* System header to define __stub macros and hopefully few prototypes, |
6944 which can conflict with char $ac_func(); below. */ | 7088 which can conflict with char $ac_func(); below. */ |
6945 #include <assert.h> | 7089 #include <assert.h> |
6946 /* Override any gcc2 internal prototype to avoid an error. */ | 7090 /* Override any gcc2 internal prototype to avoid an error. */ |
6959 $ac_func(); | 7103 $ac_func(); |
6960 #endif | 7104 #endif |
6961 | 7105 |
6962 ; return 0; } | 7106 ; return 0; } |
6963 EOF | 7107 EOF |
6964 if { (eval echo configure:6965: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 7108 if { (eval echo configure:7109: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
6965 rm -rf conftest* | 7109 rm -rf conftest* |
6966 eval "ac_cv_func_$ac_func=yes" | 7110 eval "ac_cv_func_$ac_func=yes" |
6967 else | 7111 else |
6968 echo "configure: failed program was:" >&5 | 7112 echo "configure: failed program was:" >&5 |
6969 cat conftest.$ac_ext >&5 | 7113 cat conftest.$ac_ext >&5 |
6989 | 7133 |
6990 done | 7134 done |
6991 fi | 7135 fi |
6992 | 7136 |
6993 echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6 | 7137 echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6 |
6994 echo "configure:6995: checking stack direction for C alloca" >&5 | 7138 echo "configure:7139: checking stack direction for C alloca" >&5 |
6995 | 7139 |
6996 cat > conftest.$ac_ext <<EOF | 7140 cat > conftest.$ac_ext <<EOF |
6997 #line 6998 "configure" | 7141 #line 7142 "configure" |
6998 #include "confdefs.h" | 7142 #include "confdefs.h" |
6999 find_stack_direction () | 7143 find_stack_direction () |
7000 { | 7144 { |
7001 static char *addr = 0; | 7145 static char *addr = 0; |
7002 auto char dummy; | 7146 auto char dummy; |
7011 main () | 7155 main () |
7012 { | 7156 { |
7013 exit (find_stack_direction() < 0); | 7157 exit (find_stack_direction() < 0); |
7014 } | 7158 } |
7015 EOF | 7159 EOF |
7016 if { (eval echo configure:7017: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 | 7160 if { (eval echo configure:7161: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 |
7017 then | 7161 then |
7018 ac_cv_c_stack_direction=1 | 7162 ac_cv_c_stack_direction=1 |
7019 else | 7163 else |
7020 echo "configure: failed program was:" >&5 | 7164 echo "configure: failed program was:" >&5 |
7021 cat conftest.$ac_ext >&5 | 7165 cat conftest.$ac_ext >&5 |
7038 test -n "$ALLOCA" && extra_objs="$extra_objs $ALLOCA" && if test "$extra_verbose" = "yes"; then | 7182 test -n "$ALLOCA" && extra_objs="$extra_objs $ALLOCA" && if test "$extra_verbose" = "yes"; then |
7039 echo " xemacs will be linked with \"$ALLOCA\"" | 7183 echo " xemacs will be linked with \"$ALLOCA\"" |
7040 fi | 7184 fi |
7041 | 7185 |
7042 echo $ac_n "checking for pid_t""... $ac_c" 1>&6 | 7186 echo $ac_n "checking for pid_t""... $ac_c" 1>&6 |
7043 echo "configure:7044: checking for pid_t" >&5 | 7187 echo "configure:7188: checking for pid_t" >&5 |
7044 | 7188 |
7045 cat > conftest.$ac_ext <<EOF | 7189 cat > conftest.$ac_ext <<EOF |
7046 #line 7047 "configure" | 7190 #line 7191 "configure" |
7047 #include "confdefs.h" | 7191 #include "confdefs.h" |
7048 #include <sys/types.h> | 7192 #include <sys/types.h> |
7049 #if STDC_HEADERS | 7193 #if STDC_HEADERS |
7050 #include <stdlib.h> | 7194 #include <stdlib.h> |
7051 #include <stddef.h> | 7195 #include <stddef.h> |
7073 | 7217 |
7074 fi | 7218 fi |
7075 | 7219 |
7076 ac_safe=`echo "vfork.h" | sed 'y%./+-%__p_%'` | 7220 ac_safe=`echo "vfork.h" | sed 'y%./+-%__p_%'` |
7077 echo $ac_n "checking for vfork.h""... $ac_c" 1>&6 | 7221 echo $ac_n "checking for vfork.h""... $ac_c" 1>&6 |
7078 echo "configure:7079: checking for vfork.h" >&5 | 7222 echo "configure:7223: checking for vfork.h" >&5 |
7079 | 7223 |
7080 cat > conftest.$ac_ext <<EOF | 7224 cat > conftest.$ac_ext <<EOF |
7081 #line 7082 "configure" | 7225 #line 7226 "configure" |
7082 #include "confdefs.h" | 7226 #include "confdefs.h" |
7083 #include <vfork.h> | 7227 #include <vfork.h> |
7084 EOF | 7228 EOF |
7085 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7229 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
7086 { (eval echo configure:7087: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7230 { (eval echo configure:7231: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
7087 ac_err=`grep -v '^ *+' conftest.out` | 7231 ac_err=`grep -v '^ *+' conftest.out` |
7088 if test -z "$ac_err"; then | 7232 if test -z "$ac_err"; then |
7089 rm -rf conftest* | 7233 rm -rf conftest* |
7090 eval "ac_cv_header_$ac_safe=yes" | 7234 eval "ac_cv_header_$ac_safe=yes" |
7091 else | 7235 else |
7109 else | 7253 else |
7110 echo "$ac_t""no" 1>&6 | 7254 echo "$ac_t""no" 1>&6 |
7111 fi | 7255 fi |
7112 | 7256 |
7113 echo $ac_n "checking for working vfork""... $ac_c" 1>&6 | 7257 echo $ac_n "checking for working vfork""... $ac_c" 1>&6 |
7114 echo "configure:7115: checking for working vfork" >&5 | 7258 echo "configure:7259: checking for working vfork" >&5 |
7115 | 7259 |
7116 cat > conftest.$ac_ext <<EOF | 7260 cat > conftest.$ac_ext <<EOF |
7117 #line 7118 "configure" | 7261 #line 7262 "configure" |
7118 #include "confdefs.h" | 7262 #include "confdefs.h" |
7119 /* Thanks to Paul Eggert for this test. */ | 7263 /* Thanks to Paul Eggert for this test. */ |
7120 #include <stdio.h> | 7264 #include <stdio.h> |
7121 #include <sys/types.h> | 7265 #include <sys/types.h> |
7122 #include <sys/stat.h> | 7266 #include <sys/stat.h> |
7207 || fstat(fileno(stdout), &st) != 0 | 7351 || fstat(fileno(stdout), &st) != 0 |
7208 ); | 7352 ); |
7209 } | 7353 } |
7210 } | 7354 } |
7211 EOF | 7355 EOF |
7212 if { (eval echo configure:7213: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 | 7356 if { (eval echo configure:7357: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 |
7213 then | 7357 then |
7214 ac_cv_func_vfork_works=yes | 7358 ac_cv_func_vfork_works=yes |
7215 else | 7359 else |
7216 echo "configure: failed program was:" >&5 | 7360 echo "configure: failed program was:" >&5 |
7217 cat conftest.$ac_ext >&5 | 7361 cat conftest.$ac_ext >&5 |
7232 | 7376 |
7233 fi | 7377 fi |
7234 | 7378 |
7235 | 7379 |
7236 echo $ac_n "checking for working strcoll""... $ac_c" 1>&6 | 7380 echo $ac_n "checking for working strcoll""... $ac_c" 1>&6 |
7237 echo "configure:7238: checking for working strcoll" >&5 | 7381 echo "configure:7382: checking for working strcoll" >&5 |
7238 | 7382 |
7239 cat > conftest.$ac_ext <<EOF | 7383 cat > conftest.$ac_ext <<EOF |
7240 #line 7241 "configure" | 7384 #line 7385 "configure" |
7241 #include "confdefs.h" | 7385 #include "confdefs.h" |
7242 #include <string.h> | 7386 #include <string.h> |
7243 main () | 7387 main () |
7244 { | 7388 { |
7245 exit (strcoll ("abc", "def") >= 0 || | 7389 exit (strcoll ("abc", "def") >= 0 || |
7246 strcoll ("ABC", "DEF") >= 0 || | 7390 strcoll ("ABC", "DEF") >= 0 || |
7247 strcoll ("123", "456") >= 0); | 7391 strcoll ("123", "456") >= 0); |
7248 } | 7392 } |
7249 EOF | 7393 EOF |
7250 if { (eval echo configure:7251: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 | 7394 if { (eval echo configure:7395: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 |
7251 then | 7395 then |
7252 ac_cv_func_strcoll_works=yes | 7396 ac_cv_func_strcoll_works=yes |
7253 else | 7397 else |
7254 echo "configure: failed program was:" >&5 | 7398 echo "configure: failed program was:" >&5 |
7255 cat conftest.$ac_ext >&5 | 7399 cat conftest.$ac_ext >&5 |
7270 | 7414 |
7271 fi | 7415 fi |
7272 | 7416 |
7273 | 7417 |
7274 echo $ac_n "checking for working mmap""... $ac_c" 1>&6 | 7418 echo $ac_n "checking for working mmap""... $ac_c" 1>&6 |
7275 echo "configure:7276: checking for working mmap" >&5 | 7419 echo "configure:7420: checking for working mmap" >&5 |
7276 cat > conftest.$ac_ext <<EOF | 7420 case "$opsys" in ultrix* ) have_mmap=no ;; *) |
7277 #line 7278 "configure" | 7421 cat > conftest.$ac_ext <<EOF |
7422 #line 7423 "configure" | |
7278 #include "confdefs.h" | 7423 #include "confdefs.h" |
7279 #include <stdio.h> | 7424 #include <stdio.h> |
7280 #include <unistd.h> | 7425 #include <unistd.h> |
7281 #include <fcntl.h> | 7426 #include <fcntl.h> |
7282 #include <sys/mman.h> | 7427 #include <sys/mman.h> |
7305 return 0; | 7450 return 0; |
7306 perror ("conftest: mmap failed"); | 7451 perror ("conftest: mmap failed"); |
7307 return 1; | 7452 return 1; |
7308 } | 7453 } |
7309 EOF | 7454 EOF |
7310 if { (eval echo configure:7311: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 | 7455 if { (eval echo configure:7456: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 |
7311 then | 7456 then |
7312 have_mmap=yes | 7457 have_mmap=yes |
7313 else | 7458 else |
7314 echo "configure: failed program was:" >&5 | 7459 echo "configure: failed program was:" >&5 |
7315 cat conftest.$ac_ext >&5 | 7460 cat conftest.$ac_ext >&5 |
7316 rm -fr conftest* | 7461 rm -fr conftest* |
7317 have_mmap=no | 7462 have_mmap=no |
7318 fi | 7463 fi |
7319 rm -fr conftest* | 7464 rm -fr conftest* ;; |
7465 esac | |
7320 echo "$ac_t""$have_mmap" 1>&6 | 7466 echo "$ac_t""$have_mmap" 1>&6 |
7321 test "$have_mmap" = "yes" && { test "$extra_verbose" = "yes" && cat << \EOF | 7467 test "$have_mmap" = "yes" && { test "$extra_verbose" = "yes" && cat << \EOF |
7322 Defining HAVE_MMAP | 7468 Defining HAVE_MMAP |
7323 EOF | 7469 EOF |
7324 cat >> confdefs.h <<\EOF | 7470 cat >> confdefs.h <<\EOF |
7337 EOF | 7483 EOF |
7338 } | 7484 } |
7339 | 7485 |
7340 | 7486 |
7341 echo $ac_n "checking for socket""... $ac_c" 1>&6 | 7487 echo $ac_n "checking for socket""... $ac_c" 1>&6 |
7342 echo "configure:7343: checking for socket" >&5 | 7488 echo "configure:7489: checking for socket" >&5 |
7343 | 7489 |
7344 cat > conftest.$ac_ext <<EOF | 7490 cat > conftest.$ac_ext <<EOF |
7345 #line 7346 "configure" | 7491 #line 7492 "configure" |
7346 #include "confdefs.h" | 7492 #include "confdefs.h" |
7347 /* System header to define __stub macros and hopefully few prototypes, | 7493 /* System header to define __stub macros and hopefully few prototypes, |
7348 which can conflict with char socket(); below. */ | 7494 which can conflict with char socket(); below. */ |
7349 #include <assert.h> | 7495 #include <assert.h> |
7350 /* Override any gcc2 internal prototype to avoid an error. */ | 7496 /* Override any gcc2 internal prototype to avoid an error. */ |
7363 socket(); | 7509 socket(); |
7364 #endif | 7510 #endif |
7365 | 7511 |
7366 ; return 0; } | 7512 ; return 0; } |
7367 EOF | 7513 EOF |
7368 if { (eval echo configure:7369: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 7514 if { (eval echo configure:7515: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
7369 rm -rf conftest* | 7515 rm -rf conftest* |
7370 eval "ac_cv_func_socket=yes" | 7516 eval "ac_cv_func_socket=yes" |
7371 else | 7517 else |
7372 echo "configure: failed program was:" >&5 | 7518 echo "configure: failed program was:" >&5 |
7373 cat conftest.$ac_ext >&5 | 7519 cat conftest.$ac_ext >&5 |
7378 | 7524 |
7379 if eval "test \"`echo '$ac_cv_func_'socket`\" = yes"; then | 7525 if eval "test \"`echo '$ac_cv_func_'socket`\" = yes"; then |
7380 echo "$ac_t""yes" 1>&6 | 7526 echo "$ac_t""yes" 1>&6 |
7381 ac_safe=`echo "netinet/in.h" | sed 'y%./+-%__p_%'` | 7527 ac_safe=`echo "netinet/in.h" | sed 'y%./+-%__p_%'` |
7382 echo $ac_n "checking for netinet/in.h""... $ac_c" 1>&6 | 7528 echo $ac_n "checking for netinet/in.h""... $ac_c" 1>&6 |
7383 echo "configure:7384: checking for netinet/in.h" >&5 | 7529 echo "configure:7530: checking for netinet/in.h" >&5 |
7384 | 7530 |
7385 cat > conftest.$ac_ext <<EOF | 7531 cat > conftest.$ac_ext <<EOF |
7386 #line 7387 "configure" | 7532 #line 7533 "configure" |
7387 #include "confdefs.h" | 7533 #include "confdefs.h" |
7388 #include <netinet/in.h> | 7534 #include <netinet/in.h> |
7389 EOF | 7535 EOF |
7390 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7536 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
7391 { (eval echo configure:7392: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7537 { (eval echo configure:7538: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
7392 ac_err=`grep -v '^ *+' conftest.out` | 7538 ac_err=`grep -v '^ *+' conftest.out` |
7393 if test -z "$ac_err"; then | 7539 if test -z "$ac_err"; then |
7394 rm -rf conftest* | 7540 rm -rf conftest* |
7395 eval "ac_cv_header_$ac_safe=yes" | 7541 eval "ac_cv_header_$ac_safe=yes" |
7396 else | 7542 else |
7403 rm -f conftest* | 7549 rm -f conftest* |
7404 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 7550 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
7405 echo "$ac_t""yes" 1>&6 | 7551 echo "$ac_t""yes" 1>&6 |
7406 ac_safe=`echo "arpa/inet.h" | sed 'y%./+-%__p_%'` | 7552 ac_safe=`echo "arpa/inet.h" | sed 'y%./+-%__p_%'` |
7407 echo $ac_n "checking for arpa/inet.h""... $ac_c" 1>&6 | 7553 echo $ac_n "checking for arpa/inet.h""... $ac_c" 1>&6 |
7408 echo "configure:7409: checking for arpa/inet.h" >&5 | 7554 echo "configure:7555: checking for arpa/inet.h" >&5 |
7409 | 7555 |
7410 cat > conftest.$ac_ext <<EOF | 7556 cat > conftest.$ac_ext <<EOF |
7411 #line 7412 "configure" | 7557 #line 7558 "configure" |
7412 #include "confdefs.h" | 7558 #include "confdefs.h" |
7413 #include <arpa/inet.h> | 7559 #include <arpa/inet.h> |
7414 EOF | 7560 EOF |
7415 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7561 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
7416 { (eval echo configure:7417: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7562 { (eval echo configure:7563: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
7417 ac_err=`grep -v '^ *+' conftest.out` | 7563 ac_err=`grep -v '^ *+' conftest.out` |
7418 if test -z "$ac_err"; then | 7564 if test -z "$ac_err"; then |
7419 rm -rf conftest* | 7565 rm -rf conftest* |
7420 eval "ac_cv_header_$ac_safe=yes" | 7566 eval "ac_cv_header_$ac_safe=yes" |
7421 else | 7567 else |
7436 #define HAVE_SOCKETS 1 | 7582 #define HAVE_SOCKETS 1 |
7437 EOF | 7583 EOF |
7438 } | 7584 } |
7439 | 7585 |
7440 echo $ac_n "checking "for sun_len member in struct sockaddr_un"""... $ac_c" 1>&6 | 7586 echo $ac_n "checking "for sun_len member in struct sockaddr_un"""... $ac_c" 1>&6 |
7441 echo "configure:7442: checking "for sun_len member in struct sockaddr_un"" >&5 | 7587 echo "configure:7588: checking "for sun_len member in struct sockaddr_un"" >&5 |
7442 cat > conftest.$ac_ext <<EOF | 7588 cat > conftest.$ac_ext <<EOF |
7443 #line 7444 "configure" | 7589 #line 7590 "configure" |
7444 #include "confdefs.h" | 7590 #include "confdefs.h" |
7445 | 7591 |
7446 #include <sys/types.h> | 7592 #include <sys/types.h> |
7447 #include <sys/socket.h> | 7593 #include <sys/socket.h> |
7448 #include <sys/un.h> | 7594 #include <sys/un.h> |
7449 | 7595 |
7450 int main() { | 7596 int main() { |
7451 static struct sockaddr_un x; x.sun_len = 1; | 7597 static struct sockaddr_un x; x.sun_len = 1; |
7452 ; return 0; } | 7598 ; return 0; } |
7453 EOF | 7599 EOF |
7454 if { (eval echo configure:7455: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 7600 if { (eval echo configure:7601: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
7455 rm -rf conftest* | 7601 rm -rf conftest* |
7456 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF | 7602 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF |
7457 Defining HAVE_SOCKADDR_SUN_LEN | 7603 Defining HAVE_SOCKADDR_SUN_LEN |
7458 EOF | 7604 EOF |
7459 cat >> confdefs.h <<\EOF | 7605 cat >> confdefs.h <<\EOF |
7480 echo "$ac_t""no" 1>&6 | 7626 echo "$ac_t""no" 1>&6 |
7481 fi | 7627 fi |
7482 | 7628 |
7483 | 7629 |
7484 echo $ac_n "checking for msgget""... $ac_c" 1>&6 | 7630 echo $ac_n "checking for msgget""... $ac_c" 1>&6 |
7485 echo "configure:7486: checking for msgget" >&5 | 7631 echo "configure:7632: checking for msgget" >&5 |
7486 | 7632 |
7487 cat > conftest.$ac_ext <<EOF | 7633 cat > conftest.$ac_ext <<EOF |
7488 #line 7489 "configure" | 7634 #line 7635 "configure" |
7489 #include "confdefs.h" | 7635 #include "confdefs.h" |
7490 /* System header to define __stub macros and hopefully few prototypes, | 7636 /* System header to define __stub macros and hopefully few prototypes, |
7491 which can conflict with char msgget(); below. */ | 7637 which can conflict with char msgget(); below. */ |
7492 #include <assert.h> | 7638 #include <assert.h> |
7493 /* Override any gcc2 internal prototype to avoid an error. */ | 7639 /* Override any gcc2 internal prototype to avoid an error. */ |
7506 msgget(); | 7652 msgget(); |
7507 #endif | 7653 #endif |
7508 | 7654 |
7509 ; return 0; } | 7655 ; return 0; } |
7510 EOF | 7656 EOF |
7511 if { (eval echo configure:7512: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 7657 if { (eval echo configure:7658: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
7512 rm -rf conftest* | 7658 rm -rf conftest* |
7513 eval "ac_cv_func_msgget=yes" | 7659 eval "ac_cv_func_msgget=yes" |
7514 else | 7660 else |
7515 echo "configure: failed program was:" >&5 | 7661 echo "configure: failed program was:" >&5 |
7516 cat conftest.$ac_ext >&5 | 7662 cat conftest.$ac_ext >&5 |
7521 | 7667 |
7522 if eval "test \"`echo '$ac_cv_func_'msgget`\" = yes"; then | 7668 if eval "test \"`echo '$ac_cv_func_'msgget`\" = yes"; then |
7523 echo "$ac_t""yes" 1>&6 | 7669 echo "$ac_t""yes" 1>&6 |
7524 ac_safe=`echo "sys/ipc.h" | sed 'y%./+-%__p_%'` | 7670 ac_safe=`echo "sys/ipc.h" | sed 'y%./+-%__p_%'` |
7525 echo $ac_n "checking for sys/ipc.h""... $ac_c" 1>&6 | 7671 echo $ac_n "checking for sys/ipc.h""... $ac_c" 1>&6 |
7526 echo "configure:7527: checking for sys/ipc.h" >&5 | 7672 echo "configure:7673: checking for sys/ipc.h" >&5 |
7527 | 7673 |
7528 cat > conftest.$ac_ext <<EOF | 7674 cat > conftest.$ac_ext <<EOF |
7529 #line 7530 "configure" | 7675 #line 7676 "configure" |
7530 #include "confdefs.h" | 7676 #include "confdefs.h" |
7531 #include <sys/ipc.h> | 7677 #include <sys/ipc.h> |
7532 EOF | 7678 EOF |
7533 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7679 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
7534 { (eval echo configure:7535: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7680 { (eval echo configure:7681: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
7535 ac_err=`grep -v '^ *+' conftest.out` | 7681 ac_err=`grep -v '^ *+' conftest.out` |
7536 if test -z "$ac_err"; then | 7682 if test -z "$ac_err"; then |
7537 rm -rf conftest* | 7683 rm -rf conftest* |
7538 eval "ac_cv_header_$ac_safe=yes" | 7684 eval "ac_cv_header_$ac_safe=yes" |
7539 else | 7685 else |
7546 rm -f conftest* | 7692 rm -f conftest* |
7547 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 7693 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
7548 echo "$ac_t""yes" 1>&6 | 7694 echo "$ac_t""yes" 1>&6 |
7549 ac_safe=`echo "sys/msg.h" | sed 'y%./+-%__p_%'` | 7695 ac_safe=`echo "sys/msg.h" | sed 'y%./+-%__p_%'` |
7550 echo $ac_n "checking for sys/msg.h""... $ac_c" 1>&6 | 7696 echo $ac_n "checking for sys/msg.h""... $ac_c" 1>&6 |
7551 echo "configure:7552: checking for sys/msg.h" >&5 | 7697 echo "configure:7698: checking for sys/msg.h" >&5 |
7552 | 7698 |
7553 cat > conftest.$ac_ext <<EOF | 7699 cat > conftest.$ac_ext <<EOF |
7554 #line 7555 "configure" | 7700 #line 7701 "configure" |
7555 #include "confdefs.h" | 7701 #include "confdefs.h" |
7556 #include <sys/msg.h> | 7702 #include <sys/msg.h> |
7557 EOF | 7703 EOF |
7558 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7704 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
7559 { (eval echo configure:7560: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7705 { (eval echo configure:7706: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
7560 ac_err=`grep -v '^ *+' conftest.out` | 7706 ac_err=`grep -v '^ *+' conftest.out` |
7561 if test -z "$ac_err"; then | 7707 if test -z "$ac_err"; then |
7562 rm -rf conftest* | 7708 rm -rf conftest* |
7563 eval "ac_cv_header_$ac_safe=yes" | 7709 eval "ac_cv_header_$ac_safe=yes" |
7564 else | 7710 else |
7592 fi | 7738 fi |
7593 | 7739 |
7594 | 7740 |
7595 ac_safe=`echo "dirent.h" | sed 'y%./+-%__p_%'` | 7741 ac_safe=`echo "dirent.h" | sed 'y%./+-%__p_%'` |
7596 echo $ac_n "checking for dirent.h""... $ac_c" 1>&6 | 7742 echo $ac_n "checking for dirent.h""... $ac_c" 1>&6 |
7597 echo "configure:7598: checking for dirent.h" >&5 | 7743 echo "configure:7744: checking for dirent.h" >&5 |
7598 | 7744 |
7599 cat > conftest.$ac_ext <<EOF | 7745 cat > conftest.$ac_ext <<EOF |
7600 #line 7601 "configure" | 7746 #line 7747 "configure" |
7601 #include "confdefs.h" | 7747 #include "confdefs.h" |
7602 #include <dirent.h> | 7748 #include <dirent.h> |
7603 EOF | 7749 EOF |
7604 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7750 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
7605 { (eval echo configure:7606: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7751 { (eval echo configure:7752: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
7606 ac_err=`grep -v '^ *+' conftest.out` | 7752 ac_err=`grep -v '^ *+' conftest.out` |
7607 if test -z "$ac_err"; then | 7753 if test -z "$ac_err"; then |
7608 rm -rf conftest* | 7754 rm -rf conftest* |
7609 eval "ac_cv_header_$ac_safe=yes" | 7755 eval "ac_cv_header_$ac_safe=yes" |
7610 else | 7756 else |
7627 | 7773 |
7628 else | 7774 else |
7629 echo "$ac_t""no" 1>&6 | 7775 echo "$ac_t""no" 1>&6 |
7630 ac_safe=`echo "sys/dir.h" | sed 'y%./+-%__p_%'` | 7776 ac_safe=`echo "sys/dir.h" | sed 'y%./+-%__p_%'` |
7631 echo $ac_n "checking for sys/dir.h""... $ac_c" 1>&6 | 7777 echo $ac_n "checking for sys/dir.h""... $ac_c" 1>&6 |
7632 echo "configure:7633: checking for sys/dir.h" >&5 | 7778 echo "configure:7779: checking for sys/dir.h" >&5 |
7633 | 7779 |
7634 cat > conftest.$ac_ext <<EOF | 7780 cat > conftest.$ac_ext <<EOF |
7635 #line 7636 "configure" | 7781 #line 7782 "configure" |
7636 #include "confdefs.h" | 7782 #include "confdefs.h" |
7637 #include <sys/dir.h> | 7783 #include <sys/dir.h> |
7638 EOF | 7784 EOF |
7639 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7785 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
7640 { (eval echo configure:7641: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7786 { (eval echo configure:7787: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
7641 ac_err=`grep -v '^ *+' conftest.out` | 7787 ac_err=`grep -v '^ *+' conftest.out` |
7642 if test -z "$ac_err"; then | 7788 if test -z "$ac_err"; then |
7643 rm -rf conftest* | 7789 rm -rf conftest* |
7644 eval "ac_cv_header_$ac_safe=yes" | 7790 eval "ac_cv_header_$ac_safe=yes" |
7645 else | 7791 else |
7668 fi | 7814 fi |
7669 | 7815 |
7670 | 7816 |
7671 ac_safe=`echo "nlist.h" | sed 'y%./+-%__p_%'` | 7817 ac_safe=`echo "nlist.h" | sed 'y%./+-%__p_%'` |
7672 echo $ac_n "checking for nlist.h""... $ac_c" 1>&6 | 7818 echo $ac_n "checking for nlist.h""... $ac_c" 1>&6 |
7673 echo "configure:7674: checking for nlist.h" >&5 | 7819 echo "configure:7820: checking for nlist.h" >&5 |
7674 | 7820 |
7675 cat > conftest.$ac_ext <<EOF | 7821 cat > conftest.$ac_ext <<EOF |
7676 #line 7677 "configure" | 7822 #line 7823 "configure" |
7677 #include "confdefs.h" | 7823 #include "confdefs.h" |
7678 #include <nlist.h> | 7824 #include <nlist.h> |
7679 EOF | 7825 EOF |
7680 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7826 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
7681 { (eval echo configure:7682: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7827 { (eval echo configure:7828: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
7682 ac_err=`grep -v '^ *+' conftest.out` | 7828 ac_err=`grep -v '^ *+' conftest.out` |
7683 if test -z "$ac_err"; then | 7829 if test -z "$ac_err"; then |
7684 rm -rf conftest* | 7830 rm -rf conftest* |
7685 eval "ac_cv_header_$ac_safe=yes" | 7831 eval "ac_cv_header_$ac_safe=yes" |
7686 else | 7832 else |
7746 | 7892 |
7747 | 7893 |
7748 | 7894 |
7749 | 7895 |
7750 echo "checking "for sound support"" 1>&6 | 7896 echo "checking "for sound support"" 1>&6 |
7751 echo "configure:7752: checking "for sound support"" >&5 | 7897 echo "configure:7898: checking "for sound support"" >&5 |
7752 case "$with_sound" in | 7898 case "$with_sound" in |
7753 native | both ) with_native_sound=yes;; | 7899 native | both ) with_native_sound=yes;; |
7754 nas | no ) with_native_sound=no;; | 7900 nas | no ) with_native_sound=no;; |
7755 esac | 7901 esac |
7902 test -z "$with_native_sound" -a -n "$native_sound_lib" && with_native_sound=yes | |
7903 | |
7756 if test "$with_native_sound" != "no"; then | 7904 if test "$with_native_sound" != "no"; then |
7757 if test -d "/usr/demo/SOUND"; then | 7905 if test -n "$native_sound_lib"; then |
7758 sound_found="yes" | 7906 ac_safe=`echo "multimedia/audio_device.h" | sed 'y%./+-%__p_%'` |
7907 echo $ac_n "checking for multimedia/audio_device.h""... $ac_c" 1>&6 | |
7908 echo "configure:7909: checking for multimedia/audio_device.h" >&5 | |
7909 | |
7910 cat > conftest.$ac_ext <<EOF | |
7911 #line 7912 "configure" | |
7912 #include "confdefs.h" | |
7913 #include <multimedia/audio_device.h> | |
7914 EOF | |
7915 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | |
7916 { (eval echo configure:7917: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | |
7917 ac_err=`grep -v '^ *+' conftest.out` | |
7918 if test -z "$ac_err"; then | |
7919 rm -rf conftest* | |
7920 eval "ac_cv_header_$ac_safe=yes" | |
7921 else | |
7922 echo "$ac_err" >&5 | |
7923 echo "configure: failed program was:" >&5 | |
7924 cat conftest.$ac_ext >&5 | |
7925 rm -rf conftest* | |
7926 eval "ac_cv_header_$ac_safe=no" | |
7927 fi | |
7928 rm -f conftest* | |
7929 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | |
7930 echo "$ac_t""yes" 1>&6 | |
7931 sound_found=yes sound_cflags="" | |
7932 extra_objs="$extra_objs sunplay.o" && if test "$extra_verbose" = "yes"; then | |
7933 echo " xemacs will be linked with \"sunplay.o\"" | |
7934 fi | |
7935 else | |
7936 echo "$ac_t""no" 1>&6 | |
7937 fi | |
7938 | |
7939 fi | |
7940 | |
7941 if test -z "$sound_found" -a -d "/usr/demo/SOUND"; then | |
7942 sound_found=yes | |
7759 extra_objs="$extra_objs sunplay.o" && if test "$extra_verbose" = "yes"; then | 7943 extra_objs="$extra_objs sunplay.o" && if test "$extra_verbose" = "yes"; then |
7760 echo " xemacs will be linked with \"sunplay.o\"" | 7944 echo " xemacs will be linked with \"sunplay.o\"" |
7761 fi | 7945 fi |
7762 if test -d "/usr/demo/SOUND/include" | 7946 if test -d "/usr/demo/SOUND/include" |
7763 then sound_cflags="-I/usr/demo/SOUND/include" | 7947 then sound_cflags="-I/usr/demo/SOUND/include" |
7767 if test -r "/usr/demo/SOUND/lib/libaudio.a" | 7951 if test -r "/usr/demo/SOUND/lib/libaudio.a" |
7768 then native_sound_lib="/usr/demo/SOUND/lib/libaudio.a" | 7952 then native_sound_lib="/usr/demo/SOUND/lib/libaudio.a" |
7769 else native_sound_lib="/usr/demo/SOUND/libaudio.a" | 7953 else native_sound_lib="/usr/demo/SOUND/libaudio.a" |
7770 fi | 7954 fi |
7771 fi | 7955 fi |
7772 else | 7956 fi |
7773 case "$canonical" in \ | 7957 |
7958 if test -z "$sound_found"; then | |
7959 case "$canonical" in | |
7774 *-sgi-* ) | 7960 *-sgi-* ) |
7775 | 7961 if test -z "$native_sound_lib"; then |
7962 | |
7776 echo $ac_n "checking for ALopenport in -laudio""... $ac_c" 1>&6 | 7963 echo $ac_n "checking for ALopenport in -laudio""... $ac_c" 1>&6 |
7777 echo "configure:7778: checking for ALopenport in -laudio" >&5 | 7964 echo "configure:7965: checking for ALopenport in -laudio" >&5 |
7778 ac_lib_var=`echo audio'_'ALopenport | sed 'y%./+-%__p_%'` | 7965 ac_lib_var=`echo audio'_'ALopenport | sed 'y%./+-%__p_%'` |
7779 | 7966 |
7780 xe_check_libs=" -laudio " | 7967 xe_check_libs=" -laudio " |
7781 cat > conftest.$ac_ext <<EOF | 7968 cat > conftest.$ac_ext <<EOF |
7782 #line 7783 "configure" | 7969 #line 7970 "configure" |
7783 #include "confdefs.h" | 7970 #include "confdefs.h" |
7784 /* Override any gcc2 internal prototype to avoid an error. */ | 7971 /* Override any gcc2 internal prototype to avoid an error. */ |
7785 /* We use char because int might match the return type of a gcc2 | 7972 /* We use char because int might match the return type of a gcc2 |
7786 builtin and then its argument prototype would still apply. */ | 7973 builtin and then its argument prototype would still apply. */ |
7787 char ALopenport(); | 7974 char ALopenport(); |
7788 | 7975 |
7789 int main() { | 7976 int main() { |
7790 ALopenport() | 7977 ALopenport() |
7791 ; return 0; } | 7978 ; return 0; } |
7792 EOF | 7979 EOF |
7793 if { (eval echo configure:7794: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 7980 if { (eval echo configure:7981: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
7794 rm -rf conftest* | 7981 rm -rf conftest* |
7795 eval "ac_cv_lib_$ac_lib_var=yes" | 7982 eval "ac_cv_lib_$ac_lib_var=yes" |
7796 else | 7983 else |
7797 echo "configure: failed program was:" >&5 | 7984 echo "configure: failed program was:" >&5 |
7798 cat conftest.$ac_ext >&5 | 7985 cat conftest.$ac_ext >&5 |
7808 else | 7995 else |
7809 echo "$ac_t""no" 1>&6 | 7996 echo "$ac_t""no" 1>&6 |
7810 fi | 7997 fi |
7811 | 7998 |
7812 | 7999 |
7813 if test "$native_sound_lib" = "-laudio"; then | 8000 fi |
7814 sound_found="yes" sound_cflags="" | 8001 if test -n "$native_sound_lib"; then |
8002 sound_found=yes sound_cflags="" | |
7815 extra_objs="$extra_objs sgiplay.o" && if test "$extra_verbose" = "yes"; then | 8003 extra_objs="$extra_objs sgiplay.o" && if test "$extra_verbose" = "yes"; then |
7816 echo " xemacs will be linked with \"sgiplay.o\"" | 8004 echo " xemacs will be linked with \"sgiplay.o\"" |
7817 fi | 8005 fi |
7818 fi ;; | 8006 fi ;; |
7819 hppa*-hp-hpux* ) | 8007 hppa*-hp-hpux* ) |
7820 | 8008 if test -z "$native_sound_lib"; then |
8009 | |
7821 echo $ac_n "checking for AOpenAudio in -lAlib""... $ac_c" 1>&6 | 8010 echo $ac_n "checking for AOpenAudio in -lAlib""... $ac_c" 1>&6 |
7822 echo "configure:7823: checking for AOpenAudio in -lAlib" >&5 | 8011 echo "configure:8012: checking for AOpenAudio in -lAlib" >&5 |
7823 ac_lib_var=`echo Alib'_'AOpenAudio | sed 'y%./+-%__p_%'` | 8012 ac_lib_var=`echo Alib'_'AOpenAudio | sed 'y%./+-%__p_%'` |
7824 | 8013 |
7825 xe_check_libs=" -lAlib " | 8014 xe_check_libs=" -lAlib " |
7826 cat > conftest.$ac_ext <<EOF | 8015 cat > conftest.$ac_ext <<EOF |
7827 #line 7828 "configure" | 8016 #line 8017 "configure" |
7828 #include "confdefs.h" | 8017 #include "confdefs.h" |
7829 /* Override any gcc2 internal prototype to avoid an error. */ | 8018 /* Override any gcc2 internal prototype to avoid an error. */ |
7830 /* We use char because int might match the return type of a gcc2 | 8019 /* We use char because int might match the return type of a gcc2 |
7831 builtin and then its argument prototype would still apply. */ | 8020 builtin and then its argument prototype would still apply. */ |
7832 char AOpenAudio(); | 8021 char AOpenAudio(); |
7833 | 8022 |
7834 int main() { | 8023 int main() { |
7835 AOpenAudio() | 8024 AOpenAudio() |
7836 ; return 0; } | 8025 ; return 0; } |
7837 EOF | 8026 EOF |
7838 if { (eval echo configure:7839: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 8027 if { (eval echo configure:8028: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
7839 rm -rf conftest* | 8028 rm -rf conftest* |
7840 eval "ac_cv_lib_$ac_lib_var=yes" | 8029 eval "ac_cv_lib_$ac_lib_var=yes" |
7841 else | 8030 else |
7842 echo "configure: failed program was:" >&5 | 8031 echo "configure: failed program was:" >&5 |
7843 cat conftest.$ac_ext >&5 | 8032 cat conftest.$ac_ext >&5 |
7853 else | 8042 else |
7854 echo "$ac_t""no" 1>&6 | 8043 echo "$ac_t""no" 1>&6 |
7855 fi | 8044 fi |
7856 | 8045 |
7857 | 8046 |
7858 if test "$native_sound_lib" = "-lAlib"; then | 8047 fi |
7859 sound_found="yes" | 8048 if test -n "$native_sound_lib"; then |
8049 sound_found=yes | |
7860 extra_objs="$extra_objs hpplay.o" && if test "$extra_verbose" = "yes"; then | 8050 extra_objs="$extra_objs hpplay.o" && if test "$extra_verbose" = "yes"; then |
7861 echo " xemacs will be linked with \"hpplay.o\"" | 8051 echo " xemacs will be linked with \"hpplay.o\"" |
7862 fi | 8052 fi |
7863 if test "$with_gcc" = "yes" # Kludge city | 8053 if test "$with_gcc" = "yes" # Kludge city |
7864 then sound_cflags="-Dconst= -Dvolatile= -I/usr/audio/examples" | 8054 then sound_cflags="-Dconst= -Dvolatile= -I/usr/audio/examples" |
7866 fi | 8056 fi |
7867 fi ;; | 8057 fi ;; |
7868 esac | 8058 esac |
7869 fi | 8059 fi |
7870 | 8060 |
7871 if test -z "$sound_found"; then | 8061 if test -z "$sound_found"; then |
7872 for dir in "machine" "sys" "linux"; do | 8062 for dir in "machine" "sys" "linux"; do |
7873 ac_safe=`echo "${dir}/soundcard.h" | sed 'y%./+-%__p_%'` | 8063 ac_safe=`echo "${dir}/soundcard.h" | sed 'y%./+-%__p_%'` |
7874 echo $ac_n "checking for ${dir}/soundcard.h""... $ac_c" 1>&6 | 8064 echo $ac_n "checking for ${dir}/soundcard.h""... $ac_c" 1>&6 |
7875 echo "configure:7876: checking for ${dir}/soundcard.h" >&5 | 8065 echo "configure:8066: checking for ${dir}/soundcard.h" >&5 |
7876 | 8066 |
7877 cat > conftest.$ac_ext <<EOF | 8067 cat > conftest.$ac_ext <<EOF |
7878 #line 7879 "configure" | 8068 #line 8069 "configure" |
7879 #include "confdefs.h" | 8069 #include "confdefs.h" |
7880 #include <${dir}/soundcard.h> | 8070 #include <${dir}/soundcard.h> |
7881 EOF | 8071 EOF |
7882 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8072 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
7883 { (eval echo configure:7884: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8073 { (eval echo configure:8074: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
7884 ac_err=`grep -v '^ *+' conftest.out` | 8074 ac_err=`grep -v '^ *+' conftest.out` |
7885 if test -z "$ac_err"; then | 8075 if test -z "$ac_err"; then |
7886 rm -rf conftest* | 8076 rm -rf conftest* |
7887 eval "ac_cv_header_$ac_safe=yes" | 8077 eval "ac_cv_header_$ac_safe=yes" |
7888 else | 8078 else |
7948 extra_objs="$extra_objs nas.o" && if test "$extra_verbose" = "yes"; then | 8138 extra_objs="$extra_objs nas.o" && if test "$extra_verbose" = "yes"; then |
7949 echo " xemacs will be linked with \"nas.o\"" | 8139 echo " xemacs will be linked with \"nas.o\"" |
7950 fi | 8140 fi |
7951 LIBS="-laudio $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-laudio\" to \$LIBS"; fi | 8141 LIBS="-laudio $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-laudio\" to \$LIBS"; fi |
7952 cat > conftest.$ac_ext <<EOF | 8142 cat > conftest.$ac_ext <<EOF |
7953 #line 7954 "configure" | 8143 #line 8144 "configure" |
7954 #include "confdefs.h" | 8144 #include "confdefs.h" |
7955 #include <audio/Xtutil.h> | 8145 #include <audio/Xtutil.h> |
7956 EOF | 8146 EOF |
7957 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 8147 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
7958 egrep "AuXtErrorJump" >/dev/null 2>&1; then | 8148 egrep "AuXtErrorJump" >/dev/null 2>&1; then |
7975 | 8165 |
7976 test -z "$with_tty" && with_tty=yes | 8166 test -z "$with_tty" && with_tty=yes |
7977 | 8167 |
7978 if test "$with_tty" = "yes" ; then | 8168 if test "$with_tty" = "yes" ; then |
7979 echo "checking for TTY-related features" 1>&6 | 8169 echo "checking for TTY-related features" 1>&6 |
7980 echo "configure:7981: checking for TTY-related features" >&5 | 8170 echo "configure:8171: checking for TTY-related features" >&5 |
7981 { test "$extra_verbose" = "yes" && cat << \EOF | 8171 { test "$extra_verbose" = "yes" && cat << \EOF |
7982 Defining HAVE_TTY | 8172 Defining HAVE_TTY |
7983 EOF | 8173 EOF |
7984 cat >> confdefs.h <<\EOF | 8174 cat >> confdefs.h <<\EOF |
7985 #define HAVE_TTY 1 | 8175 #define HAVE_TTY 1 |
7990 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\"" | 8180 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\"" |
7991 fi | 8181 fi |
7992 | 8182 |
7993 ac_safe=`echo "termios.h" | sed 'y%./+-%__p_%'` | 8183 ac_safe=`echo "termios.h" | sed 'y%./+-%__p_%'` |
7994 echo $ac_n "checking for termios.h""... $ac_c" 1>&6 | 8184 echo $ac_n "checking for termios.h""... $ac_c" 1>&6 |
7995 echo "configure:7996: checking for termios.h" >&5 | 8185 echo "configure:8186: checking for termios.h" >&5 |
7996 | 8186 |
7997 cat > conftest.$ac_ext <<EOF | 8187 cat > conftest.$ac_ext <<EOF |
7998 #line 7999 "configure" | 8188 #line 8189 "configure" |
7999 #include "confdefs.h" | 8189 #include "confdefs.h" |
8000 #include <termios.h> | 8190 #include <termios.h> |
8001 EOF | 8191 EOF |
8002 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8192 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8003 { (eval echo configure:8004: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8193 { (eval echo configure:8194: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8004 ac_err=`grep -v '^ *+' conftest.out` | 8194 ac_err=`grep -v '^ *+' conftest.out` |
8005 if test -z "$ac_err"; then | 8195 if test -z "$ac_err"; then |
8006 rm -rf conftest* | 8196 rm -rf conftest* |
8007 eval "ac_cv_header_$ac_safe=yes" | 8197 eval "ac_cv_header_$ac_safe=yes" |
8008 else | 8198 else |
8025 | 8215 |
8026 else | 8216 else |
8027 echo "$ac_t""no" 1>&6 | 8217 echo "$ac_t""no" 1>&6 |
8028 ac_safe=`echo "termio.h" | sed 'y%./+-%__p_%'` | 8218 ac_safe=`echo "termio.h" | sed 'y%./+-%__p_%'` |
8029 echo $ac_n "checking for termio.h""... $ac_c" 1>&6 | 8219 echo $ac_n "checking for termio.h""... $ac_c" 1>&6 |
8030 echo "configure:8031: checking for termio.h" >&5 | 8220 echo "configure:8221: checking for termio.h" >&5 |
8031 | 8221 |
8032 cat > conftest.$ac_ext <<EOF | 8222 cat > conftest.$ac_ext <<EOF |
8033 #line 8034 "configure" | 8223 #line 8224 "configure" |
8034 #include "confdefs.h" | 8224 #include "confdefs.h" |
8035 #include <termio.h> | 8225 #include <termio.h> |
8036 EOF | 8226 EOF |
8037 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8227 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8038 { (eval echo configure:8039: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8228 { (eval echo configure:8229: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8039 ac_err=`grep -v '^ *+' conftest.out` | 8229 ac_err=`grep -v '^ *+' conftest.out` |
8040 if test -z "$ac_err"; then | 8230 if test -z "$ac_err"; then |
8041 rm -rf conftest* | 8231 rm -rf conftest* |
8042 eval "ac_cv_header_$ac_safe=yes" | 8232 eval "ac_cv_header_$ac_safe=yes" |
8043 else | 8233 else |
8063 fi | 8253 fi |
8064 | 8254 |
8065 fi | 8255 fi |
8066 | 8256 |
8067 | 8257 |
8068 test -z "$with_gpm" && { ac_safe=`echo "gpm.h" | sed 'y%./+-%__p_%'` | |
8069 echo $ac_n "checking for gpm.h""... $ac_c" 1>&6 | |
8070 echo "configure:8071: checking for gpm.h" >&5 | |
8071 | |
8072 cat > conftest.$ac_ext <<EOF | |
8073 #line 8074 "configure" | |
8074 #include "confdefs.h" | |
8075 #include <gpm.h> | |
8076 EOF | |
8077 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | |
8078 { (eval echo configure:8079: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | |
8079 ac_err=`grep -v '^ *+' conftest.out` | |
8080 if test -z "$ac_err"; then | |
8081 rm -rf conftest* | |
8082 eval "ac_cv_header_$ac_safe=yes" | |
8083 else | |
8084 echo "$ac_err" >&5 | |
8085 echo "configure: failed program was:" >&5 | |
8086 cat conftest.$ac_ext >&5 | |
8087 rm -rf conftest* | |
8088 eval "ac_cv_header_$ac_safe=no" | |
8089 fi | |
8090 rm -f conftest* | |
8091 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | |
8092 echo "$ac_t""yes" 1>&6 | |
8093 : | |
8094 else | |
8095 echo "$ac_t""no" 1>&6 | |
8096 with_gpm=no | |
8097 fi | |
8098 } | |
8099 test -z "$with_gpm" && { | |
8100 echo $ac_n "checking for Gpm_Open in -lgpm""... $ac_c" 1>&6 | |
8101 echo "configure:8102: checking for Gpm_Open in -lgpm" >&5 | |
8102 ac_lib_var=`echo gpm'_'Gpm_Open | sed 'y%./+-%__p_%'` | |
8103 | |
8104 xe_check_libs=" -lgpm " | |
8105 cat > conftest.$ac_ext <<EOF | |
8106 #line 8107 "configure" | |
8107 #include "confdefs.h" | |
8108 /* Override any gcc2 internal prototype to avoid an error. */ | |
8109 /* We use char because int might match the return type of a gcc2 | |
8110 builtin and then its argument prototype would still apply. */ | |
8111 char Gpm_Open(); | |
8112 | |
8113 int main() { | |
8114 Gpm_Open() | |
8115 ; return 0; } | |
8116 EOF | |
8117 if { (eval echo configure:8118: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | |
8118 rm -rf conftest* | |
8119 eval "ac_cv_lib_$ac_lib_var=yes" | |
8120 else | |
8121 echo "configure: failed program was:" >&5 | |
8122 cat conftest.$ac_ext >&5 | |
8123 rm -rf conftest* | |
8124 eval "ac_cv_lib_$ac_lib_var=no" | |
8125 fi | |
8126 rm -f conftest* | |
8127 xe_check_libs="" | |
8128 | |
8129 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes" ; then | |
8130 echo "$ac_t""yes" 1>&6 | |
8131 with_gpm=yes | |
8132 else | |
8133 echo "$ac_t""no" 1>&6 | |
8134 with_gpm=no | |
8135 fi | |
8136 | |
8137 } | |
8138 if test "$with_gpm" = "yes"; then | |
8139 { test "$extra_verbose" = "yes" && cat << \EOF | |
8140 Defining HAVE_GPM | |
8141 EOF | |
8142 cat >> confdefs.h <<\EOF | |
8143 #define HAVE_GPM 1 | |
8144 EOF | |
8145 } | |
8146 | |
8147 extra_objs="$extra_objs gpmevent.o" && if test "$extra_verbose" = "yes"; then | |
8148 echo " xemacs will be linked with \"gpmevent.o\"" | |
8149 fi | |
8150 LIBS="-lgpm $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lgpm\" to \$LIBS"; fi | |
8151 fi | |
8152 | |
8153 if test -z "$with_ncurses"; then | 8258 if test -z "$with_ncurses"; then |
8154 | 8259 |
8155 echo $ac_n "checking for tgetent in -lncurses""... $ac_c" 1>&6 | 8260 echo $ac_n "checking for tgetent in -lncurses""... $ac_c" 1>&6 |
8156 echo "configure:8157: checking for tgetent in -lncurses" >&5 | 8261 echo "configure:8262: checking for tgetent in -lncurses" >&5 |
8157 ac_lib_var=`echo ncurses'_'tgetent | sed 'y%./+-%__p_%'` | 8262 ac_lib_var=`echo ncurses'_'tgetent | sed 'y%./+-%__p_%'` |
8158 | 8263 |
8159 xe_check_libs=" -lncurses " | 8264 xe_check_libs=" -lncurses " |
8160 cat > conftest.$ac_ext <<EOF | 8265 cat > conftest.$ac_ext <<EOF |
8161 #line 8162 "configure" | 8266 #line 8267 "configure" |
8162 #include "confdefs.h" | 8267 #include "confdefs.h" |
8163 /* Override any gcc2 internal prototype to avoid an error. */ | 8268 /* Override any gcc2 internal prototype to avoid an error. */ |
8164 /* We use char because int might match the return type of a gcc2 | 8269 /* We use char because int might match the return type of a gcc2 |
8165 builtin and then its argument prototype would still apply. */ | 8270 builtin and then its argument prototype would still apply. */ |
8166 char tgetent(); | 8271 char tgetent(); |
8167 | 8272 |
8168 int main() { | 8273 int main() { |
8169 tgetent() | 8274 tgetent() |
8170 ; return 0; } | 8275 ; return 0; } |
8171 EOF | 8276 EOF |
8172 if { (eval echo configure:8173: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 8277 if { (eval echo configure:8278: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
8173 rm -rf conftest* | 8278 rm -rf conftest* |
8174 eval "ac_cv_lib_$ac_lib_var=yes" | 8279 eval "ac_cv_lib_$ac_lib_var=yes" |
8175 else | 8280 else |
8176 echo "configure: failed program was:" >&5 | 8281 echo "configure: failed program was:" >&5 |
8177 cat conftest.$ac_ext >&5 | 8282 cat conftest.$ac_ext >&5 |
8200 EOF | 8305 EOF |
8201 } | 8306 } |
8202 | 8307 |
8203 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` | 8308 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` |
8204 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 | 8309 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 |
8205 echo "configure:8206: checking for ncurses/curses.h" >&5 | 8310 echo "configure:8311: checking for ncurses/curses.h" >&5 |
8206 | 8311 |
8207 cat > conftest.$ac_ext <<EOF | 8312 cat > conftest.$ac_ext <<EOF |
8208 #line 8209 "configure" | 8313 #line 8314 "configure" |
8209 #include "confdefs.h" | 8314 #include "confdefs.h" |
8210 #include <ncurses/curses.h> | 8315 #include <ncurses/curses.h> |
8211 EOF | 8316 EOF |
8212 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8317 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8213 { (eval echo configure:8214: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8318 { (eval echo configure:8319: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8214 ac_err=`grep -v '^ *+' conftest.out` | 8319 ac_err=`grep -v '^ *+' conftest.out` |
8215 if test -z "$ac_err"; then | 8320 if test -z "$ac_err"; then |
8216 rm -rf conftest* | 8321 rm -rf conftest* |
8217 eval "ac_cv_header_$ac_safe=yes" | 8322 eval "ac_cv_header_$ac_safe=yes" |
8218 else | 8323 else |
8230 echo "$ac_t""no" 1>&6 | 8335 echo "$ac_t""no" 1>&6 |
8231 fi | 8336 fi |
8232 | 8337 |
8233 ac_safe=`echo "ncurses/term.h" | sed 'y%./+-%__p_%'` | 8338 ac_safe=`echo "ncurses/term.h" | sed 'y%./+-%__p_%'` |
8234 echo $ac_n "checking for ncurses/term.h""... $ac_c" 1>&6 | 8339 echo $ac_n "checking for ncurses/term.h""... $ac_c" 1>&6 |
8235 echo "configure:8236: checking for ncurses/term.h" >&5 | 8340 echo "configure:8341: checking for ncurses/term.h" >&5 |
8236 | 8341 |
8237 cat > conftest.$ac_ext <<EOF | 8342 cat > conftest.$ac_ext <<EOF |
8238 #line 8239 "configure" | 8343 #line 8344 "configure" |
8239 #include "confdefs.h" | 8344 #include "confdefs.h" |
8240 #include <ncurses/term.h> | 8345 #include <ncurses/term.h> |
8241 EOF | 8346 EOF |
8242 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8347 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8243 { (eval echo configure:8244: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8348 { (eval echo configure:8349: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8244 ac_err=`grep -v '^ *+' conftest.out` | 8349 ac_err=`grep -v '^ *+' conftest.out` |
8245 if test -z "$ac_err"; then | 8350 if test -z "$ac_err"; then |
8246 rm -rf conftest* | 8351 rm -rf conftest* |
8247 eval "ac_cv_header_$ac_safe=yes" | 8352 eval "ac_cv_header_$ac_safe=yes" |
8248 else | 8353 else |
8268 if test "$ac_cv_header_ncurses_curses_h" != "yes" ; then | 8373 if test "$ac_cv_header_ncurses_curses_h" != "yes" ; then |
8269 save_c_switch_site="$c_switch_site" | 8374 save_c_switch_site="$c_switch_site" |
8270 c_switch_site="$c_switch_site -I/usr/include/ncurses" | 8375 c_switch_site="$c_switch_site -I/usr/include/ncurses" |
8271 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` | 8376 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` |
8272 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 | 8377 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 |
8273 echo "configure:8274: checking for ncurses/curses.h" >&5 | 8378 echo "configure:8379: checking for ncurses/curses.h" >&5 |
8274 | 8379 |
8275 cat > conftest.$ac_ext <<EOF | 8380 cat > conftest.$ac_ext <<EOF |
8276 #line 8277 "configure" | 8381 #line 8382 "configure" |
8277 #include "confdefs.h" | 8382 #include "confdefs.h" |
8278 #include <ncurses/curses.h> | 8383 #include <ncurses/curses.h> |
8279 EOF | 8384 EOF |
8280 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8385 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8281 { (eval echo configure:8282: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8386 { (eval echo configure:8387: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8282 ac_err=`grep -v '^ *+' conftest.out` | 8387 ac_err=`grep -v '^ *+' conftest.out` |
8283 if test -z "$ac_err"; then | 8388 if test -z "$ac_err"; then |
8284 rm -rf conftest* | 8389 rm -rf conftest* |
8285 eval "ac_cv_header_$ac_safe=yes" | 8390 eval "ac_cv_header_$ac_safe=yes" |
8286 else | 8391 else |
8311 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi | 8416 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi |
8312 else | 8417 else |
8313 for lib in curses termlib termcap; do | 8418 for lib in curses termlib termcap; do |
8314 | 8419 |
8315 echo $ac_n "checking for tgetent in -l$lib""... $ac_c" 1>&6 | 8420 echo $ac_n "checking for tgetent in -l$lib""... $ac_c" 1>&6 |
8316 echo "configure:8317: checking for tgetent in -l$lib" >&5 | 8421 echo "configure:8422: checking for tgetent in -l$lib" >&5 |
8317 ac_lib_var=`echo $lib'_'tgetent | sed 'y%./+-%__p_%'` | 8422 ac_lib_var=`echo $lib'_'tgetent | sed 'y%./+-%__p_%'` |
8318 | 8423 |
8319 xe_check_libs=" -l$lib " | 8424 xe_check_libs=" -l$lib " |
8320 cat > conftest.$ac_ext <<EOF | 8425 cat > conftest.$ac_ext <<EOF |
8321 #line 8322 "configure" | 8426 #line 8427 "configure" |
8322 #include "confdefs.h" | 8427 #include "confdefs.h" |
8323 /* Override any gcc2 internal prototype to avoid an error. */ | 8428 /* Override any gcc2 internal prototype to avoid an error. */ |
8324 /* We use char because int might match the return type of a gcc2 | 8429 /* We use char because int might match the return type of a gcc2 |
8325 builtin and then its argument prototype would still apply. */ | 8430 builtin and then its argument prototype would still apply. */ |
8326 char tgetent(); | 8431 char tgetent(); |
8327 | 8432 |
8328 int main() { | 8433 int main() { |
8329 tgetent() | 8434 tgetent() |
8330 ; return 0; } | 8435 ; return 0; } |
8331 EOF | 8436 EOF |
8332 if { (eval echo configure:8333: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 8437 if { (eval echo configure:8438: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
8333 rm -rf conftest* | 8438 rm -rf conftest* |
8334 eval "ac_cv_lib_$ac_lib_var=yes" | 8439 eval "ac_cv_lib_$ac_lib_var=yes" |
8335 else | 8440 else |
8336 echo "configure: failed program was:" >&5 | 8441 echo "configure: failed program was:" >&5 |
8337 cat conftest.$ac_ext >&5 | 8442 cat conftest.$ac_ext >&5 |
8358 if test -n "$libs_termcap"; then | 8463 if test -n "$libs_termcap"; then |
8359 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi | 8464 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi |
8360 else | 8465 else |
8361 | 8466 |
8362 echo $ac_n "checking for tgetent in -lcurses""... $ac_c" 1>&6 | 8467 echo $ac_n "checking for tgetent in -lcurses""... $ac_c" 1>&6 |
8363 echo "configure:8364: checking for tgetent in -lcurses" >&5 | 8468 echo "configure:8469: checking for tgetent in -lcurses" >&5 |
8364 ac_lib_var=`echo curses'_'tgetent | sed 'y%./+-%__p_%'` | 8469 ac_lib_var=`echo curses'_'tgetent | sed 'y%./+-%__p_%'` |
8365 | 8470 |
8366 xe_check_libs=" -lcurses " | 8471 xe_check_libs=" -lcurses " |
8367 cat > conftest.$ac_ext <<EOF | 8472 cat > conftest.$ac_ext <<EOF |
8368 #line 8369 "configure" | 8473 #line 8474 "configure" |
8369 #include "confdefs.h" | 8474 #include "confdefs.h" |
8370 /* Override any gcc2 internal prototype to avoid an error. */ | 8475 /* Override any gcc2 internal prototype to avoid an error. */ |
8371 /* We use char because int might match the return type of a gcc2 | 8476 /* We use char because int might match the return type of a gcc2 |
8372 builtin and then its argument prototype would still apply. */ | 8477 builtin and then its argument prototype would still apply. */ |
8373 char tgetent(); | 8478 char tgetent(); |
8374 | 8479 |
8375 int main() { | 8480 int main() { |
8376 tgetent() | 8481 tgetent() |
8377 ; return 0; } | 8482 ; return 0; } |
8378 EOF | 8483 EOF |
8379 if { (eval echo configure:8380: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 8484 if { (eval echo configure:8485: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
8380 rm -rf conftest* | 8485 rm -rf conftest* |
8381 eval "ac_cv_lib_$ac_lib_var=yes" | 8486 eval "ac_cv_lib_$ac_lib_var=yes" |
8382 else | 8487 else |
8383 echo "configure: failed program was:" >&5 | 8488 echo "configure: failed program was:" >&5 |
8384 cat conftest.$ac_ext >&5 | 8489 cat conftest.$ac_ext >&5 |
8392 echo "$ac_t""yes" 1>&6 | 8497 echo "$ac_t""yes" 1>&6 |
8393 LIBS="-lcurses $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lcurses\" to \$LIBS"; fi | 8498 LIBS="-lcurses $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lcurses\" to \$LIBS"; fi |
8394 else | 8499 else |
8395 echo "$ac_t""no" 1>&6 | 8500 echo "$ac_t""no" 1>&6 |
8396 echo $ac_n "checking for tgetent in -ltermcap""... $ac_c" 1>&6 | 8501 echo $ac_n "checking for tgetent in -ltermcap""... $ac_c" 1>&6 |
8397 echo "configure:8398: checking for tgetent in -ltermcap" >&5 | 8502 echo "configure:8503: checking for tgetent in -ltermcap" >&5 |
8398 ac_lib_var=`echo termcap'_'tgetent | sed 'y%./+-%__p_%'` | 8503 ac_lib_var=`echo termcap'_'tgetent | sed 'y%./+-%__p_%'` |
8399 | 8504 |
8400 xe_check_libs=" -ltermcap " | 8505 xe_check_libs=" -ltermcap " |
8401 cat > conftest.$ac_ext <<EOF | 8506 cat > conftest.$ac_ext <<EOF |
8402 #line 8403 "configure" | 8507 #line 8508 "configure" |
8403 #include "confdefs.h" | 8508 #include "confdefs.h" |
8404 /* Override any gcc2 internal prototype to avoid an error. */ | 8509 /* Override any gcc2 internal prototype to avoid an error. */ |
8405 /* We use char because int might match the return type of a gcc2 | 8510 /* We use char because int might match the return type of a gcc2 |
8406 builtin and then its argument prototype would still apply. */ | 8511 builtin and then its argument prototype would still apply. */ |
8407 char tgetent(); | 8512 char tgetent(); |
8408 | 8513 |
8409 int main() { | 8514 int main() { |
8410 tgetent() | 8515 tgetent() |
8411 ; return 0; } | 8516 ; return 0; } |
8412 EOF | 8517 EOF |
8413 if { (eval echo configure:8414: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 8518 if { (eval echo configure:8519: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
8414 rm -rf conftest* | 8519 rm -rf conftest* |
8415 eval "ac_cv_lib_$ac_lib_var=yes" | 8520 eval "ac_cv_lib_$ac_lib_var=yes" |
8416 else | 8521 else |
8417 echo "configure: failed program was:" >&5 | 8522 echo "configure: failed program was:" >&5 |
8418 cat conftest.$ac_ext >&5 | 8523 cat conftest.$ac_ext >&5 |
8452 EOF | 8557 EOF |
8453 cat >> confdefs.h <<EOF | 8558 cat >> confdefs.h <<EOF |
8454 #define TERM_H_PATH "${term_h_path-term.h}" | 8559 #define TERM_H_PATH "${term_h_path-term.h}" |
8455 EOF | 8560 EOF |
8456 } | 8561 } |
8562 | |
8563 | |
8564 test -z "$with_gpm" && { ac_safe=`echo "gpm.h" | sed 'y%./+-%__p_%'` | |
8565 echo $ac_n "checking for gpm.h""... $ac_c" 1>&6 | |
8566 echo "configure:8567: checking for gpm.h" >&5 | |
8567 | |
8568 cat > conftest.$ac_ext <<EOF | |
8569 #line 8570 "configure" | |
8570 #include "confdefs.h" | |
8571 #include <gpm.h> | |
8572 EOF | |
8573 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | |
8574 { (eval echo configure:8575: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | |
8575 ac_err=`grep -v '^ *+' conftest.out` | |
8576 if test -z "$ac_err"; then | |
8577 rm -rf conftest* | |
8578 eval "ac_cv_header_$ac_safe=yes" | |
8579 else | |
8580 echo "$ac_err" >&5 | |
8581 echo "configure: failed program was:" >&5 | |
8582 cat conftest.$ac_ext >&5 | |
8583 rm -rf conftest* | |
8584 eval "ac_cv_header_$ac_safe=no" | |
8585 fi | |
8586 rm -f conftest* | |
8587 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | |
8588 echo "$ac_t""yes" 1>&6 | |
8589 : | |
8590 else | |
8591 echo "$ac_t""no" 1>&6 | |
8592 with_gpm=no | |
8593 fi | |
8594 } | |
8595 test -z "$with_gpm" && { | |
8596 echo $ac_n "checking for Gpm_Open in -lgpm""... $ac_c" 1>&6 | |
8597 echo "configure:8598: checking for Gpm_Open in -lgpm" >&5 | |
8598 ac_lib_var=`echo gpm'_'Gpm_Open | sed 'y%./+-%__p_%'` | |
8599 | |
8600 xe_check_libs=" -lgpm " | |
8601 cat > conftest.$ac_ext <<EOF | |
8602 #line 8603 "configure" | |
8603 #include "confdefs.h" | |
8604 /* Override any gcc2 internal prototype to avoid an error. */ | |
8605 /* We use char because int might match the return type of a gcc2 | |
8606 builtin and then its argument prototype would still apply. */ | |
8607 char Gpm_Open(); | |
8608 | |
8609 int main() { | |
8610 Gpm_Open() | |
8611 ; return 0; } | |
8612 EOF | |
8613 if { (eval echo configure:8614: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | |
8614 rm -rf conftest* | |
8615 eval "ac_cv_lib_$ac_lib_var=yes" | |
8616 else | |
8617 echo "configure: failed program was:" >&5 | |
8618 cat conftest.$ac_ext >&5 | |
8619 rm -rf conftest* | |
8620 eval "ac_cv_lib_$ac_lib_var=no" | |
8621 fi | |
8622 rm -f conftest* | |
8623 xe_check_libs="" | |
8624 | |
8625 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes" ; then | |
8626 echo "$ac_t""yes" 1>&6 | |
8627 with_gpm=yes | |
8628 else | |
8629 echo "$ac_t""no" 1>&6 | |
8630 with_gpm=no | |
8631 fi | |
8632 | |
8633 } | |
8634 if test "$with_gpm" = "yes"; then | |
8635 { test "$extra_verbose" = "yes" && cat << \EOF | |
8636 Defining HAVE_GPM | |
8637 EOF | |
8638 cat >> confdefs.h <<\EOF | |
8639 #define HAVE_GPM 1 | |
8640 EOF | |
8641 } | |
8642 | |
8643 extra_objs="$extra_objs gpmevent.o" && if test "$extra_verbose" = "yes"; then | |
8644 echo " xemacs will be linked with \"gpmevent.o\"" | |
8645 fi | |
8646 LIBS="-lgpm $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lgpm\" to \$LIBS"; fi | |
8647 fi | |
8457 | 8648 |
8458 else for feature in ncurses gpm; do | 8649 else for feature in ncurses gpm; do |
8459 if eval "test -n \"\$with_${feature}\" -a \"\$with_${feature}\" != no" ; then | 8650 if eval "test -n \"\$with_${feature}\" -a \"\$with_${feature}\" != no" ; then |
8460 echo "configure: warning: "--with-${feature} ignored: Not valid without TTY support"" 1>&2 | 8651 echo "configure: warning: "--with-${feature} ignored: Not valid without TTY support"" 1>&2 |
8461 fi | 8652 fi |
8462 eval "with_${feature}=no" | 8653 eval "with_${feature}=no" |
8463 done | 8654 done |
8464 fi | 8655 fi |
8465 | 8656 |
8466 echo "checking for database support" 1>&6 | 8657 echo "checking for database support" 1>&6 |
8467 echo "configure:8468: checking for database support" >&5 | 8658 echo "configure:8659: checking for database support" >&5 |
8468 | 8659 |
8469 if test "$with_database_gnudbm" != "no"; then | 8660 if test "$with_database_gnudbm" != "no"; then |
8470 | 8661 |
8471 echo $ac_n "checking for dbm_open in -lgdbm""... $ac_c" 1>&6 | 8662 echo $ac_n "checking for dbm_open in -lgdbm""... $ac_c" 1>&6 |
8472 echo "configure:8473: checking for dbm_open in -lgdbm" >&5 | 8663 echo "configure:8664: checking for dbm_open in -lgdbm" >&5 |
8473 ac_lib_var=`echo gdbm'_'dbm_open | sed 'y%./+-%__p_%'` | 8664 ac_lib_var=`echo gdbm'_'dbm_open | sed 'y%./+-%__p_%'` |
8474 | 8665 |
8475 xe_check_libs=" -lgdbm " | 8666 xe_check_libs=" -lgdbm " |
8476 cat > conftest.$ac_ext <<EOF | 8667 cat > conftest.$ac_ext <<EOF |
8477 #line 8478 "configure" | 8668 #line 8669 "configure" |
8478 #include "confdefs.h" | 8669 #include "confdefs.h" |
8479 /* Override any gcc2 internal prototype to avoid an error. */ | 8670 /* Override any gcc2 internal prototype to avoid an error. */ |
8480 /* We use char because int might match the return type of a gcc2 | 8671 /* We use char because int might match the return type of a gcc2 |
8481 builtin and then its argument prototype would still apply. */ | 8672 builtin and then its argument prototype would still apply. */ |
8482 char dbm_open(); | 8673 char dbm_open(); |
8483 | 8674 |
8484 int main() { | 8675 int main() { |
8485 dbm_open() | 8676 dbm_open() |
8486 ; return 0; } | 8677 ; return 0; } |
8487 EOF | 8678 EOF |
8488 if { (eval echo configure:8489: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 8679 if { (eval echo configure:8680: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
8489 rm -rf conftest* | 8680 rm -rf conftest* |
8490 eval "ac_cv_lib_$ac_lib_var=yes" | 8681 eval "ac_cv_lib_$ac_lib_var=yes" |
8491 else | 8682 else |
8492 echo "configure: failed program was:" >&5 | 8683 echo "configure: failed program was:" >&5 |
8493 cat conftest.$ac_ext >&5 | 8684 cat conftest.$ac_ext >&5 |
8505 fi | 8696 fi |
8506 | 8697 |
8507 | 8698 |
8508 if test "$with_database_gnudbm" != "yes"; then | 8699 if test "$with_database_gnudbm" != "yes"; then |
8509 echo $ac_n "checking for dbm_open""... $ac_c" 1>&6 | 8700 echo $ac_n "checking for dbm_open""... $ac_c" 1>&6 |
8510 echo "configure:8511: checking for dbm_open" >&5 | 8701 echo "configure:8702: checking for dbm_open" >&5 |
8511 | 8702 |
8512 cat > conftest.$ac_ext <<EOF | 8703 cat > conftest.$ac_ext <<EOF |
8513 #line 8514 "configure" | 8704 #line 8705 "configure" |
8514 #include "confdefs.h" | 8705 #include "confdefs.h" |
8515 /* System header to define __stub macros and hopefully few prototypes, | 8706 /* System header to define __stub macros and hopefully few prototypes, |
8516 which can conflict with char dbm_open(); below. */ | 8707 which can conflict with char dbm_open(); below. */ |
8517 #include <assert.h> | 8708 #include <assert.h> |
8518 /* Override any gcc2 internal prototype to avoid an error. */ | 8709 /* Override any gcc2 internal prototype to avoid an error. */ |
8531 dbm_open(); | 8722 dbm_open(); |
8532 #endif | 8723 #endif |
8533 | 8724 |
8534 ; return 0; } | 8725 ; return 0; } |
8535 EOF | 8726 EOF |
8536 if { (eval echo configure:8537: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 8727 if { (eval echo configure:8728: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
8537 rm -rf conftest* | 8728 rm -rf conftest* |
8538 eval "ac_cv_func_dbm_open=yes" | 8729 eval "ac_cv_func_dbm_open=yes" |
8539 else | 8730 else |
8540 echo "configure: failed program was:" >&5 | 8731 echo "configure: failed program was:" >&5 |
8541 cat conftest.$ac_ext >&5 | 8732 cat conftest.$ac_ext >&5 |
8567 fi | 8758 fi |
8568 fi | 8759 fi |
8569 | 8760 |
8570 if test "$with_database_dbm" != "no"; then | 8761 if test "$with_database_dbm" != "no"; then |
8571 echo $ac_n "checking for dbm_open""... $ac_c" 1>&6 | 8762 echo $ac_n "checking for dbm_open""... $ac_c" 1>&6 |
8572 echo "configure:8573: checking for dbm_open" >&5 | 8763 echo "configure:8764: checking for dbm_open" >&5 |
8573 | 8764 |
8574 cat > conftest.$ac_ext <<EOF | 8765 cat > conftest.$ac_ext <<EOF |
8575 #line 8576 "configure" | 8766 #line 8767 "configure" |
8576 #include "confdefs.h" | 8767 #include "confdefs.h" |
8577 /* System header to define __stub macros and hopefully few prototypes, | 8768 /* System header to define __stub macros and hopefully few prototypes, |
8578 which can conflict with char dbm_open(); below. */ | 8769 which can conflict with char dbm_open(); below. */ |
8579 #include <assert.h> | 8770 #include <assert.h> |
8580 /* Override any gcc2 internal prototype to avoid an error. */ | 8771 /* Override any gcc2 internal prototype to avoid an error. */ |
8593 dbm_open(); | 8784 dbm_open(); |
8594 #endif | 8785 #endif |
8595 | 8786 |
8596 ; return 0; } | 8787 ; return 0; } |
8597 EOF | 8788 EOF |
8598 if { (eval echo configure:8599: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 8789 if { (eval echo configure:8790: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
8599 rm -rf conftest* | 8790 rm -rf conftest* |
8600 eval "ac_cv_func_dbm_open=yes" | 8791 eval "ac_cv_func_dbm_open=yes" |
8601 else | 8792 else |
8602 echo "configure: failed program was:" >&5 | 8793 echo "configure: failed program was:" >&5 |
8603 cat conftest.$ac_ext >&5 | 8794 cat conftest.$ac_ext >&5 |
8614 fi | 8805 fi |
8615 | 8806 |
8616 if test "$need_libdbm" != "no"; then | 8807 if test "$need_libdbm" != "no"; then |
8617 | 8808 |
8618 echo $ac_n "checking for dbm_open in -ldbm""... $ac_c" 1>&6 | 8809 echo $ac_n "checking for dbm_open in -ldbm""... $ac_c" 1>&6 |
8619 echo "configure:8620: checking for dbm_open in -ldbm" >&5 | 8810 echo "configure:8811: checking for dbm_open in -ldbm" >&5 |
8620 ac_lib_var=`echo dbm'_'dbm_open | sed 'y%./+-%__p_%'` | 8811 ac_lib_var=`echo dbm'_'dbm_open | sed 'y%./+-%__p_%'` |
8621 | 8812 |
8622 xe_check_libs=" -ldbm " | 8813 xe_check_libs=" -ldbm " |
8623 cat > conftest.$ac_ext <<EOF | 8814 cat > conftest.$ac_ext <<EOF |
8624 #line 8625 "configure" | 8815 #line 8816 "configure" |
8625 #include "confdefs.h" | 8816 #include "confdefs.h" |
8626 /* Override any gcc2 internal prototype to avoid an error. */ | 8817 /* Override any gcc2 internal prototype to avoid an error. */ |
8627 /* We use char because int might match the return type of a gcc2 | 8818 /* We use char because int might match the return type of a gcc2 |
8628 builtin and then its argument prototype would still apply. */ | 8819 builtin and then its argument prototype would still apply. */ |
8629 char dbm_open(); | 8820 char dbm_open(); |
8630 | 8821 |
8631 int main() { | 8822 int main() { |
8632 dbm_open() | 8823 dbm_open() |
8633 ; return 0; } | 8824 ; return 0; } |
8634 EOF | 8825 EOF |
8635 if { (eval echo configure:8636: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 8826 if { (eval echo configure:8827: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
8636 rm -rf conftest* | 8827 rm -rf conftest* |
8637 eval "ac_cv_lib_$ac_lib_var=yes" | 8828 eval "ac_cv_lib_$ac_lib_var=yes" |
8638 else | 8829 else |
8639 echo "configure: failed program was:" >&5 | 8830 echo "configure: failed program was:" >&5 |
8640 cat conftest.$ac_ext >&5 | 8831 cat conftest.$ac_ext >&5 |
8667 fi | 8858 fi |
8668 fi | 8859 fi |
8669 | 8860 |
8670 if test "$with_database_berkdb" != "no"; then | 8861 if test "$with_database_berkdb" != "no"; then |
8671 echo $ac_n "checking for dbopen""... $ac_c" 1>&6 | 8862 echo $ac_n "checking for dbopen""... $ac_c" 1>&6 |
8672 echo "configure:8673: checking for dbopen" >&5 | 8863 echo "configure:8864: checking for dbopen" >&5 |
8673 | 8864 |
8674 cat > conftest.$ac_ext <<EOF | 8865 cat > conftest.$ac_ext <<EOF |
8675 #line 8676 "configure" | 8866 #line 8867 "configure" |
8676 #include "confdefs.h" | 8867 #include "confdefs.h" |
8677 /* System header to define __stub macros and hopefully few prototypes, | 8868 /* System header to define __stub macros and hopefully few prototypes, |
8678 which can conflict with char dbopen(); below. */ | 8869 which can conflict with char dbopen(); below. */ |
8679 #include <assert.h> | 8870 #include <assert.h> |
8680 /* Override any gcc2 internal prototype to avoid an error. */ | 8871 /* Override any gcc2 internal prototype to avoid an error. */ |
8693 dbopen(); | 8884 dbopen(); |
8694 #endif | 8885 #endif |
8695 | 8886 |
8696 ; return 0; } | 8887 ; return 0; } |
8697 EOF | 8888 EOF |
8698 if { (eval echo configure:8699: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 8889 if { (eval echo configure:8890: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
8699 rm -rf conftest* | 8890 rm -rf conftest* |
8700 eval "ac_cv_func_dbopen=yes" | 8891 eval "ac_cv_func_dbopen=yes" |
8701 else | 8892 else |
8702 echo "configure: failed program was:" >&5 | 8893 echo "configure: failed program was:" >&5 |
8703 cat conftest.$ac_ext >&5 | 8894 cat conftest.$ac_ext >&5 |
8714 fi | 8905 fi |
8715 | 8906 |
8716 if test "$need_libdb" != "no"; then | 8907 if test "$need_libdb" != "no"; then |
8717 | 8908 |
8718 echo $ac_n "checking for dbopen in -ldb""... $ac_c" 1>&6 | 8909 echo $ac_n "checking for dbopen in -ldb""... $ac_c" 1>&6 |
8719 echo "configure:8720: checking for dbopen in -ldb" >&5 | 8910 echo "configure:8911: checking for dbopen in -ldb" >&5 |
8720 ac_lib_var=`echo db'_'dbopen | sed 'y%./+-%__p_%'` | 8911 ac_lib_var=`echo db'_'dbopen | sed 'y%./+-%__p_%'` |
8721 | 8912 |
8722 xe_check_libs=" -ldb " | 8913 xe_check_libs=" -ldb " |
8723 cat > conftest.$ac_ext <<EOF | 8914 cat > conftest.$ac_ext <<EOF |
8724 #line 8725 "configure" | 8915 #line 8916 "configure" |
8725 #include "confdefs.h" | 8916 #include "confdefs.h" |
8726 /* Override any gcc2 internal prototype to avoid an error. */ | 8917 /* Override any gcc2 internal prototype to avoid an error. */ |
8727 /* We use char because int might match the return type of a gcc2 | 8918 /* We use char because int might match the return type of a gcc2 |
8728 builtin and then its argument prototype would still apply. */ | 8919 builtin and then its argument prototype would still apply. */ |
8729 char dbopen(); | 8920 char dbopen(); |
8730 | 8921 |
8731 int main() { | 8922 int main() { |
8732 dbopen() | 8923 dbopen() |
8733 ; return 0; } | 8924 ; return 0; } |
8734 EOF | 8925 EOF |
8735 if { (eval echo configure:8736: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 8926 if { (eval echo configure:8927: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
8736 rm -rf conftest* | 8927 rm -rf conftest* |
8737 eval "ac_cv_lib_$ac_lib_var=yes" | 8928 eval "ac_cv_lib_$ac_lib_var=yes" |
8738 else | 8929 else |
8739 echo "configure: failed program was:" >&5 | 8930 echo "configure: failed program was:" >&5 |
8740 cat conftest.$ac_ext >&5 | 8931 cat conftest.$ac_ext >&5 |
8754 | 8945 |
8755 fi | 8946 fi |
8756 if test "$with_database_berkdb" = "yes"; then | 8947 if test "$with_database_berkdb" = "yes"; then |
8757 for path in "db/db.h" "db.h"; do | 8948 for path in "db/db.h" "db.h"; do |
8758 cat > conftest.$ac_ext <<EOF | 8949 cat > conftest.$ac_ext <<EOF |
8759 #line 8760 "configure" | 8950 #line 8951 "configure" |
8760 #include "confdefs.h" | 8951 #include "confdefs.h" |
8761 #ifdef HAVE_INTTYPES_H | 8952 #ifdef HAVE_INTTYPES_H |
8762 #define __BIT_TYPES_DEFINED__ | 8953 #define __BIT_TYPES_DEFINED__ |
8763 #include <inttypes.h> | 8954 #include <inttypes.h> |
8764 typedef uint8_t u_int8_t; | 8955 typedef uint8_t u_int8_t; |
8772 | 8963 |
8773 int main() { | 8964 int main() { |
8774 | 8965 |
8775 ; return 0; } | 8966 ; return 0; } |
8776 EOF | 8967 EOF |
8777 if { (eval echo configure:8778: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 8968 if { (eval echo configure:8969: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
8778 rm -rf conftest* | 8969 rm -rf conftest* |
8779 db_h_path="$path"; break | 8970 db_h_path="$path"; break |
8780 else | 8971 else |
8781 echo "configure: failed program was:" >&5 | 8972 echo "configure: failed program was:" >&5 |
8782 cat conftest.$ac_ext >&5 | 8973 cat conftest.$ac_ext >&5 |
8824 fi | 9015 fi |
8825 | 9016 |
8826 if test "$with_socks" = "yes"; then | 9017 if test "$with_socks" = "yes"; then |
8827 | 9018 |
8828 echo $ac_n "checking for SOCKSinit in -lsocks""... $ac_c" 1>&6 | 9019 echo $ac_n "checking for SOCKSinit in -lsocks""... $ac_c" 1>&6 |
8829 echo "configure:8830: checking for SOCKSinit in -lsocks" >&5 | 9020 echo "configure:9021: checking for SOCKSinit in -lsocks" >&5 |
8830 ac_lib_var=`echo socks'_'SOCKSinit | sed 'y%./+-%__p_%'` | 9021 ac_lib_var=`echo socks'_'SOCKSinit | sed 'y%./+-%__p_%'` |
8831 | 9022 |
8832 xe_check_libs=" -lsocks " | 9023 xe_check_libs=" -lsocks " |
8833 cat > conftest.$ac_ext <<EOF | 9024 cat > conftest.$ac_ext <<EOF |
8834 #line 8835 "configure" | 9025 #line 9026 "configure" |
8835 #include "confdefs.h" | 9026 #include "confdefs.h" |
8836 /* Override any gcc2 internal prototype to avoid an error. */ | 9027 /* Override any gcc2 internal prototype to avoid an error. */ |
8837 /* We use char because int might match the return type of a gcc2 | 9028 /* We use char because int might match the return type of a gcc2 |
8838 builtin and then its argument prototype would still apply. */ | 9029 builtin and then its argument prototype would still apply. */ |
8839 char SOCKSinit(); | 9030 char SOCKSinit(); |
8840 | 9031 |
8841 int main() { | 9032 int main() { |
8842 SOCKSinit() | 9033 SOCKSinit() |
8843 ; return 0; } | 9034 ; return 0; } |
8844 EOF | 9035 EOF |
8845 if { (eval echo configure:8846: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 9036 if { (eval echo configure:9037: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
8846 rm -rf conftest* | 9037 rm -rf conftest* |
8847 eval "ac_cv_lib_$ac_lib_var=yes" | 9038 eval "ac_cv_lib_$ac_lib_var=yes" |
8848 else | 9039 else |
8849 echo "configure: failed program was:" >&5 | 9040 echo "configure: failed program was:" >&5 |
8850 cat conftest.$ac_ext >&5 | 9041 cat conftest.$ac_ext >&5 |
8893 } | 9084 } |
8894 | 9085 |
8895 LIBS="-Bstatic -lut -Bdynamic $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-Bstatic -lut -Bdynamic\" to \$LIBS"; fi | 9086 LIBS="-Bstatic -lut -Bdynamic $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-Bstatic -lut -Bdynamic\" to \$LIBS"; fi |
8896 fi | 9087 fi |
8897 | 9088 |
8898 c_switch_general=`echo -DHAVE_CONFIG_H $c_switch_site $c_switch_machine $c_switch_system` | 9089 |
8899 c_switch_window_system=`echo $c_switch_x_site $X_CFLAGS` | 9090 |
8900 c_switch_all=`echo $c_switch_general $c_switch_window_system` | 9091 T="" |
8901 ld_switch_general=`echo $ld_switch_site $ld_switch_machine $ld_switch_system $ld_switch_run` | 9092 for W in $extra_objs; do if test -z "$T"; then T="$W"; else T="$T $W"; fi; done |
8902 ld_switch_window_system=`echo $ld_switch_x_site` | 9093 extra_objs="$T" |
8903 ld_switch_all=`echo $ld_switch_general $ld_switch_window_system` | 9094 |
8904 ld_libs_general=`echo $LIBS $libs_machine $libs_system $libs_standard` | 9095 |
8905 ld_libs_window_system=`echo $X_EXTRA_LIBS $libs_x $X_PRE_LIBS` | 9096 T="" |
8906 ld_libs_all=`echo $ld_libs_window_system $ld_libs_general` | 9097 for W in -DHAVE_CONFIG_H $c_switch_site $c_switch_machine $c_switch_system; do if test -z "$T"; then T="$W"; else T="$T $W"; fi; done |
9098 c_switch_general="$T" | |
9099 | |
9100 | |
9101 T="" | |
9102 for W in $c_switch_x_site $X_CFLAGS; do if test -z "$T"; then T="$W"; else T="$T $W"; fi; done | |
9103 c_switch_window_system="$T" | |
9104 | |
9105 | |
9106 T="" | |
9107 for W in $c_switch_general $c_switch_window_system; do if test -z "$T"; then T="$W"; else T="$T $W"; fi; done | |
9108 c_switch_all="$T" | |
9109 | |
9110 | |
9111 T="" | |
9112 for W in $ld_switch_site $ld_switch_machine $ld_switch_system $ld_switch_run; do if test -z "$T"; then T="$W"; else T="$T $W"; fi; done | |
9113 ld_switch_general="$T" | |
9114 | |
9115 | |
9116 T="" | |
9117 for W in $ld_switch_x_site; do if test -z "$T"; then T="$W"; else T="$T $W"; fi; done | |
9118 ld_switch_window_system="$T" | |
9119 | |
9120 | |
9121 T="" | |
9122 for W in $ld_switch_general $ld_switch_window_system; do if test -z "$T"; then T="$W"; else T="$T $W"; fi; done | |
9123 ld_switch_all="$T" | |
9124 | |
9125 | |
9126 T="" | |
9127 for W in $LIBS $libs_machine $libs_system $libs_standard; do if test -z "$T"; then T="$W"; else T="$T $W"; fi; done | |
9128 ld_libs_general="$T" | |
9129 | |
9130 | |
9131 T="" | |
9132 for W in $X_EXTRA_LIBS $libs_x $X_PRE_LIBS; do if test -z "$T"; then T="$W"; else T="$T $W"; fi; done | |
9133 ld_libs_window_system="$T" | |
9134 | |
9135 | |
9136 T="" | |
9137 for W in $ld_libs_window_system $ld_libs_general; do if test -z "$T"; then T="$W"; else T="$T $W"; fi; done | |
9138 ld_libs_all="$T" | |
9139 | |
8907 | 9140 |
8908 SRC_SUBDIR_DEPS="$MAKE_SUBDIR" | 9141 SRC_SUBDIR_DEPS="$MAKE_SUBDIR" |
8909 | 9142 |
8910 MAKE_SUBDIR="$MAKE_SUBDIR src" && if test "$extra_verbose" = "yes"; then echo " Appending \"src\" to \$MAKE_SUBDIR"; fi | 9143 MAKE_SUBDIR="$MAKE_SUBDIR src" && if test "$extra_verbose" = "yes"; then echo " Appending \"src\" to \$MAKE_SUBDIR"; fi |
8911 internal_makefile_list="Makefile" | 9144 internal_makefile_list="Makefile" |
8912 SUBDIR_MAKEFILES='' | 9145 SUBDIR_MAKEFILES='' |
8913 test -d lock || mkdir lock | 9146 test -d lock || mkdir lock |
8914 for dir in $MAKE_SUBDIR; do | 9147 for dir in $MAKE_SUBDIR; do |
8915 test -d "$dir" || mkdir "$dir" | 9148 test -d "$dir" || mkdir "$dir" |
8916 SUBDIR_MAKEFILES=`echo $SUBDIR_MAKEFILES $dir/Makefile` | 9149 |
8917 internal_makefile_list=`echo $internal_makefile_list $dir/Makefile.in` | 9150 T="" |
9151 for W in $SUBDIR_MAKEFILES $dir/Makefile; do if test -z "$T"; then T="$W"; else T="$T $W"; fi; done | |
9152 SUBDIR_MAKEFILES="$T" | |
9153 | |
9154 | |
9155 T="" | |
9156 for W in $internal_makefile_list $dir/Makefile.in; do if test -z "$T"; then T="$W"; else T="$T $W"; fi; done | |
9157 internal_makefile_list="$T" | |
9158 | |
8918 done | 9159 done |
8919 | 9160 |
8920 | 9161 |
8921 | 9162 |
8922 if test "$extra_verbose" = "yes"; then | 9163 if test "$extra_verbose" = "yes"; then |
8923 echo "" | 9164 echo "" |
8924 echo "extra_objs = $extra_objs" | 9165 echo "extra_objs = \"$extra_objs\"" |
8925 echo "c_switch_general = $c_switch_general" | 9166 echo "c_switch_general = \"$c_switch_general\"" |
8926 echo "c_switch_window_system = $c_switch_window_system" | 9167 echo "c_switch_window_system = \"$c_switch_window_system\"" |
8927 echo "c_switch_all = $c_switch_all" | 9168 echo "c_switch_all = \"$c_switch_all\"" |
8928 echo "ld_switch_general = $ld_switch_general" | 9169 echo "ld_switch_general = \"$ld_switch_general\"" |
8929 echo "ld_switch_window_system = $ld_switch_window_system" | 9170 echo "ld_switch_window_system = \"$ld_switch_window_system\"" |
8930 echo "ld_switch_all = $ld_switch_all" | 9171 echo "ld_switch_all = \"$ld_switch_all\"" |
8931 echo "ld_libs_general = $ld_libs_general" | 9172 echo "ld_libs_general = \"$ld_libs_general\"" |
8932 echo "ld_libs_window_system = $ld_libs_window_system" | 9173 echo "ld_libs_window_system = \"$ld_libs_window_system\"" |
8933 echo "ld_libs_all=\"$ld_libs_all\"" | 9174 echo "ld_libs_all = \"$ld_libs_all\"" |
8934 echo "" | 9175 echo "" |
8935 fi | 9176 fi |
8936 | 9177 |
8937 if test -f $srcdir/src/gdbinit -a ! -f src/gdbinit ; then | 9178 if test -f $srcdir/src/gdbinit -a ! -f src/gdbinit ; then |
8938 echo "creating src/gdbinit"; echo "" | 9179 echo "creating src/gdbinit"; echo "" |
8939 echo "source $srcdir/src/gdbinit" > src/gdbinit | 9180 echo "source $srcdir/src/gdbinit" > src/gdbinit |
8940 fi | 9181 fi |
8941 | 9182 |
8942 cat > conftest.$ac_ext <<EOF | 9183 cat > conftest.$ac_ext <<EOF |
8943 #line 8944 "configure" | 9184 #line 9185 "configure" |
8944 #include "confdefs.h" | 9185 #include "confdefs.h" |
8945 | 9186 |
8946 int main() { | 9187 int main() { |
8947 #ifndef __SUNPRO_C | 9188 #ifndef __SUNPRO_C |
8948 #error No Sun source browser capability | 9189 #error No Sun source browser capability |
8949 #endif | 9190 #endif |
8950 | 9191 |
8951 ; return 0; } | 9192 ; return 0; } |
8952 EOF | 9193 EOF |
8953 if { (eval echo configure:8954: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 9194 if { (eval echo configure:9195: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
8954 rm -rf conftest* | 9195 rm -rf conftest* |
8955 echo "creating .sbinit"; echo "" | 9196 echo "creating .sbinit"; echo "" |
8956 ( echo "# For use with Sun WorkShop's Source browser." | 9197 ( echo "# For use with Sun WorkShop's Source browser." |
8957 echo "# See sbquery(1) and sbinit(4) for more information" | 9198 echo "# See sbquery(1) and sbinit(4) for more information" |
8958 for dir in $MAKE_SUBDIR; do echo "import $dir"; done | 9199 for dir in $MAKE_SUBDIR; do echo "import $dir"; done |
8963 cat conftest.$ac_ext >&5 | 9204 cat conftest.$ac_ext >&5 |
8964 fi | 9205 fi |
8965 rm -f conftest* | 9206 rm -f conftest* |
8966 | 9207 |
8967 rm -f core | 9208 rm -f core |
9209 | |
8968 | 9210 |
8969 | 9211 |
8970 | 9212 |
8971 | 9213 |
8972 | 9214 |
9521 s%@SUBDIR_MAKEFILES@%$SUBDIR_MAKEFILES%g | 9763 s%@SUBDIR_MAKEFILES@%$SUBDIR_MAKEFILES%g |
9522 s%@version@%$version%g | 9764 s%@version@%$version%g |
9523 s%@configuration@%$configuration%g | 9765 s%@configuration@%$configuration%g |
9524 s%@canonical@%$canonical%g | 9766 s%@canonical@%$canonical%g |
9525 s%@srcdir@%$srcdir%g | 9767 s%@srcdir@%$srcdir%g |
9768 s%@pkgdir@%$pkgdir%g | |
9526 s%@statedir@%$statedir%g | 9769 s%@statedir@%$statedir%g |
9527 s%@infodir_user_defined@%$infodir_user_defined%g | 9770 s%@infodir_user_defined@%$infodir_user_defined%g |
9528 s%@lispdir@%$lispdir%g | 9771 s%@lispdir@%$lispdir%g |
9529 s%@lispdir_user_defined@%$lispdir_user_defined%g | 9772 s%@lispdir_user_defined@%$lispdir_user_defined%g |
9530 s%@sitelispdir@%$sitelispdir%g | 9773 s%@sitelispdir@%$sitelispdir%g |