Mercurial > hg > xemacs-beta
comparison configure @ 167:85ec50267440 r20-3b10
Import from CVS: tag r20-3b10
| author | cvs |
|---|---|
| date | Mon, 13 Aug 2007 09:45:46 +0200 |
| parents | 5a88923fcbfe |
| children | 15872534500d |
comparison
equal
deleted
inserted
replaced
| 166:7a77eb660975 | 167:85ec50267440 |
|---|---|
| 207 | 207 |
| 208 progname="`echo $0 | sed 's:^\./\./:\./:'`" | 208 progname="`echo $0 | sed 's:^\./\./:\./:'`" |
| 209 | 209 |
| 210 | 210 |
| 211 MAKE_SUBDIR="$MAKE_SUBDIR lib-src" && if test "$extra_verbose" = "yes"; then echo " Appending \"lib-src\" to \$MAKE_SUBDIR"; fi | 211 MAKE_SUBDIR="$MAKE_SUBDIR lib-src" && if test "$extra_verbose" = "yes"; then echo " Appending \"lib-src\" to \$MAKE_SUBDIR"; fi |
| 212 INSTALL_ARCH_DEP_SUBDIR="$INSTALL_ARCH_DEP_SUBDIR lib-src" && if test "$extra_verbose" = "yes"; then echo " Appending \"lib-src\" to \$INSTALL_ARCH_DEP_SUBDIR"; fi | |
| 212 | 213 |
| 213 prefix='/usr/local' | 214 prefix='/usr/local' |
| 214 exec_prefix='${prefix}' | 215 exec_prefix='${prefix}' |
| 215 bindir='${exec_prefix}/bin' | 216 bindir='${exec_prefix}/bin' |
| 216 datadir='${prefix}/lib' | 217 datadir='${prefix}/lib' |
| 828 fi | 829 fi |
| 829 ;; | 830 ;; |
| 830 esac | 831 esac |
| 831 | 832 |
| 832 echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6 | 833 echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6 |
| 833 echo "configure:834: checking whether ln -s works" >&5 | 834 echo "configure:835: checking whether ln -s works" >&5 |
| 834 | 835 |
| 835 rm -f conftestdata | 836 rm -f conftestdata |
| 836 if ln -s X conftestdata 2>/dev/null | 837 if ln -s X conftestdata 2>/dev/null |
| 837 then | 838 then |
| 838 rm -f conftestdata | 839 rm -f conftestdata |
| 884 vpath %.in $(srcdir)' | 885 vpath %.in $(srcdir)' |
| 885 fi | 886 fi |
| 886 | 887 |
| 887 | 888 |
| 888 echo "checking "the configuration name"" 1>&6 | 889 echo "checking "the configuration name"" 1>&6 |
| 889 echo "configure:890: checking "the configuration name"" >&5 | 890 echo "configure:891: checking "the configuration name"" >&5 |
| 890 internal_configuration=`echo $configuration | sed 's/-\(energize\|workshop\)//'` | 891 internal_configuration=`echo $configuration | sed 's/-\(energize\|workshop\)//'` |
| 891 if canonical=`$srcdir/config.sub "$internal_configuration"` ; then : ; else | 892 if canonical=`$srcdir/config.sub "$internal_configuration"` ; then : ; else |
| 892 exit $? | 893 exit $? |
| 893 fi | 894 fi |
| 894 | 895 |
| 1311 | 1312 |
| 1312 test -n "$NON_GNU_CC" -a "$with_gcc" = "no" -a -z "$CC" && CC="$NON_GNU_CC" | 1313 test -n "$NON_GNU_CC" -a "$with_gcc" = "no" -a -z "$CC" && CC="$NON_GNU_CC" |
| 1313 # Extract the first word of "gcc", so it can be a program name with args. | 1314 # Extract the first word of "gcc", so it can be a program name with args. |
| 1314 set dummy gcc; ac_word=$2 | 1315 set dummy gcc; ac_word=$2 |
| 1315 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 1316 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
| 1316 echo "configure:1317: checking for $ac_word" >&5 | 1317 echo "configure:1318: checking for $ac_word" >&5 |
| 1317 | 1318 |
| 1318 if test -n "$CC"; then | 1319 if test -n "$CC"; then |
| 1319 ac_cv_prog_CC="$CC" # Let the user override the test. | 1320 ac_cv_prog_CC="$CC" # Let the user override the test. |
| 1320 else | 1321 else |
| 1321 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" | 1322 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" |
| 1337 | 1338 |
| 1338 if test -z "$CC"; then | 1339 if test -z "$CC"; then |
| 1339 # Extract the first word of "cc", so it can be a program name with args. | 1340 # Extract the first word of "cc", so it can be a program name with args. |
| 1340 set dummy cc; ac_word=$2 | 1341 set dummy cc; ac_word=$2 |
| 1341 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 1342 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
| 1342 echo "configure:1343: checking for $ac_word" >&5 | 1343 echo "configure:1344: checking for $ac_word" >&5 |
| 1343 | 1344 |
| 1344 if test -n "$CC"; then | 1345 if test -n "$CC"; then |
| 1345 ac_cv_prog_CC="$CC" # Let the user override the test. | 1346 ac_cv_prog_CC="$CC" # Let the user override the test. |
| 1346 else | 1347 else |
| 1347 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" | 1348 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" |
| 1382 | 1383 |
| 1383 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } | 1384 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } |
| 1384 fi | 1385 fi |
| 1385 | 1386 |
| 1386 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 | 1387 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 |
| 1387 echo "configure:1388: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 | 1388 echo "configure:1389: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 |
| 1388 | 1389 |
| 1389 ac_ext=c | 1390 ac_ext=c |
| 1390 xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS' | 1391 xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS' |
| 1391 xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_switch_x_site $ld_switch_run' | 1392 xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_switch_x_site $ld_switch_run' |
| 1392 xe_libs='$xe_check_libs $X_EXTRA_LIBS $libs_x $X_PRE_LIBS $LIBS $libs_machine $libs_system $libs_standard' | 1393 xe_libs='$xe_check_libs $X_EXTRA_LIBS $libs_x $X_PRE_LIBS $LIBS $libs_machine $libs_system $libs_standard' |
| 1394 ac_compile='${CC-cc} -c $CFLAGS '"$xe_cppflags"' conftest.$ac_ext 1>&5' | 1395 ac_compile='${CC-cc} -c $CFLAGS '"$xe_cppflags"' conftest.$ac_ext 1>&5' |
| 1395 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' | 1396 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' |
| 1396 cross_compiling=no | 1397 cross_compiling=no |
| 1397 | 1398 |
| 1398 cat > conftest.$ac_ext <<EOF | 1399 cat > conftest.$ac_ext <<EOF |
| 1399 #line 1400 "configure" | 1400 #line 1401 "configure" |
| 1400 #include "confdefs.h" | 1401 #include "confdefs.h" |
| 1401 main(){return(0);} | 1402 main(){return(0);} |
| 1402 EOF | 1403 EOF |
| 1403 if { (eval echo configure:1404: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 1404 if { (eval echo configure:1405: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 1404 ac_cv_prog_cc_works=yes | 1405 ac_cv_prog_cc_works=yes |
| 1405 # If we can't run a trivial program, we are probably using a cross compiler. | 1406 # If we can't run a trivial program, we are probably using a cross compiler. |
| 1406 if (./conftest; exit) 2>/dev/null; then | 1407 if (./conftest; exit) 2>/dev/null; then |
| 1407 ac_cv_prog_cc_cross=no | 1408 ac_cv_prog_cc_cross=no |
| 1408 else | 1409 else |
| 1418 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 | 1419 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 |
| 1419 if test $ac_cv_prog_cc_works = no; then | 1420 if test $ac_cv_prog_cc_works = no; then |
| 1420 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } | 1421 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } |
| 1421 fi | 1422 fi |
| 1422 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 | 1423 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 |
| 1423 echo "configure:1424: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 | 1424 echo "configure:1425: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 |
| 1424 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 | 1425 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 |
| 1425 cross_compiling=$ac_cv_prog_cc_cross | 1426 cross_compiling=$ac_cv_prog_cc_cross |
| 1426 | 1427 |
| 1427 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 | 1428 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 |
| 1428 echo "configure:1429: checking whether we are using GNU C" >&5 | 1429 echo "configure:1430: checking whether we are using GNU C" >&5 |
| 1429 | 1430 |
| 1430 cat > conftest.c <<EOF | 1431 cat > conftest.c <<EOF |
| 1431 #ifdef __GNUC__ | 1432 #ifdef __GNUC__ |
| 1432 yes; | 1433 yes; |
| 1433 #endif | 1434 #endif |
| 1434 EOF | 1435 EOF |
| 1435 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1436: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then | 1436 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1437: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then |
| 1436 ac_cv_prog_gcc=yes | 1437 ac_cv_prog_gcc=yes |
| 1437 else | 1438 else |
| 1438 ac_cv_prog_gcc=no | 1439 ac_cv_prog_gcc=no |
| 1439 fi | 1440 fi |
| 1440 | 1441 |
| 1444 GCC=yes | 1445 GCC=yes |
| 1445 ac_test_CFLAGS="${CFLAGS+set}" | 1446 ac_test_CFLAGS="${CFLAGS+set}" |
| 1446 ac_save_CFLAGS="$CFLAGS" | 1447 ac_save_CFLAGS="$CFLAGS" |
| 1447 CFLAGS= | 1448 CFLAGS= |
| 1448 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 | 1449 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 |
| 1449 echo "configure:1450: checking whether ${CC-cc} accepts -g" >&5 | 1450 echo "configure:1451: checking whether ${CC-cc} accepts -g" >&5 |
| 1450 | 1451 |
| 1451 echo 'void f(){}' > conftest.c | 1452 echo 'void f(){}' > conftest.c |
| 1452 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then | 1453 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then |
| 1453 ac_cv_prog_cc_g=yes | 1454 ac_cv_prog_cc_g=yes |
| 1454 else | 1455 else |
| 1474 if test "$with_gcc" = "no" -a "$ac_cv_prog_gcc" = "yes"; then | 1475 if test "$with_gcc" = "no" -a "$ac_cv_prog_gcc" = "yes"; then |
| 1475 CC=${NON_GNU_CC-cc} | 1476 CC=${NON_GNU_CC-cc} |
| 1476 # Extract the first word of "gcc", so it can be a program name with args. | 1477 # Extract the first word of "gcc", so it can be a program name with args. |
| 1477 set dummy gcc; ac_word=$2 | 1478 set dummy gcc; ac_word=$2 |
| 1478 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 1479 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
| 1479 echo "configure:1480: checking for $ac_word" >&5 | 1480 echo "configure:1481: checking for $ac_word" >&5 |
| 1480 | 1481 |
| 1481 if test -n "$CC"; then | 1482 if test -n "$CC"; then |
| 1482 ac_cv_prog_CC="$CC" # Let the user override the test. | 1483 ac_cv_prog_CC="$CC" # Let the user override the test. |
| 1483 else | 1484 else |
| 1484 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" | 1485 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" |
| 1500 | 1501 |
| 1501 if test -z "$CC"; then | 1502 if test -z "$CC"; then |
| 1502 # Extract the first word of "cc", so it can be a program name with args. | 1503 # Extract the first word of "cc", so it can be a program name with args. |
| 1503 set dummy cc; ac_word=$2 | 1504 set dummy cc; ac_word=$2 |
| 1504 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 1505 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
| 1505 echo "configure:1506: checking for $ac_word" >&5 | 1506 echo "configure:1507: checking for $ac_word" >&5 |
| 1506 | 1507 |
| 1507 if test -n "$CC"; then | 1508 if test -n "$CC"; then |
| 1508 ac_cv_prog_CC="$CC" # Let the user override the test. | 1509 ac_cv_prog_CC="$CC" # Let the user override the test. |
| 1509 else | 1510 else |
| 1510 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" | 1511 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" |
| 1545 | 1546 |
| 1546 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } | 1547 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } |
| 1547 fi | 1548 fi |
| 1548 | 1549 |
| 1549 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 | 1550 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 |
| 1550 echo "configure:1551: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 | 1551 echo "configure:1552: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 |
| 1551 | 1552 |
| 1552 ac_ext=c | 1553 ac_ext=c |
| 1553 xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS' | 1554 xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS' |
| 1554 xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_switch_x_site $ld_switch_run' | 1555 xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_switch_x_site $ld_switch_run' |
| 1555 xe_libs='$xe_check_libs $X_EXTRA_LIBS $libs_x $X_PRE_LIBS $LIBS $libs_machine $libs_system $libs_standard' | 1556 xe_libs='$xe_check_libs $X_EXTRA_LIBS $libs_x $X_PRE_LIBS $LIBS $libs_machine $libs_system $libs_standard' |
| 1557 ac_compile='${CC-cc} -c $CFLAGS '"$xe_cppflags"' conftest.$ac_ext 1>&5' | 1558 ac_compile='${CC-cc} -c $CFLAGS '"$xe_cppflags"' conftest.$ac_ext 1>&5' |
| 1558 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' | 1559 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' |
| 1559 cross_compiling=no | 1560 cross_compiling=no |
| 1560 | 1561 |
| 1561 cat > conftest.$ac_ext <<EOF | 1562 cat > conftest.$ac_ext <<EOF |
| 1562 #line 1563 "configure" | 1563 #line 1564 "configure" |
| 1563 #include "confdefs.h" | 1564 #include "confdefs.h" |
| 1564 main(){return(0);} | 1565 main(){return(0);} |
| 1565 EOF | 1566 EOF |
| 1566 if { (eval echo configure:1567: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 1567 if { (eval echo configure:1568: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 1567 ac_cv_prog_cc_works=yes | 1568 ac_cv_prog_cc_works=yes |
| 1568 # If we can't run a trivial program, we are probably using a cross compiler. | 1569 # If we can't run a trivial program, we are probably using a cross compiler. |
| 1569 if (./conftest; exit) 2>/dev/null; then | 1570 if (./conftest; exit) 2>/dev/null; then |
| 1570 ac_cv_prog_cc_cross=no | 1571 ac_cv_prog_cc_cross=no |
| 1571 else | 1572 else |
| 1581 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 | 1582 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 |
| 1582 if test $ac_cv_prog_cc_works = no; then | 1583 if test $ac_cv_prog_cc_works = no; then |
| 1583 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } | 1584 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } |
| 1584 fi | 1585 fi |
| 1585 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 | 1586 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 |
| 1586 echo "configure:1587: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 | 1587 echo "configure:1588: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 |
| 1587 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 | 1588 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 |
| 1588 cross_compiling=$ac_cv_prog_cc_cross | 1589 cross_compiling=$ac_cv_prog_cc_cross |
| 1589 | 1590 |
| 1590 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 | 1591 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 |
| 1591 echo "configure:1592: checking whether we are using GNU C" >&5 | 1592 echo "configure:1593: checking whether we are using GNU C" >&5 |
| 1592 | 1593 |
| 1593 cat > conftest.c <<EOF | 1594 cat > conftest.c <<EOF |
| 1594 #ifdef __GNUC__ | 1595 #ifdef __GNUC__ |
| 1595 yes; | 1596 yes; |
| 1596 #endif | 1597 #endif |
| 1597 EOF | 1598 EOF |
| 1598 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1599: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then | 1599 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1600: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then |
| 1599 ac_cv_prog_gcc=yes | 1600 ac_cv_prog_gcc=yes |
| 1600 else | 1601 else |
| 1601 ac_cv_prog_gcc=no | 1602 ac_cv_prog_gcc=no |
| 1602 fi | 1603 fi |
| 1603 | 1604 |
| 1607 GCC=yes | 1608 GCC=yes |
| 1608 ac_test_CFLAGS="${CFLAGS+set}" | 1609 ac_test_CFLAGS="${CFLAGS+set}" |
| 1609 ac_save_CFLAGS="$CFLAGS" | 1610 ac_save_CFLAGS="$CFLAGS" |
| 1610 CFLAGS= | 1611 CFLAGS= |
| 1611 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 | 1612 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 |
| 1612 echo "configure:1613: checking whether ${CC-cc} accepts -g" >&5 | 1613 echo "configure:1614: checking whether ${CC-cc} accepts -g" >&5 |
| 1613 | 1614 |
| 1614 echo 'void f(){}' > conftest.c | 1615 echo 'void f(){}' > conftest.c |
| 1615 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then | 1616 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then |
| 1616 ac_cv_prog_cc_g=yes | 1617 ac_cv_prog_cc_g=yes |
| 1617 else | 1618 else |
| 1636 elif test "$with_gcc" = "yes" -a "$ac_cv_prog_gcc" = "no" ; then | 1637 elif test "$with_gcc" = "yes" -a "$ac_cv_prog_gcc" = "no" ; then |
| 1637 CC=gcc | 1638 CC=gcc |
| 1638 # Extract the first word of "gcc", so it can be a program name with args. | 1639 # Extract the first word of "gcc", so it can be a program name with args. |
| 1639 set dummy gcc; ac_word=$2 | 1640 set dummy gcc; ac_word=$2 |
| 1640 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 1641 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
| 1641 echo "configure:1642: checking for $ac_word" >&5 | 1642 echo "configure:1643: checking for $ac_word" >&5 |
| 1642 | 1643 |
| 1643 if test -n "$CC"; then | 1644 if test -n "$CC"; then |
| 1644 ac_cv_prog_CC="$CC" # Let the user override the test. | 1645 ac_cv_prog_CC="$CC" # Let the user override the test. |
| 1645 else | 1646 else |
| 1646 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" | 1647 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" |
| 1662 | 1663 |
| 1663 if test -z "$CC"; then | 1664 if test -z "$CC"; then |
| 1664 # Extract the first word of "cc", so it can be a program name with args. | 1665 # Extract the first word of "cc", so it can be a program name with args. |
| 1665 set dummy cc; ac_word=$2 | 1666 set dummy cc; ac_word=$2 |
| 1666 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 1667 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
| 1667 echo "configure:1668: checking for $ac_word" >&5 | 1668 echo "configure:1669: checking for $ac_word" >&5 |
| 1668 | 1669 |
| 1669 if test -n "$CC"; then | 1670 if test -n "$CC"; then |
| 1670 ac_cv_prog_CC="$CC" # Let the user override the test. | 1671 ac_cv_prog_CC="$CC" # Let the user override the test. |
| 1671 else | 1672 else |
| 1672 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" | 1673 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" |
| 1707 | 1708 |
| 1708 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } | 1709 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } |
| 1709 fi | 1710 fi |
| 1710 | 1711 |
| 1711 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 | 1712 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 |
| 1712 echo "configure:1713: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 | 1713 echo "configure:1714: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 |
| 1713 | 1714 |
| 1714 ac_ext=c | 1715 ac_ext=c |
| 1715 xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS' | 1716 xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS' |
| 1716 xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_switch_x_site $ld_switch_run' | 1717 xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_switch_x_site $ld_switch_run' |
| 1717 xe_libs='$xe_check_libs $X_EXTRA_LIBS $libs_x $X_PRE_LIBS $LIBS $libs_machine $libs_system $libs_standard' | 1718 xe_libs='$xe_check_libs $X_EXTRA_LIBS $libs_x $X_PRE_LIBS $LIBS $libs_machine $libs_system $libs_standard' |
| 1719 ac_compile='${CC-cc} -c $CFLAGS '"$xe_cppflags"' conftest.$ac_ext 1>&5' | 1720 ac_compile='${CC-cc} -c $CFLAGS '"$xe_cppflags"' conftest.$ac_ext 1>&5' |
| 1720 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' | 1721 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' |
| 1721 cross_compiling=no | 1722 cross_compiling=no |
| 1722 | 1723 |
| 1723 cat > conftest.$ac_ext <<EOF | 1724 cat > conftest.$ac_ext <<EOF |
| 1724 #line 1725 "configure" | 1725 #line 1726 "configure" |
| 1725 #include "confdefs.h" | 1726 #include "confdefs.h" |
| 1726 main(){return(0);} | 1727 main(){return(0);} |
| 1727 EOF | 1728 EOF |
| 1728 if { (eval echo configure:1729: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 1729 if { (eval echo configure:1730: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 1729 ac_cv_prog_cc_works=yes | 1730 ac_cv_prog_cc_works=yes |
| 1730 # If we can't run a trivial program, we are probably using a cross compiler. | 1731 # If we can't run a trivial program, we are probably using a cross compiler. |
| 1731 if (./conftest; exit) 2>/dev/null; then | 1732 if (./conftest; exit) 2>/dev/null; then |
| 1732 ac_cv_prog_cc_cross=no | 1733 ac_cv_prog_cc_cross=no |
| 1733 else | 1734 else |
| 1743 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 | 1744 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 |
| 1744 if test $ac_cv_prog_cc_works = no; then | 1745 if test $ac_cv_prog_cc_works = no; then |
| 1745 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } | 1746 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } |
| 1746 fi | 1747 fi |
| 1747 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 | 1748 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 |
| 1748 echo "configure:1749: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 | 1749 echo "configure:1750: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 |
| 1749 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 | 1750 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 |
| 1750 cross_compiling=$ac_cv_prog_cc_cross | 1751 cross_compiling=$ac_cv_prog_cc_cross |
| 1751 | 1752 |
| 1752 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 | 1753 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 |
| 1753 echo "configure:1754: checking whether we are using GNU C" >&5 | 1754 echo "configure:1755: checking whether we are using GNU C" >&5 |
| 1754 | 1755 |
| 1755 cat > conftest.c <<EOF | 1756 cat > conftest.c <<EOF |
| 1756 #ifdef __GNUC__ | 1757 #ifdef __GNUC__ |
| 1757 yes; | 1758 yes; |
| 1758 #endif | 1759 #endif |
| 1759 EOF | 1760 EOF |
| 1760 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1761: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then | 1761 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1762: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then |
| 1761 ac_cv_prog_gcc=yes | 1762 ac_cv_prog_gcc=yes |
| 1762 else | 1763 else |
| 1763 ac_cv_prog_gcc=no | 1764 ac_cv_prog_gcc=no |
| 1764 fi | 1765 fi |
| 1765 | 1766 |
| 1769 GCC=yes | 1770 GCC=yes |
| 1770 ac_test_CFLAGS="${CFLAGS+set}" | 1771 ac_test_CFLAGS="${CFLAGS+set}" |
| 1771 ac_save_CFLAGS="$CFLAGS" | 1772 ac_save_CFLAGS="$CFLAGS" |
| 1772 CFLAGS= | 1773 CFLAGS= |
| 1773 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 | 1774 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 |
| 1774 echo "configure:1775: checking whether ${CC-cc} accepts -g" >&5 | 1775 echo "configure:1776: checking whether ${CC-cc} accepts -g" >&5 |
| 1775 | 1776 |
| 1776 echo 'void f(){}' > conftest.c | 1777 echo 'void f(){}' > conftest.c |
| 1777 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then | 1778 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then |
| 1778 ac_cv_prog_cc_g=yes | 1779 ac_cv_prog_cc_g=yes |
| 1779 else | 1780 else |
| 1800 | 1801 |
| 1801 if test "$GCC" = "yes"; then with_gcc=yes; else with_gcc=no; fi | 1802 if test "$GCC" = "yes"; then with_gcc=yes; else with_gcc=no; fi |
| 1802 test -n "$NON_GNU_CPP" -a "$with_gcc" = "no" -a -z "$CPP" && CPP="$NON_GNU_CPP" | 1803 test -n "$NON_GNU_CPP" -a "$with_gcc" = "no" -a -z "$CPP" && CPP="$NON_GNU_CPP" |
| 1803 | 1804 |
| 1804 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6 | 1805 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6 |
| 1805 echo "configure:1806: checking how to run the C preprocessor" >&5 | 1806 echo "configure:1807: checking how to run the C preprocessor" >&5 |
| 1806 # On Suns, sometimes $CPP names a directory. | 1807 # On Suns, sometimes $CPP names a directory. |
| 1807 if test -n "$CPP" && test -d "$CPP"; then | 1808 if test -n "$CPP" && test -d "$CPP"; then |
| 1808 CPP= | 1809 CPP= |
| 1809 fi | 1810 fi |
| 1810 if test -z "$CPP"; then | 1811 if test -z "$CPP"; then |
| 1813 # substituted into the Makefile and "${CC-cc}" will confuse make. | 1814 # substituted into the Makefile and "${CC-cc}" will confuse make. |
| 1814 CPP="${CC-cc} -E" | 1815 CPP="${CC-cc} -E" |
| 1815 # On the NeXT, cc -E runs the code through the compiler's parser, | 1816 # On the NeXT, cc -E runs the code through the compiler's parser, |
| 1816 # not just through cpp. | 1817 # not just through cpp. |
| 1817 cat > conftest.$ac_ext <<EOF | 1818 cat > conftest.$ac_ext <<EOF |
| 1818 #line 1819 "configure" | 1819 #line 1820 "configure" |
| 1819 #include "confdefs.h" | 1820 #include "confdefs.h" |
| 1820 #include <assert.h> | 1821 #include <assert.h> |
| 1821 Syntax Error | 1822 Syntax Error |
| 1822 EOF | 1823 EOF |
| 1823 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 1824 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 1824 { (eval echo configure:1825: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 1825 { (eval echo configure:1826: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 1825 ac_err=`grep -v '^ *+' conftest.out` | 1826 ac_err=`grep -v '^ *+' conftest.out` |
| 1826 if test -z "$ac_err"; then | 1827 if test -z "$ac_err"; then |
| 1827 : | 1828 : |
| 1828 else | 1829 else |
| 1829 echo "$ac_err" >&5 | 1830 echo "$ac_err" >&5 |
| 1830 echo "configure: failed program was:" >&5 | 1831 echo "configure: failed program was:" >&5 |
| 1831 cat conftest.$ac_ext >&5 | 1832 cat conftest.$ac_ext >&5 |
| 1832 rm -rf conftest* | 1833 rm -rf conftest* |
| 1833 CPP="${CC-cc} -E -traditional-cpp" | 1834 CPP="${CC-cc} -E -traditional-cpp" |
| 1834 cat > conftest.$ac_ext <<EOF | 1835 cat > conftest.$ac_ext <<EOF |
| 1835 #line 1836 "configure" | 1836 #line 1837 "configure" |
| 1836 #include "confdefs.h" | 1837 #include "confdefs.h" |
| 1837 #include <assert.h> | 1838 #include <assert.h> |
| 1838 Syntax Error | 1839 Syntax Error |
| 1839 EOF | 1840 EOF |
| 1840 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 1841 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 1841 { (eval echo configure:1842: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 1842 { (eval echo configure:1843: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 1842 ac_err=`grep -v '^ *+' conftest.out` | 1843 ac_err=`grep -v '^ *+' conftest.out` |
| 1843 if test -z "$ac_err"; then | 1844 if test -z "$ac_err"; then |
| 1844 : | 1845 : |
| 1845 else | 1846 else |
| 1846 echo "$ac_err" >&5 | 1847 echo "$ac_err" >&5 |
| 1859 fi | 1860 fi |
| 1860 echo "$ac_t""$CPP" 1>&6 | 1861 echo "$ac_t""$CPP" 1>&6 |
| 1861 | 1862 |
| 1862 | 1863 |
| 1863 echo $ac_n "checking for AIX""... $ac_c" 1>&6 | 1864 echo $ac_n "checking for AIX""... $ac_c" 1>&6 |
| 1864 echo "configure:1865: checking for AIX" >&5 | 1865 echo "configure:1866: checking for AIX" >&5 |
| 1865 cat > conftest.$ac_ext <<EOF | 1866 cat > conftest.$ac_ext <<EOF |
| 1866 #line 1867 "configure" | 1867 #line 1868 "configure" |
| 1867 #include "confdefs.h" | 1868 #include "confdefs.h" |
| 1868 #ifdef _AIX | 1869 #ifdef _AIX |
| 1869 yes | 1870 yes |
| 1870 #endif | 1871 #endif |
| 1871 | 1872 |
| 1888 rm -f conftest* | 1889 rm -f conftest* |
| 1889 | 1890 |
| 1890 | 1891 |
| 1891 | 1892 |
| 1892 echo $ac_n "checking whether we are using SunPro C""... $ac_c" 1>&6 | 1893 echo $ac_n "checking whether we are using SunPro C""... $ac_c" 1>&6 |
| 1893 echo "configure:1894: checking whether we are using SunPro C" >&5 | 1894 echo "configure:1895: checking whether we are using SunPro C" >&5 |
| 1894 cat > conftest.$ac_ext <<EOF | 1895 cat > conftest.$ac_ext <<EOF |
| 1895 #line 1896 "configure" | 1896 #line 1897 "configure" |
| 1896 #include "confdefs.h" | 1897 #include "confdefs.h" |
| 1897 | 1898 |
| 1898 int main() { | 1899 int main() { |
| 1899 #ifndef __SUNPRO_C | 1900 #ifndef __SUNPRO_C |
| 1900 #error Not a SunPro compiler :-( | 1901 #error Not a SunPro compiler :-( |
| 1902 ******* ======= ******** &&&&&&&& | |
| 1901 #endif | 1903 #endif |
| 1902 | 1904 |
| 1903 ; return 0; } | 1905 ; return 0; } |
| 1904 EOF | 1906 EOF |
| 1905 if { (eval echo configure:1906: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 1907 if { (eval echo configure:1908: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| 1906 rm -rf conftest* | 1908 rm -rf conftest* |
| 1907 __sunpro_c=yes | 1909 __sunpro_c=yes |
| 1908 else | 1910 else |
| 1909 echo "configure: failed program was:" >&5 | 1911 echo "configure: failed program was:" >&5 |
| 1910 cat conftest.$ac_ext >&5 | 1912 cat conftest.$ac_ext >&5 |
| 2185 test -n "$unexec" && extra_objs="$extra_objs $unexec" && if test "$extra_verbose" = "yes"; then | 2187 test -n "$unexec" && extra_objs="$extra_objs $unexec" && if test "$extra_verbose" = "yes"; then |
| 2186 echo " xemacs will be linked with \"$unexec\"" | 2188 echo " xemacs will be linked with \"$unexec\"" |
| 2187 fi | 2189 fi |
| 2188 | 2190 |
| 2189 echo $ac_n "checking for dynodump""... $ac_c" 1>&6 | 2191 echo $ac_n "checking for dynodump""... $ac_c" 1>&6 |
| 2190 echo "configure:2191: checking for dynodump" >&5 | 2192 echo "configure:2193: checking for dynodump" >&5 |
| 2191 if test "$unexec" != "unexsol2.o"; then | 2193 if test "$unexec" != "unexsol2.o"; then |
| 2192 echo "$ac_t""no" 1>&6 | 2194 echo "$ac_t""no" 1>&6 |
| 2193 else | 2195 else |
| 2194 echo "$ac_t""yes" 1>&6 | 2196 echo "$ac_t""yes" 1>&6 |
| 2195 { test "$extra_verbose" = "yes" && cat << \EOF | 2197 { test "$extra_verbose" = "yes" && cat << \EOF |
| 2256 esac | 2258 esac |
| 2257 fi | 2259 fi |
| 2258 | 2260 |
| 2259 if test "$add_runtime_path" = "yes"; then | 2261 if test "$add_runtime_path" = "yes"; then |
| 2260 echo $ac_n "checking "for runtime libraries flag"""... $ac_c" 1>&6 | 2262 echo $ac_n "checking "for runtime libraries flag"""... $ac_c" 1>&6 |
| 2261 echo "configure:2262: checking "for runtime libraries flag"" >&5 | 2263 echo "configure:2264: checking "for runtime libraries flag"" >&5 |
| 2262 dash_r="" | 2264 dash_r="" |
| 2263 for try_dash_r in "-R" "-R " "-rpath "; do | 2265 for try_dash_r in "-R" "-R " "-rpath "; do |
| 2264 xe_check_libs="${try_dash_r}/no/such/file-or-directory" | 2266 xe_check_libs="${try_dash_r}/no/such/file-or-directory" |
| 2265 cat > conftest.$ac_ext <<EOF | 2267 cat > conftest.$ac_ext <<EOF |
| 2266 #line 2267 "configure" | 2268 #line 2269 "configure" |
| 2267 #include "confdefs.h" | 2269 #include "confdefs.h" |
| 2268 | 2270 |
| 2269 int main() { | 2271 int main() { |
| 2270 | 2272 |
| 2271 ; return 0; } | 2273 ; return 0; } |
| 2272 EOF | 2274 EOF |
| 2273 if { (eval echo configure:2274: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 2275 if { (eval echo configure:2276: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 2274 rm -rf conftest* | 2276 rm -rf conftest* |
| 2275 dash_r="$try_dash_r" | 2277 dash_r="$try_dash_r" |
| 2276 else | 2278 else |
| 2277 echo "configure: failed program was:" >&5 | 2279 echo "configure: failed program was:" >&5 |
| 2278 cat conftest.$ac_ext >&5 | 2280 cat conftest.$ac_ext >&5 |
| 2362 | 2364 |
| 2363 | 2365 |
| 2364 # Extract the first word of "ranlib", so it can be a program name with args. | 2366 # Extract the first word of "ranlib", so it can be a program name with args. |
| 2365 set dummy ranlib; ac_word=$2 | 2367 set dummy ranlib; ac_word=$2 |
| 2366 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 2368 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
| 2367 echo "configure:2368: checking for $ac_word" >&5 | 2369 echo "configure:2370: checking for $ac_word" >&5 |
| 2368 | 2370 |
| 2369 if test -n "$RANLIB"; then | 2371 if test -n "$RANLIB"; then |
| 2370 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. | 2372 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. |
| 2371 else | 2373 else |
| 2372 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" | 2374 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" |
| 2415 # AIX /bin/install | 2417 # AIX /bin/install |
| 2416 # AFS /usr/afsws/bin/install, which mishandles nonexistent args | 2418 # AFS /usr/afsws/bin/install, which mishandles nonexistent args |
| 2417 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" | 2419 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" |
| 2418 # ./install, which can be erroneously created by make from ./install.sh. | 2420 # ./install, which can be erroneously created by make from ./install.sh. |
| 2419 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 | 2421 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 |
| 2420 echo "configure:2421: checking for a BSD compatible install" >&5 | 2422 echo "configure:2423: checking for a BSD compatible install" >&5 |
| 2421 if test -z "$INSTALL"; then | 2423 if test -z "$INSTALL"; then |
| 2422 | 2424 |
| 2423 IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS="${IFS}:" | 2425 IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS="${IFS}:" |
| 2424 for ac_dir in $PATH; do | 2426 for ac_dir in $PATH; do |
| 2425 # Account for people who put trailing slashes in PATH elements. | 2427 # Account for people who put trailing slashes in PATH elements. |
| 2466 for ac_prog in 'bison -y' byacc | 2468 for ac_prog in 'bison -y' byacc |
| 2467 do | 2469 do |
| 2468 # Extract the first word of "$ac_prog", so it can be a program name with args. | 2470 # Extract the first word of "$ac_prog", so it can be a program name with args. |
| 2469 set dummy $ac_prog; ac_word=$2 | 2471 set dummy $ac_prog; ac_word=$2 |
| 2470 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 2472 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
| 2471 echo "configure:2472: checking for $ac_word" >&5 | 2473 echo "configure:2474: checking for $ac_word" >&5 |
| 2472 | 2474 |
| 2473 if test -n "$YACC"; then | 2475 if test -n "$YACC"; then |
| 2474 ac_cv_prog_YACC="$YACC" # Let the user override the test. | 2476 ac_cv_prog_YACC="$YACC" # Let the user override the test. |
| 2475 else | 2477 else |
| 2476 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" | 2478 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" |
| 2497 | 2499 |
| 2498 for ac_hdr in mach/mach.h sys/stropts.h sys/timeb.h sys/time.h unistd.h | 2500 for ac_hdr in mach/mach.h sys/stropts.h sys/timeb.h sys/time.h unistd.h |
| 2499 do | 2501 do |
| 2500 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 2502 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
| 2501 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 2503 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
| 2502 echo "configure:2503: checking for $ac_hdr" >&5 | 2504 echo "configure:2505: checking for $ac_hdr" >&5 |
| 2503 | 2505 |
| 2504 cat > conftest.$ac_ext <<EOF | 2506 cat > conftest.$ac_ext <<EOF |
| 2505 #line 2506 "configure" | 2507 #line 2508 "configure" |
| 2506 #include "confdefs.h" | 2508 #include "confdefs.h" |
| 2507 #include <$ac_hdr> | 2509 #include <$ac_hdr> |
| 2508 EOF | 2510 EOF |
| 2509 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 2511 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 2510 { (eval echo configure:2511: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 2512 { (eval echo configure:2513: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 2511 ac_err=`grep -v '^ *+' conftest.out` | 2513 ac_err=`grep -v '^ *+' conftest.out` |
| 2512 if test -z "$ac_err"; then | 2514 if test -z "$ac_err"; then |
| 2513 rm -rf conftest* | 2515 rm -rf conftest* |
| 2514 eval "ac_cv_header_$ac_safe=yes" | 2516 eval "ac_cv_header_$ac_safe=yes" |
| 2515 else | 2517 else |
| 2538 | 2540 |
| 2539 for ac_hdr in utime.h locale.h libgen.h fcntl.h | 2541 for ac_hdr in utime.h locale.h libgen.h fcntl.h |
| 2540 do | 2542 do |
| 2541 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 2543 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
| 2542 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 2544 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
| 2543 echo "configure:2544: checking for $ac_hdr" >&5 | 2545 echo "configure:2546: checking for $ac_hdr" >&5 |
| 2544 | 2546 |
| 2545 cat > conftest.$ac_ext <<EOF | 2547 cat > conftest.$ac_ext <<EOF |
| 2546 #line 2547 "configure" | 2548 #line 2549 "configure" |
| 2547 #include "confdefs.h" | 2549 #include "confdefs.h" |
| 2548 #include <$ac_hdr> | 2550 #include <$ac_hdr> |
| 2549 EOF | 2551 EOF |
| 2550 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 2552 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 2551 { (eval echo configure:2552: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 2553 { (eval echo configure:2554: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 2552 ac_err=`grep -v '^ *+' conftest.out` | 2554 ac_err=`grep -v '^ *+' conftest.out` |
| 2553 if test -z "$ac_err"; then | 2555 if test -z "$ac_err"; then |
| 2554 rm -rf conftest* | 2556 rm -rf conftest* |
| 2555 eval "ac_cv_header_$ac_safe=yes" | 2557 eval "ac_cv_header_$ac_safe=yes" |
| 2556 else | 2558 else |
| 2579 | 2581 |
| 2580 for ac_hdr in linux/version.h kstat.h sys/pstat.h inttypes.h limits.h | 2582 for ac_hdr in linux/version.h kstat.h sys/pstat.h inttypes.h limits.h |
| 2581 do | 2583 do |
| 2582 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 2584 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
| 2583 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 2585 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
| 2584 echo "configure:2585: checking for $ac_hdr" >&5 | 2586 echo "configure:2587: checking for $ac_hdr" >&5 |
| 2585 | 2587 |
| 2586 cat > conftest.$ac_ext <<EOF | 2588 cat > conftest.$ac_ext <<EOF |
| 2587 #line 2588 "configure" | 2589 #line 2590 "configure" |
| 2588 #include "confdefs.h" | 2590 #include "confdefs.h" |
| 2589 #include <$ac_hdr> | 2591 #include <$ac_hdr> |
| 2590 EOF | 2592 EOF |
| 2591 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 2593 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 2592 { (eval echo configure:2593: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 2594 { (eval echo configure:2595: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 2593 ac_err=`grep -v '^ *+' conftest.out` | 2595 ac_err=`grep -v '^ *+' conftest.out` |
| 2594 if test -z "$ac_err"; then | 2596 if test -z "$ac_err"; then |
| 2595 rm -rf conftest* | 2597 rm -rf conftest* |
| 2596 eval "ac_cv_header_$ac_safe=yes" | 2598 eval "ac_cv_header_$ac_safe=yes" |
| 2597 else | 2599 else |
| 2617 echo "$ac_t""no" 1>&6 | 2619 echo "$ac_t""no" 1>&6 |
| 2618 fi | 2620 fi |
| 2619 done | 2621 done |
| 2620 | 2622 |
| 2621 echo $ac_n "checking for sys/wait.h that is POSIX.1 compatible""... $ac_c" 1>&6 | 2623 echo $ac_n "checking for sys/wait.h that is POSIX.1 compatible""... $ac_c" 1>&6 |
| 2622 echo "configure:2623: checking for sys/wait.h that is POSIX.1 compatible" >&5 | 2624 echo "configure:2625: checking for sys/wait.h that is POSIX.1 compatible" >&5 |
| 2623 | 2625 |
| 2624 cat > conftest.$ac_ext <<EOF | 2626 cat > conftest.$ac_ext <<EOF |
| 2625 #line 2626 "configure" | 2627 #line 2628 "configure" |
| 2626 #include "confdefs.h" | 2628 #include "confdefs.h" |
| 2627 #include <sys/types.h> | 2629 #include <sys/types.h> |
| 2628 #include <sys/wait.h> | 2630 #include <sys/wait.h> |
| 2629 #ifndef WEXITSTATUS | 2631 #ifndef WEXITSTATUS |
| 2630 #define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8) | 2632 #define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8) |
| 2636 int s; | 2638 int s; |
| 2637 wait (&s); | 2639 wait (&s); |
| 2638 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1; | 2640 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1; |
| 2639 ; return 0; } | 2641 ; return 0; } |
| 2640 EOF | 2642 EOF |
| 2641 if { (eval echo configure:2642: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 2643 if { (eval echo configure:2644: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| 2642 rm -rf conftest* | 2644 rm -rf conftest* |
| 2643 ac_cv_header_sys_wait_h=yes | 2645 ac_cv_header_sys_wait_h=yes |
| 2644 else | 2646 else |
| 2645 echo "configure: failed program was:" >&5 | 2647 echo "configure: failed program was:" >&5 |
| 2646 cat conftest.$ac_ext >&5 | 2648 cat conftest.$ac_ext >&5 |
| 2660 } | 2662 } |
| 2661 | 2663 |
| 2662 fi | 2664 fi |
| 2663 | 2665 |
| 2664 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6 | 2666 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6 |
| 2665 echo "configure:2666: checking for ANSI C header files" >&5 | 2667 echo "configure:2668: checking for ANSI C header files" >&5 |
| 2666 | 2668 |
| 2667 cat > conftest.$ac_ext <<EOF | 2669 cat > conftest.$ac_ext <<EOF |
| 2668 #line 2669 "configure" | 2670 #line 2671 "configure" |
| 2669 #include "confdefs.h" | 2671 #include "confdefs.h" |
| 2670 #include <stdlib.h> | 2672 #include <stdlib.h> |
| 2671 #include <stdarg.h> | 2673 #include <stdarg.h> |
| 2672 #include <string.h> | 2674 #include <string.h> |
| 2673 #include <float.h> | 2675 #include <float.h> |
| 2674 EOF | 2676 EOF |
| 2675 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 2677 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 2676 { (eval echo configure:2677: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 2678 { (eval echo configure:2679: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 2677 ac_err=`grep -v '^ *+' conftest.out` | 2679 ac_err=`grep -v '^ *+' conftest.out` |
| 2678 if test -z "$ac_err"; then | 2680 if test -z "$ac_err"; then |
| 2679 rm -rf conftest* | 2681 rm -rf conftest* |
| 2680 ac_cv_header_stdc=yes | 2682 ac_cv_header_stdc=yes |
| 2681 else | 2683 else |
| 2688 rm -f conftest* | 2690 rm -f conftest* |
| 2689 | 2691 |
| 2690 if test $ac_cv_header_stdc = yes; then | 2692 if test $ac_cv_header_stdc = yes; then |
| 2691 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. | 2693 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. |
| 2692 cat > conftest.$ac_ext <<EOF | 2694 cat > conftest.$ac_ext <<EOF |
| 2693 #line 2694 "configure" | 2695 #line 2696 "configure" |
| 2694 #include "confdefs.h" | 2696 #include "confdefs.h" |
| 2695 #include <string.h> | 2697 #include <string.h> |
| 2696 EOF | 2698 EOF |
| 2697 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 2699 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
| 2698 egrep "memchr" >/dev/null 2>&1; then | 2700 egrep "memchr" >/dev/null 2>&1; then |
| 2706 fi | 2708 fi |
| 2707 | 2709 |
| 2708 if test $ac_cv_header_stdc = yes; then | 2710 if test $ac_cv_header_stdc = yes; then |
| 2709 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. | 2711 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. |
| 2710 cat > conftest.$ac_ext <<EOF | 2712 cat > conftest.$ac_ext <<EOF |
| 2711 #line 2712 "configure" | 2713 #line 2714 "configure" |
| 2712 #include "confdefs.h" | 2714 #include "confdefs.h" |
| 2713 #include <stdlib.h> | 2715 #include <stdlib.h> |
| 2714 EOF | 2716 EOF |
| 2715 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 2717 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
| 2716 egrep "free" >/dev/null 2>&1; then | 2718 egrep "free" >/dev/null 2>&1; then |
| 2724 fi | 2726 fi |
| 2725 | 2727 |
| 2726 if test $ac_cv_header_stdc = yes; then | 2728 if test $ac_cv_header_stdc = yes; then |
| 2727 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. | 2729 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. |
| 2728 cat > conftest.$ac_ext <<EOF | 2730 cat > conftest.$ac_ext <<EOF |
| 2729 #line 2730 "configure" | 2731 #line 2732 "configure" |
| 2730 #include "confdefs.h" | 2732 #include "confdefs.h" |
| 2731 #include <ctype.h> | 2733 #include <ctype.h> |
| 2732 #define ISLOWER(c) ('a' <= (c) && (c) <= 'z') | 2734 #define ISLOWER(c) ('a' <= (c) && (c) <= 'z') |
| 2733 #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) | 2735 #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) |
| 2734 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) | 2736 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) |
| 2735 int main () { int i; for (i = 0; i < 256; i++) | 2737 int main () { int i; for (i = 0; i < 256; i++) |
| 2736 if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2); | 2738 if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2); |
| 2737 exit (0); } | 2739 exit (0); } |
| 2738 | 2740 |
| 2739 EOF | 2741 EOF |
| 2740 if { (eval echo configure:2741: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 | 2742 if { (eval echo configure:2743: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 |
| 2741 then | 2743 then |
| 2742 : | 2744 : |
| 2743 else | 2745 else |
| 2744 echo "configure: failed program was:" >&5 | 2746 echo "configure: failed program was:" >&5 |
| 2745 cat conftest.$ac_ext >&5 | 2747 cat conftest.$ac_ext >&5 |
| 2760 } | 2762 } |
| 2761 | 2763 |
| 2762 fi | 2764 fi |
| 2763 | 2765 |
| 2764 echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6 | 2766 echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6 |
| 2765 echo "configure:2766: checking whether time.h and sys/time.h may both be included" >&5 | 2767 echo "configure:2768: checking whether time.h and sys/time.h may both be included" >&5 |
| 2766 | 2768 |
| 2767 cat > conftest.$ac_ext <<EOF | 2769 cat > conftest.$ac_ext <<EOF |
| 2768 #line 2769 "configure" | 2770 #line 2771 "configure" |
| 2769 #include "confdefs.h" | 2771 #include "confdefs.h" |
| 2770 #include <sys/types.h> | 2772 #include <sys/types.h> |
| 2771 #include <sys/time.h> | 2773 #include <sys/time.h> |
| 2772 #include <time.h> | 2774 #include <time.h> |
| 2773 int main() { | 2775 int main() { |
| 2774 struct tm *tp; | 2776 struct tm *tp; |
| 2775 ; return 0; } | 2777 ; return 0; } |
| 2776 EOF | 2778 EOF |
| 2777 if { (eval echo configure:2778: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 2779 if { (eval echo configure:2780: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| 2778 rm -rf conftest* | 2780 rm -rf conftest* |
| 2779 ac_cv_header_time=yes | 2781 ac_cv_header_time=yes |
| 2780 else | 2782 else |
| 2781 echo "configure: failed program was:" >&5 | 2783 echo "configure: failed program was:" >&5 |
| 2782 cat conftest.$ac_ext >&5 | 2784 cat conftest.$ac_ext >&5 |
| 2796 } | 2798 } |
| 2797 | 2799 |
| 2798 fi | 2800 fi |
| 2799 | 2801 |
| 2800 echo $ac_n "checking for sys_siglist declaration in signal.h or unistd.h""... $ac_c" 1>&6 | 2802 echo $ac_n "checking for sys_siglist declaration in signal.h or unistd.h""... $ac_c" 1>&6 |
| 2801 echo "configure:2802: checking for sys_siglist declaration in signal.h or unistd.h" >&5 | 2803 echo "configure:2804: checking for sys_siglist declaration in signal.h or unistd.h" >&5 |
| 2802 | 2804 |
| 2803 cat > conftest.$ac_ext <<EOF | 2805 cat > conftest.$ac_ext <<EOF |
| 2804 #line 2805 "configure" | 2806 #line 2807 "configure" |
| 2805 #include "confdefs.h" | 2807 #include "confdefs.h" |
| 2806 #include <sys/types.h> | 2808 #include <sys/types.h> |
| 2807 #include <signal.h> | 2809 #include <signal.h> |
| 2808 /* NetBSD declares sys_siglist in unistd.h. */ | 2810 /* NetBSD declares sys_siglist in unistd.h. */ |
| 2809 #ifdef HAVE_UNISTD_H | 2811 #ifdef HAVE_UNISTD_H |
| 2811 #endif | 2813 #endif |
| 2812 int main() { | 2814 int main() { |
| 2813 char *msg = *(sys_siglist + 1); | 2815 char *msg = *(sys_siglist + 1); |
| 2814 ; return 0; } | 2816 ; return 0; } |
| 2815 EOF | 2817 EOF |
| 2816 if { (eval echo configure:2817: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 2818 if { (eval echo configure:2819: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| 2817 rm -rf conftest* | 2819 rm -rf conftest* |
| 2818 ac_cv_decl_sys_siglist=yes | 2820 ac_cv_decl_sys_siglist=yes |
| 2819 else | 2821 else |
| 2820 echo "configure: failed program was:" >&5 | 2822 echo "configure: failed program was:" >&5 |
| 2821 cat conftest.$ac_ext >&5 | 2823 cat conftest.$ac_ext >&5 |
| 2836 | 2838 |
| 2837 fi | 2839 fi |
| 2838 | 2840 |
| 2839 | 2841 |
| 2840 echo $ac_n "checking for struct utimbuf""... $ac_c" 1>&6 | 2842 echo $ac_n "checking for struct utimbuf""... $ac_c" 1>&6 |
| 2841 echo "configure:2842: checking for struct utimbuf" >&5 | 2843 echo "configure:2844: checking for struct utimbuf" >&5 |
| 2842 cat > conftest.$ac_ext <<EOF | 2844 cat > conftest.$ac_ext <<EOF |
| 2843 #line 2844 "configure" | 2845 #line 2846 "configure" |
| 2844 #include "confdefs.h" | 2846 #include "confdefs.h" |
| 2845 #ifdef TIME_WITH_SYS_TIME | 2847 #ifdef TIME_WITH_SYS_TIME |
| 2846 #include <sys/time.h> | 2848 #include <sys/time.h> |
| 2847 #include <time.h> | 2849 #include <time.h> |
| 2848 #else | 2850 #else |
| 2857 #endif | 2859 #endif |
| 2858 int main() { | 2860 int main() { |
| 2859 static struct utimbuf x; x.actime = x.modtime; | 2861 static struct utimbuf x; x.actime = x.modtime; |
| 2860 ; return 0; } | 2862 ; return 0; } |
| 2861 EOF | 2863 EOF |
| 2862 if { (eval echo configure:2863: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 2864 if { (eval echo configure:2865: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| 2863 rm -rf conftest* | 2865 rm -rf conftest* |
| 2864 echo "$ac_t""yes" 1>&6 | 2866 echo "$ac_t""yes" 1>&6 |
| 2865 { test "$extra_verbose" = "yes" && cat << \EOF | 2867 { test "$extra_verbose" = "yes" && cat << \EOF |
| 2866 Defining HAVE_STRUCT_UTIMBUF | 2868 Defining HAVE_STRUCT_UTIMBUF |
| 2867 EOF | 2869 EOF |
| 2877 echo "$ac_t""no" 1>&6 | 2879 echo "$ac_t""no" 1>&6 |
| 2878 fi | 2880 fi |
| 2879 rm -f conftest* | 2881 rm -f conftest* |
| 2880 | 2882 |
| 2881 echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6 | 2883 echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6 |
| 2882 echo "configure:2883: checking return type of signal handlers" >&5 | 2884 echo "configure:2885: checking return type of signal handlers" >&5 |
| 2883 | 2885 |
| 2884 cat > conftest.$ac_ext <<EOF | 2886 cat > conftest.$ac_ext <<EOF |
| 2885 #line 2886 "configure" | 2887 #line 2888 "configure" |
| 2886 #include "confdefs.h" | 2888 #include "confdefs.h" |
| 2887 #include <sys/types.h> | 2889 #include <sys/types.h> |
| 2888 #include <signal.h> | 2890 #include <signal.h> |
| 2889 #ifdef signal | 2891 #ifdef signal |
| 2890 #undef signal | 2892 #undef signal |
| 2897 | 2899 |
| 2898 int main() { | 2900 int main() { |
| 2899 int i; | 2901 int i; |
| 2900 ; return 0; } | 2902 ; return 0; } |
| 2901 EOF | 2903 EOF |
| 2902 if { (eval echo configure:2903: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 2904 if { (eval echo configure:2905: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| 2903 rm -rf conftest* | 2905 rm -rf conftest* |
| 2904 ac_cv_type_signal=void | 2906 ac_cv_type_signal=void |
| 2905 else | 2907 else |
| 2906 echo "configure: failed program was:" >&5 | 2908 echo "configure: failed program was:" >&5 |
| 2907 cat conftest.$ac_ext >&5 | 2909 cat conftest.$ac_ext >&5 |
| 2919 EOF | 2921 EOF |
| 2920 } | 2922 } |
| 2921 | 2923 |
| 2922 | 2924 |
| 2923 echo $ac_n "checking for size_t""... $ac_c" 1>&6 | 2925 echo $ac_n "checking for size_t""... $ac_c" 1>&6 |
| 2924 echo "configure:2925: checking for size_t" >&5 | 2926 echo "configure:2927: checking for size_t" >&5 |
| 2925 | 2927 |
| 2926 cat > conftest.$ac_ext <<EOF | 2928 cat > conftest.$ac_ext <<EOF |
| 2927 #line 2928 "configure" | 2929 #line 2930 "configure" |
| 2928 #include "confdefs.h" | 2930 #include "confdefs.h" |
| 2929 #include <sys/types.h> | 2931 #include <sys/types.h> |
| 2930 #if STDC_HEADERS | 2932 #if STDC_HEADERS |
| 2931 #include <stdlib.h> | 2933 #include <stdlib.h> |
| 2932 #include <stddef.h> | 2934 #include <stddef.h> |
| 2953 } | 2955 } |
| 2954 | 2956 |
| 2955 fi | 2957 fi |
| 2956 | 2958 |
| 2957 echo $ac_n "checking for pid_t""... $ac_c" 1>&6 | 2959 echo $ac_n "checking for pid_t""... $ac_c" 1>&6 |
| 2958 echo "configure:2959: checking for pid_t" >&5 | 2960 echo "configure:2961: checking for pid_t" >&5 |
| 2959 | 2961 |
| 2960 cat > conftest.$ac_ext <<EOF | 2962 cat > conftest.$ac_ext <<EOF |
| 2961 #line 2962 "configure" | 2963 #line 2964 "configure" |
| 2962 #include "confdefs.h" | 2964 #include "confdefs.h" |
| 2963 #include <sys/types.h> | 2965 #include <sys/types.h> |
| 2964 #if STDC_HEADERS | 2966 #if STDC_HEADERS |
| 2965 #include <stdlib.h> | 2967 #include <stdlib.h> |
| 2966 #include <stddef.h> | 2968 #include <stddef.h> |
| 2987 } | 2989 } |
| 2988 | 2990 |
| 2989 fi | 2991 fi |
| 2990 | 2992 |
| 2991 echo $ac_n "checking for uid_t in sys/types.h""... $ac_c" 1>&6 | 2993 echo $ac_n "checking for uid_t in sys/types.h""... $ac_c" 1>&6 |
| 2992 echo "configure:2993: checking for uid_t in sys/types.h" >&5 | 2994 echo "configure:2995: checking for uid_t in sys/types.h" >&5 |
| 2993 | 2995 |
| 2994 cat > conftest.$ac_ext <<EOF | 2996 cat > conftest.$ac_ext <<EOF |
| 2995 #line 2996 "configure" | 2997 #line 2998 "configure" |
| 2996 #include "confdefs.h" | 2998 #include "confdefs.h" |
| 2997 #include <sys/types.h> | 2999 #include <sys/types.h> |
| 2998 EOF | 3000 EOF |
| 2999 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 3001 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
| 3000 egrep "uid_t" >/dev/null 2>&1; then | 3002 egrep "uid_t" >/dev/null 2>&1; then |
| 3026 } | 3028 } |
| 3027 | 3029 |
| 3028 fi | 3030 fi |
| 3029 | 3031 |
| 3030 echo $ac_n "checking for mode_t""... $ac_c" 1>&6 | 3032 echo $ac_n "checking for mode_t""... $ac_c" 1>&6 |
| 3031 echo "configure:3032: checking for mode_t" >&5 | 3033 echo "configure:3034: checking for mode_t" >&5 |
| 3032 | 3034 |
| 3033 cat > conftest.$ac_ext <<EOF | 3035 cat > conftest.$ac_ext <<EOF |
| 3034 #line 3035 "configure" | 3036 #line 3037 "configure" |
| 3035 #include "confdefs.h" | 3037 #include "confdefs.h" |
| 3036 #include <sys/types.h> | 3038 #include <sys/types.h> |
| 3037 #if STDC_HEADERS | 3039 #if STDC_HEADERS |
| 3038 #include <stdlib.h> | 3040 #include <stdlib.h> |
| 3039 #include <stddef.h> | 3041 #include <stddef.h> |
| 3060 } | 3062 } |
| 3061 | 3063 |
| 3062 fi | 3064 fi |
| 3063 | 3065 |
| 3064 echo $ac_n "checking for off_t""... $ac_c" 1>&6 | 3066 echo $ac_n "checking for off_t""... $ac_c" 1>&6 |
| 3065 echo "configure:3066: checking for off_t" >&5 | 3067 echo "configure:3068: checking for off_t" >&5 |
| 3066 | 3068 |
| 3067 cat > conftest.$ac_ext <<EOF | 3069 cat > conftest.$ac_ext <<EOF |
| 3068 #line 3069 "configure" | 3070 #line 3071 "configure" |
| 3069 #include "confdefs.h" | 3071 #include "confdefs.h" |
| 3070 #include <sys/types.h> | 3072 #include <sys/types.h> |
| 3071 #if STDC_HEADERS | 3073 #if STDC_HEADERS |
| 3072 #include <stdlib.h> | 3074 #include <stdlib.h> |
| 3073 #include <stddef.h> | 3075 #include <stddef.h> |
| 3095 | 3097 |
| 3096 fi | 3098 fi |
| 3097 | 3099 |
| 3098 | 3100 |
| 3099 echo $ac_n "checking for struct timeval""... $ac_c" 1>&6 | 3101 echo $ac_n "checking for struct timeval""... $ac_c" 1>&6 |
| 3100 echo "configure:3101: checking for struct timeval" >&5 | 3102 echo "configure:3103: checking for struct timeval" >&5 |
| 3101 cat > conftest.$ac_ext <<EOF | 3103 cat > conftest.$ac_ext <<EOF |
| 3102 #line 3103 "configure" | 3104 #line 3105 "configure" |
| 3103 #include "confdefs.h" | 3105 #include "confdefs.h" |
| 3104 #ifdef TIME_WITH_SYS_TIME | 3106 #ifdef TIME_WITH_SYS_TIME |
| 3105 #include <sys/time.h> | 3107 #include <sys/time.h> |
| 3106 #include <time.h> | 3108 #include <time.h> |
| 3107 #else | 3109 #else |
| 3113 #endif | 3115 #endif |
| 3114 int main() { | 3116 int main() { |
| 3115 static struct timeval x; x.tv_sec = x.tv_usec; | 3117 static struct timeval x; x.tv_sec = x.tv_usec; |
| 3116 ; return 0; } | 3118 ; return 0; } |
| 3117 EOF | 3119 EOF |
| 3118 if { (eval echo configure:3119: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3120 if { (eval echo configure:3121: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| 3119 rm -rf conftest* | 3121 rm -rf conftest* |
| 3120 echo "$ac_t""yes" 1>&6 | 3122 echo "$ac_t""yes" 1>&6 |
| 3121 HAVE_TIMEVAL=yes | 3123 HAVE_TIMEVAL=yes |
| 3122 { test "$extra_verbose" = "yes" && cat << \EOF | 3124 { test "$extra_verbose" = "yes" && cat << \EOF |
| 3123 Defining HAVE_TIMEVAL | 3125 Defining HAVE_TIMEVAL |
| 3135 HAVE_TIMEVAL=no | 3137 HAVE_TIMEVAL=no |
| 3136 fi | 3138 fi |
| 3137 rm -f conftest* | 3139 rm -f conftest* |
| 3138 | 3140 |
| 3139 echo $ac_n "checking whether struct tm is in sys/time.h or time.h""... $ac_c" 1>&6 | 3141 echo $ac_n "checking whether struct tm is in sys/time.h or time.h""... $ac_c" 1>&6 |
| 3140 echo "configure:3141: checking whether struct tm is in sys/time.h or time.h" >&5 | 3142 echo "configure:3143: checking whether struct tm is in sys/time.h or time.h" >&5 |
| 3141 | 3143 |
| 3142 cat > conftest.$ac_ext <<EOF | 3144 cat > conftest.$ac_ext <<EOF |
| 3143 #line 3144 "configure" | 3145 #line 3146 "configure" |
| 3144 #include "confdefs.h" | 3146 #include "confdefs.h" |
| 3145 #include <sys/types.h> | 3147 #include <sys/types.h> |
| 3146 #include <time.h> | 3148 #include <time.h> |
| 3147 int main() { | 3149 int main() { |
| 3148 struct tm *tp; tp->tm_sec; | 3150 struct tm *tp; tp->tm_sec; |
| 3149 ; return 0; } | 3151 ; return 0; } |
| 3150 EOF | 3152 EOF |
| 3151 if { (eval echo configure:3152: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3153 if { (eval echo configure:3154: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| 3152 rm -rf conftest* | 3154 rm -rf conftest* |
| 3153 ac_cv_struct_tm=time.h | 3155 ac_cv_struct_tm=time.h |
| 3154 else | 3156 else |
| 3155 echo "configure: failed program was:" >&5 | 3157 echo "configure: failed program was:" >&5 |
| 3156 cat conftest.$ac_ext >&5 | 3158 cat conftest.$ac_ext >&5 |
| 3170 } | 3172 } |
| 3171 | 3173 |
| 3172 fi | 3174 fi |
| 3173 | 3175 |
| 3174 echo $ac_n "checking for tm_zone in struct tm""... $ac_c" 1>&6 | 3176 echo $ac_n "checking for tm_zone in struct tm""... $ac_c" 1>&6 |
| 3175 echo "configure:3176: checking for tm_zone in struct tm" >&5 | 3177 echo "configure:3178: checking for tm_zone in struct tm" >&5 |
| 3176 | 3178 |
| 3177 cat > conftest.$ac_ext <<EOF | 3179 cat > conftest.$ac_ext <<EOF |
| 3178 #line 3179 "configure" | 3180 #line 3181 "configure" |
| 3179 #include "confdefs.h" | 3181 #include "confdefs.h" |
| 3180 #include <sys/types.h> | 3182 #include <sys/types.h> |
| 3181 #include <$ac_cv_struct_tm> | 3183 #include <$ac_cv_struct_tm> |
| 3182 int main() { | 3184 int main() { |
| 3183 struct tm tm; tm.tm_zone; | 3185 struct tm tm; tm.tm_zone; |
| 3184 ; return 0; } | 3186 ; return 0; } |
| 3185 EOF | 3187 EOF |
| 3186 if { (eval echo configure:3187: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3188 if { (eval echo configure:3189: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| 3187 rm -rf conftest* | 3189 rm -rf conftest* |
| 3188 ac_cv_struct_tm_zone=yes | 3190 ac_cv_struct_tm_zone=yes |
| 3189 else | 3191 else |
| 3190 echo "configure: failed program was:" >&5 | 3192 echo "configure: failed program was:" >&5 |
| 3191 cat conftest.$ac_ext >&5 | 3193 cat conftest.$ac_ext >&5 |
| 3204 EOF | 3206 EOF |
| 3205 } | 3207 } |
| 3206 | 3208 |
| 3207 else | 3209 else |
| 3208 echo $ac_n "checking for tzname""... $ac_c" 1>&6 | 3210 echo $ac_n "checking for tzname""... $ac_c" 1>&6 |
| 3209 echo "configure:3210: checking for tzname" >&5 | 3211 echo "configure:3212: checking for tzname" >&5 |
| 3210 | 3212 |
| 3211 cat > conftest.$ac_ext <<EOF | 3213 cat > conftest.$ac_ext <<EOF |
| 3212 #line 3213 "configure" | 3214 #line 3215 "configure" |
| 3213 #include "confdefs.h" | 3215 #include "confdefs.h" |
| 3214 #include <time.h> | 3216 #include <time.h> |
| 3215 #ifndef tzname /* For SGI. */ | 3217 #ifndef tzname /* For SGI. */ |
| 3216 extern char *tzname[]; /* RS6000 and others reject char **tzname. */ | 3218 extern char *tzname[]; /* RS6000 and others reject char **tzname. */ |
| 3217 #endif | 3219 #endif |
| 3218 int main() { | 3220 int main() { |
| 3219 atoi(*tzname); | 3221 atoi(*tzname); |
| 3220 ; return 0; } | 3222 ; return 0; } |
| 3221 EOF | 3223 EOF |
| 3222 if { (eval echo configure:3223: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 3224 if { (eval echo configure:3225: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 3223 rm -rf conftest* | 3225 rm -rf conftest* |
| 3224 ac_cv_var_tzname=yes | 3226 ac_cv_var_tzname=yes |
| 3225 else | 3227 else |
| 3226 echo "configure: failed program was:" >&5 | 3228 echo "configure: failed program was:" >&5 |
| 3227 cat conftest.$ac_ext >&5 | 3229 cat conftest.$ac_ext >&5 |
| 3243 fi | 3245 fi |
| 3244 fi | 3246 fi |
| 3245 | 3247 |
| 3246 | 3248 |
| 3247 echo $ac_n "checking for working const""... $ac_c" 1>&6 | 3249 echo $ac_n "checking for working const""... $ac_c" 1>&6 |
| 3248 echo "configure:3249: checking for working const" >&5 | 3250 echo "configure:3251: checking for working const" >&5 |
| 3249 | 3251 |
| 3250 cat > conftest.$ac_ext <<EOF | 3252 cat > conftest.$ac_ext <<EOF |
| 3251 #line 3252 "configure" | 3253 #line 3254 "configure" |
| 3252 #include "confdefs.h" | 3254 #include "confdefs.h" |
| 3253 | 3255 |
| 3254 int main() { | 3256 int main() { |
| 3255 | 3257 |
| 3256 /* Ultrix mips cc rejects this. */ | 3258 /* Ultrix mips cc rejects this. */ |
| 3295 const int foo = 10; | 3297 const int foo = 10; |
| 3296 } | 3298 } |
| 3297 | 3299 |
| 3298 ; return 0; } | 3300 ; return 0; } |
| 3299 EOF | 3301 EOF |
| 3300 if { (eval echo configure:3301: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3302 if { (eval echo configure:3303: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| 3301 rm -rf conftest* | 3303 rm -rf conftest* |
| 3302 ac_cv_c_const=yes | 3304 ac_cv_c_const=yes |
| 3303 else | 3305 else |
| 3304 echo "configure: failed program was:" >&5 | 3306 echo "configure: failed program was:" >&5 |
| 3305 cat conftest.$ac_ext >&5 | 3307 cat conftest.$ac_ext >&5 |
| 3320 | 3322 |
| 3321 fi | 3323 fi |
| 3322 | 3324 |
| 3323 | 3325 |
| 3324 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6 | 3326 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6 |
| 3325 echo "configure:3326: checking whether ${MAKE-make} sets \${MAKE}" >&5 | 3327 echo "configure:3328: checking whether ${MAKE-make} sets \${MAKE}" >&5 |
| 3326 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'` | 3328 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'` |
| 3327 | 3329 |
| 3328 cat > conftestmake <<\EOF | 3330 cat > conftestmake <<\EOF |
| 3329 all: | 3331 all: |
| 3330 @echo 'ac_maketemp="${MAKE}"' | 3332 @echo 'ac_maketemp="${MAKE}"' |
| 3345 SET_MAKE="MAKE=${MAKE-make}" | 3347 SET_MAKE="MAKE=${MAKE-make}" |
| 3346 fi | 3348 fi |
| 3347 | 3349 |
| 3348 | 3350 |
| 3349 echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6 | 3351 echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6 |
| 3350 echo "configure:3351: checking whether byte ordering is bigendian" >&5 | 3352 echo "configure:3353: checking whether byte ordering is bigendian" >&5 |
| 3351 | 3353 |
| 3352 ac_cv_c_bigendian=unknown | 3354 ac_cv_c_bigendian=unknown |
| 3353 # See if sys/param.h defines the BYTE_ORDER macro. | 3355 # See if sys/param.h defines the BYTE_ORDER macro. |
| 3354 cat > conftest.$ac_ext <<EOF | 3356 cat > conftest.$ac_ext <<EOF |
| 3355 #line 3356 "configure" | 3357 #line 3358 "configure" |
| 3356 #include "confdefs.h" | 3358 #include "confdefs.h" |
| 3357 #include <sys/types.h> | 3359 #include <sys/types.h> |
| 3358 #include <sys/param.h> | 3360 #include <sys/param.h> |
| 3359 int main() { | 3361 int main() { |
| 3360 | 3362 |
| 3361 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN | 3363 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN |
| 3362 bogus endian macros | 3364 bogus endian macros |
| 3363 #endif | 3365 #endif |
| 3364 ; return 0; } | 3366 ; return 0; } |
| 3365 EOF | 3367 EOF |
| 3366 if { (eval echo configure:3367: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3368 if { (eval echo configure:3369: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| 3367 rm -rf conftest* | 3369 rm -rf conftest* |
| 3368 # It does; now see whether it defined to BIG_ENDIAN or not. | 3370 # It does; now see whether it defined to BIG_ENDIAN or not. |
| 3369 cat > conftest.$ac_ext <<EOF | 3371 cat > conftest.$ac_ext <<EOF |
| 3370 #line 3371 "configure" | 3372 #line 3373 "configure" |
| 3371 #include "confdefs.h" | 3373 #include "confdefs.h" |
| 3372 #include <sys/types.h> | 3374 #include <sys/types.h> |
| 3373 #include <sys/param.h> | 3375 #include <sys/param.h> |
| 3374 int main() { | 3376 int main() { |
| 3375 | 3377 |
| 3376 #if BYTE_ORDER != BIG_ENDIAN | 3378 #if BYTE_ORDER != BIG_ENDIAN |
| 3377 not big endian | 3379 not big endian |
| 3378 #endif | 3380 #endif |
| 3379 ; return 0; } | 3381 ; return 0; } |
| 3380 EOF | 3382 EOF |
| 3381 if { (eval echo configure:3382: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3383 if { (eval echo configure:3384: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| 3382 rm -rf conftest* | 3384 rm -rf conftest* |
| 3383 ac_cv_c_bigendian=yes | 3385 ac_cv_c_bigendian=yes |
| 3384 else | 3386 else |
| 3385 echo "configure: failed program was:" >&5 | 3387 echo "configure: failed program was:" >&5 |
| 3386 cat conftest.$ac_ext >&5 | 3388 cat conftest.$ac_ext >&5 |
| 3393 cat conftest.$ac_ext >&5 | 3395 cat conftest.$ac_ext >&5 |
| 3394 fi | 3396 fi |
| 3395 rm -f conftest* | 3397 rm -f conftest* |
| 3396 if test $ac_cv_c_bigendian = unknown; then | 3398 if test $ac_cv_c_bigendian = unknown; then |
| 3397 cat > conftest.$ac_ext <<EOF | 3399 cat > conftest.$ac_ext <<EOF |
| 3398 #line 3399 "configure" | 3400 #line 3401 "configure" |
| 3399 #include "confdefs.h" | 3401 #include "confdefs.h" |
| 3400 main () { | 3402 main () { |
| 3401 /* Are we little or big endian? From Harbison&Steele. */ | 3403 /* Are we little or big endian? From Harbison&Steele. */ |
| 3402 union | 3404 union |
| 3403 { | 3405 { |
| 3406 } u; | 3408 } u; |
| 3407 u.l = 1; | 3409 u.l = 1; |
| 3408 exit (u.c[sizeof (long) - 1] == 1); | 3410 exit (u.c[sizeof (long) - 1] == 1); |
| 3409 } | 3411 } |
| 3410 EOF | 3412 EOF |
| 3411 if { (eval echo configure:3412: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 | 3413 if { (eval echo configure:3414: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 |
| 3412 then | 3414 then |
| 3413 ac_cv_c_bigendian=no | 3415 ac_cv_c_bigendian=no |
| 3414 else | 3416 else |
| 3415 echo "configure: failed program was:" >&5 | 3417 echo "configure: failed program was:" >&5 |
| 3416 cat conftest.$ac_ext >&5 | 3418 cat conftest.$ac_ext >&5 |
| 3432 | 3434 |
| 3433 fi | 3435 fi |
| 3434 | 3436 |
| 3435 | 3437 |
| 3436 echo $ac_n "checking size of short""... $ac_c" 1>&6 | 3438 echo $ac_n "checking size of short""... $ac_c" 1>&6 |
| 3437 echo "configure:3438: checking size of short" >&5 | 3439 echo "configure:3440: checking size of short" >&5 |
| 3438 | 3440 |
| 3439 cat > conftest.$ac_ext <<EOF | 3441 cat > conftest.$ac_ext <<EOF |
| 3440 #line 3441 "configure" | 3442 #line 3443 "configure" |
| 3441 #include "confdefs.h" | 3443 #include "confdefs.h" |
| 3442 #include <stdio.h> | 3444 #include <stdio.h> |
| 3443 main() | 3445 main() |
| 3444 { | 3446 { |
| 3445 FILE *f=fopen("conftestval", "w"); | 3447 FILE *f=fopen("conftestval", "w"); |
| 3446 if (!f) exit(1); | 3448 if (!f) exit(1); |
| 3447 fprintf(f, "%d\n", sizeof(short)); | 3449 fprintf(f, "%d\n", sizeof(short)); |
| 3448 exit(0); | 3450 exit(0); |
| 3449 } | 3451 } |
| 3450 EOF | 3452 EOF |
| 3451 if { (eval echo configure:3452: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 | 3453 if { (eval echo configure:3454: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 |
| 3452 then | 3454 then |
| 3453 ac_cv_sizeof_short=`cat conftestval` | 3455 ac_cv_sizeof_short=`cat conftestval` |
| 3454 else | 3456 else |
| 3455 echo "configure: failed program was:" >&5 | 3457 echo "configure: failed program was:" >&5 |
| 3456 cat conftest.$ac_ext >&5 | 3458 cat conftest.$ac_ext >&5 |
| 3473 echo "*** PANIC *** Configure tests are not working - compiler is broken." | 3475 echo "*** PANIC *** Configure tests are not working - compiler is broken." |
| 3474 echo "*** PANIC *** Please examine config.log for compilation errors." | 3476 echo "*** PANIC *** Please examine config.log for compilation errors." |
| 3475 exit 1 | 3477 exit 1 |
| 3476 fi | 3478 fi |
| 3477 echo $ac_n "checking size of int""... $ac_c" 1>&6 | 3479 echo $ac_n "checking size of int""... $ac_c" 1>&6 |
| 3478 echo "configure:3479: checking size of int" >&5 | 3480 echo "configure:3481: checking size of int" >&5 |
| 3479 | 3481 |
| 3480 cat > conftest.$ac_ext <<EOF | 3482 cat > conftest.$ac_ext <<EOF |
| 3481 #line 3482 "configure" | 3483 #line 3484 "configure" |
| 3482 #include "confdefs.h" | 3484 #include "confdefs.h" |
| 3483 #include <stdio.h> | 3485 #include <stdio.h> |
| 3484 main() | 3486 main() |
| 3485 { | 3487 { |
| 3486 FILE *f=fopen("conftestval", "w"); | 3488 FILE *f=fopen("conftestval", "w"); |
| 3487 if (!f) exit(1); | 3489 if (!f) exit(1); |
| 3488 fprintf(f, "%d\n", sizeof(int)); | 3490 fprintf(f, "%d\n", sizeof(int)); |
| 3489 exit(0); | 3491 exit(0); |
| 3490 } | 3492 } |
| 3491 EOF | 3493 EOF |
| 3492 if { (eval echo configure:3493: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 | 3494 if { (eval echo configure:3495: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 |
| 3493 then | 3495 then |
| 3494 ac_cv_sizeof_int=`cat conftestval` | 3496 ac_cv_sizeof_int=`cat conftestval` |
| 3495 else | 3497 else |
| 3496 echo "configure: failed program was:" >&5 | 3498 echo "configure: failed program was:" >&5 |
| 3497 cat conftest.$ac_ext >&5 | 3499 cat conftest.$ac_ext >&5 |
| 3508 EOF | 3510 EOF |
| 3509 } | 3511 } |
| 3510 | 3512 |
| 3511 | 3513 |
| 3512 echo $ac_n "checking size of long""... $ac_c" 1>&6 | 3514 echo $ac_n "checking size of long""... $ac_c" 1>&6 |
| 3513 echo "configure:3514: checking size of long" >&5 | 3515 echo "configure:3516: checking size of long" >&5 |
| 3514 | 3516 |
| 3515 cat > conftest.$ac_ext <<EOF | 3517 cat > conftest.$ac_ext <<EOF |
| 3516 #line 3517 "configure" | 3518 #line 3519 "configure" |
| 3517 #include "confdefs.h" | 3519 #include "confdefs.h" |
| 3518 #include <stdio.h> | 3520 #include <stdio.h> |
| 3519 main() | 3521 main() |
| 3520 { | 3522 { |
| 3521 FILE *f=fopen("conftestval", "w"); | 3523 FILE *f=fopen("conftestval", "w"); |
| 3522 if (!f) exit(1); | 3524 if (!f) exit(1); |
| 3523 fprintf(f, "%d\n", sizeof(long)); | 3525 fprintf(f, "%d\n", sizeof(long)); |
| 3524 exit(0); | 3526 exit(0); |
| 3525 } | 3527 } |
| 3526 EOF | 3528 EOF |
| 3527 if { (eval echo configure:3528: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 | 3529 if { (eval echo configure:3530: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 |
| 3528 then | 3530 then |
| 3529 ac_cv_sizeof_long=`cat conftestval` | 3531 ac_cv_sizeof_long=`cat conftestval` |
| 3530 else | 3532 else |
| 3531 echo "configure: failed program was:" >&5 | 3533 echo "configure: failed program was:" >&5 |
| 3532 cat conftest.$ac_ext >&5 | 3534 cat conftest.$ac_ext >&5 |
| 3543 EOF | 3545 EOF |
| 3544 } | 3546 } |
| 3545 | 3547 |
| 3546 | 3548 |
| 3547 echo $ac_n "checking size of long long""... $ac_c" 1>&6 | 3549 echo $ac_n "checking size of long long""... $ac_c" 1>&6 |
| 3548 echo "configure:3549: checking size of long long" >&5 | 3550 echo "configure:3551: checking size of long long" >&5 |
| 3549 | 3551 |
| 3550 cat > conftest.$ac_ext <<EOF | 3552 cat > conftest.$ac_ext <<EOF |
| 3551 #line 3552 "configure" | 3553 #line 3554 "configure" |
| 3552 #include "confdefs.h" | 3554 #include "confdefs.h" |
| 3553 #include <stdio.h> | 3555 #include <stdio.h> |
| 3554 main() | 3556 main() |
| 3555 { | 3557 { |
| 3556 FILE *f=fopen("conftestval", "w"); | 3558 FILE *f=fopen("conftestval", "w"); |
| 3557 if (!f) exit(1); | 3559 if (!f) exit(1); |
| 3558 fprintf(f, "%d\n", sizeof(long long)); | 3560 fprintf(f, "%d\n", sizeof(long long)); |
| 3559 exit(0); | 3561 exit(0); |
| 3560 } | 3562 } |
| 3561 EOF | 3563 EOF |
| 3562 if { (eval echo configure:3563: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 | 3564 if { (eval echo configure:3565: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 |
| 3563 then | 3565 then |
| 3564 ac_cv_sizeof_long_long=`cat conftestval` | 3566 ac_cv_sizeof_long_long=`cat conftestval` |
| 3565 else | 3567 else |
| 3566 echo "configure: failed program was:" >&5 | 3568 echo "configure: failed program was:" >&5 |
| 3567 cat conftest.$ac_ext >&5 | 3569 cat conftest.$ac_ext >&5 |
| 3578 EOF | 3580 EOF |
| 3579 } | 3581 } |
| 3580 | 3582 |
| 3581 | 3583 |
| 3582 echo $ac_n "checking size of void *""... $ac_c" 1>&6 | 3584 echo $ac_n "checking size of void *""... $ac_c" 1>&6 |
| 3583 echo "configure:3584: checking size of void *" >&5 | 3585 echo "configure:3586: checking size of void *" >&5 |
| 3584 | 3586 |
| 3585 cat > conftest.$ac_ext <<EOF | 3587 cat > conftest.$ac_ext <<EOF |
| 3586 #line 3587 "configure" | 3588 #line 3589 "configure" |
| 3587 #include "confdefs.h" | 3589 #include "confdefs.h" |
| 3588 #include <stdio.h> | 3590 #include <stdio.h> |
| 3589 main() | 3591 main() |
| 3590 { | 3592 { |
| 3591 FILE *f=fopen("conftestval", "w"); | 3593 FILE *f=fopen("conftestval", "w"); |
| 3592 if (!f) exit(1); | 3594 if (!f) exit(1); |
| 3593 fprintf(f, "%d\n", sizeof(void *)); | 3595 fprintf(f, "%d\n", sizeof(void *)); |
| 3594 exit(0); | 3596 exit(0); |
| 3595 } | 3597 } |
| 3596 EOF | 3598 EOF |
| 3597 if { (eval echo configure:3598: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 | 3599 if { (eval echo configure:3600: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 |
| 3598 then | 3600 then |
| 3599 ac_cv_sizeof_void_p=`cat conftestval` | 3601 ac_cv_sizeof_void_p=`cat conftestval` |
| 3600 else | 3602 else |
| 3601 echo "configure: failed program was:" >&5 | 3603 echo "configure: failed program was:" >&5 |
| 3602 cat conftest.$ac_ext >&5 | 3604 cat conftest.$ac_ext >&5 |
| 3614 } | 3616 } |
| 3615 | 3617 |
| 3616 | 3618 |
| 3617 | 3619 |
| 3618 echo $ac_n "checking for long file names""... $ac_c" 1>&6 | 3620 echo $ac_n "checking for long file names""... $ac_c" 1>&6 |
| 3619 echo "configure:3620: checking for long file names" >&5 | 3621 echo "configure:3622: checking for long file names" >&5 |
| 3620 | 3622 |
| 3621 ac_cv_sys_long_file_names=yes | 3623 ac_cv_sys_long_file_names=yes |
| 3622 # Test for long file names in all the places we know might matter: | 3624 # Test for long file names in all the places we know might matter: |
| 3623 # . the current directory, where building will happen | 3625 # . the current directory, where building will happen |
| 3624 # $prefix/lib where we will be installing things | 3626 # $prefix/lib where we will be installing things |
| 3661 fi | 3663 fi |
| 3662 | 3664 |
| 3663 | 3665 |
| 3664 | 3666 |
| 3665 echo $ac_n "checking for sqrt in -lm""... $ac_c" 1>&6 | 3667 echo $ac_n "checking for sqrt in -lm""... $ac_c" 1>&6 |
| 3666 echo "configure:3667: checking for sqrt in -lm" >&5 | 3668 echo "configure:3669: checking for sqrt in -lm" >&5 |
| 3667 ac_lib_var=`echo m'_'sqrt | sed 'y%./+-%__p_%'` | 3669 ac_lib_var=`echo m'_'sqrt | sed 'y%./+-%__p_%'` |
| 3668 | 3670 |
| 3669 xe_check_libs=" -lm " | 3671 xe_check_libs=" -lm " |
| 3670 cat > conftest.$ac_ext <<EOF | 3672 cat > conftest.$ac_ext <<EOF |
| 3671 #line 3672 "configure" | 3673 #line 3674 "configure" |
| 3672 #include "confdefs.h" | 3674 #include "confdefs.h" |
| 3673 /* Override any gcc2 internal prototype to avoid an error. */ | 3675 /* Override any gcc2 internal prototype to avoid an error. */ |
| 3674 /* We use char because int might match the return type of a gcc2 | 3676 /* We use char because int might match the return type of a gcc2 |
| 3675 builtin and then its argument prototype would still apply. */ | 3677 builtin and then its argument prototype would still apply. */ |
| 3676 char sqrt(); | 3678 char sqrt(); |
| 3677 | 3679 |
| 3678 int main() { | 3680 int main() { |
| 3679 sqrt() | 3681 sqrt() |
| 3680 ; return 0; } | 3682 ; return 0; } |
| 3681 EOF | 3683 EOF |
| 3682 if { (eval echo configure:3683: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 3684 if { (eval echo configure:3685: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 3683 rm -rf conftest* | 3685 rm -rf conftest* |
| 3684 eval "ac_cv_lib_$ac_lib_var=yes" | 3686 eval "ac_cv_lib_$ac_lib_var=yes" |
| 3685 else | 3687 else |
| 3686 echo "configure: failed program was:" >&5 | 3688 echo "configure: failed program was:" >&5 |
| 3687 cat conftest.$ac_ext >&5 | 3689 cat conftest.$ac_ext >&5 |
| 3720 EOF | 3722 EOF |
| 3721 } | 3723 } |
| 3722 | 3724 |
| 3723 | 3725 |
| 3724 echo "checking type of mail spool file locking" 1>&6 | 3726 echo "checking type of mail spool file locking" 1>&6 |
| 3725 echo "configure:3726: checking type of mail spool file locking" >&5 | 3727 echo "configure:3728: checking type of mail spool file locking" >&5 |
| 3726 test -z "$mail_locking" -a "$mail_use_flock" = "yes" && mail_locking=flock | 3728 test -z "$mail_locking" -a "$mail_use_flock" = "yes" && mail_locking=flock |
| 3727 test -z "$mail_locking" -a "$mail_use_lockf" = "yes" && mail_locking=lockf | 3729 test -z "$mail_locking" -a "$mail_use_lockf" = "yes" && mail_locking=lockf |
| 3728 if test "$mail_locking" = "lockf"; then { test "$extra_verbose" = "yes" && cat << \EOF | 3730 if test "$mail_locking" = "lockf"; then { test "$extra_verbose" = "yes" && cat << \EOF |
| 3729 Defining REAL_MAIL_USE_LOCKF | 3731 Defining REAL_MAIL_USE_LOCKF |
| 3730 EOF | 3732 EOF |
| 3744 else mail_locking="dot-locking" | 3746 else mail_locking="dot-locking" |
| 3745 fi | 3747 fi |
| 3746 | 3748 |
| 3747 | 3749 |
| 3748 echo $ac_n "checking for kstat_open in -lkstat""... $ac_c" 1>&6 | 3750 echo $ac_n "checking for kstat_open in -lkstat""... $ac_c" 1>&6 |
| 3749 echo "configure:3750: checking for kstat_open in -lkstat" >&5 | 3751 echo "configure:3752: checking for kstat_open in -lkstat" >&5 |
| 3750 ac_lib_var=`echo kstat'_'kstat_open | sed 'y%./+-%__p_%'` | 3752 ac_lib_var=`echo kstat'_'kstat_open | sed 'y%./+-%__p_%'` |
| 3751 | 3753 |
| 3752 xe_check_libs=" -lkstat " | 3754 xe_check_libs=" -lkstat " |
| 3753 cat > conftest.$ac_ext <<EOF | 3755 cat > conftest.$ac_ext <<EOF |
| 3754 #line 3755 "configure" | 3756 #line 3757 "configure" |
| 3755 #include "confdefs.h" | 3757 #include "confdefs.h" |
| 3756 /* Override any gcc2 internal prototype to avoid an error. */ | 3758 /* Override any gcc2 internal prototype to avoid an error. */ |
| 3757 /* We use char because int might match the return type of a gcc2 | 3759 /* We use char because int might match the return type of a gcc2 |
| 3758 builtin and then its argument prototype would still apply. */ | 3760 builtin and then its argument prototype would still apply. */ |
| 3759 char kstat_open(); | 3761 char kstat_open(); |
| 3760 | 3762 |
| 3761 int main() { | 3763 int main() { |
| 3762 kstat_open() | 3764 kstat_open() |
| 3763 ; return 0; } | 3765 ; return 0; } |
| 3764 EOF | 3766 EOF |
| 3765 if { (eval echo configure:3766: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 3767 if { (eval echo configure:3768: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 3766 rm -rf conftest* | 3768 rm -rf conftest* |
| 3767 eval "ac_cv_lib_$ac_lib_var=yes" | 3769 eval "ac_cv_lib_$ac_lib_var=yes" |
| 3768 else | 3770 else |
| 3769 echo "configure: failed program was:" >&5 | 3771 echo "configure: failed program was:" >&5 |
| 3770 cat conftest.$ac_ext >&5 | 3772 cat conftest.$ac_ext >&5 |
| 3794 | 3796 |
| 3795 | 3797 |
| 3796 | 3798 |
| 3797 | 3799 |
| 3798 echo $ac_n "checking for kvm_read in -lkvm""... $ac_c" 1>&6 | 3800 echo $ac_n "checking for kvm_read in -lkvm""... $ac_c" 1>&6 |
| 3799 echo "configure:3800: checking for kvm_read in -lkvm" >&5 | 3801 echo "configure:3802: checking for kvm_read in -lkvm" >&5 |
| 3800 ac_lib_var=`echo kvm'_'kvm_read | sed 'y%./+-%__p_%'` | 3802 ac_lib_var=`echo kvm'_'kvm_read | sed 'y%./+-%__p_%'` |
| 3801 | 3803 |
| 3802 xe_check_libs=" -lkvm " | 3804 xe_check_libs=" -lkvm " |
| 3803 cat > conftest.$ac_ext <<EOF | 3805 cat > conftest.$ac_ext <<EOF |
| 3804 #line 3805 "configure" | 3806 #line 3807 "configure" |
| 3805 #include "confdefs.h" | 3807 #include "confdefs.h" |
| 3806 /* Override any gcc2 internal prototype to avoid an error. */ | 3808 /* Override any gcc2 internal prototype to avoid an error. */ |
| 3807 /* We use char because int might match the return type of a gcc2 | 3809 /* We use char because int might match the return type of a gcc2 |
| 3808 builtin and then its argument prototype would still apply. */ | 3810 builtin and then its argument prototype would still apply. */ |
| 3809 char kvm_read(); | 3811 char kvm_read(); |
| 3810 | 3812 |
| 3811 int main() { | 3813 int main() { |
| 3812 kvm_read() | 3814 kvm_read() |
| 3813 ; return 0; } | 3815 ; return 0; } |
| 3814 EOF | 3816 EOF |
| 3815 if { (eval echo configure:3816: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 3817 if { (eval echo configure:3818: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 3816 rm -rf conftest* | 3818 rm -rf conftest* |
| 3817 eval "ac_cv_lib_$ac_lib_var=yes" | 3819 eval "ac_cv_lib_$ac_lib_var=yes" |
| 3818 else | 3820 else |
| 3819 echo "configure: failed program was:" >&5 | 3821 echo "configure: failed program was:" >&5 |
| 3820 cat conftest.$ac_ext >&5 | 3822 cat conftest.$ac_ext >&5 |
| 3844 | 3846 |
| 3845 | 3847 |
| 3846 | 3848 |
| 3847 | 3849 |
| 3848 echo $ac_n "checking for cma_open in -lpthreads""... $ac_c" 1>&6 | 3850 echo $ac_n "checking for cma_open in -lpthreads""... $ac_c" 1>&6 |
| 3849 echo "configure:3850: checking for cma_open in -lpthreads" >&5 | 3851 echo "configure:3852: checking for cma_open in -lpthreads" >&5 |
| 3850 ac_lib_var=`echo pthreads'_'cma_open | sed 'y%./+-%__p_%'` | 3852 ac_lib_var=`echo pthreads'_'cma_open | sed 'y%./+-%__p_%'` |
| 3851 | 3853 |
| 3852 xe_check_libs=" -lpthreads " | 3854 xe_check_libs=" -lpthreads " |
| 3853 cat > conftest.$ac_ext <<EOF | 3855 cat > conftest.$ac_ext <<EOF |
| 3854 #line 3855 "configure" | 3856 #line 3857 "configure" |
| 3855 #include "confdefs.h" | 3857 #include "confdefs.h" |
| 3856 /* Override any gcc2 internal prototype to avoid an error. */ | 3858 /* Override any gcc2 internal prototype to avoid an error. */ |
| 3857 /* We use char because int might match the return type of a gcc2 | 3859 /* We use char because int might match the return type of a gcc2 |
| 3858 builtin and then its argument prototype would still apply. */ | 3860 builtin and then its argument prototype would still apply. */ |
| 3859 char cma_open(); | 3861 char cma_open(); |
| 3860 | 3862 |
| 3861 int main() { | 3863 int main() { |
| 3862 cma_open() | 3864 cma_open() |
| 3863 ; return 0; } | 3865 ; return 0; } |
| 3864 EOF | 3866 EOF |
| 3865 if { (eval echo configure:3866: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 3867 if { (eval echo configure:3868: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 3866 rm -rf conftest* | 3868 rm -rf conftest* |
| 3867 eval "ac_cv_lib_$ac_lib_var=yes" | 3869 eval "ac_cv_lib_$ac_lib_var=yes" |
| 3868 else | 3870 else |
| 3869 echo "configure: failed program was:" >&5 | 3871 echo "configure: failed program was:" >&5 |
| 3870 cat conftest.$ac_ext >&5 | 3872 cat conftest.$ac_ext >&5 |
| 3896 if test "$ac_cv_lib_pthreads_cma_open" = "yes"; then | 3898 if test "$ac_cv_lib_pthreads_cma_open" = "yes"; then |
| 3897 case "$opsys" in decosf*) c_switch_site="$c_switch_site -threads";; esac | 3899 case "$opsys" in decosf*) c_switch_site="$c_switch_site -threads";; esac |
| 3898 fi | 3900 fi |
| 3899 | 3901 |
| 3900 echo $ac_n "checking whether the -xildoff compiler flag is required""... $ac_c" 1>&6 | 3902 echo $ac_n "checking whether the -xildoff compiler flag is required""... $ac_c" 1>&6 |
| 3901 echo "configure:3902: checking whether the -xildoff compiler flag is required" >&5 | 3903 echo "configure:3904: checking whether the -xildoff compiler flag is required" >&5 |
| 3902 if ${CC-cc} '-###' -xildon no_such_file.c 2>&1 | grep '^[^ ]*/ild ' > /dev/null ; then | 3904 if ${CC-cc} '-###' -xildon no_such_file.c 2>&1 | grep '^[^ ]*/ild ' > /dev/null ; then |
| 3903 if ${CC-cc} '-###' -xildoff no_such_file.c 2>&1 | grep '^[^ ]*/ild ' > /dev/null ; | 3905 if ${CC-cc} '-###' -xildoff no_such_file.c 2>&1 | grep '^[^ ]*/ild ' > /dev/null ; |
| 3904 then echo "$ac_t""no" 1>&6; | 3906 then echo "$ac_t""no" 1>&6; |
| 3905 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 | 3907 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 |
| 3906 fi | 3908 fi |
| 3907 else echo "$ac_t""no" 1>&6 | 3909 else echo "$ac_t""no" 1>&6 |
| 3908 fi | 3910 fi |
| 3909 | 3911 |
| 3910 if test "$opsys" = "sol2" && test "$OS_RELEASE" -ge 56; then | 3912 if test "$opsys" = "sol2" && test "$OS_RELEASE" -ge 56; then |
| 3911 echo $ac_n "checking for \"-z ignore\" linker flag""... $ac_c" 1>&6 | 3913 echo $ac_n "checking for \"-z ignore\" linker flag""... $ac_c" 1>&6 |
| 3912 echo "configure:3913: checking for \"-z ignore\" linker flag" >&5 | 3914 echo "configure:3915: checking for \"-z ignore\" linker flag" >&5 |
| 3913 case "`ld -h 2>&1`" in | 3915 case "`ld -h 2>&1`" in |
| 3914 *-z\ ignore\|record* ) echo "$ac_t""yes" 1>&6 | 3916 *-z\ ignore\|record* ) echo "$ac_t""yes" 1>&6 |
| 3915 ld_switch_site="-z ignore $ld_switch_site" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-z ignore\" to \$ld_switch_site"; fi ;; | 3917 ld_switch_site="-z ignore $ld_switch_site" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-z ignore\" to \$ld_switch_site"; fi ;; |
| 3916 *) echo "$ac_t""no" 1>&6 ;; | 3918 *) echo "$ac_t""no" 1>&6 ;; |
| 3917 esac | 3919 esac |
| 3918 fi | 3920 fi |
| 3919 | 3921 |
| 3920 | 3922 |
| 3921 echo "checking "for specified window system"" 1>&6 | 3923 echo "checking "for specified window system"" 1>&6 |
| 3922 echo "configure:3923: checking "for specified window system"" >&5 | 3924 echo "configure:3925: checking "for specified window system"" >&5 |
| 3923 | 3925 |
| 3924 if test "$x_includes $x_libraries" = "NONE NONE"; then | 3926 if test "$x_includes $x_libraries" = "NONE NONE"; then |
| 3925 if test -n "$OPENWINHOME" \ | 3927 if test -n "$OPENWINHOME" \ |
| 3926 -a "$OPENWINHOME" != "/usr/openwin" \ | 3928 -a "$OPENWINHOME" != "/usr/openwin" \ |
| 3927 -a -d "$OPENWINHOME"; then | 3929 -a -d "$OPENWINHOME"; then |
| 3938 # If we find X, set shell vars x_includes and x_libraries to the | 3940 # If we find X, set shell vars x_includes and x_libraries to the |
| 3939 # paths, otherwise set no_x=yes. | 3941 # paths, otherwise set no_x=yes. |
| 3940 # Uses ac_ vars as temps to allow command line to override cache and checks. | 3942 # Uses ac_ vars as temps to allow command line to override cache and checks. |
| 3941 # --without-x overrides everything else, but does not touch the cache. | 3943 # --without-x overrides everything else, but does not touch the cache. |
| 3942 echo $ac_n "checking for X""... $ac_c" 1>&6 | 3944 echo $ac_n "checking for X""... $ac_c" 1>&6 |
| 3943 echo "configure:3944: checking for X" >&5 | 3945 echo "configure:3946: checking for X" >&5 |
| 3944 | 3946 |
| 3945 # Check whether --with-x or --without-x was given. | 3947 # Check whether --with-x or --without-x was given. |
| 3946 if test "${with_x+set}" = set; then | 3948 if test "${with_x+set}" = set; then |
| 3947 withval="$with_x" | 3949 withval="$with_x" |
| 3948 : | 3950 : |
| 3998 # Guess where to find include files, by looking for this one X11 .h file. | 4000 # Guess where to find include files, by looking for this one X11 .h file. |
| 3999 test -z "$x_direct_test_include" && x_direct_test_include=X11/Intrinsic.h | 4001 test -z "$x_direct_test_include" && x_direct_test_include=X11/Intrinsic.h |
| 4000 | 4002 |
| 4001 # First, try using that file with no special directory specified. | 4003 # First, try using that file with no special directory specified. |
| 4002 cat > conftest.$ac_ext <<EOF | 4004 cat > conftest.$ac_ext <<EOF |
| 4003 #line 4004 "configure" | 4005 #line 4006 "configure" |
| 4004 #include "confdefs.h" | 4006 #include "confdefs.h" |
| 4005 #include <$x_direct_test_include> | 4007 #include <$x_direct_test_include> |
| 4006 EOF | 4008 EOF |
| 4007 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 4009 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 4008 { (eval echo configure:4009: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 4010 { (eval echo configure:4011: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 4009 ac_err=`grep -v '^ *+' conftest.out` | 4011 ac_err=`grep -v '^ *+' conftest.out` |
| 4010 if test -z "$ac_err"; then | 4012 if test -z "$ac_err"; then |
| 4011 rm -rf conftest* | 4013 rm -rf conftest* |
| 4012 # We can compile using X headers with no special include directory. | 4014 # We can compile using X headers with no special include directory. |
| 4013 ac_x_includes= | 4015 ac_x_includes= |
| 4072 # See if we find them without any special options. | 4074 # See if we find them without any special options. |
| 4073 # Don't add to $LIBS permanently. | 4075 # Don't add to $LIBS permanently. |
| 4074 ac_save_LIBS="$LIBS" | 4076 ac_save_LIBS="$LIBS" |
| 4075 LIBS="-l$x_direct_test_library $LIBS" | 4077 LIBS="-l$x_direct_test_library $LIBS" |
| 4076 cat > conftest.$ac_ext <<EOF | 4078 cat > conftest.$ac_ext <<EOF |
| 4077 #line 4078 "configure" | 4079 #line 4080 "configure" |
| 4078 #include "confdefs.h" | 4080 #include "confdefs.h" |
| 4079 | 4081 |
| 4080 int main() { | 4082 int main() { |
| 4081 ${x_direct_test_function}() | 4083 ${x_direct_test_function}() |
| 4082 ; return 0; } | 4084 ; return 0; } |
| 4083 EOF | 4085 EOF |
| 4084 if { (eval echo configure:4085: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4086 if { (eval echo configure:4087: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 4085 rm -rf conftest* | 4087 rm -rf conftest* |
| 4086 LIBS="$ac_save_LIBS" | 4088 LIBS="$ac_save_LIBS" |
| 4087 # We can link X programs with no special library path. | 4089 # We can link X programs with no special library path. |
| 4088 ac_x_libraries= | 4090 ac_x_libraries= |
| 4089 else | 4091 else |
| 4188 # For Solaris; some versions of Sun CC require a space after -R and | 4190 # For Solaris; some versions of Sun CC require a space after -R and |
| 4189 # others require no space. Words are not sufficient . . . . | 4191 # others require no space. Words are not sufficient . . . . |
| 4190 case "`(uname -sr) 2>/dev/null`" in | 4192 case "`(uname -sr) 2>/dev/null`" in |
| 4191 "SunOS 5"*) | 4193 "SunOS 5"*) |
| 4192 echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6 | 4194 echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6 |
| 4193 echo "configure:4194: checking whether -R must be followed by a space" >&5 | 4195 echo "configure:4196: checking whether -R must be followed by a space" >&5 |
| 4194 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS -R$x_libraries" | 4196 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS -R$x_libraries" |
| 4195 cat > conftest.$ac_ext <<EOF | 4197 cat > conftest.$ac_ext <<EOF |
| 4196 #line 4197 "configure" | 4198 #line 4199 "configure" |
| 4197 #include "confdefs.h" | 4199 #include "confdefs.h" |
| 4198 | 4200 |
| 4199 int main() { | 4201 int main() { |
| 4200 | 4202 |
| 4201 ; return 0; } | 4203 ; return 0; } |
| 4202 EOF | 4204 EOF |
| 4203 if { (eval echo configure:4204: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4205 if { (eval echo configure:4206: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 4204 rm -rf conftest* | 4206 rm -rf conftest* |
| 4205 ac_R_nospace=yes | 4207 ac_R_nospace=yes |
| 4206 else | 4208 else |
| 4207 echo "configure: failed program was:" >&5 | 4209 echo "configure: failed program was:" >&5 |
| 4208 cat conftest.$ac_ext >&5 | 4210 cat conftest.$ac_ext >&5 |
| 4214 echo "$ac_t""no" 1>&6 | 4216 echo "$ac_t""no" 1>&6 |
| 4215 X_LIBS="$X_LIBS -R$x_libraries" | 4217 X_LIBS="$X_LIBS -R$x_libraries" |
| 4216 else | 4218 else |
| 4217 LIBS="$ac_xsave_LIBS -R $x_libraries" | 4219 LIBS="$ac_xsave_LIBS -R $x_libraries" |
| 4218 cat > conftest.$ac_ext <<EOF | 4220 cat > conftest.$ac_ext <<EOF |
| 4219 #line 4220 "configure" | 4221 #line 4222 "configure" |
| 4220 #include "confdefs.h" | 4222 #include "confdefs.h" |
| 4221 | 4223 |
| 4222 int main() { | 4224 int main() { |
| 4223 | 4225 |
| 4224 ; return 0; } | 4226 ; return 0; } |
| 4225 EOF | 4227 EOF |
| 4226 if { (eval echo configure:4227: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4228 if { (eval echo configure:4229: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 4227 rm -rf conftest* | 4229 rm -rf conftest* |
| 4228 ac_R_space=yes | 4230 ac_R_space=yes |
| 4229 else | 4231 else |
| 4230 echo "configure: failed program was:" >&5 | 4232 echo "configure: failed program was:" >&5 |
| 4231 cat conftest.$ac_ext >&5 | 4233 cat conftest.$ac_ext >&5 |
| 4257 if test "$with_dnet" = "no" ; then | 4259 if test "$with_dnet" = "no" ; then |
| 4258 ac_cv_lib_dnet_dnet_ntoa=no | 4260 ac_cv_lib_dnet_dnet_ntoa=no |
| 4259 else | 4261 else |
| 4260 | 4262 |
| 4261 echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6 | 4263 echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6 |
| 4262 echo "configure:4263: checking for dnet_ntoa in -ldnet" >&5 | 4264 echo "configure:4265: checking for dnet_ntoa in -ldnet" >&5 |
| 4263 ac_lib_var=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'` | 4265 ac_lib_var=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'` |
| 4264 | 4266 |
| 4265 xe_check_libs=" -ldnet " | 4267 xe_check_libs=" -ldnet " |
| 4266 cat > conftest.$ac_ext <<EOF | 4268 cat > conftest.$ac_ext <<EOF |
| 4267 #line 4268 "configure" | 4269 #line 4270 "configure" |
| 4268 #include "confdefs.h" | 4270 #include "confdefs.h" |
| 4269 /* Override any gcc2 internal prototype to avoid an error. */ | 4271 /* Override any gcc2 internal prototype to avoid an error. */ |
| 4270 /* We use char because int might match the return type of a gcc2 | 4272 /* We use char because int might match the return type of a gcc2 |
| 4271 builtin and then its argument prototype would still apply. */ | 4273 builtin and then its argument prototype would still apply. */ |
| 4272 char dnet_ntoa(); | 4274 char dnet_ntoa(); |
| 4273 | 4275 |
| 4274 int main() { | 4276 int main() { |
| 4275 dnet_ntoa() | 4277 dnet_ntoa() |
| 4276 ; return 0; } | 4278 ; return 0; } |
| 4277 EOF | 4279 EOF |
| 4278 if { (eval echo configure:4279: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4280 if { (eval echo configure:4281: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 4279 rm -rf conftest* | 4281 rm -rf conftest* |
| 4280 eval "ac_cv_lib_$ac_lib_var=yes" | 4282 eval "ac_cv_lib_$ac_lib_var=yes" |
| 4281 else | 4283 else |
| 4282 echo "configure: failed program was:" >&5 | 4284 echo "configure: failed program was:" >&5 |
| 4283 cat conftest.$ac_ext >&5 | 4285 cat conftest.$ac_ext >&5 |
| 4297 fi | 4299 fi |
| 4298 | 4300 |
| 4299 if test $ac_cv_lib_dnet_dnet_ntoa = no; then | 4301 if test $ac_cv_lib_dnet_dnet_ntoa = no; then |
| 4300 | 4302 |
| 4301 echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6 | 4303 echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6 |
| 4302 echo "configure:4303: checking for dnet_ntoa in -ldnet_stub" >&5 | 4304 echo "configure:4305: checking for dnet_ntoa in -ldnet_stub" >&5 |
| 4303 ac_lib_var=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'` | 4305 ac_lib_var=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'` |
| 4304 | 4306 |
| 4305 xe_check_libs=" -ldnet_stub " | 4307 xe_check_libs=" -ldnet_stub " |
| 4306 cat > conftest.$ac_ext <<EOF | 4308 cat > conftest.$ac_ext <<EOF |
| 4307 #line 4308 "configure" | 4309 #line 4310 "configure" |
| 4308 #include "confdefs.h" | 4310 #include "confdefs.h" |
| 4309 /* Override any gcc2 internal prototype to avoid an error. */ | 4311 /* Override any gcc2 internal prototype to avoid an error. */ |
| 4310 /* We use char because int might match the return type of a gcc2 | 4312 /* We use char because int might match the return type of a gcc2 |
| 4311 builtin and then its argument prototype would still apply. */ | 4313 builtin and then its argument prototype would still apply. */ |
| 4312 char dnet_ntoa(); | 4314 char dnet_ntoa(); |
| 4313 | 4315 |
| 4314 int main() { | 4316 int main() { |
| 4315 dnet_ntoa() | 4317 dnet_ntoa() |
| 4316 ; return 0; } | 4318 ; return 0; } |
| 4317 EOF | 4319 EOF |
| 4318 if { (eval echo configure:4319: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4320 if { (eval echo configure:4321: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 4319 rm -rf conftest* | 4321 rm -rf conftest* |
| 4320 eval "ac_cv_lib_$ac_lib_var=yes" | 4322 eval "ac_cv_lib_$ac_lib_var=yes" |
| 4321 else | 4323 else |
| 4322 echo "configure: failed program was:" >&5 | 4324 echo "configure: failed program was:" >&5 |
| 4323 cat conftest.$ac_ext >&5 | 4325 cat conftest.$ac_ext >&5 |
| 4342 # chad@anasazi.com says the Pyramis MIS-ES running DC/OSx (SVR4) | 4344 # chad@anasazi.com says the Pyramis MIS-ES running DC/OSx (SVR4) |
| 4343 # needs -lnsl. | 4345 # needs -lnsl. |
| 4344 # The nsl library prevents programs from opening the X display | 4346 # The nsl library prevents programs from opening the X display |
| 4345 # on Irix 5.2, according to dickey@clark.net. | 4347 # on Irix 5.2, according to dickey@clark.net. |
| 4346 echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6 | 4348 echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6 |
| 4347 echo "configure:4348: checking for gethostbyname" >&5 | 4349 echo "configure:4350: checking for gethostbyname" >&5 |
| 4348 | 4350 |
| 4349 cat > conftest.$ac_ext <<EOF | 4351 cat > conftest.$ac_ext <<EOF |
| 4350 #line 4351 "configure" | 4352 #line 4353 "configure" |
| 4351 #include "confdefs.h" | 4353 #include "confdefs.h" |
| 4352 /* System header to define __stub macros and hopefully few prototypes, | 4354 /* System header to define __stub macros and hopefully few prototypes, |
| 4353 which can conflict with char gethostbyname(); below. */ | 4355 which can conflict with char gethostbyname(); below. */ |
| 4354 #include <assert.h> | 4356 #include <assert.h> |
| 4355 /* Override any gcc2 internal prototype to avoid an error. */ | 4357 /* Override any gcc2 internal prototype to avoid an error. */ |
| 4368 gethostbyname(); | 4370 gethostbyname(); |
| 4369 #endif | 4371 #endif |
| 4370 | 4372 |
| 4371 ; return 0; } | 4373 ; return 0; } |
| 4372 EOF | 4374 EOF |
| 4373 if { (eval echo configure:4374: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4375 if { (eval echo configure:4376: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 4374 rm -rf conftest* | 4376 rm -rf conftest* |
| 4375 eval "ac_cv_func_gethostbyname=yes" | 4377 eval "ac_cv_func_gethostbyname=yes" |
| 4376 else | 4378 else |
| 4377 echo "configure: failed program was:" >&5 | 4379 echo "configure: failed program was:" >&5 |
| 4378 cat conftest.$ac_ext >&5 | 4380 cat conftest.$ac_ext >&5 |
| 4389 fi | 4391 fi |
| 4390 | 4392 |
| 4391 if test $ac_cv_func_gethostbyname = no; then | 4393 if test $ac_cv_func_gethostbyname = no; then |
| 4392 | 4394 |
| 4393 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6 | 4395 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6 |
| 4394 echo "configure:4395: checking for gethostbyname in -lnsl" >&5 | 4396 echo "configure:4397: checking for gethostbyname in -lnsl" >&5 |
| 4395 ac_lib_var=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'` | 4397 ac_lib_var=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'` |
| 4396 | 4398 |
| 4397 xe_check_libs=" -lnsl " | 4399 xe_check_libs=" -lnsl " |
| 4398 cat > conftest.$ac_ext <<EOF | 4400 cat > conftest.$ac_ext <<EOF |
| 4399 #line 4400 "configure" | 4401 #line 4402 "configure" |
| 4400 #include "confdefs.h" | 4402 #include "confdefs.h" |
| 4401 /* Override any gcc2 internal prototype to avoid an error. */ | 4403 /* Override any gcc2 internal prototype to avoid an error. */ |
| 4402 /* We use char because int might match the return type of a gcc2 | 4404 /* We use char because int might match the return type of a gcc2 |
| 4403 builtin and then its argument prototype would still apply. */ | 4405 builtin and then its argument prototype would still apply. */ |
| 4404 char gethostbyname(); | 4406 char gethostbyname(); |
| 4405 | 4407 |
| 4406 int main() { | 4408 int main() { |
| 4407 gethostbyname() | 4409 gethostbyname() |
| 4408 ; return 0; } | 4410 ; return 0; } |
| 4409 EOF | 4411 EOF |
| 4410 if { (eval echo configure:4411: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4412 if { (eval echo configure:4413: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 4411 rm -rf conftest* | 4413 rm -rf conftest* |
| 4412 eval "ac_cv_lib_$ac_lib_var=yes" | 4414 eval "ac_cv_lib_$ac_lib_var=yes" |
| 4413 else | 4415 else |
| 4414 echo "configure: failed program was:" >&5 | 4416 echo "configure: failed program was:" >&5 |
| 4415 cat conftest.$ac_ext >&5 | 4417 cat conftest.$ac_ext >&5 |
| 4435 # on later versions), says simon@lia.di.epfl.ch: it contains | 4437 # on later versions), says simon@lia.di.epfl.ch: it contains |
| 4436 # gethostby* variants that don't use the nameserver (or something). | 4438 # gethostby* variants that don't use the nameserver (or something). |
| 4437 # -lsocket must be given before -lnsl if both are needed. | 4439 # -lsocket must be given before -lnsl if both are needed. |
| 4438 # We assume that if connect needs -lnsl, so does gethostbyname. | 4440 # We assume that if connect needs -lnsl, so does gethostbyname. |
| 4439 echo $ac_n "checking for connect""... $ac_c" 1>&6 | 4441 echo $ac_n "checking for connect""... $ac_c" 1>&6 |
| 4440 echo "configure:4441: checking for connect" >&5 | 4442 echo "configure:4443: checking for connect" >&5 |
| 4441 | 4443 |
| 4442 cat > conftest.$ac_ext <<EOF | 4444 cat > conftest.$ac_ext <<EOF |
| 4443 #line 4444 "configure" | 4445 #line 4446 "configure" |
| 4444 #include "confdefs.h" | 4446 #include "confdefs.h" |
| 4445 /* System header to define __stub macros and hopefully few prototypes, | 4447 /* System header to define __stub macros and hopefully few prototypes, |
| 4446 which can conflict with char connect(); below. */ | 4448 which can conflict with char connect(); below. */ |
| 4447 #include <assert.h> | 4449 #include <assert.h> |
| 4448 /* Override any gcc2 internal prototype to avoid an error. */ | 4450 /* Override any gcc2 internal prototype to avoid an error. */ |
| 4461 connect(); | 4463 connect(); |
| 4462 #endif | 4464 #endif |
| 4463 | 4465 |
| 4464 ; return 0; } | 4466 ; return 0; } |
| 4465 EOF | 4467 EOF |
| 4466 if { (eval echo configure:4467: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4468 if { (eval echo configure:4469: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 4467 rm -rf conftest* | 4469 rm -rf conftest* |
| 4468 eval "ac_cv_func_connect=yes" | 4470 eval "ac_cv_func_connect=yes" |
| 4469 else | 4471 else |
| 4470 echo "configure: failed program was:" >&5 | 4472 echo "configure: failed program was:" >&5 |
| 4471 cat conftest.$ac_ext >&5 | 4473 cat conftest.$ac_ext >&5 |
| 4484 if test $ac_cv_func_connect = no; then | 4486 if test $ac_cv_func_connect = no; then |
| 4485 | 4487 |
| 4486 xe_msg_checking="for connect in -lsocket" | 4488 xe_msg_checking="for connect in -lsocket" |
| 4487 test -n "$X_EXTRA_LIBS" && xe_msg_checking="$xe_msg_checking using extra libs $X_EXTRA_LIBS" | 4489 test -n "$X_EXTRA_LIBS" && xe_msg_checking="$xe_msg_checking using extra libs $X_EXTRA_LIBS" |
| 4488 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 4490 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
| 4489 echo "configure:4490: checking "$xe_msg_checking"" >&5 | 4491 echo "configure:4492: checking "$xe_msg_checking"" >&5 |
| 4490 ac_lib_var=`echo socket'_'connect | sed 'y%./+-%__p_%'` | 4492 ac_lib_var=`echo socket'_'connect | sed 'y%./+-%__p_%'` |
| 4491 | 4493 |
| 4492 xe_check_libs=" -lsocket $X_EXTRA_LIBS" | 4494 xe_check_libs=" -lsocket $X_EXTRA_LIBS" |
| 4493 cat > conftest.$ac_ext <<EOF | 4495 cat > conftest.$ac_ext <<EOF |
| 4494 #line 4495 "configure" | 4496 #line 4497 "configure" |
| 4495 #include "confdefs.h" | 4497 #include "confdefs.h" |
| 4496 /* Override any gcc2 internal prototype to avoid an error. */ | 4498 /* Override any gcc2 internal prototype to avoid an error. */ |
| 4497 /* We use char because int might match the return type of a gcc2 | 4499 /* We use char because int might match the return type of a gcc2 |
| 4498 builtin and then its argument prototype would still apply. */ | 4500 builtin and then its argument prototype would still apply. */ |
| 4499 char connect(); | 4501 char connect(); |
| 4500 | 4502 |
| 4501 int main() { | 4503 int main() { |
| 4502 connect() | 4504 connect() |
| 4503 ; return 0; } | 4505 ; return 0; } |
| 4504 EOF | 4506 EOF |
| 4505 if { (eval echo configure:4506: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4507 if { (eval echo configure:4508: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 4506 rm -rf conftest* | 4508 rm -rf conftest* |
| 4507 eval "ac_cv_lib_$ac_lib_var=yes" | 4509 eval "ac_cv_lib_$ac_lib_var=yes" |
| 4508 else | 4510 else |
| 4509 echo "configure: failed program was:" >&5 | 4511 echo "configure: failed program was:" >&5 |
| 4510 cat conftest.$ac_ext >&5 | 4512 cat conftest.$ac_ext >&5 |
| 4524 | 4526 |
| 4525 fi | 4527 fi |
| 4526 | 4528 |
| 4527 # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX. | 4529 # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX. |
| 4528 echo $ac_n "checking for remove""... $ac_c" 1>&6 | 4530 echo $ac_n "checking for remove""... $ac_c" 1>&6 |
| 4529 echo "configure:4530: checking for remove" >&5 | 4531 echo "configure:4532: checking for remove" >&5 |
| 4530 | 4532 |
| 4531 cat > conftest.$ac_ext <<EOF | 4533 cat > conftest.$ac_ext <<EOF |
| 4532 #line 4533 "configure" | 4534 #line 4535 "configure" |
| 4533 #include "confdefs.h" | 4535 #include "confdefs.h" |
| 4534 /* System header to define __stub macros and hopefully few prototypes, | 4536 /* System header to define __stub macros and hopefully few prototypes, |
| 4535 which can conflict with char remove(); below. */ | 4537 which can conflict with char remove(); below. */ |
| 4536 #include <assert.h> | 4538 #include <assert.h> |
| 4537 /* Override any gcc2 internal prototype to avoid an error. */ | 4539 /* Override any gcc2 internal prototype to avoid an error. */ |
| 4550 remove(); | 4552 remove(); |
| 4551 #endif | 4553 #endif |
| 4552 | 4554 |
| 4553 ; return 0; } | 4555 ; return 0; } |
| 4554 EOF | 4556 EOF |
| 4555 if { (eval echo configure:4556: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4557 if { (eval echo configure:4558: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 4556 rm -rf conftest* | 4558 rm -rf conftest* |
| 4557 eval "ac_cv_func_remove=yes" | 4559 eval "ac_cv_func_remove=yes" |
| 4558 else | 4560 else |
| 4559 echo "configure: failed program was:" >&5 | 4561 echo "configure: failed program was:" >&5 |
| 4560 cat conftest.$ac_ext >&5 | 4562 cat conftest.$ac_ext >&5 |
| 4571 fi | 4573 fi |
| 4572 | 4574 |
| 4573 if test $ac_cv_func_remove = no; then | 4575 if test $ac_cv_func_remove = no; then |
| 4574 | 4576 |
| 4575 echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6 | 4577 echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6 |
| 4576 echo "configure:4577: checking for remove in -lposix" >&5 | 4578 echo "configure:4579: checking for remove in -lposix" >&5 |
| 4577 ac_lib_var=`echo posix'_'remove | sed 'y%./+-%__p_%'` | 4579 ac_lib_var=`echo posix'_'remove | sed 'y%./+-%__p_%'` |
| 4578 | 4580 |
| 4579 xe_check_libs=" -lposix " | 4581 xe_check_libs=" -lposix " |
| 4580 cat > conftest.$ac_ext <<EOF | 4582 cat > conftest.$ac_ext <<EOF |
| 4581 #line 4582 "configure" | 4583 #line 4584 "configure" |
| 4582 #include "confdefs.h" | 4584 #include "confdefs.h" |
| 4583 /* Override any gcc2 internal prototype to avoid an error. */ | 4585 /* Override any gcc2 internal prototype to avoid an error. */ |
| 4584 /* We use char because int might match the return type of a gcc2 | 4586 /* We use char because int might match the return type of a gcc2 |
| 4585 builtin and then its argument prototype would still apply. */ | 4587 builtin and then its argument prototype would still apply. */ |
| 4586 char remove(); | 4588 char remove(); |
| 4587 | 4589 |
| 4588 int main() { | 4590 int main() { |
| 4589 remove() | 4591 remove() |
| 4590 ; return 0; } | 4592 ; return 0; } |
| 4591 EOF | 4593 EOF |
| 4592 if { (eval echo configure:4593: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4594 if { (eval echo configure:4595: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 4593 rm -rf conftest* | 4595 rm -rf conftest* |
| 4594 eval "ac_cv_lib_$ac_lib_var=yes" | 4596 eval "ac_cv_lib_$ac_lib_var=yes" |
| 4595 else | 4597 else |
| 4596 echo "configure: failed program was:" >&5 | 4598 echo "configure: failed program was:" >&5 |
| 4597 cat conftest.$ac_ext >&5 | 4599 cat conftest.$ac_ext >&5 |
| 4611 | 4613 |
| 4612 fi | 4614 fi |
| 4613 | 4615 |
| 4614 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay. | 4616 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay. |
| 4615 echo $ac_n "checking for shmat""... $ac_c" 1>&6 | 4617 echo $ac_n "checking for shmat""... $ac_c" 1>&6 |
| 4616 echo "configure:4617: checking for shmat" >&5 | 4618 echo "configure:4619: checking for shmat" >&5 |
| 4617 | 4619 |
| 4618 cat > conftest.$ac_ext <<EOF | 4620 cat > conftest.$ac_ext <<EOF |
| 4619 #line 4620 "configure" | 4621 #line 4622 "configure" |
| 4620 #include "confdefs.h" | 4622 #include "confdefs.h" |
| 4621 /* System header to define __stub macros and hopefully few prototypes, | 4623 /* System header to define __stub macros and hopefully few prototypes, |
| 4622 which can conflict with char shmat(); below. */ | 4624 which can conflict with char shmat(); below. */ |
| 4623 #include <assert.h> | 4625 #include <assert.h> |
| 4624 /* Override any gcc2 internal prototype to avoid an error. */ | 4626 /* Override any gcc2 internal prototype to avoid an error. */ |
| 4637 shmat(); | 4639 shmat(); |
| 4638 #endif | 4640 #endif |
| 4639 | 4641 |
| 4640 ; return 0; } | 4642 ; return 0; } |
| 4641 EOF | 4643 EOF |
| 4642 if { (eval echo configure:4643: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4644 if { (eval echo configure:4645: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 4643 rm -rf conftest* | 4645 rm -rf conftest* |
| 4644 eval "ac_cv_func_shmat=yes" | 4646 eval "ac_cv_func_shmat=yes" |
| 4645 else | 4647 else |
| 4646 echo "configure: failed program was:" >&5 | 4648 echo "configure: failed program was:" >&5 |
| 4647 cat conftest.$ac_ext >&5 | 4649 cat conftest.$ac_ext >&5 |
| 4658 fi | 4660 fi |
| 4659 | 4661 |
| 4660 if test $ac_cv_func_shmat = no; then | 4662 if test $ac_cv_func_shmat = no; then |
| 4661 | 4663 |
| 4662 echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6 | 4664 echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6 |
| 4663 echo "configure:4664: checking for shmat in -lipc" >&5 | 4665 echo "configure:4666: checking for shmat in -lipc" >&5 |
| 4664 ac_lib_var=`echo ipc'_'shmat | sed 'y%./+-%__p_%'` | 4666 ac_lib_var=`echo ipc'_'shmat | sed 'y%./+-%__p_%'` |
| 4665 | 4667 |
| 4666 xe_check_libs=" -lipc " | 4668 xe_check_libs=" -lipc " |
| 4667 cat > conftest.$ac_ext <<EOF | 4669 cat > conftest.$ac_ext <<EOF |
| 4668 #line 4669 "configure" | 4670 #line 4671 "configure" |
| 4669 #include "confdefs.h" | 4671 #include "confdefs.h" |
| 4670 /* Override any gcc2 internal prototype to avoid an error. */ | 4672 /* Override any gcc2 internal prototype to avoid an error. */ |
| 4671 /* We use char because int might match the return type of a gcc2 | 4673 /* We use char because int might match the return type of a gcc2 |
| 4672 builtin and then its argument prototype would still apply. */ | 4674 builtin and then its argument prototype would still apply. */ |
| 4673 char shmat(); | 4675 char shmat(); |
| 4674 | 4676 |
| 4675 int main() { | 4677 int main() { |
| 4676 shmat() | 4678 shmat() |
| 4677 ; return 0; } | 4679 ; return 0; } |
| 4678 EOF | 4680 EOF |
| 4679 if { (eval echo configure:4680: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4681 if { (eval echo configure:4682: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 4680 rm -rf conftest* | 4682 rm -rf conftest* |
| 4681 eval "ac_cv_lib_$ac_lib_var=yes" | 4683 eval "ac_cv_lib_$ac_lib_var=yes" |
| 4682 else | 4684 else |
| 4683 echo "configure: failed program was:" >&5 | 4685 echo "configure: failed program was:" >&5 |
| 4684 cat conftest.$ac_ext >&5 | 4686 cat conftest.$ac_ext >&5 |
| 4708 # These have to be linked with before -lX11, unlike the other | 4710 # These have to be linked with before -lX11, unlike the other |
| 4709 # libraries we check for below, so use a different variable. | 4711 # libraries we check for below, so use a different variable. |
| 4710 # --interran@uluru.Stanford.EDU, kb@cs.umb.edu. | 4712 # --interran@uluru.Stanford.EDU, kb@cs.umb.edu. |
| 4711 | 4713 |
| 4712 echo $ac_n "checking for IceConnectionNumber in -lICE""... $ac_c" 1>&6 | 4714 echo $ac_n "checking for IceConnectionNumber in -lICE""... $ac_c" 1>&6 |
| 4713 echo "configure:4714: checking for IceConnectionNumber in -lICE" >&5 | 4715 echo "configure:4716: checking for IceConnectionNumber in -lICE" >&5 |
| 4714 ac_lib_var=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'` | 4716 ac_lib_var=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'` |
| 4715 | 4717 |
| 4716 xe_check_libs=" -lICE " | 4718 xe_check_libs=" -lICE " |
| 4717 cat > conftest.$ac_ext <<EOF | 4719 cat > conftest.$ac_ext <<EOF |
| 4718 #line 4719 "configure" | 4720 #line 4721 "configure" |
| 4719 #include "confdefs.h" | 4721 #include "confdefs.h" |
| 4720 /* Override any gcc2 internal prototype to avoid an error. */ | 4722 /* Override any gcc2 internal prototype to avoid an error. */ |
| 4721 /* We use char because int might match the return type of a gcc2 | 4723 /* We use char because int might match the return type of a gcc2 |
| 4722 builtin and then its argument prototype would still apply. */ | 4724 builtin and then its argument prototype would still apply. */ |
| 4723 char IceConnectionNumber(); | 4725 char IceConnectionNumber(); |
| 4724 | 4726 |
| 4725 int main() { | 4727 int main() { |
| 4726 IceConnectionNumber() | 4728 IceConnectionNumber() |
| 4727 ; return 0; } | 4729 ; return 0; } |
| 4728 EOF | 4730 EOF |
| 4729 if { (eval echo configure:4730: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4731 if { (eval echo configure:4732: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 4730 rm -rf conftest* | 4732 rm -rf conftest* |
| 4731 eval "ac_cv_lib_$ac_lib_var=yes" | 4733 eval "ac_cv_lib_$ac_lib_var=yes" |
| 4732 else | 4734 else |
| 4733 echo "configure: failed program was:" >&5 | 4735 echo "configure: failed program was:" >&5 |
| 4734 cat conftest.$ac_ext >&5 | 4736 cat conftest.$ac_ext >&5 |
| 4856 for var in x_libraries x_includes X_CFLAGS X_LIBS X_PRE_LIBS X_EXTRA_LIBS; do eval "echo \"$var = '\$$var'\""; done | 4858 for var in x_libraries x_includes X_CFLAGS X_LIBS X_PRE_LIBS X_EXTRA_LIBS; do eval "echo \"$var = '\$$var'\""; done |
| 4857 echo | 4859 echo |
| 4858 fi | 4860 fi |
| 4859 | 4861 |
| 4860 echo "checking for X defines extracted by xmkmf" 1>&6 | 4862 echo "checking for X defines extracted by xmkmf" 1>&6 |
| 4861 echo "configure:4862: checking for X defines extracted by xmkmf" >&5 | 4863 echo "configure:4864: checking for X defines extracted by xmkmf" >&5 |
| 4862 rm -fr conftestdir | 4864 rm -fr conftestdir |
| 4863 if mkdir conftestdir; then | 4865 if mkdir conftestdir; then |
| 4864 cd conftestdir | 4866 cd conftestdir |
| 4865 cat > Imakefile <<'EOF' | 4867 cat > Imakefile <<'EOF' |
| 4866 xetest: | 4868 xetest: |
| 4888 done | 4890 done |
| 4889 fi | 4891 fi |
| 4890 | 4892 |
| 4891 ac_safe=`echo "X11/Intrinsic.h" | sed 'y%./+-%__p_%'` | 4893 ac_safe=`echo "X11/Intrinsic.h" | sed 'y%./+-%__p_%'` |
| 4892 echo $ac_n "checking for X11/Intrinsic.h""... $ac_c" 1>&6 | 4894 echo $ac_n "checking for X11/Intrinsic.h""... $ac_c" 1>&6 |
| 4893 echo "configure:4894: checking for X11/Intrinsic.h" >&5 | 4895 echo "configure:4896: checking for X11/Intrinsic.h" >&5 |
| 4894 | 4896 |
| 4895 cat > conftest.$ac_ext <<EOF | 4897 cat > conftest.$ac_ext <<EOF |
| 4896 #line 4897 "configure" | 4898 #line 4899 "configure" |
| 4897 #include "confdefs.h" | 4899 #include "confdefs.h" |
| 4898 #include <X11/Intrinsic.h> | 4900 #include <X11/Intrinsic.h> |
| 4899 EOF | 4901 EOF |
| 4900 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 4902 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 4901 { (eval echo configure:4902: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 4903 { (eval echo configure:4904: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 4902 ac_err=`grep -v '^ *+' conftest.out` | 4904 ac_err=`grep -v '^ *+' conftest.out` |
| 4903 if test -z "$ac_err"; then | 4905 if test -z "$ac_err"; then |
| 4904 rm -rf conftest* | 4906 rm -rf conftest* |
| 4905 eval "ac_cv_header_$ac_safe=yes" | 4907 eval "ac_cv_header_$ac_safe=yes" |
| 4906 else | 4908 else |
| 4920 fi | 4922 fi |
| 4921 | 4923 |
| 4922 | 4924 |
| 4923 | 4925 |
| 4924 echo $ac_n "checking for XOpenDisplay in -lX11""... $ac_c" 1>&6 | 4926 echo $ac_n "checking for XOpenDisplay in -lX11""... $ac_c" 1>&6 |
| 4925 echo "configure:4926: checking for XOpenDisplay in -lX11" >&5 | 4927 echo "configure:4928: checking for XOpenDisplay in -lX11" >&5 |
| 4926 ac_lib_var=`echo X11'_'XOpenDisplay | sed 'y%./+-%__p_%'` | 4928 ac_lib_var=`echo X11'_'XOpenDisplay | sed 'y%./+-%__p_%'` |
| 4927 | 4929 |
| 4928 xe_check_libs=" -lX11 " | 4930 xe_check_libs=" -lX11 " |
| 4929 cat > conftest.$ac_ext <<EOF | 4931 cat > conftest.$ac_ext <<EOF |
| 4930 #line 4931 "configure" | 4932 #line 4933 "configure" |
| 4931 #include "confdefs.h" | 4933 #include "confdefs.h" |
| 4932 /* Override any gcc2 internal prototype to avoid an error. */ | 4934 /* Override any gcc2 internal prototype to avoid an error. */ |
| 4933 /* We use char because int might match the return type of a gcc2 | 4935 /* We use char because int might match the return type of a gcc2 |
| 4934 builtin and then its argument prototype would still apply. */ | 4936 builtin and then its argument prototype would still apply. */ |
| 4935 char XOpenDisplay(); | 4937 char XOpenDisplay(); |
| 4936 | 4938 |
| 4937 int main() { | 4939 int main() { |
| 4938 XOpenDisplay() | 4940 XOpenDisplay() |
| 4939 ; return 0; } | 4941 ; return 0; } |
| 4940 EOF | 4942 EOF |
| 4941 if { (eval echo configure:4942: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4943 if { (eval echo configure:4944: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 4942 rm -rf conftest* | 4944 rm -rf conftest* |
| 4943 eval "ac_cv_lib_$ac_lib_var=yes" | 4945 eval "ac_cv_lib_$ac_lib_var=yes" |
| 4944 else | 4946 else |
| 4945 echo "configure: failed program was:" >&5 | 4947 echo "configure: failed program was:" >&5 |
| 4946 cat conftest.$ac_ext >&5 | 4948 cat conftest.$ac_ext >&5 |
| 4961 if test "$have_lib_x11" != "yes"; then | 4963 if test "$have_lib_x11" != "yes"; then |
| 4962 | 4964 |
| 4963 xe_msg_checking="for XGetFontProperty in -lX11" | 4965 xe_msg_checking="for XGetFontProperty in -lX11" |
| 4964 test -n "-b i486-linuxaout" && xe_msg_checking="$xe_msg_checking using extra libs -b i486-linuxaout" | 4966 test -n "-b i486-linuxaout" && xe_msg_checking="$xe_msg_checking using extra libs -b i486-linuxaout" |
| 4965 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 4967 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
| 4966 echo "configure:4967: checking "$xe_msg_checking"" >&5 | 4968 echo "configure:4969: checking "$xe_msg_checking"" >&5 |
| 4967 ac_lib_var=`echo X11'_'XGetFontProperty | sed 'y%./+-%__p_%'` | 4969 ac_lib_var=`echo X11'_'XGetFontProperty | sed 'y%./+-%__p_%'` |
| 4968 | 4970 |
| 4969 xe_check_libs=" -lX11 -b i486-linuxaout" | 4971 xe_check_libs=" -lX11 -b i486-linuxaout" |
| 4970 cat > conftest.$ac_ext <<EOF | 4972 cat > conftest.$ac_ext <<EOF |
| 4971 #line 4972 "configure" | 4973 #line 4974 "configure" |
| 4972 #include "confdefs.h" | 4974 #include "confdefs.h" |
| 4973 /* Override any gcc2 internal prototype to avoid an error. */ | 4975 /* Override any gcc2 internal prototype to avoid an error. */ |
| 4974 /* We use char because int might match the return type of a gcc2 | 4976 /* We use char because int might match the return type of a gcc2 |
| 4975 builtin and then its argument prototype would still apply. */ | 4977 builtin and then its argument prototype would still apply. */ |
| 4976 char XGetFontProperty(); | 4978 char XGetFontProperty(); |
| 4977 | 4979 |
| 4978 int main() { | 4980 int main() { |
| 4979 XGetFontProperty() | 4981 XGetFontProperty() |
| 4980 ; return 0; } | 4982 ; return 0; } |
| 4981 EOF | 4983 EOF |
| 4982 if { (eval echo configure:4983: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4984 if { (eval echo configure:4985: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 4983 rm -rf conftest* | 4985 rm -rf conftest* |
| 4984 eval "ac_cv_lib_$ac_lib_var=yes" | 4986 eval "ac_cv_lib_$ac_lib_var=yes" |
| 4985 else | 4987 else |
| 4986 echo "configure: failed program was:" >&5 | 4988 echo "configure: failed program was:" >&5 |
| 4987 cat conftest.$ac_ext >&5 | 4989 cat conftest.$ac_ext >&5 |
| 5004 libs_x="-lX11" | 5006 libs_x="-lX11" |
| 5005 test "$extra_verbose" = "yes" && echo " Setting libs_x to \"-lX11\"" | 5007 test "$extra_verbose" = "yes" && echo " Setting libs_x to \"-lX11\"" |
| 5006 | 5008 |
| 5007 | 5009 |
| 5008 echo $ac_n "checking for XShapeSelectInput in -lXext""... $ac_c" 1>&6 | 5010 echo $ac_n "checking for XShapeSelectInput in -lXext""... $ac_c" 1>&6 |
| 5009 echo "configure:5010: checking for XShapeSelectInput in -lXext" >&5 | 5011 echo "configure:5012: checking for XShapeSelectInput in -lXext" >&5 |
| 5010 ac_lib_var=`echo Xext'_'XShapeSelectInput | sed 'y%./+-%__p_%'` | 5012 ac_lib_var=`echo Xext'_'XShapeSelectInput | sed 'y%./+-%__p_%'` |
| 5011 | 5013 |
| 5012 xe_check_libs=" -lXext " | 5014 xe_check_libs=" -lXext " |
| 5013 cat > conftest.$ac_ext <<EOF | 5015 cat > conftest.$ac_ext <<EOF |
| 5014 #line 5015 "configure" | 5016 #line 5017 "configure" |
| 5015 #include "confdefs.h" | 5017 #include "confdefs.h" |
| 5016 /* Override any gcc2 internal prototype to avoid an error. */ | 5018 /* Override any gcc2 internal prototype to avoid an error. */ |
| 5017 /* We use char because int might match the return type of a gcc2 | 5019 /* We use char because int might match the return type of a gcc2 |
| 5018 builtin and then its argument prototype would still apply. */ | 5020 builtin and then its argument prototype would still apply. */ |
| 5019 char XShapeSelectInput(); | 5021 char XShapeSelectInput(); |
| 5020 | 5022 |
| 5021 int main() { | 5023 int main() { |
| 5022 XShapeSelectInput() | 5024 XShapeSelectInput() |
| 5023 ; return 0; } | 5025 ; return 0; } |
| 5024 EOF | 5026 EOF |
| 5025 if { (eval echo configure:5026: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 5027 if { (eval echo configure:5028: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 5026 rm -rf conftest* | 5028 rm -rf conftest* |
| 5027 eval "ac_cv_lib_$ac_lib_var=yes" | 5029 eval "ac_cv_lib_$ac_lib_var=yes" |
| 5028 else | 5030 else |
| 5029 echo "configure: failed program was:" >&5 | 5031 echo "configure: failed program was:" >&5 |
| 5030 cat conftest.$ac_ext >&5 | 5032 cat conftest.$ac_ext >&5 |
| 5044 | 5046 |
| 5045 | 5047 |
| 5046 case "$opsys" in sunos4* ) libs_x="-u _XtToolkitInitialize -lXt $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-u _XtToolkitInitialize -lXt\" to \$libs_x"; fi ;; | 5048 case "$opsys" in sunos4* ) libs_x="-u _XtToolkitInitialize -lXt $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-u _XtToolkitInitialize -lXt\" to \$libs_x"; fi ;; |
| 5047 * ) | 5049 * ) |
| 5048 echo $ac_n "checking for XtOpenDisplay in -lXt""... $ac_c" 1>&6 | 5050 echo $ac_n "checking for XtOpenDisplay in -lXt""... $ac_c" 1>&6 |
| 5049 echo "configure:5050: checking for XtOpenDisplay in -lXt" >&5 | 5051 echo "configure:5052: checking for XtOpenDisplay in -lXt" >&5 |
| 5050 ac_lib_var=`echo Xt'_'XtOpenDisplay | sed 'y%./+-%__p_%'` | 5052 ac_lib_var=`echo Xt'_'XtOpenDisplay | sed 'y%./+-%__p_%'` |
| 5051 | 5053 |
| 5052 xe_check_libs=" -lXt " | 5054 xe_check_libs=" -lXt " |
| 5053 cat > conftest.$ac_ext <<EOF | 5055 cat > conftest.$ac_ext <<EOF |
| 5054 #line 5055 "configure" | 5056 #line 5057 "configure" |
| 5055 #include "confdefs.h" | 5057 #include "confdefs.h" |
| 5056 /* Override any gcc2 internal prototype to avoid an error. */ | 5058 /* Override any gcc2 internal prototype to avoid an error. */ |
| 5057 /* We use char because int might match the return type of a gcc2 | 5059 /* We use char because int might match the return type of a gcc2 |
| 5058 builtin and then its argument prototype would still apply. */ | 5060 builtin and then its argument prototype would still apply. */ |
| 5059 char XtOpenDisplay(); | 5061 char XtOpenDisplay(); |
| 5060 | 5062 |
| 5061 int main() { | 5063 int main() { |
| 5062 XtOpenDisplay() | 5064 XtOpenDisplay() |
| 5063 ; return 0; } | 5065 ; return 0; } |
| 5064 EOF | 5066 EOF |
| 5065 if { (eval echo configure:5066: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 5067 if { (eval echo configure:5068: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 5066 rm -rf conftest* | 5068 rm -rf conftest* |
| 5067 eval "ac_cv_lib_$ac_lib_var=yes" | 5069 eval "ac_cv_lib_$ac_lib_var=yes" |
| 5068 else | 5070 else |
| 5069 echo "configure: failed program was:" >&5 | 5071 echo "configure: failed program was:" >&5 |
| 5070 cat conftest.$ac_ext >&5 | 5072 cat conftest.$ac_ext >&5 |
| 5084 | 5086 |
| 5085 ;; | 5087 ;; |
| 5086 esac | 5088 esac |
| 5087 | 5089 |
| 5088 echo $ac_n "checking the version of X11 being used""... $ac_c" 1>&6 | 5090 echo $ac_n "checking the version of X11 being used""... $ac_c" 1>&6 |
| 5089 echo "configure:5090: checking the version of X11 being used" >&5 | 5091 echo "configure:5092: checking the version of X11 being used" >&5 |
| 5090 cat > conftest.$ac_ext <<EOF | 5092 cat > conftest.$ac_ext <<EOF |
| 5091 #line 5092 "configure" | 5093 #line 5094 "configure" |
| 5092 #include "confdefs.h" | 5094 #include "confdefs.h" |
| 5093 #include <X11/Intrinsic.h> | 5095 #include <X11/Intrinsic.h> |
| 5094 main(int c, char* v[]) { return c>1 ? XlibSpecificationRelease : 0; } | 5096 main(int c, char* v[]) { return c>1 ? XlibSpecificationRelease : 0; } |
| 5095 EOF | 5097 EOF |
| 5096 if { (eval echo configure:5097: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 | 5098 if { (eval echo configure:5099: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 |
| 5097 then | 5099 then |
| 5098 ./conftest foobar; x11_release=$? | 5100 ./conftest foobar; x11_release=$? |
| 5099 else | 5101 else |
| 5100 echo "configure: failed program was:" >&5 | 5102 echo "configure: failed program was:" >&5 |
| 5101 cat conftest.$ac_ext >&5 | 5103 cat conftest.$ac_ext >&5 |
| 5115 | 5117 |
| 5116 for ac_hdr in X11/Xlocale.h | 5118 for ac_hdr in X11/Xlocale.h |
| 5117 do | 5119 do |
| 5118 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 5120 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
| 5119 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 5121 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
| 5120 echo "configure:5121: checking for $ac_hdr" >&5 | 5122 echo "configure:5123: checking for $ac_hdr" >&5 |
| 5121 | 5123 |
| 5122 cat > conftest.$ac_ext <<EOF | 5124 cat > conftest.$ac_ext <<EOF |
| 5123 #line 5124 "configure" | 5125 #line 5126 "configure" |
| 5124 #include "confdefs.h" | 5126 #include "confdefs.h" |
| 5125 #include <$ac_hdr> | 5127 #include <$ac_hdr> |
| 5126 EOF | 5128 EOF |
| 5127 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 5129 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 5128 { (eval echo configure:5129: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 5130 { (eval echo configure:5131: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 5129 ac_err=`grep -v '^ *+' conftest.out` | 5131 ac_err=`grep -v '^ *+' conftest.out` |
| 5130 if test -z "$ac_err"; then | 5132 if test -z "$ac_err"; then |
| 5131 rm -rf conftest* | 5133 rm -rf conftest* |
| 5132 eval "ac_cv_header_$ac_safe=yes" | 5134 eval "ac_cv_header_$ac_safe=yes" |
| 5133 else | 5135 else |
| 5154 fi | 5156 fi |
| 5155 done | 5157 done |
| 5156 | 5158 |
| 5157 | 5159 |
| 5158 echo $ac_n "checking for XFree86""... $ac_c" 1>&6 | 5160 echo $ac_n "checking for XFree86""... $ac_c" 1>&6 |
| 5159 echo "configure:5160: checking for XFree86" >&5 | 5161 echo "configure:5162: checking for XFree86" >&5 |
| 5160 if test -d "/usr/X386/include" -o \ | 5162 if test -d "/usr/X386/include" -o \ |
| 5161 -f "/etc/XF86Config" -o \ | 5163 -f "/etc/XF86Config" -o \ |
| 5162 -f "/etc/X11/XF86Config" -o \ | 5164 -f "/etc/X11/XF86Config" -o \ |
| 5163 -f "/usr/X11R6/lib/X11/XF86Config"; then | 5165 -f "/usr/X11R6/lib/X11/XF86Config"; then |
| 5164 echo "$ac_t""yes" 1>&6 | 5166 echo "$ac_t""yes" 1>&6 |
| 5176 | 5178 |
| 5177 case "$opsys" in sunos4* ) libs_x="-u _get_applicationShellWidgetClass -lXmu $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-u _get_applicationShellWidgetClass -lXmu\" to \$libs_x"; fi ;; | 5179 case "$opsys" in sunos4* ) libs_x="-u _get_applicationShellWidgetClass -lXmu $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-u _get_applicationShellWidgetClass -lXmu\" to \$libs_x"; fi ;; |
| 5178 * ) if test -z "$with_xmu"; then | 5180 * ) if test -z "$with_xmu"; then |
| 5179 | 5181 |
| 5180 echo $ac_n "checking for XmuConvertStandardSelection in -lXmu""... $ac_c" 1>&6 | 5182 echo $ac_n "checking for XmuConvertStandardSelection in -lXmu""... $ac_c" 1>&6 |
| 5181 echo "configure:5182: checking for XmuConvertStandardSelection in -lXmu" >&5 | 5183 echo "configure:5184: checking for XmuConvertStandardSelection in -lXmu" >&5 |
| 5182 ac_lib_var=`echo Xmu'_'XmuConvertStandardSelection | sed 'y%./+-%__p_%'` | 5184 ac_lib_var=`echo Xmu'_'XmuConvertStandardSelection | sed 'y%./+-%__p_%'` |
| 5183 | 5185 |
| 5184 xe_check_libs=" -lXmu " | 5186 xe_check_libs=" -lXmu " |
| 5185 cat > conftest.$ac_ext <<EOF | 5187 cat > conftest.$ac_ext <<EOF |
| 5186 #line 5187 "configure" | 5188 #line 5189 "configure" |
| 5187 #include "confdefs.h" | 5189 #include "confdefs.h" |
| 5188 /* Override any gcc2 internal prototype to avoid an error. */ | 5190 /* Override any gcc2 internal prototype to avoid an error. */ |
| 5189 /* We use char because int might match the return type of a gcc2 | 5191 /* We use char because int might match the return type of a gcc2 |
| 5190 builtin and then its argument prototype would still apply. */ | 5192 builtin and then its argument prototype would still apply. */ |
| 5191 char XmuConvertStandardSelection(); | 5193 char XmuConvertStandardSelection(); |
| 5192 | 5194 |
| 5193 int main() { | 5195 int main() { |
| 5194 XmuConvertStandardSelection() | 5196 XmuConvertStandardSelection() |
| 5195 ; return 0; } | 5197 ; return 0; } |
| 5196 EOF | 5198 EOF |
| 5197 if { (eval echo configure:5198: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 5199 if { (eval echo configure:5200: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 5198 rm -rf conftest* | 5200 rm -rf conftest* |
| 5199 eval "ac_cv_lib_$ac_lib_var=yes" | 5201 eval "ac_cv_lib_$ac_lib_var=yes" |
| 5200 else | 5202 else |
| 5201 echo "configure: failed program was:" >&5 | 5203 echo "configure: failed program was:" >&5 |
| 5202 cat conftest.$ac_ext >&5 | 5204 cat conftest.$ac_ext >&5 |
| 5225 fi ;; | 5227 fi ;; |
| 5226 esac | 5228 esac |
| 5227 | 5229 |
| 5228 | 5230 |
| 5229 echo $ac_n "checking for main in -lXbsd""... $ac_c" 1>&6 | 5231 echo $ac_n "checking for main in -lXbsd""... $ac_c" 1>&6 |
| 5230 echo "configure:5231: checking for main in -lXbsd" >&5 | 5232 echo "configure:5233: checking for main in -lXbsd" >&5 |
| 5231 ac_lib_var=`echo Xbsd'_'main | sed 'y%./+-%__p_%'` | 5233 ac_lib_var=`echo Xbsd'_'main | sed 'y%./+-%__p_%'` |
| 5232 | 5234 |
| 5233 xe_check_libs=" -lXbsd " | 5235 xe_check_libs=" -lXbsd " |
| 5234 cat > conftest.$ac_ext <<EOF | 5236 cat > conftest.$ac_ext <<EOF |
| 5235 #line 5236 "configure" | 5237 #line 5238 "configure" |
| 5236 #include "confdefs.h" | 5238 #include "confdefs.h" |
| 5237 | 5239 |
| 5238 int main() { | 5240 int main() { |
| 5239 main() | 5241 main() |
| 5240 ; return 0; } | 5242 ; return 0; } |
| 5241 EOF | 5243 EOF |
| 5242 if { (eval echo configure:5243: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 5244 if { (eval echo configure:5245: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 5243 rm -rf conftest* | 5245 rm -rf conftest* |
| 5244 eval "ac_cv_lib_$ac_lib_var=yes" | 5246 eval "ac_cv_lib_$ac_lib_var=yes" |
| 5245 else | 5247 else |
| 5246 echo "configure: failed program was:" >&5 | 5248 echo "configure: failed program was:" >&5 |
| 5247 cat conftest.$ac_ext >&5 | 5249 cat conftest.$ac_ext >&5 |
| 5260 | 5262 |
| 5261 | 5263 |
| 5262 | 5264 |
| 5263 | 5265 |
| 5264 echo $ac_n "checking for XawScrollbarSetThumb in -lXaw""... $ac_c" 1>&6 | 5266 echo $ac_n "checking for XawScrollbarSetThumb in -lXaw""... $ac_c" 1>&6 |
| 5265 echo "configure:5266: checking for XawScrollbarSetThumb in -lXaw" >&5 | 5267 echo "configure:5268: checking for XawScrollbarSetThumb in -lXaw" >&5 |
| 5266 ac_lib_var=`echo Xaw'_'XawScrollbarSetThumb | sed 'y%./+-%__p_%'` | 5268 ac_lib_var=`echo Xaw'_'XawScrollbarSetThumb | sed 'y%./+-%__p_%'` |
| 5267 | 5269 |
| 5268 xe_check_libs=" -lXaw " | 5270 xe_check_libs=" -lXaw " |
| 5269 cat > conftest.$ac_ext <<EOF | 5271 cat > conftest.$ac_ext <<EOF |
| 5270 #line 5271 "configure" | 5272 #line 5273 "configure" |
| 5271 #include "confdefs.h" | 5273 #include "confdefs.h" |
| 5272 /* Override any gcc2 internal prototype to avoid an error. */ | 5274 /* Override any gcc2 internal prototype to avoid an error. */ |
| 5273 /* We use char because int might match the return type of a gcc2 | 5275 /* We use char because int might match the return type of a gcc2 |
| 5274 builtin and then its argument prototype would still apply. */ | 5276 builtin and then its argument prototype would still apply. */ |
| 5275 char XawScrollbarSetThumb(); | 5277 char XawScrollbarSetThumb(); |
| 5276 | 5278 |
| 5277 int main() { | 5279 int main() { |
| 5278 XawScrollbarSetThumb() | 5280 XawScrollbarSetThumb() |
| 5279 ; return 0; } | 5281 ; return 0; } |
| 5280 EOF | 5282 EOF |
| 5281 if { (eval echo configure:5282: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 5283 if { (eval echo configure:5284: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 5282 rm -rf conftest* | 5284 rm -rf conftest* |
| 5283 eval "ac_cv_lib_$ac_lib_var=yes" | 5285 eval "ac_cv_lib_$ac_lib_var=yes" |
| 5284 else | 5286 else |
| 5285 echo "configure: failed program was:" >&5 | 5287 echo "configure: failed program was:" >&5 |
| 5286 cat conftest.$ac_ext >&5 | 5288 cat conftest.$ac_ext >&5 |
| 5297 echo "$ac_t""no" 1>&6 | 5299 echo "$ac_t""no" 1>&6 |
| 5298 have_xaw=no | 5300 have_xaw=no |
| 5299 fi | 5301 fi |
| 5300 | 5302 |
| 5301 | 5303 |
| 5304 if test "$have_xaw" = "yes"; then | |
| 5305 ac_safe=`echo "X11/Xaw/Reports.h" | sed 'y%./+-%__p_%'` | |
| 5306 echo $ac_n "checking for X11/Xaw/Reports.h""... $ac_c" 1>&6 | |
| 5307 echo "configure:5308: checking for X11/Xaw/Reports.h" >&5 | |
| 5308 | |
| 5309 cat > conftest.$ac_ext <<EOF | |
| 5310 #line 5311 "configure" | |
| 5311 #include "confdefs.h" | |
| 5312 #include <X11/Xaw/Reports.h> | |
| 5313 EOF | |
| 5314 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | |
| 5315 { (eval echo configure:5316: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | |
| 5316 ac_err=`grep -v '^ *+' conftest.out` | |
| 5317 if test -z "$ac_err"; then | |
| 5318 rm -rf conftest* | |
| 5319 eval "ac_cv_header_$ac_safe=yes" | |
| 5320 else | |
| 5321 echo "$ac_err" >&5 | |
| 5322 echo "configure: failed program was:" >&5 | |
| 5323 cat conftest.$ac_ext >&5 | |
| 5324 rm -rf conftest* | |
| 5325 eval "ac_cv_header_$ac_safe=no" | |
| 5326 fi | |
| 5327 rm -f conftest* | |
| 5328 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | |
| 5329 echo "$ac_t""yes" 1>&6 | |
| 5330 | |
| 5331 MAKE_SUBDIR="$MAKE_SUBDIR pkg-src/tree-x" && if test "$extra_verbose" = "yes"; then echo " Appending \"pkg-src/tree-x\" to \$MAKE_SUBDIR"; fi | |
| 5332 INSTALL_ARCH_DEP_SUBDIR="$INSTALL_ARCH_DEP_SUBDIR pkg-src/tree-x" && if test "$extra_verbose" = "yes"; then echo " Appending \"pkg-src/tree-x\" to \$INSTALL_ARCH_DEP_SUBDIR"; fi | |
| 5333 else | |
| 5334 echo "$ac_t""no" 1>&6 | |
| 5335 fi | |
| 5336 | |
| 5337 fi | |
| 5302 | 5338 |
| 5303 fi | 5339 fi |
| 5304 test -z "$window_system" && window_system="none" | 5340 test -z "$window_system" && window_system="none" |
| 5305 | 5341 |
| 5306 if test "$window_system" = "none" ; then | 5342 if test "$window_system" = "none" ; then |
| 5333 esac | 5369 esac |
| 5334 | 5370 |
| 5335 test -z "$with_xauth" && test "$window_system" = "none" && with_xauth=no | 5371 test -z "$with_xauth" && test "$window_system" = "none" && with_xauth=no |
| 5336 test -z "$with_xauth" && { ac_safe=`echo "X11/Xauth.h" | sed 'y%./+-%__p_%'` | 5372 test -z "$with_xauth" && { ac_safe=`echo "X11/Xauth.h" | sed 'y%./+-%__p_%'` |
| 5337 echo $ac_n "checking for X11/Xauth.h""... $ac_c" 1>&6 | 5373 echo $ac_n "checking for X11/Xauth.h""... $ac_c" 1>&6 |
| 5338 echo "configure:5339: checking for X11/Xauth.h" >&5 | 5374 echo "configure:5375: checking for X11/Xauth.h" >&5 |
| 5339 | 5375 |
| 5340 cat > conftest.$ac_ext <<EOF | 5376 cat > conftest.$ac_ext <<EOF |
| 5341 #line 5342 "configure" | 5377 #line 5378 "configure" |
| 5342 #include "confdefs.h" | 5378 #include "confdefs.h" |
| 5343 #include <X11/Xauth.h> | 5379 #include <X11/Xauth.h> |
| 5344 EOF | 5380 EOF |
| 5345 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 5381 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 5346 { (eval echo configure:5347: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 5382 { (eval echo configure:5383: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 5347 ac_err=`grep -v '^ *+' conftest.out` | 5383 ac_err=`grep -v '^ *+' conftest.out` |
| 5348 if test -z "$ac_err"; then | 5384 if test -z "$ac_err"; then |
| 5349 rm -rf conftest* | 5385 rm -rf conftest* |
| 5350 eval "ac_cv_header_$ac_safe=yes" | 5386 eval "ac_cv_header_$ac_safe=yes" |
| 5351 else | 5387 else |
| 5364 with_xauth=no | 5400 with_xauth=no |
| 5365 fi | 5401 fi |
| 5366 } | 5402 } |
| 5367 test -z "$with_xauth" && { | 5403 test -z "$with_xauth" && { |
| 5368 echo $ac_n "checking for XauGetAuthByAddr in -lXau""... $ac_c" 1>&6 | 5404 echo $ac_n "checking for XauGetAuthByAddr in -lXau""... $ac_c" 1>&6 |
| 5369 echo "configure:5370: checking for XauGetAuthByAddr in -lXau" >&5 | 5405 echo "configure:5406: checking for XauGetAuthByAddr in -lXau" >&5 |
| 5370 ac_lib_var=`echo Xau'_'XauGetAuthByAddr | sed 'y%./+-%__p_%'` | 5406 ac_lib_var=`echo Xau'_'XauGetAuthByAddr | sed 'y%./+-%__p_%'` |
| 5371 | 5407 |
| 5372 xe_check_libs=" -lXau " | 5408 xe_check_libs=" -lXau " |
| 5373 cat > conftest.$ac_ext <<EOF | 5409 cat > conftest.$ac_ext <<EOF |
| 5374 #line 5375 "configure" | 5410 #line 5411 "configure" |
| 5375 #include "confdefs.h" | 5411 #include "confdefs.h" |
| 5376 /* Override any gcc2 internal prototype to avoid an error. */ | 5412 /* Override any gcc2 internal prototype to avoid an error. */ |
| 5377 /* We use char because int might match the return type of a gcc2 | 5413 /* We use char because int might match the return type of a gcc2 |
| 5378 builtin and then its argument prototype would still apply. */ | 5414 builtin and then its argument prototype would still apply. */ |
| 5379 char XauGetAuthByAddr(); | 5415 char XauGetAuthByAddr(); |
| 5380 | 5416 |
| 5381 int main() { | 5417 int main() { |
| 5382 XauGetAuthByAddr() | 5418 XauGetAuthByAddr() |
| 5383 ; return 0; } | 5419 ; return 0; } |
| 5384 EOF | 5420 EOF |
| 5385 if { (eval echo configure:5386: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 5421 if { (eval echo configure:5422: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 5386 rm -rf conftest* | 5422 rm -rf conftest* |
| 5387 eval "ac_cv_lib_$ac_lib_var=yes" | 5423 eval "ac_cv_lib_$ac_lib_var=yes" |
| 5388 else | 5424 else |
| 5389 echo "configure: failed program was:" >&5 | 5425 echo "configure: failed program was:" >&5 |
| 5390 cat conftest.$ac_ext >&5 | 5426 cat conftest.$ac_ext >&5 |
| 5421 fi | 5457 fi |
| 5422 | 5458 |
| 5423 | 5459 |
| 5424 test -z "$with_offix" && { ac_safe=`echo "OffiX/DragAndDrop.h" | sed 'y%./+-%__p_%'` | 5460 test -z "$with_offix" && { ac_safe=`echo "OffiX/DragAndDrop.h" | sed 'y%./+-%__p_%'` |
| 5425 echo $ac_n "checking for OffiX/DragAndDrop.h""... $ac_c" 1>&6 | 5461 echo $ac_n "checking for OffiX/DragAndDrop.h""... $ac_c" 1>&6 |
| 5426 echo "configure:5427: checking for OffiX/DragAndDrop.h" >&5 | 5462 echo "configure:5463: checking for OffiX/DragAndDrop.h" >&5 |
| 5427 | 5463 |
| 5428 cat > conftest.$ac_ext <<EOF | 5464 cat > conftest.$ac_ext <<EOF |
| 5429 #line 5430 "configure" | 5465 #line 5466 "configure" |
| 5430 #include "confdefs.h" | 5466 #include "confdefs.h" |
| 5431 #include <OffiX/DragAndDrop.h> | 5467 #include <OffiX/DragAndDrop.h> |
| 5432 EOF | 5468 EOF |
| 5433 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 5469 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 5434 { (eval echo configure:5435: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 5470 { (eval echo configure:5471: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 5435 ac_err=`grep -v '^ *+' conftest.out` | 5471 ac_err=`grep -v '^ *+' conftest.out` |
| 5436 if test -z "$ac_err"; then | 5472 if test -z "$ac_err"; then |
| 5437 rm -rf conftest* | 5473 rm -rf conftest* |
| 5438 eval "ac_cv_header_$ac_safe=yes" | 5474 eval "ac_cv_header_$ac_safe=yes" |
| 5439 else | 5475 else |
| 5452 with_offix=no | 5488 with_offix=no |
| 5453 fi | 5489 fi |
| 5454 } | 5490 } |
| 5455 test -z "$with_offix" && { | 5491 test -z "$with_offix" && { |
| 5456 echo $ac_n "checking for DndInitialize in -lDnd""... $ac_c" 1>&6 | 5492 echo $ac_n "checking for DndInitialize in -lDnd""... $ac_c" 1>&6 |
| 5457 echo "configure:5458: checking for DndInitialize in -lDnd" >&5 | 5493 echo "configure:5494: checking for DndInitialize in -lDnd" >&5 |
| 5458 ac_lib_var=`echo Dnd'_'DndInitialize | sed 'y%./+-%__p_%'` | 5494 ac_lib_var=`echo Dnd'_'DndInitialize | sed 'y%./+-%__p_%'` |
| 5459 | 5495 |
| 5460 xe_check_libs=" -lDnd " | 5496 xe_check_libs=" -lDnd " |
| 5461 cat > conftest.$ac_ext <<EOF | 5497 cat > conftest.$ac_ext <<EOF |
| 5462 #line 5463 "configure" | 5498 #line 5499 "configure" |
| 5463 #include "confdefs.h" | 5499 #include "confdefs.h" |
| 5464 /* Override any gcc2 internal prototype to avoid an error. */ | 5500 /* Override any gcc2 internal prototype to avoid an error. */ |
| 5465 /* We use char because int might match the return type of a gcc2 | 5501 /* We use char because int might match the return type of a gcc2 |
| 5466 builtin and then its argument prototype would still apply. */ | 5502 builtin and then its argument prototype would still apply. */ |
| 5467 char DndInitialize(); | 5503 char DndInitialize(); |
| 5468 | 5504 |
| 5469 int main() { | 5505 int main() { |
| 5470 DndInitialize() | 5506 DndInitialize() |
| 5471 ; return 0; } | 5507 ; return 0; } |
| 5472 EOF | 5508 EOF |
| 5473 if { (eval echo configure:5474: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 5509 if { (eval echo configure:5510: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 5474 rm -rf conftest* | 5510 rm -rf conftest* |
| 5475 eval "ac_cv_lib_$ac_lib_var=yes" | 5511 eval "ac_cv_lib_$ac_lib_var=yes" |
| 5476 else | 5512 else |
| 5477 echo "configure: failed program was:" >&5 | 5513 echo "configure: failed program was:" >&5 |
| 5478 cat conftest.$ac_ext >&5 | 5514 cat conftest.$ac_ext >&5 |
| 5507 test "$with_cde" = "yes" && with_tooltalk=yes # CDE requires tooltalk | 5543 test "$with_cde" = "yes" && with_tooltalk=yes # CDE requires tooltalk |
| 5508 if test "$with_tooltalk" != "no" ; then | 5544 if test "$with_tooltalk" != "no" ; then |
| 5509 for dir in "" "Tt/" "desktop/" ; do | 5545 for dir in "" "Tt/" "desktop/" ; do |
| 5510 ac_safe=`echo "${dir}tt_c.h" | sed 'y%./+-%__p_%'` | 5546 ac_safe=`echo "${dir}tt_c.h" | sed 'y%./+-%__p_%'` |
| 5511 echo $ac_n "checking for ${dir}tt_c.h""... $ac_c" 1>&6 | 5547 echo $ac_n "checking for ${dir}tt_c.h""... $ac_c" 1>&6 |
| 5512 echo "configure:5513: checking for ${dir}tt_c.h" >&5 | 5548 echo "configure:5549: checking for ${dir}tt_c.h" >&5 |
| 5513 | 5549 |
| 5514 cat > conftest.$ac_ext <<EOF | 5550 cat > conftest.$ac_ext <<EOF |
| 5515 #line 5516 "configure" | 5551 #line 5552 "configure" |
| 5516 #include "confdefs.h" | 5552 #include "confdefs.h" |
| 5517 #include <${dir}tt_c.h> | 5553 #include <${dir}tt_c.h> |
| 5518 EOF | 5554 EOF |
| 5519 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 5555 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 5520 { (eval echo configure:5521: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 5556 { (eval echo configure:5557: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 5521 ac_err=`grep -v '^ *+' conftest.out` | 5557 ac_err=`grep -v '^ *+' conftest.out` |
| 5522 if test -z "$ac_err"; then | 5558 if test -z "$ac_err"; then |
| 5523 rm -rf conftest* | 5559 rm -rf conftest* |
| 5524 eval "ac_cv_header_$ac_safe=yes" | 5560 eval "ac_cv_header_$ac_safe=yes" |
| 5525 else | 5561 else |
| 5544 for extra_libs in "" "-lI18N -lce" "-lcxx"; do | 5580 for extra_libs in "" "-lI18N -lce" "-lcxx"; do |
| 5545 | 5581 |
| 5546 xe_msg_checking="for tt_message_create in -ltt" | 5582 xe_msg_checking="for tt_message_create in -ltt" |
| 5547 test -n "$extra_libs" && xe_msg_checking="$xe_msg_checking using extra libs $extra_libs" | 5583 test -n "$extra_libs" && xe_msg_checking="$xe_msg_checking using extra libs $extra_libs" |
| 5548 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 5584 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
| 5549 echo "configure:5550: checking "$xe_msg_checking"" >&5 | 5585 echo "configure:5586: checking "$xe_msg_checking"" >&5 |
| 5550 ac_lib_var=`echo tt'_'tt_message_create | sed 'y%./+-%__p_%'` | 5586 ac_lib_var=`echo tt'_'tt_message_create | sed 'y%./+-%__p_%'` |
| 5551 | 5587 |
| 5552 xe_check_libs=" -ltt $extra_libs" | 5588 xe_check_libs=" -ltt $extra_libs" |
| 5553 cat > conftest.$ac_ext <<EOF | 5589 cat > conftest.$ac_ext <<EOF |
| 5554 #line 5555 "configure" | 5590 #line 5591 "configure" |
| 5555 #include "confdefs.h" | 5591 #include "confdefs.h" |
| 5556 /* Override any gcc2 internal prototype to avoid an error. */ | 5592 /* Override any gcc2 internal prototype to avoid an error. */ |
| 5557 /* We use char because int might match the return type of a gcc2 | 5593 /* We use char because int might match the return type of a gcc2 |
| 5558 builtin and then its argument prototype would still apply. */ | 5594 builtin and then its argument prototype would still apply. */ |
| 5559 char tt_message_create(); | 5595 char tt_message_create(); |
| 5560 | 5596 |
| 5561 int main() { | 5597 int main() { |
| 5562 tt_message_create() | 5598 tt_message_create() |
| 5563 ; return 0; } | 5599 ; return 0; } |
| 5564 EOF | 5600 EOF |
| 5565 if { (eval echo configure:5566: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 5601 if { (eval echo configure:5602: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 5566 rm -rf conftest* | 5602 rm -rf conftest* |
| 5567 eval "ac_cv_lib_$ac_lib_var=yes" | 5603 eval "ac_cv_lib_$ac_lib_var=yes" |
| 5568 else | 5604 else |
| 5569 echo "configure: failed program was:" >&5 | 5605 echo "configure: failed program was:" >&5 |
| 5570 cat conftest.$ac_ext >&5 | 5606 cat conftest.$ac_ext >&5 |
| 5609 fi | 5645 fi |
| 5610 fi | 5646 fi |
| 5611 | 5647 |
| 5612 test -z "$with_cde" && { ac_safe=`echo "Dt/Dt.h" | sed 'y%./+-%__p_%'` | 5648 test -z "$with_cde" && { ac_safe=`echo "Dt/Dt.h" | sed 'y%./+-%__p_%'` |
| 5613 echo $ac_n "checking for Dt/Dt.h""... $ac_c" 1>&6 | 5649 echo $ac_n "checking for Dt/Dt.h""... $ac_c" 1>&6 |
| 5614 echo "configure:5615: checking for Dt/Dt.h" >&5 | 5650 echo "configure:5651: checking for Dt/Dt.h" >&5 |
| 5615 | 5651 |
| 5616 cat > conftest.$ac_ext <<EOF | 5652 cat > conftest.$ac_ext <<EOF |
| 5617 #line 5618 "configure" | 5653 #line 5654 "configure" |
| 5618 #include "confdefs.h" | 5654 #include "confdefs.h" |
| 5619 #include <Dt/Dt.h> | 5655 #include <Dt/Dt.h> |
| 5620 EOF | 5656 EOF |
| 5621 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 5657 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 5622 { (eval echo configure:5623: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 5658 { (eval echo configure:5659: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 5623 ac_err=`grep -v '^ *+' conftest.out` | 5659 ac_err=`grep -v '^ *+' conftest.out` |
| 5624 if test -z "$ac_err"; then | 5660 if test -z "$ac_err"; then |
| 5625 rm -rf conftest* | 5661 rm -rf conftest* |
| 5626 eval "ac_cv_header_$ac_safe=yes" | 5662 eval "ac_cv_header_$ac_safe=yes" |
| 5627 else | 5663 else |
| 5640 with_cde=no | 5676 with_cde=no |
| 5641 fi | 5677 fi |
| 5642 } | 5678 } |
| 5643 test -z "$with_cde" && { | 5679 test -z "$with_cde" && { |
| 5644 echo $ac_n "checking for DtDndDragStart in -lDtSvc""... $ac_c" 1>&6 | 5680 echo $ac_n "checking for DtDndDragStart in -lDtSvc""... $ac_c" 1>&6 |
| 5645 echo "configure:5646: checking for DtDndDragStart in -lDtSvc" >&5 | 5681 echo "configure:5682: checking for DtDndDragStart in -lDtSvc" >&5 |
| 5646 ac_lib_var=`echo DtSvc'_'DtDndDragStart | sed 'y%./+-%__p_%'` | 5682 ac_lib_var=`echo DtSvc'_'DtDndDragStart | sed 'y%./+-%__p_%'` |
| 5647 | 5683 |
| 5648 xe_check_libs=" -lDtSvc " | 5684 xe_check_libs=" -lDtSvc " |
| 5649 cat > conftest.$ac_ext <<EOF | 5685 cat > conftest.$ac_ext <<EOF |
| 5650 #line 5651 "configure" | 5686 #line 5687 "configure" |
| 5651 #include "confdefs.h" | 5687 #include "confdefs.h" |
| 5652 /* Override any gcc2 internal prototype to avoid an error. */ | 5688 /* Override any gcc2 internal prototype to avoid an error. */ |
| 5653 /* We use char because int might match the return type of a gcc2 | 5689 /* We use char because int might match the return type of a gcc2 |
| 5654 builtin and then its argument prototype would still apply. */ | 5690 builtin and then its argument prototype would still apply. */ |
| 5655 char DtDndDragStart(); | 5691 char DtDndDragStart(); |
| 5656 | 5692 |
| 5657 int main() { | 5693 int main() { |
| 5658 DtDndDragStart() | 5694 DtDndDragStart() |
| 5659 ; return 0; } | 5695 ; return 0; } |
| 5660 EOF | 5696 EOF |
| 5661 if { (eval echo configure:5662: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 5697 if { (eval echo configure:5698: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 5662 rm -rf conftest* | 5698 rm -rf conftest* |
| 5663 eval "ac_cv_lib_$ac_lib_var=yes" | 5699 eval "ac_cv_lib_$ac_lib_var=yes" |
| 5664 else | 5700 else |
| 5665 echo "configure: failed program was:" >&5 | 5701 echo "configure: failed program was:" >&5 |
| 5666 cat conftest.$ac_ext >&5 | 5702 cat conftest.$ac_ext >&5 |
| 5689 EOF | 5725 EOF |
| 5690 } | 5726 } |
| 5691 | 5727 |
| 5692 libs_x="-lDtSvc $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lDtSvc\" to \$libs_x"; fi | 5728 libs_x="-lDtSvc $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lDtSvc\" to \$libs_x"; fi |
| 5693 with_tooltalk=yes # CDE requires Tooltalk | 5729 with_tooltalk=yes # CDE requires Tooltalk |
| 5694 with_motif=yes # CDE requires Motif | 5730 need_motif=yes # CDE requires Motif |
| 5695 fi | 5731 fi |
| 5696 | 5732 |
| 5697 if test "$with_energize" = "yes" ; then | 5733 if test "$with_energize" = "yes" ; then |
| 5698 { test "$extra_verbose" = "yes" && cat << \EOF | 5734 { test "$extra_verbose" = "yes" && cat << \EOF |
| 5699 Defining ENERGIZE | 5735 Defining ENERGIZE |
| 5703 EOF | 5739 EOF |
| 5704 } | 5740 } |
| 5705 | 5741 |
| 5706 | 5742 |
| 5707 echo $ac_n "checking for main in -lenergize""... $ac_c" 1>&6 | 5743 echo $ac_n "checking for main in -lenergize""... $ac_c" 1>&6 |
| 5708 echo "configure:5709: checking for main in -lenergize" >&5 | 5744 echo "configure:5745: checking for main in -lenergize" >&5 |
| 5709 ac_lib_var=`echo energize'_'main | sed 'y%./+-%__p_%'` | 5745 ac_lib_var=`echo energize'_'main | sed 'y%./+-%__p_%'` |
| 5710 | 5746 |
| 5711 xe_check_libs=" -lenergize " | 5747 xe_check_libs=" -lenergize " |
| 5712 cat > conftest.$ac_ext <<EOF | 5748 cat > conftest.$ac_ext <<EOF |
| 5713 #line 5714 "configure" | 5749 #line 5750 "configure" |
| 5714 #include "confdefs.h" | 5750 #include "confdefs.h" |
| 5715 | 5751 |
| 5716 int main() { | 5752 int main() { |
| 5717 main() | 5753 main() |
| 5718 ; return 0; } | 5754 ; return 0; } |
| 5719 EOF | 5755 EOF |
| 5720 if { (eval echo configure:5721: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 5756 if { (eval echo configure:5757: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 5721 rm -rf conftest* | 5757 rm -rf conftest* |
| 5722 eval "ac_cv_lib_$ac_lib_var=yes" | 5758 eval "ac_cv_lib_$ac_lib_var=yes" |
| 5723 else | 5759 else |
| 5724 echo "configure: failed program was:" >&5 | 5760 echo "configure: failed program was:" >&5 |
| 5725 cat conftest.$ac_ext >&5 | 5761 cat conftest.$ac_ext >&5 |
| 5747 | 5783 |
| 5748 | 5784 |
| 5749 if test -z "$energize_version"; then | 5785 if test -z "$energize_version"; then |
| 5750 | 5786 |
| 5751 echo $ac_n "checking for main in -lconn""... $ac_c" 1>&6 | 5787 echo $ac_n "checking for main in -lconn""... $ac_c" 1>&6 |
| 5752 echo "configure:5753: checking for main in -lconn" >&5 | 5788 echo "configure:5789: checking for main in -lconn" >&5 |
| 5753 ac_lib_var=`echo conn'_'main | sed 'y%./+-%__p_%'` | 5789 ac_lib_var=`echo conn'_'main | sed 'y%./+-%__p_%'` |
| 5754 | 5790 |
| 5755 xe_check_libs=" -lconn " | 5791 xe_check_libs=" -lconn " |
| 5756 cat > conftest.$ac_ext <<EOF | 5792 cat > conftest.$ac_ext <<EOF |
| 5757 #line 5758 "configure" | 5793 #line 5794 "configure" |
| 5758 #include "confdefs.h" | 5794 #include "confdefs.h" |
| 5759 | 5795 |
| 5760 int main() { | 5796 int main() { |
| 5761 main() | 5797 main() |
| 5762 ; return 0; } | 5798 ; return 0; } |
| 5763 EOF | 5799 EOF |
| 5764 if { (eval echo configure:5765: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 5800 if { (eval echo configure:5801: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 5765 rm -rf conftest* | 5801 rm -rf conftest* |
| 5766 eval "ac_cv_lib_$ac_lib_var=yes" | 5802 eval "ac_cv_lib_$ac_lib_var=yes" |
| 5767 else | 5803 else |
| 5768 echo "configure: failed program was:" >&5 | 5804 echo "configure: failed program was:" >&5 |
| 5769 cat conftest.$ac_ext >&5 | 5805 cat conftest.$ac_ext >&5 |
| 5792 | 5828 |
| 5793 | 5829 |
| 5794 fi | 5830 fi |
| 5795 ac_safe=`echo "editorconn.h" | sed 'y%./+-%__p_%'` | 5831 ac_safe=`echo "editorconn.h" | sed 'y%./+-%__p_%'` |
| 5796 echo $ac_n "checking for editorconn.h""... $ac_c" 1>&6 | 5832 echo $ac_n "checking for editorconn.h""... $ac_c" 1>&6 |
| 5797 echo "configure:5798: checking for editorconn.h" >&5 | 5833 echo "configure:5834: checking for editorconn.h" >&5 |
| 5798 | 5834 |
| 5799 cat > conftest.$ac_ext <<EOF | 5835 cat > conftest.$ac_ext <<EOF |
| 5800 #line 5801 "configure" | 5836 #line 5837 "configure" |
| 5801 #include "confdefs.h" | 5837 #include "confdefs.h" |
| 5802 #include <editorconn.h> | 5838 #include <editorconn.h> |
| 5803 EOF | 5839 EOF |
| 5804 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 5840 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 5805 { (eval echo configure:5806: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 5841 { (eval echo configure:5842: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 5806 ac_err=`grep -v '^ *+' conftest.out` | 5842 ac_err=`grep -v '^ *+' conftest.out` |
| 5807 if test -z "$ac_err"; then | 5843 if test -z "$ac_err"; then |
| 5808 rm -rf conftest* | 5844 rm -rf conftest* |
| 5809 eval "ac_cv_header_$ac_safe=yes" | 5845 eval "ac_cv_header_$ac_safe=yes" |
| 5810 else | 5846 else |
| 5842 | 5878 |
| 5843 fi | 5879 fi |
| 5844 | 5880 |
| 5845 | 5881 |
| 5846 echo "checking for graphics libraries" 1>&6 | 5882 echo "checking for graphics libraries" 1>&6 |
| 5847 echo "configure:5848: checking for graphics libraries" >&5 | 5883 echo "configure:5884: checking for graphics libraries" >&5 |
| 5848 test -z "$with_gif" && with_gif=yes; | 5884 test -z "$with_gif" && with_gif=yes; |
| 5849 if test "$with_gif" = "yes"; then | 5885 if test "$with_gif" = "yes"; then |
| 5850 { test "$extra_verbose" = "yes" && cat << \EOF | 5886 { test "$extra_verbose" = "yes" && cat << \EOF |
| 5851 Defining HAVE_GIF | 5887 Defining HAVE_GIF |
| 5852 EOF | 5888 EOF |
| 5859 echo " xemacs will be linked with \"dgif_lib.o gif_err.o gifalloc.o\"" | 5895 echo " xemacs will be linked with \"dgif_lib.o gif_err.o gifalloc.o\"" |
| 5860 fi | 5896 fi |
| 5861 fi | 5897 fi |
| 5862 | 5898 |
| 5863 echo $ac_n "checking for Xpm - no older than 3.4f""... $ac_c" 1>&6 | 5899 echo $ac_n "checking for Xpm - no older than 3.4f""... $ac_c" 1>&6 |
| 5864 echo "configure:5865: checking for Xpm - no older than 3.4f" >&5 | 5900 echo "configure:5901: checking for Xpm - no older than 3.4f" >&5 |
| 5865 xe_check_libs=-lXpm | 5901 xe_check_libs=-lXpm |
| 5866 test -z "$with_xpm" && { cat > conftest.$ac_ext <<EOF | 5902 test -z "$with_xpm" && { cat > conftest.$ac_ext <<EOF |
| 5867 #line 5868 "configure" | 5903 #line 5904 "configure" |
| 5868 #include "confdefs.h" | 5904 #include "confdefs.h" |
| 5869 #include <X11/xpm.h> | 5905 #include <X11/xpm.h> |
| 5870 int main(int c, char **v) { | 5906 int main(int c, char **v) { |
| 5871 return c == 1 ? 0 : | 5907 return c == 1 ? 0 : |
| 5872 XpmIncludeVersion != XpmLibraryVersion() ? 1 : | 5908 XpmIncludeVersion != XpmLibraryVersion() ? 1 : |
| 5873 XpmIncludeVersion < 30406 ? 2 : | 5909 XpmIncludeVersion < 30406 ? 2 : |
| 5874 0 ; | 5910 0 ; |
| 5875 } | 5911 } |
| 5876 EOF | 5912 EOF |
| 5877 if { (eval echo configure:5878: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 | 5913 if { (eval echo configure:5914: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 |
| 5878 then | 5914 then |
| 5879 ./conftest foobar; xpm_status=$?; | 5915 ./conftest foobar; xpm_status=$?; |
| 5880 if test "$xpm_status" = "0"; then with_xpm=yes; else with_xpm=no; fi; | 5916 if test "$xpm_status" = "0"; then with_xpm=yes; else with_xpm=no; fi; |
| 5881 else | 5917 else |
| 5882 echo "configure: failed program was:" >&5 | 5918 echo "configure: failed program was:" >&5 |
| 5910 libs_x="-lXpm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXpm\" to \$libs_x"; fi | 5946 libs_x="-lXpm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXpm\" to \$libs_x"; fi |
| 5911 fi | 5947 fi |
| 5912 | 5948 |
| 5913 test -z "$with_xface" && { ac_safe=`echo "compface.h" | sed 'y%./+-%__p_%'` | 5949 test -z "$with_xface" && { ac_safe=`echo "compface.h" | sed 'y%./+-%__p_%'` |
| 5914 echo $ac_n "checking for compface.h""... $ac_c" 1>&6 | 5950 echo $ac_n "checking for compface.h""... $ac_c" 1>&6 |
| 5915 echo "configure:5916: checking for compface.h" >&5 | 5951 echo "configure:5952: checking for compface.h" >&5 |
| 5916 | 5952 |
| 5917 cat > conftest.$ac_ext <<EOF | 5953 cat > conftest.$ac_ext <<EOF |
| 5918 #line 5919 "configure" | 5954 #line 5955 "configure" |
| 5919 #include "confdefs.h" | 5955 #include "confdefs.h" |
| 5920 #include <compface.h> | 5956 #include <compface.h> |
| 5921 EOF | 5957 EOF |
| 5922 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 5958 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 5923 { (eval echo configure:5924: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 5959 { (eval echo configure:5960: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 5924 ac_err=`grep -v '^ *+' conftest.out` | 5960 ac_err=`grep -v '^ *+' conftest.out` |
| 5925 if test -z "$ac_err"; then | 5961 if test -z "$ac_err"; then |
| 5926 rm -rf conftest* | 5962 rm -rf conftest* |
| 5927 eval "ac_cv_header_$ac_safe=yes" | 5963 eval "ac_cv_header_$ac_safe=yes" |
| 5928 else | 5964 else |
| 5941 with_xface=no | 5977 with_xface=no |
| 5942 fi | 5978 fi |
| 5943 } | 5979 } |
| 5944 test -z "$with_xface" && { | 5980 test -z "$with_xface" && { |
| 5945 echo $ac_n "checking for UnGenFace in -lcompface""... $ac_c" 1>&6 | 5981 echo $ac_n "checking for UnGenFace in -lcompface""... $ac_c" 1>&6 |
| 5946 echo "configure:5947: checking for UnGenFace in -lcompface" >&5 | 5982 echo "configure:5983: checking for UnGenFace in -lcompface" >&5 |
| 5947 ac_lib_var=`echo compface'_'UnGenFace | sed 'y%./+-%__p_%'` | 5983 ac_lib_var=`echo compface'_'UnGenFace | sed 'y%./+-%__p_%'` |
| 5948 | 5984 |
| 5949 xe_check_libs=" -lcompface " | 5985 xe_check_libs=" -lcompface " |
| 5950 cat > conftest.$ac_ext <<EOF | 5986 cat > conftest.$ac_ext <<EOF |
| 5951 #line 5952 "configure" | 5987 #line 5988 "configure" |
| 5952 #include "confdefs.h" | 5988 #include "confdefs.h" |
| 5953 /* Override any gcc2 internal prototype to avoid an error. */ | 5989 /* Override any gcc2 internal prototype to avoid an error. */ |
| 5954 /* We use char because int might match the return type of a gcc2 | 5990 /* We use char because int might match the return type of a gcc2 |
| 5955 builtin and then its argument prototype would still apply. */ | 5991 builtin and then its argument prototype would still apply. */ |
| 5956 char UnGenFace(); | 5992 char UnGenFace(); |
| 5957 | 5993 |
| 5958 int main() { | 5994 int main() { |
| 5959 UnGenFace() | 5995 UnGenFace() |
| 5960 ; return 0; } | 5996 ; return 0; } |
| 5961 EOF | 5997 EOF |
| 5962 if { (eval echo configure:5963: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 5998 if { (eval echo configure:5999: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 5963 rm -rf conftest* | 5999 rm -rf conftest* |
| 5964 eval "ac_cv_lib_$ac_lib_var=yes" | 6000 eval "ac_cv_lib_$ac_lib_var=yes" |
| 5965 else | 6001 else |
| 5966 echo "configure: failed program was:" >&5 | 6002 echo "configure: failed program was:" >&5 |
| 5967 cat conftest.$ac_ext >&5 | 6003 cat conftest.$ac_ext >&5 |
| 5993 libs_x="-lcompface $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lcompface\" to \$libs_x"; fi | 6029 libs_x="-lcompface $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lcompface\" to \$libs_x"; fi |
| 5994 fi | 6030 fi |
| 5995 | 6031 |
| 5996 test -z "$with_jpeg" && { ac_safe=`echo "jpeglib.h" | sed 'y%./+-%__p_%'` | 6032 test -z "$with_jpeg" && { ac_safe=`echo "jpeglib.h" | sed 'y%./+-%__p_%'` |
| 5997 echo $ac_n "checking for jpeglib.h""... $ac_c" 1>&6 | 6033 echo $ac_n "checking for jpeglib.h""... $ac_c" 1>&6 |
| 5998 echo "configure:5999: checking for jpeglib.h" >&5 | 6034 echo "configure:6035: checking for jpeglib.h" >&5 |
| 5999 | 6035 |
| 6000 cat > conftest.$ac_ext <<EOF | 6036 cat > conftest.$ac_ext <<EOF |
| 6001 #line 6002 "configure" | 6037 #line 6038 "configure" |
| 6002 #include "confdefs.h" | 6038 #include "confdefs.h" |
| 6003 #include <jpeglib.h> | 6039 #include <jpeglib.h> |
| 6004 EOF | 6040 EOF |
| 6005 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6041 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 6006 { (eval echo configure:6007: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6042 { (eval echo configure:6043: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 6007 ac_err=`grep -v '^ *+' conftest.out` | 6043 ac_err=`grep -v '^ *+' conftest.out` |
| 6008 if test -z "$ac_err"; then | 6044 if test -z "$ac_err"; then |
| 6009 rm -rf conftest* | 6045 rm -rf conftest* |
| 6010 eval "ac_cv_header_$ac_safe=yes" | 6046 eval "ac_cv_header_$ac_safe=yes" |
| 6011 else | 6047 else |
| 6024 with_jpeg=no | 6060 with_jpeg=no |
| 6025 fi | 6061 fi |
| 6026 } | 6062 } |
| 6027 test -z "$with_jpeg" && { | 6063 test -z "$with_jpeg" && { |
| 6028 echo $ac_n "checking for jpeg_destroy_decompress in -ljpeg""... $ac_c" 1>&6 | 6064 echo $ac_n "checking for jpeg_destroy_decompress in -ljpeg""... $ac_c" 1>&6 |
| 6029 echo "configure:6030: checking for jpeg_destroy_decompress in -ljpeg" >&5 | 6065 echo "configure:6066: checking for jpeg_destroy_decompress in -ljpeg" >&5 |
| 6030 ac_lib_var=`echo jpeg'_'jpeg_destroy_decompress | sed 'y%./+-%__p_%'` | 6066 ac_lib_var=`echo jpeg'_'jpeg_destroy_decompress | sed 'y%./+-%__p_%'` |
| 6031 | 6067 |
| 6032 xe_check_libs=" -ljpeg " | 6068 xe_check_libs=" -ljpeg " |
| 6033 cat > conftest.$ac_ext <<EOF | 6069 cat > conftest.$ac_ext <<EOF |
| 6034 #line 6035 "configure" | 6070 #line 6071 "configure" |
| 6035 #include "confdefs.h" | 6071 #include "confdefs.h" |
| 6036 /* Override any gcc2 internal prototype to avoid an error. */ | 6072 /* Override any gcc2 internal prototype to avoid an error. */ |
| 6037 /* We use char because int might match the return type of a gcc2 | 6073 /* We use char because int might match the return type of a gcc2 |
| 6038 builtin and then its argument prototype would still apply. */ | 6074 builtin and then its argument prototype would still apply. */ |
| 6039 char jpeg_destroy_decompress(); | 6075 char jpeg_destroy_decompress(); |
| 6040 | 6076 |
| 6041 int main() { | 6077 int main() { |
| 6042 jpeg_destroy_decompress() | 6078 jpeg_destroy_decompress() |
| 6043 ; return 0; } | 6079 ; return 0; } |
| 6044 EOF | 6080 EOF |
| 6045 if { (eval echo configure:6046: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 6081 if { (eval echo configure:6082: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 6046 rm -rf conftest* | 6082 rm -rf conftest* |
| 6047 eval "ac_cv_lib_$ac_lib_var=yes" | 6083 eval "ac_cv_lib_$ac_lib_var=yes" |
| 6048 else | 6084 else |
| 6049 echo "configure: failed program was:" >&5 | 6085 echo "configure: failed program was:" >&5 |
| 6050 cat conftest.$ac_ext >&5 | 6086 cat conftest.$ac_ext >&5 |
| 6076 libs_x="-ljpeg $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-ljpeg\" to \$libs_x"; fi | 6112 libs_x="-ljpeg $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-ljpeg\" to \$libs_x"; fi |
| 6077 fi | 6113 fi |
| 6078 | 6114 |
| 6079 test -z "$with_png" && { ac_safe=`echo "png.h" | sed 'y%./+-%__p_%'` | 6115 test -z "$with_png" && { ac_safe=`echo "png.h" | sed 'y%./+-%__p_%'` |
| 6080 echo $ac_n "checking for png.h""... $ac_c" 1>&6 | 6116 echo $ac_n "checking for png.h""... $ac_c" 1>&6 |
| 6081 echo "configure:6082: checking for png.h" >&5 | 6117 echo "configure:6118: checking for png.h" >&5 |
| 6082 | 6118 |
| 6083 cat > conftest.$ac_ext <<EOF | 6119 cat > conftest.$ac_ext <<EOF |
| 6084 #line 6085 "configure" | 6120 #line 6121 "configure" |
| 6085 #include "confdefs.h" | 6121 #include "confdefs.h" |
| 6086 #include <png.h> | 6122 #include <png.h> |
| 6087 EOF | 6123 EOF |
| 6088 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6124 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 6089 { (eval echo configure:6090: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6125 { (eval echo configure:6126: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 6090 ac_err=`grep -v '^ *+' conftest.out` | 6126 ac_err=`grep -v '^ *+' conftest.out` |
| 6091 if test -z "$ac_err"; then | 6127 if test -z "$ac_err"; then |
| 6092 rm -rf conftest* | 6128 rm -rf conftest* |
| 6093 eval "ac_cv_header_$ac_safe=yes" | 6129 eval "ac_cv_header_$ac_safe=yes" |
| 6094 else | 6130 else |
| 6106 echo "$ac_t""no" 1>&6 | 6142 echo "$ac_t""no" 1>&6 |
| 6107 with_png=no | 6143 with_png=no |
| 6108 fi | 6144 fi |
| 6109 } | 6145 } |
| 6110 test -z "$with_png" && { echo $ac_n "checking for pow""... $ac_c" 1>&6 | 6146 test -z "$with_png" && { echo $ac_n "checking for pow""... $ac_c" 1>&6 |
| 6111 echo "configure:6112: checking for pow" >&5 | 6147 echo "configure:6148: checking for pow" >&5 |
| 6112 | 6148 |
| 6113 cat > conftest.$ac_ext <<EOF | 6149 cat > conftest.$ac_ext <<EOF |
| 6114 #line 6115 "configure" | 6150 #line 6151 "configure" |
| 6115 #include "confdefs.h" | 6151 #include "confdefs.h" |
| 6116 /* System header to define __stub macros and hopefully few prototypes, | 6152 /* System header to define __stub macros and hopefully few prototypes, |
| 6117 which can conflict with char pow(); below. */ | 6153 which can conflict with char pow(); below. */ |
| 6118 #include <assert.h> | 6154 #include <assert.h> |
| 6119 /* Override any gcc2 internal prototype to avoid an error. */ | 6155 /* Override any gcc2 internal prototype to avoid an error. */ |
| 6132 pow(); | 6168 pow(); |
| 6133 #endif | 6169 #endif |
| 6134 | 6170 |
| 6135 ; return 0; } | 6171 ; return 0; } |
| 6136 EOF | 6172 EOF |
| 6137 if { (eval echo configure:6138: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 6173 if { (eval echo configure:6174: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 6138 rm -rf conftest* | 6174 rm -rf conftest* |
| 6139 eval "ac_cv_func_pow=yes" | 6175 eval "ac_cv_func_pow=yes" |
| 6140 else | 6176 else |
| 6141 echo "configure: failed program was:" >&5 | 6177 echo "configure: failed program was:" >&5 |
| 6142 cat conftest.$ac_ext >&5 | 6178 cat conftest.$ac_ext >&5 |
| 6157 for extra_libs in "" "-lz" "-lgz"; do | 6193 for extra_libs in "" "-lz" "-lgz"; do |
| 6158 | 6194 |
| 6159 xe_msg_checking="for png_read_image in -lpng" | 6195 xe_msg_checking="for png_read_image in -lpng" |
| 6160 test -n "$extra_libs" && xe_msg_checking="$xe_msg_checking using extra libs $extra_libs" | 6196 test -n "$extra_libs" && xe_msg_checking="$xe_msg_checking using extra libs $extra_libs" |
| 6161 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 6197 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
| 6162 echo "configure:6163: checking "$xe_msg_checking"" >&5 | 6198 echo "configure:6199: checking "$xe_msg_checking"" >&5 |
| 6163 ac_lib_var=`echo png'_'png_read_image | sed 'y%./+-%__p_%'` | 6199 ac_lib_var=`echo png'_'png_read_image | sed 'y%./+-%__p_%'` |
| 6164 | 6200 |
| 6165 xe_check_libs=" -lpng $extra_libs" | 6201 xe_check_libs=" -lpng $extra_libs" |
| 6166 cat > conftest.$ac_ext <<EOF | 6202 cat > conftest.$ac_ext <<EOF |
| 6167 #line 6168 "configure" | 6203 #line 6204 "configure" |
| 6168 #include "confdefs.h" | 6204 #include "confdefs.h" |
| 6169 /* Override any gcc2 internal prototype to avoid an error. */ | 6205 /* Override any gcc2 internal prototype to avoid an error. */ |
| 6170 /* We use char because int might match the return type of a gcc2 | 6206 /* We use char because int might match the return type of a gcc2 |
| 6171 builtin and then its argument prototype would still apply. */ | 6207 builtin and then its argument prototype would still apply. */ |
| 6172 char png_read_image(); | 6208 char png_read_image(); |
| 6173 | 6209 |
| 6174 int main() { | 6210 int main() { |
| 6175 png_read_image() | 6211 png_read_image() |
| 6176 ; return 0; } | 6212 ; return 0; } |
| 6177 EOF | 6213 EOF |
| 6178 if { (eval echo configure:6179: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 6214 if { (eval echo configure:6215: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 6179 rm -rf conftest* | 6215 rm -rf conftest* |
| 6180 eval "ac_cv_lib_$ac_lib_var=yes" | 6216 eval "ac_cv_lib_$ac_lib_var=yes" |
| 6181 else | 6217 else |
| 6182 echo "configure: failed program was:" >&5 | 6218 echo "configure: failed program was:" >&5 |
| 6183 cat conftest.$ac_ext >&5 | 6219 cat conftest.$ac_ext >&5 |
| 6223 libs_x="-ltiff $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-ltiff\" to \$libs_x"; fi | 6259 libs_x="-ltiff $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-ltiff\" to \$libs_x"; fi |
| 6224 fi | 6260 fi |
| 6225 | 6261 |
| 6226 ac_safe=`echo "Xm/Xm.h" | sed 'y%./+-%__p_%'` | 6262 ac_safe=`echo "Xm/Xm.h" | sed 'y%./+-%__p_%'` |
| 6227 echo $ac_n "checking for Xm/Xm.h""... $ac_c" 1>&6 | 6263 echo $ac_n "checking for Xm/Xm.h""... $ac_c" 1>&6 |
| 6228 echo "configure:6229: checking for Xm/Xm.h" >&5 | 6264 echo "configure:6265: checking for Xm/Xm.h" >&5 |
| 6229 | 6265 |
| 6230 cat > conftest.$ac_ext <<EOF | 6266 cat > conftest.$ac_ext <<EOF |
| 6231 #line 6232 "configure" | 6267 #line 6268 "configure" |
| 6232 #include "confdefs.h" | 6268 #include "confdefs.h" |
| 6233 #include <Xm/Xm.h> | 6269 #include <Xm/Xm.h> |
| 6234 EOF | 6270 EOF |
| 6235 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6271 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 6236 { (eval echo configure:6237: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6272 { (eval echo configure:6273: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 6237 ac_err=`grep -v '^ *+' conftest.out` | 6273 ac_err=`grep -v '^ *+' conftest.out` |
| 6238 if test -z "$ac_err"; then | 6274 if test -z "$ac_err"; then |
| 6239 rm -rf conftest* | 6275 rm -rf conftest* |
| 6240 eval "ac_cv_header_$ac_safe=yes" | 6276 eval "ac_cv_header_$ac_safe=yes" |
| 6241 else | 6277 else |
| 6248 rm -f conftest* | 6284 rm -f conftest* |
| 6249 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 6285 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
| 6250 echo "$ac_t""yes" 1>&6 | 6286 echo "$ac_t""yes" 1>&6 |
| 6251 | 6287 |
| 6252 echo $ac_n "checking for XmStringFree in -lXm""... $ac_c" 1>&6 | 6288 echo $ac_n "checking for XmStringFree in -lXm""... $ac_c" 1>&6 |
| 6253 echo "configure:6254: checking for XmStringFree in -lXm" >&5 | 6289 echo "configure:6290: checking for XmStringFree in -lXm" >&5 |
| 6254 ac_lib_var=`echo Xm'_'XmStringFree | sed 'y%./+-%__p_%'` | 6290 ac_lib_var=`echo Xm'_'XmStringFree | sed 'y%./+-%__p_%'` |
| 6255 | 6291 |
| 6256 xe_check_libs=" -lXm " | 6292 xe_check_libs=" -lXm " |
| 6257 cat > conftest.$ac_ext <<EOF | 6293 cat > conftest.$ac_ext <<EOF |
| 6258 #line 6259 "configure" | 6294 #line 6295 "configure" |
| 6259 #include "confdefs.h" | 6295 #include "confdefs.h" |
| 6260 /* Override any gcc2 internal prototype to avoid an error. */ | 6296 /* Override any gcc2 internal prototype to avoid an error. */ |
| 6261 /* We use char because int might match the return type of a gcc2 | 6297 /* We use char because int might match the return type of a gcc2 |
| 6262 builtin and then its argument prototype would still apply. */ | 6298 builtin and then its argument prototype would still apply. */ |
| 6263 char XmStringFree(); | 6299 char XmStringFree(); |
| 6264 | 6300 |
| 6265 int main() { | 6301 int main() { |
| 6266 XmStringFree() | 6302 XmStringFree() |
| 6267 ; return 0; } | 6303 ; return 0; } |
| 6268 EOF | 6304 EOF |
| 6269 if { (eval echo configure:6270: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 6305 if { (eval echo configure:6306: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 6270 rm -rf conftest* | 6306 rm -rf conftest* |
| 6271 eval "ac_cv_lib_$ac_lib_var=yes" | 6307 eval "ac_cv_lib_$ac_lib_var=yes" |
| 6272 else | 6308 else |
| 6273 echo "configure: failed program was:" >&5 | 6309 echo "configure: failed program was:" >&5 |
| 6274 cat conftest.$ac_ext >&5 | 6310 cat conftest.$ac_ext >&5 |
| 6512 | 6548 |
| 6513 test -z "$with_mule" && with_mule=no | 6549 test -z "$with_mule" && with_mule=no |
| 6514 | 6550 |
| 6515 if test "$with_mule" = "yes" ; then | 6551 if test "$with_mule" = "yes" ; then |
| 6516 echo "checking for Mule-related features" 1>&6 | 6552 echo "checking for Mule-related features" 1>&6 |
| 6517 echo "configure:6518: checking for Mule-related features" >&5 | 6553 echo "configure:6554: checking for Mule-related features" >&5 |
| 6518 { test "$extra_verbose" = "yes" && cat << \EOF | 6554 { test "$extra_verbose" = "yes" && cat << \EOF |
| 6519 Defining MULE | 6555 Defining MULE |
| 6520 EOF | 6556 EOF |
| 6521 cat >> confdefs.h <<\EOF | 6557 cat >> confdefs.h <<\EOF |
| 6522 #define MULE 1 | 6558 #define MULE 1 |
| 6529 | 6565 |
| 6530 for ac_hdr in libintl.h | 6566 for ac_hdr in libintl.h |
| 6531 do | 6567 do |
| 6532 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 6568 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
| 6533 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 6569 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
| 6534 echo "configure:6535: checking for $ac_hdr" >&5 | 6570 echo "configure:6571: checking for $ac_hdr" >&5 |
| 6535 | 6571 |
| 6536 cat > conftest.$ac_ext <<EOF | 6572 cat > conftest.$ac_ext <<EOF |
| 6537 #line 6538 "configure" | 6573 #line 6574 "configure" |
| 6538 #include "confdefs.h" | 6574 #include "confdefs.h" |
| 6539 #include <$ac_hdr> | 6575 #include <$ac_hdr> |
| 6540 EOF | 6576 EOF |
| 6541 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6577 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 6542 { (eval echo configure:6543: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6578 { (eval echo configure:6579: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 6543 ac_err=`grep -v '^ *+' conftest.out` | 6579 ac_err=`grep -v '^ *+' conftest.out` |
| 6544 if test -z "$ac_err"; then | 6580 if test -z "$ac_err"; then |
| 6545 rm -rf conftest* | 6581 rm -rf conftest* |
| 6546 eval "ac_cv_header_$ac_safe=yes" | 6582 eval "ac_cv_header_$ac_safe=yes" |
| 6547 else | 6583 else |
| 6568 fi | 6604 fi |
| 6569 done | 6605 done |
| 6570 | 6606 |
| 6571 | 6607 |
| 6572 echo $ac_n "checking for strerror in -lintl""... $ac_c" 1>&6 | 6608 echo $ac_n "checking for strerror in -lintl""... $ac_c" 1>&6 |
| 6573 echo "configure:6574: checking for strerror in -lintl" >&5 | 6609 echo "configure:6610: checking for strerror in -lintl" >&5 |
| 6574 ac_lib_var=`echo intl'_'strerror | sed 'y%./+-%__p_%'` | 6610 ac_lib_var=`echo intl'_'strerror | sed 'y%./+-%__p_%'` |
| 6575 | 6611 |
| 6576 xe_check_libs=" -lintl " | 6612 xe_check_libs=" -lintl " |
| 6577 cat > conftest.$ac_ext <<EOF | 6613 cat > conftest.$ac_ext <<EOF |
| 6578 #line 6579 "configure" | 6614 #line 6615 "configure" |
| 6579 #include "confdefs.h" | 6615 #include "confdefs.h" |
| 6580 /* Override any gcc2 internal prototype to avoid an error. */ | 6616 /* Override any gcc2 internal prototype to avoid an error. */ |
| 6581 /* We use char because int might match the return type of a gcc2 | 6617 /* We use char because int might match the return type of a gcc2 |
| 6582 builtin and then its argument prototype would still apply. */ | 6618 builtin and then its argument prototype would still apply. */ |
| 6583 char strerror(); | 6619 char strerror(); |
| 6584 | 6620 |
| 6585 int main() { | 6621 int main() { |
| 6586 strerror() | 6622 strerror() |
| 6587 ; return 0; } | 6623 ; return 0; } |
| 6588 EOF | 6624 EOF |
| 6589 if { (eval echo configure:6590: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 6625 if { (eval echo configure:6626: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 6590 rm -rf conftest* | 6626 rm -rf conftest* |
| 6591 eval "ac_cv_lib_$ac_lib_var=yes" | 6627 eval "ac_cv_lib_$ac_lib_var=yes" |
| 6592 else | 6628 else |
| 6593 echo "configure: failed program was:" >&5 | 6629 echo "configure: failed program was:" >&5 |
| 6594 cat conftest.$ac_ext >&5 | 6630 cat conftest.$ac_ext >&5 |
| 6617 fi | 6653 fi |
| 6618 | 6654 |
| 6619 | 6655 |
| 6620 | 6656 |
| 6621 echo "checking for Mule input methods" 1>&6 | 6657 echo "checking for Mule input methods" 1>&6 |
| 6622 echo "configure:6623: checking for Mule input methods" >&5 | 6658 echo "configure:6659: checking for Mule input methods" >&5 |
| 6623 test -z "$with_xim" -a "$opsys" != "sol2" && with_xim=no | 6659 test -z "$with_xim" -a "$opsys" != "sol2" && with_xim=no |
| 6624 case "$with_xim" in "" | "yes" ) | 6660 case "$with_xim" in "" | "yes" ) |
| 6625 echo "checking for XIM" 1>&6 | 6661 echo "checking for XIM" 1>&6 |
| 6626 echo "configure:6627: checking for XIM" >&5 | 6662 echo "configure:6663: checking for XIM" >&5 |
| 6627 | 6663 |
| 6628 echo $ac_n "checking for XmImMbLookupString in -lXm""... $ac_c" 1>&6 | 6664 echo $ac_n "checking for XmImMbLookupString in -lXm""... $ac_c" 1>&6 |
| 6629 echo "configure:6630: checking for XmImMbLookupString in -lXm" >&5 | 6665 echo "configure:6666: checking for XmImMbLookupString in -lXm" >&5 |
| 6630 ac_lib_var=`echo Xm'_'XmImMbLookupString | sed 'y%./+-%__p_%'` | 6666 ac_lib_var=`echo Xm'_'XmImMbLookupString | sed 'y%./+-%__p_%'` |
| 6631 | 6667 |
| 6632 xe_check_libs=" -lXm " | 6668 xe_check_libs=" -lXm " |
| 6633 cat > conftest.$ac_ext <<EOF | 6669 cat > conftest.$ac_ext <<EOF |
| 6634 #line 6635 "configure" | 6670 #line 6671 "configure" |
| 6635 #include "confdefs.h" | 6671 #include "confdefs.h" |
| 6636 /* Override any gcc2 internal prototype to avoid an error. */ | 6672 /* Override any gcc2 internal prototype to avoid an error. */ |
| 6637 /* We use char because int might match the return type of a gcc2 | 6673 /* We use char because int might match the return type of a gcc2 |
| 6638 builtin and then its argument prototype would still apply. */ | 6674 builtin and then its argument prototype would still apply. */ |
| 6639 char XmImMbLookupString(); | 6675 char XmImMbLookupString(); |
| 6640 | 6676 |
| 6641 int main() { | 6677 int main() { |
| 6642 XmImMbLookupString() | 6678 XmImMbLookupString() |
| 6643 ; return 0; } | 6679 ; return 0; } |
| 6644 EOF | 6680 EOF |
| 6645 if { (eval echo configure:6646: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 6681 if { (eval echo configure:6682: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 6646 rm -rf conftest* | 6682 rm -rf conftest* |
| 6647 eval "ac_cv_lib_$ac_lib_var=yes" | 6683 eval "ac_cv_lib_$ac_lib_var=yes" |
| 6648 else | 6684 else |
| 6649 echo "configure: failed program was:" >&5 | 6685 echo "configure: failed program was:" >&5 |
| 6650 cat conftest.$ac_ext >&5 | 6686 cat conftest.$ac_ext >&5 |
| 6702 fi | 6738 fi |
| 6703 fi | 6739 fi |
| 6704 test "$with_wnn6" = "yes" && with_wnn=yes # wnn6 implies wnn support | 6740 test "$with_wnn6" = "yes" && with_wnn=yes # wnn6 implies wnn support |
| 6705 test -z "$with_wnn" && { ac_safe=`echo "wnn/jllib.h" | sed 'y%./+-%__p_%'` | 6741 test -z "$with_wnn" && { ac_safe=`echo "wnn/jllib.h" | sed 'y%./+-%__p_%'` |
| 6706 echo $ac_n "checking for wnn/jllib.h""... $ac_c" 1>&6 | 6742 echo $ac_n "checking for wnn/jllib.h""... $ac_c" 1>&6 |
| 6707 echo "configure:6708: checking for wnn/jllib.h" >&5 | 6743 echo "configure:6744: checking for wnn/jllib.h" >&5 |
| 6708 | 6744 |
| 6709 cat > conftest.$ac_ext <<EOF | 6745 cat > conftest.$ac_ext <<EOF |
| 6710 #line 6711 "configure" | 6746 #line 6747 "configure" |
| 6711 #include "confdefs.h" | 6747 #include "confdefs.h" |
| 6712 #include <wnn/jllib.h> | 6748 #include <wnn/jllib.h> |
| 6713 EOF | 6749 EOF |
| 6714 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6750 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 6715 { (eval echo configure:6716: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6751 { (eval echo configure:6752: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 6716 ac_err=`grep -v '^ *+' conftest.out` | 6752 ac_err=`grep -v '^ *+' conftest.out` |
| 6717 if test -z "$ac_err"; then | 6753 if test -z "$ac_err"; then |
| 6718 rm -rf conftest* | 6754 rm -rf conftest* |
| 6719 eval "ac_cv_header_$ac_safe=yes" | 6755 eval "ac_cv_header_$ac_safe=yes" |
| 6720 else | 6756 else |
| 6731 else | 6767 else |
| 6732 echo "$ac_t""no" 1>&6 | 6768 echo "$ac_t""no" 1>&6 |
| 6733 with_wnn=no | 6769 with_wnn=no |
| 6734 fi | 6770 fi |
| 6735 } | 6771 } |
| 6736 test -z "$with_wnn" && { | 6772 if test "$with_wnn" != "no"; then |
| 6773 for ac_func in crypt | |
| 6774 do | |
| 6775 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | |
| 6776 echo "configure:6777: checking for $ac_func" >&5 | |
| 6777 | |
| 6778 cat > conftest.$ac_ext <<EOF | |
| 6779 #line 6780 "configure" | |
| 6780 #include "confdefs.h" | |
| 6781 /* System header to define __stub macros and hopefully few prototypes, | |
| 6782 which can conflict with char $ac_func(); below. */ | |
| 6783 #include <assert.h> | |
| 6784 /* Override any gcc2 internal prototype to avoid an error. */ | |
| 6785 /* We use char because int might match the return type of a gcc2 | |
| 6786 builtin and then its argument prototype would still apply. */ | |
| 6787 char $ac_func(); | |
| 6788 | |
| 6789 int main() { | |
| 6790 | |
| 6791 /* The GNU C library defines this for functions which it implements | |
| 6792 to always fail with ENOSYS. Some functions are actually named | |
| 6793 something starting with __ and the normal name is an alias. */ | |
| 6794 #if defined (__stub_$ac_func) || defined (__stub___$ac_func) | |
| 6795 choke me | |
| 6796 #else | |
| 6797 $ac_func(); | |
| 6798 #endif | |
| 6799 | |
| 6800 ; return 0; } | |
| 6801 EOF | |
| 6802 if { (eval echo configure:6803: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | |
| 6803 rm -rf conftest* | |
| 6804 eval "ac_cv_func_$ac_func=yes" | |
| 6805 else | |
| 6806 echo "configure: failed program was:" >&5 | |
| 6807 cat conftest.$ac_ext >&5 | |
| 6808 rm -rf conftest* | |
| 6809 eval "ac_cv_func_$ac_func=no" | |
| 6810 fi | |
| 6811 rm -f conftest* | |
| 6812 | |
| 6813 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then | |
| 6814 echo "$ac_t""yes" 1>&6 | |
| 6815 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'` | |
| 6816 { test "$extra_verbose" = "yes" && cat << EOF | |
| 6817 Defining $ac_tr_func | |
| 6818 EOF | |
| 6819 cat >> confdefs.h <<EOF | |
| 6820 #define $ac_tr_func 1 | |
| 6821 EOF | |
| 6822 } | |
| 6823 | |
| 6824 else | |
| 6825 echo "$ac_t""no" 1>&6 | |
| 6826 fi | |
| 6827 done | |
| 6828 | |
| 6829 test "$ac_cv_func_crypt" != "yes" && { | |
| 6830 echo $ac_n "checking for crypt in -lcrypt""... $ac_c" 1>&6 | |
| 6831 echo "configure:6832: checking for crypt in -lcrypt" >&5 | |
| 6832 ac_lib_var=`echo crypt'_'crypt | sed 'y%./+-%__p_%'` | |
| 6833 | |
| 6834 xe_check_libs=" -lcrypt " | |
| 6835 cat > conftest.$ac_ext <<EOF | |
| 6836 #line 6837 "configure" | |
| 6837 #include "confdefs.h" | |
| 6838 /* Override any gcc2 internal prototype to avoid an error. */ | |
| 6839 /* We use char because int might match the return type of a gcc2 | |
| 6840 builtin and then its argument prototype would still apply. */ | |
| 6841 char crypt(); | |
| 6842 | |
| 6843 int main() { | |
| 6844 crypt() | |
| 6845 ; return 0; } | |
| 6846 EOF | |
| 6847 if { (eval echo configure:6848: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | |
| 6848 rm -rf conftest* | |
| 6849 eval "ac_cv_lib_$ac_lib_var=yes" | |
| 6850 else | |
| 6851 echo "configure: failed program was:" >&5 | |
| 6852 cat conftest.$ac_ext >&5 | |
| 6853 rm -rf conftest* | |
| 6854 eval "ac_cv_lib_$ac_lib_var=no" | |
| 6855 fi | |
| 6856 rm -f conftest* | |
| 6857 xe_check_libs="" | |
| 6858 | |
| 6859 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes" ; then | |
| 6860 echo "$ac_t""yes" 1>&6 | |
| 6861 ac_tr_lib=HAVE_LIB`echo crypt | sed -e 's/[^a-zA-Z0-9_]/_/g' \ | |
| 6862 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'` | |
| 6863 { test "$extra_verbose" = "yes" && cat << EOF | |
| 6864 Defining $ac_tr_lib | |
| 6865 EOF | |
| 6866 cat >> confdefs.h <<EOF | |
| 6867 #define $ac_tr_lib 1 | |
| 6868 EOF | |
| 6869 } | |
| 6870 | |
| 6871 LIBS="-lcrypt $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lcrypt\" to \$LIBS"; fi | |
| 6872 | |
| 6873 else | |
| 6874 echo "$ac_t""no" 1>&6 | |
| 6875 fi | |
| 6876 | |
| 6877 } | |
| 6878 fi | |
| 6879 test -z "$with_wnn" && { | |
| 6737 echo $ac_n "checking for jl_dic_list_e in -lwnn""... $ac_c" 1>&6 | 6880 echo $ac_n "checking for jl_dic_list_e in -lwnn""... $ac_c" 1>&6 |
| 6738 echo "configure:6739: checking for jl_dic_list_e in -lwnn" >&5 | 6881 echo "configure:6882: checking for jl_dic_list_e in -lwnn" >&5 |
| 6739 ac_lib_var=`echo wnn'_'jl_dic_list_e | sed 'y%./+-%__p_%'` | 6882 ac_lib_var=`echo wnn'_'jl_dic_list_e | sed 'y%./+-%__p_%'` |
| 6740 | 6883 |
| 6741 xe_check_libs=" -lwnn " | 6884 xe_check_libs=" -lwnn " |
| 6742 cat > conftest.$ac_ext <<EOF | 6885 cat > conftest.$ac_ext <<EOF |
| 6743 #line 6744 "configure" | 6886 #line 6887 "configure" |
| 6744 #include "confdefs.h" | 6887 #include "confdefs.h" |
| 6745 /* Override any gcc2 internal prototype to avoid an error. */ | 6888 /* Override any gcc2 internal prototype to avoid an error. */ |
| 6746 /* We use char because int might match the return type of a gcc2 | 6889 /* We use char because int might match the return type of a gcc2 |
| 6747 builtin and then its argument prototype would still apply. */ | 6890 builtin and then its argument prototype would still apply. */ |
| 6748 char jl_dic_list_e(); | 6891 char jl_dic_list_e(); |
| 6749 | 6892 |
| 6750 int main() { | 6893 int main() { |
| 6751 jl_dic_list_e() | 6894 jl_dic_list_e() |
| 6752 ; return 0; } | 6895 ; return 0; } |
| 6753 EOF | 6896 EOF |
| 6754 if { (eval echo configure:6755: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 6897 if { (eval echo configure:6898: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 6755 rm -rf conftest* | 6898 rm -rf conftest* |
| 6756 eval "ac_cv_lib_$ac_lib_var=yes" | 6899 eval "ac_cv_lib_$ac_lib_var=yes" |
| 6757 else | 6900 else |
| 6758 echo "configure: failed program was:" >&5 | 6901 echo "configure: failed program was:" >&5 |
| 6759 cat conftest.$ac_ext >&5 | 6902 cat conftest.$ac_ext >&5 |
| 6786 extra_objs="$extra_objs mule-wnnfns.o" && if test "$extra_verbose" = "yes"; then | 6929 extra_objs="$extra_objs mule-wnnfns.o" && if test "$extra_verbose" = "yes"; then |
| 6787 echo " xemacs will be linked with \"mule-wnnfns.o\"" | 6930 echo " xemacs will be linked with \"mule-wnnfns.o\"" |
| 6788 fi | 6931 fi |
| 6789 | 6932 |
| 6790 echo $ac_n "checking for jl_fi_dic_list in -lwnn""... $ac_c" 1>&6 | 6933 echo $ac_n "checking for jl_fi_dic_list in -lwnn""... $ac_c" 1>&6 |
| 6791 echo "configure:6792: checking for jl_fi_dic_list in -lwnn" >&5 | 6934 echo "configure:6935: checking for jl_fi_dic_list in -lwnn" >&5 |
| 6792 ac_lib_var=`echo wnn'_'jl_fi_dic_list | sed 'y%./+-%__p_%'` | 6935 ac_lib_var=`echo wnn'_'jl_fi_dic_list | sed 'y%./+-%__p_%'` |
| 6793 | 6936 |
| 6794 xe_check_libs=" -lwnn " | 6937 xe_check_libs=" -lwnn " |
| 6795 cat > conftest.$ac_ext <<EOF | 6938 cat > conftest.$ac_ext <<EOF |
| 6796 #line 6797 "configure" | 6939 #line 6940 "configure" |
| 6797 #include "confdefs.h" | 6940 #include "confdefs.h" |
| 6798 /* Override any gcc2 internal prototype to avoid an error. */ | 6941 /* Override any gcc2 internal prototype to avoid an error. */ |
| 6799 /* We use char because int might match the return type of a gcc2 | 6942 /* We use char because int might match the return type of a gcc2 |
| 6800 builtin and then its argument prototype would still apply. */ | 6943 builtin and then its argument prototype would still apply. */ |
| 6801 char jl_fi_dic_list(); | 6944 char jl_fi_dic_list(); |
| 6802 | 6945 |
| 6803 int main() { | 6946 int main() { |
| 6804 jl_fi_dic_list() | 6947 jl_fi_dic_list() |
| 6805 ; return 0; } | 6948 ; return 0; } |
| 6806 EOF | 6949 EOF |
| 6807 if { (eval echo configure:6808: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 6950 if { (eval echo configure:6951: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 6808 rm -rf conftest* | 6951 rm -rf conftest* |
| 6809 eval "ac_cv_lib_$ac_lib_var=yes" | 6952 eval "ac_cv_lib_$ac_lib_var=yes" |
| 6810 else | 6953 else |
| 6811 echo "configure: failed program was:" >&5 | 6954 echo "configure: failed program was:" >&5 |
| 6812 cat conftest.$ac_ext >&5 | 6955 cat conftest.$ac_ext >&5 |
| 6834 | 6977 |
| 6835 fi | 6978 fi |
| 6836 | 6979 |
| 6837 test -z "$with_canna" && { ac_safe=`echo "canna/RK.h" | sed 'y%./+-%__p_%'` | 6980 test -z "$with_canna" && { ac_safe=`echo "canna/RK.h" | sed 'y%./+-%__p_%'` |
| 6838 echo $ac_n "checking for canna/RK.h""... $ac_c" 1>&6 | 6981 echo $ac_n "checking for canna/RK.h""... $ac_c" 1>&6 |
| 6839 echo "configure:6840: checking for canna/RK.h" >&5 | 6982 echo "configure:6983: checking for canna/RK.h" >&5 |
| 6840 | 6983 |
| 6841 cat > conftest.$ac_ext <<EOF | 6984 cat > conftest.$ac_ext <<EOF |
| 6842 #line 6843 "configure" | 6985 #line 6986 "configure" |
| 6843 #include "confdefs.h" | 6986 #include "confdefs.h" |
| 6844 #include <canna/RK.h> | 6987 #include <canna/RK.h> |
| 6845 EOF | 6988 EOF |
| 6846 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6989 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 6847 { (eval echo configure:6848: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6990 { (eval echo configure:6991: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 6848 ac_err=`grep -v '^ *+' conftest.out` | 6991 ac_err=`grep -v '^ *+' conftest.out` |
| 6849 if test -z "$ac_err"; then | 6992 if test -z "$ac_err"; then |
| 6850 rm -rf conftest* | 6993 rm -rf conftest* |
| 6851 eval "ac_cv_header_$ac_safe=yes" | 6994 eval "ac_cv_header_$ac_safe=yes" |
| 6852 else | 6995 else |
| 6865 with_canna=no | 7008 with_canna=no |
| 6866 fi | 7009 fi |
| 6867 } | 7010 } |
| 6868 test -z "$with_canna" && { | 7011 test -z "$with_canna" && { |
| 6869 echo $ac_n "checking for RkBgnBun in -lRKC""... $ac_c" 1>&6 | 7012 echo $ac_n "checking for RkBgnBun in -lRKC""... $ac_c" 1>&6 |
| 6870 echo "configure:6871: checking for RkBgnBun in -lRKC" >&5 | 7013 echo "configure:7014: checking for RkBgnBun in -lRKC" >&5 |
| 6871 ac_lib_var=`echo RKC'_'RkBgnBun | sed 'y%./+-%__p_%'` | 7014 ac_lib_var=`echo RKC'_'RkBgnBun | sed 'y%./+-%__p_%'` |
| 6872 | 7015 |
| 6873 xe_check_libs=" -lRKC " | 7016 xe_check_libs=" -lRKC " |
| 6874 cat > conftest.$ac_ext <<EOF | 7017 cat > conftest.$ac_ext <<EOF |
| 6875 #line 6876 "configure" | 7018 #line 7019 "configure" |
| 6876 #include "confdefs.h" | 7019 #include "confdefs.h" |
| 6877 /* Override any gcc2 internal prototype to avoid an error. */ | 7020 /* Override any gcc2 internal prototype to avoid an error. */ |
| 6878 /* We use char because int might match the return type of a gcc2 | 7021 /* We use char because int might match the return type of a gcc2 |
| 6879 builtin and then its argument prototype would still apply. */ | 7022 builtin and then its argument prototype would still apply. */ |
| 6880 char RkBgnBun(); | 7023 char RkBgnBun(); |
| 6881 | 7024 |
| 6882 int main() { | 7025 int main() { |
| 6883 RkBgnBun() | 7026 RkBgnBun() |
| 6884 ; return 0; } | 7027 ; return 0; } |
| 6885 EOF | 7028 EOF |
| 6886 if { (eval echo configure:6887: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 7029 if { (eval echo configure:7030: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 6887 rm -rf conftest* | 7030 rm -rf conftest* |
| 6888 eval "ac_cv_lib_$ac_lib_var=yes" | 7031 eval "ac_cv_lib_$ac_lib_var=yes" |
| 6889 else | 7032 else |
| 6890 echo "configure: failed program was:" >&5 | 7033 echo "configure: failed program was:" >&5 |
| 6891 cat conftest.$ac_ext >&5 | 7034 cat conftest.$ac_ext >&5 |
| 6904 fi | 7047 fi |
| 6905 | 7048 |
| 6906 } | 7049 } |
| 6907 test -z "$with_canna" && { | 7050 test -z "$with_canna" && { |
| 6908 echo $ac_n "checking for jrKanjiControl in -lcanna""... $ac_c" 1>&6 | 7051 echo $ac_n "checking for jrKanjiControl in -lcanna""... $ac_c" 1>&6 |
| 6909 echo "configure:6910: checking for jrKanjiControl in -lcanna" >&5 | 7052 echo "configure:7053: checking for jrKanjiControl in -lcanna" >&5 |
| 6910 ac_lib_var=`echo canna'_'jrKanjiControl | sed 'y%./+-%__p_%'` | 7053 ac_lib_var=`echo canna'_'jrKanjiControl | sed 'y%./+-%__p_%'` |
| 6911 | 7054 |
| 6912 xe_check_libs=" -lcanna " | 7055 xe_check_libs=" -lcanna " |
| 6913 cat > conftest.$ac_ext <<EOF | 7056 cat > conftest.$ac_ext <<EOF |
| 6914 #line 6915 "configure" | 7057 #line 7058 "configure" |
| 6915 #include "confdefs.h" | 7058 #include "confdefs.h" |
| 6916 /* Override any gcc2 internal prototype to avoid an error. */ | 7059 /* Override any gcc2 internal prototype to avoid an error. */ |
| 6917 /* We use char because int might match the return type of a gcc2 | 7060 /* We use char because int might match the return type of a gcc2 |
| 6918 builtin and then its argument prototype would still apply. */ | 7061 builtin and then its argument prototype would still apply. */ |
| 6919 char jrKanjiControl(); | 7062 char jrKanjiControl(); |
| 6920 | 7063 |
| 6921 int main() { | 7064 int main() { |
| 6922 jrKanjiControl() | 7065 jrKanjiControl() |
| 6923 ; return 0; } | 7066 ; return 0; } |
| 6924 EOF | 7067 EOF |
| 6925 if { (eval echo configure:6926: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 7068 if { (eval echo configure:7069: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 6926 rm -rf conftest* | 7069 rm -rf conftest* |
| 6927 eval "ac_cv_lib_$ac_lib_var=yes" | 7070 eval "ac_cv_lib_$ac_lib_var=yes" |
| 6928 else | 7071 else |
| 6929 echo "configure: failed program was:" >&5 | 7072 echo "configure: failed program was:" >&5 |
| 6930 cat conftest.$ac_ext >&5 | 7073 cat conftest.$ac_ext >&5 |
| 7017 fi | 7160 fi |
| 7018 fi | 7161 fi |
| 7019 | 7162 |
| 7020 fi | 7163 fi |
| 7021 | 7164 |
| 7022 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 | 7165 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 usleep utimes waitpid |
| 7023 do | 7166 do |
| 7024 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 7167 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
| 7025 echo "configure:7026: checking for $ac_func" >&5 | 7168 echo "configure:7169: checking for $ac_func" >&5 |
| 7026 | 7169 |
| 7027 cat > conftest.$ac_ext <<EOF | 7170 cat > conftest.$ac_ext <<EOF |
| 7028 #line 7029 "configure" | 7171 #line 7172 "configure" |
| 7029 #include "confdefs.h" | 7172 #include "confdefs.h" |
| 7030 /* System header to define __stub macros and hopefully few prototypes, | 7173 /* System header to define __stub macros and hopefully few prototypes, |
| 7031 which can conflict with char $ac_func(); below. */ | 7174 which can conflict with char $ac_func(); below. */ |
| 7032 #include <assert.h> | 7175 #include <assert.h> |
| 7033 /* Override any gcc2 internal prototype to avoid an error. */ | 7176 /* Override any gcc2 internal prototype to avoid an error. */ |
| 7046 $ac_func(); | 7189 $ac_func(); |
| 7047 #endif | 7190 #endif |
| 7048 | 7191 |
| 7049 ; return 0; } | 7192 ; return 0; } |
| 7050 EOF | 7193 EOF |
| 7051 if { (eval echo configure:7052: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 7194 if { (eval echo configure:7195: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 7052 rm -rf conftest* | 7195 rm -rf conftest* |
| 7053 eval "ac_cv_func_$ac_func=yes" | 7196 eval "ac_cv_func_$ac_func=yes" |
| 7054 else | 7197 else |
| 7055 echo "configure: failed program was:" >&5 | 7198 echo "configure: failed program was:" >&5 |
| 7056 cat conftest.$ac_ext >&5 | 7199 cat conftest.$ac_ext >&5 |
| 7083 fi ;; | 7226 fi ;; |
| 7084 * ) | 7227 * ) |
| 7085 for ac_func in realpath | 7228 for ac_func in realpath |
| 7086 do | 7229 do |
| 7087 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 7230 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
| 7088 echo "configure:7089: checking for $ac_func" >&5 | 7231 echo "configure:7232: checking for $ac_func" >&5 |
| 7089 | 7232 |
| 7090 cat > conftest.$ac_ext <<EOF | 7233 cat > conftest.$ac_ext <<EOF |
| 7091 #line 7092 "configure" | 7234 #line 7235 "configure" |
| 7092 #include "confdefs.h" | 7235 #include "confdefs.h" |
| 7093 /* System header to define __stub macros and hopefully few prototypes, | 7236 /* System header to define __stub macros and hopefully few prototypes, |
| 7094 which can conflict with char $ac_func(); below. */ | 7237 which can conflict with char $ac_func(); below. */ |
| 7095 #include <assert.h> | 7238 #include <assert.h> |
| 7096 /* Override any gcc2 internal prototype to avoid an error. */ | 7239 /* Override any gcc2 internal prototype to avoid an error. */ |
| 7109 $ac_func(); | 7252 $ac_func(); |
| 7110 #endif | 7253 #endif |
| 7111 | 7254 |
| 7112 ; return 0; } | 7255 ; return 0; } |
| 7113 EOF | 7256 EOF |
| 7114 if { (eval echo configure:7115: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 7257 if { (eval echo configure:7258: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 7115 rm -rf conftest* | 7258 rm -rf conftest* |
| 7116 eval "ac_cv_func_$ac_func=yes" | 7259 eval "ac_cv_func_$ac_func=yes" |
| 7117 else | 7260 else |
| 7118 echo "configure: failed program was:" >&5 | 7261 echo "configure: failed program was:" >&5 |
| 7119 cat conftest.$ac_ext >&5 | 7262 cat conftest.$ac_ext >&5 |
| 7142 echo " xemacs will be linked with \"realpath.o\"" | 7285 echo " xemacs will be linked with \"realpath.o\"" |
| 7143 fi ;; | 7286 fi ;; |
| 7144 esac | 7287 esac |
| 7145 | 7288 |
| 7146 echo $ac_n "checking whether netdb declares h_errno""... $ac_c" 1>&6 | 7289 echo $ac_n "checking whether netdb declares h_errno""... $ac_c" 1>&6 |
| 7147 echo "configure:7148: checking whether netdb declares h_errno" >&5 | 7290 echo "configure:7291: checking whether netdb declares h_errno" >&5 |
| 7148 cat > conftest.$ac_ext <<EOF | 7291 cat > conftest.$ac_ext <<EOF |
| 7149 #line 7150 "configure" | 7292 #line 7293 "configure" |
| 7150 #include "confdefs.h" | 7293 #include "confdefs.h" |
| 7151 #include <netdb.h> | 7294 #include <netdb.h> |
| 7152 int main() { | 7295 int main() { |
| 7153 return h_errno; | 7296 return h_errno; |
| 7154 ; return 0; } | 7297 ; return 0; } |
| 7155 EOF | 7298 EOF |
| 7156 if { (eval echo configure:7157: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 7299 if { (eval echo configure:7300: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 7157 rm -rf conftest* | 7300 rm -rf conftest* |
| 7158 echo "$ac_t""yes" 1>&6 | 7301 echo "$ac_t""yes" 1>&6 |
| 7159 { test "$extra_verbose" = "yes" && cat << \EOF | 7302 { test "$extra_verbose" = "yes" && cat << \EOF |
| 7160 Defining HAVE_H_ERRNO | 7303 Defining HAVE_H_ERRNO |
| 7161 EOF | 7304 EOF |
| 7171 echo "$ac_t""no" 1>&6 | 7314 echo "$ac_t""no" 1>&6 |
| 7172 fi | 7315 fi |
| 7173 rm -f conftest* | 7316 rm -f conftest* |
| 7174 | 7317 |
| 7175 echo $ac_n "checking for sigsetjmp""... $ac_c" 1>&6 | 7318 echo $ac_n "checking for sigsetjmp""... $ac_c" 1>&6 |
| 7176 echo "configure:7177: checking for sigsetjmp" >&5 | 7319 echo "configure:7320: checking for sigsetjmp" >&5 |
| 7177 cat > conftest.$ac_ext <<EOF | 7320 cat > conftest.$ac_ext <<EOF |
| 7178 #line 7179 "configure" | 7321 #line 7322 "configure" |
| 7179 #include "confdefs.h" | 7322 #include "confdefs.h" |
| 7180 #include <setjmp.h> | 7323 #include <setjmp.h> |
| 7181 int main() { | 7324 int main() { |
| 7182 sigjmp_buf bar; sigsetjmp (bar, 0); | 7325 sigjmp_buf bar; sigsetjmp (bar, 0); |
| 7183 ; return 0; } | 7326 ; return 0; } |
| 7184 EOF | 7327 EOF |
| 7185 if { (eval echo configure:7186: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 7328 if { (eval echo configure:7329: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| 7186 rm -rf conftest* | 7329 rm -rf conftest* |
| 7187 echo "$ac_t""yes" 1>&6 | 7330 echo "$ac_t""yes" 1>&6 |
| 7188 { test "$extra_verbose" = "yes" && cat << \EOF | 7331 { test "$extra_verbose" = "yes" && cat << \EOF |
| 7189 Defining HAVE_SIGSETJMP | 7332 Defining HAVE_SIGSETJMP |
| 7190 EOF | 7333 EOF |
| 7200 echo "$ac_t""no" 1>&6 | 7343 echo "$ac_t""no" 1>&6 |
| 7201 fi | 7344 fi |
| 7202 rm -f conftest* | 7345 rm -f conftest* |
| 7203 | 7346 |
| 7204 echo $ac_n "checking whether localtime caches TZ""... $ac_c" 1>&6 | 7347 echo $ac_n "checking whether localtime caches TZ""... $ac_c" 1>&6 |
| 7205 echo "configure:7206: checking whether localtime caches TZ" >&5 | 7348 echo "configure:7349: checking whether localtime caches TZ" >&5 |
| 7206 | 7349 |
| 7207 if test "$ac_cv_func_tzset" = "yes"; then | 7350 if test "$ac_cv_func_tzset" = "yes"; then |
| 7208 cat > conftest.$ac_ext <<EOF | 7351 cat > conftest.$ac_ext <<EOF |
| 7209 #line 7210 "configure" | 7352 #line 7353 "configure" |
| 7210 #include "confdefs.h" | 7353 #include "confdefs.h" |
| 7211 #include <time.h> | 7354 #include <time.h> |
| 7212 #if STDC_HEADERS | 7355 #if STDC_HEADERS |
| 7213 # include <stdlib.h> | 7356 # include <stdlib.h> |
| 7214 #endif | 7357 #endif |
| 7239 if (localtime (&now)->tm_hour != hour_unset) | 7382 if (localtime (&now)->tm_hour != hour_unset) |
| 7240 exit (1); | 7383 exit (1); |
| 7241 exit (0); | 7384 exit (0); |
| 7242 } | 7385 } |
| 7243 EOF | 7386 EOF |
| 7244 if { (eval echo configure:7245: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 | 7387 if { (eval echo configure:7388: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 |
| 7245 then | 7388 then |
| 7246 emacs_cv_localtime_cache=no | 7389 emacs_cv_localtime_cache=no |
| 7247 else | 7390 else |
| 7248 echo "configure: failed program was:" >&5 | 7391 echo "configure: failed program was:" >&5 |
| 7249 cat conftest.$ac_ext >&5 | 7392 cat conftest.$ac_ext >&5 |
| 7268 | 7411 |
| 7269 fi | 7412 fi |
| 7270 | 7413 |
| 7271 if test "$HAVE_TIMEVAL" = "yes"; then | 7414 if test "$HAVE_TIMEVAL" = "yes"; then |
| 7272 echo $ac_n "checking whether gettimeofday cannot accept two arguments""... $ac_c" 1>&6 | 7415 echo $ac_n "checking whether gettimeofday cannot accept two arguments""... $ac_c" 1>&6 |
| 7273 echo "configure:7274: checking whether gettimeofday cannot accept two arguments" >&5 | 7416 echo "configure:7417: checking whether gettimeofday cannot accept two arguments" >&5 |
| 7274 cat > conftest.$ac_ext <<EOF | 7417 cat > conftest.$ac_ext <<EOF |
| 7275 #line 7276 "configure" | 7418 #line 7419 "configure" |
| 7276 #include "confdefs.h" | 7419 #include "confdefs.h" |
| 7277 | 7420 |
| 7278 #ifdef TIME_WITH_SYS_TIME | 7421 #ifdef TIME_WITH_SYS_TIME |
| 7279 #include <sys/time.h> | 7422 #include <sys/time.h> |
| 7280 #include <time.h> | 7423 #include <time.h> |
| 7292 struct timezone dummy; | 7435 struct timezone dummy; |
| 7293 gettimeofday (&time, &dummy); | 7436 gettimeofday (&time, &dummy); |
| 7294 | 7437 |
| 7295 ; return 0; } | 7438 ; return 0; } |
| 7296 EOF | 7439 EOF |
| 7297 if { (eval echo configure:7298: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 7440 if { (eval echo configure:7441: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 7298 rm -rf conftest* | 7441 rm -rf conftest* |
| 7299 echo "$ac_t""no" 1>&6 | 7442 echo "$ac_t""no" 1>&6 |
| 7300 else | 7443 else |
| 7301 echo "configure: failed program was:" >&5 | 7444 echo "configure: failed program was:" >&5 |
| 7302 cat conftest.$ac_ext >&5 | 7445 cat conftest.$ac_ext >&5 |
| 7314 rm -f conftest* | 7457 rm -f conftest* |
| 7315 fi | 7458 fi |
| 7316 | 7459 |
| 7317 | 7460 |
| 7318 echo $ac_n "checking for inline""... $ac_c" 1>&6 | 7461 echo $ac_n "checking for inline""... $ac_c" 1>&6 |
| 7319 echo "configure:7320: checking for inline" >&5 | 7462 echo "configure:7463: checking for inline" >&5 |
| 7320 | 7463 |
| 7321 ac_cv_c_inline=no | 7464 ac_cv_c_inline=no |
| 7322 for ac_kw in inline __inline__ __inline; do | 7465 for ac_kw in inline __inline__ __inline; do |
| 7323 cat > conftest.$ac_ext <<EOF | 7466 cat > conftest.$ac_ext <<EOF |
| 7324 #line 7325 "configure" | 7467 #line 7468 "configure" |
| 7325 #include "confdefs.h" | 7468 #include "confdefs.h" |
| 7326 | 7469 |
| 7327 int main() { | 7470 int main() { |
| 7328 } $ac_kw foo() { | 7471 } $ac_kw foo() { |
| 7329 ; return 0; } | 7472 ; return 0; } |
| 7330 EOF | 7473 EOF |
| 7331 if { (eval echo configure:7332: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 7474 if { (eval echo configure:7475: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| 7332 rm -rf conftest* | 7475 rm -rf conftest* |
| 7333 ac_cv_c_inline=$ac_kw; break | 7476 ac_cv_c_inline=$ac_kw; break |
| 7334 else | 7477 else |
| 7335 echo "configure: failed program was:" >&5 | 7478 echo "configure: failed program was:" >&5 |
| 7336 cat conftest.$ac_ext >&5 | 7479 cat conftest.$ac_ext >&5 |
| 7376 | 7519 |
| 7377 | 7520 |
| 7378 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works | 7521 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works |
| 7379 # for constant arguments. Useless! | 7522 # for constant arguments. Useless! |
| 7380 echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6 | 7523 echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6 |
| 7381 echo "configure:7382: checking for working alloca.h" >&5 | 7524 echo "configure:7525: checking for working alloca.h" >&5 |
| 7382 | 7525 |
| 7383 cat > conftest.$ac_ext <<EOF | 7526 cat > conftest.$ac_ext <<EOF |
| 7384 #line 7385 "configure" | 7527 #line 7528 "configure" |
| 7385 #include "confdefs.h" | 7528 #include "confdefs.h" |
| 7386 #include <alloca.h> | 7529 #include <alloca.h> |
| 7387 int main() { | 7530 int main() { |
| 7388 char *p = alloca(2 * sizeof(int)); | 7531 char *p = alloca(2 * sizeof(int)); |
| 7389 ; return 0; } | 7532 ; return 0; } |
| 7390 EOF | 7533 EOF |
| 7391 if { (eval echo configure:7392: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 7534 if { (eval echo configure:7535: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 7392 rm -rf conftest* | 7535 rm -rf conftest* |
| 7393 ac_cv_header_alloca_h=yes | 7536 ac_cv_header_alloca_h=yes |
| 7394 else | 7537 else |
| 7395 echo "configure: failed program was:" >&5 | 7538 echo "configure: failed program was:" >&5 |
| 7396 cat conftest.$ac_ext >&5 | 7539 cat conftest.$ac_ext >&5 |
| 7410 } | 7553 } |
| 7411 | 7554 |
| 7412 fi | 7555 fi |
| 7413 | 7556 |
| 7414 echo $ac_n "checking for alloca""... $ac_c" 1>&6 | 7557 echo $ac_n "checking for alloca""... $ac_c" 1>&6 |
| 7415 echo "configure:7416: checking for alloca" >&5 | 7558 echo "configure:7559: checking for alloca" >&5 |
| 7416 | 7559 |
| 7417 cat > conftest.$ac_ext <<EOF | 7560 cat > conftest.$ac_ext <<EOF |
| 7418 #line 7419 "configure" | 7561 #line 7562 "configure" |
| 7419 #include "confdefs.h" | 7562 #include "confdefs.h" |
| 7420 | 7563 |
| 7421 #ifdef __GNUC__ | 7564 #ifdef __GNUC__ |
| 7422 # define alloca __builtin_alloca | 7565 # define alloca __builtin_alloca |
| 7423 #else | 7566 #else |
| 7436 | 7579 |
| 7437 int main() { | 7580 int main() { |
| 7438 char *p = (char *) alloca(1); | 7581 char *p = (char *) alloca(1); |
| 7439 ; return 0; } | 7582 ; return 0; } |
| 7440 EOF | 7583 EOF |
| 7441 if { (eval echo configure:7442: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 7584 if { (eval echo configure:7585: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 7442 rm -rf conftest* | 7585 rm -rf conftest* |
| 7443 ac_cv_func_alloca_works=yes | 7586 ac_cv_func_alloca_works=yes |
| 7444 else | 7587 else |
| 7445 echo "configure: failed program was:" >&5 | 7588 echo "configure: failed program was:" >&5 |
| 7446 cat conftest.$ac_ext >&5 | 7589 cat conftest.$ac_ext >&5 |
| 7475 EOF | 7618 EOF |
| 7476 } | 7619 } |
| 7477 | 7620 |
| 7478 | 7621 |
| 7479 echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6 | 7622 echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6 |
| 7480 echo "configure:7481: checking whether alloca needs Cray hooks" >&5 | 7623 echo "configure:7624: checking whether alloca needs Cray hooks" >&5 |
| 7481 | 7624 |
| 7482 cat > conftest.$ac_ext <<EOF | 7625 cat > conftest.$ac_ext <<EOF |
| 7483 #line 7484 "configure" | 7626 #line 7627 "configure" |
| 7484 #include "confdefs.h" | 7627 #include "confdefs.h" |
| 7485 #if defined(CRAY) && ! defined(CRAY2) | 7628 #if defined(CRAY) && ! defined(CRAY2) |
| 7486 webecray | 7629 webecray |
| 7487 #else | 7630 #else |
| 7488 wenotbecray | 7631 wenotbecray |
| 7502 | 7645 |
| 7503 echo "$ac_t""$ac_cv_os_cray" 1>&6 | 7646 echo "$ac_t""$ac_cv_os_cray" 1>&6 |
| 7504 if test $ac_cv_os_cray = yes; then | 7647 if test $ac_cv_os_cray = yes; then |
| 7505 for ac_func in _getb67 GETB67 getb67; do | 7648 for ac_func in _getb67 GETB67 getb67; do |
| 7506 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 7649 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
| 7507 echo "configure:7508: checking for $ac_func" >&5 | 7650 echo "configure:7651: checking for $ac_func" >&5 |
| 7508 | 7651 |
| 7509 cat > conftest.$ac_ext <<EOF | 7652 cat > conftest.$ac_ext <<EOF |
| 7510 #line 7511 "configure" | 7653 #line 7654 "configure" |
| 7511 #include "confdefs.h" | 7654 #include "confdefs.h" |
| 7512 /* System header to define __stub macros and hopefully few prototypes, | 7655 /* System header to define __stub macros and hopefully few prototypes, |
| 7513 which can conflict with char $ac_func(); below. */ | 7656 which can conflict with char $ac_func(); below. */ |
| 7514 #include <assert.h> | 7657 #include <assert.h> |
| 7515 /* Override any gcc2 internal prototype to avoid an error. */ | 7658 /* Override any gcc2 internal prototype to avoid an error. */ |
| 7528 $ac_func(); | 7671 $ac_func(); |
| 7529 #endif | 7672 #endif |
| 7530 | 7673 |
| 7531 ; return 0; } | 7674 ; return 0; } |
| 7532 EOF | 7675 EOF |
| 7533 if { (eval echo configure:7534: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 7676 if { (eval echo configure:7677: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 7534 rm -rf conftest* | 7677 rm -rf conftest* |
| 7535 eval "ac_cv_func_$ac_func=yes" | 7678 eval "ac_cv_func_$ac_func=yes" |
| 7536 else | 7679 else |
| 7537 echo "configure: failed program was:" >&5 | 7680 echo "configure: failed program was:" >&5 |
| 7538 cat conftest.$ac_ext >&5 | 7681 cat conftest.$ac_ext >&5 |
| 7558 | 7701 |
| 7559 done | 7702 done |
| 7560 fi | 7703 fi |
| 7561 | 7704 |
| 7562 echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6 | 7705 echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6 |
| 7563 echo "configure:7564: checking stack direction for C alloca" >&5 | 7706 echo "configure:7707: checking stack direction for C alloca" >&5 |
| 7564 | 7707 |
| 7565 cat > conftest.$ac_ext <<EOF | 7708 cat > conftest.$ac_ext <<EOF |
| 7566 #line 7567 "configure" | 7709 #line 7710 "configure" |
| 7567 #include "confdefs.h" | 7710 #include "confdefs.h" |
| 7568 find_stack_direction () | 7711 find_stack_direction () |
| 7569 { | 7712 { |
| 7570 static char *addr = 0; | 7713 static char *addr = 0; |
| 7571 auto char dummy; | 7714 auto char dummy; |
| 7580 main () | 7723 main () |
| 7581 { | 7724 { |
| 7582 exit (find_stack_direction() < 0); | 7725 exit (find_stack_direction() < 0); |
| 7583 } | 7726 } |
| 7584 EOF | 7727 EOF |
| 7585 if { (eval echo configure:7586: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 | 7728 if { (eval echo configure:7729: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 |
| 7586 then | 7729 then |
| 7587 ac_cv_c_stack_direction=1 | 7730 ac_cv_c_stack_direction=1 |
| 7588 else | 7731 else |
| 7589 echo "configure: failed program was:" >&5 | 7732 echo "configure: failed program was:" >&5 |
| 7590 cat conftest.$ac_ext >&5 | 7733 cat conftest.$ac_ext >&5 |
| 7608 echo " xemacs will be linked with \"$ALLOCA\"" | 7751 echo " xemacs will be linked with \"$ALLOCA\"" |
| 7609 fi | 7752 fi |
| 7610 | 7753 |
| 7611 ac_safe=`echo "vfork.h" | sed 'y%./+-%__p_%'` | 7754 ac_safe=`echo "vfork.h" | sed 'y%./+-%__p_%'` |
| 7612 echo $ac_n "checking for vfork.h""... $ac_c" 1>&6 | 7755 echo $ac_n "checking for vfork.h""... $ac_c" 1>&6 |
| 7613 echo "configure:7614: checking for vfork.h" >&5 | 7756 echo "configure:7757: checking for vfork.h" >&5 |
| 7614 | 7757 |
| 7615 cat > conftest.$ac_ext <<EOF | 7758 cat > conftest.$ac_ext <<EOF |
| 7616 #line 7617 "configure" | 7759 #line 7760 "configure" |
| 7617 #include "confdefs.h" | 7760 #include "confdefs.h" |
| 7618 #include <vfork.h> | 7761 #include <vfork.h> |
| 7619 EOF | 7762 EOF |
| 7620 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7763 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 7621 { (eval echo configure:7622: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7764 { (eval echo configure:7765: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 7622 ac_err=`grep -v '^ *+' conftest.out` | 7765 ac_err=`grep -v '^ *+' conftest.out` |
| 7623 if test -z "$ac_err"; then | 7766 if test -z "$ac_err"; then |
| 7624 rm -rf conftest* | 7767 rm -rf conftest* |
| 7625 eval "ac_cv_header_$ac_safe=yes" | 7768 eval "ac_cv_header_$ac_safe=yes" |
| 7626 else | 7769 else |
| 7644 else | 7787 else |
| 7645 echo "$ac_t""no" 1>&6 | 7788 echo "$ac_t""no" 1>&6 |
| 7646 fi | 7789 fi |
| 7647 | 7790 |
| 7648 echo $ac_n "checking for working vfork""... $ac_c" 1>&6 | 7791 echo $ac_n "checking for working vfork""... $ac_c" 1>&6 |
| 7649 echo "configure:7650: checking for working vfork" >&5 | 7792 echo "configure:7793: checking for working vfork" >&5 |
| 7650 | 7793 |
| 7651 cat > conftest.$ac_ext <<EOF | 7794 cat > conftest.$ac_ext <<EOF |
| 7652 #line 7653 "configure" | 7795 #line 7796 "configure" |
| 7653 #include "confdefs.h" | 7796 #include "confdefs.h" |
| 7654 /* Thanks to Paul Eggert for this test. */ | 7797 /* Thanks to Paul Eggert for this test. */ |
| 7655 #include <stdio.h> | 7798 #include <stdio.h> |
| 7656 #include <sys/types.h> | 7799 #include <sys/types.h> |
| 7657 #include <sys/stat.h> | 7800 #include <sys/stat.h> |
| 7742 || fstat(fileno(stdout), &st) != 0 | 7885 || fstat(fileno(stdout), &st) != 0 |
| 7743 ); | 7886 ); |
| 7744 } | 7887 } |
| 7745 } | 7888 } |
| 7746 EOF | 7889 EOF |
| 7747 if { (eval echo configure:7748: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 | 7890 if { (eval echo configure:7891: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 |
| 7748 then | 7891 then |
| 7749 ac_cv_func_vfork_works=yes | 7892 ac_cv_func_vfork_works=yes |
| 7750 else | 7893 else |
| 7751 echo "configure: failed program was:" >&5 | 7894 echo "configure: failed program was:" >&5 |
| 7752 cat conftest.$ac_ext >&5 | 7895 cat conftest.$ac_ext >&5 |
| 7767 | 7910 |
| 7768 fi | 7911 fi |
| 7769 | 7912 |
| 7770 | 7913 |
| 7771 echo $ac_n "checking for working strcoll""... $ac_c" 1>&6 | 7914 echo $ac_n "checking for working strcoll""... $ac_c" 1>&6 |
| 7772 echo "configure:7773: checking for working strcoll" >&5 | 7915 echo "configure:7916: checking for working strcoll" >&5 |
| 7773 | 7916 |
| 7774 cat > conftest.$ac_ext <<EOF | 7917 cat > conftest.$ac_ext <<EOF |
| 7775 #line 7776 "configure" | 7918 #line 7919 "configure" |
| 7776 #include "confdefs.h" | 7919 #include "confdefs.h" |
| 7777 #include <string.h> | 7920 #include <string.h> |
| 7778 main () | 7921 main () |
| 7779 { | 7922 { |
| 7780 exit (strcoll ("abc", "def") >= 0 || | 7923 exit (strcoll ("abc", "def") >= 0 || |
| 7781 strcoll ("ABC", "DEF") >= 0 || | 7924 strcoll ("ABC", "DEF") >= 0 || |
| 7782 strcoll ("123", "456") >= 0); | 7925 strcoll ("123", "456") >= 0); |
| 7783 } | 7926 } |
| 7784 EOF | 7927 EOF |
| 7785 if { (eval echo configure:7786: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 | 7928 if { (eval echo configure:7929: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 |
| 7786 then | 7929 then |
| 7787 ac_cv_func_strcoll_works=yes | 7930 ac_cv_func_strcoll_works=yes |
| 7788 else | 7931 else |
| 7789 echo "configure: failed program was:" >&5 | 7932 echo "configure: failed program was:" >&5 |
| 7790 cat conftest.$ac_ext >&5 | 7933 cat conftest.$ac_ext >&5 |
| 7807 | 7950 |
| 7808 | 7951 |
| 7809 for ac_func in getpgrp | 7952 for ac_func in getpgrp |
| 7810 do | 7953 do |
| 7811 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 7954 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
| 7812 echo "configure:7813: checking for $ac_func" >&5 | 7955 echo "configure:7956: checking for $ac_func" >&5 |
| 7813 | 7956 |
| 7814 cat > conftest.$ac_ext <<EOF | 7957 cat > conftest.$ac_ext <<EOF |
| 7815 #line 7816 "configure" | 7958 #line 7959 "configure" |
| 7816 #include "confdefs.h" | 7959 #include "confdefs.h" |
| 7817 /* System header to define __stub macros and hopefully few prototypes, | 7960 /* System header to define __stub macros and hopefully few prototypes, |
| 7818 which can conflict with char $ac_func(); below. */ | 7961 which can conflict with char $ac_func(); below. */ |
| 7819 #include <assert.h> | 7962 #include <assert.h> |
| 7820 /* Override any gcc2 internal prototype to avoid an error. */ | 7963 /* Override any gcc2 internal prototype to avoid an error. */ |
| 7833 $ac_func(); | 7976 $ac_func(); |
| 7834 #endif | 7977 #endif |
| 7835 | 7978 |
| 7836 ; return 0; } | 7979 ; return 0; } |
| 7837 EOF | 7980 EOF |
| 7838 if { (eval echo configure:7839: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 7981 if { (eval echo configure:7982: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 7839 rm -rf conftest* | 7982 rm -rf conftest* |
| 7840 eval "ac_cv_func_$ac_func=yes" | 7983 eval "ac_cv_func_$ac_func=yes" |
| 7841 else | 7984 else |
| 7842 echo "configure: failed program was:" >&5 | 7985 echo "configure: failed program was:" >&5 |
| 7843 cat conftest.$ac_ext >&5 | 7986 cat conftest.$ac_ext >&5 |
| 7861 echo "$ac_t""no" 1>&6 | 8004 echo "$ac_t""no" 1>&6 |
| 7862 fi | 8005 fi |
| 7863 done | 8006 done |
| 7864 | 8007 |
| 7865 echo $ac_n "checking whether getpgrp takes no argument""... $ac_c" 1>&6 | 8008 echo $ac_n "checking whether getpgrp takes no argument""... $ac_c" 1>&6 |
| 7866 echo "configure:7867: checking whether getpgrp takes no argument" >&5 | 8009 echo "configure:8010: checking whether getpgrp takes no argument" >&5 |
| 7867 | 8010 |
| 7868 cat > conftest.$ac_ext <<EOF | 8011 cat > conftest.$ac_ext <<EOF |
| 7869 #line 7870 "configure" | 8012 #line 8013 "configure" |
| 7870 #include "confdefs.h" | 8013 #include "confdefs.h" |
| 7871 | 8014 |
| 7872 /* | 8015 /* |
| 7873 * If this system has a BSD-style getpgrp(), | 8016 * If this system has a BSD-style getpgrp(), |
| 7874 * which takes a pid argument, exit unsuccessfully. | 8017 * which takes a pid argument, exit unsuccessfully. |
| 7919 exit(s>>8); | 8062 exit(s>>8); |
| 7920 } | 8063 } |
| 7921 } | 8064 } |
| 7922 | 8065 |
| 7923 EOF | 8066 EOF |
| 7924 if { (eval echo configure:7925: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 | 8067 if { (eval echo configure:8068: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 |
| 7925 then | 8068 then |
| 7926 ac_cv_func_getpgrp_void=yes | 8069 ac_cv_func_getpgrp_void=yes |
| 7927 else | 8070 else |
| 7928 echo "configure: failed program was:" >&5 | 8071 echo "configure: failed program was:" >&5 |
| 7929 cat conftest.$ac_ext >&5 | 8072 cat conftest.$ac_ext >&5 |
| 7945 | 8088 |
| 7946 fi | 8089 fi |
| 7947 | 8090 |
| 7948 | 8091 |
| 7949 echo $ac_n "checking for working mmap""... $ac_c" 1>&6 | 8092 echo $ac_n "checking for working mmap""... $ac_c" 1>&6 |
| 7950 echo "configure:7951: checking for working mmap" >&5 | 8093 echo "configure:8094: checking for working mmap" >&5 |
| 7951 case "$opsys" in ultrix* ) have_mmap=no ;; *) | 8094 case "$opsys" in ultrix* ) have_mmap=no ;; *) |
| 7952 cat > conftest.$ac_ext <<EOF | 8095 cat > conftest.$ac_ext <<EOF |
| 7953 #line 7954 "configure" | 8096 #line 8097 "configure" |
| 7954 #include "confdefs.h" | 8097 #include "confdefs.h" |
| 7955 #include <stdio.h> | 8098 #include <stdio.h> |
| 7956 #include <unistd.h> | 8099 #include <unistd.h> |
| 7957 #include <fcntl.h> | 8100 #include <fcntl.h> |
| 7958 #include <sys/mman.h> | 8101 #include <sys/mman.h> |
| 7981 return 0; | 8124 return 0; |
| 7982 perror ("conftest: mmap failed"); | 8125 perror ("conftest: mmap failed"); |
| 7983 return 1; | 8126 return 1; |
| 7984 } | 8127 } |
| 7985 EOF | 8128 EOF |
| 7986 if { (eval echo configure:7987: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 | 8129 if { (eval echo configure:8130: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 |
| 7987 then | 8130 then |
| 7988 have_mmap=yes | 8131 have_mmap=yes |
| 7989 else | 8132 else |
| 7990 echo "configure: failed program was:" >&5 | 8133 echo "configure: failed program was:" >&5 |
| 7991 cat conftest.$ac_ext >&5 | 8134 cat conftest.$ac_ext >&5 |
| 8014 EOF | 8157 EOF |
| 8015 } | 8158 } |
| 8016 | 8159 |
| 8017 | 8160 |
| 8018 echo $ac_n "checking for socket""... $ac_c" 1>&6 | 8161 echo $ac_n "checking for socket""... $ac_c" 1>&6 |
| 8019 echo "configure:8020: checking for socket" >&5 | 8162 echo "configure:8163: checking for socket" >&5 |
| 8020 | 8163 |
| 8021 cat > conftest.$ac_ext <<EOF | 8164 cat > conftest.$ac_ext <<EOF |
| 8022 #line 8023 "configure" | 8165 #line 8166 "configure" |
| 8023 #include "confdefs.h" | 8166 #include "confdefs.h" |
| 8024 /* System header to define __stub macros and hopefully few prototypes, | 8167 /* System header to define __stub macros and hopefully few prototypes, |
| 8025 which can conflict with char socket(); below. */ | 8168 which can conflict with char socket(); below. */ |
| 8026 #include <assert.h> | 8169 #include <assert.h> |
| 8027 /* Override any gcc2 internal prototype to avoid an error. */ | 8170 /* Override any gcc2 internal prototype to avoid an error. */ |
| 8040 socket(); | 8183 socket(); |
| 8041 #endif | 8184 #endif |
| 8042 | 8185 |
| 8043 ; return 0; } | 8186 ; return 0; } |
| 8044 EOF | 8187 EOF |
| 8045 if { (eval echo configure:8046: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 8188 if { (eval echo configure:8189: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 8046 rm -rf conftest* | 8189 rm -rf conftest* |
| 8047 eval "ac_cv_func_socket=yes" | 8190 eval "ac_cv_func_socket=yes" |
| 8048 else | 8191 else |
| 8049 echo "configure: failed program was:" >&5 | 8192 echo "configure: failed program was:" >&5 |
| 8050 cat conftest.$ac_ext >&5 | 8193 cat conftest.$ac_ext >&5 |
| 8055 | 8198 |
| 8056 if eval "test \"`echo '$ac_cv_func_'socket`\" = yes"; then | 8199 if eval "test \"`echo '$ac_cv_func_'socket`\" = yes"; then |
| 8057 echo "$ac_t""yes" 1>&6 | 8200 echo "$ac_t""yes" 1>&6 |
| 8058 ac_safe=`echo "netinet/in.h" | sed 'y%./+-%__p_%'` | 8201 ac_safe=`echo "netinet/in.h" | sed 'y%./+-%__p_%'` |
| 8059 echo $ac_n "checking for netinet/in.h""... $ac_c" 1>&6 | 8202 echo $ac_n "checking for netinet/in.h""... $ac_c" 1>&6 |
| 8060 echo "configure:8061: checking for netinet/in.h" >&5 | 8203 echo "configure:8204: checking for netinet/in.h" >&5 |
| 8061 | 8204 |
| 8062 cat > conftest.$ac_ext <<EOF | 8205 cat > conftest.$ac_ext <<EOF |
| 8063 #line 8064 "configure" | 8206 #line 8207 "configure" |
| 8064 #include "confdefs.h" | 8207 #include "confdefs.h" |
| 8065 #include <netinet/in.h> | 8208 #include <netinet/in.h> |
| 8066 EOF | 8209 EOF |
| 8067 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8210 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 8068 { (eval echo configure:8069: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8211 { (eval echo configure:8212: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 8069 ac_err=`grep -v '^ *+' conftest.out` | 8212 ac_err=`grep -v '^ *+' conftest.out` |
| 8070 if test -z "$ac_err"; then | 8213 if test -z "$ac_err"; then |
| 8071 rm -rf conftest* | 8214 rm -rf conftest* |
| 8072 eval "ac_cv_header_$ac_safe=yes" | 8215 eval "ac_cv_header_$ac_safe=yes" |
| 8073 else | 8216 else |
| 8080 rm -f conftest* | 8223 rm -f conftest* |
| 8081 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 8224 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
| 8082 echo "$ac_t""yes" 1>&6 | 8225 echo "$ac_t""yes" 1>&6 |
| 8083 ac_safe=`echo "arpa/inet.h" | sed 'y%./+-%__p_%'` | 8226 ac_safe=`echo "arpa/inet.h" | sed 'y%./+-%__p_%'` |
| 8084 echo $ac_n "checking for arpa/inet.h""... $ac_c" 1>&6 | 8227 echo $ac_n "checking for arpa/inet.h""... $ac_c" 1>&6 |
| 8085 echo "configure:8086: checking for arpa/inet.h" >&5 | 8228 echo "configure:8229: checking for arpa/inet.h" >&5 |
| 8086 | 8229 |
| 8087 cat > conftest.$ac_ext <<EOF | 8230 cat > conftest.$ac_ext <<EOF |
| 8088 #line 8089 "configure" | 8231 #line 8232 "configure" |
| 8089 #include "confdefs.h" | 8232 #include "confdefs.h" |
| 8090 #include <arpa/inet.h> | 8233 #include <arpa/inet.h> |
| 8091 EOF | 8234 EOF |
| 8092 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8235 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 8093 { (eval echo configure:8094: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8236 { (eval echo configure:8237: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 8094 ac_err=`grep -v '^ *+' conftest.out` | 8237 ac_err=`grep -v '^ *+' conftest.out` |
| 8095 if test -z "$ac_err"; then | 8238 if test -z "$ac_err"; then |
| 8096 rm -rf conftest* | 8239 rm -rf conftest* |
| 8097 eval "ac_cv_header_$ac_safe=yes" | 8240 eval "ac_cv_header_$ac_safe=yes" |
| 8098 else | 8241 else |
| 8113 #define HAVE_SOCKETS 1 | 8256 #define HAVE_SOCKETS 1 |
| 8114 EOF | 8257 EOF |
| 8115 } | 8258 } |
| 8116 | 8259 |
| 8117 echo $ac_n "checking "for sun_len member in struct sockaddr_un"""... $ac_c" 1>&6 | 8260 echo $ac_n "checking "for sun_len member in struct sockaddr_un"""... $ac_c" 1>&6 |
| 8118 echo "configure:8119: checking "for sun_len member in struct sockaddr_un"" >&5 | 8261 echo "configure:8262: checking "for sun_len member in struct sockaddr_un"" >&5 |
| 8119 cat > conftest.$ac_ext <<EOF | 8262 cat > conftest.$ac_ext <<EOF |
| 8120 #line 8121 "configure" | 8263 #line 8264 "configure" |
| 8121 #include "confdefs.h" | 8264 #include "confdefs.h" |
| 8122 | 8265 |
| 8123 #include <sys/types.h> | 8266 #include <sys/types.h> |
| 8124 #include <sys/socket.h> | 8267 #include <sys/socket.h> |
| 8125 #include <sys/un.h> | 8268 #include <sys/un.h> |
| 8126 | 8269 |
| 8127 int main() { | 8270 int main() { |
| 8128 static struct sockaddr_un x; x.sun_len = 1; | 8271 static struct sockaddr_un x; x.sun_len = 1; |
| 8129 ; return 0; } | 8272 ; return 0; } |
| 8130 EOF | 8273 EOF |
| 8131 if { (eval echo configure:8132: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 8274 if { (eval echo configure:8275: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 8132 rm -rf conftest* | 8275 rm -rf conftest* |
| 8133 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF | 8276 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF |
| 8134 Defining HAVE_SOCKADDR_SUN_LEN | 8277 Defining HAVE_SOCKADDR_SUN_LEN |
| 8135 EOF | 8278 EOF |
| 8136 cat >> confdefs.h <<\EOF | 8279 cat >> confdefs.h <<\EOF |
| 8157 echo "$ac_t""no" 1>&6 | 8300 echo "$ac_t""no" 1>&6 |
| 8158 fi | 8301 fi |
| 8159 | 8302 |
| 8160 | 8303 |
| 8161 echo $ac_n "checking for msgget""... $ac_c" 1>&6 | 8304 echo $ac_n "checking for msgget""... $ac_c" 1>&6 |
| 8162 echo "configure:8163: checking for msgget" >&5 | 8305 echo "configure:8306: checking for msgget" >&5 |
| 8163 | 8306 |
| 8164 cat > conftest.$ac_ext <<EOF | 8307 cat > conftest.$ac_ext <<EOF |
| 8165 #line 8166 "configure" | 8308 #line 8309 "configure" |
| 8166 #include "confdefs.h" | 8309 #include "confdefs.h" |
| 8167 /* System header to define __stub macros and hopefully few prototypes, | 8310 /* System header to define __stub macros and hopefully few prototypes, |
| 8168 which can conflict with char msgget(); below. */ | 8311 which can conflict with char msgget(); below. */ |
| 8169 #include <assert.h> | 8312 #include <assert.h> |
| 8170 /* Override any gcc2 internal prototype to avoid an error. */ | 8313 /* Override any gcc2 internal prototype to avoid an error. */ |
| 8183 msgget(); | 8326 msgget(); |
| 8184 #endif | 8327 #endif |
| 8185 | 8328 |
| 8186 ; return 0; } | 8329 ; return 0; } |
| 8187 EOF | 8330 EOF |
| 8188 if { (eval echo configure:8189: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 8331 if { (eval echo configure:8332: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 8189 rm -rf conftest* | 8332 rm -rf conftest* |
| 8190 eval "ac_cv_func_msgget=yes" | 8333 eval "ac_cv_func_msgget=yes" |
| 8191 else | 8334 else |
| 8192 echo "configure: failed program was:" >&5 | 8335 echo "configure: failed program was:" >&5 |
| 8193 cat conftest.$ac_ext >&5 | 8336 cat conftest.$ac_ext >&5 |
| 8198 | 8341 |
| 8199 if eval "test \"`echo '$ac_cv_func_'msgget`\" = yes"; then | 8342 if eval "test \"`echo '$ac_cv_func_'msgget`\" = yes"; then |
| 8200 echo "$ac_t""yes" 1>&6 | 8343 echo "$ac_t""yes" 1>&6 |
| 8201 ac_safe=`echo "sys/ipc.h" | sed 'y%./+-%__p_%'` | 8344 ac_safe=`echo "sys/ipc.h" | sed 'y%./+-%__p_%'` |
| 8202 echo $ac_n "checking for sys/ipc.h""... $ac_c" 1>&6 | 8345 echo $ac_n "checking for sys/ipc.h""... $ac_c" 1>&6 |
| 8203 echo "configure:8204: checking for sys/ipc.h" >&5 | 8346 echo "configure:8347: checking for sys/ipc.h" >&5 |
| 8204 | 8347 |
| 8205 cat > conftest.$ac_ext <<EOF | 8348 cat > conftest.$ac_ext <<EOF |
| 8206 #line 8207 "configure" | 8349 #line 8350 "configure" |
| 8207 #include "confdefs.h" | 8350 #include "confdefs.h" |
| 8208 #include <sys/ipc.h> | 8351 #include <sys/ipc.h> |
| 8209 EOF | 8352 EOF |
| 8210 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8353 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 8211 { (eval echo configure:8212: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8354 { (eval echo configure:8355: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 8212 ac_err=`grep -v '^ *+' conftest.out` | 8355 ac_err=`grep -v '^ *+' conftest.out` |
| 8213 if test -z "$ac_err"; then | 8356 if test -z "$ac_err"; then |
| 8214 rm -rf conftest* | 8357 rm -rf conftest* |
| 8215 eval "ac_cv_header_$ac_safe=yes" | 8358 eval "ac_cv_header_$ac_safe=yes" |
| 8216 else | 8359 else |
| 8223 rm -f conftest* | 8366 rm -f conftest* |
| 8224 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 8367 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
| 8225 echo "$ac_t""yes" 1>&6 | 8368 echo "$ac_t""yes" 1>&6 |
| 8226 ac_safe=`echo "sys/msg.h" | sed 'y%./+-%__p_%'` | 8369 ac_safe=`echo "sys/msg.h" | sed 'y%./+-%__p_%'` |
| 8227 echo $ac_n "checking for sys/msg.h""... $ac_c" 1>&6 | 8370 echo $ac_n "checking for sys/msg.h""... $ac_c" 1>&6 |
| 8228 echo "configure:8229: checking for sys/msg.h" >&5 | 8371 echo "configure:8372: checking for sys/msg.h" >&5 |
| 8229 | 8372 |
| 8230 cat > conftest.$ac_ext <<EOF | 8373 cat > conftest.$ac_ext <<EOF |
| 8231 #line 8232 "configure" | 8374 #line 8375 "configure" |
| 8232 #include "confdefs.h" | 8375 #include "confdefs.h" |
| 8233 #include <sys/msg.h> | 8376 #include <sys/msg.h> |
| 8234 EOF | 8377 EOF |
| 8235 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8378 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 8236 { (eval echo configure:8237: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8379 { (eval echo configure:8380: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 8237 ac_err=`grep -v '^ *+' conftest.out` | 8380 ac_err=`grep -v '^ *+' conftest.out` |
| 8238 if test -z "$ac_err"; then | 8381 if test -z "$ac_err"; then |
| 8239 rm -rf conftest* | 8382 rm -rf conftest* |
| 8240 eval "ac_cv_header_$ac_safe=yes" | 8383 eval "ac_cv_header_$ac_safe=yes" |
| 8241 else | 8384 else |
| 8269 fi | 8412 fi |
| 8270 | 8413 |
| 8271 | 8414 |
| 8272 ac_safe=`echo "dirent.h" | sed 'y%./+-%__p_%'` | 8415 ac_safe=`echo "dirent.h" | sed 'y%./+-%__p_%'` |
| 8273 echo $ac_n "checking for dirent.h""... $ac_c" 1>&6 | 8416 echo $ac_n "checking for dirent.h""... $ac_c" 1>&6 |
| 8274 echo "configure:8275: checking for dirent.h" >&5 | 8417 echo "configure:8418: checking for dirent.h" >&5 |
| 8275 | 8418 |
| 8276 cat > conftest.$ac_ext <<EOF | 8419 cat > conftest.$ac_ext <<EOF |
| 8277 #line 8278 "configure" | 8420 #line 8421 "configure" |
| 8278 #include "confdefs.h" | 8421 #include "confdefs.h" |
| 8279 #include <dirent.h> | 8422 #include <dirent.h> |
| 8280 EOF | 8423 EOF |
| 8281 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8424 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 8282 { (eval echo configure:8283: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8425 { (eval echo configure:8426: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 8283 ac_err=`grep -v '^ *+' conftest.out` | 8426 ac_err=`grep -v '^ *+' conftest.out` |
| 8284 if test -z "$ac_err"; then | 8427 if test -z "$ac_err"; then |
| 8285 rm -rf conftest* | 8428 rm -rf conftest* |
| 8286 eval "ac_cv_header_$ac_safe=yes" | 8429 eval "ac_cv_header_$ac_safe=yes" |
| 8287 else | 8430 else |
| 8304 | 8447 |
| 8305 else | 8448 else |
| 8306 echo "$ac_t""no" 1>&6 | 8449 echo "$ac_t""no" 1>&6 |
| 8307 ac_safe=`echo "sys/dir.h" | sed 'y%./+-%__p_%'` | 8450 ac_safe=`echo "sys/dir.h" | sed 'y%./+-%__p_%'` |
| 8308 echo $ac_n "checking for sys/dir.h""... $ac_c" 1>&6 | 8451 echo $ac_n "checking for sys/dir.h""... $ac_c" 1>&6 |
| 8309 echo "configure:8310: checking for sys/dir.h" >&5 | 8452 echo "configure:8453: checking for sys/dir.h" >&5 |
| 8310 | 8453 |
| 8311 cat > conftest.$ac_ext <<EOF | 8454 cat > conftest.$ac_ext <<EOF |
| 8312 #line 8313 "configure" | 8455 #line 8456 "configure" |
| 8313 #include "confdefs.h" | 8456 #include "confdefs.h" |
| 8314 #include <sys/dir.h> | 8457 #include <sys/dir.h> |
| 8315 EOF | 8458 EOF |
| 8316 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8459 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 8317 { (eval echo configure:8318: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8460 { (eval echo configure:8461: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 8318 ac_err=`grep -v '^ *+' conftest.out` | 8461 ac_err=`grep -v '^ *+' conftest.out` |
| 8319 if test -z "$ac_err"; then | 8462 if test -z "$ac_err"; then |
| 8320 rm -rf conftest* | 8463 rm -rf conftest* |
| 8321 eval "ac_cv_header_$ac_safe=yes" | 8464 eval "ac_cv_header_$ac_safe=yes" |
| 8322 else | 8465 else |
| 8345 fi | 8488 fi |
| 8346 | 8489 |
| 8347 | 8490 |
| 8348 ac_safe=`echo "nlist.h" | sed 'y%./+-%__p_%'` | 8491 ac_safe=`echo "nlist.h" | sed 'y%./+-%__p_%'` |
| 8349 echo $ac_n "checking for nlist.h""... $ac_c" 1>&6 | 8492 echo $ac_n "checking for nlist.h""... $ac_c" 1>&6 |
| 8350 echo "configure:8351: checking for nlist.h" >&5 | 8493 echo "configure:8494: checking for nlist.h" >&5 |
| 8351 | 8494 |
| 8352 cat > conftest.$ac_ext <<EOF | 8495 cat > conftest.$ac_ext <<EOF |
| 8353 #line 8354 "configure" | 8496 #line 8497 "configure" |
| 8354 #include "confdefs.h" | 8497 #include "confdefs.h" |
| 8355 #include <nlist.h> | 8498 #include <nlist.h> |
| 8356 EOF | 8499 EOF |
| 8357 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8500 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 8358 { (eval echo configure:8359: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8501 { (eval echo configure:8502: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 8359 ac_err=`grep -v '^ *+' conftest.out` | 8502 ac_err=`grep -v '^ *+' conftest.out` |
| 8360 if test -z "$ac_err"; then | 8503 if test -z "$ac_err"; then |
| 8361 rm -rf conftest* | 8504 rm -rf conftest* |
| 8362 eval "ac_cv_header_$ac_safe=yes" | 8505 eval "ac_cv_header_$ac_safe=yes" |
| 8363 else | 8506 else |
| 8457 | 8600 |
| 8458 | 8601 |
| 8459 | 8602 |
| 8460 | 8603 |
| 8461 echo "checking "for sound support"" 1>&6 | 8604 echo "checking "for sound support"" 1>&6 |
| 8462 echo "configure:8463: checking "for sound support"" >&5 | 8605 echo "configure:8606: checking "for sound support"" >&5 |
| 8463 case "$with_sound" in | 8606 case "$with_sound" in |
| 8464 native | both ) with_native_sound=yes;; | 8607 native | both ) with_native_sound=yes;; |
| 8465 nas | no ) with_native_sound=no;; | 8608 nas | no ) with_native_sound=no;; |
| 8466 esac | 8609 esac |
| 8467 test -z "$with_native_sound" -a -n "$native_sound_lib" && with_native_sound=yes | 8610 test -z "$with_native_sound" -a -n "$native_sound_lib" && with_native_sound=yes |
| 8468 | 8611 |
| 8469 if test "$with_native_sound" != "no"; then | 8612 if test "$with_native_sound" != "no"; then |
| 8470 if test -n "$native_sound_lib"; then | 8613 if test -n "$native_sound_lib"; then |
| 8471 ac_safe=`echo "multimedia/audio_device.h" | sed 'y%./+-%__p_%'` | 8614 ac_safe=`echo "multimedia/audio_device.h" | sed 'y%./+-%__p_%'` |
| 8472 echo $ac_n "checking for multimedia/audio_device.h""... $ac_c" 1>&6 | 8615 echo $ac_n "checking for multimedia/audio_device.h""... $ac_c" 1>&6 |
| 8473 echo "configure:8474: checking for multimedia/audio_device.h" >&5 | 8616 echo "configure:8617: checking for multimedia/audio_device.h" >&5 |
| 8474 | 8617 |
| 8475 cat > conftest.$ac_ext <<EOF | 8618 cat > conftest.$ac_ext <<EOF |
| 8476 #line 8477 "configure" | 8619 #line 8620 "configure" |
| 8477 #include "confdefs.h" | 8620 #include "confdefs.h" |
| 8478 #include <multimedia/audio_device.h> | 8621 #include <multimedia/audio_device.h> |
| 8479 EOF | 8622 EOF |
| 8480 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8623 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 8481 { (eval echo configure:8482: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8624 { (eval echo configure:8625: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 8482 ac_err=`grep -v '^ *+' conftest.out` | 8625 ac_err=`grep -v '^ *+' conftest.out` |
| 8483 if test -z "$ac_err"; then | 8626 if test -z "$ac_err"; then |
| 8484 rm -rf conftest* | 8627 rm -rf conftest* |
| 8485 eval "ac_cv_header_$ac_safe=yes" | 8628 eval "ac_cv_header_$ac_safe=yes" |
| 8486 else | 8629 else |
| 8524 case "$canonical" in | 8667 case "$canonical" in |
| 8525 *-sgi-* ) | 8668 *-sgi-* ) |
| 8526 if test -z "$native_sound_lib"; then | 8669 if test -z "$native_sound_lib"; then |
| 8527 | 8670 |
| 8528 echo $ac_n "checking for ALopenport in -laudio""... $ac_c" 1>&6 | 8671 echo $ac_n "checking for ALopenport in -laudio""... $ac_c" 1>&6 |
| 8529 echo "configure:8530: checking for ALopenport in -laudio" >&5 | 8672 echo "configure:8673: checking for ALopenport in -laudio" >&5 |
| 8530 ac_lib_var=`echo audio'_'ALopenport | sed 'y%./+-%__p_%'` | 8673 ac_lib_var=`echo audio'_'ALopenport | sed 'y%./+-%__p_%'` |
| 8531 | 8674 |
| 8532 xe_check_libs=" -laudio " | 8675 xe_check_libs=" -laudio " |
| 8533 cat > conftest.$ac_ext <<EOF | 8676 cat > conftest.$ac_ext <<EOF |
| 8534 #line 8535 "configure" | 8677 #line 8678 "configure" |
| 8535 #include "confdefs.h" | 8678 #include "confdefs.h" |
| 8536 /* Override any gcc2 internal prototype to avoid an error. */ | 8679 /* Override any gcc2 internal prototype to avoid an error. */ |
| 8537 /* We use char because int might match the return type of a gcc2 | 8680 /* We use char because int might match the return type of a gcc2 |
| 8538 builtin and then its argument prototype would still apply. */ | 8681 builtin and then its argument prototype would still apply. */ |
| 8539 char ALopenport(); | 8682 char ALopenport(); |
| 8540 | 8683 |
| 8541 int main() { | 8684 int main() { |
| 8542 ALopenport() | 8685 ALopenport() |
| 8543 ; return 0; } | 8686 ; return 0; } |
| 8544 EOF | 8687 EOF |
| 8545 if { (eval echo configure:8546: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 8688 if { (eval echo configure:8689: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 8546 rm -rf conftest* | 8689 rm -rf conftest* |
| 8547 eval "ac_cv_lib_$ac_lib_var=yes" | 8690 eval "ac_cv_lib_$ac_lib_var=yes" |
| 8548 else | 8691 else |
| 8549 echo "configure: failed program was:" >&5 | 8692 echo "configure: failed program was:" >&5 |
| 8550 cat conftest.$ac_ext >&5 | 8693 cat conftest.$ac_ext >&5 |
| 8571 fi ;; | 8714 fi ;; |
| 8572 hppa*-hp-hpux* ) | 8715 hppa*-hp-hpux* ) |
| 8573 if test -z "$native_sound_lib"; then | 8716 if test -z "$native_sound_lib"; then |
| 8574 | 8717 |
| 8575 echo $ac_n "checking for AOpenAudio in -lAlib""... $ac_c" 1>&6 | 8718 echo $ac_n "checking for AOpenAudio in -lAlib""... $ac_c" 1>&6 |
| 8576 echo "configure:8577: checking for AOpenAudio in -lAlib" >&5 | 8719 echo "configure:8720: checking for AOpenAudio in -lAlib" >&5 |
| 8577 ac_lib_var=`echo Alib'_'AOpenAudio | sed 'y%./+-%__p_%'` | 8720 ac_lib_var=`echo Alib'_'AOpenAudio | sed 'y%./+-%__p_%'` |
| 8578 | 8721 |
| 8579 xe_check_libs=" -lAlib " | 8722 xe_check_libs=" -lAlib " |
| 8580 cat > conftest.$ac_ext <<EOF | 8723 cat > conftest.$ac_ext <<EOF |
| 8581 #line 8582 "configure" | 8724 #line 8725 "configure" |
| 8582 #include "confdefs.h" | 8725 #include "confdefs.h" |
| 8583 /* Override any gcc2 internal prototype to avoid an error. */ | 8726 /* Override any gcc2 internal prototype to avoid an error. */ |
| 8584 /* We use char because int might match the return type of a gcc2 | 8727 /* We use char because int might match the return type of a gcc2 |
| 8585 builtin and then its argument prototype would still apply. */ | 8728 builtin and then its argument prototype would still apply. */ |
| 8586 char AOpenAudio(); | 8729 char AOpenAudio(); |
| 8587 | 8730 |
| 8588 int main() { | 8731 int main() { |
| 8589 AOpenAudio() | 8732 AOpenAudio() |
| 8590 ; return 0; } | 8733 ; return 0; } |
| 8591 EOF | 8734 EOF |
| 8592 if { (eval echo configure:8593: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 8735 if { (eval echo configure:8736: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 8593 rm -rf conftest* | 8736 rm -rf conftest* |
| 8594 eval "ac_cv_lib_$ac_lib_var=yes" | 8737 eval "ac_cv_lib_$ac_lib_var=yes" |
| 8595 else | 8738 else |
| 8596 echo "configure: failed program was:" >&5 | 8739 echo "configure: failed program was:" >&5 |
| 8597 cat conftest.$ac_ext >&5 | 8740 cat conftest.$ac_ext >&5 |
| 8625 | 8768 |
| 8626 if test -z "$sound_found"; then | 8769 if test -z "$sound_found"; then |
| 8627 for dir in "machine" "sys" "linux"; do | 8770 for dir in "machine" "sys" "linux"; do |
| 8628 ac_safe=`echo "${dir}/soundcard.h" | sed 'y%./+-%__p_%'` | 8771 ac_safe=`echo "${dir}/soundcard.h" | sed 'y%./+-%__p_%'` |
| 8629 echo $ac_n "checking for ${dir}/soundcard.h""... $ac_c" 1>&6 | 8772 echo $ac_n "checking for ${dir}/soundcard.h""... $ac_c" 1>&6 |
| 8630 echo "configure:8631: checking for ${dir}/soundcard.h" >&5 | 8773 echo "configure:8774: checking for ${dir}/soundcard.h" >&5 |
| 8631 | 8774 |
| 8632 cat > conftest.$ac_ext <<EOF | 8775 cat > conftest.$ac_ext <<EOF |
| 8633 #line 8634 "configure" | 8776 #line 8777 "configure" |
| 8634 #include "confdefs.h" | 8777 #include "confdefs.h" |
| 8635 #include <${dir}/soundcard.h> | 8778 #include <${dir}/soundcard.h> |
| 8636 EOF | 8779 EOF |
| 8637 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8780 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 8638 { (eval echo configure:8639: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8781 { (eval echo configure:8782: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 8639 ac_err=`grep -v '^ *+' conftest.out` | 8782 ac_err=`grep -v '^ *+' conftest.out` |
| 8640 if test -z "$ac_err"; then | 8783 if test -z "$ac_err"; then |
| 8641 rm -rf conftest* | 8784 rm -rf conftest* |
| 8642 eval "ac_cv_header_$ac_safe=yes" | 8785 eval "ac_cv_header_$ac_safe=yes" |
| 8643 else | 8786 else |
| 8703 extra_objs="$extra_objs nas.o" && if test "$extra_verbose" = "yes"; then | 8846 extra_objs="$extra_objs nas.o" && if test "$extra_verbose" = "yes"; then |
| 8704 echo " xemacs will be linked with \"nas.o\"" | 8847 echo " xemacs will be linked with \"nas.o\"" |
| 8705 fi | 8848 fi |
| 8706 LIBS="-laudio $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-laudio\" to \$LIBS"; fi | 8849 LIBS="-laudio $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-laudio\" to \$LIBS"; fi |
| 8707 cat > conftest.$ac_ext <<EOF | 8850 cat > conftest.$ac_ext <<EOF |
| 8708 #line 8709 "configure" | 8851 #line 8852 "configure" |
| 8709 #include "confdefs.h" | 8852 #include "confdefs.h" |
| 8710 #include <audio/Xtutil.h> | 8853 #include <audio/Xtutil.h> |
| 8711 EOF | 8854 EOF |
| 8712 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 8855 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
| 8713 egrep "AuXtErrorJump" >/dev/null 2>&1; then | 8856 egrep "AuXtErrorJump" >/dev/null 2>&1; then |
| 8730 | 8873 |
| 8731 test -z "$with_tty" && with_tty=yes | 8874 test -z "$with_tty" && with_tty=yes |
| 8732 | 8875 |
| 8733 if test "$with_tty" = "yes" ; then | 8876 if test "$with_tty" = "yes" ; then |
| 8734 echo "checking for TTY-related features" 1>&6 | 8877 echo "checking for TTY-related features" 1>&6 |
| 8735 echo "configure:8736: checking for TTY-related features" >&5 | 8878 echo "configure:8879: checking for TTY-related features" >&5 |
| 8736 { test "$extra_verbose" = "yes" && cat << \EOF | 8879 { test "$extra_verbose" = "yes" && cat << \EOF |
| 8737 Defining HAVE_TTY | 8880 Defining HAVE_TTY |
| 8738 EOF | 8881 EOF |
| 8739 cat >> confdefs.h <<\EOF | 8882 cat >> confdefs.h <<\EOF |
| 8740 #define HAVE_TTY 1 | 8883 #define HAVE_TTY 1 |
| 8745 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\"" | 8888 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\"" |
| 8746 fi | 8889 fi |
| 8747 | 8890 |
| 8748 ac_safe=`echo "termios.h" | sed 'y%./+-%__p_%'` | 8891 ac_safe=`echo "termios.h" | sed 'y%./+-%__p_%'` |
| 8749 echo $ac_n "checking for termios.h""... $ac_c" 1>&6 | 8892 echo $ac_n "checking for termios.h""... $ac_c" 1>&6 |
| 8750 echo "configure:8751: checking for termios.h" >&5 | 8893 echo "configure:8894: checking for termios.h" >&5 |
| 8751 | 8894 |
| 8752 cat > conftest.$ac_ext <<EOF | 8895 cat > conftest.$ac_ext <<EOF |
| 8753 #line 8754 "configure" | 8896 #line 8897 "configure" |
| 8754 #include "confdefs.h" | 8897 #include "confdefs.h" |
| 8755 #include <termios.h> | 8898 #include <termios.h> |
| 8756 EOF | 8899 EOF |
| 8757 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8900 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 8758 { (eval echo configure:8759: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8901 { (eval echo configure:8902: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 8759 ac_err=`grep -v '^ *+' conftest.out` | 8902 ac_err=`grep -v '^ *+' conftest.out` |
| 8760 if test -z "$ac_err"; then | 8903 if test -z "$ac_err"; then |
| 8761 rm -rf conftest* | 8904 rm -rf conftest* |
| 8762 eval "ac_cv_header_$ac_safe=yes" | 8905 eval "ac_cv_header_$ac_safe=yes" |
| 8763 else | 8906 else |
| 8780 | 8923 |
| 8781 else | 8924 else |
| 8782 echo "$ac_t""no" 1>&6 | 8925 echo "$ac_t""no" 1>&6 |
| 8783 ac_safe=`echo "termio.h" | sed 'y%./+-%__p_%'` | 8926 ac_safe=`echo "termio.h" | sed 'y%./+-%__p_%'` |
| 8784 echo $ac_n "checking for termio.h""... $ac_c" 1>&6 | 8927 echo $ac_n "checking for termio.h""... $ac_c" 1>&6 |
| 8785 echo "configure:8786: checking for termio.h" >&5 | 8928 echo "configure:8929: checking for termio.h" >&5 |
| 8786 | 8929 |
| 8787 cat > conftest.$ac_ext <<EOF | 8930 cat > conftest.$ac_ext <<EOF |
| 8788 #line 8789 "configure" | 8931 #line 8932 "configure" |
| 8789 #include "confdefs.h" | 8932 #include "confdefs.h" |
| 8790 #include <termio.h> | 8933 #include <termio.h> |
| 8791 EOF | 8934 EOF |
| 8792 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8935 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 8793 { (eval echo configure:8794: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8936 { (eval echo configure:8937: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 8794 ac_err=`grep -v '^ *+' conftest.out` | 8937 ac_err=`grep -v '^ *+' conftest.out` |
| 8795 if test -z "$ac_err"; then | 8938 if test -z "$ac_err"; then |
| 8796 rm -rf conftest* | 8939 rm -rf conftest* |
| 8797 eval "ac_cv_header_$ac_safe=yes" | 8940 eval "ac_cv_header_$ac_safe=yes" |
| 8798 else | 8941 else |
| 8821 | 8964 |
| 8822 | 8965 |
| 8823 if test -z "$with_ncurses"; then | 8966 if test -z "$with_ncurses"; then |
| 8824 | 8967 |
| 8825 echo $ac_n "checking for tgetent in -lncurses""... $ac_c" 1>&6 | 8968 echo $ac_n "checking for tgetent in -lncurses""... $ac_c" 1>&6 |
| 8826 echo "configure:8827: checking for tgetent in -lncurses" >&5 | 8969 echo "configure:8970: checking for tgetent in -lncurses" >&5 |
| 8827 ac_lib_var=`echo ncurses'_'tgetent | sed 'y%./+-%__p_%'` | 8970 ac_lib_var=`echo ncurses'_'tgetent | sed 'y%./+-%__p_%'` |
| 8828 | 8971 |
| 8829 xe_check_libs=" -lncurses " | 8972 xe_check_libs=" -lncurses " |
| 8830 cat > conftest.$ac_ext <<EOF | 8973 cat > conftest.$ac_ext <<EOF |
| 8831 #line 8832 "configure" | 8974 #line 8975 "configure" |
| 8832 #include "confdefs.h" | 8975 #include "confdefs.h" |
| 8833 /* Override any gcc2 internal prototype to avoid an error. */ | 8976 /* Override any gcc2 internal prototype to avoid an error. */ |
| 8834 /* We use char because int might match the return type of a gcc2 | 8977 /* We use char because int might match the return type of a gcc2 |
| 8835 builtin and then its argument prototype would still apply. */ | 8978 builtin and then its argument prototype would still apply. */ |
| 8836 char tgetent(); | 8979 char tgetent(); |
| 8837 | 8980 |
| 8838 int main() { | 8981 int main() { |
| 8839 tgetent() | 8982 tgetent() |
| 8840 ; return 0; } | 8983 ; return 0; } |
| 8841 EOF | 8984 EOF |
| 8842 if { (eval echo configure:8843: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 8985 if { (eval echo configure:8986: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 8843 rm -rf conftest* | 8986 rm -rf conftest* |
| 8844 eval "ac_cv_lib_$ac_lib_var=yes" | 8987 eval "ac_cv_lib_$ac_lib_var=yes" |
| 8845 else | 8988 else |
| 8846 echo "configure: failed program was:" >&5 | 8989 echo "configure: failed program was:" >&5 |
| 8847 cat conftest.$ac_ext >&5 | 8990 cat conftest.$ac_ext >&5 |
| 8870 EOF | 9013 EOF |
| 8871 } | 9014 } |
| 8872 | 9015 |
| 8873 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` | 9016 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` |
| 8874 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 | 9017 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 |
| 8875 echo "configure:8876: checking for ncurses/curses.h" >&5 | 9018 echo "configure:9019: checking for ncurses/curses.h" >&5 |
| 8876 | 9019 |
| 8877 cat > conftest.$ac_ext <<EOF | 9020 cat > conftest.$ac_ext <<EOF |
| 8878 #line 8879 "configure" | 9021 #line 9022 "configure" |
| 8879 #include "confdefs.h" | 9022 #include "confdefs.h" |
| 8880 #include <ncurses/curses.h> | 9023 #include <ncurses/curses.h> |
| 8881 EOF | 9024 EOF |
| 8882 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9025 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 8883 { (eval echo configure:8884: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9026 { (eval echo configure:9027: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 8884 ac_err=`grep -v '^ *+' conftest.out` | 9027 ac_err=`grep -v '^ *+' conftest.out` |
| 8885 if test -z "$ac_err"; then | 9028 if test -z "$ac_err"; then |
| 8886 rm -rf conftest* | 9029 rm -rf conftest* |
| 8887 eval "ac_cv_header_$ac_safe=yes" | 9030 eval "ac_cv_header_$ac_safe=yes" |
| 8888 else | 9031 else |
| 8900 echo "$ac_t""no" 1>&6 | 9043 echo "$ac_t""no" 1>&6 |
| 8901 fi | 9044 fi |
| 8902 | 9045 |
| 8903 ac_safe=`echo "ncurses/term.h" | sed 'y%./+-%__p_%'` | 9046 ac_safe=`echo "ncurses/term.h" | sed 'y%./+-%__p_%'` |
| 8904 echo $ac_n "checking for ncurses/term.h""... $ac_c" 1>&6 | 9047 echo $ac_n "checking for ncurses/term.h""... $ac_c" 1>&6 |
| 8905 echo "configure:8906: checking for ncurses/term.h" >&5 | 9048 echo "configure:9049: checking for ncurses/term.h" >&5 |
| 8906 | 9049 |
| 8907 cat > conftest.$ac_ext <<EOF | 9050 cat > conftest.$ac_ext <<EOF |
| 8908 #line 8909 "configure" | 9051 #line 9052 "configure" |
| 8909 #include "confdefs.h" | 9052 #include "confdefs.h" |
| 8910 #include <ncurses/term.h> | 9053 #include <ncurses/term.h> |
| 8911 EOF | 9054 EOF |
| 8912 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9055 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 8913 { (eval echo configure:8914: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9056 { (eval echo configure:9057: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 8914 ac_err=`grep -v '^ *+' conftest.out` | 9057 ac_err=`grep -v '^ *+' conftest.out` |
| 8915 if test -z "$ac_err"; then | 9058 if test -z "$ac_err"; then |
| 8916 rm -rf conftest* | 9059 rm -rf conftest* |
| 8917 eval "ac_cv_header_$ac_safe=yes" | 9060 eval "ac_cv_header_$ac_safe=yes" |
| 8918 else | 9061 else |
| 8938 if test "$ac_cv_header_ncurses_curses_h" != "yes" ; then | 9081 if test "$ac_cv_header_ncurses_curses_h" != "yes" ; then |
| 8939 save_c_switch_site="$c_switch_site" | 9082 save_c_switch_site="$c_switch_site" |
| 8940 c_switch_site="$c_switch_site -I/usr/include/ncurses" | 9083 c_switch_site="$c_switch_site -I/usr/include/ncurses" |
| 8941 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` | 9084 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` |
| 8942 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 | 9085 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 |
| 8943 echo "configure:8944: checking for ncurses/curses.h" >&5 | 9086 echo "configure:9087: checking for ncurses/curses.h" >&5 |
| 8944 | 9087 |
| 8945 cat > conftest.$ac_ext <<EOF | 9088 cat > conftest.$ac_ext <<EOF |
| 8946 #line 8947 "configure" | 9089 #line 9090 "configure" |
| 8947 #include "confdefs.h" | 9090 #include "confdefs.h" |
| 8948 #include <ncurses/curses.h> | 9091 #include <ncurses/curses.h> |
| 8949 EOF | 9092 EOF |
| 8950 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9093 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 8951 { (eval echo configure:8952: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9094 { (eval echo configure:9095: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 8952 ac_err=`grep -v '^ *+' conftest.out` | 9095 ac_err=`grep -v '^ *+' conftest.out` |
| 8953 if test -z "$ac_err"; then | 9096 if test -z "$ac_err"; then |
| 8954 rm -rf conftest* | 9097 rm -rf conftest* |
| 8955 eval "ac_cv_header_$ac_safe=yes" | 9098 eval "ac_cv_header_$ac_safe=yes" |
| 8956 else | 9099 else |
| 8981 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi | 9124 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi |
| 8982 else | 9125 else |
| 8983 for lib in curses termlib termcap; do | 9126 for lib in curses termlib termcap; do |
| 8984 | 9127 |
| 8985 echo $ac_n "checking for tgetent in -l$lib""... $ac_c" 1>&6 | 9128 echo $ac_n "checking for tgetent in -l$lib""... $ac_c" 1>&6 |
| 8986 echo "configure:8987: checking for tgetent in -l$lib" >&5 | 9129 echo "configure:9130: checking for tgetent in -l$lib" >&5 |
| 8987 ac_lib_var=`echo $lib'_'tgetent | sed 'y%./+-%__p_%'` | 9130 ac_lib_var=`echo $lib'_'tgetent | sed 'y%./+-%__p_%'` |
| 8988 | 9131 |
| 8989 xe_check_libs=" -l$lib " | 9132 xe_check_libs=" -l$lib " |
| 8990 cat > conftest.$ac_ext <<EOF | 9133 cat > conftest.$ac_ext <<EOF |
| 8991 #line 8992 "configure" | 9134 #line 9135 "configure" |
| 8992 #include "confdefs.h" | 9135 #include "confdefs.h" |
| 8993 /* Override any gcc2 internal prototype to avoid an error. */ | 9136 /* Override any gcc2 internal prototype to avoid an error. */ |
| 8994 /* We use char because int might match the return type of a gcc2 | 9137 /* We use char because int might match the return type of a gcc2 |
| 8995 builtin and then its argument prototype would still apply. */ | 9138 builtin and then its argument prototype would still apply. */ |
| 8996 char tgetent(); | 9139 char tgetent(); |
| 8997 | 9140 |
| 8998 int main() { | 9141 int main() { |
| 8999 tgetent() | 9142 tgetent() |
| 9000 ; return 0; } | 9143 ; return 0; } |
| 9001 EOF | 9144 EOF |
| 9002 if { (eval echo configure:9003: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 9145 if { (eval echo configure:9146: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 9003 rm -rf conftest* | 9146 rm -rf conftest* |
| 9004 eval "ac_cv_lib_$ac_lib_var=yes" | 9147 eval "ac_cv_lib_$ac_lib_var=yes" |
| 9005 else | 9148 else |
| 9006 echo "configure: failed program was:" >&5 | 9149 echo "configure: failed program was:" >&5 |
| 9007 cat conftest.$ac_ext >&5 | 9150 cat conftest.$ac_ext >&5 |
| 9028 if test -n "$libs_termcap"; then | 9171 if test -n "$libs_termcap"; then |
| 9029 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi | 9172 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi |
| 9030 else | 9173 else |
| 9031 | 9174 |
| 9032 echo $ac_n "checking for tgetent in -lcurses""... $ac_c" 1>&6 | 9175 echo $ac_n "checking for tgetent in -lcurses""... $ac_c" 1>&6 |
| 9033 echo "configure:9034: checking for tgetent in -lcurses" >&5 | 9176 echo "configure:9177: checking for tgetent in -lcurses" >&5 |
| 9034 ac_lib_var=`echo curses'_'tgetent | sed 'y%./+-%__p_%'` | 9177 ac_lib_var=`echo curses'_'tgetent | sed 'y%./+-%__p_%'` |
| 9035 | 9178 |
| 9036 xe_check_libs=" -lcurses " | 9179 xe_check_libs=" -lcurses " |
| 9037 cat > conftest.$ac_ext <<EOF | 9180 cat > conftest.$ac_ext <<EOF |
| 9038 #line 9039 "configure" | 9181 #line 9182 "configure" |
| 9039 #include "confdefs.h" | 9182 #include "confdefs.h" |
| 9040 /* Override any gcc2 internal prototype to avoid an error. */ | 9183 /* Override any gcc2 internal prototype to avoid an error. */ |
| 9041 /* We use char because int might match the return type of a gcc2 | 9184 /* We use char because int might match the return type of a gcc2 |
| 9042 builtin and then its argument prototype would still apply. */ | 9185 builtin and then its argument prototype would still apply. */ |
| 9043 char tgetent(); | 9186 char tgetent(); |
| 9044 | 9187 |
| 9045 int main() { | 9188 int main() { |
| 9046 tgetent() | 9189 tgetent() |
| 9047 ; return 0; } | 9190 ; return 0; } |
| 9048 EOF | 9191 EOF |
| 9049 if { (eval echo configure:9050: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 9192 if { (eval echo configure:9193: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 9050 rm -rf conftest* | 9193 rm -rf conftest* |
| 9051 eval "ac_cv_lib_$ac_lib_var=yes" | 9194 eval "ac_cv_lib_$ac_lib_var=yes" |
| 9052 else | 9195 else |
| 9053 echo "configure: failed program was:" >&5 | 9196 echo "configure: failed program was:" >&5 |
| 9054 cat conftest.$ac_ext >&5 | 9197 cat conftest.$ac_ext >&5 |
| 9062 echo "$ac_t""yes" 1>&6 | 9205 echo "$ac_t""yes" 1>&6 |
| 9063 LIBS="-lcurses $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lcurses\" to \$LIBS"; fi | 9206 LIBS="-lcurses $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lcurses\" to \$LIBS"; fi |
| 9064 else | 9207 else |
| 9065 echo "$ac_t""no" 1>&6 | 9208 echo "$ac_t""no" 1>&6 |
| 9066 echo $ac_n "checking for tgetent in -ltermcap""... $ac_c" 1>&6 | 9209 echo $ac_n "checking for tgetent in -ltermcap""... $ac_c" 1>&6 |
| 9067 echo "configure:9068: checking for tgetent in -ltermcap" >&5 | 9210 echo "configure:9211: checking for tgetent in -ltermcap" >&5 |
| 9068 ac_lib_var=`echo termcap'_'tgetent | sed 'y%./+-%__p_%'` | 9211 ac_lib_var=`echo termcap'_'tgetent | sed 'y%./+-%__p_%'` |
| 9069 | 9212 |
| 9070 xe_check_libs=" -ltermcap " | 9213 xe_check_libs=" -ltermcap " |
| 9071 cat > conftest.$ac_ext <<EOF | 9214 cat > conftest.$ac_ext <<EOF |
| 9072 #line 9073 "configure" | 9215 #line 9216 "configure" |
| 9073 #include "confdefs.h" | 9216 #include "confdefs.h" |
| 9074 /* Override any gcc2 internal prototype to avoid an error. */ | 9217 /* Override any gcc2 internal prototype to avoid an error. */ |
| 9075 /* We use char because int might match the return type of a gcc2 | 9218 /* We use char because int might match the return type of a gcc2 |
| 9076 builtin and then its argument prototype would still apply. */ | 9219 builtin and then its argument prototype would still apply. */ |
| 9077 char tgetent(); | 9220 char tgetent(); |
| 9078 | 9221 |
| 9079 int main() { | 9222 int main() { |
| 9080 tgetent() | 9223 tgetent() |
| 9081 ; return 0; } | 9224 ; return 0; } |
| 9082 EOF | 9225 EOF |
| 9083 if { (eval echo configure:9084: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 9226 if { (eval echo configure:9227: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 9084 rm -rf conftest* | 9227 rm -rf conftest* |
| 9085 eval "ac_cv_lib_$ac_lib_var=yes" | 9228 eval "ac_cv_lib_$ac_lib_var=yes" |
| 9086 else | 9229 else |
| 9087 echo "configure: failed program was:" >&5 | 9230 echo "configure: failed program was:" >&5 |
| 9088 cat conftest.$ac_ext >&5 | 9231 cat conftest.$ac_ext >&5 |
| 9126 } | 9269 } |
| 9127 | 9270 |
| 9128 | 9271 |
| 9129 test -z "$with_gpm" && { ac_safe=`echo "gpm.h" | sed 'y%./+-%__p_%'` | 9272 test -z "$with_gpm" && { ac_safe=`echo "gpm.h" | sed 'y%./+-%__p_%'` |
| 9130 echo $ac_n "checking for gpm.h""... $ac_c" 1>&6 | 9273 echo $ac_n "checking for gpm.h""... $ac_c" 1>&6 |
| 9131 echo "configure:9132: checking for gpm.h" >&5 | 9274 echo "configure:9275: checking for gpm.h" >&5 |
| 9132 | 9275 |
| 9133 cat > conftest.$ac_ext <<EOF | 9276 cat > conftest.$ac_ext <<EOF |
| 9134 #line 9135 "configure" | 9277 #line 9278 "configure" |
| 9135 #include "confdefs.h" | 9278 #include "confdefs.h" |
| 9136 #include <gpm.h> | 9279 #include <gpm.h> |
| 9137 EOF | 9280 EOF |
| 9138 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9281 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 9139 { (eval echo configure:9140: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9282 { (eval echo configure:9283: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 9140 ac_err=`grep -v '^ *+' conftest.out` | 9283 ac_err=`grep -v '^ *+' conftest.out` |
| 9141 if test -z "$ac_err"; then | 9284 if test -z "$ac_err"; then |
| 9142 rm -rf conftest* | 9285 rm -rf conftest* |
| 9143 eval "ac_cv_header_$ac_safe=yes" | 9286 eval "ac_cv_header_$ac_safe=yes" |
| 9144 else | 9287 else |
| 9157 with_gpm=no | 9300 with_gpm=no |
| 9158 fi | 9301 fi |
| 9159 } | 9302 } |
| 9160 test -z "$with_gpm" && { | 9303 test -z "$with_gpm" && { |
| 9161 echo $ac_n "checking for Gpm_Open in -lgpm""... $ac_c" 1>&6 | 9304 echo $ac_n "checking for Gpm_Open in -lgpm""... $ac_c" 1>&6 |
| 9162 echo "configure:9163: checking for Gpm_Open in -lgpm" >&5 | 9305 echo "configure:9306: checking for Gpm_Open in -lgpm" >&5 |
| 9163 ac_lib_var=`echo gpm'_'Gpm_Open | sed 'y%./+-%__p_%'` | 9306 ac_lib_var=`echo gpm'_'Gpm_Open | sed 'y%./+-%__p_%'` |
| 9164 | 9307 |
| 9165 xe_check_libs=" -lgpm " | 9308 xe_check_libs=" -lgpm " |
| 9166 cat > conftest.$ac_ext <<EOF | 9309 cat > conftest.$ac_ext <<EOF |
| 9167 #line 9168 "configure" | 9310 #line 9311 "configure" |
| 9168 #include "confdefs.h" | 9311 #include "confdefs.h" |
| 9169 /* Override any gcc2 internal prototype to avoid an error. */ | 9312 /* Override any gcc2 internal prototype to avoid an error. */ |
| 9170 /* We use char because int might match the return type of a gcc2 | 9313 /* We use char because int might match the return type of a gcc2 |
| 9171 builtin and then its argument prototype would still apply. */ | 9314 builtin and then its argument prototype would still apply. */ |
| 9172 char Gpm_Open(); | 9315 char Gpm_Open(); |
| 9173 | 9316 |
| 9174 int main() { | 9317 int main() { |
| 9175 Gpm_Open() | 9318 Gpm_Open() |
| 9176 ; return 0; } | 9319 ; return 0; } |
| 9177 EOF | 9320 EOF |
| 9178 if { (eval echo configure:9179: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 9321 if { (eval echo configure:9322: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 9179 rm -rf conftest* | 9322 rm -rf conftest* |
| 9180 eval "ac_cv_lib_$ac_lib_var=yes" | 9323 eval "ac_cv_lib_$ac_lib_var=yes" |
| 9181 else | 9324 else |
| 9182 echo "configure: failed program was:" >&5 | 9325 echo "configure: failed program was:" >&5 |
| 9183 cat conftest.$ac_ext >&5 | 9326 cat conftest.$ac_ext >&5 |
| 9222 echo " xemacs will be linked with \"event-unixoid.o\"" | 9365 echo " xemacs will be linked with \"event-unixoid.o\"" |
| 9223 fi | 9366 fi |
| 9224 | 9367 |
| 9225 | 9368 |
| 9226 echo "checking for database support" 1>&6 | 9369 echo "checking for database support" 1>&6 |
| 9227 echo "configure:9228: checking for database support" >&5 | 9370 echo "configure:9371: checking for database support" >&5 |
| 9228 | 9371 |
| 9229 if test "$with_database_gnudbm" != "no"; then | 9372 if test "$with_database_gnudbm" != "no"; then |
| 9230 | 9373 |
| 9231 echo $ac_n "checking for dbm_open in -lgdbm""... $ac_c" 1>&6 | 9374 echo $ac_n "checking for dbm_open in -lgdbm""... $ac_c" 1>&6 |
| 9232 echo "configure:9233: checking for dbm_open in -lgdbm" >&5 | 9375 echo "configure:9376: checking for dbm_open in -lgdbm" >&5 |
| 9233 ac_lib_var=`echo gdbm'_'dbm_open | sed 'y%./+-%__p_%'` | 9376 ac_lib_var=`echo gdbm'_'dbm_open | sed 'y%./+-%__p_%'` |
| 9234 | 9377 |
| 9235 xe_check_libs=" -lgdbm " | 9378 xe_check_libs=" -lgdbm " |
| 9236 cat > conftest.$ac_ext <<EOF | 9379 cat > conftest.$ac_ext <<EOF |
| 9237 #line 9238 "configure" | 9380 #line 9381 "configure" |
| 9238 #include "confdefs.h" | 9381 #include "confdefs.h" |
| 9239 /* Override any gcc2 internal prototype to avoid an error. */ | 9382 /* Override any gcc2 internal prototype to avoid an error. */ |
| 9240 /* We use char because int might match the return type of a gcc2 | 9383 /* We use char because int might match the return type of a gcc2 |
| 9241 builtin and then its argument prototype would still apply. */ | 9384 builtin and then its argument prototype would still apply. */ |
| 9242 char dbm_open(); | 9385 char dbm_open(); |
| 9243 | 9386 |
| 9244 int main() { | 9387 int main() { |
| 9245 dbm_open() | 9388 dbm_open() |
| 9246 ; return 0; } | 9389 ; return 0; } |
| 9247 EOF | 9390 EOF |
| 9248 if { (eval echo configure:9249: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 9391 if { (eval echo configure:9392: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 9249 rm -rf conftest* | 9392 rm -rf conftest* |
| 9250 eval "ac_cv_lib_$ac_lib_var=yes" | 9393 eval "ac_cv_lib_$ac_lib_var=yes" |
| 9251 else | 9394 else |
| 9252 echo "configure: failed program was:" >&5 | 9395 echo "configure: failed program was:" >&5 |
| 9253 cat conftest.$ac_ext >&5 | 9396 cat conftest.$ac_ext >&5 |
| 9265 fi | 9408 fi |
| 9266 | 9409 |
| 9267 | 9410 |
| 9268 if test "$with_database_gnudbm" != "yes"; then | 9411 if test "$with_database_gnudbm" != "yes"; then |
| 9269 echo $ac_n "checking for dbm_open""... $ac_c" 1>&6 | 9412 echo $ac_n "checking for dbm_open""... $ac_c" 1>&6 |
| 9270 echo "configure:9271: checking for dbm_open" >&5 | 9413 echo "configure:9414: checking for dbm_open" >&5 |
| 9271 | 9414 |
| 9272 cat > conftest.$ac_ext <<EOF | 9415 cat > conftest.$ac_ext <<EOF |
| 9273 #line 9274 "configure" | 9416 #line 9417 "configure" |
| 9274 #include "confdefs.h" | 9417 #include "confdefs.h" |
| 9275 /* System header to define __stub macros and hopefully few prototypes, | 9418 /* System header to define __stub macros and hopefully few prototypes, |
| 9276 which can conflict with char dbm_open(); below. */ | 9419 which can conflict with char dbm_open(); below. */ |
| 9277 #include <assert.h> | 9420 #include <assert.h> |
| 9278 /* Override any gcc2 internal prototype to avoid an error. */ | 9421 /* Override any gcc2 internal prototype to avoid an error. */ |
| 9291 dbm_open(); | 9434 dbm_open(); |
| 9292 #endif | 9435 #endif |
| 9293 | 9436 |
| 9294 ; return 0; } | 9437 ; return 0; } |
| 9295 EOF | 9438 EOF |
| 9296 if { (eval echo configure:9297: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 9439 if { (eval echo configure:9440: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 9297 rm -rf conftest* | 9440 rm -rf conftest* |
| 9298 eval "ac_cv_func_dbm_open=yes" | 9441 eval "ac_cv_func_dbm_open=yes" |
| 9299 else | 9442 else |
| 9300 echo "configure: failed program was:" >&5 | 9443 echo "configure: failed program was:" >&5 |
| 9301 cat conftest.$ac_ext >&5 | 9444 cat conftest.$ac_ext >&5 |
| 9327 fi | 9470 fi |
| 9328 fi | 9471 fi |
| 9329 | 9472 |
| 9330 if test "$with_database_dbm" != "no"; then | 9473 if test "$with_database_dbm" != "no"; then |
| 9331 echo $ac_n "checking for dbm_open""... $ac_c" 1>&6 | 9474 echo $ac_n "checking for dbm_open""... $ac_c" 1>&6 |
| 9332 echo "configure:9333: checking for dbm_open" >&5 | 9475 echo "configure:9476: checking for dbm_open" >&5 |
| 9333 | 9476 |
| 9334 cat > conftest.$ac_ext <<EOF | 9477 cat > conftest.$ac_ext <<EOF |
| 9335 #line 9336 "configure" | 9478 #line 9479 "configure" |
| 9336 #include "confdefs.h" | 9479 #include "confdefs.h" |
| 9337 /* System header to define __stub macros and hopefully few prototypes, | 9480 /* System header to define __stub macros and hopefully few prototypes, |
| 9338 which can conflict with char dbm_open(); below. */ | 9481 which can conflict with char dbm_open(); below. */ |
| 9339 #include <assert.h> | 9482 #include <assert.h> |
| 9340 /* Override any gcc2 internal prototype to avoid an error. */ | 9483 /* Override any gcc2 internal prototype to avoid an error. */ |
| 9353 dbm_open(); | 9496 dbm_open(); |
| 9354 #endif | 9497 #endif |
| 9355 | 9498 |
| 9356 ; return 0; } | 9499 ; return 0; } |
| 9357 EOF | 9500 EOF |
| 9358 if { (eval echo configure:9359: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 9501 if { (eval echo configure:9502: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 9359 rm -rf conftest* | 9502 rm -rf conftest* |
| 9360 eval "ac_cv_func_dbm_open=yes" | 9503 eval "ac_cv_func_dbm_open=yes" |
| 9361 else | 9504 else |
| 9362 echo "configure: failed program was:" >&5 | 9505 echo "configure: failed program was:" >&5 |
| 9363 cat conftest.$ac_ext >&5 | 9506 cat conftest.$ac_ext >&5 |
| 9374 fi | 9517 fi |
| 9375 | 9518 |
| 9376 if test "$need_libdbm" != "no"; then | 9519 if test "$need_libdbm" != "no"; then |
| 9377 | 9520 |
| 9378 echo $ac_n "checking for dbm_open in -ldbm""... $ac_c" 1>&6 | 9521 echo $ac_n "checking for dbm_open in -ldbm""... $ac_c" 1>&6 |
| 9379 echo "configure:9380: checking for dbm_open in -ldbm" >&5 | 9522 echo "configure:9523: checking for dbm_open in -ldbm" >&5 |
| 9380 ac_lib_var=`echo dbm'_'dbm_open | sed 'y%./+-%__p_%'` | 9523 ac_lib_var=`echo dbm'_'dbm_open | sed 'y%./+-%__p_%'` |
| 9381 | 9524 |
| 9382 xe_check_libs=" -ldbm " | 9525 xe_check_libs=" -ldbm " |
| 9383 cat > conftest.$ac_ext <<EOF | 9526 cat > conftest.$ac_ext <<EOF |
| 9384 #line 9385 "configure" | 9527 #line 9528 "configure" |
| 9385 #include "confdefs.h" | 9528 #include "confdefs.h" |
| 9386 /* Override any gcc2 internal prototype to avoid an error. */ | 9529 /* Override any gcc2 internal prototype to avoid an error. */ |
| 9387 /* We use char because int might match the return type of a gcc2 | 9530 /* We use char because int might match the return type of a gcc2 |
| 9388 builtin and then its argument prototype would still apply. */ | 9531 builtin and then its argument prototype would still apply. */ |
| 9389 char dbm_open(); | 9532 char dbm_open(); |
| 9390 | 9533 |
| 9391 int main() { | 9534 int main() { |
| 9392 dbm_open() | 9535 dbm_open() |
| 9393 ; return 0; } | 9536 ; return 0; } |
| 9394 EOF | 9537 EOF |
| 9395 if { (eval echo configure:9396: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 9538 if { (eval echo configure:9539: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 9396 rm -rf conftest* | 9539 rm -rf conftest* |
| 9397 eval "ac_cv_lib_$ac_lib_var=yes" | 9540 eval "ac_cv_lib_$ac_lib_var=yes" |
| 9398 else | 9541 else |
| 9399 echo "configure: failed program was:" >&5 | 9542 echo "configure: failed program was:" >&5 |
| 9400 cat conftest.$ac_ext >&5 | 9543 cat conftest.$ac_ext >&5 |
| 9427 fi | 9570 fi |
| 9428 fi | 9571 fi |
| 9429 | 9572 |
| 9430 if test "$with_database_berkdb" != "no"; then | 9573 if test "$with_database_berkdb" != "no"; then |
| 9431 echo $ac_n "checking for dbopen""... $ac_c" 1>&6 | 9574 echo $ac_n "checking for dbopen""... $ac_c" 1>&6 |
| 9432 echo "configure:9433: checking for dbopen" >&5 | 9575 echo "configure:9576: checking for dbopen" >&5 |
| 9433 | 9576 |
| 9434 cat > conftest.$ac_ext <<EOF | 9577 cat > conftest.$ac_ext <<EOF |
| 9435 #line 9436 "configure" | 9578 #line 9579 "configure" |
| 9436 #include "confdefs.h" | 9579 #include "confdefs.h" |
| 9437 /* System header to define __stub macros and hopefully few prototypes, | 9580 /* System header to define __stub macros and hopefully few prototypes, |
| 9438 which can conflict with char dbopen(); below. */ | 9581 which can conflict with char dbopen(); below. */ |
| 9439 #include <assert.h> | 9582 #include <assert.h> |
| 9440 /* Override any gcc2 internal prototype to avoid an error. */ | 9583 /* Override any gcc2 internal prototype to avoid an error. */ |
| 9453 dbopen(); | 9596 dbopen(); |
| 9454 #endif | 9597 #endif |
| 9455 | 9598 |
| 9456 ; return 0; } | 9599 ; return 0; } |
| 9457 EOF | 9600 EOF |
| 9458 if { (eval echo configure:9459: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 9601 if { (eval echo configure:9602: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 9459 rm -rf conftest* | 9602 rm -rf conftest* |
| 9460 eval "ac_cv_func_dbopen=yes" | 9603 eval "ac_cv_func_dbopen=yes" |
| 9461 else | 9604 else |
| 9462 echo "configure: failed program was:" >&5 | 9605 echo "configure: failed program was:" >&5 |
| 9463 cat conftest.$ac_ext >&5 | 9606 cat conftest.$ac_ext >&5 |
| 9474 fi | 9617 fi |
| 9475 | 9618 |
| 9476 if test "$need_libdb" != "no"; then | 9619 if test "$need_libdb" != "no"; then |
| 9477 | 9620 |
| 9478 echo $ac_n "checking for dbopen in -ldb""... $ac_c" 1>&6 | 9621 echo $ac_n "checking for dbopen in -ldb""... $ac_c" 1>&6 |
| 9479 echo "configure:9480: checking for dbopen in -ldb" >&5 | 9622 echo "configure:9623: checking for dbopen in -ldb" >&5 |
| 9480 ac_lib_var=`echo db'_'dbopen | sed 'y%./+-%__p_%'` | 9623 ac_lib_var=`echo db'_'dbopen | sed 'y%./+-%__p_%'` |
| 9481 | 9624 |
| 9482 xe_check_libs=" -ldb " | 9625 xe_check_libs=" -ldb " |
| 9483 cat > conftest.$ac_ext <<EOF | 9626 cat > conftest.$ac_ext <<EOF |
| 9484 #line 9485 "configure" | 9627 #line 9628 "configure" |
| 9485 #include "confdefs.h" | 9628 #include "confdefs.h" |
| 9486 /* Override any gcc2 internal prototype to avoid an error. */ | 9629 /* Override any gcc2 internal prototype to avoid an error. */ |
| 9487 /* We use char because int might match the return type of a gcc2 | 9630 /* We use char because int might match the return type of a gcc2 |
| 9488 builtin and then its argument prototype would still apply. */ | 9631 builtin and then its argument prototype would still apply. */ |
| 9489 char dbopen(); | 9632 char dbopen(); |
| 9490 | 9633 |
| 9491 int main() { | 9634 int main() { |
| 9492 dbopen() | 9635 dbopen() |
| 9493 ; return 0; } | 9636 ; return 0; } |
| 9494 EOF | 9637 EOF |
| 9495 if { (eval echo configure:9496: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 9638 if { (eval echo configure:9639: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 9496 rm -rf conftest* | 9639 rm -rf conftest* |
| 9497 eval "ac_cv_lib_$ac_lib_var=yes" | 9640 eval "ac_cv_lib_$ac_lib_var=yes" |
| 9498 else | 9641 else |
| 9499 echo "configure: failed program was:" >&5 | 9642 echo "configure: failed program was:" >&5 |
| 9500 cat conftest.$ac_ext >&5 | 9643 cat conftest.$ac_ext >&5 |
| 9514 | 9657 |
| 9515 fi | 9658 fi |
| 9516 if test "$with_database_berkdb" = "yes"; then | 9659 if test "$with_database_berkdb" = "yes"; then |
| 9517 for path in "db/db.h" "db.h"; do | 9660 for path in "db/db.h" "db.h"; do |
| 9518 cat > conftest.$ac_ext <<EOF | 9661 cat > conftest.$ac_ext <<EOF |
| 9519 #line 9520 "configure" | 9662 #line 9663 "configure" |
| 9520 #include "confdefs.h" | 9663 #include "confdefs.h" |
| 9521 #ifdef HAVE_INTTYPES_H | 9664 #ifdef HAVE_INTTYPES_H |
| 9522 #define __BIT_TYPES_DEFINED__ | 9665 #define __BIT_TYPES_DEFINED__ |
| 9523 #include <inttypes.h> | 9666 #include <inttypes.h> |
| 9524 typedef uint8_t u_int8_t; | 9667 typedef uint8_t u_int8_t; |
| 9532 | 9675 |
| 9533 int main() { | 9676 int main() { |
| 9534 | 9677 |
| 9535 ; return 0; } | 9678 ; return 0; } |
| 9536 EOF | 9679 EOF |
| 9537 if { (eval echo configure:9538: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 9680 if { (eval echo configure:9681: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| 9538 rm -rf conftest* | 9681 rm -rf conftest* |
| 9539 db_h_path="$path"; break | 9682 db_h_path="$path"; break |
| 9540 else | 9683 else |
| 9541 echo "configure: failed program was:" >&5 | 9684 echo "configure: failed program was:" >&5 |
| 9542 cat conftest.$ac_ext >&5 | 9685 cat conftest.$ac_ext >&5 |
| 9584 fi | 9727 fi |
| 9585 | 9728 |
| 9586 if test "$with_socks" = "yes"; then | 9729 if test "$with_socks" = "yes"; then |
| 9587 | 9730 |
| 9588 echo $ac_n "checking for SOCKSinit in -lsocks""... $ac_c" 1>&6 | 9731 echo $ac_n "checking for SOCKSinit in -lsocks""... $ac_c" 1>&6 |
| 9589 echo "configure:9590: checking for SOCKSinit in -lsocks" >&5 | 9732 echo "configure:9733: checking for SOCKSinit in -lsocks" >&5 |
| 9590 ac_lib_var=`echo socks'_'SOCKSinit | sed 'y%./+-%__p_%'` | 9733 ac_lib_var=`echo socks'_'SOCKSinit | sed 'y%./+-%__p_%'` |
| 9591 | 9734 |
| 9592 xe_check_libs=" -lsocks " | 9735 xe_check_libs=" -lsocks " |
| 9593 cat > conftest.$ac_ext <<EOF | 9736 cat > conftest.$ac_ext <<EOF |
| 9594 #line 9595 "configure" | 9737 #line 9738 "configure" |
| 9595 #include "confdefs.h" | 9738 #include "confdefs.h" |
| 9596 /* Override any gcc2 internal prototype to avoid an error. */ | 9739 /* Override any gcc2 internal prototype to avoid an error. */ |
| 9597 /* We use char because int might match the return type of a gcc2 | 9740 /* We use char because int might match the return type of a gcc2 |
| 9598 builtin and then its argument prototype would still apply. */ | 9741 builtin and then its argument prototype would still apply. */ |
| 9599 char SOCKSinit(); | 9742 char SOCKSinit(); |
| 9600 | 9743 |
| 9601 int main() { | 9744 int main() { |
| 9602 SOCKSinit() | 9745 SOCKSinit() |
| 9603 ; return 0; } | 9746 ; return 0; } |
| 9604 EOF | 9747 EOF |
| 9605 if { (eval echo configure:9606: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 9748 if { (eval echo configure:9749: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 9606 rm -rf conftest* | 9749 rm -rf conftest* |
| 9607 eval "ac_cv_lib_$ac_lib_var=yes" | 9750 eval "ac_cv_lib_$ac_lib_var=yes" |
| 9608 else | 9751 else |
| 9609 echo "configure: failed program was:" >&5 | 9752 echo "configure: failed program was:" >&5 |
| 9610 cat conftest.$ac_ext >&5 | 9753 cat conftest.$ac_ext >&5 |
| 9712 MAKE_SUBDIR="$MAKE_SUBDIR src" && if test "$extra_verbose" = "yes"; then echo " Appending \"src\" to \$MAKE_SUBDIR"; fi | 9855 MAKE_SUBDIR="$MAKE_SUBDIR src" && if test "$extra_verbose" = "yes"; then echo " Appending \"src\" to \$MAKE_SUBDIR"; fi |
| 9713 internal_makefile_list="Makefile" | 9856 internal_makefile_list="Makefile" |
| 9714 SUBDIR_MAKEFILES='' | 9857 SUBDIR_MAKEFILES='' |
| 9715 test -d lock || mkdir lock | 9858 test -d lock || mkdir lock |
| 9716 for dir in $MAKE_SUBDIR; do | 9859 for dir in $MAKE_SUBDIR; do |
| 9717 test -d "$dir" || mkdir "$dir" | 9860 case "$dir" in */* ) ( for d in `echo $dir | sed 's:/: :g'` ; do |
| 9861 test -d "$d" || mkdir "$d"; cd "$d" | |
| 9862 done ) ;; | |
| 9863 * ) test -d "$dir" || mkdir "$dir" ;; | |
| 9864 esac | |
| 9718 | 9865 |
| 9719 T="" | 9866 T="" |
| 9720 for W in $SUBDIR_MAKEFILES $dir/Makefile; do if test -z "$T"; then T="$W"; else T="$T $W"; fi; done | 9867 for W in $SUBDIR_MAKEFILES $dir/Makefile; do if test -z "$T"; then T="$W"; else T="$T $W"; fi; done |
| 9721 SUBDIR_MAKEFILES="$T" | 9868 SUBDIR_MAKEFILES="$T" |
| 9722 | 9869 |
| 9724 T="" | 9871 T="" |
| 9725 for W in $internal_makefile_list $dir/Makefile.in; do if test -z "$T"; then T="$W"; else T="$T $W"; fi; done | 9872 for W in $internal_makefile_list $dir/Makefile.in; do if test -z "$T"; then T="$W"; else T="$T $W"; fi; done |
| 9726 internal_makefile_list="$T" | 9873 internal_makefile_list="$T" |
| 9727 | 9874 |
| 9728 done | 9875 done |
| 9876 | |
| 9729 | 9877 |
| 9730 | 9878 |
| 9731 | 9879 |
| 9732 for dir in src/s src/m; do | 9880 for dir in src/s src/m; do |
| 9733 if test ! -d "$dir" ; then | 9881 if test ! -d "$dir" ; then |
| 9900 #define USE_SYSTEM_MALLOC 1 | 10048 #define USE_SYSTEM_MALLOC 1 |
| 9901 EOF | 10049 EOF |
| 9902 } | 10050 } |
| 9903 | 10051 |
| 9904 fi | 10052 fi |
| 9905 test "$with_motif" = "yes" && { test "$extra_verbose" = "yes" && cat << \EOF | |
| 9906 Defining LWLIB_USES_MOTIF | |
| 9907 EOF | |
| 9908 cat >> confdefs.h <<\EOF | |
| 9909 #define LWLIB_USES_MOTIF 1 | |
| 9910 EOF | |
| 9911 } | |
| 9912 | |
| 9913 test "$with_i18n3" = "yes" && { test "$extra_verbose" = "yes" && cat << \EOF | 10053 test "$with_i18n3" = "yes" && { test "$extra_verbose" = "yes" && cat << \EOF |
| 9914 Defining I18N3 | 10054 Defining I18N3 |
| 9915 EOF | 10055 EOF |
| 9916 cat >> confdefs.h <<\EOF | 10056 cat >> confdefs.h <<\EOF |
| 9917 #define I18N3 1 | 10057 #define I18N3 1 |
| 10316 s%@X_EXTRA_LIBS@%$X_EXTRA_LIBS%g | 10456 s%@X_EXTRA_LIBS@%$X_EXTRA_LIBS%g |
| 10317 s%@libs_xauth@%$libs_xauth%g | 10457 s%@libs_xauth@%$libs_xauth%g |
| 10318 s%@lwlib_objs@%$lwlib_objs%g | 10458 s%@lwlib_objs@%$lwlib_objs%g |
| 10319 s%@ALLOCA@%$ALLOCA%g | 10459 s%@ALLOCA@%$ALLOCA%g |
| 10320 s%@SRC_SUBDIR_DEPS@%$SRC_SUBDIR_DEPS%g | 10460 s%@SRC_SUBDIR_DEPS@%$SRC_SUBDIR_DEPS%g |
| 10461 s%@INSTALL_ARCH_DEP_SUBDIR@%$INSTALL_ARCH_DEP_SUBDIR%g | |
| 10321 s%@MAKE_SUBDIR@%$MAKE_SUBDIR%g | 10462 s%@MAKE_SUBDIR@%$MAKE_SUBDIR%g |
| 10322 s%@SUBDIR_MAKEFILES@%$SUBDIR_MAKEFILES%g | 10463 s%@SUBDIR_MAKEFILES@%$SUBDIR_MAKEFILES%g |
| 10323 s%@version@%$version%g | 10464 s%@version@%$version%g |
| 10324 s%@configuration@%$configuration%g | 10465 s%@configuration@%$configuration%g |
| 10325 s%@canonical@%$canonical%g | 10466 s%@canonical@%$canonical%g |
